]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
[gnu-emacs] / lisp / ChangeLog
1 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4 Don't prettify a word within a symbol.
5
6 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
7
8 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
9 possible.
10
11 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
14 assignments such as "case=hello" (bug#17297).
15
16 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
17
18 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
19 Do not autoload.
20 (tramp-file-name-handler, tramp-completion-file-name-handler):
21 Revert patch from 2014-04-10, it isn't necessary anymore.
22 (tramp-autoload-file-name-handler)
23 (tramp-register-autoload-file-name-handlers): New defuns.
24 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
25 (tramp-register-file-name-handlers): Remove also
26 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
27 Do not autoload its invocation, but eval it after loading of 'tramp.
28
29 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
30
31 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
32
33 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
36 was done (bug#17264).
37 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
38 comment to EOB.
39
40 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
41 here-documents (bug#17262).
42
43 2014-04-16 Eli Zaretskii <eliz@gnu.org>
44
45 * term/pc-win.el (x-list-fonts, x-get-selection-value):
46 Provide doc strings, as required by snarf-documentation.
47
48 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
51 arg of overlays-at. Use `invisible-p'.
52
53 * obsolete/lucid.el (extent-at):
54 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
55 overlays-at.
56 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
57
58 2014-04-14 João Távora <joaotavora@gmail.com>
59
60 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
61 links. (Bug#17217).
62
63 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
64
65 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
66 Use mapc to loop over a vector. (Bug#17257).
67
68 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
69
70 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
71 patch, there are new problems with file names containing spaces.
72 Get rid of backticks. (Bug#17238)
73
74 2014-04-13 João Távora <joaotavora@gmail.com>
75
76 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
77 possible bug.
78
79 2014-04-13 Eli Zaretskii <eliz@gnu.org>
80
81 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
82 (blink-cursor-mode): Mention customization variables and the
83 effect of 'blink-cursor-blinks'.
84
85 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
86
87 * simple.el (undo): Prevent insertion of identity mapping into
88 undo-equiv-table so as undo-only does not inf loop in the presence
89 of consecutive nils in undo list.
90
91 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
92
93 * faces.el (make-face): Deprecate optional argument as it is no
94 longer needed/used since the conditional X resources handling
95 has been pushed down to make-face-x-resource-internal itself.
96 (make-empty-face): Don't pass optional argument to make-face.
97
98 2014-04-12 Eli Zaretskii <eliz@gnu.org>
99
100 * international/characters.el <standard-case-table>: Add entries
101 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
102 Set category of Coptic characters be 'g' (Greek).
103
104 2014-04-12 Leo Liu <sdl.web@gmail.com>
105
106 * progmodes/octave.el (completion-table-with-cache): Define if not
107 available.
108 (octave-goto-function-definition)
109 (octave-sync-function-file-names)
110 (octave-find-definition-default-filename): Backquote upattern for
111 compatibility.
112
113 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
114
115 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
116 name twice due to backticks. (Bug#17238)
117
118 2014-04-11 Glenn Morris <rgm@gnu.org>
119
120 * term/w32-win.el (x-win-suspend-error):
121 * term/x-win.el (x-win-suspend-error): Sync docs.
122
123 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
124
125 Ediff's overlay priorities cause more trouble than they solve.
126 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
127 (ediff-highest-priority): Remove function (bug#17234).
128 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
129 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
130 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
131 overlay priorities.
132
133 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
134
135 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
136 entry; use symbol boundaries to avoid mis-matches.
137
138 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
139
140 * net/tramp.el (tramp-file-name-handler)
141 (tramp-completion-file-name-handler): Avoid recursive loading.
142
143 * net/tramp-sh.el (tramp-make-copy-program-file-name):
144 Quote result also locally.
145
146 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
147
148 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
149 Module methods. (Bug#17216)
150
151 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 * help.el (describe-bindings): Fix buffer handling (bug#17210).
154 (describe-bindings-internal): Mark obsolete.
155
156 2014-04-07 João Távora <joaotavora@gmail.com>
157
158 * elec-pair.el:
159 (electric-pair--syntax-ppss): When inside comments parse from
160 comment beginning.
161 (electric-pair--balance-info): Fix typo in comment.
162 (electric-pair--in-unterminated-string-p): Delete.
163 (electric-pair--unbalanced-strings-p): New function.
164 (electric-pair-string-bound-function): New var.
165 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
166 according to `electric-pair--in-unterminated-string-p'
167
168 2014-04-07 João Távora <joaotavora@gmail.com>
169
170 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
171 Inhibit quote pairing if point-max is inside an unterminated string.
172 (electric-pair--looking-at-unterminated-string-p): Delete.
173 (electric-pair--in-unterminated-string-p): New function.
174
175 2014-04-07 Glenn Morris <rgm@gnu.org>
176
177 * shell.el (shell-directory-tracker):
178 Go back to just ignoring failures. (Bug#17159)
179
180 2014-04-06 João Távora <joaotavora@gmail.com>
181
182 Fix `electric-pair-delete-adjacent-pairs' in modes binding
183 backspace. (bug#16981)
184 * elec-pair.el (electric-pair-backward-delete-char): Delete.
185 (electric-pair-backward-delete-char-untabify): Delete.
186 (electric-pair-mode-map): Bind backspace to a menu item filtering
187 a new `electric-pair-delete-pair' command.
188 (electric-pair-delete-pair): New command.
189
190 2014-04-06 João Távora <joaotavora@gmail.com>
191
192 * progmodes/python.el (python-electric-pair-string-delimiter):
193 Fix triple-quoting electricity. (Bug#17192)
194
195 2014-04-06 João Távora <joaotavora@gmail.com>
196
197 * elec-pair.el (electric-pair-post-self-insert-function):
198 Don't skip whitespace when `electric-pair-text-pairs' and
199 `electric-pair-pairs' were used. syntax to
200 electric-pair--skip-whitespace. (Bug#17183)
201
202 2014-04-06 Eli Zaretskii <eliz@gnu.org>
203
204 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
205 "<F>". (Bug#17199)
206
207 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
210 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
211
212 2014-04-05 Glenn Morris <rgm@gnu.org>
213
214 * help.el (view-lossage): Doc tweak.
215
216 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
217
218 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
219 only when inhibit-x-resources is nil, and do that earlier in the
220 function. Doc fix. (Bug#16694)
221 (face-spec-choose): Accept additional optional argument, whose
222 value is returned if no matching attributes are found.
223 (face-spec-recalc): Use the new optional argument when calling
224 face-spec-choose. (Bug#16378)
225 (make-face-x-resource-internal): Do nothing when
226 inhibit-x-resources is non-nil. Don't touch the default face if
227 reversed video is given--as was done in previous versions of Emacs.
228 (face-set-after-frame-default): Don't call
229 make-face-x-resource-internal here. (Bug#16434)
230
231 2014-04-04 Tassilo Horn <tsdh@gnu.org>
232
233 * doc-view.el (doc-view-bookmark-jump):
234 Use `bookmark-after-jump-hook' to jump to the right page after the
235 buffer is shown in a window. (bug#16090)
236
237 2014-04-04 Eli Zaretskii <eliz@gnu.org>
238
239 * international/characters.el (mirroring): Fix last change:
240 instead of loading uni-mirrored.el explicitly, do that implicitly
241 by creating the 'mirroring' uniprop table. This avoids announcing
242 the loading of uni-mirrored.el.
243
244 2014-04-04 Glenn Morris <rgm@gnu.org>
245
246 * files.el (buffer-stale--default-function)
247 (buffer-stale-function, revert-buffer--default):
248 * autorevert.el (auto-revert-buffers): Doc tweaks.
249
250 2014-04-03 Eli Zaretskii <eliz@gnu.org>
251
252 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
253
254 2014-04-03 Glenn Morris <rgm@gnu.org>
255
256 * files.el (make-backup-file-name-function)
257 (make-backup-file-name, make-backup-file-name--default-function)
258 (make-backup-file-name-1, find-backup-file-name)
259 (revert-buffer-function, revert-buffer-insert-file-contents-function)
260 (buffer-stale--default-function, buffer-stale-function)
261 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
262 (revert-buffer, revert-buffer--default)
263 (revert-buffer-insert-file-contents--default-function):
264 Doc fixes related to defaults no longer being nil.
265 (make-backup-file-name-function): Bump :version.
266 Restore nil as a valid but deprecated custom type.
267
268 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
269
270 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
271 used as a variable (bug#17174).
272
273 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
274
275 * progmodes/perl-mode.el (perl-indent-new-calculate):
276 Handle forward-sexp failure (bug#16985).
277 (perl-syntax-propertize-function): Add "foreach" and "for" statement
278 modifiers introducing expressions (bug#17116).
279
280 2014-04-02 Glenn Morris <rgm@gnu.org>
281
282 * menu-bar.el (menu-bar-file-menu):
283 * vc/ediff.el (ediff-current-file):
284 Update for revert-buffer-function no longer being nil by default.
285
286 * simple.el (command-execute): Respect nil disabled-command-function.
287
288 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
289
290 * simple.el (command-execute): Do not execute the command when it
291 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
292
293 2014-03-29 Juri Linkov <juri@jurta.org>
294
295 * dired-aux.el (dired-compress-file): Don't use string-match-p
296 because its match data is used afterwards.
297
298 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
299
300 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
301 0 like nil.
302
303 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
304
305 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
306 Highlight special globals with font-lock-builtin-face. (Bug#17057)
307
308 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
309 Don't propertize `?' or `!' as symbol constituent when after
310 colon. (Bug#17097)
311
312 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
313
314 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
315 which is no longer needed and causes trouble in GTK builds (bug#17046).
316
317 * emacs-lisp/package-x.el (package--archive-contents-from-url):
318 Use url-insert-file-contents; package-handle-response no longer exists.
319
320 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
321
322 * emacs-lisp/package.el: Fix bug#16733 (again).
323 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
324 (url-http-target-url): Remove unused declarations.
325 (package-handle-response): Remove.
326 (package--with-work-buffer): Use url-insert-file-contents and simplify.
327 (package--download-one-archive): Use current-buffer instead of
328 dynamic binding of `buffer'.
329 (describe-package-1): Do not decode readme-string.
330
331 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
332
333 * simple.el (primitive-undo): Correction to 2014-03-24 change.
334
335 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
336
337 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
338
339 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
340 from 2014-03-07, it decreases performance unnecessarily. Let-bind
341 `remote-file-name-inhibit-cache' to nil in the second pass.
342 (tramp-find-executable): Do not call "which" on SunOS.
343 (tramp-send-command-and-check): Fix docstring.
344 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
345 check whether source directory has set the sticky bit.
346
347 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
348
349 * simple.el (primitive-undo): Only process marker adjustments
350 validated against their corresponding (TEXT . POS). Issue warning
351 for lone marker adjustments in undo history. (Bug#16818)
352 (undo-make-selective-list): Add marker adjustments to selective
353 undo list based on whether their corresponding (TEXT . POS) is in
354 the region. Remove variable adjusted-markers, which was unused
355 and only non nil during undo-make-selective-list.
356 (undo-elt-in-region): Return nil when passed a marker adjustment
357 and explain in function doc.
358
359 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
360
361 * emacs-lisp/package.el (package--add-to-archive-contents):
362 Include already installed and built-in packages in
363 `package-archive-contents'.
364 (package-install): Don't include already installed packages in the
365 options during interactive invocation. (Bug#16762)
366
367 2014-03-24 Daniel Colascione <dancol@dancol.org>
368
369 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
370 instead of cl-loop search function.
371
372 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
373
374 * frameset.el (frameset--initial-params): Fix typo in parameter name.
375
376 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
377
378 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
379
380 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
381
382 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
383 Match special global variables without curlies, too.
384 (ruby-font-lock-keywords): Simplify the matcher for special global
385 variables. Don't require a non-word character after the variable.
386 (Bug#17057)
387
388 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 * simple.el (redisplay-highlight-region-function): Increase priority of
391 overlay to make sure boundaries are visible (bug#15899).
392
393 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
394
395 * frameset.el (frameset-restore): Compare display strings with equal.
396
397 * frame.el (make-frame): Don't quote display name in error message,
398 it is already a string.
399
400 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
401
402 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
403 the password.
404
405 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
406
407 * emacs-lisp/package.el (package-show-package-list): If the buffer
408 is already displayed in another window, switch to that window.
409
410 2014-03-21 Daniel Colascione <dancol@dancol.org>
411
412 * mail/emacsbug.el (report-emacs-bug): Include memory usage
413 information in bug reports.
414
415 2014-03-23 Daniel Colascione <dancol@dancol.org>
416
417 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
418 list to look for keyword arguments instead of `memq', fixing
419 (Bug#3647) --- unfortunately, only for freshly-compiled code.
420 Please make bootstrap.
421
422 2014-03-23 Richard Stallman <rms@gnu.org>
423
424 * battery.el (battery-linux-sysfs): Search for each field
425 from the beginning of the buffer.
426
427 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
428
429 * emacs-lisp/package.el (package-desc): Use the contents of the
430 quoted form, not its cdr. (Bug#16873)
431
432 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
433
434 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
435 benefit of doc.c; change parameter profile to match the X function.
436
437 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
438
439 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
440 and `tramp-copy-env'.
441
442 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
443 (tramp-maybe-open-connection): Handle `tramp-login-env'.
444
445 2014-03-21 Glenn Morris <rgm@gnu.org>
446
447 * electric.el (electric-indent-post-self-insert-function): Add doc.
448
449 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
450
451 * emacs-lisp/package.el (package-compute-transaction):
452 Use `version-list-<=' to compare the requirement version against
453 the version of package already to be installed. Update the error
454 message. (Bug#16826)
455
456 * progmodes/ruby-mode.el (ruby-smie-rules):
457 Add indentation rule for ` @ '. (Bug#17050)
458
459 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
460
461 * align.el (align-regexp): Remove superfluous backslash.
462
463 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
464 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
465 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
466 Fix docstring typos.
467 (ffap-next): Use C-u in docstring.
468 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
469 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
470 Remove superfluous backslashes.
471 (ffap-string-at-point): Reflow docstring.
472
473 * server.el (server-host): Reflow docstring.
474 (server-unload-function): Fix docstring typo.
475 (server-eval-at): Remove superfluous backslash.
476
477 * skeleton.el (skeleton-insert): Remove superfluous backslash.
478 (skeleton-insert): Doc fix.
479 (skeleton-insert): Reflow docstring.
480
481 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
482 (tty-color-approximate, tty-color-by-index, tty-color-values)
483 (tty-color-desc): Remove superfluous backslashes.
484
485 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
486
487 * electric.el (electric-newline-and-maybe-indent): New command.
488 Bind it globally to C-j.
489 (electric-indent-mode): Don't mess with the global map any more.
490 Don't drop the post-self-insert-hook is some buffer is still using it
491 (bug#16770).
492
493 * bindings.el (global-map): Remove C-j binding.
494
495 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
496 the docstring of functions advised before dumping (bug#16993).
497
498 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
499
500 * ps-print.el (ps-generate-postscript-with-faces):
501 Explicitly deactivate the mark (bug#16866).
502 * simple.el (deactivate-mark): Update region highlight.
503
504 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
505
506 * emacs-lisp/package.el (describe-package-1):
507 Decode commentary (bug#16733).
508
509 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
510
511 * custom.el (defcustom): Doc fix: recommend avoiding destructive
512 modification of the value argument of :set (bug#16755).
513
514 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * simple.el (newline-and-indent): Do autofill (bug#17031).
517
518 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
519
520 * newcomment.el (comment-normalize-vars): Only add escaping check
521 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
522 (comment-beginning): Use `narrow-to-region' instead of moving back
523 one character.
524 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
525 (comment-start-skip): Update the docstring.
526
527 2014-03-18 Richard Stallman <rms@gnu.org>
528
529 * dired.el (dired-display-file): Force use of other window.
530
531 2014-03-18 Daniel Colascione <dancol@dancol.org>
532
533 * startup.el (tty-handle-args): Remove debug message from 2007.
534
535 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
536
537 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
538 (advice--make-interactive-form): Use it to avoid (auto)loading function.
539 (advice--make-1, advice-add, advice-remove):
540 Remove braindead :advice-pending hack.
541
542 2014-03-17 Glenn Morris <rgm@gnu.org>
543
544 * calendar/calendar.el (calendar-generate-month): Apply weekend
545 face to the right days; fixes 2013-08-06 change. (Bug#17028)
546
547 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
548
549 * net/tramp.el (tramp-action-out-of-band): Read pending output.
550 (tramp-call-process): Trace also DESTINATION.
551
552 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
553 Quote file names when they are local. Remove superfluous trace.
554
555 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
556
557 * newcomment.el (comment-beginning): If `comment-start-skip'
558 doesn't match, move back one char and try again. (Bug#16971)
559
560 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
561 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
562 Set `comment-start-skip' to a simpler value that doesn't try to
563 check if the semicolon is escaped (this is handled by
564 `syntax-ppss' now). (Bug#16971)
565
566 * progmodes/scheme.el (scheme-mode-variables): Same.
567
568 2014-03-16 Martin Rudalics <rudalics@gmx.at>
569
570 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
571 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
572 current (Bug#16816, Bug#17007).
573 (with-current-buffer-window): New macro doing the same as
574 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
575 * help.el (help-print-return-message): Warn in doc-string to not
576 use this in `with-help-window'.
577 (describe-bindings-internal): Call `describe-buffer-bindings'
578 from within help buffer. See Juanma's scenario in (Bug#16816).
579 (with-help-window): Update doc-string.
580 * dired.el (dired-mark-pop-up):
581 * files.el (save-buffers-kill-emacs):
582 * register.el (register-preview): Use `with-current-buffer-window'
583 instead of `with-temp-buffer-window'.
584
585 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
586
587 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
588 Implement inserting into current buffer, documented in their docstrings.
589 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
590 (rst-section-tree-point, rst-forward-section, rst-indent)
591 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
592 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
593 (rst-font-lock-handle-adornment-pre-match-form)
594 (rst-repeat-last-character): Reflow docstrings.
595 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
596 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
597 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
598 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
599 Fix docstring typos.
600 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
601 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
602 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
603
604 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
605
606 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
607 for compatibility with other ports.
608 (ns-initialize-window-system): Use it. It is set in term/common-win.el
609 from the -xrm command line argument, but in the Nextstep port its value
610 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
611
612 * progmodes/python.el (defconst, python-syntax-count-quotes)
613 (python-indent-region, python-indent-shift-right)
614 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
615 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
616 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
617 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
618 (inferior-python-mode, python-shell-make-comint, run-python-internal)
619 (python-shell-buffer-substring, python-shell-send-buffer)
620 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
621 (python-completion-complete-at-point, python-fill-docstring-style)
622 (python-eldoc-function, python-imenu-format-item-label)
623 (python-imenu-format-parent-item-label)
624 (python-imenu-format-parent-item-jump-label)
625 (python-imenu--build-tree, python-imenu-create-index)
626 (python-imenu-create-flat-index): Fix docstring typos.
627 (python-indent-context, python-shell-prompt-regexp, run-python):
628 Remove superfluous backslashes.
629 (python-indent-line, python-nav-beginning-of-defun)
630 (python-shell-get-buffer, python-shell-get-process)
631 (python-info-current-defun, python-info-current-line-comment-p)
632 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
633 (python-indent-post-self-insert-function, python-shell-send-file)
634 (python-shell-completion-get-completions)
635 (python-shell-completion-complete-or-indent)
636 (python-eldoc--get-doc-at-point): Reflow docstrings.
637
638 2014-03-14 Glenn Morris <rgm@gnu.org>
639
640 * emacs-lisp/package.el (package-menu-mode-map):
641 Replace use of obsolete function alias. Tweak menu item text.
642
643 * info.el (Info-finder-find-node):
644 Ignore the `emacs' metapackage. (Bug#10813)
645
646 * finder.el (finder-list-matches): Include unversioned packages
647 in the result of a keyword search.
648
649 * finder.el (finder--builtins-descriptions): New constant.
650 (finder-compile-keywords): Use finder--builtins-descriptions.
651
652 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
653
654 * simple.el (blink-matching-paren): Describe the new value,
655 `jump', enabling the old behavior.
656 (blink-matching-open): Use that value. (Bug#17008)
657
658 2014-03-14 Glenn Morris <rgm@gnu.org>
659
660 * finder.el (finder-no-scan-regexp): Add leim-list.
661 (finder-compile-keywords):
662 Don't skip files with same basename. (Bug#14010)
663 * Makefile.in (setwins_finder): New, excluding leim.
664 (finder-data): Use setwins_finder.
665
666 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
667 (help-function-arglist, help-make-usage): Move from here...
668 * help.el (help-split-fundoc, help-add-fundoc-usage)
669 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
670 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
671
672 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
673
674 * net/socks.el (socks, socks-override-functions)
675 (socks-find-services-entry):
676 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
677 (hif-find-ifdef-block):
678 * progmodes/modula2.el (m2-indent): Fix docstring typos.
679
680 * net/tls.el (tls-program): Reflow docstring.
681
682 * progmodes/pascal.el (pascal-mode-abbrev-table)
683 (pascal-imenu-generic-expression, pascal-auto-endcomments)
684 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
685 (pascal-outline-mode): Fix docstring typos.
686 (pascal-mode): Let define-derived-mode document mode hook.
687 (pascal-uncomment-area): Reflow.
688 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
689
690 * progmodes/opascal.el (opascal-compound-block-indent)
691 (opascal-case-label-indent): Fix docstring typos.
692 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
693
694 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
695
696 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
697 Fontify multiple adjacent negation chars. (Bug#17004)
698
699 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
700
701 * emacs-lisp/package.el (package--prepare-dependencies):
702 Accept requirements without explicit version (bug#14941).
703
704 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
705
706 * register.el (register-separator, copy-to-register): Doc fixes.
707 (register-preview-default): Remove unnecessary call to concat.
708
709 * frameset.el (frameset-restore): When checking for a visible frame,
710 use the action map instead of calling visible-frame-list.
711
712 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
713
714 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
715
716 2014-03-12 Martin Rudalics <rudalics@gmx.at>
717
718 * window.el (fit-frame-to-buffer): Get maximum width from
719 display's width instead of height.
720
721 2014-03-12 Glenn Morris <rgm@gnu.org>
722
723 * desktop.el (desktop-restore-frames)
724 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
725 (desktop-restore-reuses-frames): Doc tweaks.
726
727 * electric.el (electric-indent-mode): Doc fix.
728
729 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
730
731 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
732 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
733 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
734 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
735 (cvs-dired-use-hook): Fix docstring typos.
736 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
737 Doc fixes.
738
739 * vc/pcvs-defs.el (cvs-auto-remove-handled)
740 (cvs-auto-remove-directories, cvs-default-ignore-marks)
741 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
742 (cvs-execute-single-dir): Fix docstring typos.
743
744 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
745 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
746
747 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
748
749 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
750 Fix docstring typos.
751
752 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
753
754 * frameset.el (frameset--jump-to-register): Add autoload; it could be
755 called from jump-to-register after unloading the frameset package.
756
757 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
758
759 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
760 (bug#16975). Deactivate the mark before setting it to nil.
761 (activate-mark): Do nothing if region is already active.
762
763 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
764
765 * frameset.el (frameset--target-display): Remove definition; declare.
766 (frameset-save, frameset-restore): Let-bind frameset--target-display.
767
768 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
769
770 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
771 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
772 when the advice is pending.
773 (advice-remove): Remove this marker when not needed any more.
774
775 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
776
777 * frameset.el: Separate options for reusing frames and cleaning up.
778 (frameset--reuse-list): Remove definition; declare.
779 (frameset--action-map): Declare.
780 (frameset--find-frame-if): Doc fix.
781 (frameset--restore-frame): Cache frame action.
782 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
783 how to clean up the frame list after restoring. Remove cleaning
784 options from REUSE-FRAMES. Change all keyword values to symbols.
785 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
786
787 * desktop.el (desktop-restore-forces-onscreen)
788 (desktop-restore-reuses-frames): Use non-keyword values.
789 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
790
791 2014-03-10 Glenn Morris <rgm@gnu.org>
792
793 * files.el (find-file): Doc fix: update info node name.
794
795 * emacs-lisp/advice.el (ad-add-advice, defadvice):
796 Doc fix: remove references to deleted info nodes.
797
798 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
799
800 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
801 Do not add `nil' to the environment, when there's no remote `locale'.
802 (tramp-find-inline-encoding): Check, that the remote host has
803 installed perl, before sending scripts.
804
805 2014-03-10 Leo Liu <sdl.web@gmail.com>
806
807 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
808 Clear eldoc-last-message. (Bug#16920)
809
810 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
811
812 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
813 (bug#14430).
814
815 2014-03-09 Juri Linkov <juri@jurta.org>
816
817 * ansi-color.el (ansi-color-names-vector): Copy default colors
818 from `xterm-standard-colors' that look well on the default white
819 background (and also on the black background) to avoid illegible
820 color combinations like yellow-on-white and white-on-white.
821 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
822
823 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
824
825 * frameset.el (frameset-restore): When no frame is visible, do not
826 generate a list of frames, just make visible the selected one.
827
828 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
829
830 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
831 it only contains the repository root. (Bug#16897)
832
833 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
834
835 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
836 only when `remote-file-name-inhibit-cache' is nil.
837 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
838
839 2014-03-06 Martin Rudalics <rudalics@gmx.at>
840
841 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
842 Fix doc-strings.
843 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
844 fit-frame-to-buffer variable. Fix doc-string.
845 (fit-window-to-buffer): Set ONLY argument in call of
846 fit-frame-to-buffer. Fix doc-string.
847
848 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
849
850 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
851 (tramp-action-password): Clear password cache if needed.
852 (tramp-read-passwd): Do not clear password cache.
853
854 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
855 cache unless it is the first password request.
856
857 2014-03-06 Glenn Morris <rgm@gnu.org>
858
859 * simple.el (newline): Doc tweak.
860
861 * emacs-lisp/shadow.el (load-path-shadows-find):
862 Ignore dir-locals. (Bug#12357)
863
864 2014-03-05 Glenn Morris <rgm@gnu.org>
865
866 * files.el (interpreter-mode-alist):
867 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
868
869 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
870
871 * frameset.el (frameset--initial-params): Filter out null entries.
872
873 2014-03-05 Martin Rudalics <rudalics@gmx.at>
874
875 * window.el (window-min-height, window-min-width):
876 Rewrite doc-strings.
877 (window-body-size): Add PIXELWISE argument to make it consistent
878 with its callees.
879
880 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
881
882 * finder.el (finder-mode-map, finder-mode-syntax-table):
883 Revert part of 2014-02-28 change.
884
885 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
886
887 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
888 (eww-setup-buffer): Clear next/prev/etc more reliably.
889 (eww-textarea-map): [tab] doesn't work on tty.
890 Reported by Mario Lang.
891
892 * net/shr.el (shr-map): Ditto.
893
894 2014-03-04 Glenn Morris <rgm@gnu.org>
895
896 * minibuffer.el (completion-hilit-commonality):
897 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
898
899 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
900
901 * hilit-chg.el (hilit-chg-unload-function): New function.
902 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
903 (hilit-chg-map-changes): Prefer cardinal number to digit.
904 (hilit-chg-display-changes): Reflow docstring.
905 (highlight-changes-rotate-faces): Remove superfluous backslash.
906
907 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
908
909 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
910 `tramp-send-command-and-check'.
911
912 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
913
914 * hexl.el (hexl-address-region, hexl-ascii-region)
915 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
916 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
917 (hexl-forward-word, hexl-previous-line, hexl-next-line):
918 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
919 (hexl-mode): Doc fix.
920 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
921 (hexl-mode-ruler): Fix typos in docstrings.
922
923 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
924 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
925 Remove superfluous backslashes.
926 (strokes-last-stroke, strokes-global-map, strokes-mode):
927 Reflow docstrings.
928 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
929 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
930 (strokes-distance-squared, strokes-global-set-stroke)
931 (strokes-global-set-stroke-string): Doc fixes.
932 (strokes-help): Fix typos; reflow docstring.
933
934 2014-03-04 Martin Rudalics <rudalics@gmx.at>
935
936 * window.el (window-in-direction): Fix doc-string.
937
938 2014-03-04 Glenn Morris <rgm@gnu.org>
939
940 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
941 Explicit error if no grammar.
942 (smie-config-save): Doc fix. Fix quote typo.
943
944 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
945
946 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
947 electric-indent-mode-hook if we obey electric-indent-mode.
948 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
949 decide whether we obey electric-indent-mode.
950 (c-change-set-fl-decl-start, c-extend-after-change-region):
951 Silence warnings.
952 (c-electric-indent-mode-hook): Assume we do want to obey
953 electric-indent-mode.
954
955 * electric.el (electric-indent-mode-has-been-called): Remove.
956 (electric-indent-mode): Fix accordingly.
957
958 * files.el (hack-local-variables): Mention file name in warning.
959
960 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
961
962 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
963
964 * bindings.el: Add comment describing why C-d binds to `delete-char'.
965 * simple.el (delete-forward-char): Mark as interactive-only.
966
967 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
968
969 * icomplete.el (icomplete-completions):
970 Follow-up to 2014-03-01 change.
971
972 * icomplete.el: Miscellaneous doc fixes.
973 Use Icomplete everywhere instead of icomplete for consistency.
974 (icomplete-max-delay-chars): Fix typo.
975 (icomplete-mode): Use \[].
976 (icomplete-tidy, icomplete-exhibit): Reflow.
977 (icomplete-minibuffer-setup-hook, icomplete-completions):
978 Remove superfluous backlashes.
979
980 * ido.el: Miscellaneous doc fixes.
981 Use Ido everywhere instead of ido or `ido' for consistency.
982 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
983 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
984 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
985 (ido-separator): Extract obsolescence info from docstring and declare
986 with make-obsolete-variable.
987 (ido-minibuffer-setup-hook): Simplify example.
988 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
989 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
990 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
991 (ido-everywhere): Reflow docstring.
992 (ido-toggle-vc): Doc fix.
993 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
994 of long list of keybindings.
995
996 2014-03-03 Glenn Morris <rgm@gnu.org>
997
998 * frame.el (display-pixel-height, display-pixel-width)
999 (display-mm-dimensions-alist, display-mm-height)
1000 (display-mm-width): Doc tweaks.
1001
1002 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
1003
1004 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1005 case of undo in region.
1006
1007 2014-03-02 Martin Rudalics <rudalics@gmx.at>
1008
1009 * window.el (fit-window-to-buffer): Fix argument in window-size
1010 call when window is horizontally combined.
1011
1012 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
1013
1014 * icomplete.el (icomplete-completions): Use string-width.
1015 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1016
1017 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1018
1019 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1020 Highlight regexp options. (Bug#16914)
1021
1022 2014-03-01 Martin Rudalics <rudalics@gmx.at>
1023
1024 * window.el (window--max-delta-1): Round down when calculating
1025 how many lines/columns we can get from a window.
1026
1027 2014-03-01 Glenn Morris <rgm@gnu.org>
1028
1029 * isearch.el (search-invisible): Doc fix.
1030
1031 * minibuffer.el (completion-hilit-commonality):
1032 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1033 * comint.el (comint-dynamic-list-completions): Doc fix.
1034 * comint.el (comint-dynamic-list-completions):
1035 * filecache.el (file-cache-minibuffer-complete):
1036 * tempo.el (tempo-display-completions):
1037 * eshell/em-hist.el (eshell-list-history):
1038 Replace use of obsolete argument of display-completion-list.
1039
1040 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
1041
1042 * icomplete.el (icomplete-completions):
1043 Revert back to using "..." when ?… cannot be displayed.
1044
1045 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1046
1047 * finder.el (finder-unload-function): New function.
1048
1049 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1050
1051 * dframe.el (dframe-detach):
1052 * find-dired.el (find-dired, find-name-dired):
1053 * finder.el (finder-mode-map, finder-mode-syntax-table)
1054 (finder-headmark, finder-select, finder-mouse-select):
1055 Fix docstring typos.
1056
1057 2014-02-28 Martin Rudalics <rudalics@gmx.at>
1058
1059 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1060 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1061 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1062 Fix doc-string based on a suggestion by Nicolas Richard
1063 <theonewiththeevillook@yahoo.fr>.
1064 * help.el (with-help-window): Fix doc-string.
1065
1066 2014-02-28 Ivan Kanis <ivan@kanis.fr>
1067
1068 * net/shr.el (shr-image-animate): New option.
1069 (shr-put-image): Respect shr-image-animate.
1070
1071 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
1072
1073 * net/tramp-adb.el (tramp-adb-parse-device-names):
1074 Use `accept-process-output'.
1075 (tramp-adb-handle-file-truename): Cache the localname only.
1076 (tramp-adb-handle-make-directory)
1077 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1078 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1079 modes cannot be changed.
1080
1081 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1082 file properties of symlinks.
1083
1084 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1085
1086 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1087 required/optional fields to match development biblatex. (Bug#16781)
1088
1089 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1090
1091 * saveplace.el (toggle-save-place):
1092 Fix argument handling. (Bug#16673)
1093
1094 2014-02-28 Glenn Morris <rgm@gnu.org>
1095
1096 * minibuffer.el (completions-first-difference)
1097 (completions-common-part, completion-hilit-commonality): Doc fixes.
1098
1099 2014-02-28 Karl Berry <karl@gnu.org>
1100
1101 * info.el (Info-mode-map): Add H for describe-mode,
1102 to synchronize with standalone Info.
1103
1104 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
1105
1106 * progmodes/sql.el (sql-interactive-mode):
1107 Avoid setting global comint-input-ring-separator. (Bug#16814)
1108
1109 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1110
1111 * net/dbus.el (dbus--init-bus): Declare function.
1112 (dbus-path-local, dbus-interface-local): New defconst.
1113 (dbus-init-bus): Use them.
1114 (dbus-return-values-table): Extend doc.
1115 (dbus-handle-bus-disconnect): Extend error message.
1116
1117 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
1118
1119 * subr.el (y-or-n-p): Fix double space issue in message.
1120
1121 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1122
1123 * net/tramp.el (tramp-call-process): Improve trace message.
1124 (tramp-handle-insert-file-contents): Trace error case.
1125
1126 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1127 <insert-directory>: Use `tramp-handle-insert-directory'.
1128 (tramp-adb-handle-insert-directory): Remove function.
1129 (tramp-adb-send-command-and-check): New defun, replacing
1130 `tramp-adb-command-exit-status'. Change all callees.
1131 (tramp-adb-handle-file-attributes)
1132 (tramp-adb-handle-directory-files-and-attributes): Use it.
1133 (tramp-adb-ls-output-name-less-p):
1134 Use `directory-listing-before-filename-regexp'.
1135 (tramp-adb-handle-delete-directory): Flush also file properties of
1136 the truename of directory.
1137 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1138 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1139 (tramp-adb-handle-write-region): Implement APPEND.
1140 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1141 properties correctly.
1142 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1143 variables. Check for connected devices only when needed.
1144
1145 2014-02-27 Glenn Morris <rgm@gnu.org>
1146
1147 * minibuffer.el (completion-table-dynamic)
1148 (completion-table-with-cache): Doc fixes.
1149
1150 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1151 (completing-read-multiple): Doc fixes.
1152
1153 2014-02-27 Daniel Colascione <dancol@dancol.org>
1154
1155 * minibuffer.el (completion--nth-completion): Fix indentation.
1156
1157 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1158 explicit tramp path is empty.
1159
1160 2014-02-27 Glenn Morris <rgm@gnu.org>
1161
1162 * emacs-lisp/crm.el (completing-read-multiple):
1163 Empower help-enable-auto-load.
1164
1165 2014-02-26 Glenn Morris <rgm@gnu.org>
1166
1167 * startup.el (command-line): Don't init the tty in daemon mode.
1168
1169 Avoid calling tty-setup-hook twice, eg if a term file
1170 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1171 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1172 (tty-create-frame-with-faces): Use it.
1173 * startup.el (command-line): Pass run-hook argument
1174 to tty-run-terminal-initialization.
1175
1176 * dired.el (dired-restore-desktop-buffer): Demote errors;
1177 eg in case a glob match fails. (Bug#16884)
1178
1179 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1180
1181 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1182 error from `read-from-string'. (Bug#16850)
1183
1184 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1185 result of `completing-read' in the interactive form. (Bug#16854)
1186
1187 2014-02-25 Glenn Morris <rgm@gnu.org>
1188
1189 * image.el (image-animate, image-animate-timeout):
1190 Stop animating images in dead buffers. (Bug#16878)
1191
1192 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1193
1194 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1195 Doc fixes.
1196 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1197 * term/sun.el (sun-raw-prefix-hooks):
1198 Use tty-setup-hook instead of term-setup-hook.
1199 (terminal-init-sun): Construct message from bytecomp plist.
1200 * term/wyse50.el (enable-arrow-keys): Doc fix.
1201
1202 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1203
1204 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1205 Fix docstring typos.
1206
1207 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
1208
1209 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1210
1211 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1212
1213 * minibuffer.el (completion--try-word-completion):
1214 Fix error when completing M-x commands (bug#16808).
1215
1216 2014-02-24 Leo Liu <sdl.web@gmail.com>
1217
1218 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1219
1220 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1221
1222 * apropos.el (apropos-print): Avoid formatting error when
1223 apropos-do-all and apropos-compact-layout are both t.
1224
1225 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1226
1227 * apropos.el (apropos-property, apropos-all-words-regexp)
1228 (apropos-true-hit, apropos-variable, apropos-print):
1229 Fix docstring typos, and remove obsolete comment.
1230
1231 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
1232
1233 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1234 Preserve trailing "/". (Bug#16851)
1235
1236 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1237
1238 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1239 after `=>' (bug#16811).
1240 (ruby-smie-rules): Handle the inconsistent second element of the
1241 list returned by `smie-indent--parent'.
1242 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1243 method call.
1244
1245 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1246
1247 * elec-pair.el (electric-pair-text-syntax-table)
1248 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1249 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1250 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1251 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1252
1253 2014-02-22 Glenn Morris <rgm@gnu.org>
1254
1255 * imenu.el (imenu--generic-function): Doc fix.
1256
1257 * register.el (frame-configuration-to-register): Make obsolete.
1258
1259 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
1260
1261 * desktop.el (desktop-save-buffer-p): Do not fail when
1262 desktop-files-not-to-save is nil. Return t for true result
1263 as the doc says.
1264
1265 2014-02-22 Daniel Colascione <dancol@dancol.org>
1266
1267 * net/secrets.el (secrets-create-item, secrets-search-items):
1268 Check that attribute values are strings, avoiding the construction
1269 of invalid dbus messages.
1270
1271 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1272
1273 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1274 defun-declarations-alist.
1275
1276 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1277
1278 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1279 (bug#16829).
1280
1281 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1282
1283 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1284 (whitespace-newline, whitespace-trailing, whitespace-line)
1285 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1286 (whitespace-space-after-tab): Fix typo in docstrings.
1287
1288 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1289
1290 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1291
1292 * electric.el (electric-indent-functions-without-reindent):
1293 Add `yaml-indent-line'.
1294
1295 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1296
1297 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1298 It has done nothing for years; should be removed after the release.
1299
1300 * simple.el (choose-completion): Fix docstring typo.
1301 (read-quoted-char-radix): Remove unneeded * in docstring.
1302 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1303 Don't escape parentheses unnecessarily in docstrings.
1304
1305 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1306
1307 Fix handling of window-min-height/-width (Bug#16738).
1308 * window.el (window--dump-window, window--dump-frame):
1309 New functions.
1310 (window--min-size-1): Account for window dividers.
1311 When window-resize-pixelwise is nil, delay rounding till after the
1312 sum of the window components has been calculated.
1313 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1314 nil make sure at least one text line and two text columns remain
1315 fully visible.
1316 (window-resize): Signal an error when window-resize-apply fails.
1317 (window--resize-child-windows): Fix calculation of by how many
1318 pixels a window can still be shrunk via window-new-normal.
1319 (adjust-window-trailing-edge): Call window--resizable with
1320 correct TRAIL argument.
1321
1322 (with-temp-buffer-window): Don't evaluate BODY within
1323 with-current-buffer (Bug#16816).
1324
1325 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1326
1327 * net/tramp.el (tramp-check-cached-permissions):
1328 Call `file-attributes' with `suffix' being a symbol but a string.
1329
1330 2014-02-21 Daniel Colascione <dancol@dancol.org>
1331
1332 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1333 (dbus-init-bus): New function: call into dbus-init-bus-1
1334 and installs a handler for the disconnect signal.
1335 (dbus-call-method): Rewrite to look for result in cons.
1336 (dbus-call-method-handler): Store result in cons.
1337 (dbus-check-event): Recognize events with nil sender as valid.
1338 (dbus-handle-bus-disconnect): New function. React to bus
1339 disconnection signal by synthesizing dbus error for each
1340 pending synchronous or asynchronous call.
1341 (dbus-notice-synchronous-call-errors): New function.
1342 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1343 is true, not all the time.
1344
1345 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1346
1347 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1348 Remove obsolescence declarations, these variables do not exist anymore.
1349
1350 * savehist.el (savehist-save-minibuffer-history)
1351 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1352 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1353 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1354 mostly, refer to "Savehist mode" when talking about the mode,
1355 and not the function.
1356
1357 * saveplace.el (save-place): Remove redundant info in docstring.
1358 (save-place-forget-unreadable-files, toggle-save-place)
1359 (save-place-forget-unreadable-files, save-place-dired-hook):
1360 Fix typos and remove unneeded backslashes.
1361
1362 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1363
1364 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1365 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1366
1367 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1368 <insert-directory>: Use `tramp-handle-insert-directory'.
1369 (tramp-gvfs-handle-insert-directory): Remove function.
1370
1371 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1372 Call `tramp-handle-insert-directory'.
1373
1374 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1375
1376 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1377 before the start of buffer/region (bug#16799).
1378
1379 2014-02-20 Glenn Morris <rgm@gnu.org>
1380
1381 * isearch.el (search-invisible): Doc fix.
1382
1383 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1384
1385 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1386 (bug#16657).
1387
1388 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1389
1390 * frameset.el (frameset-restore): Delay removing an old frame's
1391 duplicate id until the new frame has been correctly created.
1392
1393 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1394
1395 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1396 (tramp-check-cached-permissions): Call `file-attributes' if the
1397 cache is empty.
1398
1399 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1400 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1401
1402 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1403 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1404 (tramp-gvfs-maybe-open-connection): Set always connection
1405 properties, even if target is mounted already.
1406
1407 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1408 Set tramp-autoload cookie.
1409 (tramp-get-remote-touch): New defun.
1410 (tramp-sh-handle-set-file-times): Use it.
1411 (tramp-sh-handle-directory-files-and-attributes):
1412 Use `tramp-handle-directory-files-and-attributes' if neither stat
1413 nor perl are available on the remote host.
1414
1415 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1416 "/". Write long listing only when "l" belongs to the switches.
1417
1418 * net/trampver.el: Update release number.
1419
1420 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1421
1422 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1423
1424 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1425
1426 * window.el (window-state-put): Allow WINDOW to refer to an
1427 internal window (Bug#16793).
1428
1429 2014-02-19 Glenn Morris <rgm@gnu.org>
1430
1431 * textmodes/remember.el: Move provide statement to end.
1432 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1433 (remember-notes): Doc fixes.
1434
1435 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * delsel.el (delete-char): Restore incorrectly erased property
1438 (bug#16795).
1439
1440 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1441
1442 * frameset.el (frameset--restore-frame): When a frame is being reused
1443 and its root window is not alive, delete all the frame's windows before
1444 restoring the window state. This works around the issue in bug#16793.
1445
1446 2014-02-18 Glenn Morris <rgm@gnu.org>
1447
1448 * textmodes/remember.el (remember-data-directory)
1449 (remember-directory-file-name-format, remember-store-in-files)
1450 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1451 (remember-notes-save-and-bury-buffer)
1452 (remember-notes--kill-buffer-query): Doc fixes.
1453
1454 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1455
1456 2014-02-17 Alan Mackenzie <acm@muc.de>
1457
1458 Connect electric-indent-mode up with CC Mode. Bug #15478.
1459 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1460 to electric-indent-{,local-}-mode.
1461 (c-basic-common-init): Set electric-indent-inhibit.
1462 Initialise c-electric-flag from electric-indent-mode.
1463 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1464 New hook functions which propagate electric-indent-mode to CC mode.
1465
1466 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1467 hit, toggle electric-indent-local-mode.
1468
1469 * electric.el (electric-indent-mode-has-been-called):
1470 New variable.
1471
1472 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1473
1474 * frameset.el (frameset-cfg-id): New function.
1475 (frameset--reuse-frame, frameset-restore): Use it.
1476 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1477
1478 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1479
1480 * ido.el (ido-file-internal): Remove unused var `d'.
1481 Use \` for to match BoS. Fit within 80n columns.
1482
1483 2014-02-17 Daniel Colascione <dancol@dancol.org>
1484
1485 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1486 dbus-call-method check for completion using a busy-wait loop with
1487 gradual backoff.
1488
1489 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
1490
1491 Sync with Tramp 2.2.9.
1492
1493 * net/trampver.el: Update release number.
1494
1495 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1496
1497 * ido.el (ido-file-internal): Don't add the name of an existing
1498 directory twice. (Bug#16747)
1499
1500 2014-02-16 Glenn Morris <rgm@gnu.org>
1501
1502 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1503 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1504
1505 2014-02-15 Michael R. Mauger <michael@mauger.com>
1506
1507 * progmodes/sql.el: Version 3.4
1508 (sql-oracle-options): New default value ("-L").
1509 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1510 (sql-placeholders-filter): Correct placeholder pattern.
1511 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1512 (sql-login-delay): New variable.
1513 (sql-product-interactive): Use it.
1514
1515 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1516
1517 * frameset.el (frameset--jump-to-register): Check that buffer is live
1518 (bug#16749).
1519
1520 2014-02-15 Glenn Morris <rgm@gnu.org>
1521
1522 * info.el (info-initialize): Revert 2014-01-10 change.
1523
1524 2014-02-14 Glenn Morris <rgm@gnu.org>
1525
1526 * replace.el (map-query-replace-regexp)
1527 (read-regexp-defaults-function, read-regexp): Doc fixes.
1528
1529 * dired.el (dired-read-regexp):
1530 * faces.el (list-faces-display):
1531 * misearch.el (multi-isearch-read-matching-buffers)
1532 (multi-isearch-read-matching-files):
1533 * play/cookie1.el (cookie-apropos):
1534 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1535
1536 * textmodes/remember.el (remember): Use frameset-to-register
1537 rather than frame-configuration-to-register.
1538
1539 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1540
1541 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1542 incorrect keybinding.
1543
1544 2014-02-13 Daniel Colascione <dancol@dancol.org>
1545
1546 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1547 when adding overlays so that line numbers from compiler match line
1548 numbers we use.
1549
1550 2014-02-13 Glenn Morris <rgm@gnu.org>
1551
1552 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1553
1554 * jit-lock.el (jit-lock-mode): Doc fix.
1555
1556 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1557
1558 * apropos.el (apropos-read-pattern): When the user passes an empty
1559 string, give a more helpful error message than "Wrong type
1560 argument: stringp, nil".
1561
1562 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1563
1564 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1565
1566 2014-02-13 Glenn Morris <rgm@gnu.org>
1567
1568 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1569
1570 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1571
1572 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1573 shift-select commands.
1574
1575 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1576
1577 * progmodes/js.el (js-indent-line): Don't widen.
1578 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1579
1580 2014-02-12 Glenn Morris <rgm@gnu.org>
1581
1582 * icomplete.el (icomplete): Add info-link to defgroup.
1583 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1584 (icomplete-minibuffer-map, icomplete-mode)
1585 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1586
1587 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1588 (package-menu-filter): Rename from package-menu-filter-interactive.
1589 Doc fix.
1590
1591 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1592
1593 * frameset.el (frameset--jump-to-register): Select the required
1594 window and buffer before restoring position (bug#16696).
1595
1596 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1597
1598 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1599
1600 2014-02-10 Glenn Morris <rgm@gnu.org>
1601
1602 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1603
1604 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1605
1606 * w32-common-fns.el (x-get-selection): Doc fix.
1607 * select.el (x-get-selection): Doc fix. (Bug#15109)
1608
1609 * face-remap.el (face-remap-add-relative)
1610 (face-remap-remove-relative, face-remap-reset-base)
1611 (face-remap-set-base): Call force-mode-line-update to redisplay
1612 the current buffer due to potential change in faces. (Bug#16709)
1613
1614 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1615
1616 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1617 script more robustly.
1618
1619 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1620
1621 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1622
1623 * simple.el (choose-completion): Doc fix (bug#14160).
1624
1625 * subr.el (event-start): Say what a nil EVENT value means.
1626
1627 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1628 (bug#14197).
1629
1630 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1631
1632 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1633
1634 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1635
1636 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1637 predicate function (bug#15455).
1638
1639 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1640
1641 * ielm.el (inferior-emacs-lisp-mode): Instead of
1642 `comment-use-global-state', set `comment-use-syntax'.
1643
1644 2014-02-10 Glenn Morris <rgm@gnu.org>
1645
1646 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1647
1648 2014-02-09 Alan Mackenzie <acm@muc.de>
1649
1650 Fix c-invalidate-state-cache on narrowed buffers.
1651 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1652 Widen when setting and clearing the CPP delimiter properties.
1653
1654 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1655
1656 * help.el (describe-bindings): Doc fix (bug#9888).
1657
1658 * files.el (save-buffer): Use ARG as the parameter name for
1659 consistency (bug#10346).
1660 (save-buffer): Clarify the 0 argument (bug#10346).
1661
1662 * cus-edit.el (customize-apropos): Fix error string.
1663 (custom-buffer-create): Doc fix (bug#11122).
1664 (custom-sort-items): Doc fix (bug#11121).
1665
1666 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1667
1668 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1669 (icomplete-simple-completing-p): Mention the previous variable.
1670
1671 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1672 meaning of the parameter (bug#12282).
1673
1674 * files.el (find-file-noselect): Clarify prompt when changing
1675 readedness (bug#13261).
1676 (locate-file): Suffixes aren't returned, so don't say that they
1677 are (bug#12674).
1678 (backup-inhibited): Doc clarification (bug#12525).
1679
1680 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1681 before we actually start to delete things (bug#16331).
1682
1683 * subr.el (event-start): Doc fix (bug#14228).
1684 (event-end): Ditto.
1685
1686 2014-02-09 Glenn Morris <rgm@gnu.org>
1687
1688 * emacs-lisp/warnings.el (lwarn):
1689 Empower help-enable-auto-load. (Bug#15940)
1690
1691 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1692
1693 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1694 (Bug#16690)
1695
1696 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1697
1698 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1699 Insert output at end of buffer. (Bug#16120)
1700
1701 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1702
1703 * simple.el (choose-completion-string-functions): Document new
1704 calling convention (bug#14153).
1705 (execute-extended-command): Clarify doc string (bug#13373).
1706
1707 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1708
1709 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1710 (find-grep-dired): Doc fix (bug#14288).
1711
1712 2014-02-08 Juri Linkov <juri@jurta.org>
1713
1714 * isearch.el (isearch-quote-char): Check character validity
1715 like in `quoted-insert' (bug#16677).
1716
1717 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1718
1719 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1720
1721 * isearch.el (isearch-hide-immediately): Doc clarification
1722 (bug#14723).
1723
1724 * simple.el (line-move): Document utility function used many
1725 places in the Emacs sources (bug#14843).
1726
1727 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1728 (dired-prev-marked-file): Doc fix (bug#14855).
1729 (dired-up-directory): Doc fix (bug#14848).
1730
1731 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1732
1733 * files.el (file-relative-name): Doc fix (bug#15159).
1734
1735 * fringe.el (fringe-styles): Doc fix (bug#15239).
1736
1737 * isearch.el (isearch-filter-predicate): Documentation typo fix
1738 (bug#15474).
1739
1740 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1741
1742 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1743
1744 * replace.el (replace-match-maybe-edit): Doc clarification
1745 (bug#15632).
1746
1747 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1748
1749 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1750
1751 2014-02-08 Glenn Morris <rgm@gnu.org>
1752
1753 * help-fns.el (describe-variable):
1754 Check {file,dir}-local-variables-alist, and buffer-file-name,
1755 in the correct buffer.
1756
1757 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1758
1759 * help-fns.el (describe-variable): Fix the case where
1760 a value is directory-local with no dir-locals file. (Bug#16635)
1761
1762 2014-02-08 Glenn Morris <rgm@gnu.org>
1763
1764 * abbrev.el (edit-abbrevs-mode):
1765 Derive from fundamental-mode. (Bug#16682)
1766
1767 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1768
1769 * simple.el (quoted-insert): Check character validity (bug#16677).
1770
1771 2014-02-07 Juri Linkov <juri@jurta.org>
1772
1773 * desktop.el (desktop-read): Claim the lock when the owner is not
1774 the current process. (Bug#16157)
1775
1776 2014-02-07 Juri Linkov <juri@jurta.org>
1777
1778 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1779 to "\\` ". (Bug#16651)
1780
1781 2014-02-07 Juri Linkov <juri@jurta.org>
1782
1783 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1784 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1785 (desktop-auto-save-cancel-timer): New function with some code from
1786 `desktop-auto-save-set-timer'.
1787 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1788 Instead of setting `desktop-save-mode' to nil, call
1789 `desktop-save-mode' with arg 0. (Bug#16630)
1790
1791 2014-02-07 Glenn Morris <rgm@gnu.org>
1792
1793 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1794 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1795 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1796
1797 * obsolete/iswitchb.el: Move to obsolete/.
1798 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1799 since obsolete/ is not scanned for autoloads.
1800 * emacs-lisp/authors.el (authors-valid-file-names):
1801 Add iswitchb.el.
1802
1803 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1804 Disable now non-functional find-file-hook.
1805
1806 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1807
1808 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1809 instead of ";" in order to avoid additional prompts. Let heredoc
1810 scripts read from tty. (Bug#16582)
1811 (tramp-send-command): No special handling of heredocs, it isn't
1812 necessary anymore.
1813
1814 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1815
1816 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1817 with a space (bug#16664). Limit the symbols considered to the ones
1818 that are bound or fbound (bug#16646).
1819
1820 2014-02-06 Glenn Morris <rgm@gnu.org>
1821
1822 * epa.el (epa-mail-aliases): Doc fix.
1823
1824 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1825
1826 * emacs-lisp/lisp.el (lisp-completion-at-point):
1827 Use `completion-table-merge' instead of `completion-table-in-turn'
1828 (bug#16604).
1829
1830 * minibuffer.el (completion-table-merge): New function.
1831
1832 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1833
1834 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1835 (tramp-sh-handle-set-file-acl)
1836 (tramp-sh-handle-start-file-process)
1837 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1838 (tramp-find-executable, tramp-send-command): Use it.
1839
1840 2014-02-05 Glenn Morris <rgm@gnu.org>
1841
1842 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1843
1844 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1845
1846 * progmodes/python.el (python-shell-send-string)
1847 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1848
1849 2014-02-04 Anders Lindgren <andlind@gmail.com>
1850
1851 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1852 the names (bug#16620).
1853
1854 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1855
1856 * faces.el (window-divider): New default value. Rewrite doc-string.
1857 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1858
1859 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1860
1861 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1862 `protected' and `public' can also be called without arguments.
1863
1864 2014-02-03 Glenn Morris <rgm@gnu.org>
1865
1866 * register.el (window-configuration-to-register)
1867 (frame-configuration-to-register): Unadvertise unused argument.
1868 * frameset.el (frameset-to-register): Remove unused argument.
1869
1870 * frameset.el (frameset-to-register):
1871 * kmacro.el (kmacro-to-register):
1872 * register.el (increment-register):
1873 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1874 (calc-append-to-register, calc-prepend-to-register):
1875 * play/gametree.el (gametree-layout-to-register)
1876 (gametree-apply-register-layout):
1877 * textmodes/picture.el (picture-clear-rectangle-to-register)
1878 (picture-yank-rectangle-from-register):
1879 * vc/emerge.el (emerge-combine-versions-register):
1880 Use register-read-with-preview to read registers.
1881
1882 2014-02-03 João Távora <joaotavora@gmail.com>
1883
1884 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1885 when at beginning of (possibly narrowed) buffer.
1886
1887 2014-02-02 Daniel Colascione <dancol@dancol.org>
1888
1889 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1890 Also try to display local help from just before point.
1891
1892 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1893
1894 c-parse-state. Don't "append-lower-brace-pair" in certain
1895 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1896 recognised as a comment.
1897
1898 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1899 as well as normal comment starter.
1900 (c-parse-state-get-strategy): Extra return possibility
1901 'back-and-forward.
1902 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1903 return value list to indicate replacement of a brace-pair cons
1904 with its car.
1905 (c-parse-state-1): With 'back-and-forward, only call
1906 c-append-lower-brace-pair-to state-cache when cons-separated.
1907
1908 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1909
1910 * term/ns-win.el (ns-suspend-error): New function.
1911 (ns-initialize-window-system): Add ns-suspend-error to
1912 suspend-hook (Bug#16612).
1913
1914 2014-02-02 Daniel Colascione <dancol@dancol.org>
1915
1916 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1917 Make loading cc-mode silent.
1918
1919 2014-02-02 Daniel Colascione <dancol@dancol.org>
1920
1921 * comint.el (comint-prompt-read-only): Change doc to suggest
1922 remap keybinding.
1923
1924 2014-02-02 Glenn Morris <rgm@gnu.org>
1925
1926 * register.el (register-read-with-preview, point-to-register)
1927 (window-configuration-to-register, frame-configuration-to-register)
1928 (jump-to-register, number-to-register, view-register, insert-register)
1929 (copy-to-register, append-to-register, prepend-to-register)
1930 (copy-rectangle-to-register): Doc fixes.
1931
1932 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1933
1934 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1935 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1936 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1937 * help-fns.el (describe-function-1): Use it.
1938
1939 2014-02-02 Glenn Morris <rgm@gnu.org>
1940
1941 * register.el (register-preview-default): New function,
1942 split from register-preview.
1943 (register-preview-function): Rename from register-preview-functions,
1944 make it not a hook.
1945 (register-preview): Use register-preview-function.
1946 (register-read-with-preview): Error on non-character event. (Bug#16595)
1947
1948 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1949
1950 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1951 `:' before binary operators (bug#16609). Don't check for `:'
1952 before `[' and `(', or their syntax status. A percent literal
1953 can't end with either.
1954 (ruby-font-lock-keywords): For built-ins that require arguments,
1955 check that they're followed by something that looks like argument
1956 (bug#16610).
1957
1958 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1959
1960 * subr.el (butlast): Document what an omitted N means (bug#13437).
1961 (nbutlast): Ditto.
1962
1963 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1964
1965 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1966 depth shallower (bug#16587).
1967 (shr-tag-svg): Respect `shr-inhibit-images'.
1968 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1969
1970 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1971
1972 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1973 (ruby-smie-grammar): Make "." right-associative. Make its priority
1974 lower than the ternary and all binary operators.
1975 (ruby-smie-rules): Indent "(" relative to the first non-"."
1976 parent, or the first "." parent at indentation.
1977 Use `ruby-align-chained-calls' for indentation of "." tokens.
1978 (Bug#16593)
1979
1980 2014-01-31 Juri Linkov <juri@jurta.org>
1981
1982 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1983 from `make-hash-table'.
1984
1985 * textmodes/ispell.el (ispell-init-process): Change message format
1986 to be consistent with other messages.
1987
1988 2014-01-31 Glenn Morris <rgm@gnu.org>
1989
1990 * delsel.el (delete-selection-mode): Doc fix.
1991
1992 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1993 (trace-function-background): Doc fixes.
1994
1995 * ido.el (ido-use-virtual-buffers): Doc fix.
1996 Reset :version, since the default value has not changed.
1997
1998 * register.el (register-preview-delay, register-read-with-preview):
1999 Doc fixes.
2000
2001 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2002 do not mess with mail-buffer position (fixes 2009-11-03 change).
2003 * progmodes/cc-mode.el (c-submit-bug-report):
2004 Check auto-fill-mode is bound. (Bug#16592)
2005
2006 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
2007
2008 * startup.el (fancy-splash-image-file): New function,
2009 split from fancy-splash-head.
2010 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2011 so that we are both using the same image. (Bug#16574)
2012
2013 2014-01-30 Glenn Morris <rgm@gnu.org>
2014
2015 * simple.el (eval-expression): Doc fix.
2016
2017 * hexl.el (hexl-mode-hook):
2018 * ielm.el (ielm-mode-hook):
2019 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2020 (lisp-interaction-mode-hook):
2021 * progmodes/cfengine.el (cfengine3-documentation-function):
2022 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2023
2024 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2025
2026 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2027 is a symbol (bug#16584).
2028
2029 2014-01-30 Glenn Morris <rgm@gnu.org>
2030
2031 * help.el (help-for-help-internal): Add "P" to text.
2032
2033 2014-01-29 Glenn Morris <rgm@gnu.org>
2034
2035 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2036
2037 2014-01-28 Martin Rudalics <rudalics@gmx.at>
2038
2039 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2040 height constraints.
2041
2042 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2043
2044 * progmodes/hideif.el: Extend to full CPP expression syntax.
2045 (hif-token-alist): Add missing tokens.
2046 (hif-token-regexp): Add support for float/octal/hex immediates.
2047 (hif-string-literal-regexp): New const.
2048 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2049 (hif-exprlist): New function.
2050 (hif-parse-if-exp): Use it.
2051 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2052 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2053 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2054 (hif-logxor, hif-comma): New functions.
2055
2056 2014-01-28 Glenn Morris <rgm@gnu.org>
2057
2058 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2059
2060 * indent.el (tab-stop-list): Doc fix. Add :version.
2061
2062 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2063 (cvs-append-to-ignore): Add compatibility alias.
2064
2065 2014-01-27 Glenn Morris <rgm@gnu.org>
2066
2067 * dired.el (dired-hide-details-mode): Don't autoload it,
2068 since it cannot be used outside Dired buffers anyway.
2069
2070 * emulation/cua-base.el (cua-mode): Doc fix.
2071
2072 * dired.el (dired-hide-details-hide-symlink-targets)
2073 (dired-hide-details-hide-information-lines)
2074 (dired-hide-details-mode): Doc fixes.
2075
2076 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2077 * strokes.el (strokes-file): Doc fix. Bump :version.
2078 (strokes-help): Doc fix.
2079 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2080 * emulation/viper.el (viper): Doc fix for custom group.
2081 (top-level): Remove oh-so-no-longer-relevant text about vip.
2082 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2083
2084 * ido.el (ido-save-directory-list-file):
2085 * saveplace.el (save-place-file):
2086 * calendar/timeclock.el (timeclock-file):
2087 * net/quickurl.el (quickurl-url-file):
2088 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2089 * progmodes/idlwave.el (idlwave-config-directory):
2090 * textmodes/remember.el (remember-data-file):
2091 Bump :version.
2092
2093 2014-01-26 Glenn Morris <rgm@gnu.org>
2094
2095 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2096 Doc fix. Make obsolete.
2097 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2098
2099 * sort.el (delete-duplicate-lines): Doc fix.
2100
2101 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2102
2103 * progmodes/ada-mode.el (ada):
2104 * woman.el (woman): Link to info manual and Commentary section.
2105
2106 * progmodes/flymake.el (flymake):
2107 * nxml/nxml-mode.el (nxml):
2108 * net/eww.el (eww):
2109 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2110 * htmlfontify.el (htmlfontify):
2111 * ses.el (ses):
2112 * epa.el (epa):
2113 * ido.el (ido): Link to info manual.
2114
2115 2014-01-25 Leo Liu <sdl.web@gmail.com>
2116
2117 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2118
2119 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2120
2121 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2122 (bug#16537).
2123
2124 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
2125
2126 * net/eww.el (eww-download-callback):
2127 Fix reference to eww-download-directory.
2128
2129 * emacs-lisp/bytecomp.el (byte-compile-file):
2130 Remove unused local variable `file-name'.
2131
2132 2014-01-24 Glenn Morris <rgm@gnu.org>
2133
2134 * woman.el (woman-default-faces, woman-monochrome-faces):
2135 Fix obsolescence specification.
2136
2137 * subr.el (with-demoted-errors): Doc fix.
2138
2139 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2142 (cl--macroexp-fboundp): New function.
2143 (cl--make-type-test): Use it.
2144
2145 2014-01-23 Glenn Morris <rgm@gnu.org>
2146
2147 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2148 * simple.el (eval-expression): Doc fixes.
2149
2150 2014-01-22 Glenn Morris <rgm@gnu.org>
2151
2152 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2153
2154 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2155
2156 * emacs-lisp/package.el: Write files silently.
2157 (package-autoload-ensure-default-file, package--write-file-no-coding)
2158 (package-generate-description-file, package--download-one-archive)
2159 (package-install-from-archive): Tell `write-region' to stay quiet.
2160 (package-menu-mode, package-menu--print-info): Omit the Archive column
2161 if there's only one archive.
2162 (package-all-keywords, package--has-keyword-p): Remove dead code.
2163
2164 2014-01-22 Glenn Morris <rgm@gnu.org>
2165
2166 * version.el (emacs-bzr-version-bzr): Fix typo.
2167
2168 * version.el (emacs-repository-get-version):
2169 Check either .bzr or .git, but not both.
2170 Make the git case actually use the DIR argument, and return nil
2171 rather than the empty string.
2172 Avoid error if .git exists but the git executable is not found.
2173
2174 2014-01-22 Martin Rudalics <rudalics@gmx.at>
2175
2176 Fixes in window size functions around Bug#16430 and Bug#16470.
2177 * window.el (window-total-size, window-size): New argument ROUND.
2178 (window--min-delta-1, window-min-delta, window--max-delta-1):
2179 Be more conservative when calculating the numbers of lines or
2180 columns a window can shrink (Bug#16430).
2181 (fit-window-to-buffer): Simplify code.
2182 * term.el (term-window-width): Call window-body-width again.
2183
2184 2014-01-22 Glenn Morris <rgm@gnu.org>
2185
2186 * image.el (image-format-suffixes): Doc fix.
2187
2188 * international/quail.el (quail-define-package): Doc fix.
2189
2190 * emacs-lisp/authors.el (authors-valid-file-names)
2191 (authors-renamed-files-alist): Additions.
2192
2193 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2194 reverts 2014-01-09 change. (Bug#16422)
2195
2196 * calc/calc-embed.el (thing-at-point-looking-at):
2197 * emacs-lisp/map-ynp.el (x-popup-dialog):
2198 * obsolete/lmenu.el (x-popup-dialog):
2199 * emacs-lisp/package.el (url-recreate-url):
2200 * mail/mailclient.el (clipboard-kill-ring-save):
2201 * subr.el (x-popup-dialog): Update declaration.
2202 * mail/rmail.el (rmail-mime-message-p):
2203 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2204
2205 2014-01-21 Daniel Colascione <dancol@dancol.org>
2206
2207 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2208 Correctly detect when we're inside an arithmetic expansion form
2209 containing nested parenthesis.
2210 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
2211 to detect cases where we shouldn't expand "<<" to a heredoc
2212 skeleton.
2213
2214 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2215
2216 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2217 (eldoc--message-command-p): New function.
2218 (eldoc-display-message-p): Use it.
2219 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2220 message is not automatically erased for us.
2221 (eldoc-print-current-symbol-info): Erase previous message, if any.
2222
2223 2014-01-21 Tassilo Horn <tsdh@gnu.org>
2224
2225 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2226 specify it's an interactive function.
2227
2228 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2229 Fix regex used for scanning for citation keys which failed for
2230 citations with optional arguments.
2231
2232 2014-01-21 Leo Liu <sdl.web@gmail.com>
2233
2234 * simple.el (read--expression): Don't enable eldoc-mode.
2235
2236 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2237
2238 * simple.el (move-beginning-of-line): Make sure we don't move forward
2239 (bug#16497).
2240
2241 2014-01-20 Juri Linkov <juri@jurta.org>
2242
2243 * saveplace.el (toggle-save-place, save-place-to-alist)
2244 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2245 'dired-mode) before checking for dired-directory. (Bug#16477)
2246
2247 2014-01-20 Juri Linkov <juri@jurta.org>
2248
2249 * indent.el (indent-line-to): Use backward-to-indentation
2250 instead of back-to-indentation. (Bug#16461)
2251
2252 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2253
2254 Revert some of the CANNOT_DUMP fix (Bug#16494).
2255 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2256 but fixing this can wait until after the next release.
2257 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2258
2259 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
2260
2261 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2262 Use `password-word-equivalents'.
2263 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2264 to t. (Bug#5664, Bug#13124)
2265
2266 2014-01-19 Alan Mackenzie <acm@muc.de>
2267
2268 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2269 points.
2270 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
2271 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
2272 * progmodes/cc-mode.el (c-before-change, c-after-change)
2273 (c-font-lock-fontify-region): Bind it here.
2274
2275 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2276
2277 * term.el (term-window-width): Call window-text-width instead of
2278 window-width (Bug#16470).
2279
2280 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2281
2282 * simple.el (password-word-equivalents): Remove duplicates.
2283 Sort, to make this easier next time.
2284 Downcase. Omit ": " after "jelszó".
2285
2286 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2287
2288 * term/common-win.el (saved-region-selection): Defvar it.
2289 (x-select-text): Set saved-region-selection (Bug#16382).
2290
2291 2014-01-18 Glenn Morris <rgm@gnu.org>
2292
2293 * emacs-lisp/authors.el (authors-aliases)
2294 (authors-renamed-files-alist): Add some entries.
2295
2296 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2297
2298 * net/tramp.el (tramp-password-prompt-regexp):
2299 Use `password-word-equivalents' if available.
2300 (tramp-action-password, tramp-process-one-action)
2301 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2302
2303 2014-01-17 Chong Yidong <cyd@gnu.org>
2304
2305 * simple.el (password-word-equivalents): New defcustom.
2306 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2307 to 24.4.
2308 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2309 to t. (Bug#13124)
2310
2311 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2312
2313 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2314 (ruby-align-to-stmt-keywords): Change the default value.
2315 Use `ruby-alignable-keywords' to generate the possible customization
2316 choices.
2317 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2318 keywords, check against the value of `ruby-alignable-keywords'
2319 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2320
2321 2014-01-17 Glenn Morris <rgm@gnu.org>
2322
2323 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2324
2325 Make M-x authors return zero *Authors Errors* from current logs.
2326 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2327 (authors-ignored-files): Add some entries, remove others.
2328 (authors-ambiguous-files, authors-valid-file-names):
2329 Add some entries.
2330 (authors-renamed-files-alist): Add, remove, and adjust entries.
2331 (authors-renamed-files-regexps): Add some entries.
2332 Remove some very broad ones. Make some entries `lax'.
2333 (authors-lax-changelogs): New constant.
2334 (authors-disambiguate-file-name): Treat top-level specially.
2335 (authors-lax-changelog-p): New function.
2336 (authors-canonical-file-name): Check file as written against
2337 authors-valid-file-names. Do not special-case etc/.
2338 Handle `lax' logs and authors-renamed-files-regexps elements.
2339
2340 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2341
2342 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2343 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2344 callers.
2345
2346 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2347
2348 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2349 Assume we're already in the proper buffer.
2350 Inspired by Anders Lindgren <andlind@gmail.com>.
2351 (follow-post-command-hook): Call it from the right buffer.
2352 (follow-comint-scroll-to-bottom): Adjust call.
2353 (follow-all-followers): Use get-buffer-window-list.
2354
2355 2014-01-15 Daniel Colascione <dancol@dancol.org>
2356
2357 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2358 `buffer-file-name' in interactive-form so that we don't leave
2359 pathless file names in `file-name-history'.
2360
2361 2014-01-15 Juri Linkov <juri@jurta.org>
2362
2363 * indent.el (indent-rigidly): Set deactivate-mark to nil
2364 in transient indentation mode. (Bug#16438)
2365
2366 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2367
2368 * emacs-lisp/package.el (package-desc-keywords): New function
2369 (Bug#16222).
2370 (describe-package-1, package-all-keywords)
2371 (package--has-keyword-p): Use it.
2372
2373 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2374
2375 * simple.el (define-alternatives): When creating the
2376 COMMAND-alternatives variable, assign COMMAND as its definition
2377 name so that `describe-variable' can relocate it.
2378
2379 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2380
2381 * font-lock.el (font-lock-keywords): Fix typo in docstring
2382 (bug#16307).
2383
2384 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2385
2386 * ispell.el (ispell-region): Reset `in-comment' for new line
2387 instead of wrongly reset `add-coment' (bug#13577).
2388
2389 2014-01-14 Daiki Ueno <ueno@gnu.org>
2390
2391 * epa-file.el (epa-file-write-region): Encode the region according
2392 to `buffer-file-format'. Problem reported at:
2393 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2394
2395 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2396
2397 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2398 so it applies in the right buffer (bug#16410).
2399
2400 2014-01-13 Daniel Colascione <dancol@dancol.org>
2401
2402 * textmodes/rst.el (rst-define-key): Provide deprecated
2403 keybindings through named functions instead of anonymous ones so
2404 that "??" doesn't appear in describe-mode output.
2405
2406 2014-01-13 Bastien Guerry <bzg@gnu.org>
2407
2408 * simple.el (define-alternatives): Call the selected command
2409 interactively. When setting `COMMAND--implementation' for the
2410 first time, tell the user how to chose another implementation.
2411 Enhance the docstring.
2412
2413 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2414
2415 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2416 (log-edit--match-first-line): New function.
2417 (log-edit-font-lock-keywords): Use it.
2418 (log-edit-mode): Make jit-lock-defer-multiline work.
2419
2420 2014-01-13 Bastien Guerry <bzg@gnu.org>
2421
2422 * rect.el (rectangle-mark-mode): When the region is not active,
2423 display a message saying that the mark as been set and that
2424 rectangle mode is in use.
2425 (rectangle--highlight-for-redisplay): Only put an overlay with a
2426 visible vertical bar when (display-graphic-p) is non-nil.
2427 This partially fixes Bug#16403.
2428
2429 2014-01-13 Juri Linkov <juri@jurta.org>
2430
2431 * info.el (Info-find-file): Go to DIR before displaying the error
2432 about a nonexistent file if no previous Info file is visited.
2433 Use `user-error' instead of `error' for "Info file %s does not exist".
2434 (Info-find-node-2): In case of a nonexistent node in unwind forms
2435 go to the Top node if there is no previous node to revert to.
2436 (Bug#16405)
2437
2438 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2439
2440 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2441 * window.el (fit-frame-to-buffer): Fix doc-string.
2442 Respect window-min-height/-width. Fit pixelwise when
2443 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2444 when avoiding that frame goes partially off-screen.
2445 (fit-window-to-buffer): Respect window-min-height/-width
2446 (Bug#14096).
2447
2448 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2449
2450 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2451 after an empty line.
2452
2453 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2454
2455 * net/shr.el (shr-render-region): Autoload.
2456
2457 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2458
2459 * net/eww.el (eww-download-directory): Rename from
2460 `eww-download-path' (Bug#16419).
2461
2462 2014-01-12 Leo Liu <sdl.web@gmail.com>
2463
2464 * dired-x.el (dired-mode-map): Fix last change.
2465
2466 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2467
2468 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2469
2470 Spelling fixes.
2471 * emacs-lisp/generic.el (generic--normalize-comments):
2472 Rename from generic--normalise-comments. All uses changed.
2473 * play/bubbles.el (bubbles--neighborhood-score)
2474 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2475 (bubbles--neighborhood-available)
2476 (bubbles--update-neighborhood-score):
2477 Rename from names with 'neighbourhood'. All uses changed.
2478
2479 2014-01-12 Leo Liu <sdl.web@gmail.com>
2480
2481 Re-implement the feature of showing eldoc info after editing.
2482 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2483 (eldoc-edit-message-commands): New function.
2484 (eldoc-print-after-edit): New variable.
2485 (eldoc-pre-command-refresh-echo-area): Emit message only by
2486 eldoc-message-commands.
2487 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2488 if eldoc-print-after-edit is set. (Bug#16346)
2489 * simple.el (read--expression): Enable eldoc-mode.
2490 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2491
2492 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2493 Eric S. Raymond <esr@thyrsus.com>
2494
2495 * version.el (emacs-repository-get-version): Enhance so the
2496 function works correctly in either a Bazaar or Git repo.
2497
2498 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2499
2500 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2501 Goes with removal of the joke manpages from /etc.
2502
2503 2014-01-10 Kenichi Handa <handa@gnu.org>
2504
2505 * mail/rmail.el (rmail-get-coding-system):
2506 Check rmail-get-coding-function before "funcall"ing it.
2507
2508 2014-01-10 Glenn Morris <rgm@gnu.org>
2509
2510 * emacs-lisp/authors.el (authors-fixed-entries):
2511 Update for files that no longer exist.
2512
2513 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2514
2515 * version.el (emacs-bzr-get-version): Restore compatibilty with
2516 24.3 (Tested).
2517
2518 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2519
2520 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2521 and Podfile.
2522
2523 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2524
2525 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2526
2527 2014-01-10 Chong Yidong <cyd@gnu.org>
2528
2529 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2530
2531 2014-01-10 Anders Lindgren <andlind@gmail.com>
2532
2533 * follow.el (follow-cache-command-list): Include right-char and
2534 left-char.
2535
2536 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2537
2538 Spelling fixes.
2539 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2540 * woman.el (woman-mark-horizontal-position):
2541 Rename from woman-mark-horizonal-position. Use changed.
2542
2543 2014-01-10 Glenn Morris <rgm@gnu.org>
2544
2545 * info.el (info-initialize): If running uninstalled, ensure our
2546 own info files are always found first, even if INFOPATH is set.
2547
2548 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2549
2550 2014-01-09 David Engster <deng@randomsample.de>
2551
2552 * emacs-lisp/eieio-custom.el:
2553 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2554 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2555 * emacs-lisp/eieio.el: Regenerate autoloads.
2556
2557 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2558
2559 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2560 following renames. (Bug#8756)
2561
2562 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2563
2564 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2565 (bug#16382).
2566 (activate-mark): Add `no-tmm' argument.
2567 (set-mark, push-mark-command): Use it instead of running
2568 activate-mark-hook by hand.
2569
2570 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2571
2572 In preparation for the move to git, sanitize out some
2573 Bazaar-specific names.
2574
2575 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2576
2577 * version.el (emacs-bzr-version): Name changed to
2578 emacs-repository-version. Obsolete-variable alias made.
2579 * loadup.el: Follow through on this name change.
2580 * mail/emacsbug.el (report-emacs-bug): Factor out any
2581 assumption about the version control system in use.
2582
2583 2014-01-08 David Engster <deng@randomsample.de>
2584
2585 * help-fns.el (help-fns-describe-function-functions):
2586 New variable to call functions for augmenting help buffers.
2587 (describe-function-1): Remove explicit calls to
2588 `help-fns--compiler-macro', `help-fns--parent-mode' and
2589 `help-fns--obsolete'. Put them in above new variable instead, and
2590 call them through `run-hook-with-args'.
2591 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2592 `eieio-describe-class'. Not meant for interactive use anymore,
2593 but to augment existing help buffers. Remove optional second
2594 argument. Create proper button for file location.
2595 Rewrite function to use `insert' instead of `princ' and `prin1' where
2596 possible.
2597 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2598 (eieio-method-def, eieio-class-def): Move further up.
2599 (describe-method, describe-generic, eieio-describe-method):
2600 Remove aliases.
2601 (eieio-help-constructor, eieio-help-generic): Rename from
2602 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2603 Rewrite to use `insert' in the current buffer and use proper help
2604 buttons.
2605 (eieio-help-find-method-definition)
2606 (eieio-help-find-class-definition): Also accept symbols as
2607 arguments.
2608 (eieio-help-mode-augmentation-maybee): Remove.
2609 (eieio-describe-class-sb): Use `describe-function'.
2610 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2611 Add `eieio-help-generic' and `eieio-help-constructor'.
2612
2613 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2614
2615 Spelling fixes.
2616 * language/china-util.el (hz-ascii-designation):
2617 Rename from hz-ascii-designnation.
2618 (hz-ascii-designation): Rename from hz-ascii-designnation.
2619 All uses changed.
2620
2621 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2622
2623 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2624 package-alist.
2625
2626 2014-01-08 Bastien Guerry <bzg@gnu.org>
2627
2628 * emacs-lisp/package.el (package-delete):
2629 Correctly delete the package from package-alist.
2630
2631 2014-01-08 Daiki Ueno <ueno@gnu.org>
2632
2633 * emacs-lisp/package.el (url-recreate-url): Declare.
2634 (url-http-target-url): Declare.
2635 (package-handle-response): Include requested URL in the error message.
2636 (package--check-signature): Don't re-signal errors from
2637 package--with-work-buffer. Suggested by Stefan Monnier.
2638
2639 2014-01-07 Bastien Guerry <bzg@gnu.org>
2640
2641 * minibuffer.el (completion--try-word-completion): When both a
2642 hyphen and a space are possible candidates for the character
2643 following a word, display both candidates. (Bug#15980)
2644
2645 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2646
2647 * window.el (balance-windows-2): While rounding don't give a
2648 window more than the remainder. Bug#16351, bug#16383.
2649
2650 2014-01-07 Glenn Morris <rgm@gnu.org>
2651
2652 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2653 (menu-bar-help-menu): Use view-external-packages instead.
2654
2655 2014-01-07 Bastien Guerry <bzg@gnu.org>
2656
2657 * emacs-lisp/package.el (package-delete): Also delete the package
2658 name from `package-alist', not its description only.
2659
2660 2014-01-07 Glenn Morris <rgm@gnu.org>
2661
2662 * help.el (view-external-packages):
2663 * menu-bar.el (menu-bar-help-extra-packages):
2664 Visit efaq.info rather than etc/MORE.STUFF.
2665
2666 2014-01-07 Juri Linkov <juri@jurta.org>
2667
2668 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2669 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2670
2671 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2672 that shadows RET. (Bug#16342)
2673
2674 2014-01-07 Chong Yidong <cyd@gnu.org>
2675
2676 * isearch.el (isearch-yank-char, isearch-yank-word)
2677 (isearch-yank-line): Doc fix.
2678
2679 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2680
2681 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2682 * emacs-lisp/elint.el (elint-find-builtins):
2683 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2684 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2685 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2686 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2687 * apropos.el (apropos-safe-documentation):
2688 * subr.el (symbol-file): Remove redundant fboundp.
2689 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2690
2691 2014-01-06 Bastien Guerry <bzg@gnu.org>
2692
2693 * hl-line.el (global-hl-line-overlay): Make a local variable.
2694 (global-hl-line-overlays): New variable to store all overlays.
2695 (global-hl-line-mode): Don't delete overlays from the current
2696 buffer when `global-hl-line-sticky-flag' is non-nil.
2697 (global-hl-line-highlight): Add new overlays to
2698 `global-hl-line-overlays'.
2699 (global-hl-line-unhighlight-all): New function to delete all
2700 overlays when turning off `global-hl-line-mode'.
2701 This fixes Bug#16183.
2702
2703 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2704
2705 * subr.el (set-transient-map): Fix nested case and docstring.
2706
2707 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2708
2709 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2710 `Texinfo' entry.
2711
2712 2014-01-06 Daniel Colascione <dancol@dancol.org>
2713
2714 Fix defun navigation in vc log view.
2715
2716 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2717 like `beginning-of-defun'.
2718 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2719 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2720 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2721 (log-view-extract-comment): Call `log-view-current-entry' directly
2722 instead of relying on broken `log-view-beginning-of-defun' behavior.
2723
2724 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2725
2726 Spelling fixes.
2727 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2728 * emacs-lisp/debug.el (cancel-debug-on-entry):
2729 * epg.el (epg-error-to-string):
2730 * files.el (recover-file):
2731 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2732 * mail/emacsbug.el (report-emacs-bug-hook):
2733 * mail/sendmail.el (mail-recover):
2734 * ses.el (ses-yank-resize):
2735 * term/ns-win.el (ns-print-buffer):
2736 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2737 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2738 All uses changed.
2739 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2740
2741 2014-01-06 Leo Liu <sdl.web@gmail.com>
2742
2743 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2744 to avoid shadowing global key. (Bug#16354)
2745
2746 2014-01-06 Daniel Colascione <dancol@dancol.org>
2747
2748 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2749 rst-mode.
2750
2751 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2752
2753 * window.el (balance-windows): Add mising t to fix Bug#16351.
2754
2755 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2756
2757 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2758 (bug#16285).
2759 (shr-insert): If we have a word that's longer than `shr-width',
2760 break after it anyway. Otherwise we'll do no breaking once we get
2761 such a long word.
2762
2763 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2764
2765 * net/eww.el (eww): Support single/double quote for search.
2766 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2767 (eww-history-quit): Delete and use quit-window.
2768 (eww-history-kill): Delete, because it doesn't work well and
2769 not necessary.
2770 (eww-history-mode-map): Delete some keys and add easy-menu.
2771
2772 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2773
2774 Fix misspelling of 'chinese' in rx (Bug#16237).
2775 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2776 chinese-two-byte.
2777
2778 Change subword regexps back to vars (Bug#16296).
2779 * progmodes/subword.el (subword-forward-regexp)
2780 (subword-backward-regexp): Change these back to variables.
2781
2782 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2783
2784 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2785 syntax-begin-function (bug#16247).
2786
2787 2014-01-03 Chong Yidong <cyd@gnu.org>
2788
2789 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2790 (advice--docstring): Delete variable.
2791 (advice--make-1): Leave the docstring empty.
2792 (advice-add): Use function-documentation for advised docstring.
2793
2794 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2795 Ignore function-documentation property when getting documentation.
2796 (ad-activate-advised-definition): Use function-documentation
2797 generate the docstring.
2798 (ad-make-advised-definition): Don't call
2799 ad-make-advised-definition-docstring.
2800 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2801 Delete functions.
2802
2803 * progmodes/sql.el (sql-help): Use function-documentation instead
2804 of dynamic-docstring-function property. No need to autoload now.
2805 (sql--help-docstring): New variable.
2806 (sql--make-help-docstring): Use it.
2807
2808 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2809
2810 * ielm.el (ielm-tab): Retarget.
2811 (ielm-map): Use ielm-tab for tab.
2812 (ielm-complete-filename): Use comint-filename-completion.
2813 (ielm-complete-symbol): Remove.
2814 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2815 remove ielm-tab from completion-at-point-functions (bug#16224).
2816
2817 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2818 Beware signals raised by predicates (bug#16201).
2819
2820 2014-01-02 Richard Stallman <rms@gnu.org>
2821
2822 * dired-aux.el (dired-do-print): Handle printer-name.
2823
2824 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2825 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2826 (rmail-epa-decrypt): Turn off mime processing.
2827
2828 * mail/rmail.el (rmail-make-in-reply-to-field):
2829 Add parens in message-id.
2830
2831 * mail/rmail.el (rmail-get-coding-function): Variable.
2832 (rmail-get-coding-system): Use it.
2833
2834 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2835
2836 * international/mule-conf.el: Unify the charset indian-is13194.
2837 (indian-is13194): Specify unify-map.
2838
2839 2013-12-31 Leo Liu <sdl.web@gmail.com>
2840
2841 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2842
2843 2013-12-30 Daniel Colascione <dancol@dancol.org>
2844
2845 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2846 of printing a useless when we resume from sleep.
2847
2848 * progmodes/sh-script.el
2849 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2850 in indentation code. (Bug#16233)
2851
2852 2013-12-28 João Távora <joaotavora@gmail.com>
2853
2854 * elec-pair.el (electric-pair-post-self-insert-function):
2855 Don't open extra newlines at beginning of buffer. (Bug#16272)
2856
2857 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2858
2859 * frame.el (window-system-for-display): Don't allow to create a
2860 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2861
2862 2013-12-28 Glenn Morris <rgm@gnu.org>
2863
2864 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2865 Update callers.
2866
2867 * apropos.el (apropos-match-face):
2868 * calculator.el (calculator-displayer):
2869 * dabbrev.el (dabbrev-search-these-buffers-only):
2870 * face-remap.el (buffer-face-mode-face):
2871 * simple.el (yank-handled-properties):
2872 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2873 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2874 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2875 (hashcash-double-spend-database):
2876 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2877 (ruby-deep-indent-paren-style):
2878 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2879 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2880 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2881 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2882 Specify custom types.
2883
2884 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2885 * bookmark.el (bookmark-bmenu-use-header-line):
2886 * doc-view.el (doc-view-scale-internally):
2887 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2888 * register.el (register-preview-delay):
2889 * net/shr.el (shr-bullet):
2890 * progmodes/cfengine.el (cfengine-cf-promises)
2891 (cfengine-parameters-indent):
2892 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2893 * textmodes/reftex-vars.el (reftex-label-regexps):
2894 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2895
2896 * net/tls.el (tls-certtool-program): Fix default value.
2897
2898 * desktop.el (desktop-restore-in-current-display):
2899 * newcomment.el (comment-empty-lines):
2900 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2901 (idlwave-pad-keyword):
2902 * progmodes/tcl.el (tcl-tab-always-indent):
2903 * textmodes/reftex-vars.el (reftex-index-default-tag):
2904 * elec-pair.el (electric-pair-skip-whitespace):
2905 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2906
2907 * emacs-lisp/authors.el (authors-ignored-files)
2908 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2909
2910 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2911
2912 * shell.el (shell-dynamic-complete-command): Doc fix.
2913 (shell--command-completion-data): Shell completion now matches
2914 executable filenames from the current buffer's directory, on
2915 systems in which this behavior is the default (windows-nt, ms-dos).
2916
2917 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2918
2919 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2920
2921 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2924 (bug#16251).
2925
2926 * electric.el: Move all electric-pair-* to elec-pair.el.
2927 * elec-pair.el: New file, split from electric.el.
2928
2929 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2930
2931 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2932 indentation level is larger than the width, because that will
2933 infloop.
2934 (shr-insert): Fill repeatedly long texts, so that Japanese is
2935 formatted correctly (bug#16263).
2936 (shr-find-fill-point): Off by one error in comparison with the
2937 indentation.
2938
2939 2013-12-26 João Távora <joaotavora@gmail.com>
2940
2941 * electric.el (electric-pair-mode): More flexible engine for skip-
2942 and inhibit predicates, new options for pairing-related functionality.
2943 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2944 if that keeps or improves their balance in buffers.
2945 (electric-pair-delete-adjacent-pairs): Delete the pair when
2946 backspacing over adjacent matched delimiters.
2947 (electric-pair-open-extra-newline): Open extra newline when
2948 inserting newlines between adjacent matched delimiters.
2949 (electric--sort-post-self-insertion-hook):
2950 Sort post-self-insert-hook according to priority values when
2951 minor-modes are activated.
2952 * simple.el (newline-and-indent): Call newline with interactive
2953 set to t.
2954 (blink-paren-post-self-insert-function): Set priority to 100.
2955 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2956 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2957 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2958 electric-pair-open-newline-between-pairs to nil.
2959
2960 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2961
2962 * progmodes/python.el: Use lexical-binding.
2963 (python-nav-beginning-of-defun): Stop searching ASAP.
2964
2965 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2966
2967 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2968 Fix interactive spec. Doc fix. (Bug#15754)
2969
2970 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2971
2972 * emacs-lisp/byte-run.el (eval-when-compile):
2973 * progmodes/cc-defs.el (cc-eval-when-compile):
2974 Fix edebug spec (bug#16184).
2975
2976 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2977
2978 * net/shr.el (shr-visit-file): Remove debugging function.
2979 (shr-insert): Don't infloop if we can't find a good place to break
2980 the line (bug#16256).
2981
2982 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2983
2984 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2985 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2986 python-nav-lisp-forward-sexp-safe.
2987 (python-nav--forward-sexp): New argument SAFE allows switching
2988 forward sexp movement behavior for parens.
2989 (python-nav-forward-sexp): Throw errors on unterminated parens
2990 (Bug#16191).
2991 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2992 (python-nav-backward-sexp-safe): New functions.
2993 (python-shell-buffer-substring):
2994 Use `python-nav-forward-sexp-safe'.
2995
2996 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2997
2998 * net/shr.el (shr-find-fill-point): Don't break lines before a
2999 quotation mark.
3000 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3001 (shr-find-fill-point): Remove the special checks for the quotation
3002 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3003
3004 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3005
3006 * net/eww.el (eww-form-textarea): Use a different face for
3007 textareas than text input since they have different keymaps
3008 (bug#16142).
3009
3010 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3011
3012 * progmodes/python.el (python-nav-beginning-of-statement):
3013 Speed up (Bug#15295).
3014
3015 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3016
3017 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3018 the window configuration.
3019
3020 2013-12-24 Eli Zaretskii <eliz@gnu.org>
3021
3022 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3023 we run on MS-Windows or MS-DOS.
3024
3025 2013-12-24 Martin Rudalics <rudalics@gmx.at>
3026
3027 * window.el (balance-windows-area): Call window-size instead of
3028 window-height and window-width. Bug#16241.
3029
3030 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3031
3032 * net/eww.el (eww-bookmark-quit): Remove.
3033 (eww-bookmark-browse): Restore the window configuration when you
3034 choose a bookmark (bug#16144).
3035
3036 2013-12-24 Daniel Colascione <dancol@dancol.org>
3037
3038 * icomplete.el: Remove redundant :group arguments to `defcustom'
3039 throughout.
3040 (icomplete-show-matches-on-no-input): New customizable variable.
3041 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3042 we have something to show.
3043 (icomplete-exhibit): Compute completions even if we have no user input.
3044
3045 2013-12-23 Daniel Colascione <dancol@dancol.org>
3046
3047 * icomplete.el: Move `provide' to end of file.
3048
3049 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3050
3051 * net/gnutls.el (gnutls-verify-error): Add version tag.
3052
3053 2013-12-23 Chong Yidong <cyd@gnu.org>
3054
3055 * subr.el (set-transient-map): Rename from
3056 set-temporary-overlay-map. Doc fix.
3057
3058 * face-remap.el (text-scale-adjust):
3059 * indent.el (indent-rigidly):
3060 * kmacro.el (kmacro-call-macro):
3061 * minibuffer.el (minibuffer-force-complete):
3062 * repeat.el (repeat):
3063 * simple.el (universal-argument--mode):
3064 * calendar/todo-mode.el (todo-insert-item--next-param):
3065 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3066
3067 * indent.el (indent-rigidly): Use substitute-command-keys.
3068
3069 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3070
3071 * net/eww.el (eww-tag-select): Add text-property to jump to next
3072 select field.
3073 (eww): Add non-supported ftp error.
3074
3075 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3076
3077 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3078 comments. Handle electric indent after typing `?' and `!'.
3079
3080 2013-12-22 Chong Yidong <cyd@gnu.org>
3081
3082 * faces.el (face-spec-recalc): If the theme specs are not
3083 applicable to a frame, fall back on the defface spec.
3084 This prevents themes from obliterating faces on low-color terminals.
3085
3086 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3087
3088 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3089 after `{'. We need it after block openers, and it doesn't seem
3090 to hurt after hash openers.
3091
3092 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3093
3094 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3095 extracted from `ruby-smie-rules'.
3096 (ruby--electric-indent-chars): New variable.
3097 (ruby--electric-indent-p): New function.
3098 (ruby-mode): Use `electric-indent-functions' instead of
3099 `electric-indent-chars'.
3100
3101 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3102
3103 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3104 docstring.
3105 (ruby-smie-rules): Indent plus one level after `=>'.
3106
3107 2013-12-21 Richard Stallman <rms@gnu.org>
3108
3109 * simple.el (newline): Doc fix.
3110
3111 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3112
3113 * net/eww.el (eww-list-histories, eww-list-histories)
3114 (eww-history-browse, eww-history-quit, eww-history-kill)
3115 (eww-history-mode-map, eww-history-mode): New command and
3116 functions to list browser histories.
3117 (eww-form-text): Support text form with disabled
3118 and readonly attributes.
3119 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
3120
3121 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3122
3123 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3124 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3125 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3126 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3127 Use `user-error'.
3128 (eww-bookmark-mode-map): Add menu.
3129 (eww-render, eww-mode): Use `setq-local'.
3130 (eww-tool-bar-map): New variable.
3131 (eww-mode): Set `tool-bar-map'.
3132 (eww-view-source): Check for `html-mode' with `fboundp'.
3133
3134 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3135
3136 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3137 elements with text inside. Also remove debugging.
3138
3139 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3140
3141 * cus-start.el (all): Add ns-use-srgb-colorspace.
3142
3143 2013-12-21 Chong Yidong <cyd@gnu.org>
3144
3145 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3146 undefined. Thus, theme settings for undefined faces do not take
3147 effect until the faces are defined with defface, the same as with
3148 theme variables.
3149
3150 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3151 (face-spec-reset-face): Don't assign extra properties in temacs.
3152 (face-spec-recalc): Apply X resources too.
3153
3154 2013-12-21 Chong Yidong <cyd@gnu.org>
3155
3156 * faces.el (face-spec-set):
3157 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3158 * custom.el (defface): Doc fixes (Bug#16203).
3159
3160 * indent.el (indent-rigidly-map): Add docstring, and move commands
3161 into named functions.
3162 (indent-rigidly-left, indent-rigidly-right)
3163 (indent-rigidly-left-to-tab-stop)
3164 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3165 indentation direction based on bidi direction, and accumulate
3166 sequential commands in a single undo boundary.
3167 (indent-rigidly--pop-undo): New utility function.
3168
3169 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
3170
3171 * faces.el (read-face-name): Require crm.el when using crm-separator.
3172
3173 2013-12-20 Daniel Colascione <dancol@dancol.org>
3174
3175 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3176 so that we don't reflow comments into the shebang line.
3177
3178 2013-12-20 Juri Linkov <juri@jurta.org>
3179
3180 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3181 a position when `dired-directory' is non-nil. Check integer
3182 positions with `integerp'.
3183 (toggle-save-place, save-places-to-alist): Add check for
3184 `dired-directory'.
3185 (save-place-find-file-hook): Check integer positions with
3186 `integerp'.
3187 (save-place-dired-hook): Use `dired-goto-file' when
3188 `dired-filename' is found in the assoc list. Check integer
3189 positions with `integerp'.
3190 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3191
3192 * dired.el (dired-initial-position-hook): Rename back from
3193 `dired-initial-point-hook'.
3194 (dired-initial-position): Rename `dired-initial-point-hook' to
3195 `dired-initial-position-hook'.
3196 (dired-file-name-at-point): Doc fix. (Bug#15329)
3197
3198 2013-12-20 Juri Linkov <juri@jurta.org>
3199
3200 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3201 (read-regexp-suggestions): New function.
3202 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3203 Use `read-regexp-suggestions'. Add non-empty default to history
3204 for empty input.
3205 (occur-read-regexp-defaults-function): Remove function.
3206 (occur-read-primary-args): Use `regexp-history-last' instead of
3207 `occur-read-regexp-defaults-function'.
3208
3209 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3210 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3211 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3212 `hi-lock-read-regexp-defaults-function'. Doc fix.
3213 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3214 with `find-tag-default-as-symbol-regexp'. Doc fix.
3215 (hi-lock-read-regexp-defaults): Remove function.
3216 (hi-lock-regexp-okay): Add check for null.
3217
3218 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3219 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3220
3221 * subr.el (find-tag-default-as-symbol-regexp): New function.
3222 (find-tag-default-as-regexp): Move symbol regexp formatting to
3223 `find-tag-default-as-symbol-regexp'.
3224
3225 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3226
3227 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3228 (Bug#14179)
3229
3230 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3231
3232 * calendar/todo-mode.el: New implementation of item insertion
3233 commands and key bindings.
3234 (todo-key-prompt): New face.
3235 (todo-insert-item): New command.
3236 (todo-insert-item--parameters): New defconst, replacing defvar
3237 todo-insertion-commands-args-genlist.
3238 (todo-insert-item--param-key-alist): New defconst, replacing
3239 defvar todo-insertion-commands-arg-key-list.
3240 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3241 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3242 (todo-insert-item--next-param): New functions.
3243 (todo-insert-item--args, todo-insert-item--argleft)
3244 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3245 New variables.
3246 (todo-key-bindings-t): Change binding of "i" from
3247 todo-insertion-map to todo-insert-item.
3248 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3249 (todo-insertion-command-name, todo-insertion-commands-names)
3250 (todo-define-insertion-command, todo-insertion-commands)
3251 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3252
3253 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3254
3255 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3256 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3257 eval-when-compile.
3258 (todo-move-category): Allow choosing a non-existing todo file to
3259 move the category to, and create that file.
3260 (todo-default-priority): New user option.
3261 (todo-set-item-priority): Use it.
3262 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3263 (desktop-restore-file-buffer): Declare.
3264 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3265 (todo-modes-set-2): Locally set desktop-save-buffer to
3266 todo-desktop-save-buffer.
3267 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3268 (auto-mode-alist): Add autoload cookie.
3269
3270 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3271
3272 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3273 helpers.el was a poor choice of name.
3274 (string-remove-prefix): New function.
3275 (string-remove-suffix): New function.
3276
3277 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3278
3279 Fix assignment for new window total sizes.
3280 * window.el (window--pixel-to-size): Remove function.
3281 (window--pixel-to-total-1, window--pixel-to-total):
3282 Fix calculation of new total sizes.
3283
3284 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3285
3286 * comint.el (comint-output-filter): Fix rear-nonsticky property
3287 placement (Bug#16010).
3288
3289 2013-12-20 Chong Yidong <cyd@gnu.org>
3290
3291 * faces.el (read-color): Minor fix for completion function.
3292
3293 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3294
3295 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3296 New option. (Bug#16182)
3297 (ruby-smie--indent-to-stmt-p): Use it.
3298 (ruby-smie-rules): Revert the logic in the handling of `when'.
3299 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3300 (ruby-deep-arglist, ruby-deep-indent-paren)
3301 (ruby-deep-indent-paren-style): Update docstrings to note that the
3302 vars don't have any effect with SMIE.
3303
3304 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3305
3306 * calc/calc.el (calc-enter, calc-pop): Use the variable
3307 `calc-context-sensitive-enter'.
3308
3309 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3310
3311 * net/shr.el (shr-insert): Protect against infloops in degenerate
3312 tables.
3313
3314 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3315
3316 * progmodes/octave.el (octave): Add link to manual and octave
3317 homepage.
3318 (octave-mode-menu): Link to octave-mode manual.
3319
3320 2013-12-20 Leo Liu <sdl.web@gmail.com>
3321
3322 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3323 insertion using skeleton-end-newline. (Bug#16138)
3324
3325 2013-12-20 Juri Linkov <juri@jurta.org>
3326
3327 * replace.el (occur-engine): Use `add-face-text-property'
3328 to add the face property to matches and titles. (Bug#14645)
3329
3330 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3331 the palette of other hi-lock colors.
3332 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3333
3334 2013-12-19 Juri Linkov <juri@jurta.org>
3335
3336 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3337 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3338 (minibuffer-history-symbol): Move variable declaration closer to
3339 its usage.
3340
3341 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3342 (Bug#14785)
3343
3344 2013-12-19 Juri Linkov <juri@jurta.org>
3345
3346 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3347 New function.
3348 (log-edit-hook): Add it to :options. (Bug#16170)
3349
3350 2013-12-19 Juri Linkov <juri@jurta.org>
3351
3352 * simple.el (eval-expression-print-format): Don't check for
3353 command names and the last command. Always display additional
3354 formats of the integer result in the echo area, and insert them
3355 to the current buffer only with a zero prefix arg.
3356 Display character when char-displayable-p is non-nil.
3357 (eval-expression): With a zero prefix arg, set `print-length' and
3358 `print-level' to nil, and insert the integer values from
3359 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3360
3361 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3362 `eval-last-sexp-arg-internal'. Doc fix.
3363 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3364 `eval-last-sexp-print-value'. Doc fix.
3365 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3366 Set `print-length' and `print-level' to nil when arg is zero.
3367 (eval-last-sexp): Doc fix.
3368 (eval-defun-2): Print the integer values from
3369 `eval-expression-print-format' at the end.
3370
3371 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3372 values from `eval-expression-print-format' at the end.
3373
3374 * ielm.el (ielm-eval-input): Print the integer
3375 values from `eval-expression-print-format' at the end.
3376
3377 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3378
3379 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3380 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3381
3382 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3383
3384 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3385 (hl-line-highlight, global-hl-line-highlight): Use it.
3386 (hl-line-overlay): Use defvar-local.
3387
3388 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3389
3390 * term/ns-win.el: Require dnd.
3391 (global-map): Remove drag items.
3392 (ns-insert-text, ns-set-foreground-at-mouse)
3393 (ns-set-background-at-mouse):
3394 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3395 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3396 New functions.
3397
3398 2013-12-19 Glenn Morris <rgm@gnu.org>
3399
3400 * emacs-lisp/ert.el (ert-select-tests):
3401 Fix string/symbol mixup. (Bug#16121)
3402
3403 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3404
3405 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3406 keywords to their parent.
3407
3408 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3409
3410 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3411 first arg to be a string (fixed dead code), or an operator symbol.
3412 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3413 operator symbols.
3414 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3415 did nothing. Don't respond to `(:after ".")', it will be called
3416 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3417 change anything. Only return indentation for binary operators
3418 when they are hanging. De-dent opening paren when its parent is
3419 `.', otherwise it looks bad when the dot is not at bol or eol
3420 (bug#16182).
3421
3422 2013-12-19 Juri Linkov <juri@jurta.org>
3423
3424 * replace.el (query-replace-read-args): Split a non-negative arg
3425 and a negative arg into separate elements.
3426 (query-replace, query-replace-regexp, replace-string)
3427 (replace-regexp): Add arg `backward'. Doc fix.
3428 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3429 move point to the beginning of the match.
3430 (replace-search, replace-highlight): Use new arg `backward'
3431 to set the value of `isearch-forward'.
3432 (perform-replace): Add arg `backward' and use it to perform
3433 replacement backward. (Bug#14979)
3434
3435 * isearch.el (isearch-query-replace): Use a negative prefix arg
3436 to call `perform-replace' with a non-nil arg `backward'.
3437
3438 2013-12-18 Juri Linkov <juri@jurta.org>
3439
3440 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3441 to the default list. Move `log-edit-show-files' to the end.
3442 Add more available functions to options.
3443 (log-edit): Move default specific settings to
3444 `log-edit-insert-message-template'. Don't move point.
3445 (log-edit-insert-message-template): New function.
3446 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3447 (Bug#16170)
3448
3449 2013-12-18 Juri Linkov <juri@jurta.org>
3450
3451 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3452 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3453
3454 2013-12-18 Leo Liu <sdl.web@gmail.com>
3455
3456 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3457 (Bug#16186)
3458
3459 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3460
3461 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3462 formats for displaying file sizes when the -s switch is given.
3463 Instead, compute a separate format for displaying the size in
3464 blocks, which is displayed in addition to the "regular" size.
3465 When -h is given in addition to -s, produce size in blocks in
3466 human-readable form as well. (Bug#16179)
3467
3468 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3469
3470 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3471 Reference tables with ~\ref{...} instead of only \ref{...}.
3472
3473 2013-12-18 Chong Yidong <cyd@gnu.org>
3474
3475 * cus-edit.el (custom-magic-alist): Fix "themed" description
3476 (Bug#14348).
3477
3478 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3479 is non-nil, do not create a new entry in the symbol's theme-value
3480 or theme-face property; update theme-settings only (Bug#14664).
3481 (custom-available-themes): Doc fix.
3482
3483 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3484 (Bug#15674).
3485
3486 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3487
3488 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3489
3490 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3491 (Bug#13914).
3492
3493 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3494
3495 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3496
3497 2013-12-18 Glenn Morris <rgm@gnu.org>
3498
3499 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3500 * cus-start.el (load-prefer-newer): New option.
3501
3502 2013-12-18 Le Wang <l26wang@gmail.com>
3503
3504 * comint.el (comint-previous-matching-input-from-input):
3505 Retain point (Bug#13404).
3506
3507 2013-12-18 Chong Yidong <cyd@gnu.org>
3508
3509 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3510
3511 2013-12-18 Glenn Morris <rgm@gnu.org>
3512
3513 * mail/emacsbug.el (report-emacs-bug):
3514 Only mention enable-multibyte-characters if non-standard.
3515
3516 2013-12-17 Juri Linkov <juri@jurta.org>
3517
3518 * arc-mode.el (archive-extract-by-file): Check if directory exists
3519 before deletion to not show irrelevant errors if it doesn't exist.
3520
3521 2013-12-17 Juri Linkov <juri@jurta.org>
3522
3523 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3524 (Bug#14751)
3525
3526 * net/eww.el (browse-web): Add alias to `eww'.
3527 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3528 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3529
3530 * net/browse-url.el (browse-url-browser-function): Move `eww'
3531 closer to similar functions.
3532
3533 * startup.el (fancy-startup-screen, fancy-about-screen):
3534 Set browse-url-browser-function to eww-browse-url locally.
3535 (Bug#14751)
3536
3537 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3538
3539 * window.el (window--pixel-to-total): Remove unused `mini' var.
3540 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3541 (split-window): Remove unused `new' var.
3542 (window--display-buffer): Remove unused `frame' and `delta' vars.
3543 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3544 and display-width'.
3545
3546 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3547
3548 * dired.el (dired-mark-pop-up):
3549 * register.el (register-preview): Don't bind
3550 split-height-threshold here since it's now done in
3551 display-buffer-below-selected.
3552
3553 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3554
3555 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3556 xterm-rgb-convert-to-16bit.
3557 (rxvt-register-default-colors): Standardize with
3558 xterm-register-default-colors (Bug#14078).
3559
3560 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3561
3562 * simple.el (kill-region): Pass mark first, then point, so that
3563 kill-append works right (Bug#12819).
3564 (copy-region-as-kill, kill-ring-save): Likewise.
3565
3566 2013-12-17 Leo Liu <sdl.web@gmail.com>
3567
3568 * net/rcirc.el (rcirc-add-face):
3569 * eshell/em-prompt.el (eshell-emit-prompt):
3570 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3571 (Bug#16167)
3572
3573 2013-12-17 Chong Yidong <cyd@gnu.org>
3574
3575 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3576 Suggested by Xue Fuqiao.
3577
3578 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3579
3580 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3581
3582 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3583
3584 * net/shr.el (shr-insert-document): Remove unused var
3585 `shr-preliminary-table-render'.
3586 (shr-rescale-image): Remove unused arg `force'.
3587 (shr-put-image): Update calls accordingly.
3588 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3589
3590 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3591
3592 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3593 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3594 :close-all, to see which indentation method to use (Bug#16116).
3595 (smie-rules-function): Document the method :close-all.
3596
3597 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3598
3599 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3600
3601 * net/eww.el (eww-display-html): If we can't find the anchor we're
3602 looking for, then go to point-min.
3603
3604 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3605
3606 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3607 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3608 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3609 Expand dir too, in case it's relative.
3610
3611 2013-12-16 Juri Linkov <juri@jurta.org>
3612
3613 * desktop.el (desktop-auto-save-timeout): Change default to
3614 `auto-save-timeout'. Doc fix.
3615 (desktop-save): Skip the timestamp in desktop-saved-frameset
3616 when checking for auto-save changes.
3617 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3618 `desktop-auto-save' is called repeatedly by the idle timer.
3619 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3620 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3621 (Bug#15331)
3622
3623 2013-12-16 Juri Linkov <juri@jurta.org>
3624
3625 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3626 (Bug#16035)
3627 (isearch-pre-command-hook): Check `this-command' for symbolp.
3628
3629 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3632
3633 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3634
3635 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3636 (cfengine3--current-function): Bring in the current-function
3637 functionality from `cfengine3--current-word'.
3638 (cfengine3-completion-function): Bring in the
3639 bounds-of-current-word functionality from
3640 `cfengine3--current-word'.
3641
3642 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3643
3644 * window.el (display-buffer-below-selected):
3645 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3646
3647 2013-12-16 Leo Liu <sdl.web@gmail.com>
3648
3649 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3650 Remove NOMSG arg and all uses changed.
3651
3652 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3653
3654 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3655 (cua--deactivate-rectangle): Don't deactivate the mark.
3656 (cua-set-rectangle-mark): Don't set mark-active since
3657 cua--activate-rectangle already does it for us.
3658 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3659 non-rectangular region.
3660
3661 * emulation/cua-base.el (cua-repeat-replace-region):
3662 Use with-current-buffer.
3663
3664 * net/gnutls.el: Use cl-lib.
3665 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3666
3667 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3668
3669 * emacs-lisp/package.el (package-built-in-p): Support both
3670 built-in and the package.el converted package descriptions.
3671 (package-show-package-list): Allow keywords.
3672 (package-keyword-button-action): Use it instead of
3673 `finder-list-matches'.
3674 (package-menu-filter-interactive): Interactive filtering (by
3675 keyword) function.
3676 (package-menu--generate): Support keywords and change keymappings
3677 and headers when they are given.
3678 (package--has-keyword-p): Helper function.
3679 (package-menu--refresh): Use it.
3680 (package--mapc): Helper function.
3681 (package-all-keywords): Use it.
3682 (package-menu-mode-map): Set up menu items and keybindings to
3683 provide a filtering UI.
3684
3685 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3686
3687 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3688 the behavior when a certificate fails validation. Defaults to
3689 old behavior: never abort, just warn.
3690 (gnutls-negotiate): Use it.
3691
3692 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3693
3694 * window.el (display-buffer-below-selected): Never split window
3695 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3696
3697 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3698
3699 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3700 (package-buffer-info): Use it (bug#15108).
3701
3702 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3703
3704 * icomplete.el (icomplete-completions): Make sure the prefix is already
3705 displayed elsewhere before hiding it (bug#16219).
3706
3707 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3708
3709 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3710 open-paren tokens when preceded by a open-paren, too.
3711 (ruby-smie-rules): Handle virtual indentation after open-paren
3712 tokens specially. If there is code between it and eol, return the
3713 column where is starts (Bug#16118).
3714
3715 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3716
3717 * progmodes/cfengine.el: Fix `add-hook' doc.
3718 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3719 (cfengine3--current-word): Fix parameters.
3720 (cfengine3-make-syntax-cache): Simplify further.
3721 (cfengine3-completion-function, cfengine3--current-function):
3722 Use `assq' for symbols.
3723 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3724
3725 2013-12-13 Glenn Morris <rgm@gnu.org>
3726
3727 * loadup.el (load-path): Warn if site-load or site-init changes it.
3728 No more need to reset it when bootstrapping.
3729
3730 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3731
3732 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3733 locations for cf-promises.
3734 (cfengine-mode-syntax-functions-regex): New caching variable.
3735 (cfengine3-fallback-syntax): Fallback syntax for cases where
3736 cf-promises doesn't run.
3737 (cfengine3--current-word): Reimplement using
3738 `cfengine-mode-syntax-functions-regex'.
3739 (cfengine3-completion-function, cfengine3--current-function):
3740 Use `cfengine3-make-syntax-cache' directly.
3741 (cfengine3-clear-syntax-cache): New function.
3742 (cfengine3-make-syntax-cache): Simplify and create
3743 `cfengine-mode-syntax-functions-regex' on demand.
3744 (cfengine3-format-function-docstring): Don't call
3745 `cfengine3-make-syntax-cache' explicitly.
3746
3747 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3748
3749 Fix windmove-find-other-window broken after pixelwise resizing
3750 (Bug#16017).
3751 * windmove.el (windmove-other-window-loc): Revert change from
3752 2013-12-04.
3753 (windmove-find-other-window): Call window-in-direction.
3754 * window.el (window-in-direction): New arguments SIGN, WRAP and
3755 MINI to emulate original windmove-find-other-window behavior.
3756
3757 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3758
3759 * simple.el (blink-matching--overlay): New variable.
3760 (blink-matching-open): Instead of moving point, highlight the
3761 matching paren with an overlay
3762 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3763
3764 * faces.el (paren-showing-faces, show-paren-match)
3765 (show-paren-mismatch): Move from paren.el.
3766
3767 2013-12-13 Leo Liu <sdl.web@gmail.com>
3768
3769 * indent.el (indent-region): Disable progress reporter in
3770 minibuffer. (Bug#16108)
3771
3772 * bindings.el (visual-order-cursor-movement): Fix version.
3773
3774 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3775
3776 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3777 Also match after beginning of line.
3778 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3779 files. Thanks to Russell Sim. (Bug#15378)
3780
3781 2013-12-13 Juri Linkov <juri@jurta.org>
3782
3783 * simple.el <Keypad support>: Remove key bindings duplicated
3784 with bindings.el. (Bug#14397)
3785
3786 2013-12-13 Juri Linkov <juri@jurta.org>
3787
3788 * comint.el (comint-mode-map): Replace `delete-char' with
3789 `delete-forward-char'. (Bug#16109)
3790
3791 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3792
3793 * progmodes/python.el (python-indent-calculate-indentation):
3794 Fix de-denters cornercase. (Bug#15731)
3795
3796 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3797
3798 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3799 (advice--make): Pay attention to `depth'.
3800 (advice--make-1): Don't autoload commands eagerly.
3801 * emacs-lisp/elp.el (elp-instrument-function):
3802 * emacs-lisp/trace.el (trace-function-internal):
3803 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3804
3805 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3806
3807 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3808
3809 * term/w32-win.el (w32-handle-dropped-file):
3810 * startup.el (normal-top-level):
3811 * net/browse-url.el (browse-url-file-url):
3812 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3813 decode file names using 'utf-8' rather than
3814 file-name-coding-system.
3815
3816 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3817
3818 * progmodes/python.el (python-indent-context)
3819 (python-indent-calculate-indentation): Fix auto-identation
3820 behavior for comment blocks. (Bug#15916)
3821
3822 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3823
3824 * progmodes/python.el (python-indent-calculate-indentation):
3825 When determining indentation, don't treat "return", "pass", etc., as
3826 operators when they are just string constituents. (Bug#15812)
3827
3828 2013-12-12 Juri Linkov <juri@jurta.org>
3829
3830 * uniquify.el (uniquify-buffer-name-style): Change default to
3831 `post-forward-angle-brackets'.
3832
3833 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3834 `uniquify'. Change default to `post-forward-angle-brackets'.
3835
3836 2013-12-11 Glenn Morris <rgm@gnu.org>
3837
3838 * emacs-lisp/package.el (finder-list-matches):
3839 Autoload rather than falsely declaring.
3840
3841 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3842
3843 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3844 (eww-mode-map): Use them.
3845
3846 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3847
3848 * window.el (display-buffer-in-side-window): Fix doc-string
3849 (Bug#16115).
3850
3851 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3852
3853 * vc/vc-git.el: Silence byte-compiler warnings.
3854 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3855 (log-edit-set-header): Declare.
3856
3857 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3858
3859 * Makefile.in (custom-deps, finder-data): Run output file names
3860 through unmsys--file-name. (Bug#16099)
3861
3862 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3863
3864 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3865 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3866
3867 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3868 instead of deleting the selection "by hand" (bug#16098).
3869 Rely on insert-for-yank to yank rectangles.
3870 (cua-highlight-region-shift-only): Mark obsolete.
3871 (cua-mode): Don't enable/disable transient-mark-mode,
3872 shift-select-mode (cua-mode works both with and without them), and
3873 pc-selection-mode (obsolete).
3874 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3875 (cua--deactivate-rectangle): Deactivate it.
3876
3877 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3878 (delete-selection-helper): Make sure yank starts at the top of the
3879 deleted region.
3880 (minibuffer-keyboard-quit): Use region-active-p.
3881
3882 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3883
3884 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3885 to `delete' (bug#16109).
3886
3887 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3888
3889 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3890 info manual and show keybindings and set `:group' keyword.
3891
3892 2013-12-11 Juri Linkov <juri@jurta.org>
3893
3894 * delsel.el (delete-active-region): Let-bind `this-command'
3895 to prevent `kill-region' from changing its original value.
3896 (delete-selection-helper): Handle `overwrite-mode' for the type
3897 `kill' exactly the same way as for the type `t'.
3898 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3899 Support more commands. (Bug#13312)
3900
3901 2013-12-11 Juri Linkov <juri@jurta.org>
3902
3903 * bindings.el: Map kp keys to non-kp keys systematically
3904 with basic modifiers control, meta and shift. (Bug#14397)
3905
3906 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3907
3908 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3909 "Close browser" menu items. Fix wrong function of "List
3910 bookmarks".
3911
3912 2013-12-11 Juri Linkov <juri@jurta.org>
3913
3914 * misearch.el (multi-isearch-buffers): Set the value of
3915 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3916 arg of isearch-forward to t.
3917 (multi-isearch-buffers-regexp): Set the value of
3918 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3919 arg of isearch-forward-regexp to t.
3920 (multi-isearch-files): Set the value of
3921 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3922 arg of isearch-forward to t.
3923 (multi-isearch-files-regexp): Set the value of
3924 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3925 arg of isearch-forward-regexp to t. (Bug#16035)
3926
3927 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3928 arg of isearch-forward to t.
3929 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3930 arg of isearch-forward-regexp to t.
3931 (dired-isearch-filter-filenames): Remove unnecessary check for
3932 `dired-isearch-filenames'.
3933
3934 * comint.el (comint-history-isearch-backward):
3935 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3936 (comint-history-isearch-backward-regexp):
3937 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3938
3939 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3940
3941 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3942 unmsys--file-name. (Bug#16099)
3943
3944 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3945
3946 * emacs-lisp/package.el (package-keyword-button-action):
3947 Remove finder.el require dependency.
3948
3949 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3950
3951 * emacs-lisp/package.el: Require finder.el.
3952 (describe-package-1): Add keyword buttons.
3953 (package-make-button): New convenience function.
3954 (package-keyword-button-action): Keyword button action using
3955 `finder-list-matches'.
3956
3957 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3958
3959 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3960 last commit.
3961
3962 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3963
3964 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3965 symlinked files.
3966
3967 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3968
3969 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3970 after the end of a percent literal.
3971
3972 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3973
3974 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3975 Handle caret-delimited strings (Bug#16079).
3976
3977 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3978
3979 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3980 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3981 `ruby-parse-partial' (Bug#16078).
3982
3983 2013-12-09 Leo Liu <sdl.web@gmail.com>
3984
3985 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3986
3987 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3988
3989 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3990 (js-switch-indent-offset): New option.
3991 (js--proper-indentation): Use it. And handle the case when
3992 "default" is actually a key in an object literal.
3993 (js--same-line): New function.
3994 (js--multi-line-declaration-indentation): Use it.
3995 (js--indent-in-array-comp, js--array-comp-indentation):
3996 New functions.
3997 (js--proper-indentation): Use them, to handle array comprehension
3998 continuations.
3999
4000 2013-12-08 Leo Liu <sdl.web@gmail.com>
4001
4002 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4003 (flymake-make-overlay): Remove arg MOUSE-FACE.
4004 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4005
4006 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4009 New function.
4010 (redisplay-highlight-region-function): Use it.
4011
4012 * emulation/cua-base.el (cua--explicit-region-start)
4013 (cua--last-region-shifted): Remove.
4014 (cua--deactivate): Use deactivate-mark.
4015 (cua--pre-command-handler-1): Don't handle shift-selection.
4016 (cua--post-command-handler-1): Don't change transient-mark-mode.
4017 (cua--select-keymaps): Use region-active-p rather than
4018 cua--explicit-region-start or cua--last-region-shifted.
4019 (cua-mode): Enable shift-select-mode.
4020
4021 2013-12-08 Leo Liu <sdl.web@gmail.com>
4022
4023 * progmodes/flymake.el (flymake-popup-current-error-menu):
4024 Rename from flymake-display-err-menu-for-current-line. Reimplement.
4025 (flymake-posn-at-point-as-event, flymake-popup-menu)
4026 (flymake-make-emacs-menu): Remove. (Bug#16077)
4027
4028 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4029
4030 * rect.el (rectangle-mark-mode): Activate mark even if
4031 transient-mark-mode is off (bug#16066).
4032 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4033 is > mark and at bolp.
4034
4035 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4036 (region-extract-function): Use it.
4037 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4038 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4039 Delete functions.
4040 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4041 kill-ring-save, kill-region, delete-char, delete-forward-char.
4042 Ignore self-insert-iso.
4043
4044 * emulation/cua-gmrk.el (cua--init-global-mark):
4045 Ignore `self-insert-iso'.
4046
4047 * emulation/cua-base.el (cua--prefix-copy-handler)
4048 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4049 checking cua--rectangle.
4050 (cua-delete-region): Use region-extract-function.
4051 (cua-replace-region): Delete function.
4052 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4053 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4054 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4055 (cua--init-keymaps): Don't remap delete-selection commands.
4056 (cua-mode): Use delete-selection-mode instead of rolling our own
4057 (bug#16085).
4058
4059 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4060 Obey region-extract-function.
4061
4062 Make registers and delete-selection-mode work on rectangles.
4063 * register.el (describe-register-1): Don't modify the register's value.
4064 (copy-to-register): Obey region-extract-function.
4065 * delsel.el (delete-active-region): Obey region-extract-function.
4066
4067 2013-12-08 Leo Liu <sdl.web@gmail.com>
4068
4069 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4070 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4071 (flymake-compilation-prevents-syntax-check)
4072 (flymake-start-syntax-check-on-newline)
4073 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4074 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4075 (flymake-xml-program, flymake-master-file-dirs)
4076 (flymake-master-file-count-limit)
4077 (flymake-allowed-file-name-masks): Relocate.
4078 (flymake-makehash, flymake-float-time)
4079 (flymake-replace-regexp-in-string, flymake-split-string)
4080 (flymake-get-temp-dir): Remove.
4081 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4082 (flymake-current-row, flymake-selected-frame)
4083 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4084 related functions. (Bug#16077)
4085
4086 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4087
4088 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4089
4090 2013-12-07 Tassilo Horn <tsdh@gnu.org>
4091
4092 * help-fns.el (describe-function-1): Use new advice-* functions
4093 rather than old ad-* functions. Fix function type description and
4094 source links for advised functions and subrs.
4095
4096 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4097
4098 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4099
4100 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
4101
4102 * progmodes/compile.el (compilation-start):
4103 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4104
4105 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4106 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4107
4108 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4109
4110 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4111 Touch up the last change.
4112
4113 2013-12-06 Leo Liu <sdl.web@gmail.com>
4114
4115 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4116 (inferior-octave-startup): Always use "octave> " for prompt.
4117 (octave-goto-function-definition)
4118 (octave-sync-function-file-names)
4119 (octave-find-definition-default-filename): Remove redundant backquotes.
4120
4121 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4122
4123 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4124 syntax for `?'.
4125 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4126 where appropriate already.
4127 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4128 end of method names (Bug#15874).
4129
4130 2013-12-06 Juri Linkov <juri@jurta.org>
4131
4132 * isearch.el (isearch--saved-overriding-local-map):
4133 New internal variable.
4134 (isearch-mode): Set it to the initial value of
4135 `overriding-terminal-local-map'.
4136 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4137 with `isearch--saved-overriding-local-map'. (Bug#16035)
4138
4139 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4140
4141 * progmodes/octave.el (inferior-octave-completion-table):
4142 Turn back into function, use `completion-table-with-cache'
4143 (Bug#11906). Update all references.
4144
4145 * minibuffer.el (completion-table-with-cache): New function.
4146
4147 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4148
4149 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4150
4151 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4152
4153 * net/eww.el (eww-current-source): New variable to store page
4154 source.
4155 (eww-display-html, eww-mode, eww-save-history)
4156 (eww-restore-history): Use it.
4157 (eww-view-source): New command to view page source.
4158 Opportunistically uses `html-mode' to highlight the buffer.
4159 (eww-mode-map): Install it.
4160
4161 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
4162
4163 * net/dbus.el (dbus-unregister-service)
4164 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4165 Fix docstring.
4166 (dbus-unregister-service): Skip :serial entries in
4167 `dbus-registered-objects-table'.
4168 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4169
4170 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4171
4172 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4173 around keywords with extra `split-string' argument.
4174
4175 2013-12-04 Martin Rudalics <rudalics@gmx.at>
4176
4177 * windmove.el (windmove-other-window-loc): Handle navigation
4178 between windows (excluding the minibuffer window - Bug#16017).
4179
4180 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
4181
4182 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4183 in D-Bus type syntax.
4184 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4185 preserve unibyte strings. (Bug#16048)
4186
4187 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4188
4189 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4190 Call force-mode-line-update is the proper buffer (bug#16042).
4191
4192 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4193
4194 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4195 `log-edit-remember-comment', make argument optional. Adjust all
4196 callers.
4197 (log-edit-mode): Add `log-edit-remember-comment' to
4198 `kill-buffer-hook' locally.
4199 (log-edit-kill-buffer): Don't remember comment explicitly since
4200 the buffer is killed anyway.
4201
4202 2013-12-04 Juri Linkov <juri@jurta.org>
4203
4204 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4205 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4206
4207 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
4208
4209 * notifications.el (notifications-close-notification): Call the
4210 D-Bus method with ID being a `:uint32'. (Bug#16030)
4211
4212 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4213
4214 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4215
4216 2013-12-03 Juri Linkov <juri@jurta.org>
4217
4218 * progmodes/compile.el (compilation-start): Rename window alist
4219 entry `no-display-ok' to `allow-no-window'.
4220
4221 * simple.el (shell-command): Add window alist entry
4222 `allow-no-window' to `display-buffer'.
4223 (async-shell-command): Doc fix.
4224
4225 * window.el (display-buffer-no-window): New action function.
4226 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4227
4228 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4229
4230 * vc/log-edit.el (log-edit-set-header): Extract from
4231 `log-edit-toggle-header'.
4232 (log-edit-extract-headers): Separate the summary, when extracted
4233 from header, from the rest of the message with an empty line.
4234
4235 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4236 line, if present, to the Summary header.
4237
4238 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4239
4240 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4241 in current-buffer (bug#16029).
4242
4243 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
4244
4245 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4246 (debugger-mode-map): Bind it.
4247 (debugger--backtrace-base): New function.
4248 (debugger-eval-expression): Use it.
4249 (debugger-frame-number): Skip local vars when present.
4250 (debugger--locals-visible-p, debugger--insert-locals)
4251 (debugger--show-locals, debugger--hide-locals): New functions.
4252
4253 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
4254
4255 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4256 "LC_ALL".
4257 (tramp-get-remote-locale): New defun.
4258 (tramp-open-connection-setup-interactive-shell): Use it.
4259
4260 2013-12-02 Leo Liu <sdl.web@gmail.com>
4261
4262 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4263
4264 * progmodes/sh-script.el (sh-shell-process):
4265 * progmodes/octave.el (inferior-octave-process-live-p):
4266 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4267 (gdb-inferior-io-sentinel):
4268 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4269
4270 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4271
4272 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4273 `save-selected-window' to `log-edit-hide-buf'. This makes
4274 `log-edit-show-files' idempotent.
4275 (log-edit-show-files): Mark the new window as dedicated.
4276
4277 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4278
4279 * vc/log-edit.el (log-edit-mode-map): Add binding for
4280 `log-edit-kill-biffer'.
4281 (log-edit-hide-buf): Add a FIXME comment.
4282 (log-edit-add-new-comment): New function, extracted from
4283 `log-edit-done'.
4284 (log-edit-done, log-edit-add-to-changelog): Use it.
4285 (log-edit-kill-buffer): New command.
4286
4287 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4288
4289 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4290 instead of killing the buffer.
4291
4292 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4293
4294 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4295
4296 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4297
4298 * net/eww.el (eww-form-checkbox-selected-symbol)
4299 (eww-form-checkbox-symbol): New customizable variable.
4300 (eww-form-checkbox, eww-toggle-checkbox):
4301 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4302
4303 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4304 (shr--get-media-pref, shr--extract-best-source): New function.
4305 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4306 no :src tag was specified.
4307
4308 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4309 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4310 Use \\` to match beginning of string instead of ^.
4311 (eww-browse-with-external-browser): Provide optional URL parameter.
4312 (eww-render): Set `eww-current-title' back to "".
4313
4314 * net/shr.el (shr-tag-video): Display content for video if no
4315 poster is available.
4316 (shr-tag-audio): Add support for <audio> tag.
4317
4318 * net/eww.el (eww-text-input-types): New const.
4319 (eww-process-text-input): Treat input types in
4320 `eww-text-input-types' as text.
4321
4322 * net/shr.el (shr-tag-table): Fix comment typo.
4323
4324 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4325
4326 * net/eww.el (eww-follow-link): New command to avoid reloading
4327 pages when we follow #target links (bug#15243).
4328 (eww-quit): Special mode buffers shouldn't query before exiting.
4329
4330 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4331
4332 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4333 forms.
4334
4335 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4336
4337 * net/eww.el (eww-restore-history): Update the window title after
4338 moving in the history.
4339 (eww-current-dom): New variable used to save the current DOM.
4340
4341 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4342
4343 * vc/log-edit.el (log-edit-mode-map): Add binding for
4344 `log-edit-beginning-of-line'.
4345 (log-edit-setup-add-author): New user option.
4346 (log-edit-beginning-of-line): New command.
4347 (log-edit): Move major mode call above the contents setup so that
4348 the local variable values are already applied.
4349 (log-edit): Only insert "Author: " when
4350 `log-edit-setup-add-author' is non-nil.
4351 (log-edit): When SETUP is non-nil, position point after ": "
4352 instead of point-min.
4353
4354 2013-12-01 Glenn Morris <rgm@gnu.org>
4355
4356 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4357
4358 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4359
4360 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4361 redisplay to make sure the initial frame gets a chance to become
4362 visible. (Bug#16014)
4363
4364 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4365
4366 Support resizing frames and windows pixelwise.
4367 * cus-start.el (frame-resize-pixelwise)
4368 (window-resize-pixelwise): New entries.
4369 * emacs-lisp/debug.el (debug): Use window-total-height instead
4370 of window-total-size.
4371 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4372 * help.el (describe-bindings-internal): Use help-buffer as
4373 argument for with-help-window.
4374 (temp-buffer-max-width): New option.
4375 (resize-temp-buffer-window, help-window-setup)
4376 (with-help-window): Rewrite.
4377 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4378 dragging dividers.
4379 * window.el (frame-char-size, window-min-pixel-height)
4380 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4381 (window-min-pixel-width, window-safe-min-pixel-size)
4382 (window-combination-p, window-safe-min-size)
4383 (window-resizable-p, window--size-to-pixel)
4384 (window--pixel-to-size, window--resize-apply-p): New functions.
4385 (window-safe-min-height): Fix doc-string.
4386 (window-size, window-min-size, window--min-size-1)
4387 (window-sizable, window-sizable-p, window--min-delta-1)
4388 (window-min-delta, window--max-delta-1, window-max-delta)
4389 (window--resizable, window--resizable-p, window-resizable)
4390 (window-full-height-p, window-full-width-p, window-at-side-p)
4391 (window--in-direction-2, window-in-direction)
4392 (window--resize-reset-1, window--resize-mini-window)
4393 (window-resize, window-resize-no-error)
4394 (window--resize-child-windows-normal)
4395 (window--resize-child-windows, window--resize-siblings)
4396 (window--resize-this-window, window--resize-root-window)
4397 (window--resize-root-window-vertically)
4398 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4399 (maximize-window, minimize-window, delete-window)
4400 (quit-restore-window, window-split-min-size, split-window)
4401 (balance-windows-2, balance-windows)
4402 (balance-windows-area-adjust, balance-windows-area)
4403 (window--state-get-1, window-state-get, window--state-put-1)
4404 (window--state-put-2, window-state-put)
4405 (display-buffer-record-window, window--display-buffer):
4406 Make functions handle pixelwise sizing of windows.
4407 (display-buffer--action-function-custom-type)
4408 (display-buffer-fallback-action):
4409 Add display-buffer-in-previous-window.
4410 (display-buffer-use-some-window): Resize window to height it had
4411 before.
4412 (fit-window-to-buffer-horizontally): New option.
4413 (fit-frame-to-buffer): Describe new values.
4414 (fit-frame-to-buffer-bottom-margin): Replace with
4415 fit-frame-to-buffer-margins.
4416 (window--sanitize-margin): New function.
4417 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4418 using window-text-pixel-size.
4419
4420 2013-11-30 Glenn Morris <rgm@gnu.org>
4421
4422 * emacs-lisp/bytecomp.el (byte-compile-form):
4423 Make the `interactive-only' warning like the `obsolete' one.
4424 * comint.el (comint-run):
4425 * files.el (insert-file-literally, insert-file):
4426 * replace.el (replace-string, replace-regexp):
4427 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4428 (goto-line, insert-buffer, next-line, previous-line):
4429 Tweak `interactive-only' spec.
4430
4431 Stop keeping (most) generated cedet grammar files in the repository.
4432 * Makefile.in (semantic): New.
4433 (compile-main): Depend on semantic.
4434
4435 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4436
4437 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4438 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4439
4440 * uniquify.el (uniquify-buffer-name-style): Change default.
4441
4442 * loadup.el: Preload "uniquify".
4443
4444 * time.el (display-time-update): Update all mode lines (bug#15999).
4445
4446 * electric.el (electric-indent-mode): Enable by default.
4447 * loadup.el: Preload "electric".
4448
4449 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4450
4451 * emacs-lisp/helpers.el (string-empty-p): New function.
4452 (string-blank-p): New function.
4453
4454 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4455
4456 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4457 (Bug#14029).
4458
4459 2013-11-29 Andreas Politz <politza@fh-trier.de>
4460 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4461 allow non-lambda lists as functions.
4462 (imenu--in-alist): Don't recurse into non-subalists.
4463 (imenu): Don't pass function itself as an argument (Bug#14029).
4464
4465 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4466
4467 * progmodes/python.el (python-mode-map): Remove binding for ":".
4468 (python-indent-electric-colon): Remove command.
4469 (python-indent-post-self-insert-function): Integrate the previous code
4470 of python-indent-electric-colon. Make it conditional on
4471 electric-indent-mode.
4472 (python-mode): Add ?: to electric-indent-chars.
4473 Move python-indent-post-self-insert-function to the end of
4474 post-self-insert-hook.
4475
4476 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4477
4478 * doc-view.el (doc-view-goto-page): Update mode-line.
4479
4480 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4481
4482 2013-11-27 Glenn Morris <rgm@gnu.org>
4483
4484 * international/charprop.el, international/uni-bidi.el:
4485 * international/uni-category.el, international/uni-combining.el:
4486 * international/uni-comment.el, international/uni-decimal.el:
4487 * international/uni-decomposition.el, international/uni-digit.el:
4488 * international/uni-lowercase.el, international/uni-mirrored.el:
4489 * international/uni-name.el, international/uni-numeric.el:
4490 * international/uni-old-name.el, international/uni-titlecase.el:
4491 * international/uni-uppercase.el:
4492 Remove generated files from VCS repository.
4493
4494 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4495
4496 * filenotify.el (file-notify-add-watch): Don't special-case
4497 w32notify when computing the directory to watch.
4498
4499 2013-11-27 Glenn Morris <rgm@gnu.org>
4500
4501 Make bootstrap without generated uni-*.el files possible again.
4502 * loadup.el: Update command-line-args checking for unidata-gen.
4503 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4504 * composite.el, international/characters.el:
4505 Handle unicode tables being undefined.
4506
4507 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4508 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4509 (compile-main): Depend on leim rule.
4510 (leim): New rule.
4511 * loadup.el: Move leim-list.el to leim/ subdirectory.
4512 * startup.el (normal-top-level): No more leim directory.
4513 * international/ja-dic-cnv.el (skkdic-convert):
4514 Disable version-control and autoloads in output files.
4515 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4516 Disable version-control and autoloads in output files.
4517 * leim/quail: Move here from ../leim.
4518 * leim/quail/hangul.el (hangul-input-method-activate):
4519 Add autoload cookie.
4520 (generated-autoload-load-name): Set file-local value.
4521 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4522 (generated-autoload-load-name): Set file-local value.
4523
4524 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4525
4526 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4527 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4528 (eww-quit): Ask confirmation before quitting eww.
4529
4530 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4531
4532 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4533 reading output from Diff on MS-Windows and MS-DOS.
4534
4535 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4536
4537 * emacs-lisp/helpers.el (string-reverse): New function.
4538
4539 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4540
4541 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4542 names on MS Windows, like "/[::1]:".
4543
4544 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4545 SWITCHES.
4546
4547 2013-11-26 Glenn Morris <rgm@gnu.org>
4548
4549 * progmodes/python.el (python-indent-guess-indent-offset):
4550 Avoid corner-case error. (Bug#15975)
4551
4552 Preload leim-list.el. (Bug#4789)
4553 * loadup.el: Load leim-list.el when found.
4554 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4555
4556 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4557
4558 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4559
4560 * emacs-lisp/helpers.el (string-join): New function.
4561
4562 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4563
4564 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4565 Mark as obsolete and replace it with a symbol property.
4566 (byte-compile-form): Use new 'interactive-only property.
4567 * comint.el, files.el, replace.el, simple.el:
4568 Apply new 'interactive-only properly.
4569
4570 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4571
4572 * window.el (display-buffer-at-bottom): Make sure that
4573 split-window-sensibly creates the new window on bottom
4574 (Bug#15961).
4575
4576 2013-11-23 David Kastrup <dak@gnu.org>
4577
4578 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4579 on the conflict markers when available.
4580 (smerge--get-marker): New function.
4581 (smerge-end-re, smerge-base-re): Add subgroup.
4582
4583 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4584
4585 * frame.el (handle-focus-in, handle-focus-out): Add missing
4586 interactive spec.
4587
4588 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4589
4590 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4591 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4592
4593 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4596 (gomoku--last-pos): New var.
4597 (gomoku--intangible-chars): New const.
4598 (gomoku--intangible): New function.
4599 (gomoku-mode): Use it. Derive from special-mode.
4600 (gomoku-move-up): Adjust line count.
4601 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4602 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4603 Simplify accordingly.
4604
4605 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4606 Remove blink-cursor code.
4607 (blink-cursor-timer-function, blink-cursor-suspend):
4608 Don't special-case GUIs.
4609 (blink-cursor-mode): Use focus-in/out-hook.
4610
4611 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4612
4613 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4614 work when annotation is invisible (Bug#13886).
4615
4616 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4617
4618 * json.el (json-alist-p): Only return non-nil if the alist has
4619 simple keys (Bug#13518).
4620
4621 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4622
4623 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4624 when control-statement is the first statement in a buffer (Bug#15956).
4625
4626 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4627
4628 * imenu.el (imenu-generic-skip-comments-and-strings):
4629 New option (Bug#15560).
4630 (imenu--generic-function): Use it.
4631
4632 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4633
4634 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4635 (Bug#13898)
4636
4637 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4638
4639 * emacs-lisp/helpers.el: Add some string helpers.
4640 (string-trim-left): Removes leading whitespace.
4641 (string-trim-right): Removes trailing whitespace.
4642 (string-trim): Removes leading and trailing whitespace.
4643
4644 * subr.el (string-suffix-p): New function.
4645
4646 2013-11-23 Glenn Morris <rgm@gnu.org>
4647
4648 * progmodes/python.el (python-shell-send-file):
4649 Add option to delete file when done. (Bug#15647)
4650 (python-shell-send-string, python-shell-send-region): Use it.
4651
4652 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4653
4654 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4655 to set buffer-read-only to t, never to nil. (Bug#15938)
4656
4657 * textmodes/tex-mode.el (latex-noindent-environments):
4658 Add safe-local-variable property. (Bug#15936)
4659
4660 2013-11-23 Glenn Morris <rgm@gnu.org>
4661
4662 * textmodes/enriched.el (enriched-mode): Doc fix.
4663 * emacs-lisp/authors.el (authors-renamed-files-alist):
4664 Add enriched.doc -> enriched.txt.
4665
4666 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4667
4668 2013-11-22 Leo Liu <sdl.web@gmail.com>
4669
4670 * progmodes/octave.el (inferior-octave-startup): Spit out error
4671 message.
4672
4673 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4674
4675 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4676 Improve docstring.
4677 Add :version.
4678 (ruby-encoding-magic-comment-style): Add :version.
4679
4680 2013-11-22 Leo Liu <sdl.web@gmail.com>
4681
4682 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4683 (Bug#15076)
4684 (octave-help-mode): Adapt to change to help-mode-finish to use
4685 derived-mode-p on 2013-09-17.
4686 (inferior-octave-prompt): Also match octave-gui.
4687 (octave-kill-process): Don't ask twice. (Bug#10564)
4688
4689 2013-11-22 Leo Liu <sdl.web@gmail.com>
4690
4691 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4692 (inferior-octave-startup, inferior-octave-check-process)
4693 (inferior-octave-track-window-width-change)
4694 (octave-completion-at-point, octave-eldoc-function): Use it.
4695 (octave-kill-process): Provide confirmation. (Bug#10564)
4696
4697 2013-11-21 Leo Liu <sdl.web@gmail.com>
4698
4699 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4700 Fix obsolete variable comment-use-global-state.
4701
4702 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4703
4704 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4705 Add `octave-source-file'.
4706 (octave-source-file): New function. (Bug#15935)
4707
4708 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4709
4710 * net/eww.el (eww-local-regex): New variable.
4711 (eww): Use it to detect localhost and similar.
4712
4713 2013-11-21 Leo Liu <sdl.web@gmail.com>
4714
4715 Add completion for command `ag'.
4716 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4717 (pcomplete/ag): New function.
4718 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4719
4720 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4721
4722 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4723 (bug#14646).
4724 (make-obsolete): Remove interactive spec.
4725
4726 2013-11-21 Glenn Morris <rgm@gnu.org>
4727
4728 * startup.el (command-line-1): Use path-separator with -L.
4729
4730 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4731
4732 * emacs-lisp/package.el (describe-package-1): Add package archive
4733 to shown fields.
4734
4735 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4736
4737 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4738 Change default to "# encoding: %s" to differentiate it from the
4739 default Ruby encoding comment template.
4740
4741 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4742
4743 * ses.el (ses-mode): Doc fix. (Bug#14748)
4744
4745 2013-11-20 Leo Liu <sdl.web@gmail.com>
4746
4747 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4748
4749 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4750
4751 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4752 when rebase or bisect are in progress.
4753
4754 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4755
4756 * filenotify.el (file-notify-add-watch): Doc fix.
4757
4758 2013-11-19 Leo Liu <sdl.web@gmail.com>
4759
4760 * obsolete/rcompile.el: Mark obsolete.
4761
4762 * progmodes/compile.el (compilation-start)
4763 (compilation-goto-locus, compilation-find-file):
4764 Pass no-display-ok and handle nil value from display-buffer.
4765 (Bug#13594)
4766
4767 * window.el (display-buffer-alist, display-buffer): Document the
4768 new parameter no-display-ok. Return either a window or nil
4769 but never a non-window value.
4770
4771 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4772
4773 * electric.el (electric-indent-mode-map): Remove.
4774 (electric-indent-mode): Change the global-map instead (bug#15915).
4775
4776 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4777 Use add-function.
4778
4779 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4780
4781 * emacs-lisp/nadvice.el (remove-function): Align with
4782 add-function's behavior.
4783
4784 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4785 (gdb--string-regexp): New constant.
4786 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4787 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4788 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4789 submatch 1.
4790 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4791 Adjust use accordingly.
4792 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4793
4794 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4795
4796 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4797 interpolation curlies (Bug#15914).
4798
4799 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4800
4801 * calc/calc.el (calc-context-sensitive-enter): New variable.
4802 (calc-enter): Use `calc-context-sensitive-enter'.
4803
4804 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4805
4806 * progmodes/cfengine.el: Version bump.
4807 (cfengine-cf-promises): New defcustom to locate cf-promises.
4808 (cfengine3-vartypes): Add new "data" type.
4809 (cfengine3--current-word): New function to get current name-like
4810 word or its bounds.
4811 (cfengine3--current-function): New function to look up a CFEngine
4812 function's definition.
4813 (cfengine3-format-function-docstring): New function.
4814 (cfengine3-make-syntax-cache): New function.
4815 (cfengine3-documentation-function): New function: ElDoc glue.
4816 (cfengine3-completion-function): New function: completion glue.
4817 (cfengine3-mode): Set `compile-command',
4818 `eldoc-documentation-function', and add to
4819 `completion-at-point-functions'.
4820
4821 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4822
4823 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4824 `tramp-current-connection'.
4825
4826 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4827
4828 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4829 nil/self/true/false with "end of symbol".
4830
4831 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4832
4833 * subr.el (version-regexp-alist): Fix a typo.
4834
4835 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4836
4837 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4838 "en_US.utf8" and "LC_CTYPE" to "".
4839 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4840 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4841
4842 2013-11-15 Leo Liu <sdl.web@gmail.com>
4843
4844 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4845
4846 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4847
4848 * progmodes/gud.el (ctl-x-map):
4849 Remove C-x SPC binding. (Bug#12342)
4850 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4851
4852 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4853
4854 * subr.el (version-regexp-alist):
4855 Recognize hg, svn and darcs versions as snapshot versions.
4856
4857 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4858 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4859 (ruby--encoding-comment-required-p): Extract from
4860 `ruby-mode-set-encoding'.
4861 (ruby-mode-set-encoding): Add the ability to always insert an
4862 utf-8 encoding comment. Fix and simplify coding comment update
4863 logic.
4864
4865 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4866
4867 * net/tramp-gvfs.el (top): Run init code only when
4868 `tramp-gvfs-enabled' is not nil.
4869 (tramp-gvfs-enabled): Check also :system bus.
4870
4871 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4872
4873 Sync with upstream verilog-mode revision 78e66ba.
4874 * progmodes/verilog-mode.el (verilog-end-of-defun)
4875 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4876 (verilog-get-end-of-defun): Remove unused argument.
4877 (verilog-comment-depth): Remove unused local `e'.
4878 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4879 Don't pass arg to verilog-get-end-of-defun.
4880
4881 2013-11-14 Glenn Morris <rgm@gnu.org>
4882
4883 * obsolete/assoc.el (aget): Prefix dynamic variable.
4884
4885 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4886
4887 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4888
4889 * widget.el, hfy-cmap.el: Remove bogus package version number.
4890
4891 2013-11-13 Glenn Morris <rgm@gnu.org>
4892
4893 * replace.el (replace-eval-replacement):
4894 Try to give more helpful error message. (Bug#15836)
4895
4896 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4897 (archive-7z-update): Avoid custom type mismatches.
4898
4899 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4900
4901 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4902
4903 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4904 address can be empty.
4905
4906 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4907 Accept nil SWITCHES.
4908 (tramp-gvfs-handle-write-region): Implement APPEND.
4909
4910 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4911
4912 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4913 binary "|" operator and closing block args delimiter.
4914 Remove FIXME comment referring to Ruby 1.8-only syntax.
4915 (ruby-smie--implicit-semi-p): Not after "|" operator.
4916 (ruby-smie--closing-pipe-p): New function.
4917 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4918 (ruby-smie-rules): Indent after "|".
4919
4920 2013-11-12 Glenn Morris <rgm@gnu.org>
4921
4922 * ps-print.el (ps-face-attribute-list):
4923 Handle anonymous faces. (Bug#15827)
4924
4925 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4926
4927 * window.el (display-buffer-other-frame): Fix doc-string.
4928 (Bug#15868)
4929
4930 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4931
4932 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4933
4934 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4935
4936 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4937 (tramp-sh-handle-file-local-copy): Don't write a message when
4938 saving temporary files.
4939
4940 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4941 both directories are remote.
4942 (tramp-smb-handle-directory-files): Do not return double entries.
4943 Do not expand full file names.
4944 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4945 (tramp-smb-handle-write-region): Implement APPEND.
4946 (tramp-smb-get-stat-capability): Fix a stupid bug.
4947
4948 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4949
4950 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4951
4952 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4953
4954 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4955 throwing error over malformed let/let* (bug#15814).
4956
4957 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4958
4959 * iswitchb.el (iswitchb-mode): Mark obsolete.
4960
4961 2013-11-11 Glenn Morris <rgm@gnu.org>
4962
4963 * international/uni-bidi.el, international/uni-category.el:
4964 * international/uni-name.el, international/uni-numeric.el:
4965 Regenerate for Unicode 6.3.0.
4966
4967 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4968
4969 * net/tramp.el (tramp-methods):
4970 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4971 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4972
4973 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4974
4975 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4976 Force highlighting text after Summary keyword in doc face for rpm.
4977
4978 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4979
4980 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4981 available and the word has no wildcards, append one to the grep pattern.
4982 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4983 (ispell-complete-word): Call `ispell-lookup-words' with the value
4984 independent of `ispell-look-p'.
4985
4986 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4987
4988 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4989 Not after "||".
4990 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4991 their parent.
4992
4993 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4994
4995 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4996 (ruby-font-lock-keywords): Use backquote.
4997
4998 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4999
5000 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5001 (ruby-smie--backward-token): Only consider full-string matches.
5002
5003 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5004
5005 * faces.el (describe-face): Add distant-foreground.
5006
5007 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5008
5009 * progmodes/ruby-mode.el: Improve encoding comment handling.
5010 (ruby-encoding-magic-comment-style): New option.
5011 (ruby-custom-encoding-magic-comment-template): New option.
5012 (ruby--insert-coding-comment, ruby--detect-encoding):
5013 New functions extracted from `ruby-mode-set-encoding'.
5014 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5015 to control the style of the auto-inserted encoding comment.
5016
5017 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5018
5019 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5020 Use `smie-backward-sexp' with token argument.
5021
5022 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
5023
5024 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5025 Remove instrumentation code.
5026
5027 2013-11-08 Glenn Morris <rgm@gnu.org>
5028
5029 * progmodes/autoconf.el (autoconf-mode):
5030 Tweak comment-start-skip. (Bug#15822)
5031
5032 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5033
5034 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5035 at bobp (bug#15826).
5036 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5037
5038 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
5039
5040 * man.el (Man-start-calling): New macro, extracted from
5041 Man-getpage-in-background.
5042 (Man-getpage-in-background): Use it.
5043 (Man-update-manpage): New command.
5044 (Man-mode-map): Bind it.
5045
5046 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5047
5048 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5049 of "and", "or", "&&" and "||".
5050 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5051 argument. Prohibit opening curly brace because it could only be a
5052 block opener in that position.
5053 (ruby-smie--forward-token, ruby-smie--backward-token):
5054 Separate "|" from "&" or "*" going after it. That can happen in block
5055 arguments.
5056 (ruby-smie--indent-to-stmt): New function, seeks the end of
5057 previous statement or beginning of buffer.
5058 (ruby-smie-rules): Use it.
5059 (ruby-smie-rules): Check if there's a ":" before a curly block
5060 opener candidate; if there is, it's a hash.
5061
5062 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5063
5064 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5065 (cl--block-wrapper): Fix last accidental change.
5066
5067 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
5068
5069 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5070 Instrument, in order to hunt failure on hydra.
5071
5072 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5073
5074 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5075 malformed bindings form (bug#15814).
5076
5077 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5078
5079 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5080 "." compared to " @ ". This incidentally fixes some indentation
5081 examples with "do".
5082 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5083 (ruby-smie-grammar): New tokens: "and" and "or".
5084 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5085 Exclude "and" and "or". Remove "do" in order to work around token
5086 priorities.
5087 (ruby-smie-rules): Add all infix tokens. Handle the case of
5088 beginning-of-buffer.
5089
5090 2013-11-06 Glenn Morris <rgm@gnu.org>
5091
5092 * Makefile.in (setwins_almost, setwins_for_subdirs):
5093 Avoid accidental matches.
5094
5095 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5096
5097 * menu-bar.el (popup-menu): Use key-binding.
5098
5099 2013-11-06 Eli Zaretskii <eliz@gnu.org>
5100
5101 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5102 menus, support also the menus produced by minor modes.
5103 (Bug#15817)
5104
5105 2013-11-06 Leo Liu <sdl.web@gmail.com>
5106
5107 * thingatpt.el (thing-at-point-looking-at): Add optional arg
5108 DISTANCE to bound the search. All uses changed. (Bug#15808)
5109
5110 2013-11-06 Glenn Morris <rgm@gnu.org>
5111
5112 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
5113 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5114 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
5115
5116 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 * electric.el (electric-indent-just-newline): New command.
5119 (electric-indent-mode-map): New keymap.
5120 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5121 Re-add :group which weren't redundant.
5122
5123 * electric.el (electric-indent-local-mode): New minor mode.
5124 (electric-indent-functions-without-reindent): New var.
5125 (electric-indent-post-self-insert-function): Use it.
5126 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5127
5128 2013-11-05 Eli Zaretskii <eliz@gnu.org>
5129
5130 * international/quail.el (quail-help): Be more explicit about the
5131 meaning of the labels shown on the keys. (Bug#15800)
5132
5133 * startup.el (normal-top-level): Load the subdirs.el files before
5134 setting the locale environment. (Bug#15805)
5135
5136 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5137
5138 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5139 via arguments so as to get the right ones (bug#15418).
5140
5141 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5142
5143 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
5144
5145 Fix problems found while writing a test suite.
5146
5147 * net/tramp-compat.el (tramp-compat-load): New defun.
5148 * net/tramp.el (tramp-handle-load): Use it.
5149
5150 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5151 "(numberp ok-if-already-exists)" correctly.
5152
5153 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5154
5155 * international/characters.el (glyphless-char-display-control):
5156 Add usage note.
5157
5158 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5159
5160 * progmodes/python.el (python-mode):
5161 * progmodes/scheme.el (scheme-mode):
5162 * progmodes/prolog.el (prolog-mode):
5163 * progmodes/ruby-mode.el (ruby-mode):
5164 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5165 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
5166
5167 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5168
5169 * rect.el (rectangle--highlight-for-redisplay):
5170 * emacs-lisp/smie.el (smie--next-indent-change):
5171 Use buffer-chars-modified-tick.
5172
5173 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5174
5175 * electric.el (electric-indent-post-self-insert-function):
5176 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5177
5178 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
5179
5180 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5181
5182 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5183
5184 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5185 (bug#15786).
5186
5187 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5188
5189 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5190
5191 * progmodes/python.el: Fix up last change.
5192 (python-shell--save-temp-file): New function.
5193 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5194 `string' comes from the current buffer.
5195 (python-shell-send-string-no-output): Remove `msg' arg.
5196 (python--use-fake-loc): New var.
5197 (python-shell-buffer-substring): Obey it. Try to compensate for the
5198 extra coding line added by python-shell--save-temp-file.
5199 (python-shell-send-region): Use python-shell--save-temp-file and
5200 python-shell-send-file directly. Add `nomain' argument.
5201 (python-shell-send-buffer): Use python-shell-send-region.
5202 (python-electric-pair-string-delimiter): New function.
5203 (python-mode): Use it.
5204
5205 2013-11-04 Eli Zaretskii <eliz@gnu.org>
5206
5207 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5208 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5209 environment and decoding all of the default-directory's to here
5210 from command-line.
5211 (command-line): Decode also argv[0].
5212
5213 * loadup.el: Error out if default-directory is a multibyte string
5214 when we are dumping.
5215
5216 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5217
5218 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5219
5220 * emacs-lisp/package.el (package-menu-mode)
5221 (package-menu--print-info, package-menu--archive-predicate):
5222 Add Archive column to package list.
5223
5224 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
5225
5226 Fix problems found while writing a test suite.
5227
5228 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5229 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5230 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5231 to nil when running original file name handler. Otherwise,
5232 there are problems with constructs like "$$FOO".
5233
5234 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5235 for `localname'.
5236
5237 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5238
5239 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5240
5241 * subr.el (version<, version<=, version=):
5242 Update docstrings with information for snapshot versions.
5243
5244 * helpers.el: New library for misc helper functions.
5245 (hash-table-keys): New function returning a list of hash keys.
5246 (hash-table-values): New function returning a list of hash values.
5247
5248 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5249
5250 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5251 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5252
5253 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
5254
5255 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5256 checking whether point is after a 1-letter word.
5257
5258 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5259
5260 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5261 Don't infloop when expanding region over `multiline' syntax-type that
5262 begins a line (bug#15778).
5263
5264 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5265
5266 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5267 Make it into a proper minor mode.
5268 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5269 (rectangle-mark-mode-map): New keymap.
5270 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5271
5272 2013-11-04 Glenn Morris <rgm@gnu.org>
5273
5274 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5275
5276 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5279 (ruby-smie-rules): Use smie-rule-parent instead.
5280
5281 * emacs-lisp/smie.el (smie-rule-parent): Always call
5282 smie-indent-virtual rather than only for hanging tokens.
5283 (smie--next-indent-change): New helper command.
5284
5285 2013-11-03 Glenn Morris <rgm@gnu.org>
5286
5287 * Makefile.in (abs_srcdir): Remove.
5288 (emacs): Unset EMACSLOADPATH.
5289
5290 2013-11-02 Glenn Morris <rgm@gnu.org>
5291
5292 * Makefile.in (EMACS): Use a relative filename.
5293 (abs_top_builddir): Remove.
5294 (custom-deps, finder-data, autoloads): Use --chdir.
5295
5296 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5297
5298 Use relative filenames in TAGS files.
5299 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5300 (lisptagsfiles4, TAGS): Use relative file names.
5301 (TAGS-LISP): Remove.
5302 (maintainer-clean): No more TAGS-LISP file.
5303
5304 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5305 (lisptagsfiles4): Use absolute filenames again.
5306 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5307 Remove all *loaddefs files, not just the first. Remove esh-groups.
5308 (maintainer-clean): Delete TAGS, TAGS-LISP.
5309
5310 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5311
5312 * emacs-lisp/package.el (package-version-join):
5313 Recognize snapshot versions.
5314
5315 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5316
5317 * subr.el (version-regexp-alist): Add support for snapshot versions.
5318
5319 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5320
5321 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5322 New function, replacement for `smie-rule-parent' for when we want to
5323 skip over our direct parent if it's an assignment token..
5324 (ruby-smie-rules): Use it.
5325
5326 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5327
5328 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5329 unconditionally. Remove now unnecessary forward declarations.
5330 Remove XEmacs-specific setup.
5331 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5332 (ruby-font-lock-syntactic-keywords)
5333 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5334 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5335 (ruby-here-doc-end-syntax): Remove.
5336 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5337 defined as function.
5338
5339 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5340
5341 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5342
5343 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5344
5345 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5346 table and abbrev table, `define-derived-mode' does that for us
5347 anyway.
5348
5349 2013-11-01 Glenn Morris <rgm@gnu.org>
5350
5351 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5352 files is atomic for some time, so no parallel compilation issues).
5353
5354 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5355
5356 * faces.el (face-x-resources): Add :distant-foreground.
5357 (region): Use :distant-foreground for gtk and ns.
5358
5359 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5360
5361 Allow multiple bibliographies when BibLaTeX is used rather than
5362 BibTeX.
5363 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5364 (reftex-locate-bibliography-files): Us it.
5365
5366 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5367
5368 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5369 allow comments in pbm files.
5370
5371 * term/w32-win.el (dynamic-library-alist): Support newer versions
5372 of libjpeg starting with v7: look only for the DLL from the
5373 version against which Emacs was built.
5374 Support versions of libpng beyond 1.4.x.
5375 Support libtiff v4.x.
5376
5377 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5378
5379 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5380 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5381 Add property :safe.
5382 (ruby-deep-arglist): Add property :type.
5383
5384 2013-10-31 Glenn Morris <rgm@gnu.org>
5385
5386 * Makefile.in (custom-deps, finder-data): No need to setq the target
5387 variables, we are in the right directory and the defaults work fine.
5388
5389 2013-10-30 Glenn Morris <rgm@gnu.org>
5390
5391 * Makefile.in (autoloads): Do not use abs_lisp.
5392
5393 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5394 `newline' does not respect `standard-output', so use `princ'.
5395
5396 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5397
5398 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5399 * buff-menu.el (Buffer-menu--unmark): New function.
5400 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5401
5402 2013-10-30 Glenn Morris <rgm@gnu.org>
5403
5404 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5405
5406 * emacs-lisp/package.el (lm-homepage): Declare.
5407
5408 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5409 Fix doc typos.
5410
5411 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5412
5413 * Makefile.in (finder-data, autoloads, update-subdirs)
5414 (compile-main, compile-clean, compile-always, bootstrap-clean):
5415 Check return value of cd.
5416 (compile-calc): Remove.
5417
5418 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5421
5422 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5423 (byte-compile-and-folded): New function.
5424 (=, <, >, <=, >=): Use it.
5425
5426 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5427 (path-separator, null-device, buffer-file-coding-system)
5428 (lpr-headers-switches): Check system-type before modifying them.
5429 (find-buffer-file-type-coding-system): Mark obsolete.
5430 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5431 find-file-not-found-set-buffer-file-coding-system.
5432 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5433 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5434 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5435 (w32-direct-print-region-helper, w32-direct-print-region-function)
5436 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5437 * startup.el (normal-top-level-add-subdirs-to-load-path):
5438 * ps-print.el (ps-print-region-function):
5439 * lpr.el (print-region-function): Use new name.
5440
5441 * subr.el (custom-declare-variable-early): Remove function.
5442 (custom-declare-variable-list): Remove var.
5443 (error, user-error): Remove `while' loop.
5444 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5445 (user-emacs-directory-warning, locate-user-emacs-file):
5446 Move to files.el.
5447 * simple.el (read-quoted-char-radix, read-quoted-char):
5448 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5449 Move from subr.el.
5450 * custom.el (custom-declare-variable-list): Don't process
5451 custom-declare-variable-list.
5452
5453 * progmodes/python.el (python-shell-get-buffer): New function.
5454 (python-shell-get-process): Use it.
5455 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5456 Python which encoding was used. Don't split-string since we only care
5457 about the first line. Return the temp-file, if applicable.
5458 (python-shell-send-region): Tell compile.el how to turn locations in
5459 the temp-file into locations in the source buffer.
5460
5461 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 * subr.el (undefined): Add missing behavior from the C code for
5464 unbound keys.
5465
5466 * rect.el: Use lexical-binding. Add new rectangular region support.
5467 (rectangle-mark): New command.
5468 (rectangle--region): New var.
5469 (deactivate-mark-hook): Reset rectangle--region.
5470 (rectangle--extract-region, rectangle--insert-for-yank)
5471 (rectangle--highlight-for-redisplay)
5472 (rectangle--unhighlight-for-redisplay): New functions.
5473 (region-extract-function, redisplay-unhighlight-region-function)
5474 (redisplay-highlight-region-function): Use them to handle
5475 rectangular region.
5476 * simple.el (region-extract-function): New var.
5477 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5478 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5479 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5480 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5481 (redisplay-unhighlight-region-function)
5482 (redisplay-highlight-region-function): New vars.
5483 (redisplay--update-region-highlight): New function.
5484 (pre-redisplay-function): Use it.
5485 (exchange-point-and-mark): Don't deactivate the mark before
5486 reactivate-it anyway.
5487 * comint.el (comint-kill-region): Remove yank-handler argument.
5488 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5489 (delete-char): Remove property, since it's now part of their
5490 default behavior.
5491 (self-insert-iso): Remove property since this command doesn't exist.
5492
5493 * emacs-lisp/package.el (package--download-one-archive)
5494 (describe-package-1): Don't query the user about final newline.
5495
5496 2013-10-29 Daniel Colascione <dancol@dancol.org>
5497
5498 * net/tramp.el (tramp-methods): Document new functionality.
5499 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5500 tramp-hostname-checker if method provides one instead of scanning
5501 argument list for "%h" to decide hostname acceptability.
5502
5503 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5504
5505 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5506 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5507 Handle COPY-CONTENTS. (Bug#15737)
5508
5509 2013-10-28 Daiki Ueno <ueno@gnu.org>
5510
5511 * epa-file.el
5512 (epa-file-cache-passphrase-for-symmetric-encryption):
5513 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5514
5515 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5516
5517 * image.el (defimage, image-load-path): Doc fixes.
5518
5519 2013-10-27 Alan Mackenzie <acm@muc.de>
5520
5521 Indent statements in macros following "##" correctly.
5522 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5523 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5524
5525 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5526
5527 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5528
5529 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5530
5531 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5532 after `=' is probably a new expression.
5533
5534 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5535
5536 * man.el (man-imenu-title): New option.
5537 (Man-mode-map): Add menu. (Bug#15722)
5538 (Man-mode): Add imenu to menu.
5539
5540 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5541
5542 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5543 specific in what the first arg can be: a non-keyword word,
5544 string/regexp/percent literal opener, opening paren, or unary
5545 operator followed directly by word.
5546
5547 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5548
5549 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5550 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5551 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5552 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5553 Remove vars, they do not apply any more.
5554 (prolog-mode-abbrev-table): Remove redundant declaration.
5555 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5556 (prolog-use-smie): Remove.
5557 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5558 supported by prolog-electric-if-then-else-flag.
5559 (prolog-mode-variables, prolog-menu): Use setq-local.
5560 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5561 Remove binding to `Backspace' since this key doesn't exist anyway.
5562 Remove bindings for electric self-inserting keys.
5563 (prog-mode): Assume it's defined.
5564 (prolog-post-self-insert): New function.
5565 (prolog-mode): Use it.
5566 (prolog-indent-line, prolog-indent-level)
5567 (prolog-find-indent-of-matching-paren)
5568 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5569 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5570 (prolog-goto-next-paren, prolog-in-string-or-comment)
5571 (prolog-tokenize, prolog-inside-mline-comment)
5572 (prolog-find-start-of-mline-comment): Remove functions.
5573 (prolog-find-unmatched-paren, prolog-clause-end)
5574 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5575 (prolog-electric--if-then-else): Rename from
5576 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5577 (prolog-tokenize-searchkey): Remove const.
5578 (prolog-clause-info): Use forward-sexp.
5579 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5580 (prolog-electric-if-then-else): Remove commands.
5581 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5582 for use in post-self-insert-hook.
5583 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5584 for use in post-self-insert-hook.
5585 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5586 for use in post-self-insert-hook.
5587 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5588 adapt it for use in post-self-insert-hook.
5589
5590 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5591
5592 * emacs-lisp/ert.el (ert-run-tests-interactively):
5593 Use `completing-read'. (Bug#9756)
5594
5595 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5596
5597 * simple.el (line-move): Call line-move-1 instead of
5598 line-move-visual when the current window hscroll is zero, but
5599 temporary-goal-column indicates we will need to hscroll as result
5600 of the movement. (Bug#15712)
5601
5602 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5603
5604 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5605 capitalization. Use :visible instead of :active.
5606 Fix `ruby-indent-exp' reference. Add menu items for the generic
5607 commands that are used with SMIE.
5608 (ruby-do-end-to-brace): Insert space after `{'.
5609
5610 2013-10-25 John Anthony <john@jo.hnanthony.com>
5611
5612 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5613
5614 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5615
5616 2013-10-25 Glenn Morris <rgm@gnu.org>
5617
5618 * vc/vc.el (vc-print-log): Don't use a working revision unless
5619 one was explicitly specified. (Bug#15322)
5620
5621 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5622
5623 * subr.el (add-to-list): Preserve return value in compiler-macro
5624 (bug#15692).
5625
5626 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5627
5628 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5629 result. Ask user to retry using '-all' flag. (Bug#15701)
5630
5631 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * emacs-lisp/smie.el: New smie-config system.
5634 (smie-config): New defcustom.
5635 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5636 (smie-config-guess, smie-config-save): New commands.
5637 (smie-config--mode-local, smie-config--buffer-local)
5638 (smie-config--trace, smie-config--modefuns): New vars.
5639 (smie-config--advice, smie-config--mode-hook)
5640 (smie-config--setter, smie-config-local, smie-config--get-trace)
5641 (smie-config--guess-value, smie-config--guess): New functions.
5642 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5643 text properties. Treat "string fence" syntax like string syntax.
5644
5645 * progmodes/sh-script.el (sh-use-smie): Change default.
5646 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5647 (sh-var-value): Simplify by CSE.
5648 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5649 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5650 is used.
5651 (sh-guess-basic-offset): Use cl-incf.
5652 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5653
5654 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5655
5656 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5657 (bug#15699).
5658
5659 2013-10-24 Glenn Morris <rgm@gnu.org>
5660
5661 * Makefile.in (abs_top_srcdir): Remove.
5662 (update-subdirs): Use relative path to update-subdirs.
5663
5664 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5665
5666 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5667 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5668 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5669 Call unmsys--file-name before expand-file-name, not after it.
5670
5671 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5672
5673 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5674 (ert-test-skipped): New error.
5675 (ert-skip, ert-stats-skipped): New defuns.
5676 (ert--skip-unless): New macro.
5677 (ert-test-skipped): New struct.
5678 (ert--run-test-debugger, ert-test-result-type-p)
5679 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5680 (ert--stats-set-test-and-result, ert-char-for-test-result)
5681 (ert-string-for-test-result, ert-run-tests-batch)
5682 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5683 Handle skipped tests. (Bug#9803)
5684
5685 2013-10-24 Glenn Morris <rgm@gnu.org>
5686
5687 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5688
5689 * Makefile.in (abs_top_srcdir): New, set by configure.
5690 (update-subdirs): Correct build-aux location.
5691
5692 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5693
5694 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5695 value, whether we could auto-deduce `backend', or not.
5696
5697 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5698 with parameters" example. Simplify the "is it block or is it
5699 hash" check, but also make it more thorough.
5700
5701 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5702
5703 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5704
5705 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5706
5707 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5708 { if it is hanging.
5709
5710 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5711 :before ";".
5712
5713 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5714
5715 * progmodes/compile.el (compilation-directory-matcher)
5716 (compilation-page-delimiter):
5717 Support GNU Make-4.0 directory quoting. (Bug#15678)
5718
5719 2013-10-23 Leo Liu <sdl.web@gmail.com>
5720
5721 * ido.el (ido-tidy): Handle read-only text.
5722
5723 2013-10-23 Glenn Morris <rgm@gnu.org>
5724
5725 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5726 (emacs, compile, compile-always):
5727 Quote entities that might contain whitespace.
5728 (custom-deps, finder-data, autoloads): Use abs_lisp.
5729 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5730 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5731 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5732
5733 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5734
5735 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5736 Use `following-char'.
5737
5738 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5739
5740 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5741 * progmodes/ruby-mode.el (ruby-smie-rules):
5742 Remove corresponding workaround. Fix indentation rule of ";" so it
5743 also applies when ";" is the parent.
5744
5745 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5746
5747 * frame.el (display-screens, display-pixel-height)
5748 (display-pixel-width, display-mm-width, display-backing-store)
5749 (display-save-under, display-planes, display-color-cells)
5750 (display-visual-class, display-monitor-attributes-list):
5751 Mention the optional ‘display’ argument in doc strings.
5752
5753 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5754
5755 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5756 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5757
5758 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5759
5760 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5761 TODO. Add "." after " @ ".
5762 (ruby-smie--at-dot-call): New function. Checks if point at method
5763 call with explicit target.
5764 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5765 to the method name tokens when it precedes them.
5766 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5767 (ruby-smie-rules): Add rule for indentation before and after "."
5768 token.
5769
5770 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5771
5772 * textmodes/remember.el (remember-diary-extract-entries):
5773 Avoid add-to-list.
5774
5775 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5776 an instruction.
5777
5778 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5779
5780 * progmodes/ruby-mode.el (ruby-smie-grammar):
5781 Add (almost) all infix operators.
5782 (ruby-smie--implicit-semi-p): Add new operator chars.
5783
5784 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5785 `smie-down-list'.
5786 (ruby-smie--args-separator-p): Check that there's no newline
5787 between method call and its arguments.
5788
5789 2013-10-20 Alan Mackenzie <acm@muc.de>
5790
5791 Allow comma separated lists after Java "implements".
5792
5793 * progmodes/cc-engine.el (c-backward-over-enum-header):
5794 Parse commas.
5795 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5796 from a "disallowed" list in enum fontification.
5797
5798 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5799
5800 * startup.el (default-frame-background-mode): Remove unused defvar.
5801
5802 * progmodes/verilog-mode.el (verilog-mode): Don't set
5803 comment-indent-function globally.
5804
5805 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5806
5807 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5808 Move Info menu item creation to ns-win.el.
5809
5810 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5811 in menu bar.
5812
5813 * menu-bar.el: Move GNUstep specific menus...
5814
5815 * term/ns-win.el (ns-initialize-window-system): ... to here.
5816
5817 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5818
5819 * simple.el (newline): Only run post-self-insert-hook when
5820 called interactively.
5821
5822 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5823
5824 * icomplete.el (icomplete-with-completion-tables): Add :version.
5825
5826 2013-10-19 Alan Mackenzie <acm@muc.de>
5827
5828 Fix fontification bugs with constructors and const.
5829
5830 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5831 CASE 2) Remove the check for the absence of a suffix construct
5832 after a function declaration with only types (no identifiers) in
5833 the parentheses. Also, accept a function declaration with just a
5834 type inside the parentheses, if this type can be positively
5835 recognised as such, or if a prefix keyword like "explicit" nails
5836 down the construct as a declaration.
5837
5838 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5839
5840 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5841 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5842 the problem whereby selecting a menu item that leads to a
5843 minibuffer prompt moves the cursor out of the minibuffer window,
5844 making it hard to type at the prompt. Suggested by Stefan Monnier
5845 <monnier@iro.umontreal.ca>.
5846
5847 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5848
5849 * menu-bar.el: Don't make Services menu.
5850
5851 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5852
5853 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5854 (ffap-alist): Use ffap-c++-mode for c++-mode.
5855 (ffap-c++-path): New variable.
5856 (ffap-c++-mode): New function.
5857
5858 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5859
5860 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5861
5862 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5863
5864 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5865 introduced on 2013-09-08, which results in an infinite loop
5866 requesting a password.
5867
5868 2013-10-18 Glenn Morris <rgm@gnu.org>
5869
5870 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5871
5872 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5873
5874 Sync with upstream verilog-mode revision 1a6ecec7.
5875 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5876 (verilog-mode-release-date): Remove.
5877 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5878 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5879 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5880 (verilog-auto-tieoff-ignore-regexp)
5881 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5882 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5883 (verilog-signals-with, verilog-dir-cache-preserving)
5884 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5885 Doc fixes.
5886 (verilog-case-fold): New option, to control case folding in
5887 regexp searches, bug597.
5888 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5889 (verilog-string-match-fold, verilog-in-paren-count)
5890 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5891 (verilog-at-close-struct-p): New functions.
5892 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5893 (verilog-forward-sexp, verilog-set-auto-endcomments)
5894 (verilog-leap-to-case-head): Handle "unique0" case.
5895 (verilog-in-constraint-re): New constant.
5896 (verilog-keywords, verilog-type-font-keywords):
5897 Add some SystemVerilog 1800-2012 keywords.
5898 (verilog-label-be): Remove unimplemented argument, bug669.
5899 (verilog-batch-execute-func): When batch expanding clear
5900 create-lockfiles to prevent spurious user locks when a file ends
5901 up not changing.
5902 (verilog-calculate-indent, verilog-calc-1)
5903 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5904 (verilog-do-indent): Fix indentation of nested constraints
5905 and structures.
5906 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5907 (verilog-auto-inst-param): Use verilog-string-match-fold.
5908 (verilog-read-inst-module-matcher):
5909 Fix AUTOINST on gate primitives with #1.
5910 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5911 Reads all user-defined typed variables.
5912 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5913 (verilog-signals-matching-regexp)
5914 (verilog-signals-not-matching-regexp, verilog-auto):
5915 Respect verilog-case-fold.
5916 (verilog-diff-report): Fix line count.
5917 (verilog-auto-assign-modport): Remove unused local `modi'.
5918 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5919 better handle multidimensional arrays.
5920 Fix packed array ports misadding bit index in AUTOINST, bug637.
5921 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5922 to not double-declare existing outputs and inputs, respectively.
5923 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5924 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5925 (verilog-sk-uvm-component): New skeleton.
5926 (verilog-submit-bug-report): Add verilog-case-fold,
5927 remove verilog-mode-release-date.
5928
5929 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5930
5931 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5932 as before.
5933
5934 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5935
5936 * textmodes/remember.el (remember): Set buffer-offer-save in
5937 remember buffers (bug#13566).
5938
5939 2013-10-18 Daniel Colascione <dancol@dancol.org>
5940
5941 When evaluating forms in ielm, direct standard output to ielm
5942 buffer. Add new ielm-return-for-effect command. Remove trailing
5943 whitespace throughout.
5944
5945 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5946 (ielm-return-for-effect): New command.
5947 (ielm-send-input): Accept optional `for-effect' parameter.
5948 (ielm-eval-input): Accept optional `for-effect' parameter.
5949 Bind `standard-output' to stream we create using
5950 `ielm-standard-output-impl'. Suppress printing result when
5951 `for-effect'.
5952 (ielm-standard-output-impl): New function.
5953 (inferior-emacs-lisp-mode): Explain new features in documentation.
5954
5955 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5956
5957 Code cleanup.
5958
5959 * net/tramp.el (tramp-debug-message): Do not check for connection
5960 buffer.
5961 (tramp-message): Use "vector" connection property.
5962
5963 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5964 (tramp-equal-remote, tramp-eshell-directory-change)
5965 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5966 (tramp-adb-handle-rename-file)
5967 * net/tramp-cmds.el (tramp-list-remote-buffers)
5968 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5969 * net/tramp-compat.el (tramp-compat-process-running-p)
5970 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5971 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5972 (tramp-gvfs-handle-rename-file)
5973 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5974 (tramp-set-file-uid-gid)
5975 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5976 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5977 of `file-remote-p'.
5978
5979 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5980 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5981 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5982 (tramp-gw-open-network-stream): Suppress unrelated traces.
5983
5984 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5985 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5986 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5987 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5988 connection property.
5989
5990 * net/tramp-cache.el (top): Suppress traces when reading
5991 persistency file.
5992
5993 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5994 Refactor common code. Improve debug message.
5995 (tramp-maybe-open-connection)
5996 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5997 connection buffer too early.
5998
5999 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6000 from `tramp-smb-actions-with-acl'.
6001 (tramp-smb-actions-set-acl): New defconst.
6002 (tramp-smb-handle-copy-directory)
6003 (tramp-smb-action-get-acl): New defun, renamed from
6004 `tramp-smb-action-with-acl'.
6005 (tramp-smb-action-set-acl): New defun.
6006 (tramp-smb-handle-set-file-acl): Rewrite.
6007
6008 2013-10-17 Glenn Morris <rgm@gnu.org>
6009
6010 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6011
6012 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6013
6014 * skeleton.el (skeleton-newline): Remove.
6015 (skeleton-internal-1): Use (insert "\n") instead.
6016
6017 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6018 let-bindings.
6019
6020 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6021 forward-sexp-function while we redo its job (bug#15613).
6022
6023 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6024
6025 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6026 represented by lists.
6027
6028 2013-10-16 Glenn Morris <rgm@gnu.org>
6029
6030 * tmm.el (tmm--history): New dynamic variable.
6031 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6032
6033 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
6034
6035 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6036 (tramp-smb-errors): Add error messages.
6037 (tramp-smb-actions-with-acl): New defconst.
6038 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6039 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6040 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6041 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6042 (tramp-smb-get-stat-capability): Fix tests.
6043
6044 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6045
6046 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6047 (bug#15580).
6048
6049 2013-10-16 Glenn Morris <rgm@gnu.org>
6050
6051 * ansi-color.el (ansi-color-drop-regexp):
6052 Add 1J, 1K, 2K. (Bug#15617)
6053
6054 * files.el (hack-local-variables--warned-lexical): New.
6055 (hack-local-variables):
6056 Warn about misplaced lexical-binding. (Bug#15616)
6057
6058 * net/eww.el (eww-render): Always set eww-current-url,
6059 and update header line. (Bug#15622)
6060 (eww-display-html): ... Rather than just doing it here.
6061
6062 2013-10-15 Eli Zaretskii <eliz@gnu.org>
6063
6064 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6065 menu navigations commands.
6066
6067 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6068
6069 * progmodes/subword.el (subword-capitalize): Be careful when
6070 the search for [[:alpha:]] fails (bug#15580).
6071
6072 2013-10-14 Eli Zaretskii <eliz@gnu.org>
6073
6074 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6075 to commands that scroll the menu.
6076
6077 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6078
6079 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6080 Handle methods ending with `?' and `!'.
6081
6082 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
6083
6084 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6085 `japanese-cp932' to `cp932' to fix the problem where saving a
6086 source file written in Shift_JIS twice would end up having
6087 `coding: japanese-cp932' which Ruby could not recognize.
6088 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6089 in `ruby-encoding-map'.
6090 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6091 doesn't need to be explicitly declared in magic comment.
6092 (ruby-encoding-map): Add type declaration for better customize UI.
6093
6094 2013-10-13 Glenn Morris <rgm@gnu.org>
6095
6096 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6097 Occur buffers are read-only. http://bugs.debian.org/720775
6098
6099 * emacs-lisp/authors.el (authors-fixed-entries):
6100 Comment out old alpha stuff.
6101
6102 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6103
6104 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6105 to `after-save-hook' instead of `before-save-hook'.
6106 (ruby-mode-set-encoding): Use the value of coding system used to
6107 write the file. Call `basic-save-buffer-1' after modifying the
6108 buffer.
6109
6110 2013-10-13 Alan Mackenzie <acm@muc.de>
6111
6112 Fix indentation/fontification of Java enum with
6113 "implements"/generic.
6114
6115 * progmodes/cc-engine.el (c-backward-over-enum-header):
6116 Extracted from the three other places and enhanced to handle generics.
6117 (c-inside-bracelist-p): Uses new function above.
6118 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6119 function above.
6120 (c-font-lock-enum-tail): Uses new function above.
6121
6122 2013-10-13 Kenichi Handa <handa@gnu.org>
6123
6124 * international/mule-cmds.el (select-safe-coding-system): Remove a
6125 superfluous condition in chekcing whether a coding system is safe
6126 or not.
6127
6128 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6129
6130 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6131
6132 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
6133
6134 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6135
6136 2013-10-13 Glenn Morris <rgm@gnu.org>
6137
6138 * menu-bar.el (menu-bar-update-buffers):
6139 Unify Buffers menu prompt string. (Bug#15576)
6140
6141 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6142
6143 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6144 Add some entries.
6145 (authors-fixed-entries): Use accented form of name.
6146
6147 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6148
6149 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
6150 method calls (bug#15594).
6151 (ruby-smie--args-separator-p): New function.
6152 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6153 recognize paren-free method calls.
6154
6155 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6156 internals of universal-argument.
6157
6158 2013-10-11 Eli Zaretskii <eliz@gnu.org>
6159
6160 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
6161 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6162 dropped menu on second mouse click on the menu bar.
6163
6164 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6165
6166 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6167 (explicit-shell-file-name): Declare.
6168 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6169 (sh-completion-at-point-function): New function.
6170 (sh-mode): Use it.
6171 (sh-smie--keyword-p): Remove unused argument.
6172 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6173 vars.
6174 (sh-set-shell): Always setup SMIE, even if we use the
6175 old indentation code.
6176
6177 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6178
6179 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6180 cases of ? and =.
6181 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6182 predicate would return nil are almost non-existent.
6183 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6184
6185 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6186 cache also after commands that modify the buffer but don't move
6187 point.
6188
6189 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6190
6191 * env.el (substitute-env-in-file-name): New function.
6192 (substitute-env-vars): Extend the meaning of the optional arg.
6193
6194 2013-10-10 Eli Zaretskii <eliz@gnu.org>
6195
6196 * term/w32-win.el (dynamic-library-alist): Define separate lists
6197 of GIF DLLs for versions before and after 5.0.0 of giflib.
6198 (Bug#15531)
6199
6200 2013-10-10 João Távora <joaotavora@gmail.com>
6201
6202 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6203 not locked, use last revision and current source as
6204 defaults. (Bug#15569)
6205
6206 2013-10-10 Masatake YAMATO <yamato@redhat.com>
6207
6208 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6209 menu-bar is hidden.
6210
6211 2013-10-10 Martin Rudalics <rudalics@gmx.at>
6212
6213 * window.el (pop-to-buffer-same-window): Fix doc-string.
6214 (Bug#15492)
6215
6216 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6219
6220 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6221
6222 * calendar/icalendar.el (icalendar-import-file):
6223 Fix interactive spec. (Bug#15482)
6224
6225 2013-10-10 Glenn Morris <rgm@gnu.org>
6226
6227 * desktop.el (desktop-save): Default to saving in .emacs.d,
6228 since PWD is no longer in desktop-path by default. (Bug#15319)
6229
6230 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6231 now that text mode has a menu with the same entry.
6232 (menu-bar-text-mode-auto-fill): Remove now unused func.
6233 * textmodes/text-mode.el (text-mode-map):
6234 Use auto-fill help text from menu-bar.el.
6235
6236 2013-10-10 John Anthony <john@jo.hnanthony.com>
6237
6238 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6239
6240 2013-10-09 Juri Linkov <juri@jurta.org>
6241
6242 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6243 instead of this-command-keys. Add universal-argument-more and
6244 universal-argument-minus to the list of prefix commands. (Bug#15568)
6245
6246 2013-10-09 Glenn Morris <rgm@gnu.org>
6247
6248 * vc/vc-svn.el (vc-svn-create-repo):
6249 Expand paths in file://... url. (Bug#15446)
6250
6251 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6252 Add some entries.
6253 (authors): Remove unused local variables.
6254
6255 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6256
6257 * profiler.el: Create a more coherent calltree from partial backtraces.
6258 (profiler-format): Hide the tail with `invisible' so that C-s can still
6259 find the hidden elements.
6260 (profiler-calltree-depth): Don't recurse so enthusiastically.
6261 (profiler-function-equal): New hash-table-test.
6262 (profiler-calltree-build-unified): New function.
6263 (profiler-calltree-build): Use it.
6264 (profiler-report-make-name-part): Indent the calltree less.
6265 (profiler-report-mode): Add visibility specs for profiler-format.
6266 (profiler-report-expand-entry, profiler-report-toggle-entry):
6267 Expand the whole subtree when provided with a prefix arg.
6268
6269 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6270
6271 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6272 iuwu-mod token.
6273 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6274 hanging iuwu-mod token.
6275 (ruby-smie--forward-token): Do not include a dot after a token in
6276 that token.
6277 (ruby-smie--backward-token): Likewise.
6278
6279 2013-10-08 Juri Linkov <juri@jurta.org>
6280
6281 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6282 to isearch-other-control-char.
6283 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6284 and isearch-post-command-hook to post-command-hook.
6285 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6286 and isearch-post-command-hook from post-command-hook.
6287 (isearch-unread-key-sequence)
6288 (isearch-reread-key-sequence-naturally)
6289 (isearch-lookup-scroll-key, isearch-other-control-char)
6290 (isearch-other-meta-char): Remove functions.
6291 (isearch-pre-command-hook, isearch-post-command-hook):
6292 New functions based on isearch-other-meta-char rewritten
6293 relying on the new behavior of overriding-terminal-local-map
6294 that does not replace the local keymaps any more. (Bug#15200)
6295
6296 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6297
6298 Support menus on text-mode terminals.
6299 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6300 functionality.
6301
6302 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6303
6304 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6305 Move here from mouse.el.
6306 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6307 and arrow keys.
6308 (tty-menu-navigation-map): New map for TTY menu navigation.
6309
6310 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6311
6312 * frame.el (display-mouse-p): Report text-mode mouse as available
6313 on w32.
6314 (display-popup-menus-p): Report availability if mouse is
6315 available; don't condition on window-system.
6316
6317 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6318 (tty-menu-selected-face): New faces.
6319
6320 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6321
6322 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6323 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6324 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6325 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6326 New constants.
6327 (lisp-mode-variables): New `elisp' argument.
6328 (emacs-lisp-mode): Use it.
6329 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6330 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6331
6332 * indent.el: Use lexical-binding.
6333 (indent-region): Add progress reporter.
6334 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6335 last step.
6336 (indent--next-tab-stop): New function to implement this behavior.
6337 (tab-to-tab-stop, move-to-tab-stop): Use it.
6338
6339 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6340
6341 * indent.el (indent-rigidly--current-indentation): New function.
6342 (indent-rigidly-map): New var.
6343 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6344
6345 2013-10-08 Bastien Guerry <bzg@gnu.org>
6346
6347 * register.el (insert-register): Fix 2013-10-07 change.
6348
6349 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6350
6351 * progmodes/perl-mode.el: Use lexical-binding.
6352 Remove redundant :group args.
6353 (perl-nochange): Change default to be closer to other major modes's
6354 standard behavior.
6355 (perl-indent-line): Don't consider text on current line as a
6356 valid beginning of function from which to indent.
6357
6358 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6359 with more than one argument (bug#15538).
6360
6361 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6362
6363 * vc/pcvs.el: Use lexical-binding.
6364 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6365 environment of `eval'.
6366 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6367 than a list of expressions. Adjust callers.
6368 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6369
6370 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6371
6372 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6373 case of the dot in a chained method call being on the following line.
6374
6375 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6376
6377 * electric.el (electric-indent-inhibit): New var.
6378 (electric-indent-post-self-insert-function): Use it.
6379 * progmodes/python.el (python-mode): Set it.
6380
6381 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6382 open braces.
6383
6384 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6385
6386 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6387 (css-mode): Use electric-indent-chars.
6388
6389 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6390 (font-lock-beg, font-lock-end): Move before first use.
6391 (nxml-mode): Use syntax-propertize-function.
6392 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6393 (nxml-extend-after-change-region): Remove.
6394 * nxml/xmltok.el: Use lexical-binding.
6395 (xmltok-save): Use `declare'.
6396 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6397 * nxml/nxml-util.el: Use lexical-binding.
6398 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6399 Use `declare'.
6400 * nxml/nxml-ns.el: Use lexical-binding.
6401 (nxml-ns-save): Use `declare'.
6402 (nxml-ns-prefixes-for): Avoid add-to-list.
6403 * nxml/rng-match.el: Use lexical-binding.
6404 (rng--ipattern): Use cl-defstruct.
6405 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6406 (rng-cons-group-after, rng-subst-group-after)
6407 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6408 Use closures instead of `(lambda...).
6409
6410 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6411
6412 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6413 of BEG and END.
6414
6415 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6416 Use `tramp-handle-insert-file-contents'.
6417 (tramp-gvfs-handle-insert-file-contents): Remove function.
6418
6419 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6420 Use `save-restriction' in order to keep markers.
6421
6422 * net/trampver.el: Update release number.
6423
6424 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6425
6426 * progmodes/compile.el (compilation-parse-errors):
6427 Use compilation--put-prop.
6428 (compilation--ensure-parse): Check compilation-multiline.
6429
6430 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6431
6432 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6433 lexical-binding.
6434
6435 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6436
6437 * progmodes/ruby-mode.el: Fix recently added tests.
6438 (ruby-smie-grammar): Add - and +.
6439 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6440 (ruby-smie--backward-id): New functions.
6441 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6442 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6443 any more.
6444
6445 2013-10-07 Leo Liu <sdl.web@gmail.com>
6446
6447 * register.el (register-preview-delay)
6448 (register-preview-functions): New variables.
6449 (register-read-with-preview, register-preview)
6450 (register-describe-oneline): New functions.
6451 (point-to-register, window-configuration-to-register)
6452 (frame-configuration-to-register, jump-to-register)
6453 (number-to-register, view-register, insert-register)
6454 (copy-to-register, append-to-register, prepend-to-register)
6455 (copy-rectangle-to-register): Use register-read-with-preview to
6456 read register. (Bug#15525)
6457
6458 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6459
6460 * net/network-stream.el (network-stream-open-starttls): Don't add
6461 --insecure if it's already present, because that gnutls-cli
6462 rejects getting that parameter twice.
6463
6464 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6465
6466 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6467 keyword, too.
6468
6469 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6470
6471 * newcomment.el (comment-use-global-state): Change default value
6472 to t, mark obsolete (Bug#15251).
6473 (comment-beginning): In addition to `comment-to-syntax', check the
6474 value of `comment-use-global-state'.
6475
6476 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6479 (ruby-comment-column): Follow the global default, by default.
6480 (ruby-smie-grammar): Add assignment syntax.
6481 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6482 open-paren, a comma, or a \.
6483 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6484 and line continuations.
6485 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6486 followed by implicit semi-colons. Add rule for string concatenation
6487 and for indentation at BOB.
6488 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6489
6490 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6491 calling next-sexp, since next-token may have skipped chars which
6492 next-sexp doesn't know should be skipped!
6493
6494 2013-10-05 Leo Liu <sdl.web@gmail.com>
6495
6496 * progmodes/octave.el (octave-send-region):
6497 Call compilation-forget-errors.
6498
6499 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6500
6501 * vc/vc-svn.el (vc-svn-find-admin-dir):
6502 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6503 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6504 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6505 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6506
6507 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6508
6509 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6510
6511 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6512
6513 * subr.el (read-passwd): Hide chars even when called within a context
6514 where after-change-functions is disabled (bug#15501).
6515 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6516 until we removed ourself from overriding-terminal-local-map.
6517
6518 2013-10-04 Leo Liu <sdl.web@gmail.com>
6519
6520 * progmodes/octave.el (inferior-octave-mode):
6521 Call compilation-forget-errors.
6522
6523 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6524
6525 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6526
6527 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6528
6529 * net/secrets.el (secrets-create-collection): Add optional
6530 argument ALIAS. Use proper Label keyword. Append ALIAS as
6531 dbus-call-method argument. (Bug#15516)
6532
6533 2013-10-04 Leo Liu <sdl.web@gmail.com>
6534
6535 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6536 (inferior-octave-compilation-font-lock-keywords): New variables.
6537 (compilation-error-regexp-alist)
6538 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6539 (inferior-octave-mode): Use compilation-shell-minor-mode.
6540
6541 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6542
6543 * minibuffer.el (completion--replace): Be careful that `end' might be
6544 a marker.
6545
6546 2013-10-03 Daiki Ueno <ueno@gnu.org>
6547
6548 Add support for package signature checking.
6549 * emacs-lisp/package.el (url-http-file-exists-p)
6550 (epg-make-context, epg-context-set-home-directory)
6551 (epg-verify-string, epg-context-result-for)
6552 (epg-signature-status, epg-signature-to-string)
6553 (epg-check-configuration, epg-configuration)
6554 (epg-import-keys-from-file): Declare.
6555 (package-check-signature): New user option.
6556 (package-unsigned-archives): New user option.
6557 (package-desc): Add `signed' field.
6558 (package-load-descriptor): Set `signed' field if .signed file exists.
6559 (package--archive-file-exists-p): New function.
6560 (package--check-signature): New function.
6561 (package-install-from-archive): Check package signature.
6562 (package--download-one-archive): Check archive signature.
6563 (package-delete): Remove .signed file.
6564 (package-import-keyring): New command.
6565 (package-refresh-contents): Import default keyring.
6566 (package-desc-status): Add "unsigned" status.
6567 (describe-package-1, package-menu--print-info)
6568 (package-menu-mark-delete, package-menu--find-upgrades)
6569 (package-menu--status-predicate): Support "unsigned" status.
6570
6571 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6572
6573 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6574 the new compilation scheme using the new byte-codes.
6575
6576 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6577 (byte-pophandler): New byte codes.
6578 (byte-goto-ops): Adjust accordingly.
6579 (byte-compile--use-old-handlers): New var.
6580 (byte-compile-catch): Use new byte codes depending on
6581 byte-compile--use-old-handlers.
6582 (byte-compile-condition-case--old): Rename from
6583 byte-compile-condition-case.
6584 (byte-compile-condition-case--new): New function.
6585 (byte-compile-condition-case): New function that dispatches depending
6586 on byte-compile--use-old-handlers.
6587 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6588 when we can.
6589
6590 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6591 Optimize under `condition-case' and `catch' if
6592 byte-compile--use-old-handlers is nil.
6593 (disassemble-offset): Handle new bytecodes.
6594
6595 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6596
6597 * subr.el (error): Use `declare'.
6598 (decode-char, encode-char): Use advertised-calling-convention instead
6599 of the docstring to discourage use of the `restriction' arg.
6600
6601 2013-10-03 Daiki Ueno <ueno@gnu.org>
6602
6603 * epg.el (epg-verify-file): Add a comment saying that it does not
6604 notify verification error as a return value nor a signal.
6605 (epg-verify-string): Ditto.
6606
6607 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6608
6609 * progmodes/compile.el (compilation-start): Try globbing the arg to
6610 `cd' (bug#15417).
6611
6612 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6613
6614 Sync with Tramp 2.2.8.
6615
6616 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6617 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6618 * net/trampver.el: Update release number.
6619
6620 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6621
6622 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6623 and default-process-coding-system for darwin only.
6624
6625 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6626
6627 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6628
6629 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6630
6631 * vc/vc-git.el (vc-git-grep): Disable pager.
6632
6633 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6634
6635 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6636 Use :url instead of :homepage, as per
6637 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6638
6639 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6640 non-nil, use `syntax-ppss' (Bug#15251).
6641
6642 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6643
6644 * progmodes/octave.el (inferior-octave-startup-file):
6645 Prefer ~/.emacs.d/init_octave.m.
6646
6647 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6648
6649 * emacs-lisp/package.el (package-desc-from-define):
6650 Accept additional arguments as plist, convert them to an alist and store
6651 them in the `extras' slot.
6652 (package-generate-description-file): Convert extras alist back to
6653 plist and append to the `define-package' form arguments.
6654 (package--alist-to-plist): New function.
6655 (package--ac-desc): Add `extras' slot.
6656 (package--add-to-archive-contents): Check if the archive-contents
6657 vector is long enough, and if it is, pass its `extras' slot value
6658 to `package-desc-create'.
6659 (package-buffer-info): Call `lm-homepage', pass the returned value
6660 to `package-desc-from-define'.
6661 (describe-package-1): Render the homepage button (Bug#13291).
6662
6663 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6664 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6665
6666 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6667
6668 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6669 and default-process-coding-system to utf-8-unix (Bug#15402).
6670
6671 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6672
6673 * subr.el (looking-back): Do not recommend using looking-back.
6674
6675 2013-09-28 Alan Mackenzie <acm@muc.de>
6676
6677 Fix indentation/fontification of Java enum with "implements".
6678
6679 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6680 regexp which matches "implements", etc., in Java.
6681 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6682 specifier clauses coming after "enum".
6683 * progmodes/cc-fonts.el (c-font-lock-declarations)
6684 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6685 after "enum".
6686
6687 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6688
6689 * faces.el (region): Change ns_selection_color to
6690 ns_selection_fg_color, add ns_selection_bg_color.
6691
6692 2013-09-28 Leo Liu <sdl.web@gmail.com>
6693
6694 * progmodes/octave.el (inferior-octave-completion-table)
6695 (inferior-octave-completion-at-point): Minor tweaks.
6696
6697 * textmodes/ispell.el (ispell-lookup-words): Rename from
6698 lookup-words. (Bug#15460)
6699 (lookup-words): Obsolete.
6700 (ispell-complete-word, ispell-command-loop): All uses changed.
6701
6702 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6703
6704 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6705 (octave-mode-menu): Add octave-send-buffer.
6706 (octave-send-buffer): New function.
6707
6708 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6709
6710 * progmodes/octave.el (octave-mode-map): Add key binding for
6711 octave-lookfor.
6712 (octave-mode-menu): Add octave-lookfor.
6713 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6714 octave-lookfor.
6715 (octave-lookfor): New function.
6716
6717 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6718
6719 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6720 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6721 its convention.
6722 (cl--loop-set-iterator-function): New function.
6723 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6724 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6725 Bind `it' with `let' instead of substituting it with `cl-subst'.
6726 (cl--unused-var-p): New function.
6727 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6728 Eliminate some unused variable warnings (bug#15326).
6729
6730 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6731
6732 * doc-view.el (doc-view-scale-reset): Rename from
6733 `doc-view-reset-zoom-level'.
6734 (doc-view-scale-adjust): New command.
6735 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6736 `doc-view-scale-adjust'.
6737
6738 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6739
6740 * doc-view.el (doc-view-reset-zoom-level): New command.
6741 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6742 zoom commands (bug#15466).
6743
6744 2013-09-26 Kenichi Handa <handa@gnu.org>
6745
6746 * international/quail.el (quail-help): Make it not a command.
6747
6748 2013-09-26 Leo Liu <sdl.web@gmail.com>
6749
6750 * minibuffer.el (completion-all-sorted-completions): Make args
6751 optional as they are.
6752
6753 2013-09-25 Daniel Colascione <dancol@dancol.org>
6754
6755 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6756 specs are and that they're not evaluated.
6757
6758 2013-09-24 Sam Steingold <sds@gnu.org>
6759
6760 * midnight.el (clean-buffer-list-kill-regexps)
6761 (clean-buffer-list-kill-buffer-names): Update for the new Man
6762 buffer naming which includes the object name.
6763
6764 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6765
6766 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6767 (eshell-parse-command, eshell-parse-pipeline): Use it since
6768 eshell-separate-commands requires a dynamic scoped var.
6769 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6770
6771 2013-09-23 Leo Liu <sdl.web@gmail.com>
6772
6773 * autoinsert.el (auto-insert-alist): Make the value of
6774 lexical-binding match its file setting.
6775
6776 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6777
6778 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6779
6780 * autoarg.el (autoarg-kp-digit-argument):
6781 * electric.el (Electric-command-loop):
6782 * kmacro.el (kmacro-step-edit-insert):
6783 Do not set universal-argument-num-events.
6784
6785 2013-09-22 Leo Liu <sdl.web@gmail.com>
6786
6787 * files.el (interpreter-mode-alist): Add octave.
6788
6789 2013-09-21 Alan Mackenzie <acm@muc.de>
6790
6791 C++: fontify identifier in declaration following "public:" correctly.
6792 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6793 to match "public", etc.
6794 (c-decl-prefix-re): Add ":" into the C++ value.
6795 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6796 bit. Add a check for a ":" preceded by "public", etc.
6797
6798 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6799
6800 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6801 recognized by GDB 7.5 and later.
6802
6803 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6804
6805 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6806
6807 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6808
6809 * subr.el (internal--call-interactively): New const.
6810 (called-interactively-p): Use it (bug#3984).
6811
6812 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6813
6814 * vc/pcvs.el (cvs-mode-ignore):
6815 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6816 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6817
6818 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6819
6820 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6821 (eshell-ls-orig-insert-directory): Remove.
6822 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6823 (eshell-ls-use-in-dired): Use advice-add/remove.
6824 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6825 Add `orig-fun' arg for use in :around advice.
6826 Make it check (redundantly) eshell-ls-use-in-dired.
6827
6828 2013-09-19 Glenn Morris <rgm@gnu.org>
6829
6830 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6831
6832 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6833
6834 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6835
6836 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6837
6838 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6839 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6840 (tramp-get-remote-python): New defuns.
6841 (tramp-get-remote-uid-with-perl)
6842 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6843 contributed by yary <not.com@gmail.com> (tiny change).
6844 (tramp-get-remote-uid-with-python)
6845 (tramp-get-remote-gid-with-python): New defuns. Python code
6846 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6847 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6848
6849 2013-09-19 Glenn Morris <rgm@gnu.org>
6850
6851 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6852
6853 * eshell/em-unix.el (eshell-remove-entries):
6854 Rename argument to avoid name-clash with global `top-level'.
6855
6856 * eshell/esh-proc.el (eshell-kill-process-function):
6857 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6858 (eshell-reset-after-proc): Remove unused arg `proc'.
6859
6860 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6861 (directory-files-and-attributes): Mark unused arg.
6862
6863 * eshell/em-unix.el (eshell-remove-entries):
6864 Remove unused arg `path'. Update callers.
6865
6866 * eshell/em-hist.el (eshell-hist-parse-arguments):
6867 Remove unused arg `silent'. Update callers.
6868
6869 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6870 Fix (f)boundp mix-up.
6871
6872 * eshell/em-smart.el (eshell-smart-scroll-window)
6873 (eshell-disable-after-change):
6874 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6875
6876 2013-09-18 Alan Mackenzie <acm@muc.de>
6877
6878 Fix fontification of type when followed by "const".
6879 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6880 "known" types from fontification.
6881
6882 2013-09-18 Glenn Morris <rgm@gnu.org>
6883
6884 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6885 (chart-face-list): Drop Emacsen without display-color-p.
6886
6887 * net/eww.el (libxml-parse-html-region): Declare.
6888 (eww-display-html): Explicit error if no libxml2 support.
6889
6890 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6891
6892 * image.el (image-type-from-buffer, image-multi-frame-p):
6893 Remove --without-x warning/error.
6894
6895 * mouse.el (mouse-yank-primary):
6896 * term.el (term-mouse-paste):
6897 Reorder to silence --without-x compilation.
6898
6899 * mpc.el (doc-view-mode): Silence --without-x compilation.
6900
6901 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6902 Silence --without-x compilation.
6903
6904 * progmodes/gud.el (gud-find-file, gud-mode):
6905 Silence --without-x compilation.
6906 (tooltip-mode): Declare.
6907
6908 * wdired.el (dired-backup-overwrite): Remove declaration.
6909 (wdired-mode-map): Add doc string.
6910
6911 * custom.el (x-get-resource): Declare.
6912
6913 * eshell/em-glob.el (ange-cache):
6914 * eshell/em-unix.el (ange-cache): Declare.
6915
6916 * faces.el (x-display-list, x-open-connection, x-get-resource):
6917 Declare.
6918
6919 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6920 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6921 Declare.
6922
6923 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6924
6925 * net/gnutls.el (gnutls-log-level): Declare.
6926
6927 * net/shr.el (image-size, image-animate): Declare.
6928
6929 * simple.el (font-info): Declare.
6930
6931 * subr.el (x-popup-dialog): Declare.
6932
6933 * term/common-win.el (x-select-enable-primary)
6934 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6935 Declare.
6936
6937 * term/ns-win.el (x-handle-args): Declare.
6938
6939 * term/x-win.el (x-select-enable-clipboard): Declare.
6940
6941 * term/w32-win.el (create-default-fontset): Declare.
6942
6943 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6944 Declare.
6945
6946 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6947 (fit-frame-to-buffer): Explicit error if --without-x.
6948 (mouse-autoselect-window-select): Silence compiler.
6949
6950 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6951
6952 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6953 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6954 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6955 * eshell/esh-util.el (eshell-sublist):
6956 Remove unused local variables.
6957
6958 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6959
6960 * textmodes/two-column.el: Make 2C-split work for --without-x.
6961 (scroll-bar-columns): Autoload.
6962 (top-level): Require fringe when compiling.
6963
6964 2013-09-18 Leo Liu <sdl.web@gmail.com>
6965
6966 * subr.el (add-hook): Robustify to handle closure as well.
6967
6968 2013-09-17 Glenn Morris <rgm@gnu.org>
6969
6970 * simple.el (messages-buffer-mode-map): Unbind "g".
6971
6972 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6973
6974 * help-mode.el (help-mode-finish): Use derived-mode-p.
6975 Remove obsolete highlighting.
6976
6977 * play/life.el (life-mode): Use define-derived-mode. Derive from
6978 special-mode.
6979 (life): Let-bind inhibit-read-only.
6980 (life-setup): Avoid `setq'. Use `life-mode'.
6981
6982 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6983 which should not be needed any more.
6984 (package-menu-refresh, package-menu-describe-package): Use user-error.
6985
6986 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6987 (eshell-post-rewrite-command-hook): Make obsolete.
6988 (eshell-parse-command): Simplify.
6989 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6990 (eshell--cmd): Declare.
6991 (eshell-parse-pipeline): Remove unused var `final-p'.
6992 Pass a dynvar to eshell-post-rewrite-command-hook.
6993 Implement the new eshell-post-rewrite-command-function.
6994 (eshell-invoke-directly): Remove unused arg `input'.
6995 * eshell/esh-io.el (eshell-io-initialize):
6996 Use eshell-post-rewrite-command-function (bug#15399).
6997 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6998 adjust to new calling convention.
6999 (eshell-create-handles): Rename args to avoid clashing with dynvar
7000 `standard-output'.
7001
7002 2013-09-17 Glenn Morris <rgm@gnu.org>
7003
7004 * simple.el (messages-buffer-mode): New major mode.
7005 (messages-buffer): New function.
7006 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7007 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7008 (ert-run-test): Use `messages-buffer' function.
7009 (ert--force-message-log-buffer-truncation): Ignore read-only.
7010 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7011 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7012
7013 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7016
7017 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7018
7019 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7020
7021 * icomplete.el (icomplete-in-buffer): New var.
7022 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7023 vars and replace them with functions.
7024 (icomplete-minibuffer-setup): Adjust accordingly.
7025 (icomplete--completion-table, icomplete--completion-predicate)
7026 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7027 New functions.
7028 (icomplete-forward-completions, icomplete-backward-completions)
7029 (icomplete-simple-completing-p, icomplete-exhibit)
7030 (icomplete-completions): Use them.
7031 (icomplete--in-region-buffer): New var.
7032 (icomplete--in-region-setup): New function.
7033 (icomplete-mode): Use it.
7034
7035 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7036 (bug#15379).
7037 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7038 return args and options.
7039 (eshell-eval-using-options): Use the new return value of
7040 eshell--do-opts to set the options's vars in their scope.
7041 (eshell--set-option): Rename from eshell-set-option.
7042 Add arg `opt-vals'.
7043 (eshell--process-option): Rename from eshell-process-option.
7044 Add arg `opt-vals'.
7045 (eshell--process-args): Use an `opt-vals' alist to store the options's
7046 values during their processing and return them additionally to the
7047 remaining args.
7048
7049 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7050
7051 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7052 continuation character an operator, as far as indentation is
7053 concerned (Bug#15369).
7054
7055 2013-09-15 Martin Rudalics <rudalics@gmx.at>
7056
7057 * window.el (window--state-put-2): Don't process buffer state
7058 when buffer doesn't exist any more (Bug#15382).
7059
7060 2013-09-15 Glenn Morris <rgm@gnu.org>
7061
7062 * eshell/em-unix.el (eshell/rm):
7063 Make -f ignore missing files. (Bug#15373)
7064
7065 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7066 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7067 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7068
7069 2013-09-14 Glenn Morris <rgm@gnu.org>
7070
7071 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7072
7073 2013-09-13 Glenn Morris <rgm@gnu.org>
7074
7075 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7076 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7077
7078 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7079
7080 * frame.el (x-focus-frame): Mark as declared in frame.c.
7081
7082 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7083
7084 * ls-lisp.el: Use advice-add.
7085 (original-insert-directory): Remove.
7086 (ls-lisp--insert-directory): Rename from insert-directory; add
7087 `orig-fun' argument.
7088 (insert-directory): Advise.
7089
7090 2013-09-13 Eli Zaretskii <eliz@gnu.org>
7091
7092 * term.el (term-emulate-terminal): Decode the command string
7093 before passing it to term-command-hook. (Bug#15337)
7094
7095 2013-09-13 Glenn Morris <rgm@gnu.org>
7096
7097 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7098
7099 * eshell/esh-ext.el (eshell-search-path): Declare.
7100
7101 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7102 Otherwise an error occurs if eshell-dirs module not loaded.
7103
7104 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7105
7106 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
7107
7108 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7109 `tramp-check-proper-host'. Check for a valid method name.
7110
7111 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7112 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7113 * net/tramp-sh.el (tramp-maybe-open-connection):
7114 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7115
7116 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7117 also for hash values.
7118
7119 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 * term/ns-win.el (parameters): Don't declare as dynamic.
7122 (before-make-frame-hook): Don't add ineffective function.
7123
7124 * eshell/*.el: Use lexical-binding (bug#15231).
7125
7126 2013-09-12 Kenichi Handa <handa@gnu.org>
7127
7128 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
7129
7130 2013-09-12 Glenn Morris <rgm@gnu.org>
7131
7132 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
7133 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
7134
7135 * subr.el (do-after-load-evaluation): Also give compiler warnings
7136 when obsolete files are used (except by obsolete files).
7137
7138 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7139 in the status output, assume `filename' is the first. (Bug#15322)
7140
7141 * vc/vc.el (vc-deduce-fileset): Doc fix.
7142
7143 * calc/calc-help.el (Info-goto-node):
7144 * progmodes/cperl-mode.el (Info-find-node):
7145 * vc/ediff.el (Info-goto-node): Update declarations.
7146
7147 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7148
7149 * vc/vc-bzr.el (vc-compilation-mode): Declare.
7150 (vc-bzr-pull): Require vc-dispatcher.
7151 * vc/vc-git.el (vc-compilation-mode): Declare.
7152 (vc-git-pull): Require vc-dispatcher.
7153
7154 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7155
7156 * progmodes/octave.el (help-button-action): Declare.
7157
7158 * shell.el (shell-directory-tracker): Output error as a message
7159 rather than just returning it as a string.
7160 (shell-process-pushd): Remove useless use of message.
7161
7162 * dframe.el (dframe-timer-fn):
7163 * files.el (dir-locals-read-from-file):
7164 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7165 (mpc-format):
7166 * reveal.el (reveal-post-command):
7167 * saveplace.el (load-save-place-alist-from-file):
7168 * shell.el (shell-resync-dirs):
7169 * w32-common-fns.el (x-get-selection-value):
7170 * emacs-lisp/copyright.el (copyright-find-copyright):
7171 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7172 * emulation/tpu-edt.el (tpu-copy-keyfile):
7173 * play/bubbles.el (bubbles--mark-neighbourhood):
7174 * progmodes/executable.el
7175 (executable-make-buffer-file-executable-if-script-p):
7176 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7177
7178 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7179
7180 Cleanup Eshell to rely less on dynamic scoping.
7181 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7182 last-value, and ext-command here. Bind `args' closer to `body'.
7183 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7184 (eshell--args): Declare new dynamic var.
7185 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7186 last-value, and ext-command. Pass `args' to `body'.
7187 (eshell-process-args): Bind eshell--args.
7188 (eshell-set-option): Use eshell--args.
7189 * eshell/eshell.el (eshell): Use derived-mode-p.
7190 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7191 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7192 (eshell-glob-function): Declare.
7193 * eshell/esh-util.el: Require cl-lib.
7194 (eshell-read-hosts-file): Avoid add-to-list.
7195 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7196 `err'.
7197 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7198 Declare.
7199 (eshell/diff): Remove unused var `err'.
7200 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7201 `killflag'.
7202 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7203 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7204 first use.
7205 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7206 Move declaration before first use.
7207 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
7208 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7209 rely on cl-return.
7210
7211 2013-09-12 Glenn Morris <rgm@gnu.org>
7212
7213 * term/ns-win.el (global-map): Remove binding for ispell-next,
7214 deleted 1999-05-29. (Bug#15357)
7215
7216 2013-09-11 Glenn Morris <rgm@gnu.org>
7217
7218 * echistory.el (electric-command-history): Remove call to deleted func.
7219
7220 * play/landmark.el (landmark-mode): Fix typos.
7221
7222 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7223 Check cvs-sort-ignore-file is bound.
7224
7225 * savehist.el: No need for cl when compiling on Emacs.
7226
7227 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7228
7229 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7230 (bug#15338).
7231 (eshell-self-insert-command, eshell-send-invisible):
7232 Remove unused argument.
7233 (eshell-handle-control-codes): Remove unused var `orig'.
7234 Avoid delete-backward-char.
7235
7236 * files.el (set-auto-mode): Simplify a bit further.
7237
7238 2013-09-11 Glenn Morris <rgm@gnu.org>
7239
7240 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7241 (set-auto-mode): Don't regexp-quote elements.
7242 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7243 * progmodes/cc-mode.el (interpreter-mode-alist):
7244 * progmodes/ruby-mode.el (interpreter-mode-alist):
7245 Revert previous change.
7246
7247 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 * play/snake.el (snake-mode):
7250 * play/mpuz.el (mpuz-mode):
7251 * play/landmark.el (lm-mode):
7252 * play/blackbox.el (blackbox-mode):
7253 * play/5x5.el (5x5-mode):
7254 * obsolete/options.el (Edit-options-mode):
7255 * net/quickurl.el (quickurl-list-mode):
7256 * net/newst-treeview.el (newsticker-treeview-mode):
7257 * mail/rmailsum.el (rmail-summary-mode):
7258 * mail/mspools.el (mspools-mode):
7259 * locate.el (locate-mode):
7260 * ibuffer.el (ibuffer-mode):
7261 * emulation/ws-mode.el (wordstar-mode):
7262 * emacs-lisp/debug.el (debugger-mode):
7263 * array.el (array-mode):
7264 * net/eudc.el (eudc-mode): Use define-derived-mode.
7265 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7266 Move initialization into declaration.
7267 (mairix-searches-mode): Use define-derived-mode.
7268 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7269 (eudc-edit-hotlist): Use dolist.
7270 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7271 (Man-mode): Use define-derived-mode.
7272 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7273 (Info-edit-mode): Use define-derived-mode.
7274 (Info-cease-edit): Use Info-mode.
7275 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7276 into declaration.
7277 (eshell-mode): Use define-derived-mode.
7278 * chistory.el (command-history-mode-map): Rename from
7279 command-history-map.
7280 (command-history-mode): Use define-derived-mode.
7281 (Command-history-setup): Remove function.
7282 * calc/calc.el (calc-trail-mode-map): New var.
7283 (calc-trail-mode): Use define-derived-mode.
7284 (calc-trail-buffer): Set calc-main-buffer manually.
7285 * bookmark.el (bookmark-insert-annotation): New function.
7286 (bookmark-edit-annotation): Use it.
7287 (bookmark-edit-annotation-mode): Make it a proper major mode.
7288 (bookmark-send-edited-annotation): Use derived-mode-p.
7289 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7290 closer to its ideal place. Use \' to match EOS.
7291
7292 * profiler.el (profiler-calltree-find): Use function-equal.
7293
7294 2013-09-10 Glenn Morris <rgm@gnu.org>
7295
7296 * files.el (interpreter-mode-alist): Convert to regexps.
7297 (set-auto-mode): Adapt for this. (Bug#15306)
7298 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7299 Comment out unused variable.
7300 * progmodes/cc-mode.el (interpreter-mode-alist):
7301 * progmodes/python.el (interpreter-mode-alist):
7302 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7303 * progmodes/sh-script.el (sh-set-shell):
7304 No longer use interpreter-mode-alist to get list of shells.
7305
7306 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7307
7308 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7309
7310 * simple.el: Use set-temporary-overlay-map for universal-argument.
7311 (universal-argument-map): Don't use default-bindings (bug#15317).
7312 Bind switch-frame explicitly. Replace universal-argument-minus with
7313 a conditional binding.
7314 (universal-argument-num-events, saved-overriding-map): Remove.
7315 (restore-overriding-map): Remove.
7316 (universal-argument--mode): Rename from save&set-overriding-map,
7317 and rewrite.
7318 (universal-argument, universal-argument-more, negative-argument)
7319 (digit-argument): Adjust accordingly.
7320 (universal-argument-minus): Remove.
7321 (universal-argument-other-key): Remove.
7322
7323 * subr.el (with-demoted-errors): Add `format' argument.
7324
7325 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7326
7327 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7328 `tramp-cleanup-connection'.
7329
7330 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7331 parameters KEEP-DEBUG and KEEP-PASSWORD.
7332
7333 * net/tramp.el (tramp-file-name-handler):
7334 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7335 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7336 (tramp-maybe-open-connection):
7337 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7338 Use `tramp-cleanup-connection'.
7339
7340 * net/tramp-sh.el (tramp-maybe-open-connection):
7341 Catch 'uname-changed inside the progress reporter.
7342
7343 2013-09-10 Glenn Morris <rgm@gnu.org>
7344
7345 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7346
7347 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7348 returns "alternate access method" in mode (eg "-rw-r--r--.").
7349
7350 2013-09-08 Glenn Morris <rgm@gnu.org>
7351
7352 * saveplace.el (load-save-place-alist-from-file):
7353 Demote errors. (Bug#15305)
7354
7355 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7356
7357 Improve compatibility with older Emacsen, and XEmacs.
7358
7359 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7360 only if it is bound. It isn't for XEmacs.
7361 (with-tramp-progress-reporter): Do not let-bind `result'.
7362 This yields to scoping errors in XEmacs.
7363 (tramp-handle-make-auto-save-file-name): New function, moved from
7364 tramp-sh.el.
7365
7366 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7367 for `make-auto-save-file-name'.
7368 (tramp-adb--gnu-switches-to-ash):
7369 Use `tramp-compat-replace-regexp-in-string'.
7370
7371 * net/tramp-cache.el (tramp-cache-print): Call
7372 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7373
7374 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7375 bound. It isn't for XEmacs.
7376
7377 * net/tramp-compat.el (tramp-compat-copy-file):
7378 Catch `wrong-number-of-arguments' error.
7379 (tramp-compat-replace-regexp-in-string): New defun.
7380
7381 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7382 for `make-auto-save-file-name'.
7383 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7384 `copy-file'.
7385 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7386 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7387 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7388
7389 * net/tramp-gw.el (tramp-gw-open-network-stream):
7390 Use `tramp-compat-replace-regexp-in-string'.
7391
7392 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7393 Call `tramp-handle-make-auto-save-file-name'.
7394 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7395 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7396 (tramp-sh-file-inotifywait-process-filter):
7397 Use `tramp-compat-replace-regexp-in-string'.
7398 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7399
7400 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7401 for `make-auto-save-file-name'.
7402 (tramp-smb-handle-copy-directory):
7403 Call `tramp-compat-replace-regexp-in-string'.
7404 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7405 (tramp-smb-handle-copy-file): Improve error message.
7406 (tramp-smb-handle-rename-file): Rename directly only in case
7407 `newname' does not exist yet. This is a restriction of smbclient.
7408 (tramp-smb-maybe-open-connection): Rerun the function only when
7409 `auth-sources' is non-nil.
7410
7411 2013-09-08 Kenichi Handa <handa@gnu.org>
7412
7413 * international/characters.el: Set category "^" (Combining) for
7414 more characters.
7415
7416 2013-09-07 Alan Mackenzie <acm@muc.de>
7417
7418 Correctly fontify Java class constructors.
7419 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7420 in Java Mode.
7421 (c-recognize-typeless-decls): Set the Java value to t.
7422 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7423 While handling a "(", add a check for, effectively, Java, and handle a
7424 "typeless" declaration there.
7425
7426 2013-09-07 Roland Winkler <winkler@gnu.org>
7427
7428 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7429 field subtitle for entry type book.
7430
7431 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7432
7433 * minibuffer.el: Make minibuffer-complete call completion-in-region
7434 rather than other way around.
7435 (completion--some, completion-pcm--find-all-completions):
7436 Don't delay signals when debugging.
7437 (minibuffer-completion-contents): Beware fields within the
7438 minibuffer contents.
7439 (completion-all-sorted-completions): Use defvar-local.
7440 (completion--do-completion, completion--cache-all-sorted-completions)
7441 (completion-all-sorted-completions, minibuffer-force-complete):
7442 Add args `beg' and `end'.
7443 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7444 (minibuffer-complete): Use completion-in-region.
7445 (completion-complete-and-exit): New fun, extracted from
7446 minibuffer-complete-and-exit.
7447 (minibuffer-complete-and-exit): Use it.
7448 (completion--complete-and-exit): Rename from
7449 minibuffer--complete-and-exit.
7450 (completion-in-region--single-word): New function, extracted from
7451 minibuffer-complete-word.
7452 (minibuffer-complete-word): Use it.
7453 (display-completion-list): Make `common-substring' argument obsolete.
7454 (completion--in-region): Call completion--in-region-1 instead of
7455 minibuffer-complete.
7456 (completion-help-at-point): Pass boundaries to
7457 minibuffer-completion-help as args rather than via an overlay.
7458 (completion-pcm--string->pattern): Use `any-delim'.
7459 (completion-pcm--optimize-pattern): New function.
7460 (completion-pcm--pattern->regex): Handle `any-delim'.
7461 * icomplete.el (icomplete-forward-completions)
7462 (icomplete-backward-completions, icomplete-completions):
7463 Adjust calls to completion-all-sorted-completions and
7464 completion--cache-all-sorted-completions.
7465 (icomplete-with-completion-tables): Default to t.
7466 * emacs-lisp/crm.el (crm--current-element): Rename from
7467 crm--select-current-element. Don't put an overlay but return the
7468 boundaries instead.
7469 (crm--completion-command): Take two new args to bind to the boundaries.
7470 (crm-completion-help): Adjust accordingly.
7471 (crm-complete): Use completion-in-region.
7472 (crm-complete-word): Use completion-in-region--single-word.
7473 (crm-complete-and-exit): Use completion-complete-and-exit.
7474
7475 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7478 than dynamically.
7479
7480 2013-09-06 Juri Linkov <juri@jurta.org>
7481
7482 * info.el (Info-display-images-node): When image file doesn't exist
7483 display text version of the image if it's provided in the Info file.
7484 Otherwise, display the location of missing image from SRC attribute.
7485 Add help-echo text property from ALT attribute. (Bug#15279)
7486
7487 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7490 (edit-abbrevs-mode): Use define-derived-mode.
7491
7492 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7493 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7494 that it's defined.
7495 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7496 Use define-derived-mode.
7497
7498 * epg.el (epg-start-encrypt): Minor CSE simplification.
7499
7500 2013-09-06 William Xu <william.xwl@gmail.com>
7501
7502 * arc-mode.el: Add support for 7za (bug#15264).
7503 (archive-7z-program): New var.
7504 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7505 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7506 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7507
7508 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7509
7510 Remove URL syntax.
7511
7512 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7513 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7514 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7515 (tramp-postfix-host-format, tramp-file-name-regexp)
7516 (tramp-completion-file-name-regexp)
7517 (tramp-completion-dissect-file-name)
7518 (tramp-handle-substitute-in-file-name): Remove 'url case.
7519 (tramp-file-name-regexp-url)
7520 (tramp-completion-file-name-regexp-url): Remove constants.
7521
7522 2013-09-06 Glenn Morris <rgm@gnu.org>
7523
7524 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7525
7526 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7527
7528 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7529 keywords" below "here-doc beginnings" (Bug#15270).
7530
7531 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7532
7533 * subr.el (pop): Use `car-safe'.
7534 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7535 to detect unused `pop' return value.
7536
7537 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7538 var `block-regexp'.
7539 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7540 (python-fill-string): Remove unused var `marker'.
7541 (python-skeleton-add-menu-items): Remove unused var `items'.
7542
7543 * international/mule-cmds.el: Require CL.
7544 (find-coding-systems-for-charsets): Avoid add-to-list.
7545 (sanitize-coding-system-list): New function, extracted from
7546 select-safe-coding-system-interactively.
7547 (select-safe-coding-system-interactively): Use it.
7548 (read-input-method-name): Accept symbols for `default'.
7549
7550 * emacs-lisp/advice.el (defadvice): Add indent rule.
7551
7552 2013-09-05 Daniel Hackney <dan@haxney.org>
7553
7554 * dired-x.el:
7555 * net/ange-ftp.el:
7556 * net/browse-url.el:
7557 * net/dbus.el:
7558 * net/eudc.el:
7559 * net/eudcb-ldap.el:
7560 * net/eww.el:
7561 * net/imap.el:
7562 * printing.el:
7563 * vc/ediff-diff.el:
7564 * vc/ediff-init.el:
7565 * vc/ediff-merg.el:
7566 * vc/ediff-mult.el:
7567 * vc/ediff-util.el:
7568 * vc/ediff-wind.el:
7569 * vc/ediff.el:
7570 * vc/emerge.el:
7571 * vc/pcvs.el:
7572 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7573 byte compiler. Remove some unused let-bound variables.
7574
7575 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7576
7577 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7578 a "ref-cell", since it gets better optimized (bug#14883).
7579
7580 2013-09-05 Glenn Morris <rgm@gnu.org>
7581
7582 * progmodes/cc-awk.el (c-forward-sws): Declare.
7583
7584 2013-09-04 Glenn Morris <rgm@gnu.org>
7585
7586 * generic-x.el [rul-generic-mode]: Require cc-mode.
7587 (c++-mode-syntax-table): Declare.
7588 (rul-generic-mode-syntax-table): Init in the defvar.
7589
7590 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7591
7592 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7593 (vc-do-command, vc-set-async-update):
7594 * vc/vc-mtn.el (vc-mtn-dir-status):
7595 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7596 (vc-hg-pull, vc-hg-merge-branch):
7597 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7598 (vc-git-merge-branch):
7599 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7600 (vc-cvs-dir-status-files):
7601 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7602 (vc-bzr-dir-status-files):
7603 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7604 * vc/vc-annotate.el: Use lexical-binding.
7605 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7606 (vc-sentinel-movepoint): Declare.
7607 (vc-annotate): Don't use `goto-line'.
7608 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7609 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7610 (vc-sentinel-movepoint): Declare.
7611 * vc/vc-svn.el: Use lexical-binding.
7612 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7613 * vc/vc-sccs.el:
7614 * vc/vc-rcs.el: Use lexical-binding.
7615
7616 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7617 `deleted'. Don't drop errors silently.
7618
7619 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7620
7621 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7622
7623 * vc/vc.el (vc-ignore): Rewrite.
7624 (vc-default-ignore): New function.
7625 (vc-default-ignore-completion-table): Use find-ignore-file.
7626
7627 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7628 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7629 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7630 Remove. Most code moved to vc.el.
7631
7632 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7633
7634 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7635 * net/tramp-smb.el (tramp-smb-get-file-entries):
7636 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7637 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7638
7639 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7640 Update call to it.
7641 (eww-change-select): Remove unused var `properties'.
7642 (eww-make-unique-file-name): Remove unused var `base'.
7643
7644 * finder.el (finder-compile-keywords): Don't mess with windows.
7645
7646 * calculator.el (calculator-funcall): Fix typo in last change.
7647
7648 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7649
7650 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7651 <pkg>-autoloads.el file stop us.
7652
7653 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7654 warnings, and factor out common code.
7655
7656 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7657
7658 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7659 two-character operators and whether the character preceding them
7660 changes their meaning (Bug#15208).
7661
7662 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7663
7664 Format code sent to Python shell for robustness.
7665 * progmodes/python.el (python-shell-buffer-substring):
7666 New function.
7667 (python-shell-send-region, python-shell-send-buffer): Use it.
7668
7669 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7670
7671 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7672 * net/tramp.el (tramp-user-error): ... here.
7673 (tramp-find-method, tramp-check-proper-host)
7674 (tramp-dissect-file-name, tramp-debug-message)
7675 (tramp-handle-shell-command):
7676 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7677 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7678
7679 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7680
7681 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7682
7683 * avoid.el (mouse-avoidance-point-position)
7684 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7685 returns nil.
7686
7687 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7688
7689 * progmodes/python.el (python-shell-completion-get-completions):
7690 Drop use of deleted `comint-last-prompt-overlay'.
7691 (python-nav-if-name-main): New command.
7692
7693 2013-09-01 Glenn Morris <rgm@gnu.org>
7694
7695 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7696 Avoid leading space in $wins. Otherwise the sed command used by
7697 eg compile-main ends up containing "/*.el". (Bug#15170)
7698
7699 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7700
7701 2013-08-30 Glenn Morris <rgm@gnu.org>
7702
7703 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7704 Fix is-this-a-directory logic. (Bug#15220)
7705
7706 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7707
7708 * textmodes/css-mode.el: Use SMIE.
7709 (css-smie-grammar): New var.
7710 (css-smie--forward-token, css-smie--backward-token)
7711 (css-smie-rules): New functions.
7712 (css-mode): Use them.
7713 (css-navigation-syntax-table): Remove var.
7714 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7715 (css-indent-calculate, css-indent-line): Remove functions.
7716
7717 Misc changes to reduce use of `(lambda...); and other cleanups.
7718 * cus-edit.el: Use lexical-binding.
7719 (customize-push-and-save, customize-apropos)
7720 (custom-buffer-create-internal): Use closures.
7721 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7722 * progmodes/ada-xref.el: Use setq.
7723 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7724 * dframe.el: Use lexical-binding.
7725 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7726 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7727 * descr-text.el: Use lexical-binding.
7728 (describe-text-widget, describe-text-sexp, describe-property-list):
7729 Use closures.
7730 * comint.el (comint-history-isearch-push-state): Use a closure.
7731 * calculator.el: Use lexical-binding.
7732 (calculator-number-to-string): Make it work with lexical-binding.
7733 (calculator-funcall): Same and use cl-letf.
7734
7735 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7736 (lisp--company-doc-string, lisp--company-location): New functions.
7737 (lisp-completion-at-point): Use them to improve Company support.
7738
7739 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7740 params of lambda expressions.
7741 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7742 (ruby-smie--opening-pipe-p): New function.
7743 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7744 symbols and matched |...| for formal params.
7745 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7746 from being treated as hanging. Handle "rescue".
7747
7748 2013-08-29 Glenn Morris <rgm@gnu.org>
7749
7750 * progmodes/cc-engine.el (c-pull-open-brace):
7751 Move definition before use.
7752
7753 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7754
7755 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7756 are immutable. Don't use `unsafe' any more.
7757 (cl--defsubst-expand): Don't substitute at the same time as keeping
7758 a residual unused let-binding. Don't use `unsafe' any more.
7759
7760 2013-08-29 Glenn Morris <rgm@gnu.org>
7761
7762 * calendar/cal-china.el (calendar-chinese-year-cache):
7763 Recenter on 2015.
7764
7765 * nxml/nxml-util.el (nxml-debug-clear-inside):
7766 Use cl-loop rather than loop.
7767
7768 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7769
7770 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7771
7772 2013-08-28 Glenn Morris <rgm@gnu.org>
7773
7774 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7775
7776 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7777
7778 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7779
7780 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7781
7782 * simple.el (repeat-complex-command--called-interactively-skip):
7783 New function.
7784 (repeat-complex-command): Use it (bug#14136).
7785
7786 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7787 (c-define-abbrev-table): Add `doc' argument.
7788 (c-mode-abbrev-table, c++-mode-abbrev-table)
7789 (objc-mode-abbrev-table, java-mode-abbrev-table)
7790 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7791 (awk-mode-abbrev-table): Use it.
7792 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7793 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7794 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7795 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7796 Move initialization into the declaration; and remove any
7797 autoload cookie.
7798
7799 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7800 and dynamic let binding.
7801
7802 * vc/smerge-mode.el: Remove redundant :group args.
7803
7804 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7805 to load-path.
7806
7807 2013-08-28 Juri Linkov <juri@jurta.org>
7808
7809 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7810 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7811 (isearch-other-meta-char): Handle an undefined shifted printing
7812 character by downshifting it. (Bug#15200)
7813
7814 2013-08-28 Juri Linkov <juri@jurta.org>
7815
7816 * isearch.el (isearch-search): Change regexp error message for
7817 non-regexp searches. (Bug#15166)
7818
7819 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7820
7821 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7822 for portability to hosts where /bin/sh has problems.
7823
7824 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7825
7826 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7827
7828 2013-08-27 Juri Linkov <juri@jurta.org>
7829
7830 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7831 in the keyboard macro. (Bug#15126)
7832
7833 2013-08-27 Juri Linkov <juri@jurta.org>
7834
7835 * isearch.el (isearch-quote-char): Comment out converting unibyte
7836 to multibyte, thus syncing with its `quoted-insert' counterpart.
7837 (Bug#15166)
7838
7839 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7840
7841 * window.el (display-buffer-use-some-window): Add missing
7842 argument in call of get-largest-window (Bug#15185).
7843 Reported by Stephen Leake.
7844
7845 2013-08-27 Glenn Morris <rgm@gnu.org>
7846
7847 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7848
7849 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7850
7851 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7852 from a matcher-function unless there's no more matches (bug#15161).
7853
7854 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7855
7856 * minibuffer.el: Revert change from 2013-08-20.
7857
7858 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7859 with text property `tramp-default', if appropriate.
7860 (tramp-check-proper-host): New defun.
7861 (tramp-dissect-file-name): Do not check hostname. Revert change
7862 of 2013-03-18.
7863 (tramp-backtrace): Make VEC-OR-PROC optional.
7864
7865 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7866 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7867 * net/tramp-sh.el (tramp-maybe-open-connection):
7868 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7869 Apply `tramp-check-proper-host'.
7870
7871 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7872
7873 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7874 lambda expression in order to have `describe-variable' display it.
7875
7876 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7877
7878 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7879 BUF can be optional. (Bug#15186)
7880
7881 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7882
7883 * progmodes/flymake.el (flymake-get-real-file-name-function):
7884 Fix broken customization. (Bug#15184)
7885
7886 2013-08-25 Alan Mackenzie <acm@muc.de>
7887
7888 Improve indentation of bracelists defined by macros (without "=").
7889
7890 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7891 expansion begins with "{", regard it as bracelist when it doesn't
7892 contain a ";".
7893
7894 Parse C++ inher-intro when there's a template split over 2 lines.
7895
7896 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7897 rigorously the search for "class" etc. followed by ":".
7898
7899 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7900 random languages a regexp which never matches rather than nil.
7901
7902 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7903
7904 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7905 (c-awk-regexp-one-line-possibly-open-char-list-re)
7906 (c-awk-one-line-possibly-open-regexp-re)
7907 (c-awk-one-line-non-syn-ws*-re): Remove.
7908 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7909 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7910 (c-awk-space*-unclosed-regexp-/-re): New constants.
7911 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7912 aren't regexp delimiters.
7913
7914 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7915 handling for a rare situation in AWK Mode involving unterminated
7916 strings/regexps.
7917
7918 2013-08-23 Glenn Morris <rgm@gnu.org>
7919
7920 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7921
7922 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7923
7924 * files.el (create-file-buffer): If the result would begin with
7925 spaces, prepend a "|" instead of removing them. (Bug#15162)
7926
7927 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7930 text-properties (bug#15155).
7931
7932 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7933 exist any more.
7934 (calc-keypad-redraw): Remove unused var `pad'.
7935 (calc-keypad-press): Remove unused var `menu'.
7936
7937 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7938
7939 * window.el (display-buffer-pop-up-frame):
7940 Call pop-up-frame-function with BUFFER current so `make-frame' will
7941 use it as the new frame's buffer (Bug#15133).
7942
7943 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7944
7945 * calendar/timeclock.el: Minor cleanups.
7946 (timeclock-ask-before-exiting, timeclock-use-display-time):
7947 Use `symbol'.
7948 (timeclock-modeline-display): Define as alias before the
7949 actual definition.
7950 (timeclock-mode-line-display): Use define-minor-mode.
7951 (timeclock-day-list-template): Make it a function, add an argument.
7952 (timeclock-day-list-required, timeclock-day-list-length)
7953 (timeclock-day-list-debt, timeclock-day-list-span)
7954 (timeclock-day-list-break): Adjust calls accordingly.
7955
7956 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7959 Use read--expression so that completion works again.
7960
7961 2013-08-21 Sam Steingold <sds@gnu.org>
7962
7963 Add rudimentary inferior shell interaction
7964 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7965 (sh-set-shell): Reset it.
7966 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7967 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7968
7969 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7970
7971 * align.el: Use lexical-binding.
7972 (align-region): Simplify accordingly.
7973
7974 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7975
7976 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7977
7978 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7979 `non-essential' up.
7980
7981 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7982
7983 * net/tramp.el:
7984 * net/tramp-adb.el:
7985 * net/tramp-cmds.el:
7986 * net/tramp-ftp.el:
7987 * net/tramp-gvfs.el:
7988 * net/tramp-gw.el:
7989 * net/tramp-sh.el: Don't wrap external variable declarations by
7990 `eval-when-compile'.
7991
7992 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7993
7994 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7995 now that Emacs supports ImageMagick animations.
7996
7997 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7998
7999 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8000 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8001
8002 2013-08-16 Martin Rudalics <rudalics@gmx.at>
8003
8004 * window.el (mouse-autoselect-window-select): Do autoselect when
8005 mouse pointer is on margin.
8006
8007 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8008
8009 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8010
8011 2013-08-16 Glenn Morris <rgm@gnu.org>
8012
8013 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8014 Handle "Remote Directory" response of some clients. (Bug#15058)
8015
8016 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8017 Tweak warning. (Bug#14926)
8018
8019 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8020 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8021
8022 * image-mode.el (image-mode-map): Add menu items to reverse,
8023 increase, decrease, reset animation speed.
8024 (image--set-speed, image-increase-speed, image-decrease-speed)
8025 (image-reverse-speed, image-reset-speed): New functions.
8026 (image-mode-map): Add bindings for speed commands.
8027
8028 * image.el (image-animate-get-speed, image-animate-set-speed):
8029 New functions.
8030 (image-animate-timeout): Respect image :speed property.
8031
8032 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8033
8034 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8035 previous line (bug#15101).
8036 (debugger-eval-expression, debugger-record-expression):
8037 Use read--expression (bug#15102).
8038
8039 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
8040
8041 Remove byte compiler warnings, visible when compiling with
8042 `byte-compile-force-lexical-warnings' set to t.
8043
8044 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8045 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8046 (tramp-handle-unhandled-file-name-directory)
8047 (tramp-handle-file-notify-add-watch, tramp-action-login)
8048 (tramp-action-succeed, tramp-action-permission-denied)
8049 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8050 arguments with "_".
8051
8052 * net/tramp-adb.el (tramp-adb-parse-device-names)
8053 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8054 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8055 (tramp-adb-handle-file-truename): Remove unused arguments.
8056
8057 * net/tramp-cache.el (tramp-flush-directory-property)
8058 (tramp-flush-connection-property, tramp-list-connections)
8059 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8060
8061 * net/tramp-compat.el (tramp-compat-make-temp-file):
8062 Rename FILENAME to F.
8063
8064 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8065 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8066 (tramp-zeroconf-parse-workstation-device-names)
8067 (tramp-zeroconf-parse-webdav-device-names)
8068 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8069
8070 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8071 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8072
8073 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8074 arguments.
8075 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8076 (tramp-sh-handle-insert-file-contents-literally)
8077 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8078 with "_".
8079 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8080 Remove unused variables.
8081
8082 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8083 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8084 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8085
8086 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8087 Make them a defconst.
8088 (tramp-uuencode-region): Remove unused variable.
8089
8090 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
8091
8092 * frameset.el (frameset--prop-setter): New function.
8093 (frameset-prop): Add gv-setter declaration.
8094 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8095 parameter was already set in FILTERED. Doc fix.
8096 (frameset--record-minibuffer-relationships): Allow saving a
8097 minibufferless frame without its corresponding minibuffer frame.
8098 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8099 frame, if the frame id matches.
8100 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8101 frames before orphaned ones.
8102 (frameset-restore): Warn about orphaned windows, instead of error out.
8103
8104 2013-08-14 Martin Rudalics <rudalics@gmx.at>
8105
8106 * window.el (window-make-atom): Don't overwrite parameter
8107 already present.
8108 (display-buffer-in-atom-window): Handle special case where we
8109 split an already atomic window.
8110 (window--major-non-side-window, display-buffer-in-side-window)
8111 (window--side-check): Ignore minibuffer window when walking
8112 window tree.
8113 (window-deletable-p): Return 'frame only if no other frame uses
8114 our minibuffer window.
8115 (record-window-buffer): Run buffer-list-update-hook.
8116 (split-window): Make sure window--check-frame won't destroy an
8117 existing atomic window in case the new window gets nested
8118 inside.
8119 (display-buffer-at-bottom): Ignore minibuffer window when
8120 walking window tree. Don't split a side window.
8121 (pop-to-buffer): Don't set-buffer here, the select-window call
8122 should do that.
8123 (mouse-autoselect-window-select): Autoselect only if we are in the
8124 text portion of the window.
8125
8126 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8127
8128 * net/shr.el (shr-parse-image-data): New function to grab both the
8129 data itself and the Content-Type.
8130 (shr-put-image): Use it.
8131
8132 * net/eww.el (eww-display-image): Ditto.
8133
8134 * image.el (image-content-type-suffixes): New variable.
8135
8136 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8137
8138 * progmodes/python.el (python-imenu--build-tree)
8139 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8140
8141 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8142
8143 * simple.el (backward-word): Mention the optional argument.
8144
8145 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8146
8147 * frameset.el (frameset--make): Rename constructor from make-frameset.
8148 (frameset-p, frameset-valid-p): Don't autoload.
8149 (frameset-valid-p): Use normal accessors.
8150
8151 2013-08-13 Glenn Morris <rgm@gnu.org>
8152
8153 * progmodes/compile.el (compile-command): Tweak example in doc.
8154 * obsolete/scribe.el (scribe-mode):
8155 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8156
8157 * mail/feedmail.el (feedmail-confirm-outgoing)
8158 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8159
8160 * cus-start.el (truncate-partial-width-windows): Fix type.
8161
8162 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8163
8164 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8165
8166 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8167
8168 * emacs-lisp/timer.el (timer--time-setter): New function.
8169 (timer--time): Use it as gv-setter.
8170
8171 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8172 setter is not a symbol.
8173
8174 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
8175
8176 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8177 if sending fails. This makes debugging easier.
8178
8179 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
8180
8181 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8182 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8183 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8184
8185 2013-08-12 Eli Zaretskii <eliz@gnu.org>
8186
8187 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8188
8189 2013-08-12 Glenn Morris <rgm@gnu.org>
8190
8191 * format.el (format-annotate-function):
8192 Handle read-only text properties in the source. (Bug#14887)
8193
8194 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8195
8196 * net/eww.el (eww-display-html): Ignore coding system errors.
8197 One web site uses "utf-8lias" as the coding system.
8198
8199 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
8200
8201 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8202
8203 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
8204
8205 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8206 (tutorial--detailed-help): Remove unused local variables.
8207 (tutorial--save-tutorial-to): Use ignore-errors.
8208 (help-with-tutorial): Use looking-at-p.
8209
8210 * view.el (view-buffer-other-window, view-buffer-other-frame):
8211 Mark unused arguments.
8212
8213 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8214 (woman-select-symbol-fonts, woman, woman-find-file)
8215 (woman-insert-file-contents, woman-non-underline-faces):
8216 Use string-match-p.
8217 (woman1-unquote): Move declaration.
8218
8219 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8220 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8221 argument. Remove unused local variable.
8222 (xml-parse-elem-type): Use string-match-p.
8223 (xml-substitute-numeric-entities): Use ignore-errors.
8224
8225 * calculator.el (calculator): Mark unused argument.
8226 (calculator-paste, calculator-quit, calculator-integer-p):
8227 Use ignore-errors.
8228 (calculator-string-to-number, calculator-decimal, calculator-exp)
8229 (calculator-op-or-exp): Use string-match-p.
8230
8231 * dired.el (dired-buffer-more-recently-used-p): Declare.
8232 (dired-insert-set-properties, dired-insert-old-subdirs):
8233 Use ignore-errors.
8234
8235 * dired-aux.el (dired-compress): Use ignore-errors.
8236 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8237 (dired-do-async-shell-command, dired-do-shell-command)
8238 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8239 (dired-insert-subdir-validate): Use string-match-p.
8240 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8241 (dired-add-entry): Use string-match-p, looking-at-p.
8242 (dired-insert-subdir-newpos): Remove unused local variable.
8243
8244 * filenotify.el (file-notify-callback): Remove unused local variable.
8245
8246 * filesets.el (filesets-error): Mark unused argument.
8247 (filesets-which-command-p, filesets-filter-dir-names)
8248 (filesets-directory-files, filesets-get-external-viewer)
8249 (filesets-ingroup-get-data): Use string-match-p.
8250
8251 * find-file.el (ff-other-file-name, ff-other-file-name)
8252 (ff-find-the-other-file, ff-cc-hh-converter):
8253 Remove unused local variables.
8254 (ff-get-file-name): Use string-match-p.
8255 (ff-all-dirs-under): Use ignore-errors.
8256
8257 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8258 (follow-select-if-visible): Remove unused local variable.
8259
8260 * forms.el (read-file-filter): Move declaration.
8261 (forms--make-format, forms--make-parser, forms-insert-record):
8262 Quote function with #'.
8263 (forms--update): Use string-match-p. Quote function with #'.
8264
8265 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8266 (help-make-xrefs): Use looking-at-p.
8267 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8268
8269 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8270 (ibuffer-confirm-operation-on): Use string-match-p.
8271
8272 * msb.el (msb-item-handler, msb-dired-item-handler):
8273 Mark unused arguments.
8274
8275 * ses.el (ses-decode-cell-symbol)
8276 (ses-kill-override): Remove unused local variable.
8277 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8278 (ses-load): Use ignore-errors, looking-at-p.
8279 (ses-jump-safe): Use ignore-errors.
8280 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8281
8282 * tabify.el (untabify, tabify): Mark unused arguments.
8283
8284 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8285 Mark unused argument.
8286 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8287 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8288
8289 * emacs-lisp/timer.el (timer--time): Define setter with
8290 gv-define-setter to avoid deprecation warning.
8291
8292 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8293 (*record-cmpl-statistics-p*): Remove (was commented out).
8294 (cmpl-statistics-block): Remove (body was commented out).
8295 All callers changed.
8296 (add-completions-from-buffer, load-completions-from-file):
8297 Remove unused variables.
8298
8299 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8300
8301 * filecache.el (file-cache-delete-file-list):
8302 Print message only when told so.
8303 (file-cache-files-matching): Use #' in mapconcat argument.
8304
8305 * ffap.el (ffap-url-at-point): Fix reference to variable
8306 thing-at-point-default-mail-uri-scheme.
8307
8308 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8309
8310 * subr.el (define-error): New function.
8311 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8312 error-file-not-found and define with define-error.
8313 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8314 and define with define-error.
8315 * userlock.el (file-locked, file-supersession):
8316 * simple.el (mark-inactive):
8317 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8318 * progmodes/ada-mode.el (ada-mode-errors):
8319 * play/life.el (life-extinct):
8320 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8321 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8322 * nxml/rng-util.el (rng-error):
8323 * nxml/rng-uri.el (rng-uri-error):
8324 * nxml/rng-match.el (rng-compile-error):
8325 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8326 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8327 * nxml/nxml-rap.el (nxml-scan-error):
8328 * nxml/nxml-outln.el (nxml-outline-error):
8329 * net/soap-client.el (soap-error):
8330 * net/gnutls.el (gnutls-error):
8331 * net/ange-ftp.el (ftp-error):
8332 * mpc.el (mpc-proc-error):
8333 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8334 (json-number-format, json-string-escape, json-string-format)
8335 (json-key-format, json-object-format):
8336 * jka-compr.el (compression-error):
8337 * international/quail.el (quail-error):
8338 * international/kkc.el (kkc-error):
8339 * emacs-lisp/ert.el (ert-test-failed):
8340 * calc/calc.el (calc-error, inexact-result, math-overflow)
8341 (math-underflow):
8342 * bookmark.el (bookmark-error-no-filename):
8343 * epg.el (epg-error): Define with define-error.
8344
8345 * time.el (display-time-event-handler)
8346 (display-time-next-load-average): Don't call sit-for since it seems
8347 unnecessary (bug#15045).
8348
8349 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8350 Use #' instead of ' to quote functions.
8351 (checkdoc-output-mode): Use setq-local.
8352 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8353 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8354 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8355 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8356 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8357 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8358 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8359 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8360
8361 * ido.el (ido-completion-help): Fix up compiler warning.
8362
8363 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8364
8365 * frameset.el (frameset-p): Add autoload cookie.
8366 (frameset--jump-to-register): New function, based on code moved from
8367 register.el.
8368 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8369
8370 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8371 (frameset-restore, frameset-save, frameset-session-filter-alist):
8372 Remove declarations.
8373 (register-alist): Doc fix.
8374 (frameset-to-register): Move to frameset.el.
8375 (jump-to-register, describe-register-1): Remove frameset-specific code.
8376
8377 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8378
8379 * allout-widgets.el (allout-widgets-pre-command-business)
8380 (allout-widgets-post-command-business)
8381 (allout-widgets-after-change-handler)
8382 (allout-decorate-item-and-context, allout-set-boundary-marker)
8383 (allout-body-modification-handler)
8384 (allout-graphics-modification-handler): Mark ignored arguments.
8385 (allout-widgets-post-command-business)
8386 (allout-widgets-exposure-change-processor)
8387 (allout-widgets-exposure-undo-processor)
8388 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8389 (allout-parse-item-at-point, allout-decorate-item-guides)
8390 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8391 * allout.el (epa-passphrase-callback-function): Declare.
8392 (allout-overlay-insert-in-front-handler)
8393 (allout-overlay-interior-modification-handler)
8394 (allout-isearch-end-handler, allout-chart-siblings)
8395 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8396 (allout-yank-processing, allout-process-exposed)
8397 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8398 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8399 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8400 (lisp-indent-defform): Mark ignored arguments.
8401 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8402 (calculate-lisp-indent): Remove unused variables.
8403 * international/characters.el (indian-2-column, arabic-2-column)
8404 (tibetan): Mark ignored arguments.
8405 (use-cjk-char-width-table): Mark ignored arguments.
8406 Remove unused variables.
8407 * international/fontset.el (build-default-fontset-data)
8408 (x-compose-font-name, create-fontset-from-fontset-spec):
8409 Mark ignored arguments.
8410 (fontset-plain-name): Remove unused variables.
8411 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8412 (keyboard-coding-system): Mark ignored arguments.
8413 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8414 * help.el (resize-temp-buffer-window):
8415 * window.el (display-buffer-in-major-side-window)
8416 (display-buffer-in-side-window, display-buffer-in-previous-window):
8417 Remove unused variables.
8418 * isearch.el (isearch-forward-symbol):
8419 * version.el (emacs-bzr-version-bzr):
8420 * international/mule-cmds.el (current-language-environment):
8421 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8422 (x-handle-display):
8423 * term/pc-win.el (x-list-fonts, x-display-planes)
8424 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8425 (x-server-version, x-display-screens, x-display-mm-height)
8426 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8427 (x-selection-owner-p, x-own-selection-internal)
8428 (x-disown-selection-internal, x-get-selection-internal)
8429 (msdos-initialize-window-system):
8430 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8431 * term/x-win.el (x-handle-no-bitmap-icon):
8432 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8433 (vc-default-find-file-hook, vc-default-extra-menu):
8434 Mark ignored arguments.
8435
8436 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8439 break-condition in the context of the debugged code (bug#12685).
8440
8441 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8442
8443 * comint.el:
8444 Do not use an overlay to highlight the last prompt. (Bug#14744)
8445 (comint-mode): Make comint-last-prompt buffer local.
8446 (comint-last-prompt): New variable.
8447 (comint-last-prompt-overlay): Remove. Superseded by
8448 comint-last-prompt.
8449 (comint-snapshot-last-prompt, comint-output-filter):
8450 Use comint-last-prompt.
8451
8452 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8453
8454 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8455 (frameset-save): Check validity of the resulting frameset.
8456
8457 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8458
8459 * ido.el (ido-record-command): Add doc string.
8460
8461 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8462
8463 * frameset.el (frameset): Do not disable creation of the default
8464 frameset-p predicate. Doc fix.
8465 (frameset-valid-p): New function, copied from the old predicate-p.
8466 Add additional checks.
8467 (frameset-restore): Check with frameset-valid-p.
8468 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8469 (frameset-name, frameset-description, frameset-properties)
8470 (frameset-states): Add docstring.
8471 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8472 (frameset-filter-alist): Doc fixes.
8473
8474 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8475
8476 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8477
8478 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8479
8480 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8481 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8482 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8483 (byte-compile-normal-call): Remove obsolescence check.
8484
8485 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8486
8487 * frameset.el (frameset-restore): Doc fix.
8488
8489 * register.el (frameset-frame-id, frameset-frame-with-id)
8490 (frameset-p, frameset-restore, frameset-save): Declare.
8491 (register-alist): Document framesets.
8492 (frameset-session-filter-alist): Declare.
8493 (frameset-to-register): New function.
8494 (jump-to-register): Implement jumping to framesets. Doc fix.
8495 (describe-register-1): Describe framesets.
8496
8497 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8498
8499 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8500
8501 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8502 Use lexical-binding.
8503
8504 * frameset.el (frameset): Use type vector, not list (incompatible
8505 change). Do not declare a new constructor, use the default one.
8506 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8507 `name' and `description', respectively, and add read-only slot
8508 `timestamp'. Doc fixes.
8509 (frameset-copy, frameset-persistent-filter-alist)
8510 (frameset-filter-alist, frameset-switch-to-gui-p)
8511 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8512 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8513 (frameset-filter-iconified, frameset-keep-original-display-p):
8514 Doc fixes.
8515 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8516 Rename from frameset-filter-(save|restore)-param. All callers changed.
8517 Doc fix.
8518 (frameset-p): Adapt to change to vector and be more thorough.
8519 Change arg name to OBJECT. Doc fix.
8520 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8521 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8522 All callers changed.
8523 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8524 All callers changed.
8525 (frameset--record-minibuffer-relationships): Rename from
8526 frameset--process-minibuffer-frames. All callers changed.
8527 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8528 Use new default constructor (again). Doc fix.
8529 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8530 All callers changed.
8531 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8532 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8533 Doc fix.
8534 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8535 PARAMETERS and WINDOW-STATE, respectively.
8536 (frameset-restore): Add new keyword argument PREDICATE.
8537 Reset frameset--target-display to nil. Doc fix.
8538
8539 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8540
8541 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8542 (bat-mode): Use it.
8543 (bat-mode-syntax-table): Mark \n as end-of-comment.
8544 (bat-font-lock-keywords): Remove comment rule.
8545
8546 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8547 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8548
8549 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8550 (byte-compile-callargs-warn): Use `push'.
8551 (byte-compile-arglist-warn): Ignore higher-order "calls".
8552 (byte-compile-file-form-autoload): Use `pcase'.
8553 (byte-compile-function-form): If quoting a symbol, check that it exists.
8554
8555 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8556
8557 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8558 and add a few popular commands found in batch files.
8559 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8560 (dos-mode): Doc fixes.
8561
8562 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8563
8564 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8565 (dos-mode): Use setq-local. Add space after "rem".
8566 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8567 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8568
8569 2013-08-07 Arni Magnusson <arnima@hafro.is>
8570
8571 * progmodes/dos.el: New file.
8572 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8573 dos-mode.
8574
8575 2013-08-06 Glenn Morris <rgm@gnu.org>
8576
8577 * calendar/calendar.el: Add new faces, and day-header-array.
8578 (calendar-weekday-header, calendar-weekend-header)
8579 (calendar-month-header): New faces.
8580 (calendar-day-header-construct): New function.
8581 (calendar-day-header-width): Also :set calendar-day-header-array.
8582 (calendar-american-month-header, calendar-european-month-header)
8583 (calendar-iso-month-header): Use calendar- faces.
8584 (calendar-generate-month):
8585 Use calendar-day-header-array for day headers; apply faces to them.
8586 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8587 (calendar-abbrev-construct): Add optional maxlen argument.
8588 (calendar-day-name-array): Doc fix.
8589 (calendar-day-name-array, calendar-abbrev-length)
8590 (calendar-day-abbrev-array):
8591 Also :set calendar-day-header-array, and maybe redraw.
8592 (calendar-day-header-array): New option. (Bug#15007)
8593 (calendar-font-lock-keywords): Set to nil and make obsolete.
8594 (calendar-day-name): Add option to use header array.
8595
8596 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8597
8598 * net/shr.el (shr-render-td): Remove debugging.
8599 (shr-render-td): Make width computation consistent by defaulting
8600 all zero-width columns to 10 characters. This may not be optimal,
8601 but it's at least consistent.
8602 (shr-make-table-1): Redo last change to fix the real problem in
8603 colspan handling.
8604
8605 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8606
8607 * files.el (cache-long-line-scans):
8608 Make obsolete alias to `cache-long-scans'.
8609
8610 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8611
8612 * frameset.el (frameset, frameset-filter-alist)
8613 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8614 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8615 (frameset-compute-pos): Rename from frameset--compute-pos,
8616 and add docstring.
8617 (frameset-move-onscreen): Use frameset-compute-pos.
8618 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8619
8620 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8621 Fix typos in docstrings.
8622
8623 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8624
8625 * frame.el (get-other-frame): Tiny cleanup.
8626
8627 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8628
8629 * vc/vc.el (vc-default-ignore-completion-table):
8630 Silence byte-compiler warning.
8631
8632 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8633 slot, which can indeed be nil.
8634 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8635 Move entry for `left' from persistent to live filter alist.
8636 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8637 Doc fixes.
8638 (frameset-filter-params): When restoring a frame, copy items added to
8639 `filtered', to avoid unwittingly modifying the original parameters.
8640 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8641 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8642
8643 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8644 to use looking-at-p instead of looking-at. (Bug#15028)
8645
8646 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 Revert introduction of isearch-filter-predicates (bug#14714).
8649 Rely on add-function instead.
8650 * isearch.el (isearch-filter-predicates): Rename it back to
8651 isearch-filter-predicate.
8652 (isearch-message-prefix): Use advice-function-mapc and advice
8653 properties to get the isearch-message-prefix.
8654 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8655 instead of run-hook-with-args-until-failure.
8656 (isearch-filter-visible): Not obsolete any more.
8657 * loadup.el: Preload nadvice.
8658 * replace.el (perform-replace): Revert to funcall
8659 instead of run-hook-with-args-until-failure.
8660 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8661 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8662 dired-isearch-filenames-toggle; make it into a proper minor mode.
8663 Use add/remove-function.
8664 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8665 Call the minor-mode rather than add/remove-hook.
8666 (dired-isearch-filter-filenames):
8667 Remove isearch-message-prefix property.
8668 * info.el (Info--search-loop): New function, extracted from Info-search.
8669 Funcall isearch-filter-predicate instead of
8670 run-hook-with-args-until-failure isearch-filter-predicates.
8671 (Info-search): Use it.
8672 (Info-mode): Use isearch-filter-predicate instead of
8673 isearch-filter-predicates.
8674
8675 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8676
8677 Do not call to `selected-window' where it is assumed by default.
8678 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8679 `window-hscroll', `window-width', `window-height', `window-buffer',
8680 `window-frame', `window-start', `window-point', `next-window'
8681 and `window-display-table'.
8682 * abbrev.el (abbrev--default-expand):
8683 * bs.el (bs--show-with-configuration):
8684 * buff-menu.el (Buffer-menu-mouse-select):
8685 * calc/calc.el (calc):
8686 * calendar/calendar.el (calendar-generate-window):
8687 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8688 (diary-make-entry):
8689 * comint.el (send-invisible, comint-dynamic-complete-filename)
8690 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8691 * completion.el (complete):
8692 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8693 * disp-table.el (describe-current-display-table):
8694 * doc-view.el (doc-view-insert-image):
8695 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8696 * ehelp.el (with-electric-help):
8697 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8698 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8699 * emacs-lisp/helper.el (Helper-help-scroller):
8700 * emulation/cua-base.el (cua--post-command-handler-1):
8701 * eshell/esh-mode.el (eshell-output-filter):
8702 * ffap.el (ffap-gnus-wrapper):
8703 * help-macro.el (make-help-screen):
8704 * hilit-chg.el (highlight-compare-buffers):
8705 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8706 * hl-line.el (global-hl-line-highlight):
8707 * icomplete.el (icomplete-simple-completing-p):
8708 * isearch.el (isearch-done):
8709 * jit-lock.el (jit-lock-stealth-fontify):
8710 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8711 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8712 * mpc.el (mpc-tagbrowser, mpc):
8713 * net/rcirc.el (rcirc-any-buffer):
8714 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8715 * play/landmark.el (landmark-max-width, landmark-max-height):
8716 * play/zone.el (zone):
8717 * progmodes/compile.el (compilation-goto-locus):
8718 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8719 * progmodes/etags.el (find-tag-other-window):
8720 * progmodes/fortran.el (fortran-column-ruler):
8721 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8722 * progmodes/verilog-mode.el (verilog-point-text):
8723 * reposition.el (reposition-window):
8724 * rot13.el (toggle-rot13-mode):
8725 * server.el (server-switch-buffer):
8726 * shell.el (shell-dynamic-complete-command)
8727 (shell-dynamic-complete-environment-variable):
8728 * simple.el (insert-buffer, set-selective-display)
8729 (delete-completion-window):
8730 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8731 (speedbar-recenter):
8732 * startup.el (fancy-splash-head):
8733 * textmodes/ispell.el (ispell-command-loop):
8734 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8735 * tutorial.el (help-with-tutorial):
8736 * vc/add-log.el (add-change-log-entry):
8737 * vc/compare-w.el (compare-windows):
8738 * vc/ediff-help.el (ediff-indent-help-message):
8739 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8740 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8741 (ediff-setup-control-frame):
8742 * vc/emerge.el (emerge-position-region):
8743 * vc/pcvs-util.el (cvs-bury-buffer):
8744 * window.el (walk-windows, mouse-autoselect-window-select):
8745 * winner.el (winner-set-conf, winner-undo): Related users changed.
8746
8747 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8748
8749 * frameset.el (frameset--set-id): Doc fix.
8750 (frameset-frame-id, frameset-frame-id-equal-p)
8751 (frameset-locate-frame-id): New functions.
8752 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8753 (frameset-restore): Use them.
8754
8755 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8756
8757 Do not call to `selected-frame' where it is assumed by default.
8758 Affected functions are `raise-frame', `redraw-frame',
8759 `frame-first-window', `frame-terminal' and `delete-frame'.
8760 * calendar/appt.el (appt-disp-window):
8761 * epg.el (epg-wait-for-completion):
8762 * follow.el (follow-delete-other-windows-and-split)
8763 (follow-avoid-tail-recenter):
8764 * international/mule.el (set-terminal-coding-system):
8765 * mail/rmail.el (rmail-mail-return):
8766 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8767 * progmodes/f90.el (f90-add-imenu-menu):
8768 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8769 * server.el (server-switch-buffer):
8770 * simple.el (delete-completion-window):
8771 * talk.el (talk):
8772 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8773 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8774 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8775 * vc/ediff.el (ediff-documentation): Related users changed.
8776 * frame.el (selected-terminal): Remove the leftover.
8777
8778 2013-08-05 Glenn Morris <rgm@gnu.org>
8779
8780 * calendar/calendar.el (calendar-generate-month):
8781 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8782 (calendar-generate-month, calendar-font-lock-keywords):
8783 Fix for calendar-day-header-width > length of any day name.
8784
8785 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8786
8787 * desktop.el (desktop-clear): Use new name of sort predicate.
8788
8789 * frameset.el (frameset): Add docstring. Move :version property to its
8790 own `version' slot.
8791 (frameset-copy): Rename from copy-frameset.
8792 (frameset-p): Check more thoroughly.
8793 (frameset-prop): Do not check for :version, which is no longer a prop.
8794 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8795 Use new :never value instead of t.
8796 (frameset-filter-alist): Expand and clarify docstring.
8797 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8798 (frameset-filter-minibuffer, frameset-filter-save-param)
8799 (frameset-filter-restore-param, frameset-filter-iconified):
8800 Add pointer to docstring of frameset-filter-alist.
8801 (frameset-filter-params): Rename filter values to be more meaningful:
8802 :never instead of t, and reverse the meanings of :save and :restore.
8803 (frameset--process-minibuffer-frames): Clarify error message.
8804 (frameset-save): Avoid unnecessary and confusing call to framep.
8805 Use new BOA constructor for framesets.
8806 (frameset--reuse-list): Doc fix.
8807 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8808 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8809 (frameset-minibufferless-first-p): Doc fix.
8810 Rename from frameset-sort-frames-for-deletion.
8811 (frameset-restore): Doc fixes. Use new function names.
8812 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8813
8814 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8815
8816 * desktop.el (desktop-restore-forces-onscreen)
8817 (desktop-restore-reuses-frames): Document :keyword constant values.
8818 (desktop-filter-parameters-alist): Remove, now identical to
8819 frameset-filter-alist.
8820 (desktop--filter-tty*): Remove, moved to frameset.el.
8821 (desktop-save-frameset, desktop-restore-frameset):
8822 Do not pass :filters argument.
8823
8824 * frameset.el (frameset-live-filter-alist)
8825 (frameset-persistent-filter-alist): New variables.
8826 (frameset-filter-alist): Use them. Add autoload cookie.
8827 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8828 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8829 `frameset--id' (it's supposed to be internal to frameset.el).
8830 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8831 (frameset--initial-params): New function.
8832 (frameset--get-frame): Use it. Doc fix.
8833 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8834 Accept :all, not 'all.
8835 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8836 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8837 with fbound symbols. Fix frame id matching, and remove matching ids if
8838 the frame being restored is deleted. Obey :delete.
8839
8840 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8841
8842 * subr.el (macrop): New function.
8843 (text-clone--maintaining): New var.
8844 (text-clone--maintain): Rename from text-clone-maintain. Use it
8845 instead of inhibit-modification-hooks.
8846
8847 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8848 a proxy, so as handle autoloads and redefinitions of the target.
8849 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8850
8851 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8852 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8853 (pcase--mutually-exclusive-p): New function.
8854 (pcase--split-consp): Use it.
8855 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8856 mutually exclusive with the current predicate.
8857
8858 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8859 (edebug-macrop): Remove. Use `macrop' instead.
8860 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8861 (ad-macro-p):
8862 * eshell/esh-cmd.el (eshell-macrop):
8863 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8864
8865 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8868 (advice-mapc): New function, using it.
8869 (advice-function-member-p): New function.
8870 (advice--normalize): Store the cdr in advice--saved-rewrite since
8871 that's the part that will be changed.
8872 (advice--symbol-function): New function.
8873 (advice-remove): Handle removal before the function is defined.
8874 Adjust to new advice--saved-rewrite.
8875 (advice-member-p): Use advice-function-member-p and
8876 advice--symbol-function.
8877
8878 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8879
8880 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8881 (frameset-filter-minibuffer): Doc fix.
8882 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8883 (frameset--set-id, frameset--process-minibuffer-frames)
8884 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8885 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8886
8887 * desktop.el (desktop-clear): Only delete frames when called
8888 interactively and desktop-restore-frames is non-nil. Doc fix.
8889 (desktop-read): Set desktop-saved-frameset to nil.
8890
8891 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8892
8893 * vc/vc.el (vc-ignore): Rewrite.
8894 (vc-default-ignore-completion-table, vc--read-lines)
8895 (vc--add-line, vc--remove-regexp): New functions.
8896
8897 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8898 (vc-svn-ignore-completion-table): New function.
8899
8900 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8901 (vc-hg-ignore-completion-table)
8902 (vc-hg-find-ignore-file): New functions.
8903
8904 * vc/vc-git.el (vc-git-ignore): Rewrite.
8905 (vc-git-ignore-completion-table)
8906 (vc-git-find-ignore-file): New functions.
8907
8908 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8909
8910 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8911 (vc-bzr-ignore-completion-table)
8912 (vc-bzr-find-ignore-file): New functions.
8913
8914 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8915
8916 * frameset.el (frameset-prop): New function and setter.
8917 (frameset-save): Do not modify frame list passed by the caller.
8918
8919 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8920
8921 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8922
8923 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8924
8925 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8926 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8927
8928 * custom.el (custom-initialize-default, custom-initialize-set)
8929 (custom-initialize-reset, custom-initialize-changed): Affect the
8930 toplevel-default-value (bug#6275, bug#14586).
8931 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8932 for bug#6275.
8933
8934 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8935
8936 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8937 Add cl-def* expressions.
8938
8939 * frameset.el (frameset-filter-params): Fix order of arguments.
8940
8941 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8942
8943 Move code related to saving frames to frameset.el.
8944 * desktop.el: Require frameset.
8945 (desktop-restore-frames): Doc fix.
8946 (desktop-restore-reuses-frames): Rename from
8947 desktop-restoring-reuses-frames.
8948 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8949 (desktop-clear): Clear frames too.
8950 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8951 (desktop--filter-tty*, desktop-save, desktop-read):
8952 Use frameset functions.
8953 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8954 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8955 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8956 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8957 (desktop--process-minibuffer-frames, desktop-save-frames)
8958 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8959 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8960 (desktop--sort-states, desktop-restoring-frames-p)
8961 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8962 (desktop-restoring-frameset-p, desktop-restore-frameset)
8963 (desktop--check-dont-save, desktop-save-frameset): New functions.
8964 (desktop--app-id): New constant.
8965 (desktop-first-buffer, desktop-buffer-ok-count)
8966 (desktop-buffer-fail-count): Move before first use.
8967 * frameset.el: New file.
8968
8969 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8970
8971 * files.el: Use lexical-binding.
8972 (dir-locals-read-from-file): Remove unused `err' variable.
8973 (hack-dir-local-variables--warned-coding): New var.
8974 (hack-dir-local-variables): Use it to avoid repeated warnings.
8975 (make-backup-file-name--default-function): New function.
8976 (make-backup-file-name-function): Use it as default.
8977 (buffer-stale--default-function): New function.
8978 (buffer-stale-function): Use it as default.
8979 (revert-buffer-insert-file-contents--default-function): New function.
8980 (revert-buffer-insert-file-contents-function): Use it as default.
8981 (insert-directory): Avoid add-to-list.
8982
8983 * autorevert.el (auto-revert-handler): Simplify.
8984 Use buffer-stale--default-function.
8985
8986 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8987
8988 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8989
8990 * whitespace.el (whitespace-ensure-local-variables): New function.
8991 (whitespace-cleanup-region): Call it.
8992 (whitespace-turn-on): Call it.
8993
8994 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8995
8996 Complete file name handlers.
8997
8998 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8999 (tramp-handle-verify-visited-file-modtime)
9000 (tramp-handle-file-notify-rm-watch): New functions.
9001 (tramp-call-process): Do not bind `default-directory'.
9002
9003 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9004 Order alphabetically.
9005 <access-file, add-name-to-file, dired-call-process>:
9006 <dired-compress-file, file-acl, file-notify-rm-watch>:
9007 <file-ownership-preserved-p, file-selinux-context>:
9008 <make-directory-internal, make-symbolic-link, set-file-acl>:
9009 <set-file-selinux-context, set-visited-file-modtime>:
9010 <verify-visited-file-modtime>: Add handler.
9011 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9012
9013 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9014 <file-notify-add-watch, file-notify-rm-watch>:
9015 <set-file-times, set-visited-file-modtime>:
9016 <verify-visited-file-modtime>: Add handler.
9017 (with-tramp-gvfs-error-message)
9018 (tramp-gvfs-handle-set-visited-file-modtime)
9019 (tramp-gvfs-fuse-file-name): Remove.
9020 (tramp-gvfs-handle-file-notify-add-watch)
9021 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9022 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9023
9024 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9025 Order alphabetically.
9026 <file-notify-rm-watch>: Use default Tramp handler.
9027 <executable-find>: Remove private handler.
9028 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9029 `default-directory'.
9030 (tramp-sh-handle-executable-find)
9031 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9032 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9033 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9034 Do not use `format' in `tramp-message'.
9035
9036 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9037 <file-notify-rm-watch, set-visited-file-modtime>:
9038 <verify-visited-file-modtime>: Add handler.
9039 (tramp-smb-call-winexe): Do not bind `default-directory'.
9040
9041 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9042
9043 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9044
9045 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9046
9047 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9048 use it.
9049 (log-view-diff-changeset): Same.
9050 (log-view-diff-common): Call backend command `previous-revision'
9051 to find out the previous revision, in both cases. Swap the
9052 variables `to' and `fr', so that `fr' usually refers to the
9053 earlier revision (Bug#14989).
9054
9055 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
9056
9057 * ibuf-ext.el (ibuffer-filter-by-filename):
9058 Make it work with dired buffers too.
9059
9060 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
9061
9062 * emacs-lisp/re-builder.el (reb-color-display-p):
9063 * files.el (save-buffers-kill-terminal):
9064 * net/browse-url.el (browse-url):
9065 * server.el (server-save-buffers-kill-terminal):
9066 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9067 Prefer nil to selected-frame for the first arg of frame-parameter.
9068
9069 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9070
9071 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9072
9073 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
9074
9075 * minibuffer.el (completion--twq-all): Try and preserve each
9076 completion's case choice (bug#14907).
9077
9078 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9079
9080 * net/network-stream.el (open-network-stream): Mention the new
9081 :nogreeting parameter.
9082 (network-stream-open-starttls): Use the :nogreeting parameter
9083 (bug#14938).
9084
9085 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9086
9087 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9088 more natural than popping.
9089
9090 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9091 (shr-urlify): Highlight under mouse.
9092
9093 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9094
9095 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9096
9097 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9098
9099 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9100 buffer for output.
9101
9102 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9103 point-min==1. Fix search string. Fix parentheses missing.
9104
9105 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
9106 assume point-min==1. Fix search string. Fix parentheses missing.
9107
9108 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9109
9110 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9111 buffer for output.
9112
9113 2013-07-29 Eli Zaretskii <eliz@gnu.org>
9114
9115 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9116 initial frame is minibuffer-less. (Bug#14841)
9117
9118 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
9119
9120 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9121 option.
9122
9123 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9124 (tramp-maybe-open-connection): Use it.
9125
9126 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9127
9128 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9129 minimal set of parameters passed when creating a frame, because
9130 the minibuffer status of a frame cannot be changed later.
9131
9132 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
9133
9134 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9135 replace-regexp-in-string and inadvertent omissions in previous change.
9136 (todo-filter-items): Ensure only file names are comma-separated in
9137 name of filtered items buffer.
9138
9139 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9140
9141 * desktop.el: Optionally force offscreen frames back onscreen.
9142 (desktop-restoring-reuses-frames): New option.
9143 (desktop--compute-pos, desktop--move-onscreen): New functions.
9144 (desktop--make-frame): Use desktop--move-onscreen.
9145
9146 2013-07-27 Alan Mackenzie <acm@muc.de>
9147
9148 Fontify a Java generic method as a function.
9149 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9150 value to t.
9151
9152 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
9153
9154 * calendar/todo-mode.el: Add command to rename todo files.
9155 (todo-rename-file): New command.
9156 (todo-key-bindings-t): Add key binding for it. Change the
9157 bindings of todo-filter-regexp-items(-multifile) to use `x'
9158 instead of `r', since the latter is better suited to the new
9159 renaming command.
9160
9161 2013-07-27 Alan Mackenzie <acm@muc.de>
9162
9163 Make Java try-with-resources statement parse properly.
9164 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9165 (c-block-stmt-1-2-key): New language constants/variables.
9166 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9167 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9168 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
9169 with c-block-stmt-1-2-key.
9170
9171 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
9172
9173 * desktop.el (desktop--make-frame): Apply most frame parameters after
9174 creating the frame to force (partially or totally) offscreen frames to
9175 be restored as such.
9176
9177 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9178
9179 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
9180 (Bug#14948)
9181
9182 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9183
9184 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9185 `base' arg of backtrace-frame.
9186
9187 2013-07-26 Eli Zaretskii <eliz@gnu.org>
9188
9189 * simple.el (list-processes): Doc fix.
9190
9191 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9192
9193 * desktop.el (desktop--select-frame):
9194 Try harder to reuse existing frames.
9195
9196 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9197
9198 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9199 (edebug-eval): Use backtrace-eval.
9200 (edebug--display, edebug--recursive-edit): Don't let-bind the
9201 edebug-outer-* vars that keep track of variables we locally let-bind.
9202 (edebug-outside-excursion): Don't restore outside values of locally
9203 let-bound vars.
9204 (edebug--display): Use user-error.
9205 (cl-lexical-debug, cl-debug-env): Remove.
9206
9207 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9208
9209 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9210 are restored to be sure that they are visible before deleting any
9211 remaining ones.
9212
9213 2013-07-26 Matthias Meulien <orontee@gmail.com>
9214
9215 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9216 vc-print-root-log. (Bug#14948)
9217
9218 2013-07-26 Richard Stallman <rms@gnu.org>
9219
9220 Add aliases for encrypting mail.
9221 * epa.el (epa-mail-aliases): New option.
9222 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9223 Bind inhibit-read-only so read-only text doesn't ruin everything.
9224 (epa-mail-default-recipients): New subroutine broken out.
9225 Handle epa-mail-aliases.
9226
9227 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9228
9229 Add support for lexical variables to the debugger's `e' command.
9230 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9231 vars, except for debugger-outer-match-data.
9232 (debugger-frame-number): Move check for "on a function call" from
9233 callers into it. Add `skip-base' argument.
9234 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9235 (debugger-env-macro): Only reset the state stored in non-variables,
9236 i.e. current-buffer and match-data.
9237 (debugger-eval-expression): Rewrite using backtrace-eval.
9238 * subr.el (internal--called-interactively-p--get-frame): Remove.
9239 (called-interactively-p):
9240 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9241 `base' arg of backtrace-frame instead.
9242
9243 2013-07-26 Glenn Morris <rgm@gnu.org>
9244
9245 * align.el (align-regexp): Doc fix. (Bug#14857)
9246 (align-region): Explicit error if subexpression missing/does not match.
9247
9248 * simple.el (global-visual-line-mode):
9249 Do not duplicate the mode lighter. (Bug#14858)
9250
9251 2013-07-25 Martin Rudalics <rudalics@gmx.at>
9252
9253 * window.el (display-buffer): In display-buffer bind
9254 split-window-keep-point to t, bug#14829.
9255
9256 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9257
9258 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9259 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9260 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9261 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9262 Change accordingly.
9263 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9264 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
9265
9266 2013-07-25 Glenn Morris <rgm@gnu.org>
9267
9268 * dired-x.el (dired-mark-extension): Convert comment to doc string.
9269
9270 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9271
9272 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9273 parameter to modify-frame-parameters if the value has not changed;
9274 this is a workaround for bug#14949.
9275 (desktop--make-frame): On cl-delete-if call, check parameter name,
9276 not full parameter.
9277
9278 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9279
9280 * vc/vc.el (vc-ignore): New function.
9281
9282 * vc/vc-svn.el (vc-svn-ignore): New function.
9283
9284 * vc/vc-hg.el (vc-hg-ignore): New function.
9285
9286 * vc/vc-git.el (vc-git-ignore): New function.
9287
9288 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9289 (vc-dir-ignore): New function.
9290
9291 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9292 (cvs-append-to-ignore): Move here from pcvs.el.
9293
9294 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9295
9296 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9297
9298 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9299
9300 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9301 (desktop-restore-frames): Warn when deleting an existing frame failed.
9302
9303 2013-07-24 Glenn Morris <rgm@gnu.org>
9304
9305 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9306
9307 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9308
9309 * filenotify.el (file-notify-supported-p):
9310 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9311 Remove functions.
9312
9313 * autorevert.el (auto-revert-use-notify)
9314 (auto-revert-notify-add-watch):
9315 * net/tramp.el (tramp-file-name-for-operation):
9316 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9317 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9318 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9319 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9320 Remove `file-notify-supported-p' entry.
9321
9322 2013-07-24 Glenn Morris <rgm@gnu.org>
9323
9324 * printing.el: Replace all uses of deleted ps-windows-system,
9325 ps-lp-system, ps-flatten-list with lpr- versions.
9326
9327 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9328
9329 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9330 checked with memq (bug#14935).
9331
9332 * files.el (revert-buffer-function): Use a non-nil default.
9333 (revert-buffer-preserve-modes): Declare var to
9334 provide access to the `preserve-modes' argument.
9335 (revert-buffer): Let-bind it.
9336 (revert-buffer--default): New function, extracted from revert-buffer.
9337
9338 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9339
9340 * lpr.el: Signal print errors more prominently.
9341 (print-region-function): Don't default to nil.
9342 (lpr-print-region): New function, extracted from print-region-1.
9343 Check lpr's return value and signal an error in case of problem.
9344 (print-region-1): Use it.
9345 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9346 versions instead.
9347 (ps-printer-name): Default to nil.
9348 (ps-printer-name-option): Default to lpr-printer-switch.
9349 (ps-print-region-function): Don't default to nil.
9350 (ps-postscript-code-directory): Simplify default.
9351 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9352 (ps-string-list, ps-eval-switch, ps-flatten-list)
9353 (ps-flatten-list-1): Remove.
9354 (ps-multibyte-buffer): Avoid setq.
9355 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9356 (print-region-function, ps-print-region-function): Don't set them here.
9357
9358 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9359
9360 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9361 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9362 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9363 (ido-decorations): Doc fix.
9364
9365 * ansi-color.el: Fix old URL.
9366
9367 2013-07-23 Michael R. Mauger <michael@mauger.com>
9368
9369 * progmodes/sql.el: Version 3.3
9370 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9371 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9372 (sql-interactive-remove-continuation-prompt): Rewrite, use
9373 functions above. Fix continuation prompt and complete output line
9374 handling.
9375 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9376 redirected output buffer.
9377 (sql-mode): Restore deleted code (Bug#13591).
9378
9379 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9380
9381 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9382
9383 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9384
9385 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9386
9387 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9388 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9389 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9390
9391 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9392
9393 * desktop.el (desktop-clear): Simplify; remove useless checks
9394 against invalid buffer names.
9395 (desktop-list*): Use cl-list*.
9396 (desktop-buffer-info, desktop-create-buffer): Simplify.
9397
9398 2013-07-23 Leo Liu <sdl.web@gmail.com>
9399
9400 * bookmark.el (bookmark-make-record): Restore NAME as a default
9401 value. (Bug#14933)
9402
9403 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9404
9405 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9406 extracted from autoload--insert-text.
9407 (autoload--insert-text): Remove.
9408 (autoload--print-cookie-text): New function, extracted from
9409 autoload--insert-cookie-text.
9410 (autoload--insert-cookie-text): Remove.
9411 (autoload-generate-file-autoloads): Adjust calls accordingly.
9412
9413 * winner.el (winner-hook-installed-p): Remove.
9414 (winner-mode): Simplify accordingly.
9415
9416 * subr.el (add-to-list): Fix compiler-macro when `append' is
9417 not constant. Don't use `cl-member' for the base case.
9418
9419 * progmodes/subword.el: Fix boundary case (bug#13758).
9420 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9421 own group.
9422 (subword-backward-regexp): Make it a constant.
9423 (subword-forward-internal): Don't treat a trailing capital as the
9424 beginning of a word.
9425
9426 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9427
9428 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9429 global value of tabulated-list-revert-hook (bug#14930).
9430
9431 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9432
9433 * desktop.el: Require 'cl-lib.
9434 (desktop-before-saving-frames-functions): New hook.
9435 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9436 for frames being saved. Rename from desktop--save-minibuffer-frames.
9437 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9438 Do not save frames with non-nil `desktop-dont-save' parameter.
9439 Filter out deleted frames.
9440 (desktop--find-frame): Use cl-find-if.
9441 (desktop--select-frame): Use cl-(first|second|third) to access values
9442 of desktop-mini.
9443 (desktop--make-frame): Use cl-delete-if.
9444 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9445 (desktop-restore-frames): Use cl-(first|second|third) to access values
9446 of desktop-mini. Look for visible frame at the end, not while
9447 restoring frames.
9448
9449 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9450 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9451 Use string-match-p, looking-at-p (bug#14927).
9452
9453 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9454
9455 * desktop.el (desktop-saved-frame-states):
9456 Rename from desktop--saved-states; all users changed.
9457 (desktop-save-frames): Rename from desktop--save-frames.
9458 Do not save state to desktop file.
9459 (desktop-save): Save desktop-saved-frame-states to desktop file
9460 and reset to nil.
9461 (desktop-restoring-frames-p): New function.
9462 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9463 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9464 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9465
9466 * desktop.el: Correctly restore iconified frames.
9467 (desktop--filter-iconified-position): New function.
9468 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9469
9470 2013-07-20 Glenn Morris <rgm@gnu.org>
9471
9472 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9473 Let `message' do the formatting.
9474 (def-gdb-preempt-display-buffer): Add explicit format.
9475
9476 * image-dired.el (image-dired-track-original-file):
9477 Use with-current-buffer.
9478 (image-dired-track-thumbnail): Use with-current-buffer.
9479 Avoid changing point of wrong window.
9480
9481 * image-dired.el (image-dired-track-original-file):
9482 Avoid changing point of wrong window. (Bug#14909)
9483
9484 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9485
9486 * progmodes/gdb-mi.el (gdb-done-or-error):
9487 Guard against "%" in gdb output. (Bug#14127)
9488
9489 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9490
9491 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9492 (Bug#14826)
9493
9494 * international/mule.el (coding-system-iso-2022-flags): Fix last
9495 change.
9496
9497 2013-07-20 Kenichi Handa <handa@gnu.org>
9498
9499 * international/mule.el (coding-system-iso-2022-flags):
9500 Add `8-bit-level-4'. (Bug#8522)
9501
9502 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9503
9504 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9505 (bug#14815).
9506
9507 * net/eww.el (eww-process-text-input): Allow inputting when the
9508 point is at the start of the line, as the properties aren't
9509 front-sticky.
9510
9511 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9512 degenerate widths.
9513
9514 2013-07-19 Richard Stallman <rms@gnu.org>
9515
9516 * epa.el (epa-popup-info-window): Doc fix.
9517
9518 * subr.el (split-string): New arg TRIM.
9519
9520 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9521
9522 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9523 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9524
9525 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9526
9527 * filenotify.el (file-notify--library): Rename from
9528 `file-notify-support'. Do not autoload. Adapt all uses.
9529 (file-notify-supported-p): New defun.
9530
9531 * autorevert.el (auto-revert-use-notify):
9532 Use `file-notify-supported-p' instead of `file-notify-support'.
9533 Adapt docstring.
9534 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9535
9536 * net/tramp.el (tramp-file-name-for-operation):
9537 Add `file-notify-supported-p'.
9538
9539 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9540 New defun.
9541 (tramp-sh-file-name-handler-alist): Add it as handler for
9542 `file-notify-supported-p '.
9543
9544 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9545 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9546 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9547 Add `ignore' as handler for `file-notify-*' functions.
9548
9549 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9550
9551 * simple.el (line-move-partial, line-move): Don't start vscroll or
9552 scroll-up if the current line is not taller than the window.
9553 (Bug#14881)
9554
9555 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9556
9557 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9558 highlight question marks in the method names as strings.
9559 (ruby-block-beg-keywords): Inline.
9560 (ruby-font-lock-keyword-beg-re): Extract from
9561 `ruby-font-lock-keywords'.
9562
9563 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9564
9565 * frame.el (blink-cursor-blinks): New defcustom.
9566 (blink-cursor-blinks-done): New defvar.
9567 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9568 (blink-cursor-timer-function): Check if number of blinks has been
9569 done on X and NS.
9570 (blink-cursor-suspend, blink-cursor-check): New defuns.
9571
9572 2013-07-15 Glenn Morris <rgm@gnu.org>
9573
9574 * edmacro.el (edmacro-format-keys): Fix previous change.
9575
9576 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9577
9578 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9579 The hack didn't work outside English locales anyway.
9580
9581 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9582
9583 * simple.el (define-alternatives): Rename from alternatives-define,
9584 per RMS' suggestion.
9585
9586 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9587
9588 * desktop.el (desktop-restore-frames): Change default to t.
9589 (desktop-restore-in-current-display): Now offer more options.
9590 (desktop-restoring-reuses-frames): New customization option.
9591 (desktop--saved-states): Doc fix.
9592 (desktop-filter-parameters-alist): New variable, renamed and expanded
9593 from desktop--excluded-frame-parameters.
9594 (desktop--target-display): New variable.
9595 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9596 (desktop--filter-tty*, desktop--filter-*-color)
9597 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9598 (desktop--filter-save-desktop-parm)
9599 (desktop-restore-in-original-display-p): New functions.
9600 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9601 (desktop--save-minibuffer-frames): New function, inspired by a similar
9602 function from Martin Rudalics.
9603 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9604 (desktop--restore-in-this-display-p): Remove.
9605 (desktop--find-frame): Rename from desktop--find-frame-in-display
9606 and add predicate argument.
9607 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9608 (desktop--reuse-list): New variable.
9609 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9610 New functions.
9611 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9612
9613 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9614
9615 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9616
9617 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9618
9619 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9620 Highlight conversion methods on Kernel.
9621
9622 2013-07-13 Alan Mackenzie <acm@muc.de>
9623
9624 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9625 and comment it out. This out-commenting enables certain C++
9626 declarations to be parsed correctly.
9627
9628 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9629
9630 * international/mule.el (define-coding-system): Doc fix.
9631
9632 * simple.el (default-font-height): Don't call font-info if the
9633 frame's default font didn't change since the frame was created.
9634 (Bug#14838)
9635
9636 2013-07-13 Leo Liu <sdl.web@gmail.com>
9637
9638 * ido.el (ido-read-file-name): Guard against non-symbol value.
9639
9640 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9641
9642 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9643 in nested defuns.
9644
9645 2013-07-13 Leo Liu <sdl.web@gmail.com>
9646
9647 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9648 ido-set-matches call. (Bug#6852)
9649
9650 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9651
9652 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9653 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9654 Ruby 2.0.
9655 (ruby-font-lock-keywords): Distinguish calls to functions with
9656 module-like names from module references. Highlight character
9657 literals.
9658
9659 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9660
9661 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9662 (gdb-send): Handle continued commands. (Bug#14847)
9663
9664 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9665
9666 * desktop.el (desktop--v2s): Remove unused local variable.
9667 (desktop-save-buffer): Make defvar-local; adjust docstring.
9668 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9669 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9670
9671 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9672
9673 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9674
9675 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9676
9677 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9678 (Bug#14842)
9679
9680 2013-07-12 Glenn Morris <rgm@gnu.org>
9681
9682 * doc-view.el: Require cl-lib at runtime too.
9683 (doc-view-remove-if): Remove.
9684 (doc-view-search-next-match, doc-view-search-previous-match):
9685 Use cl-remove-if.
9686
9687 * edmacro.el: Require cl-lib at runtime too.
9688 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9689 (edmacro-mismatch, edmacro-subseq): Remove.
9690
9691 * shadowfile.el: Require cl-lib.
9692 (shadow-remove-if): Remove.
9693 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9694 Use cl-remove-if.
9695
9696 * wid-edit.el: Require cl-lib.
9697 (widget-choose): Use cl-remove-if.
9698 (widget-remove-if): Remove.
9699
9700 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9701 (ebrowse-delete-if-not): Remove.
9702 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9703 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9704 Use cl-delete-if-not.
9705
9706 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9707
9708 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9709 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9710
9711 2013-07-12 Leo Liu <sdl.web@gmail.com>
9712
9713 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9714
9715 2013-07-11 Glenn Morris <rgm@gnu.org>
9716
9717 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9718 (edebug-gensym-index, edebug-gensym):
9719 Remove reimplementation of cl-gensym.
9720 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9721
9722 * thumbs.el: Require cl-lib at run-time too.
9723 (thumbs-gensym-counter, thumbs-gensym):
9724 Remove reimplementation of cl-gensym.
9725 (thumbs-temp-file): Use cl-gensym.
9726
9727 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9728 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9729 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9730 (ert--union, ert--gensym-counter, ert--gensym-counter)
9731 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9732 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9733 (ert-make-test-unbound, ert--expand-should-1)
9734 (ert--expand-should, ert--should-error-handle-error)
9735 (should-error, ert--explain-equal-rec)
9736 (ert--plist-difference-explanation, ert-select-tests)
9737 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9738 Use cl-lib functions rather than reimplementations.
9739
9740 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9741
9742 * net/tramp.el (tramp-methods): Extend docstring.
9743 (tramp-connection-timeout): New defcustom.
9744 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9745 (with-tramp-progress-reporter): Simplify.
9746 (tramp-process-actions): Improve messages.
9747
9748 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9749 * net/tramp-sh.el (tramp-maybe-open-connection):
9750 Use `tramp-connection-timeout'.
9751 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9752 (Bug#14808)
9753
9754 2013-07-11 Leo Liu <sdl.web@gmail.com>
9755
9756 * ido.el (ido-read-file-name): Conform to the requirements of
9757 read-file-name. (Bug#11861)
9758 (ido-read-directory-name): Conform to the requirements of
9759 read-directory-name.
9760
9761 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9762
9763 * subr.el (delay-warning): New function.
9764
9765 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9766
9767 * simple.el (default-line-height): New function.
9768 (line-move-partial, line-move): Use it instead of computing the
9769 line height inline.
9770 (line-move-partial): Always compute ROWH. If the last line is
9771 partially-visible, but its text is completely visible, allow
9772 cursor to enter such a partially-visible line.
9773
9774 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9775
9776 Improve error messages. (Bug#14808)
9777
9778 * net/tramp.el (tramp-current-connection): New defvar, moved from
9779 tramp-sh.el.
9780 (tramp-message-show-progress-reporter-message): Remove, not
9781 needed anymore.
9782 (tramp-error-with-buffer): Show message in minibuffer.
9783 Discard input before waiting. Reset connection timestamp.
9784 (with-tramp-progress-reporter): Improve messages.
9785 (tramp-process-actions): Use progress reporter. Delete process in
9786 case of error. Improve messages.
9787
9788 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9789 Call `tramp-error-with-buffer' with vector and buffer.
9790 (tramp-current-connection): Remove.
9791 (tramp-maybe-open-connection): The car of
9792 `tramp-current-connection' are the first 3 slots of the vector.
9793
9794 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9795
9796 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9797 inside continued strings.
9798
9799 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9800
9801 Timestamp fixes for undo (Bug#14824).
9802 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9803
9804 2013-07-10 Leo Liu <sdl.web@gmail.com>
9805
9806 * files.el (require-final-newline): Allow safe local value.
9807 (Bug#14834)
9808
9809 2013-07-09 Leo Liu <sdl.web@gmail.com>
9810
9811 * ido.el (ido-read-directory-name): Handle fallback.
9812 (ido-read-file-name): Update DIR to ido-current-directory.
9813 (Bug#1516)
9814 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9815
9816 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9817
9818 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9819 "autoload". Remove "warn lower camel case" section, previously
9820 commented out. Highlight negation char. Do not highlight the
9821 target in singleton method definitions.
9822
9823 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9824
9825 * faces.el (tty-setup-hook): Declare the hook.
9826
9827 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9828 and detect when a guard/pred depends on local vars (bug#14773).
9829 (pcase--u1): Adjust caller.
9830
9831 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9832
9833 * simple.el (line-move-partial, line-move): Account for
9834 line-spacing.
9835 (line-move-partial): Avoid setting vscroll when the last
9836 partially-visible line in window is of default height.
9837
9838 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9839
9840 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9841 been used a while.
9842
9843 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9844
9845 * subr.el (read-quoted-char): Remove unused local variable `char'.
9846
9847 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9848
9849 * ediff.el (ediff-version): Version update.
9850 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9851 (ediff-merge-with-ancestor-command, ediff-directories-command)
9852 (ediff-directories3-command, ediff-merge-directories-command)
9853 (ediff-merge-directories-with-ancestor-command): New functions.
9854 All are command-line interfaces to ediff: to facilitate calling
9855 Emacs with the appropriate ediff functions invoked.
9856
9857 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9858 (viper-save-kill-buffer): Check if buffer is modified.
9859
9860 * viper.el (viper-version): Version update.
9861 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9862
9863 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9864
9865 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9866 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9867 (viper-intercept-ESC-key): Simplify.
9868 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9869 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9870 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9871 (viper-setup-ESC-to-escape): New functions.
9872 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9873 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9874
9875 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9876
9877 * simple.el (default-font-height, window-screen-lines):
9878 New functions.
9879 (line-move, line-move-partial): Use them instead of
9880 frame-char-height and window-text-height. This makes scrolling
9881 text smoother when the buffer's default face uses a font that is
9882 different from the frame's default font.
9883
9884 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9885
9886 * files.el (write-file): Do not display confirm dialog for NS,
9887 it does its own dialog, which can't be canceled (Bug#14578).
9888
9889 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9890
9891 * simple.el (line-move-partial): Adjust the row returned by
9892 posn-at-point for the current window-vscroll. (Bug#14567)
9893
9894 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9895
9896 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9897 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9898 spaces.
9899
9900 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9901
9902 * window.el (window-state-put-stale-windows): New variable.
9903 (window--state-put-2): Save list of windows without matching buffer.
9904 (window-state-put): Remove "bufferless" windows if possible.
9905
9906 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9907
9908 * simple.el (alternatives-define): Remove leftover :group keyword.
9909 Tweak docstring.
9910
9911 2013-07-06 Leo Liu <sdl.web@gmail.com>
9912
9913 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9914 (ido-enable-virtual-buffers): New variable.
9915 (ido-buffer-internal, ido-toggle-virtual-buffers)
9916 (ido-make-buffer-list): Use it.
9917 (ido-exhibit): Support turning on and off virtual buffers
9918 automatically.
9919
9920 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9921
9922 * simple.el (alternatives-define): New macro.
9923
9924 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9925
9926 * subr.el (read-quoted-char): Use read-key.
9927 (sit-for): Let read-event decode tty input (bug#14782).
9928
9929 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9930
9931 * calendar/todo-mode.el: Add handling of file deletion, both by
9932 mode command and externally. Fix various related bugs.
9933 Clarify Commentary and improve some documentation strings and code.
9934 (todo-delete-file): New command.
9935 (todo-check-file): New function.
9936 (todo-show): Handle external deletion of the file we're trying to
9937 show (bug#14688). Replace called-interactively-p by an optional
9938 prefix argument to avoid problematic interaction with catch form
9939 when byte compiled (bug#14702).
9940 (todo-quit): Handle external deletion of the archive's todo file.
9941 Make sure the buffer that was visiting the archive file is still
9942 live before trying to bury it.
9943 (todo-category-completions): Handle external deletion of any
9944 category completion files.
9945 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9946 of todo files, in case of external deletion.
9947 (todo-add-file): Replace unnecessary setq by let-binding.
9948 (todo-find-archive): Check whether there are any archives.
9949 Replace unnecessary setq by let-binding.
9950 (todo-archive-done-item): Use find-file-noselect to get the
9951 archive buffer whether or not the archive already exists.
9952 Remove superfluous code. Use file size instead of buffer-file-name to
9953 check if the archive is new; if it is, update list of archives.
9954 (todo-default-todo-file): Allow nil to be a valid value for when
9955 there are no todo files.
9956 (todo-reevaluate-default-file-defcustom): Use corrected definition
9957 of todo-default-todo-file.
9958 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9959 (todo-delete-category, todo-show-categories-table)
9960 (todo-category-number): Clarify comment.
9961 (todo-filter-items): Clarify documentation string.
9962 (todo-show-current-file, todo-display-as-todo-file)
9963 (todo-reset-and-enable-done-separator): Tweak documentation string.
9964 (todo-done-separator): Make separator length window-width, since
9965 bug#2749 is now fixed.
9966
9967 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9968
9969 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9970 Support both "gvfs-monitor-dir" and "inotifywait".
9971 (tramp-sh-file-inotifywait-process-filter): Rename from
9972 `tramp-sh-file-notify-process-filter'.
9973 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9974 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9975
9976 2013-07-05 Leo Liu <sdl.web@gmail.com>
9977
9978 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9979
9980 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9981
9982 * frame.el (display-pixel-height, display-pixel-width)
9983 (display-mm-height, display-mm-width): Mention behavior on
9984 multi-monitor setups in docstrings.
9985 (w32-display-monitor-attributes-list): Declare function.
9986 (display-monitor-attributes-list): Use it.
9987
9988 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9989
9990 * filenotify.el: New package.
9991
9992 * autorevert.el (top): Require filenotify.el.
9993 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9994 instead.
9995 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9996 (auto-revert-notify-handler): Use `file-notify-*' functions.
9997
9998 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9999
10000 * net/tramp.el (tramp-file-name-for-operation):
10001 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10002
10003 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10004 for `file-notify-add-watch' and `file-notify-rm-watch'.
10005 (tramp-process-sentinel): Improve trace.
10006 (tramp-sh-handle-file-notify-add-watch)
10007 (tramp-sh-file-notify-process-filter)
10008 (tramp-sh-handle-file-notify-rm-watch)
10009 (tramp-get-remote-inotifywait): New defuns.
10010
10011 2013-07-03 Juri Linkov <juri@jurta.org>
10012
10013 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10014 call of `occur-read-primary-args' to interactive spec.
10015
10016 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10017 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10018
10019 2013-07-03 Matthias Meulien <orontee@gmail.com>
10020
10021 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10022 `Buffer-menu-multi-occur'. Add it to the menu.
10023 (Buffer-menu-mode): Document it in docstring.
10024 (Buffer-menu-multi-occur): New command. (Bug#14673)
10025
10026 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10027
10028 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10029 keywords and built-ins.
10030
10031 2013-07-03 Glenn Morris <rgm@gnu.org>
10032
10033 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10034
10035 Make info-xref checks case-sensitive by default
10036 * info.el (Info-find-node, Info-find-in-tag-table)
10037 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10038 Add option for exact case matching of nodes.
10039 * info-xref.el (info-xref): New custom group.
10040 (info-xref-case-fold): New option.
10041 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10042
10043 2013-07-03 Leo Liu <sdl.web@gmail.com>
10044
10045 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10046
10047 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10048
10049 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10050 middle of block statement initially, lower the depth. Remove
10051 FIXME comment, not longer valid. Remove middle of block statement
10052 detection, no need to do that anymore since we've been using
10053 `ruby-parse-region' here.
10054
10055 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10056
10057 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10058
10059 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
10060
10061 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10062
10063 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
10064
10065 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10066 (desktop-restore-in-current-display): New customization option.
10067 (desktop--excluded-frame-parameters): Add `font'.
10068 (desktop--save-frames): Rename from desktop--save-windows.
10069 (desktop--restore-in-this-display-p): New function.
10070 (desktop--make-full-frame): Remove unwanted width/height from
10071 full(width|height) frames.
10072 (desktop--restore-frames): Rename from desktop--restore-windows.
10073 Obey desktop-restore-current-display. Do not delete old frames or
10074 select a new frame unless we were able to restore at least one frame.
10075
10076 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
10077
10078 * files.el (find-file-noselect): Simplify conditional expression.
10079
10080 * textmodes/remember.el (remember-append-to-file):
10081 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10082
10083 Add `remember-notes' function to store random notes across Emacs
10084 restarts.
10085 * textmodes/remember.el (remember-data-file): Add :set callback to
10086 affect notes buffer (if any).
10087 (remember-notes): New command.
10088 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10089 New defcustoms for the `remember-notes' function.
10090 (remember-notes-save-and-bury-buffer): New command.
10091 (remember-notes-mode-map): New variable.
10092 (remember-mode): New minor mode.
10093 (remember-notes--kill-buffer-query): New function.
10094 * startup.el (initial-buffer-choice): Add notes to custom type.
10095
10096 2013-06-30 Eli Zaretskii <eliz@gnu.org>
10097
10098 * bindings.el (right-char, left-char): Don't call sit-for, this is
10099 no longer needed. Use arithmetic comparison only for numerical
10100 arguments.
10101
10102 * international/mule-cmds.el (select-safe-coding-system):
10103 Handle the case of FROM being a string correctly. (Bug#14755)
10104
10105 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10106
10107 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10108 progression on degenerate tables.
10109 (shr-rescale-image): ImageMagick animated images currently don't work.
10110
10111 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
10112
10113 Some fixes and improvements for desktop frame restoration.
10114 It is still experimental and disabled by default.
10115 * desktop.el (desktop--save-windows): Put the selected frame at
10116 the head of the list.
10117 (desktop--make-full-frame): New function.
10118 (desktop--restore-windows): Try to re-select the frame that was
10119 selected upon saving. Do not abort if some frames fail to restore,
10120 just show an error message and continue. Set up maximized frames
10121 so they have default non-maximized dimensions.
10122
10123 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10124
10125 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10126 Don't start heredoc inside a string or comment.
10127
10128 2013-06-29 Eli Zaretskii <eliz@gnu.org>
10129
10130 * bindings.el (visual-order-cursor-movement): New defcustom.
10131 (right-char, left-char): Provide visual-order cursor motion by
10132 calling move-point-visually. Update the doc strings.
10133
10134 2013-06-28 Kenichi Handa <handa@gnu.org>
10135
10136 * international/mule.el (define-coding-system): New coding system
10137 properties :inhibit-null-byte-detection,
10138 :inhibit-iso-escape-detection, and :prefer-utf-8.
10139 (set-buffer-file-coding-system): If :charset-list property of
10140 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10141 appropriate for setting.
10142
10143 * international/mule-cmds.el (select-safe-coding-system):
10144 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10145 multibyte characters, return utf-8 (or one of its siblings).
10146
10147 * international/mule-conf.el (prefer-utf-8): New coding system.
10148 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10149 files.
10150
10151 2013-06-28 Ivan Kanis <ivan@kanis.fr>
10152
10153 * net/shr.el (shr-render-region): New function.
10154
10155 * net/eww.el: Autoload `eww-browse-url'.
10156
10157 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10158
10159 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10160 Adapt to `package-desc-version' being a list.
10161 Use `package--ac-desc-version' to retrieve version from a package
10162 archive element.
10163
10164 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
10165
10166 New experimental feature to save&restore window and frame setup.
10167 * desktop.el (desktop-save-windows): New defcustom.
10168 (desktop--saved-states): New var.
10169 (desktop--excluded-frame-parameters): New defconst.
10170 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10171 (desktop--restore-windows, desktop--save-windows): New functions.
10172 (desktop-save): Call `desktop--save-windows'.
10173 (desktop-read): Call `desktop--restore-windows'.
10174
10175 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10176
10177 * net/shr.el (add-face-text-property): Remove compat definition.
10178
10179 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10180
10181 * info.el (Info-try-follow-nearest-node): Move search for footnote
10182 above search for node name to prevent missing a footnote (bug#14717).
10183
10184 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10185
10186 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10187
10188 2013-06-27 Leo Liu <sdl.web@gmail.com>
10189
10190 * net/eww.el (eww-read-bookmarks): Check file size.
10191
10192 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10193
10194 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10195 advice--pending if newdef is nil or an autoload (bug#13820).
10196 (advice-mapc): New function.
10197
10198 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10199
10200 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10201 probably.
10202 (eww-mode-map): Add a menu bar.
10203 (eww-add-bookmark): New command.
10204 (eww-bookmark-mode): New mode and commands.
10205 (eww-add-bookmark): Remove newlines from the title.
10206 (eww-bookmark-browse): Don't bug out if it's the only window.
10207
10208 2013-06-26 Glenn Morris <rgm@gnu.org>
10209
10210 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10211 (hfy-size): Handle ttys. (Bug#14668)
10212
10213 * info-xref.el: Update for Texinfo 5 change in *note format.
10214 (info-xref-node-re, info-xref-note-re): New constants.
10215 (info-xref-check-buffer): Use info-xref-note-re.
10216
10217 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10218
10219 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10220
10221 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10222 nil terminate the loop (bug#14718).
10223
10224 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10225
10226 * net/eww.el: Rework history traversal. When going forward/back,
10227 put these actions into the history, too, so that they can be
10228 replayed.
10229 (eww-render): Move the history reset to the correct buffer.
10230
10231 2013-06-25 Juri Linkov <juri@jurta.org>
10232
10233 * files-x.el (modify-dir-local-variable): Change the header comment
10234 in the file with directory local variables. (Bug#14692)
10235
10236 * files-x.el (read-file-local-variable-value): Add `default'.
10237 (Bug#14710)
10238
10239 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10240
10241 * net/eww.el (eww-make-unique-file-name): Create a unique file
10242 name before saving to entering `y' accidentally asynchronously.
10243
10244 2013-06-25 Ivan Kanis <ivan@kanis.fr>
10245
10246 * net/eww.el (eww-download): New command and keystroke.
10247
10248 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10249
10250 * net/eww.el (eww-copy-page-url): Change name of command.
10251
10252 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10253 be more consistent with Info and dired.
10254
10255 * net/eww.el (eww-mode-map): Ditto.
10256
10257 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10258
10259 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10260 packages from archives.
10261 (package-archive-contents): Change format; include obsolete packages.
10262 (package-desc): Use `dir' to mark builtin packages.
10263 (package--from-builtin): Set the `dir' field to `builtin'.
10264 (generated-autoload-file, version-control): Declare.
10265 (package-compute-transaction): Change first arg and return value to be
10266 lists of package-descs. Adjust to new package-archive-contents format.
10267 (package--add-to-archive-contents): Adjust to new
10268 package-archive-contents format.
10269 (package-download-transaction): Arg is now a list of package-descs.
10270 (package-install): If `pkg' is a package name, pass it as
10271 a requirement, so it is subject to the usual (e.g. disabled) checks.
10272 (describe-package): Accept package-desc as well.
10273 (describe-package-1): Describe a specific package-desc. Add links to
10274 other package-descs for the same package name.
10275 (package-menu-describe-package): Pass the actual package-desc.
10276 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10277 works correctly.
10278 (package-desc-status): New function.
10279 (package-menu--refresh): New function, extracted
10280 from package-menu--generate.
10281 (package-menu--generate): Use it.
10282 (package-delete): Update package-alist.
10283 (package-menu-execute): Don't call package-initialize.
10284
10285 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10286 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10287 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10288 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10289 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10290 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10291
10292 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10293
10294 * window.el (window--state-get-1): Workaround for bug#14527.
10295 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10296
10297 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10298
10299 * net/eww.el (eww-back-url): Implement the history by stashing all
10300 the data into a list.
10301 (eww-forward-url): Allow going forward in the history, too.
10302
10303 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10304
10305 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10306 for values and use read--expression for expressions (bug#14710).
10307 (read-file-local-variable): Avoid setq.
10308 (read-file-local-variable-mode): Use minor-mode-list.
10309
10310 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10311
10312 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10313 for DOI URLs.
10314
10315 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10316
10317 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10318 Update imenu-support when dialect changes.
10319
10320 2013-06-25 Leo Liu <sdl.web@gmail.com>
10321
10322 * ido.el (ido-read-internal): Allow forward slash on windows.
10323
10324 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10325
10326 * net/eww.el (eww): Start of strings is \\`, not ^.
10327
10328 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10329
10330 * net/shr.el (shr-browse-url): Fix interactive spec.
10331
10332 * net/eww.el (eww): Add a trailing slash to domain names.
10333
10334 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10335
10336 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10337
10338 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10339
10340 * net/shr.el (shr-browse-url): Use an external browser if given a
10341 prefix.
10342
10343 * net/eww.el (eww-external-browser): Move to shr.
10344
10345 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10346
10347 * net/eww.el (eww): Work more correctly for file: URLs.
10348 (eww-detect-charset): Allow quoted charsets.
10349 (eww-yank-page-url): New command and keystroke.
10350
10351 2013-06-24 Daiki Ueno <ueno@gnu.org>
10352
10353 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10354 file name of gpg executable.
10355 (epg-context-program): New function.
10356 (epg-context-home-directory): New function.
10357 (epg-context-set-program): New function.
10358 (epg-context-set-home-directory): New function.
10359 (epg--start): Use `epg-context-program' instead of
10360 'epg-gpg-program'.
10361 (epg--list-keys-1): Likewise.
10362
10363 2013-06-24 Leo Liu <sdl.web@gmail.com>
10364
10365 * ido.el (ido-read-internal): Fix bug#14620.
10366
10367 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10368
10369 * faces.el (face-documentation): Simplify.
10370 (read-face-attribute, tty-find-type, x-resolve-font-name):
10371 Use `string-match-p'.
10372 (list-faces-display): Use `string-match-p'. Simplify.
10373 (face-spec-recalc): Check face to avoid face alias loops.
10374 (read-color): Use `string-match-p' and non-capturing parenthesis.
10375
10376 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10377
10378 * net/shr.el (shr-rescale-image): Use the new
10379 :max-width/:max-height functionality.
10380
10381 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10382
10383 * net/eww.el (eww-search-prefix): New variable.
10384 (eww): Use it.
10385 (eww-external-browser): New variable.
10386 (eww-mode-map): New keystroke.
10387 (eww-browse-with-external-browser): New command.
10388
10389 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10390
10391 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10392
10393 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10394 Don't skip aligning the next header field when padding is 0;
10395 otherwise, field width is not respected unless the title is as
10396 wide as the field.
10397
10398 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * emacs-lisp/package.el (package-el-version): Remove.
10401 (package-process-define-package): Fix inf-loop.
10402 (package-install): Allow symbols as arguments again.
10403
10404 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10405
10406 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10407 add some more keyword-like methods.
10408 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10409
10410 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10411
10412 * bs.el (bs-buffer-show-mark): Make defvar-local.
10413 (bs-mode): Use setq-local.
10414
10415 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10416 (emacs-lock--try-unlocking): Make defvar-local.
10417
10418 2013-06-22 Glenn Morris <rgm@gnu.org>
10419
10420 * play/cookie1.el (cookie-apropos): Minor simplification.
10421
10422 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10423
10424 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10425
10426 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10427 `regexp-opt', it breaks the build during dumping.
10428
10429 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10430
10431 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10432 Highlight keyword-like methods on Kernel and Module with
10433 font-lock-builtin-face.
10434 (auto-mode-alist): Consolidate different entries into one regexp
10435 and add more *file-s.
10436
10437 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10438
10439 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10440
10441 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10442 (diary-entry): Use it in the action of this button type instead of
10443 diary-goto-entry.
10444
10445 * calendar/todo-mode.el: New version.
10446 (todo-add-category): Append new category to end of file and give
10447 it the highest number, instead of putting it at the beginning and
10448 giving it 0. Incorporate noninteractive functionality.
10449 (todo-forward-category): Adapt to 1-based category numbering.
10450 Allow skipping over archived categories.
10451 (todo-backward-category): Derive from todo-forward-category.
10452 (todo-backward-item, todo-forward-item): Make noninteractive and
10453 delegate interactive part to new commands. Make sensitive to done items.
10454 (todo-categories): Make value an alist of category names and
10455 vectors of item counts.
10456 (todo-category-beg): Make a defconst.
10457 (todo-category-number): Use 1 instead of 0 as initial value.
10458 (todo-category-select): Make sensitive to overlays, optional item
10459 highlighting and done items.
10460 (todo-delete-item): Make sensitive to overlays and marked and done items.
10461 (todo-edit-item): Make sensitive to overlays and editing of
10462 date/time header optional. Add format checks.
10463 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10464 no-op if point is not on an item. Advertise using todo-edit-quit.
10465 (todo-edit-mode): Make sensitive to new format, font-locking, and
10466 multiple todo files.
10467 (todo-insert-item, todo-insert-item-here): Derive from
10468 todo-basic-insert-item and extend functionality.
10469 (todo-item-end, todo-item-start): Make sensitive to done items.
10470 (todo-item-string): Don't return text properties. Restore point.
10471 (todo-jump-to-category): Make sensitive to multiple todo files and
10472 todo archives. Use extended category completion.
10473 (todo-lower-item, todo-raise-item): Rename to *-priority and
10474 derive from todo-set-item-priority.
10475 (todo-mode): Derive from special-mode. Make sensitive to new
10476 format, font-locking and multiple todo files. Make read-only.
10477 (todo-mode-map): Don't suppress digit keys, so they can supply
10478 prefix arguments. Add many new key bindings.
10479 (todo-prefix): Insert as an overlay instead of file text.
10480 Change semantics from diary date expression to purely visual mark.
10481 (todo-print): Rename to todo-print-buffer. Make buffer display
10482 features printable. Remove option to restrict number of items
10483 printed. Add option to print to file.
10484 (todo-print-function): Rename to todo-print-buffer-function.
10485 (todo-quit): Extend to handle exiting new todo modes.
10486 (todo-remove-item): Make sensitive to overlays.
10487 (todo-save): Extend to buffers of filtered items.
10488 (todo-show): Make sensitive to done items, multiple todo files and
10489 new todo modes. Offer to convert legacy todo file before creating
10490 first new todo file.
10491 (todo-show-priorities): Rename to todo-top-priorities.
10492 Change semantics of value 0.
10493 (todo-top-priorities): Rename to todo-filter-top-priorities,
10494 derive from todo-filter-items and extend functionality.
10495 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10496 and extend functionality to other types of filtered items.
10497 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10498 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10499 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10500 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10501 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10502 (todo-edit-mode-hook, todo-entry-prefix-function)
10503 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10504 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10505 (todo-initials, todo-insert-threshold, todo-item-string-start)
10506 (todo-line-string, todo-menu, todo-mode-hook)
10507 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10508 (todo-print-priorities, todo-remove-separator)
10509 (todo-save-top-priorities-too, todo-string-count-lines)
10510 (todo-string-multiline-p, todo-time-string-format)
10511 (todo-tmp-buffer-name): Remove.
10512 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10513 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10514 (todo-edit-category-diary-inclusion)
10515 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10516 (todo-edit-file, todo-edit-item-date-day)
10517 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10518 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10519 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10520 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10521 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10522 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10523 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10524 (todo-filter-top-priorities-multifile, todo-find-archive)
10525 (todo-find-filtered-items-file, todo-go-to-source-item)
10526 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10527 (todo-jump-to-archive-category, todo-lower-category)
10528 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10529 (todo-move-category, todo-move-item, todo-next-button)
10530 (todo-next-item, todo-padded-string, todo-powerset)
10531 (todo-previous-button, todo-previous-item)
10532 (todo-print-buffer-to-file, todo-raise-category)
10533 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10534 (todo-set-category-number, todo-set-item-priority)
10535 (todo-set-top-priorities-in-category)
10536 (todo-set-top-priorities-in-file, todo-show-categories-table)
10537 (todo-sort-categories-alphabetically-or-numerically)
10538 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10539 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10540 (todo-toggle-item-header, todo-toggle-item-highlighting)
10541 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10542 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10543 (todo-unarchive-items, todo-unmark-category): New commands.
10544 (todo-absolute-file-name, todo-add-to-buffer-list)
10545 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10546 (todo-basic-insert-item, todo-category-completions)
10547 (todo-category-number, todo-category-string-matcher-1)
10548 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10549 (todo-check-format, todo-clear-matches)
10550 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10551 (todo-current-category, todo-date-string-matcher)
10552 (todo-define-insertion-command, todo-diary-expired-matcher)
10553 (todo-diary-goto-entry, todo-diary-item-p)
10554 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10555 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10556 (todo-done-item-section-p, todo-done-separator)
10557 (todo-done-string-matcher, todo-files, todo-filter-items)
10558 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10559 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10560 (todo-insert-category-line, todo-insert-item-from-calendar)
10561 (todo-insert-sort-button, todo-insert-with-overlays)
10562 (todo-insertion-command-name, todo-insertion-key-bindings)
10563 (todo-label-to-key, todo-longest-category-name-length)
10564 (todo-make-categories-list, todo-mode-external-set)
10565 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10566 (todo-modes-set-3, todo-multiple-filter-files)
10567 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10568 (todo-read-category, todo-read-date, todo-read-dayname)
10569 (todo-read-file-name, todo-read-time)
10570 (todo-reevaluate-category-completions-files-defcustom)
10571 (todo-reevaluate-default-file-defcustom)
10572 (todo-reevaluate-filelist-defcustoms)
10573 (todo-reevaluate-filter-files-defcustom)
10574 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10575 (todo-reset-done-separator, todo-reset-done-separator-string)
10576 (todo-reset-done-string, todo-reset-global-current-todo-file)
10577 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10578 (todo-reset-prefix, todo-set-categories)
10579 (todo-set-date-from-calendar, todo-set-show-current-file)
10580 (todo-set-top-priorities, todo-short-file-name)
10581 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10582 (todo-total-item-counts, todo-update-buffer-list)
10583 (todo-update-categories-display, todo-update-categories-sexp)
10584 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10585 New functions.
10586 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10587 New major modes.
10588 (todo-categories, todo-display, todo-edit, todo-faces)
10589 (todo-filtered): New defgroups.
10590 (todo-archived-only, todo-button, todo-category-string, todo-date)
10591 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10592 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10593 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10594 (todo-add-item-if-new-category, todo-always-add-time-string)
10595 (todo-categories-align, todo-categories-archived-label)
10596 (todo-categories-category-label, todo-categories-diary-label)
10597 (todo-categories-done-label, todo-categories-number-separator)
10598 (todo-categories-todo-label, todo-categories-totals-label)
10599 (todo-category-completions-files, todo-completion-ignore-case)
10600 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10601 (todo-done-separator-string, todo-done-string)
10602 (todo-files-function, todo-filter-done-items, todo-filter-files)
10603 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10604 (todo-initial-category, todo-initial-file, todo-item-mark)
10605 (todo-legacy-date-time-regexp, todo-mode-line-function)
10606 (todo-nondiary-marker, todo-number-prefix)
10607 (todo-print-buffer-function, todo-show-current-file)
10608 (todo-show-done-only, todo-show-first, todo-show-with-done)
10609 (todo-skip-archived-categories, todo-top-priorities-overrides)
10610 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10611 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10612 New defcustoms.
10613 (todo-category-done, todo-date-pattern, todo-date-string-start)
10614 (todo-diary-items-buffer, todo-done-string-start)
10615 (todo-filtered-items-buffer, todo-item-start)
10616 (todo-month-abbrev-array, todo-month-name-array)
10617 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10618 (todo-top-priorities-buffer): New defconsts.
10619 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10620 (todo-categories-with-marks, todo-category-string-face)
10621 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10622 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10623 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10624 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10625 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10626 (todo-font-lock-keywords, todo-global-current-todo-file)
10627 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10628 (todo-insertion-commands-args)
10629 (todo-insertion-commands-args-genlist)
10630 (todo-insertion-commands-names, todo-insertion-map)
10631 (todo-key-bindings-t, todo-key-bindings-t+a)
10632 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10633 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10634 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10635 (todo-visited): New variables.
10636
10637 2013-06-21 Glenn Morris <rgm@gnu.org>
10638
10639 * play/cookie1.el (cookie-apropos): Add optional display argument.
10640 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10641 (psychoanalyze-pinhead): Use cookie-doctor.
10642
10643 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10644
10645 * emacs-lisp/package.el (tar-get-file-descriptor)
10646 (tar--extract): Declare.
10647
10648 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10649
10650 Extend flymake's warning predicate to be a function (bug#14217).
10651 * progmodes/flymake.el (flymake-warning-predicate): New.
10652 (flymake-parse-line): Use it.
10653 (flymake-warning-re): Make obsolete alias to
10654 `flymake-warning-predicate'.
10655
10656 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10657
10658 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10659 (package-obsolete-list): Remove.
10660 (package-activate): Remove min-version argument. Add `force' argument.
10661 Adjust to new package-alist format.
10662 (package-mark-obsolete): Remove.
10663 (package-unpack): Force reload of the package's autoloads.
10664 (package-installed-p): Check builtins if the installed package is not
10665 recent enough.
10666 (package-initialize): Don't reset package-obsolete-list.
10667 Don't specify which package version to activate.
10668 (package-process-define-package, describe-package-1)
10669 (package-menu--generate): Adjust to new package-alist format.
10670
10671 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10672
10673 * allout-widgets.el (allout-widgets-mode-off)
10674 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10675 (allout-widgets-post-command-business)
10676 (allout-widgets-after-copy-or-kill-function)
10677 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10678 (allout-decorate-item-and-context)
10679 (allout-graphics-modification-handler): Fix typos in docstrings.
10680 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10681
10682 * cmuscheme.el (scheme-start-file): Doc fix.
10683 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10684 (scheme-input-filter): Use `string-match-p'.
10685
10686 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10687
10688 * dired-x.el: Use Dired consistently in docstrings.
10689
10690 * dired.el: Use Dired consistently in docstrings.
10691 (dired-readin, dired-mode): Use `setq-local'.
10692 (dired-switches-alist): Make defvar-local.
10693 (dired-buffers-for-dir): Use `zerop'.
10694 (dired-safe-switches-p, dired-switches-escape-p)
10695 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10696 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10697 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10698 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10699 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10700 (dired-toggle-marks, dired-mark-files-containing-regexp)
10701 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10702 (dired-flag-auto-save-files, dired-flag-backup-files):
10703 Use `looking-at-p'.
10704 (dired-mark-files-regexp, dired-build-subdir-alist):
10705 Use `string-match-p', `looking-at-p'.
10706
10707 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10708 (direct-print-region-helper): Use `string-match-p'.
10709
10710 2013-06-21 Leo Liu <sdl.web@gmail.com>
10711
10712 * comint.el (comint-redirect-results-list-from-process):
10713 Fix infinite loop.
10714
10715 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10716
10717 * net/eww.el (eww-update-header-line-format): Quote % characters.
10718
10719 2013-06-21 Glenn Morris <rgm@gnu.org>
10720
10721 * play/cookie1.el (cookie): New custom group.
10722 (cookie-file): New option.
10723 (cookie-check-file): New function.
10724 (cookie): Make it interactive. Make start and end messages optional.
10725 Interactively, display the result. Default to cookie-file.
10726 (cookie-insert): Default to cookie-file.
10727 (cookie-snarf): Make start and end messages optional.
10728 Default to cookie-file. Use with-temp-buffer.
10729 (cookie-read): Rename from read-cookie.
10730 Make start and end messages optional. Default to cookie-file.
10731 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10732 Do not autoload it.
10733 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10734 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10735
10736 2013-06-21 Leo Liu <sdl.web@gmail.com>
10737
10738 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10739
10740 2013-06-21 Glenn Morris <rgm@gnu.org>
10741
10742 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10743
10744 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10745 Daniel Hackney <dan@haxney.org>
10746
10747 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10748 Consolidate the single-file vs tarball code.
10749 (package-desc-suffix): New function.
10750 (package-desc-full-name): Don't bother inlining it.
10751 (package-load-descriptor): Return the new package-desc.
10752 (package-mark-obsolete): Remove unused arg `package'.
10753 (package-unpack): Make it work for single files as well.
10754 Make it update package-alist.
10755 (package--make-autoloads-and-stuff): Rename from
10756 package--make-autoloads-and-compile. Don't compile any more.
10757 (package--compile): New function.
10758 (package-generate-description-file): New function, extracted from
10759 package-unpack-single.
10760 (package-unpack-single): Remove.
10761 (package--with-work-buffer): Add indentation and debugging info.
10762 (package-download-single): Remove.
10763 (package-install-from-archive): Rename from package-download-tar, make
10764 it take a pkg-desc, and make it work for single files as well.
10765 (package-download-transaction): Simplify.
10766 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10767 external tar program.
10768 (package-install-from-buffer): Remove `pkg-desc' argument.
10769 Use package-tar-file-info for tar-mode buffers.
10770 (package-install-file): Simplify accordingly.
10771 (package-archive-base): Change to take a pkg-desc.
10772 * tar-mode.el (tar--check-descriptor): New function, extracted from
10773 tar-get-descriptor.
10774 (tar-get-descriptor): Use it.
10775 (tar-get-file-descriptor): New function.
10776 (tar--extract): New function, extracted from tar-extract.
10777 (tar--extract): Use it.
10778 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10779 case the summary uses non-ascii. Adjust to new calling convention of
10780 package-tar-file-info.
10781
10782 2013-06-21 Leo Liu <sdl.web@gmail.com>
10783
10784 * comint.el (comint-redirect-results-list-from-process):
10785 Fix random delay. (Bug#14681)
10786
10787 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10788
10789 * profiler.el (profiler-format-number): Use log, not log10.
10790
10791 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10792
10793 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10794
10795 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10796
10797 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10798 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10799 yet available.
10800 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10801 (AUTOGENEL): ... here.
10802 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10803 (cl--defsubst-expand): Use it.
10804
10805 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10806
10807 * subr.el (log10): Move here from C code, and declare as obsolete.
10808 All uses of (log10 X) replaced with (log X 10).
10809
10810 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10811
10812 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10813 Declare with `defvar-local'.
10814 (tabulated-list-use-header-line, tabulated-list-entries)
10815 (tabulated-list-padding, tabulated-list-printer)
10816 (tabulated-list-sort-key): Declare with `defvar-local'.
10817 (tabulated-list-init-header, tabulated-list-print-fake-header):
10818 Use `setq-local'.
10819
10820 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10821
10822 * arc-mode.el (archive-mode): Add `archive-write-file' to
10823 `write-contents-functions' also for remote files. (Bug#14652)
10824
10825 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10826
10827 * cus-edit.el (custom-commands): Fix typos.
10828 (custom-display): Fix tooltip text.
10829 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10830 Fix typos in docstrings.
10831 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10832 (custom-unlispify-menu-entry, custom-magic-value-create)
10833 (custom-add-see-also, custom-group-value-create): Use ?\s.
10834 (custom-guess-type, customize-apropos, editable-field)
10835 (custom-face-value-create): Use `string-match-p'.
10836 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10837
10838 * custom.el (custom-load-symbol): Use `string-match-p'.
10839
10840 * ansi-color.el: Convert to lexical binding.
10841 (ansi-colors): Fix URL.
10842 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10843 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10844 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10845
10846 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10847
10848 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10849
10850 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10851
10852 2013-06-19 Tom Tromey <tromey@redhat.com>
10853
10854 * net/eww.el (eww-top-url): Remove.
10855 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10856 (eww-render): Set new variables. Don't set eww-top-url.
10857 (eww-handle-link): Handle "prev", "home", and "contents".
10858 Downcase the rel text.
10859 (eww-top-url): Choose best top URL.
10860
10861 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10862
10863 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10864 relying in widget.el. Using widget.el leads to too many
10865 user interface inconsistencies.
10866 (eww-self-insert): Implement entering commands in text fields.
10867 (eww-process-text-input): New function to make text input field editing
10868 work.
10869 (eww-submit): Rewrite to use the new-style form methods.
10870 (eww-select-display): Display the correct selected item.
10871 (eww-change-select): Implement changing the select value.
10872 (eww-toggle-checkbox): Implement radio/checkboxes.
10873 (eww-update-field): Fix compilation error.
10874 (eww-tag-textarea): Implement <textarea>.
10875
10876 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10877 we don't shadow mode-specific bindings.
10878
10879 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10880 nothing to push.
10881
10882 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10883
10884 2013-06-19 Glenn Morris <rgm@gnu.org>
10885
10886 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10887
10888 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10889
10890 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10891 not needed.
10892
10893 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10894
10895 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10896
10897 * net/browse-url.el (browse-url-browser-function):
10898 `eww-browse-url' has the right calling signature, `eww' does not.
10899
10900 2013-06-19 Glenn Morris <rgm@gnu.org>
10901
10902 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10903 Only eval autoloaded macros.
10904 (byte-compile-autoload): Only give the macro warning for macros.
10905
10906 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10907 (ps-underlined-faces): Declare.
10908
10909 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10910 (speedbar-add-supported-extension): Declare.
10911
10912 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10913 Don't include a date stamp in the header of the generated file;
10914 it leads to needless differences between output files.
10915
10916 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10917
10918 * net/secrets.el (secrets-struct-secret-content-type):
10919 Replace check of introspection data by a test call of "CreateItem".
10920 Some servers do not offer introspection.
10921
10922 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10923
10924 * electric.el (electric-pair-mode): Improve interaction with
10925 electric-layout-mode.
10926 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10927 (electric-pair-syntax): Use text-mode-syntax-table in comments
10928 and strings.
10929 (electric-pair--insert): New function.
10930 (electric-pair-post-self-insert-function): Use it and
10931 electric--after-char-pos.
10932
10933 2013-06-19 Leo Liu <sdl.web@gmail.com>
10934
10935 * progmodes/octave.el (octave-help): Fix regexp.
10936
10937 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10938
10939 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10940 (shr-table-horizontal-line): Allow nil as a value, and change the
10941 default.
10942 (shr-insert-table-ruler): Respect the nil value.
10943
10944 2013-06-18 Tom Tromey <tromey@barimba>
10945
10946 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10947 New defvars.
10948 (eww-open-file): New defun.
10949 (eww-render): Initialize new variables.
10950 (eww-display-html): Handle "link" and "a".
10951 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10952 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10953 (eww-back-url): Rename from eww-previous-url.
10954 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10955 New defuns.
10956
10957 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10958
10959 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10960 Distinguish ternary operator tokens from slash symbol and slash
10961 char literal.
10962
10963 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10964
10965 Convert symbol prettification into minor mode and global minor mode.
10966
10967 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10968 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10969 (prettify-symbols--keywords): Rename from
10970 `prog-prettify-symbols-alist' and make a local defvar.
10971 (prettify-symbols--compose-symbol): Rename from
10972 `prog--prettify-font-lock-compose-symbol'.
10973 (prettify-symbols--make-keywords): Rename from
10974 `prog-prettify-font-lock-symbols-keywords' and simplify.
10975 (prog-prettify-install): Remove.
10976 (prettify-symbols-mode): New minor mode, based on
10977 `prog-prettify-install'.
10978 (turn-on-prettify-symbols-mode): New function.
10979 (global-prettify-symbols-mode): New globalized minor mode.
10980
10981 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10982 * progmodes/cfengine.el (cfengine3-mode):
10983 * progmodes/perl-mode.el (perl-mode): Don't call
10984 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10985
10986 2013-06-18 Juri Linkov <juri@jurta.org>
10987
10988 * files-x.el (modify-file-local-variable-message): New function.
10989 (modify-file-local-variable)
10990 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10991 and call `modify-file-local-variable-message' when it's non-nil.
10992 (add-file-local-variable, delete-file-local-variable)
10993 (add-file-local-variable-prop-line)
10994 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10995 and use it. (Bug#9820)
10996
10997 2013-06-18 Juri Linkov <juri@jurta.org>
10998
10999 * emulation/vi.el (vi-shell-op):
11000 * emulation/vip.el (vip-execute-com, ex-command):
11001 * emulation/viper-cmd.el (viper-exec-bang):
11002 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11003 the call of `shell-command-on-region'. (Bug#14637)
11004
11005 * simple.el (shell-command-on-region): Doc fix.
11006
11007 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11008
11009 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11010 (bug#14633).
11011
11012 2013-06-18 Glenn Morris <rgm@gnu.org>
11013
11014 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11015
11016 * newcomment.el (comment-search-forward, comment-search-backward):
11017 Doc fix. (Bug#14376)
11018
11019 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11020
11021 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11022 (buffer-face-mode-invoke): Doc fix.
11023
11024 2013-06-18 Matthias Meulien <orontee@gmail.com>
11025
11026 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11027 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11028
11029 2013-06-18 Glenn Morris <rgm@gnu.org>
11030
11031 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11032 Replace obsolete function generic-make-keywords with its expansion.
11033
11034 * progmodes/python.el (ffap-alist): Declare.
11035
11036 * textmodes/reftex.el (bibtex-mode-map): Declare.
11037
11038 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11039
11040 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11041 (package-unpack, package-unpack-single): Return the pkg-dir.
11042 (package-download-transaction): Use it to update package-alist.
11043
11044 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11045
11046 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11047 possible choice.
11048
11049 2013-06-17 Juri Linkov <juri@jurta.org>
11050
11051 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11052
11053 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11054
11055 * emacs-lisp/package.el (package-load-descriptor):
11056 Remove `with-syntax-table' call, `read' doesn't need it.
11057 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11058
11059 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11060
11061 * startup.el (command-line): Expand package name returned by
11062 `package--description-file' (bug#14639).
11063
11064 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11065
11066 * emacs-lisp/package.el (package-load-descriptor): Do not call
11067 `emacs-lisp-mode', just use its syntax table.
11068
11069 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11070
11071 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11072 `font-lock-extra-managed-props' if any prettifying keyword is added.
11073 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11074 (prog-mode): Use `setq-local'.
11075
11076 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11077
11078 * international/characters.el (standard-case-table): Set syntax of ?»
11079 and ?« to punctuation.
11080
11081 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
11082
11083 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11084 Save relevant match data before calling `syntax-ppss' (bug#14595).
11085
11086 2013-06-15 Juri Linkov <juri@jurta.org>
11087
11088 * files-x.el (modify-file-local-variable-prop-line): Add local
11089 variables to the end of the existing comment on the first line.
11090 Use `file-auto-mode-skip' to skip interpreter magic line,
11091 and also skip XML declaration.
11092
11093 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11094
11095 * startup.el (package--builtin-versions): New var.
11096 (package-subdirectory-regexp): Remove.
11097 (package--description-file): Hard code its value instead.
11098
11099 * emacs-lisp/package.el: Don't activate packages older than builtin.
11100 (package-obsolete-list): Rename from package-obsolete-alist, and make
11101 it into a simple list of package-desc.
11102 (package-strip-version): Remove.
11103 (package-built-in-p): Use package--builtin-versions.
11104 (package-mark-obsolete): Simplify.
11105 (package-process-define-package): Mark it obsolete if older than the
11106 builtin version.
11107 (package-handle-response): Use line-end-position.
11108 (package-read-archive-contents, package--download-one-archive):
11109 Simplify.
11110 (package--add-to-archive-contents): Skip if older than the builtin or
11111 installed version.
11112 (package-menu-describe-package): Fix last change.
11113 (package-list-unversioned): New var.
11114 (package-menu--generate): Use it.
11115
11116 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11117 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11118 (autoload-builtin-package-versions): New variable.
11119 (autoload-generate-file-autoloads): Use them.
11120 Remove the list of autoloaded functions/macros from the
11121 (autoload...) comments.
11122
11123 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11124
11125 2013-06-15 Eli Zaretskii <eliz@gnu.org>
11126
11127 * simple.el (line-move-partial): Don't jump to the next screen
11128 line as soon as it becomes visible. Instead, continue enlarging
11129 the vscroll until the portion of a tall screen line that's left on
11130 display is about the height of the frame's default font.
11131 (Bug#14567)
11132
11133 2013-06-15 Glenn Morris <rgm@gnu.org>
11134
11135 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11136 compilation-error-regexp-alist void, or local while let-bound.
11137
11138 * progmodes/make-mode.el (makefile-mode-syntax-table):
11139 Treat "=" as punctuation. (Bug#14614)
11140
11141 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
11142
11143 * help-fns.el (describe-variable):
11144 Add extra line for permanent-local variables.
11145
11146 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11147
11148 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11149 Add export, import, library. (Bug#9164)
11150 (library): Set indent function.
11151
11152 2013-06-14 Glenn Morris <rgm@gnu.org>
11153
11154 * term/xterm.el (xterm--query):
11155 Stop after first matching handler. (Bug#14615)
11156
11157 2013-06-14 Ivan Kanis <ivan@kanis.fr>
11158
11159 Add support for dired in saveplace.
11160 * dired.el (dired-initial-position-hook): New variable.
11161 (dired-initial-position): Call hook to place cursor position.
11162 * saveplace.el (save-place-to-alist): Add dired position.
11163 (save-place-dired-hook): New function.
11164
11165 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11166
11167 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11168 through a symbol rather than letrec.
11169
11170 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11171 (package-desc): Add `dir' field.
11172 (package-desc-full-name): New function.
11173 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11174 (package-maybe-load-descriptor): Remove.
11175 (package-load-all-descriptors): Just call package-load-descriptor.
11176 (package--disabled-p): New function.
11177 (package-desc-vers, package-desc-doc): Remove aliases.
11178 (package--dir): Remove function.
11179 (package-activate): Check if a package is disabled.
11180 (package-process-define-package): New function, extracted from
11181 define-package.
11182 (define-package): Turn into a place holder.
11183 (package-unpack-single, package-tar-file-info):
11184 Use package--description-file.
11185 (package-compute-transaction): Use package--disabled-p.
11186 (package-download-transaction): Don't call
11187 package-maybe-load-descriptor since they're all loaded anyway.
11188 (package-install): Change argument to be a pkg-desc.
11189 (package-delete): Use a single pkg-desc argument.
11190 (describe-package-1): Use package-desc-dir instead of package--dir.
11191 Use package-desc property instead of package-symbol.
11192 (package-install-button-action): Adjust accordingly.
11193 (package--push): Rewrite.
11194 (package-menu--print-info): Adjust accordingly. Change the ID format
11195 to be a pkg-desc.
11196 (package-menu-describe-package, package-menu-get-status)
11197 (package-menu--find-upgrades, package-menu-mark-upgrades)
11198 (package-menu-execute, package-menu--name-predicate):
11199 Adjust accordingly.
11200 * startup.el (package--description-file): New function.
11201 (command-line): Use it.
11202 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11203 Use package-desc-version.
11204
11205 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11206 (byte-compile-preprocess): Use it.
11207 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11208 can't quite recognize.
11209 (byte-compile-add-to-list): Remove.
11210 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11211 (cconv-closure-convert): Add assertion.
11212
11213 * emacs-lisp/map-ynp.el: Use lexical-binding.
11214 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11215 Factor out some repeated code.
11216
11217 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11218
11219 * subr.el (with-eval-after-load): New macro.
11220 (eval-after-load): Allow form to be a function.
11221 take advantage of lexical-binding.
11222 (do-after-load-evaluation): Use dolist and adjust to new format.
11223 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11224
11225 2013-06-13 Juri Linkov <juri@jurta.org>
11226
11227 * replace.el (perform-replace): Display "symbol " and other search
11228 modes from `isearch-message-prefix' in the *Help* buffer.
11229
11230 * isearch.el (isearch-query-replace): Add " symbol" and other
11231 possible search modes from `isearch-message-prefix' to the prompt.
11232 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11233 when reading a regexp to collect.
11234
11235 2013-06-13 Juri Linkov <juri@jurta.org>
11236
11237 * isearch.el (word-search-regexp): Match whitespace if the search
11238 string begins or ends in whitespace. The LAX arg is applied to
11239 both ends of the search string. Use `regexp-quote' and explicit
11240 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11241 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11242 boundaries are replaced with symbol boundaries, and characters
11243 between symbols match non-word non-symbol syntax. (Bug#14602)
11244
11245 2013-06-13 Juri Linkov <juri@jurta.org>
11246
11247 * isearch.el (isearch-del-char): Don't exceed the length of
11248 `isearch-string' by the prefix arg. (Bug#14563)
11249
11250 2013-06-13 Juri Linkov <juri@jurta.org>
11251
11252 * isearch.el (isearch-yank-word, isearch-yank-line)
11253 (isearch-char-by-name, isearch-quote-char)
11254 (isearch-printing-char, isearch-process-search-char):
11255 Add optional count prefix arg. (Bug#14563)
11256
11257 * international/isearch-x.el
11258 (isearch-process-search-multibyte-characters):
11259 Add optional count prefix arg.
11260
11261 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11262
11263 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11264 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11265 lexical-binding.
11266
11267 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11268
11269 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11270
11271 2013-06-13 Glenn Morris <rgm@gnu.org>
11272
11273 * startup.el (tty-handle-args):
11274 Don't just discard "--" and anything after. (Bug#14608)
11275
11276 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11277
11278 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11279
11280 Implement changes in Secret Service API. Make it backward compatible.
11281 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11282 (secrets-create-item): Use it. Prefix properties with interface.
11283
11284 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11285
11286 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11287 (term-emulate-terminal): Respect term-suppress-hard-newline.
11288
11289 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11290
11291 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11292 Only remove a `thumb-file' overlay. (Bug#14548)
11293
11294 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11295
11296 * mail/reporter.el (reporter-submit-bug-report):
11297 Handle missing package-name. (Bug#14600)
11298
11299 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11300
11301 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11302 (reftex-citation-prompt, reftex-default-bibliography)
11303 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11304 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11305 (reftex-bib-sort-author, reftex-bib-sort-year)
11306 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11307 (reftex-extract-bib-entries-from-thebibliography)
11308 (reftex-get-bibkey-default, reftex-get-bib-names)
11309 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11310 (reftex-format-bib-entry, reftex-parse-bibitem)
11311 (reftex-format-bibitem, reftex-do-citation)
11312 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11313 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11314 (reftex-insert-bib-matches, reftex-format-citation)
11315 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11316 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11317 existing comments into docstrings.
11318
11319 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11320
11321 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11322
11323 2013-06-12 Andreas Schwab <schwab@suse.de>
11324
11325 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11326 for auto-save files.
11327
11328 2013-06-12 Glenn Morris <rgm@gnu.org>
11329
11330 * ido.el (ido-delete-ignored-files): Remove.
11331 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11332 Go back to calling ido-ignore-item-p directly.
11333
11334 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11335
11336 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11337
11338 * ido.el (ido-delete-ignored-files): New function,
11339 split from ido-make-file-list-1.
11340 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11341 (ido-make-file-list-1): Use ido-delete-ignored-files.
11342
11343 2013-06-12 Leo Liu <sdl.web@gmail.com>
11344
11345 * progmodes/octave.el (inferior-octave-startup)
11346 (inferior-octave-completion-table)
11347 (inferior-octave-track-window-width-change)
11348 (octave-eldoc-function-signatures, octave-help)
11349 (octave-find-definition): Use single quoted strings.
11350 (inferior-octave-startup-args): Change default value.
11351 (inferior-octave-startup): Do not hard code "-i" and
11352 "--no-line-editing".
11353 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11354 (inferior-octave-directory-tracker): Use it.
11355 (octave-goto-function-definition): Robustify.
11356 (octave-help): Support highlighting operators in 'See also'.
11357 (octave-find-definition): Find subfunctions only in Octave mode.
11358
11359 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11360
11361 * help-fns.el (help-fns--compiler-macro): If the handler function is
11362 named, then put a link to it.
11363 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11364 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11365 (cl-typep): Use it.
11366 (cl-eval-when): Simplify debug spec.
11367 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11368 compiler-macro function instead of setting `compiler-macro-file'.
11369
11370 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11371
11372 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11373 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11374
11375 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11376 Daniel Hackney <dan@haxney.org>
11377
11378 First part of Daniel Hackney's patch to package.el.
11379 * emacs-lisp/package.el: Use defstruct.
11380 (package-desc): New, main struct.
11381 (package--bi-desc, package--ac-desc): New structs, used to describe the
11382 format in external files.
11383 (package-desc-vers): Replace with package-desc-version accessor.
11384 (package-desc-doc): Replace with package-desc-summary accessor.
11385 (package-activate-1): Remove `package' arg since the pkg-vec now
11386 includes the name.
11387 (define-package): Use package-desc-from-define.
11388 (package-unpack-single): Change file-name arg to be a symbol.
11389 (package--add-to-archive-contents): Use package-desc-create and new
11390 accessor functions to package--ac-desc.
11391 (package-buffer-info, package-tar-file-info): Return a package-desc.
11392 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11393 arg to be a package-desc.
11394 (package-install-file): Adjust accordingly. Use \' to match EOS.
11395 (package--from-builtin): New function.
11396 (describe-package-1, package-menu--generate): Use it.
11397 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11398 (package-generate-autoloads): Idem and return the name of the file.
11399 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11400 Change pkg-info arg to be a package-desc.
11401 Use package-make-ac-desc.
11402 (package-upload-file): Use \' to match EOS.
11403 * finder.el (finder-compile-keywords): Use package-make-builtin.
11404
11405 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * vc/vc.el (vc-deduce-fileset): Change error message.
11408 (vc-read-backend): New function.
11409 (vc-next-action): Use it.
11410
11411 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11412
11413 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11414 (prolog-font-lock-keywords): Use regexp-opt instead.
11415 Don't manually highlight strings.
11416 (prolog-mode-variables): Simplify comment-start-skip.
11417 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11418
11419 * emacs-lisp/generic.el (generic--normalise-comments)
11420 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11421 (generic-mode-set-comments): Use them.
11422 (generic-bracket-support): Use setq-local.
11423 (generic-make-keywords-list): Declare obsolete.
11424
11425 2013-06-11 Glenn Morris <rgm@gnu.org>
11426
11427 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11428 Prettify after setting font-lock-defaults. (Bug#14574)
11429
11430 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11431
11432 * replace.el (query-replace, occur-read-regexp-defaults-function)
11433 (replace-search):
11434 * subr.el (declare-function, number-sequence, local-set-key)
11435 (substitute-key-definition, locate-user-emacs-file)
11436 (with-silent-modifications, split-string, eval-after-load):
11437 Fix typos, remove unneeded backslashes and reflow some docstrings.
11438
11439 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11440
11441 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11442 default for Elisp files.
11443
11444 2013-06-11 Glenn Morris <rgm@gnu.org>
11445
11446 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11447 although define-derived-mode was doing this anyway. (Bug#14583)
11448
11449 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11450
11451 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11452 Fix make-variable-buffer-local call to refer to the correct variable.
11453
11454 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11455
11456 * eshell/em-term.el (eshell-visual-commands)
11457 (eshell-visual-subcommands, eshell-visual-options):
11458 Add summary line to docstrings. Add cross-references.
11459
11460 2013-06-10 Glenn Morris <rgm@gnu.org>
11461
11462 * epa.el (epa-read-file-name): New function. (Bug#14510)
11463 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11464
11465 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11466
11467 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11468 output redirection to be ignored with visual commands.
11469
11470 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11471
11472 * eshell/em-term.el (eshell-visual-command-p): New function.
11473 (eshell-term-initialize): Move long lambda to separate function
11474 eshell-visual-command-p.
11475 * eshell/em-dirs.el (eshell-dirs-initialize):
11476 * eshell/em-script.el (eshell-script-initialize):
11477 Add missing #' to lambda.
11478
11479 2013-06-08 Leo Liu <sdl.web@gmail.com>
11480
11481 * progmodes/octave.el (octave-add-log-current-defun): New function.
11482 (octave-mode): Set add-log-current-defun-function.
11483 (octave-goto-function-definition): Do not move point if not found.
11484 (octave-find-definition): Enhance to try subfunctions first.
11485
11486 2013-06-08 Glenn Morris <rgm@gnu.org>
11487
11488 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11489 (byte-compile-backward-char, byte-compile-backward-word):
11490 Improve previous change, to handle non-explicit nil.
11491
11492 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11493
11494 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11495 (smie--opener/closer-at-point): New function.
11496 (smie--matching-block-data): Use it. Don't match from right after an
11497 opener or right before a closer. Obey smie-blink-matching-inners.
11498 Don't signal a mismatch for repeated inners like "switch..case..case".
11499
11500 2013-06-07 Leo Liu <sdl.web@gmail.com>
11501
11502 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11503 to t. (Bug#14303)
11504 (octave-function-header-regexp): Fix. (Bug#14570)
11505 (octave-help-mode-finish-hook, octave-help-mode-finish):
11506 Remove. Just use temp-buffer-show-hook.
11507
11508 * newcomment.el (comment-search-backward): Revert last change.
11509 (Bug#14434)
11510
11511 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11512
11513 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11514
11515 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11516 through xargs, to avoid failure due to MS-Windows limitations on
11517 command-line length.
11518
11519 2013-06-06 Glenn Morris <rgm@gnu.org>
11520
11521 * font-lock.el (lisp-font-lock-keywords-2):
11522 Treat user-error like error.
11523
11524 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11525 (byte-compile-backward-char, byte-compile-backward-word):
11526 Handle explicit nil arguments. (Bug#14565)
11527
11528 2013-06-05 Alan Mackenzie <acm@muc.de>
11529
11530 * isearch.el (isearch-allow-prefix): New user option.
11531 (isearch-other-meta-char): Don't exit isearch when a prefix
11532 argument is typed whilst `isearch-allow-prefix' is non-nil.
11533 (Bug#9706)
11534
11535 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11536
11537 * autorevert.el (auto-revert-notify-handler): Use memq.
11538 Hide assertion failure.
11539
11540 * skeleton.el: Use cl-lib.
11541 (skeleton-further-elements): Use defvar-local.
11542 (skeleton-insert): Use cl-progv.
11543
11544 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11545
11546 * progmodes/prog-mode.el (prog-prettify-symbols)
11547 (prog-prettify-install): Update docstrings.
11548
11549 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11550
11551 * simple.el: Move all the prog-mode code to prog-mode.el.
11552 * progmodes/prog-mode.el: New file.
11553 * loadup.el: Add prog-mode.el.
11554
11555 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11556
11557 * simple.el (prog-prettify-symbols): Add version.
11558 (prog-prettify-install): Add convenience function to prettify symbols.
11559
11560 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11561 (perl--augmented-font-lock-keywords-1)
11562 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11563 variables and use it.
11564
11565 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11566 (cfengine3-mode): Remove unneeded variable and use it.
11567
11568 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11569 (lisp--augmented-font-lock-keywords-1)
11570 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11571 Remove unneeded variables and use it.
11572
11573 2013-06-05 João Távora <joaotavora@gmail.com>
11574
11575 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11576 to point when opening the connection. (Bug#14380)
11577
11578 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11579
11580 * subr.el (load-history-regexp, load-history-filename-element)
11581 (eval-after-load, after-load-functions, do-after-load-evaluation)
11582 (eval-next-after-load, display-delayed-warnings)
11583 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11584 definition of save-match-data.
11585 (overriding-local-map): Remove accidental obsolescence declaration.
11586
11587 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11588
11589 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11590
11591 Generalize symbol prettify support to prog-mode and implement it
11592 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11593 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11594 (prog--prettify-font-lock-compose-symbol)
11595 (prog-prettify-font-lock-symbols-keywords): New variables and
11596 functions to support symbol prettification.
11597 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11598 (lisp--augmented-font-lock-keywords-1)
11599 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11600 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11601 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11602 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11603 Implement prettify of -> => :: strings.
11604 * progmodes/perl-mode.el (perl-prettify-symbols)
11605 (perl--font-lock-compose-symbol)
11606 (perl--font-lock-symbols-keywords): Move to prog-mode.
11607 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11608 (perl-font-lock-keywords-1)
11609 (perl-font-lock-keywords-2): Remove explicit prettify support.
11610 (perl--augmented-font-lock-keywords)
11611 (perl--augmented-font-lock-keywords-1)
11612 (perl--augmented-font-lock-keywords-2, perl-mode):
11613 Implement prettify support.
11614
11615 2013-06-05 Leo Liu <sdl.web@gmail.com>
11616
11617 Re-implement SMIE matching block highlight using
11618 show-paren-data-function. (Bug#14395)
11619 * emacs-lisp/smie.el (smie-matching-block-highlight)
11620 (smie--highlight-matching-block-overlay)
11621 (smie--highlight-matching-block-lastpos)
11622 (smie-highlight-matching-block)
11623 (smie-highlight-matching-block-mode): Remove.
11624 (smie--matching-block-data-cache): New variable.
11625 (smie--matching-block-data): New function.
11626 (smie-setup): Use smie--matching-block-data for
11627 show-paren-data-function.
11628
11629 * progmodes/octave.el (octave-mode-menu): Fix.
11630 (octave-find-definition): Skip garbage lines.
11631
11632 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11633
11634 Fix compilation error with simultaneous dynamic+lexical scoping.
11635 Add warning when a defvar appears after the first let-binding.
11636 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11637 (byte-compile-close-variables): Initialize it.
11638 (byte-compile--declare-var): New function.
11639 (byte-compile-file-form-defvar)
11640 (byte-compile-file-form-define-abbrev-table)
11641 (byte-compile-file-form-custom-declare-variable): Use it.
11642 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11643 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11644 (byte-compile-bind): Handle dynamic bindings that shadow
11645 lexical bindings.
11646 (byte-compile-unbind): Make arg non-optional.
11647 (byte-compile-let): Simplify.
11648 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11649 (cconv--analyse-function, cconv-analyse-form): Populate it.
11650 Protect byte-compile-bound-variables to limit the scope of defvars.
11651 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11652 Remove unneeded rule for `declare'.
11653
11654 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11655 so as to avoid depending on cl-adjoin at run-time.
11656 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11657
11658 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11659 (macroexp--warn-and-return): Use it.
11660
11661 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11662
11663 * subr.el: Convert to lexical binding.
11664 (overriding-local-map): Make obsolete.
11665 (add-to-list): Doc fix. Add compiler macro.
11666 (read-key): Swap values of local maps.
11667
11668 2013-06-05 Leo Liu <sdl.web@gmail.com>
11669
11670 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11671
11672 2013-06-04 Leo Liu <sdl.web@gmail.com>
11673
11674 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11675 (compilation-auto-jump): Suppress the "Mark set" message to give
11676 way to exit message.
11677
11678 2013-06-04 Alan Mackenzie <acm@muc.de>
11679
11680 Remove faulty optimisation from indentation calculation.
11681 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11682 search limit based on 2000 characters back from indent-point.
11683
11684 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11685
11686 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11687
11688 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11689
11690 * emacs-lisp/lisp.el: Use lexical-binding.
11691 (lisp--local-variables-1, lisp--local-variables): New functions.
11692 (lisp--local-variables-completion-table): New var.
11693 (lisp-completion-at-point): Use it complete let-bound vars.
11694
11695 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11696 eagerly (bug#14422).
11697
11698 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11699
11700 * autorevert.el (auto-revert-notify-enabled)
11701 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11702 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11703 (auto-revert-notify-handler): Handle also gfilenotify.
11704
11705 * subr.el (file-notify-handle-event): New defun. Replacing ...
11706 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11707 Remove.
11708
11709 2013-06-03 Juri Linkov <juri@jurta.org>
11710
11711 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11712 `M-s h .'. (Bug#14427)
11713
11714 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11715 command `hi-lock-face-symbol-at-point'.
11716 (hi-lock-face-symbol-at-point): New command.
11717 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11718 (hi-lock-menu): Add `highlight-symbol-at-point'.
11719 (hi-lock-mode): Doc fix.
11720
11721 * isearch.el (isearch-forward-symbol-at-point): New command.
11722 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11723 (isearch-highlight-regexp): Add a regexp which matches
11724 words/symbols for word/symbol mode.
11725
11726 * subr.el (find-tag-default-bounds): New function with the body
11727 mostly moved from `find-tag-default'.
11728 (find-tag-default): Move most code to `find-tag-default-bounds',
11729 call it and apply `buffer-substring-no-properties' afterwards.
11730
11731 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11732
11733 * eshell/em-term.el (eshell-term-initialize):
11734 Use `cl-intersection' rather than `intersection'.
11735
11736 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11737
11738 * vc/log-view.el: Doc fix.
11739 (log-view-mode-map): Copy keymap from `special-mode-map'.
11740
11741 2013-06-02 Eric Ludlam <zappo@gnu.org>
11742
11743 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11744 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11745 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11746 (eieio-unbound, eieio-default-superclass)
11747 (eieio--define-field-accessors, method-static, method-before)
11748 (method-primary, method-after, method-num-lists)
11749 (method-generic-before, method-generic-primary)
11750 (method-generic-after, method-num-slots)
11751 (eieio-specialized-key-to-generic-key)
11752 (eieio--check-type, class-v, class-p)
11753 (eieio-class-name, define-obsolete-function-alias)
11754 (eieio-class-parents-fast, eieio-class-children-fast)
11755 (same-class-fast-p, class-constructor, generic-p)
11756 (generic-primary-only-p, generic-primary-only-one-p)
11757 (class-option-assoc, class-option, eieio-object-p)
11758 (class-abstract-p, class-method-invocation-order)
11759 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11760 (eieio-class-un-autoload, eieio-defclass)
11761 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11762 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11763 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11764 (eieio-defgeneric-reset-generic-form)
11765 (eieio-defgeneric-form-primary-only)
11766 (eieio-defgeneric-reset-generic-form-primary-only)
11767 (eieio-defgeneric-form-primary-only-one)
11768 (eieio-defgeneric-reset-generic-form-primary-only-one)
11769 (eieio-unbind-method-implementations)
11770 (eieio--defmethod, eieio--typep)
11771 (eieio-perform-slot-validation, eieio-validate-slot-value)
11772 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11773 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11774 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11775 (eieio-slot-name-index, eieio-class-slot-name-index)
11776 (eieio-set-defaults, eieio-initarg-to-attribute)
11777 (eieio-attribute-to-initarg, eieio-c3-candidate)
11778 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11779 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11780 (eieio-class-precedence-list, eieio-generic-call-methodname)
11781 (eieio-generic-call-arglst, eieio-generic-call-key)
11782 (eieio-generic-call-next-method-list)
11783 (eieio-pre-method-execution-functions, eieio-generic-call)
11784 (eieio-generic-call-primary-only, eieiomt-method-list)
11785 (eieiomt-optimizing-obarray, eieiomt-install)
11786 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11787 (eieio-generic-form, eieio-defmethod, make-obsolete)
11788 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11789 (defclass): Remove `eval-and-compile' from macro.
11790 (call-next-method, shared-initialize): Instead of using
11791 `scoped-class' variable, use new eieio--scoped-class, and
11792 eieio--with-scoped-class.
11793 (initialize-instance): Rename local variable 'scoped-class' to
11794 'this-class' to remove ambiguitity from old global.
11795
11796 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11797 eieio.el.
11798 (eieio--scoped-class-stack): New variable.
11799 (eieio--scoped-class): New fcn.
11800 (eieio--with-scoped-class): New scoping macro.
11801 (eieio-defclass): Use pushnew instead of add-to-list.
11802 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11803 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11804 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11805 `scoped-class' variable, use new eieio--scoped-class, and
11806 eieio--with-scoped-class.
11807
11808 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11809
11810 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11811
11812 * eshell/esh-ext.el (eshell-external-command): Pass args to
11813 `eshell-find-interpreter'.
11814 (eshell-find-interpreter): Add new second parameter ARGS.
11815
11816 * eshell/em-script.el (eshell-script-initialize): Add second arg
11817 to the function added as MATCH to `eshell-interpreter-alist'.
11818
11819 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11820 the function added as MATCH to `eshell-interpreter-alist'.
11821
11822 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11823 (eshell-visual-options): New defcustom.
11824 (eshell-escape-control-x): Adapt docstring.
11825 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11826 `eshell-visual-options' in addition to `eshell-visual-commands'.
11827 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11828
11829 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11830
11831 * progmodes/python.el (python-indent-block-enders): Add break,
11832 continue and raise keywords.
11833
11834 2013-06-01 Glenn Morris <rgm@gnu.org>
11835
11836 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11837
11838 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11839 * progmodes/cc-cmds.el (delete-forward-p):
11840 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11841 * progmodes/cc-engine.el (buffer-syntactic-context):
11842 * progmodes/cc-fonts.el (face-property-instance):
11843 * progmodes/cc-mode.el (set-keymap-parents):
11844 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11845 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11846 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11847 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11848 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11849
11850 * progmodes/cc-vars.el (other): Emacs has this widget since
11851 at least 21.1, so don't (re)define it.
11852
11853 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11854 Replace the obsolete alias pcomplete-arg-quote-list.
11855
11856 2013-06-01 Leo Liu <sdl.web@gmail.com>
11857
11858 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11859 punctuation syntax.
11860 (inferior-octave-minimal-columns)
11861 (inferior-octave-last-column-width): New variables.
11862 (inferior-octave-track-window-width-change): New function.
11863 (inferior-octave-mode): Adjust column width so that Octave output,
11864 for example from 'ls', can fit into the window nicely.
11865
11866 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11867
11868 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11869 Highlight expansions inside regexp literals.
11870
11871 2013-05-31 Glenn Morris <rgm@gnu.org>
11872
11873 * obsolete/sym-comp.el (symbol-complete):
11874 Replace obsolete completion-annotate-function.
11875
11876 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11877
11878 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11879
11880 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11881 New function, checks if point is inside a literal that allows
11882 expression expansion.
11883 (ruby-syntax-propertize-expansion): Use it.
11884 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11885 around the body.
11886
11887 2013-05-30 Juri Linkov <juri@jurta.org>
11888
11889 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11890 to "\M-si".
11891 (isearch-invisible): New variable.
11892 (isearch-forward): Doc fix.
11893 (isearch-mode): Set `isearch-invisible'
11894 to the value of `search-invisible'.
11895 (isearch-toggle-case-fold): Doc fix.
11896 (isearch-toggle-invisible): New command.
11897 (isearch-query-replace): Let-bind `search-invisible'
11898 to the value of `isearch-invisible'.
11899 (isearch-search): Use `isearch-invisible' instead of
11900 `search-invisible'. Let-bind `search-invisible'
11901 to the value of `isearch-invisible'. (Bug#11378)
11902
11903 2013-05-30 Juri Linkov <juri@jurta.org>
11904
11905 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11906 call when `query-flag' is nil and `search-invisible' is non-nil.
11907 (Bug#11746)
11908
11909 2013-05-30 Glenn Morris <rgm@gnu.org>
11910
11911 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11912
11913 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11914 (cc-require): Suppress spurious "noruntime" warnings.
11915 (cc-require-when-compile): Use fboundp, for sake of compiler.
11916
11917 * progmodes/cc-mode.el: Move load of cc-vars before that of
11918 cc-langs (which in turn loads cc-vars), to quieten compiler.
11919
11920 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11921
11922 * paren.el: Simplify the code.
11923 (show-paren-mode): Always start the timer.
11924 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11925 (show-paren--overlay, show-paren--overlay-1): Rename from
11926 show-paren-overlay and show-paren-overlay-1, and initialize to an
11927 overlay rather than to nil.
11928 (show-paren-function): Misc cleanup and simplifications.
11929
11930 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11931
11932 * paren.el (show-paren-data-function): New hook.
11933 (show-paren--default): New function, extracted from show-paren-function.
11934 (show-paren-function): Use show-paren-data-function.
11935
11936 2013-05-30 Glenn Morris <rgm@gnu.org>
11937
11938 * ielm.el (ielm-map, ielm-complete-symbol):
11939 Use completion-at-point rather than obsolete functions.
11940 (inferior-emacs-lisp-mode): Doc fix.
11941 Set completion-at-point-functions, rather than
11942 comint-dynamic-complete-functions.
11943
11944 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11945 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11946 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11947
11948 * image.el (image-animated-p): Tweak definition.
11949
11950 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11951 (rlogin-process-connection-type): Tweak default. Add set-after.
11952 (rlogin-host): Doc fix.
11953 (rlogin): Tweak prompt.
11954 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11955
11956 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11957 * progmodes/tcl.el (inferior-tcl-mode-map):
11958 Use completion-at-point rather than obsolete alias.
11959
11960 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11961
11962 * minibuffer.el (read-file-name-completion-ignore-case):
11963 Move before completion--in-region, for eager macro expansion.
11964
11965 2013-05-29 Juri Linkov <juri@jurta.org>
11966
11967 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11968 for total count of matching lines. Add `global-matches' for total
11969 count of matches. Rename `matches' to `lines' for count of
11970 matching lines. Add `matches' for count of matches.
11971 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11972 to `prev-line' for line number of prev match endpt.
11973 Increment `matches' for every match. Print the number of
11974 matching lines in the header.
11975 (occur-context-lines): Rename `lines' to `curr-line'.
11976 Rename `prev-lines' to `prev-line'. (Bug#14017)
11977
11978 2013-05-29 Juri Linkov <juri@jurta.org>
11979
11980 * replace.el (perform-replace): Add `skip-read-only-count',
11981 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11982 Increment them for corresponding conditions and report the number
11983 of skipped occurrences in the final message. (Bug#11746)
11984 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11985 (replace-string, replace-regexp): Doc fix.
11986
11987 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11988
11989 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11990
11991 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11992 prog-mode-map (bug#14504).
11993
11994 2013-05-29 Leo Liu <sdl.web@gmail.com>
11995
11996 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11997 (octave-help): Small simplification.
11998
11999 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12000 off the highlight first.
12001
12002 2013-05-29 Glenn Morris <rgm@gnu.org>
12003
12004 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12005 Handle idlwave-last-system-routine-info-cons-cell being nil.
12006
12007 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12008 (idlwave-write-paths): Simplify via with-temp-buffer.
12009
12010 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12011 * emulation/cua-rect.el: Also load cua-base at run time.
12012
12013 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12014 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12015 (cperl-imenu-on-info): Require imenu.
12016
12017 2013-05-28 Alan Mackenzie <acm@muc.de>
12018
12019 Handle "capitalised keywords" correctly.
12020 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12021
12022 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
12023
12024 * eshell/em-unix.el: Add -r option to cp.
12025
12026 2013-05-28 Glenn Morris <rgm@gnu.org>
12027
12028 * vc/vc-arch.el (vc-exec-after): Declare.
12029 (vc-switches): Autoload.
12030 * vc/vc-bzr.el: No need to require vc when compiling.
12031 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12032 (vc-resynch-buffer, vc-dir-refresh): Declare.
12033 (vc-setup-buffer, vc-switches): Autoload.
12034 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12035 (vc-resynch-buffer): Declare.
12036 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12037 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12038 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12039 (grep-read-regexp, grep-read-files, grep-expand-template)
12040 (vc-dir-refresh): Declare.
12041 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12042 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12043 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12044 * vc/vc-mtn.el (vc-exec-after): Declare.
12045 (vc-switches): Autoload.
12046 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12047 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12048 (vc-file-tree-walk): Declare.
12049 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12050 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12051 (vc-tag-precondition, vc-rename-master): Autoload.
12052 * vc/vc-svn.el (vc-exec-after): Declare.
12053 (vc-switches, vc-setup-buffer): Autoload.
12054 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12055 Autoload.
12056 (vc-resynch-buffer): Declare.
12057
12058 * obsolete/fast-lock.el (byte-compile-warnings):
12059 Don't warn about obsolete features in this obsolete file.
12060
12061 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12062 Move definition before use.
12063
12064 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12065 (dun-unix-verbs): Remove dun-zippy.
12066 (dun-zippy): Remove function.
12067
12068 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12069
12070 2013-05-27 Juri Linkov <juri@jurta.org>
12071
12072 * replace.el (replace-search): New function with code moved out
12073 from `perform-replace'.
12074 (replace-highlight, replace-dehighlight): Move function definitions
12075 up closer to `replace-search'. (Bug#11746)
12076
12077 2013-05-27 Juri Linkov <juri@jurta.org>
12078
12079 * replace.el (perform-replace): Ignore invisible matches.
12080 In addition to checking `query-replace-skip-read-only', also
12081 filter out matches by calling `run-hook-with-args-until-failure'
12082 on `isearch-filter-predicates', and also check `search-invisible'
12083 for t or call `isearch-range-invisible'.
12084 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12085
12086 2013-05-27 Juri Linkov <juri@jurta.org>
12087
12088 * isearch.el (isearch-filter-predicates): Rename from
12089 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12090 (isearch-message-prefix): Display text from the property
12091 `isearch-message-prefix' of the currently active filters.
12092 (isearch-search): Don't compare `isearch-filter-predicate' with
12093 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12094 on `isearch-filter-predicates'. Also check `search-invisible' for t
12095 or call `isearch-range-invisible'.
12096 (isearch-filter-visible): Make obsolete.
12097 (isearch-lazy-highlight-search):
12098 Call `run-hook-with-args-until-failure' on
12099 `isearch-filter-predicates' and use `isearch-range-invisible'.
12100
12101 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12102 `isearch-filter-predicates' instead of `funcall'ing
12103 `isearch-filter-predicate'.
12104 (Info-mode): Set `Info-isearch-filter' to
12105 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12106
12107 * dired-aux.el (dired-isearch-filter-predicate-orig):
12108 Remove variable.
12109 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12110 (dired-isearch-filenames-end): Add and remove
12111 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12112 instead of changing the value of `isearch-filter-predicate'.
12113 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12114 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12115 Put property `isearch-message-prefix' to "filename " on
12116 `dired-isearch-filter-filenames'.
12117
12118 * wdired.el (wdired-change-to-wdired-mode):
12119 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12120 locally instead of changing `isearch-filter-predicate'.
12121 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12122
12123 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12124
12125 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12126 return the commit hash (Bug#14459). Also set the
12127 `vc-git-detached' property.
12128 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12129 (vc-git-mode-line-string): Use the same help-echo format whether
12130 in detached mode or not, because we know the actual revision now.
12131 When in detached mode, shorten the revision to 7 chars.
12132
12133 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12134
12135 * emacs-lisp/easy-mmode.el (define-minor-mode):
12136 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12137 mode hook and provide a docstring.
12138
12139 2013-05-27 Alan Mackenzie <acm@muc.de>
12140
12141 Remove spurious syntax-table text properties inserted by C-y.
12142 * progmodes/cc-mode.el (c-after-change): Also clear hard
12143 syntax-table property with value nil.
12144
12145 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
12146
12147 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12148 when reading the events; the buffer layout shall not be changed.
12149
12150 2013-05-27 Leo Liu <sdl.web@gmail.com>
12151
12152 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12153 New variable.
12154 (inferior-octave-directory-tracker): Automatically re-sync
12155 default-directory.
12156 (octave-help): Improve handling of 'See also'.
12157
12158 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12159
12160 * doc-view.el: Minor naming convention tweaks.
12161 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12162
12163 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12164 even if there's no `display' property yet (bug#14435).
12165
12166 2013-05-25 Eli Zaretskii <eliz@gnu.org>
12167
12168 * subr.el (unmsys--file-name): Rename from reveal-filename.
12169
12170 * Makefile.in (custom-deps, finder-data, autoloads)
12171 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12172 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12173 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12174
12175 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12176
12177 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12178 error-completion on the first 2 args of condition-case (bug#14446).
12179 Don't burp at EOB.
12180
12181 2013-05-25 Leo Liu <sdl.web@gmail.com>
12182
12183 * comint.el (comint-previous-matching-input): Do not flood the
12184 *Messages* buffer with trivial messages.
12185
12186 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12187
12188 * progmodes/flymake.el (flymake-nop): Don't return a string.
12189 (flymake-set-at): Fix typo.
12190
12191 * simple.el (read--expression): New function, extracted from
12192 eval-expression. Set completion-at-point-functions (bug#14465).
12193 (eval-expression, eval-minibuffer): Use it.
12194
12195 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12196
12197 * progmodes/flymake.el (flymake-save-buffer-in-file)
12198 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12199 (flymake-selected-frame, flymake-log, flymake-ins-after)
12200 (flymake-set-at, flymake-get-buildfile-from-cache)
12201 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12202 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12203 Refine the doc string.
12204 (flymake-get-file-name-mode-and-masks): Reformat.
12205 (flymake-get-real-file-name-function): Fix a minor bug.
12206
12207 2013-05-24 Juri Linkov <juri@jurta.org>
12208
12209 * progmodes/grep.el (grep-mode-font-lock-keywords):
12210 Support =linenumber= format used by git-grep for lines with
12211 function names. (Bug#13549)
12212
12213 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12214
12215 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12216 0 after a semi-colon; it works better for smie-auto-fill.
12217 (octave--indent-new-comment-line): New function.
12218 (octave-indent-new-comment-line): Use it (indirectly).
12219 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12220 modify comment-line-break-function.
12221
12222 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12223 (smie-setup): Use add-function to set it.
12224
12225 2013-05-24 Sam Steingold <sds@gnu.org>
12226
12227 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12228 argument (before the `interactive' argument).
12229
12230 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * image-mode.el (image-mode-winprops): Add winprops to
12233 image-mode-winprops-alist before running
12234 image-mode-new-window-functions.
12235 * doc-view.el (doc-view-new-window-function): Don't delay
12236 doc-view-goto-page via timers (bug#14435).
12237
12238 2013-05-24 Tassilo Horn <tsdh@gnu.org>
12239
12240 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12241 (doc-view-desktop-save-buffer): New function.
12242 (doc-view-restore-desktop-buffer): New function.
12243 (desktop-buffer-mode-handlers):
12244 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
12245 handler.
12246 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12247 `desktop-save-buffer' function.
12248
12249 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
12250
12251 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12252 (tramp-gvfs-file-name-handler): Raise a user error when
12253 `tramp-gvfs-enabled' is nil.
12254 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12255 Do not raise a user error when loading package. (Bug#14447)
12256
12257 * net/xesam.el: Move to obsolete/.
12258
12259 2013-05-24 Glenn Morris <rgm@gnu.org>
12260
12261 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12262
12263 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12264
12265 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12266 (Info-find-node, Man-getpage-in-background): Declare.
12267
12268 * mail/unrmail.el (unrmail):
12269 Replace obsolete detect-coding-with-priority.
12270
12271 * net/socks.el (socks-split-string): Use this rather than split-string.
12272 (socks-nslookup-host): Update for above change.
12273 (dynamic-choice, s5-dynamic-choice-match)
12274 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12275 Comment out unused code.
12276
12277 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12278 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12279 (gud-tooltip-echo-area): Make obsolete.
12280 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12281
12282 * progmodes/js.el (js--optimize-arglist): Declare.
12283
12284 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12285
12286 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12287 (ediff-window-C): Declare.
12288
12289 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12290 Tweak requires to silence compiler.
12291
12292 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12293 (he-search-string, he-tried-table, he-expand-list)
12294 (he-init-string, he-string-member, he-substitute-string)
12295 (he-reset-string): Declare.
12296
12297 * obsolete/options.el (list-options): Use custom-variable-p,
12298 rather than obsolete alias.
12299
12300 2013-05-23 Sam Steingold <sds@gnu.org>
12301
12302 * simple.el (shell-command-on-region): Pass the `replace' argument
12303 down to `call-process-region' to comply with the doc as reported on
12304 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12305
12306 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12307
12308 * emacs-lisp/smie.el (smie-indent-forward-token)
12309 (smie-indent-backward-token): Handle string tokens (bug#14381).
12310
12311 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12312
12313 * ielm.el (ielm-menu): New menu.
12314 (inferior-emacs-lisp-mode): Set comment-start.
12315
12316 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12317
12318 * textmodes/reftex.el (reftex-ref-style-toggle):
12319 Fix deactivate action.
12320
12321 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12322 Add cleveref macros.
12323
12324 * textmodes/reftex-parse.el
12325 (reftex-locate-bibliography-files): Accept options for
12326 bibliography commands.
12327 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12328 Add addbibresource. Basic Biblatex support.
12329
12330 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12331
12332 * net/tramp-gvfs.el (top):
12333 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12334 when loading package. (Bug#14447)
12335
12336 2013-05-23 Glenn Morris <rgm@gnu.org>
12337
12338 * progmodes/js.el: No need to load comint when compiling.
12339 (ring-insert, comint-send-string, comint-send-input)
12340 (comint-last-input-end, ido-chop): Declare.
12341
12342 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12343 * vc/ediff-mult.el: Adjust requires.
12344 (ediff-directories-internal, ediff-directory-revisions-internal)
12345 (ediff-patch-file-internal): Declare.
12346 * vc/ediff-ptch.el: Adjust requires.
12347 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12348 (ediff-find-file): Autoload.
12349 * vc/ediff-util.el: No need to load ediff when compiling.
12350 (ediff-regions-internal): Declare.
12351 * vc/ediff-wind.el: Adjust requires.
12352 (ediff-compute-toolbar-width): Define when compiling.
12353 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12354 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12355 (dired-get-filename, dired-get-marked-files)
12356 (ediff-last-dir-patch, ediff-patch-default-directory)
12357 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12358 (ediff-patch-buffer-internal): Declare.
12359
12360 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12361 (ispell-process, ispell-buffer-local-words, lm-summary)
12362 (lm-section-start, lm-section-end): Declare.
12363 (checkdoc-ispell-init): Simplify.
12364
12365 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12366 (he-string-member, he-reset-string, he-substitute-string): Declare.
12367
12368 * eshell/em-ls.el: Adjust requires.
12369 (eshell-glob-regexp): Declare.
12370 * eshell/em-tramp.el: Adjust requires.
12371 (eshell-parse-command): Autoload.
12372 * eshell/em-xtra.el: Adjust requires.
12373 (eshell-parse-command): Autoload.
12374 * eshell/esh-ext.el: Adjust requires.
12375 (eshell-parse-command, eshell-close-handles): Autoload.
12376 * eshell/esh-io.el: Adjust requires.
12377 (eshell-output-filter): Autoload.
12378 * eshell/esh-util.el: No need to load tramp when compiling.
12379 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12380 Declare.
12381 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12382 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12383 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12384 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12385 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12386 * eshell/esh-opt.el, eshell/esh-proc.el:
12387 * eshell/esh-var.el: Adjust requires.
12388 * eshell/eshell.el: Do not require esh-util twice.
12389 (eshell-add-input-to-history): Declare.
12390 (eshell-command): Check history module is active before using it.
12391
12392 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12393
12394 2013-05-22 Leo Liu <sdl.web@gmail.com>
12395
12396 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12397
12398 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12399
12400 * autorevert.el (auto-revert-notify-add-watch)
12401 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12402 it indicates changes in file modification time.
12403
12404 2013-05-22 Glenn Morris <rgm@gnu.org>
12405
12406 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12407 Always delete the autoloaded function from the noruntime and
12408 unresolved functions lists.
12409
12410 * allout.el: No need to load epa, epg, overlay when compiling.
12411 (epg-context-set-passphrase-callback, epg-list-keys)
12412 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12413 (epg-key-user-id-list): Declare.
12414
12415 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12416 (viper-set-parsing-style-toggling-macro)
12417 (viper-set-emacs-state-searchstyle-macros):
12418 Use called-interactively-p on Emacs.
12419 (viper-looking-back): Make it an obsolete alias. Update callers.
12420 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12421 Use looking-back rather than viper-looking-back.
12422 (viper-tmp-insert-at-eob, viper-enlarge-region)
12423 (viper-read-string-with-history, viper-register-to-point)
12424 (viper-append-to-register, viper-change-state-to-vi)
12425 (viper-backward-char-carefully, viper-forward-char-carefully)
12426 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12427 (viper-change-state-to-emacs): Declare.
12428 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12429 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12430 * emulation/viper-mous.el: Do not load viper-cmd.
12431 (viper-backward-char-carefully, viper-forward-char-carefully)
12432 (viper-forward-word, viper-adjust-window): Declare.
12433
12434 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12435
12436 * progmodes/idlw-help.el (idlwave-help-fontify):
12437 Use called-interactively-p.
12438
12439 * term/w32console.el (w32-get-console-codepage)
12440 (w32-get-console-output-codepage): Declare.
12441
12442 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12443 Remove unnecessary declarations.
12444 (dframe-message): Doc fix.
12445
12446 * info.el (dframe-select-attached-frame, dframe-current-frame):
12447 Declare.
12448
12449 * speedbar.el (speedbar-message): Make it an obsolete alias.
12450 Update all callers.
12451 (speedbar-with-attached-buffer)
12452 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12453 (speedbar-with-writable): Use backquote.
12454 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12455 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12456 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12457 rather than speedbar- aliases.
12458 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12459 (speedbar-make-specialized-keymap, speedbar-insert-button)
12460 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12461 (speedbar-do-function-pointer): Declare.
12462 (rmail-speedbar-button, rmail-speedbar-find-file)
12463 (rmail-speedbar-move-message):
12464 Use dframe-with-attached-buffer rather than speedbar- alias.
12465 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12466 (dframe-message, speedbar-make-specialized-keymap)
12467 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12468 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12469 (speedbar-insert-button, dframe-select-attached-frame)
12470 (dframe-maybee-jump-to-attached-frame)
12471 (speedbar-change-initial-expansion-list)
12472 (speedbar-previously-used-expansion-list-name): Declare.
12473 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12474 Use dframe-message, dframe-with-attached-buffer rather than
12475 speedbar- aliases.
12476 (gud-sentinel): Silence compiler.
12477 * progmodes/vhdl-mode.el (speedbar-refresh)
12478 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12479 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12480 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12481 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12482 (speedbar-file-lists, speedbar-make-tag-line)
12483 (speedbar-line-directory, speedbar-goto-this-file)
12484 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12485 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12486 (speedbar-make-button, speedbar-reset-scanners)
12487 (speedbar-files-item-info, speedbar-line-text)
12488 (speedbar-find-file-in-frame, speedbar-set-timer)
12489 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12490 (speedbar-with-writable): Do not (re)define it.
12491 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12492 rather than speedbar- alias.
12493
12494 2013-05-21 Leo Liu <sdl.web@gmail.com>
12495
12496 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12497 menu items.
12498 (octave-mode): Tweak fill-nobreak-predicate.
12499 (inferior-octave-startup): Check process to avoid infinite loop.
12500 (inferior-octave): Pop to buffer first to show abornmal process
12501 exit information.
12502
12503 2013-05-21 Glenn Morris <rgm@gnu.org>
12504
12505 * printing.el (pr-menu-bar): Define when compiling.
12506
12507 2013-05-21 Leo Liu <sdl.web@gmail.com>
12508
12509 * progmodes/octave.el (octave-auto-fill): Remove.
12510 (octave-indent-new-comment-line): Improve.
12511 (octave-mode): Use auto fill mode through
12512 comment-line-break-function and fill-nobreak-predicate.
12513 (octave-goto-function-definition): Support DEFUN_DLD.
12514 (octave-beginning-of-defun): Small tweak.
12515 (octave-help): Show parent directory.
12516
12517 2013-05-21 Glenn Morris <rgm@gnu.org>
12518
12519 * files.el (dired-unmark):
12520 * progmodes/gud.el (gdb-input): Update declarations.
12521
12522 * calculator.el (electric, ehelp): No need to load when compiling.
12523 (Electric-command-loop, electric-describe-mode): Declare.
12524
12525 * doc-view.el (doc-view-current-converter-processes): Move before use.
12526
12527 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12528 Move MODE-set-explicitly definition before use.
12529
12530 * international/mule-diag.el (mule-diag):
12531 Don't use obsolete window-system-version.
12532
12533 * mail/feedmail.el (smtpmail): No need to load when compiling.
12534 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12535
12536 * mail/mail-utils.el (rfc822): No need to load when compiling.
12537 (rfc822-addresses): Autoload it.
12538 (mail-strip-quoted-names): Trivial simplification.
12539
12540 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12541 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12542
12543 * net/snmp-mode.el (tempo): Don't duplicate requires.
12544
12545 * progmodes/prolog.el (info): No need to load when compiling.
12546 (comint): Require before shell requires it.
12547 (Info-goto-node): Autoload it.
12548 (Info-follow-nearest-node): Declare.
12549 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12550
12551 * textmodes/artist.el (picture-mode-exit): Declare.
12552
12553 * textmodes/reftex-parse.el (reftex-parse-from-file):
12554 Trivial rewrite so the compiler can parse it better.
12555
12556 2013-05-20 Leo Liu <sdl.web@gmail.com>
12557
12558 * progmodes/octave.el (octave-help-mode-map)
12559 (octave-help-mode-finish-hook): New variables.
12560 (octave-help-mode, octave-help-mode-finish): New functions.
12561 (octave-help): Use octave-help-mode.
12562
12563 2013-05-20 Glenn Morris <rgm@gnu.org>
12564
12565 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12566
12567 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12568
12569 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12570 start at point, so that expansion starting right after opening
12571 slash in a regexp is recognized.
12572 (ruby-syntax-before-regexp-re): New defvar, extracted from
12573 ruby-syntax-propertize-function. Since the value of this regexp
12574 is looked up at runtime now, we should be able to turn
12575 `ruby-syntax-methods-before-regexp' into a defcustom later.
12576 (ruby-syntax-propertize-function): Split regexp matching into two
12577 parts, for opening and closing slashes. That allows us to skip
12578 over string interpolations and support multiline regexps.
12579 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12580 for them, which calls `ruby-syntax-propertize-expansion'.
12581 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12582 call to `ruby-syntax-propertize-function'.
12583 (ruby-syntax-propertize-expansion): Extracted from
12584 `ruby-syntax-propertize-expansions'. Handles one expansion.
12585 (ruby-syntax-propertize-percent-literal): Leave point right after
12586 the percent symbol, so that the expression expansion rule can
12587 propertize the contents.
12588 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12589 heredoc openers.
12590 (ruby-syntax-propertize-expansions): Remove.
12591
12592 2013-05-18 Juri Linkov <juri@jurta.org>
12593
12594 * man.el (Man-default-man-entry): Remove `-' from the end
12595 of the default value. (Bug#14400)
12596
12597 2013-05-18 Glenn Morris <rgm@gnu.org>
12598
12599 * comint.el (comint-password-prompt-regexp):
12600 Allow "password for XXX" where XXX contains colons (eg https://...).
12601
12602 2013-05-18 Leo Liu <sdl.web@gmail.com>
12603
12604 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12605 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12606 (octave-source-directories): Don't check process.
12607 (octave-source-directories, octave-find-definition): Doc fix.
12608
12609 2013-05-18 Glenn Morris <rgm@gnu.org>
12610
12611 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12612 Remove backspace/delete bindings. (Bug#14392)
12613
12614 * cus-dep.el (custom-make-dependencies): Sort the output.
12615 (custom-versions-load-alist): Convert comment to doc.
12616
12617 2013-05-17 Leo Liu <sdl.web@gmail.com>
12618
12619 * newcomment.el (comment-search-backward): Stricter in finding
12620 comment start. (Bug#14303)
12621
12622 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12623 (octave-comment-start-skip): Properly anchored.
12624
12625 2013-05-17 Leo Liu <sdl.web@gmail.com>
12626
12627 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12628 Clean up when turned off. (Bug#14395)
12629 (smie--highlight-matching-block-overlay): No longer buffer-local.
12630 (smie-highlight-matching-block): Adjust.
12631
12632 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12633
12634 Doc string fix for "nanoseconds" (Bug#14406).
12635 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12636 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12637
12638 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12639
12640 * calc/calc-units.el (math-extract-units): Preserve powers
12641 of units.
12642
12643 2013-05-17 Leo Liu <sdl.web@gmail.com>
12644
12645 * subr.el (delete-consecutive-dups): New function.
12646 * ido.el (ido-set-matches-1): Use it.
12647 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12648 * ido.el (ido-remove-consecutive-dups): Remove.
12649
12650 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12651
12652 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12653 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12654 regexp-opt's `words'.
12655
12656 2013-05-16 Leo Liu <sdl.web@gmail.com>
12657
12658 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12659 (smie--highlight-matching-block-overlay)
12660 (smie--highlight-matching-block-lastpos)
12661 (smie--highlight-matching-block-timer): New variables.
12662 (smie-highlight-matching-block): New function.
12663 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12664 (smie-setup): Conditionally enable smie-blink-matching-open.
12665
12666 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12667
12668 Sync with upstream verilog-mode r840.
12669 * progmodes/verilog-mode.el (verilog-mode-version)
12670 (verilog-mode-release-date): Update.
12671 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12672 (verilog-sig-tieoff): Fix string error on
12673 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12674 (verilog-read-decls): Fix parameters confusing
12675 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12676
12677 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12678
12679 * subr.el (reveal-filename): New function.
12680
12681 * loadup.el: Compute Emacs executable versions on MS-Windows,
12682 where executables have the .exe extension. Add a hard link
12683 emacs-XX.YY.ZZ.exe on MS-Windows.
12684
12685 * Makefile.in (XARGS_LIMIT): New variable.
12686 (custom-deps, finder-data, autoloads)
12687 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12688 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12689 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12690 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12691
12692 2013-05-16 Leo Liu <sdl.web@gmail.com>
12693
12694 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12695 (octave-mode-menu, octave-mode-map): Remove its uses.
12696
12697 2013-05-16 Reto Zimmermann <reto@gnu.org>
12698
12699 Sync with upstream vhdl mode v3.34.2.
12700 * progmodes/vhdl-mode.el: Use `push' throughout.
12701 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12702 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12703 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12704 (vhdl-actual-generic-name): New option to derive actual generic name.
12705 (vhdl-port-paste-signals): Replace formal by actual generics.
12706 (vhdl-beautify): New name for old group vhdl-align. Update users.
12707 (vhdl-beautify-options): New option.
12708 (vhdl-last-input-event): New compat alias. Use throughout.
12709 (vhdl-goto-line): Replace user level function `goto-line'.
12710 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12711 vhdl-fix-statement-buffer.
12712 (vhdl-create-mode-menu): Add some entries.
12713 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12714 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12715 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12716 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12717 to force statements on one line.
12718 (vhdl-remove-trailing-spaces-region):
12719 New, split from vhdl-remove-trailing-spaces.
12720 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12721 Respect vhdl-beautify-options.
12722 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12723 (vhdl-update-sensitivity-list): Not add with index if exists without.
12724 Not include array index with signal. Ignore keywords in comments.
12725 (vhdl-get-visible-signals): Regexp tweaks.
12726 (vhdl-template-component-inst): Handle empty library.
12727 (vhdl-template-type): Add template for 'enum' type.
12728 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12729 Use vhdl-replace-string.
12730 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12731 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12732 (vhdl-speedbar-initialize): Update for above name change.
12733 (vhdl-compose-wire-components): Fix in handling of constants.
12734 (vhdl-error-regexp-emacs-alist): New variable.
12735 (vhdl-error-regexp-add-emacs): New function;
12736 adds support for new compile.el (Emacs 22+)
12737 (vhdl-generate-makefile-1): Change target order for single lib. units.
12738 Allow use of absolute file names.
12739
12740 2013-05-16 Leo Liu <sdl.web@gmail.com>
12741
12742 * simple.el (prog-indent-sexp): Indent enclosing defun.
12743
12744 2013-05-15 Glenn Morris <rgm@gnu.org>
12745
12746 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12747 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12748 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12749 (whitespace-highlight): Move to whitespace group.
12750
12751 * comint.el (comint-source):
12752 * pcmpl-linux.el (pcmpl-linux):
12753 * shell.el (shell-faces):
12754 * eshell/esh-opt.el (eshell-opt):
12755 * international/ccl.el (ccl): Remove empty custom groups.
12756
12757 * completion.el (dynamic-completion-mode):
12758 * jit-lock.el (jit-lock-debug-mode):
12759 * minibuffer.el (completion-in-region-mode):
12760 * type-break.el (type-break-mode-line-message-mode)
12761 (type-break-query-mode):
12762 * emulation/tpu-edt.el (tpu-edt-mode):
12763 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12764 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12765 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12766
12767 * term/xterm.el (xterm): Change parent group to terminals.
12768
12769 * master.el (master): Remove empty custom group.
12770 (master-mode): Remove unused :group argument.
12771 * textmodes/refill.el (refill): Remove empty custom group.
12772 (refill-mode): Remove unused :group argument.
12773
12774 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12775
12776 * cus-dep.el: Provide a feature.
12777 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12778 Don't mistakenly ignore files whose basenames match a basename
12779 from preloaded-file-list (eg cedet/ede/simple.el).
12780 Add a fallback method for getting :group.
12781
12782 2013-05-15 Juri Linkov <juri@jurta.org>
12783
12784 * isearch.el (isearch-char-by-name): Rename from
12785 `isearch-insert-char-by-name'. Doc fix.
12786 (isearch-forward): Mention `isearch-char-by-name' in
12787 the docstring. (Bug#13348)
12788
12789 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12790 `exit-minibuffer' instead of
12791 `isearch-nonincremental-exit-minibuffer'.
12792 (isearch-edit-string): Remove mention of
12793 `isearch-nonincremental-exit-minibuffer' from docstring.
12794 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12795 (isearch-forward-exit-minibuffer)
12796 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12797
12798 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12799
12800 * loadup.el: Just use unversioned DOC.
12801
12802 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12803 literals as extending to EOB.
12804 (nxml-last-fontify-end): Remove unused variable.
12805 (nxml-after-change1): Use with-silent-modifications.
12806 (nxml-extend-after-change-region): Simplify.
12807 (nxml-extend-after-change-region1): Remove function.
12808 (nxml-after-change1): Don't adjust for dependent regions.
12809 (nxml-fontify-matcher): Simplify.
12810 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12811 (xmltok-add-dependent): Remove function.
12812 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12813 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12814 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12815 unclosed <[[, <?, comment, and other literals as extending to EOB.
12816 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12817 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12818 Remove functions.
12819 (rng-do-some-validation-1): Don't mark dependent regions.
12820 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12821 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12822 (nxml-clear-dependent-regions): Remove functions.
12823 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12824 (nxml-ensure-scan-up-to-date):
12825 Don't clear&mark dependent regions.
12826
12827 2013-05-15 Leo Liu <sdl.web@gmail.com>
12828
12829 * progmodes/octave.el (octave-goto-function-definition):
12830 Improve and fix callers.
12831
12832 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12833
12834 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12835 the setter (bug#14387).
12836
12837 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12838 surrounding group (bug#14402).
12839
12840 2013-05-14 Juri Linkov <juri@jurta.org>
12841
12842 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12843 (Bug#14390)
12844
12845 2013-05-14 Glenn Morris <rgm@gnu.org>
12846
12847 * progmodes/f90.el (f90-imenu-generic-expression):
12848 Fix typo in 2013-05-08 change. (Bug#14402)
12849
12850 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12851
12852 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12853 Remove signals for which replies are never received.
12854
12855 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12856
12857 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12858 (gdb-handler-alist, gdb-handler-number): Remove variables.
12859 (gdb-handler-list): New variable.
12860 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12861 (gdb-pending-handler-p, gdb-handle-reply)
12862 (gdb-remove-all-pending-triggers): New functions.
12863 (gdb-discard-unordered-replies): New defcustom.
12864 (gdb-handler): New defstruct.
12865 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12866 instead of gdb-pending-triggers. Update docstring.
12867 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12868 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12869 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12870 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12871 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12872 (gdb-frame-handler): Pending triggers are now automatically managed.
12873 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12874 Remove argument.
12875 (gdb-input): Automatically handles pending triggers. Update docstring.
12876 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12877 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12878 Update comments.
12879 (gdb-done-or-error): Now use gdb-handle-reply.
12880
12881 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12882
12883 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12884 gdb-debug-log.
12885
12886 2013-05-14 Glenn Morris <rgm@gnu.org>
12887
12888 * subr.el (user-emacs-directory-warning): New option.
12889 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12890
12891 2013-05-14 Leo Liu <sdl.web@gmail.com>
12892
12893 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12894 during redisplay.
12895 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12896 (octave-font-lock-texinfo-comment): Fix invalid search bound
12897 error: wrong side of point.
12898
12899 2013-05-14 Glenn Morris <rgm@gnu.org>
12900
12901 * progmodes/flymake.el (flymake-xml-program): New option.
12902 (flymake-xml-init): Use it.
12903
12904 * term/xterm.el: Provide a feature.
12905
12906 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12907
12908 2013-05-13 Glenn Morris <rgm@gnu.org>
12909
12910 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12911 Add compat aliases as a hack workaround. (Bug#14384)
12912
12913 2013-05-13 Leo Liu <sdl.web@gmail.com>
12914
12915 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12916 ###, and %!.
12917 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12918 C-M-q.
12919 (octave-comment-start-skip): Include %!.
12920 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12921
12922 2013-05-12 Leo Liu <sdl.web@gmail.com>
12923
12924 * progmodes/octave.el (inferior-octave-startup): Store the value
12925 of __octave_srcdir__ for octave-source-directories.
12926 (inferior-octave-check-process): New function refactored out of
12927 inferior-octave-send-list-and-digest.
12928 (octave-source-directories)
12929 (octave-find-definition-filename-function): New variables.
12930 (octave-source-directories)
12931 (octave-find-definition-default-filename): New functions.
12932 (octave-find-definition): Improve to find functions implemented in C++.
12933
12934 2013-05-12 Glenn Morris <rgm@gnu.org>
12935
12936 * calendar/diary-lib.el (diary-outlook-format-1):
12937 Don't include dayname in the output. (Bug#14349)
12938
12939 2013-05-11 Glenn Morris <rgm@gnu.org>
12940
12941 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12942
12943 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12944 Treat cc-provide like provide.
12945
12946 2013-05-11 Kevin Ryde <user42@zip.com.au>
12947
12948 * cus-dep.el (custom-make-dependencies):
12949 Use generated-autoload-load-name for the sake of files such
12950 such cedet/semantic/bovine/c.el, where the base file name
12951 is not in load-path. (Bug#5277)
12952
12953 2013-05-11 Glenn Morris <rgm@gnu.org>
12954
12955 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12956 Provide features.
12957
12958 2013-05-11 Leo Liu <sdl.web@gmail.com>
12959
12960 * progmodes/octave.el (octave-indent-comment): Improve.
12961 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12962 (octave-eldoc-function-signatures, octave-eldoc-function):
12963 New functions.
12964 (octave-mode, inferior-octave-mode): Add eldoc support.
12965
12966 2013-05-11 Richard Stallman <rms@gnu.org>
12967
12968 * epa.el (epa-decrypt-file): Take output file name as argument
12969 and read it using `interactive'.
12970
12971 2013-05-11 Leo Liu <sdl.web@gmail.com>
12972
12973 * progmodes/octave.el (octave-beginning-of-line)
12974 (octave-end-of-line): Check before using up-list because it jumps
12975 out of more syntactic contructs since moving to smie.
12976 (octave-indent-comment): New function.
12977 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12978 (octave-begin-keywords, octave-end-keywords)
12979 (octave-reserved-words, octave-smie-bnf-table)
12980 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12981
12982 2013-05-11 Glenn Morris <rgm@gnu.org>
12983
12984 * faces.el (internal-face-x-get-resource):
12985 * frame.el (ns-display-monitor-attributes-list):
12986 * calc/calc-aent.el (math-to-radians-2):
12987 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12988 Fix declarations.
12989
12990 * calc/calc-menu.el: Make it loadable in isolation.
12991
12992 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12993 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12994 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12995 (eudc-bbdb-query-internal): Require 'bbdb.
12996
12997 * lpr.el (lpr-headers-switches):
12998 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12999
13000 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13001
13002 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13003
13004 * term.el (term-set-escape-char): Make it idempotent.
13005
13006 2013-05-10 Leo Liu <sdl.web@gmail.com>
13007
13008 * progmodes/octave.el (inferior-octave-completion-table):
13009 No longer a function and all uses changed. Use cache to speed up
13010 completion due to bug#11906.
13011 (octave-beginning-of-defun): Re-write to be more general.
13012
13013 2013-05-10 Glenn Morris <rgm@gnu.org>
13014
13015 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13016
13017 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13018
13019 * comint.el (comint-redirect-send-command-to-process): Use :around
13020 rather than :override for comint-redirect-filter.
13021 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13022 Call it instead of comint-redirect-original-filter-function (which
13023 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13024
13025 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13026
13027 * frame.el (display-monitor-attributes-list): Add NS case.
13028 (ns-display-monitor-attributes-list): Declare.
13029
13030 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
13031
13032 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13033
13034 2013-05-09 Glenn Morris <rgm@gnu.org>
13035
13036 * international/fontset.el (vertical-centering-font-regexp):
13037 Set standard-value.
13038
13039 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13040
13041 * bookmark.el (bookmark-search-delay):
13042 * cus-start.el (vertical-centering-font-regexp):
13043 * ps-mule.el (ps-mule-font-info-database-default):
13044 * ps-print.el (ps-default-fg, ps-default-bg):
13045 * type-break.el (type-break-good-break-interval):
13046 * whitespace.el (whitespace-indentation-regexp)
13047 (whitespace-space-after-tab-regexp):
13048 * emacs-lisp/testcover.el (testcover-1value-functions)
13049 (testcover-noreturn-functions, testcover-progn-functions)
13050 (testcover-prog1-functions):
13051 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13052 * eshell/em-glob.el (eshell-glob-translate-alist):
13053 * play/tetris.el (tetris-tty-colors):
13054 * progmodes/cpp.el (cpp-face-default-list):
13055 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13056 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13057 (idlwave-help-browser-generic-args):
13058 * progmodes/make-mode.el (makefile-special-targets-list):
13059 * progmodes/python.el (python-shell-virtualenv-path):
13060 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13061 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13062 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13063 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13064 * textmodes/reftex-vars.el (reftex-format-label-function):
13065 * textmodes/remember.el (remember-diary-file): Fix custom types.
13066
13067 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13068 Add :version.
13069
13070 2013-05-09 Leo Liu <sdl.web@gmail.com>
13071
13072 * progmodes/octave.el (inferior-octave-completion-at-point):
13073 Restore file completion. (Bug#14300)
13074 (inferior-octave-startup): Fix incorrect highlighting for the
13075 first prompt.
13076
13077 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13078
13079 * progmodes/ruby-mode.el: First cut at SMIE support.
13080 (ruby-use-smie): New var.
13081 (ruby-smie-grammar): New constant.
13082 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13083 (ruby-smie--forward-token, ruby-smie--backward-token)
13084 (ruby-smie-rules): New functions.
13085 (ruby-mode-variables): Setup SMIE if applicable.
13086
13087 2013-05-08 Eli Zaretskii <eliz@gnu.org>
13088
13089 * simple.el (line-move-visual): Signal beginning/end of buffer
13090 only if vertical-motion moved less than it was requested. Avoids
13091 silly incorrect error messages when there are display strings with
13092 multiple newlines at EOL.
13093
13094 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13095
13096 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13097 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13098 (prolog-char-quote-workaround):
13099 * progmodes/cperl-mode.el (cperl-under-as-char):
13100 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
13101 Mark as obsolete.
13102 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
13103 their declaration.
13104 (vhdl-mode-syntax-table-init): Remove.
13105
13106 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13107 last change.
13108
13109 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13110 syntax for "_".
13111 (ld-script-font-lock-keywords):
13112 Change regexps to use things like \_< and \_>.
13113
13114 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13115 Change all regexps to use things like \_< and \_>.
13116
13117 * progmodes/autoconf.el (autoconf-definition-regexp)
13118 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13119 Handle a _ with symbol syntax.
13120 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13121
13122 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13123 Consolidate declaration.
13124 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13125 the declaration.
13126 (ada-create-syntax-table): Remove.
13127 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13128 already has the right syntax nowadays.
13129 (ada-goto-next-word): Don't change the syntax of "_".
13130
13131 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13132 with-wrapper-hook.
13133
13134 2013-05-08 Sam Steingold <sds@gnu.org>
13135
13136 * thingatpt.el (thing-at-point): Accept optional second argument
13137 NO-PROPERTIES to strip the text properties from the return value.
13138 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13139 to `thing-at-point' instead of stripping the properties ourselves.
13140 Also, when `thing-at-point' fails to find a url, prepend "http://"
13141 to the filename at point on the assumption that the user is
13142 pointing at something like gnu.org/gnu.
13143
13144 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
13145
13146 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13147 * faces.el (crm-separator):
13148 Silence byte-compiler.
13149
13150 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13151 (tool-bar-map): Remove unneeded defvars.
13152
13153 2013-05-08 Leo Liu <sdl.web@gmail.com>
13154
13155 Re-work a fix for bug#10994 based on Le Wang's patch.
13156 * ido.el (ido-remove-consecutive-dups): New helper.
13157 (ido-completing-read): Use it.
13158 (ido-chop): Revert fix for bug#10994.
13159
13160 2013-05-08 Adam Spiers <emacs@adamspiers.org>
13161
13162 * cus-edit.el (custom-save-variables):
13163 Pretty-print long values. (Bug#14187)
13164
13165 2013-05-08 Glenn Morris <rgm@gnu.org>
13166
13167 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13168 (m4-mode-syntax-table): Init in the defvar.
13169 (m4-mode-abbrev-table): Let define-derived-mode define it.
13170
13171 2013-05-08 Tom Tromey <tromey@redhat.com>
13172
13173 * progmodes/m4-mode.el (m4-mode-syntax-table):
13174 Do not treat "_" as word constituent. (Bug#14167)
13175
13176 2013-05-07 Glenn Morris <rgm@gnu.org>
13177
13178 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13179 Remove explicit eshell-isearch-cancel-map.
13180
13181 * progmodes/f90.el (f90-smart-end-names): New option.
13182 (f90-smart-end): Doc fix.
13183 (f90-end-block-optional-name): New constant.
13184 (f90-block-match): Respect f90-smart-end-names.
13185
13186 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13187
13188 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13189 about implicit semi-colons (bug#14218).
13190
13191 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13192
13193 * frame.el (display-monitor-attributes-list)
13194 (frame-monitor-attributes): New functions.
13195
13196 2013-05-06 Leo Liu <sdl.web@gmail.com>
13197
13198 * progmodes/octave.el (octave-syntax-propertize-function): Change
13199 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13200 (octave-font-lock-keywords): Use octave-operator-regexp.
13201 (octave-completion-at-point): Rename from
13202 octave-completion-at-point-function.
13203 (inferior-octave-directory-tracker): Robustify.
13204 (octave-text-functions): Remove and fix its uses. No such things
13205 any more.
13206
13207 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13208
13209 * emacs-lisp/trace.el (trace--display-buffer): New function.
13210 (trace-make-advice): Use it.
13211
13212 2013-05-06 Juri Linkov <juri@jurta.org>
13213
13214 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13215 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13216 Doc fix.
13217 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13218 in the help string. (Bug#12985)
13219
13220 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13221
13222 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13223
13224 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13225
13226 * progmodes/perl-mode.el: Add support for here documents.
13227 (perl-syntax-propertize-function): Match here-doc markers.
13228 (perl-syntax-propertize-special-constructs): Find their end.
13229 (perl-imenu-generic-expression): Use [:alnum:].
13230
13231 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13232 (advice--add-function): Refresh the advice if already present
13233 (bug#14317).
13234
13235 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
13236
13237 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13238
13239 2013-05-06 Glenn Morris <rgm@gnu.org>
13240
13241 * w32-fns.el (w32-charset-info-alist): Declare.
13242
13243 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13244 of its defcustom properties.
13245 (eshell-cmpl-initialize): No need to load pcomplete.
13246
13247 * generic-x.el: No need to require comint when compiling.
13248
13249 * net/eudc-export.el: Make it loadable without bbdb.
13250 (top-level): Use require rather than load-library.
13251 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13252 (eudc-batch-export-records-to-bbdb)
13253 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13254 Require bbdb.
13255
13256 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13257
13258 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13259 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13260 some tweaks, instead.
13261
13262 2013-05-05 Leo Liu <sdl.web@gmail.com>
13263
13264 * progmodes/octave.el (octave-font-lock-keywords)
13265 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13266 (inferior-octave-send-list-and-digest): Improve error message.
13267 (octave-mode, inferior-octave-mode): Use setq-local.
13268 (octave-help): Set info-lookup-mode.
13269
13270 2013-05-05 Richard Stallman <rms@gnu.org>
13271
13272 * vc/compare-w.el (compare-windows-whitespace):
13273 Treat no-break space as whitespace.
13274
13275 * mail/rmailsum.el (rmail-summary-rmail-update):
13276 Detect empty summary and don't change selected message.
13277 (rmail-summary-goto-msg): Likewise.
13278
13279 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13280 Doc fixes, rename args.
13281
13282 2013-05-05 Alan Mackenzie <acm@muc.de>
13283
13284 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13285
13286 2013-05-05 Juri Linkov <juri@jurta.org>
13287
13288 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13289 to not add the length of the summary segment to the return value.
13290 (Bug#14125)
13291
13292 2013-05-05 Leo Liu <sdl.web@gmail.com>
13293
13294 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13295 (inferior-octave-output-filter): Remove.
13296 (octave-send-region, inferior-octave-startup): Fix callers.
13297 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13298 (octave-binary-file-extensions): New user variable.
13299 (octave-find-definition): Confirm if opening binary files.
13300 (octave-help-file): Use octave-find-definition to get the binary
13301 confirmation.
13302 (octave-help): Adjust for octave-help-file change.
13303
13304 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13305
13306 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13307 Merge the two entries that handle function definitions.
13308 (pascal--syntax-propertize): New const.
13309 (pascal-mode): Use it. Use setq-local.
13310
13311 2013-05-04 Glenn Morris <rgm@gnu.org>
13312
13313 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13314 (diary-from-outlook): Respect diary-from-outlook-function.
13315
13316 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13317
13318 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13319 Move the declaration from C.
13320 (read-minibuffer, eval-minibuffer): Move from C.
13321 (completion-setup-function): Avoid minibuffer-completion-contents.
13322
13323 2013-05-03 Leo Liu <sdl.web@gmail.com>
13324
13325 * progmodes/octave.el (octave-font-lock-keywords): Do not
13326 dehighlight 'end' in comments or strings.
13327 (octave-completing-read, octave-goto-function-definition):
13328 New helpers.
13329 (octave-help-buffer): New user variable.
13330 (octave-help-file, octave-help-function): New button types.
13331 (octave-help): New command and bind it to C-h ;.
13332 (octave-find-definition): New command and bind it to M-.
13333 (user-error): Alias to error if not defined.
13334
13335 2013-05-02 Leo Liu <sdl.web@gmail.com>
13336
13337 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13338 for \. (bug#14332)
13339 (octave-font-lock-keywords): Include [ and {.
13340
13341 2013-05-02 Leo Liu <sdl.web@gmail.com>
13342
13343 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13344 (inferior-octave): Remove calling comint-mode and return the buffer.
13345 (inferior-octave-startup): Cosmetic changes.
13346
13347 2013-05-02 Leo Liu <sdl.web@gmail.com>
13348
13349 * progmodes/octave.el (octave-syntax-propertize-function):
13350 Include the case when ' is at line beginning. (Bug#14336)
13351
13352 2013-05-02 Glenn Morris <rgm@gnu.org>
13353
13354 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13355 * desktop.el (vc-dir-mode): Just autoload it here.
13356
13357 2013-05-02 Alan Mackenzie <acm@muc.de>
13358
13359 Eliminate variable c-standard-font-lock-fontify-region-function.
13360 * progmodes/cc-mode.el
13361 (c-standard-font-lock-fontify-region-function): Remove.
13362 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13363
13364 2013-05-01 Leo Liu <sdl.web@gmail.com>
13365
13366 * progmodes/octave.el: Compatible with older emacs-24 releases.
13367 (inferior-octave-has-built-in-variables): Remove. Built-in
13368 variables were removed from Octave in 2007.
13369 (inferior-octave-startup): Fix uses.
13370 (comint-line-beginning-position): Remove compatibility code for
13371 emacs 21.
13372
13373 2013-05-01 Juri Linkov <juri@jurta.org>
13374
13375 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13376
13377 2013-05-01 Juri Linkov <juri@jurta.org>
13378
13379 * comint.el (comint-previous-matching-input): Don't print message
13380 "History item: %d" when `isearch-mode' is active.
13381 (comint-history-isearch-message): Print message "History item: %d"
13382 when `comint-input-ring-index' is not empty and this function is
13383 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13384
13385 2013-05-01 Leo Liu <sdl.web@gmail.com>
13386
13387 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13388 definitions. Use completion-at-point to insert keywords.
13389 (octave-abbrev-start): Remove.
13390 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13391
13392 2013-04-30 Leo Liu <sdl.web@gmail.com>
13393
13394 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13395 change.
13396
13397 2013-04-30 Alan Mackenzie <acm@muc.de>
13398
13399 Handle arbitrarily long C++ member initialisation lists.
13400 * progmodes/cc-engine.el (c-back-over-member-initializers):
13401 new function.
13402 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13403 (most) member init lists.
13404
13405 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13406
13407 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13408 variable.
13409
13410 2013-04-30 Leo Liu <sdl.web@gmail.com>
13411
13412 * progmodes/octave.el (octave-variables): Remove. No builtin
13413 variables any more. All converted to functions.
13414 (octave-font-lock-keywords, octave-completion-at-point-function):
13415 Fix uses.
13416 (octave-font-lock-texinfo-comment): New user variable.
13417 (octave-texinfo-font-lock-keywords): New variable for texinfo
13418 comment block.
13419 (octave-function-comment-block): New face.
13420 (octave-font-lock-texinfo-comment): New function.
13421 (octave-mode): Font lock texinfo comment block.
13422
13423 2013-04-29 Leo Liu <sdl.web@gmail.com>
13424
13425 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13426 indexing expression.
13427 (octave-continuation-string): Do not use \.
13428 (inferior-octave-complete-impossible): Remove.
13429 (inferior-octave-completion-table)
13430 (inferior-octave-completion-at-point): Remove its uses.
13431 (inferior-octave-startup): completion_matches was introduced to
13432 Octave in 1996 so safe to assume it.
13433 (octave-function-file-comment): Improve to follow how Octave does it.
13434 (octave-update-function-file-comment): Tweak.
13435
13436 2013-04-29 Leo Liu <sdl.web@gmail.com>
13437
13438 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13439 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13440 (octave-function-file-comment): Fix typo.
13441 (octave-sync-function-file-names): Use read-char-choice.
13442
13443 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13444
13445 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13446 to t for the less important warnings.
13447
13448 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13449
13450 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13451
13452 2013-04-27 Glenn Morris <rgm@gnu.org>
13453
13454 * vc/log-view.el (log-view-current-entry):
13455 Treat "---" separator lines as part of the following rev. (Bug#14169)
13456
13457 2013-04-27 Juri Linkov <juri@jurta.org>
13458
13459 * subr.el (read-number): Doc fix about using it by interactive
13460 code letter `n'. (Bug#14254)
13461
13462 2013-04-27 Juri Linkov <juri@jurta.org>
13463
13464 * desktop.el (desktop-auto-save-timeout): New option.
13465 (desktop-file-checksum): New variable.
13466 (desktop-save): Add optional arg `auto-save' and don't auto-save
13467 if nothing changed.
13468 (desktop-auto-save-timer): New variable.
13469 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13470 (after-init-hook): Call `desktop-auto-save-set-timer'.
13471 Suggested by Reuben Thomas <rrt@sc3d.org> in
13472 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13473
13474 2013-04-27 Leo Liu <sdl.web@gmail.com>
13475
13476 * progmodes/octave.el (octave-function-file-p)
13477 (octave-skip-comment-forward, octave-function-file-comment)
13478 (octave-update-function-file-comment): New functions.
13479 (octave-mode-map): Bind C-c ; to
13480 octave-update-function-file-comment.
13481 (octave-mode-menu): Add octave-update-function-file-comment.
13482 (octave-mode, inferior-octave-mode): Fix doc-string.
13483 (octave-insert-defun): Conform to Octave's coding convention.
13484 (Bug#14285)
13485
13486 * files.el (basic-save-buffer): Don't let errors in
13487 before-save-hook prevent saving buffer.
13488
13489 2013-04-20 Roland Winkler <winkler@gnu.org>
13490
13491 * faces.el (read-face-name): Use completing-read if arg multiple
13492 is nil.
13493
13494 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13495
13496 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13497 displayed, move point to after the totals line.
13498 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13499 for the details.
13500
13501 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13502
13503 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13504 Add current dir to the load-path.
13505 (package-generate-autoloads): Don't rely on
13506 autoload-ensure-default-file.
13507
13508 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13509
13510 * textmodes/remember.el (remember-store-in-files): Document that
13511 the file name format is passed to `format-time-string'.
13512
13513 2013-04-26 Leo Liu <sdl.web@gmail.com>
13514
13515 * progmodes/octave.el (octave-sync-function-file-names): New function.
13516 (octave-mode): Use it in before-save-hook.
13517
13518 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13519
13520 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13521 (bug#14274).
13522
13523 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13524 \n and comment, even if it's not an implicit ; (bug#14218).
13525
13526 2013-04-26 Glenn Morris <rgm@gnu.org>
13527
13528 * subr.el (read-number): Once more use `read' rather than
13529 `string-to-number', to trap non-numeric input. (Bug#14254)
13530
13531 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13532
13533 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13534 Use `syntax-multiline' text property consistently instead of
13535 `font-lock-multiline'. (Bug#14237)
13536
13537 2013-04-26 Glenn Morris <rgm@gnu.org>
13538
13539 * emacs-lisp/shadow.el (list-load-path-shadows):
13540 No longer necessary to check for duplicate simple.el, since
13541 2012-07-07 change to init_lread to not include installation lisp
13542 directories in load-path when running uninstalled. (Bug#14270)
13543
13544 2013-04-26 Leo Liu <sdl.web@gmail.com>
13545
13546 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13547 (octave-mode, inferior-octave-mode): Use setq-local.
13548 (octave-not-in-string-or-comment-p): Rename to
13549 octave-in-string-or-comment-p.
13550 (octave-in-comment-p, octave-in-string-p)
13551 (octave-in-string-or-comment-p): Replace defsubst with defun.
13552
13553 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13554
13555 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13556
13557 2013-04-25 Bastien Guerry <bzg@gnu.org>
13558
13559 * textmodes/remember.el (remember-data-directory)
13560 (remember-directory-file-name-format): Fix custom types.
13561
13562 2013-04-25 Leo Liu <sdl.web@gmail.com>
13563
13564 * progmodes/octave.el (octave-completion-at-point-function):
13565 Make use of inferior octave process.
13566 (octave-initialize-completions): Remove.
13567 (inferior-octave-completion-table): New function.
13568 (inferior-octave-completion-at-point): Use it.
13569 (octave-completion-alist): Remove.
13570
13571 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13572
13573 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13574 (opascal-mode-syntax-table): New var.
13575 (opascal-literal-kind, opascal-is-literal-end)
13576 (opascal-literal-token-at): Rewrite.
13577 (opascal--literal-start-re, opascal-font-lock-keywords)
13578 (opascal--syntax-propertize): New constants.
13579 (opascal-font-lock-defaults): Adjust.
13580 (opascal-mode): Use them. Set comment-<foo> variables as well.
13581 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13582 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13583 (delphi-other-face, opascal-other-face): Remove face variables.
13584 (opascal-save-state): Remove macro.
13585 (opascal-fontifying-progress-step): Remove constant.
13586 (opascal--ignore-changes): Remove var.
13587 (opascal-set-token-property, opascal-parse-next-literal)
13588 (opascal-is-stable-literal, opascal-complete-literal)
13589 (opascal-is-literal-start, opascal-face-of)
13590 (opascal-parse-region, opascal-parse-region-until-stable)
13591 (opascal-fontify-region, opascal-after-change)
13592 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13593 (opascal-debug-parse-region, opascal-debug-parse-window)
13594 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13595 (opascal-debug-fontify-buffer): Remove.
13596 (opascal-debug-mode-map): Adjust accordingly.
13597
13598 2013-04-25 Leo Liu <sdl.web@gmail.com>
13599
13600 Merge octave-mod.el and octave-inf.el into octave.el with some
13601 cleanups.
13602 * progmodes/octave.el: New file renamed from octave-mod.el.
13603 * progmodes/octave-inf.el: Merged into octave.el.
13604 * progmodes/octave-mod.el: Renamed to octave.el.
13605
13606 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13607
13608 * textmodes/reftex-vars.el
13609 (reftex-label-ignored-macros-and-environments): New defcustom.
13610
13611 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13612
13613 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13614
13615 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13616 (smie-indent-keyword): Improve the check to ensure that the next
13617 comment is really on the same line.
13618 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13619
13620 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13621 semi-colons if the line is not otherwise empty (bug#14218).
13622
13623 2013-04-25 Glenn Morris <rgm@gnu.org>
13624
13625 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13626
13627 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13628
13629 * progmodes/opascal.el (opascal-set-token-property): Rename from
13630 opascal-set-text-properties and only set `token' (bug#14134).
13631 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13632 (opascal-literal-text-properties): Remove.
13633 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13634 Adjust callers.
13635
13636 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13637
13638 * textmodes/remember.el (remember-handler-functions): Add an
13639 option for a new handler `remember-store-in-files'.
13640 (remember-data-directory, remember-directory-file-name-format):
13641 New options.
13642 (remember-store-in-files): New function to store remember notes
13643 as separate files within a directory.
13644
13645 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13646
13647 * progmodes/compile.el (compilation-next-error-function):
13648 Pass "formats" to compilation-find-file (bug#11777).
13649
13650 2013-04-24 Glenn Morris <rgm@gnu.org>
13651
13652 * vc/vc-bzr.el (vc-bzr-print-log):
13653 * vc/vc-hg.el (vc-hg-print-log):
13654 * vc/vc-svn.el (vc-svn-print-log):
13655 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13656
13657 * vc/vc-bzr.el (vc-bzr-print-log):
13658 * vc/vc-cvs.el (vc-cvs-print-log):
13659 * vc/vc-git.el (vc-git-print-log):
13660 * vc/vc-hg.el (vc-hg-print-log):
13661 * vc/vc-mtn.el (vc-mtn-print-log):
13662 * vc/vc-rcs.el (vc-rcs-print-log):
13663 * vc/vc-sccs.el (vc-sccs-print-log):
13664 * vc/vc-svn.el (vc-svn-print-log):
13665 * vc/vc.el (vc-print-log-internal): Doc fixes.
13666
13667 2013-04-23 Glenn Morris <rgm@gnu.org>
13668
13669 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13670 Remove venerable code attempting to avoid substitute-command-keys.
13671
13672 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13673
13674 * textmodes/reftex-vars.el (reftex-label-regexps):
13675 Call `reftex-compile-variables' after changes to this variable.
13676
13677 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13678
13679 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13680 Use lexical-binding.
13681 (jit-lock-force-redisplay): Use markers, check buffer's continued
13682 existence and beware narrowed buffers.
13683 (jit-lock-fontify-now): Adjust call accordingly.
13684
13685 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13686
13687 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13688 to avoid misleading the user.
13689
13690 2013-04-22 Leo Liu <sdl.web@gmail.com>
13691
13692 * info-look.el: Prefer latex2e.info. (Bug#14240)
13693
13694 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13695
13696 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13697
13698 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13699 * net/tramp.el (tramp-call-process): ... here.
13700 (tramp-set-completion-function, tramp-parse-putty):
13701 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13702 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13703 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13704 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13705 (tramp-call-local-coding-command): Use `tramp-call-process'
13706 instead of `tramp-compat-call-process'.
13707
13708 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13709 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13710 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13711 (tramp-find-inline-compress): Improve traces.
13712 (tramp-maybe-send-script): Check for Perl binary.
13713 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13714
13715 2013-04-22 Daiki Ueno <ueno@gnu.org>
13716
13717 * epg.el (epg-context-pinentry-mode): New function.
13718 (epg-context-set-pinentry-mode): New function.
13719 (epg--start): Pass --pinentry-mode option to gpg command.
13720
13721 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13722
13723 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13724 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13725 `completion-at-point'. (Bug#13774)
13726
13727 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13728 default key binding for `describe-distribution' has been moved to
13729 `C-h C-o'. (Bug#13970)
13730
13731 2013-04-21 Glenn Morris <rgm@gnu.org>
13732
13733 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13734 Add doc strings.
13735 (vc-print-log): Clarify interactive prompt.
13736
13737 2013-04-20 Glenn Morris <rgm@gnu.org>
13738
13739 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13740 No longer include timestamp etc information.
13741
13742 2013-04-20 Roland Winkler <winkler@gnu.org>
13743
13744 * faces.el (read-face-name): Bug fix, return just one face if arg
13745 multiple is nil. (Bug#14209)
13746
13747 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13748
13749 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13750 (remove-function): Autoload.
13751
13752 * comint.el (comint-redirect-original-filter-function): Remove.
13753 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13754 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13755 (vc-cvs-annotate-command):
13756 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13757 * progmodes/prolog.el (prolog-consult-compile):
13758 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13759 Use add/remove-function instead.
13760 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13761 (gud-tooltip-process-output, gud-tooltip-tips):
13762 Use add/remove-function instead.
13763 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13764 (scheme-interaction-mode, exit-scheme-interaction-mode):
13765 Use add/remove-function instead.
13766
13767 * vc/vc-dispatcher.el: Use lexical-binding.
13768 (vc--process-sentinel): Rename from vc-process-sentinel.
13769 Change last arg to be the code to run. Don't use vc-previous-sentinel
13770 and vc-sentinel-commands any more.
13771 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13772 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13773
13774 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13775
13776 * progmodes/sh-script.el (sh-imenu-generic-expression):
13777 Handle function names with a single character. (Bug#14111)
13778
13779 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13780
13781 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13782 for subroutines defined in an eval (bug#14182).
13783
13784 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13785
13786 * bookmark.el (bookmark-completing-read): Improve handling of empty
13787 string (bug#14176).
13788
13789 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13790
13791 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13792
13793 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13794
13795 New faster Imenu implementation (bug#14058).
13796 * progmodes/python.el:
13797 (python-imenu-prev-index-position):
13798 (python-imenu-format-item-label-function)
13799 (python-imenu-format-parent-item-label-function)
13800 (python-imenu-format-parent-item-jump-label-function):
13801 New vars.
13802 (python-imenu-format-item-label)
13803 (python-imenu-format-parent-item-label)
13804 (python-imenu-format-parent-item-jump-label)
13805 (python-imenu--put-parent, python-imenu--build-tree)
13806 (python-imenu-create-index, python-imenu-create-flat-index)
13807 (python-util-popn): New functions.
13808 (python-mode): Set imenu-create-index-function to
13809 python-imenu-create-index.
13810
13811 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13812
13813 * winner.el (winner-active-region): Use region-active-p, activate-mark
13814 and deactivate-mark (bug#14225).
13815
13816 * simple.el (deactivate-mark): Don't inline it.
13817
13818 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13819
13820 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13821
13822 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13823
13824 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13825 file extensions from the archive-mode entry in order to prefer
13826 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13827
13828 2013-04-18 Leo Liu <sdl.web@gmail.com>
13829
13830 * bindings.el (help-event-list): Add ?\?.
13831
13832 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13833
13834 * subr.el (with-wrapper-hook): Declare obsolete.
13835 * simple.el (filter-buffer-substring-function): New hook.
13836 (filter-buffer-substring): Use it.
13837 (filter-buffer-substring-functions): Mark obsolete.
13838 * minibuffer.el (completion-in-region-function): New hook.
13839 (completion-in-region): Use it.
13840 (completion-in-region-functions): Mark obsolete.
13841 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13842 * abbrev.el (abbrev-expand-function): New hook.
13843 (expand-abbrev): Use it.
13844 (abbrev-expand-functions): Mark obsolete.
13845 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13846 and :filter-return.
13847
13848 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13849
13850 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13851 and do not care about match data.
13852
13853 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13854
13855 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13856 completion tables when completing error conditions and
13857 `declare' arguments.
13858 (lisp-complete-symbol, field-complete): Mark as obsolete.
13859 (check-parens): Unmatched parens are user errors.
13860 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13861
13862 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13863
13864 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13865 command changed buffer (ie. `flyspell-pre-buffer' is not current
13866 buffer), which prevents making decisions based on invalid value of
13867 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13868 cause an error when `flyspell-pre-point' was nil after switching
13869 buffers.
13870 (flyspell-post-command-hook): No longer needs to change buffers when
13871 checking pre-word. While at it remove unnecessary progn.
13872
13873 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13874
13875 * textmodes/ispell.el (ispell-add-per-file-word-list):
13876 Fix `flyspell-correct-word-before-point' error when accepting
13877 words and `coment-padding' is an integer by using
13878 `comment-normalize-vars' (Bug #14214).
13879
13880 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13881
13882 New defun movement commands.
13883 * progmodes/python.el (python-nav--syntactically)
13884 (python-nav--forward-defun, python-nav-backward-defun)
13885 (python-nav-forward-defun): New functions.
13886
13887 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13888
13889 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13890 (python-syntax-context): Use named compiler-macro for backwards
13891 compatibility with Emacs 24.x.
13892
13893 2013-04-17 Leo Liu <sdl.web@gmail.com>
13894
13895 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13896 octave-hide-process-buffer.
13897
13898 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13899
13900 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13901 (bug#14216).
13902
13903 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13904
13905 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13906 Fix adjustment of offset when receiving incomplete responses from GDB
13907 (bug#14129).
13908
13909 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13910
13911 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13912 python-mode-abbrev-table.
13913 (python-skeleton-define): Adjust accordingly.
13914 (python-mode-abbrev-table): New table that inherits from it so that
13915 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13916
13917 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13918 (abbrev-symbol): Use it.
13919 (abbrev--before-point): Use it since we already handle inheritance.
13920
13921 2013-04-16 Leo Liu <sdl.web@gmail.com>
13922
13923 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13924 binding to info-lookup-symbol.
13925
13926 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13927
13928 * minibuffer.el (completion--twq-all):
13929 * term/ns-win.el (ns-initialize-window-system):
13930 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13931
13932 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13933
13934 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13935 global bindings.
13936
13937 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13938
13939 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13940
13941 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13942 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13943 to nil.
13944 (ruby-end-of-defun): Remove the unused arg, change the docstring
13945 to reflect that this function is only used as the value of
13946 `end-of-defun-function'.
13947 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13948 to reflect an earlier change that beginning/end-of-defun functions
13949 jump between methods in a class definition, as well as top-level
13950 functions.
13951
13952 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13953
13954 * minibuffer.el (minibuffer-complete): Don't just scroll
13955 a *Completions* that's been iconified.
13956 (minibuffer-force-complete): Make sure repetitions do cycle when going
13957 through completion-in-region -> minibuffer-complete.
13958
13959 2013-04-15 Alan Mackenzie <acm@muc.de>
13960
13961 Correct the placement of c-cpp-delimiters when there're #s not at
13962 col 0.
13963
13964 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13965 place a submatch around the #.
13966 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13967 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13968 on the #, not BOL.
13969
13970 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13971
13972 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13973 (advice--member-p): New arg `name'.
13974 (advice--add-function, advice-member-p): Use it (bug#14202).
13975
13976 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13977
13978 Reformulate java imenu-generic-expression.
13979 The old expression contained ill formed regexps.
13980
13981 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13982 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13983 (cc-imenu-java-method-arg-regexp): New defconsts.
13984 (cc-imenu-java-build-type-args-regex): New defun.
13985 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13986 handling of spaces in the regexp.
13987
13988 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13989
13990 * textmodes/ispell.el (ispell-command-loop): Remove
13991 flyspell highlight of a word when ispell accepts it (bug #14178).
13992
13993 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13994
13995 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13996 uses code from the previous `ange-ftp-run-real-handler'.
13997 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13998 only in case that function exist. This is needed for proper
13999 unloading of Tramp.
14000
14001 2013-04-15 Tassilo Horn <tsdh@gnu.org>
14002
14003 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14004
14005 * textmodes/reftex.el (reftex-compile-variables): Use it.
14006
14007 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14008
14009 * files.el (normal-mode): Only use default major-mode if no other mode
14010 was specified.
14011
14012 * emacs-lisp/trace.el (trace-values): New function.
14013
14014 * files.el: Allow : in local variables (bug#14089).
14015 (hack-local-variable-regexp): New var.
14016 (hack-local-variables-prop-line, hack-local-variables): Use it.
14017
14018 2013-04-13 Roland Winkler <winkler@gnu.org>
14019
14020 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14021 data before it gets modified by bibtex-beginning-of-entry.
14022
14023 2013-04-13 Roland Winkler <winkler@gnu.org>
14024
14025 * textmodes/bibtex.el (bibtex-url): Doc fix.
14026
14027 2013-04-13 Roland Winkler <winkler@gnu.org>
14028
14029 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14030 does not visit a BibTeX file, exclude it from the list of buffers
14031 returned by bibtex-initialize.
14032
14033 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
14034
14035 * window.el (split-window): Remove interactive form, since as a
14036 command this function is a special case of split-window-below.
14037 Correct doc string.
14038
14039 2013-04-12 Roland Winkler <winkler@gnu.org>
14040
14041 * faces.el (read-face-name): Do not override value of arg default.
14042 Allow single faces and strings as default values. Remove those
14043 elements from return value that are not faces.
14044 (describe-face): Simplify.
14045 (face-at-point): New optional args thing and multiple so that this
14046 function can provide the same functionality previously provided by
14047 read-face-name.
14048 (make-face-bold, make-face-unbold, make-face-italic)
14049 (make-face-unitalic, make-face-bold-italic, invert-face)
14050 (modify-face, read-face-and-attribute): Use face-at-point.
14051
14052 * cus-edit.el (customize-face, customize-face-other-window)
14053 * cus-theme.el (custom-theme-add-face)
14054 * face-remap.el (buffer-face-set)
14055 * facemenu.el (facemenu-set-face): Use face-at-point.
14056
14057 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
14058
14059 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14060
14061 2013-04-10 Tassilo Horn <tsdh@gnu.org>
14062
14063 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14064 off leading { and trailing } from field values.
14065
14066 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14067
14068 * emacs-lisp/timer.el (timer--check): New function.
14069 (timer--time, timer-set-function, timer-event-handler): Use it.
14070 (timer-set-idle-time): Simplify.
14071 (timer--activate): CSE.
14072 (timer-event-handler): Give more info in error message.
14073 (internal-timer-start-idle): New function, moved from C.
14074
14075 * mpc.el (mpc-proc): Add `restart' argument.
14076 (mpc-proc-cmd): Use it.
14077 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14078 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14079 less often.
14080
14081 2013-04-10 Masatake YAMATO <yamato@redhat.com>
14082
14083 * progmodes/sh-script.el: Implement `sh-mode' own
14084 `add-log-current-defun-function' (bug#14112).
14085 (sh-current-defun-name): New function.
14086 (sh-mode): Use the function.
14087
14088 2013-04-09 Bastien Guerry <bzg@gnu.org>
14089
14090 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14091
14092 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14093
14094 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14095
14096 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14097 timer (bug#14156).
14098
14099 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14100
14101 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14102 declaration.
14103
14104 2013-04-07 Leo Liu <sdl.web@gmail.com>
14105
14106 * pcmpl-x.el: New file.
14107
14108 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14109
14110 Do not set x-display-name until X connection is established.
14111 This is needed to prevent from weird situation described at
14112 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14113 * frame.el (make-frame): Set x-display-name after call to
14114 window system initialization function, not before.
14115 * term/x-win.el (x-initialize-window-system): Add optional
14116 display argument and use it.
14117 * term/w32-win.el (w32-initialize-window-system):
14118 * term/ns-win.el (ns-initialize-window-system):
14119 * term/pc-win.el (msdos-initialize-window-system):
14120 Add compatible optional display argument.
14121
14122 2013-04-06 Eli Zaretskii <eliz@gnu.org>
14123
14124 * files.el (normal-backup-enable-predicate): On MS-Windows and
14125 MS-DOS compare truenames of temporary-file-directory and of the
14126 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14127 don't fail comparison by compare-strings. Also, compare file
14128 names case-insensitively on MS-Windows and MS-DOS.
14129
14130 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14131
14132 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14133 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14134
14135 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14136
14137 * whitespace.el (whitespace-color-on, whitespace-color-off):
14138 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
14139
14140 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
14141
14142 * ispell.el (ispell-set-spellchecker-params):
14143 Really set `ispell-args' for all equivs.
14144
14145 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14146
14147 * ido.el (ido-completions): Use extra elements of ido-decorations
14148 (bug#14143).
14149 (ido-decorations): Update docstring.
14150
14151 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
14152
14153 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14154 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14155 nil during initialization, in order not to miss changes since the
14156 file was opened. (Bug#14140)
14157
14158 2013-04-05 Leo Liu <sdl.web@gmail.com>
14159
14160 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14161
14162 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14163
14164 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14165
14166 2013-04-04 Glenn Morris <rgm@gnu.org>
14167
14168 * electric.el (electric-pair-inhibit-predicate): Add :version.
14169
14170 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14171
14172 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14173 when a package is required several times (bug#14082).
14174
14175 2013-04-04 Roland Winkler <winkler@gnu.org>
14176
14177 * faces.el (read-face-name): Behave as promised by the docstring.
14178 Assume that arg default is a list of faces.
14179 (describe-face): Call read-face-name with list of default faces.
14180
14181 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14182
14183 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14184 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14185 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14186 the header.
14187 (bookmark-exit-hook-internal): Save even if list is empty.
14188
14189 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14190
14191 * emacs-lisp/package.el (package-pinned-packages): New var.
14192 (package--add-to-archive-contents): Obey it (bug#14118).
14193
14194 2013-04-03 Alan Mackenzie <acm@muc.de>
14195
14196 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14197 Also adapt to the new values of element 7 of a parse state.
14198
14199 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14200 parameter `not-in-delimiter'. Handle being inside comment opener.
14201 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14202 character in case we're typing a '*' after a '/'.
14203 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14204 instead by passing the parameter to c-state-pp-to-literal.
14205
14206 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14207 for elt. 7 of a parse state.
14208
14209 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14210
14211 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14212 * international/latin1-disp.el, international/mule-util.el:
14213 * language/cyril-util.el, language/european.el, language/ind-util.el:
14214 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14215 * language/tibetan.el, language/viet-util.el:
14216 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14217
14218 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14219
14220 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14221 (electric-pair-post-self-insert-function): Use it.
14222 (electric-pair-default-inhibit): New function, extracted from
14223 electric-pair-post-self-insert-function.
14224
14225 2013-03-31 Roland Winkler <winkler@gnu.org>
14226
14227 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14228
14229 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14230
14231 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14232
14233 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
14234
14235 Un-indent after "pass" and "return" statements (Bug#13888)
14236 * progmodes/python.el (python-indent-block-enders): New var.
14237 (python-indent-calculate-indentation): Use it.
14238
14239 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
14240
14241 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14242 defun. Defining it as defalias could introduce too eager
14243 byte-compiler optimization. (Bug#14030)
14244
14245 2013-03-30 Chong Yidong <cyd@gnu.org>
14246
14247 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14248
14249 2013-03-30 Leo Liu <sdl.web@gmail.com>
14250
14251 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14252 (kmacro-execute-from-register): Pass the keyboard macro to
14253 kmacro-call-macro or repeating won't work correctly.
14254
14255 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14256
14257 * progmodes/subword.el: Back to using `forward-symbol'.
14258
14259 * subr.el (forward-whitespace, forward-symbol)
14260 (forward-same-syntax): Move from thingatpt.el.
14261
14262 2013-03-29 Leo Liu <sdl.web@gmail.com>
14263
14264 * kmacro.el (kmacro-to-register): New command.
14265 (kmacro-execute-from-register): New function.
14266 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14267
14268 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14269
14270 * mpc.el: Use defvar-local and setq-local.
14271 (mpc--proc-connect): Connection failures are not bugs.
14272 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14273 (mpc-volume-map): Bind to the up-events.
14274
14275 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14276
14277 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14278 instead of `forward-symbol'.
14279
14280 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14281
14282 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14283 (edebug--recursive-edit): Use it.
14284 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14285 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14286
14287 2013-03-28 Leo Liu <sdl.web@gmail.com>
14288
14289 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14290
14291 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14292
14293 * facemenu.el (list-colors-callback): New defvar.
14294 (list-colors-redisplay): New function.
14295 (list-colors-display): Install list-colors-redisplay as the
14296 revert-buffer-function. (Bug#14063)
14297
14298 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14299
14300 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14301 and suffixes don't overlap (bug#14061).
14302
14303 * case-table.el: Use lexical-binding.
14304 (case-table-get-table): New function.
14305 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14306
14307 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14308
14309 * progmodes/subword.el: Add `superword-mode' to do word motion
14310 over symbol_words (parallels and leverages `subword-mode' which
14311 does word motion inside MixedCaseWords).
14312
14313 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14314
14315 * eshell/em-unix.el: Move su and sudo to...
14316 * eshell/em-tramp.el: ...Eshell tramp module.
14317
14318 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14319
14320 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14321 Change return value to be a sexp. Delay `get-buffer' to after
14322 restoring the desktop (bug#13951).
14323
14324 2013-03-26 Leo Liu <sdl.web@gmail.com>
14325
14326 * register.el: Move semantic tag handling back to
14327 cedet/semantic/senator.el. (Bug#14052)
14328
14329 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14330
14331 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14332 into the prompt either (bug#13963).
14333
14334 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14335
14336 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14337 part of "(error-foo)".
14338
14339 2013-03-24 Juri Linkov <juri@jurta.org>
14340
14341 * replace.el (list-matching-lines-prefix-face): New defcustom.
14342 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14343 `occur-engine' if `face-differs-from-default-p' returns t.
14344 (occur-engine): Add `,' inside backquote construct to evaluate
14345 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14346 Pass `prefix-face' to the functions `occur-context-lines' and
14347 `occur-engine-add-prefix'.
14348 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14349 `prefix-face' and propertize the prefix with `prefix-face'.
14350 (Bug#14017)
14351
14352 2013-03-24 Leo Liu <sdl.web@gmail.com>
14353
14354 * nxml/rng-valid.el (rng-validate-while-idle)
14355 (rng-validate-quick-while-idle): Guard against deleted buffer.
14356 (Bug#13999)
14357
14358 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14359 is the last entry in kill-buffer-hook.
14360
14361 * files.el (kill-buffer-hook): Doc fix.
14362
14363 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14364
14365 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14366 Make it safe-local.
14367
14368 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14369
14370 2013-03-23 Leo Liu <sdl.web@gmail.com>
14371
14372 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14373 Remove.
14374
14375 * nxml/rng-valid.el (rng-validate-mode)
14376 (rng-after-change-function, rng-do-some-validation):
14377 * nxml/rng-maint.el (rng-validate-buffer):
14378 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14379 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14380 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14381 (nxml-extend-after-change-region): Use with-silent-modifications.
14382
14383 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14384 timer-idle-list.
14385
14386 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14387 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14388 timer-idle-list. (Bug#13999)
14389
14390 2013-03-23 Juri Linkov <juri@jurta.org>
14391
14392 * info.el (info-index-match): New face.
14393 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14394 main pattern and add text properties with the new face to matches
14395 in index entries relative to the beginning of the index entry.
14396 (Bug#14015)
14397
14398 2013-03-21 Eric Ludlam <zappo@gnu.org>
14399
14400 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14401 Inhibit read only while inserting objects.
14402
14403 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14404
14405 * progmodes/cfengine.el: Update docs to mention
14406 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14407 symbol motion. Remove "_" from the word syntax.
14408
14409 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14410
14411 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14412 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14413
14414 2013-03-20 Juri Linkov <juri@jurta.org>
14415
14416 * info.el (Info-next-reference-or-link)
14417 (Info-prev-reference-or-link): New functions.
14418 (Info-next-reference, Info-prev-reference): Use them.
14419 (Info-try-follow-nearest-node): Handle footnote navigation.
14420 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14421
14422 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14423
14424 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14425 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14426
14427 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14428
14429 Suppress unnecessary non-ASCII chatter during build process.
14430 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14431 (batch-skkdic-convert): Suppress most of the chatter.
14432 It's not needed so much now that machines are faster,
14433 and its non-ASCII component was confusing; see Dmitry Gutov in
14434 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14435
14436 2013-03-20 Leo Liu <sdl.web@gmail.com>
14437
14438 * ido.el (ido-chop): Fix bug#10994.
14439
14440 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14441
14442 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14443 Remove vars.
14444 (whitespace-color-on, whitespace-color-off):
14445 Use `font-lock-fontify-buffer' (Bug#13817).
14446
14447 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14448
14449 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14450 remapping in mode-line.
14451 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14452
14453 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14454
14455 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14456 value for `whitespace-line' face (Bug#13875).
14457 (whitespace-font-lock-keywords): Change description.
14458 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14459 the constructed keywords instead.
14460 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14461
14462 2013-03-19 Leo Liu <sdl.web@gmail.com>
14463
14464 * progmodes/compile.el (compilation-display-error): New command.
14465 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14466 C-o. (Bug#13992)
14467
14468 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14469
14470 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14471
14472 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14473
14474 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14475
14476 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14477
14478 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14479
14480 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14481 * net/tramp-gvfs.el (top):
14482 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14483 (tramp-handle-shell-command): Use it.
14484 (tramp-dissect-file-name): Raise an error when hostname is a
14485 method name, and neither method nor user is specified.
14486
14487 * net/trampver.el: Update release number.
14488
14489 2013-03-18 Leo Liu <sdl.web@gmail.com>
14490
14491 Make sure eldoc can be turned off properly.
14492 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14493 eldoc-mode.
14494 (eldoc-display-message-p): Revert last change.
14495 (eldoc-display-message-no-interference-p)
14496 (eldoc-print-current-symbol-info): Tweak.
14497
14498 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14499
14500 * doc-view.el (doc-view-new-window-function): Check the new window
14501 overlay's display property instead the char property of the
14502 buffer's first char. Use `with-selected-window' instead of
14503 `save-window-excursion' with `select-window'.
14504 (doc-view-document->bitmap): Check the current doc-view overlay's
14505 display property instead the char property of the buffer's first char.
14506
14507 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14508
14509 Automate the build of ja-dic.el (Bug#13984).
14510 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14511 from the input, rather than assume that it's been done for us by the
14512 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14513 the current date into a ja-dic.el comment, as that complicates
14514 regression testing.
14515
14516 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14517
14518 * whitespace.el: Fix double evaluation.
14519 (whitespace-space, whitespace-hspace, whitespace-tab)
14520 (whitespace-newline, whitespace-trailing, whitespace-line)
14521 (whitespace-space-before-tab, whitespace-indentation)
14522 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14523 obsolete defvars.
14524 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14525 (whitespace-color-on): Use a single font-lock-add-keywords call.
14526 Fix double-evaluation of face variables.
14527
14528 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14529
14530 * net/tramp-adb.el (tramp-adb-parse-device-names):
14531 Use `start-process' instead of `call-process'. Otherwise, the
14532 function might be blocked under MS Windows. (Bug#13299)
14533
14534 2013-03-17 Leo Liu <sdl.web@gmail.com>
14535
14536 Extend eldoc to display info in the mode-line. (Bug#13978)
14537 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14538 (eldoc-mode-line-string): New variable.
14539 (eldoc-minibuffer-message): New function.
14540 (eldoc-message-function): New variable.
14541 (eldoc-message): Use it.
14542 (eldoc-display-message-p)
14543 (eldoc-display-message-no-interference-p):
14544 Support eldoc-post-insert-mode.
14545
14546 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14547 (eval-expression): Run it.
14548
14549 2013-03-17 Roland Winkler <winkler@gnu.org>
14550
14551 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14552 strings in the list of return values.
14553
14554 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14555
14556 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14557 radix before checking for HMS forms.
14558
14559 2013-03-16 Leo Liu <sdl.web@gmail.com>
14560
14561 * progmodes/scheme.el: Add indentation and font-locking for λ.
14562 (Bug#13975)
14563
14564 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14565
14566 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14567 token before point (bug#13942).
14568
14569 2013-03-16 Leo Liu <sdl.web@gmail.com>
14570
14571 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14572
14573 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14574
14575 * startup.el (command-line-normalize-file-name): Fix handling of
14576 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14577 <xfq.free@gmail.com> in
14578 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14579
14580 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14581
14582 Sync with Tramp 2.2.7.
14583
14584 * net/trampver.el: Update release number.
14585
14586 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14587
14588 * doc-view.el: Fix bug#13887.
14589 (doc-view-insert-image): Don't modify overlay associated to
14590 non-live windows, and implement horizontal centering of image in
14591 case it's smaller than the window.
14592 (doc-view-new-window-function): Force redisplay of new windows on
14593 doc-view buffers.
14594
14595 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14596
14597 * saveplace.el (save-place-alist-to-file): Don't sort
14598 `save-place-alist', just pretty-print it (bug#13882).
14599
14600 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14601
14602 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14603 Check whether `default-file-name-coding-system' is bound.
14604 It isn't in XEmacs.
14605
14606 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14607
14608 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14609 backquotes for `obsolete' (bug#13929).
14610
14611 * international/mule.el (find-auto-coding): Include file name in
14612 obsolescence warning (bug#13922).
14613
14614 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14615
14616 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14617 for CFEngine 3-specific indentation.
14618 (cfengine3-indent-line): Use it. Fix up category regex.
14619 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14620
14621 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14622
14623 * type-break.el (type-break-file-name):
14624 * textmodes/remember.el (remember-data-file):
14625 * strokes.el (strokes-file):
14626 * shadowfile.el (shadow-initialize):
14627 * saveplace.el (save-place-file):
14628 * ps-bdf.el (bdf-cache-file):
14629 * progmodes/idlwave.el (idlwave-config-directory):
14630 * net/quickurl.el (quickurl-url-file):
14631 * international/kkc.el (kkc-init-file-name):
14632 * ido.el (ido-save-directory-list-file):
14633 * emulation/viper.el (viper-custom-file-name):
14634 * emulation/vip.el (vip-startup-file):
14635 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14636 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14637
14638 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14639
14640 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14641 * language/thai-word.el: Switch to UTF-8.
14642
14643 See ChangeLog.16 for earlier changes.
14644
14645 ;; Local Variables:
14646 ;; coding: utf-8
14647 ;; End:
14648
14649 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14650
14651 This file is part of GNU Emacs.
14652
14653 GNU Emacs is free software: you can redistribute it and/or modify
14654 it under the terms of the GNU General Public License as published by
14655 the Free Software Foundation, either version 3 of the License, or
14656 (at your option) any later version.
14657
14658 GNU Emacs is distributed in the hope that it will be useful,
14659 but WITHOUT ANY WARRANTY; without even the implied warranty of
14660 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14661 GNU General Public License for more details.
14662
14663 You should have received a copy of the GNU General Public License
14664 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.