Re-implement popup menu for flymake
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-08 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/flymake.el (flymake-popup-current-error-menu): Rename
4 from flymake-display-err-menu-for-current-line. Reimplement.
5 (flymake-posn-at-point-as-event, flymake-popup-menu)
6 (flymake-make-emacs-menu): Remove. (Bug#16077)
7
8 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9
10 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
11 (region-extract-function): Use it.
12 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
13 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
14 Delete functions.
15 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
16 kill-ring-save, kill-region, delete-char, delete-forward-char.
17 Ignore self-insert-iso.
18
19 * emulation/cua-gmrk.el (cua--init-global-mark):
20 Ignore `self-insert-iso'.
21
22 * emulation/cua-base.el (cua--prefix-copy-handler)
23 (cua--prefix-cut-handler): Rely on region-extract-function rather than
24 checking cua--rectangle.
25 (cua-delete-region): Use region-extract-function.
26 (cua-replace-region): Delete function.
27 (cua-copy-region, cua-cut-region): Obey region-extract-function.
28 (cua--pre-command-handler-1): Don't do the delete-selection thing.
29 (cua--self-insert-char-p): Ignore `self-insert-iso'.
30 (cua--init-keymaps): Don't remap delete-selection commands.
31 (cua-mode): Use delete-selection-mode instead of rolling our own
32 (bug#16085).
33
34 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
35 Obey region-extract-function.
36
37 Make registers and delete-selection-mode work on rectangles.
38 * register.el (describe-register-1): Don't modify the register's value.
39 (copy-to-register): Obey region-extract-function.
40 * delsel.el (delete-active-region): Obey region-extract-function.
41
42 2013-12-08 Leo Liu <sdl.web@gmail.com>
43
44 * progmodes/flymake.el (flymake, flymake-error-bitmap)
45 (flymake-warning-bitmap, flymake-fringe-indicator-position)
46 (flymake-compilation-prevents-syntax-check)
47 (flymake-start-syntax-check-on-newline)
48 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
49 (flymake-start-syntax-check-on-find-file, flymake-log-level)
50 (flymake-xml-program, flymake-master-file-dirs)
51 (flymake-master-file-count-limit)
52 (flymake-allowed-file-name-masks): Relocate.
53 (flymake-makehash, flymake-float-time)
54 (flymake-replace-regexp-in-string, flymake-split-string)
55 (flymake-get-temp-dir): Remove.
56 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
57 (flymake-current-row, flymake-selected-frame)
58 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
59 related functions. (Bug#16077)
60
61 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
62
63 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
64
65 2013-12-07 Tassilo Horn <tsdh@gnu.org>
66
67 * help-fns.el (describe-function-1): Use new advice-* functions
68 rather than old ad-* functions. Fix function type description and
69 source links for advised functions and subrs.
70
71 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
72
73 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
74
75 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
76
77 * progmodes/compile.el (compilation-start):
78 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
79
80 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
81 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
82
83 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
84
85 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
86 Touch up the last change.
87
88 2013-12-06 Leo Liu <sdl.web@gmail.com>
89
90 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
91 (inferior-octave-startup): Always use "octave> " for prompt.
92 (octave-goto-function-definition)
93 (octave-sync-function-file-names)
94 (octave-find-definition-default-filename): Remove redundant backquotes.
95
96 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
97
98 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
99 syntax for `?'.
100 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
101 where appropriate already.
102 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
103 end of method names (Bug#15874).
104
105 2013-12-06 Juri Linkov <juri@jurta.org>
106
107 * isearch.el (isearch--saved-overriding-local-map):
108 New internal variable.
109 (isearch-mode): Set it to the initial value of
110 `overriding-terminal-local-map'.
111 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
112 with `isearch--saved-overriding-local-map'. (Bug#16035)
113
114 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
115
116 * progmodes/octave.el (inferior-octave-completion-table):
117 Turn back into function, use `completion-table-with-cache'
118 (Bug#11906). Update all references.
119
120 * minibuffer.el (completion-table-with-cache): New function.
121
122 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
123
124 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
125
126 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
127
128 * net/eww.el (eww-current-source): New variable to store page
129 source.
130 (eww-display-html, eww-mode, eww-save-history)
131 (eww-restore-history): Use it.
132 (eww-view-source): New command to view page source.
133 Opportunistically uses `html-mode' to highlight the buffer.
134 (eww-mode-map): Install it.
135
136 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
137
138 * net/dbus.el (dbus-unregister-service)
139 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
140 Fix docstring.
141 (dbus-unregister-service): Skip :serial entries in
142 `dbus-registered-objects-table'.
143 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
144
145 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
146
147 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
148 around keywords with extra `split-string' argument.
149
150 2013-12-04 Martin Rudalics <rudalics@gmx.at>
151
152 * windmove.el (windmove-other-window-loc): Handle navigation
153 between windows (excluding the minibuffer window - Bug#16017).
154
155 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
156
157 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
158 in D-Bus type syntax.
159 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
160 preserve unibyte strings. (Bug#16048)
161
162 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
165 Call force-mode-line-update is the proper buffer (bug#16042).
166
167 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
168
169 * vc/log-edit.el (log-edit-add-new-comment): Rename to
170 `log-edit-remember-comment', make argument optional. Adjust all
171 callers.
172 (log-edit-mode): Add `log-edit-remember-comment' to
173 `kill-buffer-hook' locally.
174 (log-edit-kill-buffer): Don't remember comment explicitly since
175 the buffer is killed anyway.
176
177 2013-12-04 Juri Linkov <juri@jurta.org>
178
179 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
180 add-hook and remove-hook for multi-buffer search. (Bug#16035)
181
182 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
183
184 * notifications.el (notifications-close-notification): Call the
185 D-Bus method with ID being a `:uint32'. (Bug#16030)
186
187 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
188
189 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
190
191 2013-12-03 Juri Linkov <juri@jurta.org>
192
193 * progmodes/compile.el (compilation-start): Rename window alist
194 entry `no-display-ok' to `allow-no-window'.
195
196 * simple.el (shell-command): Add window alist entry
197 `allow-no-window' to `display-buffer'.
198 (async-shell-command): Doc fix.
199
200 * window.el (display-buffer-no-window): New action function.
201 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
202
203 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
204
205 * vc/log-edit.el (log-edit-set-header): Extract from
206 `log-edit-toggle-header'.
207 (log-edit-extract-headers): Separate the summary, when extracted
208 from header, from the rest of the message with an empty line.
209
210 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
211 line, if present, to the Summary header.
212
213 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
214
215 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
216 in current-buffer (bug#16029).
217
218 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
219
220 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
221 (debugger-mode-map): Bind it.
222 (debugger--backtrace-base): New function.
223 (debugger-eval-expression): Use it.
224 (debugger-frame-number): Skip local vars when present.
225 (debugger--locals-visible-p, debugger--insert-locals)
226 (debugger--show-locals, debugger--hide-locals): New functions.
227
228 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
229
230 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
231 "LC_ALL".
232 (tramp-get-remote-locale): New defun.
233 (tramp-open-connection-setup-interactive-shell): Use it.
234
235 2013-12-02 Leo Liu <sdl.web@gmail.com>
236
237 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
238
239 * progmodes/sh-script.el (sh-shell-process):
240 * progmodes/octave.el (inferior-octave-process-live-p):
241 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
242 (gdb-inferior-io-sentinel):
243 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
244
245 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
246
247 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
248 `save-selected-window' to `log-edit-hide-buf'. This makes
249 `log-edit-show-files' idempotent.
250 (log-edit-show-files): Mark the new window as dedicated.
251
252 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
253
254 * vc/log-edit.el (log-edit-mode-map): Add binding for
255 `log-edit-kill-biffer'.
256 (log-edit-hide-buf): Add a FIXME comment.
257 (log-edit-add-new-comment): New function, extracted from
258 `log-edit-done'.
259 (log-edit-done, log-edit-add-to-changelog): Use it.
260 (log-edit-kill-buffer): New command.
261
262 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
263
264 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
265 instead of killing the buffer.
266
267 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
268
269 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
270
271 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
272
273 * net/eww.el (eww-form-checkbox-selected-symbol)
274 (eww-form-checkbox-symbol): New customizable variable.
275 (eww-form-checkbox, eww-toggle-checkbox):
276 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
277
278 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
279 (shr--get-media-pref, shr--extract-best-source): New function.
280 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
281 no :src tag was specified.
282
283 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
284 (eww-render): Handle `eww-use-external-browser-for-content-type'.
285 Use \\` to match beginning of string instead of ^.
286 (eww-browse-with-external-browser): Provide optional URL parameter.
287 (eww-render): Set `eww-current-title' back to "".
288
289 * net/shr.el (shr-tag-video): Display content for video if no
290 poster is available.
291 (shr-tag-audio): Add support for <audio> tag.
292
293 * net/eww.el (eww-text-input-types): : New const.
294 (eww-process-text-input): Treat input types in
295 `eww-text-input-types' as text.
296
297 * net/shr.el (shr-tag-table): Fix comment typo.
298
299 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
300
301 * net/eww.el (eww-follow-link): New command to avoid reloading
302 pages when we follow #target links (bug#15243).
303 (eww-quit): Special mode buffers shouldn't query before exiting.
304
305 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
306
307 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
308 forms.
309
310 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
311
312 * net/eww.el (eww-restore-history): Update the window title after
313 moving in the history.
314 (eww-current-dom): New variable used to save the current DOM.
315
316 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
317
318 * vc/log-edit.el (log-edit-mode-map): Add binding for
319 `log-edit-beginning-of-line'.
320 (log-edit-setup-add-author): New user option.
321 (log-edit-beginning-of-line): New command.
322 (log-edit): Move major mode call above the contents setup so that
323 the local variable values are already applied.
324 (log-edit): Only insert "Author: " when
325 `log-edit-setup-add-author' is non-nil.
326 (log-edit): When SETUP is non-nil, position point after ": "
327 instead of point-min.
328
329 2013-12-01 Glenn Morris <rgm@gnu.org>
330
331 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
332
333 2013-11-30 Eli Zaretskii <eliz@gnu.org>
334
335 * startup.el (fancy-splash-frame): On MS-Windows, trigger
336 redisplay to make sure the initial frame gets a chance to become
337 visible. (Bug#16014)
338
339 2013-11-30 Martin Rudalics <rudalics@gmx.at>
340
341 Support resizing frames and windows pixelwise.
342 * cus-start.el (frame-resize-pixelwise)
343 (window-resize-pixelwise): New entries.
344 * emacs-lisp/debug.el (debug): Use window-total-height instead
345 of window-total-size.
346 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
347 * help.el (describe-bindings-internal): Call help-buffer
348 (temp-buffer-max-width): New option.
349 (resize-temp-buffer-window, help-window-setup)
350 (with-help-window): Rewrite.
351 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
352 dragging dividers.
353 * window.el (frame-char-size, window-min-pixel-height)
354 (window-safe-min-pixel-height, window-safe-min-pixel-width)
355 (window-min-pixel-width, window-safe-min-pixel-size)
356 (window-combination-p, window-safe-min-size)
357 (window-resizable-p, window--size-to-pixel)
358 (window--pixel-to-size, window--resize-apply-p): New functions.
359 (window-safe-min-height): Fix doc-string.
360 (window-size, window-min-size, window--min-size-1)
361 (window-sizable, window-sizable-p, window--min-delta-1)
362 (window-min-delta, window--max-delta-1, window-max-delta)
363 (window--resizable, window--resizable-p, window-resizable)
364 (window-full-height-p, window-full-width-p, window-at-side-p)
365 (window--in-direction-2, window-in-direction)
366 (window--resize-reset-1, window--resize-mini-window)
367 (window-resize, window-resize-no-error)
368 (window--resize-child-windows-normal)
369 (window--resize-child-windows, window--resize-siblings)
370 (window--resize-this-window, window--resize-root-window)
371 (window--resize-root-window-vertically)
372 (adjust-window-trailing-edge, enlarge-window, shrink-window)
373 (maximize-window, minimize-window, delete-window)
374 (quit-restore-window, window-split-min-size, split-window)
375 (balance-windows-2, balance-windows)
376 (balance-windows-area-adjust, balance-windows-area)
377 (window--state-get-1, window-state-get, window--state-put-1)
378 (window--state-put-2, window-state-put)
379 (display-buffer-record-window, window--display-buffer):
380 Make functions handle pixelwise sizing of windows.
381 (display-buffer--action-function-custom-type)
382 (display-buffer-fallback-action):
383 Add display-buffer-in-previous-window.
384 (display-buffer-use-some-window): Resize window to height it had
385 before.
386 (fit-window-to-buffer-horizontally): New option.
387 (fit-frame-to-buffer): Describe new values.
388 (fit-frame-to-buffer-bottom-margin): Replace with
389 fit-frame-to-buffer-margins.
390 (window--sanitize-margin): New function.
391 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
392 using window-text-pixel-size.
393
394 2013-11-30 Glenn Morris <rgm@gnu.org>
395
396 * emacs-lisp/bytecomp.el (byte-compile-form):
397 Make the `interactive-only' warning like the `obsolete' one.
398 * comint.el (comint-run):
399 * files.el (insert-file-literally, insert-file):
400 * replace.el (replace-string, replace-regexp):
401 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
402 (goto-line, insert-buffer, next-line, previous-line):
403 Tweak `interactive-only' spec.
404
405 Stop keeping (most) generated cedet grammar files in the repository.
406 * Makefile.in (semantic): New.
407 (compile-main): Depend on semantic.
408
409 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
412 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
413
414 * uniquify.el (uniquify-buffer-name-style): Change default.
415
416 * loadup.el: Preload "uniquify".
417
418 * time.el (display-time-update): Update all mode lines (bug#15999).
419
420 * electric.el (electric-indent-mode): Enable by default.
421 * loadup.el: Preload "electric".
422
423 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
424
425 * emacs-lisp/helpers.el (string-empty-p): New function.
426 (string-blank-p): New function.
427
428 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
429
430 * imenu.el (imenu--index-alist): Add missing dot to the docstring
431 (Bug#14029).
432
433 2013-11-29 Andreas Politz <politza@fh-trier.de>
434 * imenu.el (imenu--subalist-p): Don't error on non-conses and
435 allow non-lambda lists as functions.
436 (imenu--in-alist): Don't recurse into non-subalists.
437 (imenu): Don't pass function itself as an argument (Bug#14029).
438
439 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
440
441 * progmodes/python.el (python-mode-map): Remove binding for ":".
442 (python-indent-electric-colon): Remove command.
443 (python-indent-post-self-insert-function): Integrate the previous code
444 of python-indent-electric-colon. Make it conditional on
445 electric-indent-mode.
446 (python-mode): Add ?: to electric-indent-chars.
447 Move python-indent-post-self-insert-function to the end of
448 post-self-insert-hook.
449
450 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
451
452 * doc-view.el (doc-view-goto-page): Update mode-line.
453
454 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
455
456 2013-11-27 Glenn Morris <rgm@gnu.org>
457
458 * international/charprop.el, international/uni-bidi.el:
459 * international/uni-category.el, international/uni-combining.el:
460 * international/uni-comment.el, international/uni-decimal.el:
461 * international/uni-decomposition.el, international/uni-digit.el:
462 * international/uni-lowercase.el, international/uni-mirrored.el:
463 * international/uni-name.el, international/uni-numeric.el:
464 * international/uni-old-name.el, international/uni-titlecase.el:
465 * international/uni-uppercase.el:
466 Remove generated files from VCS repository.
467
468 2013-11-27 Eli Zaretskii <eliz@gnu.org>
469
470 * filenotify.el (file-notify-add-watch): Don't special-case
471 w32notify when computing the directory to watch.
472
473 2013-11-27 Glenn Morris <rgm@gnu.org>
474
475 Make bootstrap without generated uni-*.el files possible again.
476 * loadup.el: Update command-line-args checking for unidata-gen.
477 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
478 * composite.el, international/characters.el:
479 Handle unicode tables being undefined.
480
481 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
482 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
483 (compile-main): Depend on leim rule.
484 (leim): New rule.
485 * loadup.el: Move leim-list.el to leim/ subdirectory.
486 * startup.el (normal-top-level): No more leim directory.
487 * international/ja-dic-cnv.el (skkdic-convert):
488 Disable version-control and autoloads in output files.
489 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
490 Disable version-control and autoloads in output files.
491 * leim/quail: Move here from ../leim.
492 * leim/quail/hangul.el (hangul-input-method-activate):
493 Add autoload cookie.
494 (generated-autoload-load-name): Set file-local value.
495 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
496 (generated-autoload-load-name): Set file-local value.
497
498 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
499
500 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
501 (eww-add-bookmark): ask confirmation when add to bookmarks
502 (eww-quit): ask confirmation before quitting eww
503
504 2013-11-26 Eli Zaretskii <eliz@gnu.org>
505
506 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
507 reading output from Diff on MS-Windows and MS-DOS.
508
509 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
510
511 * emacs-lisp/helpers.el (string-reverse): New function.
512
513 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
514
515 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
516 names on MS Windows, like "/[::1]:".
517
518 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
519 SWITCHES.
520
521 2013-11-26 Glenn Morris <rgm@gnu.org>
522
523 * progmodes/python.el (python-indent-guess-indent-offset):
524 Avoid corner-case error. (Bug#15975)
525
526 Preload leim-list.el. (Bug#4789)
527 * loadup.el: Load leim-list.el when found.
528 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
529
530 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
531
532 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
533
534 * emacs-lisp/helpers.el (string-join): New function.
535
536 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
537
538 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
539 Mark as obsolete and replace it with a symbol property.
540 (byte-compile-form): Use new 'interactive-only property.
541 * comint.el, files.el, replace.el, simple.el:
542 Apply new 'interactive-only properly.
543
544 2013-11-25 Martin Rudalics <rudalics@gmx.at>
545
546 * window.el (display-buffer-at-bottom): Make sure that
547 split-window-sensibly creates the new window on bottom
548 (Bug#15961).
549
550 2013-11-23 David Kastrup <dak@gnu.org>
551
552 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
553 on the conflict markers when available.
554 (smerge--get-marker): New function.
555 (smerge-end-re, smerge-base-re): Add subgroup.
556
557 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
558
559 * frame.el (handle-focus-in, handle-focus-out): Add missing
560 interactive spec.
561
562 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
563
564 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
565 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
566
567 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
568
569 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
570 (gomoku--last-pos): New var.
571 (gomoku--intangible-chars): New const.
572 (gomoku--intangible): New function.
573 (gomoku-mode): Use it. Derive from special-mode.
574 (gomoku-move-up): Adjust line count.
575 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
576 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
577 Simplify accordingly.
578
579 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
580 Remove blink-cursor code.
581 (blink-cursor-timer-function, blink-cursor-suspend):
582 Don't special-case GUIs.
583 (blink-cursor-mode): Use focus-in/out-hook.
584
585 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
586
587 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
588 work when annotation is invisible (Bug#13886).
589
590 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
591
592 * json.el (json-alist-p): Only return non-nil if the alist has
593 simple keys (Bug#13518).
594
595 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
596
597 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
598 when control-statement is the first statement in a buffer (Bug#15956).
599
600 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
601
602 * imenu.el (imenu-generic-skip-comments-and-strings):
603 New option (Bug#15560).
604 (imenu--generic-function): Use it.
605
606 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
607
608 * minibuffer.el (completion--in-region-1): Scroll the correct
609 window. (Bug#13898)
610
611 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
612
613 * emacs-lisp/helpers.el: Add some string helpers.
614 (string-trim-left): Removes leading whitespace.
615 (string-trim-right): Removes trailing whitespace.
616 (string-trim): Removes leading and trailing whitespace.
617
618 * subr.el (string-suffix-p): New function.
619
620 2013-11-23 Glenn Morris <rgm@gnu.org>
621
622 * progmodes/python.el (python-shell-send-file):
623 Add option to delete file when done. (Bug#15647)
624 (python-shell-send-string, python-shell-send-region): Use it.
625
626 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
627
628 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
629 to set buffer-read-only to t, never to nil. (Bug#15938)
630
631 * textmodes/tex-mode.el (latex-noindent-environments):
632 Add safe-local-variable property. (Bug#15936)
633
634 2013-11-23 Glenn Morris <rgm@gnu.org>
635
636 * textmodes/enriched.el (enriched-mode): Doc fix.
637 * emacs-lisp/authors.el (authors-renamed-files-alist):
638 Add enriched.doc -> enriched.txt.
639
640 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
641
642 2013-11-22 Leo Liu <sdl.web@gmail.com>
643
644 * progmodes/octave.el (inferior-octave-startup): Spit out error
645 message.
646
647 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
648
649 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
650 Improve docstring.
651 Add :version.
652 (ruby-encoding-magic-comment-style): Add :version.
653
654 2013-11-22 Leo Liu <sdl.web@gmail.com>
655
656 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
657 (Bug#15076)
658 (octave-help-mode): Adapt to change to help-mode-finish to use
659 derived-mode-p on 2013-09-17.
660 (inferior-octave-prompt): Also match octave-gui.
661 (octave-kill-process): Don't ask twice. (Bug#10564)
662
663 2013-11-22 Leo Liu <sdl.web@gmail.com>
664
665 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
666 (inferior-octave-startup, inferior-octave-check-process)
667 (inferior-octave-track-window-width-change)
668 (octave-completion-at-point, octave-eldoc-function): Use it.
669 (octave-kill-process): Provide confirmation. (Bug#10564)
670
671 2013-11-21 Leo Liu <sdl.web@gmail.com>
672
673 * progmodes/octave.el (octave-mode, inferior-octave-mode):
674 Fix obsolete variable comment-use-global-state.
675
676 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
677
678 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
679 Add `octave-source-file'.
680 (octave-source-file): New function. (Bug#15935)
681
682 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
683
684 * net/eww.el (eww-local-regex): New variable.
685 (eww): Use it to detect localhost and similar.
686
687 2013-11-21 Leo Liu <sdl.web@gmail.com>
688
689 Add completion for command `ag'.
690 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
691 (pcomplete/ag): New function.
692 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
693
694 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
695
696 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
697 (bug#14646).
698 (make-obsolete): Remove interactive spec.
699
700 2013-11-21 Glenn Morris <rgm@gnu.org>
701
702 * startup.el (command-line-1): Use path-separator with -L.
703
704 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
705
706 * emacs-lisp/package.el (describe-package-1): Add package archive
707 to shown fields.
708
709 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
710
711 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
712 Change default to "# encoding: %s" to differentiate it from the
713 default Ruby encoding comment template.
714
715 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
716
717 * ses.el (ses-mode): Doc fix. (Bug#14748)
718
719 2013-11-20 Leo Liu <sdl.web@gmail.com>
720
721 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
722
723 2013-11-19 Dan Nicolaescu <dann@gnu.org>
724
725 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
726 when rebase or bisect are in progress.
727
728 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
729
730 * filenotify.el (file-notify-add-watch): Doc fix.
731
732 2013-11-19 Leo Liu <sdl.web@gmail.com>
733
734 * obsolete/rcompile.el: Mark obsolete.
735
736 * progmodes/compile.el (compilation-start)
737 (compilation-goto-locus, compilation-find-file):
738 Pass no-display-ok and handle nil value from display-buffer.
739 (Bug#13594)
740
741 * window.el (display-buffer-alist, display-buffer): Document the
742 new parameter no-display-ok. Return either a window or nil
743 but never a non-window value.
744
745 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
746
747 * electric.el (electric-indent-mode-map): Remove.
748 (electric-indent-mode): Change the global-map instead (bug#15915).
749
750 * textmodes/text-mode.el (paragraph-indent-minor-mode):
751 Use add-function.
752
753 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * emacs-lisp/nadvice.el (remove-function): Align with
756 add-function's behavior.
757
758 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
759 (gdb--string-regexp): New constant.
760 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
761 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
762 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
763 submatch 1.
764 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
765 Adjust use accordingly.
766 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
767
768 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
769
770 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
771 interpolation curlies (Bug#15914).
772
773 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
774
775 * calc/calc.el (calc-context-sensitive-enter): New variable.
776 (calc-enter): Use `calc-context-sensitive-enter'.
777
778 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
779
780 * progmodes/cfengine.el: Version bump.
781 (cfengine-cf-promises): New defcustom to locate cf-promises.
782 (cfengine3-vartypes): Add new "data" type.
783 (cfengine3--current-word): New function to get current name-like
784 word or its bounds.
785 (cfengine3--current-function): New function to look up a CFEngine
786 function's definition.
787 (cfengine3-format-function-docstring): New function.
788 (cfengine3-make-syntax-cache): New function.
789 (cfengine3-documentation-function): New function: ElDoc glue.
790 (cfengine3-completion-function): New function: completion glue.
791 (cfengine3-mode): Set `compile-command',
792 `eldoc-documentation-function', and add to
793 `completion-at-point-functions'.
794
795 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
796
797 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
798 `tramp-current-connection'.
799
800 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
801
802 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
803 nil/self/true/false with "end of symbol".
804
805 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
806
807 * subr.el (version-regexp-alist): Fix a typo.
808
809 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
810
811 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
812 "en_US.utf8" and "LC_CTYPE" to "".
813 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
814 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
815
816 2013-11-15 Leo Liu <sdl.web@gmail.com>
817
818 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
819
820 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
821
822 * progmodes/gud.el (ctl-x-map):
823 Remove C-x SPC binding. (Bug#12342)
824 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
825
826 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
827
828 * subr.el (version-regexp-alist):
829 Recognize hg, svn and darcs versions as snapshot versions.
830
831 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
832 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
833 (ruby--encoding-comment-required-p): Extract from
834 `ruby-mode-set-encoding'.
835 (ruby-mode-set-encoding): Add the ability to always insert an
836 utf-8 encoding comment. Fix and simplify coding comment update
837 logic.
838
839 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
840
841 * net/tramp-gvfs.el (top): Run init code only when
842 `tramp-gvfs-enabled' is not nil.
843 (tramp-gvfs-enabled): Check also :system bus.
844
845 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
846
847 Sync with upstream verilog-mode revision 78e66ba.
848 * progmodes/verilog-mode.el (verilog-end-of-defun)
849 (verilog-type-completion, verilog-get-list): Remove unused funcs.
850 (verilog-get-end-of-defun): Remove unused argument.
851 (verilog-comment-depth): Remove unused local `e'.
852 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
853 Don't pass arg to verilog-get-end-of-defun.
854
855 2013-11-14 Glenn Morris <rgm@gnu.org>
856
857 * obsolete/assoc.el (aget): Prefix dynamic variable.
858
859 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
860
861 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
862
863 * widget.el, hfy-cmap.el: Remove bogus package version number.
864
865 2013-11-13 Glenn Morris <rgm@gnu.org>
866
867 * replace.el (replace-eval-replacement):
868 Try to give more helpful error message. (Bug#15836)
869
870 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
871 (archive-7z-update): Avoid custom type mismatches.
872
873 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
874
875 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
876
877 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
878 address can be empty.
879
880 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
881 Accept nil SWITCHES.
882 (tramp-gvfs-handle-write-region): Implement APPEND.
883
884 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
885
886 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
887 binary "|" operator and closing block args delimiter.
888 Remove FIXME comment referring to Ruby 1.8-only syntax.
889 (ruby-smie--implicit-semi-p): Not after "|" operator.
890 (ruby-smie--closing-pipe-p): New function.
891 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
892 (ruby-smie-rules): Indent after "|".
893
894 2013-11-12 Glenn Morris <rgm@gnu.org>
895
896 * ps-print.el (ps-face-attribute-list):
897 Handle anonymous faces. (Bug#15827)
898
899 2013-11-12 Martin Rudalics <rudalics@gmx.at>
900
901 * window.el (display-buffer-other-frame): Fix doc-string.
902 (Bug#15868)
903
904 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
905
906 * subr.el (force-mode-line-update): Delete, move to buffer.c.
907
908 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
909
910 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
911 (tramp-sh-handle-file-local-copy): Don't write a message when
912 saving temporary files.
913
914 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
915 both directories are remote.
916 (tramp-smb-handle-directory-files): Do not return double entries.
917 Do not expand full file names.
918 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
919 (tramp-smb-handle-write-region): Implement APPEND.
920 (tramp-smb-get-stat-capability): Fix a stupid bug.
921
922 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
923
924 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
925
926 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
927
928 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
929 throwing error over malformed let/let* (bug#15814).
930
931 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
932
933 * iswitchb.el (iswitchb-mode): Mark obsolete.
934
935 2013-11-11 Glenn Morris <rgm@gnu.org>
936
937 * international/uni-bidi.el, international/uni-category.el:
938 * international/uni-name.el, international/uni-numeric.el:
939 Regenerate for Unicode 6.3.0.
940
941 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
942
943 * net/tramp.el (tramp-methods):
944 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
945 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
946
947 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
948
949 * progmodes/sh-script.el (sh-font-lock-keywords-var):
950 Force highlighting text after Summary keyword in doc face for rpm.
951
952 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
953
954 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
955 available and the word has no wildcards, append one to the grep pattern.
956 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
957 (ispell-complete-word): Call `ispell-lookup-words' with the value
958 independent of `ispell-look-p'.
959
960 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
961
962 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
963 Not after "||".
964 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
965 their parent.
966
967 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
970 (ruby-font-lock-keywords): Use backquote.
971
972 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
973
974 * progmodes/ruby-mode.el (ruby-smie--forward-token)
975 (ruby-smie--backward-token): Only consider full-string matches.
976
977 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
978
979 * faces.el (describe-face): Add distant-foreground.
980
981 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
982
983 * progmodes/ruby-mode.el: Improve encoding comment handling.
984 (ruby-encoding-magic-comment-style): New option.
985 (ruby-custom-encoding-magic-comment-template): New option.
986 (ruby--insert-coding-comment, ruby--detect-encoding):
987 New functions extracted from `ruby-mode-set-encoding'.
988 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
989 to control the style of the auto-inserted encoding comment.
990
991 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
992
993 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
994 Use `smie-backward-sexp' with token argument.
995
996 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
997
998 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
999 Remove instrumentation code.
1000
1001 2013-11-08 Glenn Morris <rgm@gnu.org>
1002
1003 * progmodes/autoconf.el (autoconf-mode):
1004 Tweak comment-start-skip. (Bug#15822)
1005
1006 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1009 at bobp (bug#15826).
1010 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1011
1012 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1013
1014 * man.el (Man-start-calling): New macro, extracted from
1015 Man-getpage-in-background.
1016 (Man-getpage-in-background): Use it.
1017 (Man-update-manpage): New command.
1018 (Man-mode-map): Bind it.
1019
1020 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1021
1022 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1023 of "and", "or", "&&" and "||".
1024 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1025 argument. Prohibit opening curly brace because it could only be a
1026 block opener in that position.
1027 (ruby-smie--forward-token, ruby-smie--backward-token):
1028 Separate "|" from "&" or "*" going after it. That can happen in block
1029 arguments.
1030 (ruby-smie--indent-to-stmt): New function, seeks the end of
1031 previous statement or beginning of buffer.
1032 (ruby-smie-rules): Use it.
1033 (ruby-smie-rules): Check if there's a ":" before a curly block
1034 opener candidate; if there is, it's a hash.
1035
1036 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1037
1038 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1039 (cl--block-wrapper): Fix last accidental change.
1040
1041 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1042
1043 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1044 Instrument, in order to hunt failure on hydra.
1045
1046 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1047
1048 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1049 malformed bindings form (bug#15814).
1050
1051 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1052
1053 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1054 "." compared to " @ ". This incidentally fixes some indentation
1055 examples with "do".
1056 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1057 (ruby-smie-grammar): New tokens: "and" and "or".
1058 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1059 Exclude "and" and "or". Remove "do" in order to work around token
1060 priorities.
1061 (ruby-smie-rules): Add all infix tokens. Handle the case of
1062 beginning-of-buffer.
1063
1064 2013-11-06 Glenn Morris <rgm@gnu.org>
1065
1066 * Makefile.in (setwins_almost, setwins_for_subdirs):
1067 Avoid accidental matches.
1068
1069 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1070
1071 * menu-bar.el (popup-menu): Use key-binding.
1072
1073 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1074
1075 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1076 menus, support also the menus produced by minor modes.
1077 (Bug#15817)
1078
1079 2013-11-06 Leo Liu <sdl.web@gmail.com>
1080
1081 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1082 DISTANCE to bound the search. All uses changed. (Bug#15808)
1083
1084 2013-11-06 Glenn Morris <rgm@gnu.org>
1085
1086 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1087 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1088 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1089
1090 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1091
1092 * electric.el (electric-indent-just-newline): New command.
1093 (electric-indent-mode-map): New keymap.
1094 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1095 Re-add :group which weren't redundant.
1096
1097 * electric.el (electric-indent-local-mode): New minor mode.
1098 (electric-indent-functions-without-reindent): New var.
1099 (electric-indent-post-self-insert-function): Use it.
1100 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1101
1102 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1103
1104 * international/quail.el (quail-help): Be more explicit about the
1105 meaning of the labels shown on the keys. (Bug#15800)
1106
1107 * startup.el (normal-top-level): Load the subdirs.el files before
1108 setting the locale environment. (Bug#15805)
1109
1110 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1113 via arguments so as to get the right ones (bug#15418).
1114
1115 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1116
1117 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1118
1119 Fix problems found while writing a test suite.
1120
1121 * net/tramp-compat.el (tramp-compat-load): New defun.
1122 * net/tramp.el (tramp-handle-load): Use it.
1123
1124 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1125 "(numberp ok-if-already-exists)" correctly.
1126
1127 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1128
1129 * international/characters.el (glyphless-char-display-control):
1130 Add usage note.
1131
1132 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1133
1134 * progmodes/python.el (python-mode):
1135 * progmodes/scheme.el (scheme-mode):
1136 * progmodes/prolog.el (prolog-mode):
1137 * progmodes/ruby-mode.el (ruby-mode):
1138 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1139 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1140
1141 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1142
1143 * rect.el (rectangle--highlight-for-redisplay):
1144 * emacs-lisp/smie.el (smie--next-indent-change):
1145 Use buffer-chars-modified-tick.
1146
1147 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1148
1149 * electric.el (electric-indent-post-self-insert-function):
1150 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1151
1152 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1153
1154 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1155
1156 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1157
1158 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1159 (bug#15786).
1160
1161 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1162
1163 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1164
1165 * progmodes/python.el: Fix up last change.
1166 (python-shell--save-temp-file): New function.
1167 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1168 `string' comes from the current buffer.
1169 (python-shell-send-string-no-output): Remove `msg' arg.
1170 (python--use-fake-loc): New var.
1171 (python-shell-buffer-substring): Obey it. Try to compensate for the
1172 extra coding line added by python-shell--save-temp-file.
1173 (python-shell-send-region): Use python-shell--save-temp-file and
1174 python-shell-send-file directly. Add `nomain' argument.
1175 (python-shell-send-buffer): Use python-shell-send-region.
1176 (python-electric-pair-string-delimiter): New function.
1177 (python-mode): Use it.
1178
1179 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1180
1181 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1182 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1183 environment and decoding all of the default-directory's to here
1184 from command-line.
1185 (command-line): Decode also argv[0].
1186
1187 * loadup.el: Error out if default-directory is a multibyte string
1188 when we are dumping.
1189
1190 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1191
1192 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1193
1194 * emacs-lisp/package.el (package-menu-mode)
1195 (package-menu--print-info, package-menu--archive-predicate):
1196 Add Archive column to package list.
1197
1198 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1199
1200 Fix problems found while writing a test suite.
1201
1202 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1203 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1204 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1205 to nil when running original file name handler. Otherwise,
1206 there are problems with constructs like "$$FOO".
1207
1208 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1209 for `localname'.
1210
1211 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1212
1213 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1214
1215 * subr.el (version<, version<=, version=):
1216 Update docstrings with information for snapshot versions.
1217
1218 * helpers.el: New library for misc helper functions.
1219 (hash-table-keys): New function returning a list of hash keys.
1220 (hash-table-values): New function returning a list of hash values.
1221
1222 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1223
1224 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1225 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1226
1227 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1228
1229 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1230 checking whether point is after a 1-letter word.
1231
1232 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1233
1234 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1235 Don't infloop when expanding region over `multiline' syntax-type that
1236 begins a line (bug#15778).
1237
1238 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1239
1240 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1241 Make it into a proper minor mode.
1242 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1243 (rectangle-mark-mode-map): New keymap.
1244 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1245
1246 2013-11-04 Glenn Morris <rgm@gnu.org>
1247
1248 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1249
1250 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1251
1252 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1253 (ruby-smie-rules): Use smie-rule-parent instead.
1254
1255 * emacs-lisp/smie.el (smie-rule-parent): Always call
1256 smie-indent-virtual rather than only for hanging tokens.
1257 (smie--next-indent-change): New helper command.
1258
1259 2013-11-03 Glenn Morris <rgm@gnu.org>
1260
1261 * Makefile.in (abs_srcdir): Remove.
1262 (emacs): Unset EMACSLOADPATH.
1263
1264 2013-11-02 Glenn Morris <rgm@gnu.org>
1265
1266 * Makefile.in (EMACS): Use a relative filename.
1267 (abs_top_builddir): Remove.
1268 (custom-deps, finder-data, autoloads): Use --chdir.
1269
1270 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1271
1272 Use relative filenames in TAGS files.
1273 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1274 (lisptagsfiles4, TAGS): Use relative file names.
1275 (TAGS-LISP): Remove.
1276 (maintainer-clean): No more TAGS-LISP file.
1277
1278 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1279 (lisptagsfiles4): Use absolute filenames again.
1280 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1281 Remove all *loaddefs files, not just the first. Remove esh-groups.
1282 (maintainer-clean): Delete TAGS, TAGS-LISP.
1283
1284 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1285
1286 * emacs-lisp/package.el (package-version-join):
1287 Recognize snapshot versions.
1288
1289 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1290
1291 * subr.el (version-regexp-alist): Add support for snapshot versions.
1292
1293 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1294
1295 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1296 New function, replacement for `smie-rule-parent' for when we want to
1297 skip over our direct parent if it's an assignment token..
1298 (ruby-smie-rules): Use it.
1299
1300 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1301
1302 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1303 unconditionally. Remove now unnecessary forward declarations.
1304 Remove XEmacs-specific setup.
1305 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1306 (ruby-font-lock-syntactic-keywords)
1307 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1308 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1309 (ruby-here-doc-end-syntax): Remove.
1310 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1311 defined as function.
1312
1313 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1314
1315 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1316
1317 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1318
1319 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1320 table and abbrev table, `define-derived-mode' does that for us
1321 anyway.
1322
1323 2013-11-01 Glenn Morris <rgm@gnu.org>
1324
1325 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1326 files is atomic for some time, so no parallel compilation issues).
1327
1328 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1329
1330 * faces.el (face-x-resources): Add :distant-foreground.
1331 (region): Use :distant-foreground for gtk and ns.
1332
1333 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1334
1335 Allow multiple bibliographies when BibLaTeX is used rather than
1336 BibTeX.
1337 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1338 (reftex-locate-bibliography-files): Us it.
1339
1340 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1341
1342 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1343 allow comments in pbm files.
1344
1345 * term/w32-win.el (dynamic-library-alist): Support newer versions
1346 of libjpeg starting with v7: look only for the DLL from the
1347 version against which Emacs was built.
1348 Support versions of libpng beyond 1.4.x.
1349 Support libtiff v4.x.
1350
1351 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1352
1353 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1354 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1355 Add property :safe.
1356 (ruby-deep-arglist): Add property :type.
1357
1358 2013-10-31 Glenn Morris <rgm@gnu.org>
1359
1360 * Makefile.in (custom-deps, finder-data): No need to setq the target
1361 variables, we are in the right directory and the defaults work fine.
1362
1363 2013-10-30 Glenn Morris <rgm@gnu.org>
1364
1365 * Makefile.in (autoloads): Do not use abs_lisp.
1366
1367 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1368 `newline' does not respect `standard-output', so use `princ'.
1369
1370 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1371
1372 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1373 * buff-menu.el (Buffer-menu--unmark): New function.
1374 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1375
1376 2013-10-30 Glenn Morris <rgm@gnu.org>
1377
1378 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1379
1380 * emacs-lisp/package.el (lm-homepage): Declare.
1381
1382 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1383 Fix doc typos.
1384
1385 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1386
1387 * Makefile.in (finder-data, autoloads, update-subdirs)
1388 (compile-main, compile-clean, compile-always, bootstrap-clean):
1389 Check return value of cd.
1390 (compile-calc): Remove.
1391
1392 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1395
1396 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1397 (byte-compile-and-folded): New function.
1398 (=, <, >, <=, >=): Use it.
1399
1400 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1401 (path-separator, null-device, buffer-file-coding-system)
1402 (lpr-headers-switches): Check system-type before modifying them.
1403 (find-buffer-file-type-coding-system): Mark obsolete.
1404 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1405 find-file-not-found-set-buffer-file-coding-system.
1406 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1407 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1408 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1409 (w32-direct-print-region-helper, w32-direct-print-region-function)
1410 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1411 * startup.el (normal-top-level-add-subdirs-to-load-path):
1412 * ps-print.el (ps-print-region-function):
1413 * lpr.el (print-region-function): Use new name.
1414
1415 * subr.el (custom-declare-variable-early): Remove function.
1416 (custom-declare-variable-list): Remove var.
1417 (error, user-error): Remove `while' loop.
1418 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1419 (user-emacs-directory-warning, locate-user-emacs-file):
1420 Move to files.el.
1421 * simple.el (read-quoted-char-radix, read-quoted-char):
1422 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1423 Move from subr.el.
1424 * custom.el (custom-declare-variable-list): Don't process
1425 custom-declare-variable-list.
1426
1427 * progmodes/python.el (python-shell-get-buffer): New function.
1428 (python-shell-get-process): Use it.
1429 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1430 Python which encoding was used. Don't split-string since we only care
1431 about the first line. Return the temp-file, if applicable.
1432 (python-shell-send-region): Tell compile.el how to turn locations in
1433 the temp-file into locations in the source buffer.
1434
1435 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * subr.el (undefined): Add missing behavior from the C code for
1438 unbound keys.
1439
1440 * rect.el: Use lexical-binding. Add new rectangular region support.
1441 (rectangle-mark): New command.
1442 (rectangle--region): New var.
1443 (deactivate-mark-hook): Reset rectangle--region.
1444 (rectangle--extract-region, rectangle--insert-for-yank)
1445 (rectangle--highlight-for-redisplay)
1446 (rectangle--unhighlight-for-redisplay): New functions.
1447 (region-extract-function, redisplay-unhighlight-region-function)
1448 (redisplay-highlight-region-function): Use them to handle
1449 rectangular region.
1450 * simple.el (region-extract-function): New var.
1451 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1452 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1453 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1454 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1455 (redisplay-unhighlight-region-function)
1456 (redisplay-highlight-region-function): New vars.
1457 (redisplay--update-region-highlight): New function.
1458 (pre-redisplay-function): Use it.
1459 (exchange-point-and-mark): Don't deactivate the mark before
1460 reactivate-it anyway.
1461 * comint.el (comint-kill-region): Remove yank-handler argument.
1462 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1463 (delete-char): Remove property, since it's now part of their
1464 default behavior.
1465 (self-insert-iso): Remove property since this command doesn't exist.
1466
1467 * emacs-lisp/package.el (package--download-one-archive)
1468 (describe-package-1): Don't query the user about final newline.
1469
1470 2013-10-29 Daniel Colascione <dancol@dancol.org>
1471
1472 * net/tramp.el (tramp-methods): Document new functionality.
1473 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1474 tramp-hostname-checker if method provides one instead of scanning
1475 argument list for "%h" to decide hostname acceptability.
1476
1477 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1478
1479 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1480 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1481 Handle COPY-CONTENTS. (Bug#15737)
1482
1483 2013-10-28 Daiki Ueno <ueno@gnu.org>
1484
1485 * epa-file.el
1486 (epa-file-cache-passphrase-for-symmetric-encryption):
1487 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1488
1489 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1490
1491 * image.el (defimage):
1492 (image-load-path): Doc fixes.
1493
1494 2013-10-27 Alan Mackenzie <acm@muc.de>
1495
1496 Indent statements in macros following "##" correctly.
1497 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1498 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1499
1500 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1501
1502 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1503
1504 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1505
1506 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1507 after `=' is probably a new expression.
1508
1509 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1510
1511 * man.el (man-imenu-title): New option.
1512 (Man-mode-map): Add menu. (Bug#15722)
1513 (Man-mode): Add imenu to menu.
1514
1515 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1516
1517 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1518 specific in what the first arg can be: a non-keyword word,
1519 string/regexp/percent literal opener, opening paren, or unary
1520 operator followed directly by word.
1521
1522 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1523
1524 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1525 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1526 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1527 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1528 Remove vars, they do not apply any more.
1529 (prolog-mode-abbrev-table): Remove redundant declaration.
1530 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1531 (prolog-use-smie): Remove.
1532 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1533 supported by prolog-electric-if-then-else-flag.
1534 (prolog-mode-variables, prolog-menu): Use setq-local.
1535 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1536 Remove binding to `Backspace' since this key doesn't exist anyway.
1537 Remove bindings for electric self-inserting keys.
1538 (prog-mode): Assume it's defined.
1539 (prolog-post-self-insert): New function.
1540 (prolog-mode): Use it.
1541 (prolog-indent-line, prolog-indent-level)
1542 (prolog-find-indent-of-matching-paren)
1543 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1544 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1545 (prolog-goto-next-paren, prolog-in-string-or-comment)
1546 (prolog-tokenize, prolog-inside-mline-comment)
1547 (prolog-find-start-of-mline-comment): Remove functions.
1548 (prolog-find-unmatched-paren, prolog-clause-end)
1549 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1550 (prolog-electric--if-then-else): Rename from
1551 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1552 (prolog-tokenize-searchkey): Remove const.
1553 (prolog-clause-info): Use forward-sexp.
1554 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1555 (prolog-electric-if-then-else): Remove commands.
1556 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1557 for use in post-self-insert-hook.
1558 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1559 for use in post-self-insert-hook.
1560 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1561 for use in post-self-insert-hook.
1562 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1563 adapt it for use in post-self-insert-hook.
1564
1565 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1566
1567 * emacs-lisp/ert.el (ert-run-tests-interactively):
1568 Use `completing-read'. (Bug#9756)
1569
1570 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1571
1572 * simple.el (line-move): Call line-move-1 instead of
1573 line-move-visual when the current window hscroll is zero, but
1574 temporary-goal-column indicates we will need to hscroll as result
1575 of the movement. (Bug#15712)
1576
1577 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1578
1579 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1580 capitalization. Use :visible instead of :active.
1581 Fix `ruby-indent-exp' reference. Add menu items for the generic
1582 commands that are used with SMIE.
1583 (ruby-do-end-to-brace): Insert space after `{'.
1584
1585 2013-10-25 John Anthony <john@jo.hnanthony.com>
1586
1587 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1588
1589 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1590
1591 2013-10-25 Glenn Morris <rgm@gnu.org>
1592
1593 * vc/vc.el (vc-print-log): Don't use a working revision unless
1594 one was explicitly specified. (Bug#15322)
1595
1596 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * subr.el (add-to-list): Preserve return value in compiler-macro
1599 (bug#15692).
1600
1601 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1602
1603 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1604 result. Ask user to retry using '-all' flag. (Bug#15701)
1605
1606 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 * emacs-lisp/smie.el: New smie-config system.
1609 (smie-config): New defcustom.
1610 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1611 (smie-config-guess, smie-config-save): New commands.
1612 (smie-config--mode-local, smie-config--buffer-local)
1613 (smie-config--trace, smie-config--modefuns): New vars.
1614 (smie-config--advice, smie-config--mode-hook)
1615 (smie-config--setter, smie-config-local, smie-config--get-trace)
1616 (smie-config--guess-value, smie-config--guess): New functions.
1617 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1618 text properties. Treat "string fence" syntax like string syntax.
1619
1620 * progmodes/sh-script.el (sh-use-smie): Change default.
1621 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1622 (sh-var-value): Simplify by CSE.
1623 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1624 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1625 is used.
1626 (sh-guess-basic-offset): Use cl-incf.
1627 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1628
1629 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1630
1631 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1632 (bug#15699).
1633
1634 2013-10-24 Glenn Morris <rgm@gnu.org>
1635
1636 * Makefile.in (abs_top_srcdir): Remove.
1637 (update-subdirs): Use relative path to update-subdirs.
1638
1639 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1640
1641 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1642 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1643 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1644 Call unmsys--file-name before expand-file-name, not after it.
1645
1646 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1647
1648 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1649 (ert-test-skipped): New error.
1650 (ert-skip, ert-stats-skipped): New defuns.
1651 (ert--skip-unless): New macro.
1652 (ert-test-skipped): New struct.
1653 (ert--run-test-debugger, ert-test-result-type-p)
1654 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1655 (ert--stats-set-test-and-result, ert-char-for-test-result)
1656 (ert-string-for-test-result, ert-run-tests-batch)
1657 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1658 Handle skipped tests. (Bug#9803)
1659
1660 2013-10-24 Glenn Morris <rgm@gnu.org>
1661
1662 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1663
1664 * Makefile.in (abs_top_srcdir): New, set by configure.
1665 (update-subdirs): Correct build-aux location.
1666
1667 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1668
1669 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1670 value, whether we could auto-deduce `backend', or not.
1671
1672 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1673 with parameters" example. Simplify the "is it block or is it
1674 hash" check, but also make it more thorough.
1675
1676 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1677
1678 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1679
1680 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1681
1682 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1683 { if it is hanging.
1684
1685 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1686 :before ";".
1687
1688 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1689
1690 * progmodes/compile.el (compilation-directory-matcher)
1691 (compilation-page-delimiter):
1692 Support GNU Make-4.0 directory quoting. (Bug#15678)
1693
1694 2013-10-23 Leo Liu <sdl.web@gmail.com>
1695
1696 * ido.el (ido-tidy): Handle read-only text.
1697
1698 2013-10-23 Glenn Morris <rgm@gnu.org>
1699
1700 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1701 (emacs, compile, compile-always):
1702 Quote entities that might contain whitespace.
1703 (custom-deps, finder-data, autoloads): Use abs_lisp.
1704 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1705 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1706 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1707
1708 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1709
1710 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1711 Use `following-char'.
1712
1713 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1714
1715 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1716 * progmodes/ruby-mode.el (ruby-smie-rules):
1717 Remove corresponding workaround. Fix indentation rule of ";" so it
1718 also applies when ";" is the parent.
1719
1720 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1721
1722 * frame.el (display-screens, display-pixel-height)
1723 (display-pixel-width, display-mm-width, display-backing-store)
1724 (display-save-under, display-planes, display-color-cells)
1725 (display-visual-class, display-monitor-attributes-list):
1726 Mention the optional ‘display’ argument in doc strings.
1727
1728 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1729
1730 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1731 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1732
1733 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1734
1735 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1736 TODO. Add "." after " @ ".
1737 (ruby-smie--at-dot-call): New function. Checks if point at method
1738 call with explicit target.
1739 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1740 to the method name tokens when it precedes them.
1741 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1742 (ruby-smie-rules): Add rule for indentation before and after "."
1743 token.
1744
1745 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * textmodes/remember.el (remember-diary-extract-entries):
1748 Avoid add-to-list.
1749
1750 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1751 an instruction.
1752
1753 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1754
1755 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1756 (ruby-smie--implicit-semi-p): Add new operator chars.
1757
1758 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1759 `smie-down-list'.
1760 (ruby-smie--args-separator-p): Check that there's no newline
1761 between method call and its arguments.
1762
1763 2013-10-20 Alan Mackenzie <acm@muc.de>
1764
1765 Allow comma separated lists after Java "implements".
1766
1767 * progmodes/cc-engine.el (c-backward-over-enum-header):
1768 Parse commas.
1769 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1770 from a "disallowed" list in enum fontification.
1771
1772 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1773
1774 * startup.el (default-frame-background-mode): Remove unused defvar.
1775
1776 * progmodes/verilog-mode.el (verilog-mode): Don't set
1777 comment-indent-function globally.
1778
1779 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1780
1781 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1782 Move Info menu item creation to ns-win.el.
1783
1784 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1785 in menu bar.
1786
1787 * menu-bar.el: Move GNUStep specific menus...
1788
1789 * term/ns-win.el (ns-initialize-window-system): ... to here.
1790
1791 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1792
1793 * simple.el (newline): Only run post-self-insert-hook when
1794 called interactively.
1795
1796 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1797
1798 * icomplete.el (icomplete-with-completion-tables): Add :version.
1799
1800 2013-10-19 Alan Mackenzie <acm@muc.de>
1801
1802 Fix fontification bugs with constructors and const.
1803
1804 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1805 CASE 2) Remove the check for the absence of a suffix construct
1806 after a function declaration with only types (no identifiers) in
1807 the parentheses. Also, accept a function declaration with just a
1808 type inside the parentheses, if this type can be positively
1809 recognised as such, or if a prefix keyword like "explicit" nails
1810 down the construct as a declaration.
1811
1812 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1813
1814 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1815 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1816 the problem whereby selecting a menu item that leads to a
1817 minibuffer prompt moves the cursor out of the minibuffer window,
1818 making it hard to type at the prompt. Suggested by Stefan Monnier
1819 <monnier@iro.umontreal.ca>.
1820
1821 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1822
1823 * menu-bar.el: Don't make Services menu.
1824
1825 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1826
1827 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1828 (ffap-alist): Use ffap-c++-mode for c++-mode.
1829 (ffap-c++-path): New variable.
1830 (ffap-c++-mode): New function.
1831
1832 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1833
1834 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1835
1836 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1837
1838 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1839 introduced on 2013-09-08, which results in an infinite loop
1840 requesting a password.
1841
1842 2013-10-18 Glenn Morris <rgm@gnu.org>
1843
1844 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1845
1846 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1847
1848 Sync with upstream verilog-mode revision 1a6ecec7.
1849 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1850 (verilog-mode-release-date): Remove.
1851 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1852 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1853 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1854 (verilog-auto-tieoff-ignore-regexp)
1855 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1856 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1857 (verilog-signals-with, verilog-dir-cache-preserving)
1858 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1859 Doc fixes.
1860 (verilog-case-fold): New option, to control case folding in
1861 regexp searches, bug597.
1862 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1863 (verilog-string-match-fold, verilog-in-paren-count)
1864 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1865 (verilog-at-close-struct-p): New functions.
1866 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1867 (verilog-forward-sexp, verilog-set-auto-endcomments):
1868 (verilog-leap-to-case-head): Handle "unique0" case.
1869 (verilog-in-constraint-re): New constant.
1870 (verilog-keywords, verilog-type-font-keywords):
1871 Add some SystemVerilog 1800-2012 keywords.
1872 (verilog-label-be): Remove unimplemented argument, bug669.
1873 (verilog-batch-execute-func): When batch expanding clear
1874 create-lockfiles to prevent spurious user locks when a file ends
1875 up not changing.
1876 (verilog-calculate-indent, verilog-calc-1)
1877 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1878 (verilog-do-indent): Fix indentation of nested constraints
1879 and structures.
1880 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1881 (verilog-auto-inst-param): Use verilog-string-match-fold.
1882 (verilog-read-inst-module-matcher):
1883 Fix AUTOINST on gate primitives with #1.
1884 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1885 Reads all user-defined typed variables.
1886 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1887 (verilog-signals-matching-regexp)
1888 (verilog-signals-not-matching-regexp, verilog-auto):
1889 Respect verilog-case-fold.
1890 (verilog-diff-report): Fix line count.
1891 (verilog-auto-assign-modport): Remove unused local `modi'.
1892 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1893 better handle multidimensional arrays.
1894 Fix packed array ports misadding bit index in AUTOINST, bug637.
1895 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1896 to not double-declare existing outputs and inputs, respectively.
1897 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1898 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1899 (verilog-sk-uvm-component): New skeleton.
1900 (verilog-submit-bug-report): Add verilog-case-fold,
1901 remove verilog-mode-release-date.
1902
1903 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1904
1905 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1906 as before.
1907
1908 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1909
1910 * textmodes/remember.el (remember): set buffer-offer-save in
1911 remember buffers (bug#13566).
1912
1913 2013-10-18 Daniel Colascione <dancol@dancol.org>
1914
1915 When evaluating forms in ielm, direct standard output to ielm
1916 buffer. Add new ielm-return-for-effect command. Remove trailing
1917 whitespace throughout.
1918
1919 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1920 (ielm-return-for-effect): New command.
1921 (ielm-send-input): Accept optional `for-effect' parameter.
1922 (ielm-eval-input): Accept optional `for-effect' parameter.
1923 Bind `standard-output' to stream we create using
1924 `ielm-standard-output-impl'. Suppress printing result when
1925 `for-effect'.
1926 (ielm-standard-output-impl): New function.
1927 (inferior-emacs-lisp-mode): Explain new features in documentation.
1928
1929 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1930
1931 Code cleanup.
1932
1933 * net/tramp.el (tramp-debug-message): Do not check for connection
1934 buffer.
1935 (tramp-message): Use "vector" connection property.
1936
1937 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1938 (tramp-equal-remote, tramp-eshell-directory-change)
1939 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1940 (tramp-adb-handle-rename-file)
1941 * net/tramp-cmds.el (tramp-list-remote-buffers)
1942 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1943 * net/tramp-compat.el (tramp-compat-process-running-p)
1944 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1945 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1946 (tramp-gvfs-handle-rename-file)
1947 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1948 (tramp-set-file-uid-gid)
1949 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1950 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1951 of `file-remote-p'.
1952
1953 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1954 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1955 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1956 (tramp-gw-open-network-stream): Suppress unrelated traces.
1957
1958 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1959 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1960 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1961 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1962 connection property.
1963
1964 * net/tramp-cache.el (top): Suppress traces when reading
1965 persistency file.
1966
1967 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1968 Refactor common code. Improve debug message.
1969 (tramp-maybe-open-connection)
1970 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1971 connection buffer too early.
1972
1973 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1974 from `tramp-smb-actions-with-acl'.
1975 (tramp-smb-actions-set-acl): New defconst.
1976 (tramp-smb-handle-copy-directory)
1977 (tramp-smb-action-get-acl): New defun, renamed from
1978 `tramp-smb-action-with-acl'.
1979 (tramp-smb-action-set-acl): New defun.
1980 (tramp-smb-handle-set-file-acl): Rewrite.
1981
1982 2013-10-17 Glenn Morris <rgm@gnu.org>
1983
1984 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1985
1986 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1987
1988 * skeleton.el (skeleton-newline): Remove.
1989 (skeleton-internal-1): Use (insert "\n") instead.
1990
1991 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1992 let-bindings.
1993
1994 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1995 forward-sexp-function while we redo its job (bug#15613).
1996
1997 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1998
1999 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2000 represented by lists.
2001
2002 2013-10-16 Glenn Morris <rgm@gnu.org>
2003
2004 * tmm.el (tmm--history): New dynamic variable.
2005 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2006
2007 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2008
2009 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2010 (tramp-smb-errors): Add error messages.
2011 (tramp-smb-actions-with-acl): New defconst.
2012 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2013 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2014 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2015 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2016 (tramp-smb-get-stat-capability): Fix tests.
2017
2018 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2019
2020 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2021 (bug#15580).
2022
2023 2013-10-16 Glenn Morris <rgm@gnu.org>
2024
2025 * ansi-color.el (ansi-color-drop-regexp):
2026 Add 1J, 1K, 2K. (Bug#15617)
2027
2028 * files.el (hack-local-variables--warned-lexical): New.
2029 (hack-local-variables):
2030 Warn about misplaced lexical-binding. (Bug#15616)
2031
2032 * net/eww.el (eww-render): Always set eww-current-url,
2033 and update header line. (Bug#15622)
2034 (eww-display-html): ... Rather than just doing it here.
2035
2036 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2037
2038 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2039 menu navigations commands.
2040
2041 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2042
2043 * progmodes/subword.el (subword-capitalize): Be careful when
2044 the search for [[:alpha:]] fails (bug#15580).
2045
2046 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2047
2048 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2049 to commands that scroll the menu.
2050
2051 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2052
2053 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2054 Handle methods ending with `?' and `!'.
2055
2056 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2057
2058 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2059 `japanese-cp932' to `cp932' to fix the problem where saving a
2060 source file written in Shift_JIS twice would end up having
2061 `coding: japanese-cp932' which Ruby could not recognize.
2062 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2063 in `ruby-encoding-map'.
2064 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2065 doesn't need to be explicitly declared in magic comment.
2066 (ruby-encoding-map): Add type declaration for better customize UI.
2067
2068 2013-10-13 Glenn Morris <rgm@gnu.org>
2069
2070 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2071 Occur buffers are read-only. http://bugs.debian.org/720775
2072
2073 * emacs-lisp/authors.el (authors-fixed-entries):
2074 Comment out old alpha stuff.
2075
2076 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2077
2078 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2079 to `after-save-hook' instead of `before-save-hook'.
2080 (ruby-mode-set-encoding): Use the value of coding system used to
2081 write the file. Call `basic-save-buffer-1' after modifying the
2082 buffer.
2083
2084 2013-10-13 Alan Mackenzie <acm@muc.de>
2085
2086 Fix indentation/fontification of Java enum with
2087 "implements"/generic.
2088
2089 * progmodes/cc-engine.el (c-backward-over-enum-header):
2090 Extracted from the three other places and enhanced to handle generics.
2091 (c-inside-bracelist-p): Uses new function above.
2092 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2093 function above.
2094 (c-font-lock-enum-tail): Uses new function above.
2095
2096 2013-10-13 Kenichi Handa <handa@gnu.org>
2097
2098 * international/mule-cmds.el (select-safe-coding-system): Remove a
2099 superfluous condition in chekcing whether a coding system is safe
2100 or not.
2101
2102 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2103
2104 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2105
2106 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2107
2108 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2109
2110 2013-10-13 Glenn Morris <rgm@gnu.org>
2111
2112 * menu-bar.el (menu-bar-update-buffers):
2113 Unify Buffers menu prompt string. (Bug#15576)
2114
2115 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2116
2117 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2118 Add some entries.
2119 (authors-fixed-entries): Use accented form of name.
2120
2121 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2122
2123 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2124 method calls (bug#15594).
2125 (ruby-smie--args-separator-p): New function.
2126 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2127 recognize paren-free method calls.
2128
2129 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2130 internals of universal-argument.
2131
2132 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2133
2134 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2135 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2136 dropped menu on second mouse click on the menu bar.
2137
2138 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2139
2140 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2141 (explicit-shell-file-name): Declare.
2142 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2143 (sh-completion-at-point-function): New function.
2144 (sh-mode): Use it.
2145 (sh-smie--keyword-p): Remove unused argument.
2146 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2147 vars.
2148 (sh-set-shell): Always setup SMIE, even if we use the
2149 old indentation code.
2150
2151 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2152
2153 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2154 cases of ? and =.
2155 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2156 predicate would return nil are almost non-existent.
2157 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2158
2159 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2160 cache also after commands that modify the buffer but don't move
2161 point.
2162
2163 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2164
2165 * env.el (substitute-env-in-file-name): New function.
2166 (substitute-env-vars): Extend the meaning of the optional arg.
2167
2168 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2169
2170 * term/w32-win.el (dynamic-library-alist): Define separate lists
2171 of GIF DLLs for versions before and after 5.0.0 of giflib.
2172 (Bug#15531)
2173
2174 2013-10-10 João Távora <joaotavora@gmail.com>
2175
2176 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2177 not locked, use last revision and current source as
2178 defaults. (Bug#15569)
2179
2180 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2181
2182 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2183 menu-bar is hidden.
2184
2185 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2186
2187 * window.el (pop-to-buffer-same-window): Fix doc-string.
2188 (Bug#15492)
2189
2190 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2191
2192 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2193
2194 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2195
2196 * calendar/icalendar.el (icalendar-import-file):
2197 Fix interactive spec. (Bug#15482)
2198
2199 2013-10-10 Glenn Morris <rgm@gnu.org>
2200
2201 * desktop.el (desktop-save): Default to saving in .emacs.d,
2202 since PWD is no longer in desktop-path by default. (Bug#15319)
2203
2204 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2205 now that text mode has a menu with the same entry.
2206 (menu-bar-text-mode-auto-fill): Remove now unused func.
2207 * textmodes/text-mode.el (text-mode-map):
2208 Use auto-fill help text from menu-bar.el.
2209
2210 2013-10-10 John Anthony <john@jo.hnanthony.com>
2211
2212 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2213
2214 2013-10-09 Juri Linkov <juri@jurta.org>
2215
2216 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2217 instead of this-command-keys. Add universal-argument-more and
2218 universal-argument-minus to the list of prefix commands. (Bug#15568)
2219
2220 2013-10-09 Glenn Morris <rgm@gnu.org>
2221
2222 * vc/vc-svn.el (vc-svn-create-repo):
2223 Expand paths in file://... url. (Bug#15446)
2224
2225 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2226 Add some entries.
2227 (authors): Remove unused local variables.
2228
2229 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 * profiler.el: Create a more coherent calltree from partial backtraces.
2232 (profiler-format): Hide the tail with `invisible' so that C-s can still
2233 find the hidden elements.
2234 (profiler-calltree-depth): Don't recurse so enthusiastically.
2235 (profiler-function-equal): New hash-table-test.
2236 (profiler-calltree-build-unified): New function.
2237 (profiler-calltree-build): Use it.
2238 (profiler-report-make-name-part): Indent the calltree less.
2239 (profiler-report-mode): Add visibility specs for profiler-format.
2240 (profiler-report-expand-entry, profiler-report-toggle-entry):
2241 Expand the whole subtree when provided with a prefix arg.
2242
2243 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2244
2245 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2246 iuwu-mod token.
2247 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2248 hanging iuwu-mod token.
2249 (ruby-smie--forward-token): Do not include a dot after a token in
2250 that token.
2251 (ruby-smie--backward-token): Likewise.
2252
2253 2013-10-08 Juri Linkov <juri@jurta.org>
2254
2255 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2256 to isearch-other-control-char.
2257 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2258 and isearch-post-command-hook to post-command-hook.
2259 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2260 and isearch-post-command-hook from post-command-hook.
2261 (isearch-unread-key-sequence)
2262 (isearch-reread-key-sequence-naturally)
2263 (isearch-lookup-scroll-key, isearch-other-control-char)
2264 (isearch-other-meta-char): Remove functions.
2265 (isearch-pre-command-hook, isearch-post-command-hook):
2266 New functions based on isearch-other-meta-char rewritten
2267 relying on the new behavior of overriding-terminal-local-map
2268 that does not replace the local keymaps any more. (Bug#15200)
2269
2270 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2271
2272 Support menus on text-mode terminals.
2273 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2274 functionality.
2275
2276 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2277
2278 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2279 Move here from mouse.el.
2280 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2281 and arrow keys.
2282 (tty-menu-navigation-map): New map for TTY menu navigation.
2283
2284 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2285
2286 * frame.el (display-mouse-p): Report text-mode mouse as available
2287 on w32.
2288 (display-popup-menus-p): Report availability if mouse is
2289 available; don't condition on window-system.
2290
2291 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2292 (tty-menu-selected-face): New faces.
2293
2294 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2295
2296 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2297 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2298 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2299 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2300 New constants.
2301 (lisp-mode-variables): New `elisp' argument.
2302 (emacs-lisp-mode): Use it.
2303 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2304 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2305
2306 * indent.el: Use lexical-binding.
2307 (indent-region): Add progress reporter.
2308 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2309 last step.
2310 (indent--next-tab-stop): New function to implement this behavior.
2311 (tab-to-tab-stop, move-to-tab-stop): Use it.
2312
2313 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2314
2315 * indent.el (indent-rigidly--current-indentation): New function.
2316 (indent-rigidly-map): New var.
2317 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2318
2319 2013-10-08 Bastien Guerry <bzg@gnu.org>
2320
2321 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2322
2323 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * progmodes/perl-mode.el: Use lexical-binding.
2326 Remove redundant :group args.
2327 (perl-nochange): Change default to be closer to other major modes's
2328 standard behavior.
2329 (perl-indent-line): Don't consider text on current line as a
2330 valid beginning of function from which to indent.
2331
2332 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2333 with more than one argument (bug#15538).
2334
2335 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2336
2337 * vc/pcvs.el: Use lexical-binding.
2338 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2339 environment of `eval'.
2340 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2341 than a list of expressions. Adjust callers.
2342 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2343
2344 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2345
2346 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2347 case of the dot in a chained method call being on the following line.
2348
2349 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * electric.el (electric-indent-inhibit): New var.
2352 (electric-indent-post-self-insert-function): Use it.
2353 * progmodes/python.el (python-mode): Set it.
2354
2355 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2356 open braces.
2357
2358 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2359
2360 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2361 (css-mode): Use electric-indent-chars.
2362
2363 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2364 (font-lock-beg, font-lock-end): Move before first use.
2365 (nxml-mode): Use syntax-propertize-function.
2366 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2367 (nxml-extend-after-change-region): Remove.
2368 * nxml/xmltok.el: Use lexical-binding.
2369 (xmltok-save): Use `declare'.
2370 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2371 * nxml/nxml-util.el: Use lexical-binding.
2372 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2373 Use `declare'.
2374 * nxml/nxml-ns.el: Use lexical-binding.
2375 (nxml-ns-save): Use `declare'.
2376 (nxml-ns-prefixes-for): Avoid add-to-list.
2377 * nxml/rng-match.el: Use lexical-binding.
2378 (rng--ipattern): Use cl-defstruct.
2379 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2380 (rng-cons-group-after, rng-subst-group-after)
2381 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2382 Use closures instead of `(lambda...).
2383
2384 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2385
2386 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2387 of BEG and END.
2388
2389 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2390 Use `tramp-handle-insert-file-contents'.
2391 (tramp-gvfs-handle-insert-file-contents): Remove function.
2392
2393 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2394 Use `save-restriction' in order to keep markers.
2395
2396 * net/trampver.el: Update release number.
2397
2398 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2399
2400 * progmodes/compile.el (compilation-parse-errors):
2401 Use compilation--put-prop.
2402 (compilation--ensure-parse): Check compilation-multiline.
2403
2404 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2405
2406 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2407 lexical-binding.
2408
2409 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2410
2411 * progmodes/ruby-mode.el: Fix recently added tests.
2412 (ruby-smie-grammar): Add - and +.
2413 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2414 (ruby-smie--backward-id): New functions.
2415 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2416 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2417 any more.
2418
2419 2013-10-07 Leo Liu <sdl.web@gmail.com>
2420
2421 * register.el (register-preview-delay)
2422 (register-preview-functions): New variables.
2423 (register-read-with-preview, register-preview)
2424 (register-describe-oneline): New functions.
2425 (point-to-register, window-configuration-to-register)
2426 (frame-configuration-to-register, jump-to-register)
2427 (number-to-register, view-register, insert-register)
2428 (copy-to-register, append-to-register, prepend-to-register)
2429 (copy-rectangle-to-register): Use register-read-with-preview to
2430 read register. (Bug#15525)
2431
2432 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2433
2434 * net/network-stream.el (network-stream-open-starttls): Don't add
2435 --insecure if it's already present, because that gnutls-cli
2436 rejects getting that parameter twice.
2437
2438 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2439
2440 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2441 keyword, too.
2442
2443 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2444
2445 * newcomment.el (comment-use-global-state): Change default value
2446 to t, mark obsolete (Bug#15251).
2447 (comment-beginning): In addition to `comment-to-syntax', check the
2448 value of `comment-use-global-state'.
2449
2450 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2452 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2453 (ruby-comment-column): Follow the global default, by default.
2454 (ruby-smie-grammar): Add assignment syntax.
2455 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2456 open-paren, a comma, or a \.
2457 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2458 and line continuations.
2459 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2460 followed by implicit semi-colons. Add rule for string concatenation
2461 and for indentation at BOB.
2462 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2463
2464 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2465 calling next-sexp, since next-token may have skipped chars which
2466 next-sexp doesn't know should be skipped!
2467
2468 2013-10-05 Leo Liu <sdl.web@gmail.com>
2469
2470 * progmodes/octave.el (octave-send-region):
2471 Call compilation-forget-errors.
2472
2473 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2474
2475 * vc/vc-svn.el (vc-svn-find-admin-dir):
2476 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2477 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2478 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2479 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2480
2481 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2482
2483 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2484
2485 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2486
2487 * subr.el (read-passwd): Hide chars even when called within a context
2488 where after-change-functions is disabled (bug#15501).
2489 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2490 until we removed ourself from overriding-terminal-local-map.
2491
2492 2013-10-04 Leo Liu <sdl.web@gmail.com>
2493
2494 * progmodes/octave.el (inferior-octave-mode):
2495 Call compilation-forget-errors.
2496
2497 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2498
2499 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2500
2501 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2502
2503 * net/secrets.el (secrets-create-collection): Add optional
2504 argument ALIAS. Use proper Label keyword. Append ALIAS as
2505 dbus-call-method argument. (Bug#15516)
2506
2507 2013-10-04 Leo Liu <sdl.web@gmail.com>
2508
2509 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2510 (inferior-octave-compilation-font-lock-keywords): New variables.
2511 (compilation-error-regexp-alist)
2512 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2513 (inferior-octave-mode): Use compilation-shell-minor-mode.
2514
2515 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2516
2517 * minibuffer.el (completion--replace): Be careful that `end' might be
2518 a marker.
2519
2520 2013-10-03 Daiki Ueno <ueno@gnu.org>
2521
2522 Add support for package signature checking.
2523 * emacs-lisp/package.el (url-http-file-exists-p)
2524 (epg-make-context, epg-context-set-home-directory)
2525 (epg-verify-string, epg-context-result-for)
2526 (epg-signature-status, epg-signature-to-string)
2527 (epg-check-configuration, epg-configuration)
2528 (epg-import-keys-from-file): Declare.
2529 (package-check-signature): New user option.
2530 (package-unsigned-archives): New user option.
2531 (package-desc): Add `signed' field.
2532 (package-load-descriptor): Set `signed' field if .signed file exists.
2533 (package--archive-file-exists-p): New function.
2534 (package--check-signature): New function.
2535 (package-install-from-archive): Check package signature.
2536 (package--download-one-archive): Check archive signature.
2537 (package-delete): Remove .signed file.
2538 (package-import-keyring): New command.
2539 (package-refresh-contents): Import default keyring.
2540 (package-desc-status): Add "unsigned" status.
2541 (describe-package-1, package-menu--print-info)
2542 (package-menu-mark-delete, package-menu--find-upgrades)
2543 (package-menu--status-predicate): Support "unsigned" status.
2544
2545 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2548 the new compilation scheme using the new byte-codes.
2549
2550 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2551 (byte-pophandler): New byte codes.
2552 (byte-goto-ops): Adjust accordingly.
2553 (byte-compile--use-old-handlers): New var.
2554 (byte-compile-catch): Use new byte codes depending on
2555 byte-compile--use-old-handlers.
2556 (byte-compile-condition-case--old): Rename from
2557 byte-compile-condition-case.
2558 (byte-compile-condition-case--new): New function.
2559 (byte-compile-condition-case): New function that dispatches depending
2560 on byte-compile--use-old-handlers.
2561 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2562 when we can.
2563
2564 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2565 Optimize under `condition-case' and `catch' if
2566 byte-compile--use-old-handlers is nil.
2567 (disassemble-offset): Handle new bytecodes.
2568
2569 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * subr.el (error): Use `declare'.
2572 (decode-char, encode-char): Use advertised-calling-convention instead
2573 of the docstring to discourage use of the `restriction' arg.
2574
2575 2013-10-03 Daiki Ueno <ueno@gnu.org>
2576
2577 * epg.el (epg-verify-file): Add a comment saying that it does not
2578 notify verification error as a return value nor a signal.
2579 (epg-verify-string): Ditto.
2580
2581 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2582
2583 * progmodes/compile.el (compilation-start): Try globbing the arg to
2584 `cd' (bug#15417).
2585
2586 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2587
2588 Sync with Tramp 2.2.8.
2589
2590 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2591 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2592 * net/trampver.el: Update release number.
2593
2594 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2595
2596 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2597 and default-process-coding-system for darwin only.
2598
2599 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2600
2601 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2602
2603 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2604
2605 * vc/vc-git.el (vc-git-grep): Disable pager.
2606
2607 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2608
2609 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2610 Use :url instead of :homepage, as per
2611 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2612
2613 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2614 non-nil, use `syntax-ppss' (Bug#15251).
2615
2616 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2617
2618 * progmodes/octave.el (inferior-octave-startup-file):
2619 Prefer ~/.emacs.d/init_octave.m.
2620
2621 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2622
2623 * emacs-lisp/package.el (package-desc-from-define):
2624 Accept additional arguments as plist, convert them to an alist and store
2625 them in the `extras' slot.
2626 (package-generate-description-file): Convert extras alist back to
2627 plist and append to the `define-package' form arguments.
2628 (package--alist-to-plist): New function.
2629 (package--ac-desc): Add `extras' slot.
2630 (package--add-to-archive-contents): Check if the archive-contents
2631 vector is long enough, and if it is, pass its `extras' slot value
2632 to `package-desc-create'.
2633 (package-buffer-info): Call `lm-homepage', pass the returned value
2634 to `package-desc-from-define'.
2635 (describe-package-1): Render the homepage button (Bug#13291).
2636
2637 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2638 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2639
2640 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2641
2642 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2643 and default-process-coding-system to utf-8-unix (Bug#15402).
2644
2645 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2646
2647 * subr.el (looking-back): Do not recommend using looking-back.
2648
2649 2013-09-28 Alan Mackenzie <acm@muc.de>
2650
2651 Fix indentation/fontification of Java enum with "implements".
2652
2653 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2654 regexp which matches "implements", etc., in Java.
2655 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2656 specifier clauses coming after "enum".
2657 * progmodes/cc-fonts.el (c-font-lock-declarations)
2658 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2659 after "enum".
2660
2661 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2662
2663 * faces.el (region): Change ns_selection_color to
2664 ns_selection_fg_color, add ns_selection_bg_color.
2665
2666 2013-09-28 Leo Liu <sdl.web@gmail.com>
2667
2668 * progmodes/octave.el (inferior-octave-completion-table)
2669 (inferior-octave-completion-at-point): Minor tweaks.
2670
2671 * textmodes/ispell.el (ispell-lookup-words): Rename from
2672 lookup-words. (Bug#15460)
2673 (lookup-words): Obsolete.
2674 (ispell-complete-word, ispell-command-loop): All uses changed.
2675
2676 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2677
2678 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2679 (octave-mode-menu): Add octave-send-buffer.
2680 (octave-send-buffer): New function.
2681
2682 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2683
2684 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2685 octave-lookfor.
2686 (octave-mode-menu): Add octave-lookfor.
2687 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2688 octave-lookfor.
2689 (octave-lookfor): New function.
2690
2691 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2692
2693 * emacs-lisp/cl-macs.el:
2694 (cl--loop-destr-temps): Remove.
2695 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2696 its convention.
2697 (cl--loop-set-iterator-function): New function.
2698 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2699 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2700 Bind `it' with `let' instead of substituting it with `cl-subst'.
2701 (cl--unused-var-p): New function.
2702 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2703 Eliminate some unused variable warnings (bug#15326).
2704
2705 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2706
2707 * doc-view.el (doc-view-scale-reset): Rename from
2708 `doc-view-reset-zoom-level'.
2709 (doc-view-scale-adjust): New command.
2710 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2711 `doc-view-scale-adjust'.
2712
2713 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2714
2715 * doc-view.el (doc-view-reset-zoom-level): New command.
2716 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2717 zoom commands (bug#15466).
2718
2719 2013-09-26 Kenichi Handa <handa@gnu.org>
2720
2721 * international/quail.el (quail-help): Make it not a command.
2722
2723 2013-09-26 Leo Liu <sdl.web@gmail.com>
2724
2725 * minibuffer.el (completion-all-sorted-completions): Make args
2726 optional as they are.
2727
2728 2013-09-25 Daniel Colascione <dancol@dancol.org>
2729
2730 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2731 specs are and that they're not evaluated.
2732
2733 2013-09-24 Sam Steingold <sds@gnu.org>
2734
2735 * midnight.el (clean-buffer-list-kill-regexps)
2736 (clean-buffer-list-kill-buffer-names): Update for the new Man
2737 buffer naming which includes the object name.
2738
2739 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2740
2741 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2742 (eshell-parse-command, eshell-parse-pipeline): Use it since
2743 eshell-separate-commands requires a dynamic scoped var.
2744 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2745
2746 2013-09-23 Leo Liu <sdl.web@gmail.com>
2747
2748 * autoinsert.el (auto-insert-alist): Make the value of
2749 lexical-binding match its file setting.
2750
2751 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2752
2753 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2754
2755 * autoarg.el (autoarg-kp-digit-argument):
2756 * electric.el (Electric-command-loop):
2757 * kmacro.el (kmacro-step-edit-insert):
2758 Do not set universal-argument-num-events.
2759
2760 2013-09-22 Leo Liu <sdl.web@gmail.com>
2761
2762 * files.el (interpreter-mode-alist): Add octave.
2763
2764 2013-09-21 Alan Mackenzie <acm@muc.de>
2765
2766 C++: fontify identifier in declaration following "public:" correctly.
2767 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2768 to match "public", etc.
2769 (c-decl-prefix-re): Add ":" into the C++ value.
2770 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2771 bit. Add a check for a ":" preceded by "public", etc.
2772
2773 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2774
2775 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2776 recognized by GDB 7.5 and later.
2777
2778 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2779
2780 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2781
2782 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2783
2784 * subr.el (internal--call-interactively): New const.
2785 (called-interactively-p): Use it (bug#3984).
2786
2787 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2788
2789 * vc/pcvs.el (cvs-mode-ignore):
2790 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2791 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2792
2793 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2796 (eshell-ls-orig-insert-directory): Remove.
2797 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2798 (eshell-ls-use-in-dired): Use advice-add/remove.
2799 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2800 Add `orig-fun' arg for use in :around advice.
2801 Make it check (redundantly) eshell-ls-use-in-dired.
2802
2803 2013-09-19 Glenn Morris <rgm@gnu.org>
2804
2805 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2806
2807 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2808
2809 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2810
2811 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2812
2813 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2814 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2815 (tramp-get-remote-python): New defuns.
2816 (tramp-get-remote-uid-with-perl)
2817 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2818 contributed by yary <not.com@gmail.com> (tiny change).
2819 (tramp-get-remote-uid-with-python)
2820 (tramp-get-remote-gid-with-python): New defuns. Python code
2821 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2822 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2823
2824 2013-09-19 Glenn Morris <rgm@gnu.org>
2825
2826 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2827
2828 * eshell/em-unix.el (eshell-remove-entries):
2829 Rename argument to avoid name-clash with global `top-level'.
2830
2831 * eshell/esh-proc.el (eshell-kill-process-function):
2832 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2833 (eshell-reset-after-proc): Remove unused arg `proc'.
2834
2835 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2836 (directory-files-and-attributes): Mark unused arg.
2837
2838 * eshell/em-unix.el (eshell-remove-entries):
2839 Remove unused arg `path'. Update callers.
2840
2841 * eshell/em-hist.el (eshell-hist-parse-arguments):
2842 Remove unused arg `silent'. Update callers.
2843
2844 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2845 Fix (f)boundp mix-up.
2846
2847 * eshell/em-smart.el (eshell-smart-scroll-window)
2848 (eshell-disable-after-change):
2849 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2850
2851 2013-09-18 Alan Mackenzie <acm@muc.de>
2852
2853 Fix fontification of type when followed by "const".
2854 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2855 "known" types from fontification.
2856
2857 2013-09-18 Glenn Morris <rgm@gnu.org>
2858
2859 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2860 (chart-face-list): Drop Emacsen without display-color-p.
2861
2862 * net/eww.el (libxml-parse-html-region): Declare.
2863 (eww-display-html): Explicit error if no libxml2 support.
2864
2865 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2866
2867 * image.el (image-type-from-buffer, image-multi-frame-p):
2868 Remove --without-x warning/error.
2869
2870 * mouse.el (mouse-yank-primary):
2871 * term.el (term-mouse-paste):
2872 Reorder to silence --without-x compilation.
2873
2874 * mpc.el (doc-view-mode): Silence --without-x compilation.
2875
2876 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2877 Silence --without-x compilation.
2878
2879 * progmodes/gud.el (gud-find-file, gud-mode):
2880 Silence --without-x compilation.
2881 (tooltip-mode): Declare.
2882
2883 * wdired.el (dired-backup-overwrite): Remove declaration.
2884 (wdired-mode-map): Add doc string.
2885
2886 * custom.el (x-get-resource): Declare.
2887
2888 * eshell/em-glob.el (ange-cache):
2889 * eshell/em-unix.el (ange-cache): Declare.
2890
2891 * faces.el (x-display-list, x-open-connection, x-get-resource):
2892 Declare.
2893
2894 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2895 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2896 Declare.
2897
2898 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2899
2900 * net/gnutls.el (gnutls-log-level): Declare.
2901
2902 * net/shr.el (image-size, image-animate): Declare.
2903
2904 * simple.el (font-info): Declare.
2905
2906 * subr.el (x-popup-dialog): Declare.
2907
2908 * term/common-win.el (x-select-enable-primary)
2909 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2910 Declare.
2911
2912 * term/ns-win.el (x-handle-args): Declare.
2913
2914 * term/x-win.el (x-select-enable-clipboard): Declare.
2915
2916 * term/w32-win.el (create-default-fontset): Declare.
2917
2918 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2919 Declare.
2920
2921 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2922 (fit-frame-to-buffer): Explicit error if --without-x.
2923 (mouse-autoselect-window-select): Silence compiler.
2924
2925 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2926
2927 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2928 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2929 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2930 * eshell/esh-util.el (eshell-sublist):
2931 Remove unused local variables.
2932
2933 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2934
2935 * textmodes/two-column.el: Make 2C-split work for --without-x.
2936 (scroll-bar-columns): Autoload.
2937 (top-level): Require fringe when compiling.
2938
2939 2013-09-18 Leo Liu <sdl.web@gmail.com>
2940
2941 * subr.el (add-hook): Robustify to handle closure as well.
2942
2943 2013-09-17 Glenn Morris <rgm@gnu.org>
2944
2945 * simple.el (messages-buffer-mode-map): Unbind "g".
2946
2947 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2948
2949 * help-mode.el (help-mode-finish): Use derived-mode-p.
2950 Remove obsolete highlighting.
2951
2952 * play/life.el (life-mode): Use define-derived-mode. Derive from
2953 special-mode.
2954 (life): Let-bind inhibit-read-only.
2955 (life-setup): Avoid `setq'. Use `life-mode'.
2956
2957 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2958 which should not be needed any more.
2959 (package-menu-refresh, package-menu-describe-package): Use user-error.
2960
2961 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2962 (eshell-post-rewrite-command-hook): Make obsolete.
2963 (eshell-parse-command): Simplify.
2964 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2965 (eshell--cmd): Declare.
2966 (eshell-parse-pipeline): Remove unused var `final-p'.
2967 Pass a dynvar to eshell-post-rewrite-command-hook.
2968 Implement the new eshell-post-rewrite-command-function.
2969 (eshell-invoke-directly): Remove unused arg `input'.
2970 * eshell/esh-io.el (eshell-io-initialize):
2971 Use eshell-post-rewrite-command-function (bug#15399).
2972 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2973 adjust to new calling convention.
2974 (eshell-create-handles): Rename args to avoid clashing with dynvar
2975 `standard-output'.
2976
2977 2013-09-17 Glenn Morris <rgm@gnu.org>
2978
2979 * simple.el (messages-buffer-mode): New major mode.
2980 (messages-buffer): New function.
2981 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2982 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2983 (ert-run-test): Use `messages-buffer' function.
2984 (ert--force-message-log-buffer-truncation): Ignore read-only.
2985 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2986 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2987
2988 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2989
2990 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2991
2992 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2993
2994 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2995
2996 * icomplete.el (icomplete-in-buffer): New var.
2997 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2998 vars and replace them with functions.
2999 (icomplete-minibuffer-setup): Adjust accordingly.
3000 (icomplete--completion-table, icomplete--completion-predicate)
3001 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3002 New functions.
3003 (icomplete-forward-completions, icomplete-backward-completions)
3004 (icomplete-simple-completing-p, icomplete-exhibit)
3005 (icomplete-completions): Use them.
3006 (icomplete--in-region-buffer): New var.
3007 (icomplete--in-region-setup): New function.
3008 (icomplete-mode): Use it.
3009
3010 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3011 (bug#15379).
3012 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3013 return args and options.
3014 (eshell-eval-using-options): Use the new return value of
3015 eshell--do-opts to set the options's vars in their scope.
3016 (eshell--set-option): Rename from eshell-set-option.
3017 Add arg `opt-vals'.
3018 (eshell--process-option): Rename from eshell-process-option.
3019 Add arg `opt-vals'.
3020 (eshell--process-args): Use an `opt-vals' alist to store the options's
3021 values during their processing and return them additionally to the
3022 remaining args.
3023
3024 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3025
3026 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3027 continuation character an operator, as far as indentation is
3028 concerned (Bug#15369).
3029
3030 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3031
3032 * window.el (window--state-put-2): Don't process buffer state
3033 when buffer doesn't exist any more (Bug#15382).
3034
3035 2013-09-15 Glenn Morris <rgm@gnu.org>
3036
3037 * eshell/em-unix.el (eshell/rm):
3038 Make -f ignore missing files. (Bug#15373)
3039
3040 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3041 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3042 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3043
3044 2013-09-14 Glenn Morris <rgm@gnu.org>
3045
3046 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3047
3048 2013-09-13 Glenn Morris <rgm@gnu.org>
3049
3050 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3051 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3052
3053 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3054
3055 * frame.el (x-focus-frame): Mark as declared in frame.c.
3056
3057 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3058
3059 * ls-lisp.el: Use advice-add.
3060 (original-insert-directory): Remove.
3061 (ls-lisp--insert-directory): Rename from insert-directory; add
3062 `orig-fun' argument.
3063 (insert-directory): Advise.
3064
3065 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3066
3067 * term.el (term-emulate-terminal): Decode the command string
3068 before passing it to term-command-hook. (Bug#15337)
3069
3070 2013-09-13 Glenn Morris <rgm@gnu.org>
3071
3072 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3073
3074 * eshell/esh-ext.el (eshell-search-path): Declare.
3075
3076 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3077 Otherwise an error occurs if eshell-dirs module not loaded.
3078
3079 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3080
3081 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3082
3083 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3084 `tramp-check-proper-host'. Check for a valid method name.
3085
3086 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3087 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3088 * net/tramp-sh.el (tramp-maybe-open-connection):
3089 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3090
3091 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3092 also for hash values.
3093
3094 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * term/ns-win.el (parameters): Don't declare as dynamic.
3097 (before-make-frame-hook): Don't add ineffective function.
3098
3099 * eshell/*.el: Use lexical-binding (bug#15231).
3100
3101 2013-09-12 Kenichi Handa <handa@gnu.org>
3102
3103 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3104
3105 2013-09-12 Glenn Morris <rgm@gnu.org>
3106
3107 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3108 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3109
3110 * subr.el (do-after-load-evaluation): Also give compiler warnings
3111 when obsolete files are used (except by obsolete files).
3112
3113 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3114 in the status output, assume `filename' is the first. (Bug#15322)
3115
3116 * vc/vc.el (vc-deduce-fileset): Doc fix.
3117
3118 * calc/calc-help.el (Info-goto-node):
3119 * progmodes/cperl-mode.el (Info-find-node):
3120 * vc/ediff.el (Info-goto-node): Update declarations.
3121
3122 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3123
3124 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3125 (vc-bzr-pull): Require vc-dispatcher.
3126 * vc/vc-git.el (vc-compilation-mode): Declare.
3127 (vc-git-pull): Require vc-dispatcher.
3128
3129 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3130
3131 * progmodes/octave.el (help-button-action): Declare.
3132
3133 * shell.el (shell-directory-tracker): Output error as a message
3134 rather than just returning it as a string.
3135 (shell-process-pushd): Remove useless use of message.
3136
3137 * dframe.el (dframe-timer-fn):
3138 * files.el (dir-locals-read-from-file):
3139 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3140 (mpc-format):
3141 * reveal.el (reveal-post-command):
3142 * saveplace.el (load-save-place-alist-from-file):
3143 * shell.el (shell-resync-dirs):
3144 * w32-common-fns.el (x-get-selection-value):
3145 * emacs-lisp/copyright.el (copyright-find-copyright):
3146 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3147 * emulation/tpu-edt.el (tpu-copy-keyfile):
3148 * play/bubbles.el (bubbles--mark-neighbourhood):
3149 * progmodes/executable.el
3150 (executable-make-buffer-file-executable-if-script-p):
3151 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3152
3153 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 Cleanup Eshell to rely less on dynamic scoping.
3156 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3157 last-value, and ext-command here. Bind `args' closer to `body'.
3158 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3159 (eshell--args): Declare new dynamic var.
3160 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3161 last-value, and ext-command. Pass `args' to `body'.
3162 (eshell-process-args): Bind eshell--args.
3163 (eshell-set-option): Use eshell--args.
3164 * eshell/eshell.el (eshell): Use derived-mode-p.
3165 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3166 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3167 (eshell-glob-function): Declare.
3168 * eshell/esh-util.el: Require cl-lib.
3169 (eshell-read-hosts-file): Avoid add-to-list.
3170 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3171 `err'.
3172 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3173 Declare.
3174 (eshell/diff): Remove unused var `err'.
3175 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3176 `killflag'.
3177 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3178 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3179 first use.
3180 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3181 Move declaration before first use.
3182 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3183 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3184 rely on cl-return.
3185
3186 2013-09-12 Glenn Morris <rgm@gnu.org>
3187
3188 * term/ns-win.el (global-map): Remove binding for ispell-next,
3189 deleted 1999-05-29. (Bug#15357)
3190
3191 2013-09-11 Glenn Morris <rgm@gnu.org>
3192
3193 * echistory.el (electric-command-history): Remove call to deleted func.
3194
3195 * play/landmark.el (landmark-mode): Fix typos.
3196
3197 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3198 Check cvs-sort-ignore-file is bound.
3199
3200 * savehist.el: No need for cl when compiling on Emacs.
3201
3202 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3203
3204 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3205 (bug#15338).
3206 (eshell-self-insert-command, eshell-send-invisible):
3207 Remove unused argument.
3208 (eshell-handle-control-codes): Remove unused var `orig'.
3209 Avoid delete-backward-char.
3210
3211 * files.el (set-auto-mode): Simplify a bit further.
3212
3213 2013-09-11 Glenn Morris <rgm@gnu.org>
3214
3215 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3216 (set-auto-mode): Don't regexp-quote elements.
3217 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3218 * progmodes/cc-mode.el (interpreter-mode-alist):
3219 * progmodes/ruby-mode.el (interpreter-mode-alist):
3220 Revert previous change.
3221
3222 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3223
3224 * play/snake.el (snake-mode):
3225 * play/mpuz.el (mpuz-mode):
3226 * play/landmark.el (lm-mode):
3227 * play/blackbox.el (blackbox-mode):
3228 * play/5x5.el (5x5-mode):
3229 * obsolete/options.el (Edit-options-mode):
3230 * net/quickurl.el (quickurl-list-mode):
3231 * net/newst-treeview.el (newsticker-treeview-mode):
3232 * mail/rmailsum.el (rmail-summary-mode):
3233 * mail/mspools.el (mspools-mode):
3234 * locate.el (locate-mode):
3235 * ibuffer.el (ibuffer-mode):
3236 * emulation/ws-mode.el (wordstar-mode):
3237 * emacs-lisp/debug.el (debugger-mode):
3238 * array.el (array-mode):
3239 * net/eudc.el (eudc-mode): Use define-derived-mode.
3240 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3241 Move initialization into declaration.
3242 (mairix-searches-mode): Use define-derived-mode.
3243 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3244 (eudc-edit-hotlist): Use dolist.
3245 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3246 (Man-mode): Use define-derived-mode.
3247 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3248 (Info-edit-mode): Use define-derived-mode.
3249 (Info-cease-edit): Use Info-mode.
3250 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3251 into declaration.
3252 (eshell-mode): Use define-derived-mode.
3253 * chistory.el (command-history-mode-map): Rename from
3254 command-history-map.
3255 (command-history-mode): Use define-derived-mode.
3256 (Command-history-setup): Remove function.
3257 * calc/calc.el (calc-trail-mode-map): New var.
3258 (calc-trail-mode): Use define-derived-mode.
3259 (calc-trail-buffer): Set calc-main-buffer manually.
3260 * bookmark.el (bookmark-insert-annotation): New function.
3261 (bookmark-edit-annotation): Use it.
3262 (bookmark-edit-annotation-mode): Make it a proper major mode.
3263 (bookmark-send-edited-annotation): Use derived-mode-p.
3264 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3265 closer to its ideal place. Use \' to match EOS.
3266
3267 * profiler.el (profiler-calltree-find): Use function-equal.
3268
3269 2013-09-10 Glenn Morris <rgm@gnu.org>
3270
3271 * files.el (interpreter-mode-alist): Convert to regexps.
3272 (set-auto-mode): Adapt for this. (Bug#15306)
3273 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3274 Comment out unused variable.
3275 * progmodes/cc-mode.el (interpreter-mode-alist):
3276 * progmodes/python.el (interpreter-mode-alist):
3277 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3278 * progmodes/sh-script.el (sh-set-shell):
3279 No longer use interpreter-mode-alist to get list of shells.
3280
3281 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3282
3283 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3284
3285 * simple.el: Use set-temporary-overlay-map for universal-argument.
3286 (universal-argument-map): Don't use default-bindings (bug#15317).
3287 Bind switch-frame explicitly. Replace universal-argument-minus with
3288 a conditional binding.
3289 (universal-argument-num-events, saved-overriding-map): Remove.
3290 (restore-overriding-map): Remove.
3291 (universal-argument--mode): Rename from save&set-overriding-map,
3292 and rewrite.
3293 (universal-argument, universal-argument-more, negative-argument)
3294 (digit-argument): Adjust accordingly.
3295 (universal-argument-minus): Remove.
3296 (universal-argument-other-key): Remove.
3297
3298 * subr.el (with-demoted-errors): Add `format' argument.
3299
3300 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3301
3302 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3303 `tramp-cleanup-connection'.
3304
3305 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3306 parameters KEEP-DEBUG and KEEP-PASSWORD.
3307
3308 * net/tramp.el (tramp-file-name-handler):
3309 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3310 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3311 (tramp-maybe-open-connection):
3312 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3313 Use `tramp-cleanup-connection'.
3314
3315 * net/tramp-sh.el (tramp-maybe-open-connection):
3316 Catch 'uname-changed inside the progress reporter.
3317
3318 2013-09-10 Glenn Morris <rgm@gnu.org>
3319
3320 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3321
3322 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3323 returns "alternate access method" in mode (eg "-rw-r--r--.").
3324
3325 2013-09-08 Glenn Morris <rgm@gnu.org>
3326
3327 * saveplace.el (load-save-place-alist-from-file):
3328 Demote errors. (Bug#15305)
3329
3330 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3331
3332 Improve compatibility with older Emacsen, and XEmacs.
3333
3334 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3335 only if it is bound. It isn't for XEmacs.
3336 (with-tramp-progress-reporter): Do not let-bind `result'.
3337 This yields to scoping errors in XEmacs.
3338 (tramp-handle-make-auto-save-file-name): New function, moved from
3339 tramp-sh.el.
3340
3341 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3342 for `make-auto-save-file-name'.
3343 (tramp-adb--gnu-switches-to-ash):
3344 Use `tramp-compat-replace-regexp-in-string'.
3345
3346 * net/tramp-cache.el (tramp-cache-print): Call
3347 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3348
3349 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3350 bound. It isn't for XEmacs.
3351
3352 * net/tramp-compat.el (tramp-compat-copy-file):
3353 Catch `wrong-number-of-arguments' error.
3354 (tramp-compat-replace-regexp-in-string): New defun.
3355
3356 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3357 for `make-auto-save-file-name'.
3358 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3359 `copy-file'.
3360 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3361 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3362 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3363
3364 * net/tramp-gw.el (tramp-gw-open-network-stream):
3365 Use `tramp-compat-replace-regexp-in-string'.
3366
3367 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3368 Call `tramp-handle-make-auto-save-file-name'.
3369 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3370 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3371 (tramp-sh-file-inotifywait-process-filter):
3372 Use `tramp-compat-replace-regexp-in-string'.
3373 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3374
3375 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3376 for `make-auto-save-file-name'.
3377 (tramp-smb-handle-copy-directory):
3378 Call `tramp-compat-replace-regexp-in-string'.
3379 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3380 (tramp-smb-handle-copy-file): Improve error message.
3381 (tramp-smb-handle-rename-file): Rename directly only in case
3382 `newname' does not exist yet. This is a restriction of smbclient.
3383 (tramp-smb-maybe-open-connection): Rerun the function only when
3384 `auth-sources' is non-nil.
3385
3386 2013-09-08 Kenichi Handa <handa@gnu.org>
3387
3388 * international/characters.el: Set category "^" (Combining) for
3389 more characters.
3390
3391 2013-09-07 Alan Mackenzie <acm@muc.de>
3392
3393 Correctly fontify Java class constructors.
3394 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3395 in Java Mode.
3396 (c-recognize-typeless-decls): Set the Java value to t.
3397 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3398 While handling a "(", add a check for, effectively, Java, and handle a
3399 "typeless" declaration there.
3400
3401 2013-09-07 Roland Winkler <winkler@gnu.org>
3402
3403 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3404 field subtitle for entry type book.
3405
3406 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3407
3408 * minibuffer.el: Make minibuffer-complete call completion-in-region
3409 rather than other way around.
3410 (completion--some, completion-pcm--find-all-completions):
3411 Don't delay signals when debugging.
3412 (minibuffer-completion-contents): Beware fields within the
3413 minibuffer contents.
3414 (completion-all-sorted-completions): Use defvar-local.
3415 (completion--do-completion, completion--cache-all-sorted-completions)
3416 (completion-all-sorted-completions, minibuffer-force-complete):
3417 Add args `beg' and `end'.
3418 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3419 (minibuffer-complete): Use completion-in-region.
3420 (completion-complete-and-exit): New fun, extracted from
3421 minibuffer-complete-and-exit.
3422 (minibuffer-complete-and-exit): Use it.
3423 (completion--complete-and-exit): Rename from
3424 minibuffer--complete-and-exit.
3425 (completion-in-region--single-word): New function, extracted from
3426 minibuffer-complete-word.
3427 (minibuffer-complete-word): Use it.
3428 (display-completion-list): Make `common-substring' argument obsolete.
3429 (completion--in-region): Call completion--in-region-1 instead of
3430 minibuffer-complete.
3431 (completion-help-at-point): Pass boundaries to
3432 minibuffer-completion-help as args rather than via an overlay.
3433 (completion-pcm--string->pattern): Use `any-delim'.
3434 (completion-pcm--optimize-pattern): New function.
3435 (completion-pcm--pattern->regex): Handle `any-delim'.
3436 * icomplete.el (icomplete-forward-completions)
3437 (icomplete-backward-completions, icomplete-completions):
3438 Adjust calls to completion-all-sorted-completions and
3439 completion--cache-all-sorted-completions.
3440 (icomplete-with-completion-tables): Default to t.
3441 * emacs-lisp/crm.el (crm--current-element): Rename from
3442 crm--select-current-element. Don't put an overlay but return the
3443 boundaries instead.
3444 (crm--completion-command): Take two new args to bind to the boundaries.
3445 (crm-completion-help): Adjust accordingly.
3446 (crm-complete): Use completion-in-region.
3447 (crm-complete-word): Use completion-in-region--single-word.
3448 (crm-complete-and-exit): Use completion-complete-and-exit.
3449
3450 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3451
3452 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3453 than dynamically.
3454
3455 2013-09-06 Juri Linkov <juri@jurta.org>
3456
3457 * info.el (Info-display-images-node): When image file doesn't exist
3458 display text version of the image if it's provided in the Info file.
3459 Otherwise, display the location of missing image from SRC attribute.
3460 Add help-echo text property from ALT attribute. (Bug#15279)
3461
3462 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3465 (edit-abbrevs-mode): Use define-derived-mode.
3466
3467 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3468 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3469 that it's defined.
3470 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3471 Use define-derived-mode.
3472
3473 * epg.el (epg-start-encrypt): Minor CSE simplification.
3474
3475 2013-09-06 William Xu <william.xwl@gmail.com>
3476
3477 * arc-mode.el: Add support for 7za (bug#15264).
3478 (archive-7z-program): New var.
3479 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3480 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3481 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3482
3483 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3484
3485 Remove URL syntax.
3486
3487 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3488 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3489 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3490 (tramp-postfix-host-format, tramp-file-name-regexp)
3491 (tramp-completion-file-name-regexp)
3492 (tramp-completion-dissect-file-name)
3493 (tramp-handle-substitute-in-file-name): Remove 'url case.
3494 (tramp-file-name-regexp-url)
3495 (tramp-completion-file-name-regexp-url): Remove constants.
3496
3497 2013-09-06 Glenn Morris <rgm@gnu.org>
3498
3499 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3500
3501 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3502
3503 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3504 keywords" below "here-doc beginnings" (Bug#15270).
3505
3506 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3507
3508 * subr.el (pop): Use `car-safe'.
3509 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3510 to detect unused `pop' return value.
3511
3512 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3513 var `block-regexp'.
3514 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3515 (python-fill-string): Remove unused var `marker'.
3516 (python-skeleton-add-menu-items): Remove unused var `items'.
3517
3518 * international/mule-cmds.el: Require CL.
3519 (find-coding-systems-for-charsets): Avoid add-to-list.
3520 (sanitize-coding-system-list): New function, extracted from
3521 select-safe-coding-system-interactively.
3522 (select-safe-coding-system-interactively): Use it.
3523 (read-input-method-name): Accept symbols for `default'.
3524
3525 * emacs-lisp/advice.el (defadvice): Add indent rule.
3526
3527 2013-09-05 Daniel Hackney <dan@haxney.org>
3528
3529 * dired-x.el:
3530 * net/ange-ftp.el:
3531 * net/browse-url.el:
3532 * net/dbus.el:
3533 * net/eudc.el:
3534 * net/eudcb-ldap.el:
3535 * net/eww.el:
3536 * net/imap.el:
3537 * printing.el:
3538 * vc/ediff-diff.el:
3539 * vc/ediff-init.el:
3540 * vc/ediff-merg.el:
3541 * vc/ediff-mult.el:
3542 * vc/ediff-util.el:
3543 * vc/ediff-wind.el:
3544 * vc/ediff.el:
3545 * vc/emerge.el:
3546 * vc/pcvs.el:
3547 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3548 byte compiler. Remove some unused let-bound variables.
3549
3550 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3551
3552 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3553 a "ref-cell", since it gets better optimized (bug#14883).
3554
3555 2013-09-05 Glenn Morris <rgm@gnu.org>
3556
3557 * progmodes/cc-awk.el (c-forward-sws): Declare.
3558
3559 2013-09-04 Glenn Morris <rgm@gnu.org>
3560
3561 * generic-x.el [rul-generic-mode]: Require cc-mode.
3562 (c++-mode-syntax-table): Declare.
3563 (rul-generic-mode-syntax-table): Init in the defvar.
3564
3565 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3566
3567 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3568 (vc-do-command, vc-set-async-update):
3569 * vc/vc-mtn.el (vc-mtn-dir-status):
3570 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3571 (vc-hg-pull, vc-hg-merge-branch):
3572 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3573 (vc-git-merge-branch):
3574 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3575 (vc-cvs-dir-status-files):
3576 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3577 (vc-bzr-dir-status-files):
3578 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3579 * vc/vc-annotate.el: Use lexical-binding.
3580 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3581 (vc-sentinel-movepoint): Declare.
3582 (vc-annotate): Don't use `goto-line'.
3583 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3584 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3585 (vc-sentinel-movepoint): Declare.
3586 * vc/vc-svn.el: Use lexical-binding.
3587 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3588 * vc/vc-sccs.el:
3589 * vc/vc-rcs.el: Use lexical-binding.
3590
3591 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3592 `deleted'. Don't drop errors silently.
3593
3594 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3595
3596 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3597
3598 * vc/vc.el (vc-ignore): Rewrite.
3599 (vc-default-ignore): New function.
3600 (vc-default-ignore-completion-table): Use find-ignore-file.
3601
3602 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3603 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3604 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3605 Remove. Most code moved to vc.el.
3606
3607 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3608
3609 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3610 * net/tramp-smb.el (tramp-smb-get-file-entries):
3611 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3612 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3613
3614 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3615 Update call to it.
3616 (eww-change-select): Remove unused var `properties'.
3617 (eww-make-unique-file-name): Remove unused var `base'.
3618
3619 * finder.el (finder-compile-keywords): Don't mess with windows.
3620
3621 * calculator.el (calculator-funcall): Fix typo in last change.
3622
3623 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3624
3625 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3626 <pkg>-autoloads.el file stop us.
3627
3628 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3629 warnings, and factor out common code.
3630
3631 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3632
3633 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3634 two-character operators and whether the character preceding them
3635 changes their meaning (Bug#15208).
3636
3637 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3638
3639 Format code sent to Python shell for robustness.
3640 * progmodes/python.el (python-shell-buffer-substring):
3641 New function.
3642 (python-shell-send-region, python-shell-send-buffer): Use it.
3643
3644 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3645
3646 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3647 * net/tramp.el (tramp-user-error): ... here.
3648 (tramp-find-method, tramp-check-proper-host)
3649 (tramp-dissect-file-name, tramp-debug-message)
3650 (tramp-handle-shell-command):
3651 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3652 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3653
3654 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3655
3656 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3657
3658 * avoid.el (mouse-avoidance-point-position)
3659 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3660 returns nil.
3661
3662 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3663
3664 * progmodes/python.el (python-shell-completion-get-completions):
3665 Drop use of deleted `comint-last-prompt-overlay'.
3666 (python-nav-if-name-main): New command.
3667
3668 2013-09-01 Glenn Morris <rgm@gnu.org>
3669
3670 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3671 Avoid leading space in $wins. Otherwise the sed command used by
3672 eg compile-main ends up containing "/*.el". (Bug#15170)
3673
3674 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3675
3676 2013-08-30 Glenn Morris <rgm@gnu.org>
3677
3678 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3679 Fix is-this-a-directory logic. (Bug#15220)
3680
3681 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3682
3683 * textmodes/css-mode.el: Use SMIE.
3684 (css-smie-grammar): New var.
3685 (css-smie--forward-token, css-smie--backward-token)
3686 (css-smie-rules): New functions.
3687 (css-mode): Use them.
3688 (css-navigation-syntax-table): Remove var.
3689 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3690 (css-indent-calculate, css-indent-line): Remove functions.
3691
3692 Misc changes to reduce use of `(lambda...); and other cleanups.
3693 * cus-edit.el: Use lexical-binding.
3694 (customize-push-and-save, customize-apropos)
3695 (custom-buffer-create-internal): Use closures.
3696 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3697 * progmodes/ada-xref.el: Use setq.
3698 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3699 * dframe.el: Use lexical-binding.
3700 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3701 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3702 * descr-text.el: Use lexical-binding.
3703 (describe-text-widget, describe-text-sexp, describe-property-list):
3704 Use closures.
3705 * comint.el (comint-history-isearch-push-state): Use a closure.
3706 * calculator.el: Use lexical-binding.
3707 (calculator-number-to-string): Make it work with lexical-binding.
3708 (calculator-funcall): Same and use cl-letf.
3709
3710 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3711 (lisp--company-doc-string, lisp--company-location): New functions.
3712 (lisp-completion-at-point): Use them to improve Company support.
3713
3714 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3715 params of lambda expressions.
3716 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3717 (ruby-smie--opening-pipe-p): New function.
3718 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3719 symbols and matched |...| for formal params.
3720 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3721 from being treated as hanging. Handle "rescue".
3722
3723 2013-08-29 Glenn Morris <rgm@gnu.org>
3724
3725 * progmodes/cc-engine.el (c-pull-open-brace):
3726 Move definition before use.
3727
3728 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3729
3730 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3731 are immutable. Don't use `unsafe' any more.
3732 (cl--defsubst-expand): Don't substitute at the same time as keeping
3733 a residual unused let-binding. Don't use `unsafe' any more.
3734
3735 2013-08-29 Glenn Morris <rgm@gnu.org>
3736
3737 * calendar/cal-china.el (calendar-chinese-year-cache):
3738 Recenter on 2015.
3739
3740 * nxml/nxml-util.el (nxml-debug-clear-inside):
3741 Use cl-loop rather than loop.
3742
3743 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3744
3745 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3746
3747 2013-08-28 Glenn Morris <rgm@gnu.org>
3748
3749 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3750
3751 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3752
3753 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3754
3755 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3756
3757 * simple.el (repeat-complex-command--called-interactively-skip):
3758 New function.
3759 (repeat-complex-command): Use it (bug#14136).
3760
3761 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3762 (c-define-abbrev-table): Add `doc' argument.
3763 (c-mode-abbrev-table, c++-mode-abbrev-table)
3764 (objc-mode-abbrev-table, java-mode-abbrev-table)
3765 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3766 (awk-mode-abbrev-table): Use it.
3767 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3768 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3769 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3770 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3771 Move initialization into the declaration; and remove any
3772 autoload cookie.
3773
3774 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3775 and dynamic let binding.
3776
3777 * vc/smerge-mode.el: Remove redundant :group args.
3778
3779 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3780 to load-path.
3781
3782 2013-08-28 Juri Linkov <juri@jurta.org>
3783
3784 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3785 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3786 (isearch-other-meta-char): Handle an undefined shifted printing
3787 character by downshifting it. (Bug#15200)
3788
3789 2013-08-28 Juri Linkov <juri@jurta.org>
3790
3791 * isearch.el (isearch-search): Change regexp error message for
3792 non-regexp searches. (Bug#15166)
3793
3794 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3795
3796 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3797 for portability to hosts where /bin/sh has problems.
3798
3799 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3800
3801 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3802
3803 2013-08-27 Juri Linkov <juri@jurta.org>
3804
3805 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3806 in the keyboard macro. (Bug#15126)
3807
3808 2013-08-27 Juri Linkov <juri@jurta.org>
3809
3810 * isearch.el (isearch-quote-char): Comment out converting unibyte
3811 to multibyte, thus syncing with its `quoted-insert' counterpart.
3812 (Bug#15166)
3813
3814 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3815
3816 * window.el (display-buffer-use-some-window): Add missing
3817 argument in call of get-largest-window (Bug#15185).
3818 Reported by Stephen Leake.
3819
3820 2013-08-27 Glenn Morris <rgm@gnu.org>
3821
3822 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3823
3824 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3825
3826 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3827 from a matcher-function unless there's no more matches (bug#15161).
3828
3829 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3830
3831 * minibuffer.el: Revert change from 2013-08-20.
3832
3833 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3834 with text property `tramp-default', if appropriate.
3835 (tramp-check-proper-host): New defun.
3836 (tramp-dissect-file-name): Do not check hostname. Revert change
3837 of 2013-03-18.
3838 (tramp-backtrace): Make VEC-OR-PROC optional.
3839
3840 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3841 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3842 * net/tramp-sh.el (tramp-maybe-open-connection):
3843 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3844 Apply `tramp-check-proper-host'.
3845
3846 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3847
3848 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3849 lambda expression in order to have `describe-variable' display it.
3850
3851 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3852
3853 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3854 BUF can be optional. (Bug#15186)
3855
3856 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3857
3858 * progmodes/flymake.el (flymake-get-real-file-name-function):
3859 Fix broken customization. (Bug#15184)
3860
3861 2013-08-25 Alan Mackenzie <acm@muc.de>
3862
3863 Improve indentation of bracelists defined by macros (without "=").
3864
3865 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3866 expansion begins with "{", regard it as bracelist when it doesn't
3867 contain a ";".
3868
3869 Parse C++ inher-intro when there's a template split over 2 lines.
3870
3871 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3872 rigorously the search for "class" etc. followed by ":".
3873
3874 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3875 random languages a regexp which never matches rather than nil.
3876
3877 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3878
3879 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3880 (c-awk-regexp-one-line-possibly-open-char-list-re)
3881 (c-awk-one-line-possibly-open-regexp-re)
3882 (c-awk-one-line-non-syn-ws*-re): Remove.
3883 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3884 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3885 (c-awk-space*-unclosed-regexp-/-re): New constants.
3886 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3887 aren't regexp delimiters.
3888
3889 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3890 handling for a rare situation in AWK Mode involving unterminated
3891 strings/regexps.
3892
3893 2013-08-23 Glenn Morris <rgm@gnu.org>
3894
3895 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3896
3897 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3898
3899 * files.el (create-file-buffer): If the result would begin with
3900 spaces, prepend a "|" instead of removing them. (Bug#15162)
3901
3902 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3903
3904 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3905 text-properties (bug#15155).
3906
3907 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3908 exist any more.
3909 (calc-keypad-redraw): Remove unused var `pad'.
3910 (calc-keypad-press): Remove unused var `menu'.
3911
3912 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3913
3914 * window.el (display-buffer-pop-up-frame):
3915 Call pop-up-frame-function with BUFFER current so `make-frame' will
3916 use it as the new frame's buffer (Bug#15133).
3917
3918 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3919
3920 * calendar/timeclock.el: Minor cleanups.
3921 (timeclock-ask-before-exiting, timeclock-use-display-time):
3922 Use `symbol'.
3923 (timeclock-modeline-display): Define as alias before the
3924 actual definition.
3925 (timeclock-mode-line-display): Use define-minor-mode.
3926 (timeclock-day-list-template): Make it a function, add an argument.
3927 (timeclock-day-list-required, timeclock-day-list-length)
3928 (timeclock-day-list-debt, timeclock-day-list-span)
3929 (timeclock-day-list-break): Adjust calls accordingly.
3930
3931 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3932
3933 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3934 Use read--expression so that completion works again.
3935
3936 2013-08-21 Sam Steingold <sds@gnu.org>
3937
3938 Add rudimentary inferior shell interaction
3939 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3940 (sh-set-shell): Reset it.
3941 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3942 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3943
3944 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3945
3946 * align.el: Use lexical-binding.
3947 (align-region): Simplify accordingly.
3948
3949 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3950
3951 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3952
3953 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3954 `non-essential' up.
3955
3956 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3957
3958 * net/tramp.el:
3959 * net/tramp-adb.el:
3960 * net/tramp-cmds.el:
3961 * net/tramp-ftp.el:
3962 * net/tramp-gvfs.el:
3963 * net/tramp-gw.el:
3964 * net/tramp-sh.el: Don't wrap external variable declarations by
3965 `eval-when-compile'.
3966
3967 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3968
3969 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3970 now that Emacs supports ImageMagick animations.
3971
3972 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3973
3974 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3975 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3976
3977 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3978
3979 * window.el (mouse-autoselect-window-select): Do autoselect when
3980 mouse pointer is on margin.
3981
3982 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3983
3984 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3985
3986 2013-08-16 Glenn Morris <rgm@gnu.org>
3987
3988 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3989 Handle "Remote Directory" response of some clients. (Bug#15058)
3990
3991 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3992 Tweak warning. (Bug#14926)
3993
3994 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3995 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3996
3997 * image-mode.el (image-mode-map): Add menu items to reverse,
3998 increase, decrease, reset animation speed.
3999 (image--set-speed, image-increase-speed, image-decrease-speed)
4000 (image-reverse-speed, image-reset-speed): New functions.
4001 (image-mode-map): Add bindings for speed commands.
4002
4003 * image.el (image-animate-get-speed, image-animate-set-speed):
4004 New functions.
4005 (image-animate-timeout): Respect image :speed property.
4006
4007 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4008
4009 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4010 previous line (bug#15101).
4011 (debugger-eval-expression, debugger-record-expression):
4012 Use read--expression (bug#15102).
4013
4014 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4015
4016 Remove byte compiler warnings, visible when compiling with
4017 `byte-compile-force-lexical-warnings' set to t.
4018
4019 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4020 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4021 (tramp-handle-unhandled-file-name-directory)
4022 (tramp-handle-file-notify-add-watch, tramp-action-login)
4023 (tramp-action-succeed, tramp-action-permission-denied)
4024 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4025 arguments with "_".
4026
4027 * net/tramp-adb.el (tramp-adb-parse-device-names)
4028 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4029 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4030 (tramp-adb-handle-file-truename): Remove unused arguments.
4031
4032 * net/tramp-cache.el (tramp-flush-directory-property)
4033 (tramp-flush-connection-property, tramp-list-connections)
4034 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4035
4036 * net/tramp-compat.el (tramp-compat-make-temp-file):
4037 Rename FILENAME to F.
4038
4039 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4040 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4041 (tramp-zeroconf-parse-workstation-device-names)
4042 (tramp-zeroconf-parse-webdav-device-names)
4043 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4044
4045 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4046 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4047
4048 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4049 arguments.
4050 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4051 (tramp-sh-handle-insert-file-contents-literally)
4052 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4053 with "_".
4054 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4055 Remove unused variables.
4056
4057 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4058 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4059 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4060
4061 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4062 Make them a defconst.
4063 (tramp-uuencode-region): Remove unused variable.
4064
4065 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4066
4067 * frameset.el (frameset--prop-setter): New function.
4068 (frameset-prop): Add gv-setter declaration.
4069 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4070 parameter was already set in FILTERED. Doc fix.
4071 (frameset--record-minibuffer-relationships): Allow saving a
4072 minibufferless frame without its corresponding minibuffer frame.
4073 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4074 frame, if the frame id matches.
4075 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4076 frames before orphaned ones.
4077 (frameset-restore): Warn about orphaned windows, instead of error out.
4078
4079 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4080
4081 * window.el (window-make-atom): Don't overwrite parameter
4082 already present.
4083 (display-buffer-in-atom-window): Handle special case where we
4084 split an already atomic window.
4085 (window--major-non-side-window, display-buffer-in-side-window)
4086 (window--side-check): Ignore minibuffer window when walking
4087 window tree.
4088 (window-deletable-p): Return 'frame only if no other frame uses
4089 our minibuffer window.
4090 (record-window-buffer): Run buffer-list-update-hook.
4091 (split-window): Make sure window--check-frame won't destroy an
4092 existing atomic window in case the new window gets nested
4093 inside.
4094 (display-buffer-at-bottom): Ignore minibuffer window when
4095 walking window tree. Don't split a side window.
4096 (pop-to-buffer): Don't set-buffer here, the select-window call
4097 should do that.
4098 (mouse-autoselect-window-select): Autoselect only if we are in the
4099 text portion of the window.
4100
4101 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4102
4103 * net/shr.el (shr-parse-image-data): New function to grab both the
4104 data itself and the Content-Type.
4105 (shr-put-image): Use it.
4106
4107 * net/eww.el (eww-display-image): Ditto.
4108
4109 * image.el (image-content-type-suffixes): New variable.
4110
4111 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4112
4113 * progmodes/python.el (python-imenu--build-tree)
4114 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4115
4116 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4117
4118 * simple.el (backward-word): Mention the optional argument.
4119
4120 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 * frameset.el (frameset--make): Rename constructor from make-frameset.
4123 (frameset-p, frameset-valid-p): Don't autoload.
4124 (frameset-valid-p): Use normal accessors.
4125
4126 2013-08-13 Glenn Morris <rgm@gnu.org>
4127
4128 * progmodes/compile.el (compile-command): Tweak example in doc.
4129 * obsolete/scribe.el (scribe-mode):
4130 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4131
4132 * mail/feedmail.el (feedmail-confirm-outgoing)
4133 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4134
4135 * cus-start.el (truncate-partial-width-windows): Fix type.
4136
4137 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4138
4139 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4140
4141 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4142
4143 * emacs-lisp/timer.el (timer--time-setter): New function.
4144 (timer--time): Use it as gv-setter.
4145
4146 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4147 setter is not a symbol.
4148
4149 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4150
4151 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4152 if sending fails. This makes debugging easier.
4153
4154 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4155
4156 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4157 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4158 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4159
4160 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4161
4162 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4163
4164 2013-08-12 Glenn Morris <rgm@gnu.org>
4165
4166 * format.el (format-annotate-function):
4167 Handle read-only text properties in the source. (Bug#14887)
4168
4169 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4170
4171 * net/eww.el (eww-display-html): Ignore coding system errors.
4172 One web site uses "utf-8lias" as the coding system.
4173
4174 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4175
4176 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4177
4178 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4179
4180 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4181 (tutorial--detailed-help): Remove unused local variables.
4182 (tutorial--save-tutorial-to): Use ignore-errors.
4183 (help-with-tutorial): Use looking-at-p.
4184
4185 * view.el (view-buffer-other-window, view-buffer-other-frame):
4186 Mark unused arguments.
4187
4188 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4189 (woman-select-symbol-fonts, woman, woman-find-file)
4190 (woman-insert-file-contents, woman-non-underline-faces):
4191 Use string-match-p.
4192 (woman1-unquote): Move declaration.
4193
4194 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4195 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4196 argument. Remove unused local variable.
4197 (xml-parse-elem-type): Use string-match-p.
4198 (xml-substitute-numeric-entities): Use ignore-errors.
4199
4200 * calculator.el (calculator): Mark unused argument.
4201 (calculator-paste, calculator-quit, calculator-integer-p):
4202 Use ignore-errors.
4203 (calculator-string-to-number, calculator-decimal, calculator-exp)
4204 (calculator-op-or-exp): Use string-match-p.
4205
4206 * dired.el (dired-buffer-more-recently-used-p): Declare.
4207 (dired-insert-set-properties, dired-insert-old-subdirs):
4208 Use ignore-errors.
4209
4210 * dired-aux.el (dired-compress): Use ignore-errors.
4211 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4212 (dired-do-async-shell-command, dired-do-shell-command)
4213 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4214 (dired-insert-subdir-validate): Use string-match-p.
4215 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4216 (dired-add-entry): Use string-match-p, looking-at-p.
4217 (dired-insert-subdir-newpos): Remove unused local variable.
4218
4219 * filenotify.el (file-notify-callback): Remove unused local variable.
4220
4221 * filesets.el (filesets-error): Mark unused argument.
4222 (filesets-which-command-p, filesets-filter-dir-names)
4223 (filesets-directory-files, filesets-get-external-viewer)
4224 (filesets-ingroup-get-data): Use string-match-p.
4225
4226 * find-file.el (ff-other-file-name, ff-other-file-name)
4227 (ff-find-the-other-file, ff-cc-hh-converter):
4228 Remove unused local variables.
4229 (ff-get-file-name): Use string-match-p.
4230 (ff-all-dirs-under): Use ignore-errors.
4231
4232 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4233 (follow-select-if-visible): Remove unused local variable.
4234
4235 * forms.el (read-file-filter): Move declaration.
4236 (forms--make-format, forms--make-parser, forms-insert-record):
4237 Quote function with #'.
4238 (forms--update): Use string-match-p. Quote function with #'.
4239
4240 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4241 (help-make-xrefs): Use looking-at-p.
4242 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4243
4244 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4245 (ibuffer-confirm-operation-on): Use string-match-p.
4246
4247 * msb.el (msb-item-handler, msb-dired-item-handler):
4248 Mark unused arguments.
4249
4250 * ses.el (ses-decode-cell-symbol)
4251 (ses-kill-override): Remove unused local variable.
4252 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4253 (ses-load): Use ignore-errors, looking-at-p.
4254 (ses-jump-safe): Use ignore-errors.
4255 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4256
4257 * tabify.el (untabify, tabify): Mark unused arguments.
4258
4259 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4260 Mark unused argument.
4261 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4262 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4263
4264 * emacs-lisp/timer.el (timer--time): Define setter with
4265 gv-define-setter to avoid deprecation warning.
4266
4267 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4268 (*record-cmpl-statistics-p*): Remove (was commented out).
4269 (cmpl-statistics-block): Remove (body was commented out).
4270 All callers changed.
4271 (add-completions-from-buffer, load-completions-from-file):
4272 Remove unused variables.
4273
4274 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4275
4276 * filecache.el (file-cache-delete-file-list):
4277 Print message only when told so.
4278 (file-cache-files-matching): Use #' in mapconcat argument.
4279
4280 * ffap.el (ffap-url-at-point): Fix reference to variable
4281 thing-at-point-default-mail-uri-scheme.
4282
4283 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4284
4285 * subr.el (define-error): New function.
4286 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4287 error-file-not-found and define with define-error.
4288 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4289 and define with define-error.
4290 * userlock.el (file-locked, file-supersession):
4291 * simple.el (mark-inactive):
4292 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4293 * progmodes/ada-mode.el (ada-mode-errors):
4294 * play/life.el (life-extinct):
4295 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4296 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4297 * nxml/rng-util.el (rng-error):
4298 * nxml/rng-uri.el (rng-uri-error):
4299 * nxml/rng-match.el (rng-compile-error):
4300 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4301 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4302 * nxml/nxml-rap.el (nxml-scan-error):
4303 * nxml/nxml-outln.el (nxml-outline-error):
4304 * net/soap-client.el (soap-error):
4305 * net/gnutls.el (gnutls-error):
4306 * net/ange-ftp.el (ftp-error):
4307 * mpc.el (mpc-proc-error):
4308 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4309 (json-number-format, json-string-escape, json-string-format)
4310 (json-key-format, json-object-format):
4311 * jka-compr.el (compression-error):
4312 * international/quail.el (quail-error):
4313 * international/kkc.el (kkc-error):
4314 * emacs-lisp/ert.el (ert-test-failed):
4315 * calc/calc.el (calc-error, inexact-result, math-overflow)
4316 (math-underflow):
4317 * bookmark.el (bookmark-error-no-filename):
4318 * epg.el (epg-error): Define with define-error.
4319
4320 * time.el (display-time-event-handler)
4321 (display-time-next-load-average): Don't call sit-for since it seems
4322 unnecessary (bug#15045).
4323
4324 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4325 Use #' instead of ' to quote functions.
4326 (checkdoc-output-mode): Use setq-local.
4327 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4328 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4329 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4330 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4331 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4332 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4333 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4334 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4335
4336 * ido.el (ido-completion-help): Fix up compiler warning.
4337
4338 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4339
4340 * frameset.el (frameset-p): Add autoload cookie.
4341 (frameset--jump-to-register): New function, based on code moved from
4342 register.el.
4343 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4344
4345 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4346 (frameset-restore, frameset-save, frameset-session-filter-alist):
4347 Remove declarations.
4348 (register-alist): Doc fix.
4349 (frameset-to-register): Move to frameset.el.
4350 (jump-to-register, describe-register-1): Remove frameset-specific code.
4351
4352 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4353
4354 * allout-widgets.el (allout-widgets-pre-command-business)
4355 (allout-widgets-post-command-business)
4356 (allout-widgets-after-change-handler)
4357 (allout-decorate-item-and-context, allout-set-boundary-marker)
4358 (allout-body-modification-handler)
4359 (allout-graphics-modification-handler): Mark ignored arguments.
4360 (allout-widgets-post-command-business)
4361 (allout-widgets-exposure-change-processor)
4362 (allout-widgets-exposure-undo-processor)
4363 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4364 (allout-parse-item-at-point, allout-decorate-item-guides)
4365 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4366 * allout.el (epa-passphrase-callback-function): Declare.
4367 (allout-overlay-insert-in-front-handler)
4368 (allout-overlay-interior-modification-handler)
4369 (allout-isearch-end-handler, allout-chart-siblings)
4370 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4371 (allout-yank-processing, allout-process-exposed)
4372 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4373 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4374 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4375 (lisp-indent-defform): Mark ignored arguments.
4376 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4377 (calculate-lisp-indent): Remove unused variables.
4378 * international/characters.el (indian-2-column, arabic-2-column)
4379 (tibetan): Mark ignored arguments.
4380 (use-cjk-char-width-table): Mark ignored arguments.
4381 Remove unused variables.
4382 * international/fontset.el (build-default-fontset-data)
4383 (x-compose-font-name, create-fontset-from-fontset-spec):
4384 Mark ignored arguments.
4385 (fontset-plain-name): Remove unused variables.
4386 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4387 (keyboard-coding-system): Mark ignored arguments.
4388 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4389 * help.el (resize-temp-buffer-window):
4390 * window.el (display-buffer-in-major-side-window)
4391 (display-buffer-in-side-window, display-buffer-in-previous-window):
4392 Remove unused variables.
4393 * isearch.el (isearch-forward-symbol):
4394 * version.el (emacs-bzr-version-bzr):
4395 * international/mule-cmds.el (current-language-environment):
4396 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4397 (x-handle-display):
4398 * term/pc-win.el (x-list-fonts, x-display-planes)
4399 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4400 (x-server-version, x-display-screens, x-display-mm-height)
4401 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4402 (x-selection-owner-p, x-own-selection-internal)
4403 (x-disown-selection-internal, x-get-selection-internal)
4404 (msdos-initialize-window-system):
4405 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4406 * term/x-win.el (x-handle-no-bitmap-icon):
4407 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4408 (vc-default-find-file-hook, vc-default-extra-menu):
4409 Mark ignored arguments.
4410
4411 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4412
4413 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4414 break-condition in the context of the debugged code (bug#12685).
4415
4416 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4417
4418 * comint.el:
4419 Do not use an overlay to highlight the last prompt. (Bug#14744)
4420 (comint-mode): Make comint-last-prompt buffer local.
4421 (comint-last-prompt): New variable.
4422 (comint-last-prompt-overlay): Remove. Superseded by
4423 comint-last-prompt.
4424 (comint-snapshot-last-prompt, comint-output-filter):
4425 Use comint-last-prompt.
4426
4427 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4428
4429 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4430 (frameset-save): Check validity of the resulting frameset.
4431
4432 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4433
4434 * ido.el (ido-record-command): Add doc string.
4435
4436 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4437
4438 * frameset.el (frameset): Do not disable creation of the default
4439 frameset-p predicate. Doc fix.
4440 (frameset-valid-p): New function, copied from the old predicate-p.
4441 Add additional checks.
4442 (frameset-restore): Check with frameset-valid-p.
4443 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4444 (frameset-name, frameset-description, frameset-properties)
4445 (frameset-states): Add docstring.
4446 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4447 (frameset-filter-alist): Doc fixes.
4448
4449 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4450
4451 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4452
4453 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4454
4455 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4456 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4457 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4458 (byte-compile-normal-call): Remove obsolescence check.
4459
4460 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4461
4462 * frameset.el (frameset-restore): Doc fix.
4463
4464 * register.el (frameset-frame-id, frameset-frame-with-id)
4465 (frameset-p, frameset-restore, frameset-save): Declare.
4466 (register-alist): Document framesets.
4467 (frameset-session-filter-alist): Declare.
4468 (frameset-to-register): New function.
4469 (jump-to-register): Implement jumping to framesets. Doc fix.
4470 (describe-register-1): Describe framesets.
4471
4472 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4473
4474 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4475
4476 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4477 Use lexical-binding.
4478
4479 * frameset.el (frameset): Use type vector, not list (incompatible
4480 change). Do not declare a new constructor, use the default one.
4481 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4482 `name' and `description', respectively, and add read-only slot
4483 `timestamp'. Doc fixes.
4484 (frameset-copy, frameset-persistent-filter-alist)
4485 (frameset-filter-alist, frameset-switch-to-gui-p)
4486 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4487 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4488 (frameset-filter-iconified, frameset-keep-original-display-p):
4489 Doc fixes.
4490 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4491 Rename from frameset-filter-(save|restore)-param. All callers changed.
4492 Doc fix.
4493 (frameset-p): Adapt to change to vector and be more thorough.
4494 Change arg name to OBJECT. Doc fix.
4495 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4496 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4497 All callers changed.
4498 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4499 All callers changed.
4500 (frameset--record-minibuffer-relationships): Rename from
4501 frameset--process-minibuffer-frames. All callers changed.
4502 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4503 Use new default constructor (again). Doc fix.
4504 (frameset--find-frame-if): Rename from `frameset--find-frame.
4505 All callers changed.
4506 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4507 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4508 Doc fix.
4509 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4510 PARAMETERS and WINDOW-STATE, respectively.
4511 (frameset-restore): Add new keyword argument PREDICATE.
4512 Reset frameset--target-display to nil. Doc fix.
4513
4514 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4515
4516 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4517 (bat-mode): Use it.
4518 (bat-mode-syntax-table): Mark \n as end-of-comment.
4519 (bat-font-lock-keywords): Remove comment rule.
4520
4521 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4522 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4523
4524 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4525 (byte-compile-callargs-warn): Use `push'.
4526 (byte-compile-arglist-warn): Ignore higher-order "calls".
4527 (byte-compile-file-form-autoload): Use `pcase'.
4528 (byte-compile-function-form): If quoting a symbol, check that it exists.
4529
4530 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4531
4532 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4533 and add a few popular commands found in batch files.
4534 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4535 (dos-mode): Doc fixes.
4536
4537 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4538
4539 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4540 (dos-mode): Use setq-local. Add space after "rem".
4541 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4542 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4543
4544 2013-08-07 Arni Magnusson <arnima@hafro.is>
4545
4546 * progmodes/dos.el: New file.
4547 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4548 dos-mode.
4549
4550 2013-08-06 Glenn Morris <rgm@gnu.org>
4551
4552 * calendar/calendar.el: Add new faces, and day-header-array.
4553 (calendar-weekday-header, calendar-weekend-header)
4554 (calendar-month-header): New faces.
4555 (calendar-day-header-construct): New function.
4556 (calendar-day-header-width): Also :set calendar-day-header-array.
4557 (calendar-american-month-header, calendar-european-month-header)
4558 (calendar-iso-month-header): Use calendar- faces.
4559 (calendar-generate-month):
4560 Use calendar-day-header-array for day headers; apply faces to them.
4561 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4562 (calendar-abbrev-construct): Add optional maxlen argument.
4563 (calendar-day-name-array): Doc fix.
4564 (calendar-day-name-array, calendar-abbrev-length)
4565 (calendar-day-abbrev-array):
4566 Also :set calendar-day-header-array, and maybe redraw.
4567 (calendar-day-header-array): New option. (Bug#15007)
4568 (calendar-font-lock-keywords): Set to nil and make obsolete.
4569 (calendar-day-name): Add option to use header array.
4570
4571 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4572
4573 * net/shr.el (shr-render-td): Remove debugging.
4574 (shr-render-td): Make width computation consistent by defaulting
4575 all zero-width columns to 10 characters. This may not be optimal,
4576 but it's at least consistent.
4577 (shr-make-table-1): Redo last change to fix the real problem in
4578 colspan handling.
4579
4580 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4581
4582 * files.el (cache-long-line-scans):
4583 Make obsolete alias to `cache-long-scans'.
4584
4585 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4586
4587 * frameset.el (frameset, frameset-filter-alist)
4588 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4589 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4590 (frameset-compute-pos): Rename from frameset--compute-pos,
4591 and add docstring.
4592 (frameset-move-onscreen): Use frameset-compute-pos.
4593 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4594
4595 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4596 Fix typos in docstrings.
4597
4598 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4599
4600 * frame.el (get-other-frame): Tiny cleanup.
4601
4602 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4603
4604 * vc/vc.el (vc-default-ignore-completion-table):
4605 Silence byte-compiler warning.
4606
4607 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4608 slot , which can indeed be nil.
4609 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4610 Move entry for `left' from persistent to live filter alist.
4611 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4612 Doc fixes.
4613 (frameset-filter-params): When restoring a frame, copy items added to
4614 `filtered', to avoid unwittingly modifying the original parameters.
4615 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4616 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4617
4618 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4619 to use looking-at-p instead of looking-at. (Bug#15028)
4620
4621 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4622
4623 Revert introduction of isearch-filter-predicates (bug#14714).
4624 Rely on add-function instead.
4625 * isearch.el (isearch-filter-predicates): Rename it back to
4626 isearch-filter-predicate.
4627 (isearch-message-prefix): Use advice-function-mapc and advice
4628 properties to get the isearch-message-prefix.
4629 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4630 instead of run-hook-with-args-until-failure.
4631 (isearch-filter-visible): Not obsolete any more.
4632 * loadup.el: Preload nadvice.
4633 * replace.el (perform-replace): Revert to funcall
4634 instead of run-hook-with-args-until-failure.
4635 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4636 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4637 dired-isearch-filenames-toggle; make it into a proper minor mode.
4638 Use add/remove-function.
4639 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4640 Call the minor-mode rather than add/remove-hook.
4641 (dired-isearch-filter-filenames):
4642 Remove isearch-message-prefix property.
4643 * info.el (Info--search-loop): New function, extracted from Info-search.
4644 Funcall isearch-filter-predicate instead of
4645 run-hook-with-args-until-failure isearch-filter-predicates.
4646 (Info-search): Use it.
4647 (Info-mode): Use isearch-filter-predicate instead of
4648 isearch-filter-predicates.
4649
4650 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4651
4652 Do not call to `selected-window' where it is assumed by default.
4653 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4654 `window-hscroll', `window-width', `window-height', `window-buffer',
4655 `window-frame', `window-start', `window-point', `next-window'
4656 and `window-display-table'.
4657 * abbrev.el (abbrev--default-expand):
4658 * bs.el (bs--show-with-configuration):
4659 * buff-menu.el (Buffer-menu-mouse-select):
4660 * calc/calc.el (calc):
4661 * calendar/calendar.el (calendar-generate-window):
4662 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4663 (diary-make-entry):
4664 * comint.el (send-invisible, comint-dynamic-complete-filename)
4665 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4666 * completion.el (complete):
4667 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4668 * disp-table.el (describe-current-display-table):
4669 * doc-view.el (doc-view-insert-image):
4670 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4671 * ehelp.el (with-electric-help):
4672 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4673 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4674 * emacs-lisp/helper.el (Helper-help-scroller):
4675 * emulation/cua-base.el (cua--post-command-handler-1):
4676 * eshell/esh-mode.el (eshell-output-filter):
4677 * ffap.el (ffap-gnus-wrapper):
4678 * help-macro.el (make-help-screen):
4679 * hilit-chg.el (highlight-compare-buffers):
4680 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4681 * hl-line.el (global-hl-line-highlight):
4682 * icomplete.el (icomplete-simple-completing-p):
4683 * isearch.el (isearch-done):
4684 * jit-lock.el (jit-lock-stealth-fontify):
4685 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4686 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4687 * mpc.el (mpc-tagbrowser, mpc):
4688 * net/rcirc.el (rcirc-any-buffer):
4689 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4690 * play/landmark.el (landmark-max-width, landmark-max-height):
4691 * play/zone.el (zone):
4692 * progmodes/compile.el (compilation-goto-locus):
4693 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4694 * progmodes/etags.el (find-tag-other-window):
4695 * progmodes/fortran.el (fortran-column-ruler):
4696 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4697 * progmodes/verilog-mode.el (verilog-point-text):
4698 * reposition.el (reposition-window):
4699 * rot13.el (toggle-rot13-mode):
4700 * server.el (server-switch-buffer):
4701 * shell.el (shell-dynamic-complete-command)
4702 (shell-dynamic-complete-environment-variable):
4703 * simple.el (insert-buffer, set-selective-display)
4704 (delete-completion-window):
4705 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4706 (speedbar-recenter):
4707 * startup.el (fancy-splash-head):
4708 * textmodes/ispell.el (ispell-command-loop):
4709 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4710 * tutorial.el (help-with-tutorial):
4711 * vc/add-log.el (add-change-log-entry):
4712 * vc/compare-w.el (compare-windows):
4713 * vc/ediff-help.el (ediff-indent-help-message):
4714 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4715 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4716 (ediff-setup-control-frame):
4717 * vc/emerge.el (emerge-position-region):
4718 * vc/pcvs-util.el (cvs-bury-buffer):
4719 * window.el (walk-windows, mouse-autoselect-window-select):
4720 * winner.el (winner-set-conf, winner-undo): Related users changed.
4721
4722 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4723
4724 * frameset.el (frameset--set-id): Doc fix.
4725 (frameset-frame-id, frameset-frame-id-equal-p)
4726 (frameset-locate-frame-id): New functions.
4727 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4728 (frameset-restore): Use them.
4729
4730 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4731
4732 Do not call to `selected-frame' where it is assumed by default.
4733 Affected functions are `raise-frame', `redraw-frame',
4734 `frame-first-window', `frame-terminal' and `delete-frame'.
4735 * calendar/appt.el (appt-disp-window):
4736 * epg.el (epg-wait-for-completion):
4737 * follow.el (follow-delete-other-windows-and-split)
4738 (follow-avoid-tail-recenter):
4739 * international/mule.el (set-terminal-coding-system):
4740 * mail/rmail.el (rmail-mail-return):
4741 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4742 * progmodes/f90.el (f90-add-imenu-menu):
4743 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4744 * server.el (server-switch-buffer):
4745 * simple.el (delete-completion-window):
4746 * talk.el (talk):
4747 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4748 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4749 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4750 * vc/ediff.el (ediff-documentation): Related users changed.
4751 * frame.el (selected-terminal): Remove the leftover.
4752
4753 2013-08-05 Glenn Morris <rgm@gnu.org>
4754
4755 * calendar/calendar.el (calendar-generate-month):
4756 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4757 (calendar-generate-month, calendar-font-lock-keywords):
4758 Fix for calendar-day-header-width > length of any day name.
4759
4760 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4761
4762 * desktop.el (desktop-clear): Use new name of sort predicate.
4763
4764 * frameset.el (frameset): Add docstring. Move :version property to its
4765 own `version' slot.
4766 (frameset-copy): Rename from copy-frameset.
4767 (frameset-p): Check more thoroughly.
4768 (frameset-prop): Do not check for :version, which is no longer a prop.
4769 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4770 Use new :never value instead of t.
4771 (frameset-filter-alist): Expand and clarify docstring.
4772 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4773 (frameset-filter-minibuffer, frameset-filter-save-param)
4774 (frameset-filter-restore-param, frameset-filter-iconified):
4775 Add pointer to docstring of frameset-filter-alist.
4776 (frameset-filter-params): Rename filter values to be more meaningful:
4777 :never instead of t, and reverse the meanings of :save and :restore.
4778 (frameset--process-minibuffer-frames): Clarify error message.
4779 (frameset-save): Avoid unnecessary and confusing call to framep.
4780 Use new BOA constructor for framesets.
4781 (frameset--reuse-list): Doc fix.
4782 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4783 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4784 (frameset-minibufferless-first-p): Doc fix.
4785 Rename from frameset-sort-frames-for-deletion.
4786 (frameset-restore): Doc fixes. Use new function names.
4787 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4788
4789 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4790
4791 * desktop.el (desktop-restore-forces-onscreen)
4792 (desktop-restore-reuses-frames): Document :keyword constant values.
4793 (desktop-filter-parameters-alist): Remove, now identical to
4794 frameset-filter-alist.
4795 (desktop--filter-tty*): Remove, moved to frameset.el.
4796 (desktop-save-frameset, desktop-restore-frameset):
4797 Do not pass :filters argument.
4798
4799 * frameset.el (frameset-live-filter-alist)
4800 (frameset-persistent-filter-alist): New variables.
4801 (frameset-filter-alist): Use them. Add autoload cookie.
4802 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4803 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4804 `frameset--id' (it's supposed to be internal to frameset.el).
4805 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4806 (frameset--initial-params): New function.
4807 (frameset--get-frame): Use it. Doc fix.
4808 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4809 Accept :all, not 'all.
4810 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4811 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4812 with fbound symbols. Fix frame id matching, and remove matching ids if
4813 the frame being restored is deleted. Obey :delete.
4814
4815 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4816
4817 * subr.el (macrop): New function.
4818 (text-clone--maintaining): New var.
4819 (text-clone--maintain): Rename from text-clone-maintain. Use it
4820 instead of inhibit-modification-hooks.
4821
4822 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4823 a proxy, so as handle autoloads and redefinitions of the target.
4824 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4825
4826 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4827 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4828 (pcase--mutually-exclusive-p): New function.
4829 (pcase--split-consp): Use it.
4830 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4831 mutually exclusive with the current predicate.
4832
4833 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4834 (edebug-macrop): Remove. Use `macrop' instead.
4835 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4836 (ad-macro-p):
4837 * eshell/esh-cmd.el (eshell-macrop):
4838 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4839
4840 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4843 (advice-mapc): New function, using it.
4844 (advice-function-member-p): New function.
4845 (advice--normalize): Store the cdr in advice--saved-rewrite since
4846 that's the part that will be changed.
4847 (advice--symbol-function): New function.
4848 (advice-remove): Handle removal before the function is defined.
4849 Adjust to new advice--saved-rewrite.
4850 (advice-member-p): Use advice-function-member-p and
4851 advice--symbol-function.
4852
4853 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4854
4855 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4856 (frameset-filter-minibuffer): Doc fix.
4857 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4858 (frameset--set-id, frameset--process-minibuffer-frames)
4859 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4860 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4861
4862 * desktop.el (desktop-clear): Only delete frames when called
4863 interactively and desktop-restore-frames is non-nil. Doc fix.
4864 (desktop-read): Set desktop-saved-frameset to nil.
4865
4866 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4867
4868 * vc/vc.el (vc-ignore): Rewrite.
4869 (vc-default-ignore-completion-table):
4870 (vc--read-lines):
4871 (vc--add-line, vc--remove-regexp): New functions.
4872
4873 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4874 (vc-svn-ignore-completion-table): New function.
4875
4876 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4877 (vc-hg-ignore-completion-table):
4878 (vc-hg-find-ignore-file): New functions.
4879
4880 * vc/vc-git.el (vc-git-ignore): Rewrite.
4881 (vc-git-ignore-completion-table):
4882 (vc-git-find-ignore-file): New functions.
4883
4884 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4885
4886 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4887 (vc-bzr-ignore-completion-table):
4888 (vc-bzr-find-ignore-file): New functions.
4889
4890 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4891
4892 * frameset.el (frameset-prop): New function and setter.
4893 (frameset-save): Do not modify frame list passed by the caller.
4894
4895 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4896
4897 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4898
4899 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4900
4901 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4902 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4903
4904 * custom.el (custom-initialize-default, custom-initialize-set)
4905 (custom-initialize-reset, custom-initialize-changed): Affect the
4906 toplevel-default-value (bug#6275, bug#14586).
4907 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4908 for bug#6275.
4909
4910 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4911
4912 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4913 Add cl-def* expressions.
4914
4915 * frameset.el (frameset-filter-params): Fix order of arguments.
4916
4917 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4918
4919 Move code related to saving frames to frameset.el.
4920 * desktop.el: Require frameset.
4921 (desktop-restore-frames): Doc fix.
4922 (desktop-restore-reuses-frames): Rename from
4923 desktop-restoring-reuses-frames.
4924 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4925 (desktop-clear): Clear frames too.
4926 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4927 (desktop--filter-tty*, desktop-save, desktop-read):
4928 Use frameset functions.
4929 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4930 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4931 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4932 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4933 (desktop--process-minibuffer-frames, desktop-save-frames)
4934 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4935 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4936 (desktop--sort-states, desktop-restoring-frames-p)
4937 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4938 (desktop-restoring-frameset-p, desktop-restore-frameset)
4939 (desktop--check-dont-save, desktop-save-frameset): New functions.
4940 (desktop--app-id): New constant.
4941 (desktop-first-buffer, desktop-buffer-ok-count)
4942 (desktop-buffer-fail-count): Move before first use.
4943 * frameset.el: New file.
4944
4945 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4946
4947 * files.el: Use lexical-binding.
4948 (dir-locals-read-from-file): Remove unused `err' variable.
4949 (hack-dir-local-variables--warned-coding): New var.
4950 (hack-dir-local-variables): Use it to avoid repeated warnings.
4951 (make-backup-file-name--default-function): New function.
4952 (make-backup-file-name-function): Use it as default.
4953 (buffer-stale--default-function): New function.
4954 (buffer-stale-function): Use it as default.
4955 (revert-buffer-insert-file-contents--default-function): New function.
4956 (revert-buffer-insert-file-contents-function): Use it as default.
4957 (insert-directory): Avoid add-to-list.
4958
4959 * autorevert.el (auto-revert-handler): Simplify.
4960 Use buffer-stale--default-function.
4961
4962 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4963
4964 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4965
4966 * whitespace.el (whitespace-ensure-local-variables): New function.
4967 (whitespace-cleanup-region): Call it.
4968 (whitespace-turn-on): Call it.
4969
4970 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4971
4972 Complete file name handlers.
4973
4974 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4975 (tramp-handle-verify-visited-file-modtime)
4976 (tramp-handle-file-notify-rm-watch): New functions.
4977 (tramp-call-process): Do not bind `default-directory'.
4978
4979 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4980 Order alphabetically.
4981 [access-file, add-name-to-file, dired-call-process]:
4982 [dired-compress-file, file-acl, file-notify-rm-watch]:
4983 [file-ownership-preserved-p, file-selinux-context]:
4984 [make-directory-internal, make-symbolic-link, set-file-acl]:
4985 [set-file-selinux-context, set-visited-file-modtime]:
4986 [verify-visited-file-modtime]: Add handler.
4987 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4988
4989 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4990 [file-notify-add-watch, file-notify-rm-watch]:
4991 [set-file-times, set-visited-file-modtime]:
4992 [verify-visited-file-modtime]: Add handler.
4993 (with-tramp-gvfs-error-message)
4994 (tramp-gvfs-handle-set-visited-file-modtime)
4995 (tramp-gvfs-fuse-file-name): Remove.
4996 (tramp-gvfs-handle-file-notify-add-watch)
4997 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4998 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4999
5000 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5001 Order alphabetically.
5002 [file-notify-rm-watch ]: Use default Tramp handler.
5003 [executable-find]: Remove private handler.
5004 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5005 `default-directory'.
5006 (tramp-sh-handle-executable-find)
5007 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5008 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5009 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5010 Do not use `format' in `tramp-message'.
5011
5012 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5013 [file-notify-rm-watch, set-visited-file-modtime]:
5014 [verify-visited-file-modtime]: Add handler.
5015 (tramp-smb-call-winexe): Do not bind `default-directory'.
5016
5017 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5018
5019 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5020
5021 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5022
5023 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5024 use it.
5025 (log-view-diff-changeset): Same.
5026 (log-view-diff-common): Call backend command `previous-revision'
5027 to find out the previous revision, in both cases. Swap the
5028 variables `to' and `fr', so that `fr' usually refers to the
5029 earlier revision (Bug#14989).
5030
5031 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5032
5033 * ibuf-ext.el (ibuffer-filter-by-filename):
5034 Make it work with dired buffers too.
5035
5036 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5037
5038 * emacs-lisp/re-builder.el (reb-color-display-p):
5039 * files.el (save-buffers-kill-terminal):
5040 * net/browse-url.el (browse-url):
5041 * server.el (server-save-buffers-kill-terminal):
5042 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5043 Prefer nil to selected-frame for the first arg of frame-parameter.
5044
5045 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5046
5047 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5048
5049 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5050
5051 * minibuffer.el (completion--twq-all): Try and preserve each
5052 completion's case choice (bug#14907).
5053
5054 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5055
5056 * net/network-stream.el (open-network-stream): Mention the new
5057 :nogreeting parameter.
5058 (network-stream-open-starttls): Use the :nogreeting parameter
5059 (bug#14938).
5060
5061 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5062
5063 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5064 more natural than popping.
5065
5066 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5067 (shr-urlify): Highlight under mouse.
5068
5069 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5070
5071 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5072
5073 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5074
5075 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5076 buffer for output.
5077
5078 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5079 point-min==1. Fix search string. Fix parentheses missing.
5080
5081 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5082 assume point-min==1. Fix search string. Fix parentheses missing.
5083
5084 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5085
5086 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5087 buffer for output.
5088
5089 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5090
5091 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5092 initial frame is minibuffer-less. (Bug#14841)
5093
5094 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5095
5096 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5097 option.
5098
5099 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5100 (tramp-maybe-open-connection): Use it.
5101
5102 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5103
5104 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5105 minimal set of parameters passed when creating a frame, because
5106 the minibuffer status of a frame cannot be changed later.
5107
5108 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5109
5110 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5111 replace-regexp-in-string and inadvertent omissions in previous change.
5112 (todo-filter-items): Ensure only file names are comma-separated in
5113 name of filtered items buffer.
5114
5115 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5116
5117 * desktop.el: Optionally force offscreen frames back onscreen.
5118 (desktop-restoring-reuses-frames): New option.
5119 (desktop--compute-pos, desktop--move-onscreen): New functions.
5120 (desktop--make-frame): Use desktop--move-onscreen.
5121
5122 2013-07-27 Alan Mackenzie <acm@muc.de>
5123
5124 Fontify a Java generic method as a function.
5125 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5126 value to t.
5127
5128 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5129
5130 * calendar/todo-mode.el: Add command to rename todo files.
5131 (todo-rename-file): New command.
5132 (todo-key-bindings-t): Add key binding for it. Change the
5133 bindings of todo-filter-regexp-items(-multifile) to use `x'
5134 instead of `r', since the latter is better suited to the new
5135 renaming command.
5136
5137 2013-07-27 Alan Mackenzie <acm@muc.de>
5138
5139 Make Java try-with-resources statement parse properly.
5140 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5141 (c-block-stmt-1-2-key): New language constants/variables.
5142 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5143 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5144 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5145 with c-block-stmt-1-2-key.
5146
5147 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5148
5149 * desktop.el (desktop--make-frame): Apply most frame parameters after
5150 creating the frame to force (partially or totally) offscreen frames to
5151 be restored as such.
5152
5153 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5154
5155 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5156 (Bug#14948)
5157
5158 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5159
5160 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5161 `base' arg of backtrace-frame.
5162
5163 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5164
5165 * simple.el (list-processes): Doc fix.
5166
5167 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5168
5169 * desktop.el (desktop--select-frame):
5170 Try harder to reuse existing frames.
5171
5172 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5173
5174 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5175 (edebug-eval): Use backtrace-eval.
5176 (edebug--display, edebug--recursive-edit): Don't let-bind the
5177 edebug-outer-* vars that keep track of variables we locally let-bind.
5178 (edebug-outside-excursion): Don't restore outside values of locally
5179 let-bound vars.
5180 (edebug--display): Use user-error.
5181 (cl-lexical-debug, cl-debug-env): Remove.
5182
5183 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5184
5185 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5186 are restored to be sure that they are visible before deleting any
5187 remaining ones.
5188
5189 2013-07-26 Matthias Meulien <orontee@gmail.com>
5190
5191 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5192 vc-print-root-log. (Bug#14948)
5193
5194 2013-07-26 Richard Stallman <rms@gnu.org>
5195
5196 Add aliases for encrypting mail.
5197 * epa.el (epa-mail-aliases): New option.
5198 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5199 Bind inhibit-read-only so read-only text doesn't ruin everything.
5200 (epa-mail-default-recipients): New subroutine broken out.
5201 Handle epa-mail-aliases.
5202
5203 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5204
5205 Add support for lexical variables to the debugger's `e' command.
5206 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5207 vars, except for debugger-outer-match-data.
5208 (debugger-frame-number): Move check for "on a function call" from
5209 callers into it. Add `skip-base' argument.
5210 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5211 (debugger-env-macro): Only reset the state stored in non-variables,
5212 i.e. current-buffer and match-data.
5213 (debugger-eval-expression): Rewrite using backtrace-eval.
5214 * subr.el (internal--called-interactively-p--get-frame): Remove.
5215 (called-interactively-p):
5216 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5217 `base' arg of backtrace-frame instead.
5218
5219 2013-07-26 Glenn Morris <rgm@gnu.org>
5220
5221 * align.el (align-regexp): Doc fix. (Bug#14857)
5222 (align-region): Explicit error if subexpression missing/does not match.
5223
5224 * simple.el (global-visual-line-mode):
5225 Do not duplicate the mode lighter. (Bug#14858)
5226
5227 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5228
5229 * window.el (display-buffer): In display-buffer bind
5230 split-window-keep-point to t, bug#14829.
5231
5232 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5233
5234 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5235 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5236 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5237 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5238 Change accordingly.
5239 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5240 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5241
5242 2013-07-25 Glenn Morris <rgm@gnu.org>
5243
5244 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5245
5246 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5247
5248 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5249 parameter to modify-frame-parameters if the value has not changed;
5250 this is a workaround for bug#14949.
5251 (desktop--make-frame): On cl-delete-if call, check parameter name,
5252 not full parameter.
5253
5254 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5255
5256 * vc/vc.el (vc-ignore): New function.
5257
5258 * vc/vc-svn.el (vc-svn-ignore): New function.
5259
5260 * vc/vc-hg.el (vc-hg-ignore): New function.
5261
5262 * vc/vc-git.el (vc-git-ignore): New function.
5263
5264 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5265 (vc-dir-ignore): New function.
5266
5267 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5268 (cvs-append-to-ignore): Move here from pcvs.el.
5269
5270 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5271
5272 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5273
5274 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5275
5276 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5277 (desktop-restore-frames): Warn when deleting an existing frame failed.
5278
5279 2013-07-24 Glenn Morris <rgm@gnu.org>
5280
5281 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5282
5283 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5284
5285 * filenotify.el (file-notify-supported-p):
5286 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5287 Remove functions.
5288
5289 * autorevert.el (auto-revert-use-notify):
5290 (auto-revert-notify-add-watch):
5291 * net/tramp.el (tramp-file-name-for-operation):
5292 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5293 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5294 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5295 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5296 Remove `file-notify-supported-p' entry.
5297
5298 2013-07-24 Glenn Morris <rgm@gnu.org>
5299
5300 * printing.el: Replace all uses of deleted ps-windows-system,
5301 ps-lp-system, ps-flatten-list with lpr- versions.
5302
5303 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5304
5305 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5306 checked with memq (bug#14935).
5307
5308 * files.el (revert-buffer-function): Use a non-nil default.
5309 (revert-buffer-preserve-modes): Declare var to
5310 provide access to the `preserve-modes' argument.
5311 (revert-buffer): Let-bind it.
5312 (revert-buffer--default): New function, extracted from revert-buffer.
5313
5314 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5315
5316 * lpr.el: Signal print errors more prominently.
5317 (print-region-function): Don't default to nil.
5318 (lpr-print-region): New function, extracted from print-region-1.
5319 Check lpr's return value and signal an error in case of problem.
5320 (print-region-1): Use it.
5321 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5322 versions instead.
5323 (ps-printer-name): Default to nil.
5324 (ps-printer-name-option): Default to lpr-printer-switch.
5325 (ps-print-region-function): Don't default to nil.
5326 (ps-postscript-code-directory): Simplify default.
5327 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5328 (ps-string-list, ps-eval-switch, ps-flatten-list)
5329 (ps-flatten-list-1): Remove.
5330 (ps-multibyte-buffer): Avoid setq.
5331 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5332 (print-region-function, ps-print-region-function): Don't set them here.
5333
5334 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5335
5336 * ido.el (ido-fractionp):
5337 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5338 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5339 (ido-max-directory-size, ido-max-dir-file-cache)
5340 (ido-decorations): Doc fix.
5341
5342 * ansi-color.el: Fix old URL.
5343
5344 2013-07-23 Michael R. Mauger <michael@mauger.com>
5345
5346 * progmodes/sql.el: Version 3.3
5347 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5348 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5349 (sql-interactive-remove-continuation-prompt): Rewrite, use
5350 functions above. Fix continuation prompt and complete output line
5351 handling.
5352 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5353 redirected output buffer.
5354 (sql-mode): Restore deleted code (Bug#13591).
5355
5356 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5357
5358 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5359
5360 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5361
5362 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5363
5364 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5365 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5366 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5367
5368 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5369
5370 * desktop.el (desktop-clear): Simplify; remove useless checks
5371 against invalid buffer names.
5372 (desktop-list*): Use cl-list*.
5373 (desktop-buffer-info, desktop-create-buffer): Simplify.
5374
5375 2013-07-23 Leo Liu <sdl.web@gmail.com>
5376
5377 * bookmark.el (bookmark-make-record): Restore NAME as a default
5378 value. (Bug#14933)
5379
5380 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5381
5382 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5383 extracted from autoload--insert-text.
5384 (autoload--insert-text): Remove.
5385 (autoload--print-cookie-text): New function, extracted from
5386 autoload--insert-cookie-text.
5387 (autoload--insert-cookie-text): Remove.
5388 (autoload-generate-file-autoloads): Adjust calls accordingly.
5389
5390 * winner.el (winner-hook-installed-p): Remove.
5391 (winner-mode): Simplify accordingly.
5392
5393 * subr.el (add-to-list): Fix compiler-macro when `append' is
5394 not constant. Don't use `cl-member' for the base case.
5395
5396 * progmodes/subword.el: Fix boundary case (bug#13758).
5397 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5398 own group.
5399 (subword-backward-regexp): Make it a constant.
5400 (subword-forward-internal): Don't treat a trailing capital as the
5401 beginning of a word.
5402
5403 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5404
5405 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5406 global value of tabulated-list-revert-hook (bug#14930).
5407
5408 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5409
5410 * desktop.el: Require 'cl-lib.
5411 (desktop-before-saving-frames-functions): New hook.
5412 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5413 for frames being saved. Rename from desktop--save-minibuffer-frames.
5414 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5415 Do not save frames with non-nil `desktop-dont-save' parameter.
5416 Filter out deleted frames.
5417 (desktop--find-frame): Use cl-find-if.
5418 (desktop--select-frame): Use cl-(first|second|third) to access values
5419 of desktop-mini.
5420 (desktop--make-frame): Use cl-delete-if.
5421 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5422 (desktop-restore-frames): Use cl-(first|second|third) to access values
5423 of desktop-mini. Look for visible frame at the end, not while
5424 restoring frames.
5425
5426 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5427 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5428 Use string-match-p, looking-at-p (bug#14927).
5429
5430 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5431
5432 * desktop.el (desktop-saved-frame-states):
5433 Rename from desktop--saved-states; all users changed.
5434 (desktop-save-frames): Rename from desktop--save-frames.
5435 Do not save state to desktop file.
5436 (desktop-save): Save desktop-saved-frame-states to desktop file
5437 and reset to nil.
5438 (desktop-restoring-frames-p): New function.
5439 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5440 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5441 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5442
5443 * desktop.el: Correctly restore iconified frames.
5444 (desktop--filter-iconified-position): New function.
5445 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5446
5447 2013-07-20 Glenn Morris <rgm@gnu.org>
5448
5449 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5450 Let `message' do the formatting.
5451 (def-gdb-preempt-display-buffer): Add explicit format.
5452
5453 * image-dired.el (image-dired-track-original-file):
5454 Use with-current-buffer.
5455 (image-dired-track-thumbnail): Use with-current-buffer.
5456 Avoid changing point of wrong window.
5457
5458 * image-dired.el (image-dired-track-original-file):
5459 Avoid changing point of wrong window. (Bug#14909)
5460
5461 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5462
5463 * progmodes/gdb-mi.el (gdb-done-or-error):
5464 Guard against "%" in gdb output. (Bug#14127)
5465
5466 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5467
5468 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5469 (Bug#14826)
5470
5471 * international/mule.el (coding-system-iso-2022-flags): Fix last
5472 change.
5473
5474 2013-07-20 Kenichi Handa <handa@gnu.org>
5475
5476 * international/mule.el (coding-system-iso-2022-flags):
5477 Add `8-bit-level-4'. (Bug#8522)
5478
5479 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5480
5481 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5482 (bug#14815).
5483
5484 * net/eww.el (eww-process-text-input): Allow inputting when the
5485 point is at the start of the line, as the properties aren't
5486 front-sticky.
5487
5488 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5489 degenerate widths.
5490
5491 2013-07-19 Richard Stallman <rms@gnu.org>
5492
5493 * epa.el (epa-popup-info-window): Doc fix.
5494
5495 * subr.el (split-string): New arg TRIM.
5496
5497 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5498
5499 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5500 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5501
5502 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5503
5504 * filenotify.el (file-notify--library): Rename from
5505 `file-notify-support'. Do not autoload. Adapt all uses.
5506 (file-notify-supported-p): New defun.
5507
5508 * autorevert.el (auto-revert-use-notify):
5509 Use `file-notify-supported-p' instead of `file-notify-support'.
5510 Adapt docstring.
5511 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5512
5513 * net/tramp.el (tramp-file-name-for-operation):
5514 Add `file-notify-supported-p'.
5515
5516 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5517 New defun.
5518 (tramp-sh-file-name-handler-alist): Add it as handler for
5519 `file-notify-supported-p '.
5520
5521 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5522 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5523 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5524 Add `ignore' as handler for `file-notify-*' functions.
5525
5526 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5527
5528 * simple.el (line-move-partial, line-move): Don't start vscroll or
5529 scroll-up if the current line is not taller than the window.
5530 (Bug#14881)
5531
5532 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5533
5534 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5535 highlight question marks in the method names as strings.
5536 (ruby-block-beg-keywords): Inline.
5537 (ruby-font-lock-keyword-beg-re): Extract from
5538 `ruby-font-lock-keywords'.
5539
5540 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5541
5542 * frame.el (blink-cursor-blinks): New defcustom.
5543 (blink-cursor-blinks-done): New defvar.
5544 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5545 (blink-cursor-timer-function): Check if number of blinks has been
5546 done on X and NS.
5547 (blink-cursor-suspend, blink-cursor-check): New defuns.
5548
5549 2013-07-15 Glenn Morris <rgm@gnu.org>
5550
5551 * edmacro.el (edmacro-format-keys): Fix previous change.
5552
5553 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5554
5555 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5556 The hack didn't work outside English locales anyway.
5557
5558 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5559
5560 * simple.el (define-alternatives): Rename from alternatives-define,
5561 per RMS' suggestion.
5562
5563 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5564
5565 * desktop.el (desktop-restore-frames): Change default to t.
5566 (desktop-restore-in-current-display): Now offer more options.
5567 (desktop-restoring-reuses-frames): New customization option.
5568 (desktop--saved-states): Doc fix.
5569 (desktop-filter-parameters-alist): New variable, renamed and expanded
5570 from desktop--excluded-frame-parameters.
5571 (desktop--target-display): New variable.
5572 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5573 (desktop--filter-tty*, desktop--filter-*-color)
5574 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5575 (desktop--filter-save-desktop-parm)
5576 (desktop-restore-in-original-display-p): New functions.
5577 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5578 (desktop--save-minibuffer-frames): New function, inspired by a similar
5579 function from Martin Rudalics.
5580 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5581 (desktop--restore-in-this-display-p): Remove.
5582 (desktop--find-frame): Rename from desktop--find-frame-in-display
5583 and add predicate argument.
5584 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5585 (desktop--reuse-list): New variable.
5586 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5587 New functions.
5588 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5589
5590 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5591
5592 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5593
5594 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5595
5596 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5597 Highlight conversion methods on Kernel.
5598
5599 2013-07-13 Alan Mackenzie <acm@muc.de>
5600
5601 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5602 and comment it out. This out-commenting enables certain C++
5603 declarations to be parsed correctly.
5604
5605 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5606
5607 * international/mule.el (define-coding-system): Doc fix.
5608
5609 * simple.el (default-font-height): Don't call font-info if the
5610 frame's default font didn't change since the frame was created.
5611 (Bug#14838)
5612
5613 2013-07-13 Leo Liu <sdl.web@gmail.com>
5614
5615 * ido.el (ido-read-file-name): Guard against non-symbol value.
5616
5617 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5618
5619 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5620 in nested defuns.
5621
5622 2013-07-13 Leo Liu <sdl.web@gmail.com>
5623
5624 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5625 ido-set-matches call. (Bug#6852)
5626
5627 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5628
5629 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5630 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5631 Ruby 2.0.
5632 (ruby-font-lock-keywords): Distinguish calls to functions with
5633 module-like names from module references. Highlight character
5634 literals.
5635
5636 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5637
5638 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5639 (gdb-send): Handle continued commands. (Bug#14847)
5640
5641 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5642
5643 * desktop.el (desktop--v2s): Remove unused local variable.
5644 (desktop-save-buffer): Make defvar-local; adjust docstring.
5645 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5646 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5647
5648 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5649
5650 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5651
5652 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5653
5654 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5655 (Bug#14842)
5656
5657 2013-07-12 Glenn Morris <rgm@gnu.org>
5658
5659 * doc-view.el: Require cl-lib at runtime too.
5660 (doc-view-remove-if): Remove.
5661 (doc-view-search-next-match, doc-view-search-previous-match):
5662 Use cl-remove-if.
5663
5664 * edmacro.el: Require cl-lib at runtime too.
5665 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5666 (edmacro-mismatch, edmacro-subseq): Remove.
5667
5668 * shadowfile.el: Require cl-lib.
5669 (shadow-remove-if): Remove.
5670 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5671 Use cl-remove-if.
5672
5673 * wid-edit.el: Require cl-lib.
5674 (widget-choose): Use cl-remove-if.
5675 (widget-remove-if): Remove.
5676
5677 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5678 (ebrowse-delete-if-not): Remove.
5679 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5680 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5681 Use cl-delete-if-not.
5682
5683 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5684
5685 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5686 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5687
5688 2013-07-12 Leo Liu <sdl.web@gmail.com>
5689
5690 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5691
5692 2013-07-11 Glenn Morris <rgm@gnu.org>
5693
5694 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5695 (edebug-gensym-index, edebug-gensym):
5696 Remove reimplementation of cl-gensym.
5697 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5698
5699 * thumbs.el: Require cl-lib at run-time too.
5700 (thumbs-gensym-counter, thumbs-gensym):
5701 Remove reimplementation of cl-gensym.
5702 (thumbs-temp-file): Use cl-gensym.
5703
5704 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5705 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5706 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5707 (ert--union, ert--gensym-counter, ert--gensym-counter)
5708 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5709 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5710 (ert-make-test-unbound, ert--expand-should-1)
5711 (ert--expand-should, ert--should-error-handle-error)
5712 (should-error, ert--explain-equal-rec)
5713 (ert--plist-difference-explanation, ert-select-tests)
5714 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5715 Use cl-lib functions rather than reimplementations.
5716
5717 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5718
5719 * net/tramp.el (tramp-methods): Extend docstring.
5720 (tramp-connection-timeout): New defcustom.
5721 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5722 (with-tramp-progress-reporter): Simplify.
5723 (tramp-process-actions): Improve messages.
5724
5725 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5726 * net/tramp-sh.el (tramp-maybe-open-connection):
5727 Use `tramp-connection-timeout'.
5728 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5729 (Bug#14808)
5730
5731 2013-07-11 Leo Liu <sdl.web@gmail.com>
5732
5733 * ido.el (ido-read-file-name): Conform to the requirements of
5734 read-file-name. (Bug#11861)
5735 (ido-read-directory-name): Conform to the requirements of
5736 read-directory-name.
5737
5738 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5739
5740 * subr.el (delay-warning): New function.
5741
5742 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5743
5744 * simple.el (default-line-height): New function.
5745 (line-move-partial, line-move): Use it instead of computing the
5746 line height inline.
5747 (line-move-partial): Always compute ROWH. If the last line is
5748 partially-visible, but its text is completely visible, allow
5749 cursor to enter such a partially-visible line.
5750
5751 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5752
5753 Improve error messages. (Bug#14808)
5754
5755 * net/tramp.el (tramp-current-connection): New defvar, moved from
5756 tramp-sh.el.
5757 (tramp-message-show-progress-reporter-message): Remove, not
5758 needed anymore.
5759 (tramp-error-with-buffer): Show message in minibuffer.
5760 Discard input before waiting. Reset connection timestamp.
5761 (with-tramp-progress-reporter): Improve messages.
5762 (tramp-process-actions): Use progress reporter. Delete process in
5763 case of error. Improve messages.
5764
5765 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5766 Call `tramp-error-with-buffer' with vector and buffer.
5767 (tramp-current-connection): Remove.
5768 (tramp-maybe-open-connection): The car of
5769 `tramp-current-connection' are the first 3 slots of the vector.
5770
5771 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5772
5773 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5774 inside continued strings.
5775
5776 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5777
5778 Timestamp fixes for undo (Bug#14824).
5779 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5780
5781 2013-07-10 Leo Liu <sdl.web@gmail.com>
5782
5783 * files.el (require-final-newline): Allow safe local value.
5784 (Bug#14834)
5785
5786 2013-07-09 Leo Liu <sdl.web@gmail.com>
5787
5788 * ido.el (ido-read-directory-name): Handle fallback.
5789 (ido-read-file-name): Update DIR to ido-current-directory.
5790 (Bug#1516)
5791 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5792
5793 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5794
5795 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5796 "autoload". Remove "warn lower camel case" section, previously
5797 commented out. Highlight negation char. Do not highlight the
5798 target in singleton method definitions.
5799
5800 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * faces.el (tty-setup-hook): Declare the hook.
5803
5804 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5805 and detect when a guard/pred depends on local vars (bug#14773).
5806 (pcase--u1): Adjust caller.
5807
5808 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5809
5810 * simple.el (line-move-partial, line-move): Account for
5811 line-spacing.
5812 (line-move-partial): Avoid setting vscroll when the last
5813 partially-visible line in window is of default height.
5814
5815 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5816
5817 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5818 been used a while.
5819
5820 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5821
5822 * subr.el (read-quoted-char): Remove unused local variable `char'.
5823
5824 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5825
5826 * ediff.el (ediff-version): Version update.
5827 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5828 (ediff-merge-with-ancestor-command, ediff-directories-command)
5829 (ediff-directories3-command, ediff-merge-directories-command)
5830 (ediff-merge-directories-with-ancestor-command): New functions.
5831 All are command-line interfaces to ediff: to facilitate calling
5832 Emacs with the appropriate ediff functions invoked.
5833
5834 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5835 (viper-save-kill-buffer): Check if buffer is modified.
5836
5837 * viper.el (viper-version): Version update.
5838 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5839
5840 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5843 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5844 (viper-intercept-ESC-key): Simplify.
5845 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5846 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5847 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5848 (viper-setup-ESC-to-escape): New functions.
5849 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5850 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5851
5852 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5853
5854 * simple.el (default-font-height, window-screen-lines):
5855 New functions.
5856 (line-move, line-move-partial): Use them instead of
5857 frame-char-height and window-text-height. This makes scrolling
5858 text smoother when the buffer's default face uses a font that is
5859 different from the frame's default font.
5860
5861 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5862
5863 * files.el (write-file): Do not display confirm dialog for NS,
5864 it does its own dialog, which can't be cancelled (Bug#14578).
5865
5866 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5867
5868 * simple.el (line-move-partial): Adjust the row returned by
5869 posn-at-point for the current window-vscroll. (Bug#14567)
5870
5871 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5872
5873 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5874 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5875 spaces.
5876
5877 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5878
5879 * window.el (window-state-put-stale-windows): New variable.
5880 (window--state-put-2): Save list of windows without matching buffer.
5881 (window-state-put): Remove "bufferless" windows if possible.
5882
5883 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5884
5885 * simple.el (alternatives-define): Remove leftover :group keyword.
5886 Tweak docstring.
5887
5888 2013-07-06 Leo Liu <sdl.web@gmail.com>
5889
5890 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5891 (ido-enable-virtual-buffers): New variable.
5892 (ido-buffer-internal, ido-toggle-virtual-buffers)
5893 (ido-make-buffer-list): Use it.
5894 (ido-exhibit): Support turning on and off virtual buffers
5895 automatically.
5896
5897 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5898
5899 * simple.el (alternatives-define): New macro.
5900
5901 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5902
5903 * subr.el (read-quoted-char): Use read-key.
5904 (sit-for): Let read-event decode tty input (bug#14782).
5905
5906 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5907
5908 * calendar/todo-mode.el: Add handling of file deletion, both by
5909 mode command and externally. Fix various related bugs.
5910 Clarify Commentary and improve some documentation strings and code.
5911 (todo-delete-file): New command.
5912 (todo-check-file): New function.
5913 (todo-show): Handle external deletion of the file we're trying to
5914 show (bug#14688). Replace called-interactively-p by an optional
5915 prefix argument to avoid problematic interaction with catch form
5916 when byte compiled (bug#14702).
5917 (todo-quit): Handle external deletion of the archive's todo file.
5918 Make sure the buffer that was visiting the archive file is still
5919 live before trying to bury it.
5920 (todo-category-completions): Handle external deletion of any
5921 category completion files.
5922 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5923 of todo files, in case of external deletion.
5924 (todo-add-file): Replace unnecessary setq by let-binding.
5925 (todo-find-archive): Check whether there are any archives.
5926 Replace unnecessary setq by let-binding.
5927 (todo-archive-done-item): Use find-file-noselect to get the
5928 archive buffer whether or not the archive already exists.
5929 Remove superfluous code. Use file size instead of buffer-file-name to
5930 check if the archive is new; if it is, update list of archives.
5931 (todo-default-todo-file): Allow nil to be a valid value for when
5932 there are no todo files.
5933 (todo-reevaluate-default-file-defcustom): Use corrected definition
5934 of todo-default-todo-file.
5935 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5936 (todo-delete-category, todo-show-categories-table)
5937 (todo-category-number): Clarify comment.
5938 (todo-filter-items): Clarify documentation string.
5939 (todo-show-current-file, todo-display-as-todo-file)
5940 (todo-reset-and-enable-done-separator): Tweak documentation string.
5941 (todo-done-separator): Make separator length window-width, since
5942 bug#2749 is now fixed.
5943
5944 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5945
5946 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5947 Support both "gvfs-monitor-dir" and "inotifywait".
5948 (tramp-sh-file-inotifywait-process-filter): Rename from
5949 `tramp-sh-file-notify-process-filter'.
5950 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5951 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5952
5953 2013-07-05 Leo Liu <sdl.web@gmail.com>
5954
5955 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5956
5957 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5958
5959 * frame.el (display-pixel-height, display-pixel-width)
5960 (display-mm-height, display-mm-width): Mention behavior on
5961 multi-monitor setups in docstrings.
5962 (w32-display-monitor-attributes-list): Declare function.
5963 (display-monitor-attributes-list): Use it.
5964
5965 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5966
5967 * filenotify.el: New package.
5968
5969 * autorevert.el (top): Require filenotify.el.
5970 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5971 instead.
5972 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5973 (auto-revert-notify-handler): Use `file-notify-*' functions.
5974
5975 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5976
5977 * net/tramp.el (tramp-file-name-for-operation):
5978 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5979
5980 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5981 for `file-notify-add-watch' and `file-notify-rm-watch'.
5982 (tramp-process-sentinel): Improve trace.
5983 (tramp-sh-handle-file-notify-add-watch)
5984 (tramp-sh-file-notify-process-filter)
5985 (tramp-sh-handle-file-notify-rm-watch)
5986 (tramp-get-remote-inotifywait): New defuns.
5987
5988 2013-07-03 Juri Linkov <juri@jurta.org>
5989
5990 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5991 call of `occur-read-primary-args' to interactive spec.
5992
5993 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5994 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5995
5996 2013-07-03 Matthias Meulien <orontee@gmail.com>
5997
5998 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5999 `Buffer-menu-multi-occur'. Add it to the menu.
6000 (Buffer-menu-mode): Document it in docstring.
6001 (Buffer-menu-multi-occur): New command. (Bug#14673)
6002
6003 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6004
6005 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6006 keywords and built-ins.
6007
6008 2013-07-03 Glenn Morris <rgm@gnu.org>
6009
6010 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6011
6012 Make info-xref checks case-sensitive by default
6013 * info.el (Info-find-node, Info-find-in-tag-table)
6014 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6015 Add option for exact case matching of nodes.
6016 * info-xref.el (info-xref): New custom group.
6017 (info-xref-case-fold): New option.
6018 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6019
6020 2013-07-03 Leo Liu <sdl.web@gmail.com>
6021
6022 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6023
6024 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6025
6026 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6027 middle of block statement initially, lower the depth. Remove
6028 FIXME comment, not longer valid. Remove middle of block statement
6029 detection, no need to do that anymore since we've been using
6030 `ruby-parse-region' here.
6031
6032 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6033
6034 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6035
6036 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6037
6038 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6039
6040 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6041
6042 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6043 (desktop-restore-in-current-display): New customization option.
6044 (desktop--excluded-frame-parameters): Add `font'.
6045 (desktop--save-frames): Rename from desktop--save-windows.
6046 (desktop--restore-in-this-display-p): New function.
6047 (desktop--make-full-frame): Remove unwanted width/height from
6048 full(width|height) frames.
6049 (desktop--restore-frames): Rename from desktop--restore-windows.
6050 Obey desktop-restore-current-display. Do not delete old frames or
6051 select a new frame unless we were able to restore at least one frame.
6052
6053 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6054
6055 * files.el (find-file-noselect): Simplify conditional expression.
6056
6057 * remember.el (remember-append-to-file):
6058 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6059
6060 Add `remember-notes' function to store random notes across Emacs
6061 restarts.
6062 * remember.el (remember-data-file): Add :set callback to affect
6063 notes buffer (if any).
6064 (remember-notes): New command.
6065 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6066 New defcustoms for the `remember-notes' function.
6067 (remember-notes-save-and-bury-buffer): New command.
6068 (remember-notes-mode-map): New variable.
6069 (remember-mode): New minor mode.
6070 (remember-notes--kill-buffer-query): New function.
6071 * startup.el (initial-buffer-choice): Add notes to custom type.
6072
6073 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6074
6075 * bindings.el (right-char, left-char): Don't call sit-for, this is
6076 no longer needed. Use arithmetic comparison only for numerical
6077 arguments.
6078
6079 * international/mule-cmds.el (select-safe-coding-system):
6080 Handle the case of FROM being a string correctly. (Bug#14755)
6081
6082 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6083
6084 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6085 progression on degenerate tables.
6086 (shr-rescale-image): ImageMagick animated images currently don't work.
6087
6088 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6089
6090 Some fixes and improvements for desktop frame restoration.
6091 It is still experimental and disabled by default.
6092 * desktop.el (desktop--save-windows): Put the selected frame at
6093 the head of the list.
6094 (desktop--make-full-frame): New function.
6095 (desktop--restore-windows): Try to re-select the frame that was
6096 selected upon saving. Do not abort if some frames fail to restore,
6097 just show an error message and continue. Set up maximized frames
6098 so they have default non-maximized dimensions.
6099
6100 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6101
6102 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6103 Don't start heredoc inside a string or comment.
6104
6105 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6106
6107 * bindings.el (visual-order-cursor-movement): New defcustom.
6108 (right-char, left-char): Provide visual-order cursor motion by
6109 calling move-point-visually. Update the doc strings.
6110
6111 2013-06-28 Kenichi Handa <handa@gnu.org>
6112
6113 * international/mule.el (define-coding-system): New coding system
6114 properties :inhibit-null-byte-detection,
6115 :inhibit-iso-escape-detection, and :prefer-utf-8.
6116 (set-buffer-file-coding-system): If :charset-list property of
6117 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6118 appropriate for setting.
6119
6120 * international/mule-cmds.el (select-safe-coding-system):
6121 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6122 multibyte characters, return utf-8 (or one of its siblings).
6123
6124 * international/mule-conf.el (prefer-utf-8): New coding system.
6125 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6126 files.
6127
6128 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6129
6130 * net/shr.el (shr-render-region): New function.
6131
6132 * net/eww.el: Autoload `eww-browse-url'.
6133
6134 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6135
6136 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6137 Adapt to `package-desc-version' being a list.
6138 Use `package--ac-desc-version' to retrieve version from a package
6139 archive element.
6140
6141 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6142
6143 New experimental feature to save&restore window and frame setup.
6144 * desktop.el (desktop-save-windows): New defcustom.
6145 (desktop--saved-states): New var.
6146 (desktop--excluded-frame-parameters): New defconst.
6147 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6148 (desktop--restore-windows, desktop--save-windows): New functions.
6149 (desktop-save): Call `desktop--save-windows'.
6150 (desktop-read): Call `desktop--restore-windows'.
6151
6152 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6153
6154 * net/shr.el (add-face-text-property): Remove compat definition.
6155
6156 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6157
6158 * info.el (Info-try-follow-nearest-node): Move search for footnote
6159 above search for node name to prevent missing a footnote (bug#14717).
6160
6161 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6162
6163 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6164
6165 2013-06-27 Leo Liu <sdl.web@gmail.com>
6166
6167 * net/eww.el (eww-read-bookmarks): Check file size.
6168
6169 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6170
6171 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6172 advice--pending if newdef is nil or an autoload (bug#13820).
6173 (advice-mapc): New function.
6174
6175 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6176
6177 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6178 probably.
6179 (eww-mode-map): Add a menu bar.
6180 (eww-add-bookmark): New command.
6181 (eww-bookmark-mode): New mode and commands.
6182 (eww-add-bookmark): Remove newlines from the title.
6183 (eww-bookmark-browse): Don't bug out if it's the only window.
6184
6185 2013-06-26 Glenn Morris <rgm@gnu.org>
6186
6187 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6188 (hfy-size): Handle ttys. (Bug#14668)
6189
6190 * info-xref.el: Update for Texinfo 5 change in *note format.
6191 (info-xref-node-re, info-xref-note-re): New constants.
6192 (info-xref-check-buffer): Use info-xref-note-re.
6193
6194 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6195
6196 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6197
6198 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6199 nil terminate the loop (bug#14718).
6200
6201 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6202
6203 * net/eww.el: Rework history traversal. When going forward/back,
6204 put these actions into the history, too, so that they can be
6205 replayed.
6206 (eww-render): Move the history reset to the correct buffer.
6207
6208 2013-06-25 Juri Linkov <juri@jurta.org>
6209
6210 * files-x.el (modify-dir-local-variable): Change the header comment
6211 in the file with directory local variables. (Bug#14692)
6212
6213 * files-x.el (read-file-local-variable-value): Add `default'.
6214 (Bug#14710)
6215
6216 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6217
6218 * net/eww.el (eww-make-unique-file-name): Create a unique file
6219 name before saving to entering `y' accidentally asynchronously.
6220
6221 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6222
6223 * net/eww.el (eww-download): New command and keystroke.
6224
6225 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6226
6227 * net/eww.el (eww-copy-page-url): Change name of command.
6228
6229 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6230 be more consistent with Info and dired.
6231
6232 * net/eww.el (eww-mode-map): Ditto.
6233
6234 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6235
6236 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6237 packages from archives.
6238 (package-archive-contents): Change format; include obsolete packages.
6239 (package-desc): Use `dir' to mark builtin packages.
6240 (package--from-builtin): Set the `dir' field to `builtin'.
6241 (generated-autoload-file, version-control): Declare.
6242 (package-compute-transaction): Change first arg and return value to be
6243 lists of package-descs. Adjust to new package-archive-contents format.
6244 (package--add-to-archive-contents): Adjust to new
6245 package-archive-contents format.
6246 (package-download-transaction): Arg is now a list of package-descs.
6247 (package-install): If `pkg' is a package name, pass it as
6248 a requirement, so it is subject to the usual (e.g. disabled) checks.
6249 (describe-package): Accept package-desc as well.
6250 (describe-package-1): Describe a specific package-desc. Add links to
6251 other package-descs for the same package name.
6252 (package-menu-describe-package): Pass the actual package-desc.
6253 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6254 works correctly.
6255 (package-desc-status): New function.
6256 (package-menu--refresh): New function, extracted
6257 from package-menu--generate.
6258 (package-menu--generate): Use it.
6259 (package-delete): Update package-alist.
6260 (package-menu-execute): Don't call package-initialize.
6261
6262 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6263 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6264 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6265 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6266 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6267 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6268
6269 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6270
6271 * window.el (window--state-get-1): Workaround for bug#14527.
6272 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6273
6274 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6275
6276 * net/eww.el (eww-back-url): Implement the history by stashing all
6277 the data into a list.
6278 (eww-forward-url): Allow going forward in the history, too.
6279
6280 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6281
6282 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6283 for values and use read--expression for expressions (bug#14710).
6284 (read-file-local-variable): Avoid setq.
6285 (read-file-local-variable-mode): Use minor-mode-list.
6286
6287 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6288
6289 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6290 for DOI URLs.
6291
6292 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6293
6294 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6295 Update imenu-support when dialect changes.
6296
6297 2013-06-25 Leo Liu <sdl.web@gmail.com>
6298
6299 * ido.el (ido-read-internal): Allow forward slash on windows.
6300
6301 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6302
6303 * net/eww.el (eww): Start of strings is \\`, not ^.
6304
6305 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6306
6307 * net/shr.el (shr-browse-url): Fix interactive spec.
6308
6309 * net/eww.el (eww): Add a trailing slash to domain names.
6310
6311 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6312
6313 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6314
6315 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6316
6317 * net/shr.el (shr-browse-url): Use an external browser if given a
6318 prefix.
6319
6320 * net/eww.el (eww-external-browser): Move to shr.
6321
6322 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6323
6324 * net/eww.el (eww): Work more correctly for file: URLs.
6325 (eww-detect-charset): Allow quoted charsets.
6326 (eww-yank-page-url): New command and keystroke.
6327
6328 2013-06-24 Daiki Ueno <ueno@gnu.org>
6329
6330 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6331 file name of gpg executable.
6332 (epg-context-program): New function.
6333 (epg-context-home-directory): New function.
6334 (epg-context-set-program): New function.
6335 (epg-context-set-home-directory): New function.
6336 (epg--start): Use `epg-context-program' instead of
6337 'epg-gpg-program'.
6338 (epg--list-keys-1): Likewise.
6339
6340 2013-06-24 Leo Liu <sdl.web@gmail.com>
6341
6342 * ido.el (ido-read-internal): Fix bug#14620.
6343
6344 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6345
6346 * faces.el (face-documentation): Simplify.
6347 (read-face-attribute, tty-find-type, x-resolve-font-name):
6348 Use `string-match-p'.
6349 (list-faces-display): Use `string-match-p'. Simplify.
6350 (face-spec-recalc): Check face to avoid face alias loops.
6351 (read-color): Use `string-match-p' and non-capturing parenthesis.
6352
6353 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6354
6355 * net/shr.el (shr-rescale-image): Use the new
6356 :max-width/:max-height functionality.
6357
6358 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6359
6360 * net/eww.el (eww-search-prefix): New variable.
6361 (eww): Use it.
6362 (eww-external-browser): New variable.
6363 (eww-mode-map): New keystroke.
6364 (eww-browse-with-external-browser): New command.
6365
6366 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6367
6368 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6369
6370 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6371 Don't skip aligning the next header field when padding is 0;
6372 otherwise, field width is not respected unless the title is as
6373 wide as the field.
6374
6375 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6376
6377 * emacs-lisp/package.el (package-el-version): Remove.
6378 (package-process-define-package): Fix inf-loop.
6379 (package-install): Allow symbols as arguments again.
6380
6381 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6382
6383 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6384 add some more keyword-like methods.
6385 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6386
6387 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6388
6389 * bs.el (bs-buffer-show-mark): Make defvar-local.
6390 (bs-mode): Use setq-local.
6391
6392 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6393 (emacs-lock--try-unlocking): Make defvar-local.
6394
6395 2013-06-22 Glenn Morris <rgm@gnu.org>
6396
6397 * play/cookie1.el (cookie-apropos): Minor simplification.
6398
6399 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6400
6401 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6402
6403 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6404 `regexp-opt', it breaks the build during dumping.
6405
6406 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6407
6408 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6409 Highlight keyword-like methods on Kernel and Module with
6410 font-lock-builtin-face.
6411 (auto-mode-alist): Consolidate different entries into one regexp
6412 and add more *file-s.
6413
6414 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6415
6416 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6417
6418 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6419 (diary-entry): Use it in the action of this button type instead of
6420 diary-goto-entry.
6421
6422 * calendar/todo-mode.el: New version.
6423 (todo-add-category): Append new category to end of file and give
6424 it the highest number, instead of putting it at the beginning and
6425 giving it 0. Incorporate noninteractive functionality.
6426 (todo-forward-category): Adapt to 1-based category numbering.
6427 Allow skipping over archived categories.
6428 (todo-backward-category): Derive from todo-forward-category.
6429 (todo-backward-item, todo-forward-item): Make noninteractive and
6430 delegate interactive part to new commands. Make sensitive to done items.
6431 (todo-categories): Make value an alist of category names and
6432 vectors of item counts.
6433 (todo-category-beg): Make a defconst.
6434 (todo-category-number): Use 1 instead of 0 as initial value.
6435 (todo-category-select): Make sensitive to overlays, optional item
6436 highlighting and done items.
6437 (todo-delete-item): Make sensitive to overlays and marked and done items.
6438 (todo-edit-item): Make sensitive to overlays and editing of
6439 date/time header optional. Add format checks.
6440 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6441 no-op if point is not on an item. Advertise using todo-edit-quit.
6442 (todo-edit-mode): Make sensitive to new format, font-locking, and
6443 multiple todo files.
6444 (todo-insert-item, todo-insert-item-here): Derive from
6445 todo-basic-insert-item and extend functionality.
6446 (todo-item-end, todo-item-start): Make sensitive to done items.
6447 (todo-item-string): Don't return text properties. Restore point.
6448 (todo-jump-to-category): Make sensitive to multiple todo files and
6449 todo archives. Use extended category completion.
6450 (todo-lower-item, todo-raise-item): Rename to *-priority and
6451 derive from todo-set-item-priority.
6452 (todo-mode): Derive from special-mode. Make sensitive to new
6453 format, font-locking and multiple todo files. Make read-only.
6454 (todo-mode-map): Don't suppress digit keys, so they can supply
6455 prefix arguments. Add many new key bindings.
6456 (todo-prefix): Insert as an overlay instead of file text.
6457 Change semantics from diary date expression to purely visual mark.
6458 (todo-print): Rename to todo-print-buffer. Make buffer display
6459 features printable. Remove option to restrict number of items
6460 printed. Add option to print to file.
6461 (todo-print-function): Rename to todo-print-buffer-function.
6462 (todo-quit): Extend to handle exiting new todo modes.
6463 (todo-remove-item): Make sensitive to overlays.
6464 (todo-save): Extend to buffers of filtered items.
6465 (todo-show): Make sensitive to done items, multiple todo files and
6466 new todo modes. Offer to convert legacy todo file before creating
6467 first new todo file.
6468 (todo-show-priorities): Rename to todo-top-priorities.
6469 Change semantics of value 0.
6470 (todo-top-priorities): Rename to todo-filter-top-priorities,
6471 derive from todo-filter-items and extend functionality.
6472 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6473 and extend functionality to other types of filtered items.
6474 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6475 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6476 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6477 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6478 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6479 (todo-edit-mode-hook, todo-entry-prefix-function)
6480 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6481 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6482 (todo-initials, todo-insert-threshold, todo-item-string-start)
6483 (todo-line-string, todo-menu, todo-mode-hook)
6484 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6485 (todo-print-priorities, todo-remove-separator)
6486 (todo-save-top-priorities-too, todo-string-count-lines)
6487 (todo-string-multiline-p, todo-time-string-format)
6488 (todo-tmp-buffer-name): Remove.
6489 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6490 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6491 (todo-edit-category-diary-inclusion)
6492 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6493 (todo-edit-file, todo-edit-item-date-day)
6494 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6495 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6496 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6497 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6498 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6499 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6500 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6501 (todo-filter-top-priorities-multifile, todo-find-archive)
6502 (todo-find-filtered-items-file, todo-go-to-source-item)
6503 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6504 (todo-jump-to-archive-category, todo-lower-category)
6505 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6506 (todo-move-category, todo-move-item, todo-next-button)
6507 (todo-next-item, todo-padded-string, todo-powerset)
6508 (todo-previous-button, todo-previous-item)
6509 (todo-print-buffer-to-file, todo-raise-category)
6510 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6511 (todo-set-category-number, todo-set-item-priority)
6512 (todo-set-top-priorities-in-category)
6513 (todo-set-top-priorities-in-file, todo-show-categories-table)
6514 (todo-sort-categories-alphabetically-or-numerically)
6515 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6516 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6517 (todo-toggle-item-header, todo-toggle-item-highlighting)
6518 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6519 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6520 (todo-unarchive-items, todo-unmark-category): New commands.
6521 (todo-absolute-file-name, todo-add-to-buffer-list)
6522 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6523 (todo-basic-insert-item, todo-category-completions)
6524 (todo-category-number, todo-category-string-matcher-1)
6525 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6526 (todo-check-format, todo-clear-matches)
6527 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6528 (todo-current-category, todo-date-string-matcher)
6529 (todo-define-insertion-command, todo-diary-expired-matcher)
6530 (todo-diary-goto-entry, todo-diary-item-p)
6531 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6532 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6533 (todo-done-item-section-p, todo-done-separator)
6534 (todo-done-string-matcher, todo-files, todo-filter-items)
6535 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6536 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6537 (todo-insert-category-line, todo-insert-item-from-calendar)
6538 (todo-insert-sort-button, todo-insert-with-overlays)
6539 (todo-insertion-command-name, todo-insertion-key-bindings)
6540 (todo-label-to-key, todo-longest-category-name-length)
6541 (todo-make-categories-list, todo-mode-external-set)
6542 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6543 (todo-modes-set-3, todo-multiple-filter-files)
6544 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6545 (todo-read-category, todo-read-date, todo-read-dayname)
6546 (todo-read-file-name, todo-read-time)
6547 (todo-reevaluate-category-completions-files-defcustom)
6548 (todo-reevaluate-default-file-defcustom)
6549 (todo-reevaluate-filelist-defcustoms)
6550 (todo-reevaluate-filter-files-defcustom)
6551 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6552 (todo-reset-done-separator, todo-reset-done-separator-string)
6553 (todo-reset-done-string, todo-reset-global-current-todo-file)
6554 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6555 (todo-reset-prefix, todo-set-categories)
6556 (todo-set-date-from-calendar, todo-set-show-current-file)
6557 (todo-set-top-priorities, todo-short-file-name)
6558 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6559 (todo-total-item-counts, todo-update-buffer-list)
6560 (todo-update-categories-display, todo-update-categories-sexp)
6561 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6562 New functions.
6563 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6564 New major modes.
6565 (todo-categories, todo-display, todo-edit, todo-faces)
6566 (todo-filtered): New defgroups.
6567 (todo-archived-only, todo-button, todo-category-string, todo-date)
6568 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6569 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6570 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6571 (todo-add-item-if-new-category, todo-always-add-time-string)
6572 (todo-categories-align, todo-categories-archived-label)
6573 (todo-categories-category-label, todo-categories-diary-label)
6574 (todo-categories-done-label, todo-categories-number-separator)
6575 (todo-categories-todo-label, todo-categories-totals-label)
6576 (todo-category-completions-files, todo-completion-ignore-case)
6577 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6578 (todo-done-separator-string, todo-done-string)
6579 (todo-files-function, todo-filter-done-items, todo-filter-files)
6580 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6581 (todo-initial-category, todo-initial-file, todo-item-mark)
6582 (todo-legacy-date-time-regexp, todo-mode-line-function)
6583 (todo-nondiary-marker, todo-number-prefix)
6584 (todo-print-buffer-function, todo-show-current-file)
6585 (todo-show-done-only, todo-show-first, todo-show-with-done)
6586 (todo-skip-archived-categories, todo-top-priorities-overrides)
6587 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6588 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6589 New defcustoms.
6590 (todo-category-done, todo-date-pattern, todo-date-string-start)
6591 (todo-diary-items-buffer, todo-done-string-start)
6592 (todo-filtered-items-buffer, todo-item-start)
6593 (todo-month-abbrev-array, todo-month-name-array)
6594 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6595 (todo-top-priorities-buffer): New defconsts.
6596 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6597 (todo-categories-with-marks, todo-category-string-face)
6598 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6599 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6600 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6601 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6602 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6603 (todo-font-lock-keywords, todo-global-current-todo-file)
6604 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6605 (todo-insertion-commands-args)
6606 (todo-insertion-commands-args-genlist)
6607 (todo-insertion-commands-names, todo-insertion-map)
6608 (todo-key-bindings-t, todo-key-bindings-t+a)
6609 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6610 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6611 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6612 (todo-visited): New variables.
6613
6614 2013-06-21 Glenn Morris <rgm@gnu.org>
6615
6616 * play/cookie1.el (cookie-apropos): Add optional display argument.
6617 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6618 (psychoanalyze-pinhead): Use cookie-doctor.
6619
6620 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6621
6622 * emacs-lisp/package.el (tar-get-file-descriptor)
6623 (tar--extract): Declare.
6624
6625 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6626
6627 Extend flymake's warning predicate to be a function (bug#14217).
6628 * progmodes/flymake.el (flymake-warning-predicate): New.
6629 (flymake-parse-line): Use it.
6630 (flymake-warning-re): Make obsolete alias to
6631 `flymake-warning-predicate'.
6632
6633 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6634
6635 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6636 (package-obsolete-list): Remove.
6637 (package-activate): Remove min-version argument. Add `force' argument.
6638 Adjust to new package-alist format.
6639 (package-mark-obsolete): Remove.
6640 (package-unpack): Force reload of the package's autoloads.
6641 (package-installed-p): Check builtins if the installed package is not
6642 recent enough.
6643 (package-initialize): Don't reset package-obsolete-list.
6644 Don't specify which package version to activate.
6645 (package-process-define-package, describe-package-1)
6646 (package-menu--generate): Adjust to new package-alist format.
6647
6648 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6649
6650 * allout-widgets.el (allout-widgets-mode-off)
6651 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6652 (allout-widgets-post-command-business)
6653 (allout-widgets-after-copy-or-kill-function)
6654 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6655 (allout-decorate-item-and-context)
6656 (allout-graphics-modification-handler): Fix typos in docstrings.
6657 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6658
6659 * cmuscheme.el (scheme-start-file): Doc fix.
6660 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6661 (scheme-input-filter): Use `string-match-p'.
6662
6663 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6664
6665 * dired-x.el: Use Dired consistently in docstrings.
6666
6667 * dired.el: Use Dired consistently in docstrings.
6668 (dired-readin, dired-mode): Use `setq-local'.
6669 (dired-switches-alist): Make defvar-local.
6670 (dired-buffers-for-dir): Use `zerop'.
6671 (dired-safe-switches-p, dired-switches-escape-p)
6672 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6673 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6674 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6675 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6676 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6677 (dired-toggle-marks, dired-mark-files-containing-regexp)
6678 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6679 (dired-flag-auto-save-files, dired-flag-backup-files):
6680 Use `looking-at-p'.
6681 (dired-mark-files-regexp, dired-build-subdir-alist):
6682 Use `string-match-p', `looking-at-p'.
6683
6684 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6685 (direct-print-region-helper): Use `string-match-p'.
6686
6687 2013-06-21 Leo Liu <sdl.web@gmail.com>
6688
6689 * comint.el (comint-redirect-results-list-from-process):
6690 Fix infinite loop.
6691
6692 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6693
6694 * net/eww.el (eww-update-header-line-format): Quote % characters.
6695
6696 2013-06-21 Glenn Morris <rgm@gnu.org>
6697
6698 * play/cookie1.el (cookie): New custom group.
6699 (cookie-file): New option.
6700 (cookie-check-file): New function.
6701 (cookie): Make it interactive. Make start and end messages optional.
6702 Interactively, display the result. Default to cookie-file.
6703 (cookie-insert): Default to cookie-file.
6704 (cookie-snarf): Make start and end messages optional.
6705 Default to cookie-file. Use with-temp-buffer.
6706 (cookie-read): Rename from read-cookie.
6707 Make start and end messages optional. Default to cookie-file.
6708 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6709 Do not autoload it.
6710 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6711 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6712
6713 2013-06-21 Leo Liu <sdl.web@gmail.com>
6714
6715 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6716
6717 2013-06-21 Glenn Morris <rgm@gnu.org>
6718
6719 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6720
6721 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6722 Daniel Hackney <dan@haxney.org>
6723
6724 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6725 Consolidate the single-file vs tarball code.
6726 (package-desc-suffix): New function.
6727 (package-desc-full-name): Don't bother inlining it.
6728 (package-load-descriptor): Return the new package-desc.
6729 (package-mark-obsolete): Remove unused arg `package'.
6730 (package-unpack): Make it work for single files as well.
6731 Make it update package-alist.
6732 (package--make-autoloads-and-stuff): Rename from
6733 package--make-autoloads-and-compile. Don't compile any more.
6734 (package--compile): New function.
6735 (package-generate-description-file): New function, extracted from
6736 package-unpack-single.
6737 (package-unpack-single): Remove.
6738 (package--with-work-buffer): Add indentation and debugging info.
6739 (package-download-single): Remove.
6740 (package-install-from-archive): Rename from package-download-tar, make
6741 it take a pkg-desc, and make it work for single files as well.
6742 (package-download-transaction): Simplify.
6743 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6744 external tar program.
6745 (package-install-from-buffer): Remove `pkg-desc' argument.
6746 Use package-tar-file-info for tar-mode buffers.
6747 (package-install-file): Simplify accordingly.
6748 (package-archive-base): Change to take a pkg-desc.
6749 * tar-mode.el (tar--check-descriptor): New function, extracted from
6750 tar-get-descriptor.
6751 (tar-get-descriptor): Use it.
6752 (tar-get-file-descriptor): New function.
6753 (tar--extract): New function, extracted from tar-extract.
6754 (tar--extract): Use it.
6755 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6756 case the summary uses non-ascii. Adjust to new calling convention of
6757 package-tar-file-info.
6758
6759 2013-06-21 Leo Liu <sdl.web@gmail.com>
6760
6761 * comint.el (comint-redirect-results-list-from-process):
6762 Fix random delay. (Bug#14681)
6763
6764 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6765
6766 * profiler.el (profiler-format-number): Use log, not log10.
6767
6768 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6769
6770 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6771
6772 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6773
6774 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6775 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6776 yet available.
6777 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6778 (AUTOGENEL): ... here.
6779 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6780 (cl--defsubst-expand): Use it.
6781
6782 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6783
6784 * subr.el (log10): Move here from C code, and declare as obsolete.
6785 All uses of (log10 X) replaced with (log X 10).
6786
6787 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6788
6789 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6790 Declare with `defvar-local'.
6791 (tabulated-list-use-header-line, tabulated-list-entries)
6792 (tabulated-list-padding, tabulated-list-printer)
6793 (tabulated-list-sort-key): Declare with `defvar-local'.
6794 (tabulated-list-init-header, tabulated-list-print-fake-header):
6795 Use `setq-local'.
6796
6797 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6798
6799 * arc-mode.el (archive-mode): Add `archive-write-file' to
6800 `write-contents-functions' also for remote files. (Bug#14652)
6801
6802 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6803
6804 * cus-edit.el (custom-commands): Fix typos.
6805 (custom-display): Fix tooltip text.
6806 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6807 Fix typos in docstrings.
6808 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6809 (custom-unlispify-menu-entry, custom-magic-value-create)
6810 (custom-add-see-also, custom-group-value-create): Use ?\s.
6811 (custom-guess-type, customize-apropos, editable-field)
6812 (custom-face-value-create): Use `string-match-p'.
6813 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6814
6815 * custom.el (custom-load-symbol): Use `string-match-p'.
6816
6817 * ansi-color.el: Convert to lexical binding.
6818 (ansi-colors): Fix URL.
6819 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6820 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6821 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6822
6823 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6824
6825 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6826
6827 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6828
6829 2013-06-19 Tom Tromey <tromey@redhat.com>
6830
6831 * net/eww.el (eww-top-url): Remove.
6832 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6833 (eww-render): Set new variables. Don't set eww-top-url.
6834 (eww-handle-link): Handle "prev", "home", and "contents".
6835 Downcase the rel text.
6836 (eww-top-url): Choose best top URL.
6837
6838 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6839
6840 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6841 relying in widget.el. Using widget.el leads to too many
6842 user interface inconsistencies.
6843 (eww-self-insert): Implement entering commands in text fields.
6844 (eww-process-text-input): New function to make text input field editing
6845 work.
6846 (eww-submit): Rewrite to use the new-style form methods.
6847 (eww-select-display): Display the correct selected item.
6848 (eww-change-select): Implement changing the select value.
6849 (eww-toggle-checkbox): Implement radio/checkboxes.
6850 (eww-update-field): Fix compilation error.
6851 (eww-tag-textarea): Implement <textarea>.
6852
6853 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6854 we don't shadow mode-specific bindings.
6855
6856 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6857 nothing to push.
6858
6859 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6860
6861 2013-06-19 Glenn Morris <rgm@gnu.org>
6862
6863 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6864
6865 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6866
6867 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6868 not needed.
6869
6870 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6871
6872 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6873
6874 * net/browse-url.el (browse-url-browser-function):
6875 `eww-browse-url' has the right calling signature, `eww' does not.
6876
6877 2013-06-19 Glenn Morris <rgm@gnu.org>
6878
6879 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6880 Only eval autoloaded macros.
6881 (byte-compile-autoload): Only give the macro warning for macros.
6882
6883 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6884 (ps-underlined-faces): Declare.
6885
6886 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6887 (speedbar-add-supported-extension): Declare.
6888
6889 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6890 Don't include a date stamp in the header of the generated file;
6891 it leads to needless differences between output files.
6892
6893 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6894
6895 * net/secrets.el (secrets-struct-secret-content-type):
6896 Replace check of introspection data by a test call of "CreateItem".
6897 Some servers do not offer introspection.
6898
6899 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6901 * electric.el (electric-pair-mode): Improve interaction with
6902 electric-layout-mode.
6903 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6904 (electric-pair-syntax): Use text-mode-syntax-table in comments
6905 and strings.
6906 (electric-pair--insert): New function.
6907 (electric-pair-post-self-insert-function): Use it and
6908 electric--after-char-pos.
6909
6910 2013-06-19 Leo Liu <sdl.web@gmail.com>
6911
6912 * progmodes/octave.el (octave-help): Fix regexp.
6913
6914 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6915
6916 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6917 (shr-table-horizontal-line): Allow nil as a value, and change the
6918 default.
6919 (shr-insert-table-ruler): Respect the nil value.
6920
6921 2013-06-18 Tom Tromey <tromey@barimba>
6922
6923 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6924 New defvars.
6925 (eww-open-file): New defun.
6926 (eww-render): Initialize new variables.
6927 (eww-display-html): Handle "link" and "a".
6928 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6929 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6930 (eww-back-url): Rename from eww-previous-url.
6931 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6932 New defuns.
6933
6934 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6935
6936 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6937 Distinguish ternary operator tokens from slash symbol and slash
6938 char literal.
6939
6940 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6941
6942 Convert symbol prettification into minor mode and global minor mode.
6943
6944 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6945 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6946 (prettify-symbols--keywords): Rename from
6947 `prog-prettify-symbols-alist' and make a local defvar.
6948 (prettify-symbols--compose-symbol): Rename from
6949 `prog--prettify-font-lock-compose-symbol'.
6950 (prettify-symbols--make-keywords): Rename from
6951 `prog-prettify-font-lock-symbols-keywords' and simplify.
6952 (prog-prettify-install): Remove.
6953 (prettify-symbols-mode): New minor mode, based on
6954 `prog-prettify-install'.
6955 (turn-on-prettify-symbols-mode): New function.
6956 (global-prettify-symbols-mode): New globalized minor mode.
6957
6958 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6959 * progmodes/cfengine.el (cfengine3-mode):
6960 * progmodes/perl-mode.el (perl-mode): Don't call
6961 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6962
6963 2013-06-18 Juri Linkov <juri@jurta.org>
6964
6965 * files-x.el (modify-file-local-variable-message): New function.
6966 (modify-file-local-variable)
6967 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6968 and call `modify-file-local-variable-message' when it's non-nil.
6969 (add-file-local-variable, delete-file-local-variable)
6970 (add-file-local-variable-prop-line)
6971 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6972 and use it. (Bug#9820)
6973
6974 2013-06-18 Juri Linkov <juri@jurta.org>
6975
6976 * emulation/vi.el (vi-shell-op):
6977 * emulation/vip.el (vip-execute-com, ex-command):
6978 * emulation/viper-cmd.el (viper-exec-bang):
6979 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6980 the call of `shell-command-on-region'. (Bug#14637)
6981
6982 * simple.el (shell-command-on-region): Doc fix.
6983
6984 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6985
6986 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6987 (bug#14633).
6988
6989 2013-06-18 Glenn Morris <rgm@gnu.org>
6990
6991 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6992
6993 * newcomment.el (comment-search-forward, comment-search-backward):
6994 Doc fix. (Bug#14376)
6995
6996 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6997
6998 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6999 (buffer-face-mode-invoke): Doc fix.
7000
7001 2013-06-18 Matthias Meulien <orontee@gmail.com>
7002
7003 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7004 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7005
7006 2013-06-18 Glenn Morris <rgm@gnu.org>
7007
7008 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7009 Replace obsolete function generic-make-keywords with its expansion.
7010
7011 * progmodes/python.el (ffap-alist): Declare.
7012
7013 * textmodes/reftex.el (bibtex-mode-map): Declare.
7014
7015 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7016
7017 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7018 (package-unpack, package-unpack-single): Return the pkg-dir.
7019 (package-download-transaction): Use it to update package-alist.
7020
7021 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7022
7023 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7024 possible choice.
7025
7026 2013-06-17 Juri Linkov <juri@jurta.org>
7027
7028 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7029
7030 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7031
7032 * emacs-lisp/package.el (package-load-descriptor):
7033 Remove `with-syntax-table' call, `read' doesn't need it.
7034 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7035
7036 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7037
7038 * startup.el (command-line): Expand package name returned by
7039 `package--description-file' (bug#14639).
7040
7041 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7042
7043 * emacs-lisp/package.el (package-load-descriptor): Do not call
7044 `emacs-lisp-mode', just use its syntax table.
7045
7046 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7047
7048 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7049 `font-lock-extra-managed-props' if any prettifying keyword is added.
7050 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7051 (prog-mode): Use `setq-local'.
7052
7053 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * international/characters.el (standard-case-table): Set syntax of ?»
7056 and ?« to punctuation.
7057
7058 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7059
7060 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7061 Save relevant match data before calling `syntax-ppss' (bug#14595).
7062
7063 2013-06-15 Juri Linkov <juri@jurta.org>
7064
7065 * files-x.el (modify-file-local-variable-prop-line): Add local
7066 variables to the end of the existing comment on the first line.
7067 Use `file-auto-mode-skip' to skip interpreter magic line,
7068 and also skip XML declaration.
7069
7070 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7071
7072 * startup.el (package--builtin-versions): New var.
7073 (package-subdirectory-regexp): Remove.
7074 (package--description-file): Hard code its value instead.
7075
7076 * emacs-lisp/package.el: Don't activate packages older than builtin.
7077 (package-obsolete-list): Rename from package-obsolete-alist, and make
7078 it into a simple list of package-desc.
7079 (package-strip-version): Remove.
7080 (package-built-in-p): Use package--builtin-versions.
7081 (package-mark-obsolete): Simplify.
7082 (package-process-define-package): Mark it obsolete if older than the
7083 builtin version.
7084 (package-handle-response): Use line-end-position.
7085 (package-read-archive-contents, package--download-one-archive):
7086 Simplify.
7087 (package--add-to-archive-contents): Skip if older than the builtin or
7088 installed version.
7089 (package-menu-describe-package): Fix last change.
7090 (package-list-unversioned): New var.
7091 (package-menu--generate): Use it.
7092
7093 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7094 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7095 (autoload-builtin-package-versions): New variable.
7096 (autoload-generate-file-autoloads): Use them.
7097 Remove the list of autoloaded functions/macros from the
7098 (autoload...) comments.
7099
7100 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7101
7102 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7103
7104 * simple.el (line-move-partial): Don't jump to the next screen
7105 line as soon as it becomes visible. Instead, continue enlarging
7106 the vscroll until the portion of a tall screen line that's left on
7107 display is about the height of the frame's default font.
7108 (Bug#14567)
7109
7110 2013-06-15 Glenn Morris <rgm@gnu.org>
7111
7112 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7113 compilation-error-regexp-alist void, or local while let-bound.
7114
7115 * progmodes/make-mode.el (makefile-mode-syntax-table):
7116 Treat "=" as punctuation. (Bug#14614)
7117
7118 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7119
7120 * help-fns.el (describe-variable):
7121 Add extra line for permanent-local variables.
7122
7123 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7124
7125 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7126 Add export, import, library. (Bug#9164)
7127 (library): Set indent function.
7128
7129 2013-06-14 Glenn Morris <rgm@gnu.org>
7130
7131 * term/xterm.el (xterm--query):
7132 Stop after first matching handler. (Bug#14615)
7133
7134 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7135
7136 Add support for dired in saveplace.
7137 * dired.el (dired-initial-position-hook): New variable.
7138 (dired-initial-position): Call hook to place cursor position.
7139 * saveplace.el (save-place-to-alist): Add dired position.
7140 (save-place-dired-hook): New function.
7141
7142 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7143
7144 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7145 through a symbol rather than letrec.
7146
7147 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7148 (package-desc): Add `dir' field.
7149 (package-desc-full-name): New function.
7150 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7151 (package-maybe-load-descriptor): Remove.
7152 (package-load-all-descriptors): Just call package-load-descriptor.
7153 (package--disabled-p): New function.
7154 (package-desc-vers, package-desc-doc): Remove aliases.
7155 (package--dir): Remove function.
7156 (package-activate): Check if a package is disabled.
7157 (package-process-define-package): New function, extracted from
7158 define-package.
7159 (define-package): Turn into a place holder.
7160 (package-unpack-single, package-tar-file-info):
7161 Use package--description-file.
7162 (package-compute-transaction): Use package--disabled-p.
7163 (package-download-transaction): Don't call
7164 package-maybe-load-descriptor since they're all loaded anyway.
7165 (package-install): Change argument to be a pkg-desc.
7166 (package-delete): Use a single pkg-desc argument.
7167 (describe-package-1): Use package-desc-dir instead of package--dir.
7168 Use package-desc property instead of package-symbol.
7169 (package-install-button-action): Adjust accordingly.
7170 (package--push): Rewrite.
7171 (package-menu--print-info): Adjust accordingly. Change the ID format
7172 to be a pkg-desc.
7173 (package-menu-describe-package, package-menu-get-status)
7174 (package-menu--find-upgrades, package-menu-mark-upgrades)
7175 (package-menu-execute, package-menu--name-predicate):
7176 Adjust accordingly.
7177 * startup.el (package--description-file): New function.
7178 (command-line): Use it.
7179 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7180 Use package-desc-version.
7181
7182 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7183 (byte-compile-preprocess): Use it.
7184 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7185 can't quite recognize.
7186 (byte-compile-add-to-list): Remove.
7187 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7188 (cconv-closure-convert): Add assertion.
7189
7190 * emacs-lisp/map-ynp.el: Use lexical-binding.
7191 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7192 Factor out some repeated code.
7193
7194 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7195
7196 * subr.el (with-eval-after-load): New macro.
7197 (eval-after-load): Allow form to be a function.
7198 take advantage of lexical-binding.
7199 (do-after-load-evaluation): Use dolist and adjust to new format.
7200 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7201
7202 2013-06-13 Juri Linkov <juri@jurta.org>
7203
7204 * replace.el (perform-replace): Display "symbol " and other search
7205 modes from `isearch-message-prefix' in the *Help* buffer.
7206
7207 * isearch.el (isearch-query-replace): Add " symbol" and other
7208 possible search modes from `isearch-message-prefix' to the prompt.
7209 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7210 when reading a regexp to collect.
7211
7212 2013-06-13 Juri Linkov <juri@jurta.org>
7213
7214 * isearch.el (word-search-regexp): Match whitespace if the search
7215 string begins or ends in whitespace. The LAX arg is applied to
7216 both ends of the search string. Use `regexp-quote' and explicit
7217 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7218 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7219 boundaries are replaced with symbol boundaries, and characters
7220 between symbols match non-word non-symbol syntax. (Bug#14602)
7221
7222 2013-06-13 Juri Linkov <juri@jurta.org>
7223
7224 * isearch.el (isearch-del-char): Don't exceed the length of
7225 `isearch-string' by the prefix arg. (Bug#14563)
7226
7227 2013-06-13 Juri Linkov <juri@jurta.org>
7228
7229 * isearch.el (isearch-yank-word, isearch-yank-line)
7230 (isearch-char-by-name, isearch-quote-char)
7231 (isearch-printing-char, isearch-process-search-char):
7232 Add optional count prefix arg. (Bug#14563)
7233
7234 * international/isearch-x.el
7235 (isearch-process-search-multibyte-characters):
7236 Add optional count prefix arg.
7237
7238 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7239
7240 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7241 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7242 lexical-binding.
7243
7244 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7245
7246 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7247
7248 2013-06-13 Glenn Morris <rgm@gnu.org>
7249
7250 * startup.el (tty-handle-args):
7251 Don't just discard "--" and anything after. (Bug#14608)
7252
7253 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7254
7255 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7256
7257 Implement changes in Secret Service API. Make it backward compatible.
7258 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7259 (secrets-create-item): Use it. Prefix properties with interface.
7260
7261 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7262
7263 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7264 (term-emulate-terminal): Respect term-suppress-hard-newline.
7265
7266 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7267
7268 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7269 Only remove a `thumb-file' overlay. (Bug#14548)
7270
7271 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7272
7273 * mail/reporter.el (reporter-submit-bug-report):
7274 Handle missing package-name. (Bug#14600)
7275
7276 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7277
7278 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7279 (reftex-citation-prompt, reftex-default-bibliography)
7280 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7281 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7282 (reftex-bib-sort-author, reftex-bib-sort-year)
7283 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7284 (reftex-extract-bib-entries-from-thebibliography)
7285 (reftex-get-bibkey-default, reftex-get-bib-names)
7286 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7287 (reftex-format-bib-entry, reftex-parse-bibitem)
7288 (reftex-format-bibitem, reftex-do-citation)
7289 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7290 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7291 (reftex-insert-bib-matches, reftex-format-citation)
7292 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7293 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7294 existing comments into docstrings.
7295
7296 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7297
7298 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7299
7300 2013-06-12 Andreas Schwab <schwab@suse.de>
7301
7302 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7303 for auto-save files.
7304
7305 2013-06-12 Glenn Morris <rgm@gnu.org>
7306
7307 * ido.el (ido-delete-ignored-files): Remove.
7308 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7309 Go back to calling ido-ignore-item-p directly.
7310
7311 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7312
7313 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7314
7315 * ido.el (ido-delete-ignored-files): New function,
7316 split from ido-make-file-list-1.
7317 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7318 (ido-make-file-list-1): Use ido-delete-ignored-files.
7319
7320 2013-06-12 Leo Liu <sdl.web@gmail.com>
7321
7322 * progmodes/octave.el (inferior-octave-startup)
7323 (inferior-octave-completion-table)
7324 (inferior-octave-track-window-width-change)
7325 (octave-eldoc-function-signatures, octave-help)
7326 (octave-find-definition): Use single quoted strings.
7327 (inferior-octave-startup-args): Change default value.
7328 (inferior-octave-startup): Do not hard code "-i" and
7329 "--no-line-editing".
7330 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7331 (inferior-octave-directory-tracker): Use it.
7332 (octave-goto-function-definition): Robustify.
7333 (octave-help): Support highlighting operators in 'See also'.
7334 (octave-find-definition): Find subfunctions only in Octave mode.
7335
7336 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7337
7338 * help-fns.el (help-fns--compiler-macro): If the handler function is
7339 named, then put a link to it.
7340 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7341 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7342 (cl-typep): Use it.
7343 (cl-eval-when): Simplify debug spec.
7344 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7345 compiler-macro function instead of setting `compiler-macro-file'.
7346
7347 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7348
7349 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7350 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7351
7352 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7353 Daniel Hackney <dan@haxney.org>
7354
7355 First part of Daniel Hackney's patch to package.el.
7356 * emacs-lisp/package.el: Use defstruct.
7357 (package-desc): New, main struct.
7358 (package--bi-desc, package--ac-desc): New structs, used to describe the
7359 format in external files.
7360 (package-desc-vers): Replace with package-desc-version accessor.
7361 (package-desc-doc): Replace with package-desc-summary accessor.
7362 (package-activate-1): Remove `package' arg since the pkg-vec now
7363 includes the name.
7364 (define-package): Use package-desc-from-define.
7365 (package-unpack-single): Change file-name arg to be a symbol.
7366 (package--add-to-archive-contents): Use package-desc-create and new
7367 accessor functions to package--ac-desc.
7368 (package-buffer-info, package-tar-file-info): Return a package-desc.
7369 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7370 arg to be a package-desc.
7371 (package-install-file): Adjust accordingly. Use \' to match EOS.
7372 (package--from-builtin): New function.
7373 (describe-package-1, package-menu--generate): Use it.
7374 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7375 (package-generate-autoloads): Idem and return the name of the file.
7376 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7377 Change pkg-info arg to be a package-desc.
7378 Use package-make-ac-desc.
7379 (package-upload-file): Use \' to match EOS.
7380 * finder.el (finder-compile-keywords): Use package-make-builtin.
7381
7382 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7383
7384 * vc/vc.el (vc-deduce-fileset): Change error message.
7385 (vc-read-backend): New function.
7386 (vc-next-action): Use it.
7387
7388 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7389
7390 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7391 (prolog-font-lock-keywords): Use regexp-opt instead.
7392 Don't manually highlight strings.
7393 (prolog-mode-variables): Simplify comment-start-skip.
7394 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7395
7396 * emacs-lisp/generic.el (generic--normalise-comments)
7397 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7398 (generic-mode-set-comments): Use them.
7399 (generic-bracket-support): Use setq-local.
7400 (generic-make-keywords-list): Declare obsolete.
7401
7402 2013-06-11 Glenn Morris <rgm@gnu.org>
7403
7404 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7405 Prettify after setting font-lock-defaults. (Bug#14574)
7406
7407 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7408
7409 * replace.el (query-replace, occur-read-regexp-defaults-function)
7410 (replace-search):
7411 * subr.el (declare-function, number-sequence, local-set-key)
7412 (substitute-key-definition, locate-user-emacs-file)
7413 (with-silent-modifications, split-string, eval-after-load):
7414 Fix typos, remove unneeded backslashes and reflow some docstrings.
7415
7416 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7417
7418 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7419 default for Elisp files.
7420
7421 2013-06-11 Glenn Morris <rgm@gnu.org>
7422
7423 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7424 although define-derived-mode was doing this anyway. (Bug#14583)
7425
7426 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7427
7428 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7429 Fix make-variable-buffer-local call to refer to the correct variable.
7430
7431 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7432
7433 * eshell/em-term.el (eshell-visual-commands)
7434 (eshell-visual-subcommands, eshell-visual-options):
7435 Add summary line to docstrings. Add cross-references.
7436
7437 2013-06-10 Glenn Morris <rgm@gnu.org>
7438
7439 * epa.el (epa-read-file-name): New function. (Bug#14510)
7440 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7441
7442 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7443
7444 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7445 output redirection to be ignored with visual commands.
7446
7447 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7448
7449 * eshell/em-term.el (eshell-visual-command-p): New function.
7450 (eshell-term-initialize): Move long lambda to separate function
7451 eshell-visual-command-p.
7452 * eshell/em-dirs.el (eshell-dirs-initialise):
7453 * eshell/em-script.el (eshell-script-initialize):
7454 Add missing #' to lambda.
7455
7456 2013-06-08 Leo Liu <sdl.web@gmail.com>
7457
7458 * progmodes/octave.el (octave-add-log-current-defun): New function.
7459 (octave-mode): Set add-log-current-defun-function.
7460 (octave-goto-function-definition): Do not move point if not found.
7461 (octave-find-definition): Enhance to try subfunctions first.
7462
7463 2013-06-08 Glenn Morris <rgm@gnu.org>
7464
7465 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7466 (byte-compile-backward-char, byte-compile-backward-word):
7467 Improve previous change, to handle non-explicit nil.
7468
7469 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7470
7471 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7472 (smie--opener/closer-at-point): New function.
7473 (smie--matching-block-data): Use it. Don't match from right after an
7474 opener or right before a closer. Obey smie-blink-matching-inners.
7475 Don't signal a mismatch for repeated inners like "switch..case..case".
7476
7477 2013-06-07 Leo Liu <sdl.web@gmail.com>
7478
7479 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7480 to t. (Bug#14303)
7481 (octave-function-header-regexp): Fix. (Bug#14570)
7482 (octave-help-mode-finish-hook, octave-help-mode-finish):
7483 Remove. Just use temp-buffer-show-hook.
7484
7485 * newcomment.el (comment-search-backward): Revert last change.
7486 (Bug#14434)
7487
7488 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7489
7490 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7491
7492 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7493 through xargs, to avoid failure due to MS-Windows limitations on
7494 command-line length.
7495
7496 2013-06-06 Glenn Morris <rgm@gnu.org>
7497
7498 * font-lock.el (lisp-font-lock-keywords-2):
7499 Treat user-error like error.
7500
7501 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7502 (byte-compile-backward-char, byte-compile-backward-word):
7503 Handle explicit nil arguments. (Bug#14565)
7504
7505 2013-06-05 Alan Mackenzie <acm@muc.de>
7506
7507 * isearch.el (isearch-allow-prefix): New user option.
7508 (isearch-other-meta-char): Don't exit isearch when a prefix
7509 argument is typed whilst `isearch-allow-prefix' is non-nil.
7510 (Bug#9706)
7511
7512 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7513
7514 * autorevert.el (auto-revert-notify-handler): Use memq.
7515 Hide assertion failure.
7516
7517 * skeleton.el: Use cl-lib.
7518 (skeleton-further-elements): Use defvar-local.
7519 (skeleton-insert): Use cl-progv.
7520
7521 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7522
7523 * progmodes/prog-mode.el (prog-prettify-symbols)
7524 (prog-prettify-install): Update docstrings.
7525
7526 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7527
7528 * simple.el: Move all the prog-mode code to prog-mode.el.
7529 * progmodes/prog-mode.el: New file.
7530 * loadup.el: Add prog-mode.el.
7531
7532 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7533
7534 * simple.el (prog-prettify-symbols): Add version.
7535 (prog-prettify-install): Add convenience function to prettify symbols.
7536
7537 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7538 (perl--augmented-font-lock-keywords-1)
7539 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7540 variables and use it.
7541
7542 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7543 (cfengine3-mode): Remove unneeded variable and use it.
7544
7545 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7546 (lisp--augmented-font-lock-keywords-1)
7547 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7548 Remove unneeded variables and use it.
7549
7550 2013-06-05 João Távora <joaotavora@gmail.com>
7551
7552 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7553 to point when opening the connection. (Bug#14380)
7554
7555 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7556
7557 * subr.el (load-history-regexp, load-history-filename-element)
7558 (eval-after-load, after-load-functions, do-after-load-evaluation)
7559 (eval-next-after-load, display-delayed-warnings)
7560 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7561 definition of save-match-data.
7562 (overriding-local-map): Remove accidental obsolescence declaration.
7563
7564 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7565
7566 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7567
7568 Generalize symbol prettify support to prog-mode and implement it
7569 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7570 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7571 (prog--prettify-font-lock-compose-symbol)
7572 (prog-prettify-font-lock-symbols-keywords): New variables and
7573 functions to support symbol prettification.
7574 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7575 (lisp--augmented-font-lock-keywords-1)
7576 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7577 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7578 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7579 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7580 Implement prettify of -> => :: strings.
7581 * progmodes/perl-mode.el (perl-prettify-symbols)
7582 (perl--font-lock-compose-symbol)
7583 (perl--font-lock-symbols-keywords): Move to prog-mode.
7584 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7585 (perl-font-lock-keywords-1)
7586 (perl-font-lock-keywords-2): Remove explicit prettify support.
7587 (perl--augmented-font-lock-keywords)
7588 (perl--augmented-font-lock-keywords-1)
7589 (perl--augmented-font-lock-keywords-2, perl-mode):
7590 Implement prettify support.
7591
7592 2013-06-05 Leo Liu <sdl.web@gmail.com>
7593
7594 Re-implement smie matching block highlight using
7595 show-paren-data-function. (Bug#14395)
7596 * emacs-lisp/smie.el (smie-matching-block-highlight)
7597 (smie--highlight-matching-block-overlay)
7598 (smie--highlight-matching-block-lastpos)
7599 (smie-highlight-matching-block)
7600 (smie-highlight-matching-block-mode): Remove.
7601 (smie--matching-block-data-cache): New variable.
7602 (smie--matching-block-data): New function.
7603 (smie-setup): Use smie--matching-block-data for
7604 show-paren-data-function.
7605
7606 * progmodes/octave.el (octave-mode-menu): Fix.
7607 (octave-find-definition): Skip garbage lines.
7608
7609 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7610
7611 Fix compilation error with simultaneous dynamic+lexical scoping.
7612 Add warning when a defvar appears after the first let-binding.
7613 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7614 (byte-compile-close-variables): Initialize it.
7615 (byte-compile--declare-var): New function.
7616 (byte-compile-file-form-defvar)
7617 (byte-compile-file-form-define-abbrev-table)
7618 (byte-compile-file-form-custom-declare-variable): Use it.
7619 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7620 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7621 (byte-compile-bind): Handle dynamic bindings that shadow
7622 lexical bindings.
7623 (byte-compile-unbind): Make arg non-optional.
7624 (byte-compile-let): Simplify.
7625 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7626 (cconv--analyse-function, cconv-analyse-form): Populate it.
7627 Protect byte-compile-bound-variables to limit the scope of defvars.
7628 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7629 Remove unneeded rule for `declare'.
7630
7631 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7632 so as to avoid depending on cl-adjoin at run-time.
7633 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7634
7635 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7636 (macroexp--warn-and-return): Use it.
7637
7638 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7639
7640 * lisp/subr.el: Convert to lexical binding.
7641 (overriding-local-map): Make obsolete.
7642 (add-to-list): Doc fix. Add compiler macro.
7643 (read-key): Swap values of local maps.
7644
7645 2013-06-05 Leo Liu <sdl.web@gmail.com>
7646
7647 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7648
7649 2013-06-04 Leo Liu <sdl.web@gmail.com>
7650
7651 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7652 (compilation-auto-jump): Suppress the "Mark set" message to give
7653 way to exit message.
7654
7655 2013-06-04 Alan Mackenzie <acm@muc.de>
7656
7657 Remove faulty optimisation from indentation calculation.
7658 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7659 search limit based on 2000 characters back from indent-point.
7660
7661 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7662
7663 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7664
7665 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * emacs-lisp/lisp.el: Use lexical-binding.
7668 (lisp--local-variables-1, lisp--local-variables): New functions.
7669 (lisp--local-variables-completion-table): New var.
7670 (lisp-completion-at-point): Use it complete let-bound vars.
7671
7672 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7673 eagerly (bug#14422).
7674
7675 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7676
7677 * autorevert.el (auto-revert-notify-enabled)
7678 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7679 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7680 (auto-revert-notify-handler): Handle also gfilenotify.
7681
7682 * subr.el (file-notify-handle-event): New defun. Replacing ...
7683 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7684 Remove.
7685
7686 2013-06-03 Juri Linkov <juri@jurta.org>
7687
7688 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7689 `M-s h .'. (Bug#14427)
7690
7691 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7692 command `hi-lock-face-symbol-at-point'.
7693 (hi-lock-face-symbol-at-point): New command.
7694 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7695 (hi-lock-menu): Add `highlight-symbol-at-point'.
7696 (hi-lock-mode): Doc fix.
7697
7698 * isearch.el (isearch-forward-symbol-at-point): New command.
7699 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7700 (isearch-highlight-regexp): Add a regexp which matches
7701 words/symbols for word/symbol mode.
7702
7703 * subr.el (find-tag-default-bounds): New function with the body
7704 mostly moved from `find-tag-default'.
7705 (find-tag-default): Move most code to `find-tag-default-bounds',
7706 call it and apply `buffer-substring-no-properties' afterwards.
7707
7708 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7709
7710 * eshell/em-term.el (eshell-term-initialize):
7711 Use `cl-intersection' rather than `intersection'.
7712
7713 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7714
7715 * vc/log-view.el: Doc fix.
7716 (log-view-mode-map): Copy keymap from `special-mode-map'.
7717
7718 2013-06-02 Eric Ludlam <zappo@gnu.org>
7719
7720 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7721 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7722 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7723 (eieio-unbound, eieio-default-superclass)
7724 (eieio--define-field-accessors, method-static, method-before)
7725 (method-primary, method-after, method-num-lists)
7726 (method-generic-before, method-generic-primary)
7727 (method-generic-after, method-num-slots)
7728 (eieio-specialized-key-to-generic-key)
7729 (eieio--check-type, class-v, class-p)
7730 (eieio-class-name, define-obsolete-function-alias)
7731 (eieio-class-parents-fast, eieio-class-children-fast)
7732 (same-class-fast-p, class-constructor, generic-p)
7733 (generic-primary-only-p, generic-primary-only-one-p)
7734 (class-option-assoc, class-option, eieio-object-p)
7735 (class-abstract-p, class-method-invocation-order)
7736 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7737 (eieio-class-un-autoload, eieio-defclass)
7738 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7739 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7740 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7741 (eieio-defgeneric-reset-generic-form)
7742 (eieio-defgeneric-form-primary-only)
7743 (eieio-defgeneric-reset-generic-form-primary-only)
7744 (eieio-defgeneric-form-primary-only-one)
7745 (eieio-defgeneric-reset-generic-form-primary-only-one)
7746 (eieio-unbind-method-implementations)
7747 (eieio--defmethod, eieio--typep)
7748 (eieio-perform-slot-validation, eieio-validate-slot-value)
7749 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7750 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7751 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7752 (eieio-slot-name-index, eieio-class-slot-name-index)
7753 (eieio-set-defaults, eieio-initarg-to-attribute)
7754 (eieio-attribute-to-initarg, eieio-c3-candidate)
7755 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7756 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7757 (eieio-class-precedence-list, eieio-generic-call-methodname)
7758 (eieio-generic-call-arglst, eieio-generic-call-key)
7759 (eieio-generic-call-next-method-list)
7760 (eieio-pre-method-execution-functions, eieio-generic-call)
7761 (eieio-generic-call-primary-only, eieiomt-method-list)
7762 (eieiomt-optimizing-obarray, eieiomt-install)
7763 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7764 (eieio-generic-form, eieio-defmethod, make-obsolete)
7765 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7766 (defclass): Remove `eval-and-compile' from macro.
7767 (call-next-method, shared-initialize): Instead of using
7768 `scoped-class' variable, use new eieio--scoped-class, and
7769 eieio--with-scoped-class.
7770 (initialize-instance): Rename local variable 'scoped-class' to
7771 'this-class' to remove ambiguitity from old global.
7772
7773 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7774 eieio.el.
7775 (eieio--scoped-class-stack): New variable.
7776 (eieio--scoped-class): New fcn.
7777 (eieio--with-scoped-class): New scoping macro.
7778 (eieio-defclass): Use pushnew instead of add-to-list.
7779 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7780 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7781 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7782 `scoped-class' variable, use new eieio--scoped-class, and
7783 eieio--with-scoped-class.
7784
7785 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7786
7787 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7788
7789 * eshell/esh-ext.el (eshell-external-command): Pass args to
7790 `eshell-find-interpreter'.
7791 (eshell-find-interpreter): Add new second parameter ARGS.
7792
7793 * eshell/em-script.el (eshell-script-initialize): Add second arg
7794 to the function added as MATCH to `eshell-interpreter-alist'.
7795
7796 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7797 the function added as MATCH to `eshell-interpreter-alist'.
7798
7799 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7800 (eshell-visual-options): New defcustom.
7801 (eshell-escape-control-x): Adapt docstring.
7802 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7803 `eshell-visual-options' in addition to `eshell-visual-commands'.
7804 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7805
7806 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7807
7808 * progmodes/python.el (python-indent-block-enders): Add break,
7809 continue and raise keywords.
7810
7811 2013-06-01 Glenn Morris <rgm@gnu.org>
7812
7813 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7814
7815 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7816 * progmodes/cc-cmds.el (delete-forward-p):
7817 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7818 * progmodes/cc-engine.el (buffer-syntactic-context):
7819 * progmodes/cc-fonts.el (face-property-instance):
7820 * progmodes/cc-mode.el (set-keymap-parents):
7821 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7822 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7823 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7824 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7825 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7826
7827 * progmodes/cc-vars.el (other): Emacs has this widget since
7828 at least 21.1, so don't (re)define it.
7829
7830 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7831 Replace the obsolete alias pcomplete-arg-quote-list.
7832
7833 2013-06-01 Leo Liu <sdl.web@gmail.com>
7834
7835 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7836 punctuation syntax.
7837 (inferior-octave-minimal-columns)
7838 (inferior-octave-last-column-width): New variables.
7839 (inferior-octave-track-window-width-change): New function.
7840 (inferior-octave-mode): Adjust column width so that Octave output,
7841 for example from 'ls', can fit into the window nicely.
7842
7843 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7844
7845 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7846 Highlight expansions inside regexp literals.
7847
7848 2013-05-31 Glenn Morris <rgm@gnu.org>
7849
7850 * obsolete/sym-comp.el (symbol-complete):
7851 Replace obsolete completion-annotate-function.
7852
7853 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7854
7855 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7856
7857 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7858 New function, checks if point is inside a literal that allows
7859 expression expansion.
7860 (ruby-syntax-propertize-expansion): Use it.
7861 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7862 around the body.
7863
7864 2013-05-30 Juri Linkov <juri@jurta.org>
7865
7866 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7867 to "\M-si".
7868 (isearch-invisible): New variable.
7869 (isearch-forward): Doc fix.
7870 (isearch-mode): Set `isearch-invisible'
7871 to the value of `search-invisible'.
7872 (isearch-toggle-case-fold): Doc fix.
7873 (isearch-toggle-invisible): New command.
7874 (isearch-query-replace): Let-bind `search-invisible'
7875 to the value of `isearch-invisible'.
7876 (isearch-search): Use `isearch-invisible' instead of
7877 `search-invisible'. Let-bind `search-invisible'
7878 to the value of `isearch-invisible'. (Bug#11378)
7879
7880 2013-05-30 Juri Linkov <juri@jurta.org>
7881
7882 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7883 call when `query-flag' is nil and `search-invisible' is non-nil.
7884 (Bug#11746)
7885
7886 2013-05-30 Glenn Morris <rgm@gnu.org>
7887
7888 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7889
7890 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7891 (cc-require): Suppress spurious "noruntime" warnings.
7892 (cc-require-when-compile): Use fboundp, for sake of compiler.
7893
7894 * progmodes/cc-mode.el: Move load of cc-vars before that of
7895 cc-langs (which in turn loads cc-vars), to quieten compiler.
7896
7897 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7898
7899 * paren.el: Simplify the code.
7900 (show-paren-mode): Always start the timer.
7901 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7902 (show-paren--overlay, show-paren--overlay-1): Rename from
7903 show-paren-overlay and show-paren-overlay-1, and initialize to an
7904 overlay rather than to nil.
7905 (show-paren-function): Misc cleanup and simplifications.
7906
7907 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7908
7909 * paren.el (show-paren-data-function): New hook.
7910 (show-paren--default): New function, extracted from show-paren-function.
7911 (show-paren-function): Use show-paren-data-function.
7912
7913 2013-05-30 Glenn Morris <rgm@gnu.org>
7914
7915 * ielm.el (ielm-map, ielm-complete-symbol):
7916 Use completion-at-point rather than obsolete functions.
7917 (inferior-emacs-lisp-mode): Doc fix.
7918 Set completion-at-point-functions, rather than
7919 comint-dynamic-complete-functions.
7920
7921 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7922 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7923 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7924
7925 * image.el (image-animated-p): Tweak definition.
7926
7927 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7928 (rlogin-process-connection-type): Tweak default. Add set-after.
7929 (rlogin-host): Doc fix.
7930 (rlogin): Tweak prompt.
7931 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7932
7933 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7934 * progmodes/tcl.el (inferior-tcl-mode-map):
7935 Use completion-at-point rather than obsolete alias.
7936
7937 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7938
7939 * minibuffer.el (read-file-name-completion-ignore-case):
7940 Move before completion--in-region, for eager macro expansion.
7941
7942 2013-05-29 Juri Linkov <juri@jurta.org>
7943
7944 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7945 for total count of matching lines. Add `global-matches' for total
7946 count of matches. Rename `matches' to `lines' for count of
7947 matching lines. Add `matches' for count of matches.
7948 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7949 to `prev-line' for line number of prev match endpt.
7950 Increment `matches' for every match. Print the number of
7951 matching lines in the header.
7952 (occur-context-lines): Rename `lines' to `curr-line'.
7953 Rename `prev-lines' to `prev-line'. (Bug#14017)
7954
7955 2013-05-29 Juri Linkov <juri@jurta.org>
7956
7957 * replace.el (perform-replace): Add `skip-read-only-count',
7958 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7959 Increment them for corresponding conditions and report the number
7960 of skipped occurrences in the final message. (Bug#11746)
7961 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7962 (replace-string, replace-regexp): Doc fix.
7963
7964 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7965
7966 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7967
7968 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7969 prog-mode-map (bug#14504).
7970
7971 2013-05-29 Leo Liu <sdl.web@gmail.com>
7972
7973 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7974 (octave-help): Small simplification.
7975
7976 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7977 off the highlight first.
7978
7979 2013-05-29 Glenn Morris <rgm@gnu.org>
7980
7981 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7982 Handle idlwave-last-system-routine-info-cons-cell being nil.
7983
7984 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7985 (idlwave-write-paths): Simplify via with-temp-buffer.
7986
7987 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7988 * emulation/cua-rect.el: Also load cua-base at run time.
7989
7990 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7991 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7992 (cperl-imenu-on-info): Require imenu.
7993
7994 2013-05-28 Alan Mackenzie <acm@muc.de>
7995
7996 Handle "capitalised keywords" correctly.
7997 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7998
7999 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8000
8001 * eshell/em-unix.el: Add -r option to cp.
8002
8003 2013-05-28 Glenn Morris <rgm@gnu.org>
8004
8005 * vc/vc-arch.el (vc-exec-after): Declare.
8006 (vc-switches): Autoload.
8007 * vc/vc-bzr.el: No need to require vc when compiling.
8008 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8009 (vc-resynch-buffer, vc-dir-refresh): Declare.
8010 (vc-setup-buffer, vc-switches): Autoload.
8011 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8012 (vc-resynch-buffer): Declare.
8013 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8014 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8015 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8016 (grep-read-regexp, grep-read-files, grep-expand-template)
8017 (vc-dir-refresh): Declare.
8018 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8019 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8020 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8021 * vc/vc-mtn.el (vc-exec-after): Declare.
8022 (vc-switches): Autoload.
8023 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8024 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8025 (vc-file-tree-walk): Declare.
8026 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8027 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8028 (vc-tag-precondition, vc-rename-master): Autoload.
8029 * vc/vc-svn.el (vc-exec-after): Declare.
8030 (vc-switches, vc-setup-buffer): Autoload.
8031 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8032 Autoload.
8033 (vc-resynch-buffer): Declare.
8034
8035 * obsolete/fast-lock.el (byte-compile-warnings):
8036 Don't warn about obsolete features in this obsolete file.
8037
8038 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8039 Move definition before use.
8040
8041 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8042 (dun-unix-verbs): Remove dun-zippy.
8043 (dun-zippy): Remove function.
8044
8045 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8046
8047 2013-05-27 Juri Linkov <juri@jurta.org>
8048
8049 * replace.el (replace-search): New function with code moved out
8050 from `perform-replace'.
8051 (replace-highlight, replace-dehighlight): Move function definitions
8052 up closer to `replace-search'. (Bug#11746)
8053
8054 2013-05-27 Juri Linkov <juri@jurta.org>
8055
8056 * replace.el (perform-replace): Ignore invisible matches.
8057 In addition to checking `query-replace-skip-read-only', also
8058 filter out matches by calling `run-hook-with-args-until-failure'
8059 on `isearch-filter-predicates', and also check `search-invisible'
8060 for t or call `isearch-range-invisible'.
8061 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8062
8063 2013-05-27 Juri Linkov <juri@jurta.org>
8064
8065 * isearch.el (isearch-filter-predicates): Rename from
8066 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8067 (isearch-message-prefix): Display text from the property
8068 `isearch-message-prefix' of the currently active filters.
8069 (isearch-search): Don't compare `isearch-filter-predicate' with
8070 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8071 on `isearch-filter-predicates'. Also check `search-invisible' for t
8072 or call `isearch-range-invisible'.
8073 (isearch-filter-visible): Make obsolete.
8074 (isearch-lazy-highlight-search):
8075 Call `run-hook-with-args-until-failure' on
8076 `isearch-filter-predicates' and use `isearch-range-invisible'.
8077
8078 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8079 `isearch-filter-predicates' instead of `funcall'ing
8080 `isearch-filter-predicate'.
8081 (Info-mode): Set `Info-isearch-filter' to
8082 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8083
8084 * dired-aux.el (dired-isearch-filter-predicate-orig):
8085 Remove variable.
8086 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8087 (dired-isearch-filenames-end): Add and remove
8088 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8089 instead of changing the value of `isearch-filter-predicate'.
8090 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8091 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8092 Put property `isearch-message-prefix' to "filename " on
8093 `dired-isearch-filter-filenames'.
8094
8095 * wdired.el (wdired-change-to-wdired-mode):
8096 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8097 locally instead of changing `isearch-filter-predicate'.
8098 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8099
8100 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8101
8102 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8103 return the commit hash (Bug#14459). Also set the
8104 `vc-git-detached' property.
8105 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8106 (vc-git-mode-line-string): Use the same help-echo format whether
8107 in detached mode or not, because we know the actual revision now.
8108 When in detached mode, shorten the revision to 7 chars.
8109
8110 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8111
8112 * emacs-lisp/easy-mmode.el (define-minor-mode):
8113 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8114 mode hook and provide a docstring.
8115
8116 2013-05-27 Alan Mackenzie <acm@muc.de>
8117
8118 Remove spurious syntax-table text properties inserted by C-y.
8119 * progmodes/cc-mode.el (c-after-change): Also clear hard
8120 syntax-table property with value nil.
8121
8122 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8123
8124 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8125 when reading the events; the buffer layout shall not be changed.
8126
8127 2013-05-27 Leo Liu <sdl.web@gmail.com>
8128
8129 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8130 New variable.
8131 (inferior-octave-directory-tracker): Automatically re-sync
8132 default-directory.
8133 (octave-help): Improve handling of 'See also'.
8134
8135 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8136
8137 * doc-view.el: Minor naming convention tweaks.
8138 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8139
8140 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8141 even if there's no `display' property yet (bug#14435).
8142
8143 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8144
8145 * subr.el (unmsys--file-name): Rename from reveal-filename.
8146
8147 * Makefile.in (custom-deps, finder-data, autoloads)
8148 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8149 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8150 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8151
8152 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8155 error-completion on the first 2 args of condition-case (bug#14446).
8156 Don't burp at EOB.
8157
8158 2013-05-25 Leo Liu <sdl.web@gmail.com>
8159
8160 * comint.el (comint-previous-matching-input): Do not flood the
8161 *Messages* buffer with trivial messages.
8162
8163 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8164
8165 * progmodes/flymake.el (flymake-nop): Don't return a string.
8166 (flymake-set-at): Fix typo.
8167
8168 * simple.el (read--expression): New function, extracted from
8169 eval-expression. Set completion-at-point-functions (bug#14465).
8170 (eval-expression, eval-minibuffer): Use it.
8171
8172 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8173
8174 * progmodes/flymake.el (flymake-save-buffer-in-file)
8175 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8176 (flymake-selected-frame, flymake-log, flymake-ins-after)
8177 (flymake-set-at, flymake-get-buildfile-from-cache)
8178 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8179 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8180 Refine the doc string.
8181 (flymake-get-file-name-mode-and-masks): Reformat.
8182 (flymake-get-real-file-name-function): Fix a minor bug.
8183
8184 2013-05-24 Juri Linkov <juri@jurta.org>
8185
8186 * progmodes/grep.el (grep-mode-font-lock-keywords):
8187 Support =linenumber= format used by git-grep for lines with
8188 function names. (Bug#13549)
8189
8190 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8191
8192 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8193 0 after a semi-colon; it works better for smie-auto-fill.
8194 (octave--indent-new-comment-line): New function.
8195 (octave-indent-new-comment-line): Use it (indirectly).
8196 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8197 modify comment-line-break-function.
8198
8199 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8200 (smie-setup): Use add-function to set it.
8201
8202 2013-05-24 Sam Steingold <sds@gnu.org>
8203
8204 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8205 argument (before the `interactive' argument).
8206
8207 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8208
8209 * image-mode.el (image-mode-winprops): Add winprops to
8210 image-mode-winprops-alist before running
8211 image-mode-new-window-functions.
8212 * doc-view.el (doc-view-new-window-function): Don't delay
8213 doc-view-goto-page via timers (bug#14435).
8214
8215 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8216
8217 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8218 (doc-view-desktop-save-buffer): New function.
8219 (doc-view-restore-desktop-buffer): New function.
8220 (desktop-buffer-mode-handlers):
8221 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8222 handler.
8223 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8224 `desktop-save-buffer' function.
8225
8226 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8227
8228 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8229 (tramp-gvfs-file-name-handler): Raise a user error when
8230 `tramp-gvfs-enabled' is nil.
8231 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8232 Do not raise a user error when loading package. (Bug#14447)
8233
8234 * net/xesam.el: Move to obsolete/.
8235
8236 2013-05-24 Glenn Morris <rgm@gnu.org>
8237
8238 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8239
8240 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8241
8242 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8243 (Info-find-node, Man-getpage-in-background): Declare.
8244
8245 * mail/unrmail.el (unrmail):
8246 Replace obsolete detect-coding-with-priority.
8247
8248 * net/socks.el (socks-split-string): Use this rather than split-string.
8249 (socks-nslookup-host): Update for above change.
8250 (dynamic-choice, s5-dynamic-choice-match)
8251 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8252 Comment out unused code.
8253
8254 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8255 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8256 (gud-tooltip-echo-area): Make obsolete.
8257 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8258
8259 * progmodes/js.el (js--optimize-arglist): Declare.
8260
8261 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8262
8263 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8264 (ediff-window-C): Declare.
8265
8266 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8267 Tweak requires to silence compiler.
8268
8269 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8270 (he-search-string, he-tried-table, he-expand-list)
8271 (he-init-string, he-string-member, he-substitute-string)
8272 (he-reset-string): Declare.
8273
8274 * obsolete/options.el (list-options): Use custom-variable-p,
8275 rather than obsolete alias.
8276
8277 2013-05-23 Sam Steingold <sds@gnu.org>
8278
8279 * simple.el (shell-command-on-region): Pass the `replace' argument
8280 down to `call-process-region' to comply with the doc as reported on
8281 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8282
8283 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 * emacs-lisp/smie.el (smie-indent-forward-token)
8286 (smie-indent-backward-token): Handle string tokens (bug#14381).
8287
8288 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8289
8290 * ielm.el (ielm-menu): New menu.
8291 (inferior-emacs-lisp-mode): Set comment-start.
8292
8293 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8294
8295 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8296 Fix deactivate action.
8297
8298 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8299 Add cleveref macros.
8300
8301 * lisp/textmodes/reftex-parse.el
8302 (reftex-locate-bibliography-files): Accept options for
8303 bibliography commands.
8304 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8305 Add addbibresource. Basic Biblatex support.
8306
8307 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8308
8309 * net/tramp-gvfs.el (top):
8310 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8311 when loading package. (Bug#14447)
8312
8313 2013-05-23 Glenn Morris <rgm@gnu.org>
8314
8315 * progmodes/js.el: No need to load comint when compiling.
8316 (ring-insert, comint-send-string, comint-send-input)
8317 (comint-last-input-end, ido-chop): Declare.
8318
8319 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8320 * vc/ediff-mult.el: Adjust requires.
8321 (ediff-directories-internal, ediff-directory-revisions-internal)
8322 (ediff-patch-file-internal): Declare.
8323 * vc/ediff-ptch.el: Adjust requires.
8324 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8325 (ediff-find-file): Autoload.
8326 * vc/ediff-util.el: No need to load ediff when compiling.
8327 (ediff-regions-internal): Declare.
8328 * vc/ediff-wind.el: Adjust requires.
8329 (ediff-compute-toolbar-width): Define when compiling.
8330 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8331 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8332 (dired-get-filename, dired-get-marked-files)
8333 (ediff-last-dir-patch, ediff-patch-default-directory)
8334 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8335 (ediff-patch-buffer-internal): Declare.
8336
8337 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8338 (ispell-process, ispell-buffer-local-words, lm-summary)
8339 (lm-section-start, lm-section-end): Declare.
8340 (checkdoc-ispell-init): Simplify.
8341
8342 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8343 (he-string-member, he-reset-string, he-substitute-string): Declare.
8344
8345 * eshell/em-ls.el: Adjust requires.
8346 (eshell-glob-regexp): Declare.
8347 * eshell/em-tramp.el: Adjust requires.
8348 (eshell-parse-command): Autoload.
8349 * eshell/em-xtra.el: Adjust requires.
8350 (eshell-parse-command): Autoload.
8351 * eshell/esh-ext.el: Adjust requires.
8352 (eshell-parse-command, eshell-close-handles): Autoload.
8353 * eshell/esh-io.el: Adjust requires.
8354 (eshell-output-filter): Autoload.
8355 * eshell/esh-util.el: No need to load tramp when compiling.
8356 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8357 Declare.
8358 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8359 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8360 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8361 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8362 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8363 * eshell/esh-opt.el, eshell/esh-proc.el:
8364 * eshell/esh-var.el: Adjust requires.
8365 * eshell/eshell.el: Do not require esh-util twice.
8366 (eshell-add-input-to-history): Declare.
8367 (eshell-command): Check history module is active before using it.
8368
8369 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8370
8371 2013-05-22 Leo Liu <sdl.web@gmail.com>
8372
8373 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8374
8375 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8376
8377 * autorevert.el (auto-revert-notify-add-watch)
8378 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8379 it indicates changes in file modification time.
8380
8381 2013-05-22 Glenn Morris <rgm@gnu.org>
8382
8383 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8384 Always delete the autoloaded function from the noruntime and
8385 unresolved functions lists.
8386
8387 * allout.el: No need to load epa, epg, overlay when compiling.
8388 (epg-context-set-passphrase-callback, epg-list-keys)
8389 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8390 (epg-key-user-id-list): Declare.
8391
8392 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8393 (viper-set-parsing-style-toggling-macro)
8394 (viper-set-emacs-state-searchstyle-macros):
8395 Use called-interactively-p on Emacs.
8396 (viper-looking-back): Make it an obsolete alias. Update callers.
8397 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8398 Use looking-back rather than viper-looking-back.
8399 (viper-tmp-insert-at-eob, viper-enlarge-region)
8400 (viper-read-string-with-history, viper-register-to-point)
8401 (viper-append-to-register, viper-change-state-to-vi)
8402 (viper-backward-char-carefully, viper-forward-char-carefully)
8403 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8404 (viper-change-state-to-emacs): Declare.
8405 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8406 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8407 * emulation/viper-mous.el: Do not load viper-cmd.
8408 (viper-backward-char-carefully, viper-forward-char-carefully)
8409 (viper-forward-word, viper-adjust-window): Declare.
8410
8411 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8412
8413 * progmodes/idlw-help.el (idlwave-help-fontify):
8414 Use called-interactively-p.
8415
8416 * term/w32console.el (w32-get-console-codepage)
8417 (w32-get-console-output-codepage): Declare.
8418
8419 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8420 Remove unnecessary declarations.
8421 (dframe-message): Doc fix.
8422
8423 * info.el (dframe-select-attached-frame, dframe-current-frame):
8424 Declare.
8425
8426 * speedbar.el (speedbar-message): Make it an obsolete alias.
8427 Update all callers.
8428 (speedbar-with-attached-buffer)
8429 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8430 (speedbar-with-writable): Use backquote.
8431 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8432 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8433 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8434 rather than speedbar- aliases.
8435 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8436 (speedbar-make-specialized-keymap, speedbar-insert-button)
8437 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8438 (speedbar-do-function-pointer): Declare.
8439 (rmail-speedbar-button, rmail-speedbar-find-file)
8440 (rmail-speedbar-move-message):
8441 Use dframe-with-attached-buffer rather than speedbar- alias.
8442 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8443 (dframe-message, speedbar-make-specialized-keymap)
8444 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8445 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8446 (speedbar-insert-button, dframe-select-attached-frame)
8447 (dframe-maybee-jump-to-attached-frame)
8448 (speedbar-change-initial-expansion-list)
8449 (speedbar-previously-used-expansion-list-name): Declare.
8450 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8451 Use dframe-message, dframe-with-attached-buffer rather than
8452 speedbar- aliases.
8453 (gud-sentinel): Silence compiler.
8454 * progmodes/vhdl-mode.el (speedbar-refresh)
8455 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8456 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8457 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8458 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8459 (speedbar-file-lists, speedbar-make-tag-line)
8460 (speedbar-line-directory, speedbar-goto-this-file)
8461 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8462 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8463 (speedbar-make-button, speedbar-reset-scanners)
8464 (speedbar-files-item-info, speedbar-line-text)
8465 (speedbar-find-file-in-frame, speedbar-set-timer)
8466 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8467 (speedbar-with-writable): Do not (re)define it.
8468 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8469 rather than speedbar- alias.
8470
8471 2013-05-21 Leo Liu <sdl.web@gmail.com>
8472
8473 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8474 menu items.
8475 (octave-mode): Tweak fill-nobreak-predicate.
8476 (inferior-octave-startup): Check process to avoid infinite loop.
8477 (inferior-octave): Pop to buffer first to show abornmal process
8478 exit information.
8479
8480 2013-05-21 Glenn Morris <rgm@gnu.org>
8481
8482 * printing.el (pr-menu-bar): Define when compiling.
8483
8484 2013-05-21 Leo Liu <sdl.web@gmail.com>
8485
8486 * progmodes/octave.el (octave-auto-fill): Remove.
8487 (octave-indent-new-comment-line): Improve.
8488 (octave-mode): Use auto fill mode through
8489 comment-line-break-function and fill-nobreak-predicate.
8490 (octave-goto-function-definition): Support DEFUN_DLD.
8491 (octave-beginning-of-defun): Small tweak.
8492 (octave-help): Show parent directory.
8493
8494 2013-05-21 Glenn Morris <rgm@gnu.org>
8495
8496 * files.el (dired-unmark):
8497 * progmodes/gud.el (gdb-input): Update declarations.
8498
8499 * calculator.el (electric, ehelp): No need to load when compiling.
8500 (Electric-command-loop, electric-describe-mode): Declare.
8501
8502 * doc-view.el (doc-view-current-converter-processes): Move before use.
8503
8504 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8505 Move MODE-set-explicitly definition before use.
8506
8507 * international/mule-diag.el (mule-diag):
8508 Don't use obsolete window-system-version.
8509
8510 * mail/feedmail.el (smtpmail): No need to load when compiling.
8511 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8512
8513 * mail/mail-utils.el (rfc822): No need to load when compiling.
8514 (rfc822-addresses): Autoload it.
8515 (mail-strip-quoted-names): Trivial simplification.
8516
8517 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8518 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8519
8520 * net/snmp-mode.el (tempo): Don't duplicate requires.
8521
8522 * progmodes/prolog.el (info): No need to load when compiling.
8523 (comint): Require before shell requires it.
8524 (Info-goto-node): Autoload it.
8525 (Info-follow-nearest-node): Declare.
8526 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8527
8528 * textmodes/artist.el (picture-mode-exit): Declare.
8529
8530 * textmodes/reftex-parse.el (reftex-parse-from-file):
8531 Trivial rewrite so the compiler can parse it better.
8532
8533 2013-05-20 Leo Liu <sdl.web@gmail.com>
8534
8535 * progmodes/octave.el (octave-help-mode-map)
8536 (octave-help-mode-finish-hook): New variables.
8537 (octave-help-mode, octave-help-mode-finish): New functions.
8538 (octave-help): Use octave-help-mode.
8539
8540 2013-05-20 Glenn Morris <rgm@gnu.org>
8541
8542 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8543
8544 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8545
8546 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8547 start at point, so that expansion starting right after opening
8548 slash in a regexp is recognized.
8549 (ruby-syntax-before-regexp-re): New defvar, extracted from
8550 ruby-syntax-propertize-function. Since the value of this regexp
8551 is looked up at runtime now, we should be able to turn
8552 `ruby-syntax-methods-before-regexp' into a defcustom later.
8553 (ruby-syntax-propertize-function): Split regexp matching into two
8554 parts, for opening and closing slashes. That allows us to skip
8555 over string interpolations and support multiline regexps.
8556 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8557 for them, which calls `ruby-syntax-propertize-expansion'.
8558 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8559 call to `ruby-syntax-propertize-function'.
8560 (ruby-syntax-propertize-expansion): Extracted from
8561 `ruby-syntax-propertize-expansions'. Handles one expansion.
8562 (ruby-syntax-propertize-percent-literal): Leave point right after
8563 the percent symbol, so that the expression expansion rule can
8564 propertize the contents.
8565 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8566 heredoc openers.
8567 (ruby-syntax-propertize-expansions): Remove.
8568
8569 2013-05-18 Juri Linkov <juri@jurta.org>
8570
8571 * man.el (Man-default-man-entry): Remove `-' from the end
8572 of the default value. (Bug#14400)
8573
8574 2013-05-18 Glenn Morris <rgm@gnu.org>
8575
8576 * comint.el (comint-password-prompt-regexp):
8577 Allow "password for XXX" where XXX contains colons (eg https://...).
8578
8579 2013-05-18 Leo Liu <sdl.web@gmail.com>
8580
8581 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8582 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8583 (octave-source-directories): Don't check process.
8584 (octave-source-directories, octave-find-definition): Doc fix.
8585
8586 2013-05-18 Glenn Morris <rgm@gnu.org>
8587
8588 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8589 Remove backspace/delete bindings. (Bug#14392)
8590
8591 * cus-dep.el (custom-make-dependencies): Sort the output.
8592 (custom-versions-load-alist): Convert comment to doc.
8593
8594 2013-05-17 Leo Liu <sdl.web@gmail.com>
8595
8596 * newcomment.el (comment-search-backward): Stricter in finding
8597 comment start. (Bug#14303)
8598
8599 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8600 (octave-comment-start-skip): Properly anchored.
8601
8602 2013-05-17 Leo Liu <sdl.web@gmail.com>
8603
8604 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8605 Clean up when turned off. (Bug#14395)
8606 (smie--highlight-matching-block-overlay): No longer buffer-local.
8607 (smie-highlight-matching-block): Adjust.
8608
8609 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8610
8611 Doc string fix for "nanoseconds" (Bug#14406).
8612 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8613 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8614
8615 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8616
8617 * calc/calc-units.el (math-extract-units): Preserve powers
8618 of units.
8619
8620 2013-05-17 Leo Liu <sdl.web@gmail.com>
8621
8622 * subr.el (delete-consecutive-dups): New function.
8623 * ido.el (ido-set-matches-1): Use it.
8624 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8625 * ido.el (ido-remove-consecutive-dups): Remove.
8626
8627 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8628
8629 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8630 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8631 regexp-opt's `words'.
8632
8633 2013-05-16 Leo Liu <sdl.web@gmail.com>
8634
8635 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8636 (smie--highlight-matching-block-overlay)
8637 (smie--highlight-matching-block-lastpos)
8638 (smie--highlight-matching-block-timer): New variables.
8639 (smie-highlight-matching-block): New function.
8640 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8641 (smie-setup): Conditionally enable smie-blink-matching-open.
8642
8643 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8644
8645 Sync with upstream verilog-mode r840.
8646 * progmodes/verilog-mode.el (verilog-mode-version)
8647 (verilog-mode-release-date): Update.
8648 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8649 (verilog-sig-tieoff): Fix string error on
8650 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8651 (verilog-read-decls): Fix parameters confusing
8652 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8653
8654 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8655
8656 * subr.el (reveal-filename): New function.
8657
8658 * loadup.el: Compute Emacs executable versions on MS-Windows,
8659 where executables have the .exe extension. Add a hard link
8660 emacs-XX.YY.ZZ.exe on MS-Windows.
8661
8662 * Makefile.in (XARGS_LIMIT): New variable.
8663 (custom-deps, finder-data, autoloads)
8664 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8665 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8666 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8667 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8668
8669 2013-05-16 Leo Liu <sdl.web@gmail.com>
8670
8671 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8672 (octave-mode-menu, octave-mode-map): Remove its uses.
8673
8674 2013-05-16 Reto Zimmermann <reto@gnu.org>
8675
8676 Sync with upstream vhdl mode v3.34.2.
8677 * progmodes/vhdl-mode.el: Use `push' throughout.
8678 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8679 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8680 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8681 (vhdl-actual-generic-name): New option to derive actual generic name.
8682 (vhdl-port-paste-signals): Replace formal by actual generics.
8683 (vhdl-beautify): New name for old group vhdl-align. Update users.
8684 (vhdl-beautify-options): New option.
8685 (vhdl-last-input-event): New compat alias. Use throughout.
8686 (vhdl-goto-line): Replace user level function `goto-line'.
8687 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8688 vhdl-fix-statement-buffer.
8689 (vhdl-create-mode-menu): Add some entries.
8690 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8691 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8692 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8693 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8694 to force statements on one line.
8695 (vhdl-remove-trailing-spaces-region):
8696 New, split from vhdl-remove-trailing-spaces.
8697 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8698 Respect vhdl-beautify-options.
8699 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8700 (vhdl-update-sensitivity-list): Not add with index if exists without.
8701 Not include array index with signal. Ignore keywords in comments.
8702 (vhdl-get-visible-signals): Regexp tweaks.
8703 (vhdl-template-component-inst): Handle empty library.
8704 (vhdl-template-type): Add template for 'enum' type.
8705 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8706 Use vhdl-replace-string.
8707 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8708 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8709 (vhdl-speedbar-initialize): Update for above name change.
8710 (vhdl-compose-wire-components): Fix in handling of constants.
8711 (vhdl-error-regexp-emacs-alist): New variable.
8712 (vhdl-error-regexp-add-emacs): New function;
8713 adds support for new compile.el (Emacs 22+)
8714 (vhdl-generate-makefile-1): Change target order for single lib. units.
8715 Allow use of absolute file names.
8716
8717 2013-05-16 Leo Liu <sdl.web@gmail.com>
8718
8719 * simple.el (prog-indent-sexp): Indent enclosing defun.
8720
8721 2013-05-15 Glenn Morris <rgm@gnu.org>
8722
8723 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8724 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8725 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8726 (whitespace-highlight): Move to whitespace group.
8727
8728 * comint.el (comint-source):
8729 * pcmpl-linux.el (pcmpl-linux):
8730 * shell.el (shell-faces):
8731 * eshell/esh-opt.el (eshell-opt):
8732 * international/ccl.el (ccl): Remove empty custom groups.
8733
8734 * completion.el (dynamic-completion-mode):
8735 * jit-lock.el (jit-lock-debug-mode):
8736 * minibuffer.el (completion-in-region-mode):
8737 * type-break.el (type-break-mode-line-message-mode)
8738 (type-break-query-mode):
8739 * emulation/tpu-edt.el (tpu-edt-mode):
8740 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8741 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8742 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8743
8744 * term/xterm.el (xterm): Change parent group to terminals.
8745
8746 * master.el (master): Remove empty custom group.
8747 (master-mode): Remove unused :group argument.
8748 * textmodes/refill.el (refill): Remove empty custom group.
8749 (refill-mode): Remove unused :group argument.
8750
8751 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8752
8753 * cus-dep.el: Provide a feature.
8754 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8755 Don't mistakenly ignore files whose basenames match a basename
8756 from preloaded-file-list (eg cedet/ede/simple.el).
8757 Add a fallback method for getting :group.
8758
8759 2013-05-15 Juri Linkov <juri@jurta.org>
8760
8761 * isearch.el (isearch-char-by-name): Rename from
8762 `isearch-insert-char-by-name'. Doc fix.
8763 (isearch-forward): Mention `isearch-char-by-name' in
8764 the docstring. (Bug#13348)
8765
8766 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8767 `exit-minibuffer' instead of
8768 `isearch-nonincremental-exit-minibuffer'.
8769 (isearch-edit-string): Remove mention of
8770 `isearch-nonincremental-exit-minibuffer' from docstring.
8771 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8772 (isearch-forward-exit-minibuffer)
8773 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8774
8775 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8776
8777 * loadup.el: Just use unversioned DOC.
8778
8779 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8780 literals as extending to EOB.
8781 (nxml-last-fontify-end): Remove unused variable.
8782 (nxml-after-change1): Use with-silent-modifications.
8783 (nxml-extend-after-change-region): Simplify.
8784 (nxml-extend-after-change-region1): Remove function.
8785 (nxml-after-change1): Don't adjust for dependent regions.
8786 (nxml-fontify-matcher): Simplify.
8787 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8788 (xmltok-add-dependent): Remove function.
8789 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8790 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8791 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8792 unclosed <[[, <?, comment, and other literals as extending to EOB.
8793 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8794 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8795 Remove functions.
8796 (rng-do-some-validation-1): Don't mark dependent regions.
8797 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8798 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8799 (nxml-clear-dependent-regions): Remove functions.
8800 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8801 (nxml-ensure-scan-up-to-date):
8802 Don't clear&mark dependent regions.
8803
8804 2013-05-15 Leo Liu <sdl.web@gmail.com>
8805
8806 * progmodes/octave.el (octave-goto-function-definition):
8807 Improve and fix callers.
8808
8809 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8812 the setter (bug#14387).
8813
8814 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8815 surrounding group (bug#14402).
8816
8817 2013-05-14 Juri Linkov <juri@jurta.org>
8818
8819 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8820 (Bug#14390)
8821
8822 2013-05-14 Glenn Morris <rgm@gnu.org>
8823
8824 * progmodes/f90.el (f90-imenu-generic-expression):
8825 Fix typo in 2013-05-08 change. (Bug#14402)
8826
8827 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8828
8829 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8830 Remove signals for which replies are never received.
8831
8832 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8833
8834 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8835 (gdb-handler-alist, gdb-handler-number): Remove variables.
8836 (gdb-handler-list): New variable.
8837 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8838 (gdb-pending-handler-p, gdb-handle-reply)
8839 (gdb-remove-all-pending-triggers): New functions.
8840 (gdb-discard-unordered-replies): New defcustom.
8841 (gdb-handler): New defstruct.
8842 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8843 instead of gdb-pending-triggers. Update docstring.
8844 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8845 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8846 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8847 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8848 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8849 (gdb-frame-handler): Pending triggers are now automatically managed.
8850 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8851 Remove argument.
8852 (gdb-input): Automatically handles pending triggers. Update docstring.
8853 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8854 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8855 Update comments.
8856 (gdb-done-or-error): Now use gdb-handle-reply.
8857
8858 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8859
8860 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8861 gdb-debug-log.
8862
8863 2013-05-14 Glenn Morris <rgm@gnu.org>
8864
8865 * subr.el (user-emacs-directory-warning): New option.
8866 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8867
8868 2013-05-14 Leo Liu <sdl.web@gmail.com>
8869
8870 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8871 during redisplay.
8872 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8873 (octave-font-lock-texinfo-comment): Fix invalid search bound
8874 error: wrong side of point.
8875
8876 2013-05-14 Glenn Morris <rgm@gnu.org>
8877
8878 * progmodes/flymake.el (flymake-xml-program): New option.
8879 (flymake-xml-init): Use it.
8880
8881 * term/xterm.el: Provide a feature.
8882
8883 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8884
8885 2013-05-13 Glenn Morris <rgm@gnu.org>
8886
8887 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8888 Add compat aliases as a hack workaround. (Bug#14384)
8889
8890 2013-05-13 Leo Liu <sdl.web@gmail.com>
8891
8892 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8893 ###, and %!.
8894 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8895 C-M-q.
8896 (octave-comment-start-skip): Include %!.
8897 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8898
8899 2013-05-12 Leo Liu <sdl.web@gmail.com>
8900
8901 * progmodes/octave.el (inferior-octave-startup): Store the value
8902 of __octave_srcdir__ for octave-source-directories.
8903 (inferior-octave-check-process): New function refactored out of
8904 inferior-octave-send-list-and-digest.
8905 (octave-source-directories)
8906 (octave-find-definition-filename-function): New variables.
8907 (octave-source-directories)
8908 (octave-find-definition-default-filename): New functions.
8909 (octave-find-definition): Improve to find functions implemented in C++.
8910
8911 2013-05-12 Glenn Morris <rgm@gnu.org>
8912
8913 * calendar/diary-lib.el (diary-outlook-format-1):
8914 Don't include dayname in the output. (Bug#14349)
8915
8916 2013-05-11 Glenn Morris <rgm@gnu.org>
8917
8918 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8919
8920 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8921 Treat cc-provide like provide.
8922
8923 2013-05-11 Kevin Ryde <user42@zip.com.au>
8924
8925 * cus-dep.el (custom-make-dependencies):
8926 Use generated-autoload-load-name for the sake of files such
8927 such cedet/semantic/bovine/c.el, where the base file name
8928 is not in load-path. (Bug#5277)
8929
8930 2013-05-11 Glenn Morris <rgm@gnu.org>
8931
8932 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8933 Provide features.
8934
8935 2013-05-11 Leo Liu <sdl.web@gmail.com>
8936
8937 * progmodes/octave.el (octave-indent-comment): Improve.
8938 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8939 (octave-eldoc-function-signatures, octave-eldoc-function):
8940 New functions.
8941 (octave-mode, inferior-octave-mode): Add eldoc support.
8942
8943 2013-05-11 Richard Stallman <rms@gnu.org>
8944
8945 * epa.el (epa-decrypt-file): Take output file name as argument
8946 and read it using `interactive'.
8947
8948 2013-05-11 Leo Liu <sdl.web@gmail.com>
8949
8950 * progmodes/octave.el (octave-beginning-of-line)
8951 (octave-end-of-line): Check before using up-list because it jumps
8952 out of more syntactic contructs since moving to smie.
8953 (octave-indent-comment): New function.
8954 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8955 (octave-begin-keywords, octave-end-keywords)
8956 (octave-reserved-words, octave-smie-bnf-table)
8957 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8958
8959 2013-05-11 Glenn Morris <rgm@gnu.org>
8960
8961 * faces.el (internal-face-x-get-resource):
8962 * frame.el (ns-display-monitor-attributes-list):
8963 * calc/calc-aent.el (math-to-radians-2):
8964 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8965 Fix declarations.
8966
8967 * calc/calc-menu.el: Make it loadable in isolation.
8968
8969 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8970 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8971 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8972 (eudc-bbdb-query-internal): Require 'bbdb.
8973
8974 * lpr.el (lpr-headers-switches):
8975 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8976
8977 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8978
8979 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8980
8981 * term.el (term-set-escape-char): Make it idempotent.
8982
8983 2013-05-10 Leo Liu <sdl.web@gmail.com>
8984
8985 * progmodes/octave.el (inferior-octave-completion-table):
8986 No longer a function and all uses changed. Use cache to speed up
8987 completion due to bug#11906.
8988 (octave-beginning-of-defun): Re-write to be more general.
8989
8990 2013-05-10 Glenn Morris <rgm@gnu.org>
8991
8992 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8993
8994 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8995
8996 * comint.el (comint-redirect-send-command-to-process): Use :around
8997 rather than :override for comint-redirect-filter.
8998 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8999 Call it instead of comint-redirect-original-filter-function (which
9000 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9001
9002 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9003
9004 * frame.el (display-monitor-attributes-list): Add NS case.
9005 (ns-display-monitor-attributes-list): Declare.
9006
9007 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9008
9009 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9010
9011 2013-05-09 Glenn Morris <rgm@gnu.org>
9012
9013 * international/fontset.el (vertical-centering-font-regexp):
9014 Set standard-value.
9015
9016 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9017
9018 * bookmark.el (bookmark-search-delay):
9019 * cus-start.el (vertical-centering-font-regexp):
9020 * ps-mule.el (ps-mule-font-info-database-default):
9021 * ps-print.el (ps-default-fg, ps-default-bg):
9022 * type-break.el (type-break-good-break-interval):
9023 * whitespace.el (whitespace-indentation-regexp)
9024 (whitespace-space-after-tab-regexp):
9025 * emacs-lisp/testcover.el (testcover-1value-functions)
9026 (testcover-noreturn-functions, testcover-progn-functions)
9027 (testcover-prog1-functions):
9028 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9029 * eshell/em-glob.el (eshell-glob-translate-alist):
9030 * play/tetris.el (tetris-tty-colors):
9031 * progmodes/cpp.el (cpp-face-default-list):
9032 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9033 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9034 (idlwave-help-browser-generic-args):
9035 * progmodes/make-mode.el (makefile-special-targets-list):
9036 * progmodes/python.el (python-shell-virtualenv-path):
9037 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9038 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9039 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9040 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9041 * textmodes/reftex-vars.el (reftex-format-label-function):
9042 * textmodes/remember.el (remember-diary-file): Fix custom types.
9043
9044 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9045 Add :version.
9046
9047 2013-05-09 Leo Liu <sdl.web@gmail.com>
9048
9049 * progmodes/octave.el (inferior-octave-completion-at-point):
9050 Restore file completion. (Bug#14300)
9051 (inferior-octave-startup): Fix incorrect highlighting for the
9052 first prompt.
9053
9054 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9055
9056 * progmodes/ruby-mode.el: First cut at SMIE support.
9057 (ruby-use-smie): New var.
9058 (ruby-smie-grammar): New constant.
9059 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9060 (ruby-smie--forward-token, ruby-smie--backward-token)
9061 (ruby-smie-rules): New functions.
9062 (ruby-mode-variables): Setup SMIE if applicable.
9063
9064 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9065
9066 * simple.el (line-move-visual): Signal beginning/end of buffer
9067 only if vertical-motion moved less than it was requested. Avoids
9068 silly incorrect error messages when there are display strings with
9069 multiple newlines at EOL.
9070
9071 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9072
9073 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9074 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9075 (prolog-char-quote-workaround):
9076 * progmodes/cperl-mode.el (cperl-under-as-char):
9077 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9078 Mark as obsolete.
9079 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9080 their declaration.
9081 (vhdl-mode-syntax-table-init): Remove.
9082
9083 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9084 last change.
9085
9086 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9087 syntax for "_".
9088 (ld-script-font-lock-keywords):
9089 Change regexps to use things like \_< and \_>.
9090
9091 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9092 Change all regexps to use things like \_< and \_>.
9093
9094 * progmodes/autoconf.el (autoconf-definition-regexp)
9095 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9096 Handle a _ with symbol syntax.
9097 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9098
9099 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9100 Consolidate declaration.
9101 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9102 the declaration.
9103 (ada-create-syntax-table): Remove.
9104 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9105 already has the right syntax nowadays.
9106 (ada-goto-next-word): Don't change the syntax of "_".
9107
9108 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9109 with-wrapper-hook.
9110
9111 2013-05-08 Sam Steingold <sds@gnu.org>
9112
9113 * thingatpt.el (thing-at-point): Accept optional second argument
9114 NO-PROPERTIES to strip the text properties from the return value.
9115 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9116 to `thing-at-point' instead of stripping the properties ourselves.
9117 Also, when `thing-at-point' fails to find a url, prepend "http://"
9118 to the filename at point on the assumption that the user is
9119 pointing at something like gnu.org/gnu.
9120
9121 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9122
9123 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9124 * faces.el (crm-separator):
9125 Silence byte-compiler.
9126
9127 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9128 (tool-bar-map): Remove unneeded defvars.
9129
9130 2013-05-08 Leo Liu <sdl.web@gmail.com>
9131
9132 Re-work a fix for bug#10994 based on Le Wang's patch.
9133 * ido.el (ido-remove-consecutive-dups): New helper.
9134 (ido-completing-read): Use it.
9135 (ido-chop): Revert fix for bug#10994.
9136
9137 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9138
9139 * cus-edit.el (custom-save-variables):
9140 Pretty-print long values. (Bug#14187)
9141
9142 2013-05-08 Glenn Morris <rgm@gnu.org>
9143
9144 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9145 (m4-mode-syntax-table): Init in the defvar.
9146 (m4-mode-abbrev-table): Let define-derived-mode define it.
9147
9148 2013-05-08 Tom Tromey <tromey@redhat.com>
9149
9150 * progmodes/m4-mode.el (m4-mode-syntax-table):
9151 Do not treat "_" as word constituent. (Bug#14167)
9152
9153 2013-05-07 Glenn Morris <rgm@gnu.org>
9154
9155 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9156 Remove explicit eshell-isearch-cancel-map.
9157
9158 * progmodes/f90.el (f90-smart-end-names): New option.
9159 (f90-smart-end): Doc fix.
9160 (f90-end-block-optional-name): New constant.
9161 (f90-block-match): Respect f90-smart-end-names.
9162
9163 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9164
9165 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9166 about implicit semi-colons (bug#14218).
9167
9168 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9169
9170 * frame.el (display-monitor-attributes-list)
9171 (frame-monitor-attributes): New functions.
9172
9173 2013-05-06 Leo Liu <sdl.web@gmail.com>
9174
9175 * progmodes/octave.el (octave-syntax-propertize-function): Change
9176 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9177 (octave-font-lock-keywords): Use octave-operator-regexp.
9178 (octave-completion-at-point): Rename from
9179 octave-completion-at-point-function.
9180 (inferior-octave-directory-tracker): Robustify.
9181 (octave-text-functions): Remove and fix its uses. No such things
9182 any more.
9183
9184 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9185
9186 * emacs-lisp/trace.el (trace--display-buffer): New function.
9187 (trace-make-advice): Use it.
9188
9189 2013-05-06 Juri Linkov <juri@jurta.org>
9190
9191 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9192 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9193 Doc fix.
9194 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9195 in the help string. (Bug#12985)
9196
9197 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9198
9199 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9200
9201 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9202
9203 * progmodes/perl-mode.el: Add support for here documents.
9204 (perl-syntax-propertize-function): Match here-doc markers.
9205 (perl-syntax-propertize-special-constructs): Find their end.
9206 (perl-imenu-generic-expression): Use [:alnum:].
9207
9208 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9209 (advice--add-function): Refresh the advice if already present
9210 (bug#14317).
9211
9212 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9213
9214 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9215
9216 2013-05-06 Glenn Morris <rgm@gnu.org>
9217
9218 * w32-fns.el (w32-charset-info-alist): Declare.
9219
9220 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9221 of its defcustom properties.
9222 (eshell-cmpl-initialize): No need to load pcomplete.
9223
9224 * generic-x.el: No need to require comint when compiling.
9225
9226 * net/eudc-export.el: Make it loadable without bbdb.
9227 (top-level): Use require rather than load-library.
9228 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9229 (eudc-batch-export-records-to-bbdb)
9230 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9231 Require bbdb.
9232
9233 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9234
9235 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9236 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9237 some tweaks, instead.
9238
9239 2013-05-05 Leo Liu <sdl.web@gmail.com>
9240
9241 * progmodes/octave.el (octave-font-lock-keywords)
9242 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9243 (inferior-octave-send-list-and-digest): Improve error message.
9244 (octave-mode, inferior-octave-mode): Use setq-local.
9245 (octave-help): Set info-lookup-mode.
9246
9247 2013-05-05 Richard Stallman <rms@gnu.org>
9248
9249 * vc/compare-w.el (compare-windows-whitespace):
9250 Treat no-break space as whitespace.
9251
9252 * mail/rmailsum.el (rmail-summary-rmail-update):
9253 Detect empty summary and don't change selected message.
9254 (rmail-summary-goto-msg): Likewise.
9255
9256 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9257 Doc fixes, rename args.
9258
9259 2013-05-05 Alan Mackenzie <acm@muc.de>
9260
9261 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9262
9263 2013-05-05 Juri Linkov <juri@jurta.org>
9264
9265 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9266 to not add the length of the summary segment to the return value.
9267 (Bug#14125)
9268
9269 2013-05-05 Leo Liu <sdl.web@gmail.com>
9270
9271 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9272 (inferior-octave-output-filter): Remove.
9273 (octave-send-region, inferior-octave-startup): Fix callers.
9274 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9275 (octave-binary-file-extensions): New user variable.
9276 (octave-find-definition): Confirm if opening binary files.
9277 (octave-help-file): Use octave-find-definition to get the binary
9278 confirmation.
9279 (octave-help): Adjust for octave-help-file change.
9280
9281 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9282
9283 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9284 Merge the two entries that handle function definitions.
9285 (pascal--syntax-propertize): New const.
9286 (pascal-mode): Use it. Use setq-local.
9287
9288 2013-05-04 Glenn Morris <rgm@gnu.org>
9289
9290 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9291 (diary-from-outlook): Respect diary-from-outlook-function.
9292
9293 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9294
9295 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9296 Move the declaration from C.
9297 (read-minibuffer, eval-minibuffer): Move from C.
9298 (completion-setup-function): Avoid minibuffer-completion-contents.
9299
9300 2013-05-03 Leo Liu <sdl.web@gmail.com>
9301
9302 * progmodes/octave.el (octave-font-lock-keywords): Do not
9303 dehighlight 'end' in comments or strings.
9304 (octave-completing-read, octave-goto-function-definition):
9305 New helpers.
9306 (octave-help-buffer): New user variable.
9307 (octave-help-file, octave-help-function): New button types.
9308 (octave-help): New command and bind it to C-h ;.
9309 (octave-find-definition): New command and bind it to M-.
9310 (user-error): Alias to error if not defined.
9311
9312 2013-05-02 Leo Liu <sdl.web@gmail.com>
9313
9314 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9315 for \. (bug#14332)
9316 (octave-font-lock-keywords): Include [ and {.
9317
9318 2013-05-02 Leo Liu <sdl.web@gmail.com>
9319
9320 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9321 (inferior-octave): Remove calling comint-mode and return the buffer.
9322 (inferior-octave-startup): Cosmetic changes.
9323
9324 2013-05-02 Leo Liu <sdl.web@gmail.com>
9325
9326 * progmodes/octave.el (octave-syntax-propertize-function):
9327 Include the case when ' is at line beginning. (Bug#14336)
9328
9329 2013-05-02 Glenn Morris <rgm@gnu.org>
9330
9331 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9332 * desktop.el (vc-dir-mode): Just autoload it here.
9333
9334 2013-05-02 Alan Mackenzie <acm@muc.de>
9335
9336 Eliminate variable c-standard-font-lock-fontify-region-function.
9337 * progmodes/cc-mode.el
9338 (c-standard-font-lock-fontify-region-function): Remove.
9339 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9340
9341 2013-05-01 Leo Liu <sdl.web@gmail.com>
9342
9343 * progmodes/octave.el: Compatible with older emacs-24 releases.
9344 (inferior-octave-has-built-in-variables): Remove. Built-in
9345 variables were removed from Octave in 2007.
9346 (inferior-octave-startup): Fix uses.
9347 (comint-line-beginning-position): Remove compatibility code for
9348 emacs 21.
9349
9350 2013-05-01 Juri Linkov <juri@jurta.org>
9351
9352 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9353
9354 2013-05-01 Juri Linkov <juri@jurta.org>
9355
9356 * comint.el (comint-previous-matching-input): Don't print message
9357 "History item: %d" when `isearch-mode' is active.
9358 (comint-history-isearch-message): Print message "History item: %d"
9359 when `comint-input-ring-index' is not empty and this function is
9360 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9361
9362 2013-05-01 Leo Liu <sdl.web@gmail.com>
9363
9364 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9365 definitions. Use completion-at-point to insert keywords.
9366 (octave-abbrev-start): Remove.
9367 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9368
9369 2013-04-30 Leo Liu <sdl.web@gmail.com>
9370
9371 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9372 change.
9373
9374 2013-04-30 Alan Mackenzie <acm@muc.de>
9375
9376 Handle arbitrarily long C++ member initialisation lists.
9377 * progmodes/cc-engine.el (c-back-over-member-initializers):
9378 new function.
9379 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9380 (most) member init lists.
9381
9382 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9383
9384 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9385 variable.
9386
9387 2013-04-30 Leo Liu <sdl.web@gmail.com>
9388
9389 * progmodes/octave.el (octave-variables): Remove. No builtin
9390 variables any more. All converted to functions.
9391 (octave-font-lock-keywords, octave-completion-at-point-function):
9392 Fix uses.
9393 (octave-font-lock-texinfo-comment): New user variable.
9394 (octave-texinfo-font-lock-keywords): New variable for texinfo
9395 comment block.
9396 (octave-function-comment-block): New face.
9397 (octave-font-lock-texinfo-comment): New function.
9398 (octave-mode): Font lock texinfo comment block.
9399
9400 2013-04-29 Leo Liu <sdl.web@gmail.com>
9401
9402 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9403 indexing expression.
9404 (octave-continuation-string): Do not use \.
9405 (inferior-octave-complete-impossible): Remove.
9406 (inferior-octave-completion-table)
9407 (inferior-octave-completion-at-point): Remove its uses.
9408 (inferior-octave-startup): completion_matches was introduced to
9409 Octave in 1996 so safe to assume it.
9410 (octave-function-file-comment): Improve to follow how Octave does it.
9411 (octave-update-function-file-comment): Tweak.
9412
9413 2013-04-29 Leo Liu <sdl.web@gmail.com>
9414
9415 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9416 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9417 (octave-function-file-comment): Fix typo.
9418 (octave-sync-function-file-names): Use read-char-choice.
9419
9420 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9421
9422 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9423 to t for the less important warnings.
9424
9425 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9426
9427 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9428
9429 2013-04-27 Glenn Morris <rgm@gnu.org>
9430
9431 * vc/log-view.el (log-view-current-entry):
9432 Treat "---" separator lines as part of the following rev. (Bug#14169)
9433
9434 2013-04-27 Juri Linkov <juri@jurta.org>
9435
9436 * subr.el (read-number): Doc fix about using it by interactive
9437 code letter `n'. (Bug#14254)
9438
9439 2013-04-27 Juri Linkov <juri@jurta.org>
9440
9441 * desktop.el (desktop-auto-save-timeout): New option.
9442 (desktop-file-checksum): New variable.
9443 (desktop-save): Add optional arg `auto-save' and don't auto-save
9444 if nothing changed.
9445 (desktop-auto-save-timer): New variable.
9446 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9447 (after-init-hook): Call `desktop-auto-save-set-timer'.
9448 Suggested by Reuben Thomas <rrt@sc3d.org> in
9449 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9450
9451 2013-04-27 Leo Liu <sdl.web@gmail.com>
9452
9453 * progmodes/octave.el (octave-function-file-p)
9454 (octave-skip-comment-forward, octave-function-file-comment)
9455 (octave-update-function-file-comment): New functions.
9456 (octave-mode-map): Bind C-c ; to
9457 octave-update-function-file-comment.
9458 (octave-mode-menu): Add octave-update-function-file-comment.
9459 (octave-mode, inferior-octave-mode): Fix doc-string.
9460 (octave-insert-defun): Conform to Octave's coding convention.
9461 (Bug#14285)
9462
9463 * files.el (basic-save-buffer): Don't let errors in
9464 before-save-hook prevent saving buffer.
9465
9466 2013-04-20 Roland Winkler <winkler@gnu.org>
9467
9468 * faces.el (read-face-name): Use completing-read if arg multiple
9469 is nil.
9470
9471 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9472
9473 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9474 displayed, move point to after the totals line.
9475 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9476 for the details.
9477
9478 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9481 Add current dir to the load-path.
9482 (package-generate-autoloads): Don't rely on
9483 autoload-ensure-default-file.
9484
9485 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9486
9487 * textmodes/remember.el (remember-store-in-files): Document that
9488 the file name format is passed to `format-time-string'.
9489
9490 2013-04-26 Leo Liu <sdl.web@gmail.com>
9491
9492 * progmodes/octave.el (octave-sync-function-file-names): New function.
9493 (octave-mode): Use it in before-save-hook.
9494
9495 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9496
9497 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9498 (bug#14274).
9499
9500 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9501 \n and comment, even if it's not an implicit ; (bug#14218).
9502
9503 2013-04-26 Glenn Morris <rgm@gnu.org>
9504
9505 * subr.el (read-number): Once more use `read' rather than
9506 `string-to-number', to trap non-numeric input. (Bug#14254)
9507
9508 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9509
9510 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9511 Use `syntax-multiline' text property consistently instead of
9512 `font-lock-multiline'. (Bug#14237)
9513
9514 2013-04-26 Glenn Morris <rgm@gnu.org>
9515
9516 * emacs-lisp/shadow.el (list-load-path-shadows):
9517 No longer necessary to check for duplicate simple.el, since
9518 2012-07-07 change to init_lread to not include installation lisp
9519 directories in load-path when running uninstalled. (Bug#14270)
9520
9521 2013-04-26 Leo Liu <sdl.web@gmail.com>
9522
9523 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9524 (octave-mode, inferior-octave-mode): Use setq-local.
9525 (octave-not-in-string-or-comment-p): Rename to
9526 octave-in-string-or-comment-p.
9527 (octave-in-comment-p, octave-in-string-p)
9528 (octave-in-string-or-comment-p): Replace defsubst with defun.
9529
9530 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9531
9532 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9533
9534 2013-04-25 Bastien Guerry <bzg@gnu.org>
9535
9536 * textmodes/remember.el (remember-data-directory)
9537 (remember-directory-file-name-format): Fix custom types.
9538
9539 2013-04-25 Leo Liu <sdl.web@gmail.com>
9540
9541 * progmodes/octave.el (octave-completion-at-point-function):
9542 Make use of inferior octave process.
9543 (octave-initialize-completions): Remove.
9544 (inferior-octave-completion-table): New function.
9545 (inferior-octave-completion-at-point): Use it.
9546 (octave-completion-alist): Remove.
9547
9548 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9549
9550 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9551 (opascal-mode-syntax-table): New var.
9552 (opascal-literal-kind, opascal-is-literal-end)
9553 (opascal-literal-token-at): Rewrite.
9554 (opascal--literal-start-re, opascal-font-lock-keywords)
9555 (opascal--syntax-propertize): New constants.
9556 (opascal-font-lock-defaults): Adjust.
9557 (opascal-mode): Use them. Set comment-<foo> variables as well.
9558 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9559 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9560 (delphi-other-face, opascal-other-face): Remove face variables.
9561 (opascal-save-state): Remove macro.
9562 (opascal-fontifying-progress-step): Remove constant.
9563 (opascal--ignore-changes): Remove var.
9564 (opascal-set-token-property, opascal-parse-next-literal)
9565 (opascal-is-stable-literal, opascal-complete-literal)
9566 (opascal-is-literal-start, opascal-face-of)
9567 (opascal-parse-region, opascal-parse-region-until-stable)
9568 (opascal-fontify-region, opascal-after-change)
9569 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9570 (opascal-debug-parse-region, opascal-debug-parse-window)
9571 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9572 (opascal-debug-fontify-buffer): Remove.
9573 (opascal-debug-mode-map): Adjust accordingly.
9574
9575 2013-04-25 Leo Liu <sdl.web@gmail.com>
9576
9577 Merge octave-mod.el and octave-inf.el into octave.el with some
9578 cleanups.
9579 * progmodes/octave.el: New file renamed from octave-mod.el.
9580 * progmodes/octave-inf.el: Merged into octave.el.
9581 * progmodes/octave-mod.el: Renamed to octave.el.
9582
9583 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9584
9585 * textmodes/reftex-vars.el
9586 (reftex-label-ignored-macros-and-environments): New defcustom.
9587
9588 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9589
9590 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9591
9592 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9593 (smie-indent-keyword): Improve the check to ensure that the next
9594 comment is really on the same line.
9595 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9596
9597 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9598 semi-colons if the line is not otherwise empty (bug#14218).
9599
9600 2013-04-25 Glenn Morris <rgm@gnu.org>
9601
9602 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9603
9604 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9605
9606 * progmodes/opascal.el (opascal-set-token-property): Rename from
9607 opascal-set-text-properties and only set `token' (bug#14134).
9608 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9609 (opascal-literal-text-properties): Remove.
9610 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9611 Adjust callers.
9612
9613 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9614
9615 * textmodes/remember.el (remember-handler-functions): Add an
9616 option for a new handler `remember-store-in-files'.
9617 (remember-data-directory, remember-directory-file-name-format):
9618 New options.
9619 (remember-store-in-files): New function to store remember notes
9620 as separate files within a directory.
9621
9622 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9623
9624 * progmodes/compile.el (compilation-next-error-function):
9625 Pass "formats" to compilation-find-file (bug#11777).
9626
9627 2013-04-24 Glenn Morris <rgm@gnu.org>
9628
9629 * vc/vc-bzr.el (vc-bzr-print-log):
9630 * vc/vc-hg.el (vc-hg-print-log):
9631 * vc/vc-svn.el (vc-svn-print-log):
9632 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9633
9634 * vc/vc-bzr.el (vc-bzr-print-log):
9635 * vc/vc-cvs.el (vc-cvs-print-log):
9636 * vc/vc-git.el (vc-git-print-log):
9637 * vc/vc-hg.el (vc-hg-print-log):
9638 * vc/vc-mtn.el (vc-mtn-print-log):
9639 * vc/vc-rcs.el (vc-rcs-print-log):
9640 * vc/vc-sccs.el (vc-sccs-print-log):
9641 * vc/vc-svn.el (vc-svn-print-log):
9642 * vc/vc.el (vc-print-log-internal): Doc fixes.
9643
9644 2013-04-23 Glenn Morris <rgm@gnu.org>
9645
9646 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9647 Remove venerable code attempting to avoid substitute-command-keys.
9648
9649 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9650
9651 * textmodes/reftex-vars.el (reftex-label-regexps):
9652 Call `reftex-compile-variables' after changes to this variable.
9653
9654 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9655
9656 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9657 Use lexical-binding.
9658 (jit-lock-force-redisplay): Use markers, check buffer's continued
9659 existence and beware narrowed buffers.
9660 (jit-lock-fontify-now): Adjust call accordingly.
9661
9662 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9663
9664 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9665 to avoid misleading the user.
9666
9667 2013-04-22 Leo Liu <sdl.web@gmail.com>
9668
9669 * info-look.el: Prefer latex2e.info. (Bug#14240)
9670
9671 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9672
9673 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9674
9675 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9676 * net/tramp.el (tramp-call-process): ... here.
9677 (tramp-set-completion-function, tramp-parse-putty):
9678 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9679 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9680 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9681 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9682 (tramp-call-local-coding-command): Use `tramp-call-process'
9683 instead of `tramp-compat-call-process'.
9684
9685 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9686 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9687 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9688 (tramp-find-inline-compress): Improve traces.
9689 (tramp-maybe-send-script): Check for Perl binary.
9690 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9691
9692 2013-04-22 Daiki Ueno <ueno@gnu.org>
9693
9694 * epg.el (epg-context-pinentry-mode): New function.
9695 (epg-context-set-pinentry-mode): New function.
9696 (epg--start): Pass --pinentry-mode option to gpg command.
9697
9698 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9699
9700 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9701 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9702 `completion-at-point'. (Bug#13774)
9703
9704 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9705 default key binding for `describe-distribution' has been moved to
9706 `C-h C-o'. (Bug#13970)
9707
9708 2013-04-21 Glenn Morris <rgm@gnu.org>
9709
9710 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9711 Add doc strings.
9712 (vc-print-log): Clarify interactive prompt.
9713
9714 2013-04-20 Glenn Morris <rgm@gnu.org>
9715
9716 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9717 No longer include timestamp etc information.
9718
9719 2013-04-20 Roland Winkler <winkler@gnu.org>
9720
9721 * faces.el (read-face-name): Bug fix, return just one face if arg
9722 multiple is nil. (Bug#14209)
9723
9724 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9725
9726 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9727 (remove-function): Autoload.
9728
9729 * comint.el (comint-redirect-original-filter-function): Remove.
9730 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9731 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9732 (vc-cvs-annotate-command):
9733 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9734 * progmodes/prolog.el (prolog-consult-compile):
9735 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9736 Use add/remove-function instead.
9737 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9738 (gud-tooltip-process-output, gud-tooltip-tips):
9739 Use add/remove-function instead.
9740 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9741 (scheme-interaction-mode, exit-scheme-interaction-mode):
9742 Use add/remove-function instead.
9743
9744 * vc/vc-dispatcher.el: Use lexical-binding.
9745 (vc--process-sentinel): Rename from vc-process-sentinel.
9746 Change last arg to be the code to run. Don't use vc-previous-sentinel
9747 and vc-sentinel-commands any more.
9748 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9749 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9750
9751 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9752
9753 * progmodes/sh-script.el (sh-imenu-generic-expression):
9754 Handle function names with a single character. (Bug#14111)
9755
9756 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9757
9758 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9759 for subroutines defined in an eval (bug#14182).
9760
9761 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9762
9763 * bookmark.el (bookmark-completing-read): Improve handling of empty
9764 string (bug#14176).
9765
9766 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9769
9770 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9771
9772 New faster Imenu implementation (bug#14058).
9773 * progmodes/python.el:
9774 (python-imenu-prev-index-position):
9775 (python-imenu-format-item-label-function)
9776 (python-imenu-format-parent-item-label-function)
9777 (python-imenu-format-parent-item-jump-label-function):
9778 New vars.
9779 (python-imenu-format-item-label)
9780 (python-imenu-format-parent-item-label)
9781 (python-imenu-format-parent-item-jump-label)
9782 (python-imenu--put-parent, python-imenu--build-tree)
9783 (python-imenu-create-index, python-imenu-create-flat-index)
9784 (python-util-popn): New functions.
9785 (python-mode): Set imenu-create-index-function to
9786 python-imenu-create-index.
9787
9788 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9789
9790 * winner.el (winner-active-region): Use region-active-p, activate-mark
9791 and deactivate-mark (bug#14225).
9792
9793 * simple.el (deactivate-mark): Don't inline it.
9794
9795 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9796
9797 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9798
9799 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9800
9801 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9802 file extensions from the archive-mode entry in order to prefer
9803 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9804
9805 2013-04-18 Leo Liu <sdl.web@gmail.com>
9806
9807 * bindings.el (help-event-list): Add ?\?.
9808
9809 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * subr.el (with-wrapper-hook): Declare obsolete.
9812 * simple.el (filter-buffer-substring-function): New hook.
9813 (filter-buffer-substring): Use it.
9814 (filter-buffer-substring-functions): Mark obsolete.
9815 * minibuffer.el (completion-in-region-function): New hook.
9816 (completion-in-region): Use it.
9817 (completion-in-region-functions): Mark obsolete.
9818 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9819 * abbrev.el (abbrev-expand-function): New hook.
9820 (expand-abbrev): Use it.
9821 (abbrev-expand-functions): Mark obsolete.
9822 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9823 and :filter-return.
9824
9825 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9826
9827 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9828 and do not care about match data.
9829
9830 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9831
9832 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9833 completion tables when completing error conditions and
9834 `declare' arguments.
9835 (lisp-complete-symbol, field-complete): Mark as obsolete.
9836 (check-parens): Unmatched parens are user errors.
9837 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9838
9839 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9840
9841 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9842 command changed buffer (ie. `flyspell-pre-buffer' is not current
9843 buffer), which prevents making decisions based on invalid value of
9844 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9845 cause an error when `flyspell-pre-point' was nil after switching
9846 buffers.
9847 (flyspell-post-command-hook): No longer needs to change buffers when
9848 checking pre-word. While at it remove unnecessary progn.
9849
9850 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9851
9852 * textmodes/ispell.el (ispell-add-per-file-word-list):
9853 Fix `flyspell-correct-word-before-point' error when accepting
9854 words and `coment-padding' is an integer by using
9855 `comment-normalize-vars' (Bug #14214).
9856
9857 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9858
9859 New defun movement commands.
9860 * progmodes/python.el (python-nav--syntactically)
9861 (python-nav--forward-defun, python-nav-backward-defun)
9862 (python-nav-forward-defun): New functions.
9863
9864 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9865
9866 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9867 (python-syntax-context): Use named compiler-macro for backwards
9868 compatibility with Emacs 24.x.
9869
9870 2013-04-17 Leo Liu <sdl.web@gmail.com>
9871
9872 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9873 octave-hide-process-buffer.
9874
9875 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9876
9877 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9878 (bug#14216).
9879
9880 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9881
9882 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9883 Fix adjustment of offset when receiving incomplete responses from GDB
9884 (bug#14129).
9885
9886 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9887
9888 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9889 python-mode-abbrev-table.
9890 (python-skeleton-define): Adjust accordingly.
9891 (python-mode-abbrev-table): New table that inherits from it so that
9892 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9893
9894 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9895 (abbrev-symbol): Use it.
9896 (abbrev--before-point): Use it since we already handle inheritance.
9897
9898 2013-04-16 Leo Liu <sdl.web@gmail.com>
9899
9900 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9901 binding to info-lookup-symbol.
9902
9903 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9904
9905 * minibuffer.el (completion--twq-all):
9906 * term/ns-win.el (ns-initialize-window-system):
9907 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9908
9909 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9910
9911 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9912 global bindings.
9913
9914 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9915
9916 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9917
9918 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9919 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9920 to nil.
9921 (ruby-end-of-defun): Remove the unused arg, change the docstring
9922 to reflect that this function is only used as the value of
9923 `end-of-defun-function'.
9924 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9925 to reflect an earlier change that beginning/end-of-defun functions
9926 jump between methods in a class definition, as well as top-level
9927 functions.
9928
9929 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9930
9931 * minibuffer.el (minibuffer-complete): Don't just scroll
9932 a *Completions* that's been iconified.
9933 (minibuffer-force-complete): Make sure repetitions do cycle when going
9934 through completion-in-region -> minibuffer-complete.
9935
9936 2013-04-15 Alan Mackenzie <acm@muc.de>
9937
9938 Correct the placement of c-cpp-delimiters when there're #s not at
9939 col 0.
9940
9941 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9942 place a submatch around the #.
9943 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9944 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9945 on the #, not BOL.
9946
9947 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9948
9949 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9950 (advice--member-p): New arg `name'.
9951 (advice--add-function, advice-member-p): Use it (bug#14202).
9952
9953 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9954
9955 Reformulate java imenu-generic-expression.
9956 The old expression contained ill formed regexps.
9957
9958 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9959 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9960 (cc-imenu-java-method-arg-regexp): New defconsts.
9961 (cc-imenu-java-build-type-args-regex): New defun.
9962 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9963 handling of spaces in the regexp.
9964
9965 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9966
9967 * textmodes/ispell.el (ispell-command-loop): Remove
9968 flyspell highlight of a word when ispell accepts it (bug #14178).
9969
9970 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9971
9972 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9973 uses code from the previous `ange-ftp-run-real-handler'.
9974 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9975 only in case that function exist. This is needed for proper
9976 unloading of Tramp.
9977
9978 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9979
9980 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9981
9982 * textmodes/reftex.el (reftex-compile-variables): Use it.
9983
9984 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9985
9986 * files.el (normal-mode): Only use default major-mode if no other mode
9987 was specified.
9988
9989 * emacs-lisp/trace.el (trace-values): New function.
9990
9991 * files.el: Allow : in local variables (bug#14089).
9992 (hack-local-variable-regexp): New var.
9993 (hack-local-variables-prop-line, hack-local-variables): Use it.
9994
9995 2013-04-13 Roland Winkler <winkler@gnu.org>
9996
9997 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9998 data before it gets modified by bibtex-beginning-of-entry.
9999
10000 2013-04-13 Roland Winkler <winkler@gnu.org>
10001
10002 * textmodes/bibtex.el (bibtex-url): Doc fix.
10003
10004 2013-04-13 Roland Winkler <winkler@gnu.org>
10005
10006 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10007 does not visit a BibTeX file, exclude it from the list of buffers
10008 returned by bibtex-initialize.
10009
10010 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10011
10012 * window.el (split-window): Remove interactive form, since as a
10013 command this function is a special case of split-window-below.
10014 Correct doc string.
10015
10016 2013-04-12 Roland Winkler <winkler@gnu.org>
10017
10018 * faces.el (read-face-name): Do not override value of arg default.
10019 Allow single faces and strings as default values. Remove those
10020 elements from return value that are not faces.
10021 (describe-face): Simplify.
10022 (face-at-point): New optional args thing and multiple so that this
10023 function can provide the same functionality previously provided by
10024 read-face-name.
10025 (make-face-bold, make-face-unbold, make-face-italic)
10026 (make-face-unitalic, make-face-bold-italic, invert-face)
10027 (modify-face, read-face-and-attribute): Use face-at-point.
10028
10029 * cus-edit.el (customize-face, customize-face-other-window)
10030 * cus-theme.el (custom-theme-add-face)
10031 * face-remap.el (buffer-face-set)
10032 * facemenu.el (facemenu-set-face): Use face-at-point.
10033
10034 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10035
10036 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10037
10038 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10039
10040 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10041 off leading { and trailing } from field values.
10042
10043 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10044
10045 * emacs-lisp/timer.el (timer--check): New function.
10046 (timer--time, timer-set-function, timer-event-handler): Use it.
10047 (timer-set-idle-time): Simplify.
10048 (timer--activate): CSE.
10049 (timer-event-handler): Give more info in error message.
10050 (internal-timer-start-idle): New function, moved from C.
10051
10052 * mpc.el (mpc-proc): Add `restart' argument.
10053 (mpc-proc-cmd): Use it.
10054 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10055 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10056 less often.
10057
10058 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10059
10060 * progmodes/sh-script.el: Implement `sh-mode' own
10061 `add-log-current-defun-function' (bug#14112).
10062 (sh-current-defun-name): New function.
10063 (sh-mode): Use the function.
10064
10065 2013-04-09 Bastien Guerry <bzg@gnu.org>
10066
10067 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10068
10069 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10070
10071 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10072
10073 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10074 timer (bug#14156).
10075
10076 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10077
10078 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10079 declaration.
10080
10081 2013-04-07 Leo Liu <sdl.web@gmail.com>
10082
10083 * pcmpl-x.el: New file.
10084
10085 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10086
10087 Do not set x-display-name until X connection is established.
10088 This is needed to prevent from weird situation described at
10089 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10090 * frame.el (make-frame): Set x-display-name after call to
10091 window system initialization function, not before.
10092 * term/x-win.el (x-initialize-window-system): Add optional
10093 display argument and use it.
10094 * term/w32-win.el (w32-initialize-window-system):
10095 * term/ns-win.el (ns-initialize-window-system):
10096 * term/pc-win.el (msdos-initialize-window-system):
10097 Add compatible optional display argument.
10098
10099 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10100
10101 * files.el (normal-backup-enable-predicate): On MS-Windows and
10102 MS-DOS compare truenames of temporary-file-directory and of the
10103 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10104 don't fail comparison by compare-strings. Also, compare file
10105 names case-insensitively on MS-Windows and MS-DOS.
10106
10107 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10108
10109 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10110 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10111
10112 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10113
10114 * whitespace.el (whitespace-color-on, whitespace-color-off):
10115 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10116
10117 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10118
10119 * ispell.el (ispell-set-spellchecker-params):
10120 Really set `ispell-args' for all equivs.
10121
10122 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10123
10124 * ido.el (ido-completions): Use extra elements of ido-decorations
10125 (bug#14143).
10126 (ido-decorations): Update docstring.
10127
10128 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10129
10130 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10131 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10132 nil during initialization, in order not to miss changes since the
10133 file was opened. (Bug#14140)
10134
10135 2013-04-05 Leo Liu <sdl.web@gmail.com>
10136
10137 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10138
10139 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10140
10141 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10142
10143 2013-04-04 Glenn Morris <rgm@gnu.org>
10144
10145 * electric.el (electric-pair-inhibit-predicate): Add :version.
10146
10147 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10148
10149 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10150 when a package is required several times (bug#14082).
10151
10152 2013-04-04 Roland Winkler <winkler@gnu.org>
10153
10154 * faces.el (read-face-name): Behave as promised by the docstring.
10155 Assume that arg default is a list of faces.
10156 (describe-face): Call read-face-name with list of default faces.
10157
10158 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10159
10160 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10161 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10162 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10163 the header.
10164 (bookmark-exit-hook-internal): Save even if list is empty.
10165
10166 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10167
10168 * emacs-lisp/package.el (package-pinned-packages): New var.
10169 (package--add-to-archive-contents): Obey it (bug#14118).
10170
10171 2013-04-03 Alan Mackenzie <acm@muc.de>
10172
10173 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10174 Also adapt to the new values of element 7 of a parse state.
10175
10176 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10177 parameter `not-in-delimiter'. Handle being inside comment opener.
10178 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10179 character in case we're typing a '*' after a '/'.
10180 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10181 instead by passing the parameter to c-state-pp-to-literal.
10182
10183 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10184 for elt. 7 of a parse state.
10185
10186 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10187
10188 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10189 * international/latin1-disp.el, international/mule-util.el:
10190 * language/cyril-util.el, language/european.el, language/ind-util.el:
10191 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10192 * language/tibetan.el, language/viet-util.el:
10193 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10194
10195 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10196
10197 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10198 (electric-pair-post-self-insert-function): Use it.
10199 (electric-pair-default-inhibit): New function, extracted from
10200 electric-pair-post-self-insert-function.
10201
10202 2013-03-31 Roland Winkler <winkler@gnu.org>
10203
10204 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10205
10206 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10207
10208 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10209
10210 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10211
10212 Un-indent after "pass" and "return" statements (Bug#13888)
10213 * progmodes/python.el (python-indent-block-enders): New var.
10214 (python-indent-calculate-indentation): Use it.
10215
10216 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10217
10218 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10219 defun. Defining it as defalias could introduce too eager
10220 byte-compiler optimization. (Bug#14030)
10221
10222 2013-03-30 Chong Yidong <cyd@gnu.org>
10223
10224 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10225
10226 2013-03-30 Leo Liu <sdl.web@gmail.com>
10227
10228 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10229 (kmacro-execute-from-register): Pass the keyboard macro to
10230 kmacro-call-macro or repeating won't work correctly.
10231
10232 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10233
10234 * progmodes/subword.el: Back to using `forward-symbol'.
10235
10236 * subr.el (forward-whitespace, forward-symbol)
10237 (forward-same-syntax): Move from thingatpt.el.
10238
10239 2013-03-29 Leo Liu <sdl.web@gmail.com>
10240
10241 * kmacro.el (kmacro-to-register): New command.
10242 (kmacro-execute-from-register): New function.
10243 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10244
10245 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10246
10247 * mpc.el: Use defvar-local and setq-local.
10248 (mpc--proc-connect): Connection failures are not bugs.
10249 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10250 (mpc-volume-map): Bind to the up-events.
10251
10252 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10253
10254 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10255 instead of `forward-symbol'.
10256
10257 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10258
10259 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10260 (edebug--recursive-edit): Use it.
10261 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10262 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10263
10264 2013-03-28 Leo Liu <sdl.web@gmail.com>
10265
10266 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10267
10268 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10269
10270 * facemenu.el (list-colors-callback): New defvar.
10271 (list-colors-redisplay): New function.
10272 (list-colors-display): Install list-colors-redisplay as the
10273 revert-buffer-function. (Bug#14063)
10274
10275 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10276
10277 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10278 and suffixes don't overlap (bug#14061).
10279
10280 * case-table.el: Use lexical-binding.
10281 (case-table-get-table): New function.
10282 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10283
10284 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10285
10286 * progmodes/subword.el: Add `superword-mode' to do word motion
10287 over symbol_words (parallels and leverages `subword-mode' which
10288 does word motion inside MixedCaseWords).
10289
10290 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10291
10292 * eshell/em-unix.el: Move su and sudo to...
10293 * eshell/em-tramp.el: ...Eshell tramp module.
10294
10295 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10296
10297 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10298 Change return value to be a sexp. Delay `get-buffer' to after
10299 restoring the desktop (bug#13951).
10300
10301 2013-03-26 Leo Liu <sdl.web@gmail.com>
10302
10303 * register.el: Move semantic tag handling back to
10304 cedet/semantic/senator.el. (Bug#14052)
10305
10306 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10307
10308 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10309 into the prompt either (bug#13963).
10310
10311 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10312
10313 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10314 part of "(error-foo)".
10315
10316 2013-03-24 Juri Linkov <juri@jurta.org>
10317
10318 * replace.el (list-matching-lines-prefix-face): New defcustom.
10319 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10320 `occur-engine' if `face-differs-from-default-p' returns t.
10321 (occur-engine): Add `,' inside backquote construct to evaluate
10322 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10323 Pass `prefix-face' to the functions `occur-context-lines' and
10324 `occur-engine-add-prefix'.
10325 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10326 `prefix-face' and propertize the prefix with `prefix-face'.
10327 (Bug#14017)
10328
10329 2013-03-24 Leo Liu <sdl.web@gmail.com>
10330
10331 * nxml/rng-valid.el (rng-validate-while-idle)
10332 (rng-validate-quick-while-idle): Guard against deleted buffer.
10333 (Bug#13999)
10334
10335 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10336 is the last entry in kill-buffer-hook.
10337
10338 * files.el (kill-buffer-hook): Doc fix.
10339
10340 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10341
10342 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10343 Make it safe-local.
10344
10345 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10346
10347 2013-03-23 Leo Liu <sdl.web@gmail.com>
10348
10349 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10350 Remove.
10351
10352 * nxml/rng-valid.el (rng-validate-mode)
10353 (rng-after-change-function, rng-do-some-validation):
10354 * nxml/rng-maint.el (rng-validate-buffer):
10355 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10356 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10357 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10358 (nxml-extend-after-change-region): Use with-silent-modifications.
10359
10360 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10361 timer-idle-list.
10362
10363 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10364 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10365 timer-idle-list. (Bug#13999)
10366
10367 2013-03-23 Juri Linkov <juri@jurta.org>
10368
10369 * info.el (info-index-match): New face.
10370 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10371 main pattern and add text properties with the new face to matches
10372 in index entries relative to the beginning of the index entry.
10373 (Bug#14015)
10374
10375 2013-03-21 Eric Ludlam <zappo@gnu.org>
10376
10377 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10378 Inhibit read only while inserting objects.
10379
10380 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10381
10382 * progmodes/cfengine.el: Update docs to mention
10383 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10384 symbol motion. Remove "_" from the word syntax.
10385
10386 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10387
10388 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10389 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10390
10391 2013-03-20 Juri Linkov <juri@jurta.org>
10392
10393 * info.el (Info-next-reference-or-link)
10394 (Info-prev-reference-or-link): New functions.
10395 (Info-next-reference, Info-prev-reference): Use them.
10396 (Info-try-follow-nearest-node): Handle footnote navigation.
10397 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10398
10399 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10400
10401 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10402 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10403
10404 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10405
10406 Suppress unnecessary non-ASCII chatter during build process.
10407 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10408 (batch-skkdic-convert): Suppress most of the chatter.
10409 It's not needed so much now that machines are faster,
10410 and its non-ASCII component was confusing; see Dmitry Gutov in
10411 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10412
10413 2013-03-20 Leo Liu <sdl.web@gmail.com>
10414
10415 * ido.el (ido-chop): Fix bug#10994.
10416
10417 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10418
10419 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10420 Remove vars.
10421 (whitespace-color-on, whitespace-color-off):
10422 Use `font-lock-fontify-buffer' (Bug#13817).
10423
10424 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10425
10426 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10427 remapping in mode-line.
10428 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10429
10430 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10431
10432 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10433 value for `whitespace-line' face (Bug#13875).
10434 (whitespace-font-lock-keywords): Change description.
10435 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10436 the constructed keywords instead.
10437 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10438
10439 2013-03-19 Leo Liu <sdl.web@gmail.com>
10440
10441 * progmodes/compile.el (compilation-display-error): New command.
10442 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10443 C-o. (Bug#13992)
10444
10445 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10446
10447 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10448
10449 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10450
10451 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10452
10453 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10454
10455 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10456
10457 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10458 * net/tramp-gvfs.el (top):
10459 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10460 (tramp-handle-shell-command): Use it.
10461 (tramp-dissect-file-name): Raise an error when hostname is a
10462 method name, and neither method nor user is specified.
10463
10464 * net/trampver.el: Update release number.
10465
10466 2013-03-18 Leo Liu <sdl.web@gmail.com>
10467
10468 Make sure eldoc can be turned off properly.
10469 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10470 eldoc-mode.
10471 (eldoc-display-message-p): Revert last change.
10472 (eldoc-display-message-no-interference-p)
10473 (eldoc-print-current-symbol-info): Tweak.
10474
10475 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10476
10477 * doc-view.el (doc-view-new-window-function): Check the new window
10478 overlay's display property instead the char property of the
10479 buffer's first char. Use `with-selected-window' instead of
10480 `save-window-excursion' with `select-window'.
10481 (doc-view-document->bitmap): Check the current doc-view overlay's
10482 display property instead the char property of the buffer's first char.
10483
10484 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10485
10486 Automate the build of ja-dic.el (Bug#13984).
10487 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10488 from the input, rather than assume that it's been done for us by the
10489 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10490 the current date into a ja-dic.el comment, as that complicates
10491 regression testing.
10492
10493 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10494
10495 * whitespace.el: Fix double evaluation.
10496 (whitespace-space, whitespace-hspace, whitespace-tab)
10497 (whitespace-newline, whitespace-trailing, whitespace-line)
10498 (whitespace-space-before-tab, whitespace-indentation)
10499 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10500 obsolete defvars.
10501 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10502 (whitespace-color-on): Use a single font-lock-add-keywords call.
10503 Fix double-evaluation of face variables.
10504
10505 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10506
10507 * net/tramp-adb.el (tramp-adb-parse-device-names):
10508 Use `start-process' instead of `call-process'. Otherwise, the
10509 function might be blocked under MS Windows. (Bug#13299)
10510
10511 2013-03-17 Leo Liu <sdl.web@gmail.com>
10512
10513 Extend eldoc to display info in the mode-line. (Bug#13978)
10514 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10515 (eldoc-mode-line-string): New variable.
10516 (eldoc-minibuffer-message): New function.
10517 (eldoc-message-function): New variable.
10518 (eldoc-message): Use it.
10519 (eldoc-display-message-p)
10520 (eldoc-display-message-no-interference-p):
10521 Support eldoc-post-insert-mode.
10522
10523 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10524 (eval-expression): Run it.
10525
10526 2013-03-17 Roland Winkler <winkler@gnu.org>
10527
10528 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10529 strings in the list of return values.
10530
10531 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10532
10533 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10534 radix before checking for HMS forms.
10535
10536 2013-03-16 Leo Liu <sdl.web@gmail.com>
10537
10538 * progmodes/scheme.el: Add indentation and font-locking for λ.
10539 (Bug#13975)
10540
10541 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10542
10543 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10544 token before point (bug#13942).
10545
10546 2013-03-16 Leo Liu <sdl.web@gmail.com>
10547
10548 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10549
10550 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10551
10552 * startup.el (command-line-normalize-file-name): Fix handling of
10553 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10554 <xfq.free@gmail.com> in
10555 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10556
10557 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10558
10559 Sync with Tramp 2.2.7.
10560
10561 * net/trampver.el: Update release number.
10562
10563 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10564
10565 * doc-view.el: Fix bug#13887.
10566 (doc-view-insert-image): Don't modify overlay associated to
10567 non-live windows, and implement horizontal centering of image in
10568 case it's smaller than the window.
10569 (doc-view-new-window-function): Force redisplay of new windows on
10570 doc-view buffers.
10571
10572 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10573
10574 * saveplace.el (save-place-alist-to-file): Don't sort
10575 `save-place-alist', just pretty-print it (bug#13882).
10576
10577 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10578
10579 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10580 Check whether `default-file-name-coding-system' is bound.
10581 It isn't in XEmacs.
10582
10583 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10584
10585 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10586 backquotes for `obsolete' (bug#13929).
10587
10588 * international/mule.el (find-auto-coding): Include file name in
10589 obsolescence warning (bug#13922).
10590
10591 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10592
10593 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10594 for CFEngine 3-specific indentation.
10595 (cfengine3-indent-line): Use it. Fix up category regex.
10596 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10597
10598 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10599
10600 * type-break.el (type-break-file-name):
10601 * textmodes/remember.el (remember-data-file):
10602 * strokes.el (strokes-file):
10603 * shadowfile.el (shadow-initialize):
10604 * saveplace.el (save-place-file):
10605 * ps-bdf.el (bdf-cache-file):
10606 * progmodes/idlwave.el (idlwave-config-directory):
10607 * net/quickurl.el (quickurl-url-file):
10608 * international/kkc.el (kkc-init-file-name):
10609 * ido.el (ido-save-directory-list-file):
10610 * emulation/viper.el (viper-custom-file-name):
10611 * emulation/vip.el (vip-startup-file):
10612 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10613 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10614
10615 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10616
10617 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10618 * language/thai-word.el: Switch to UTF-8.
10619
10620 See ChangeLog.16 for earlier changes.
10621
10622 ;; Local Variables:
10623 ;; coding: utf-8
10624 ;; End:
10625
10626 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10627
10628 This file is part of GNU Emacs.
10629
10630 GNU Emacs is free software: you can redistribute it and/or modify
10631 it under the terms of the GNU General Public License as published by
10632 the Free Software Foundation, either version 3 of the License, or
10633 (at your option) any later version.
10634
10635 GNU Emacs is distributed in the hope that it will be useful,
10636 but WITHOUT ANY WARRANTY; without even the implied warranty of
10637 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10638 GNU General Public License for more details.
10639
10640 You should have received a copy of the GNU General Public License
10641 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.