]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
94a80120ed83a4b577dd44277c82151ba46c8e8f
[gnu-emacs] / lisp / ChangeLog
1 2014-04-27 Juri Linkov <juri@jurta.org>
2
3 * desktop.el (desktop-value-to-string): Let-bind `print-length'
4 and `print-level' to nil. (Bug#17351)
5
6 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7
8 * battery.el (battery-update): Handle the case where battery
9 status is "N/A" (bug#17319).
10
11 2014-04-24 Eli Zaretskii <eliz@gnu.org>
12
13 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
14 Use equal-including-properties to compare help-echo strings (bug#17331).
15
16 2014-04-24 Leo Liu <sdl.web@gmail.com>
17
18 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19 Fix syntax for @. (Bug#17325)
20
21 2014-04-24 Daniel Colascione <dancol@dancol.org>
22
23 * emacs-lisp/cl.el (gv): Require gv early to break eager
24 macro-expansion cycles.
25
26 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 * simple.el (region-active-p): Check there's a mark (bug#17324).
29
30 * simple.el (completion-list-mode-map): Use choose-completion for the
31 mouse binding as well (bug#17302).
32 (completion-list-mode, completion-setup-function): Adjust docstring and
33 echo area message accordingly.
34 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
35 calling convention of choose-completion.
36 * comint.el (comint-dynamic-list-completions):
37 * term.el (term-dynamic-list-completions): Accept choose-completion.
38
39 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
40 &, |, +, - and * can't be a division (bug#17317).
41
42 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
43
44 * term/xterm.el (xterm--version-handler): Don't use modern xterm
45 features on gnome-terminal (bug#16988).
46
47 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
48
49 * dired.el (dired-insert-set-properties): Do not consider
50 subdirectory headings and empty lines to be information that
51 `dired-hide-details-mode' should hide. (Bug#17228)
52
53 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
54
55 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
56 Remove test messages.
57 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
58 and `target' twice.
59
60 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
61
62 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
63 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
64
65 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
66
67 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
68
69 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
70 Set "IFS=" when using read builtin, in order to preserve spaces in
71 the file name. Add test messages for hunting a bug on hydra.
72 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
73
74 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
77 Don't prettify a word within a symbol.
78
79 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
80
81 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
82 possible.
83
84 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
85
86 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
87 assignments such as "case=hello" (bug#17297).
88
89 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
90
91 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
92 Do not autoload.
93 (tramp-file-name-handler, tramp-completion-file-name-handler):
94 Revert patch from 2014-04-10, it isn't necessary anymore.
95 (tramp-autoload-file-name-handler)
96 (tramp-register-autoload-file-name-handlers): New defuns.
97 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
98 (tramp-register-file-name-handlers): Remove also
99 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
100 Do not autoload its invocation, but eval it after loading of 'tramp.
101
102 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
103
104 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
105
106 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
107
108 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
109 was done (bug#17264).
110 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
111 comment to EOB.
112
113 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
114 here-documents (bug#17262).
115
116 2014-04-16 Eli Zaretskii <eliz@gnu.org>
117
118 * term/pc-win.el (x-list-fonts, x-get-selection-value):
119 Provide doc strings, as required by snarf-documentation.
120
121 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
122
123 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
124 arg of overlays-at. Use `invisible-p'.
125
126 * obsolete/lucid.el (extent-at):
127 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
128 overlays-at.
129 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
130
131 2014-04-14 João Távora <joaotavora@gmail.com>
132
133 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
134 links. (Bug#17217).
135
136 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
137
138 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
139 Use mapc to loop over a vector. (Bug#17257).
140
141 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
142
143 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
144 patch, there are new problems with file names containing spaces.
145 Get rid of backticks. (Bug#17238)
146
147 2014-04-13 João Távora <joaotavora@gmail.com>
148
149 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
150 possible bug.
151
152 2014-04-13 Eli Zaretskii <eliz@gnu.org>
153
154 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
155 (blink-cursor-mode): Mention customization variables and the
156 effect of 'blink-cursor-blinks'.
157
158 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
159
160 * simple.el (undo): Prevent insertion of identity mapping into
161 undo-equiv-table so as undo-only does not inf loop in the presence
162 of consecutive nils in undo list.
163
164 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
165
166 * faces.el (make-face): Deprecate optional argument as it is no
167 longer needed/used since the conditional X resources handling
168 has been pushed down to make-face-x-resource-internal itself.
169 (make-empty-face): Don't pass optional argument to make-face.
170
171 2014-04-12 Eli Zaretskii <eliz@gnu.org>
172
173 * international/characters.el <standard-case-table>: Add entries
174 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
175 Set category of Coptic characters be 'g' (Greek).
176
177 2014-04-12 Leo Liu <sdl.web@gmail.com>
178
179 * progmodes/octave.el (completion-table-with-cache): Define if not
180 available.
181 (octave-goto-function-definition)
182 (octave-sync-function-file-names)
183 (octave-find-definition-default-filename): Backquote upattern for
184 compatibility.
185
186 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
187
188 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
189 name twice due to backticks. (Bug#17238)
190
191 2014-04-11 Glenn Morris <rgm@gnu.org>
192
193 * term/w32-win.el (x-win-suspend-error):
194 * term/x-win.el (x-win-suspend-error): Sync docs.
195
196 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
197
198 Ediff's overlay priorities cause more trouble than they solve.
199 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
200 (ediff-highest-priority): Remove function (bug#17234).
201 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
202 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
203 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
204 overlay priorities.
205
206 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
207
208 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
209 entry; use symbol boundaries to avoid mis-matches.
210
211 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
212
213 * net/tramp.el (tramp-file-name-handler)
214 (tramp-completion-file-name-handler): Avoid recursive loading.
215
216 * net/tramp-sh.el (tramp-make-copy-program-file-name):
217 Quote result also locally.
218
219 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
220
221 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
222 Module methods. (Bug#17216)
223
224 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
225
226 * help.el (describe-bindings): Fix buffer handling (bug#17210).
227 (describe-bindings-internal): Mark obsolete.
228
229 2014-04-07 João Távora <joaotavora@gmail.com>
230
231 * elec-pair.el:
232 (electric-pair--syntax-ppss): When inside comments parse from
233 comment beginning.
234 (electric-pair--balance-info): Fix typo in comment.
235 (electric-pair--in-unterminated-string-p): Delete.
236 (electric-pair--unbalanced-strings-p): New function.
237 (electric-pair-string-bound-function): New var.
238 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
239 according to `electric-pair--in-unterminated-string-p'
240
241 2014-04-07 João Távora <joaotavora@gmail.com>
242
243 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
244 Inhibit quote pairing if point-max is inside an unterminated string.
245 (electric-pair--looking-at-unterminated-string-p): Delete.
246 (electric-pair--in-unterminated-string-p): New function.
247
248 2014-04-07 Glenn Morris <rgm@gnu.org>
249
250 * shell.el (shell-directory-tracker):
251 Go back to just ignoring failures. (Bug#17159)
252
253 2014-04-06 João Távora <joaotavora@gmail.com>
254
255 Fix `electric-pair-delete-adjacent-pairs' in modes binding
256 backspace. (bug#16981)
257 * elec-pair.el (electric-pair-backward-delete-char): Delete.
258 (electric-pair-backward-delete-char-untabify): Delete.
259 (electric-pair-mode-map): Bind backspace to a menu item filtering
260 a new `electric-pair-delete-pair' command.
261 (electric-pair-delete-pair): New command.
262
263 2014-04-06 João Távora <joaotavora@gmail.com>
264
265 * progmodes/python.el (python-electric-pair-string-delimiter):
266 Fix triple-quoting electricity. (Bug#17192)
267
268 2014-04-06 João Távora <joaotavora@gmail.com>
269
270 * elec-pair.el (electric-pair-post-self-insert-function):
271 Don't skip whitespace when `electric-pair-text-pairs' and
272 `electric-pair-pairs' were used. syntax to
273 electric-pair--skip-whitespace. (Bug#17183)
274
275 2014-04-06 Eli Zaretskii <eliz@gnu.org>
276
277 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
278 "<F>". (Bug#17199)
279
280 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
281
282 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
283 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
284
285 2014-04-05 Glenn Morris <rgm@gnu.org>
286
287 * help.el (view-lossage): Doc tweak.
288
289 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
290
291 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
292 only when inhibit-x-resources is nil, and do that earlier in the
293 function. Doc fix. (Bug#16694)
294 (face-spec-choose): Accept additional optional argument, whose
295 value is returned if no matching attributes are found.
296 (face-spec-recalc): Use the new optional argument when calling
297 face-spec-choose. (Bug#16378)
298 (make-face-x-resource-internal): Do nothing when
299 inhibit-x-resources is non-nil. Don't touch the default face if
300 reversed video is given--as was done in previous versions of Emacs.
301 (face-set-after-frame-default): Don't call
302 make-face-x-resource-internal here. (Bug#16434)
303
304 2014-04-04 Tassilo Horn <tsdh@gnu.org>
305
306 * doc-view.el (doc-view-bookmark-jump):
307 Use `bookmark-after-jump-hook' to jump to the right page after the
308 buffer is shown in a window. (bug#16090)
309
310 2014-04-04 Eli Zaretskii <eliz@gnu.org>
311
312 * international/characters.el (mirroring): Fix last change:
313 instead of loading uni-mirrored.el explicitly, do that implicitly
314 by creating the 'mirroring' uniprop table. This avoids announcing
315 the loading of uni-mirrored.el.
316
317 2014-04-04 Glenn Morris <rgm@gnu.org>
318
319 * files.el (buffer-stale--default-function)
320 (buffer-stale-function, revert-buffer--default):
321 * autorevert.el (auto-revert-buffers): Doc tweaks.
322
323 2014-04-03 Eli Zaretskii <eliz@gnu.org>
324
325 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
326
327 2014-04-03 Glenn Morris <rgm@gnu.org>
328
329 * files.el (make-backup-file-name-function)
330 (make-backup-file-name, make-backup-file-name--default-function)
331 (make-backup-file-name-1, find-backup-file-name)
332 (revert-buffer-function, revert-buffer-insert-file-contents-function)
333 (buffer-stale--default-function, buffer-stale-function)
334 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
335 (revert-buffer, revert-buffer--default)
336 (revert-buffer-insert-file-contents--default-function):
337 Doc fixes related to defaults no longer being nil.
338 (make-backup-file-name-function): Bump :version.
339 Restore nil as a valid but deprecated custom type.
340
341 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
342
343 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
344 used as a variable (bug#17174).
345
346 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
347
348 * progmodes/perl-mode.el (perl-indent-new-calculate):
349 Handle forward-sexp failure (bug#16985).
350 (perl-syntax-propertize-function): Add "foreach" and "for" statement
351 modifiers introducing expressions (bug#17116).
352
353 2014-04-02 Glenn Morris <rgm@gnu.org>
354
355 * menu-bar.el (menu-bar-file-menu):
356 * vc/ediff.el (ediff-current-file):
357 Update for revert-buffer-function no longer being nil by default.
358
359 * simple.el (command-execute): Respect nil disabled-command-function.
360
361 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
362
363 * simple.el (command-execute): Do not execute the command when it
364 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
365
366 2014-03-29 Juri Linkov <juri@jurta.org>
367
368 * dired-aux.el (dired-compress-file): Don't use string-match-p
369 because its match data is used afterwards.
370
371 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
372
373 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
374 0 like nil.
375
376 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
377
378 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
379 Highlight special globals with font-lock-builtin-face. (Bug#17057)
380
381 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
382 Don't propertize `?' or `!' as symbol constituent when after
383 colon. (Bug#17097)
384
385 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
386
387 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
388 which is no longer needed and causes trouble in GTK builds (bug#17046).
389
390 * emacs-lisp/package-x.el (package--archive-contents-from-url):
391 Use url-insert-file-contents; package-handle-response no longer exists.
392
393 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
394
395 * emacs-lisp/package.el: Fix bug#16733 (again).
396 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
397 (url-http-target-url): Remove unused declarations.
398 (package-handle-response): Remove.
399 (package--with-work-buffer): Use url-insert-file-contents and simplify.
400 (package--download-one-archive): Use current-buffer instead of
401 dynamic binding of `buffer'.
402 (describe-package-1): Do not decode readme-string.
403
404 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
405
406 * simple.el (primitive-undo): Correction to 2014-03-24 change.
407
408 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
409
410 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
411
412 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
413 from 2014-03-07, it decreases performance unnecessarily. Let-bind
414 `remote-file-name-inhibit-cache' to nil in the second pass.
415 (tramp-find-executable): Do not call "which" on SunOS.
416 (tramp-send-command-and-check): Fix docstring.
417 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
418 check whether source directory has set the sticky bit.
419
420 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
421
422 * simple.el (primitive-undo): Only process marker adjustments
423 validated against their corresponding (TEXT . POS). Issue warning
424 for lone marker adjustments in undo history. (Bug#16818)
425 (undo-make-selective-list): Add marker adjustments to selective
426 undo list based on whether their corresponding (TEXT . POS) is in
427 the region. Remove variable adjusted-markers, which was unused
428 and only non nil during undo-make-selective-list.
429 (undo-elt-in-region): Return nil when passed a marker adjustment
430 and explain in function doc.
431
432 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
433
434 * emacs-lisp/package.el (package--add-to-archive-contents):
435 Include already installed and built-in packages in
436 `package-archive-contents'.
437 (package-install): Don't include already installed packages in the
438 options during interactive invocation. (Bug#16762)
439
440 2014-03-24 Daniel Colascione <dancol@dancol.org>
441
442 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
443 instead of cl-loop search function.
444
445 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
446
447 * frameset.el (frameset--initial-params): Fix typo in parameter name.
448
449 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
450
451 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
452
453 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
454
455 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
456 Match special global variables without curlies, too.
457 (ruby-font-lock-keywords): Simplify the matcher for special global
458 variables. Don't require a non-word character after the variable.
459 (Bug#17057)
460
461 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * simple.el (redisplay-highlight-region-function): Increase priority of
464 overlay to make sure boundaries are visible (bug#15899).
465
466 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
467
468 * frameset.el (frameset-restore): Compare display strings with equal.
469
470 * frame.el (make-frame): Don't quote display name in error message,
471 it is already a string.
472
473 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
474
475 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
476 the password.
477
478 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
479
480 * emacs-lisp/package.el (package-show-package-list): If the buffer
481 is already displayed in another window, switch to that window.
482
483 2014-03-21 Daniel Colascione <dancol@dancol.org>
484
485 * mail/emacsbug.el (report-emacs-bug): Include memory usage
486 information in bug reports.
487
488 2014-03-23 Daniel Colascione <dancol@dancol.org>
489
490 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
491 list to look for keyword arguments instead of `memq', fixing
492 (Bug#3647) --- unfortunately, only for freshly-compiled code.
493 Please make bootstrap.
494
495 2014-03-23 Richard Stallman <rms@gnu.org>
496
497 * battery.el (battery-linux-sysfs): Search for each field
498 from the beginning of the buffer.
499
500 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
501
502 * emacs-lisp/package.el (package-desc): Use the contents of the
503 quoted form, not its cdr. (Bug#16873)
504
505 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
506
507 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
508 benefit of doc.c; change parameter profile to match the X function.
509
510 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
511
512 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
513 and `tramp-copy-env'.
514
515 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
516 (tramp-maybe-open-connection): Handle `tramp-login-env'.
517
518 2014-03-21 Glenn Morris <rgm@gnu.org>
519
520 * electric.el (electric-indent-post-self-insert-function): Add doc.
521
522 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
523
524 * emacs-lisp/package.el (package-compute-transaction):
525 Use `version-list-<=' to compare the requirement version against
526 the version of package already to be installed. Update the error
527 message. (Bug#16826)
528
529 * progmodes/ruby-mode.el (ruby-smie-rules):
530 Add indentation rule for ` @ '. (Bug#17050)
531
532 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
533
534 * align.el (align-regexp): Remove superfluous backslash.
535
536 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
537 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
538 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
539 Fix docstring typos.
540 (ffap-next): Use C-u in docstring.
541 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
542 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
543 Remove superfluous backslashes.
544 (ffap-string-at-point): Reflow docstring.
545
546 * server.el (server-host): Reflow docstring.
547 (server-unload-function): Fix docstring typo.
548 (server-eval-at): Remove superfluous backslash.
549
550 * skeleton.el (skeleton-insert): Remove superfluous backslash.
551 (skeleton-insert): Doc fix.
552 (skeleton-insert): Reflow docstring.
553
554 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
555 (tty-color-approximate, tty-color-by-index, tty-color-values)
556 (tty-color-desc): Remove superfluous backslashes.
557
558 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 * electric.el (electric-newline-and-maybe-indent): New command.
561 Bind it globally to C-j.
562 (electric-indent-mode): Don't mess with the global map any more.
563 Don't drop the post-self-insert-hook is some buffer is still using it
564 (bug#16770).
565
566 * bindings.el (global-map): Remove C-j binding.
567
568 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
569 the docstring of functions advised before dumping (bug#16993).
570
571 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
572
573 * ps-print.el (ps-generate-postscript-with-faces):
574 Explicitly deactivate the mark (bug#16866).
575 * simple.el (deactivate-mark): Update region highlight.
576
577 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
578
579 * emacs-lisp/package.el (describe-package-1):
580 Decode commentary (bug#16733).
581
582 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
583
584 * custom.el (defcustom): Doc fix: recommend avoiding destructive
585 modification of the value argument of :set (bug#16755).
586
587 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
588
589 * simple.el (newline-and-indent): Do autofill (bug#17031).
590
591 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
592
593 * newcomment.el (comment-normalize-vars): Only add escaping check
594 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
595 (comment-beginning): Use `narrow-to-region' instead of moving back
596 one character.
597 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
598 (comment-start-skip): Update the docstring.
599
600 2014-03-18 Richard Stallman <rms@gnu.org>
601
602 * dired.el (dired-display-file): Force use of other window.
603
604 2014-03-18 Daniel Colascione <dancol@dancol.org>
605
606 * startup.el (tty-handle-args): Remove debug message from 2007.
607
608 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
609
610 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
611 (advice--make-interactive-form): Use it to avoid (auto)loading function.
612 (advice--make-1, advice-add, advice-remove):
613 Remove braindead :advice-pending hack.
614
615 2014-03-17 Glenn Morris <rgm@gnu.org>
616
617 * calendar/calendar.el (calendar-generate-month): Apply weekend
618 face to the right days; fixes 2013-08-06 change. (Bug#17028)
619
620 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
621
622 * net/tramp.el (tramp-action-out-of-band): Read pending output.
623 (tramp-call-process): Trace also DESTINATION.
624
625 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
626 Quote file names when they are local. Remove superfluous trace.
627
628 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
629
630 * newcomment.el (comment-beginning): If `comment-start-skip'
631 doesn't match, move back one char and try again. (Bug#16971)
632
633 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
634 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
635 Set `comment-start-skip' to a simpler value that doesn't try to
636 check if the semicolon is escaped (this is handled by
637 `syntax-ppss' now). (Bug#16971)
638
639 * progmodes/scheme.el (scheme-mode-variables): Same.
640
641 2014-03-16 Martin Rudalics <rudalics@gmx.at>
642
643 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
644 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
645 current (Bug#16816, Bug#17007).
646 (with-current-buffer-window): New macro doing the same as
647 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
648 * help.el (help-print-return-message): Warn in doc-string to not
649 use this in `with-help-window'.
650 (describe-bindings-internal): Call `describe-buffer-bindings'
651 from within help buffer. See Juanma's scenario in (Bug#16816).
652 (with-help-window): Update doc-string.
653 * dired.el (dired-mark-pop-up):
654 * files.el (save-buffers-kill-emacs):
655 * register.el (register-preview): Use `with-current-buffer-window'
656 instead of `with-temp-buffer-window'.
657
658 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
659
660 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
661 Implement inserting into current buffer, documented in their docstrings.
662 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
663 (rst-section-tree-point, rst-forward-section, rst-indent)
664 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
665 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
666 (rst-font-lock-handle-adornment-pre-match-form)
667 (rst-repeat-last-character): Reflow docstrings.
668 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
669 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
670 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
671 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
672 Fix docstring typos.
673 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
674 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
675 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
676
677 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
678
679 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
680 for compatibility with other ports.
681 (ns-initialize-window-system): Use it. It is set in term/common-win.el
682 from the -xrm command line argument, but in the Nextstep port its value
683 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
684
685 * progmodes/python.el (defconst, python-syntax-count-quotes)
686 (python-indent-region, python-indent-shift-right)
687 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
688 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
689 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
690 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
691 (inferior-python-mode, python-shell-make-comint, run-python-internal)
692 (python-shell-buffer-substring, python-shell-send-buffer)
693 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
694 (python-completion-complete-at-point, python-fill-docstring-style)
695 (python-eldoc-function, python-imenu-format-item-label)
696 (python-imenu-format-parent-item-label)
697 (python-imenu-format-parent-item-jump-label)
698 (python-imenu--build-tree, python-imenu-create-index)
699 (python-imenu-create-flat-index): Fix docstring typos.
700 (python-indent-context, python-shell-prompt-regexp, run-python):
701 Remove superfluous backslashes.
702 (python-indent-line, python-nav-beginning-of-defun)
703 (python-shell-get-buffer, python-shell-get-process)
704 (python-info-current-defun, python-info-current-line-comment-p)
705 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
706 (python-indent-post-self-insert-function, python-shell-send-file)
707 (python-shell-completion-get-completions)
708 (python-shell-completion-complete-or-indent)
709 (python-eldoc--get-doc-at-point): Reflow docstrings.
710
711 2014-03-14 Glenn Morris <rgm@gnu.org>
712
713 * emacs-lisp/package.el (package-menu-mode-map):
714 Replace use of obsolete function alias. Tweak menu item text.
715
716 * info.el (Info-finder-find-node):
717 Ignore the `emacs' metapackage. (Bug#10813)
718
719 * finder.el (finder-list-matches): Include unversioned packages
720 in the result of a keyword search.
721
722 * finder.el (finder--builtins-descriptions): New constant.
723 (finder-compile-keywords): Use finder--builtins-descriptions.
724
725 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
726
727 * simple.el (blink-matching-paren): Describe the new value,
728 `jump', enabling the old behavior.
729 (blink-matching-open): Use that value. (Bug#17008)
730
731 2014-03-14 Glenn Morris <rgm@gnu.org>
732
733 * finder.el (finder-no-scan-regexp): Add leim-list.
734 (finder-compile-keywords):
735 Don't skip files with same basename. (Bug#14010)
736 * Makefile.in (setwins_finder): New, excluding leim.
737 (finder-data): Use setwins_finder.
738
739 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
740 (help-function-arglist, help-make-usage): Move from here...
741 * help.el (help-split-fundoc, help-add-fundoc-usage)
742 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
743 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
744
745 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
746
747 * net/socks.el (socks, socks-override-functions)
748 (socks-find-services-entry):
749 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
750 (hif-find-ifdef-block):
751 * progmodes/modula2.el (m2-indent): Fix docstring typos.
752
753 * net/tls.el (tls-program): Reflow docstring.
754
755 * progmodes/pascal.el (pascal-mode-abbrev-table)
756 (pascal-imenu-generic-expression, pascal-auto-endcomments)
757 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
758 (pascal-outline-mode): Fix docstring typos.
759 (pascal-mode): Let define-derived-mode document mode hook.
760 (pascal-uncomment-area): Reflow.
761 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
762
763 * progmodes/opascal.el (opascal-compound-block-indent)
764 (opascal-case-label-indent): Fix docstring typos.
765 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
766
767 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
768
769 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
770 Fontify multiple adjacent negation chars. (Bug#17004)
771
772 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
773
774 * emacs-lisp/package.el (package--prepare-dependencies):
775 Accept requirements without explicit version (bug#14941).
776
777 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
778
779 * register.el (register-separator, copy-to-register): Doc fixes.
780 (register-preview-default): Remove unnecessary call to concat.
781
782 * frameset.el (frameset-restore): When checking for a visible frame,
783 use the action map instead of calling visible-frame-list.
784
785 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
786
787 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
788
789 2014-03-12 Martin Rudalics <rudalics@gmx.at>
790
791 * window.el (fit-frame-to-buffer): Get maximum width from
792 display's width instead of height.
793
794 2014-03-12 Glenn Morris <rgm@gnu.org>
795
796 * desktop.el (desktop-restore-frames)
797 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
798 (desktop-restore-reuses-frames): Doc tweaks.
799
800 * electric.el (electric-indent-mode): Doc fix.
801
802 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
803
804 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
805 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
806 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
807 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
808 (cvs-dired-use-hook): Fix docstring typos.
809 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
810 Doc fixes.
811
812 * vc/pcvs-defs.el (cvs-auto-remove-handled)
813 (cvs-auto-remove-directories, cvs-default-ignore-marks)
814 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
815 (cvs-execute-single-dir): Fix docstring typos.
816
817 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
818 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
819
820 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
821
822 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
823 Fix docstring typos.
824
825 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
826
827 * frameset.el (frameset--jump-to-register): Add autoload; it could be
828 called from jump-to-register after unloading the frameset package.
829
830 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
833 (bug#16975). Deactivate the mark before setting it to nil.
834 (activate-mark): Do nothing if region is already active.
835
836 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
837
838 * frameset.el (frameset--target-display): Remove definition; declare.
839 (frameset-save, frameset-restore): Let-bind frameset--target-display.
840
841 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
844 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
845 when the advice is pending.
846 (advice-remove): Remove this marker when not needed any more.
847
848 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
849
850 * frameset.el: Separate options for reusing frames and cleaning up.
851 (frameset--reuse-list): Remove definition; declare.
852 (frameset--action-map): Declare.
853 (frameset--find-frame-if): Doc fix.
854 (frameset--restore-frame): Cache frame action.
855 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
856 how to clean up the frame list after restoring. Remove cleaning
857 options from REUSE-FRAMES. Change all keyword values to symbols.
858 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
859
860 * desktop.el (desktop-restore-forces-onscreen)
861 (desktop-restore-reuses-frames): Use non-keyword values.
862 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
863
864 2014-03-10 Glenn Morris <rgm@gnu.org>
865
866 * files.el (find-file): Doc fix: update info node name.
867
868 * emacs-lisp/advice.el (ad-add-advice, defadvice):
869 Doc fix: remove references to deleted info nodes.
870
871 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
872
873 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
874 Do not add `nil' to the environment, when there's no remote `locale'.
875 (tramp-find-inline-encoding): Check, that the remote host has
876 installed perl, before sending scripts.
877
878 2014-03-10 Leo Liu <sdl.web@gmail.com>
879
880 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
881 Clear eldoc-last-message. (Bug#16920)
882
883 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
884
885 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
886 (bug#14430).
887
888 2014-03-09 Juri Linkov <juri@jurta.org>
889
890 * ansi-color.el (ansi-color-names-vector): Copy default colors
891 from `xterm-standard-colors' that look well on the default white
892 background (and also on the black background) to avoid illegible
893 color combinations like yellow-on-white and white-on-white.
894 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
895
896 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
897
898 * frameset.el (frameset-restore): When no frame is visible, do not
899 generate a list of frames, just make visible the selected one.
900
901 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
902
903 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
904 it only contains the repository root. (Bug#16897)
905
906 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
907
908 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
909 only when `remote-file-name-inhibit-cache' is nil.
910 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
911
912 2014-03-06 Martin Rudalics <rudalics@gmx.at>
913
914 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
915 Fix doc-strings.
916 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
917 fit-frame-to-buffer variable. Fix doc-string.
918 (fit-window-to-buffer): Set ONLY argument in call of
919 fit-frame-to-buffer. Fix doc-string.
920
921 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
922
923 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
924 (tramp-action-password): Clear password cache if needed.
925 (tramp-read-passwd): Do not clear password cache.
926
927 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
928 cache unless it is the first password request.
929
930 2014-03-06 Glenn Morris <rgm@gnu.org>
931
932 * simple.el (newline): Doc tweak.
933
934 * emacs-lisp/shadow.el (load-path-shadows-find):
935 Ignore dir-locals. (Bug#12357)
936
937 2014-03-05 Glenn Morris <rgm@gnu.org>
938
939 * files.el (interpreter-mode-alist):
940 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
941
942 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
943
944 * frameset.el (frameset--initial-params): Filter out null entries.
945
946 2014-03-05 Martin Rudalics <rudalics@gmx.at>
947
948 * window.el (window-min-height, window-min-width):
949 Rewrite doc-strings.
950 (window-body-size): Add PIXELWISE argument to make it consistent
951 with its callees.
952
953 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
954
955 * finder.el (finder-mode-map, finder-mode-syntax-table):
956 Revert part of 2014-02-28 change.
957
958 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
959
960 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
961 (eww-setup-buffer): Clear next/prev/etc more reliably.
962 (eww-textarea-map): [tab] doesn't work on tty.
963 Reported by Mario Lang.
964
965 * net/shr.el (shr-map): Ditto.
966
967 2014-03-04 Glenn Morris <rgm@gnu.org>
968
969 * minibuffer.el (completion-hilit-commonality):
970 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
971
972 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
973
974 * hilit-chg.el (hilit-chg-unload-function): New function.
975 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
976 (hilit-chg-map-changes): Prefer cardinal number to digit.
977 (hilit-chg-display-changes): Reflow docstring.
978 (highlight-changes-rotate-faces): Remove superfluous backslash.
979
980 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
981
982 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
983 `tramp-send-command-and-check'.
984
985 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
986
987 * hexl.el (hexl-address-region, hexl-ascii-region)
988 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
989 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
990 (hexl-forward-word, hexl-previous-line, hexl-next-line):
991 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
992 (hexl-mode): Doc fix.
993 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
994 (hexl-mode-ruler): Fix typos in docstrings.
995
996 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
997 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
998 Remove superfluous backslashes.
999 (strokes-last-stroke, strokes-global-map, strokes-mode):
1000 Reflow docstrings.
1001 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1002 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1003 (strokes-distance-squared, strokes-global-set-stroke)
1004 (strokes-global-set-stroke-string): Doc fixes.
1005 (strokes-help): Fix typos; reflow docstring.
1006
1007 2014-03-04 Martin Rudalics <rudalics@gmx.at>
1008
1009 * window.el (window-in-direction): Fix doc-string.
1010
1011 2014-03-04 Glenn Morris <rgm@gnu.org>
1012
1013 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1014 Explicit error if no grammar.
1015 (smie-config-save): Doc fix. Fix quote typo.
1016
1017 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1018
1019 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1020 electric-indent-mode-hook if we obey electric-indent-mode.
1021 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1022 decide whether we obey electric-indent-mode.
1023 (c-change-set-fl-decl-start, c-extend-after-change-region):
1024 Silence warnings.
1025 (c-electric-indent-mode-hook): Assume we do want to obey
1026 electric-indent-mode.
1027
1028 * electric.el (electric-indent-mode-has-been-called): Remove.
1029 (electric-indent-mode): Fix accordingly.
1030
1031 * files.el (hack-local-variables): Mention file name in warning.
1032
1033 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1034
1035 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
1036
1037 * bindings.el: Add comment describing why C-d binds to `delete-char'.
1038 * simple.el (delete-forward-char): Mark as interactive-only.
1039
1040 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
1041
1042 * icomplete.el (icomplete-completions):
1043 Follow-up to 2014-03-01 change.
1044
1045 * icomplete.el: Miscellaneous doc fixes.
1046 Use Icomplete everywhere instead of icomplete for consistency.
1047 (icomplete-max-delay-chars): Fix typo.
1048 (icomplete-mode): Use \[].
1049 (icomplete-tidy, icomplete-exhibit): Reflow.
1050 (icomplete-minibuffer-setup-hook, icomplete-completions):
1051 Remove superfluous backlashes.
1052
1053 * ido.el: Miscellaneous doc fixes.
1054 Use Ido everywhere instead of ido or `ido' for consistency.
1055 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1056 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1057 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1058 (ido-separator): Extract obsolescence info from docstring and declare
1059 with make-obsolete-variable.
1060 (ido-minibuffer-setup-hook): Simplify example.
1061 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1062 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1063 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1064 (ido-everywhere): Reflow docstring.
1065 (ido-toggle-vc): Doc fix.
1066 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1067 of long list of keybindings.
1068
1069 2014-03-03 Glenn Morris <rgm@gnu.org>
1070
1071 * frame.el (display-pixel-height, display-pixel-width)
1072 (display-mm-dimensions-alist, display-mm-height)
1073 (display-mm-width): Doc tweaks.
1074
1075 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
1076
1077 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1078 case of undo in region.
1079
1080 2014-03-02 Martin Rudalics <rudalics@gmx.at>
1081
1082 * window.el (fit-window-to-buffer): Fix argument in window-size
1083 call when window is horizontally combined.
1084
1085 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
1086
1087 * icomplete.el (icomplete-completions): Use string-width.
1088 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1089
1090 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1091
1092 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1093 Highlight regexp options. (Bug#16914)
1094
1095 2014-03-01 Martin Rudalics <rudalics@gmx.at>
1096
1097 * window.el (window--max-delta-1): Round down when calculating
1098 how many lines/columns we can get from a window.
1099
1100 2014-03-01 Glenn Morris <rgm@gnu.org>
1101
1102 * isearch.el (search-invisible): Doc fix.
1103
1104 * minibuffer.el (completion-hilit-commonality):
1105 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1106 * comint.el (comint-dynamic-list-completions): Doc fix.
1107 * comint.el (comint-dynamic-list-completions):
1108 * filecache.el (file-cache-minibuffer-complete):
1109 * tempo.el (tempo-display-completions):
1110 * eshell/em-hist.el (eshell-list-history):
1111 Replace use of obsolete argument of display-completion-list.
1112
1113 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
1114
1115 * icomplete.el (icomplete-completions):
1116 Revert back to using "..." when ?… cannot be displayed.
1117
1118 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1119
1120 * finder.el (finder-unload-function): New function.
1121
1122 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1123
1124 * dframe.el (dframe-detach):
1125 * find-dired.el (find-dired, find-name-dired):
1126 * finder.el (finder-mode-map, finder-mode-syntax-table)
1127 (finder-headmark, finder-select, finder-mouse-select):
1128 Fix docstring typos.
1129
1130 2014-02-28 Martin Rudalics <rudalics@gmx.at>
1131
1132 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1133 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1134 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1135 Fix doc-string based on a suggestion by Nicolas Richard
1136 <theonewiththeevillook@yahoo.fr>.
1137 * help.el (with-help-window): Fix doc-string.
1138
1139 2014-02-28 Ivan Kanis <ivan@kanis.fr>
1140
1141 * net/shr.el (shr-image-animate): New option.
1142 (shr-put-image): Respect shr-image-animate.
1143
1144 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
1145
1146 * net/tramp-adb.el (tramp-adb-parse-device-names):
1147 Use `accept-process-output'.
1148 (tramp-adb-handle-file-truename): Cache the localname only.
1149 (tramp-adb-handle-make-directory)
1150 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1151 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1152 modes cannot be changed.
1153
1154 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1155 file properties of symlinks.
1156
1157 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1158
1159 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1160 required/optional fields to match development biblatex. (Bug#16781)
1161
1162 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1163
1164 * saveplace.el (toggle-save-place):
1165 Fix argument handling. (Bug#16673)
1166
1167 2014-02-28 Glenn Morris <rgm@gnu.org>
1168
1169 * minibuffer.el (completions-first-difference)
1170 (completions-common-part, completion-hilit-commonality): Doc fixes.
1171
1172 2014-02-28 Karl Berry <karl@gnu.org>
1173
1174 * info.el (Info-mode-map): Add H for describe-mode,
1175 to synchronize with standalone Info.
1176
1177 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
1178
1179 * progmodes/sql.el (sql-interactive-mode):
1180 Avoid setting global comint-input-ring-separator. (Bug#16814)
1181
1182 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1183
1184 * net/dbus.el (dbus--init-bus): Declare function.
1185 (dbus-path-local, dbus-interface-local): New defconst.
1186 (dbus-init-bus): Use them.
1187 (dbus-return-values-table): Extend doc.
1188 (dbus-handle-bus-disconnect): Extend error message.
1189
1190 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
1191
1192 * subr.el (y-or-n-p): Fix double space issue in message.
1193
1194 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1195
1196 * net/tramp.el (tramp-call-process): Improve trace message.
1197 (tramp-handle-insert-file-contents): Trace error case.
1198
1199 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1200 <insert-directory>: Use `tramp-handle-insert-directory'.
1201 (tramp-adb-handle-insert-directory): Remove function.
1202 (tramp-adb-send-command-and-check): New defun, replacing
1203 `tramp-adb-command-exit-status'. Change all callees.
1204 (tramp-adb-handle-file-attributes)
1205 (tramp-adb-handle-directory-files-and-attributes): Use it.
1206 (tramp-adb-ls-output-name-less-p):
1207 Use `directory-listing-before-filename-regexp'.
1208 (tramp-adb-handle-delete-directory): Flush also file properties of
1209 the truename of directory.
1210 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1211 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1212 (tramp-adb-handle-write-region): Implement APPEND.
1213 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1214 properties correctly.
1215 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1216 variables. Check for connected devices only when needed.
1217
1218 2014-02-27 Glenn Morris <rgm@gnu.org>
1219
1220 * minibuffer.el (completion-table-dynamic)
1221 (completion-table-with-cache): Doc fixes.
1222
1223 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1224 (completing-read-multiple): Doc fixes.
1225
1226 2014-02-27 Daniel Colascione <dancol@dancol.org>
1227
1228 * minibuffer.el (completion--nth-completion): Fix indentation.
1229
1230 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1231 explicit tramp path is empty.
1232
1233 2014-02-27 Glenn Morris <rgm@gnu.org>
1234
1235 * emacs-lisp/crm.el (completing-read-multiple):
1236 Empower help-enable-auto-load.
1237
1238 2014-02-26 Glenn Morris <rgm@gnu.org>
1239
1240 * startup.el (command-line): Don't init the tty in daemon mode.
1241
1242 Avoid calling tty-setup-hook twice, eg if a term file
1243 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1244 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1245 (tty-create-frame-with-faces): Use it.
1246 * startup.el (command-line): Pass run-hook argument
1247 to tty-run-terminal-initialization.
1248
1249 * dired.el (dired-restore-desktop-buffer): Demote errors;
1250 eg in case a glob match fails. (Bug#16884)
1251
1252 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1253
1254 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1255 error from `read-from-string'. (Bug#16850)
1256
1257 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1258 result of `completing-read' in the interactive form. (Bug#16854)
1259
1260 2014-02-25 Glenn Morris <rgm@gnu.org>
1261
1262 * image.el (image-animate, image-animate-timeout):
1263 Stop animating images in dead buffers. (Bug#16878)
1264
1265 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1266
1267 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1268 Doc fixes.
1269 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1270 * term/sun.el (sun-raw-prefix-hooks):
1271 Use tty-setup-hook instead of term-setup-hook.
1272 (terminal-init-sun): Construct message from bytecomp plist.
1273 * term/wyse50.el (enable-arrow-keys): Doc fix.
1274
1275 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1276
1277 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1278 Fix docstring typos.
1279
1280 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
1281
1282 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1283
1284 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1285
1286 * minibuffer.el (completion--try-word-completion):
1287 Fix error when completing M-x commands (bug#16808).
1288
1289 2014-02-24 Leo Liu <sdl.web@gmail.com>
1290
1291 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1292
1293 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1294
1295 * apropos.el (apropos-print): Avoid formatting error when
1296 apropos-do-all and apropos-compact-layout are both t.
1297
1298 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1299
1300 * apropos.el (apropos-property, apropos-all-words-regexp)
1301 (apropos-true-hit, apropos-variable, apropos-print):
1302 Fix docstring typos, and remove obsolete comment.
1303
1304 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
1305
1306 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1307 Preserve trailing "/". (Bug#16851)
1308
1309 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1310
1311 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1312 after `=>' (bug#16811).
1313 (ruby-smie-rules): Handle the inconsistent second element of the
1314 list returned by `smie-indent--parent'.
1315 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1316 method call.
1317
1318 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1319
1320 * elec-pair.el (electric-pair-text-syntax-table)
1321 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1322 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1323 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1324 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1325
1326 2014-02-22 Glenn Morris <rgm@gnu.org>
1327
1328 * imenu.el (imenu--generic-function): Doc fix.
1329
1330 * register.el (frame-configuration-to-register): Make obsolete.
1331
1332 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
1333
1334 * desktop.el (desktop-save-buffer-p): Do not fail when
1335 desktop-files-not-to-save is nil. Return t for true result
1336 as the doc says.
1337
1338 2014-02-22 Daniel Colascione <dancol@dancol.org>
1339
1340 * net/secrets.el (secrets-create-item, secrets-search-items):
1341 Check that attribute values are strings, avoiding the construction
1342 of invalid dbus messages.
1343
1344 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1345
1346 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1347 defun-declarations-alist.
1348
1349 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1350
1351 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1352 (bug#16829).
1353
1354 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1355
1356 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1357 (whitespace-newline, whitespace-trailing, whitespace-line)
1358 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1359 (whitespace-space-after-tab): Fix typo in docstrings.
1360
1361 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1362
1363 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1364
1365 * electric.el (electric-indent-functions-without-reindent):
1366 Add `yaml-indent-line'.
1367
1368 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1369
1370 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1371 It has done nothing for years; should be removed after the release.
1372
1373 * simple.el (choose-completion): Fix docstring typo.
1374 (read-quoted-char-radix): Remove unneeded * in docstring.
1375 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1376 Don't escape parentheses unnecessarily in docstrings.
1377
1378 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1379
1380 Fix handling of window-min-height/-width (Bug#16738).
1381 * window.el (window--dump-window, window--dump-frame):
1382 New functions.
1383 (window--min-size-1): Account for window dividers.
1384 When window-resize-pixelwise is nil, delay rounding till after the
1385 sum of the window components has been calculated.
1386 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1387 nil make sure at least one text line and two text columns remain
1388 fully visible.
1389 (window-resize): Signal an error when window-resize-apply fails.
1390 (window--resize-child-windows): Fix calculation of by how many
1391 pixels a window can still be shrunk via window-new-normal.
1392 (adjust-window-trailing-edge): Call window--resizable with
1393 correct TRAIL argument.
1394
1395 (with-temp-buffer-window): Don't evaluate BODY within
1396 with-current-buffer (Bug#16816).
1397
1398 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1399
1400 * net/tramp.el (tramp-check-cached-permissions):
1401 Call `file-attributes' with `suffix' being a symbol but a string.
1402
1403 2014-02-21 Daniel Colascione <dancol@dancol.org>
1404
1405 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1406 (dbus-init-bus): New function: call into dbus-init-bus-1
1407 and installs a handler for the disconnect signal.
1408 (dbus-call-method): Rewrite to look for result in cons.
1409 (dbus-call-method-handler): Store result in cons.
1410 (dbus-check-event): Recognize events with nil sender as valid.
1411 (dbus-handle-bus-disconnect): New function. React to bus
1412 disconnection signal by synthesizing dbus error for each
1413 pending synchronous or asynchronous call.
1414 (dbus-notice-synchronous-call-errors): New function.
1415 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1416 is true, not all the time.
1417
1418 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1419
1420 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1421 Remove obsolescence declarations, these variables do not exist anymore.
1422
1423 * savehist.el (savehist-save-minibuffer-history)
1424 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1425 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1426 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1427 mostly, refer to "Savehist mode" when talking about the mode,
1428 and not the function.
1429
1430 * saveplace.el (save-place): Remove redundant info in docstring.
1431 (save-place-forget-unreadable-files, toggle-save-place)
1432 (save-place-forget-unreadable-files, save-place-dired-hook):
1433 Fix typos and remove unneeded backslashes.
1434
1435 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1436
1437 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1438 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1439
1440 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1441 <insert-directory>: Use `tramp-handle-insert-directory'.
1442 (tramp-gvfs-handle-insert-directory): Remove function.
1443
1444 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1445 Call `tramp-handle-insert-directory'.
1446
1447 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1448
1449 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1450 before the start of buffer/region (bug#16799).
1451
1452 2014-02-20 Glenn Morris <rgm@gnu.org>
1453
1454 * isearch.el (search-invisible): Doc fix.
1455
1456 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1457
1458 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1459 (bug#16657).
1460
1461 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1462
1463 * frameset.el (frameset-restore): Delay removing an old frame's
1464 duplicate id until the new frame has been correctly created.
1465
1466 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1467
1468 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1469 (tramp-check-cached-permissions): Call `file-attributes' if the
1470 cache is empty.
1471
1472 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1473 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1474
1475 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1476 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1477 (tramp-gvfs-maybe-open-connection): Set always connection
1478 properties, even if target is mounted already.
1479
1480 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1481 Set tramp-autoload cookie.
1482 (tramp-get-remote-touch): New defun.
1483 (tramp-sh-handle-set-file-times): Use it.
1484 (tramp-sh-handle-directory-files-and-attributes):
1485 Use `tramp-handle-directory-files-and-attributes' if neither stat
1486 nor perl are available on the remote host.
1487
1488 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1489 "/". Write long listing only when "l" belongs to the switches.
1490
1491 * net/trampver.el: Update release number.
1492
1493 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1494
1495 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1496
1497 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1498
1499 * window.el (window-state-put): Allow WINDOW to refer to an
1500 internal window (Bug#16793).
1501
1502 2014-02-19 Glenn Morris <rgm@gnu.org>
1503
1504 * textmodes/remember.el: Move provide statement to end.
1505 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1506 (remember-notes): Doc fixes.
1507
1508 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1509
1510 * delsel.el (delete-char): Restore incorrectly erased property
1511 (bug#16795).
1512
1513 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1514
1515 * frameset.el (frameset--restore-frame): When a frame is being reused
1516 and its root window is not alive, delete all the frame's windows before
1517 restoring the window state. This works around the issue in bug#16793.
1518
1519 2014-02-18 Glenn Morris <rgm@gnu.org>
1520
1521 * textmodes/remember.el (remember-data-directory)
1522 (remember-directory-file-name-format, remember-store-in-files)
1523 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1524 (remember-notes-save-and-bury-buffer)
1525 (remember-notes--kill-buffer-query): Doc fixes.
1526
1527 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1528
1529 2014-02-17 Alan Mackenzie <acm@muc.de>
1530
1531 Connect electric-indent-mode up with CC Mode. Bug #15478.
1532 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1533 to electric-indent-{,local-}-mode.
1534 (c-basic-common-init): Set electric-indent-inhibit.
1535 Initialise c-electric-flag from electric-indent-mode.
1536 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1537 New hook functions which propagate electric-indent-mode to CC mode.
1538
1539 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1540 hit, toggle electric-indent-local-mode.
1541
1542 * electric.el (electric-indent-mode-has-been-called):
1543 New variable.
1544
1545 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1546
1547 * frameset.el (frameset-cfg-id): New function.
1548 (frameset--reuse-frame, frameset-restore): Use it.
1549 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1550
1551 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1552
1553 * ido.el (ido-file-internal): Remove unused var `d'.
1554 Use \` for to match BoS. Fit within 80n columns.
1555
1556 2014-02-17 Daniel Colascione <dancol@dancol.org>
1557
1558 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1559 dbus-call-method check for completion using a busy-wait loop with
1560 gradual backoff.
1561
1562 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
1563
1564 Sync with Tramp 2.2.9.
1565
1566 * net/trampver.el: Update release number.
1567
1568 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1569
1570 * ido.el (ido-file-internal): Don't add the name of an existing
1571 directory twice. (Bug#16747)
1572
1573 2014-02-16 Glenn Morris <rgm@gnu.org>
1574
1575 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1576 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1577
1578 2014-02-15 Michael R. Mauger <michael@mauger.com>
1579
1580 * progmodes/sql.el: Version 3.4
1581 (sql-oracle-options): New default value ("-L").
1582 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1583 (sql-placeholders-filter): Correct placeholder pattern.
1584 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1585 (sql-login-delay): New variable.
1586 (sql-product-interactive): Use it.
1587
1588 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1589
1590 * frameset.el (frameset--jump-to-register): Check that buffer is live
1591 (bug#16749).
1592
1593 2014-02-15 Glenn Morris <rgm@gnu.org>
1594
1595 * info.el (info-initialize): Revert 2014-01-10 change.
1596
1597 2014-02-14 Glenn Morris <rgm@gnu.org>
1598
1599 * replace.el (map-query-replace-regexp)
1600 (read-regexp-defaults-function, read-regexp): Doc fixes.
1601
1602 * dired.el (dired-read-regexp):
1603 * faces.el (list-faces-display):
1604 * misearch.el (multi-isearch-read-matching-buffers)
1605 (multi-isearch-read-matching-files):
1606 * play/cookie1.el (cookie-apropos):
1607 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1608
1609 * textmodes/remember.el (remember): Use frameset-to-register
1610 rather than frame-configuration-to-register.
1611
1612 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1613
1614 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1615 incorrect keybinding.
1616
1617 2014-02-13 Daniel Colascione <dancol@dancol.org>
1618
1619 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1620 when adding overlays so that line numbers from compiler match line
1621 numbers we use.
1622
1623 2014-02-13 Glenn Morris <rgm@gnu.org>
1624
1625 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1626
1627 * jit-lock.el (jit-lock-mode): Doc fix.
1628
1629 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1630
1631 * apropos.el (apropos-read-pattern): When the user passes an empty
1632 string, give a more helpful error message than "Wrong type
1633 argument: stringp, nil".
1634
1635 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1636
1637 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1638
1639 2014-02-13 Glenn Morris <rgm@gnu.org>
1640
1641 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1642
1643 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1644
1645 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1646 shift-select commands.
1647
1648 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1649
1650 * progmodes/js.el (js-indent-line): Don't widen.
1651 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1652
1653 2014-02-12 Glenn Morris <rgm@gnu.org>
1654
1655 * icomplete.el (icomplete): Add info-link to defgroup.
1656 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1657 (icomplete-minibuffer-map, icomplete-mode)
1658 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1659
1660 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1661 (package-menu-filter): Rename from package-menu-filter-interactive.
1662 Doc fix.
1663
1664 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1665
1666 * frameset.el (frameset--jump-to-register): Select the required
1667 window and buffer before restoring position (bug#16696).
1668
1669 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1670
1671 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1672
1673 2014-02-10 Glenn Morris <rgm@gnu.org>
1674
1675 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1676
1677 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1678
1679 * w32-common-fns.el (x-get-selection): Doc fix.
1680 * select.el (x-get-selection): Doc fix. (Bug#15109)
1681
1682 * face-remap.el (face-remap-add-relative)
1683 (face-remap-remove-relative, face-remap-reset-base)
1684 (face-remap-set-base): Call force-mode-line-update to redisplay
1685 the current buffer due to potential change in faces. (Bug#16709)
1686
1687 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1688
1689 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1690 script more robustly.
1691
1692 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1693
1694 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1695
1696 * simple.el (choose-completion): Doc fix (bug#14160).
1697
1698 * subr.el (event-start): Say what a nil EVENT value means.
1699
1700 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1701 (bug#14197).
1702
1703 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1704
1705 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1706
1707 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1708
1709 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1710 predicate function (bug#15455).
1711
1712 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1713
1714 * ielm.el (inferior-emacs-lisp-mode): Instead of
1715 `comment-use-global-state', set `comment-use-syntax'.
1716
1717 2014-02-10 Glenn Morris <rgm@gnu.org>
1718
1719 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1720
1721 2014-02-09 Alan Mackenzie <acm@muc.de>
1722
1723 Fix c-invalidate-state-cache on narrowed buffers.
1724 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1725 Widen when setting and clearing the CPP delimiter properties.
1726
1727 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1728
1729 * help.el (describe-bindings): Doc fix (bug#9888).
1730
1731 * files.el (save-buffer): Use ARG as the parameter name for
1732 consistency (bug#10346).
1733 (save-buffer): Clarify the 0 argument (bug#10346).
1734
1735 * cus-edit.el (customize-apropos): Fix error string.
1736 (custom-buffer-create): Doc fix (bug#11122).
1737 (custom-sort-items): Doc fix (bug#11121).
1738
1739 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1740
1741 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1742 (icomplete-simple-completing-p): Mention the previous variable.
1743
1744 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1745 meaning of the parameter (bug#12282).
1746
1747 * files.el (find-file-noselect): Clarify prompt when changing
1748 readedness (bug#13261).
1749 (locate-file): Suffixes aren't returned, so don't say that they
1750 are (bug#12674).
1751 (backup-inhibited): Doc clarification (bug#12525).
1752
1753 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1754 before we actually start to delete things (bug#16331).
1755
1756 * subr.el (event-start): Doc fix (bug#14228).
1757 (event-end): Ditto.
1758
1759 2014-02-09 Glenn Morris <rgm@gnu.org>
1760
1761 * emacs-lisp/warnings.el (lwarn):
1762 Empower help-enable-auto-load. (Bug#15940)
1763
1764 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1765
1766 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1767 (Bug#16690)
1768
1769 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1770
1771 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1772 Insert output at end of buffer. (Bug#16120)
1773
1774 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1775
1776 * simple.el (choose-completion-string-functions): Document new
1777 calling convention (bug#14153).
1778 (execute-extended-command): Clarify doc string (bug#13373).
1779
1780 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1781
1782 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1783 (find-grep-dired): Doc fix (bug#14288).
1784
1785 2014-02-08 Juri Linkov <juri@jurta.org>
1786
1787 * isearch.el (isearch-quote-char): Check character validity
1788 like in `quoted-insert' (bug#16677).
1789
1790 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1791
1792 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1793
1794 * isearch.el (isearch-hide-immediately): Doc clarification
1795 (bug#14723).
1796
1797 * simple.el (line-move): Document utility function used many
1798 places in the Emacs sources (bug#14843).
1799
1800 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1801 (dired-prev-marked-file): Doc fix (bug#14855).
1802 (dired-up-directory): Doc fix (bug#14848).
1803
1804 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1805
1806 * files.el (file-relative-name): Doc fix (bug#15159).
1807
1808 * fringe.el (fringe-styles): Doc fix (bug#15239).
1809
1810 * isearch.el (isearch-filter-predicate): Documentation typo fix
1811 (bug#15474).
1812
1813 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1814
1815 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1816
1817 * replace.el (replace-match-maybe-edit): Doc clarification
1818 (bug#15632).
1819
1820 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1821
1822 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1823
1824 2014-02-08 Glenn Morris <rgm@gnu.org>
1825
1826 * help-fns.el (describe-variable):
1827 Check {file,dir}-local-variables-alist, and buffer-file-name,
1828 in the correct buffer.
1829
1830 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1831
1832 * help-fns.el (describe-variable): Fix the case where
1833 a value is directory-local with no dir-locals file. (Bug#16635)
1834
1835 2014-02-08 Glenn Morris <rgm@gnu.org>
1836
1837 * abbrev.el (edit-abbrevs-mode):
1838 Derive from fundamental-mode. (Bug#16682)
1839
1840 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1841
1842 * simple.el (quoted-insert): Check character validity (bug#16677).
1843
1844 2014-02-07 Juri Linkov <juri@jurta.org>
1845
1846 * desktop.el (desktop-read): Claim the lock when the owner is not
1847 the current process. (Bug#16157)
1848
1849 2014-02-07 Juri Linkov <juri@jurta.org>
1850
1851 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1852 to "\\` ". (Bug#16651)
1853
1854 2014-02-07 Juri Linkov <juri@jurta.org>
1855
1856 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1857 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1858 (desktop-auto-save-cancel-timer): New function with some code from
1859 `desktop-auto-save-set-timer'.
1860 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1861 Instead of setting `desktop-save-mode' to nil, call
1862 `desktop-save-mode' with arg 0. (Bug#16630)
1863
1864 2014-02-07 Glenn Morris <rgm@gnu.org>
1865
1866 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1867 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1868 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1869
1870 * obsolete/iswitchb.el: Move to obsolete/.
1871 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1872 since obsolete/ is not scanned for autoloads.
1873 * emacs-lisp/authors.el (authors-valid-file-names):
1874 Add iswitchb.el.
1875
1876 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1877 Disable now non-functional find-file-hook.
1878
1879 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1880
1881 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1882 instead of ";" in order to avoid additional prompts. Let heredoc
1883 scripts read from tty. (Bug#16582)
1884 (tramp-send-command): No special handling of heredocs, it isn't
1885 necessary anymore.
1886
1887 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1888
1889 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1890 with a space (bug#16664). Limit the symbols considered to the ones
1891 that are bound or fbound (bug#16646).
1892
1893 2014-02-06 Glenn Morris <rgm@gnu.org>
1894
1895 * epa.el (epa-mail-aliases): Doc fix.
1896
1897 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1898
1899 * emacs-lisp/lisp.el (lisp-completion-at-point):
1900 Use `completion-table-merge' instead of `completion-table-in-turn'
1901 (bug#16604).
1902
1903 * minibuffer.el (completion-table-merge): New function.
1904
1905 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1906
1907 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1908 (tramp-sh-handle-set-file-acl)
1909 (tramp-sh-handle-start-file-process)
1910 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1911 (tramp-find-executable, tramp-send-command): Use it.
1912
1913 2014-02-05 Glenn Morris <rgm@gnu.org>
1914
1915 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1916
1917 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1918
1919 * progmodes/python.el (python-shell-send-string)
1920 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1921
1922 2014-02-04 Anders Lindgren <andlind@gmail.com>
1923
1924 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1925 the names (bug#16620).
1926
1927 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1928
1929 * faces.el (window-divider): New default value. Rewrite doc-string.
1930 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1931
1932 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1933
1934 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1935 `protected' and `public' can also be called without arguments.
1936
1937 2014-02-03 Glenn Morris <rgm@gnu.org>
1938
1939 * register.el (window-configuration-to-register)
1940 (frame-configuration-to-register): Unadvertise unused argument.
1941 * frameset.el (frameset-to-register): Remove unused argument.
1942
1943 * frameset.el (frameset-to-register):
1944 * kmacro.el (kmacro-to-register):
1945 * register.el (increment-register):
1946 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1947 (calc-append-to-register, calc-prepend-to-register):
1948 * play/gametree.el (gametree-layout-to-register)
1949 (gametree-apply-register-layout):
1950 * textmodes/picture.el (picture-clear-rectangle-to-register)
1951 (picture-yank-rectangle-from-register):
1952 * vc/emerge.el (emerge-combine-versions-register):
1953 Use register-read-with-preview to read registers.
1954
1955 2014-02-03 João Távora <joaotavora@gmail.com>
1956
1957 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1958 when at beginning of (possibly narrowed) buffer.
1959
1960 2014-02-02 Daniel Colascione <dancol@dancol.org>
1961
1962 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1963 Also try to display local help from just before point.
1964
1965 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1966
1967 c-parse-state. Don't "append-lower-brace-pair" in certain
1968 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1969 recognised as a comment.
1970
1971 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1972 as well as normal comment starter.
1973 (c-parse-state-get-strategy): Extra return possibility
1974 'back-and-forward.
1975 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1976 return value list to indicate replacement of a brace-pair cons
1977 with its car.
1978 (c-parse-state-1): With 'back-and-forward, only call
1979 c-append-lower-brace-pair-to state-cache when cons-separated.
1980
1981 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1982
1983 * term/ns-win.el (ns-suspend-error): New function.
1984 (ns-initialize-window-system): Add ns-suspend-error to
1985 suspend-hook (Bug#16612).
1986
1987 2014-02-02 Daniel Colascione <dancol@dancol.org>
1988
1989 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1990 Make loading cc-mode silent.
1991
1992 2014-02-02 Daniel Colascione <dancol@dancol.org>
1993
1994 * comint.el (comint-prompt-read-only): Change doc to suggest
1995 remap keybinding.
1996
1997 2014-02-02 Glenn Morris <rgm@gnu.org>
1998
1999 * register.el (register-read-with-preview, point-to-register)
2000 (window-configuration-to-register, frame-configuration-to-register)
2001 (jump-to-register, number-to-register, view-register, insert-register)
2002 (copy-to-register, append-to-register, prepend-to-register)
2003 (copy-rectangle-to-register): Doc fixes.
2004
2005 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2006
2007 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2008 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2009 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2010 * help-fns.el (describe-function-1): Use it.
2011
2012 2014-02-02 Glenn Morris <rgm@gnu.org>
2013
2014 * register.el (register-preview-default): New function,
2015 split from register-preview.
2016 (register-preview-function): Rename from register-preview-functions,
2017 make it not a hook.
2018 (register-preview): Use register-preview-function.
2019 (register-read-with-preview): Error on non-character event. (Bug#16595)
2020
2021 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2022
2023 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2024 `:' before binary operators (bug#16609). Don't check for `:'
2025 before `[' and `(', or their syntax status. A percent literal
2026 can't end with either.
2027 (ruby-font-lock-keywords): For built-ins that require arguments,
2028 check that they're followed by something that looks like argument
2029 (bug#16610).
2030
2031 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2032
2033 * subr.el (butlast): Document what an omitted N means (bug#13437).
2034 (nbutlast): Ditto.
2035
2036 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2037
2038 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2039 depth shallower (bug#16587).
2040 (shr-tag-svg): Respect `shr-inhibit-images'.
2041 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
2042
2043 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2044
2045 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2046 (ruby-smie-grammar): Make "." right-associative. Make its priority
2047 lower than the ternary and all binary operators.
2048 (ruby-smie-rules): Indent "(" relative to the first non-"."
2049 parent, or the first "." parent at indentation.
2050 Use `ruby-align-chained-calls' for indentation of "." tokens.
2051 (Bug#16593)
2052
2053 2014-01-31 Juri Linkov <juri@jurta.org>
2054
2055 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2056 from `make-hash-table'.
2057
2058 * textmodes/ispell.el (ispell-init-process): Change message format
2059 to be consistent with other messages.
2060
2061 2014-01-31 Glenn Morris <rgm@gnu.org>
2062
2063 * delsel.el (delete-selection-mode): Doc fix.
2064
2065 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2066 (trace-function-background): Doc fixes.
2067
2068 * ido.el (ido-use-virtual-buffers): Doc fix.
2069 Reset :version, since the default value has not changed.
2070
2071 * register.el (register-preview-delay, register-read-with-preview):
2072 Doc fixes.
2073
2074 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2075 do not mess with mail-buffer position (fixes 2009-11-03 change).
2076 * progmodes/cc-mode.el (c-submit-bug-report):
2077 Check auto-fill-mode is bound. (Bug#16592)
2078
2079 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
2080
2081 * startup.el (fancy-splash-image-file): New function,
2082 split from fancy-splash-head.
2083 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2084 so that we are both using the same image. (Bug#16574)
2085
2086 2014-01-30 Glenn Morris <rgm@gnu.org>
2087
2088 * simple.el (eval-expression): Doc fix.
2089
2090 * hexl.el (hexl-mode-hook):
2091 * ielm.el (ielm-mode-hook):
2092 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2093 (lisp-interaction-mode-hook):
2094 * progmodes/cfengine.el (cfengine3-documentation-function):
2095 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2096
2097 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2100 is a symbol (bug#16584).
2101
2102 2014-01-30 Glenn Morris <rgm@gnu.org>
2103
2104 * help.el (help-for-help-internal): Add "P" to text.
2105
2106 2014-01-29 Glenn Morris <rgm@gnu.org>
2107
2108 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2109
2110 2014-01-28 Martin Rudalics <rudalics@gmx.at>
2111
2112 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2113 height constraints.
2114
2115 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2116
2117 * progmodes/hideif.el: Extend to full CPP expression syntax.
2118 (hif-token-alist): Add missing tokens.
2119 (hif-token-regexp): Add support for float/octal/hex immediates.
2120 (hif-string-literal-regexp): New const.
2121 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2122 (hif-exprlist): New function.
2123 (hif-parse-if-exp): Use it.
2124 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2125 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2126 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2127 (hif-logxor, hif-comma): New functions.
2128
2129 2014-01-28 Glenn Morris <rgm@gnu.org>
2130
2131 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2132
2133 * indent.el (tab-stop-list): Doc fix. Add :version.
2134
2135 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2136 (cvs-append-to-ignore): Add compatibility alias.
2137
2138 2014-01-27 Glenn Morris <rgm@gnu.org>
2139
2140 * dired.el (dired-hide-details-mode): Don't autoload it,
2141 since it cannot be used outside Dired buffers anyway.
2142
2143 * emulation/cua-base.el (cua-mode): Doc fix.
2144
2145 * dired.el (dired-hide-details-hide-symlink-targets)
2146 (dired-hide-details-hide-information-lines)
2147 (dired-hide-details-mode): Doc fixes.
2148
2149 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2150 * strokes.el (strokes-file): Doc fix. Bump :version.
2151 (strokes-help): Doc fix.
2152 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2153 * emulation/viper.el (viper): Doc fix for custom group.
2154 (top-level): Remove oh-so-no-longer-relevant text about vip.
2155 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2156
2157 * ido.el (ido-save-directory-list-file):
2158 * saveplace.el (save-place-file):
2159 * calendar/timeclock.el (timeclock-file):
2160 * net/quickurl.el (quickurl-url-file):
2161 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2162 * progmodes/idlwave.el (idlwave-config-directory):
2163 * textmodes/remember.el (remember-data-file):
2164 Bump :version.
2165
2166 2014-01-26 Glenn Morris <rgm@gnu.org>
2167
2168 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2169 Doc fix. Make obsolete.
2170 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2171
2172 * sort.el (delete-duplicate-lines): Doc fix.
2173
2174 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2175
2176 * progmodes/ada-mode.el (ada):
2177 * woman.el (woman): Link to info manual and Commentary section.
2178
2179 * progmodes/flymake.el (flymake):
2180 * nxml/nxml-mode.el (nxml):
2181 * net/eww.el (eww):
2182 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2183 * htmlfontify.el (htmlfontify):
2184 * ses.el (ses):
2185 * epa.el (epa):
2186 * ido.el (ido): Link to info manual.
2187
2188 2014-01-25 Leo Liu <sdl.web@gmail.com>
2189
2190 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2191
2192 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2193
2194 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2195 (bug#16537).
2196
2197 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
2198
2199 * net/eww.el (eww-download-callback):
2200 Fix reference to eww-download-directory.
2201
2202 * emacs-lisp/bytecomp.el (byte-compile-file):
2203 Remove unused local variable `file-name'.
2204
2205 2014-01-24 Glenn Morris <rgm@gnu.org>
2206
2207 * woman.el (woman-default-faces, woman-monochrome-faces):
2208 Fix obsolescence specification.
2209
2210 * subr.el (with-demoted-errors): Doc fix.
2211
2212 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2213
2214 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2215 (cl--macroexp-fboundp): New function.
2216 (cl--make-type-test): Use it.
2217
2218 2014-01-23 Glenn Morris <rgm@gnu.org>
2219
2220 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2221 * simple.el (eval-expression): Doc fixes.
2222
2223 2014-01-22 Glenn Morris <rgm@gnu.org>
2224
2225 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2226
2227 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2228
2229 * emacs-lisp/package.el: Write files silently.
2230 (package-autoload-ensure-default-file, package--write-file-no-coding)
2231 (package-generate-description-file, package--download-one-archive)
2232 (package-install-from-archive): Tell `write-region' to stay quiet.
2233 (package-menu-mode, package-menu--print-info): Omit the Archive column
2234 if there's only one archive.
2235 (package-all-keywords, package--has-keyword-p): Remove dead code.
2236
2237 2014-01-22 Glenn Morris <rgm@gnu.org>
2238
2239 * version.el (emacs-bzr-version-bzr): Fix typo.
2240
2241 * version.el (emacs-repository-get-version):
2242 Check either .bzr or .git, but not both.
2243 Make the git case actually use the DIR argument, and return nil
2244 rather than the empty string.
2245 Avoid error if .git exists but the git executable is not found.
2246
2247 2014-01-22 Martin Rudalics <rudalics@gmx.at>
2248
2249 Fixes in window size functions around Bug#16430 and Bug#16470.
2250 * window.el (window-total-size, window-size): New argument ROUND.
2251 (window--min-delta-1, window-min-delta, window--max-delta-1):
2252 Be more conservative when calculating the numbers of lines or
2253 columns a window can shrink (Bug#16430).
2254 (fit-window-to-buffer): Simplify code.
2255 * term.el (term-window-width): Call window-body-width again.
2256
2257 2014-01-22 Glenn Morris <rgm@gnu.org>
2258
2259 * image.el (image-format-suffixes): Doc fix.
2260
2261 * international/quail.el (quail-define-package): Doc fix.
2262
2263 * emacs-lisp/authors.el (authors-valid-file-names)
2264 (authors-renamed-files-alist): Additions.
2265
2266 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2267 reverts 2014-01-09 change. (Bug#16422)
2268
2269 * calc/calc-embed.el (thing-at-point-looking-at):
2270 * emacs-lisp/map-ynp.el (x-popup-dialog):
2271 * obsolete/lmenu.el (x-popup-dialog):
2272 * emacs-lisp/package.el (url-recreate-url):
2273 * mail/mailclient.el (clipboard-kill-ring-save):
2274 * subr.el (x-popup-dialog): Update declaration.
2275 * mail/rmail.el (rmail-mime-message-p):
2276 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2277
2278 2014-01-21 Daniel Colascione <dancol@dancol.org>
2279
2280 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2281 Correctly detect when we're inside an arithmetic expansion form
2282 containing nested parenthesis.
2283 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
2284 to detect cases where we shouldn't expand "<<" to a heredoc
2285 skeleton.
2286
2287 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2289 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2290 (eldoc--message-command-p): New function.
2291 (eldoc-display-message-p): Use it.
2292 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2293 message is not automatically erased for us.
2294 (eldoc-print-current-symbol-info): Erase previous message, if any.
2295
2296 2014-01-21 Tassilo Horn <tsdh@gnu.org>
2297
2298 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2299 specify it's an interactive function.
2300
2301 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2302 Fix regex used for scanning for citation keys which failed for
2303 citations with optional arguments.
2304
2305 2014-01-21 Leo Liu <sdl.web@gmail.com>
2306
2307 * simple.el (read--expression): Don't enable eldoc-mode.
2308
2309 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2310
2311 * simple.el (move-beginning-of-line): Make sure we don't move forward
2312 (bug#16497).
2313
2314 2014-01-20 Juri Linkov <juri@jurta.org>
2315
2316 * saveplace.el (toggle-save-place, save-place-to-alist)
2317 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2318 'dired-mode) before checking for dired-directory. (Bug#16477)
2319
2320 2014-01-20 Juri Linkov <juri@jurta.org>
2321
2322 * indent.el (indent-line-to): Use backward-to-indentation
2323 instead of back-to-indentation. (Bug#16461)
2324
2325 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2326
2327 Revert some of the CANNOT_DUMP fix (Bug#16494).
2328 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2329 but fixing this can wait until after the next release.
2330 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2331
2332 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
2333
2334 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2335 Use `password-word-equivalents'.
2336 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2337 to t. (Bug#5664, Bug#13124)
2338
2339 2014-01-19 Alan Mackenzie <acm@muc.de>
2340
2341 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2342 points.
2343 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
2344 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
2345 * progmodes/cc-mode.el (c-before-change, c-after-change)
2346 (c-font-lock-fontify-region): Bind it here.
2347
2348 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2349
2350 * term.el (term-window-width): Call window-text-width instead of
2351 window-width (Bug#16470).
2352
2353 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2354
2355 * simple.el (password-word-equivalents): Remove duplicates.
2356 Sort, to make this easier next time.
2357 Downcase. Omit ": " after "jelszó".
2358
2359 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2360
2361 * term/common-win.el (saved-region-selection): Defvar it.
2362 (x-select-text): Set saved-region-selection (Bug#16382).
2363
2364 2014-01-18 Glenn Morris <rgm@gnu.org>
2365
2366 * emacs-lisp/authors.el (authors-aliases)
2367 (authors-renamed-files-alist): Add some entries.
2368
2369 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2370
2371 * net/tramp.el (tramp-password-prompt-regexp):
2372 Use `password-word-equivalents' if available.
2373 (tramp-action-password, tramp-process-one-action)
2374 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2375
2376 2014-01-17 Chong Yidong <cyd@gnu.org>
2377
2378 * simple.el (password-word-equivalents): New defcustom.
2379 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2380 to 24.4.
2381 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2382 to t. (Bug#13124)
2383
2384 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2385
2386 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2387 (ruby-align-to-stmt-keywords): Change the default value.
2388 Use `ruby-alignable-keywords' to generate the possible customization
2389 choices.
2390 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2391 keywords, check against the value of `ruby-alignable-keywords'
2392 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2393
2394 2014-01-17 Glenn Morris <rgm@gnu.org>
2395
2396 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2397
2398 Make M-x authors return zero *Authors Errors* from current logs.
2399 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2400 (authors-ignored-files): Add some entries, remove others.
2401 (authors-ambiguous-files, authors-valid-file-names):
2402 Add some entries.
2403 (authors-renamed-files-alist): Add, remove, and adjust entries.
2404 (authors-renamed-files-regexps): Add some entries.
2405 Remove some very broad ones. Make some entries `lax'.
2406 (authors-lax-changelogs): New constant.
2407 (authors-disambiguate-file-name): Treat top-level specially.
2408 (authors-lax-changelog-p): New function.
2409 (authors-canonical-file-name): Check file as written against
2410 authors-valid-file-names. Do not special-case etc/.
2411 Handle `lax' logs and authors-renamed-files-regexps elements.
2412
2413 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2414
2415 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2416 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2417 callers.
2418
2419 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2420
2421 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2422 Assume we're already in the proper buffer.
2423 Inspired by Anders Lindgren <andlind@gmail.com>.
2424 (follow-post-command-hook): Call it from the right buffer.
2425 (follow-comint-scroll-to-bottom): Adjust call.
2426 (follow-all-followers): Use get-buffer-window-list.
2427
2428 2014-01-15 Daniel Colascione <dancol@dancol.org>
2429
2430 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2431 `buffer-file-name' in interactive-form so that we don't leave
2432 pathless file names in `file-name-history'.
2433
2434 2014-01-15 Juri Linkov <juri@jurta.org>
2435
2436 * indent.el (indent-rigidly): Set deactivate-mark to nil
2437 in transient indentation mode. (Bug#16438)
2438
2439 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2440
2441 * emacs-lisp/package.el (package-desc-keywords): New function
2442 (Bug#16222).
2443 (describe-package-1, package-all-keywords)
2444 (package--has-keyword-p): Use it.
2445
2446 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2447
2448 * simple.el (define-alternatives): When creating the
2449 COMMAND-alternatives variable, assign COMMAND as its definition
2450 name so that `describe-variable' can relocate it.
2451
2452 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2453
2454 * font-lock.el (font-lock-keywords): Fix typo in docstring
2455 (bug#16307).
2456
2457 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2458
2459 * ispell.el (ispell-region): Reset `in-comment' for new line
2460 instead of wrongly reset `add-coment' (bug#13577).
2461
2462 2014-01-14 Daiki Ueno <ueno@gnu.org>
2463
2464 * epa-file.el (epa-file-write-region): Encode the region according
2465 to `buffer-file-format'. Problem reported at:
2466 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2467
2468 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2471 so it applies in the right buffer (bug#16410).
2472
2473 2014-01-13 Daniel Colascione <dancol@dancol.org>
2474
2475 * textmodes/rst.el (rst-define-key): Provide deprecated
2476 keybindings through named functions instead of anonymous ones so
2477 that "??" doesn't appear in describe-mode output.
2478
2479 2014-01-13 Bastien Guerry <bzg@gnu.org>
2480
2481 * simple.el (define-alternatives): Call the selected command
2482 interactively. When setting `COMMAND--implementation' for the
2483 first time, tell the user how to chose another implementation.
2484 Enhance the docstring.
2485
2486 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2487
2488 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2489 (log-edit--match-first-line): New function.
2490 (log-edit-font-lock-keywords): Use it.
2491 (log-edit-mode): Make jit-lock-defer-multiline work.
2492
2493 2014-01-13 Bastien Guerry <bzg@gnu.org>
2494
2495 * rect.el (rectangle-mark-mode): When the region is not active,
2496 display a message saying that the mark as been set and that
2497 rectangle mode is in use.
2498 (rectangle--highlight-for-redisplay): Only put an overlay with a
2499 visible vertical bar when (display-graphic-p) is non-nil.
2500 This partially fixes Bug#16403.
2501
2502 2014-01-13 Juri Linkov <juri@jurta.org>
2503
2504 * info.el (Info-find-file): Go to DIR before displaying the error
2505 about a nonexistent file if no previous Info file is visited.
2506 Use `user-error' instead of `error' for "Info file %s does not exist".
2507 (Info-find-node-2): In case of a nonexistent node in unwind forms
2508 go to the Top node if there is no previous node to revert to.
2509 (Bug#16405)
2510
2511 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2512
2513 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2514 * window.el (fit-frame-to-buffer): Fix doc-string.
2515 Respect window-min-height/-width. Fit pixelwise when
2516 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2517 when avoiding that frame goes partially off-screen.
2518 (fit-window-to-buffer): Respect window-min-height/-width
2519 (Bug#14096).
2520
2521 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2522
2523 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2524 after an empty line.
2525
2526 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * net/shr.el (shr-render-region): Autoload.
2529
2530 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2531
2532 * net/eww.el (eww-download-directory): Rename from
2533 `eww-download-path' (Bug#16419).
2534
2535 2014-01-12 Leo Liu <sdl.web@gmail.com>
2536
2537 * dired-x.el (dired-mode-map): Fix last change.
2538
2539 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2540
2541 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2542
2543 Spelling fixes.
2544 * emacs-lisp/generic.el (generic--normalize-comments):
2545 Rename from generic--normalise-comments. All uses changed.
2546 * play/bubbles.el (bubbles--neighborhood-score)
2547 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2548 (bubbles--neighborhood-available)
2549 (bubbles--update-neighborhood-score):
2550 Rename from names with 'neighbourhood'. All uses changed.
2551
2552 2014-01-12 Leo Liu <sdl.web@gmail.com>
2553
2554 Re-implement the feature of showing eldoc info after editing.
2555 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2556 (eldoc-edit-message-commands): New function.
2557 (eldoc-print-after-edit): New variable.
2558 (eldoc-pre-command-refresh-echo-area): Emit message only by
2559 eldoc-message-commands.
2560 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2561 if eldoc-print-after-edit is set. (Bug#16346)
2562 * simple.el (read--expression): Enable eldoc-mode.
2563 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2564
2565 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2566 Eric S. Raymond <esr@thyrsus.com>
2567
2568 * version.el (emacs-repository-get-version): Enhance so the
2569 function works correctly in either a Bazaar or Git repo.
2570
2571 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2572
2573 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2574 Goes with removal of the joke manpages from /etc.
2575
2576 2014-01-10 Kenichi Handa <handa@gnu.org>
2577
2578 * mail/rmail.el (rmail-get-coding-system):
2579 Check rmail-get-coding-function before "funcall"ing it.
2580
2581 2014-01-10 Glenn Morris <rgm@gnu.org>
2582
2583 * emacs-lisp/authors.el (authors-fixed-entries):
2584 Update for files that no longer exist.
2585
2586 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2587
2588 * version.el (emacs-bzr-get-version): Restore compatibilty with
2589 24.3 (Tested).
2590
2591 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2592
2593 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2594 and Podfile.
2595
2596 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2597
2598 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2599
2600 2014-01-10 Chong Yidong <cyd@gnu.org>
2601
2602 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2603
2604 2014-01-10 Anders Lindgren <andlind@gmail.com>
2605
2606 * follow.el (follow-cache-command-list): Include right-char and
2607 left-char.
2608
2609 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2610
2611 Spelling fixes.
2612 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2613 * woman.el (woman-mark-horizontal-position):
2614 Rename from woman-mark-horizonal-position. Use changed.
2615
2616 2014-01-10 Glenn Morris <rgm@gnu.org>
2617
2618 * info.el (info-initialize): If running uninstalled, ensure our
2619 own info files are always found first, even if INFOPATH is set.
2620
2621 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2622
2623 2014-01-09 David Engster <deng@randomsample.de>
2624
2625 * emacs-lisp/eieio-custom.el:
2626 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2627 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2628 * emacs-lisp/eieio.el: Regenerate autoloads.
2629
2630 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2631
2632 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2633 following renames. (Bug#8756)
2634
2635 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2636
2637 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2638 (bug#16382).
2639 (activate-mark): Add `no-tmm' argument.
2640 (set-mark, push-mark-command): Use it instead of running
2641 activate-mark-hook by hand.
2642
2643 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2644
2645 In preparation for the move to git, sanitize out some
2646 Bazaar-specific names.
2647
2648 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2649
2650 * version.el (emacs-bzr-version): Name changed to
2651 emacs-repository-version. Obsolete-variable alias made.
2652 * loadup.el: Follow through on this name change.
2653 * mail/emacsbug.el (report-emacs-bug): Factor out any
2654 assumption about the version control system in use.
2655
2656 2014-01-08 David Engster <deng@randomsample.de>
2657
2658 * help-fns.el (help-fns-describe-function-functions):
2659 New variable to call functions for augmenting help buffers.
2660 (describe-function-1): Remove explicit calls to
2661 `help-fns--compiler-macro', `help-fns--parent-mode' and
2662 `help-fns--obsolete'. Put them in above new variable instead, and
2663 call them through `run-hook-with-args'.
2664 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2665 `eieio-describe-class'. Not meant for interactive use anymore,
2666 but to augment existing help buffers. Remove optional second
2667 argument. Create proper button for file location.
2668 Rewrite function to use `insert' instead of `princ' and `prin1' where
2669 possible.
2670 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2671 (eieio-method-def, eieio-class-def): Move further up.
2672 (describe-method, describe-generic, eieio-describe-method):
2673 Remove aliases.
2674 (eieio-help-constructor, eieio-help-generic): Rename from
2675 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2676 Rewrite to use `insert' in the current buffer and use proper help
2677 buttons.
2678 (eieio-help-find-method-definition)
2679 (eieio-help-find-class-definition): Also accept symbols as
2680 arguments.
2681 (eieio-help-mode-augmentation-maybee): Remove.
2682 (eieio-describe-class-sb): Use `describe-function'.
2683 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2684 Add `eieio-help-generic' and `eieio-help-constructor'.
2685
2686 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2687
2688 Spelling fixes.
2689 * language/china-util.el (hz-ascii-designation):
2690 Rename from hz-ascii-designnation.
2691 (hz-ascii-designation): Rename from hz-ascii-designnation.
2692 All uses changed.
2693
2694 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2695
2696 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2697 package-alist.
2698
2699 2014-01-08 Bastien Guerry <bzg@gnu.org>
2700
2701 * emacs-lisp/package.el (package-delete):
2702 Correctly delete the package from package-alist.
2703
2704 2014-01-08 Daiki Ueno <ueno@gnu.org>
2705
2706 * emacs-lisp/package.el (url-recreate-url): Declare.
2707 (url-http-target-url): Declare.
2708 (package-handle-response): Include requested URL in the error message.
2709 (package--check-signature): Don't re-signal errors from
2710 package--with-work-buffer. Suggested by Stefan Monnier.
2711
2712 2014-01-07 Bastien Guerry <bzg@gnu.org>
2713
2714 * minibuffer.el (completion--try-word-completion): When both a
2715 hyphen and a space are possible candidates for the character
2716 following a word, display both candidates. (Bug#15980)
2717
2718 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2719
2720 * window.el (balance-windows-2): While rounding don't give a
2721 window more than the remainder. Bug#16351, bug#16383.
2722
2723 2014-01-07 Glenn Morris <rgm@gnu.org>
2724
2725 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2726 (menu-bar-help-menu): Use view-external-packages instead.
2727
2728 2014-01-07 Bastien Guerry <bzg@gnu.org>
2729
2730 * emacs-lisp/package.el (package-delete): Also delete the package
2731 name from `package-alist', not its description only.
2732
2733 2014-01-07 Glenn Morris <rgm@gnu.org>
2734
2735 * help.el (view-external-packages):
2736 * menu-bar.el (menu-bar-help-extra-packages):
2737 Visit efaq.info rather than etc/MORE.STUFF.
2738
2739 2014-01-07 Juri Linkov <juri@jurta.org>
2740
2741 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2742 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2743
2744 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2745 that shadows RET. (Bug#16342)
2746
2747 2014-01-07 Chong Yidong <cyd@gnu.org>
2748
2749 * isearch.el (isearch-yank-char, isearch-yank-word)
2750 (isearch-yank-line): Doc fix.
2751
2752 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2753
2754 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2755 * emacs-lisp/elint.el (elint-find-builtins):
2756 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2757 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2758 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2759 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2760 * apropos.el (apropos-safe-documentation):
2761 * subr.el (symbol-file): Remove redundant fboundp.
2762 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2763
2764 2014-01-06 Bastien Guerry <bzg@gnu.org>
2765
2766 * hl-line.el (global-hl-line-overlay): Make a local variable.
2767 (global-hl-line-overlays): New variable to store all overlays.
2768 (global-hl-line-mode): Don't delete overlays from the current
2769 buffer when `global-hl-line-sticky-flag' is non-nil.
2770 (global-hl-line-highlight): Add new overlays to
2771 `global-hl-line-overlays'.
2772 (global-hl-line-unhighlight-all): New function to delete all
2773 overlays when turning off `global-hl-line-mode'.
2774 This fixes Bug#16183.
2775
2776 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2777
2778 * subr.el (set-transient-map): Fix nested case and docstring.
2779
2780 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2781
2782 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2783 `Texinfo' entry.
2784
2785 2014-01-06 Daniel Colascione <dancol@dancol.org>
2786
2787 Fix defun navigation in vc log view.
2788
2789 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2790 like `beginning-of-defun'.
2791 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2792 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2793 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2794 (log-view-extract-comment): Call `log-view-current-entry' directly
2795 instead of relying on broken `log-view-beginning-of-defun' behavior.
2796
2797 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2798
2799 Spelling fixes.
2800 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2801 * emacs-lisp/debug.el (cancel-debug-on-entry):
2802 * epg.el (epg-error-to-string):
2803 * files.el (recover-file):
2804 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2805 * mail/emacsbug.el (report-emacs-bug-hook):
2806 * mail/sendmail.el (mail-recover):
2807 * ses.el (ses-yank-resize):
2808 * term/ns-win.el (ns-print-buffer):
2809 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2810 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2811 All uses changed.
2812 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2813
2814 2014-01-06 Leo Liu <sdl.web@gmail.com>
2815
2816 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2817 to avoid shadowing global key. (Bug#16354)
2818
2819 2014-01-06 Daniel Colascione <dancol@dancol.org>
2820
2821 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2822 rst-mode.
2823
2824 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2825
2826 * window.el (balance-windows): Add mising t to fix Bug#16351.
2827
2828 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2829
2830 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2831 (bug#16285).
2832 (shr-insert): If we have a word that's longer than `shr-width',
2833 break after it anyway. Otherwise we'll do no breaking once we get
2834 such a long word.
2835
2836 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2837
2838 * net/eww.el (eww): Support single/double quote for search.
2839 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2840 (eww-history-quit): Delete and use quit-window.
2841 (eww-history-kill): Delete, because it doesn't work well and
2842 not necessary.
2843 (eww-history-mode-map): Delete some keys and add easy-menu.
2844
2845 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2846
2847 Fix misspelling of 'chinese' in rx (Bug#16237).
2848 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2849 chinese-two-byte.
2850
2851 Change subword regexps back to vars (Bug#16296).
2852 * progmodes/subword.el (subword-forward-regexp)
2853 (subword-backward-regexp): Change these back to variables.
2854
2855 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2856
2857 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2858 syntax-begin-function (bug#16247).
2859
2860 2014-01-03 Chong Yidong <cyd@gnu.org>
2861
2862 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2863 (advice--docstring): Delete variable.
2864 (advice--make-1): Leave the docstring empty.
2865 (advice-add): Use function-documentation for advised docstring.
2866
2867 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2868 Ignore function-documentation property when getting documentation.
2869 (ad-activate-advised-definition): Use function-documentation
2870 generate the docstring.
2871 (ad-make-advised-definition): Don't call
2872 ad-make-advised-definition-docstring.
2873 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2874 Delete functions.
2875
2876 * progmodes/sql.el (sql-help): Use function-documentation instead
2877 of dynamic-docstring-function property. No need to autoload now.
2878 (sql--help-docstring): New variable.
2879 (sql--make-help-docstring): Use it.
2880
2881 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2882
2883 * ielm.el (ielm-tab): Retarget.
2884 (ielm-map): Use ielm-tab for tab.
2885 (ielm-complete-filename): Use comint-filename-completion.
2886 (ielm-complete-symbol): Remove.
2887 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2888 remove ielm-tab from completion-at-point-functions (bug#16224).
2889
2890 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2891 Beware signals raised by predicates (bug#16201).
2892
2893 2014-01-02 Richard Stallman <rms@gnu.org>
2894
2895 * dired-aux.el (dired-do-print): Handle printer-name.
2896
2897 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2898 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2899 (rmail-epa-decrypt): Turn off mime processing.
2900
2901 * mail/rmail.el (rmail-make-in-reply-to-field):
2902 Add parens in message-id.
2903
2904 * mail/rmail.el (rmail-get-coding-function): Variable.
2905 (rmail-get-coding-system): Use it.
2906
2907 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2908
2909 * international/mule-conf.el: Unify the charset indian-is13194.
2910 (indian-is13194): Specify unify-map.
2911
2912 2013-12-31 Leo Liu <sdl.web@gmail.com>
2913
2914 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2915
2916 2013-12-30 Daniel Colascione <dancol@dancol.org>
2917
2918 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2919 of printing a useless when we resume from sleep.
2920
2921 * progmodes/sh-script.el
2922 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2923 in indentation code. (Bug#16233)
2924
2925 2013-12-28 João Távora <joaotavora@gmail.com>
2926
2927 * elec-pair.el (electric-pair-post-self-insert-function):
2928 Don't open extra newlines at beginning of buffer. (Bug#16272)
2929
2930 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2931
2932 * frame.el (window-system-for-display): Don't allow to create a
2933 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2934
2935 2013-12-28 Glenn Morris <rgm@gnu.org>
2936
2937 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2938 Update callers.
2939
2940 * apropos.el (apropos-match-face):
2941 * calculator.el (calculator-displayer):
2942 * dabbrev.el (dabbrev-search-these-buffers-only):
2943 * face-remap.el (buffer-face-mode-face):
2944 * simple.el (yank-handled-properties):
2945 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2946 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2947 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2948 (hashcash-double-spend-database):
2949 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2950 (ruby-deep-indent-paren-style):
2951 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2952 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2953 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2954 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2955 Specify custom types.
2956
2957 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2958 * bookmark.el (bookmark-bmenu-use-header-line):
2959 * doc-view.el (doc-view-scale-internally):
2960 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2961 * register.el (register-preview-delay):
2962 * net/shr.el (shr-bullet):
2963 * progmodes/cfengine.el (cfengine-cf-promises)
2964 (cfengine-parameters-indent):
2965 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2966 * textmodes/reftex-vars.el (reftex-label-regexps):
2967 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2968
2969 * net/tls.el (tls-certtool-program): Fix default value.
2970
2971 * desktop.el (desktop-restore-in-current-display):
2972 * newcomment.el (comment-empty-lines):
2973 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2974 (idlwave-pad-keyword):
2975 * progmodes/tcl.el (tcl-tab-always-indent):
2976 * textmodes/reftex-vars.el (reftex-index-default-tag):
2977 * elec-pair.el (electric-pair-skip-whitespace):
2978 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2979
2980 * emacs-lisp/authors.el (authors-ignored-files)
2981 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2982
2983 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2984
2985 * shell.el (shell-dynamic-complete-command): Doc fix.
2986 (shell--command-completion-data): Shell completion now matches
2987 executable filenames from the current buffer's directory, on
2988 systems in which this behavior is the default (windows-nt, ms-dos).
2989
2990 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2991
2992 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2993
2994 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2995
2996 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2997 (bug#16251).
2998
2999 * electric.el: Move all electric-pair-* to elec-pair.el.
3000 * elec-pair.el: New file, split from electric.el.
3001
3002 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3003
3004 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3005 indentation level is larger than the width, because that will
3006 infloop.
3007 (shr-insert): Fill repeatedly long texts, so that Japanese is
3008 formatted correctly (bug#16263).
3009 (shr-find-fill-point): Off by one error in comparison with the
3010 indentation.
3011
3012 2013-12-26 João Távora <joaotavora@gmail.com>
3013
3014 * electric.el (electric-pair-mode): More flexible engine for skip-
3015 and inhibit predicates, new options for pairing-related functionality.
3016 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3017 if that keeps or improves their balance in buffers.
3018 (electric-pair-delete-adjacent-pairs): Delete the pair when
3019 backspacing over adjacent matched delimiters.
3020 (electric-pair-open-extra-newline): Open extra newline when
3021 inserting newlines between adjacent matched delimiters.
3022 (electric--sort-post-self-insertion-hook):
3023 Sort post-self-insert-hook according to priority values when
3024 minor-modes are activated.
3025 * simple.el (newline-and-indent): Call newline with interactive
3026 set to t.
3027 (blink-paren-post-self-insert-function): Set priority to 100.
3028 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3029 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3030 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3031 electric-pair-open-newline-between-pairs to nil.
3032
3033 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3034
3035 * progmodes/python.el: Use lexical-binding.
3036 (python-nav-beginning-of-defun): Stop searching ASAP.
3037
3038 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3039
3040 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3041 Fix interactive spec. Doc fix. (Bug#15754)
3042
3043 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3044
3045 * emacs-lisp/byte-run.el (eval-when-compile):
3046 * progmodes/cc-defs.el (cc-eval-when-compile):
3047 Fix edebug spec (bug#16184).
3048
3049 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3050
3051 * net/shr.el (shr-visit-file): Remove debugging function.
3052 (shr-insert): Don't infloop if we can't find a good place to break
3053 the line (bug#16256).
3054
3055 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3056
3057 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
3058 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3059 python-nav-lisp-forward-sexp-safe.
3060 (python-nav--forward-sexp): New argument SAFE allows switching
3061 forward sexp movement behavior for parens.
3062 (python-nav-forward-sexp): Throw errors on unterminated parens
3063 (Bug#16191).
3064 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3065 (python-nav-backward-sexp-safe): New functions.
3066 (python-shell-buffer-substring):
3067 Use `python-nav-forward-sexp-safe'.
3068
3069 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3070
3071 * net/shr.el (shr-find-fill-point): Don't break lines before a
3072 quotation mark.
3073 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3074 (shr-find-fill-point): Remove the special checks for the quotation
3075 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3076
3077 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3078
3079 * net/eww.el (eww-form-textarea): Use a different face for
3080 textareas than text input since they have different keymaps
3081 (bug#16142).
3082
3083 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3084
3085 * progmodes/python.el (python-nav-beginning-of-statement):
3086 Speed up (Bug#15295).
3087
3088 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3089
3090 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3091 the window configuration.
3092
3093 2013-12-24 Eli Zaretskii <eliz@gnu.org>
3094
3095 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3096 we run on MS-Windows or MS-DOS.
3097
3098 2013-12-24 Martin Rudalics <rudalics@gmx.at>
3099
3100 * window.el (balance-windows-area): Call window-size instead of
3101 window-height and window-width. Bug#16241.
3102
3103 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3104
3105 * net/eww.el (eww-bookmark-quit): Remove.
3106 (eww-bookmark-browse): Restore the window configuration when you
3107 choose a bookmark (bug#16144).
3108
3109 2013-12-24 Daniel Colascione <dancol@dancol.org>
3110
3111 * icomplete.el: Remove redundant :group arguments to `defcustom'
3112 throughout.
3113 (icomplete-show-matches-on-no-input): New customizable variable.
3114 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3115 we have something to show.
3116 (icomplete-exhibit): Compute completions even if we have no user input.
3117
3118 2013-12-23 Daniel Colascione <dancol@dancol.org>
3119
3120 * icomplete.el: Move `provide' to end of file.
3121
3122 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3123
3124 * net/gnutls.el (gnutls-verify-error): Add version tag.
3125
3126 2013-12-23 Chong Yidong <cyd@gnu.org>
3127
3128 * subr.el (set-transient-map): Rename from
3129 set-temporary-overlay-map. Doc fix.
3130
3131 * face-remap.el (text-scale-adjust):
3132 * indent.el (indent-rigidly):
3133 * kmacro.el (kmacro-call-macro):
3134 * minibuffer.el (minibuffer-force-complete):
3135 * repeat.el (repeat):
3136 * simple.el (universal-argument--mode):
3137 * calendar/todo-mode.el (todo-insert-item--next-param):
3138 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3139
3140 * indent.el (indent-rigidly): Use substitute-command-keys.
3141
3142 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3143
3144 * net/eww.el (eww-tag-select): Add text-property to jump to next
3145 select field.
3146 (eww): Add non-supported ftp error.
3147
3148 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3149
3150 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3151 comments. Handle electric indent after typing `?' and `!'.
3152
3153 2013-12-22 Chong Yidong <cyd@gnu.org>
3154
3155 * faces.el (face-spec-recalc): If the theme specs are not
3156 applicable to a frame, fall back on the defface spec.
3157 This prevents themes from obliterating faces on low-color terminals.
3158
3159 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3160
3161 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3162 after `{'. We need it after block openers, and it doesn't seem
3163 to hurt after hash openers.
3164
3165 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3166
3167 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3168 extracted from `ruby-smie-rules'.
3169 (ruby--electric-indent-chars): New variable.
3170 (ruby--electric-indent-p): New function.
3171 (ruby-mode): Use `electric-indent-functions' instead of
3172 `electric-indent-chars'.
3173
3174 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3175
3176 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3177 docstring.
3178 (ruby-smie-rules): Indent plus one level after `=>'.
3179
3180 2013-12-21 Richard Stallman <rms@gnu.org>
3181
3182 * simple.el (newline): Doc fix.
3183
3184 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3185
3186 * net/eww.el (eww-list-histories, eww-list-histories)
3187 (eww-history-browse, eww-history-quit, eww-history-kill)
3188 (eww-history-mode-map, eww-history-mode): New command and
3189 functions to list browser histories.
3190 (eww-form-text): Support text form with disabled
3191 and readonly attributes.
3192 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
3193
3194 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3195
3196 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3197 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3198 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3199 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3200 Use `user-error'.
3201 (eww-bookmark-mode-map): Add menu.
3202 (eww-render, eww-mode): Use `setq-local'.
3203 (eww-tool-bar-map): New variable.
3204 (eww-mode): Set `tool-bar-map'.
3205 (eww-view-source): Check for `html-mode' with `fboundp'.
3206
3207 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3208
3209 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3210 elements with text inside. Also remove debugging.
3211
3212 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3213
3214 * cus-start.el (all): Add ns-use-srgb-colorspace.
3215
3216 2013-12-21 Chong Yidong <cyd@gnu.org>
3217
3218 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3219 undefined. Thus, theme settings for undefined faces do not take
3220 effect until the faces are defined with defface, the same as with
3221 theme variables.
3222
3223 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3224 (face-spec-reset-face): Don't assign extra properties in temacs.
3225 (face-spec-recalc): Apply X resources too.
3226
3227 2013-12-21 Chong Yidong <cyd@gnu.org>
3228
3229 * faces.el (face-spec-set):
3230 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3231 * custom.el (defface): Doc fixes (Bug#16203).
3232
3233 * indent.el (indent-rigidly-map): Add docstring, and move commands
3234 into named functions.
3235 (indent-rigidly-left, indent-rigidly-right)
3236 (indent-rigidly-left-to-tab-stop)
3237 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3238 indentation direction based on bidi direction, and accumulate
3239 sequential commands in a single undo boundary.
3240 (indent-rigidly--pop-undo): New utility function.
3241
3242 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
3243
3244 * faces.el (read-face-name): Require crm.el when using crm-separator.
3245
3246 2013-12-20 Daniel Colascione <dancol@dancol.org>
3247
3248 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3249 so that we don't reflow comments into the shebang line.
3250
3251 2013-12-20 Juri Linkov <juri@jurta.org>
3252
3253 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3254 a position when `dired-directory' is non-nil. Check integer
3255 positions with `integerp'.
3256 (toggle-save-place, save-places-to-alist): Add check for
3257 `dired-directory'.
3258 (save-place-find-file-hook): Check integer positions with
3259 `integerp'.
3260 (save-place-dired-hook): Use `dired-goto-file' when
3261 `dired-filename' is found in the assoc list. Check integer
3262 positions with `integerp'.
3263 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3264
3265 * dired.el (dired-initial-position-hook): Rename back from
3266 `dired-initial-point-hook'.
3267 (dired-initial-position): Rename `dired-initial-point-hook' to
3268 `dired-initial-position-hook'.
3269 (dired-file-name-at-point): Doc fix. (Bug#15329)
3270
3271 2013-12-20 Juri Linkov <juri@jurta.org>
3272
3273 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3274 (read-regexp-suggestions): New function.
3275 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3276 Use `read-regexp-suggestions'. Add non-empty default to history
3277 for empty input.
3278 (occur-read-regexp-defaults-function): Remove function.
3279 (occur-read-primary-args): Use `regexp-history-last' instead of
3280 `occur-read-regexp-defaults-function'.
3281
3282 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3283 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3284 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3285 `hi-lock-read-regexp-defaults-function'. Doc fix.
3286 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3287 with `find-tag-default-as-symbol-regexp'. Doc fix.
3288 (hi-lock-read-regexp-defaults): Remove function.
3289 (hi-lock-regexp-okay): Add check for null.
3290
3291 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3292 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3293
3294 * subr.el (find-tag-default-as-symbol-regexp): New function.
3295 (find-tag-default-as-regexp): Move symbol regexp formatting to
3296 `find-tag-default-as-symbol-regexp'.
3297
3298 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3299
3300 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3301 (Bug#14179)
3302
3303 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3304
3305 * calendar/todo-mode.el: New implementation of item insertion
3306 commands and key bindings.
3307 (todo-key-prompt): New face.
3308 (todo-insert-item): New command.
3309 (todo-insert-item--parameters): New defconst, replacing defvar
3310 todo-insertion-commands-args-genlist.
3311 (todo-insert-item--param-key-alist): New defconst, replacing
3312 defvar todo-insertion-commands-arg-key-list.
3313 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3314 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3315 (todo-insert-item--next-param): New functions.
3316 (todo-insert-item--args, todo-insert-item--argleft)
3317 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3318 New variables.
3319 (todo-key-bindings-t): Change binding of "i" from
3320 todo-insertion-map to todo-insert-item.
3321 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3322 (todo-insertion-command-name, todo-insertion-commands-names)
3323 (todo-define-insertion-command, todo-insertion-commands)
3324 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3325
3326 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3327
3328 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3329 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3330 eval-when-compile.
3331 (todo-move-category): Allow choosing a non-existing todo file to
3332 move the category to, and create that file.
3333 (todo-default-priority): New user option.
3334 (todo-set-item-priority): Use it.
3335 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3336 (desktop-restore-file-buffer): Declare.
3337 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3338 (todo-modes-set-2): Locally set desktop-save-buffer to
3339 todo-desktop-save-buffer.
3340 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3341 (auto-mode-alist): Add autoload cookie.
3342
3343 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3344
3345 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3346 helpers.el was a poor choice of name.
3347 (string-remove-prefix): New function.
3348 (string-remove-suffix): New function.
3349
3350 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3351
3352 Fix assignment for new window total sizes.
3353 * window.el (window--pixel-to-size): Remove function.
3354 (window--pixel-to-total-1, window--pixel-to-total):
3355 Fix calculation of new total sizes.
3356
3357 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3358
3359 * comint.el (comint-output-filter): Fix rear-nonsticky property
3360 placement (Bug#16010).
3361
3362 2013-12-20 Chong Yidong <cyd@gnu.org>
3363
3364 * faces.el (read-color): Minor fix for completion function.
3365
3366 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3367
3368 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3369 New option. (Bug#16182)
3370 (ruby-smie--indent-to-stmt-p): Use it.
3371 (ruby-smie-rules): Revert the logic in the handling of `when'.
3372 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3373 (ruby-deep-arglist, ruby-deep-indent-paren)
3374 (ruby-deep-indent-paren-style): Update docstrings to note that the
3375 vars don't have any effect with SMIE.
3376
3377 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3378
3379 * calc/calc.el (calc-enter, calc-pop): Use the variable
3380 `calc-context-sensitive-enter'.
3381
3382 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3383
3384 * net/shr.el (shr-insert): Protect against infloops in degenerate
3385 tables.
3386
3387 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3388
3389 * progmodes/octave.el (octave): Add link to manual and octave
3390 homepage.
3391 (octave-mode-menu): Link to octave-mode manual.
3392
3393 2013-12-20 Leo Liu <sdl.web@gmail.com>
3394
3395 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3396 insertion using skeleton-end-newline. (Bug#16138)
3397
3398 2013-12-20 Juri Linkov <juri@jurta.org>
3399
3400 * replace.el (occur-engine): Use `add-face-text-property'
3401 to add the face property to matches and titles. (Bug#14645)
3402
3403 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3404 the palette of other hi-lock colors.
3405 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3406
3407 2013-12-19 Juri Linkov <juri@jurta.org>
3408
3409 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3410 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3411 (minibuffer-history-symbol): Move variable declaration closer to
3412 its usage.
3413
3414 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3415 (Bug#14785)
3416
3417 2013-12-19 Juri Linkov <juri@jurta.org>
3418
3419 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3420 New function.
3421 (log-edit-hook): Add it to :options. (Bug#16170)
3422
3423 2013-12-19 Juri Linkov <juri@jurta.org>
3424
3425 * simple.el (eval-expression-print-format): Don't check for
3426 command names and the last command. Always display additional
3427 formats of the integer result in the echo area, and insert them
3428 to the current buffer only with a zero prefix arg.
3429 Display character when char-displayable-p is non-nil.
3430 (eval-expression): With a zero prefix arg, set `print-length' and
3431 `print-level' to nil, and insert the integer values from
3432 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3433
3434 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3435 `eval-last-sexp-arg-internal'. Doc fix.
3436 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3437 `eval-last-sexp-print-value'. Doc fix.
3438 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3439 Set `print-length' and `print-level' to nil when arg is zero.
3440 (eval-last-sexp): Doc fix.
3441 (eval-defun-2): Print the integer values from
3442 `eval-expression-print-format' at the end.
3443
3444 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3445 values from `eval-expression-print-format' at the end.
3446
3447 * ielm.el (ielm-eval-input): Print the integer
3448 values from `eval-expression-print-format' at the end.
3449
3450 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3451
3452 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3453 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3454
3455 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3456
3457 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3458 (hl-line-highlight, global-hl-line-highlight): Use it.
3459 (hl-line-overlay): Use defvar-local.
3460
3461 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3462
3463 * term/ns-win.el: Require dnd.
3464 (global-map): Remove drag items.
3465 (ns-insert-text, ns-set-foreground-at-mouse)
3466 (ns-set-background-at-mouse):
3467 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3468 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3469 New functions.
3470
3471 2013-12-19 Glenn Morris <rgm@gnu.org>
3472
3473 * emacs-lisp/ert.el (ert-select-tests):
3474 Fix string/symbol mixup. (Bug#16121)
3475
3476 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3477
3478 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3479 keywords to their parent.
3480
3481 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3482
3483 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3484 first arg to be a string (fixed dead code), or an operator symbol.
3485 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3486 operator symbols.
3487 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3488 did nothing. Don't respond to `(:after ".")', it will be called
3489 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3490 change anything. Only return indentation for binary operators
3491 when they are hanging. De-dent opening paren when its parent is
3492 `.', otherwise it looks bad when the dot is not at bol or eol
3493 (bug#16182).
3494
3495 2013-12-19 Juri Linkov <juri@jurta.org>
3496
3497 * replace.el (query-replace-read-args): Split a non-negative arg
3498 and a negative arg into separate elements.
3499 (query-replace, query-replace-regexp, replace-string)
3500 (replace-regexp): Add arg `backward'. Doc fix.
3501 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3502 move point to the beginning of the match.
3503 (replace-search, replace-highlight): Use new arg `backward'
3504 to set the value of `isearch-forward'.
3505 (perform-replace): Add arg `backward' and use it to perform
3506 replacement backward. (Bug#14979)
3507
3508 * isearch.el (isearch-query-replace): Use a negative prefix arg
3509 to call `perform-replace' with a non-nil arg `backward'.
3510
3511 2013-12-18 Juri Linkov <juri@jurta.org>
3512
3513 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3514 to the default list. Move `log-edit-show-files' to the end.
3515 Add more available functions to options.
3516 (log-edit): Move default specific settings to
3517 `log-edit-insert-message-template'. Don't move point.
3518 (log-edit-insert-message-template): New function.
3519 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3520 (Bug#16170)
3521
3522 2013-12-18 Juri Linkov <juri@jurta.org>
3523
3524 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3525 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3526
3527 2013-12-18 Leo Liu <sdl.web@gmail.com>
3528
3529 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3530 (Bug#16186)
3531
3532 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3533
3534 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3535 formats for displaying file sizes when the -s switch is given.
3536 Instead, compute a separate format for displaying the size in
3537 blocks, which is displayed in addition to the "regular" size.
3538 When -h is given in addition to -s, produce size in blocks in
3539 human-readable form as well. (Bug#16179)
3540
3541 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3542
3543 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3544 Reference tables with ~\ref{...} instead of only \ref{...}.
3545
3546 2013-12-18 Chong Yidong <cyd@gnu.org>
3547
3548 * cus-edit.el (custom-magic-alist): Fix "themed" description
3549 (Bug#14348).
3550
3551 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3552 is non-nil, do not create a new entry in the symbol's theme-value
3553 or theme-face property; update theme-settings only (Bug#14664).
3554 (custom-available-themes): Doc fix.
3555
3556 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3557 (Bug#15674).
3558
3559 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3560
3561 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3562
3563 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3564 (Bug#13914).
3565
3566 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3567
3568 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3569
3570 2013-12-18 Glenn Morris <rgm@gnu.org>
3571
3572 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3573 * cus-start.el (load-prefer-newer): New option.
3574
3575 2013-12-18 Le Wang <l26wang@gmail.com>
3576
3577 * comint.el (comint-previous-matching-input-from-input):
3578 Retain point (Bug#13404).
3579
3580 2013-12-18 Chong Yidong <cyd@gnu.org>
3581
3582 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3583
3584 2013-12-18 Glenn Morris <rgm@gnu.org>
3585
3586 * mail/emacsbug.el (report-emacs-bug):
3587 Only mention enable-multibyte-characters if non-standard.
3588
3589 2013-12-17 Juri Linkov <juri@jurta.org>
3590
3591 * arc-mode.el (archive-extract-by-file): Check if directory exists
3592 before deletion to not show irrelevant errors if it doesn't exist.
3593
3594 2013-12-17 Juri Linkov <juri@jurta.org>
3595
3596 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3597 (Bug#14751)
3598
3599 * net/eww.el (browse-web): Add alias to `eww'.
3600 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3601 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3602
3603 * net/browse-url.el (browse-url-browser-function): Move `eww'
3604 closer to similar functions.
3605
3606 * startup.el (fancy-startup-screen, fancy-about-screen):
3607 Set browse-url-browser-function to eww-browse-url locally.
3608 (Bug#14751)
3609
3610 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3611
3612 * window.el (window--pixel-to-total): Remove unused `mini' var.
3613 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3614 (split-window): Remove unused `new' var.
3615 (window--display-buffer): Remove unused `frame' and `delta' vars.
3616 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3617 and display-width'.
3618
3619 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3620
3621 * dired.el (dired-mark-pop-up):
3622 * register.el (register-preview): Don't bind
3623 split-height-threshold here since it's now done in
3624 display-buffer-below-selected.
3625
3626 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3627
3628 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3629 xterm-rgb-convert-to-16bit.
3630 (rxvt-register-default-colors): Standardize with
3631 xterm-register-default-colors (Bug#14078).
3632
3633 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3634
3635 * simple.el (kill-region): Pass mark first, then point, so that
3636 kill-append works right (Bug#12819).
3637 (copy-region-as-kill, kill-ring-save): Likewise.
3638
3639 2013-12-17 Leo Liu <sdl.web@gmail.com>
3640
3641 * net/rcirc.el (rcirc-add-face):
3642 * eshell/em-prompt.el (eshell-emit-prompt):
3643 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3644 (Bug#16167)
3645
3646 2013-12-17 Chong Yidong <cyd@gnu.org>
3647
3648 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3649 Suggested by Xue Fuqiao.
3650
3651 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3652
3653 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3654
3655 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3656
3657 * net/shr.el (shr-insert-document): Remove unused var
3658 `shr-preliminary-table-render'.
3659 (shr-rescale-image): Remove unused arg `force'.
3660 (shr-put-image): Update calls accordingly.
3661 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3662
3663 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3664
3665 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3666 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3667 :close-all, to see which indentation method to use (Bug#16116).
3668 (smie-rules-function): Document the method :close-all.
3669
3670 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3671
3672 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3673
3674 * net/eww.el (eww-display-html): If we can't find the anchor we're
3675 looking for, then go to point-min.
3676
3677 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3678
3679 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3680 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3681 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3682 Expand dir too, in case it's relative.
3683
3684 2013-12-16 Juri Linkov <juri@jurta.org>
3685
3686 * desktop.el (desktop-auto-save-timeout): Change default to
3687 `auto-save-timeout'. Doc fix.
3688 (desktop-save): Skip the timestamp in desktop-saved-frameset
3689 when checking for auto-save changes.
3690 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3691 `desktop-auto-save' is called repeatedly by the idle timer.
3692 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3693 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3694 (Bug#15331)
3695
3696 2013-12-16 Juri Linkov <juri@jurta.org>
3697
3698 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3699 (Bug#16035)
3700 (isearch-pre-command-hook): Check `this-command' for symbolp.
3701
3702 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3703
3704 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3705
3706 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3707
3708 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3709 (cfengine3--current-function): Bring in the current-function
3710 functionality from `cfengine3--current-word'.
3711 (cfengine3-completion-function): Bring in the
3712 bounds-of-current-word functionality from
3713 `cfengine3--current-word'.
3714
3715 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3716
3717 * window.el (display-buffer-below-selected):
3718 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3719
3720 2013-12-16 Leo Liu <sdl.web@gmail.com>
3721
3722 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3723 Remove NOMSG arg and all uses changed.
3724
3725 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3726
3727 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3728 (cua--deactivate-rectangle): Don't deactivate the mark.
3729 (cua-set-rectangle-mark): Don't set mark-active since
3730 cua--activate-rectangle already does it for us.
3731 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3732 non-rectangular region.
3733
3734 * emulation/cua-base.el (cua-repeat-replace-region):
3735 Use with-current-buffer.
3736
3737 * net/gnutls.el: Use cl-lib.
3738 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3739
3740 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3741
3742 * emacs-lisp/package.el (package-built-in-p): Support both
3743 built-in and the package.el converted package descriptions.
3744 (package-show-package-list): Allow keywords.
3745 (package-keyword-button-action): Use it instead of
3746 `finder-list-matches'.
3747 (package-menu-filter-interactive): Interactive filtering (by
3748 keyword) function.
3749 (package-menu--generate): Support keywords and change keymappings
3750 and headers when they are given.
3751 (package--has-keyword-p): Helper function.
3752 (package-menu--refresh): Use it.
3753 (package--mapc): Helper function.
3754 (package-all-keywords): Use it.
3755 (package-menu-mode-map): Set up menu items and keybindings to
3756 provide a filtering UI.
3757
3758 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3759
3760 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3761 the behavior when a certificate fails validation. Defaults to
3762 old behavior: never abort, just warn.
3763 (gnutls-negotiate): Use it.
3764
3765 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3766
3767 * window.el (display-buffer-below-selected): Never split window
3768 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3769
3770 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3771
3772 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3773 (package-buffer-info): Use it (bug#15108).
3774
3775 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3776
3777 * icomplete.el (icomplete-completions): Make sure the prefix is already
3778 displayed elsewhere before hiding it (bug#16219).
3779
3780 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3781
3782 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3783 open-paren tokens when preceded by a open-paren, too.
3784 (ruby-smie-rules): Handle virtual indentation after open-paren
3785 tokens specially. If there is code between it and eol, return the
3786 column where is starts (Bug#16118).
3787
3788 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3789
3790 * progmodes/cfengine.el: Fix `add-hook' doc.
3791 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3792 (cfengine3--current-word): Fix parameters.
3793 (cfengine3-make-syntax-cache): Simplify further.
3794 (cfengine3-completion-function, cfengine3--current-function):
3795 Use `assq' for symbols.
3796 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3797
3798 2013-12-13 Glenn Morris <rgm@gnu.org>
3799
3800 * loadup.el (load-path): Warn if site-load or site-init changes it.
3801 No more need to reset it when bootstrapping.
3802
3803 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3804
3805 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3806 locations for cf-promises.
3807 (cfengine-mode-syntax-functions-regex): New caching variable.
3808 (cfengine3-fallback-syntax): Fallback syntax for cases where
3809 cf-promises doesn't run.
3810 (cfengine3--current-word): Reimplement using
3811 `cfengine-mode-syntax-functions-regex'.
3812 (cfengine3-completion-function, cfengine3--current-function):
3813 Use `cfengine3-make-syntax-cache' directly.
3814 (cfengine3-clear-syntax-cache): New function.
3815 (cfengine3-make-syntax-cache): Simplify and create
3816 `cfengine-mode-syntax-functions-regex' on demand.
3817 (cfengine3-format-function-docstring): Don't call
3818 `cfengine3-make-syntax-cache' explicitly.
3819
3820 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3821
3822 Fix windmove-find-other-window broken after pixelwise resizing
3823 (Bug#16017).
3824 * windmove.el (windmove-other-window-loc): Revert change from
3825 2013-12-04.
3826 (windmove-find-other-window): Call window-in-direction.
3827 * window.el (window-in-direction): New arguments SIGN, WRAP and
3828 MINI to emulate original windmove-find-other-window behavior.
3829
3830 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3831
3832 * simple.el (blink-matching--overlay): New variable.
3833 (blink-matching-open): Instead of moving point, highlight the
3834 matching paren with an overlay
3835 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3836
3837 * faces.el (paren-showing-faces, show-paren-match)
3838 (show-paren-mismatch): Move from paren.el.
3839
3840 2013-12-13 Leo Liu <sdl.web@gmail.com>
3841
3842 * indent.el (indent-region): Disable progress reporter in
3843 minibuffer. (Bug#16108)
3844
3845 * bindings.el (visual-order-cursor-movement): Fix version.
3846
3847 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3848
3849 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3850 Also match after beginning of line.
3851 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3852 files. Thanks to Russell Sim. (Bug#15378)
3853
3854 2013-12-13 Juri Linkov <juri@jurta.org>
3855
3856 * simple.el <Keypad support>: Remove key bindings duplicated
3857 with bindings.el. (Bug#14397)
3858
3859 2013-12-13 Juri Linkov <juri@jurta.org>
3860
3861 * comint.el (comint-mode-map): Replace `delete-char' with
3862 `delete-forward-char'. (Bug#16109)
3863
3864 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3865
3866 * progmodes/python.el (python-indent-calculate-indentation):
3867 Fix de-denters cornercase. (Bug#15731)
3868
3869 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3870
3871 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3872 (advice--make): Pay attention to `depth'.
3873 (advice--make-1): Don't autoload commands eagerly.
3874 * emacs-lisp/elp.el (elp-instrument-function):
3875 * emacs-lisp/trace.el (trace-function-internal):
3876 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3877
3878 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3879
3880 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3881
3882 * term/w32-win.el (w32-handle-dropped-file):
3883 * startup.el (normal-top-level):
3884 * net/browse-url.el (browse-url-file-url):
3885 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3886 decode file names using 'utf-8' rather than
3887 file-name-coding-system.
3888
3889 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3890
3891 * progmodes/python.el (python-indent-context)
3892 (python-indent-calculate-indentation): Fix auto-identation
3893 behavior for comment blocks. (Bug#15916)
3894
3895 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3896
3897 * progmodes/python.el (python-indent-calculate-indentation):
3898 When determining indentation, don't treat "return", "pass", etc., as
3899 operators when they are just string constituents. (Bug#15812)
3900
3901 2013-12-12 Juri Linkov <juri@jurta.org>
3902
3903 * uniquify.el (uniquify-buffer-name-style): Change default to
3904 `post-forward-angle-brackets'.
3905
3906 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3907 `uniquify'. Change default to `post-forward-angle-brackets'.
3908
3909 2013-12-11 Glenn Morris <rgm@gnu.org>
3910
3911 * emacs-lisp/package.el (finder-list-matches):
3912 Autoload rather than falsely declaring.
3913
3914 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3915
3916 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3917 (eww-mode-map): Use them.
3918
3919 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3920
3921 * window.el (display-buffer-in-side-window): Fix doc-string
3922 (Bug#16115).
3923
3924 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3925
3926 * vc/vc-git.el: Silence byte-compiler warnings.
3927 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3928 (log-edit-set-header): Declare.
3929
3930 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3931
3932 * Makefile.in (custom-deps, finder-data): Run output file names
3933 through unmsys--file-name. (Bug#16099)
3934
3935 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3938 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3939
3940 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3941 instead of deleting the selection "by hand" (bug#16098).
3942 Rely on insert-for-yank to yank rectangles.
3943 (cua-highlight-region-shift-only): Mark obsolete.
3944 (cua-mode): Don't enable/disable transient-mark-mode,
3945 shift-select-mode (cua-mode works both with and without them), and
3946 pc-selection-mode (obsolete).
3947 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3948 (cua--deactivate-rectangle): Deactivate it.
3949
3950 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3951 (delete-selection-helper): Make sure yank starts at the top of the
3952 deleted region.
3953 (minibuffer-keyboard-quit): Use region-active-p.
3954
3955 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3956
3957 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3958 to `delete' (bug#16109).
3959
3960 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3961
3962 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3963 info manual and show keybindings and set `:group' keyword.
3964
3965 2013-12-11 Juri Linkov <juri@jurta.org>
3966
3967 * delsel.el (delete-active-region): Let-bind `this-command'
3968 to prevent `kill-region' from changing its original value.
3969 (delete-selection-helper): Handle `overwrite-mode' for the type
3970 `kill' exactly the same way as for the type `t'.
3971 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3972 Support more commands. (Bug#13312)
3973
3974 2013-12-11 Juri Linkov <juri@jurta.org>
3975
3976 * bindings.el: Map kp keys to non-kp keys systematically
3977 with basic modifiers control, meta and shift. (Bug#14397)
3978
3979 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3980
3981 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3982 "Close browser" menu items. Fix wrong function of "List
3983 bookmarks".
3984
3985 2013-12-11 Juri Linkov <juri@jurta.org>
3986
3987 * misearch.el (multi-isearch-buffers): Set the value of
3988 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3989 arg of isearch-forward to t.
3990 (multi-isearch-buffers-regexp): Set the value of
3991 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3992 arg of isearch-forward-regexp to t.
3993 (multi-isearch-files): Set the value of
3994 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3995 arg of isearch-forward to t.
3996 (multi-isearch-files-regexp): Set the value of
3997 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3998 arg of isearch-forward-regexp to t. (Bug#16035)
3999
4000 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4001 arg of isearch-forward to t.
4002 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4003 arg of isearch-forward-regexp to t.
4004 (dired-isearch-filter-filenames): Remove unnecessary check for
4005 `dired-isearch-filenames'.
4006
4007 * comint.el (comint-history-isearch-backward):
4008 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4009 (comint-history-isearch-backward-regexp):
4010 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4011
4012 2013-12-10 Eli Zaretskii <eliz@gnu.org>
4013
4014 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4015 unmsys--file-name. (Bug#16099)
4016
4017 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4018
4019 * emacs-lisp/package.el (package-keyword-button-action):
4020 Remove finder.el require dependency.
4021
4022 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4023
4024 * emacs-lisp/package.el: Require finder.el.
4025 (describe-package-1): Add keyword buttons.
4026 (package-make-button): New convenience function.
4027 (package-keyword-button-action): Keyword button action using
4028 `finder-list-matches'.
4029
4030 2013-12-09 Eli Zaretskii <eliz@gnu.org>
4031
4032 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4033 last commit.
4034
4035 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
4036
4037 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4038 symlinked files.
4039
4040 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4041
4042 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4043 after the end of a percent literal.
4044
4045 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4046
4047 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4048 Handle caret-delimited strings (Bug#16079).
4049
4050 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4051
4052 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4053 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
4054 `ruby-parse-partial' (Bug#16078).
4055
4056 2013-12-09 Leo Liu <sdl.web@gmail.com>
4057
4058 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4059
4060 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4061
4062 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4063 (js-switch-indent-offset): New option.
4064 (js--proper-indentation): Use it. And handle the case when
4065 "default" is actually a key in an object literal.
4066 (js--same-line): New function.
4067 (js--multi-line-declaration-indentation): Use it.
4068 (js--indent-in-array-comp, js--array-comp-indentation):
4069 New functions.
4070 (js--proper-indentation): Use them, to handle array comprehension
4071 continuations.
4072
4073 2013-12-08 Leo Liu <sdl.web@gmail.com>
4074
4075 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4076 (flymake-make-overlay): Remove arg MOUSE-FACE.
4077 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4078
4079 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4080
4081 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4082 New function.
4083 (redisplay-highlight-region-function): Use it.
4084
4085 * emulation/cua-base.el (cua--explicit-region-start)
4086 (cua--last-region-shifted): Remove.
4087 (cua--deactivate): Use deactivate-mark.
4088 (cua--pre-command-handler-1): Don't handle shift-selection.
4089 (cua--post-command-handler-1): Don't change transient-mark-mode.
4090 (cua--select-keymaps): Use region-active-p rather than
4091 cua--explicit-region-start or cua--last-region-shifted.
4092 (cua-mode): Enable shift-select-mode.
4093
4094 2013-12-08 Leo Liu <sdl.web@gmail.com>
4095
4096 * progmodes/flymake.el (flymake-popup-current-error-menu):
4097 Rename from flymake-display-err-menu-for-current-line. Reimplement.
4098 (flymake-posn-at-point-as-event, flymake-popup-menu)
4099 (flymake-make-emacs-menu): Remove. (Bug#16077)
4100
4101 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4102
4103 * rect.el (rectangle-mark-mode): Activate mark even if
4104 transient-mark-mode is off (bug#16066).
4105 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4106 is > mark and at bolp.
4107
4108 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4109 (region-extract-function): Use it.
4110 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4111 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4112 Delete functions.
4113 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4114 kill-ring-save, kill-region, delete-char, delete-forward-char.
4115 Ignore self-insert-iso.
4116
4117 * emulation/cua-gmrk.el (cua--init-global-mark):
4118 Ignore `self-insert-iso'.
4119
4120 * emulation/cua-base.el (cua--prefix-copy-handler)
4121 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4122 checking cua--rectangle.
4123 (cua-delete-region): Use region-extract-function.
4124 (cua-replace-region): Delete function.
4125 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4126 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4127 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4128 (cua--init-keymaps): Don't remap delete-selection commands.
4129 (cua-mode): Use delete-selection-mode instead of rolling our own
4130 (bug#16085).
4131
4132 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4133 Obey region-extract-function.
4134
4135 Make registers and delete-selection-mode work on rectangles.
4136 * register.el (describe-register-1): Don't modify the register's value.
4137 (copy-to-register): Obey region-extract-function.
4138 * delsel.el (delete-active-region): Obey region-extract-function.
4139
4140 2013-12-08 Leo Liu <sdl.web@gmail.com>
4141
4142 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4143 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4144 (flymake-compilation-prevents-syntax-check)
4145 (flymake-start-syntax-check-on-newline)
4146 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4147 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4148 (flymake-xml-program, flymake-master-file-dirs)
4149 (flymake-master-file-count-limit)
4150 (flymake-allowed-file-name-masks): Relocate.
4151 (flymake-makehash, flymake-float-time)
4152 (flymake-replace-regexp-in-string, flymake-split-string)
4153 (flymake-get-temp-dir): Remove.
4154 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4155 (flymake-current-row, flymake-selected-frame)
4156 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4157 related functions. (Bug#16077)
4158
4159 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4160
4161 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4162
4163 2013-12-07 Tassilo Horn <tsdh@gnu.org>
4164
4165 * help-fns.el (describe-function-1): Use new advice-* functions
4166 rather than old ad-* functions. Fix function type description and
4167 source links for advised functions and subrs.
4168
4169 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4170
4171 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4172
4173 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
4174
4175 * progmodes/compile.el (compilation-start):
4176 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4177
4178 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4179 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4180
4181 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4182
4183 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4184 Touch up the last change.
4185
4186 2013-12-06 Leo Liu <sdl.web@gmail.com>
4187
4188 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4189 (inferior-octave-startup): Always use "octave> " for prompt.
4190 (octave-goto-function-definition)
4191 (octave-sync-function-file-names)
4192 (octave-find-definition-default-filename): Remove redundant backquotes.
4193
4194 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4195
4196 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4197 syntax for `?'.
4198 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4199 where appropriate already.
4200 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4201 end of method names (Bug#15874).
4202
4203 2013-12-06 Juri Linkov <juri@jurta.org>
4204
4205 * isearch.el (isearch--saved-overriding-local-map):
4206 New internal variable.
4207 (isearch-mode): Set it to the initial value of
4208 `overriding-terminal-local-map'.
4209 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4210 with `isearch--saved-overriding-local-map'. (Bug#16035)
4211
4212 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4213
4214 * progmodes/octave.el (inferior-octave-completion-table):
4215 Turn back into function, use `completion-table-with-cache'
4216 (Bug#11906). Update all references.
4217
4218 * minibuffer.el (completion-table-with-cache): New function.
4219
4220 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4221
4222 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4223
4224 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4225
4226 * net/eww.el (eww-current-source): New variable to store page
4227 source.
4228 (eww-display-html, eww-mode, eww-save-history)
4229 (eww-restore-history): Use it.
4230 (eww-view-source): New command to view page source.
4231 Opportunistically uses `html-mode' to highlight the buffer.
4232 (eww-mode-map): Install it.
4233
4234 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
4235
4236 * net/dbus.el (dbus-unregister-service)
4237 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4238 Fix docstring.
4239 (dbus-unregister-service): Skip :serial entries in
4240 `dbus-registered-objects-table'.
4241 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4242
4243 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4244
4245 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4246 around keywords with extra `split-string' argument.
4247
4248 2013-12-04 Martin Rudalics <rudalics@gmx.at>
4249
4250 * windmove.el (windmove-other-window-loc): Handle navigation
4251 between windows (excluding the minibuffer window - Bug#16017).
4252
4253 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
4254
4255 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4256 in D-Bus type syntax.
4257 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4258 preserve unibyte strings. (Bug#16048)
4259
4260 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4261
4262 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4263 Call force-mode-line-update is the proper buffer (bug#16042).
4264
4265 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4266
4267 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4268 `log-edit-remember-comment', make argument optional. Adjust all
4269 callers.
4270 (log-edit-mode): Add `log-edit-remember-comment' to
4271 `kill-buffer-hook' locally.
4272 (log-edit-kill-buffer): Don't remember comment explicitly since
4273 the buffer is killed anyway.
4274
4275 2013-12-04 Juri Linkov <juri@jurta.org>
4276
4277 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4278 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4279
4280 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
4281
4282 * notifications.el (notifications-close-notification): Call the
4283 D-Bus method with ID being a `:uint32'. (Bug#16030)
4284
4285 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4286
4287 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4288
4289 2013-12-03 Juri Linkov <juri@jurta.org>
4290
4291 * progmodes/compile.el (compilation-start): Rename window alist
4292 entry `no-display-ok' to `allow-no-window'.
4293
4294 * simple.el (shell-command): Add window alist entry
4295 `allow-no-window' to `display-buffer'.
4296 (async-shell-command): Doc fix.
4297
4298 * window.el (display-buffer-no-window): New action function.
4299 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4300
4301 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4302
4303 * vc/log-edit.el (log-edit-set-header): Extract from
4304 `log-edit-toggle-header'.
4305 (log-edit-extract-headers): Separate the summary, when extracted
4306 from header, from the rest of the message with an empty line.
4307
4308 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4309 line, if present, to the Summary header.
4310
4311 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4314 in current-buffer (bug#16029).
4315
4316 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
4317
4318 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4319 (debugger-mode-map): Bind it.
4320 (debugger--backtrace-base): New function.
4321 (debugger-eval-expression): Use it.
4322 (debugger-frame-number): Skip local vars when present.
4323 (debugger--locals-visible-p, debugger--insert-locals)
4324 (debugger--show-locals, debugger--hide-locals): New functions.
4325
4326 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
4327
4328 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4329 "LC_ALL".
4330 (tramp-get-remote-locale): New defun.
4331 (tramp-open-connection-setup-interactive-shell): Use it.
4332
4333 2013-12-02 Leo Liu <sdl.web@gmail.com>
4334
4335 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4336
4337 * progmodes/sh-script.el (sh-shell-process):
4338 * progmodes/octave.el (inferior-octave-process-live-p):
4339 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4340 (gdb-inferior-io-sentinel):
4341 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4342
4343 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4344
4345 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4346 `save-selected-window' to `log-edit-hide-buf'. This makes
4347 `log-edit-show-files' idempotent.
4348 (log-edit-show-files): Mark the new window as dedicated.
4349
4350 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4351
4352 * vc/log-edit.el (log-edit-mode-map): Add binding for
4353 `log-edit-kill-biffer'.
4354 (log-edit-hide-buf): Add a FIXME comment.
4355 (log-edit-add-new-comment): New function, extracted from
4356 `log-edit-done'.
4357 (log-edit-done, log-edit-add-to-changelog): Use it.
4358 (log-edit-kill-buffer): New command.
4359
4360 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4361
4362 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4363 instead of killing the buffer.
4364
4365 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4366
4367 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4368
4369 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4370
4371 * net/eww.el (eww-form-checkbox-selected-symbol)
4372 (eww-form-checkbox-symbol): New customizable variable.
4373 (eww-form-checkbox, eww-toggle-checkbox):
4374 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4375
4376 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4377 (shr--get-media-pref, shr--extract-best-source): New function.
4378 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4379 no :src tag was specified.
4380
4381 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4382 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4383 Use \\` to match beginning of string instead of ^.
4384 (eww-browse-with-external-browser): Provide optional URL parameter.
4385 (eww-render): Set `eww-current-title' back to "".
4386
4387 * net/shr.el (shr-tag-video): Display content for video if no
4388 poster is available.
4389 (shr-tag-audio): Add support for <audio> tag.
4390
4391 * net/eww.el (eww-text-input-types): New const.
4392 (eww-process-text-input): Treat input types in
4393 `eww-text-input-types' as text.
4394
4395 * net/shr.el (shr-tag-table): Fix comment typo.
4396
4397 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4398
4399 * net/eww.el (eww-follow-link): New command to avoid reloading
4400 pages when we follow #target links (bug#15243).
4401 (eww-quit): Special mode buffers shouldn't query before exiting.
4402
4403 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4404
4405 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4406 forms.
4407
4408 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4409
4410 * net/eww.el (eww-restore-history): Update the window title after
4411 moving in the history.
4412 (eww-current-dom): New variable used to save the current DOM.
4413
4414 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4415
4416 * vc/log-edit.el (log-edit-mode-map): Add binding for
4417 `log-edit-beginning-of-line'.
4418 (log-edit-setup-add-author): New user option.
4419 (log-edit-beginning-of-line): New command.
4420 (log-edit): Move major mode call above the contents setup so that
4421 the local variable values are already applied.
4422 (log-edit): Only insert "Author: " when
4423 `log-edit-setup-add-author' is non-nil.
4424 (log-edit): When SETUP is non-nil, position point after ": "
4425 instead of point-min.
4426
4427 2013-12-01 Glenn Morris <rgm@gnu.org>
4428
4429 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4430
4431 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4432
4433 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4434 redisplay to make sure the initial frame gets a chance to become
4435 visible. (Bug#16014)
4436
4437 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4438
4439 Support resizing frames and windows pixelwise.
4440 * cus-start.el (frame-resize-pixelwise)
4441 (window-resize-pixelwise): New entries.
4442 * emacs-lisp/debug.el (debug): Use window-total-height instead
4443 of window-total-size.
4444 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4445 * help.el (describe-bindings-internal): Use help-buffer as
4446 argument for with-help-window.
4447 (temp-buffer-max-width): New option.
4448 (resize-temp-buffer-window, help-window-setup)
4449 (with-help-window): Rewrite.
4450 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4451 dragging dividers.
4452 * window.el (frame-char-size, window-min-pixel-height)
4453 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4454 (window-min-pixel-width, window-safe-min-pixel-size)
4455 (window-combination-p, window-safe-min-size)
4456 (window-resizable-p, window--size-to-pixel)
4457 (window--pixel-to-size, window--resize-apply-p): New functions.
4458 (window-safe-min-height): Fix doc-string.
4459 (window-size, window-min-size, window--min-size-1)
4460 (window-sizable, window-sizable-p, window--min-delta-1)
4461 (window-min-delta, window--max-delta-1, window-max-delta)
4462 (window--resizable, window--resizable-p, window-resizable)
4463 (window-full-height-p, window-full-width-p, window-at-side-p)
4464 (window--in-direction-2, window-in-direction)
4465 (window--resize-reset-1, window--resize-mini-window)
4466 (window-resize, window-resize-no-error)
4467 (window--resize-child-windows-normal)
4468 (window--resize-child-windows, window--resize-siblings)
4469 (window--resize-this-window, window--resize-root-window)
4470 (window--resize-root-window-vertically)
4471 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4472 (maximize-window, minimize-window, delete-window)
4473 (quit-restore-window, window-split-min-size, split-window)
4474 (balance-windows-2, balance-windows)
4475 (balance-windows-area-adjust, balance-windows-area)
4476 (window--state-get-1, window-state-get, window--state-put-1)
4477 (window--state-put-2, window-state-put)
4478 (display-buffer-record-window, window--display-buffer):
4479 Make functions handle pixelwise sizing of windows.
4480 (display-buffer--action-function-custom-type)
4481 (display-buffer-fallback-action):
4482 Add display-buffer-in-previous-window.
4483 (display-buffer-use-some-window): Resize window to height it had
4484 before.
4485 (fit-window-to-buffer-horizontally): New option.
4486 (fit-frame-to-buffer): Describe new values.
4487 (fit-frame-to-buffer-bottom-margin): Replace with
4488 fit-frame-to-buffer-margins.
4489 (window--sanitize-margin): New function.
4490 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4491 using window-text-pixel-size.
4492
4493 2013-11-30 Glenn Morris <rgm@gnu.org>
4494
4495 * emacs-lisp/bytecomp.el (byte-compile-form):
4496 Make the `interactive-only' warning like the `obsolete' one.
4497 * comint.el (comint-run):
4498 * files.el (insert-file-literally, insert-file):
4499 * replace.el (replace-string, replace-regexp):
4500 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4501 (goto-line, insert-buffer, next-line, previous-line):
4502 Tweak `interactive-only' spec.
4503
4504 Stop keeping (most) generated cedet grammar files in the repository.
4505 * Makefile.in (semantic): New.
4506 (compile-main): Depend on semantic.
4507
4508 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4509
4510 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4511 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4512
4513 * uniquify.el (uniquify-buffer-name-style): Change default.
4514
4515 * loadup.el: Preload "uniquify".
4516
4517 * time.el (display-time-update): Update all mode lines (bug#15999).
4518
4519 * electric.el (electric-indent-mode): Enable by default.
4520 * loadup.el: Preload "electric".
4521
4522 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4523
4524 * emacs-lisp/helpers.el (string-empty-p): New function.
4525 (string-blank-p): New function.
4526
4527 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4528
4529 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4530 (Bug#14029).
4531
4532 2013-11-29 Andreas Politz <politza@fh-trier.de>
4533 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4534 allow non-lambda lists as functions.
4535 (imenu--in-alist): Don't recurse into non-subalists.
4536 (imenu): Don't pass function itself as an argument (Bug#14029).
4537
4538 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4539
4540 * progmodes/python.el (python-mode-map): Remove binding for ":".
4541 (python-indent-electric-colon): Remove command.
4542 (python-indent-post-self-insert-function): Integrate the previous code
4543 of python-indent-electric-colon. Make it conditional on
4544 electric-indent-mode.
4545 (python-mode): Add ?: to electric-indent-chars.
4546 Move python-indent-post-self-insert-function to the end of
4547 post-self-insert-hook.
4548
4549 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4550
4551 * doc-view.el (doc-view-goto-page): Update mode-line.
4552
4553 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4554
4555 2013-11-27 Glenn Morris <rgm@gnu.org>
4556
4557 * international/charprop.el, international/uni-bidi.el:
4558 * international/uni-category.el, international/uni-combining.el:
4559 * international/uni-comment.el, international/uni-decimal.el:
4560 * international/uni-decomposition.el, international/uni-digit.el:
4561 * international/uni-lowercase.el, international/uni-mirrored.el:
4562 * international/uni-name.el, international/uni-numeric.el:
4563 * international/uni-old-name.el, international/uni-titlecase.el:
4564 * international/uni-uppercase.el:
4565 Remove generated files from VCS repository.
4566
4567 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4568
4569 * filenotify.el (file-notify-add-watch): Don't special-case
4570 w32notify when computing the directory to watch.
4571
4572 2013-11-27 Glenn Morris <rgm@gnu.org>
4573
4574 Make bootstrap without generated uni-*.el files possible again.
4575 * loadup.el: Update command-line-args checking for unidata-gen.
4576 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4577 * composite.el, international/characters.el:
4578 Handle unicode tables being undefined.
4579
4580 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4581 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4582 (compile-main): Depend on leim rule.
4583 (leim): New rule.
4584 * loadup.el: Move leim-list.el to leim/ subdirectory.
4585 * startup.el (normal-top-level): No more leim directory.
4586 * international/ja-dic-cnv.el (skkdic-convert):
4587 Disable version-control and autoloads in output files.
4588 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4589 Disable version-control and autoloads in output files.
4590 * leim/quail: Move here from ../leim.
4591 * leim/quail/hangul.el (hangul-input-method-activate):
4592 Add autoload cookie.
4593 (generated-autoload-load-name): Set file-local value.
4594 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4595 (generated-autoload-load-name): Set file-local value.
4596
4597 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4598
4599 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4600 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4601 (eww-quit): Ask confirmation before quitting eww.
4602
4603 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4604
4605 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4606 reading output from Diff on MS-Windows and MS-DOS.
4607
4608 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4609
4610 * emacs-lisp/helpers.el (string-reverse): New function.
4611
4612 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4613
4614 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4615 names on MS Windows, like "/[::1]:".
4616
4617 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4618 SWITCHES.
4619
4620 2013-11-26 Glenn Morris <rgm@gnu.org>
4621
4622 * progmodes/python.el (python-indent-guess-indent-offset):
4623 Avoid corner-case error. (Bug#15975)
4624
4625 Preload leim-list.el. (Bug#4789)
4626 * loadup.el: Load leim-list.el when found.
4627 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4628
4629 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4630
4631 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4632
4633 * emacs-lisp/helpers.el (string-join): New function.
4634
4635 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4636
4637 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4638 Mark as obsolete and replace it with a symbol property.
4639 (byte-compile-form): Use new 'interactive-only property.
4640 * comint.el, files.el, replace.el, simple.el:
4641 Apply new 'interactive-only properly.
4642
4643 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4644
4645 * window.el (display-buffer-at-bottom): Make sure that
4646 split-window-sensibly creates the new window on bottom
4647 (Bug#15961).
4648
4649 2013-11-23 David Kastrup <dak@gnu.org>
4650
4651 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4652 on the conflict markers when available.
4653 (smerge--get-marker): New function.
4654 (smerge-end-re, smerge-base-re): Add subgroup.
4655
4656 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4657
4658 * frame.el (handle-focus-in, handle-focus-out): Add missing
4659 interactive spec.
4660
4661 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4662
4663 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4664 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4665
4666 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4669 (gomoku--last-pos): New var.
4670 (gomoku--intangible-chars): New const.
4671 (gomoku--intangible): New function.
4672 (gomoku-mode): Use it. Derive from special-mode.
4673 (gomoku-move-up): Adjust line count.
4674 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4675 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4676 Simplify accordingly.
4677
4678 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4679 Remove blink-cursor code.
4680 (blink-cursor-timer-function, blink-cursor-suspend):
4681 Don't special-case GUIs.
4682 (blink-cursor-mode): Use focus-in/out-hook.
4683
4684 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4685
4686 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4687 work when annotation is invisible (Bug#13886).
4688
4689 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4690
4691 * json.el (json-alist-p): Only return non-nil if the alist has
4692 simple keys (Bug#13518).
4693
4694 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4695
4696 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4697 when control-statement is the first statement in a buffer (Bug#15956).
4698
4699 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4700
4701 * imenu.el (imenu-generic-skip-comments-and-strings):
4702 New option (Bug#15560).
4703 (imenu--generic-function): Use it.
4704
4705 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4706
4707 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4708 (Bug#13898)
4709
4710 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4711
4712 * emacs-lisp/helpers.el: Add some string helpers.
4713 (string-trim-left): Removes leading whitespace.
4714 (string-trim-right): Removes trailing whitespace.
4715 (string-trim): Removes leading and trailing whitespace.
4716
4717 * subr.el (string-suffix-p): New function.
4718
4719 2013-11-23 Glenn Morris <rgm@gnu.org>
4720
4721 * progmodes/python.el (python-shell-send-file):
4722 Add option to delete file when done. (Bug#15647)
4723 (python-shell-send-string, python-shell-send-region): Use it.
4724
4725 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4726
4727 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4728 to set buffer-read-only to t, never to nil. (Bug#15938)
4729
4730 * textmodes/tex-mode.el (latex-noindent-environments):
4731 Add safe-local-variable property. (Bug#15936)
4732
4733 2013-11-23 Glenn Morris <rgm@gnu.org>
4734
4735 * textmodes/enriched.el (enriched-mode): Doc fix.
4736 * emacs-lisp/authors.el (authors-renamed-files-alist):
4737 Add enriched.doc -> enriched.txt.
4738
4739 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4740
4741 2013-11-22 Leo Liu <sdl.web@gmail.com>
4742
4743 * progmodes/octave.el (inferior-octave-startup): Spit out error
4744 message.
4745
4746 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4747
4748 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4749 Improve docstring.
4750 Add :version.
4751 (ruby-encoding-magic-comment-style): Add :version.
4752
4753 2013-11-22 Leo Liu <sdl.web@gmail.com>
4754
4755 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4756 (Bug#15076)
4757 (octave-help-mode): Adapt to change to help-mode-finish to use
4758 derived-mode-p on 2013-09-17.
4759 (inferior-octave-prompt): Also match octave-gui.
4760 (octave-kill-process): Don't ask twice. (Bug#10564)
4761
4762 2013-11-22 Leo Liu <sdl.web@gmail.com>
4763
4764 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4765 (inferior-octave-startup, inferior-octave-check-process)
4766 (inferior-octave-track-window-width-change)
4767 (octave-completion-at-point, octave-eldoc-function): Use it.
4768 (octave-kill-process): Provide confirmation. (Bug#10564)
4769
4770 2013-11-21 Leo Liu <sdl.web@gmail.com>
4771
4772 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4773 Fix obsolete variable comment-use-global-state.
4774
4775 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4776
4777 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4778 Add `octave-source-file'.
4779 (octave-source-file): New function. (Bug#15935)
4780
4781 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4782
4783 * net/eww.el (eww-local-regex): New variable.
4784 (eww): Use it to detect localhost and similar.
4785
4786 2013-11-21 Leo Liu <sdl.web@gmail.com>
4787
4788 Add completion for command `ag'.
4789 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4790 (pcomplete/ag): New function.
4791 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4792
4793 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4794
4795 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4796 (bug#14646).
4797 (make-obsolete): Remove interactive spec.
4798
4799 2013-11-21 Glenn Morris <rgm@gnu.org>
4800
4801 * startup.el (command-line-1): Use path-separator with -L.
4802
4803 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4804
4805 * emacs-lisp/package.el (describe-package-1): Add package archive
4806 to shown fields.
4807
4808 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4809
4810 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4811 Change default to "# encoding: %s" to differentiate it from the
4812 default Ruby encoding comment template.
4813
4814 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4815
4816 * ses.el (ses-mode): Doc fix. (Bug#14748)
4817
4818 2013-11-20 Leo Liu <sdl.web@gmail.com>
4819
4820 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4821
4822 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4823
4824 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4825 when rebase or bisect are in progress.
4826
4827 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4828
4829 * filenotify.el (file-notify-add-watch): Doc fix.
4830
4831 2013-11-19 Leo Liu <sdl.web@gmail.com>
4832
4833 * obsolete/rcompile.el: Mark obsolete.
4834
4835 * progmodes/compile.el (compilation-start)
4836 (compilation-goto-locus, compilation-find-file):
4837 Pass no-display-ok and handle nil value from display-buffer.
4838 (Bug#13594)
4839
4840 * window.el (display-buffer-alist, display-buffer): Document the
4841 new parameter no-display-ok. Return either a window or nil
4842 but never a non-window value.
4843
4844 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4845
4846 * electric.el (electric-indent-mode-map): Remove.
4847 (electric-indent-mode): Change the global-map instead (bug#15915).
4848
4849 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4850 Use add-function.
4851
4852 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4853
4854 * emacs-lisp/nadvice.el (remove-function): Align with
4855 add-function's behavior.
4856
4857 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4858 (gdb--string-regexp): New constant.
4859 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4860 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4861 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4862 submatch 1.
4863 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4864 Adjust use accordingly.
4865 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4866
4867 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4868
4869 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4870 interpolation curlies (Bug#15914).
4871
4872 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4873
4874 * calc/calc.el (calc-context-sensitive-enter): New variable.
4875 (calc-enter): Use `calc-context-sensitive-enter'.
4876
4877 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4878
4879 * progmodes/cfengine.el: Version bump.
4880 (cfengine-cf-promises): New defcustom to locate cf-promises.
4881 (cfengine3-vartypes): Add new "data" type.
4882 (cfengine3--current-word): New function to get current name-like
4883 word or its bounds.
4884 (cfengine3--current-function): New function to look up a CFEngine
4885 function's definition.
4886 (cfengine3-format-function-docstring): New function.
4887 (cfengine3-make-syntax-cache): New function.
4888 (cfengine3-documentation-function): New function: ElDoc glue.
4889 (cfengine3-completion-function): New function: completion glue.
4890 (cfengine3-mode): Set `compile-command',
4891 `eldoc-documentation-function', and add to
4892 `completion-at-point-functions'.
4893
4894 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4895
4896 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4897 `tramp-current-connection'.
4898
4899 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4900
4901 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4902 nil/self/true/false with "end of symbol".
4903
4904 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4905
4906 * subr.el (version-regexp-alist): Fix a typo.
4907
4908 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4909
4910 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4911 "en_US.utf8" and "LC_CTYPE" to "".
4912 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4913 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4914
4915 2013-11-15 Leo Liu <sdl.web@gmail.com>
4916
4917 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4918
4919 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4920
4921 * progmodes/gud.el (ctl-x-map):
4922 Remove C-x SPC binding. (Bug#12342)
4923 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4924
4925 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4926
4927 * subr.el (version-regexp-alist):
4928 Recognize hg, svn and darcs versions as snapshot versions.
4929
4930 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4931 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4932 (ruby--encoding-comment-required-p): Extract from
4933 `ruby-mode-set-encoding'.
4934 (ruby-mode-set-encoding): Add the ability to always insert an
4935 utf-8 encoding comment. Fix and simplify coding comment update
4936 logic.
4937
4938 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4939
4940 * net/tramp-gvfs.el (top): Run init code only when
4941 `tramp-gvfs-enabled' is not nil.
4942 (tramp-gvfs-enabled): Check also :system bus.
4943
4944 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4945
4946 Sync with upstream verilog-mode revision 78e66ba.
4947 * progmodes/verilog-mode.el (verilog-end-of-defun)
4948 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4949 (verilog-get-end-of-defun): Remove unused argument.
4950 (verilog-comment-depth): Remove unused local `e'.
4951 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4952 Don't pass arg to verilog-get-end-of-defun.
4953
4954 2013-11-14 Glenn Morris <rgm@gnu.org>
4955
4956 * obsolete/assoc.el (aget): Prefix dynamic variable.
4957
4958 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4959
4960 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4961
4962 * widget.el, hfy-cmap.el: Remove bogus package version number.
4963
4964 2013-11-13 Glenn Morris <rgm@gnu.org>
4965
4966 * replace.el (replace-eval-replacement):
4967 Try to give more helpful error message. (Bug#15836)
4968
4969 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4970 (archive-7z-update): Avoid custom type mismatches.
4971
4972 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4973
4974 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4975
4976 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4977 address can be empty.
4978
4979 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4980 Accept nil SWITCHES.
4981 (tramp-gvfs-handle-write-region): Implement APPEND.
4982
4983 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4984
4985 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4986 binary "|" operator and closing block args delimiter.
4987 Remove FIXME comment referring to Ruby 1.8-only syntax.
4988 (ruby-smie--implicit-semi-p): Not after "|" operator.
4989 (ruby-smie--closing-pipe-p): New function.
4990 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4991 (ruby-smie-rules): Indent after "|".
4992
4993 2013-11-12 Glenn Morris <rgm@gnu.org>
4994
4995 * ps-print.el (ps-face-attribute-list):
4996 Handle anonymous faces. (Bug#15827)
4997
4998 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4999
5000 * window.el (display-buffer-other-frame): Fix doc-string.
5001 (Bug#15868)
5002
5003 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5006
5007 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
5008
5009 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5010 (tramp-sh-handle-file-local-copy): Don't write a message when
5011 saving temporary files.
5012
5013 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5014 both directories are remote.
5015 (tramp-smb-handle-directory-files): Do not return double entries.
5016 Do not expand full file names.
5017 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5018 (tramp-smb-handle-write-region): Implement APPEND.
5019 (tramp-smb-get-stat-capability): Fix a stupid bug.
5020
5021 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5022
5023 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5024
5025 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5026
5027 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5028 throwing error over malformed let/let* (bug#15814).
5029
5030 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5031
5032 * iswitchb.el (iswitchb-mode): Mark obsolete.
5033
5034 2013-11-11 Glenn Morris <rgm@gnu.org>
5035
5036 * international/uni-bidi.el, international/uni-category.el:
5037 * international/uni-name.el, international/uni-numeric.el:
5038 Regenerate for Unicode 6.3.0.
5039
5040 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
5041
5042 * net/tramp.el (tramp-methods):
5043 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5044 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5045
5046 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5047
5048 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5049 Force highlighting text after Summary keyword in doc face for rpm.
5050
5051 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5052
5053 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
5054 available and the word has no wildcards, append one to the grep pattern.
5055 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5056 (ispell-complete-word): Call `ispell-lookup-words' with the value
5057 independent of `ispell-look-p'.
5058
5059 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5060
5061 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5062 Not after "||".
5063 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5064 their parent.
5065
5066 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5067
5068 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5069 (ruby-font-lock-keywords): Use backquote.
5070
5071 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5072
5073 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5074 (ruby-smie--backward-token): Only consider full-string matches.
5075
5076 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5077
5078 * faces.el (describe-face): Add distant-foreground.
5079
5080 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5081
5082 * progmodes/ruby-mode.el: Improve encoding comment handling.
5083 (ruby-encoding-magic-comment-style): New option.
5084 (ruby-custom-encoding-magic-comment-template): New option.
5085 (ruby--insert-coding-comment, ruby--detect-encoding):
5086 New functions extracted from `ruby-mode-set-encoding'.
5087 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5088 to control the style of the auto-inserted encoding comment.
5089
5090 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5091
5092 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5093 Use `smie-backward-sexp' with token argument.
5094
5095 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
5096
5097 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5098 Remove instrumentation code.
5099
5100 2013-11-08 Glenn Morris <rgm@gnu.org>
5101
5102 * progmodes/autoconf.el (autoconf-mode):
5103 Tweak comment-start-skip. (Bug#15822)
5104
5105 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5106
5107 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5108 at bobp (bug#15826).
5109 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5110
5111 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
5112
5113 * man.el (Man-start-calling): New macro, extracted from
5114 Man-getpage-in-background.
5115 (Man-getpage-in-background): Use it.
5116 (Man-update-manpage): New command.
5117 (Man-mode-map): Bind it.
5118
5119 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5120
5121 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5122 of "and", "or", "&&" and "||".
5123 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5124 argument. Prohibit opening curly brace because it could only be a
5125 block opener in that position.
5126 (ruby-smie--forward-token, ruby-smie--backward-token):
5127 Separate "|" from "&" or "*" going after it. That can happen in block
5128 arguments.
5129 (ruby-smie--indent-to-stmt): New function, seeks the end of
5130 previous statement or beginning of buffer.
5131 (ruby-smie-rules): Use it.
5132 (ruby-smie-rules): Check if there's a ":" before a curly block
5133 opener candidate; if there is, it's a hash.
5134
5135 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5136
5137 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5138 (cl--block-wrapper): Fix last accidental change.
5139
5140 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
5141
5142 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5143 Instrument, in order to hunt failure on hydra.
5144
5145 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5146
5147 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5148 malformed bindings form (bug#15814).
5149
5150 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5151
5152 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5153 "." compared to " @ ". This incidentally fixes some indentation
5154 examples with "do".
5155 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5156 (ruby-smie-grammar): New tokens: "and" and "or".
5157 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5158 Exclude "and" and "or". Remove "do" in order to work around token
5159 priorities.
5160 (ruby-smie-rules): Add all infix tokens. Handle the case of
5161 beginning-of-buffer.
5162
5163 2013-11-06 Glenn Morris <rgm@gnu.org>
5164
5165 * Makefile.in (setwins_almost, setwins_for_subdirs):
5166 Avoid accidental matches.
5167
5168 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5169
5170 * menu-bar.el (popup-menu): Use key-binding.
5171
5172 2013-11-06 Eli Zaretskii <eliz@gnu.org>
5173
5174 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5175 menus, support also the menus produced by minor modes.
5176 (Bug#15817)
5177
5178 2013-11-06 Leo Liu <sdl.web@gmail.com>
5179
5180 * thingatpt.el (thing-at-point-looking-at): Add optional arg
5181 DISTANCE to bound the search. All uses changed. (Bug#15808)
5182
5183 2013-11-06 Glenn Morris <rgm@gnu.org>
5184
5185 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
5186 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5187 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
5188
5189 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * electric.el (electric-indent-just-newline): New command.
5192 (electric-indent-mode-map): New keymap.
5193 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5194 Re-add :group which weren't redundant.
5195
5196 * electric.el (electric-indent-local-mode): New minor mode.
5197 (electric-indent-functions-without-reindent): New var.
5198 (electric-indent-post-self-insert-function): Use it.
5199 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5200
5201 2013-11-05 Eli Zaretskii <eliz@gnu.org>
5202
5203 * international/quail.el (quail-help): Be more explicit about the
5204 meaning of the labels shown on the keys. (Bug#15800)
5205
5206 * startup.el (normal-top-level): Load the subdirs.el files before
5207 setting the locale environment. (Bug#15805)
5208
5209 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5210
5211 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5212 via arguments so as to get the right ones (bug#15418).
5213
5214 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5215
5216 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
5217
5218 Fix problems found while writing a test suite.
5219
5220 * net/tramp-compat.el (tramp-compat-load): New defun.
5221 * net/tramp.el (tramp-handle-load): Use it.
5222
5223 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5224 "(numberp ok-if-already-exists)" correctly.
5225
5226 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5227
5228 * international/characters.el (glyphless-char-display-control):
5229 Add usage note.
5230
5231 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5232
5233 * progmodes/python.el (python-mode):
5234 * progmodes/scheme.el (scheme-mode):
5235 * progmodes/prolog.el (prolog-mode):
5236 * progmodes/ruby-mode.el (ruby-mode):
5237 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5238 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
5239
5240 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5241
5242 * rect.el (rectangle--highlight-for-redisplay):
5243 * emacs-lisp/smie.el (smie--next-indent-change):
5244 Use buffer-chars-modified-tick.
5245
5246 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5247
5248 * electric.el (electric-indent-post-self-insert-function):
5249 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5250
5251 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
5252
5253 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5254
5255 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5256
5257 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5258 (bug#15786).
5259
5260 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5261
5262 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5263
5264 * progmodes/python.el: Fix up last change.
5265 (python-shell--save-temp-file): New function.
5266 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5267 `string' comes from the current buffer.
5268 (python-shell-send-string-no-output): Remove `msg' arg.
5269 (python--use-fake-loc): New var.
5270 (python-shell-buffer-substring): Obey it. Try to compensate for the
5271 extra coding line added by python-shell--save-temp-file.
5272 (python-shell-send-region): Use python-shell--save-temp-file and
5273 python-shell-send-file directly. Add `nomain' argument.
5274 (python-shell-send-buffer): Use python-shell-send-region.
5275 (python-electric-pair-string-delimiter): New function.
5276 (python-mode): Use it.
5277
5278 2013-11-04 Eli Zaretskii <eliz@gnu.org>
5279
5280 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5281 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5282 environment and decoding all of the default-directory's to here
5283 from command-line.
5284 (command-line): Decode also argv[0].
5285
5286 * loadup.el: Error out if default-directory is a multibyte string
5287 when we are dumping.
5288
5289 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5290
5291 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5292
5293 * emacs-lisp/package.el (package-menu-mode)
5294 (package-menu--print-info, package-menu--archive-predicate):
5295 Add Archive column to package list.
5296
5297 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
5298
5299 Fix problems found while writing a test suite.
5300
5301 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5302 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5303 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5304 to nil when running original file name handler. Otherwise,
5305 there are problems with constructs like "$$FOO".
5306
5307 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5308 for `localname'.
5309
5310 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5311
5312 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5313
5314 * subr.el (version<, version<=, version=):
5315 Update docstrings with information for snapshot versions.
5316
5317 * helpers.el: New library for misc helper functions.
5318 (hash-table-keys): New function returning a list of hash keys.
5319 (hash-table-values): New function returning a list of hash values.
5320
5321 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5322
5323 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5324 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5325
5326 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
5327
5328 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5329 checking whether point is after a 1-letter word.
5330
5331 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5332
5333 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5334 Don't infloop when expanding region over `multiline' syntax-type that
5335 begins a line (bug#15778).
5336
5337 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5338
5339 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5340 Make it into a proper minor mode.
5341 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5342 (rectangle-mark-mode-map): New keymap.
5343 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5344
5345 2013-11-04 Glenn Morris <rgm@gnu.org>
5346
5347 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5348
5349 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5350
5351 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5352 (ruby-smie-rules): Use smie-rule-parent instead.
5353
5354 * emacs-lisp/smie.el (smie-rule-parent): Always call
5355 smie-indent-virtual rather than only for hanging tokens.
5356 (smie--next-indent-change): New helper command.
5357
5358 2013-11-03 Glenn Morris <rgm@gnu.org>
5359
5360 * Makefile.in (abs_srcdir): Remove.
5361 (emacs): Unset EMACSLOADPATH.
5362
5363 2013-11-02 Glenn Morris <rgm@gnu.org>
5364
5365 * Makefile.in (EMACS): Use a relative filename.
5366 (abs_top_builddir): Remove.
5367 (custom-deps, finder-data, autoloads): Use --chdir.
5368
5369 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5370
5371 Use relative filenames in TAGS files.
5372 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5373 (lisptagsfiles4, TAGS): Use relative file names.
5374 (TAGS-LISP): Remove.
5375 (maintainer-clean): No more TAGS-LISP file.
5376
5377 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5378 (lisptagsfiles4): Use absolute filenames again.
5379 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5380 Remove all *loaddefs files, not just the first. Remove esh-groups.
5381 (maintainer-clean): Delete TAGS, TAGS-LISP.
5382
5383 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5384
5385 * emacs-lisp/package.el (package-version-join):
5386 Recognize snapshot versions.
5387
5388 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5389
5390 * subr.el (version-regexp-alist): Add support for snapshot versions.
5391
5392 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5393
5394 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5395 New function, replacement for `smie-rule-parent' for when we want to
5396 skip over our direct parent if it's an assignment token..
5397 (ruby-smie-rules): Use it.
5398
5399 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5400
5401 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5402 unconditionally. Remove now unnecessary forward declarations.
5403 Remove XEmacs-specific setup.
5404 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5405 (ruby-font-lock-syntactic-keywords)
5406 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5407 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5408 (ruby-here-doc-end-syntax): Remove.
5409 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5410 defined as function.
5411
5412 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5413
5414 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5415
5416 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5417
5418 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5419 table and abbrev table, `define-derived-mode' does that for us
5420 anyway.
5421
5422 2013-11-01 Glenn Morris <rgm@gnu.org>
5423
5424 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5425 files is atomic for some time, so no parallel compilation issues).
5426
5427 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5428
5429 * faces.el (face-x-resources): Add :distant-foreground.
5430 (region): Use :distant-foreground for gtk and ns.
5431
5432 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5433
5434 Allow multiple bibliographies when BibLaTeX is used rather than
5435 BibTeX.
5436 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5437 (reftex-locate-bibliography-files): Us it.
5438
5439 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5440
5441 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5442 allow comments in pbm files.
5443
5444 * term/w32-win.el (dynamic-library-alist): Support newer versions
5445 of libjpeg starting with v7: look only for the DLL from the
5446 version against which Emacs was built.
5447 Support versions of libpng beyond 1.4.x.
5448 Support libtiff v4.x.
5449
5450 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5451
5452 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5453 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5454 Add property :safe.
5455 (ruby-deep-arglist): Add property :type.
5456
5457 2013-10-31 Glenn Morris <rgm@gnu.org>
5458
5459 * Makefile.in (custom-deps, finder-data): No need to setq the target
5460 variables, we are in the right directory and the defaults work fine.
5461
5462 2013-10-30 Glenn Morris <rgm@gnu.org>
5463
5464 * Makefile.in (autoloads): Do not use abs_lisp.
5465
5466 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5467 `newline' does not respect `standard-output', so use `princ'.
5468
5469 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5470
5471 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5472 * buff-menu.el (Buffer-menu--unmark): New function.
5473 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5474
5475 2013-10-30 Glenn Morris <rgm@gnu.org>
5476
5477 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5478
5479 * emacs-lisp/package.el (lm-homepage): Declare.
5480
5481 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5482 Fix doc typos.
5483
5484 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5485
5486 * Makefile.in (finder-data, autoloads, update-subdirs)
5487 (compile-main, compile-clean, compile-always, bootstrap-clean):
5488 Check return value of cd.
5489 (compile-calc): Remove.
5490
5491 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5492
5493 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5494
5495 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5496 (byte-compile-and-folded): New function.
5497 (=, <, >, <=, >=): Use it.
5498
5499 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5500 (path-separator, null-device, buffer-file-coding-system)
5501 (lpr-headers-switches): Check system-type before modifying them.
5502 (find-buffer-file-type-coding-system): Mark obsolete.
5503 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5504 find-file-not-found-set-buffer-file-coding-system.
5505 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5506 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5507 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5508 (w32-direct-print-region-helper, w32-direct-print-region-function)
5509 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5510 * startup.el (normal-top-level-add-subdirs-to-load-path):
5511 * ps-print.el (ps-print-region-function):
5512 * lpr.el (print-region-function): Use new name.
5513
5514 * subr.el (custom-declare-variable-early): Remove function.
5515 (custom-declare-variable-list): Remove var.
5516 (error, user-error): Remove `while' loop.
5517 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5518 (user-emacs-directory-warning, locate-user-emacs-file):
5519 Move to files.el.
5520 * simple.el (read-quoted-char-radix, read-quoted-char):
5521 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5522 Move from subr.el.
5523 * custom.el (custom-declare-variable-list): Don't process
5524 custom-declare-variable-list.
5525
5526 * progmodes/python.el (python-shell-get-buffer): New function.
5527 (python-shell-get-process): Use it.
5528 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5529 Python which encoding was used. Don't split-string since we only care
5530 about the first line. Return the temp-file, if applicable.
5531 (python-shell-send-region): Tell compile.el how to turn locations in
5532 the temp-file into locations in the source buffer.
5533
5534 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5535
5536 * subr.el (undefined): Add missing behavior from the C code for
5537 unbound keys.
5538
5539 * rect.el: Use lexical-binding. Add new rectangular region support.
5540 (rectangle-mark): New command.
5541 (rectangle--region): New var.
5542 (deactivate-mark-hook): Reset rectangle--region.
5543 (rectangle--extract-region, rectangle--insert-for-yank)
5544 (rectangle--highlight-for-redisplay)
5545 (rectangle--unhighlight-for-redisplay): New functions.
5546 (region-extract-function, redisplay-unhighlight-region-function)
5547 (redisplay-highlight-region-function): Use them to handle
5548 rectangular region.
5549 * simple.el (region-extract-function): New var.
5550 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5551 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5552 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5553 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5554 (redisplay-unhighlight-region-function)
5555 (redisplay-highlight-region-function): New vars.
5556 (redisplay--update-region-highlight): New function.
5557 (pre-redisplay-function): Use it.
5558 (exchange-point-and-mark): Don't deactivate the mark before
5559 reactivate-it anyway.
5560 * comint.el (comint-kill-region): Remove yank-handler argument.
5561 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5562 (delete-char): Remove property, since it's now part of their
5563 default behavior.
5564 (self-insert-iso): Remove property since this command doesn't exist.
5565
5566 * emacs-lisp/package.el (package--download-one-archive)
5567 (describe-package-1): Don't query the user about final newline.
5568
5569 2013-10-29 Daniel Colascione <dancol@dancol.org>
5570
5571 * net/tramp.el (tramp-methods): Document new functionality.
5572 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5573 tramp-hostname-checker if method provides one instead of scanning
5574 argument list for "%h" to decide hostname acceptability.
5575
5576 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5577
5578 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5579 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5580 Handle COPY-CONTENTS. (Bug#15737)
5581
5582 2013-10-28 Daiki Ueno <ueno@gnu.org>
5583
5584 * epa-file.el
5585 (epa-file-cache-passphrase-for-symmetric-encryption):
5586 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5587
5588 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5589
5590 * image.el (defimage, image-load-path): Doc fixes.
5591
5592 2013-10-27 Alan Mackenzie <acm@muc.de>
5593
5594 Indent statements in macros following "##" correctly.
5595 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5596 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5597
5598 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5599
5600 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5601
5602 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5603
5604 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5605 after `=' is probably a new expression.
5606
5607 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5608
5609 * man.el (man-imenu-title): New option.
5610 (Man-mode-map): Add menu. (Bug#15722)
5611 (Man-mode): Add imenu to menu.
5612
5613 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5614
5615 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5616 specific in what the first arg can be: a non-keyword word,
5617 string/regexp/percent literal opener, opening paren, or unary
5618 operator followed directly by word.
5619
5620 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5621
5622 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5623 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5624 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5625 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5626 Remove vars, they do not apply any more.
5627 (prolog-mode-abbrev-table): Remove redundant declaration.
5628 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5629 (prolog-use-smie): Remove.
5630 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5631 supported by prolog-electric-if-then-else-flag.
5632 (prolog-mode-variables, prolog-menu): Use setq-local.
5633 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5634 Remove binding to `Backspace' since this key doesn't exist anyway.
5635 Remove bindings for electric self-inserting keys.
5636 (prog-mode): Assume it's defined.
5637 (prolog-post-self-insert): New function.
5638 (prolog-mode): Use it.
5639 (prolog-indent-line, prolog-indent-level)
5640 (prolog-find-indent-of-matching-paren)
5641 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5642 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5643 (prolog-goto-next-paren, prolog-in-string-or-comment)
5644 (prolog-tokenize, prolog-inside-mline-comment)
5645 (prolog-find-start-of-mline-comment): Remove functions.
5646 (prolog-find-unmatched-paren, prolog-clause-end)
5647 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5648 (prolog-electric--if-then-else): Rename from
5649 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5650 (prolog-tokenize-searchkey): Remove const.
5651 (prolog-clause-info): Use forward-sexp.
5652 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5653 (prolog-electric-if-then-else): Remove commands.
5654 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5655 for use in post-self-insert-hook.
5656 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5657 for use in post-self-insert-hook.
5658 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5659 for use in post-self-insert-hook.
5660 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5661 adapt it for use in post-self-insert-hook.
5662
5663 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5664
5665 * emacs-lisp/ert.el (ert-run-tests-interactively):
5666 Use `completing-read'. (Bug#9756)
5667
5668 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5669
5670 * simple.el (line-move): Call line-move-1 instead of
5671 line-move-visual when the current window hscroll is zero, but
5672 temporary-goal-column indicates we will need to hscroll as result
5673 of the movement. (Bug#15712)
5674
5675 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5676
5677 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5678 capitalization. Use :visible instead of :active.
5679 Fix `ruby-indent-exp' reference. Add menu items for the generic
5680 commands that are used with SMIE.
5681 (ruby-do-end-to-brace): Insert space after `{'.
5682
5683 2013-10-25 John Anthony <john@jo.hnanthony.com>
5684
5685 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5686
5687 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5688
5689 2013-10-25 Glenn Morris <rgm@gnu.org>
5690
5691 * vc/vc.el (vc-print-log): Don't use a working revision unless
5692 one was explicitly specified. (Bug#15322)
5693
5694 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5695
5696 * subr.el (add-to-list): Preserve return value in compiler-macro
5697 (bug#15692).
5698
5699 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5700
5701 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5702 result. Ask user to retry using '-all' flag. (Bug#15701)
5703
5704 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * emacs-lisp/smie.el: New smie-config system.
5707 (smie-config): New defcustom.
5708 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5709 (smie-config-guess, smie-config-save): New commands.
5710 (smie-config--mode-local, smie-config--buffer-local)
5711 (smie-config--trace, smie-config--modefuns): New vars.
5712 (smie-config--advice, smie-config--mode-hook)
5713 (smie-config--setter, smie-config-local, smie-config--get-trace)
5714 (smie-config--guess-value, smie-config--guess): New functions.
5715 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5716 text properties. Treat "string fence" syntax like string syntax.
5717
5718 * progmodes/sh-script.el (sh-use-smie): Change default.
5719 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5720 (sh-var-value): Simplify by CSE.
5721 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5722 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5723 is used.
5724 (sh-guess-basic-offset): Use cl-incf.
5725 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5726
5727 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5728
5729 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5730 (bug#15699).
5731
5732 2013-10-24 Glenn Morris <rgm@gnu.org>
5733
5734 * Makefile.in (abs_top_srcdir): Remove.
5735 (update-subdirs): Use relative path to update-subdirs.
5736
5737 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5738
5739 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5740 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5741 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5742 Call unmsys--file-name before expand-file-name, not after it.
5743
5744 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5745
5746 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5747 (ert-test-skipped): New error.
5748 (ert-skip, ert-stats-skipped): New defuns.
5749 (ert--skip-unless): New macro.
5750 (ert-test-skipped): New struct.
5751 (ert--run-test-debugger, ert-test-result-type-p)
5752 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5753 (ert--stats-set-test-and-result, ert-char-for-test-result)
5754 (ert-string-for-test-result, ert-run-tests-batch)
5755 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5756 Handle skipped tests. (Bug#9803)
5757
5758 2013-10-24 Glenn Morris <rgm@gnu.org>
5759
5760 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5761
5762 * Makefile.in (abs_top_srcdir): New, set by configure.
5763 (update-subdirs): Correct build-aux location.
5764
5765 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5766
5767 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5768 value, whether we could auto-deduce `backend', or not.
5769
5770 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5771 with parameters" example. Simplify the "is it block or is it
5772 hash" check, but also make it more thorough.
5773
5774 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5775
5776 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5777
5778 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5779
5780 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5781 { if it is hanging.
5782
5783 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5784 :before ";".
5785
5786 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5787
5788 * progmodes/compile.el (compilation-directory-matcher)
5789 (compilation-page-delimiter):
5790 Support GNU Make-4.0 directory quoting. (Bug#15678)
5791
5792 2013-10-23 Leo Liu <sdl.web@gmail.com>
5793
5794 * ido.el (ido-tidy): Handle read-only text.
5795
5796 2013-10-23 Glenn Morris <rgm@gnu.org>
5797
5798 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5799 (emacs, compile, compile-always):
5800 Quote entities that might contain whitespace.
5801 (custom-deps, finder-data, autoloads): Use abs_lisp.
5802 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5803 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5804 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5805
5806 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5807
5808 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5809 Use `following-char'.
5810
5811 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5812
5813 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5814 * progmodes/ruby-mode.el (ruby-smie-rules):
5815 Remove corresponding workaround. Fix indentation rule of ";" so it
5816 also applies when ";" is the parent.
5817
5818 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5819
5820 * frame.el (display-screens, display-pixel-height)
5821 (display-pixel-width, display-mm-width, display-backing-store)
5822 (display-save-under, display-planes, display-color-cells)
5823 (display-visual-class, display-monitor-attributes-list):
5824 Mention the optional ‘display’ argument in doc strings.
5825
5826 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5827
5828 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5829 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5830
5831 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5832
5833 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5834 TODO. Add "." after " @ ".
5835 (ruby-smie--at-dot-call): New function. Checks if point at method
5836 call with explicit target.
5837 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5838 to the method name tokens when it precedes them.
5839 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5840 (ruby-smie-rules): Add rule for indentation before and after "."
5841 token.
5842
5843 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5844
5845 * textmodes/remember.el (remember-diary-extract-entries):
5846 Avoid add-to-list.
5847
5848 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5849 an instruction.
5850
5851 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5852
5853 * progmodes/ruby-mode.el (ruby-smie-grammar):
5854 Add (almost) all infix operators.
5855 (ruby-smie--implicit-semi-p): Add new operator chars.
5856
5857 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5858 `smie-down-list'.
5859 (ruby-smie--args-separator-p): Check that there's no newline
5860 between method call and its arguments.
5861
5862 2013-10-20 Alan Mackenzie <acm@muc.de>
5863
5864 Allow comma separated lists after Java "implements".
5865
5866 * progmodes/cc-engine.el (c-backward-over-enum-header):
5867 Parse commas.
5868 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5869 from a "disallowed" list in enum fontification.
5870
5871 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5872
5873 * startup.el (default-frame-background-mode): Remove unused defvar.
5874
5875 * progmodes/verilog-mode.el (verilog-mode): Don't set
5876 comment-indent-function globally.
5877
5878 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5879
5880 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5881 Move Info menu item creation to ns-win.el.
5882
5883 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5884 in menu bar.
5885
5886 * menu-bar.el: Move GNUstep specific menus...
5887
5888 * term/ns-win.el (ns-initialize-window-system): ... to here.
5889
5890 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5891
5892 * simple.el (newline): Only run post-self-insert-hook when
5893 called interactively.
5894
5895 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5896
5897 * icomplete.el (icomplete-with-completion-tables): Add :version.
5898
5899 2013-10-19 Alan Mackenzie <acm@muc.de>
5900
5901 Fix fontification bugs with constructors and const.
5902
5903 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5904 CASE 2) Remove the check for the absence of a suffix construct
5905 after a function declaration with only types (no identifiers) in
5906 the parentheses. Also, accept a function declaration with just a
5907 type inside the parentheses, if this type can be positively
5908 recognised as such, or if a prefix keyword like "explicit" nails
5909 down the construct as a declaration.
5910
5911 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5912
5913 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5914 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5915 the problem whereby selecting a menu item that leads to a
5916 minibuffer prompt moves the cursor out of the minibuffer window,
5917 making it hard to type at the prompt. Suggested by Stefan Monnier
5918 <monnier@iro.umontreal.ca>.
5919
5920 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5921
5922 * menu-bar.el: Don't make Services menu.
5923
5924 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5925
5926 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5927 (ffap-alist): Use ffap-c++-mode for c++-mode.
5928 (ffap-c++-path): New variable.
5929 (ffap-c++-mode): New function.
5930
5931 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5932
5933 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5934
5935 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5936
5937 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5938 introduced on 2013-09-08, which results in an infinite loop
5939 requesting a password.
5940
5941 2013-10-18 Glenn Morris <rgm@gnu.org>
5942
5943 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5944
5945 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5946
5947 Sync with upstream verilog-mode revision 1a6ecec7.
5948 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5949 (verilog-mode-release-date): Remove.
5950 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5951 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5952 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5953 (verilog-auto-tieoff-ignore-regexp)
5954 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5955 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5956 (verilog-signals-with, verilog-dir-cache-preserving)
5957 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5958 Doc fixes.
5959 (verilog-case-fold): New option, to control case folding in
5960 regexp searches, bug597.
5961 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5962 (verilog-string-match-fold, verilog-in-paren-count)
5963 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5964 (verilog-at-close-struct-p): New functions.
5965 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5966 (verilog-forward-sexp, verilog-set-auto-endcomments)
5967 (verilog-leap-to-case-head): Handle "unique0" case.
5968 (verilog-in-constraint-re): New constant.
5969 (verilog-keywords, verilog-type-font-keywords):
5970 Add some SystemVerilog 1800-2012 keywords.
5971 (verilog-label-be): Remove unimplemented argument, bug669.
5972 (verilog-batch-execute-func): When batch expanding clear
5973 create-lockfiles to prevent spurious user locks when a file ends
5974 up not changing.
5975 (verilog-calculate-indent, verilog-calc-1)
5976 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5977 (verilog-do-indent): Fix indentation of nested constraints
5978 and structures.
5979 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5980 (verilog-auto-inst-param): Use verilog-string-match-fold.
5981 (verilog-read-inst-module-matcher):
5982 Fix AUTOINST on gate primitives with #1.
5983 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5984 Reads all user-defined typed variables.
5985 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5986 (verilog-signals-matching-regexp)
5987 (verilog-signals-not-matching-regexp, verilog-auto):
5988 Respect verilog-case-fold.
5989 (verilog-diff-report): Fix line count.
5990 (verilog-auto-assign-modport): Remove unused local `modi'.
5991 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5992 better handle multidimensional arrays.
5993 Fix packed array ports misadding bit index in AUTOINST, bug637.
5994 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5995 to not double-declare existing outputs and inputs, respectively.
5996 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5997 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5998 (verilog-sk-uvm-component): New skeleton.
5999 (verilog-submit-bug-report): Add verilog-case-fold,
6000 remove verilog-mode-release-date.
6001
6002 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6003
6004 * subr.el (sit-for): Call (input-pending-p t) so as to behave
6005 as before.
6006
6007 2013-10-18 Reuben Thomas <rrt@sc3d.org>
6008
6009 * textmodes/remember.el (remember): Set buffer-offer-save in
6010 remember buffers (bug#13566).
6011
6012 2013-10-18 Daniel Colascione <dancol@dancol.org>
6013
6014 When evaluating forms in ielm, direct standard output to ielm
6015 buffer. Add new ielm-return-for-effect command. Remove trailing
6016 whitespace throughout.
6017
6018 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6019 (ielm-return-for-effect): New command.
6020 (ielm-send-input): Accept optional `for-effect' parameter.
6021 (ielm-eval-input): Accept optional `for-effect' parameter.
6022 Bind `standard-output' to stream we create using
6023 `ielm-standard-output-impl'. Suppress printing result when
6024 `for-effect'.
6025 (ielm-standard-output-impl): New function.
6026 (inferior-emacs-lisp-mode): Explain new features in documentation.
6027
6028 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
6029
6030 Code cleanup.
6031
6032 * net/tramp.el (tramp-debug-message): Do not check for connection
6033 buffer.
6034 (tramp-message): Use "vector" connection property.
6035
6036 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6037 (tramp-equal-remote, tramp-eshell-directory-change)
6038 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6039 (tramp-adb-handle-rename-file)
6040 * net/tramp-cmds.el (tramp-list-remote-buffers)
6041 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6042 * net/tramp-compat.el (tramp-compat-process-running-p)
6043 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6044 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6045 (tramp-gvfs-handle-rename-file)
6046 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6047 (tramp-set-file-uid-gid)
6048 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6049 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6050 of `file-remote-p'.
6051
6052 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6053 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6054 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6055 (tramp-gw-open-network-stream): Suppress unrelated traces.
6056
6057 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6058 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6059 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6060 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6061 connection property.
6062
6063 * net/tramp-cache.el (top): Suppress traces when reading
6064 persistency file.
6065
6066 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6067 Refactor common code. Improve debug message.
6068 (tramp-maybe-open-connection)
6069 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6070 connection buffer too early.
6071
6072 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6073 from `tramp-smb-actions-with-acl'.
6074 (tramp-smb-actions-set-acl): New defconst.
6075 (tramp-smb-handle-copy-directory)
6076 (tramp-smb-action-get-acl): New defun, renamed from
6077 `tramp-smb-action-with-acl'.
6078 (tramp-smb-action-set-acl): New defun.
6079 (tramp-smb-handle-set-file-acl): Rewrite.
6080
6081 2013-10-17 Glenn Morris <rgm@gnu.org>
6082
6083 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6084
6085 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6086
6087 * skeleton.el (skeleton-newline): Remove.
6088 (skeleton-internal-1): Use (insert "\n") instead.
6089
6090 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6091 let-bindings.
6092
6093 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6094 forward-sexp-function while we redo its job (bug#15613).
6095
6096 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6097
6098 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6099 represented by lists.
6100
6101 2013-10-16 Glenn Morris <rgm@gnu.org>
6102
6103 * tmm.el (tmm--history): New dynamic variable.
6104 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6105
6106 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
6107
6108 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6109 (tramp-smb-errors): Add error messages.
6110 (tramp-smb-actions-with-acl): New defconst.
6111 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6112 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6113 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6114 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6115 (tramp-smb-get-stat-capability): Fix tests.
6116
6117 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6118
6119 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6120 (bug#15580).
6121
6122 2013-10-16 Glenn Morris <rgm@gnu.org>
6123
6124 * ansi-color.el (ansi-color-drop-regexp):
6125 Add 1J, 1K, 2K. (Bug#15617)
6126
6127 * files.el (hack-local-variables--warned-lexical): New.
6128 (hack-local-variables):
6129 Warn about misplaced lexical-binding. (Bug#15616)
6130
6131 * net/eww.el (eww-render): Always set eww-current-url,
6132 and update header line. (Bug#15622)
6133 (eww-display-html): ... Rather than just doing it here.
6134
6135 2013-10-15 Eli Zaretskii <eliz@gnu.org>
6136
6137 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6138 menu navigations commands.
6139
6140 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6141
6142 * progmodes/subword.el (subword-capitalize): Be careful when
6143 the search for [[:alpha:]] fails (bug#15580).
6144
6145 2013-10-14 Eli Zaretskii <eliz@gnu.org>
6146
6147 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6148 to commands that scroll the menu.
6149
6150 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6151
6152 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6153 Handle methods ending with `?' and `!'.
6154
6155 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
6156
6157 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6158 `japanese-cp932' to `cp932' to fix the problem where saving a
6159 source file written in Shift_JIS twice would end up having
6160 `coding: japanese-cp932' which Ruby could not recognize.
6161 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6162 in `ruby-encoding-map'.
6163 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6164 doesn't need to be explicitly declared in magic comment.
6165 (ruby-encoding-map): Add type declaration for better customize UI.
6166
6167 2013-10-13 Glenn Morris <rgm@gnu.org>
6168
6169 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6170 Occur buffers are read-only. http://bugs.debian.org/720775
6171
6172 * emacs-lisp/authors.el (authors-fixed-entries):
6173 Comment out old alpha stuff.
6174
6175 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6176
6177 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6178 to `after-save-hook' instead of `before-save-hook'.
6179 (ruby-mode-set-encoding): Use the value of coding system used to
6180 write the file. Call `basic-save-buffer-1' after modifying the
6181 buffer.
6182
6183 2013-10-13 Alan Mackenzie <acm@muc.de>
6184
6185 Fix indentation/fontification of Java enum with
6186 "implements"/generic.
6187
6188 * progmodes/cc-engine.el (c-backward-over-enum-header):
6189 Extracted from the three other places and enhanced to handle generics.
6190 (c-inside-bracelist-p): Uses new function above.
6191 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6192 function above.
6193 (c-font-lock-enum-tail): Uses new function above.
6194
6195 2013-10-13 Kenichi Handa <handa@gnu.org>
6196
6197 * international/mule-cmds.el (select-safe-coding-system): Remove a
6198 superfluous condition in chekcing whether a coding system is safe
6199 or not.
6200
6201 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6202
6203 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6204
6205 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
6206
6207 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6208
6209 2013-10-13 Glenn Morris <rgm@gnu.org>
6210
6211 * menu-bar.el (menu-bar-update-buffers):
6212 Unify Buffers menu prompt string. (Bug#15576)
6213
6214 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6215
6216 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6217 Add some entries.
6218 (authors-fixed-entries): Use accented form of name.
6219
6220 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
6223 method calls (bug#15594).
6224 (ruby-smie--args-separator-p): New function.
6225 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6226 recognize paren-free method calls.
6227
6228 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6229 internals of universal-argument.
6230
6231 2013-10-11 Eli Zaretskii <eliz@gnu.org>
6232
6233 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
6234 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6235 dropped menu on second mouse click on the menu bar.
6236
6237 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6239 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6240 (explicit-shell-file-name): Declare.
6241 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6242 (sh-completion-at-point-function): New function.
6243 (sh-mode): Use it.
6244 (sh-smie--keyword-p): Remove unused argument.
6245 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6246 vars.
6247 (sh-set-shell): Always setup SMIE, even if we use the
6248 old indentation code.
6249
6250 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6251
6252 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6253 cases of ? and =.
6254 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6255 predicate would return nil are almost non-existent.
6256 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6257
6258 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6259 cache also after commands that modify the buffer but don't move
6260 point.
6261
6262 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6263
6264 * env.el (substitute-env-in-file-name): New function.
6265 (substitute-env-vars): Extend the meaning of the optional arg.
6266
6267 2013-10-10 Eli Zaretskii <eliz@gnu.org>
6268
6269 * term/w32-win.el (dynamic-library-alist): Define separate lists
6270 of GIF DLLs for versions before and after 5.0.0 of giflib.
6271 (Bug#15531)
6272
6273 2013-10-10 João Távora <joaotavora@gmail.com>
6274
6275 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6276 not locked, use last revision and current source as
6277 defaults. (Bug#15569)
6278
6279 2013-10-10 Masatake YAMATO <yamato@redhat.com>
6280
6281 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6282 menu-bar is hidden.
6283
6284 2013-10-10 Martin Rudalics <rudalics@gmx.at>
6285
6286 * window.el (pop-to-buffer-same-window): Fix doc-string.
6287 (Bug#15492)
6288
6289 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6290
6291 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6292
6293 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6294
6295 * calendar/icalendar.el (icalendar-import-file):
6296 Fix interactive spec. (Bug#15482)
6297
6298 2013-10-10 Glenn Morris <rgm@gnu.org>
6299
6300 * desktop.el (desktop-save): Default to saving in .emacs.d,
6301 since PWD is no longer in desktop-path by default. (Bug#15319)
6302
6303 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6304 now that text mode has a menu with the same entry.
6305 (menu-bar-text-mode-auto-fill): Remove now unused func.
6306 * textmodes/text-mode.el (text-mode-map):
6307 Use auto-fill help text from menu-bar.el.
6308
6309 2013-10-10 John Anthony <john@jo.hnanthony.com>
6310
6311 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6312
6313 2013-10-09 Juri Linkov <juri@jurta.org>
6314
6315 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6316 instead of this-command-keys. Add universal-argument-more and
6317 universal-argument-minus to the list of prefix commands. (Bug#15568)
6318
6319 2013-10-09 Glenn Morris <rgm@gnu.org>
6320
6321 * vc/vc-svn.el (vc-svn-create-repo):
6322 Expand paths in file://... url. (Bug#15446)
6323
6324 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6325 Add some entries.
6326 (authors): Remove unused local variables.
6327
6328 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6329
6330 * profiler.el: Create a more coherent calltree from partial backtraces.
6331 (profiler-format): Hide the tail with `invisible' so that C-s can still
6332 find the hidden elements.
6333 (profiler-calltree-depth): Don't recurse so enthusiastically.
6334 (profiler-function-equal): New hash-table-test.
6335 (profiler-calltree-build-unified): New function.
6336 (profiler-calltree-build): Use it.
6337 (profiler-report-make-name-part): Indent the calltree less.
6338 (profiler-report-mode): Add visibility specs for profiler-format.
6339 (profiler-report-expand-entry, profiler-report-toggle-entry):
6340 Expand the whole subtree when provided with a prefix arg.
6341
6342 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6343
6344 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6345 iuwu-mod token.
6346 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6347 hanging iuwu-mod token.
6348 (ruby-smie--forward-token): Do not include a dot after a token in
6349 that token.
6350 (ruby-smie--backward-token): Likewise.
6351
6352 2013-10-08 Juri Linkov <juri@jurta.org>
6353
6354 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6355 to isearch-other-control-char.
6356 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6357 and isearch-post-command-hook to post-command-hook.
6358 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6359 and isearch-post-command-hook from post-command-hook.
6360 (isearch-unread-key-sequence)
6361 (isearch-reread-key-sequence-naturally)
6362 (isearch-lookup-scroll-key, isearch-other-control-char)
6363 (isearch-other-meta-char): Remove functions.
6364 (isearch-pre-command-hook, isearch-post-command-hook):
6365 New functions based on isearch-other-meta-char rewritten
6366 relying on the new behavior of overriding-terminal-local-map
6367 that does not replace the local keymaps any more. (Bug#15200)
6368
6369 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6370
6371 Support menus on text-mode terminals.
6372 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6373 functionality.
6374
6375 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6376
6377 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6378 Move here from mouse.el.
6379 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6380 and arrow keys.
6381 (tty-menu-navigation-map): New map for TTY menu navigation.
6382
6383 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6384
6385 * frame.el (display-mouse-p): Report text-mode mouse as available
6386 on w32.
6387 (display-popup-menus-p): Report availability if mouse is
6388 available; don't condition on window-system.
6389
6390 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6391 (tty-menu-selected-face): New faces.
6392
6393 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6394
6395 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6396 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6397 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6398 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6399 New constants.
6400 (lisp-mode-variables): New `elisp' argument.
6401 (emacs-lisp-mode): Use it.
6402 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6403 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6404
6405 * indent.el: Use lexical-binding.
6406 (indent-region): Add progress reporter.
6407 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6408 last step.
6409 (indent--next-tab-stop): New function to implement this behavior.
6410 (tab-to-tab-stop, move-to-tab-stop): Use it.
6411
6412 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6413
6414 * indent.el (indent-rigidly--current-indentation): New function.
6415 (indent-rigidly-map): New var.
6416 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6417
6418 2013-10-08 Bastien Guerry <bzg@gnu.org>
6419
6420 * register.el (insert-register): Fix 2013-10-07 change.
6421
6422 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6423
6424 * progmodes/perl-mode.el: Use lexical-binding.
6425 Remove redundant :group args.
6426 (perl-nochange): Change default to be closer to other major modes's
6427 standard behavior.
6428 (perl-indent-line): Don't consider text on current line as a
6429 valid beginning of function from which to indent.
6430
6431 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6432 with more than one argument (bug#15538).
6433
6434 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6435
6436 * vc/pcvs.el: Use lexical-binding.
6437 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6438 environment of `eval'.
6439 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6440 than a list of expressions. Adjust callers.
6441 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6442
6443 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6444
6445 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6446 case of the dot in a chained method call being on the following line.
6447
6448 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6449
6450 * electric.el (electric-indent-inhibit): New var.
6451 (electric-indent-post-self-insert-function): Use it.
6452 * progmodes/python.el (python-mode): Set it.
6453
6454 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6455 open braces.
6456
6457 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6458
6459 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6460 (css-mode): Use electric-indent-chars.
6461
6462 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6463 (font-lock-beg, font-lock-end): Move before first use.
6464 (nxml-mode): Use syntax-propertize-function.
6465 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6466 (nxml-extend-after-change-region): Remove.
6467 * nxml/xmltok.el: Use lexical-binding.
6468 (xmltok-save): Use `declare'.
6469 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6470 * nxml/nxml-util.el: Use lexical-binding.
6471 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6472 Use `declare'.
6473 * nxml/nxml-ns.el: Use lexical-binding.
6474 (nxml-ns-save): Use `declare'.
6475 (nxml-ns-prefixes-for): Avoid add-to-list.
6476 * nxml/rng-match.el: Use lexical-binding.
6477 (rng--ipattern): Use cl-defstruct.
6478 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6479 (rng-cons-group-after, rng-subst-group-after)
6480 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6481 Use closures instead of `(lambda...).
6482
6483 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6484
6485 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6486 of BEG and END.
6487
6488 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6489 Use `tramp-handle-insert-file-contents'.
6490 (tramp-gvfs-handle-insert-file-contents): Remove function.
6491
6492 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6493 Use `save-restriction' in order to keep markers.
6494
6495 * net/trampver.el: Update release number.
6496
6497 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6498
6499 * progmodes/compile.el (compilation-parse-errors):
6500 Use compilation--put-prop.
6501 (compilation--ensure-parse): Check compilation-multiline.
6502
6503 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6504
6505 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6506 lexical-binding.
6507
6508 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6509
6510 * progmodes/ruby-mode.el: Fix recently added tests.
6511 (ruby-smie-grammar): Add - and +.
6512 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6513 (ruby-smie--backward-id): New functions.
6514 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6515 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6516 any more.
6517
6518 2013-10-07 Leo Liu <sdl.web@gmail.com>
6519
6520 * register.el (register-preview-delay)
6521 (register-preview-functions): New variables.
6522 (register-read-with-preview, register-preview)
6523 (register-describe-oneline): New functions.
6524 (point-to-register, window-configuration-to-register)
6525 (frame-configuration-to-register, jump-to-register)
6526 (number-to-register, view-register, insert-register)
6527 (copy-to-register, append-to-register, prepend-to-register)
6528 (copy-rectangle-to-register): Use register-read-with-preview to
6529 read register. (Bug#15525)
6530
6531 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6532
6533 * net/network-stream.el (network-stream-open-starttls): Don't add
6534 --insecure if it's already present, because that gnutls-cli
6535 rejects getting that parameter twice.
6536
6537 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6538
6539 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6540 keyword, too.
6541
6542 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6543
6544 * newcomment.el (comment-use-global-state): Change default value
6545 to t, mark obsolete (Bug#15251).
6546 (comment-beginning): In addition to `comment-to-syntax', check the
6547 value of `comment-use-global-state'.
6548
6549 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6550
6551 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6552 (ruby-comment-column): Follow the global default, by default.
6553 (ruby-smie-grammar): Add assignment syntax.
6554 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6555 open-paren, a comma, or a \.
6556 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6557 and line continuations.
6558 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6559 followed by implicit semi-colons. Add rule for string concatenation
6560 and for indentation at BOB.
6561 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6562
6563 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6564 calling next-sexp, since next-token may have skipped chars which
6565 next-sexp doesn't know should be skipped!
6566
6567 2013-10-05 Leo Liu <sdl.web@gmail.com>
6568
6569 * progmodes/octave.el (octave-send-region):
6570 Call compilation-forget-errors.
6571
6572 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6573
6574 * vc/vc-svn.el (vc-svn-find-admin-dir):
6575 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6576 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6577 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6578 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6579
6580 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6583
6584 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * subr.el (read-passwd): Hide chars even when called within a context
6587 where after-change-functions is disabled (bug#15501).
6588 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6589 until we removed ourself from overriding-terminal-local-map.
6590
6591 2013-10-04 Leo Liu <sdl.web@gmail.com>
6592
6593 * progmodes/octave.el (inferior-octave-mode):
6594 Call compilation-forget-errors.
6595
6596 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6597
6598 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6599
6600 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6601
6602 * net/secrets.el (secrets-create-collection): Add optional
6603 argument ALIAS. Use proper Label keyword. Append ALIAS as
6604 dbus-call-method argument. (Bug#15516)
6605
6606 2013-10-04 Leo Liu <sdl.web@gmail.com>
6607
6608 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6609 (inferior-octave-compilation-font-lock-keywords): New variables.
6610 (compilation-error-regexp-alist)
6611 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6612 (inferior-octave-mode): Use compilation-shell-minor-mode.
6613
6614 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6615
6616 * minibuffer.el (completion--replace): Be careful that `end' might be
6617 a marker.
6618
6619 2013-10-03 Daiki Ueno <ueno@gnu.org>
6620
6621 Add support for package signature checking.
6622 * emacs-lisp/package.el (url-http-file-exists-p)
6623 (epg-make-context, epg-context-set-home-directory)
6624 (epg-verify-string, epg-context-result-for)
6625 (epg-signature-status, epg-signature-to-string)
6626 (epg-check-configuration, epg-configuration)
6627 (epg-import-keys-from-file): Declare.
6628 (package-check-signature): New user option.
6629 (package-unsigned-archives): New user option.
6630 (package-desc): Add `signed' field.
6631 (package-load-descriptor): Set `signed' field if .signed file exists.
6632 (package--archive-file-exists-p): New function.
6633 (package--check-signature): New function.
6634 (package-install-from-archive): Check package signature.
6635 (package--download-one-archive): Check archive signature.
6636 (package-delete): Remove .signed file.
6637 (package-import-keyring): New command.
6638 (package-refresh-contents): Import default keyring.
6639 (package-desc-status): Add "unsigned" status.
6640 (describe-package-1, package-menu--print-info)
6641 (package-menu-mark-delete, package-menu--find-upgrades)
6642 (package-menu--status-predicate): Support "unsigned" status.
6643
6644 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6645
6646 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6647 the new compilation scheme using the new byte-codes.
6648
6649 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6650 (byte-pophandler): New byte codes.
6651 (byte-goto-ops): Adjust accordingly.
6652 (byte-compile--use-old-handlers): New var.
6653 (byte-compile-catch): Use new byte codes depending on
6654 byte-compile--use-old-handlers.
6655 (byte-compile-condition-case--old): Rename from
6656 byte-compile-condition-case.
6657 (byte-compile-condition-case--new): New function.
6658 (byte-compile-condition-case): New function that dispatches depending
6659 on byte-compile--use-old-handlers.
6660 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6661 when we can.
6662
6663 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6664 Optimize under `condition-case' and `catch' if
6665 byte-compile--use-old-handlers is nil.
6666 (disassemble-offset): Handle new bytecodes.
6667
6668 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6669
6670 * subr.el (error): Use `declare'.
6671 (decode-char, encode-char): Use advertised-calling-convention instead
6672 of the docstring to discourage use of the `restriction' arg.
6673
6674 2013-10-03 Daiki Ueno <ueno@gnu.org>
6675
6676 * epg.el (epg-verify-file): Add a comment saying that it does not
6677 notify verification error as a return value nor a signal.
6678 (epg-verify-string): Ditto.
6679
6680 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6681
6682 * progmodes/compile.el (compilation-start): Try globbing the arg to
6683 `cd' (bug#15417).
6684
6685 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6686
6687 Sync with Tramp 2.2.8.
6688
6689 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6690 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6691 * net/trampver.el: Update release number.
6692
6693 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6694
6695 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6696 and default-process-coding-system for darwin only.
6697
6698 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6701
6702 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6703
6704 * vc/vc-git.el (vc-git-grep): Disable pager.
6705
6706 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6707
6708 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6709 Use :url instead of :homepage, as per
6710 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6711
6712 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6713 non-nil, use `syntax-ppss' (Bug#15251).
6714
6715 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6716
6717 * progmodes/octave.el (inferior-octave-startup-file):
6718 Prefer ~/.emacs.d/init_octave.m.
6719
6720 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6721
6722 * emacs-lisp/package.el (package-desc-from-define):
6723 Accept additional arguments as plist, convert them to an alist and store
6724 them in the `extras' slot.
6725 (package-generate-description-file): Convert extras alist back to
6726 plist and append to the `define-package' form arguments.
6727 (package--alist-to-plist): New function.
6728 (package--ac-desc): Add `extras' slot.
6729 (package--add-to-archive-contents): Check if the archive-contents
6730 vector is long enough, and if it is, pass its `extras' slot value
6731 to `package-desc-create'.
6732 (package-buffer-info): Call `lm-homepage', pass the returned value
6733 to `package-desc-from-define'.
6734 (describe-package-1): Render the homepage button (Bug#13291).
6735
6736 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6737 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6738
6739 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6740
6741 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6742 and default-process-coding-system to utf-8-unix (Bug#15402).
6743
6744 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6745
6746 * subr.el (looking-back): Do not recommend using looking-back.
6747
6748 2013-09-28 Alan Mackenzie <acm@muc.de>
6749
6750 Fix indentation/fontification of Java enum with "implements".
6751
6752 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6753 regexp which matches "implements", etc., in Java.
6754 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6755 specifier clauses coming after "enum".
6756 * progmodes/cc-fonts.el (c-font-lock-declarations)
6757 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6758 after "enum".
6759
6760 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6761
6762 * faces.el (region): Change ns_selection_color to
6763 ns_selection_fg_color, add ns_selection_bg_color.
6764
6765 2013-09-28 Leo Liu <sdl.web@gmail.com>
6766
6767 * progmodes/octave.el (inferior-octave-completion-table)
6768 (inferior-octave-completion-at-point): Minor tweaks.
6769
6770 * textmodes/ispell.el (ispell-lookup-words): Rename from
6771 lookup-words. (Bug#15460)
6772 (lookup-words): Obsolete.
6773 (ispell-complete-word, ispell-command-loop): All uses changed.
6774
6775 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6776
6777 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6778 (octave-mode-menu): Add octave-send-buffer.
6779 (octave-send-buffer): New function.
6780
6781 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6782
6783 * progmodes/octave.el (octave-mode-map): Add key binding for
6784 octave-lookfor.
6785 (octave-mode-menu): Add octave-lookfor.
6786 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6787 octave-lookfor.
6788 (octave-lookfor): New function.
6789
6790 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6791
6792 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6793 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6794 its convention.
6795 (cl--loop-set-iterator-function): New function.
6796 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6797 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6798 Bind `it' with `let' instead of substituting it with `cl-subst'.
6799 (cl--unused-var-p): New function.
6800 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6801 Eliminate some unused variable warnings (bug#15326).
6802
6803 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6804
6805 * doc-view.el (doc-view-scale-reset): Rename from
6806 `doc-view-reset-zoom-level'.
6807 (doc-view-scale-adjust): New command.
6808 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6809 `doc-view-scale-adjust'.
6810
6811 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6812
6813 * doc-view.el (doc-view-reset-zoom-level): New command.
6814 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6815 zoom commands (bug#15466).
6816
6817 2013-09-26 Kenichi Handa <handa@gnu.org>
6818
6819 * international/quail.el (quail-help): Make it not a command.
6820
6821 2013-09-26 Leo Liu <sdl.web@gmail.com>
6822
6823 * minibuffer.el (completion-all-sorted-completions): Make args
6824 optional as they are.
6825
6826 2013-09-25 Daniel Colascione <dancol@dancol.org>
6827
6828 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6829 specs are and that they're not evaluated.
6830
6831 2013-09-24 Sam Steingold <sds@gnu.org>
6832
6833 * midnight.el (clean-buffer-list-kill-regexps)
6834 (clean-buffer-list-kill-buffer-names): Update for the new Man
6835 buffer naming which includes the object name.
6836
6837 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6838
6839 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6840 (eshell-parse-command, eshell-parse-pipeline): Use it since
6841 eshell-separate-commands requires a dynamic scoped var.
6842 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6843
6844 2013-09-23 Leo Liu <sdl.web@gmail.com>
6845
6846 * autoinsert.el (auto-insert-alist): Make the value of
6847 lexical-binding match its file setting.
6848
6849 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6850
6851 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6852
6853 * autoarg.el (autoarg-kp-digit-argument):
6854 * electric.el (Electric-command-loop):
6855 * kmacro.el (kmacro-step-edit-insert):
6856 Do not set universal-argument-num-events.
6857
6858 2013-09-22 Leo Liu <sdl.web@gmail.com>
6859
6860 * files.el (interpreter-mode-alist): Add octave.
6861
6862 2013-09-21 Alan Mackenzie <acm@muc.de>
6863
6864 C++: fontify identifier in declaration following "public:" correctly.
6865 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6866 to match "public", etc.
6867 (c-decl-prefix-re): Add ":" into the C++ value.
6868 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6869 bit. Add a check for a ":" preceded by "public", etc.
6870
6871 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6872
6873 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6874 recognized by GDB 7.5 and later.
6875
6876 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6877
6878 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6879
6880 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * subr.el (internal--call-interactively): New const.
6883 (called-interactively-p): Use it (bug#3984).
6884
6885 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6886
6887 * vc/pcvs.el (cvs-mode-ignore):
6888 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6889 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6890
6891 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6892
6893 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6894 (eshell-ls-orig-insert-directory): Remove.
6895 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6896 (eshell-ls-use-in-dired): Use advice-add/remove.
6897 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6898 Add `orig-fun' arg for use in :around advice.
6899 Make it check (redundantly) eshell-ls-use-in-dired.
6900
6901 2013-09-19 Glenn Morris <rgm@gnu.org>
6902
6903 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6904
6905 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6906
6907 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6908
6909 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6910
6911 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6912 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6913 (tramp-get-remote-python): New defuns.
6914 (tramp-get-remote-uid-with-perl)
6915 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6916 contributed by yary <not.com@gmail.com> (tiny change).
6917 (tramp-get-remote-uid-with-python)
6918 (tramp-get-remote-gid-with-python): New defuns. Python code
6919 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6920 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6921
6922 2013-09-19 Glenn Morris <rgm@gnu.org>
6923
6924 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6925
6926 * eshell/em-unix.el (eshell-remove-entries):
6927 Rename argument to avoid name-clash with global `top-level'.
6928
6929 * eshell/esh-proc.el (eshell-kill-process-function):
6930 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6931 (eshell-reset-after-proc): Remove unused arg `proc'.
6932
6933 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6934 (directory-files-and-attributes): Mark unused arg.
6935
6936 * eshell/em-unix.el (eshell-remove-entries):
6937 Remove unused arg `path'. Update callers.
6938
6939 * eshell/em-hist.el (eshell-hist-parse-arguments):
6940 Remove unused arg `silent'. Update callers.
6941
6942 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6943 Fix (f)boundp mix-up.
6944
6945 * eshell/em-smart.el (eshell-smart-scroll-window)
6946 (eshell-disable-after-change):
6947 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6948
6949 2013-09-18 Alan Mackenzie <acm@muc.de>
6950
6951 Fix fontification of type when followed by "const".
6952 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6953 "known" types from fontification.
6954
6955 2013-09-18 Glenn Morris <rgm@gnu.org>
6956
6957 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6958 (chart-face-list): Drop Emacsen without display-color-p.
6959
6960 * net/eww.el (libxml-parse-html-region): Declare.
6961 (eww-display-html): Explicit error if no libxml2 support.
6962
6963 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6964
6965 * image.el (image-type-from-buffer, image-multi-frame-p):
6966 Remove --without-x warning/error.
6967
6968 * mouse.el (mouse-yank-primary):
6969 * term.el (term-mouse-paste):
6970 Reorder to silence --without-x compilation.
6971
6972 * mpc.el (doc-view-mode): Silence --without-x compilation.
6973
6974 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6975 Silence --without-x compilation.
6976
6977 * progmodes/gud.el (gud-find-file, gud-mode):
6978 Silence --without-x compilation.
6979 (tooltip-mode): Declare.
6980
6981 * wdired.el (dired-backup-overwrite): Remove declaration.
6982 (wdired-mode-map): Add doc string.
6983
6984 * custom.el (x-get-resource): Declare.
6985
6986 * eshell/em-glob.el (ange-cache):
6987 * eshell/em-unix.el (ange-cache): Declare.
6988
6989 * faces.el (x-display-list, x-open-connection, x-get-resource):
6990 Declare.
6991
6992 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6993 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6994 Declare.
6995
6996 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6997
6998 * net/gnutls.el (gnutls-log-level): Declare.
6999
7000 * net/shr.el (image-size, image-animate): Declare.
7001
7002 * simple.el (font-info): Declare.
7003
7004 * subr.el (x-popup-dialog): Declare.
7005
7006 * term/common-win.el (x-select-enable-primary)
7007 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7008 Declare.
7009
7010 * term/ns-win.el (x-handle-args): Declare.
7011
7012 * term/x-win.el (x-select-enable-clipboard): Declare.
7013
7014 * term/w32-win.el (create-default-fontset): Declare.
7015
7016 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7017 Declare.
7018
7019 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7020 (fit-frame-to-buffer): Explicit error if --without-x.
7021 (mouse-autoselect-window-select): Silence compiler.
7022
7023 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7024
7025 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7026 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7027 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
7028 * eshell/esh-util.el (eshell-sublist):
7029 Remove unused local variables.
7030
7031 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7032
7033 * textmodes/two-column.el: Make 2C-split work for --without-x.
7034 (scroll-bar-columns): Autoload.
7035 (top-level): Require fringe when compiling.
7036
7037 2013-09-18 Leo Liu <sdl.web@gmail.com>
7038
7039 * subr.el (add-hook): Robustify to handle closure as well.
7040
7041 2013-09-17 Glenn Morris <rgm@gnu.org>
7042
7043 * simple.el (messages-buffer-mode-map): Unbind "g".
7044
7045 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7046
7047 * help-mode.el (help-mode-finish): Use derived-mode-p.
7048 Remove obsolete highlighting.
7049
7050 * play/life.el (life-mode): Use define-derived-mode. Derive from
7051 special-mode.
7052 (life): Let-bind inhibit-read-only.
7053 (life-setup): Avoid `setq'. Use `life-mode'.
7054
7055 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7056 which should not be needed any more.
7057 (package-menu-refresh, package-menu-describe-package): Use user-error.
7058
7059 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7060 (eshell-post-rewrite-command-hook): Make obsolete.
7061 (eshell-parse-command): Simplify.
7062 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7063 (eshell--cmd): Declare.
7064 (eshell-parse-pipeline): Remove unused var `final-p'.
7065 Pass a dynvar to eshell-post-rewrite-command-hook.
7066 Implement the new eshell-post-rewrite-command-function.
7067 (eshell-invoke-directly): Remove unused arg `input'.
7068 * eshell/esh-io.el (eshell-io-initialize):
7069 Use eshell-post-rewrite-command-function (bug#15399).
7070 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7071 adjust to new calling convention.
7072 (eshell-create-handles): Rename args to avoid clashing with dynvar
7073 `standard-output'.
7074
7075 2013-09-17 Glenn Morris <rgm@gnu.org>
7076
7077 * simple.el (messages-buffer-mode): New major mode.
7078 (messages-buffer): New function.
7079 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7080 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7081 (ert-run-test): Use `messages-buffer' function.
7082 (ert--force-message-log-buffer-truncation): Ignore read-only.
7083 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7084 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7085
7086 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7087
7088 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7089
7090 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7091
7092 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7093
7094 * icomplete.el (icomplete-in-buffer): New var.
7095 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7096 vars and replace them with functions.
7097 (icomplete-minibuffer-setup): Adjust accordingly.
7098 (icomplete--completion-table, icomplete--completion-predicate)
7099 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7100 New functions.
7101 (icomplete-forward-completions, icomplete-backward-completions)
7102 (icomplete-simple-completing-p, icomplete-exhibit)
7103 (icomplete-completions): Use them.
7104 (icomplete--in-region-buffer): New var.
7105 (icomplete--in-region-setup): New function.
7106 (icomplete-mode): Use it.
7107
7108 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7109 (bug#15379).
7110 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7111 return args and options.
7112 (eshell-eval-using-options): Use the new return value of
7113 eshell--do-opts to set the options's vars in their scope.
7114 (eshell--set-option): Rename from eshell-set-option.
7115 Add arg `opt-vals'.
7116 (eshell--process-option): Rename from eshell-process-option.
7117 Add arg `opt-vals'.
7118 (eshell--process-args): Use an `opt-vals' alist to store the options's
7119 values during their processing and return them additionally to the
7120 remaining args.
7121
7122 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7123
7124 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7125 continuation character an operator, as far as indentation is
7126 concerned (Bug#15369).
7127
7128 2013-09-15 Martin Rudalics <rudalics@gmx.at>
7129
7130 * window.el (window--state-put-2): Don't process buffer state
7131 when buffer doesn't exist any more (Bug#15382).
7132
7133 2013-09-15 Glenn Morris <rgm@gnu.org>
7134
7135 * eshell/em-unix.el (eshell/rm):
7136 Make -f ignore missing files. (Bug#15373)
7137
7138 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7139 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7140 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7141
7142 2013-09-14 Glenn Morris <rgm@gnu.org>
7143
7144 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7145
7146 2013-09-13 Glenn Morris <rgm@gnu.org>
7147
7148 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7149 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7150
7151 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7152
7153 * frame.el (x-focus-frame): Mark as declared in frame.c.
7154
7155 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7156
7157 * ls-lisp.el: Use advice-add.
7158 (original-insert-directory): Remove.
7159 (ls-lisp--insert-directory): Rename from insert-directory; add
7160 `orig-fun' argument.
7161 (insert-directory): Advise.
7162
7163 2013-09-13 Eli Zaretskii <eliz@gnu.org>
7164
7165 * term.el (term-emulate-terminal): Decode the command string
7166 before passing it to term-command-hook. (Bug#15337)
7167
7168 2013-09-13 Glenn Morris <rgm@gnu.org>
7169
7170 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7171
7172 * eshell/esh-ext.el (eshell-search-path): Declare.
7173
7174 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7175 Otherwise an error occurs if eshell-dirs module not loaded.
7176
7177 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7178
7179 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
7180
7181 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7182 `tramp-check-proper-host'. Check for a valid method name.
7183
7184 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7185 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7186 * net/tramp-sh.el (tramp-maybe-open-connection):
7187 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7188
7189 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7190 also for hash values.
7191
7192 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7193
7194 * term/ns-win.el (parameters): Don't declare as dynamic.
7195 (before-make-frame-hook): Don't add ineffective function.
7196
7197 * eshell/*.el: Use lexical-binding (bug#15231).
7198
7199 2013-09-12 Kenichi Handa <handa@gnu.org>
7200
7201 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
7202
7203 2013-09-12 Glenn Morris <rgm@gnu.org>
7204
7205 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
7206 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
7207
7208 * subr.el (do-after-load-evaluation): Also give compiler warnings
7209 when obsolete files are used (except by obsolete files).
7210
7211 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7212 in the status output, assume `filename' is the first. (Bug#15322)
7213
7214 * vc/vc.el (vc-deduce-fileset): Doc fix.
7215
7216 * calc/calc-help.el (Info-goto-node):
7217 * progmodes/cperl-mode.el (Info-find-node):
7218 * vc/ediff.el (Info-goto-node): Update declarations.
7219
7220 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7221
7222 * vc/vc-bzr.el (vc-compilation-mode): Declare.
7223 (vc-bzr-pull): Require vc-dispatcher.
7224 * vc/vc-git.el (vc-compilation-mode): Declare.
7225 (vc-git-pull): Require vc-dispatcher.
7226
7227 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7228
7229 * progmodes/octave.el (help-button-action): Declare.
7230
7231 * shell.el (shell-directory-tracker): Output error as a message
7232 rather than just returning it as a string.
7233 (shell-process-pushd): Remove useless use of message.
7234
7235 * dframe.el (dframe-timer-fn):
7236 * files.el (dir-locals-read-from-file):
7237 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7238 (mpc-format):
7239 * reveal.el (reveal-post-command):
7240 * saveplace.el (load-save-place-alist-from-file):
7241 * shell.el (shell-resync-dirs):
7242 * w32-common-fns.el (x-get-selection-value):
7243 * emacs-lisp/copyright.el (copyright-find-copyright):
7244 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7245 * emulation/tpu-edt.el (tpu-copy-keyfile):
7246 * play/bubbles.el (bubbles--mark-neighbourhood):
7247 * progmodes/executable.el
7248 (executable-make-buffer-file-executable-if-script-p):
7249 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7250
7251 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7252
7253 Cleanup Eshell to rely less on dynamic scoping.
7254 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7255 last-value, and ext-command here. Bind `args' closer to `body'.
7256 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7257 (eshell--args): Declare new dynamic var.
7258 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7259 last-value, and ext-command. Pass `args' to `body'.
7260 (eshell-process-args): Bind eshell--args.
7261 (eshell-set-option): Use eshell--args.
7262 * eshell/eshell.el (eshell): Use derived-mode-p.
7263 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7264 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7265 (eshell-glob-function): Declare.
7266 * eshell/esh-util.el: Require cl-lib.
7267 (eshell-read-hosts-file): Avoid add-to-list.
7268 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7269 `err'.
7270 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7271 Declare.
7272 (eshell/diff): Remove unused var `err'.
7273 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7274 `killflag'.
7275 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7276 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7277 first use.
7278 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7279 Move declaration before first use.
7280 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
7281 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7282 rely on cl-return.
7283
7284 2013-09-12 Glenn Morris <rgm@gnu.org>
7285
7286 * term/ns-win.el (global-map): Remove binding for ispell-next,
7287 deleted 1999-05-29. (Bug#15357)
7288
7289 2013-09-11 Glenn Morris <rgm@gnu.org>
7290
7291 * echistory.el (electric-command-history): Remove call to deleted func.
7292
7293 * play/landmark.el (landmark-mode): Fix typos.
7294
7295 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7296 Check cvs-sort-ignore-file is bound.
7297
7298 * savehist.el: No need for cl when compiling on Emacs.
7299
7300 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7303 (bug#15338).
7304 (eshell-self-insert-command, eshell-send-invisible):
7305 Remove unused argument.
7306 (eshell-handle-control-codes): Remove unused var `orig'.
7307 Avoid delete-backward-char.
7308
7309 * files.el (set-auto-mode): Simplify a bit further.
7310
7311 2013-09-11 Glenn Morris <rgm@gnu.org>
7312
7313 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7314 (set-auto-mode): Don't regexp-quote elements.
7315 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7316 * progmodes/cc-mode.el (interpreter-mode-alist):
7317 * progmodes/ruby-mode.el (interpreter-mode-alist):
7318 Revert previous change.
7319
7320 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * play/snake.el (snake-mode):
7323 * play/mpuz.el (mpuz-mode):
7324 * play/landmark.el (lm-mode):
7325 * play/blackbox.el (blackbox-mode):
7326 * play/5x5.el (5x5-mode):
7327 * obsolete/options.el (Edit-options-mode):
7328 * net/quickurl.el (quickurl-list-mode):
7329 * net/newst-treeview.el (newsticker-treeview-mode):
7330 * mail/rmailsum.el (rmail-summary-mode):
7331 * mail/mspools.el (mspools-mode):
7332 * locate.el (locate-mode):
7333 * ibuffer.el (ibuffer-mode):
7334 * emulation/ws-mode.el (wordstar-mode):
7335 * emacs-lisp/debug.el (debugger-mode):
7336 * array.el (array-mode):
7337 * net/eudc.el (eudc-mode): Use define-derived-mode.
7338 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7339 Move initialization into declaration.
7340 (mairix-searches-mode): Use define-derived-mode.
7341 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7342 (eudc-edit-hotlist): Use dolist.
7343 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7344 (Man-mode): Use define-derived-mode.
7345 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7346 (Info-edit-mode): Use define-derived-mode.
7347 (Info-cease-edit): Use Info-mode.
7348 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7349 into declaration.
7350 (eshell-mode): Use define-derived-mode.
7351 * chistory.el (command-history-mode-map): Rename from
7352 command-history-map.
7353 (command-history-mode): Use define-derived-mode.
7354 (Command-history-setup): Remove function.
7355 * calc/calc.el (calc-trail-mode-map): New var.
7356 (calc-trail-mode): Use define-derived-mode.
7357 (calc-trail-buffer): Set calc-main-buffer manually.
7358 * bookmark.el (bookmark-insert-annotation): New function.
7359 (bookmark-edit-annotation): Use it.
7360 (bookmark-edit-annotation-mode): Make it a proper major mode.
7361 (bookmark-send-edited-annotation): Use derived-mode-p.
7362 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7363 closer to its ideal place. Use \' to match EOS.
7364
7365 * profiler.el (profiler-calltree-find): Use function-equal.
7366
7367 2013-09-10 Glenn Morris <rgm@gnu.org>
7368
7369 * files.el (interpreter-mode-alist): Convert to regexps.
7370 (set-auto-mode): Adapt for this. (Bug#15306)
7371 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7372 Comment out unused variable.
7373 * progmodes/cc-mode.el (interpreter-mode-alist):
7374 * progmodes/python.el (interpreter-mode-alist):
7375 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7376 * progmodes/sh-script.el (sh-set-shell):
7377 No longer use interpreter-mode-alist to get list of shells.
7378
7379 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7380
7381 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7382
7383 * simple.el: Use set-temporary-overlay-map for universal-argument.
7384 (universal-argument-map): Don't use default-bindings (bug#15317).
7385 Bind switch-frame explicitly. Replace universal-argument-minus with
7386 a conditional binding.
7387 (universal-argument-num-events, saved-overriding-map): Remove.
7388 (restore-overriding-map): Remove.
7389 (universal-argument--mode): Rename from save&set-overriding-map,
7390 and rewrite.
7391 (universal-argument, universal-argument-more, negative-argument)
7392 (digit-argument): Adjust accordingly.
7393 (universal-argument-minus): Remove.
7394 (universal-argument-other-key): Remove.
7395
7396 * subr.el (with-demoted-errors): Add `format' argument.
7397
7398 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7399
7400 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7401 `tramp-cleanup-connection'.
7402
7403 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7404 parameters KEEP-DEBUG and KEEP-PASSWORD.
7405
7406 * net/tramp.el (tramp-file-name-handler):
7407 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7408 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7409 (tramp-maybe-open-connection):
7410 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7411 Use `tramp-cleanup-connection'.
7412
7413 * net/tramp-sh.el (tramp-maybe-open-connection):
7414 Catch 'uname-changed inside the progress reporter.
7415
7416 2013-09-10 Glenn Morris <rgm@gnu.org>
7417
7418 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7419
7420 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7421 returns "alternate access method" in mode (eg "-rw-r--r--.").
7422
7423 2013-09-08 Glenn Morris <rgm@gnu.org>
7424
7425 * saveplace.el (load-save-place-alist-from-file):
7426 Demote errors. (Bug#15305)
7427
7428 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7429
7430 Improve compatibility with older Emacsen, and XEmacs.
7431
7432 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7433 only if it is bound. It isn't for XEmacs.
7434 (with-tramp-progress-reporter): Do not let-bind `result'.
7435 This yields to scoping errors in XEmacs.
7436 (tramp-handle-make-auto-save-file-name): New function, moved from
7437 tramp-sh.el.
7438
7439 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7440 for `make-auto-save-file-name'.
7441 (tramp-adb--gnu-switches-to-ash):
7442 Use `tramp-compat-replace-regexp-in-string'.
7443
7444 * net/tramp-cache.el (tramp-cache-print): Call
7445 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7446
7447 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7448 bound. It isn't for XEmacs.
7449
7450 * net/tramp-compat.el (tramp-compat-copy-file):
7451 Catch `wrong-number-of-arguments' error.
7452 (tramp-compat-replace-regexp-in-string): New defun.
7453
7454 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7455 for `make-auto-save-file-name'.
7456 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7457 `copy-file'.
7458 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7459 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7460 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7461
7462 * net/tramp-gw.el (tramp-gw-open-network-stream):
7463 Use `tramp-compat-replace-regexp-in-string'.
7464
7465 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7466 Call `tramp-handle-make-auto-save-file-name'.
7467 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7468 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7469 (tramp-sh-file-inotifywait-process-filter):
7470 Use `tramp-compat-replace-regexp-in-string'.
7471 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7472
7473 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7474 for `make-auto-save-file-name'.
7475 (tramp-smb-handle-copy-directory):
7476 Call `tramp-compat-replace-regexp-in-string'.
7477 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7478 (tramp-smb-handle-copy-file): Improve error message.
7479 (tramp-smb-handle-rename-file): Rename directly only in case
7480 `newname' does not exist yet. This is a restriction of smbclient.
7481 (tramp-smb-maybe-open-connection): Rerun the function only when
7482 `auth-sources' is non-nil.
7483
7484 2013-09-08 Kenichi Handa <handa@gnu.org>
7485
7486 * international/characters.el: Set category "^" (Combining) for
7487 more characters.
7488
7489 2013-09-07 Alan Mackenzie <acm@muc.de>
7490
7491 Correctly fontify Java class constructors.
7492 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7493 in Java Mode.
7494 (c-recognize-typeless-decls): Set the Java value to t.
7495 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7496 While handling a "(", add a check for, effectively, Java, and handle a
7497 "typeless" declaration there.
7498
7499 2013-09-07 Roland Winkler <winkler@gnu.org>
7500
7501 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7502 field subtitle for entry type book.
7503
7504 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7505
7506 * minibuffer.el: Make minibuffer-complete call completion-in-region
7507 rather than other way around.
7508 (completion--some, completion-pcm--find-all-completions):
7509 Don't delay signals when debugging.
7510 (minibuffer-completion-contents): Beware fields within the
7511 minibuffer contents.
7512 (completion-all-sorted-completions): Use defvar-local.
7513 (completion--do-completion, completion--cache-all-sorted-completions)
7514 (completion-all-sorted-completions, minibuffer-force-complete):
7515 Add args `beg' and `end'.
7516 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7517 (minibuffer-complete): Use completion-in-region.
7518 (completion-complete-and-exit): New fun, extracted from
7519 minibuffer-complete-and-exit.
7520 (minibuffer-complete-and-exit): Use it.
7521 (completion--complete-and-exit): Rename from
7522 minibuffer--complete-and-exit.
7523 (completion-in-region--single-word): New function, extracted from
7524 minibuffer-complete-word.
7525 (minibuffer-complete-word): Use it.
7526 (display-completion-list): Make `common-substring' argument obsolete.
7527 (completion--in-region): Call completion--in-region-1 instead of
7528 minibuffer-complete.
7529 (completion-help-at-point): Pass boundaries to
7530 minibuffer-completion-help as args rather than via an overlay.
7531 (completion-pcm--string->pattern): Use `any-delim'.
7532 (completion-pcm--optimize-pattern): New function.
7533 (completion-pcm--pattern->regex): Handle `any-delim'.
7534 * icomplete.el (icomplete-forward-completions)
7535 (icomplete-backward-completions, icomplete-completions):
7536 Adjust calls to completion-all-sorted-completions and
7537 completion--cache-all-sorted-completions.
7538 (icomplete-with-completion-tables): Default to t.
7539 * emacs-lisp/crm.el (crm--current-element): Rename from
7540 crm--select-current-element. Don't put an overlay but return the
7541 boundaries instead.
7542 (crm--completion-command): Take two new args to bind to the boundaries.
7543 (crm-completion-help): Adjust accordingly.
7544 (crm-complete): Use completion-in-region.
7545 (crm-complete-word): Use completion-in-region--single-word.
7546 (crm-complete-and-exit): Use completion-complete-and-exit.
7547
7548 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7549
7550 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7551 than dynamically.
7552
7553 2013-09-06 Juri Linkov <juri@jurta.org>
7554
7555 * info.el (Info-display-images-node): When image file doesn't exist
7556 display text version of the image if it's provided in the Info file.
7557 Otherwise, display the location of missing image from SRC attribute.
7558 Add help-echo text property from ALT attribute. (Bug#15279)
7559
7560 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7561
7562 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7563 (edit-abbrevs-mode): Use define-derived-mode.
7564
7565 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7566 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7567 that it's defined.
7568 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7569 Use define-derived-mode.
7570
7571 * epg.el (epg-start-encrypt): Minor CSE simplification.
7572
7573 2013-09-06 William Xu <william.xwl@gmail.com>
7574
7575 * arc-mode.el: Add support for 7za (bug#15264).
7576 (archive-7z-program): New var.
7577 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7578 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7579 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7580
7581 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7582
7583 Remove URL syntax.
7584
7585 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7586 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7587 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7588 (tramp-postfix-host-format, tramp-file-name-regexp)
7589 (tramp-completion-file-name-regexp)
7590 (tramp-completion-dissect-file-name)
7591 (tramp-handle-substitute-in-file-name): Remove 'url case.
7592 (tramp-file-name-regexp-url)
7593 (tramp-completion-file-name-regexp-url): Remove constants.
7594
7595 2013-09-06 Glenn Morris <rgm@gnu.org>
7596
7597 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7598
7599 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7600
7601 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7602 keywords" below "here-doc beginnings" (Bug#15270).
7603
7604 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7605
7606 * subr.el (pop): Use `car-safe'.
7607 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7608 to detect unused `pop' return value.
7609
7610 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7611 var `block-regexp'.
7612 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7613 (python-fill-string): Remove unused var `marker'.
7614 (python-skeleton-add-menu-items): Remove unused var `items'.
7615
7616 * international/mule-cmds.el: Require CL.
7617 (find-coding-systems-for-charsets): Avoid add-to-list.
7618 (sanitize-coding-system-list): New function, extracted from
7619 select-safe-coding-system-interactively.
7620 (select-safe-coding-system-interactively): Use it.
7621 (read-input-method-name): Accept symbols for `default'.
7622
7623 * emacs-lisp/advice.el (defadvice): Add indent rule.
7624
7625 2013-09-05 Daniel Hackney <dan@haxney.org>
7626
7627 * dired-x.el:
7628 * net/ange-ftp.el:
7629 * net/browse-url.el:
7630 * net/dbus.el:
7631 * net/eudc.el:
7632 * net/eudcb-ldap.el:
7633 * net/eww.el:
7634 * net/imap.el:
7635 * printing.el:
7636 * vc/ediff-diff.el:
7637 * vc/ediff-init.el:
7638 * vc/ediff-merg.el:
7639 * vc/ediff-mult.el:
7640 * vc/ediff-util.el:
7641 * vc/ediff-wind.el:
7642 * vc/ediff.el:
7643 * vc/emerge.el:
7644 * vc/pcvs.el:
7645 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7646 byte compiler. Remove some unused let-bound variables.
7647
7648 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7649
7650 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7651 a "ref-cell", since it gets better optimized (bug#14883).
7652
7653 2013-09-05 Glenn Morris <rgm@gnu.org>
7654
7655 * progmodes/cc-awk.el (c-forward-sws): Declare.
7656
7657 2013-09-04 Glenn Morris <rgm@gnu.org>
7658
7659 * generic-x.el [rul-generic-mode]: Require cc-mode.
7660 (c++-mode-syntax-table): Declare.
7661 (rul-generic-mode-syntax-table): Init in the defvar.
7662
7663 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7666 (vc-do-command, vc-set-async-update):
7667 * vc/vc-mtn.el (vc-mtn-dir-status):
7668 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7669 (vc-hg-pull, vc-hg-merge-branch):
7670 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7671 (vc-git-merge-branch):
7672 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7673 (vc-cvs-dir-status-files):
7674 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7675 (vc-bzr-dir-status-files):
7676 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7677 * vc/vc-annotate.el: Use lexical-binding.
7678 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7679 (vc-sentinel-movepoint): Declare.
7680 (vc-annotate): Don't use `goto-line'.
7681 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7682 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7683 (vc-sentinel-movepoint): Declare.
7684 * vc/vc-svn.el: Use lexical-binding.
7685 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7686 * vc/vc-sccs.el:
7687 * vc/vc-rcs.el: Use lexical-binding.
7688
7689 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7690 `deleted'. Don't drop errors silently.
7691
7692 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7693
7694 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7695
7696 * vc/vc.el (vc-ignore): Rewrite.
7697 (vc-default-ignore): New function.
7698 (vc-default-ignore-completion-table): Use find-ignore-file.
7699
7700 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7701 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7702 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7703 Remove. Most code moved to vc.el.
7704
7705 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7706
7707 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7708 * net/tramp-smb.el (tramp-smb-get-file-entries):
7709 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7710 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7711
7712 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7713 Update call to it.
7714 (eww-change-select): Remove unused var `properties'.
7715 (eww-make-unique-file-name): Remove unused var `base'.
7716
7717 * finder.el (finder-compile-keywords): Don't mess with windows.
7718
7719 * calculator.el (calculator-funcall): Fix typo in last change.
7720
7721 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7722
7723 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7724 <pkg>-autoloads.el file stop us.
7725
7726 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7727 warnings, and factor out common code.
7728
7729 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7730
7731 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7732 two-character operators and whether the character preceding them
7733 changes their meaning (Bug#15208).
7734
7735 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7736
7737 Format code sent to Python shell for robustness.
7738 * progmodes/python.el (python-shell-buffer-substring):
7739 New function.
7740 (python-shell-send-region, python-shell-send-buffer): Use it.
7741
7742 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7743
7744 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7745 * net/tramp.el (tramp-user-error): ... here.
7746 (tramp-find-method, tramp-check-proper-host)
7747 (tramp-dissect-file-name, tramp-debug-message)
7748 (tramp-handle-shell-command):
7749 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7750 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7751
7752 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7753
7754 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7755
7756 * avoid.el (mouse-avoidance-point-position)
7757 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7758 returns nil.
7759
7760 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7761
7762 * progmodes/python.el (python-shell-completion-get-completions):
7763 Drop use of deleted `comint-last-prompt-overlay'.
7764 (python-nav-if-name-main): New command.
7765
7766 2013-09-01 Glenn Morris <rgm@gnu.org>
7767
7768 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7769 Avoid leading space in $wins. Otherwise the sed command used by
7770 eg compile-main ends up containing "/*.el". (Bug#15170)
7771
7772 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7773
7774 2013-08-30 Glenn Morris <rgm@gnu.org>
7775
7776 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7777 Fix is-this-a-directory logic. (Bug#15220)
7778
7779 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * textmodes/css-mode.el: Use SMIE.
7782 (css-smie-grammar): New var.
7783 (css-smie--forward-token, css-smie--backward-token)
7784 (css-smie-rules): New functions.
7785 (css-mode): Use them.
7786 (css-navigation-syntax-table): Remove var.
7787 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7788 (css-indent-calculate, css-indent-line): Remove functions.
7789
7790 Misc changes to reduce use of `(lambda...); and other cleanups.
7791 * cus-edit.el: Use lexical-binding.
7792 (customize-push-and-save, customize-apropos)
7793 (custom-buffer-create-internal): Use closures.
7794 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7795 * progmodes/ada-xref.el: Use setq.
7796 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7797 * dframe.el: Use lexical-binding.
7798 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7799 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7800 * descr-text.el: Use lexical-binding.
7801 (describe-text-widget, describe-text-sexp, describe-property-list):
7802 Use closures.
7803 * comint.el (comint-history-isearch-push-state): Use a closure.
7804 * calculator.el: Use lexical-binding.
7805 (calculator-number-to-string): Make it work with lexical-binding.
7806 (calculator-funcall): Same and use cl-letf.
7807
7808 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7809 (lisp--company-doc-string, lisp--company-location): New functions.
7810 (lisp-completion-at-point): Use them to improve Company support.
7811
7812 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7813 params of lambda expressions.
7814 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7815 (ruby-smie--opening-pipe-p): New function.
7816 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7817 symbols and matched |...| for formal params.
7818 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7819 from being treated as hanging. Handle "rescue".
7820
7821 2013-08-29 Glenn Morris <rgm@gnu.org>
7822
7823 * progmodes/cc-engine.el (c-pull-open-brace):
7824 Move definition before use.
7825
7826 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7827
7828 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7829 are immutable. Don't use `unsafe' any more.
7830 (cl--defsubst-expand): Don't substitute at the same time as keeping
7831 a residual unused let-binding. Don't use `unsafe' any more.
7832
7833 2013-08-29 Glenn Morris <rgm@gnu.org>
7834
7835 * calendar/cal-china.el (calendar-chinese-year-cache):
7836 Recenter on 2015.
7837
7838 * nxml/nxml-util.el (nxml-debug-clear-inside):
7839 Use cl-loop rather than loop.
7840
7841 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7842
7843 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7844
7845 2013-08-28 Glenn Morris <rgm@gnu.org>
7846
7847 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7848
7849 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7850
7851 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7852
7853 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7854
7855 * simple.el (repeat-complex-command--called-interactively-skip):
7856 New function.
7857 (repeat-complex-command): Use it (bug#14136).
7858
7859 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7860 (c-define-abbrev-table): Add `doc' argument.
7861 (c-mode-abbrev-table, c++-mode-abbrev-table)
7862 (objc-mode-abbrev-table, java-mode-abbrev-table)
7863 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7864 (awk-mode-abbrev-table): Use it.
7865 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7866 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7867 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7868 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7869 Move initialization into the declaration; and remove any
7870 autoload cookie.
7871
7872 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7873 and dynamic let binding.
7874
7875 * vc/smerge-mode.el: Remove redundant :group args.
7876
7877 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7878 to load-path.
7879
7880 2013-08-28 Juri Linkov <juri@jurta.org>
7881
7882 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7883 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7884 (isearch-other-meta-char): Handle an undefined shifted printing
7885 character by downshifting it. (Bug#15200)
7886
7887 2013-08-28 Juri Linkov <juri@jurta.org>
7888
7889 * isearch.el (isearch-search): Change regexp error message for
7890 non-regexp searches. (Bug#15166)
7891
7892 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7893
7894 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7895 for portability to hosts where /bin/sh has problems.
7896
7897 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7898
7899 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7900
7901 2013-08-27 Juri Linkov <juri@jurta.org>
7902
7903 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7904 in the keyboard macro. (Bug#15126)
7905
7906 2013-08-27 Juri Linkov <juri@jurta.org>
7907
7908 * isearch.el (isearch-quote-char): Comment out converting unibyte
7909 to multibyte, thus syncing with its `quoted-insert' counterpart.
7910 (Bug#15166)
7911
7912 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7913
7914 * window.el (display-buffer-use-some-window): Add missing
7915 argument in call of get-largest-window (Bug#15185).
7916 Reported by Stephen Leake.
7917
7918 2013-08-27 Glenn Morris <rgm@gnu.org>
7919
7920 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7921
7922 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7923
7924 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7925 from a matcher-function unless there's no more matches (bug#15161).
7926
7927 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7928
7929 * minibuffer.el: Revert change from 2013-08-20.
7930
7931 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7932 with text property `tramp-default', if appropriate.
7933 (tramp-check-proper-host): New defun.
7934 (tramp-dissect-file-name): Do not check hostname. Revert change
7935 of 2013-03-18.
7936 (tramp-backtrace): Make VEC-OR-PROC optional.
7937
7938 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7939 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7940 * net/tramp-sh.el (tramp-maybe-open-connection):
7941 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7942 Apply `tramp-check-proper-host'.
7943
7944 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7945
7946 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7947 lambda expression in order to have `describe-variable' display it.
7948
7949 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7950
7951 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7952 BUF can be optional. (Bug#15186)
7953
7954 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7955
7956 * progmodes/flymake.el (flymake-get-real-file-name-function):
7957 Fix broken customization. (Bug#15184)
7958
7959 2013-08-25 Alan Mackenzie <acm@muc.de>
7960
7961 Improve indentation of bracelists defined by macros (without "=").
7962
7963 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7964 expansion begins with "{", regard it as bracelist when it doesn't
7965 contain a ";".
7966
7967 Parse C++ inher-intro when there's a template split over 2 lines.
7968
7969 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7970 rigorously the search for "class" etc. followed by ":".
7971
7972 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7973 random languages a regexp which never matches rather than nil.
7974
7975 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7976
7977 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7978 (c-awk-regexp-one-line-possibly-open-char-list-re)
7979 (c-awk-one-line-possibly-open-regexp-re)
7980 (c-awk-one-line-non-syn-ws*-re): Remove.
7981 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7982 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7983 (c-awk-space*-unclosed-regexp-/-re): New constants.
7984 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7985 aren't regexp delimiters.
7986
7987 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7988 handling for a rare situation in AWK Mode involving unterminated
7989 strings/regexps.
7990
7991 2013-08-23 Glenn Morris <rgm@gnu.org>
7992
7993 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7994
7995 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7996
7997 * files.el (create-file-buffer): If the result would begin with
7998 spaces, prepend a "|" instead of removing them. (Bug#15162)
7999
8000 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8001
8002 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8003 text-properties (bug#15155).
8004
8005 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8006 exist any more.
8007 (calc-keypad-redraw): Remove unused var `pad'.
8008 (calc-keypad-press): Remove unused var `menu'.
8009
8010 2013-08-23 Martin Rudalics <rudalics@gmx.at>
8011
8012 * window.el (display-buffer-pop-up-frame):
8013 Call pop-up-frame-function with BUFFER current so `make-frame' will
8014 use it as the new frame's buffer (Bug#15133).
8015
8016 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8017
8018 * calendar/timeclock.el: Minor cleanups.
8019 (timeclock-ask-before-exiting, timeclock-use-display-time):
8020 Use `symbol'.
8021 (timeclock-modeline-display): Define as alias before the
8022 actual definition.
8023 (timeclock-mode-line-display): Use define-minor-mode.
8024 (timeclock-day-list-template): Make it a function, add an argument.
8025 (timeclock-day-list-required, timeclock-day-list-length)
8026 (timeclock-day-list-debt, timeclock-day-list-span)
8027 (timeclock-day-list-break): Adjust calls accordingly.
8028
8029 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8030
8031 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8032 Use read--expression so that completion works again.
8033
8034 2013-08-21 Sam Steingold <sds@gnu.org>
8035
8036 Add rudimentary inferior shell interaction
8037 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8038 (sh-set-shell): Reset it.
8039 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8040 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
8041
8042 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8043
8044 * align.el: Use lexical-binding.
8045 (align-region): Simplify accordingly.
8046
8047 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
8048
8049 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8050
8051 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8052 `non-essential' up.
8053
8054 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
8055
8056 * net/tramp.el:
8057 * net/tramp-adb.el:
8058 * net/tramp-cmds.el:
8059 * net/tramp-ftp.el:
8060 * net/tramp-gvfs.el:
8061 * net/tramp-gw.el:
8062 * net/tramp-sh.el: Don't wrap external variable declarations by
8063 `eval-when-compile'.
8064
8065 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8066
8067 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8068 now that Emacs supports ImageMagick animations.
8069
8070 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
8071
8072 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8073 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8074
8075 2013-08-16 Martin Rudalics <rudalics@gmx.at>
8076
8077 * window.el (mouse-autoselect-window-select): Do autoselect when
8078 mouse pointer is on margin.
8079
8080 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8081
8082 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8083
8084 2013-08-16 Glenn Morris <rgm@gnu.org>
8085
8086 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8087 Handle "Remote Directory" response of some clients. (Bug#15058)
8088
8089 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8090 Tweak warning. (Bug#14926)
8091
8092 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8093 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8094
8095 * image-mode.el (image-mode-map): Add menu items to reverse,
8096 increase, decrease, reset animation speed.
8097 (image--set-speed, image-increase-speed, image-decrease-speed)
8098 (image-reverse-speed, image-reset-speed): New functions.
8099 (image-mode-map): Add bindings for speed commands.
8100
8101 * image.el (image-animate-get-speed, image-animate-set-speed):
8102 New functions.
8103 (image-animate-timeout): Respect image :speed property.
8104
8105 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8108 previous line (bug#15101).
8109 (debugger-eval-expression, debugger-record-expression):
8110 Use read--expression (bug#15102).
8111
8112 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
8113
8114 Remove byte compiler warnings, visible when compiling with
8115 `byte-compile-force-lexical-warnings' set to t.
8116
8117 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8118 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8119 (tramp-handle-unhandled-file-name-directory)
8120 (tramp-handle-file-notify-add-watch, tramp-action-login)
8121 (tramp-action-succeed, tramp-action-permission-denied)
8122 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8123 arguments with "_".
8124
8125 * net/tramp-adb.el (tramp-adb-parse-device-names)
8126 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8127 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8128 (tramp-adb-handle-file-truename): Remove unused arguments.
8129
8130 * net/tramp-cache.el (tramp-flush-directory-property)
8131 (tramp-flush-connection-property, tramp-list-connections)
8132 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8133
8134 * net/tramp-compat.el (tramp-compat-make-temp-file):
8135 Rename FILENAME to F.
8136
8137 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8138 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8139 (tramp-zeroconf-parse-workstation-device-names)
8140 (tramp-zeroconf-parse-webdav-device-names)
8141 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8142
8143 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8144 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8145
8146 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8147 arguments.
8148 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8149 (tramp-sh-handle-insert-file-contents-literally)
8150 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8151 with "_".
8152 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8153 Remove unused variables.
8154
8155 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8156 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8157 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8158
8159 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8160 Make them a defconst.
8161 (tramp-uuencode-region): Remove unused variable.
8162
8163 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
8164
8165 * frameset.el (frameset--prop-setter): New function.
8166 (frameset-prop): Add gv-setter declaration.
8167 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8168 parameter was already set in FILTERED. Doc fix.
8169 (frameset--record-minibuffer-relationships): Allow saving a
8170 minibufferless frame without its corresponding minibuffer frame.
8171 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8172 frame, if the frame id matches.
8173 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8174 frames before orphaned ones.
8175 (frameset-restore): Warn about orphaned windows, instead of error out.
8176
8177 2013-08-14 Martin Rudalics <rudalics@gmx.at>
8178
8179 * window.el (window-make-atom): Don't overwrite parameter
8180 already present.
8181 (display-buffer-in-atom-window): Handle special case where we
8182 split an already atomic window.
8183 (window--major-non-side-window, display-buffer-in-side-window)
8184 (window--side-check): Ignore minibuffer window when walking
8185 window tree.
8186 (window-deletable-p): Return 'frame only if no other frame uses
8187 our minibuffer window.
8188 (record-window-buffer): Run buffer-list-update-hook.
8189 (split-window): Make sure window--check-frame won't destroy an
8190 existing atomic window in case the new window gets nested
8191 inside.
8192 (display-buffer-at-bottom): Ignore minibuffer window when
8193 walking window tree. Don't split a side window.
8194 (pop-to-buffer): Don't set-buffer here, the select-window call
8195 should do that.
8196 (mouse-autoselect-window-select): Autoselect only if we are in the
8197 text portion of the window.
8198
8199 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8200
8201 * net/shr.el (shr-parse-image-data): New function to grab both the
8202 data itself and the Content-Type.
8203 (shr-put-image): Use it.
8204
8205 * net/eww.el (eww-display-image): Ditto.
8206
8207 * image.el (image-content-type-suffixes): New variable.
8208
8209 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8210
8211 * progmodes/python.el (python-imenu--build-tree)
8212 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8213
8214 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8215
8216 * simple.el (backward-word): Mention the optional argument.
8217
8218 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8219
8220 * frameset.el (frameset--make): Rename constructor from make-frameset.
8221 (frameset-p, frameset-valid-p): Don't autoload.
8222 (frameset-valid-p): Use normal accessors.
8223
8224 2013-08-13 Glenn Morris <rgm@gnu.org>
8225
8226 * progmodes/compile.el (compile-command): Tweak example in doc.
8227 * obsolete/scribe.el (scribe-mode):
8228 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8229
8230 * mail/feedmail.el (feedmail-confirm-outgoing)
8231 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8232
8233 * cus-start.el (truncate-partial-width-windows): Fix type.
8234
8235 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8236
8237 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8238
8239 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 * emacs-lisp/timer.el (timer--time-setter): New function.
8242 (timer--time): Use it as gv-setter.
8243
8244 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8245 setter is not a symbol.
8246
8247 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
8248
8249 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8250 if sending fails. This makes debugging easier.
8251
8252 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
8253
8254 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8255 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8256 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8257
8258 2013-08-12 Eli Zaretskii <eliz@gnu.org>
8259
8260 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8261
8262 2013-08-12 Glenn Morris <rgm@gnu.org>
8263
8264 * format.el (format-annotate-function):
8265 Handle read-only text properties in the source. (Bug#14887)
8266
8267 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8268
8269 * net/eww.el (eww-display-html): Ignore coding system errors.
8270 One web site uses "utf-8lias" as the coding system.
8271
8272 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
8273
8274 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8275
8276 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
8277
8278 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8279 (tutorial--detailed-help): Remove unused local variables.
8280 (tutorial--save-tutorial-to): Use ignore-errors.
8281 (help-with-tutorial): Use looking-at-p.
8282
8283 * view.el (view-buffer-other-window, view-buffer-other-frame):
8284 Mark unused arguments.
8285
8286 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8287 (woman-select-symbol-fonts, woman, woman-find-file)
8288 (woman-insert-file-contents, woman-non-underline-faces):
8289 Use string-match-p.
8290 (woman1-unquote): Move declaration.
8291
8292 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8293 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8294 argument. Remove unused local variable.
8295 (xml-parse-elem-type): Use string-match-p.
8296 (xml-substitute-numeric-entities): Use ignore-errors.
8297
8298 * calculator.el (calculator): Mark unused argument.
8299 (calculator-paste, calculator-quit, calculator-integer-p):
8300 Use ignore-errors.
8301 (calculator-string-to-number, calculator-decimal, calculator-exp)
8302 (calculator-op-or-exp): Use string-match-p.
8303
8304 * dired.el (dired-buffer-more-recently-used-p): Declare.
8305 (dired-insert-set-properties, dired-insert-old-subdirs):
8306 Use ignore-errors.
8307
8308 * dired-aux.el (dired-compress): Use ignore-errors.
8309 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8310 (dired-do-async-shell-command, dired-do-shell-command)
8311 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8312 (dired-insert-subdir-validate): Use string-match-p.
8313 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8314 (dired-add-entry): Use string-match-p, looking-at-p.
8315 (dired-insert-subdir-newpos): Remove unused local variable.
8316
8317 * filenotify.el (file-notify-callback): Remove unused local variable.
8318
8319 * filesets.el (filesets-error): Mark unused argument.
8320 (filesets-which-command-p, filesets-filter-dir-names)
8321 (filesets-directory-files, filesets-get-external-viewer)
8322 (filesets-ingroup-get-data): Use string-match-p.
8323
8324 * find-file.el (ff-other-file-name, ff-other-file-name)
8325 (ff-find-the-other-file, ff-cc-hh-converter):
8326 Remove unused local variables.
8327 (ff-get-file-name): Use string-match-p.
8328 (ff-all-dirs-under): Use ignore-errors.
8329
8330 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8331 (follow-select-if-visible): Remove unused local variable.
8332
8333 * forms.el (read-file-filter): Move declaration.
8334 (forms--make-format, forms--make-parser, forms-insert-record):
8335 Quote function with #'.
8336 (forms--update): Use string-match-p. Quote function with #'.
8337
8338 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8339 (help-make-xrefs): Use looking-at-p.
8340 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8341
8342 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8343 (ibuffer-confirm-operation-on): Use string-match-p.
8344
8345 * msb.el (msb-item-handler, msb-dired-item-handler):
8346 Mark unused arguments.
8347
8348 * ses.el (ses-decode-cell-symbol)
8349 (ses-kill-override): Remove unused local variable.
8350 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8351 (ses-load): Use ignore-errors, looking-at-p.
8352 (ses-jump-safe): Use ignore-errors.
8353 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8354
8355 * tabify.el (untabify, tabify): Mark unused arguments.
8356
8357 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8358 Mark unused argument.
8359 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8360 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8361
8362 * emacs-lisp/timer.el (timer--time): Define setter with
8363 gv-define-setter to avoid deprecation warning.
8364
8365 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8366 (*record-cmpl-statistics-p*): Remove (was commented out).
8367 (cmpl-statistics-block): Remove (body was commented out).
8368 All callers changed.
8369 (add-completions-from-buffer, load-completions-from-file):
8370 Remove unused variables.
8371
8372 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8373
8374 * filecache.el (file-cache-delete-file-list):
8375 Print message only when told so.
8376 (file-cache-files-matching): Use #' in mapconcat argument.
8377
8378 * ffap.el (ffap-url-at-point): Fix reference to variable
8379 thing-at-point-default-mail-uri-scheme.
8380
8381 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 * subr.el (define-error): New function.
8384 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8385 error-file-not-found and define with define-error.
8386 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8387 and define with define-error.
8388 * userlock.el (file-locked, file-supersession):
8389 * simple.el (mark-inactive):
8390 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8391 * progmodes/ada-mode.el (ada-mode-errors):
8392 * play/life.el (life-extinct):
8393 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8394 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8395 * nxml/rng-util.el (rng-error):
8396 * nxml/rng-uri.el (rng-uri-error):
8397 * nxml/rng-match.el (rng-compile-error):
8398 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8399 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8400 * nxml/nxml-rap.el (nxml-scan-error):
8401 * nxml/nxml-outln.el (nxml-outline-error):
8402 * net/soap-client.el (soap-error):
8403 * net/gnutls.el (gnutls-error):
8404 * net/ange-ftp.el (ftp-error):
8405 * mpc.el (mpc-proc-error):
8406 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8407 (json-number-format, json-string-escape, json-string-format)
8408 (json-key-format, json-object-format):
8409 * jka-compr.el (compression-error):
8410 * international/quail.el (quail-error):
8411 * international/kkc.el (kkc-error):
8412 * emacs-lisp/ert.el (ert-test-failed):
8413 * calc/calc.el (calc-error, inexact-result, math-overflow)
8414 (math-underflow):
8415 * bookmark.el (bookmark-error-no-filename):
8416 * epg.el (epg-error): Define with define-error.
8417
8418 * time.el (display-time-event-handler)
8419 (display-time-next-load-average): Don't call sit-for since it seems
8420 unnecessary (bug#15045).
8421
8422 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8423 Use #' instead of ' to quote functions.
8424 (checkdoc-output-mode): Use setq-local.
8425 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8426 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8427 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8428 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8429 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8430 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8431 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8432 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8433
8434 * ido.el (ido-completion-help): Fix up compiler warning.
8435
8436 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8437
8438 * frameset.el (frameset-p): Add autoload cookie.
8439 (frameset--jump-to-register): New function, based on code moved from
8440 register.el.
8441 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8442
8443 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8444 (frameset-restore, frameset-save, frameset-session-filter-alist):
8445 Remove declarations.
8446 (register-alist): Doc fix.
8447 (frameset-to-register): Move to frameset.el.
8448 (jump-to-register, describe-register-1): Remove frameset-specific code.
8449
8450 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8451
8452 * allout-widgets.el (allout-widgets-pre-command-business)
8453 (allout-widgets-post-command-business)
8454 (allout-widgets-after-change-handler)
8455 (allout-decorate-item-and-context, allout-set-boundary-marker)
8456 (allout-body-modification-handler)
8457 (allout-graphics-modification-handler): Mark ignored arguments.
8458 (allout-widgets-post-command-business)
8459 (allout-widgets-exposure-change-processor)
8460 (allout-widgets-exposure-undo-processor)
8461 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8462 (allout-parse-item-at-point, allout-decorate-item-guides)
8463 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8464 * allout.el (epa-passphrase-callback-function): Declare.
8465 (allout-overlay-insert-in-front-handler)
8466 (allout-overlay-interior-modification-handler)
8467 (allout-isearch-end-handler, allout-chart-siblings)
8468 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8469 (allout-yank-processing, allout-process-exposed)
8470 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8471 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8472 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8473 (lisp-indent-defform): Mark ignored arguments.
8474 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8475 (calculate-lisp-indent): Remove unused variables.
8476 * international/characters.el (indian-2-column, arabic-2-column)
8477 (tibetan): Mark ignored arguments.
8478 (use-cjk-char-width-table): Mark ignored arguments.
8479 Remove unused variables.
8480 * international/fontset.el (build-default-fontset-data)
8481 (x-compose-font-name, create-fontset-from-fontset-spec):
8482 Mark ignored arguments.
8483 (fontset-plain-name): Remove unused variables.
8484 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8485 (keyboard-coding-system): Mark ignored arguments.
8486 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8487 * help.el (resize-temp-buffer-window):
8488 * window.el (display-buffer-in-major-side-window)
8489 (display-buffer-in-side-window, display-buffer-in-previous-window):
8490 Remove unused variables.
8491 * isearch.el (isearch-forward-symbol):
8492 * version.el (emacs-bzr-version-bzr):
8493 * international/mule-cmds.el (current-language-environment):
8494 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8495 (x-handle-display):
8496 * term/pc-win.el (x-list-fonts, x-display-planes)
8497 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8498 (x-server-version, x-display-screens, x-display-mm-height)
8499 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8500 (x-selection-owner-p, x-own-selection-internal)
8501 (x-disown-selection-internal, x-get-selection-internal)
8502 (msdos-initialize-window-system):
8503 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8504 * term/x-win.el (x-handle-no-bitmap-icon):
8505 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8506 (vc-default-find-file-hook, vc-default-extra-menu):
8507 Mark ignored arguments.
8508
8509 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8512 break-condition in the context of the debugged code (bug#12685).
8513
8514 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8515
8516 * comint.el:
8517 Do not use an overlay to highlight the last prompt. (Bug#14744)
8518 (comint-mode): Make comint-last-prompt buffer local.
8519 (comint-last-prompt): New variable.
8520 (comint-last-prompt-overlay): Remove. Superseded by
8521 comint-last-prompt.
8522 (comint-snapshot-last-prompt, comint-output-filter):
8523 Use comint-last-prompt.
8524
8525 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8526
8527 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8528 (frameset-save): Check validity of the resulting frameset.
8529
8530 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8531
8532 * ido.el (ido-record-command): Add doc string.
8533
8534 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8535
8536 * frameset.el (frameset): Do not disable creation of the default
8537 frameset-p predicate. Doc fix.
8538 (frameset-valid-p): New function, copied from the old predicate-p.
8539 Add additional checks.
8540 (frameset-restore): Check with frameset-valid-p.
8541 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8542 (frameset-name, frameset-description, frameset-properties)
8543 (frameset-states): Add docstring.
8544 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8545 (frameset-filter-alist): Doc fixes.
8546
8547 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8548
8549 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8550
8551 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8552
8553 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8554 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8555 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8556 (byte-compile-normal-call): Remove obsolescence check.
8557
8558 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8559
8560 * frameset.el (frameset-restore): Doc fix.
8561
8562 * register.el (frameset-frame-id, frameset-frame-with-id)
8563 (frameset-p, frameset-restore, frameset-save): Declare.
8564 (register-alist): Document framesets.
8565 (frameset-session-filter-alist): Declare.
8566 (frameset-to-register): New function.
8567 (jump-to-register): Implement jumping to framesets. Doc fix.
8568 (describe-register-1): Describe framesets.
8569
8570 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8571
8572 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8573
8574 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8575 Use lexical-binding.
8576
8577 * frameset.el (frameset): Use type vector, not list (incompatible
8578 change). Do not declare a new constructor, use the default one.
8579 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8580 `name' and `description', respectively, and add read-only slot
8581 `timestamp'. Doc fixes.
8582 (frameset-copy, frameset-persistent-filter-alist)
8583 (frameset-filter-alist, frameset-switch-to-gui-p)
8584 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8585 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8586 (frameset-filter-iconified, frameset-keep-original-display-p):
8587 Doc fixes.
8588 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8589 Rename from frameset-filter-(save|restore)-param. All callers changed.
8590 Doc fix.
8591 (frameset-p): Adapt to change to vector and be more thorough.
8592 Change arg name to OBJECT. Doc fix.
8593 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8594 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8595 All callers changed.
8596 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8597 All callers changed.
8598 (frameset--record-minibuffer-relationships): Rename from
8599 frameset--process-minibuffer-frames. All callers changed.
8600 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8601 Use new default constructor (again). Doc fix.
8602 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8603 All callers changed.
8604 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8605 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8606 Doc fix.
8607 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8608 PARAMETERS and WINDOW-STATE, respectively.
8609 (frameset-restore): Add new keyword argument PREDICATE.
8610 Reset frameset--target-display to nil. Doc fix.
8611
8612 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8613
8614 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8615 (bat-mode): Use it.
8616 (bat-mode-syntax-table): Mark \n as end-of-comment.
8617 (bat-font-lock-keywords): Remove comment rule.
8618
8619 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8620 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8621
8622 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8623 (byte-compile-callargs-warn): Use `push'.
8624 (byte-compile-arglist-warn): Ignore higher-order "calls".
8625 (byte-compile-file-form-autoload): Use `pcase'.
8626 (byte-compile-function-form): If quoting a symbol, check that it exists.
8627
8628 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8629
8630 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8631 and add a few popular commands found in batch files.
8632 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8633 (dos-mode): Doc fixes.
8634
8635 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8636
8637 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8638 (dos-mode): Use setq-local. Add space after "rem".
8639 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8640 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8641
8642 2013-08-07 Arni Magnusson <arnima@hafro.is>
8643
8644 * progmodes/dos.el: New file.
8645 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8646 dos-mode.
8647
8648 2013-08-06 Glenn Morris <rgm@gnu.org>
8649
8650 * calendar/calendar.el: Add new faces, and day-header-array.
8651 (calendar-weekday-header, calendar-weekend-header)
8652 (calendar-month-header): New faces.
8653 (calendar-day-header-construct): New function.
8654 (calendar-day-header-width): Also :set calendar-day-header-array.
8655 (calendar-american-month-header, calendar-european-month-header)
8656 (calendar-iso-month-header): Use calendar- faces.
8657 (calendar-generate-month):
8658 Use calendar-day-header-array for day headers; apply faces to them.
8659 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8660 (calendar-abbrev-construct): Add optional maxlen argument.
8661 (calendar-day-name-array): Doc fix.
8662 (calendar-day-name-array, calendar-abbrev-length)
8663 (calendar-day-abbrev-array):
8664 Also :set calendar-day-header-array, and maybe redraw.
8665 (calendar-day-header-array): New option. (Bug#15007)
8666 (calendar-font-lock-keywords): Set to nil and make obsolete.
8667 (calendar-day-name): Add option to use header array.
8668
8669 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8670
8671 * net/shr.el (shr-render-td): Remove debugging.
8672 (shr-render-td): Make width computation consistent by defaulting
8673 all zero-width columns to 10 characters. This may not be optimal,
8674 but it's at least consistent.
8675 (shr-make-table-1): Redo last change to fix the real problem in
8676 colspan handling.
8677
8678 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8679
8680 * files.el (cache-long-line-scans):
8681 Make obsolete alias to `cache-long-scans'.
8682
8683 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8684
8685 * frameset.el (frameset, frameset-filter-alist)
8686 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8687 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8688 (frameset-compute-pos): Rename from frameset--compute-pos,
8689 and add docstring.
8690 (frameset-move-onscreen): Use frameset-compute-pos.
8691 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8692
8693 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8694 Fix typos in docstrings.
8695
8696 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8697
8698 * frame.el (get-other-frame): Tiny cleanup.
8699
8700 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8701
8702 * vc/vc.el (vc-default-ignore-completion-table):
8703 Silence byte-compiler warning.
8704
8705 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8706 slot, which can indeed be nil.
8707 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8708 Move entry for `left' from persistent to live filter alist.
8709 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8710 Doc fixes.
8711 (frameset-filter-params): When restoring a frame, copy items added to
8712 `filtered', to avoid unwittingly modifying the original parameters.
8713 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8714 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8715
8716 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8717 to use looking-at-p instead of looking-at. (Bug#15028)
8718
8719 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8720
8721 Revert introduction of isearch-filter-predicates (bug#14714).
8722 Rely on add-function instead.
8723 * isearch.el (isearch-filter-predicates): Rename it back to
8724 isearch-filter-predicate.
8725 (isearch-message-prefix): Use advice-function-mapc and advice
8726 properties to get the isearch-message-prefix.
8727 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8728 instead of run-hook-with-args-until-failure.
8729 (isearch-filter-visible): Not obsolete any more.
8730 * loadup.el: Preload nadvice.
8731 * replace.el (perform-replace): Revert to funcall
8732 instead of run-hook-with-args-until-failure.
8733 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8734 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8735 dired-isearch-filenames-toggle; make it into a proper minor mode.
8736 Use add/remove-function.
8737 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8738 Call the minor-mode rather than add/remove-hook.
8739 (dired-isearch-filter-filenames):
8740 Remove isearch-message-prefix property.
8741 * info.el (Info--search-loop): New function, extracted from Info-search.
8742 Funcall isearch-filter-predicate instead of
8743 run-hook-with-args-until-failure isearch-filter-predicates.
8744 (Info-search): Use it.
8745 (Info-mode): Use isearch-filter-predicate instead of
8746 isearch-filter-predicates.
8747
8748 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8749
8750 Do not call to `selected-window' where it is assumed by default.
8751 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8752 `window-hscroll', `window-width', `window-height', `window-buffer',
8753 `window-frame', `window-start', `window-point', `next-window'
8754 and `window-display-table'.
8755 * abbrev.el (abbrev--default-expand):
8756 * bs.el (bs--show-with-configuration):
8757 * buff-menu.el (Buffer-menu-mouse-select):
8758 * calc/calc.el (calc):
8759 * calendar/calendar.el (calendar-generate-window):
8760 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8761 (diary-make-entry):
8762 * comint.el (send-invisible, comint-dynamic-complete-filename)
8763 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8764 * completion.el (complete):
8765 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8766 * disp-table.el (describe-current-display-table):
8767 * doc-view.el (doc-view-insert-image):
8768 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8769 * ehelp.el (with-electric-help):
8770 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8771 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8772 * emacs-lisp/helper.el (Helper-help-scroller):
8773 * emulation/cua-base.el (cua--post-command-handler-1):
8774 * eshell/esh-mode.el (eshell-output-filter):
8775 * ffap.el (ffap-gnus-wrapper):
8776 * help-macro.el (make-help-screen):
8777 * hilit-chg.el (highlight-compare-buffers):
8778 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8779 * hl-line.el (global-hl-line-highlight):
8780 * icomplete.el (icomplete-simple-completing-p):
8781 * isearch.el (isearch-done):
8782 * jit-lock.el (jit-lock-stealth-fontify):
8783 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8784 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8785 * mpc.el (mpc-tagbrowser, mpc):
8786 * net/rcirc.el (rcirc-any-buffer):
8787 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8788 * play/landmark.el (landmark-max-width, landmark-max-height):
8789 * play/zone.el (zone):
8790 * progmodes/compile.el (compilation-goto-locus):
8791 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8792 * progmodes/etags.el (find-tag-other-window):
8793 * progmodes/fortran.el (fortran-column-ruler):
8794 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8795 * progmodes/verilog-mode.el (verilog-point-text):
8796 * reposition.el (reposition-window):
8797 * rot13.el (toggle-rot13-mode):
8798 * server.el (server-switch-buffer):
8799 * shell.el (shell-dynamic-complete-command)
8800 (shell-dynamic-complete-environment-variable):
8801 * simple.el (insert-buffer, set-selective-display)
8802 (delete-completion-window):
8803 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8804 (speedbar-recenter):
8805 * startup.el (fancy-splash-head):
8806 * textmodes/ispell.el (ispell-command-loop):
8807 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8808 * tutorial.el (help-with-tutorial):
8809 * vc/add-log.el (add-change-log-entry):
8810 * vc/compare-w.el (compare-windows):
8811 * vc/ediff-help.el (ediff-indent-help-message):
8812 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8813 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8814 (ediff-setup-control-frame):
8815 * vc/emerge.el (emerge-position-region):
8816 * vc/pcvs-util.el (cvs-bury-buffer):
8817 * window.el (walk-windows, mouse-autoselect-window-select):
8818 * winner.el (winner-set-conf, winner-undo): Related users changed.
8819
8820 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8821
8822 * frameset.el (frameset--set-id): Doc fix.
8823 (frameset-frame-id, frameset-frame-id-equal-p)
8824 (frameset-locate-frame-id): New functions.
8825 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8826 (frameset-restore): Use them.
8827
8828 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8829
8830 Do not call to `selected-frame' where it is assumed by default.
8831 Affected functions are `raise-frame', `redraw-frame',
8832 `frame-first-window', `frame-terminal' and `delete-frame'.
8833 * calendar/appt.el (appt-disp-window):
8834 * epg.el (epg-wait-for-completion):
8835 * follow.el (follow-delete-other-windows-and-split)
8836 (follow-avoid-tail-recenter):
8837 * international/mule.el (set-terminal-coding-system):
8838 * mail/rmail.el (rmail-mail-return):
8839 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8840 * progmodes/f90.el (f90-add-imenu-menu):
8841 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8842 * server.el (server-switch-buffer):
8843 * simple.el (delete-completion-window):
8844 * talk.el (talk):
8845 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8846 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8847 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8848 * vc/ediff.el (ediff-documentation): Related users changed.
8849 * frame.el (selected-terminal): Remove the leftover.
8850
8851 2013-08-05 Glenn Morris <rgm@gnu.org>
8852
8853 * calendar/calendar.el (calendar-generate-month):
8854 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8855 (calendar-generate-month, calendar-font-lock-keywords):
8856 Fix for calendar-day-header-width > length of any day name.
8857
8858 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8859
8860 * desktop.el (desktop-clear): Use new name of sort predicate.
8861
8862 * frameset.el (frameset): Add docstring. Move :version property to its
8863 own `version' slot.
8864 (frameset-copy): Rename from copy-frameset.
8865 (frameset-p): Check more thoroughly.
8866 (frameset-prop): Do not check for :version, which is no longer a prop.
8867 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8868 Use new :never value instead of t.
8869 (frameset-filter-alist): Expand and clarify docstring.
8870 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8871 (frameset-filter-minibuffer, frameset-filter-save-param)
8872 (frameset-filter-restore-param, frameset-filter-iconified):
8873 Add pointer to docstring of frameset-filter-alist.
8874 (frameset-filter-params): Rename filter values to be more meaningful:
8875 :never instead of t, and reverse the meanings of :save and :restore.
8876 (frameset--process-minibuffer-frames): Clarify error message.
8877 (frameset-save): Avoid unnecessary and confusing call to framep.
8878 Use new BOA constructor for framesets.
8879 (frameset--reuse-list): Doc fix.
8880 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8881 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8882 (frameset-minibufferless-first-p): Doc fix.
8883 Rename from frameset-sort-frames-for-deletion.
8884 (frameset-restore): Doc fixes. Use new function names.
8885 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8886
8887 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8888
8889 * desktop.el (desktop-restore-forces-onscreen)
8890 (desktop-restore-reuses-frames): Document :keyword constant values.
8891 (desktop-filter-parameters-alist): Remove, now identical to
8892 frameset-filter-alist.
8893 (desktop--filter-tty*): Remove, moved to frameset.el.
8894 (desktop-save-frameset, desktop-restore-frameset):
8895 Do not pass :filters argument.
8896
8897 * frameset.el (frameset-live-filter-alist)
8898 (frameset-persistent-filter-alist): New variables.
8899 (frameset-filter-alist): Use them. Add autoload cookie.
8900 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8901 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8902 `frameset--id' (it's supposed to be internal to frameset.el).
8903 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8904 (frameset--initial-params): New function.
8905 (frameset--get-frame): Use it. Doc fix.
8906 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8907 Accept :all, not 'all.
8908 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8909 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8910 with fbound symbols. Fix frame id matching, and remove matching ids if
8911 the frame being restored is deleted. Obey :delete.
8912
8913 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8914
8915 * subr.el (macrop): New function.
8916 (text-clone--maintaining): New var.
8917 (text-clone--maintain): Rename from text-clone-maintain. Use it
8918 instead of inhibit-modification-hooks.
8919
8920 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8921 a proxy, so as handle autoloads and redefinitions of the target.
8922 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8923
8924 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8925 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8926 (pcase--mutually-exclusive-p): New function.
8927 (pcase--split-consp): Use it.
8928 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8929 mutually exclusive with the current predicate.
8930
8931 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8932 (edebug-macrop): Remove. Use `macrop' instead.
8933 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8934 (ad-macro-p):
8935 * eshell/esh-cmd.el (eshell-macrop):
8936 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8937
8938 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8939
8940 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8941 (advice-mapc): New function, using it.
8942 (advice-function-member-p): New function.
8943 (advice--normalize): Store the cdr in advice--saved-rewrite since
8944 that's the part that will be changed.
8945 (advice--symbol-function): New function.
8946 (advice-remove): Handle removal before the function is defined.
8947 Adjust to new advice--saved-rewrite.
8948 (advice-member-p): Use advice-function-member-p and
8949 advice--symbol-function.
8950
8951 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8952
8953 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8954 (frameset-filter-minibuffer): Doc fix.
8955 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8956 (frameset--set-id, frameset--process-minibuffer-frames)
8957 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8958 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8959
8960 * desktop.el (desktop-clear): Only delete frames when called
8961 interactively and desktop-restore-frames is non-nil. Doc fix.
8962 (desktop-read): Set desktop-saved-frameset to nil.
8963
8964 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8965
8966 * vc/vc.el (vc-ignore): Rewrite.
8967 (vc-default-ignore-completion-table, vc--read-lines)
8968 (vc--add-line, vc--remove-regexp): New functions.
8969
8970 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8971 (vc-svn-ignore-completion-table): New function.
8972
8973 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8974 (vc-hg-ignore-completion-table)
8975 (vc-hg-find-ignore-file): New functions.
8976
8977 * vc/vc-git.el (vc-git-ignore): Rewrite.
8978 (vc-git-ignore-completion-table)
8979 (vc-git-find-ignore-file): New functions.
8980
8981 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8982
8983 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8984 (vc-bzr-ignore-completion-table)
8985 (vc-bzr-find-ignore-file): New functions.
8986
8987 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8988
8989 * frameset.el (frameset-prop): New function and setter.
8990 (frameset-save): Do not modify frame list passed by the caller.
8991
8992 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8993
8994 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8995
8996 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8997
8998 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8999 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9000
9001 * custom.el (custom-initialize-default, custom-initialize-set)
9002 (custom-initialize-reset, custom-initialize-changed): Affect the
9003 toplevel-default-value (bug#6275, bug#14586).
9004 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9005 for bug#6275.
9006
9007 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9008
9009 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9010 Add cl-def* expressions.
9011
9012 * frameset.el (frameset-filter-params): Fix order of arguments.
9013
9014 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9015
9016 Move code related to saving frames to frameset.el.
9017 * desktop.el: Require frameset.
9018 (desktop-restore-frames): Doc fix.
9019 (desktop-restore-reuses-frames): Rename from
9020 desktop-restoring-reuses-frames.
9021 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9022 (desktop-clear): Clear frames too.
9023 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9024 (desktop--filter-tty*, desktop-save, desktop-read):
9025 Use frameset functions.
9026 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9027 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9028 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9029 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9030 (desktop--process-minibuffer-frames, desktop-save-frames)
9031 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9032 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9033 (desktop--sort-states, desktop-restoring-frames-p)
9034 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9035 (desktop-restoring-frameset-p, desktop-restore-frameset)
9036 (desktop--check-dont-save, desktop-save-frameset): New functions.
9037 (desktop--app-id): New constant.
9038 (desktop-first-buffer, desktop-buffer-ok-count)
9039 (desktop-buffer-fail-count): Move before first use.
9040 * frameset.el: New file.
9041
9042 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9043
9044 * files.el: Use lexical-binding.
9045 (dir-locals-read-from-file): Remove unused `err' variable.
9046 (hack-dir-local-variables--warned-coding): New var.
9047 (hack-dir-local-variables): Use it to avoid repeated warnings.
9048 (make-backup-file-name--default-function): New function.
9049 (make-backup-file-name-function): Use it as default.
9050 (buffer-stale--default-function): New function.
9051 (buffer-stale-function): Use it as default.
9052 (revert-buffer-insert-file-contents--default-function): New function.
9053 (revert-buffer-insert-file-contents-function): Use it as default.
9054 (insert-directory): Avoid add-to-list.
9055
9056 * autorevert.el (auto-revert-handler): Simplify.
9057 Use buffer-stale--default-function.
9058
9059 2013-08-01 Tassilo Horn <tsdh@gnu.org>
9060
9061 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9062
9063 * whitespace.el (whitespace-ensure-local-variables): New function.
9064 (whitespace-cleanup-region): Call it.
9065 (whitespace-turn-on): Call it.
9066
9067 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
9068
9069 Complete file name handlers.
9070
9071 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9072 (tramp-handle-verify-visited-file-modtime)
9073 (tramp-handle-file-notify-rm-watch): New functions.
9074 (tramp-call-process): Do not bind `default-directory'.
9075
9076 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9077 Order alphabetically.
9078 <access-file, add-name-to-file, dired-call-process>:
9079 <dired-compress-file, file-acl, file-notify-rm-watch>:
9080 <file-ownership-preserved-p, file-selinux-context>:
9081 <make-directory-internal, make-symbolic-link, set-file-acl>:
9082 <set-file-selinux-context, set-visited-file-modtime>:
9083 <verify-visited-file-modtime>: Add handler.
9084 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9085
9086 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9087 <file-notify-add-watch, file-notify-rm-watch>:
9088 <set-file-times, set-visited-file-modtime>:
9089 <verify-visited-file-modtime>: Add handler.
9090 (with-tramp-gvfs-error-message)
9091 (tramp-gvfs-handle-set-visited-file-modtime)
9092 (tramp-gvfs-fuse-file-name): Remove.
9093 (tramp-gvfs-handle-file-notify-add-watch)
9094 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9095 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9096
9097 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9098 Order alphabetically.
9099 <file-notify-rm-watch>: Use default Tramp handler.
9100 <executable-find>: Remove private handler.
9101 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9102 `default-directory'.
9103 (tramp-sh-handle-executable-find)
9104 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9105 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9106 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9107 Do not use `format' in `tramp-message'.
9108
9109 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9110 <file-notify-rm-watch, set-visited-file-modtime>:
9111 <verify-visited-file-modtime>: Add handler.
9112 (tramp-smb-call-winexe): Do not bind `default-directory'.
9113
9114 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9115
9116 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9117
9118 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9119
9120 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9121 use it.
9122 (log-view-diff-changeset): Same.
9123 (log-view-diff-common): Call backend command `previous-revision'
9124 to find out the previous revision, in both cases. Swap the
9125 variables `to' and `fr', so that `fr' usually refers to the
9126 earlier revision (Bug#14989).
9127
9128 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
9129
9130 * ibuf-ext.el (ibuffer-filter-by-filename):
9131 Make it work with dired buffers too.
9132
9133 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
9134
9135 * emacs-lisp/re-builder.el (reb-color-display-p):
9136 * files.el (save-buffers-kill-terminal):
9137 * net/browse-url.el (browse-url):
9138 * server.el (server-save-buffers-kill-terminal):
9139 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9140 Prefer nil to selected-frame for the first arg of frame-parameter.
9141
9142 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9143
9144 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9145
9146 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
9147
9148 * minibuffer.el (completion--twq-all): Try and preserve each
9149 completion's case choice (bug#14907).
9150
9151 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9152
9153 * net/network-stream.el (open-network-stream): Mention the new
9154 :nogreeting parameter.
9155 (network-stream-open-starttls): Use the :nogreeting parameter
9156 (bug#14938).
9157
9158 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9159
9160 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9161 more natural than popping.
9162
9163 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9164 (shr-urlify): Highlight under mouse.
9165
9166 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9167
9168 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9169
9170 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9171
9172 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9173 buffer for output.
9174
9175 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9176 point-min==1. Fix search string. Fix parentheses missing.
9177
9178 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
9179 assume point-min==1. Fix search string. Fix parentheses missing.
9180
9181 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9182
9183 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9184 buffer for output.
9185
9186 2013-07-29 Eli Zaretskii <eliz@gnu.org>
9187
9188 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9189 initial frame is minibuffer-less. (Bug#14841)
9190
9191 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
9192
9193 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9194 option.
9195
9196 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9197 (tramp-maybe-open-connection): Use it.
9198
9199 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9200
9201 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9202 minimal set of parameters passed when creating a frame, because
9203 the minibuffer status of a frame cannot be changed later.
9204
9205 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
9206
9207 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9208 replace-regexp-in-string and inadvertent omissions in previous change.
9209 (todo-filter-items): Ensure only file names are comma-separated in
9210 name of filtered items buffer.
9211
9212 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9213
9214 * desktop.el: Optionally force offscreen frames back onscreen.
9215 (desktop-restoring-reuses-frames): New option.
9216 (desktop--compute-pos, desktop--move-onscreen): New functions.
9217 (desktop--make-frame): Use desktop--move-onscreen.
9218
9219 2013-07-27 Alan Mackenzie <acm@muc.de>
9220
9221 Fontify a Java generic method as a function.
9222 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9223 value to t.
9224
9225 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
9226
9227 * calendar/todo-mode.el: Add command to rename todo files.
9228 (todo-rename-file): New command.
9229 (todo-key-bindings-t): Add key binding for it. Change the
9230 bindings of todo-filter-regexp-items(-multifile) to use `x'
9231 instead of `r', since the latter is better suited to the new
9232 renaming command.
9233
9234 2013-07-27 Alan Mackenzie <acm@muc.de>
9235
9236 Make Java try-with-resources statement parse properly.
9237 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9238 (c-block-stmt-1-2-key): New language constants/variables.
9239 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9240 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9241 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
9242 with c-block-stmt-1-2-key.
9243
9244 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
9245
9246 * desktop.el (desktop--make-frame): Apply most frame parameters after
9247 creating the frame to force (partially or totally) offscreen frames to
9248 be restored as such.
9249
9250 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9251
9252 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
9253 (Bug#14948)
9254
9255 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9256
9257 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9258 `base' arg of backtrace-frame.
9259
9260 2013-07-26 Eli Zaretskii <eliz@gnu.org>
9261
9262 * simple.el (list-processes): Doc fix.
9263
9264 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9265
9266 * desktop.el (desktop--select-frame):
9267 Try harder to reuse existing frames.
9268
9269 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9270
9271 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9272 (edebug-eval): Use backtrace-eval.
9273 (edebug--display, edebug--recursive-edit): Don't let-bind the
9274 edebug-outer-* vars that keep track of variables we locally let-bind.
9275 (edebug-outside-excursion): Don't restore outside values of locally
9276 let-bound vars.
9277 (edebug--display): Use user-error.
9278 (cl-lexical-debug, cl-debug-env): Remove.
9279
9280 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9281
9282 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9283 are restored to be sure that they are visible before deleting any
9284 remaining ones.
9285
9286 2013-07-26 Matthias Meulien <orontee@gmail.com>
9287
9288 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9289 vc-print-root-log. (Bug#14948)
9290
9291 2013-07-26 Richard Stallman <rms@gnu.org>
9292
9293 Add aliases for encrypting mail.
9294 * epa.el (epa-mail-aliases): New option.
9295 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9296 Bind inhibit-read-only so read-only text doesn't ruin everything.
9297 (epa-mail-default-recipients): New subroutine broken out.
9298 Handle epa-mail-aliases.
9299
9300 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9301
9302 Add support for lexical variables to the debugger's `e' command.
9303 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9304 vars, except for debugger-outer-match-data.
9305 (debugger-frame-number): Move check for "on a function call" from
9306 callers into it. Add `skip-base' argument.
9307 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9308 (debugger-env-macro): Only reset the state stored in non-variables,
9309 i.e. current-buffer and match-data.
9310 (debugger-eval-expression): Rewrite using backtrace-eval.
9311 * subr.el (internal--called-interactively-p--get-frame): Remove.
9312 (called-interactively-p):
9313 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9314 `base' arg of backtrace-frame instead.
9315
9316 2013-07-26 Glenn Morris <rgm@gnu.org>
9317
9318 * align.el (align-regexp): Doc fix. (Bug#14857)
9319 (align-region): Explicit error if subexpression missing/does not match.
9320
9321 * simple.el (global-visual-line-mode):
9322 Do not duplicate the mode lighter. (Bug#14858)
9323
9324 2013-07-25 Martin Rudalics <rudalics@gmx.at>
9325
9326 * window.el (display-buffer): In display-buffer bind
9327 split-window-keep-point to t, bug#14829.
9328
9329 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9330
9331 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9332 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9333 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9334 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9335 Change accordingly.
9336 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9337 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
9338
9339 2013-07-25 Glenn Morris <rgm@gnu.org>
9340
9341 * dired-x.el (dired-mark-extension): Convert comment to doc string.
9342
9343 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9344
9345 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9346 parameter to modify-frame-parameters if the value has not changed;
9347 this is a workaround for bug#14949.
9348 (desktop--make-frame): On cl-delete-if call, check parameter name,
9349 not full parameter.
9350
9351 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9352
9353 * vc/vc.el (vc-ignore): New function.
9354
9355 * vc/vc-svn.el (vc-svn-ignore): New function.
9356
9357 * vc/vc-hg.el (vc-hg-ignore): New function.
9358
9359 * vc/vc-git.el (vc-git-ignore): New function.
9360
9361 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9362 (vc-dir-ignore): New function.
9363
9364 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9365 (cvs-append-to-ignore): Move here from pcvs.el.
9366
9367 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9368
9369 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9370
9371 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9372
9373 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9374 (desktop-restore-frames): Warn when deleting an existing frame failed.
9375
9376 2013-07-24 Glenn Morris <rgm@gnu.org>
9377
9378 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9379
9380 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9381
9382 * filenotify.el (file-notify-supported-p):
9383 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9384 Remove functions.
9385
9386 * autorevert.el (auto-revert-use-notify)
9387 (auto-revert-notify-add-watch):
9388 * net/tramp.el (tramp-file-name-for-operation):
9389 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9390 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9391 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9392 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9393 Remove `file-notify-supported-p' entry.
9394
9395 2013-07-24 Glenn Morris <rgm@gnu.org>
9396
9397 * printing.el: Replace all uses of deleted ps-windows-system,
9398 ps-lp-system, ps-flatten-list with lpr- versions.
9399
9400 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9401
9402 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9403 checked with memq (bug#14935).
9404
9405 * files.el (revert-buffer-function): Use a non-nil default.
9406 (revert-buffer-preserve-modes): Declare var to
9407 provide access to the `preserve-modes' argument.
9408 (revert-buffer): Let-bind it.
9409 (revert-buffer--default): New function, extracted from revert-buffer.
9410
9411 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9412
9413 * lpr.el: Signal print errors more prominently.
9414 (print-region-function): Don't default to nil.
9415 (lpr-print-region): New function, extracted from print-region-1.
9416 Check lpr's return value and signal an error in case of problem.
9417 (print-region-1): Use it.
9418 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9419 versions instead.
9420 (ps-printer-name): Default to nil.
9421 (ps-printer-name-option): Default to lpr-printer-switch.
9422 (ps-print-region-function): Don't default to nil.
9423 (ps-postscript-code-directory): Simplify default.
9424 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9425 (ps-string-list, ps-eval-switch, ps-flatten-list)
9426 (ps-flatten-list-1): Remove.
9427 (ps-multibyte-buffer): Avoid setq.
9428 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9429 (print-region-function, ps-print-region-function): Don't set them here.
9430
9431 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9432
9433 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9434 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9435 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9436 (ido-decorations): Doc fix.
9437
9438 * ansi-color.el: Fix old URL.
9439
9440 2013-07-23 Michael R. Mauger <michael@mauger.com>
9441
9442 * progmodes/sql.el: Version 3.3
9443 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9444 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9445 (sql-interactive-remove-continuation-prompt): Rewrite, use
9446 functions above. Fix continuation prompt and complete output line
9447 handling.
9448 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9449 redirected output buffer.
9450 (sql-mode): Restore deleted code (Bug#13591).
9451
9452 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9453
9454 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9455
9456 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9457
9458 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9459
9460 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9461 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9462 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9463
9464 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9465
9466 * desktop.el (desktop-clear): Simplify; remove useless checks
9467 against invalid buffer names.
9468 (desktop-list*): Use cl-list*.
9469 (desktop-buffer-info, desktop-create-buffer): Simplify.
9470
9471 2013-07-23 Leo Liu <sdl.web@gmail.com>
9472
9473 * bookmark.el (bookmark-make-record): Restore NAME as a default
9474 value. (Bug#14933)
9475
9476 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9477
9478 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9479 extracted from autoload--insert-text.
9480 (autoload--insert-text): Remove.
9481 (autoload--print-cookie-text): New function, extracted from
9482 autoload--insert-cookie-text.
9483 (autoload--insert-cookie-text): Remove.
9484 (autoload-generate-file-autoloads): Adjust calls accordingly.
9485
9486 * winner.el (winner-hook-installed-p): Remove.
9487 (winner-mode): Simplify accordingly.
9488
9489 * subr.el (add-to-list): Fix compiler-macro when `append' is
9490 not constant. Don't use `cl-member' for the base case.
9491
9492 * progmodes/subword.el: Fix boundary case (bug#13758).
9493 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9494 own group.
9495 (subword-backward-regexp): Make it a constant.
9496 (subword-forward-internal): Don't treat a trailing capital as the
9497 beginning of a word.
9498
9499 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9500
9501 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9502 global value of tabulated-list-revert-hook (bug#14930).
9503
9504 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9505
9506 * desktop.el: Require 'cl-lib.
9507 (desktop-before-saving-frames-functions): New hook.
9508 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9509 for frames being saved. Rename from desktop--save-minibuffer-frames.
9510 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9511 Do not save frames with non-nil `desktop-dont-save' parameter.
9512 Filter out deleted frames.
9513 (desktop--find-frame): Use cl-find-if.
9514 (desktop--select-frame): Use cl-(first|second|third) to access values
9515 of desktop-mini.
9516 (desktop--make-frame): Use cl-delete-if.
9517 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9518 (desktop-restore-frames): Use cl-(first|second|third) to access values
9519 of desktop-mini. Look for visible frame at the end, not while
9520 restoring frames.
9521
9522 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9523 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9524 Use string-match-p, looking-at-p (bug#14927).
9525
9526 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9527
9528 * desktop.el (desktop-saved-frame-states):
9529 Rename from desktop--saved-states; all users changed.
9530 (desktop-save-frames): Rename from desktop--save-frames.
9531 Do not save state to desktop file.
9532 (desktop-save): Save desktop-saved-frame-states to desktop file
9533 and reset to nil.
9534 (desktop-restoring-frames-p): New function.
9535 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9536 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9537 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9538
9539 * desktop.el: Correctly restore iconified frames.
9540 (desktop--filter-iconified-position): New function.
9541 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9542
9543 2013-07-20 Glenn Morris <rgm@gnu.org>
9544
9545 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9546 Let `message' do the formatting.
9547 (def-gdb-preempt-display-buffer): Add explicit format.
9548
9549 * image-dired.el (image-dired-track-original-file):
9550 Use with-current-buffer.
9551 (image-dired-track-thumbnail): Use with-current-buffer.
9552 Avoid changing point of wrong window.
9553
9554 * image-dired.el (image-dired-track-original-file):
9555 Avoid changing point of wrong window. (Bug#14909)
9556
9557 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9558
9559 * progmodes/gdb-mi.el (gdb-done-or-error):
9560 Guard against "%" in gdb output. (Bug#14127)
9561
9562 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9563
9564 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9565 (Bug#14826)
9566
9567 * international/mule.el (coding-system-iso-2022-flags): Fix last
9568 change.
9569
9570 2013-07-20 Kenichi Handa <handa@gnu.org>
9571
9572 * international/mule.el (coding-system-iso-2022-flags):
9573 Add `8-bit-level-4'. (Bug#8522)
9574
9575 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9576
9577 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9578 (bug#14815).
9579
9580 * net/eww.el (eww-process-text-input): Allow inputting when the
9581 point is at the start of the line, as the properties aren't
9582 front-sticky.
9583
9584 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9585 degenerate widths.
9586
9587 2013-07-19 Richard Stallman <rms@gnu.org>
9588
9589 * epa.el (epa-popup-info-window): Doc fix.
9590
9591 * subr.el (split-string): New arg TRIM.
9592
9593 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9594
9595 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9596 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9597
9598 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9599
9600 * filenotify.el (file-notify--library): Rename from
9601 `file-notify-support'. Do not autoload. Adapt all uses.
9602 (file-notify-supported-p): New defun.
9603
9604 * autorevert.el (auto-revert-use-notify):
9605 Use `file-notify-supported-p' instead of `file-notify-support'.
9606 Adapt docstring.
9607 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9608
9609 * net/tramp.el (tramp-file-name-for-operation):
9610 Add `file-notify-supported-p'.
9611
9612 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9613 New defun.
9614 (tramp-sh-file-name-handler-alist): Add it as handler for
9615 `file-notify-supported-p '.
9616
9617 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9618 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9619 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9620 Add `ignore' as handler for `file-notify-*' functions.
9621
9622 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9623
9624 * simple.el (line-move-partial, line-move): Don't start vscroll or
9625 scroll-up if the current line is not taller than the window.
9626 (Bug#14881)
9627
9628 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9629
9630 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9631 highlight question marks in the method names as strings.
9632 (ruby-block-beg-keywords): Inline.
9633 (ruby-font-lock-keyword-beg-re): Extract from
9634 `ruby-font-lock-keywords'.
9635
9636 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9637
9638 * frame.el (blink-cursor-blinks): New defcustom.
9639 (blink-cursor-blinks-done): New defvar.
9640 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9641 (blink-cursor-timer-function): Check if number of blinks has been
9642 done on X and NS.
9643 (blink-cursor-suspend, blink-cursor-check): New defuns.
9644
9645 2013-07-15 Glenn Morris <rgm@gnu.org>
9646
9647 * edmacro.el (edmacro-format-keys): Fix previous change.
9648
9649 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9650
9651 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9652 The hack didn't work outside English locales anyway.
9653
9654 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9655
9656 * simple.el (define-alternatives): Rename from alternatives-define,
9657 per RMS' suggestion.
9658
9659 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9660
9661 * desktop.el (desktop-restore-frames): Change default to t.
9662 (desktop-restore-in-current-display): Now offer more options.
9663 (desktop-restoring-reuses-frames): New customization option.
9664 (desktop--saved-states): Doc fix.
9665 (desktop-filter-parameters-alist): New variable, renamed and expanded
9666 from desktop--excluded-frame-parameters.
9667 (desktop--target-display): New variable.
9668 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9669 (desktop--filter-tty*, desktop--filter-*-color)
9670 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9671 (desktop--filter-save-desktop-parm)
9672 (desktop-restore-in-original-display-p): New functions.
9673 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9674 (desktop--save-minibuffer-frames): New function, inspired by a similar
9675 function from Martin Rudalics.
9676 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9677 (desktop--restore-in-this-display-p): Remove.
9678 (desktop--find-frame): Rename from desktop--find-frame-in-display
9679 and add predicate argument.
9680 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9681 (desktop--reuse-list): New variable.
9682 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9683 New functions.
9684 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9685
9686 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9687
9688 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9689
9690 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9691
9692 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9693 Highlight conversion methods on Kernel.
9694
9695 2013-07-13 Alan Mackenzie <acm@muc.de>
9696
9697 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9698 and comment it out. This out-commenting enables certain C++
9699 declarations to be parsed correctly.
9700
9701 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9702
9703 * international/mule.el (define-coding-system): Doc fix.
9704
9705 * simple.el (default-font-height): Don't call font-info if the
9706 frame's default font didn't change since the frame was created.
9707 (Bug#14838)
9708
9709 2013-07-13 Leo Liu <sdl.web@gmail.com>
9710
9711 * ido.el (ido-read-file-name): Guard against non-symbol value.
9712
9713 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9714
9715 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9716 in nested defuns.
9717
9718 2013-07-13 Leo Liu <sdl.web@gmail.com>
9719
9720 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9721 ido-set-matches call. (Bug#6852)
9722
9723 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9724
9725 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9726 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9727 Ruby 2.0.
9728 (ruby-font-lock-keywords): Distinguish calls to functions with
9729 module-like names from module references. Highlight character
9730 literals.
9731
9732 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9733
9734 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9735 (gdb-send): Handle continued commands. (Bug#14847)
9736
9737 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9738
9739 * desktop.el (desktop--v2s): Remove unused local variable.
9740 (desktop-save-buffer): Make defvar-local; adjust docstring.
9741 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9742 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9743
9744 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9745
9746 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9747
9748 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9749
9750 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9751 (Bug#14842)
9752
9753 2013-07-12 Glenn Morris <rgm@gnu.org>
9754
9755 * doc-view.el: Require cl-lib at runtime too.
9756 (doc-view-remove-if): Remove.
9757 (doc-view-search-next-match, doc-view-search-previous-match):
9758 Use cl-remove-if.
9759
9760 * edmacro.el: Require cl-lib at runtime too.
9761 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9762 (edmacro-mismatch, edmacro-subseq): Remove.
9763
9764 * shadowfile.el: Require cl-lib.
9765 (shadow-remove-if): Remove.
9766 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9767 Use cl-remove-if.
9768
9769 * wid-edit.el: Require cl-lib.
9770 (widget-choose): Use cl-remove-if.
9771 (widget-remove-if): Remove.
9772
9773 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9774 (ebrowse-delete-if-not): Remove.
9775 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9776 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9777 Use cl-delete-if-not.
9778
9779 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9780
9781 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9782 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9783
9784 2013-07-12 Leo Liu <sdl.web@gmail.com>
9785
9786 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9787
9788 2013-07-11 Glenn Morris <rgm@gnu.org>
9789
9790 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9791 (edebug-gensym-index, edebug-gensym):
9792 Remove reimplementation of cl-gensym.
9793 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9794
9795 * thumbs.el: Require cl-lib at run-time too.
9796 (thumbs-gensym-counter, thumbs-gensym):
9797 Remove reimplementation of cl-gensym.
9798 (thumbs-temp-file): Use cl-gensym.
9799
9800 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9801 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9802 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9803 (ert--union, ert--gensym-counter, ert--gensym-counter)
9804 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9805 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9806 (ert-make-test-unbound, ert--expand-should-1)
9807 (ert--expand-should, ert--should-error-handle-error)
9808 (should-error, ert--explain-equal-rec)
9809 (ert--plist-difference-explanation, ert-select-tests)
9810 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9811 Use cl-lib functions rather than reimplementations.
9812
9813 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9814
9815 * net/tramp.el (tramp-methods): Extend docstring.
9816 (tramp-connection-timeout): New defcustom.
9817 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9818 (with-tramp-progress-reporter): Simplify.
9819 (tramp-process-actions): Improve messages.
9820
9821 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9822 * net/tramp-sh.el (tramp-maybe-open-connection):
9823 Use `tramp-connection-timeout'.
9824 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9825 (Bug#14808)
9826
9827 2013-07-11 Leo Liu <sdl.web@gmail.com>
9828
9829 * ido.el (ido-read-file-name): Conform to the requirements of
9830 read-file-name. (Bug#11861)
9831 (ido-read-directory-name): Conform to the requirements of
9832 read-directory-name.
9833
9834 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9835
9836 * subr.el (delay-warning): New function.
9837
9838 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9839
9840 * simple.el (default-line-height): New function.
9841 (line-move-partial, line-move): Use it instead of computing the
9842 line height inline.
9843 (line-move-partial): Always compute ROWH. If the last line is
9844 partially-visible, but its text is completely visible, allow
9845 cursor to enter such a partially-visible line.
9846
9847 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9848
9849 Improve error messages. (Bug#14808)
9850
9851 * net/tramp.el (tramp-current-connection): New defvar, moved from
9852 tramp-sh.el.
9853 (tramp-message-show-progress-reporter-message): Remove, not
9854 needed anymore.
9855 (tramp-error-with-buffer): Show message in minibuffer.
9856 Discard input before waiting. Reset connection timestamp.
9857 (with-tramp-progress-reporter): Improve messages.
9858 (tramp-process-actions): Use progress reporter. Delete process in
9859 case of error. Improve messages.
9860
9861 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9862 Call `tramp-error-with-buffer' with vector and buffer.
9863 (tramp-current-connection): Remove.
9864 (tramp-maybe-open-connection): The car of
9865 `tramp-current-connection' are the first 3 slots of the vector.
9866
9867 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9868
9869 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9870 inside continued strings.
9871
9872 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9873
9874 Timestamp fixes for undo (Bug#14824).
9875 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9876
9877 2013-07-10 Leo Liu <sdl.web@gmail.com>
9878
9879 * files.el (require-final-newline): Allow safe local value.
9880 (Bug#14834)
9881
9882 2013-07-09 Leo Liu <sdl.web@gmail.com>
9883
9884 * ido.el (ido-read-directory-name): Handle fallback.
9885 (ido-read-file-name): Update DIR to ido-current-directory.
9886 (Bug#1516)
9887 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9888
9889 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9890
9891 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9892 "autoload". Remove "warn lower camel case" section, previously
9893 commented out. Highlight negation char. Do not highlight the
9894 target in singleton method definitions.
9895
9896 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9897
9898 * faces.el (tty-setup-hook): Declare the hook.
9899
9900 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9901 and detect when a guard/pred depends on local vars (bug#14773).
9902 (pcase--u1): Adjust caller.
9903
9904 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9905
9906 * simple.el (line-move-partial, line-move): Account for
9907 line-spacing.
9908 (line-move-partial): Avoid setting vscroll when the last
9909 partially-visible line in window is of default height.
9910
9911 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9912
9913 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9914 been used a while.
9915
9916 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9917
9918 * subr.el (read-quoted-char): Remove unused local variable `char'.
9919
9920 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9921
9922 * ediff.el (ediff-version): Version update.
9923 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9924 (ediff-merge-with-ancestor-command, ediff-directories-command)
9925 (ediff-directories3-command, ediff-merge-directories-command)
9926 (ediff-merge-directories-with-ancestor-command): New functions.
9927 All are command-line interfaces to ediff: to facilitate calling
9928 Emacs with the appropriate ediff functions invoked.
9929
9930 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9931 (viper-save-kill-buffer): Check if buffer is modified.
9932
9933 * viper.el (viper-version): Version update.
9934 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9935
9936 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9937
9938 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9939 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9940 (viper-intercept-ESC-key): Simplify.
9941 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9942 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9943 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9944 (viper-setup-ESC-to-escape): New functions.
9945 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9946 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9947
9948 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9949
9950 * simple.el (default-font-height, window-screen-lines):
9951 New functions.
9952 (line-move, line-move-partial): Use them instead of
9953 frame-char-height and window-text-height. This makes scrolling
9954 text smoother when the buffer's default face uses a font that is
9955 different from the frame's default font.
9956
9957 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9958
9959 * files.el (write-file): Do not display confirm dialog for NS,
9960 it does its own dialog, which can't be canceled (Bug#14578).
9961
9962 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9963
9964 * simple.el (line-move-partial): Adjust the row returned by
9965 posn-at-point for the current window-vscroll. (Bug#14567)
9966
9967 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9968
9969 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9970 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9971 spaces.
9972
9973 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9974
9975 * window.el (window-state-put-stale-windows): New variable.
9976 (window--state-put-2): Save list of windows without matching buffer.
9977 (window-state-put): Remove "bufferless" windows if possible.
9978
9979 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9980
9981 * simple.el (alternatives-define): Remove leftover :group keyword.
9982 Tweak docstring.
9983
9984 2013-07-06 Leo Liu <sdl.web@gmail.com>
9985
9986 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9987 (ido-enable-virtual-buffers): New variable.
9988 (ido-buffer-internal, ido-toggle-virtual-buffers)
9989 (ido-make-buffer-list): Use it.
9990 (ido-exhibit): Support turning on and off virtual buffers
9991 automatically.
9992
9993 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9994
9995 * simple.el (alternatives-define): New macro.
9996
9997 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9998
9999 * subr.el (read-quoted-char): Use read-key.
10000 (sit-for): Let read-event decode tty input (bug#14782).
10001
10002 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
10003
10004 * calendar/todo-mode.el: Add handling of file deletion, both by
10005 mode command and externally. Fix various related bugs.
10006 Clarify Commentary and improve some documentation strings and code.
10007 (todo-delete-file): New command.
10008 (todo-check-file): New function.
10009 (todo-show): Handle external deletion of the file we're trying to
10010 show (bug#14688). Replace called-interactively-p by an optional
10011 prefix argument to avoid problematic interaction with catch form
10012 when byte compiled (bug#14702).
10013 (todo-quit): Handle external deletion of the archive's todo file.
10014 Make sure the buffer that was visiting the archive file is still
10015 live before trying to bury it.
10016 (todo-category-completions): Handle external deletion of any
10017 category completion files.
10018 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10019 of todo files, in case of external deletion.
10020 (todo-add-file): Replace unnecessary setq by let-binding.
10021 (todo-find-archive): Check whether there are any archives.
10022 Replace unnecessary setq by let-binding.
10023 (todo-archive-done-item): Use find-file-noselect to get the
10024 archive buffer whether or not the archive already exists.
10025 Remove superfluous code. Use file size instead of buffer-file-name to
10026 check if the archive is new; if it is, update list of archives.
10027 (todo-default-todo-file): Allow nil to be a valid value for when
10028 there are no todo files.
10029 (todo-reevaluate-default-file-defcustom): Use corrected definition
10030 of todo-default-todo-file.
10031 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10032 (todo-delete-category, todo-show-categories-table)
10033 (todo-category-number): Clarify comment.
10034 (todo-filter-items): Clarify documentation string.
10035 (todo-show-current-file, todo-display-as-todo-file)
10036 (todo-reset-and-enable-done-separator): Tweak documentation string.
10037 (todo-done-separator): Make separator length window-width, since
10038 bug#2749 is now fixed.
10039
10040 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
10041
10042 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10043 Support both "gvfs-monitor-dir" and "inotifywait".
10044 (tramp-sh-file-inotifywait-process-filter): Rename from
10045 `tramp-sh-file-notify-process-filter'.
10046 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10047 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10048
10049 2013-07-05 Leo Liu <sdl.web@gmail.com>
10050
10051 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10052
10053 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10054
10055 * frame.el (display-pixel-height, display-pixel-width)
10056 (display-mm-height, display-mm-width): Mention behavior on
10057 multi-monitor setups in docstrings.
10058 (w32-display-monitor-attributes-list): Declare function.
10059 (display-monitor-attributes-list): Use it.
10060
10061 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
10062
10063 * filenotify.el: New package.
10064
10065 * autorevert.el (top): Require filenotify.el.
10066 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10067 instead.
10068 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10069 (auto-revert-notify-handler): Use `file-notify-*' functions.
10070
10071 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10072
10073 * net/tramp.el (tramp-file-name-for-operation):
10074 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10075
10076 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10077 for `file-notify-add-watch' and `file-notify-rm-watch'.
10078 (tramp-process-sentinel): Improve trace.
10079 (tramp-sh-handle-file-notify-add-watch)
10080 (tramp-sh-file-notify-process-filter)
10081 (tramp-sh-handle-file-notify-rm-watch)
10082 (tramp-get-remote-inotifywait): New defuns.
10083
10084 2013-07-03 Juri Linkov <juri@jurta.org>
10085
10086 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10087 call of `occur-read-primary-args' to interactive spec.
10088
10089 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10090 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10091
10092 2013-07-03 Matthias Meulien <orontee@gmail.com>
10093
10094 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10095 `Buffer-menu-multi-occur'. Add it to the menu.
10096 (Buffer-menu-mode): Document it in docstring.
10097 (Buffer-menu-multi-occur): New command. (Bug#14673)
10098
10099 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10100
10101 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10102 keywords and built-ins.
10103
10104 2013-07-03 Glenn Morris <rgm@gnu.org>
10105
10106 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10107
10108 Make info-xref checks case-sensitive by default
10109 * info.el (Info-find-node, Info-find-in-tag-table)
10110 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10111 Add option for exact case matching of nodes.
10112 * info-xref.el (info-xref): New custom group.
10113 (info-xref-case-fold): New option.
10114 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10115
10116 2013-07-03 Leo Liu <sdl.web@gmail.com>
10117
10118 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10119
10120 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10121
10122 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10123 middle of block statement initially, lower the depth. Remove
10124 FIXME comment, not longer valid. Remove middle of block statement
10125 detection, no need to do that anymore since we've been using
10126 `ruby-parse-region' here.
10127
10128 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10129
10130 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10131
10132 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
10133
10134 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10135
10136 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
10137
10138 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10139 (desktop-restore-in-current-display): New customization option.
10140 (desktop--excluded-frame-parameters): Add `font'.
10141 (desktop--save-frames): Rename from desktop--save-windows.
10142 (desktop--restore-in-this-display-p): New function.
10143 (desktop--make-full-frame): Remove unwanted width/height from
10144 full(width|height) frames.
10145 (desktop--restore-frames): Rename from desktop--restore-windows.
10146 Obey desktop-restore-current-display. Do not delete old frames or
10147 select a new frame unless we were able to restore at least one frame.
10148
10149 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
10150
10151 * files.el (find-file-noselect): Simplify conditional expression.
10152
10153 * textmodes/remember.el (remember-append-to-file):
10154 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10155
10156 Add `remember-notes' function to store random notes across Emacs
10157 restarts.
10158 * textmodes/remember.el (remember-data-file): Add :set callback to
10159 affect notes buffer (if any).
10160 (remember-notes): New command.
10161 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10162 New defcustoms for the `remember-notes' function.
10163 (remember-notes-save-and-bury-buffer): New command.
10164 (remember-notes-mode-map): New variable.
10165 (remember-mode): New minor mode.
10166 (remember-notes--kill-buffer-query): New function.
10167 * startup.el (initial-buffer-choice): Add notes to custom type.
10168
10169 2013-06-30 Eli Zaretskii <eliz@gnu.org>
10170
10171 * bindings.el (right-char, left-char): Don't call sit-for, this is
10172 no longer needed. Use arithmetic comparison only for numerical
10173 arguments.
10174
10175 * international/mule-cmds.el (select-safe-coding-system):
10176 Handle the case of FROM being a string correctly. (Bug#14755)
10177
10178 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10179
10180 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10181 progression on degenerate tables.
10182 (shr-rescale-image): ImageMagick animated images currently don't work.
10183
10184 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
10185
10186 Some fixes and improvements for desktop frame restoration.
10187 It is still experimental and disabled by default.
10188 * desktop.el (desktop--save-windows): Put the selected frame at
10189 the head of the list.
10190 (desktop--make-full-frame): New function.
10191 (desktop--restore-windows): Try to re-select the frame that was
10192 selected upon saving. Do not abort if some frames fail to restore,
10193 just show an error message and continue. Set up maximized frames
10194 so they have default non-maximized dimensions.
10195
10196 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10197
10198 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10199 Don't start heredoc inside a string or comment.
10200
10201 2013-06-29 Eli Zaretskii <eliz@gnu.org>
10202
10203 * bindings.el (visual-order-cursor-movement): New defcustom.
10204 (right-char, left-char): Provide visual-order cursor motion by
10205 calling move-point-visually. Update the doc strings.
10206
10207 2013-06-28 Kenichi Handa <handa@gnu.org>
10208
10209 * international/mule.el (define-coding-system): New coding system
10210 properties :inhibit-null-byte-detection,
10211 :inhibit-iso-escape-detection, and :prefer-utf-8.
10212 (set-buffer-file-coding-system): If :charset-list property of
10213 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10214 appropriate for setting.
10215
10216 * international/mule-cmds.el (select-safe-coding-system):
10217 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10218 multibyte characters, return utf-8 (or one of its siblings).
10219
10220 * international/mule-conf.el (prefer-utf-8): New coding system.
10221 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10222 files.
10223
10224 2013-06-28 Ivan Kanis <ivan@kanis.fr>
10225
10226 * net/shr.el (shr-render-region): New function.
10227
10228 * net/eww.el: Autoload `eww-browse-url'.
10229
10230 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10231
10232 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10233 Adapt to `package-desc-version' being a list.
10234 Use `package--ac-desc-version' to retrieve version from a package
10235 archive element.
10236
10237 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
10238
10239 New experimental feature to save&restore window and frame setup.
10240 * desktop.el (desktop-save-windows): New defcustom.
10241 (desktop--saved-states): New var.
10242 (desktop--excluded-frame-parameters): New defconst.
10243 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10244 (desktop--restore-windows, desktop--save-windows): New functions.
10245 (desktop-save): Call `desktop--save-windows'.
10246 (desktop-read): Call `desktop--restore-windows'.
10247
10248 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10249
10250 * net/shr.el (add-face-text-property): Remove compat definition.
10251
10252 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10253
10254 * info.el (Info-try-follow-nearest-node): Move search for footnote
10255 above search for node name to prevent missing a footnote (bug#14717).
10256
10257 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10258
10259 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10260
10261 2013-06-27 Leo Liu <sdl.web@gmail.com>
10262
10263 * net/eww.el (eww-read-bookmarks): Check file size.
10264
10265 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10266
10267 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10268 advice--pending if newdef is nil or an autoload (bug#13820).
10269 (advice-mapc): New function.
10270
10271 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10272
10273 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10274 probably.
10275 (eww-mode-map): Add a menu bar.
10276 (eww-add-bookmark): New command.
10277 (eww-bookmark-mode): New mode and commands.
10278 (eww-add-bookmark): Remove newlines from the title.
10279 (eww-bookmark-browse): Don't bug out if it's the only window.
10280
10281 2013-06-26 Glenn Morris <rgm@gnu.org>
10282
10283 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10284 (hfy-size): Handle ttys. (Bug#14668)
10285
10286 * info-xref.el: Update for Texinfo 5 change in *note format.
10287 (info-xref-node-re, info-xref-note-re): New constants.
10288 (info-xref-check-buffer): Use info-xref-note-re.
10289
10290 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10291
10292 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10293
10294 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10295 nil terminate the loop (bug#14718).
10296
10297 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10298
10299 * net/eww.el: Rework history traversal. When going forward/back,
10300 put these actions into the history, too, so that they can be
10301 replayed.
10302 (eww-render): Move the history reset to the correct buffer.
10303
10304 2013-06-25 Juri Linkov <juri@jurta.org>
10305
10306 * files-x.el (modify-dir-local-variable): Change the header comment
10307 in the file with directory local variables. (Bug#14692)
10308
10309 * files-x.el (read-file-local-variable-value): Add `default'.
10310 (Bug#14710)
10311
10312 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10313
10314 * net/eww.el (eww-make-unique-file-name): Create a unique file
10315 name before saving to entering `y' accidentally asynchronously.
10316
10317 2013-06-25 Ivan Kanis <ivan@kanis.fr>
10318
10319 * net/eww.el (eww-download): New command and keystroke.
10320
10321 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10322
10323 * net/eww.el (eww-copy-page-url): Change name of command.
10324
10325 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10326 be more consistent with Info and dired.
10327
10328 * net/eww.el (eww-mode-map): Ditto.
10329
10330 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10331
10332 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10333 packages from archives.
10334 (package-archive-contents): Change format; include obsolete packages.
10335 (package-desc): Use `dir' to mark builtin packages.
10336 (package--from-builtin): Set the `dir' field to `builtin'.
10337 (generated-autoload-file, version-control): Declare.
10338 (package-compute-transaction): Change first arg and return value to be
10339 lists of package-descs. Adjust to new package-archive-contents format.
10340 (package--add-to-archive-contents): Adjust to new
10341 package-archive-contents format.
10342 (package-download-transaction): Arg is now a list of package-descs.
10343 (package-install): If `pkg' is a package name, pass it as
10344 a requirement, so it is subject to the usual (e.g. disabled) checks.
10345 (describe-package): Accept package-desc as well.
10346 (describe-package-1): Describe a specific package-desc. Add links to
10347 other package-descs for the same package name.
10348 (package-menu-describe-package): Pass the actual package-desc.
10349 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10350 works correctly.
10351 (package-desc-status): New function.
10352 (package-menu--refresh): New function, extracted
10353 from package-menu--generate.
10354 (package-menu--generate): Use it.
10355 (package-delete): Update package-alist.
10356 (package-menu-execute): Don't call package-initialize.
10357
10358 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10359 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10360 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10361 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10362 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10363 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10364
10365 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10366
10367 * window.el (window--state-get-1): Workaround for bug#14527.
10368 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10369
10370 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10371
10372 * net/eww.el (eww-back-url): Implement the history by stashing all
10373 the data into a list.
10374 (eww-forward-url): Allow going forward in the history, too.
10375
10376 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10377
10378 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10379 for values and use read--expression for expressions (bug#14710).
10380 (read-file-local-variable): Avoid setq.
10381 (read-file-local-variable-mode): Use minor-mode-list.
10382
10383 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10384
10385 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10386 for DOI URLs.
10387
10388 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10389
10390 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10391 Update imenu-support when dialect changes.
10392
10393 2013-06-25 Leo Liu <sdl.web@gmail.com>
10394
10395 * ido.el (ido-read-internal): Allow forward slash on windows.
10396
10397 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10398
10399 * net/eww.el (eww): Start of strings is \\`, not ^.
10400
10401 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10402
10403 * net/shr.el (shr-browse-url): Fix interactive spec.
10404
10405 * net/eww.el (eww): Add a trailing slash to domain names.
10406
10407 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10408
10409 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10410
10411 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10412
10413 * net/shr.el (shr-browse-url): Use an external browser if given a
10414 prefix.
10415
10416 * net/eww.el (eww-external-browser): Move to shr.
10417
10418 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10419
10420 * net/eww.el (eww): Work more correctly for file: URLs.
10421 (eww-detect-charset): Allow quoted charsets.
10422 (eww-yank-page-url): New command and keystroke.
10423
10424 2013-06-24 Daiki Ueno <ueno@gnu.org>
10425
10426 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10427 file name of gpg executable.
10428 (epg-context-program): New function.
10429 (epg-context-home-directory): New function.
10430 (epg-context-set-program): New function.
10431 (epg-context-set-home-directory): New function.
10432 (epg--start): Use `epg-context-program' instead of
10433 'epg-gpg-program'.
10434 (epg--list-keys-1): Likewise.
10435
10436 2013-06-24 Leo Liu <sdl.web@gmail.com>
10437
10438 * ido.el (ido-read-internal): Fix bug#14620.
10439
10440 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10441
10442 * faces.el (face-documentation): Simplify.
10443 (read-face-attribute, tty-find-type, x-resolve-font-name):
10444 Use `string-match-p'.
10445 (list-faces-display): Use `string-match-p'. Simplify.
10446 (face-spec-recalc): Check face to avoid face alias loops.
10447 (read-color): Use `string-match-p' and non-capturing parenthesis.
10448
10449 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10450
10451 * net/shr.el (shr-rescale-image): Use the new
10452 :max-width/:max-height functionality.
10453
10454 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10455
10456 * net/eww.el (eww-search-prefix): New variable.
10457 (eww): Use it.
10458 (eww-external-browser): New variable.
10459 (eww-mode-map): New keystroke.
10460 (eww-browse-with-external-browser): New command.
10461
10462 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10463
10464 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10465
10466 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10467 Don't skip aligning the next header field when padding is 0;
10468 otherwise, field width is not respected unless the title is as
10469 wide as the field.
10470
10471 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10472
10473 * emacs-lisp/package.el (package-el-version): Remove.
10474 (package-process-define-package): Fix inf-loop.
10475 (package-install): Allow symbols as arguments again.
10476
10477 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10478
10479 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10480 add some more keyword-like methods.
10481 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10482
10483 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10484
10485 * bs.el (bs-buffer-show-mark): Make defvar-local.
10486 (bs-mode): Use setq-local.
10487
10488 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10489 (emacs-lock--try-unlocking): Make defvar-local.
10490
10491 2013-06-22 Glenn Morris <rgm@gnu.org>
10492
10493 * play/cookie1.el (cookie-apropos): Minor simplification.
10494
10495 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10496
10497 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10498
10499 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10500 `regexp-opt', it breaks the build during dumping.
10501
10502 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10503
10504 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10505 Highlight keyword-like methods on Kernel and Module with
10506 font-lock-builtin-face.
10507 (auto-mode-alist): Consolidate different entries into one regexp
10508 and add more *file-s.
10509
10510 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10511
10512 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10513
10514 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10515 (diary-entry): Use it in the action of this button type instead of
10516 diary-goto-entry.
10517
10518 * calendar/todo-mode.el: New version.
10519 (todo-add-category): Append new category to end of file and give
10520 it the highest number, instead of putting it at the beginning and
10521 giving it 0. Incorporate noninteractive functionality.
10522 (todo-forward-category): Adapt to 1-based category numbering.
10523 Allow skipping over archived categories.
10524 (todo-backward-category): Derive from todo-forward-category.
10525 (todo-backward-item, todo-forward-item): Make noninteractive and
10526 delegate interactive part to new commands. Make sensitive to done items.
10527 (todo-categories): Make value an alist of category names and
10528 vectors of item counts.
10529 (todo-category-beg): Make a defconst.
10530 (todo-category-number): Use 1 instead of 0 as initial value.
10531 (todo-category-select): Make sensitive to overlays, optional item
10532 highlighting and done items.
10533 (todo-delete-item): Make sensitive to overlays and marked and done items.
10534 (todo-edit-item): Make sensitive to overlays and editing of
10535 date/time header optional. Add format checks.
10536 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10537 no-op if point is not on an item. Advertise using todo-edit-quit.
10538 (todo-edit-mode): Make sensitive to new format, font-locking, and
10539 multiple todo files.
10540 (todo-insert-item, todo-insert-item-here): Derive from
10541 todo-basic-insert-item and extend functionality.
10542 (todo-item-end, todo-item-start): Make sensitive to done items.
10543 (todo-item-string): Don't return text properties. Restore point.
10544 (todo-jump-to-category): Make sensitive to multiple todo files and
10545 todo archives. Use extended category completion.
10546 (todo-lower-item, todo-raise-item): Rename to *-priority and
10547 derive from todo-set-item-priority.
10548 (todo-mode): Derive from special-mode. Make sensitive to new
10549 format, font-locking and multiple todo files. Make read-only.
10550 (todo-mode-map): Don't suppress digit keys, so they can supply
10551 prefix arguments. Add many new key bindings.
10552 (todo-prefix): Insert as an overlay instead of file text.
10553 Change semantics from diary date expression to purely visual mark.
10554 (todo-print): Rename to todo-print-buffer. Make buffer display
10555 features printable. Remove option to restrict number of items
10556 printed. Add option to print to file.
10557 (todo-print-function): Rename to todo-print-buffer-function.
10558 (todo-quit): Extend to handle exiting new todo modes.
10559 (todo-remove-item): Make sensitive to overlays.
10560 (todo-save): Extend to buffers of filtered items.
10561 (todo-show): Make sensitive to done items, multiple todo files and
10562 new todo modes. Offer to convert legacy todo file before creating
10563 first new todo file.
10564 (todo-show-priorities): Rename to todo-top-priorities.
10565 Change semantics of value 0.
10566 (todo-top-priorities): Rename to todo-filter-top-priorities,
10567 derive from todo-filter-items and extend functionality.
10568 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10569 and extend functionality to other types of filtered items.
10570 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10571 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10572 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10573 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10574 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10575 (todo-edit-mode-hook, todo-entry-prefix-function)
10576 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10577 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10578 (todo-initials, todo-insert-threshold, todo-item-string-start)
10579 (todo-line-string, todo-menu, todo-mode-hook)
10580 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10581 (todo-print-priorities, todo-remove-separator)
10582 (todo-save-top-priorities-too, todo-string-count-lines)
10583 (todo-string-multiline-p, todo-time-string-format)
10584 (todo-tmp-buffer-name): Remove.
10585 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10586 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10587 (todo-edit-category-diary-inclusion)
10588 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10589 (todo-edit-file, todo-edit-item-date-day)
10590 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10591 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10592 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10593 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10594 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10595 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10596 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10597 (todo-filter-top-priorities-multifile, todo-find-archive)
10598 (todo-find-filtered-items-file, todo-go-to-source-item)
10599 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10600 (todo-jump-to-archive-category, todo-lower-category)
10601 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10602 (todo-move-category, todo-move-item, todo-next-button)
10603 (todo-next-item, todo-padded-string, todo-powerset)
10604 (todo-previous-button, todo-previous-item)
10605 (todo-print-buffer-to-file, todo-raise-category)
10606 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10607 (todo-set-category-number, todo-set-item-priority)
10608 (todo-set-top-priorities-in-category)
10609 (todo-set-top-priorities-in-file, todo-show-categories-table)
10610 (todo-sort-categories-alphabetically-or-numerically)
10611 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10612 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10613 (todo-toggle-item-header, todo-toggle-item-highlighting)
10614 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10615 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10616 (todo-unarchive-items, todo-unmark-category): New commands.
10617 (todo-absolute-file-name, todo-add-to-buffer-list)
10618 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10619 (todo-basic-insert-item, todo-category-completions)
10620 (todo-category-number, todo-category-string-matcher-1)
10621 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10622 (todo-check-format, todo-clear-matches)
10623 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10624 (todo-current-category, todo-date-string-matcher)
10625 (todo-define-insertion-command, todo-diary-expired-matcher)
10626 (todo-diary-goto-entry, todo-diary-item-p)
10627 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10628 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10629 (todo-done-item-section-p, todo-done-separator)
10630 (todo-done-string-matcher, todo-files, todo-filter-items)
10631 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10632 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10633 (todo-insert-category-line, todo-insert-item-from-calendar)
10634 (todo-insert-sort-button, todo-insert-with-overlays)
10635 (todo-insertion-command-name, todo-insertion-key-bindings)
10636 (todo-label-to-key, todo-longest-category-name-length)
10637 (todo-make-categories-list, todo-mode-external-set)
10638 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10639 (todo-modes-set-3, todo-multiple-filter-files)
10640 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10641 (todo-read-category, todo-read-date, todo-read-dayname)
10642 (todo-read-file-name, todo-read-time)
10643 (todo-reevaluate-category-completions-files-defcustom)
10644 (todo-reevaluate-default-file-defcustom)
10645 (todo-reevaluate-filelist-defcustoms)
10646 (todo-reevaluate-filter-files-defcustom)
10647 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10648 (todo-reset-done-separator, todo-reset-done-separator-string)
10649 (todo-reset-done-string, todo-reset-global-current-todo-file)
10650 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10651 (todo-reset-prefix, todo-set-categories)
10652 (todo-set-date-from-calendar, todo-set-show-current-file)
10653 (todo-set-top-priorities, todo-short-file-name)
10654 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10655 (todo-total-item-counts, todo-update-buffer-list)
10656 (todo-update-categories-display, todo-update-categories-sexp)
10657 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10658 New functions.
10659 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10660 New major modes.
10661 (todo-categories, todo-display, todo-edit, todo-faces)
10662 (todo-filtered): New defgroups.
10663 (todo-archived-only, todo-button, todo-category-string, todo-date)
10664 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10665 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10666 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10667 (todo-add-item-if-new-category, todo-always-add-time-string)
10668 (todo-categories-align, todo-categories-archived-label)
10669 (todo-categories-category-label, todo-categories-diary-label)
10670 (todo-categories-done-label, todo-categories-number-separator)
10671 (todo-categories-todo-label, todo-categories-totals-label)
10672 (todo-category-completions-files, todo-completion-ignore-case)
10673 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10674 (todo-done-separator-string, todo-done-string)
10675 (todo-files-function, todo-filter-done-items, todo-filter-files)
10676 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10677 (todo-initial-category, todo-initial-file, todo-item-mark)
10678 (todo-legacy-date-time-regexp, todo-mode-line-function)
10679 (todo-nondiary-marker, todo-number-prefix)
10680 (todo-print-buffer-function, todo-show-current-file)
10681 (todo-show-done-only, todo-show-first, todo-show-with-done)
10682 (todo-skip-archived-categories, todo-top-priorities-overrides)
10683 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10684 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10685 New defcustoms.
10686 (todo-category-done, todo-date-pattern, todo-date-string-start)
10687 (todo-diary-items-buffer, todo-done-string-start)
10688 (todo-filtered-items-buffer, todo-item-start)
10689 (todo-month-abbrev-array, todo-month-name-array)
10690 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10691 (todo-top-priorities-buffer): New defconsts.
10692 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10693 (todo-categories-with-marks, todo-category-string-face)
10694 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10695 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10696 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10697 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10698 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10699 (todo-font-lock-keywords, todo-global-current-todo-file)
10700 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10701 (todo-insertion-commands-args)
10702 (todo-insertion-commands-args-genlist)
10703 (todo-insertion-commands-names, todo-insertion-map)
10704 (todo-key-bindings-t, todo-key-bindings-t+a)
10705 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10706 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10707 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10708 (todo-visited): New variables.
10709
10710 2013-06-21 Glenn Morris <rgm@gnu.org>
10711
10712 * play/cookie1.el (cookie-apropos): Add optional display argument.
10713 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10714 (psychoanalyze-pinhead): Use cookie-doctor.
10715
10716 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10717
10718 * emacs-lisp/package.el (tar-get-file-descriptor)
10719 (tar--extract): Declare.
10720
10721 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10722
10723 Extend flymake's warning predicate to be a function (bug#14217).
10724 * progmodes/flymake.el (flymake-warning-predicate): New.
10725 (flymake-parse-line): Use it.
10726 (flymake-warning-re): Make obsolete alias to
10727 `flymake-warning-predicate'.
10728
10729 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10730
10731 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10732 (package-obsolete-list): Remove.
10733 (package-activate): Remove min-version argument. Add `force' argument.
10734 Adjust to new package-alist format.
10735 (package-mark-obsolete): Remove.
10736 (package-unpack): Force reload of the package's autoloads.
10737 (package-installed-p): Check builtins if the installed package is not
10738 recent enough.
10739 (package-initialize): Don't reset package-obsolete-list.
10740 Don't specify which package version to activate.
10741 (package-process-define-package, describe-package-1)
10742 (package-menu--generate): Adjust to new package-alist format.
10743
10744 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10745
10746 * allout-widgets.el (allout-widgets-mode-off)
10747 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10748 (allout-widgets-post-command-business)
10749 (allout-widgets-after-copy-or-kill-function)
10750 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10751 (allout-decorate-item-and-context)
10752 (allout-graphics-modification-handler): Fix typos in docstrings.
10753 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10754
10755 * cmuscheme.el (scheme-start-file): Doc fix.
10756 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10757 (scheme-input-filter): Use `string-match-p'.
10758
10759 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10760
10761 * dired-x.el: Use Dired consistently in docstrings.
10762
10763 * dired.el: Use Dired consistently in docstrings.
10764 (dired-readin, dired-mode): Use `setq-local'.
10765 (dired-switches-alist): Make defvar-local.
10766 (dired-buffers-for-dir): Use `zerop'.
10767 (dired-safe-switches-p, dired-switches-escape-p)
10768 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10769 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10770 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10771 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10772 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10773 (dired-toggle-marks, dired-mark-files-containing-regexp)
10774 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10775 (dired-flag-auto-save-files, dired-flag-backup-files):
10776 Use `looking-at-p'.
10777 (dired-mark-files-regexp, dired-build-subdir-alist):
10778 Use `string-match-p', `looking-at-p'.
10779
10780 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10781 (direct-print-region-helper): Use `string-match-p'.
10782
10783 2013-06-21 Leo Liu <sdl.web@gmail.com>
10784
10785 * comint.el (comint-redirect-results-list-from-process):
10786 Fix infinite loop.
10787
10788 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10789
10790 * net/eww.el (eww-update-header-line-format): Quote % characters.
10791
10792 2013-06-21 Glenn Morris <rgm@gnu.org>
10793
10794 * play/cookie1.el (cookie): New custom group.
10795 (cookie-file): New option.
10796 (cookie-check-file): New function.
10797 (cookie): Make it interactive. Make start and end messages optional.
10798 Interactively, display the result. Default to cookie-file.
10799 (cookie-insert): Default to cookie-file.
10800 (cookie-snarf): Make start and end messages optional.
10801 Default to cookie-file. Use with-temp-buffer.
10802 (cookie-read): Rename from read-cookie.
10803 Make start and end messages optional. Default to cookie-file.
10804 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10805 Do not autoload it.
10806 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10807 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10808
10809 2013-06-21 Leo Liu <sdl.web@gmail.com>
10810
10811 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10812
10813 2013-06-21 Glenn Morris <rgm@gnu.org>
10814
10815 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10816
10817 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10818 Daniel Hackney <dan@haxney.org>
10819
10820 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10821 Consolidate the single-file vs tarball code.
10822 (package-desc-suffix): New function.
10823 (package-desc-full-name): Don't bother inlining it.
10824 (package-load-descriptor): Return the new package-desc.
10825 (package-mark-obsolete): Remove unused arg `package'.
10826 (package-unpack): Make it work for single files as well.
10827 Make it update package-alist.
10828 (package--make-autoloads-and-stuff): Rename from
10829 package--make-autoloads-and-compile. Don't compile any more.
10830 (package--compile): New function.
10831 (package-generate-description-file): New function, extracted from
10832 package-unpack-single.
10833 (package-unpack-single): Remove.
10834 (package--with-work-buffer): Add indentation and debugging info.
10835 (package-download-single): Remove.
10836 (package-install-from-archive): Rename from package-download-tar, make
10837 it take a pkg-desc, and make it work for single files as well.
10838 (package-download-transaction): Simplify.
10839 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10840 external tar program.
10841 (package-install-from-buffer): Remove `pkg-desc' argument.
10842 Use package-tar-file-info for tar-mode buffers.
10843 (package-install-file): Simplify accordingly.
10844 (package-archive-base): Change to take a pkg-desc.
10845 * tar-mode.el (tar--check-descriptor): New function, extracted from
10846 tar-get-descriptor.
10847 (tar-get-descriptor): Use it.
10848 (tar-get-file-descriptor): New function.
10849 (tar--extract): New function, extracted from tar-extract.
10850 (tar--extract): Use it.
10851 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10852 case the summary uses non-ascii. Adjust to new calling convention of
10853 package-tar-file-info.
10854
10855 2013-06-21 Leo Liu <sdl.web@gmail.com>
10856
10857 * comint.el (comint-redirect-results-list-from-process):
10858 Fix random delay. (Bug#14681)
10859
10860 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10861
10862 * profiler.el (profiler-format-number): Use log, not log10.
10863
10864 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10865
10866 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10867
10868 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10869
10870 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10871 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10872 yet available.
10873 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10874 (AUTOGENEL): ... here.
10875 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10876 (cl--defsubst-expand): Use it.
10877
10878 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10879
10880 * subr.el (log10): Move here from C code, and declare as obsolete.
10881 All uses of (log10 X) replaced with (log X 10).
10882
10883 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10884
10885 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10886 Declare with `defvar-local'.
10887 (tabulated-list-use-header-line, tabulated-list-entries)
10888 (tabulated-list-padding, tabulated-list-printer)
10889 (tabulated-list-sort-key): Declare with `defvar-local'.
10890 (tabulated-list-init-header, tabulated-list-print-fake-header):
10891 Use `setq-local'.
10892
10893 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10894
10895 * arc-mode.el (archive-mode): Add `archive-write-file' to
10896 `write-contents-functions' also for remote files. (Bug#14652)
10897
10898 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10899
10900 * cus-edit.el (custom-commands): Fix typos.
10901 (custom-display): Fix tooltip text.
10902 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10903 Fix typos in docstrings.
10904 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10905 (custom-unlispify-menu-entry, custom-magic-value-create)
10906 (custom-add-see-also, custom-group-value-create): Use ?\s.
10907 (custom-guess-type, customize-apropos, editable-field)
10908 (custom-face-value-create): Use `string-match-p'.
10909 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10910
10911 * custom.el (custom-load-symbol): Use `string-match-p'.
10912
10913 * ansi-color.el: Convert to lexical binding.
10914 (ansi-colors): Fix URL.
10915 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10916 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10917 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10918
10919 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10920
10921 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10922
10923 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10924
10925 2013-06-19 Tom Tromey <tromey@redhat.com>
10926
10927 * net/eww.el (eww-top-url): Remove.
10928 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10929 (eww-render): Set new variables. Don't set eww-top-url.
10930 (eww-handle-link): Handle "prev", "home", and "contents".
10931 Downcase the rel text.
10932 (eww-top-url): Choose best top URL.
10933
10934 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10935
10936 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10937 relying in widget.el. Using widget.el leads to too many
10938 user interface inconsistencies.
10939 (eww-self-insert): Implement entering commands in text fields.
10940 (eww-process-text-input): New function to make text input field editing
10941 work.
10942 (eww-submit): Rewrite to use the new-style form methods.
10943 (eww-select-display): Display the correct selected item.
10944 (eww-change-select): Implement changing the select value.
10945 (eww-toggle-checkbox): Implement radio/checkboxes.
10946 (eww-update-field): Fix compilation error.
10947 (eww-tag-textarea): Implement <textarea>.
10948
10949 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10950 we don't shadow mode-specific bindings.
10951
10952 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10953 nothing to push.
10954
10955 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10956
10957 2013-06-19 Glenn Morris <rgm@gnu.org>
10958
10959 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10960
10961 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10962
10963 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10964 not needed.
10965
10966 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10967
10968 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10969
10970 * net/browse-url.el (browse-url-browser-function):
10971 `eww-browse-url' has the right calling signature, `eww' does not.
10972
10973 2013-06-19 Glenn Morris <rgm@gnu.org>
10974
10975 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10976 Only eval autoloaded macros.
10977 (byte-compile-autoload): Only give the macro warning for macros.
10978
10979 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10980 (ps-underlined-faces): Declare.
10981
10982 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10983 (speedbar-add-supported-extension): Declare.
10984
10985 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10986 Don't include a date stamp in the header of the generated file;
10987 it leads to needless differences between output files.
10988
10989 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10990
10991 * net/secrets.el (secrets-struct-secret-content-type):
10992 Replace check of introspection data by a test call of "CreateItem".
10993 Some servers do not offer introspection.
10994
10995 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10996
10997 * electric.el (electric-pair-mode): Improve interaction with
10998 electric-layout-mode.
10999 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11000 (electric-pair-syntax): Use text-mode-syntax-table in comments
11001 and strings.
11002 (electric-pair--insert): New function.
11003 (electric-pair-post-self-insert-function): Use it and
11004 electric--after-char-pos.
11005
11006 2013-06-19 Leo Liu <sdl.web@gmail.com>
11007
11008 * progmodes/octave.el (octave-help): Fix regexp.
11009
11010 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11011
11012 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11013 (shr-table-horizontal-line): Allow nil as a value, and change the
11014 default.
11015 (shr-insert-table-ruler): Respect the nil value.
11016
11017 2013-06-18 Tom Tromey <tromey@barimba>
11018
11019 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11020 New defvars.
11021 (eww-open-file): New defun.
11022 (eww-render): Initialize new variables.
11023 (eww-display-html): Handle "link" and "a".
11024 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11025 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11026 (eww-back-url): Rename from eww-previous-url.
11027 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11028 New defuns.
11029
11030 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11031
11032 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11033 Distinguish ternary operator tokens from slash symbol and slash
11034 char literal.
11035
11036 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11037
11038 Convert symbol prettification into minor mode and global minor mode.
11039
11040 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11041 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11042 (prettify-symbols--keywords): Rename from
11043 `prog-prettify-symbols-alist' and make a local defvar.
11044 (prettify-symbols--compose-symbol): Rename from
11045 `prog--prettify-font-lock-compose-symbol'.
11046 (prettify-symbols--make-keywords): Rename from
11047 `prog-prettify-font-lock-symbols-keywords' and simplify.
11048 (prog-prettify-install): Remove.
11049 (prettify-symbols-mode): New minor mode, based on
11050 `prog-prettify-install'.
11051 (turn-on-prettify-symbols-mode): New function.
11052 (global-prettify-symbols-mode): New globalized minor mode.
11053
11054 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11055 * progmodes/cfengine.el (cfengine3-mode):
11056 * progmodes/perl-mode.el (perl-mode): Don't call
11057 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11058
11059 2013-06-18 Juri Linkov <juri@jurta.org>
11060
11061 * files-x.el (modify-file-local-variable-message): New function.
11062 (modify-file-local-variable)
11063 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11064 and call `modify-file-local-variable-message' when it's non-nil.
11065 (add-file-local-variable, delete-file-local-variable)
11066 (add-file-local-variable-prop-line)
11067 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11068 and use it. (Bug#9820)
11069
11070 2013-06-18 Juri Linkov <juri@jurta.org>
11071
11072 * emulation/vi.el (vi-shell-op):
11073 * emulation/vip.el (vip-execute-com, ex-command):
11074 * emulation/viper-cmd.el (viper-exec-bang):
11075 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11076 the call of `shell-command-on-region'. (Bug#14637)
11077
11078 * simple.el (shell-command-on-region): Doc fix.
11079
11080 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11081
11082 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11083 (bug#14633).
11084
11085 2013-06-18 Glenn Morris <rgm@gnu.org>
11086
11087 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11088
11089 * newcomment.el (comment-search-forward, comment-search-backward):
11090 Doc fix. (Bug#14376)
11091
11092 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11093
11094 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11095 (buffer-face-mode-invoke): Doc fix.
11096
11097 2013-06-18 Matthias Meulien <orontee@gmail.com>
11098
11099 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11100 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11101
11102 2013-06-18 Glenn Morris <rgm@gnu.org>
11103
11104 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11105 Replace obsolete function generic-make-keywords with its expansion.
11106
11107 * progmodes/python.el (ffap-alist): Declare.
11108
11109 * textmodes/reftex.el (bibtex-mode-map): Declare.
11110
11111 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11112
11113 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11114 (package-unpack, package-unpack-single): Return the pkg-dir.
11115 (package-download-transaction): Use it to update package-alist.
11116
11117 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11118
11119 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11120 possible choice.
11121
11122 2013-06-17 Juri Linkov <juri@jurta.org>
11123
11124 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11125
11126 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11127
11128 * emacs-lisp/package.el (package-load-descriptor):
11129 Remove `with-syntax-table' call, `read' doesn't need it.
11130 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11131
11132 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11133
11134 * startup.el (command-line): Expand package name returned by
11135 `package--description-file' (bug#14639).
11136
11137 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11138
11139 * emacs-lisp/package.el (package-load-descriptor): Do not call
11140 `emacs-lisp-mode', just use its syntax table.
11141
11142 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11143
11144 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11145 `font-lock-extra-managed-props' if any prettifying keyword is added.
11146 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11147 (prog-mode): Use `setq-local'.
11148
11149 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11150
11151 * international/characters.el (standard-case-table): Set syntax of ?»
11152 and ?« to punctuation.
11153
11154 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
11155
11156 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11157 Save relevant match data before calling `syntax-ppss' (bug#14595).
11158
11159 2013-06-15 Juri Linkov <juri@jurta.org>
11160
11161 * files-x.el (modify-file-local-variable-prop-line): Add local
11162 variables to the end of the existing comment on the first line.
11163 Use `file-auto-mode-skip' to skip interpreter magic line,
11164 and also skip XML declaration.
11165
11166 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * startup.el (package--builtin-versions): New var.
11169 (package-subdirectory-regexp): Remove.
11170 (package--description-file): Hard code its value instead.
11171
11172 * emacs-lisp/package.el: Don't activate packages older than builtin.
11173 (package-obsolete-list): Rename from package-obsolete-alist, and make
11174 it into a simple list of package-desc.
11175 (package-strip-version): Remove.
11176 (package-built-in-p): Use package--builtin-versions.
11177 (package-mark-obsolete): Simplify.
11178 (package-process-define-package): Mark it obsolete if older than the
11179 builtin version.
11180 (package-handle-response): Use line-end-position.
11181 (package-read-archive-contents, package--download-one-archive):
11182 Simplify.
11183 (package--add-to-archive-contents): Skip if older than the builtin or
11184 installed version.
11185 (package-menu-describe-package): Fix last change.
11186 (package-list-unversioned): New var.
11187 (package-menu--generate): Use it.
11188
11189 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11190 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11191 (autoload-builtin-package-versions): New variable.
11192 (autoload-generate-file-autoloads): Use them.
11193 Remove the list of autoloaded functions/macros from the
11194 (autoload...) comments.
11195
11196 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11197
11198 2013-06-15 Eli Zaretskii <eliz@gnu.org>
11199
11200 * simple.el (line-move-partial): Don't jump to the next screen
11201 line as soon as it becomes visible. Instead, continue enlarging
11202 the vscroll until the portion of a tall screen line that's left on
11203 display is about the height of the frame's default font.
11204 (Bug#14567)
11205
11206 2013-06-15 Glenn Morris <rgm@gnu.org>
11207
11208 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11209 compilation-error-regexp-alist void, or local while let-bound.
11210
11211 * progmodes/make-mode.el (makefile-mode-syntax-table):
11212 Treat "=" as punctuation. (Bug#14614)
11213
11214 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
11215
11216 * help-fns.el (describe-variable):
11217 Add extra line for permanent-local variables.
11218
11219 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11220
11221 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11222 Add export, import, library. (Bug#9164)
11223 (library): Set indent function.
11224
11225 2013-06-14 Glenn Morris <rgm@gnu.org>
11226
11227 * term/xterm.el (xterm--query):
11228 Stop after first matching handler. (Bug#14615)
11229
11230 2013-06-14 Ivan Kanis <ivan@kanis.fr>
11231
11232 Add support for dired in saveplace.
11233 * dired.el (dired-initial-position-hook): New variable.
11234 (dired-initial-position): Call hook to place cursor position.
11235 * saveplace.el (save-place-to-alist): Add dired position.
11236 (save-place-dired-hook): New function.
11237
11238 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11239
11240 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11241 through a symbol rather than letrec.
11242
11243 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11244 (package-desc): Add `dir' field.
11245 (package-desc-full-name): New function.
11246 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11247 (package-maybe-load-descriptor): Remove.
11248 (package-load-all-descriptors): Just call package-load-descriptor.
11249 (package--disabled-p): New function.
11250 (package-desc-vers, package-desc-doc): Remove aliases.
11251 (package--dir): Remove function.
11252 (package-activate): Check if a package is disabled.
11253 (package-process-define-package): New function, extracted from
11254 define-package.
11255 (define-package): Turn into a place holder.
11256 (package-unpack-single, package-tar-file-info):
11257 Use package--description-file.
11258 (package-compute-transaction): Use package--disabled-p.
11259 (package-download-transaction): Don't call
11260 package-maybe-load-descriptor since they're all loaded anyway.
11261 (package-install): Change argument to be a pkg-desc.
11262 (package-delete): Use a single pkg-desc argument.
11263 (describe-package-1): Use package-desc-dir instead of package--dir.
11264 Use package-desc property instead of package-symbol.
11265 (package-install-button-action): Adjust accordingly.
11266 (package--push): Rewrite.
11267 (package-menu--print-info): Adjust accordingly. Change the ID format
11268 to be a pkg-desc.
11269 (package-menu-describe-package, package-menu-get-status)
11270 (package-menu--find-upgrades, package-menu-mark-upgrades)
11271 (package-menu-execute, package-menu--name-predicate):
11272 Adjust accordingly.
11273 * startup.el (package--description-file): New function.
11274 (command-line): Use it.
11275 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11276 Use package-desc-version.
11277
11278 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11279 (byte-compile-preprocess): Use it.
11280 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11281 can't quite recognize.
11282 (byte-compile-add-to-list): Remove.
11283 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11284 (cconv-closure-convert): Add assertion.
11285
11286 * emacs-lisp/map-ynp.el: Use lexical-binding.
11287 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11288 Factor out some repeated code.
11289
11290 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11291
11292 * subr.el (with-eval-after-load): New macro.
11293 (eval-after-load): Allow form to be a function.
11294 take advantage of lexical-binding.
11295 (do-after-load-evaluation): Use dolist and adjust to new format.
11296 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11297
11298 2013-06-13 Juri Linkov <juri@jurta.org>
11299
11300 * replace.el (perform-replace): Display "symbol " and other search
11301 modes from `isearch-message-prefix' in the *Help* buffer.
11302
11303 * isearch.el (isearch-query-replace): Add " symbol" and other
11304 possible search modes from `isearch-message-prefix' to the prompt.
11305 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11306 when reading a regexp to collect.
11307
11308 2013-06-13 Juri Linkov <juri@jurta.org>
11309
11310 * isearch.el (word-search-regexp): Match whitespace if the search
11311 string begins or ends in whitespace. The LAX arg is applied to
11312 both ends of the search string. Use `regexp-quote' and explicit
11313 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11314 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11315 boundaries are replaced with symbol boundaries, and characters
11316 between symbols match non-word non-symbol syntax. (Bug#14602)
11317
11318 2013-06-13 Juri Linkov <juri@jurta.org>
11319
11320 * isearch.el (isearch-del-char): Don't exceed the length of
11321 `isearch-string' by the prefix arg. (Bug#14563)
11322
11323 2013-06-13 Juri Linkov <juri@jurta.org>
11324
11325 * isearch.el (isearch-yank-word, isearch-yank-line)
11326 (isearch-char-by-name, isearch-quote-char)
11327 (isearch-printing-char, isearch-process-search-char):
11328 Add optional count prefix arg. (Bug#14563)
11329
11330 * international/isearch-x.el
11331 (isearch-process-search-multibyte-characters):
11332 Add optional count prefix arg.
11333
11334 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11335
11336 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11337 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11338 lexical-binding.
11339
11340 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11341
11342 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11343
11344 2013-06-13 Glenn Morris <rgm@gnu.org>
11345
11346 * startup.el (tty-handle-args):
11347 Don't just discard "--" and anything after. (Bug#14608)
11348
11349 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11350
11351 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11352
11353 Implement changes in Secret Service API. Make it backward compatible.
11354 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11355 (secrets-create-item): Use it. Prefix properties with interface.
11356
11357 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11358
11359 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11360 (term-emulate-terminal): Respect term-suppress-hard-newline.
11361
11362 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11363
11364 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11365 Only remove a `thumb-file' overlay. (Bug#14548)
11366
11367 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11368
11369 * mail/reporter.el (reporter-submit-bug-report):
11370 Handle missing package-name. (Bug#14600)
11371
11372 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11373
11374 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11375 (reftex-citation-prompt, reftex-default-bibliography)
11376 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11377 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11378 (reftex-bib-sort-author, reftex-bib-sort-year)
11379 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11380 (reftex-extract-bib-entries-from-thebibliography)
11381 (reftex-get-bibkey-default, reftex-get-bib-names)
11382 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11383 (reftex-format-bib-entry, reftex-parse-bibitem)
11384 (reftex-format-bibitem, reftex-do-citation)
11385 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11386 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11387 (reftex-insert-bib-matches, reftex-format-citation)
11388 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11389 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11390 existing comments into docstrings.
11391
11392 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11393
11394 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11395
11396 2013-06-12 Andreas Schwab <schwab@suse.de>
11397
11398 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11399 for auto-save files.
11400
11401 2013-06-12 Glenn Morris <rgm@gnu.org>
11402
11403 * ido.el (ido-delete-ignored-files): Remove.
11404 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11405 Go back to calling ido-ignore-item-p directly.
11406
11407 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11408
11409 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11410
11411 * ido.el (ido-delete-ignored-files): New function,
11412 split from ido-make-file-list-1.
11413 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11414 (ido-make-file-list-1): Use ido-delete-ignored-files.
11415
11416 2013-06-12 Leo Liu <sdl.web@gmail.com>
11417
11418 * progmodes/octave.el (inferior-octave-startup)
11419 (inferior-octave-completion-table)
11420 (inferior-octave-track-window-width-change)
11421 (octave-eldoc-function-signatures, octave-help)
11422 (octave-find-definition): Use single quoted strings.
11423 (inferior-octave-startup-args): Change default value.
11424 (inferior-octave-startup): Do not hard code "-i" and
11425 "--no-line-editing".
11426 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11427 (inferior-octave-directory-tracker): Use it.
11428 (octave-goto-function-definition): Robustify.
11429 (octave-help): Support highlighting operators in 'See also'.
11430 (octave-find-definition): Find subfunctions only in Octave mode.
11431
11432 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11433
11434 * help-fns.el (help-fns--compiler-macro): If the handler function is
11435 named, then put a link to it.
11436 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11437 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11438 (cl-typep): Use it.
11439 (cl-eval-when): Simplify debug spec.
11440 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11441 compiler-macro function instead of setting `compiler-macro-file'.
11442
11443 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11444
11445 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11446 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11447
11448 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11449 Daniel Hackney <dan@haxney.org>
11450
11451 First part of Daniel Hackney's patch to package.el.
11452 * emacs-lisp/package.el: Use defstruct.
11453 (package-desc): New, main struct.
11454 (package--bi-desc, package--ac-desc): New structs, used to describe the
11455 format in external files.
11456 (package-desc-vers): Replace with package-desc-version accessor.
11457 (package-desc-doc): Replace with package-desc-summary accessor.
11458 (package-activate-1): Remove `package' arg since the pkg-vec now
11459 includes the name.
11460 (define-package): Use package-desc-from-define.
11461 (package-unpack-single): Change file-name arg to be a symbol.
11462 (package--add-to-archive-contents): Use package-desc-create and new
11463 accessor functions to package--ac-desc.
11464 (package-buffer-info, package-tar-file-info): Return a package-desc.
11465 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11466 arg to be a package-desc.
11467 (package-install-file): Adjust accordingly. Use \' to match EOS.
11468 (package--from-builtin): New function.
11469 (describe-package-1, package-menu--generate): Use it.
11470 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11471 (package-generate-autoloads): Idem and return the name of the file.
11472 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11473 Change pkg-info arg to be a package-desc.
11474 Use package-make-ac-desc.
11475 (package-upload-file): Use \' to match EOS.
11476 * finder.el (finder-compile-keywords): Use package-make-builtin.
11477
11478 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11479
11480 * vc/vc.el (vc-deduce-fileset): Change error message.
11481 (vc-read-backend): New function.
11482 (vc-next-action): Use it.
11483
11484 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11485
11486 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11487 (prolog-font-lock-keywords): Use regexp-opt instead.
11488 Don't manually highlight strings.
11489 (prolog-mode-variables): Simplify comment-start-skip.
11490 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11491
11492 * emacs-lisp/generic.el (generic--normalise-comments)
11493 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11494 (generic-mode-set-comments): Use them.
11495 (generic-bracket-support): Use setq-local.
11496 (generic-make-keywords-list): Declare obsolete.
11497
11498 2013-06-11 Glenn Morris <rgm@gnu.org>
11499
11500 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11501 Prettify after setting font-lock-defaults. (Bug#14574)
11502
11503 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11504
11505 * replace.el (query-replace, occur-read-regexp-defaults-function)
11506 (replace-search):
11507 * subr.el (declare-function, number-sequence, local-set-key)
11508 (substitute-key-definition, locate-user-emacs-file)
11509 (with-silent-modifications, split-string, eval-after-load):
11510 Fix typos, remove unneeded backslashes and reflow some docstrings.
11511
11512 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11513
11514 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11515 default for Elisp files.
11516
11517 2013-06-11 Glenn Morris <rgm@gnu.org>
11518
11519 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11520 although define-derived-mode was doing this anyway. (Bug#14583)
11521
11522 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11523
11524 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11525 Fix make-variable-buffer-local call to refer to the correct variable.
11526
11527 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11528
11529 * eshell/em-term.el (eshell-visual-commands)
11530 (eshell-visual-subcommands, eshell-visual-options):
11531 Add summary line to docstrings. Add cross-references.
11532
11533 2013-06-10 Glenn Morris <rgm@gnu.org>
11534
11535 * epa.el (epa-read-file-name): New function. (Bug#14510)
11536 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11537
11538 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11539
11540 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11541 output redirection to be ignored with visual commands.
11542
11543 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11544
11545 * eshell/em-term.el (eshell-visual-command-p): New function.
11546 (eshell-term-initialize): Move long lambda to separate function
11547 eshell-visual-command-p.
11548 * eshell/em-dirs.el (eshell-dirs-initialize):
11549 * eshell/em-script.el (eshell-script-initialize):
11550 Add missing #' to lambda.
11551
11552 2013-06-08 Leo Liu <sdl.web@gmail.com>
11553
11554 * progmodes/octave.el (octave-add-log-current-defun): New function.
11555 (octave-mode): Set add-log-current-defun-function.
11556 (octave-goto-function-definition): Do not move point if not found.
11557 (octave-find-definition): Enhance to try subfunctions first.
11558
11559 2013-06-08 Glenn Morris <rgm@gnu.org>
11560
11561 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11562 (byte-compile-backward-char, byte-compile-backward-word):
11563 Improve previous change, to handle non-explicit nil.
11564
11565 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11566
11567 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11568 (smie--opener/closer-at-point): New function.
11569 (smie--matching-block-data): Use it. Don't match from right after an
11570 opener or right before a closer. Obey smie-blink-matching-inners.
11571 Don't signal a mismatch for repeated inners like "switch..case..case".
11572
11573 2013-06-07 Leo Liu <sdl.web@gmail.com>
11574
11575 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11576 to t. (Bug#14303)
11577 (octave-function-header-regexp): Fix. (Bug#14570)
11578 (octave-help-mode-finish-hook, octave-help-mode-finish):
11579 Remove. Just use temp-buffer-show-hook.
11580
11581 * newcomment.el (comment-search-backward): Revert last change.
11582 (Bug#14434)
11583
11584 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11585
11586 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11587
11588 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11589 through xargs, to avoid failure due to MS-Windows limitations on
11590 command-line length.
11591
11592 2013-06-06 Glenn Morris <rgm@gnu.org>
11593
11594 * font-lock.el (lisp-font-lock-keywords-2):
11595 Treat user-error like error.
11596
11597 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11598 (byte-compile-backward-char, byte-compile-backward-word):
11599 Handle explicit nil arguments. (Bug#14565)
11600
11601 2013-06-05 Alan Mackenzie <acm@muc.de>
11602
11603 * isearch.el (isearch-allow-prefix): New user option.
11604 (isearch-other-meta-char): Don't exit isearch when a prefix
11605 argument is typed whilst `isearch-allow-prefix' is non-nil.
11606 (Bug#9706)
11607
11608 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11609
11610 * autorevert.el (auto-revert-notify-handler): Use memq.
11611 Hide assertion failure.
11612
11613 * skeleton.el: Use cl-lib.
11614 (skeleton-further-elements): Use defvar-local.
11615 (skeleton-insert): Use cl-progv.
11616
11617 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11618
11619 * progmodes/prog-mode.el (prog-prettify-symbols)
11620 (prog-prettify-install): Update docstrings.
11621
11622 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11623
11624 * simple.el: Move all the prog-mode code to prog-mode.el.
11625 * progmodes/prog-mode.el: New file.
11626 * loadup.el: Add prog-mode.el.
11627
11628 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11629
11630 * simple.el (prog-prettify-symbols): Add version.
11631 (prog-prettify-install): Add convenience function to prettify symbols.
11632
11633 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11634 (perl--augmented-font-lock-keywords-1)
11635 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11636 variables and use it.
11637
11638 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11639 (cfengine3-mode): Remove unneeded variable and use it.
11640
11641 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11642 (lisp--augmented-font-lock-keywords-1)
11643 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11644 Remove unneeded variables and use it.
11645
11646 2013-06-05 João Távora <joaotavora@gmail.com>
11647
11648 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11649 to point when opening the connection. (Bug#14380)
11650
11651 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11652
11653 * subr.el (load-history-regexp, load-history-filename-element)
11654 (eval-after-load, after-load-functions, do-after-load-evaluation)
11655 (eval-next-after-load, display-delayed-warnings)
11656 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11657 definition of save-match-data.
11658 (overriding-local-map): Remove accidental obsolescence declaration.
11659
11660 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11661
11662 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11663
11664 Generalize symbol prettify support to prog-mode and implement it
11665 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11666 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11667 (prog--prettify-font-lock-compose-symbol)
11668 (prog-prettify-font-lock-symbols-keywords): New variables and
11669 functions to support symbol prettification.
11670 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11671 (lisp--augmented-font-lock-keywords-1)
11672 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11673 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11674 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11675 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11676 Implement prettify of -> => :: strings.
11677 * progmodes/perl-mode.el (perl-prettify-symbols)
11678 (perl--font-lock-compose-symbol)
11679 (perl--font-lock-symbols-keywords): Move to prog-mode.
11680 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11681 (perl-font-lock-keywords-1)
11682 (perl-font-lock-keywords-2): Remove explicit prettify support.
11683 (perl--augmented-font-lock-keywords)
11684 (perl--augmented-font-lock-keywords-1)
11685 (perl--augmented-font-lock-keywords-2, perl-mode):
11686 Implement prettify support.
11687
11688 2013-06-05 Leo Liu <sdl.web@gmail.com>
11689
11690 Re-implement SMIE matching block highlight using
11691 show-paren-data-function. (Bug#14395)
11692 * emacs-lisp/smie.el (smie-matching-block-highlight)
11693 (smie--highlight-matching-block-overlay)
11694 (smie--highlight-matching-block-lastpos)
11695 (smie-highlight-matching-block)
11696 (smie-highlight-matching-block-mode): Remove.
11697 (smie--matching-block-data-cache): New variable.
11698 (smie--matching-block-data): New function.
11699 (smie-setup): Use smie--matching-block-data for
11700 show-paren-data-function.
11701
11702 * progmodes/octave.el (octave-mode-menu): Fix.
11703 (octave-find-definition): Skip garbage lines.
11704
11705 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11706
11707 Fix compilation error with simultaneous dynamic+lexical scoping.
11708 Add warning when a defvar appears after the first let-binding.
11709 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11710 (byte-compile-close-variables): Initialize it.
11711 (byte-compile--declare-var): New function.
11712 (byte-compile-file-form-defvar)
11713 (byte-compile-file-form-define-abbrev-table)
11714 (byte-compile-file-form-custom-declare-variable): Use it.
11715 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11716 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11717 (byte-compile-bind): Handle dynamic bindings that shadow
11718 lexical bindings.
11719 (byte-compile-unbind): Make arg non-optional.
11720 (byte-compile-let): Simplify.
11721 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11722 (cconv--analyse-function, cconv-analyse-form): Populate it.
11723 Protect byte-compile-bound-variables to limit the scope of defvars.
11724 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11725 Remove unneeded rule for `declare'.
11726
11727 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11728 so as to avoid depending on cl-adjoin at run-time.
11729 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11730
11731 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11732 (macroexp--warn-and-return): Use it.
11733
11734 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11735
11736 * subr.el: Convert to lexical binding.
11737 (overriding-local-map): Make obsolete.
11738 (add-to-list): Doc fix. Add compiler macro.
11739 (read-key): Swap values of local maps.
11740
11741 2013-06-05 Leo Liu <sdl.web@gmail.com>
11742
11743 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11744
11745 2013-06-04 Leo Liu <sdl.web@gmail.com>
11746
11747 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11748 (compilation-auto-jump): Suppress the "Mark set" message to give
11749 way to exit message.
11750
11751 2013-06-04 Alan Mackenzie <acm@muc.de>
11752
11753 Remove faulty optimisation from indentation calculation.
11754 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11755 search limit based on 2000 characters back from indent-point.
11756
11757 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11758
11759 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11760
11761 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11762
11763 * emacs-lisp/lisp.el: Use lexical-binding.
11764 (lisp--local-variables-1, lisp--local-variables): New functions.
11765 (lisp--local-variables-completion-table): New var.
11766 (lisp-completion-at-point): Use it complete let-bound vars.
11767
11768 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11769 eagerly (bug#14422).
11770
11771 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11772
11773 * autorevert.el (auto-revert-notify-enabled)
11774 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11775 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11776 (auto-revert-notify-handler): Handle also gfilenotify.
11777
11778 * subr.el (file-notify-handle-event): New defun. Replacing ...
11779 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11780 Remove.
11781
11782 2013-06-03 Juri Linkov <juri@jurta.org>
11783
11784 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11785 `M-s h .'. (Bug#14427)
11786
11787 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11788 command `hi-lock-face-symbol-at-point'.
11789 (hi-lock-face-symbol-at-point): New command.
11790 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11791 (hi-lock-menu): Add `highlight-symbol-at-point'.
11792 (hi-lock-mode): Doc fix.
11793
11794 * isearch.el (isearch-forward-symbol-at-point): New command.
11795 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11796 (isearch-highlight-regexp): Add a regexp which matches
11797 words/symbols for word/symbol mode.
11798
11799 * subr.el (find-tag-default-bounds): New function with the body
11800 mostly moved from `find-tag-default'.
11801 (find-tag-default): Move most code to `find-tag-default-bounds',
11802 call it and apply `buffer-substring-no-properties' afterwards.
11803
11804 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11805
11806 * eshell/em-term.el (eshell-term-initialize):
11807 Use `cl-intersection' rather than `intersection'.
11808
11809 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11810
11811 * vc/log-view.el: Doc fix.
11812 (log-view-mode-map): Copy keymap from `special-mode-map'.
11813
11814 2013-06-02 Eric Ludlam <zappo@gnu.org>
11815
11816 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11817 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11818 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11819 (eieio-unbound, eieio-default-superclass)
11820 (eieio--define-field-accessors, method-static, method-before)
11821 (method-primary, method-after, method-num-lists)
11822 (method-generic-before, method-generic-primary)
11823 (method-generic-after, method-num-slots)
11824 (eieio-specialized-key-to-generic-key)
11825 (eieio--check-type, class-v, class-p)
11826 (eieio-class-name, define-obsolete-function-alias)
11827 (eieio-class-parents-fast, eieio-class-children-fast)
11828 (same-class-fast-p, class-constructor, generic-p)
11829 (generic-primary-only-p, generic-primary-only-one-p)
11830 (class-option-assoc, class-option, eieio-object-p)
11831 (class-abstract-p, class-method-invocation-order)
11832 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11833 (eieio-class-un-autoload, eieio-defclass)
11834 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11835 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11836 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11837 (eieio-defgeneric-reset-generic-form)
11838 (eieio-defgeneric-form-primary-only)
11839 (eieio-defgeneric-reset-generic-form-primary-only)
11840 (eieio-defgeneric-form-primary-only-one)
11841 (eieio-defgeneric-reset-generic-form-primary-only-one)
11842 (eieio-unbind-method-implementations)
11843 (eieio--defmethod, eieio--typep)
11844 (eieio-perform-slot-validation, eieio-validate-slot-value)
11845 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11846 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11847 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11848 (eieio-slot-name-index, eieio-class-slot-name-index)
11849 (eieio-set-defaults, eieio-initarg-to-attribute)
11850 (eieio-attribute-to-initarg, eieio-c3-candidate)
11851 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11852 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11853 (eieio-class-precedence-list, eieio-generic-call-methodname)
11854 (eieio-generic-call-arglst, eieio-generic-call-key)
11855 (eieio-generic-call-next-method-list)
11856 (eieio-pre-method-execution-functions, eieio-generic-call)
11857 (eieio-generic-call-primary-only, eieiomt-method-list)
11858 (eieiomt-optimizing-obarray, eieiomt-install)
11859 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11860 (eieio-generic-form, eieio-defmethod, make-obsolete)
11861 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11862 (defclass): Remove `eval-and-compile' from macro.
11863 (call-next-method, shared-initialize): Instead of using
11864 `scoped-class' variable, use new eieio--scoped-class, and
11865 eieio--with-scoped-class.
11866 (initialize-instance): Rename local variable 'scoped-class' to
11867 'this-class' to remove ambiguitity from old global.
11868
11869 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11870 eieio.el.
11871 (eieio--scoped-class-stack): New variable.
11872 (eieio--scoped-class): New fcn.
11873 (eieio--with-scoped-class): New scoping macro.
11874 (eieio-defclass): Use pushnew instead of add-to-list.
11875 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11876 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11877 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11878 `scoped-class' variable, use new eieio--scoped-class, and
11879 eieio--with-scoped-class.
11880
11881 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11882
11883 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11884
11885 * eshell/esh-ext.el (eshell-external-command): Pass args to
11886 `eshell-find-interpreter'.
11887 (eshell-find-interpreter): Add new second parameter ARGS.
11888
11889 * eshell/em-script.el (eshell-script-initialize): Add second arg
11890 to the function added as MATCH to `eshell-interpreter-alist'.
11891
11892 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11893 the function added as MATCH to `eshell-interpreter-alist'.
11894
11895 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11896 (eshell-visual-options): New defcustom.
11897 (eshell-escape-control-x): Adapt docstring.
11898 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11899 `eshell-visual-options' in addition to `eshell-visual-commands'.
11900 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11901
11902 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11903
11904 * progmodes/python.el (python-indent-block-enders): Add break,
11905 continue and raise keywords.
11906
11907 2013-06-01 Glenn Morris <rgm@gnu.org>
11908
11909 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11910
11911 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11912 * progmodes/cc-cmds.el (delete-forward-p):
11913 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11914 * progmodes/cc-engine.el (buffer-syntactic-context):
11915 * progmodes/cc-fonts.el (face-property-instance):
11916 * progmodes/cc-mode.el (set-keymap-parents):
11917 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11918 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11919 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11920 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11921 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11922
11923 * progmodes/cc-vars.el (other): Emacs has this widget since
11924 at least 21.1, so don't (re)define it.
11925
11926 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11927 Replace the obsolete alias pcomplete-arg-quote-list.
11928
11929 2013-06-01 Leo Liu <sdl.web@gmail.com>
11930
11931 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11932 punctuation syntax.
11933 (inferior-octave-minimal-columns)
11934 (inferior-octave-last-column-width): New variables.
11935 (inferior-octave-track-window-width-change): New function.
11936 (inferior-octave-mode): Adjust column width so that Octave output,
11937 for example from 'ls', can fit into the window nicely.
11938
11939 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11940
11941 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11942 Highlight expansions inside regexp literals.
11943
11944 2013-05-31 Glenn Morris <rgm@gnu.org>
11945
11946 * obsolete/sym-comp.el (symbol-complete):
11947 Replace obsolete completion-annotate-function.
11948
11949 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11950
11951 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11952
11953 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11954 New function, checks if point is inside a literal that allows
11955 expression expansion.
11956 (ruby-syntax-propertize-expansion): Use it.
11957 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11958 around the body.
11959
11960 2013-05-30 Juri Linkov <juri@jurta.org>
11961
11962 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11963 to "\M-si".
11964 (isearch-invisible): New variable.
11965 (isearch-forward): Doc fix.
11966 (isearch-mode): Set `isearch-invisible'
11967 to the value of `search-invisible'.
11968 (isearch-toggle-case-fold): Doc fix.
11969 (isearch-toggle-invisible): New command.
11970 (isearch-query-replace): Let-bind `search-invisible'
11971 to the value of `isearch-invisible'.
11972 (isearch-search): Use `isearch-invisible' instead of
11973 `search-invisible'. Let-bind `search-invisible'
11974 to the value of `isearch-invisible'. (Bug#11378)
11975
11976 2013-05-30 Juri Linkov <juri@jurta.org>
11977
11978 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11979 call when `query-flag' is nil and `search-invisible' is non-nil.
11980 (Bug#11746)
11981
11982 2013-05-30 Glenn Morris <rgm@gnu.org>
11983
11984 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11985
11986 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11987 (cc-require): Suppress spurious "noruntime" warnings.
11988 (cc-require-when-compile): Use fboundp, for sake of compiler.
11989
11990 * progmodes/cc-mode.el: Move load of cc-vars before that of
11991 cc-langs (which in turn loads cc-vars), to quieten compiler.
11992
11993 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11994
11995 * paren.el: Simplify the code.
11996 (show-paren-mode): Always start the timer.
11997 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11998 (show-paren--overlay, show-paren--overlay-1): Rename from
11999 show-paren-overlay and show-paren-overlay-1, and initialize to an
12000 overlay rather than to nil.
12001 (show-paren-function): Misc cleanup and simplifications.
12002
12003 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12004
12005 * paren.el (show-paren-data-function): New hook.
12006 (show-paren--default): New function, extracted from show-paren-function.
12007 (show-paren-function): Use show-paren-data-function.
12008
12009 2013-05-30 Glenn Morris <rgm@gnu.org>
12010
12011 * ielm.el (ielm-map, ielm-complete-symbol):
12012 Use completion-at-point rather than obsolete functions.
12013 (inferior-emacs-lisp-mode): Doc fix.
12014 Set completion-at-point-functions, rather than
12015 comint-dynamic-complete-functions.
12016
12017 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12018 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12019 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12020
12021 * image.el (image-animated-p): Tweak definition.
12022
12023 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12024 (rlogin-process-connection-type): Tweak default. Add set-after.
12025 (rlogin-host): Doc fix.
12026 (rlogin): Tweak prompt.
12027 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12028
12029 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12030 * progmodes/tcl.el (inferior-tcl-mode-map):
12031 Use completion-at-point rather than obsolete alias.
12032
12033 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12034
12035 * minibuffer.el (read-file-name-completion-ignore-case):
12036 Move before completion--in-region, for eager macro expansion.
12037
12038 2013-05-29 Juri Linkov <juri@jurta.org>
12039
12040 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12041 for total count of matching lines. Add `global-matches' for total
12042 count of matches. Rename `matches' to `lines' for count of
12043 matching lines. Add `matches' for count of matches.
12044 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12045 to `prev-line' for line number of prev match endpt.
12046 Increment `matches' for every match. Print the number of
12047 matching lines in the header.
12048 (occur-context-lines): Rename `lines' to `curr-line'.
12049 Rename `prev-lines' to `prev-line'. (Bug#14017)
12050
12051 2013-05-29 Juri Linkov <juri@jurta.org>
12052
12053 * replace.el (perform-replace): Add `skip-read-only-count',
12054 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12055 Increment them for corresponding conditions and report the number
12056 of skipped occurrences in the final message. (Bug#11746)
12057 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12058 (replace-string, replace-regexp): Doc fix.
12059
12060 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12061
12062 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12063
12064 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
12065 prog-mode-map (bug#14504).
12066
12067 2013-05-29 Leo Liu <sdl.web@gmail.com>
12068
12069 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12070 (octave-help): Small simplification.
12071
12072 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12073 off the highlight first.
12074
12075 2013-05-29 Glenn Morris <rgm@gnu.org>
12076
12077 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12078 Handle idlwave-last-system-routine-info-cons-cell being nil.
12079
12080 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12081 (idlwave-write-paths): Simplify via with-temp-buffer.
12082
12083 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12084 * emulation/cua-rect.el: Also load cua-base at run time.
12085
12086 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12087 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12088 (cperl-imenu-on-info): Require imenu.
12089
12090 2013-05-28 Alan Mackenzie <acm@muc.de>
12091
12092 Handle "capitalised keywords" correctly.
12093 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12094
12095 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
12096
12097 * eshell/em-unix.el: Add -r option to cp.
12098
12099 2013-05-28 Glenn Morris <rgm@gnu.org>
12100
12101 * vc/vc-arch.el (vc-exec-after): Declare.
12102 (vc-switches): Autoload.
12103 * vc/vc-bzr.el: No need to require vc when compiling.
12104 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12105 (vc-resynch-buffer, vc-dir-refresh): Declare.
12106 (vc-setup-buffer, vc-switches): Autoload.
12107 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12108 (vc-resynch-buffer): Declare.
12109 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12110 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12111 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12112 (grep-read-regexp, grep-read-files, grep-expand-template)
12113 (vc-dir-refresh): Declare.
12114 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12115 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12116 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12117 * vc/vc-mtn.el (vc-exec-after): Declare.
12118 (vc-switches): Autoload.
12119 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12120 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12121 (vc-file-tree-walk): Declare.
12122 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12123 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12124 (vc-tag-precondition, vc-rename-master): Autoload.
12125 * vc/vc-svn.el (vc-exec-after): Declare.
12126 (vc-switches, vc-setup-buffer): Autoload.
12127 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12128 Autoload.
12129 (vc-resynch-buffer): Declare.
12130
12131 * obsolete/fast-lock.el (byte-compile-warnings):
12132 Don't warn about obsolete features in this obsolete file.
12133
12134 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12135 Move definition before use.
12136
12137 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12138 (dun-unix-verbs): Remove dun-zippy.
12139 (dun-zippy): Remove function.
12140
12141 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12142
12143 2013-05-27 Juri Linkov <juri@jurta.org>
12144
12145 * replace.el (replace-search): New function with code moved out
12146 from `perform-replace'.
12147 (replace-highlight, replace-dehighlight): Move function definitions
12148 up closer to `replace-search'. (Bug#11746)
12149
12150 2013-05-27 Juri Linkov <juri@jurta.org>
12151
12152 * replace.el (perform-replace): Ignore invisible matches.
12153 In addition to checking `query-replace-skip-read-only', also
12154 filter out matches by calling `run-hook-with-args-until-failure'
12155 on `isearch-filter-predicates', and also check `search-invisible'
12156 for t or call `isearch-range-invisible'.
12157 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12158
12159 2013-05-27 Juri Linkov <juri@jurta.org>
12160
12161 * isearch.el (isearch-filter-predicates): Rename from
12162 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12163 (isearch-message-prefix): Display text from the property
12164 `isearch-message-prefix' of the currently active filters.
12165 (isearch-search): Don't compare `isearch-filter-predicate' with
12166 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12167 on `isearch-filter-predicates'. Also check `search-invisible' for t
12168 or call `isearch-range-invisible'.
12169 (isearch-filter-visible): Make obsolete.
12170 (isearch-lazy-highlight-search):
12171 Call `run-hook-with-args-until-failure' on
12172 `isearch-filter-predicates' and use `isearch-range-invisible'.
12173
12174 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12175 `isearch-filter-predicates' instead of `funcall'ing
12176 `isearch-filter-predicate'.
12177 (Info-mode): Set `Info-isearch-filter' to
12178 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12179
12180 * dired-aux.el (dired-isearch-filter-predicate-orig):
12181 Remove variable.
12182 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12183 (dired-isearch-filenames-end): Add and remove
12184 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12185 instead of changing the value of `isearch-filter-predicate'.
12186 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12187 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12188 Put property `isearch-message-prefix' to "filename " on
12189 `dired-isearch-filter-filenames'.
12190
12191 * wdired.el (wdired-change-to-wdired-mode):
12192 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12193 locally instead of changing `isearch-filter-predicate'.
12194 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12195
12196 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12197
12198 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12199 return the commit hash (Bug#14459). Also set the
12200 `vc-git-detached' property.
12201 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12202 (vc-git-mode-line-string): Use the same help-echo format whether
12203 in detached mode or not, because we know the actual revision now.
12204 When in detached mode, shorten the revision to 7 chars.
12205
12206 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12207
12208 * emacs-lisp/easy-mmode.el (define-minor-mode):
12209 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12210 mode hook and provide a docstring.
12211
12212 2013-05-27 Alan Mackenzie <acm@muc.de>
12213
12214 Remove spurious syntax-table text properties inserted by C-y.
12215 * progmodes/cc-mode.el (c-after-change): Also clear hard
12216 syntax-table property with value nil.
12217
12218 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
12219
12220 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12221 when reading the events; the buffer layout shall not be changed.
12222
12223 2013-05-27 Leo Liu <sdl.web@gmail.com>
12224
12225 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12226 New variable.
12227 (inferior-octave-directory-tracker): Automatically re-sync
12228 default-directory.
12229 (octave-help): Improve handling of 'See also'.
12230
12231 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12232
12233 * doc-view.el: Minor naming convention tweaks.
12234 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12235
12236 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12237 even if there's no `display' property yet (bug#14435).
12238
12239 2013-05-25 Eli Zaretskii <eliz@gnu.org>
12240
12241 * subr.el (unmsys--file-name): Rename from reveal-filename.
12242
12243 * Makefile.in (custom-deps, finder-data, autoloads)
12244 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12245 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12246 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12247
12248 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12249
12250 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12251 error-completion on the first 2 args of condition-case (bug#14446).
12252 Don't burp at EOB.
12253
12254 2013-05-25 Leo Liu <sdl.web@gmail.com>
12255
12256 * comint.el (comint-previous-matching-input): Do not flood the
12257 *Messages* buffer with trivial messages.
12258
12259 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12260
12261 * progmodes/flymake.el (flymake-nop): Don't return a string.
12262 (flymake-set-at): Fix typo.
12263
12264 * simple.el (read--expression): New function, extracted from
12265 eval-expression. Set completion-at-point-functions (bug#14465).
12266 (eval-expression, eval-minibuffer): Use it.
12267
12268 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12269
12270 * progmodes/flymake.el (flymake-save-buffer-in-file)
12271 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12272 (flymake-selected-frame, flymake-log, flymake-ins-after)
12273 (flymake-set-at, flymake-get-buildfile-from-cache)
12274 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12275 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12276 Refine the doc string.
12277 (flymake-get-file-name-mode-and-masks): Reformat.
12278 (flymake-get-real-file-name-function): Fix a minor bug.
12279
12280 2013-05-24 Juri Linkov <juri@jurta.org>
12281
12282 * progmodes/grep.el (grep-mode-font-lock-keywords):
12283 Support =linenumber= format used by git-grep for lines with
12284 function names. (Bug#13549)
12285
12286 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12287
12288 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12289 0 after a semi-colon; it works better for smie-auto-fill.
12290 (octave--indent-new-comment-line): New function.
12291 (octave-indent-new-comment-line): Use it (indirectly).
12292 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12293 modify comment-line-break-function.
12294
12295 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12296 (smie-setup): Use add-function to set it.
12297
12298 2013-05-24 Sam Steingold <sds@gnu.org>
12299
12300 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12301 argument (before the `interactive' argument).
12302
12303 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12304
12305 * image-mode.el (image-mode-winprops): Add winprops to
12306 image-mode-winprops-alist before running
12307 image-mode-new-window-functions.
12308 * doc-view.el (doc-view-new-window-function): Don't delay
12309 doc-view-goto-page via timers (bug#14435).
12310
12311 2013-05-24 Tassilo Horn <tsdh@gnu.org>
12312
12313 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12314 (doc-view-desktop-save-buffer): New function.
12315 (doc-view-restore-desktop-buffer): New function.
12316 (desktop-buffer-mode-handlers):
12317 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
12318 handler.
12319 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12320 `desktop-save-buffer' function.
12321
12322 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
12323
12324 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12325 (tramp-gvfs-file-name-handler): Raise a user error when
12326 `tramp-gvfs-enabled' is nil.
12327 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12328 Do not raise a user error when loading package. (Bug#14447)
12329
12330 * net/xesam.el: Move to obsolete/.
12331
12332 2013-05-24 Glenn Morris <rgm@gnu.org>
12333
12334 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12335
12336 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12337
12338 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12339 (Info-find-node, Man-getpage-in-background): Declare.
12340
12341 * mail/unrmail.el (unrmail):
12342 Replace obsolete detect-coding-with-priority.
12343
12344 * net/socks.el (socks-split-string): Use this rather than split-string.
12345 (socks-nslookup-host): Update for above change.
12346 (dynamic-choice, s5-dynamic-choice-match)
12347 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12348 Comment out unused code.
12349
12350 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12351 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12352 (gud-tooltip-echo-area): Make obsolete.
12353 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12354
12355 * progmodes/js.el (js--optimize-arglist): Declare.
12356
12357 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12358
12359 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12360 (ediff-window-C): Declare.
12361
12362 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12363 Tweak requires to silence compiler.
12364
12365 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12366 (he-search-string, he-tried-table, he-expand-list)
12367 (he-init-string, he-string-member, he-substitute-string)
12368 (he-reset-string): Declare.
12369
12370 * obsolete/options.el (list-options): Use custom-variable-p,
12371 rather than obsolete alias.
12372
12373 2013-05-23 Sam Steingold <sds@gnu.org>
12374
12375 * simple.el (shell-command-on-region): Pass the `replace' argument
12376 down to `call-process-region' to comply with the doc as reported on
12377 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12378
12379 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12380
12381 * emacs-lisp/smie.el (smie-indent-forward-token)
12382 (smie-indent-backward-token): Handle string tokens (bug#14381).
12383
12384 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12385
12386 * ielm.el (ielm-menu): New menu.
12387 (inferior-emacs-lisp-mode): Set comment-start.
12388
12389 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12390
12391 * textmodes/reftex.el (reftex-ref-style-toggle):
12392 Fix deactivate action.
12393
12394 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12395 Add cleveref macros.
12396
12397 * textmodes/reftex-parse.el
12398 (reftex-locate-bibliography-files): Accept options for
12399 bibliography commands.
12400 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12401 Add addbibresource. Basic Biblatex support.
12402
12403 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12404
12405 * net/tramp-gvfs.el (top):
12406 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12407 when loading package. (Bug#14447)
12408
12409 2013-05-23 Glenn Morris <rgm@gnu.org>
12410
12411 * progmodes/js.el: No need to load comint when compiling.
12412 (ring-insert, comint-send-string, comint-send-input)
12413 (comint-last-input-end, ido-chop): Declare.
12414
12415 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12416 * vc/ediff-mult.el: Adjust requires.
12417 (ediff-directories-internal, ediff-directory-revisions-internal)
12418 (ediff-patch-file-internal): Declare.
12419 * vc/ediff-ptch.el: Adjust requires.
12420 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12421 (ediff-find-file): Autoload.
12422 * vc/ediff-util.el: No need to load ediff when compiling.
12423 (ediff-regions-internal): Declare.
12424 * vc/ediff-wind.el: Adjust requires.
12425 (ediff-compute-toolbar-width): Define when compiling.
12426 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12427 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12428 (dired-get-filename, dired-get-marked-files)
12429 (ediff-last-dir-patch, ediff-patch-default-directory)
12430 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12431 (ediff-patch-buffer-internal): Declare.
12432
12433 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12434 (ispell-process, ispell-buffer-local-words, lm-summary)
12435 (lm-section-start, lm-section-end): Declare.
12436 (checkdoc-ispell-init): Simplify.
12437
12438 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12439 (he-string-member, he-reset-string, he-substitute-string): Declare.
12440
12441 * eshell/em-ls.el: Adjust requires.
12442 (eshell-glob-regexp): Declare.
12443 * eshell/em-tramp.el: Adjust requires.
12444 (eshell-parse-command): Autoload.
12445 * eshell/em-xtra.el: Adjust requires.
12446 (eshell-parse-command): Autoload.
12447 * eshell/esh-ext.el: Adjust requires.
12448 (eshell-parse-command, eshell-close-handles): Autoload.
12449 * eshell/esh-io.el: Adjust requires.
12450 (eshell-output-filter): Autoload.
12451 * eshell/esh-util.el: No need to load tramp when compiling.
12452 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12453 Declare.
12454 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12455 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12456 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12457 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12458 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12459 * eshell/esh-opt.el, eshell/esh-proc.el:
12460 * eshell/esh-var.el: Adjust requires.
12461 * eshell/eshell.el: Do not require esh-util twice.
12462 (eshell-add-input-to-history): Declare.
12463 (eshell-command): Check history module is active before using it.
12464
12465 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12466
12467 2013-05-22 Leo Liu <sdl.web@gmail.com>
12468
12469 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12470
12471 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12472
12473 * autorevert.el (auto-revert-notify-add-watch)
12474 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12475 it indicates changes in file modification time.
12476
12477 2013-05-22 Glenn Morris <rgm@gnu.org>
12478
12479 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12480 Always delete the autoloaded function from the noruntime and
12481 unresolved functions lists.
12482
12483 * allout.el: No need to load epa, epg, overlay when compiling.
12484 (epg-context-set-passphrase-callback, epg-list-keys)
12485 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12486 (epg-key-user-id-list): Declare.
12487
12488 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12489 (viper-set-parsing-style-toggling-macro)
12490 (viper-set-emacs-state-searchstyle-macros):
12491 Use called-interactively-p on Emacs.
12492 (viper-looking-back): Make it an obsolete alias. Update callers.
12493 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12494 Use looking-back rather than viper-looking-back.
12495 (viper-tmp-insert-at-eob, viper-enlarge-region)
12496 (viper-read-string-with-history, viper-register-to-point)
12497 (viper-append-to-register, viper-change-state-to-vi)
12498 (viper-backward-char-carefully, viper-forward-char-carefully)
12499 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12500 (viper-change-state-to-emacs): Declare.
12501 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12502 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12503 * emulation/viper-mous.el: Do not load viper-cmd.
12504 (viper-backward-char-carefully, viper-forward-char-carefully)
12505 (viper-forward-word, viper-adjust-window): Declare.
12506
12507 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12508
12509 * progmodes/idlw-help.el (idlwave-help-fontify):
12510 Use called-interactively-p.
12511
12512 * term/w32console.el (w32-get-console-codepage)
12513 (w32-get-console-output-codepage): Declare.
12514
12515 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12516 Remove unnecessary declarations.
12517 (dframe-message): Doc fix.
12518
12519 * info.el (dframe-select-attached-frame, dframe-current-frame):
12520 Declare.
12521
12522 * speedbar.el (speedbar-message): Make it an obsolete alias.
12523 Update all callers.
12524 (speedbar-with-attached-buffer)
12525 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12526 (speedbar-with-writable): Use backquote.
12527 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12528 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12529 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12530 rather than speedbar- aliases.
12531 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12532 (speedbar-make-specialized-keymap, speedbar-insert-button)
12533 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12534 (speedbar-do-function-pointer): Declare.
12535 (rmail-speedbar-button, rmail-speedbar-find-file)
12536 (rmail-speedbar-move-message):
12537 Use dframe-with-attached-buffer rather than speedbar- alias.
12538 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12539 (dframe-message, speedbar-make-specialized-keymap)
12540 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12541 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12542 (speedbar-insert-button, dframe-select-attached-frame)
12543 (dframe-maybee-jump-to-attached-frame)
12544 (speedbar-change-initial-expansion-list)
12545 (speedbar-previously-used-expansion-list-name): Declare.
12546 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12547 Use dframe-message, dframe-with-attached-buffer rather than
12548 speedbar- aliases.
12549 (gud-sentinel): Silence compiler.
12550 * progmodes/vhdl-mode.el (speedbar-refresh)
12551 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12552 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12553 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12554 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12555 (speedbar-file-lists, speedbar-make-tag-line)
12556 (speedbar-line-directory, speedbar-goto-this-file)
12557 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12558 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12559 (speedbar-make-button, speedbar-reset-scanners)
12560 (speedbar-files-item-info, speedbar-line-text)
12561 (speedbar-find-file-in-frame, speedbar-set-timer)
12562 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12563 (speedbar-with-writable): Do not (re)define it.
12564 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12565 rather than speedbar- alias.
12566
12567 2013-05-21 Leo Liu <sdl.web@gmail.com>
12568
12569 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12570 menu items.
12571 (octave-mode): Tweak fill-nobreak-predicate.
12572 (inferior-octave-startup): Check process to avoid infinite loop.
12573 (inferior-octave): Pop to buffer first to show abornmal process
12574 exit information.
12575
12576 2013-05-21 Glenn Morris <rgm@gnu.org>
12577
12578 * printing.el (pr-menu-bar): Define when compiling.
12579
12580 2013-05-21 Leo Liu <sdl.web@gmail.com>
12581
12582 * progmodes/octave.el (octave-auto-fill): Remove.
12583 (octave-indent-new-comment-line): Improve.
12584 (octave-mode): Use auto fill mode through
12585 comment-line-break-function and fill-nobreak-predicate.
12586 (octave-goto-function-definition): Support DEFUN_DLD.
12587 (octave-beginning-of-defun): Small tweak.
12588 (octave-help): Show parent directory.
12589
12590 2013-05-21 Glenn Morris <rgm@gnu.org>
12591
12592 * files.el (dired-unmark):
12593 * progmodes/gud.el (gdb-input): Update declarations.
12594
12595 * calculator.el (electric, ehelp): No need to load when compiling.
12596 (Electric-command-loop, electric-describe-mode): Declare.
12597
12598 * doc-view.el (doc-view-current-converter-processes): Move before use.
12599
12600 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12601 Move MODE-set-explicitly definition before use.
12602
12603 * international/mule-diag.el (mule-diag):
12604 Don't use obsolete window-system-version.
12605
12606 * mail/feedmail.el (smtpmail): No need to load when compiling.
12607 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12608
12609 * mail/mail-utils.el (rfc822): No need to load when compiling.
12610 (rfc822-addresses): Autoload it.
12611 (mail-strip-quoted-names): Trivial simplification.
12612
12613 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12614 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12615
12616 * net/snmp-mode.el (tempo): Don't duplicate requires.
12617
12618 * progmodes/prolog.el (info): No need to load when compiling.
12619 (comint): Require before shell requires it.
12620 (Info-goto-node): Autoload it.
12621 (Info-follow-nearest-node): Declare.
12622 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12623
12624 * textmodes/artist.el (picture-mode-exit): Declare.
12625
12626 * textmodes/reftex-parse.el (reftex-parse-from-file):
12627 Trivial rewrite so the compiler can parse it better.
12628
12629 2013-05-20 Leo Liu <sdl.web@gmail.com>
12630
12631 * progmodes/octave.el (octave-help-mode-map)
12632 (octave-help-mode-finish-hook): New variables.
12633 (octave-help-mode, octave-help-mode-finish): New functions.
12634 (octave-help): Use octave-help-mode.
12635
12636 2013-05-20 Glenn Morris <rgm@gnu.org>
12637
12638 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12639
12640 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12641
12642 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12643 start at point, so that expansion starting right after opening
12644 slash in a regexp is recognized.
12645 (ruby-syntax-before-regexp-re): New defvar, extracted from
12646 ruby-syntax-propertize-function. Since the value of this regexp
12647 is looked up at runtime now, we should be able to turn
12648 `ruby-syntax-methods-before-regexp' into a defcustom later.
12649 (ruby-syntax-propertize-function): Split regexp matching into two
12650 parts, for opening and closing slashes. That allows us to skip
12651 over string interpolations and support multiline regexps.
12652 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12653 for them, which calls `ruby-syntax-propertize-expansion'.
12654 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12655 call to `ruby-syntax-propertize-function'.
12656 (ruby-syntax-propertize-expansion): Extracted from
12657 `ruby-syntax-propertize-expansions'. Handles one expansion.
12658 (ruby-syntax-propertize-percent-literal): Leave point right after
12659 the percent symbol, so that the expression expansion rule can
12660 propertize the contents.
12661 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12662 heredoc openers.
12663 (ruby-syntax-propertize-expansions): Remove.
12664
12665 2013-05-18 Juri Linkov <juri@jurta.org>
12666
12667 * man.el (Man-default-man-entry): Remove `-' from the end
12668 of the default value. (Bug#14400)
12669
12670 2013-05-18 Glenn Morris <rgm@gnu.org>
12671
12672 * comint.el (comint-password-prompt-regexp):
12673 Allow "password for XXX" where XXX contains colons (eg https://...).
12674
12675 2013-05-18 Leo Liu <sdl.web@gmail.com>
12676
12677 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12678 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12679 (octave-source-directories): Don't check process.
12680 (octave-source-directories, octave-find-definition): Doc fix.
12681
12682 2013-05-18 Glenn Morris <rgm@gnu.org>
12683
12684 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12685 Remove backspace/delete bindings. (Bug#14392)
12686
12687 * cus-dep.el (custom-make-dependencies): Sort the output.
12688 (custom-versions-load-alist): Convert comment to doc.
12689
12690 2013-05-17 Leo Liu <sdl.web@gmail.com>
12691
12692 * newcomment.el (comment-search-backward): Stricter in finding
12693 comment start. (Bug#14303)
12694
12695 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12696 (octave-comment-start-skip): Properly anchored.
12697
12698 2013-05-17 Leo Liu <sdl.web@gmail.com>
12699
12700 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12701 Clean up when turned off. (Bug#14395)
12702 (smie--highlight-matching-block-overlay): No longer buffer-local.
12703 (smie-highlight-matching-block): Adjust.
12704
12705 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12706
12707 Doc string fix for "nanoseconds" (Bug#14406).
12708 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12709 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12710
12711 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12712
12713 * calc/calc-units.el (math-extract-units): Preserve powers
12714 of units.
12715
12716 2013-05-17 Leo Liu <sdl.web@gmail.com>
12717
12718 * subr.el (delete-consecutive-dups): New function.
12719 * ido.el (ido-set-matches-1): Use it.
12720 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12721 * ido.el (ido-remove-consecutive-dups): Remove.
12722
12723 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12724
12725 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12726 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12727 regexp-opt's `words'.
12728
12729 2013-05-16 Leo Liu <sdl.web@gmail.com>
12730
12731 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12732 (smie--highlight-matching-block-overlay)
12733 (smie--highlight-matching-block-lastpos)
12734 (smie--highlight-matching-block-timer): New variables.
12735 (smie-highlight-matching-block): New function.
12736 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12737 (smie-setup): Conditionally enable smie-blink-matching-open.
12738
12739 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12740
12741 Sync with upstream verilog-mode r840.
12742 * progmodes/verilog-mode.el (verilog-mode-version)
12743 (verilog-mode-release-date): Update.
12744 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12745 (verilog-sig-tieoff): Fix string error on
12746 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12747 (verilog-read-decls): Fix parameters confusing
12748 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12749
12750 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12751
12752 * subr.el (reveal-filename): New function.
12753
12754 * loadup.el: Compute Emacs executable versions on MS-Windows,
12755 where executables have the .exe extension. Add a hard link
12756 emacs-XX.YY.ZZ.exe on MS-Windows.
12757
12758 * Makefile.in (XARGS_LIMIT): New variable.
12759 (custom-deps, finder-data, autoloads)
12760 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12761 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12762 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12763 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12764
12765 2013-05-16 Leo Liu <sdl.web@gmail.com>
12766
12767 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12768 (octave-mode-menu, octave-mode-map): Remove its uses.
12769
12770 2013-05-16 Reto Zimmermann <reto@gnu.org>
12771
12772 Sync with upstream vhdl mode v3.34.2.
12773 * progmodes/vhdl-mode.el: Use `push' throughout.
12774 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12775 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12776 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12777 (vhdl-actual-generic-name): New option to derive actual generic name.
12778 (vhdl-port-paste-signals): Replace formal by actual generics.
12779 (vhdl-beautify): New name for old group vhdl-align. Update users.
12780 (vhdl-beautify-options): New option.
12781 (vhdl-last-input-event): New compat alias. Use throughout.
12782 (vhdl-goto-line): Replace user level function `goto-line'.
12783 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12784 vhdl-fix-statement-buffer.
12785 (vhdl-create-mode-menu): Add some entries.
12786 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12787 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12788 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12789 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12790 to force statements on one line.
12791 (vhdl-remove-trailing-spaces-region):
12792 New, split from vhdl-remove-trailing-spaces.
12793 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12794 Respect vhdl-beautify-options.
12795 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12796 (vhdl-update-sensitivity-list): Not add with index if exists without.
12797 Not include array index with signal. Ignore keywords in comments.
12798 (vhdl-get-visible-signals): Regexp tweaks.
12799 (vhdl-template-component-inst): Handle empty library.
12800 (vhdl-template-type): Add template for 'enum' type.
12801 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12802 Use vhdl-replace-string.
12803 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12804 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12805 (vhdl-speedbar-initialize): Update for above name change.
12806 (vhdl-compose-wire-components): Fix in handling of constants.
12807 (vhdl-error-regexp-emacs-alist): New variable.
12808 (vhdl-error-regexp-add-emacs): New function;
12809 adds support for new compile.el (Emacs 22+)
12810 (vhdl-generate-makefile-1): Change target order for single lib. units.
12811 Allow use of absolute file names.
12812
12813 2013-05-16 Leo Liu <sdl.web@gmail.com>
12814
12815 * simple.el (prog-indent-sexp): Indent enclosing defun.
12816
12817 2013-05-15 Glenn Morris <rgm@gnu.org>
12818
12819 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12820 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12821 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12822 (whitespace-highlight): Move to whitespace group.
12823
12824 * comint.el (comint-source):
12825 * pcmpl-linux.el (pcmpl-linux):
12826 * shell.el (shell-faces):
12827 * eshell/esh-opt.el (eshell-opt):
12828 * international/ccl.el (ccl): Remove empty custom groups.
12829
12830 * completion.el (dynamic-completion-mode):
12831 * jit-lock.el (jit-lock-debug-mode):
12832 * minibuffer.el (completion-in-region-mode):
12833 * type-break.el (type-break-mode-line-message-mode)
12834 (type-break-query-mode):
12835 * emulation/tpu-edt.el (tpu-edt-mode):
12836 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12837 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12838 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12839
12840 * term/xterm.el (xterm): Change parent group to terminals.
12841
12842 * master.el (master): Remove empty custom group.
12843 (master-mode): Remove unused :group argument.
12844 * textmodes/refill.el (refill): Remove empty custom group.
12845 (refill-mode): Remove unused :group argument.
12846
12847 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12848
12849 * cus-dep.el: Provide a feature.
12850 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12851 Don't mistakenly ignore files whose basenames match a basename
12852 from preloaded-file-list (eg cedet/ede/simple.el).
12853 Add a fallback method for getting :group.
12854
12855 2013-05-15 Juri Linkov <juri@jurta.org>
12856
12857 * isearch.el (isearch-char-by-name): Rename from
12858 `isearch-insert-char-by-name'. Doc fix.
12859 (isearch-forward): Mention `isearch-char-by-name' in
12860 the docstring. (Bug#13348)
12861
12862 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12863 `exit-minibuffer' instead of
12864 `isearch-nonincremental-exit-minibuffer'.
12865 (isearch-edit-string): Remove mention of
12866 `isearch-nonincremental-exit-minibuffer' from docstring.
12867 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12868 (isearch-forward-exit-minibuffer)
12869 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12870
12871 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12872
12873 * loadup.el: Just use unversioned DOC.
12874
12875 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12876 literals as extending to EOB.
12877 (nxml-last-fontify-end): Remove unused variable.
12878 (nxml-after-change1): Use with-silent-modifications.
12879 (nxml-extend-after-change-region): Simplify.
12880 (nxml-extend-after-change-region1): Remove function.
12881 (nxml-after-change1): Don't adjust for dependent regions.
12882 (nxml-fontify-matcher): Simplify.
12883 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12884 (xmltok-add-dependent): Remove function.
12885 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12886 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12887 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12888 unclosed <[[, <?, comment, and other literals as extending to EOB.
12889 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12890 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12891 Remove functions.
12892 (rng-do-some-validation-1): Don't mark dependent regions.
12893 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12894 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12895 (nxml-clear-dependent-regions): Remove functions.
12896 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12897 (nxml-ensure-scan-up-to-date):
12898 Don't clear&mark dependent regions.
12899
12900 2013-05-15 Leo Liu <sdl.web@gmail.com>
12901
12902 * progmodes/octave.el (octave-goto-function-definition):
12903 Improve and fix callers.
12904
12905 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12906
12907 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12908 the setter (bug#14387).
12909
12910 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12911 surrounding group (bug#14402).
12912
12913 2013-05-14 Juri Linkov <juri@jurta.org>
12914
12915 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12916 (Bug#14390)
12917
12918 2013-05-14 Glenn Morris <rgm@gnu.org>
12919
12920 * progmodes/f90.el (f90-imenu-generic-expression):
12921 Fix typo in 2013-05-08 change. (Bug#14402)
12922
12923 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12924
12925 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12926 Remove signals for which replies are never received.
12927
12928 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12929
12930 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12931 (gdb-handler-alist, gdb-handler-number): Remove variables.
12932 (gdb-handler-list): New variable.
12933 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12934 (gdb-pending-handler-p, gdb-handle-reply)
12935 (gdb-remove-all-pending-triggers): New functions.
12936 (gdb-discard-unordered-replies): New defcustom.
12937 (gdb-handler): New defstruct.
12938 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12939 instead of gdb-pending-triggers. Update docstring.
12940 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12941 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12942 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12943 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12944 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12945 (gdb-frame-handler): Pending triggers are now automatically managed.
12946 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12947 Remove argument.
12948 (gdb-input): Automatically handles pending triggers. Update docstring.
12949 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12950 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12951 Update comments.
12952 (gdb-done-or-error): Now use gdb-handle-reply.
12953
12954 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12955
12956 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12957 gdb-debug-log.
12958
12959 2013-05-14 Glenn Morris <rgm@gnu.org>
12960
12961 * subr.el (user-emacs-directory-warning): New option.
12962 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12963
12964 2013-05-14 Leo Liu <sdl.web@gmail.com>
12965
12966 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12967 during redisplay.
12968 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12969 (octave-font-lock-texinfo-comment): Fix invalid search bound
12970 error: wrong side of point.
12971
12972 2013-05-14 Glenn Morris <rgm@gnu.org>
12973
12974 * progmodes/flymake.el (flymake-xml-program): New option.
12975 (flymake-xml-init): Use it.
12976
12977 * term/xterm.el: Provide a feature.
12978
12979 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12980
12981 2013-05-13 Glenn Morris <rgm@gnu.org>
12982
12983 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12984 Add compat aliases as a hack workaround. (Bug#14384)
12985
12986 2013-05-13 Leo Liu <sdl.web@gmail.com>
12987
12988 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12989 ###, and %!.
12990 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12991 C-M-q.
12992 (octave-comment-start-skip): Include %!.
12993 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12994
12995 2013-05-12 Leo Liu <sdl.web@gmail.com>
12996
12997 * progmodes/octave.el (inferior-octave-startup): Store the value
12998 of __octave_srcdir__ for octave-source-directories.
12999 (inferior-octave-check-process): New function refactored out of
13000 inferior-octave-send-list-and-digest.
13001 (octave-source-directories)
13002 (octave-find-definition-filename-function): New variables.
13003 (octave-source-directories)
13004 (octave-find-definition-default-filename): New functions.
13005 (octave-find-definition): Improve to find functions implemented in C++.
13006
13007 2013-05-12 Glenn Morris <rgm@gnu.org>
13008
13009 * calendar/diary-lib.el (diary-outlook-format-1):
13010 Don't include dayname in the output. (Bug#14349)
13011
13012 2013-05-11 Glenn Morris <rgm@gnu.org>
13013
13014 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13015
13016 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13017 Treat cc-provide like provide.
13018
13019 2013-05-11 Kevin Ryde <user42@zip.com.au>
13020
13021 * cus-dep.el (custom-make-dependencies):
13022 Use generated-autoload-load-name for the sake of files such
13023 such cedet/semantic/bovine/c.el, where the base file name
13024 is not in load-path. (Bug#5277)
13025
13026 2013-05-11 Glenn Morris <rgm@gnu.org>
13027
13028 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13029 Provide features.
13030
13031 2013-05-11 Leo Liu <sdl.web@gmail.com>
13032
13033 * progmodes/octave.el (octave-indent-comment): Improve.
13034 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
13035 (octave-eldoc-function-signatures, octave-eldoc-function):
13036 New functions.
13037 (octave-mode, inferior-octave-mode): Add eldoc support.
13038
13039 2013-05-11 Richard Stallman <rms@gnu.org>
13040
13041 * epa.el (epa-decrypt-file): Take output file name as argument
13042 and read it using `interactive'.
13043
13044 2013-05-11 Leo Liu <sdl.web@gmail.com>
13045
13046 * progmodes/octave.el (octave-beginning-of-line)
13047 (octave-end-of-line): Check before using up-list because it jumps
13048 out of more syntactic contructs since moving to smie.
13049 (octave-indent-comment): New function.
13050 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
13051 (octave-begin-keywords, octave-end-keywords)
13052 (octave-reserved-words, octave-smie-bnf-table)
13053 (octave-smie-rules): Add new keywords from Octave 3.6.4.
13054
13055 2013-05-11 Glenn Morris <rgm@gnu.org>
13056
13057 * faces.el (internal-face-x-get-resource):
13058 * frame.el (ns-display-monitor-attributes-list):
13059 * calc/calc-aent.el (math-to-radians-2):
13060 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
13061 Fix declarations.
13062
13063 * calc/calc-menu.el: Make it loadable in isolation.
13064
13065 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13066 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13067 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13068 (eudc-bbdb-query-internal): Require 'bbdb.
13069
13070 * lpr.el (lpr-headers-switches):
13071 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13072
13073 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13074
13075 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13076
13077 * term.el (term-set-escape-char): Make it idempotent.
13078
13079 2013-05-10 Leo Liu <sdl.web@gmail.com>
13080
13081 * progmodes/octave.el (inferior-octave-completion-table):
13082 No longer a function and all uses changed. Use cache to speed up
13083 completion due to bug#11906.
13084 (octave-beginning-of-defun): Re-write to be more general.
13085
13086 2013-05-10 Glenn Morris <rgm@gnu.org>
13087
13088 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13089
13090 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13091
13092 * comint.el (comint-redirect-send-command-to-process): Use :around
13093 rather than :override for comint-redirect-filter.
13094 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13095 Call it instead of comint-redirect-original-filter-function (which
13096 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13097
13098 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13099
13100 * frame.el (display-monitor-attributes-list): Add NS case.
13101 (ns-display-monitor-attributes-list): Declare.
13102
13103 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
13104
13105 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13106
13107 2013-05-09 Glenn Morris <rgm@gnu.org>
13108
13109 * international/fontset.el (vertical-centering-font-regexp):
13110 Set standard-value.
13111
13112 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13113
13114 * bookmark.el (bookmark-search-delay):
13115 * cus-start.el (vertical-centering-font-regexp):
13116 * ps-mule.el (ps-mule-font-info-database-default):
13117 * ps-print.el (ps-default-fg, ps-default-bg):
13118 * type-break.el (type-break-good-break-interval):
13119 * whitespace.el (whitespace-indentation-regexp)
13120 (whitespace-space-after-tab-regexp):
13121 * emacs-lisp/testcover.el (testcover-1value-functions)
13122 (testcover-noreturn-functions, testcover-progn-functions)
13123 (testcover-prog1-functions):
13124 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13125 * eshell/em-glob.el (eshell-glob-translate-alist):
13126 * play/tetris.el (tetris-tty-colors):
13127 * progmodes/cpp.el (cpp-face-default-list):
13128 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13129 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13130 (idlwave-help-browser-generic-args):
13131 * progmodes/make-mode.el (makefile-special-targets-list):
13132 * progmodes/python.el (python-shell-virtualenv-path):
13133 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13134 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13135 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13136 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13137 * textmodes/reftex-vars.el (reftex-format-label-function):
13138 * textmodes/remember.el (remember-diary-file): Fix custom types.
13139
13140 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13141 Add :version.
13142
13143 2013-05-09 Leo Liu <sdl.web@gmail.com>
13144
13145 * progmodes/octave.el (inferior-octave-completion-at-point):
13146 Restore file completion. (Bug#14300)
13147 (inferior-octave-startup): Fix incorrect highlighting for the
13148 first prompt.
13149
13150 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13151
13152 * progmodes/ruby-mode.el: First cut at SMIE support.
13153 (ruby-use-smie): New var.
13154 (ruby-smie-grammar): New constant.
13155 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13156 (ruby-smie--forward-token, ruby-smie--backward-token)
13157 (ruby-smie-rules): New functions.
13158 (ruby-mode-variables): Setup SMIE if applicable.
13159
13160 2013-05-08 Eli Zaretskii <eliz@gnu.org>
13161
13162 * simple.el (line-move-visual): Signal beginning/end of buffer
13163 only if vertical-motion moved less than it was requested. Avoids
13164 silly incorrect error messages when there are display strings with
13165 multiple newlines at EOL.
13166
13167 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13168
13169 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13170 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13171 (prolog-char-quote-workaround):
13172 * progmodes/cperl-mode.el (cperl-under-as-char):
13173 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
13174 Mark as obsolete.
13175 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
13176 their declaration.
13177 (vhdl-mode-syntax-table-init): Remove.
13178
13179 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13180 last change.
13181
13182 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13183 syntax for "_".
13184 (ld-script-font-lock-keywords):
13185 Change regexps to use things like \_< and \_>.
13186
13187 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13188 Change all regexps to use things like \_< and \_>.
13189
13190 * progmodes/autoconf.el (autoconf-definition-regexp)
13191 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13192 Handle a _ with symbol syntax.
13193 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13194
13195 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13196 Consolidate declaration.
13197 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13198 the declaration.
13199 (ada-create-syntax-table): Remove.
13200 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13201 already has the right syntax nowadays.
13202 (ada-goto-next-word): Don't change the syntax of "_".
13203
13204 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13205 with-wrapper-hook.
13206
13207 2013-05-08 Sam Steingold <sds@gnu.org>
13208
13209 * thingatpt.el (thing-at-point): Accept optional second argument
13210 NO-PROPERTIES to strip the text properties from the return value.
13211 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13212 to `thing-at-point' instead of stripping the properties ourselves.
13213 Also, when `thing-at-point' fails to find a url, prepend "http://"
13214 to the filename at point on the assumption that the user is
13215 pointing at something like gnu.org/gnu.
13216
13217 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
13218
13219 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13220 * faces.el (crm-separator):
13221 Silence byte-compiler.
13222
13223 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13224 (tool-bar-map): Remove unneeded defvars.
13225
13226 2013-05-08 Leo Liu <sdl.web@gmail.com>
13227
13228 Re-work a fix for bug#10994 based on Le Wang's patch.
13229 * ido.el (ido-remove-consecutive-dups): New helper.
13230 (ido-completing-read): Use it.
13231 (ido-chop): Revert fix for bug#10994.
13232
13233 2013-05-08 Adam Spiers <emacs@adamspiers.org>
13234
13235 * cus-edit.el (custom-save-variables):
13236 Pretty-print long values. (Bug#14187)
13237
13238 2013-05-08 Glenn Morris <rgm@gnu.org>
13239
13240 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13241 (m4-mode-syntax-table): Init in the defvar.
13242 (m4-mode-abbrev-table): Let define-derived-mode define it.
13243
13244 2013-05-08 Tom Tromey <tromey@redhat.com>
13245
13246 * progmodes/m4-mode.el (m4-mode-syntax-table):
13247 Do not treat "_" as word constituent. (Bug#14167)
13248
13249 2013-05-07 Glenn Morris <rgm@gnu.org>
13250
13251 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13252 Remove explicit eshell-isearch-cancel-map.
13253
13254 * progmodes/f90.el (f90-smart-end-names): New option.
13255 (f90-smart-end): Doc fix.
13256 (f90-end-block-optional-name): New constant.
13257 (f90-block-match): Respect f90-smart-end-names.
13258
13259 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13260
13261 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13262 about implicit semi-colons (bug#14218).
13263
13264 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13265
13266 * frame.el (display-monitor-attributes-list)
13267 (frame-monitor-attributes): New functions.
13268
13269 2013-05-06 Leo Liu <sdl.web@gmail.com>
13270
13271 * progmodes/octave.el (octave-syntax-propertize-function): Change
13272 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13273 (octave-font-lock-keywords): Use octave-operator-regexp.
13274 (octave-completion-at-point): Rename from
13275 octave-completion-at-point-function.
13276 (inferior-octave-directory-tracker): Robustify.
13277 (octave-text-functions): Remove and fix its uses. No such things
13278 any more.
13279
13280 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13281
13282 * emacs-lisp/trace.el (trace--display-buffer): New function.
13283 (trace-make-advice): Use it.
13284
13285 2013-05-06 Juri Linkov <juri@jurta.org>
13286
13287 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13288 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13289 Doc fix.
13290 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13291 in the help string. (Bug#12985)
13292
13293 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13294
13295 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13296
13297 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13298
13299 * progmodes/perl-mode.el: Add support for here documents.
13300 (perl-syntax-propertize-function): Match here-doc markers.
13301 (perl-syntax-propertize-special-constructs): Find their end.
13302 (perl-imenu-generic-expression): Use [:alnum:].
13303
13304 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13305 (advice--add-function): Refresh the advice if already present
13306 (bug#14317).
13307
13308 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
13309
13310 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13311
13312 2013-05-06 Glenn Morris <rgm@gnu.org>
13313
13314 * w32-fns.el (w32-charset-info-alist): Declare.
13315
13316 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13317 of its defcustom properties.
13318 (eshell-cmpl-initialize): No need to load pcomplete.
13319
13320 * generic-x.el: No need to require comint when compiling.
13321
13322 * net/eudc-export.el: Make it loadable without bbdb.
13323 (top-level): Use require rather than load-library.
13324 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13325 (eudc-batch-export-records-to-bbdb)
13326 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13327 Require bbdb.
13328
13329 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13330
13331 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13332 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13333 some tweaks, instead.
13334
13335 2013-05-05 Leo Liu <sdl.web@gmail.com>
13336
13337 * progmodes/octave.el (octave-font-lock-keywords)
13338 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13339 (inferior-octave-send-list-and-digest): Improve error message.
13340 (octave-mode, inferior-octave-mode): Use setq-local.
13341 (octave-help): Set info-lookup-mode.
13342
13343 2013-05-05 Richard Stallman <rms@gnu.org>
13344
13345 * vc/compare-w.el (compare-windows-whitespace):
13346 Treat no-break space as whitespace.
13347
13348 * mail/rmailsum.el (rmail-summary-rmail-update):
13349 Detect empty summary and don't change selected message.
13350 (rmail-summary-goto-msg): Likewise.
13351
13352 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13353 Doc fixes, rename args.
13354
13355 2013-05-05 Alan Mackenzie <acm@muc.de>
13356
13357 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13358
13359 2013-05-05 Juri Linkov <juri@jurta.org>
13360
13361 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13362 to not add the length of the summary segment to the return value.
13363 (Bug#14125)
13364
13365 2013-05-05 Leo Liu <sdl.web@gmail.com>
13366
13367 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13368 (inferior-octave-output-filter): Remove.
13369 (octave-send-region, inferior-octave-startup): Fix callers.
13370 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13371 (octave-binary-file-extensions): New user variable.
13372 (octave-find-definition): Confirm if opening binary files.
13373 (octave-help-file): Use octave-find-definition to get the binary
13374 confirmation.
13375 (octave-help): Adjust for octave-help-file change.
13376
13377 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13378
13379 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13380 Merge the two entries that handle function definitions.
13381 (pascal--syntax-propertize): New const.
13382 (pascal-mode): Use it. Use setq-local.
13383
13384 2013-05-04 Glenn Morris <rgm@gnu.org>
13385
13386 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13387 (diary-from-outlook): Respect diary-from-outlook-function.
13388
13389 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13390
13391 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13392 Move the declaration from C.
13393 (read-minibuffer, eval-minibuffer): Move from C.
13394 (completion-setup-function): Avoid minibuffer-completion-contents.
13395
13396 2013-05-03 Leo Liu <sdl.web@gmail.com>
13397
13398 * progmodes/octave.el (octave-font-lock-keywords): Do not
13399 dehighlight 'end' in comments or strings.
13400 (octave-completing-read, octave-goto-function-definition):
13401 New helpers.
13402 (octave-help-buffer): New user variable.
13403 (octave-help-file, octave-help-function): New button types.
13404 (octave-help): New command and bind it to C-h ;.
13405 (octave-find-definition): New command and bind it to M-.
13406 (user-error): Alias to error if not defined.
13407
13408 2013-05-02 Leo Liu <sdl.web@gmail.com>
13409
13410 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13411 for \. (bug#14332)
13412 (octave-font-lock-keywords): Include [ and {.
13413
13414 2013-05-02 Leo Liu <sdl.web@gmail.com>
13415
13416 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13417 (inferior-octave): Remove calling comint-mode and return the buffer.
13418 (inferior-octave-startup): Cosmetic changes.
13419
13420 2013-05-02 Leo Liu <sdl.web@gmail.com>
13421
13422 * progmodes/octave.el (octave-syntax-propertize-function):
13423 Include the case when ' is at line beginning. (Bug#14336)
13424
13425 2013-05-02 Glenn Morris <rgm@gnu.org>
13426
13427 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13428 * desktop.el (vc-dir-mode): Just autoload it here.
13429
13430 2013-05-02 Alan Mackenzie <acm@muc.de>
13431
13432 Eliminate variable c-standard-font-lock-fontify-region-function.
13433 * progmodes/cc-mode.el
13434 (c-standard-font-lock-fontify-region-function): Remove.
13435 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13436
13437 2013-05-01 Leo Liu <sdl.web@gmail.com>
13438
13439 * progmodes/octave.el: Compatible with older emacs-24 releases.
13440 (inferior-octave-has-built-in-variables): Remove. Built-in
13441 variables were removed from Octave in 2007.
13442 (inferior-octave-startup): Fix uses.
13443 (comint-line-beginning-position): Remove compatibility code for
13444 emacs 21.
13445
13446 2013-05-01 Juri Linkov <juri@jurta.org>
13447
13448 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13449
13450 2013-05-01 Juri Linkov <juri@jurta.org>
13451
13452 * comint.el (comint-previous-matching-input): Don't print message
13453 "History item: %d" when `isearch-mode' is active.
13454 (comint-history-isearch-message): Print message "History item: %d"
13455 when `comint-input-ring-index' is not empty and this function is
13456 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13457
13458 2013-05-01 Leo Liu <sdl.web@gmail.com>
13459
13460 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13461 definitions. Use completion-at-point to insert keywords.
13462 (octave-abbrev-start): Remove.
13463 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13464
13465 2013-04-30 Leo Liu <sdl.web@gmail.com>
13466
13467 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13468 change.
13469
13470 2013-04-30 Alan Mackenzie <acm@muc.de>
13471
13472 Handle arbitrarily long C++ member initialisation lists.
13473 * progmodes/cc-engine.el (c-back-over-member-initializers):
13474 new function.
13475 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13476 (most) member init lists.
13477
13478 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13479
13480 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13481 variable.
13482
13483 2013-04-30 Leo Liu <sdl.web@gmail.com>
13484
13485 * progmodes/octave.el (octave-variables): Remove. No builtin
13486 variables any more. All converted to functions.
13487 (octave-font-lock-keywords, octave-completion-at-point-function):
13488 Fix uses.
13489 (octave-font-lock-texinfo-comment): New user variable.
13490 (octave-texinfo-font-lock-keywords): New variable for texinfo
13491 comment block.
13492 (octave-function-comment-block): New face.
13493 (octave-font-lock-texinfo-comment): New function.
13494 (octave-mode): Font lock texinfo comment block.
13495
13496 2013-04-29 Leo Liu <sdl.web@gmail.com>
13497
13498 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13499 indexing expression.
13500 (octave-continuation-string): Do not use \.
13501 (inferior-octave-complete-impossible): Remove.
13502 (inferior-octave-completion-table)
13503 (inferior-octave-completion-at-point): Remove its uses.
13504 (inferior-octave-startup): completion_matches was introduced to
13505 Octave in 1996 so safe to assume it.
13506 (octave-function-file-comment): Improve to follow how Octave does it.
13507 (octave-update-function-file-comment): Tweak.
13508
13509 2013-04-29 Leo Liu <sdl.web@gmail.com>
13510
13511 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13512 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13513 (octave-function-file-comment): Fix typo.
13514 (octave-sync-function-file-names): Use read-char-choice.
13515
13516 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13517
13518 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13519 to t for the less important warnings.
13520
13521 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13522
13523 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13524
13525 2013-04-27 Glenn Morris <rgm@gnu.org>
13526
13527 * vc/log-view.el (log-view-current-entry):
13528 Treat "---" separator lines as part of the following rev. (Bug#14169)
13529
13530 2013-04-27 Juri Linkov <juri@jurta.org>
13531
13532 * subr.el (read-number): Doc fix about using it by interactive
13533 code letter `n'. (Bug#14254)
13534
13535 2013-04-27 Juri Linkov <juri@jurta.org>
13536
13537 * desktop.el (desktop-auto-save-timeout): New option.
13538 (desktop-file-checksum): New variable.
13539 (desktop-save): Add optional arg `auto-save' and don't auto-save
13540 if nothing changed.
13541 (desktop-auto-save-timer): New variable.
13542 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13543 (after-init-hook): Call `desktop-auto-save-set-timer'.
13544 Suggested by Reuben Thomas <rrt@sc3d.org> in
13545 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13546
13547 2013-04-27 Leo Liu <sdl.web@gmail.com>
13548
13549 * progmodes/octave.el (octave-function-file-p)
13550 (octave-skip-comment-forward, octave-function-file-comment)
13551 (octave-update-function-file-comment): New functions.
13552 (octave-mode-map): Bind C-c ; to
13553 octave-update-function-file-comment.
13554 (octave-mode-menu): Add octave-update-function-file-comment.
13555 (octave-mode, inferior-octave-mode): Fix doc-string.
13556 (octave-insert-defun): Conform to Octave's coding convention.
13557 (Bug#14285)
13558
13559 * files.el (basic-save-buffer): Don't let errors in
13560 before-save-hook prevent saving buffer.
13561
13562 2013-04-20 Roland Winkler <winkler@gnu.org>
13563
13564 * faces.el (read-face-name): Use completing-read if arg multiple
13565 is nil.
13566
13567 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13568
13569 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13570 displayed, move point to after the totals line.
13571 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13572 for the details.
13573
13574 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13577 Add current dir to the load-path.
13578 (package-generate-autoloads): Don't rely on
13579 autoload-ensure-default-file.
13580
13581 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13582
13583 * textmodes/remember.el (remember-store-in-files): Document that
13584 the file name format is passed to `format-time-string'.
13585
13586 2013-04-26 Leo Liu <sdl.web@gmail.com>
13587
13588 * progmodes/octave.el (octave-sync-function-file-names): New function.
13589 (octave-mode): Use it in before-save-hook.
13590
13591 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13592
13593 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13594 (bug#14274).
13595
13596 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13597 \n and comment, even if it's not an implicit ; (bug#14218).
13598
13599 2013-04-26 Glenn Morris <rgm@gnu.org>
13600
13601 * subr.el (read-number): Once more use `read' rather than
13602 `string-to-number', to trap non-numeric input. (Bug#14254)
13603
13604 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13605
13606 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13607 Use `syntax-multiline' text property consistently instead of
13608 `font-lock-multiline'. (Bug#14237)
13609
13610 2013-04-26 Glenn Morris <rgm@gnu.org>
13611
13612 * emacs-lisp/shadow.el (list-load-path-shadows):
13613 No longer necessary to check for duplicate simple.el, since
13614 2012-07-07 change to init_lread to not include installation lisp
13615 directories in load-path when running uninstalled. (Bug#14270)
13616
13617 2013-04-26 Leo Liu <sdl.web@gmail.com>
13618
13619 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13620 (octave-mode, inferior-octave-mode): Use setq-local.
13621 (octave-not-in-string-or-comment-p): Rename to
13622 octave-in-string-or-comment-p.
13623 (octave-in-comment-p, octave-in-string-p)
13624 (octave-in-string-or-comment-p): Replace defsubst with defun.
13625
13626 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13627
13628 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13629
13630 2013-04-25 Bastien Guerry <bzg@gnu.org>
13631
13632 * textmodes/remember.el (remember-data-directory)
13633 (remember-directory-file-name-format): Fix custom types.
13634
13635 2013-04-25 Leo Liu <sdl.web@gmail.com>
13636
13637 * progmodes/octave.el (octave-completion-at-point-function):
13638 Make use of inferior octave process.
13639 (octave-initialize-completions): Remove.
13640 (inferior-octave-completion-table): New function.
13641 (inferior-octave-completion-at-point): Use it.
13642 (octave-completion-alist): Remove.
13643
13644 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13645
13646 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13647 (opascal-mode-syntax-table): New var.
13648 (opascal-literal-kind, opascal-is-literal-end)
13649 (opascal-literal-token-at): Rewrite.
13650 (opascal--literal-start-re, opascal-font-lock-keywords)
13651 (opascal--syntax-propertize): New constants.
13652 (opascal-font-lock-defaults): Adjust.
13653 (opascal-mode): Use them. Set comment-<foo> variables as well.
13654 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13655 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13656 (delphi-other-face, opascal-other-face): Remove face variables.
13657 (opascal-save-state): Remove macro.
13658 (opascal-fontifying-progress-step): Remove constant.
13659 (opascal--ignore-changes): Remove var.
13660 (opascal-set-token-property, opascal-parse-next-literal)
13661 (opascal-is-stable-literal, opascal-complete-literal)
13662 (opascal-is-literal-start, opascal-face-of)
13663 (opascal-parse-region, opascal-parse-region-until-stable)
13664 (opascal-fontify-region, opascal-after-change)
13665 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13666 (opascal-debug-parse-region, opascal-debug-parse-window)
13667 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13668 (opascal-debug-fontify-buffer): Remove.
13669 (opascal-debug-mode-map): Adjust accordingly.
13670
13671 2013-04-25 Leo Liu <sdl.web@gmail.com>
13672
13673 Merge octave-mod.el and octave-inf.el into octave.el with some
13674 cleanups.
13675 * progmodes/octave.el: New file renamed from octave-mod.el.
13676 * progmodes/octave-inf.el: Merged into octave.el.
13677 * progmodes/octave-mod.el: Renamed to octave.el.
13678
13679 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13680
13681 * textmodes/reftex-vars.el
13682 (reftex-label-ignored-macros-and-environments): New defcustom.
13683
13684 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13685
13686 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13687
13688 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13689 (smie-indent-keyword): Improve the check to ensure that the next
13690 comment is really on the same line.
13691 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13692
13693 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13694 semi-colons if the line is not otherwise empty (bug#14218).
13695
13696 2013-04-25 Glenn Morris <rgm@gnu.org>
13697
13698 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13699
13700 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13701
13702 * progmodes/opascal.el (opascal-set-token-property): Rename from
13703 opascal-set-text-properties and only set `token' (bug#14134).
13704 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13705 (opascal-literal-text-properties): Remove.
13706 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13707 Adjust callers.
13708
13709 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13710
13711 * textmodes/remember.el (remember-handler-functions): Add an
13712 option for a new handler `remember-store-in-files'.
13713 (remember-data-directory, remember-directory-file-name-format):
13714 New options.
13715 (remember-store-in-files): New function to store remember notes
13716 as separate files within a directory.
13717
13718 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13719
13720 * progmodes/compile.el (compilation-next-error-function):
13721 Pass "formats" to compilation-find-file (bug#11777).
13722
13723 2013-04-24 Glenn Morris <rgm@gnu.org>
13724
13725 * vc/vc-bzr.el (vc-bzr-print-log):
13726 * vc/vc-hg.el (vc-hg-print-log):
13727 * vc/vc-svn.el (vc-svn-print-log):
13728 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13729
13730 * vc/vc-bzr.el (vc-bzr-print-log):
13731 * vc/vc-cvs.el (vc-cvs-print-log):
13732 * vc/vc-git.el (vc-git-print-log):
13733 * vc/vc-hg.el (vc-hg-print-log):
13734 * vc/vc-mtn.el (vc-mtn-print-log):
13735 * vc/vc-rcs.el (vc-rcs-print-log):
13736 * vc/vc-sccs.el (vc-sccs-print-log):
13737 * vc/vc-svn.el (vc-svn-print-log):
13738 * vc/vc.el (vc-print-log-internal): Doc fixes.
13739
13740 2013-04-23 Glenn Morris <rgm@gnu.org>
13741
13742 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13743 Remove venerable code attempting to avoid substitute-command-keys.
13744
13745 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13746
13747 * textmodes/reftex-vars.el (reftex-label-regexps):
13748 Call `reftex-compile-variables' after changes to this variable.
13749
13750 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13751
13752 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13753 Use lexical-binding.
13754 (jit-lock-force-redisplay): Use markers, check buffer's continued
13755 existence and beware narrowed buffers.
13756 (jit-lock-fontify-now): Adjust call accordingly.
13757
13758 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13759
13760 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13761 to avoid misleading the user.
13762
13763 2013-04-22 Leo Liu <sdl.web@gmail.com>
13764
13765 * info-look.el: Prefer latex2e.info. (Bug#14240)
13766
13767 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13768
13769 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13770
13771 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13772 * net/tramp.el (tramp-call-process): ... here.
13773 (tramp-set-completion-function, tramp-parse-putty):
13774 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13775 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13776 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13777 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13778 (tramp-call-local-coding-command): Use `tramp-call-process'
13779 instead of `tramp-compat-call-process'.
13780
13781 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13782 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13783 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13784 (tramp-find-inline-compress): Improve traces.
13785 (tramp-maybe-send-script): Check for Perl binary.
13786 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13787
13788 2013-04-22 Daiki Ueno <ueno@gnu.org>
13789
13790 * epg.el (epg-context-pinentry-mode): New function.
13791 (epg-context-set-pinentry-mode): New function.
13792 (epg--start): Pass --pinentry-mode option to gpg command.
13793
13794 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13795
13796 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13797 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13798 `completion-at-point'. (Bug#13774)
13799
13800 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13801 default key binding for `describe-distribution' has been moved to
13802 `C-h C-o'. (Bug#13970)
13803
13804 2013-04-21 Glenn Morris <rgm@gnu.org>
13805
13806 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13807 Add doc strings.
13808 (vc-print-log): Clarify interactive prompt.
13809
13810 2013-04-20 Glenn Morris <rgm@gnu.org>
13811
13812 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13813 No longer include timestamp etc information.
13814
13815 2013-04-20 Roland Winkler <winkler@gnu.org>
13816
13817 * faces.el (read-face-name): Bug fix, return just one face if arg
13818 multiple is nil. (Bug#14209)
13819
13820 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13821
13822 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13823 (remove-function): Autoload.
13824
13825 * comint.el (comint-redirect-original-filter-function): Remove.
13826 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13827 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13828 (vc-cvs-annotate-command):
13829 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13830 * progmodes/prolog.el (prolog-consult-compile):
13831 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13832 Use add/remove-function instead.
13833 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13834 (gud-tooltip-process-output, gud-tooltip-tips):
13835 Use add/remove-function instead.
13836 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13837 (scheme-interaction-mode, exit-scheme-interaction-mode):
13838 Use add/remove-function instead.
13839
13840 * vc/vc-dispatcher.el: Use lexical-binding.
13841 (vc--process-sentinel): Rename from vc-process-sentinel.
13842 Change last arg to be the code to run. Don't use vc-previous-sentinel
13843 and vc-sentinel-commands any more.
13844 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13845 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13846
13847 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13848
13849 * progmodes/sh-script.el (sh-imenu-generic-expression):
13850 Handle function names with a single character. (Bug#14111)
13851
13852 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13853
13854 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13855 for subroutines defined in an eval (bug#14182).
13856
13857 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13858
13859 * bookmark.el (bookmark-completing-read): Improve handling of empty
13860 string (bug#14176).
13861
13862 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13863
13864 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13865
13866 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13867
13868 New faster Imenu implementation (bug#14058).
13869 * progmodes/python.el:
13870 (python-imenu-prev-index-position):
13871 (python-imenu-format-item-label-function)
13872 (python-imenu-format-parent-item-label-function)
13873 (python-imenu-format-parent-item-jump-label-function):
13874 New vars.
13875 (python-imenu-format-item-label)
13876 (python-imenu-format-parent-item-label)
13877 (python-imenu-format-parent-item-jump-label)
13878 (python-imenu--put-parent, python-imenu--build-tree)
13879 (python-imenu-create-index, python-imenu-create-flat-index)
13880 (python-util-popn): New functions.
13881 (python-mode): Set imenu-create-index-function to
13882 python-imenu-create-index.
13883
13884 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13885
13886 * winner.el (winner-active-region): Use region-active-p, activate-mark
13887 and deactivate-mark (bug#14225).
13888
13889 * simple.el (deactivate-mark): Don't inline it.
13890
13891 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13892
13893 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13894
13895 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13896
13897 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13898 file extensions from the archive-mode entry in order to prefer
13899 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13900
13901 2013-04-18 Leo Liu <sdl.web@gmail.com>
13902
13903 * bindings.el (help-event-list): Add ?\?.
13904
13905 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13906
13907 * subr.el (with-wrapper-hook): Declare obsolete.
13908 * simple.el (filter-buffer-substring-function): New hook.
13909 (filter-buffer-substring): Use it.
13910 (filter-buffer-substring-functions): Mark obsolete.
13911 * minibuffer.el (completion-in-region-function): New hook.
13912 (completion-in-region): Use it.
13913 (completion-in-region-functions): Mark obsolete.
13914 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13915 * abbrev.el (abbrev-expand-function): New hook.
13916 (expand-abbrev): Use it.
13917 (abbrev-expand-functions): Mark obsolete.
13918 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13919 and :filter-return.
13920
13921 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13922
13923 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13924 and do not care about match data.
13925
13926 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13927
13928 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13929 completion tables when completing error conditions and
13930 `declare' arguments.
13931 (lisp-complete-symbol, field-complete): Mark as obsolete.
13932 (check-parens): Unmatched parens are user errors.
13933 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13934
13935 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13936
13937 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13938 command changed buffer (ie. `flyspell-pre-buffer' is not current
13939 buffer), which prevents making decisions based on invalid value of
13940 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13941 cause an error when `flyspell-pre-point' was nil after switching
13942 buffers.
13943 (flyspell-post-command-hook): No longer needs to change buffers when
13944 checking pre-word. While at it remove unnecessary progn.
13945
13946 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13947
13948 * textmodes/ispell.el (ispell-add-per-file-word-list):
13949 Fix `flyspell-correct-word-before-point' error when accepting
13950 words and `coment-padding' is an integer by using
13951 `comment-normalize-vars' (Bug #14214).
13952
13953 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13954
13955 New defun movement commands.
13956 * progmodes/python.el (python-nav--syntactically)
13957 (python-nav--forward-defun, python-nav-backward-defun)
13958 (python-nav-forward-defun): New functions.
13959
13960 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13961
13962 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13963 (python-syntax-context): Use named compiler-macro for backwards
13964 compatibility with Emacs 24.x.
13965
13966 2013-04-17 Leo Liu <sdl.web@gmail.com>
13967
13968 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13969 octave-hide-process-buffer.
13970
13971 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13972
13973 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13974 (bug#14216).
13975
13976 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13977
13978 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13979 Fix adjustment of offset when receiving incomplete responses from GDB
13980 (bug#14129).
13981
13982 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13983
13984 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13985 python-mode-abbrev-table.
13986 (python-skeleton-define): Adjust accordingly.
13987 (python-mode-abbrev-table): New table that inherits from it so that
13988 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13989
13990 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13991 (abbrev-symbol): Use it.
13992 (abbrev--before-point): Use it since we already handle inheritance.
13993
13994 2013-04-16 Leo Liu <sdl.web@gmail.com>
13995
13996 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13997 binding to info-lookup-symbol.
13998
13999 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
14000
14001 * minibuffer.el (completion--twq-all):
14002 * term/ns-win.el (ns-initialize-window-system):
14003 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14004
14005 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14006
14007 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14008 global bindings.
14009
14010 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14011
14012 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14013
14014 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14015 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14016 to nil.
14017 (ruby-end-of-defun): Remove the unused arg, change the docstring
14018 to reflect that this function is only used as the value of
14019 `end-of-defun-function'.
14020 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14021 to reflect an earlier change that beginning/end-of-defun functions
14022 jump between methods in a class definition, as well as top-level
14023 functions.
14024
14025 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14026
14027 * minibuffer.el (minibuffer-complete): Don't just scroll
14028 a *Completions* that's been iconified.
14029 (minibuffer-force-complete): Make sure repetitions do cycle when going
14030 through completion-in-region -> minibuffer-complete.
14031
14032 2013-04-15 Alan Mackenzie <acm@muc.de>
14033
14034 Correct the placement of c-cpp-delimiters when there're #s not at
14035 col 0.
14036
14037 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14038 place a submatch around the #.
14039 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14040 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
14041 on the #, not BOL.
14042
14043 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14044
14045 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14046 (advice--member-p): New arg `name'.
14047 (advice--add-function, advice-member-p): Use it (bug#14202).
14048
14049 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14050
14051 Reformulate java imenu-generic-expression.
14052 The old expression contained ill formed regexps.
14053
14054 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14055 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14056 (cc-imenu-java-method-arg-regexp): New defconsts.
14057 (cc-imenu-java-build-type-args-regex): New defun.
14058 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
14059 handling of spaces in the regexp.
14060
14061 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14062
14063 * textmodes/ispell.el (ispell-command-loop): Remove
14064 flyspell highlight of a word when ispell accepts it (bug #14178).
14065
14066 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
14067
14068 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14069 uses code from the previous `ange-ftp-run-real-handler'.
14070 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14071 only in case that function exist. This is needed for proper
14072 unloading of Tramp.
14073
14074 2013-04-15 Tassilo Horn <tsdh@gnu.org>
14075
14076 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14077
14078 * textmodes/reftex.el (reftex-compile-variables): Use it.
14079
14080 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14081
14082 * files.el (normal-mode): Only use default major-mode if no other mode
14083 was specified.
14084
14085 * emacs-lisp/trace.el (trace-values): New function.
14086
14087 * files.el: Allow : in local variables (bug#14089).
14088 (hack-local-variable-regexp): New var.
14089 (hack-local-variables-prop-line, hack-local-variables): Use it.
14090
14091 2013-04-13 Roland Winkler <winkler@gnu.org>
14092
14093 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14094 data before it gets modified by bibtex-beginning-of-entry.
14095
14096 2013-04-13 Roland Winkler <winkler@gnu.org>
14097
14098 * textmodes/bibtex.el (bibtex-url): Doc fix.
14099
14100 2013-04-13 Roland Winkler <winkler@gnu.org>
14101
14102 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14103 does not visit a BibTeX file, exclude it from the list of buffers
14104 returned by bibtex-initialize.
14105
14106 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
14107
14108 * window.el (split-window): Remove interactive form, since as a
14109 command this function is a special case of split-window-below.
14110 Correct doc string.
14111
14112 2013-04-12 Roland Winkler <winkler@gnu.org>
14113
14114 * faces.el (read-face-name): Do not override value of arg default.
14115 Allow single faces and strings as default values. Remove those
14116 elements from return value that are not faces.
14117 (describe-face): Simplify.
14118 (face-at-point): New optional args thing and multiple so that this
14119 function can provide the same functionality previously provided by
14120 read-face-name.
14121 (make-face-bold, make-face-unbold, make-face-italic)
14122 (make-face-unitalic, make-face-bold-italic, invert-face)
14123 (modify-face, read-face-and-attribute): Use face-at-point.
14124
14125 * cus-edit.el (customize-face, customize-face-other-window)
14126 * cus-theme.el (custom-theme-add-face)
14127 * face-remap.el (buffer-face-set)
14128 * facemenu.el (facemenu-set-face): Use face-at-point.
14129
14130 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
14131
14132 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14133
14134 2013-04-10 Tassilo Horn <tsdh@gnu.org>
14135
14136 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14137 off leading { and trailing } from field values.
14138
14139 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14140
14141 * emacs-lisp/timer.el (timer--check): New function.
14142 (timer--time, timer-set-function, timer-event-handler): Use it.
14143 (timer-set-idle-time): Simplify.
14144 (timer--activate): CSE.
14145 (timer-event-handler): Give more info in error message.
14146 (internal-timer-start-idle): New function, moved from C.
14147
14148 * mpc.el (mpc-proc): Add `restart' argument.
14149 (mpc-proc-cmd): Use it.
14150 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14151 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14152 less often.
14153
14154 2013-04-10 Masatake YAMATO <yamato@redhat.com>
14155
14156 * progmodes/sh-script.el: Implement `sh-mode' own
14157 `add-log-current-defun-function' (bug#14112).
14158 (sh-current-defun-name): New function.
14159 (sh-mode): Use the function.
14160
14161 2013-04-09 Bastien Guerry <bzg@gnu.org>
14162
14163 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14164
14165 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14166
14167 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14168
14169 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14170 timer (bug#14156).
14171
14172 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14173
14174 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14175 declaration.
14176
14177 2013-04-07 Leo Liu <sdl.web@gmail.com>
14178
14179 * pcmpl-x.el: New file.
14180
14181 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14182
14183 Do not set x-display-name until X connection is established.
14184 This is needed to prevent from weird situation described at
14185 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14186 * frame.el (make-frame): Set x-display-name after call to
14187 window system initialization function, not before.
14188 * term/x-win.el (x-initialize-window-system): Add optional
14189 display argument and use it.
14190 * term/w32-win.el (w32-initialize-window-system):
14191 * term/ns-win.el (ns-initialize-window-system):
14192 * term/pc-win.el (msdos-initialize-window-system):
14193 Add compatible optional display argument.
14194
14195 2013-04-06 Eli Zaretskii <eliz@gnu.org>
14196
14197 * files.el (normal-backup-enable-predicate): On MS-Windows and
14198 MS-DOS compare truenames of temporary-file-directory and of the
14199 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14200 don't fail comparison by compare-strings. Also, compare file
14201 names case-insensitively on MS-Windows and MS-DOS.
14202
14203 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14204
14205 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14206 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14207
14208 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14209
14210 * whitespace.el (whitespace-color-on, whitespace-color-off):
14211 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
14212
14213 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
14214
14215 * ispell.el (ispell-set-spellchecker-params):
14216 Really set `ispell-args' for all equivs.
14217
14218 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14219
14220 * ido.el (ido-completions): Use extra elements of ido-decorations
14221 (bug#14143).
14222 (ido-decorations): Update docstring.
14223
14224 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
14225
14226 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14227 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14228 nil during initialization, in order not to miss changes since the
14229 file was opened. (Bug#14140)
14230
14231 2013-04-05 Leo Liu <sdl.web@gmail.com>
14232
14233 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14234
14235 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14236
14237 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14238
14239 2013-04-04 Glenn Morris <rgm@gnu.org>
14240
14241 * electric.el (electric-pair-inhibit-predicate): Add :version.
14242
14243 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14244
14245 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14246 when a package is required several times (bug#14082).
14247
14248 2013-04-04 Roland Winkler <winkler@gnu.org>
14249
14250 * faces.el (read-face-name): Behave as promised by the docstring.
14251 Assume that arg default is a list of faces.
14252 (describe-face): Call read-face-name with list of default faces.
14253
14254 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14255
14256 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14257 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14258 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14259 the header.
14260 (bookmark-exit-hook-internal): Save even if list is empty.
14261
14262 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14263
14264 * emacs-lisp/package.el (package-pinned-packages): New var.
14265 (package--add-to-archive-contents): Obey it (bug#14118).
14266
14267 2013-04-03 Alan Mackenzie <acm@muc.de>
14268
14269 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14270 Also adapt to the new values of element 7 of a parse state.
14271
14272 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14273 parameter `not-in-delimiter'. Handle being inside comment opener.
14274 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14275 character in case we're typing a '*' after a '/'.
14276 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14277 instead by passing the parameter to c-state-pp-to-literal.
14278
14279 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14280 for elt. 7 of a parse state.
14281
14282 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14283
14284 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14285 * international/latin1-disp.el, international/mule-util.el:
14286 * language/cyril-util.el, language/european.el, language/ind-util.el:
14287 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14288 * language/tibetan.el, language/viet-util.el:
14289 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14290
14291 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14292
14293 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14294 (electric-pair-post-self-insert-function): Use it.
14295 (electric-pair-default-inhibit): New function, extracted from
14296 electric-pair-post-self-insert-function.
14297
14298 2013-03-31 Roland Winkler <winkler@gnu.org>
14299
14300 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14301
14302 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14303
14304 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14305
14306 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
14307
14308 Un-indent after "pass" and "return" statements (Bug#13888)
14309 * progmodes/python.el (python-indent-block-enders): New var.
14310 (python-indent-calculate-indentation): Use it.
14311
14312 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
14313
14314 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14315 defun. Defining it as defalias could introduce too eager
14316 byte-compiler optimization. (Bug#14030)
14317
14318 2013-03-30 Chong Yidong <cyd@gnu.org>
14319
14320 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14321
14322 2013-03-30 Leo Liu <sdl.web@gmail.com>
14323
14324 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14325 (kmacro-execute-from-register): Pass the keyboard macro to
14326 kmacro-call-macro or repeating won't work correctly.
14327
14328 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14329
14330 * progmodes/subword.el: Back to using `forward-symbol'.
14331
14332 * subr.el (forward-whitespace, forward-symbol)
14333 (forward-same-syntax): Move from thingatpt.el.
14334
14335 2013-03-29 Leo Liu <sdl.web@gmail.com>
14336
14337 * kmacro.el (kmacro-to-register): New command.
14338 (kmacro-execute-from-register): New function.
14339 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14340
14341 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14342
14343 * mpc.el: Use defvar-local and setq-local.
14344 (mpc--proc-connect): Connection failures are not bugs.
14345 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14346 (mpc-volume-map): Bind to the up-events.
14347
14348 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14349
14350 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14351 instead of `forward-symbol'.
14352
14353 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14354
14355 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14356 (edebug--recursive-edit): Use it.
14357 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14358 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14359
14360 2013-03-28 Leo Liu <sdl.web@gmail.com>
14361
14362 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14363
14364 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14365
14366 * facemenu.el (list-colors-callback): New defvar.
14367 (list-colors-redisplay): New function.
14368 (list-colors-display): Install list-colors-redisplay as the
14369 revert-buffer-function. (Bug#14063)
14370
14371 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14372
14373 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14374 and suffixes don't overlap (bug#14061).
14375
14376 * case-table.el: Use lexical-binding.
14377 (case-table-get-table): New function.
14378 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14379
14380 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14381
14382 * progmodes/subword.el: Add `superword-mode' to do word motion
14383 over symbol_words (parallels and leverages `subword-mode' which
14384 does word motion inside MixedCaseWords).
14385
14386 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14387
14388 * eshell/em-unix.el: Move su and sudo to...
14389 * eshell/em-tramp.el: ...Eshell tramp module.
14390
14391 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14392
14393 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14394 Change return value to be a sexp. Delay `get-buffer' to after
14395 restoring the desktop (bug#13951).
14396
14397 2013-03-26 Leo Liu <sdl.web@gmail.com>
14398
14399 * register.el: Move semantic tag handling back to
14400 cedet/semantic/senator.el. (Bug#14052)
14401
14402 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14403
14404 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14405 into the prompt either (bug#13963).
14406
14407 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14408
14409 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14410 part of "(error-foo)".
14411
14412 2013-03-24 Juri Linkov <juri@jurta.org>
14413
14414 * replace.el (list-matching-lines-prefix-face): New defcustom.
14415 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14416 `occur-engine' if `face-differs-from-default-p' returns t.
14417 (occur-engine): Add `,' inside backquote construct to evaluate
14418 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14419 Pass `prefix-face' to the functions `occur-context-lines' and
14420 `occur-engine-add-prefix'.
14421 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14422 `prefix-face' and propertize the prefix with `prefix-face'.
14423 (Bug#14017)
14424
14425 2013-03-24 Leo Liu <sdl.web@gmail.com>
14426
14427 * nxml/rng-valid.el (rng-validate-while-idle)
14428 (rng-validate-quick-while-idle): Guard against deleted buffer.
14429 (Bug#13999)
14430
14431 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14432 is the last entry in kill-buffer-hook.
14433
14434 * files.el (kill-buffer-hook): Doc fix.
14435
14436 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14437
14438 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14439 Make it safe-local.
14440
14441 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14442
14443 2013-03-23 Leo Liu <sdl.web@gmail.com>
14444
14445 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14446 Remove.
14447
14448 * nxml/rng-valid.el (rng-validate-mode)
14449 (rng-after-change-function, rng-do-some-validation):
14450 * nxml/rng-maint.el (rng-validate-buffer):
14451 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14452 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14453 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14454 (nxml-extend-after-change-region): Use with-silent-modifications.
14455
14456 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14457 timer-idle-list.
14458
14459 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14460 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14461 timer-idle-list. (Bug#13999)
14462
14463 2013-03-23 Juri Linkov <juri@jurta.org>
14464
14465 * info.el (info-index-match): New face.
14466 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14467 main pattern and add text properties with the new face to matches
14468 in index entries relative to the beginning of the index entry.
14469 (Bug#14015)
14470
14471 2013-03-21 Eric Ludlam <zappo@gnu.org>
14472
14473 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14474 Inhibit read only while inserting objects.
14475
14476 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14477
14478 * progmodes/cfengine.el: Update docs to mention
14479 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14480 symbol motion. Remove "_" from the word syntax.
14481
14482 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14483
14484 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14485 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14486
14487 2013-03-20 Juri Linkov <juri@jurta.org>
14488
14489 * info.el (Info-next-reference-or-link)
14490 (Info-prev-reference-or-link): New functions.
14491 (Info-next-reference, Info-prev-reference): Use them.
14492 (Info-try-follow-nearest-node): Handle footnote navigation.
14493 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14494
14495 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14496
14497 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14498 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14499
14500 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14501
14502 Suppress unnecessary non-ASCII chatter during build process.
14503 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14504 (batch-skkdic-convert): Suppress most of the chatter.
14505 It's not needed so much now that machines are faster,
14506 and its non-ASCII component was confusing; see Dmitry Gutov in
14507 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14508
14509 2013-03-20 Leo Liu <sdl.web@gmail.com>
14510
14511 * ido.el (ido-chop): Fix bug#10994.
14512
14513 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14514
14515 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14516 Remove vars.
14517 (whitespace-color-on, whitespace-color-off):
14518 Use `font-lock-fontify-buffer' (Bug#13817).
14519
14520 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14521
14522 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14523 remapping in mode-line.
14524 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14525
14526 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14527
14528 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14529 value for `whitespace-line' face (Bug#13875).
14530 (whitespace-font-lock-keywords): Change description.
14531 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14532 the constructed keywords instead.
14533 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14534
14535 2013-03-19 Leo Liu <sdl.web@gmail.com>
14536
14537 * progmodes/compile.el (compilation-display-error): New command.
14538 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14539 C-o. (Bug#13992)
14540
14541 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14542
14543 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14544
14545 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14546
14547 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14548
14549 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14550
14551 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14552
14553 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14554 * net/tramp-gvfs.el (top):
14555 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14556 (tramp-handle-shell-command): Use it.
14557 (tramp-dissect-file-name): Raise an error when hostname is a
14558 method name, and neither method nor user is specified.
14559
14560 * net/trampver.el: Update release number.
14561
14562 2013-03-18 Leo Liu <sdl.web@gmail.com>
14563
14564 Make sure eldoc can be turned off properly.
14565 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14566 eldoc-mode.
14567 (eldoc-display-message-p): Revert last change.
14568 (eldoc-display-message-no-interference-p)
14569 (eldoc-print-current-symbol-info): Tweak.
14570
14571 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14572
14573 * doc-view.el (doc-view-new-window-function): Check the new window
14574 overlay's display property instead the char property of the
14575 buffer's first char. Use `with-selected-window' instead of
14576 `save-window-excursion' with `select-window'.
14577 (doc-view-document->bitmap): Check the current doc-view overlay's
14578 display property instead the char property of the buffer's first char.
14579
14580 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14581
14582 Automate the build of ja-dic.el (Bug#13984).
14583 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14584 from the input, rather than assume that it's been done for us by the
14585 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14586 the current date into a ja-dic.el comment, as that complicates
14587 regression testing.
14588
14589 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14590
14591 * whitespace.el: Fix double evaluation.
14592 (whitespace-space, whitespace-hspace, whitespace-tab)
14593 (whitespace-newline, whitespace-trailing, whitespace-line)
14594 (whitespace-space-before-tab, whitespace-indentation)
14595 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14596 obsolete defvars.
14597 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14598 (whitespace-color-on): Use a single font-lock-add-keywords call.
14599 Fix double-evaluation of face variables.
14600
14601 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14602
14603 * net/tramp-adb.el (tramp-adb-parse-device-names):
14604 Use `start-process' instead of `call-process'. Otherwise, the
14605 function might be blocked under MS Windows. (Bug#13299)
14606
14607 2013-03-17 Leo Liu <sdl.web@gmail.com>
14608
14609 Extend eldoc to display info in the mode-line. (Bug#13978)
14610 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14611 (eldoc-mode-line-string): New variable.
14612 (eldoc-minibuffer-message): New function.
14613 (eldoc-message-function): New variable.
14614 (eldoc-message): Use it.
14615 (eldoc-display-message-p)
14616 (eldoc-display-message-no-interference-p):
14617 Support eldoc-post-insert-mode.
14618
14619 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14620 (eval-expression): Run it.
14621
14622 2013-03-17 Roland Winkler <winkler@gnu.org>
14623
14624 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14625 strings in the list of return values.
14626
14627 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14628
14629 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14630 radix before checking for HMS forms.
14631
14632 2013-03-16 Leo Liu <sdl.web@gmail.com>
14633
14634 * progmodes/scheme.el: Add indentation and font-locking for λ.
14635 (Bug#13975)
14636
14637 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14638
14639 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14640 token before point (bug#13942).
14641
14642 2013-03-16 Leo Liu <sdl.web@gmail.com>
14643
14644 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14645
14646 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14647
14648 * startup.el (command-line-normalize-file-name): Fix handling of
14649 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14650 <xfq.free@gmail.com> in
14651 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14652
14653 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14654
14655 Sync with Tramp 2.2.7.
14656
14657 * net/trampver.el: Update release number.
14658
14659 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14660
14661 * doc-view.el: Fix bug#13887.
14662 (doc-view-insert-image): Don't modify overlay associated to
14663 non-live windows, and implement horizontal centering of image in
14664 case it's smaller than the window.
14665 (doc-view-new-window-function): Force redisplay of new windows on
14666 doc-view buffers.
14667
14668 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14669
14670 * saveplace.el (save-place-alist-to-file): Don't sort
14671 `save-place-alist', just pretty-print it (bug#13882).
14672
14673 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14674
14675 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14676 Check whether `default-file-name-coding-system' is bound.
14677 It isn't in XEmacs.
14678
14679 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14680
14681 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14682 backquotes for `obsolete' (bug#13929).
14683
14684 * international/mule.el (find-auto-coding): Include file name in
14685 obsolescence warning (bug#13922).
14686
14687 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14688
14689 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14690 for CFEngine 3-specific indentation.
14691 (cfengine3-indent-line): Use it. Fix up category regex.
14692 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14693
14694 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14695
14696 * type-break.el (type-break-file-name):
14697 * textmodes/remember.el (remember-data-file):
14698 * strokes.el (strokes-file):
14699 * shadowfile.el (shadow-initialize):
14700 * saveplace.el (save-place-file):
14701 * ps-bdf.el (bdf-cache-file):
14702 * progmodes/idlwave.el (idlwave-config-directory):
14703 * net/quickurl.el (quickurl-url-file):
14704 * international/kkc.el (kkc-init-file-name):
14705 * ido.el (ido-save-directory-list-file):
14706 * emulation/viper.el (viper-custom-file-name):
14707 * emulation/vip.el (vip-startup-file):
14708 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14709 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14710
14711 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14712
14713 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14714 * language/thai-word.el: Switch to UTF-8.
14715
14716 See ChangeLog.16 for earlier changes.
14717
14718 ;; Local Variables:
14719 ;; coding: utf-8
14720 ;; End:
14721
14722 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14723
14724 This file is part of GNU Emacs.
14725
14726 GNU Emacs is free software: you can redistribute it and/or modify
14727 it under the terms of the GNU General Public License as published by
14728 the Free Software Foundation, either version 3 of the License, or
14729 (at your option) any later version.
14730
14731 GNU Emacs is distributed in the hope that it will be useful,
14732 but WITHOUT ANY WARRANTY; without even the implied warranty of
14733 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14734 GNU General Public License for more details.
14735
14736 You should have received a copy of the GNU General Public License
14737 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.