* lisp/progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
4 `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5 `ruby-parse-partial' (Bug#16078).
6
7 2013-12-09 Leo Liu <sdl.web@gmail.com>
8
9 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
10
11 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
12
13 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
14 (js-switch-indent-offset): New option.
15 (js--proper-indentation): Use it. And handle the case when
16 "default" is actually a key in an object literal.
17 (js--same-line): New function.
18 (js--multi-line-declaration-indentation): Use it.
19 (js--indent-in-array-comp, js--array-comp-indentation): New
20 functions.
21 (js--proper-indentation): Use them, to handle array comprehension
22 continuations.
23
24 2013-12-08 Leo Liu <sdl.web@gmail.com>
25
26 * progmodes/flymake.el (flymake-highlight-line): Re-write.
27 (flymake-make-overlay): Remove arg MOUSE-FACE.
28 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
29
30 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
33 New function.
34 (redisplay-highlight-region-function): Use it.
35
36 * emulation/cua-base.el (cua--explicit-region-start)
37 (cua--last-region-shifted): Remove.
38 (cua--deactivate): Use deactivate-mark.
39 (cua--pre-command-handler-1): Don't handle shift-selection.
40 (cua--post-command-handler-1): Don't change transient-mark-mode.
41 (cua--select-keymaps): Use region-active-p rather than
42 cua--explicit-region-start or cua--last-region-shifted.
43 (cua-mode): Enable shift-select-mode.
44
45 2013-12-08 Leo Liu <sdl.web@gmail.com>
46
47 * progmodes/flymake.el (flymake-popup-current-error-menu):
48 Rename from flymake-display-err-menu-for-current-line. Reimplement.
49 (flymake-posn-at-point-as-event, flymake-popup-menu)
50 (flymake-make-emacs-menu): Remove. (Bug#16077)
51
52 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
53
54 * rect.el (rectangle-mark-mode): Activate mark even if
55 transient-mark-mode is off (bug#16066).
56 (rectangle--highlight-for-redisplay): Fix boundary condition when point
57 is > mark and at bolp.
58
59 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
60 (region-extract-function): Use it.
61 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
62 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
63 Delete functions.
64 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
65 kill-ring-save, kill-region, delete-char, delete-forward-char.
66 Ignore self-insert-iso.
67
68 * emulation/cua-gmrk.el (cua--init-global-mark):
69 Ignore `self-insert-iso'.
70
71 * emulation/cua-base.el (cua--prefix-copy-handler)
72 (cua--prefix-cut-handler): Rely on region-extract-function rather than
73 checking cua--rectangle.
74 (cua-delete-region): Use region-extract-function.
75 (cua-replace-region): Delete function.
76 (cua-copy-region, cua-cut-region): Obey region-extract-function.
77 (cua--pre-command-handler-1): Don't do the delete-selection thing.
78 (cua--self-insert-char-p): Ignore `self-insert-iso'.
79 (cua--init-keymaps): Don't remap delete-selection commands.
80 (cua-mode): Use delete-selection-mode instead of rolling our own
81 (bug#16085).
82
83 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
84 Obey region-extract-function.
85
86 Make registers and delete-selection-mode work on rectangles.
87 * register.el (describe-register-1): Don't modify the register's value.
88 (copy-to-register): Obey region-extract-function.
89 * delsel.el (delete-active-region): Obey region-extract-function.
90
91 2013-12-08 Leo Liu <sdl.web@gmail.com>
92
93 * progmodes/flymake.el (flymake, flymake-error-bitmap)
94 (flymake-warning-bitmap, flymake-fringe-indicator-position)
95 (flymake-compilation-prevents-syntax-check)
96 (flymake-start-syntax-check-on-newline)
97 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
98 (flymake-start-syntax-check-on-find-file, flymake-log-level)
99 (flymake-xml-program, flymake-master-file-dirs)
100 (flymake-master-file-count-limit)
101 (flymake-allowed-file-name-masks): Relocate.
102 (flymake-makehash, flymake-float-time)
103 (flymake-replace-regexp-in-string, flymake-split-string)
104 (flymake-get-temp-dir): Remove.
105 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
106 (flymake-current-row, flymake-selected-frame)
107 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
108 related functions. (Bug#16077)
109
110 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
111
112 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
113
114 2013-12-07 Tassilo Horn <tsdh@gnu.org>
115
116 * help-fns.el (describe-function-1): Use new advice-* functions
117 rather than old ad-* functions. Fix function type description and
118 source links for advised functions and subrs.
119
120 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
121
122 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
123
124 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
125
126 * progmodes/compile.el (compilation-start):
127 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
128
129 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
130 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
131
132 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
133
134 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
135 Touch up the last change.
136
137 2013-12-06 Leo Liu <sdl.web@gmail.com>
138
139 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
140 (inferior-octave-startup): Always use "octave> " for prompt.
141 (octave-goto-function-definition)
142 (octave-sync-function-file-names)
143 (octave-find-definition-default-filename): Remove redundant backquotes.
144
145 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
146
147 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
148 syntax for `?'.
149 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
150 where appropriate already.
151 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
152 end of method names (Bug#15874).
153
154 2013-12-06 Juri Linkov <juri@jurta.org>
155
156 * isearch.el (isearch--saved-overriding-local-map):
157 New internal variable.
158 (isearch-mode): Set it to the initial value of
159 `overriding-terminal-local-map'.
160 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
161 with `isearch--saved-overriding-local-map'. (Bug#16035)
162
163 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
164
165 * progmodes/octave.el (inferior-octave-completion-table):
166 Turn back into function, use `completion-table-with-cache'
167 (Bug#11906). Update all references.
168
169 * minibuffer.el (completion-table-with-cache): New function.
170
171 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
172
173 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
174
175 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
176
177 * net/eww.el (eww-current-source): New variable to store page
178 source.
179 (eww-display-html, eww-mode, eww-save-history)
180 (eww-restore-history): Use it.
181 (eww-view-source): New command to view page source.
182 Opportunistically uses `html-mode' to highlight the buffer.
183 (eww-mode-map): Install it.
184
185 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
186
187 * net/dbus.el (dbus-unregister-service)
188 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
189 Fix docstring.
190 (dbus-unregister-service): Skip :serial entries in
191 `dbus-registered-objects-table'.
192 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
193
194 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
195
196 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
197 around keywords with extra `split-string' argument.
198
199 2013-12-04 Martin Rudalics <rudalics@gmx.at>
200
201 * windmove.el (windmove-other-window-loc): Handle navigation
202 between windows (excluding the minibuffer window - Bug#16017).
203
204 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
205
206 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
207 in D-Bus type syntax.
208 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
209 preserve unibyte strings. (Bug#16048)
210
211 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
212
213 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
214 Call force-mode-line-update is the proper buffer (bug#16042).
215
216 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
217
218 * vc/log-edit.el (log-edit-add-new-comment): Rename to
219 `log-edit-remember-comment', make argument optional. Adjust all
220 callers.
221 (log-edit-mode): Add `log-edit-remember-comment' to
222 `kill-buffer-hook' locally.
223 (log-edit-kill-buffer): Don't remember comment explicitly since
224 the buffer is killed anyway.
225
226 2013-12-04 Juri Linkov <juri@jurta.org>
227
228 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
229 add-hook and remove-hook for multi-buffer search. (Bug#16035)
230
231 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
232
233 * notifications.el (notifications-close-notification): Call the
234 D-Bus method with ID being a `:uint32'. (Bug#16030)
235
236 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
237
238 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
239
240 2013-12-03 Juri Linkov <juri@jurta.org>
241
242 * progmodes/compile.el (compilation-start): Rename window alist
243 entry `no-display-ok' to `allow-no-window'.
244
245 * simple.el (shell-command): Add window alist entry
246 `allow-no-window' to `display-buffer'.
247 (async-shell-command): Doc fix.
248
249 * window.el (display-buffer-no-window): New action function.
250 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
251
252 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
253
254 * vc/log-edit.el (log-edit-set-header): Extract from
255 `log-edit-toggle-header'.
256 (log-edit-extract-headers): Separate the summary, when extracted
257 from header, from the rest of the message with an empty line.
258
259 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
260 line, if present, to the Summary header.
261
262 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
263
264 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
265 in current-buffer (bug#16029).
266
267 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
268
269 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
270 (debugger-mode-map): Bind it.
271 (debugger--backtrace-base): New function.
272 (debugger-eval-expression): Use it.
273 (debugger-frame-number): Skip local vars when present.
274 (debugger--locals-visible-p, debugger--insert-locals)
275 (debugger--show-locals, debugger--hide-locals): New functions.
276
277 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
278
279 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
280 "LC_ALL".
281 (tramp-get-remote-locale): New defun.
282 (tramp-open-connection-setup-interactive-shell): Use it.
283
284 2013-12-02 Leo Liu <sdl.web@gmail.com>
285
286 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
287
288 * progmodes/sh-script.el (sh-shell-process):
289 * progmodes/octave.el (inferior-octave-process-live-p):
290 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
291 (gdb-inferior-io-sentinel):
292 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
293
294 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
295
296 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
297 `save-selected-window' to `log-edit-hide-buf'. This makes
298 `log-edit-show-files' idempotent.
299 (log-edit-show-files): Mark the new window as dedicated.
300
301 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
302
303 * vc/log-edit.el (log-edit-mode-map): Add binding for
304 `log-edit-kill-biffer'.
305 (log-edit-hide-buf): Add a FIXME comment.
306 (log-edit-add-new-comment): New function, extracted from
307 `log-edit-done'.
308 (log-edit-done, log-edit-add-to-changelog): Use it.
309 (log-edit-kill-buffer): New command.
310
311 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
312
313 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
314 instead of killing the buffer.
315
316 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
317
318 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
319
320 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
321
322 * net/eww.el (eww-form-checkbox-selected-symbol)
323 (eww-form-checkbox-symbol): New customizable variable.
324 (eww-form-checkbox, eww-toggle-checkbox):
325 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
326
327 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
328 (shr--get-media-pref, shr--extract-best-source): New function.
329 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
330 no :src tag was specified.
331
332 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
333 (eww-render): Handle `eww-use-external-browser-for-content-type'.
334 Use \\` to match beginning of string instead of ^.
335 (eww-browse-with-external-browser): Provide optional URL parameter.
336 (eww-render): Set `eww-current-title' back to "".
337
338 * net/shr.el (shr-tag-video): Display content for video if no
339 poster is available.
340 (shr-tag-audio): Add support for <audio> tag.
341
342 * net/eww.el (eww-text-input-types): : New const.
343 (eww-process-text-input): Treat input types in
344 `eww-text-input-types' as text.
345
346 * net/shr.el (shr-tag-table): Fix comment typo.
347
348 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
349
350 * net/eww.el (eww-follow-link): New command to avoid reloading
351 pages when we follow #target links (bug#15243).
352 (eww-quit): Special mode buffers shouldn't query before exiting.
353
354 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
355
356 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
357 forms.
358
359 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
360
361 * net/eww.el (eww-restore-history): Update the window title after
362 moving in the history.
363 (eww-current-dom): New variable used to save the current DOM.
364
365 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
366
367 * vc/log-edit.el (log-edit-mode-map): Add binding for
368 `log-edit-beginning-of-line'.
369 (log-edit-setup-add-author): New user option.
370 (log-edit-beginning-of-line): New command.
371 (log-edit): Move major mode call above the contents setup so that
372 the local variable values are already applied.
373 (log-edit): Only insert "Author: " when
374 `log-edit-setup-add-author' is non-nil.
375 (log-edit): When SETUP is non-nil, position point after ": "
376 instead of point-min.
377
378 2013-12-01 Glenn Morris <rgm@gnu.org>
379
380 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
381
382 2013-11-30 Eli Zaretskii <eliz@gnu.org>
383
384 * startup.el (fancy-splash-frame): On MS-Windows, trigger
385 redisplay to make sure the initial frame gets a chance to become
386 visible. (Bug#16014)
387
388 2013-11-30 Martin Rudalics <rudalics@gmx.at>
389
390 Support resizing frames and windows pixelwise.
391 * cus-start.el (frame-resize-pixelwise)
392 (window-resize-pixelwise): New entries.
393 * emacs-lisp/debug.el (debug): Use window-total-height instead
394 of window-total-size.
395 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
396 * help.el (describe-bindings-internal): Call help-buffer
397 (temp-buffer-max-width): New option.
398 (resize-temp-buffer-window, help-window-setup)
399 (with-help-window): Rewrite.
400 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
401 dragging dividers.
402 * window.el (frame-char-size, window-min-pixel-height)
403 (window-safe-min-pixel-height, window-safe-min-pixel-width)
404 (window-min-pixel-width, window-safe-min-pixel-size)
405 (window-combination-p, window-safe-min-size)
406 (window-resizable-p, window--size-to-pixel)
407 (window--pixel-to-size, window--resize-apply-p): New functions.
408 (window-safe-min-height): Fix doc-string.
409 (window-size, window-min-size, window--min-size-1)
410 (window-sizable, window-sizable-p, window--min-delta-1)
411 (window-min-delta, window--max-delta-1, window-max-delta)
412 (window--resizable, window--resizable-p, window-resizable)
413 (window-full-height-p, window-full-width-p, window-at-side-p)
414 (window--in-direction-2, window-in-direction)
415 (window--resize-reset-1, window--resize-mini-window)
416 (window-resize, window-resize-no-error)
417 (window--resize-child-windows-normal)
418 (window--resize-child-windows, window--resize-siblings)
419 (window--resize-this-window, window--resize-root-window)
420 (window--resize-root-window-vertically)
421 (adjust-window-trailing-edge, enlarge-window, shrink-window)
422 (maximize-window, minimize-window, delete-window)
423 (quit-restore-window, window-split-min-size, split-window)
424 (balance-windows-2, balance-windows)
425 (balance-windows-area-adjust, balance-windows-area)
426 (window--state-get-1, window-state-get, window--state-put-1)
427 (window--state-put-2, window-state-put)
428 (display-buffer-record-window, window--display-buffer):
429 Make functions handle pixelwise sizing of windows.
430 (display-buffer--action-function-custom-type)
431 (display-buffer-fallback-action):
432 Add display-buffer-in-previous-window.
433 (display-buffer-use-some-window): Resize window to height it had
434 before.
435 (fit-window-to-buffer-horizontally): New option.
436 (fit-frame-to-buffer): Describe new values.
437 (fit-frame-to-buffer-bottom-margin): Replace with
438 fit-frame-to-buffer-margins.
439 (window--sanitize-margin): New function.
440 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
441 using window-text-pixel-size.
442
443 2013-11-30 Glenn Morris <rgm@gnu.org>
444
445 * emacs-lisp/bytecomp.el (byte-compile-form):
446 Make the `interactive-only' warning like the `obsolete' one.
447 * comint.el (comint-run):
448 * files.el (insert-file-literally, insert-file):
449 * replace.el (replace-string, replace-regexp):
450 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
451 (goto-line, insert-buffer, next-line, previous-line):
452 Tweak `interactive-only' spec.
453
454 Stop keeping (most) generated cedet grammar files in the repository.
455 * Makefile.in (semantic): New.
456 (compile-main): Depend on semantic.
457
458 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
461 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
462
463 * uniquify.el (uniquify-buffer-name-style): Change default.
464
465 * loadup.el: Preload "uniquify".
466
467 * time.el (display-time-update): Update all mode lines (bug#15999).
468
469 * electric.el (electric-indent-mode): Enable by default.
470 * loadup.el: Preload "electric".
471
472 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
473
474 * emacs-lisp/helpers.el (string-empty-p): New function.
475 (string-blank-p): New function.
476
477 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
478
479 * imenu.el (imenu--index-alist): Add missing dot to the docstring
480 (Bug#14029).
481
482 2013-11-29 Andreas Politz <politza@fh-trier.de>
483 * imenu.el (imenu--subalist-p): Don't error on non-conses and
484 allow non-lambda lists as functions.
485 (imenu--in-alist): Don't recurse into non-subalists.
486 (imenu): Don't pass function itself as an argument (Bug#14029).
487
488 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
489
490 * progmodes/python.el (python-mode-map): Remove binding for ":".
491 (python-indent-electric-colon): Remove command.
492 (python-indent-post-self-insert-function): Integrate the previous code
493 of python-indent-electric-colon. Make it conditional on
494 electric-indent-mode.
495 (python-mode): Add ?: to electric-indent-chars.
496 Move python-indent-post-self-insert-function to the end of
497 post-self-insert-hook.
498
499 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
500
501 * doc-view.el (doc-view-goto-page): Update mode-line.
502
503 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
504
505 2013-11-27 Glenn Morris <rgm@gnu.org>
506
507 * international/charprop.el, international/uni-bidi.el:
508 * international/uni-category.el, international/uni-combining.el:
509 * international/uni-comment.el, international/uni-decimal.el:
510 * international/uni-decomposition.el, international/uni-digit.el:
511 * international/uni-lowercase.el, international/uni-mirrored.el:
512 * international/uni-name.el, international/uni-numeric.el:
513 * international/uni-old-name.el, international/uni-titlecase.el:
514 * international/uni-uppercase.el:
515 Remove generated files from VCS repository.
516
517 2013-11-27 Eli Zaretskii <eliz@gnu.org>
518
519 * filenotify.el (file-notify-add-watch): Don't special-case
520 w32notify when computing the directory to watch.
521
522 2013-11-27 Glenn Morris <rgm@gnu.org>
523
524 Make bootstrap without generated uni-*.el files possible again.
525 * loadup.el: Update command-line-args checking for unidata-gen.
526 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
527 * composite.el, international/characters.el:
528 Handle unicode tables being undefined.
529
530 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
531 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
532 (compile-main): Depend on leim rule.
533 (leim): New rule.
534 * loadup.el: Move leim-list.el to leim/ subdirectory.
535 * startup.el (normal-top-level): No more leim directory.
536 * international/ja-dic-cnv.el (skkdic-convert):
537 Disable version-control and autoloads in output files.
538 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
539 Disable version-control and autoloads in output files.
540 * leim/quail: Move here from ../leim.
541 * leim/quail/hangul.el (hangul-input-method-activate):
542 Add autoload cookie.
543 (generated-autoload-load-name): Set file-local value.
544 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
545 (generated-autoload-load-name): Set file-local value.
546
547 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
548
549 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
550 (eww-add-bookmark): ask confirmation when add to bookmarks
551 (eww-quit): ask confirmation before quitting eww
552
553 2013-11-26 Eli Zaretskii <eliz@gnu.org>
554
555 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
556 reading output from Diff on MS-Windows and MS-DOS.
557
558 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
559
560 * emacs-lisp/helpers.el (string-reverse): New function.
561
562 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
563
564 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
565 names on MS Windows, like "/[::1]:".
566
567 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
568 SWITCHES.
569
570 2013-11-26 Glenn Morris <rgm@gnu.org>
571
572 * progmodes/python.el (python-indent-guess-indent-offset):
573 Avoid corner-case error. (Bug#15975)
574
575 Preload leim-list.el. (Bug#4789)
576 * loadup.el: Load leim-list.el when found.
577 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
578
579 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
580
581 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
582
583 * emacs-lisp/helpers.el (string-join): New function.
584
585 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
586
587 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
588 Mark as obsolete and replace it with a symbol property.
589 (byte-compile-form): Use new 'interactive-only property.
590 * comint.el, files.el, replace.el, simple.el:
591 Apply new 'interactive-only properly.
592
593 2013-11-25 Martin Rudalics <rudalics@gmx.at>
594
595 * window.el (display-buffer-at-bottom): Make sure that
596 split-window-sensibly creates the new window on bottom
597 (Bug#15961).
598
599 2013-11-23 David Kastrup <dak@gnu.org>
600
601 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
602 on the conflict markers when available.
603 (smerge--get-marker): New function.
604 (smerge-end-re, smerge-base-re): Add subgroup.
605
606 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
607
608 * frame.el (handle-focus-in, handle-focus-out): Add missing
609 interactive spec.
610
611 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
612
613 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
614 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
615
616 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
617
618 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
619 (gomoku--last-pos): New var.
620 (gomoku--intangible-chars): New const.
621 (gomoku--intangible): New function.
622 (gomoku-mode): Use it. Derive from special-mode.
623 (gomoku-move-up): Adjust line count.
624 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
625 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
626 Simplify accordingly.
627
628 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
629 Remove blink-cursor code.
630 (blink-cursor-timer-function, blink-cursor-suspend):
631 Don't special-case GUIs.
632 (blink-cursor-mode): Use focus-in/out-hook.
633
634 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
635
636 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
637 work when annotation is invisible (Bug#13886).
638
639 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
640
641 * json.el (json-alist-p): Only return non-nil if the alist has
642 simple keys (Bug#13518).
643
644 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
645
646 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
647 when control-statement is the first statement in a buffer (Bug#15956).
648
649 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
650
651 * imenu.el (imenu-generic-skip-comments-and-strings):
652 New option (Bug#15560).
653 (imenu--generic-function): Use it.
654
655 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
656
657 * minibuffer.el (completion--in-region-1): Scroll the correct
658 window. (Bug#13898)
659
660 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
661
662 * emacs-lisp/helpers.el: Add some string helpers.
663 (string-trim-left): Removes leading whitespace.
664 (string-trim-right): Removes trailing whitespace.
665 (string-trim): Removes leading and trailing whitespace.
666
667 * subr.el (string-suffix-p): New function.
668
669 2013-11-23 Glenn Morris <rgm@gnu.org>
670
671 * progmodes/python.el (python-shell-send-file):
672 Add option to delete file when done. (Bug#15647)
673 (python-shell-send-string, python-shell-send-region): Use it.
674
675 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
676
677 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
678 to set buffer-read-only to t, never to nil. (Bug#15938)
679
680 * textmodes/tex-mode.el (latex-noindent-environments):
681 Add safe-local-variable property. (Bug#15936)
682
683 2013-11-23 Glenn Morris <rgm@gnu.org>
684
685 * textmodes/enriched.el (enriched-mode): Doc fix.
686 * emacs-lisp/authors.el (authors-renamed-files-alist):
687 Add enriched.doc -> enriched.txt.
688
689 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
690
691 2013-11-22 Leo Liu <sdl.web@gmail.com>
692
693 * progmodes/octave.el (inferior-octave-startup): Spit out error
694 message.
695
696 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
697
698 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
699 Improve docstring.
700 Add :version.
701 (ruby-encoding-magic-comment-style): Add :version.
702
703 2013-11-22 Leo Liu <sdl.web@gmail.com>
704
705 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
706 (Bug#15076)
707 (octave-help-mode): Adapt to change to help-mode-finish to use
708 derived-mode-p on 2013-09-17.
709 (inferior-octave-prompt): Also match octave-gui.
710 (octave-kill-process): Don't ask twice. (Bug#10564)
711
712 2013-11-22 Leo Liu <sdl.web@gmail.com>
713
714 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
715 (inferior-octave-startup, inferior-octave-check-process)
716 (inferior-octave-track-window-width-change)
717 (octave-completion-at-point, octave-eldoc-function): Use it.
718 (octave-kill-process): Provide confirmation. (Bug#10564)
719
720 2013-11-21 Leo Liu <sdl.web@gmail.com>
721
722 * progmodes/octave.el (octave-mode, inferior-octave-mode):
723 Fix obsolete variable comment-use-global-state.
724
725 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
726
727 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
728 Add `octave-source-file'.
729 (octave-source-file): New function. (Bug#15935)
730
731 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
732
733 * net/eww.el (eww-local-regex): New variable.
734 (eww): Use it to detect localhost and similar.
735
736 2013-11-21 Leo Liu <sdl.web@gmail.com>
737
738 Add completion for command `ag'.
739 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
740 (pcomplete/ag): New function.
741 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
742
743 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
744
745 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
746 (bug#14646).
747 (make-obsolete): Remove interactive spec.
748
749 2013-11-21 Glenn Morris <rgm@gnu.org>
750
751 * startup.el (command-line-1): Use path-separator with -L.
752
753 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
754
755 * emacs-lisp/package.el (describe-package-1): Add package archive
756 to shown fields.
757
758 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
759
760 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
761 Change default to "# encoding: %s" to differentiate it from the
762 default Ruby encoding comment template.
763
764 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
765
766 * ses.el (ses-mode): Doc fix. (Bug#14748)
767
768 2013-11-20 Leo Liu <sdl.web@gmail.com>
769
770 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
771
772 2013-11-19 Dan Nicolaescu <dann@gnu.org>
773
774 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
775 when rebase or bisect are in progress.
776
777 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
778
779 * filenotify.el (file-notify-add-watch): Doc fix.
780
781 2013-11-19 Leo Liu <sdl.web@gmail.com>
782
783 * obsolete/rcompile.el: Mark obsolete.
784
785 * progmodes/compile.el (compilation-start)
786 (compilation-goto-locus, compilation-find-file):
787 Pass no-display-ok and handle nil value from display-buffer.
788 (Bug#13594)
789
790 * window.el (display-buffer-alist, display-buffer): Document the
791 new parameter no-display-ok. Return either a window or nil
792 but never a non-window value.
793
794 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
795
796 * electric.el (electric-indent-mode-map): Remove.
797 (electric-indent-mode): Change the global-map instead (bug#15915).
798
799 * textmodes/text-mode.el (paragraph-indent-minor-mode):
800 Use add-function.
801
802 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * emacs-lisp/nadvice.el (remove-function): Align with
805 add-function's behavior.
806
807 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
808 (gdb--string-regexp): New constant.
809 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
810 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
811 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
812 submatch 1.
813 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
814 Adjust use accordingly.
815 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
816
817 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
818
819 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
820 interpolation curlies (Bug#15914).
821
822 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
823
824 * calc/calc.el (calc-context-sensitive-enter): New variable.
825 (calc-enter): Use `calc-context-sensitive-enter'.
826
827 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
828
829 * progmodes/cfengine.el: Version bump.
830 (cfengine-cf-promises): New defcustom to locate cf-promises.
831 (cfengine3-vartypes): Add new "data" type.
832 (cfengine3--current-word): New function to get current name-like
833 word or its bounds.
834 (cfengine3--current-function): New function to look up a CFEngine
835 function's definition.
836 (cfengine3-format-function-docstring): New function.
837 (cfengine3-make-syntax-cache): New function.
838 (cfengine3-documentation-function): New function: ElDoc glue.
839 (cfengine3-completion-function): New function: completion glue.
840 (cfengine3-mode): Set `compile-command',
841 `eldoc-documentation-function', and add to
842 `completion-at-point-functions'.
843
844 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
845
846 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
847 `tramp-current-connection'.
848
849 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
850
851 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
852 nil/self/true/false with "end of symbol".
853
854 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
855
856 * subr.el (version-regexp-alist): Fix a typo.
857
858 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
859
860 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
861 "en_US.utf8" and "LC_CTYPE" to "".
862 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
863 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
864
865 2013-11-15 Leo Liu <sdl.web@gmail.com>
866
867 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
868
869 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
870
871 * progmodes/gud.el (ctl-x-map):
872 Remove C-x SPC binding. (Bug#12342)
873 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
874
875 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
876
877 * subr.el (version-regexp-alist):
878 Recognize hg, svn and darcs versions as snapshot versions.
879
880 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
881 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
882 (ruby--encoding-comment-required-p): Extract from
883 `ruby-mode-set-encoding'.
884 (ruby-mode-set-encoding): Add the ability to always insert an
885 utf-8 encoding comment. Fix and simplify coding comment update
886 logic.
887
888 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
889
890 * net/tramp-gvfs.el (top): Run init code only when
891 `tramp-gvfs-enabled' is not nil.
892 (tramp-gvfs-enabled): Check also :system bus.
893
894 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
895
896 Sync with upstream verilog-mode revision 78e66ba.
897 * progmodes/verilog-mode.el (verilog-end-of-defun)
898 (verilog-type-completion, verilog-get-list): Remove unused funcs.
899 (verilog-get-end-of-defun): Remove unused argument.
900 (verilog-comment-depth): Remove unused local `e'.
901 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
902 Don't pass arg to verilog-get-end-of-defun.
903
904 2013-11-14 Glenn Morris <rgm@gnu.org>
905
906 * obsolete/assoc.el (aget): Prefix dynamic variable.
907
908 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
909
910 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
911
912 * widget.el, hfy-cmap.el: Remove bogus package version number.
913
914 2013-11-13 Glenn Morris <rgm@gnu.org>
915
916 * replace.el (replace-eval-replacement):
917 Try to give more helpful error message. (Bug#15836)
918
919 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
920 (archive-7z-update): Avoid custom type mismatches.
921
922 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
923
924 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
925
926 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
927 address can be empty.
928
929 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
930 Accept nil SWITCHES.
931 (tramp-gvfs-handle-write-region): Implement APPEND.
932
933 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
934
935 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
936 binary "|" operator and closing block args delimiter.
937 Remove FIXME comment referring to Ruby 1.8-only syntax.
938 (ruby-smie--implicit-semi-p): Not after "|" operator.
939 (ruby-smie--closing-pipe-p): New function.
940 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
941 (ruby-smie-rules): Indent after "|".
942
943 2013-11-12 Glenn Morris <rgm@gnu.org>
944
945 * ps-print.el (ps-face-attribute-list):
946 Handle anonymous faces. (Bug#15827)
947
948 2013-11-12 Martin Rudalics <rudalics@gmx.at>
949
950 * window.el (display-buffer-other-frame): Fix doc-string.
951 (Bug#15868)
952
953 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
954
955 * subr.el (force-mode-line-update): Delete, move to buffer.c.
956
957 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
958
959 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
960 (tramp-sh-handle-file-local-copy): Don't write a message when
961 saving temporary files.
962
963 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
964 both directories are remote.
965 (tramp-smb-handle-directory-files): Do not return double entries.
966 Do not expand full file names.
967 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
968 (tramp-smb-handle-write-region): Implement APPEND.
969 (tramp-smb-get-stat-capability): Fix a stupid bug.
970
971 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
972
973 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
974
975 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
976
977 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
978 throwing error over malformed let/let* (bug#15814).
979
980 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * iswitchb.el (iswitchb-mode): Mark obsolete.
983
984 2013-11-11 Glenn Morris <rgm@gnu.org>
985
986 * international/uni-bidi.el, international/uni-category.el:
987 * international/uni-name.el, international/uni-numeric.el:
988 Regenerate for Unicode 6.3.0.
989
990 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
991
992 * net/tramp.el (tramp-methods):
993 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
994 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
995
996 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
997
998 * progmodes/sh-script.el (sh-font-lock-keywords-var):
999 Force highlighting text after Summary keyword in doc face for rpm.
1000
1001 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1002
1003 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1004 available and the word has no wildcards, append one to the grep pattern.
1005 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1006 (ispell-complete-word): Call `ispell-lookup-words' with the value
1007 independent of `ispell-look-p'.
1008
1009 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1010
1011 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1012 Not after "||".
1013 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1014 their parent.
1015
1016 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1019 (ruby-font-lock-keywords): Use backquote.
1020
1021 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1022
1023 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1024 (ruby-smie--backward-token): Only consider full-string matches.
1025
1026 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1027
1028 * faces.el (describe-face): Add distant-foreground.
1029
1030 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1031
1032 * progmodes/ruby-mode.el: Improve encoding comment handling.
1033 (ruby-encoding-magic-comment-style): New option.
1034 (ruby-custom-encoding-magic-comment-template): New option.
1035 (ruby--insert-coding-comment, ruby--detect-encoding):
1036 New functions extracted from `ruby-mode-set-encoding'.
1037 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1038 to control the style of the auto-inserted encoding comment.
1039
1040 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1041
1042 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1043 Use `smie-backward-sexp' with token argument.
1044
1045 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1046
1047 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1048 Remove instrumentation code.
1049
1050 2013-11-08 Glenn Morris <rgm@gnu.org>
1051
1052 * progmodes/autoconf.el (autoconf-mode):
1053 Tweak comment-start-skip. (Bug#15822)
1054
1055 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1056
1057 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1058 at bobp (bug#15826).
1059 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1060
1061 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1062
1063 * man.el (Man-start-calling): New macro, extracted from
1064 Man-getpage-in-background.
1065 (Man-getpage-in-background): Use it.
1066 (Man-update-manpage): New command.
1067 (Man-mode-map): Bind it.
1068
1069 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1070
1071 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1072 of "and", "or", "&&" and "||".
1073 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1074 argument. Prohibit opening curly brace because it could only be a
1075 block opener in that position.
1076 (ruby-smie--forward-token, ruby-smie--backward-token):
1077 Separate "|" from "&" or "*" going after it. That can happen in block
1078 arguments.
1079 (ruby-smie--indent-to-stmt): New function, seeks the end of
1080 previous statement or beginning of buffer.
1081 (ruby-smie-rules): Use it.
1082 (ruby-smie-rules): Check if there's a ":" before a curly block
1083 opener candidate; if there is, it's a hash.
1084
1085 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1088 (cl--block-wrapper): Fix last accidental change.
1089
1090 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1091
1092 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1093 Instrument, in order to hunt failure on hydra.
1094
1095 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1096
1097 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1098 malformed bindings form (bug#15814).
1099
1100 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1101
1102 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1103 "." compared to " @ ". This incidentally fixes some indentation
1104 examples with "do".
1105 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1106 (ruby-smie-grammar): New tokens: "and" and "or".
1107 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1108 Exclude "and" and "or". Remove "do" in order to work around token
1109 priorities.
1110 (ruby-smie-rules): Add all infix tokens. Handle the case of
1111 beginning-of-buffer.
1112
1113 2013-11-06 Glenn Morris <rgm@gnu.org>
1114
1115 * Makefile.in (setwins_almost, setwins_for_subdirs):
1116 Avoid accidental matches.
1117
1118 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1119
1120 * menu-bar.el (popup-menu): Use key-binding.
1121
1122 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1123
1124 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1125 menus, support also the menus produced by minor modes.
1126 (Bug#15817)
1127
1128 2013-11-06 Leo Liu <sdl.web@gmail.com>
1129
1130 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1131 DISTANCE to bound the search. All uses changed. (Bug#15808)
1132
1133 2013-11-06 Glenn Morris <rgm@gnu.org>
1134
1135 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1136 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1137 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1138
1139 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1140
1141 * electric.el (electric-indent-just-newline): New command.
1142 (electric-indent-mode-map): New keymap.
1143 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1144 Re-add :group which weren't redundant.
1145
1146 * electric.el (electric-indent-local-mode): New minor mode.
1147 (electric-indent-functions-without-reindent): New var.
1148 (electric-indent-post-self-insert-function): Use it.
1149 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1150
1151 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1152
1153 * international/quail.el (quail-help): Be more explicit about the
1154 meaning of the labels shown on the keys. (Bug#15800)
1155
1156 * startup.el (normal-top-level): Load the subdirs.el files before
1157 setting the locale environment. (Bug#15805)
1158
1159 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1162 via arguments so as to get the right ones (bug#15418).
1163
1164 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1165
1166 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1167
1168 Fix problems found while writing a test suite.
1169
1170 * net/tramp-compat.el (tramp-compat-load): New defun.
1171 * net/tramp.el (tramp-handle-load): Use it.
1172
1173 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1174 "(numberp ok-if-already-exists)" correctly.
1175
1176 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1177
1178 * international/characters.el (glyphless-char-display-control):
1179 Add usage note.
1180
1181 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1182
1183 * progmodes/python.el (python-mode):
1184 * progmodes/scheme.el (scheme-mode):
1185 * progmodes/prolog.el (prolog-mode):
1186 * progmodes/ruby-mode.el (ruby-mode):
1187 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1188 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1189
1190 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1191
1192 * rect.el (rectangle--highlight-for-redisplay):
1193 * emacs-lisp/smie.el (smie--next-indent-change):
1194 Use buffer-chars-modified-tick.
1195
1196 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1197
1198 * electric.el (electric-indent-post-self-insert-function):
1199 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1200
1201 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1202
1203 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1204
1205 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1206
1207 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1208 (bug#15786).
1209
1210 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1213
1214 * progmodes/python.el: Fix up last change.
1215 (python-shell--save-temp-file): New function.
1216 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1217 `string' comes from the current buffer.
1218 (python-shell-send-string-no-output): Remove `msg' arg.
1219 (python--use-fake-loc): New var.
1220 (python-shell-buffer-substring): Obey it. Try to compensate for the
1221 extra coding line added by python-shell--save-temp-file.
1222 (python-shell-send-region): Use python-shell--save-temp-file and
1223 python-shell-send-file directly. Add `nomain' argument.
1224 (python-shell-send-buffer): Use python-shell-send-region.
1225 (python-electric-pair-string-delimiter): New function.
1226 (python-mode): Use it.
1227
1228 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1229
1230 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1231 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1232 environment and decoding all of the default-directory's to here
1233 from command-line.
1234 (command-line): Decode also argv[0].
1235
1236 * loadup.el: Error out if default-directory is a multibyte string
1237 when we are dumping.
1238
1239 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1240
1241 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1242
1243 * emacs-lisp/package.el (package-menu-mode)
1244 (package-menu--print-info, package-menu--archive-predicate):
1245 Add Archive column to package list.
1246
1247 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1248
1249 Fix problems found while writing a test suite.
1250
1251 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1252 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1253 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1254 to nil when running original file name handler. Otherwise,
1255 there are problems with constructs like "$$FOO".
1256
1257 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1258 for `localname'.
1259
1260 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1261
1262 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1263
1264 * subr.el (version<, version<=, version=):
1265 Update docstrings with information for snapshot versions.
1266
1267 * helpers.el: New library for misc helper functions.
1268 (hash-table-keys): New function returning a list of hash keys.
1269 (hash-table-values): New function returning a list of hash values.
1270
1271 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1272
1273 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1274 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1275
1276 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1277
1278 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1279 checking whether point is after a 1-letter word.
1280
1281 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1282
1283 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1284 Don't infloop when expanding region over `multiline' syntax-type that
1285 begins a line (bug#15778).
1286
1287 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1288
1289 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1290 Make it into a proper minor mode.
1291 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1292 (rectangle-mark-mode-map): New keymap.
1293 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1294
1295 2013-11-04 Glenn Morris <rgm@gnu.org>
1296
1297 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1298
1299 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1300
1301 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1302 (ruby-smie-rules): Use smie-rule-parent instead.
1303
1304 * emacs-lisp/smie.el (smie-rule-parent): Always call
1305 smie-indent-virtual rather than only for hanging tokens.
1306 (smie--next-indent-change): New helper command.
1307
1308 2013-11-03 Glenn Morris <rgm@gnu.org>
1309
1310 * Makefile.in (abs_srcdir): Remove.
1311 (emacs): Unset EMACSLOADPATH.
1312
1313 2013-11-02 Glenn Morris <rgm@gnu.org>
1314
1315 * Makefile.in (EMACS): Use a relative filename.
1316 (abs_top_builddir): Remove.
1317 (custom-deps, finder-data, autoloads): Use --chdir.
1318
1319 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1320
1321 Use relative filenames in TAGS files.
1322 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1323 (lisptagsfiles4, TAGS): Use relative file names.
1324 (TAGS-LISP): Remove.
1325 (maintainer-clean): No more TAGS-LISP file.
1326
1327 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1328 (lisptagsfiles4): Use absolute filenames again.
1329 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1330 Remove all *loaddefs files, not just the first. Remove esh-groups.
1331 (maintainer-clean): Delete TAGS, TAGS-LISP.
1332
1333 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1334
1335 * emacs-lisp/package.el (package-version-join):
1336 Recognize snapshot versions.
1337
1338 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1339
1340 * subr.el (version-regexp-alist): Add support for snapshot versions.
1341
1342 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1343
1344 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1345 New function, replacement for `smie-rule-parent' for when we want to
1346 skip over our direct parent if it's an assignment token..
1347 (ruby-smie-rules): Use it.
1348
1349 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1350
1351 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1352 unconditionally. Remove now unnecessary forward declarations.
1353 Remove XEmacs-specific setup.
1354 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1355 (ruby-font-lock-syntactic-keywords)
1356 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1357 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1358 (ruby-here-doc-end-syntax): Remove.
1359 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1360 defined as function.
1361
1362 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1363
1364 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1365
1366 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1367
1368 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1369 table and abbrev table, `define-derived-mode' does that for us
1370 anyway.
1371
1372 2013-11-01 Glenn Morris <rgm@gnu.org>
1373
1374 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1375 files is atomic for some time, so no parallel compilation issues).
1376
1377 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1378
1379 * faces.el (face-x-resources): Add :distant-foreground.
1380 (region): Use :distant-foreground for gtk and ns.
1381
1382 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1383
1384 Allow multiple bibliographies when BibLaTeX is used rather than
1385 BibTeX.
1386 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1387 (reftex-locate-bibliography-files): Us it.
1388
1389 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1390
1391 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1392 allow comments in pbm files.
1393
1394 * term/w32-win.el (dynamic-library-alist): Support newer versions
1395 of libjpeg starting with v7: look only for the DLL from the
1396 version against which Emacs was built.
1397 Support versions of libpng beyond 1.4.x.
1398 Support libtiff v4.x.
1399
1400 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1401
1402 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1403 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1404 Add property :safe.
1405 (ruby-deep-arglist): Add property :type.
1406
1407 2013-10-31 Glenn Morris <rgm@gnu.org>
1408
1409 * Makefile.in (custom-deps, finder-data): No need to setq the target
1410 variables, we are in the right directory and the defaults work fine.
1411
1412 2013-10-30 Glenn Morris <rgm@gnu.org>
1413
1414 * Makefile.in (autoloads): Do not use abs_lisp.
1415
1416 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1417 `newline' does not respect `standard-output', so use `princ'.
1418
1419 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1420
1421 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1422 * buff-menu.el (Buffer-menu--unmark): New function.
1423 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1424
1425 2013-10-30 Glenn Morris <rgm@gnu.org>
1426
1427 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1428
1429 * emacs-lisp/package.el (lm-homepage): Declare.
1430
1431 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1432 Fix doc typos.
1433
1434 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1435
1436 * Makefile.in (finder-data, autoloads, update-subdirs)
1437 (compile-main, compile-clean, compile-always, bootstrap-clean):
1438 Check return value of cd.
1439 (compile-calc): Remove.
1440
1441 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1442
1443 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1444
1445 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1446 (byte-compile-and-folded): New function.
1447 (=, <, >, <=, >=): Use it.
1448
1449 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1450 (path-separator, null-device, buffer-file-coding-system)
1451 (lpr-headers-switches): Check system-type before modifying them.
1452 (find-buffer-file-type-coding-system): Mark obsolete.
1453 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1454 find-file-not-found-set-buffer-file-coding-system.
1455 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1456 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1457 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1458 (w32-direct-print-region-helper, w32-direct-print-region-function)
1459 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1460 * startup.el (normal-top-level-add-subdirs-to-load-path):
1461 * ps-print.el (ps-print-region-function):
1462 * lpr.el (print-region-function): Use new name.
1463
1464 * subr.el (custom-declare-variable-early): Remove function.
1465 (custom-declare-variable-list): Remove var.
1466 (error, user-error): Remove `while' loop.
1467 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1468 (user-emacs-directory-warning, locate-user-emacs-file):
1469 Move to files.el.
1470 * simple.el (read-quoted-char-radix, read-quoted-char):
1471 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1472 Move from subr.el.
1473 * custom.el (custom-declare-variable-list): Don't process
1474 custom-declare-variable-list.
1475
1476 * progmodes/python.el (python-shell-get-buffer): New function.
1477 (python-shell-get-process): Use it.
1478 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1479 Python which encoding was used. Don't split-string since we only care
1480 about the first line. Return the temp-file, if applicable.
1481 (python-shell-send-region): Tell compile.el how to turn locations in
1482 the temp-file into locations in the source buffer.
1483
1484 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1485
1486 * subr.el (undefined): Add missing behavior from the C code for
1487 unbound keys.
1488
1489 * rect.el: Use lexical-binding. Add new rectangular region support.
1490 (rectangle-mark): New command.
1491 (rectangle--region): New var.
1492 (deactivate-mark-hook): Reset rectangle--region.
1493 (rectangle--extract-region, rectangle--insert-for-yank)
1494 (rectangle--highlight-for-redisplay)
1495 (rectangle--unhighlight-for-redisplay): New functions.
1496 (region-extract-function, redisplay-unhighlight-region-function)
1497 (redisplay-highlight-region-function): Use them to handle
1498 rectangular region.
1499 * simple.el (region-extract-function): New var.
1500 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1501 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1502 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1503 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1504 (redisplay-unhighlight-region-function)
1505 (redisplay-highlight-region-function): New vars.
1506 (redisplay--update-region-highlight): New function.
1507 (pre-redisplay-function): Use it.
1508 (exchange-point-and-mark): Don't deactivate the mark before
1509 reactivate-it anyway.
1510 * comint.el (comint-kill-region): Remove yank-handler argument.
1511 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1512 (delete-char): Remove property, since it's now part of their
1513 default behavior.
1514 (self-insert-iso): Remove property since this command doesn't exist.
1515
1516 * emacs-lisp/package.el (package--download-one-archive)
1517 (describe-package-1): Don't query the user about final newline.
1518
1519 2013-10-29 Daniel Colascione <dancol@dancol.org>
1520
1521 * net/tramp.el (tramp-methods): Document new functionality.
1522 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1523 tramp-hostname-checker if method provides one instead of scanning
1524 argument list for "%h" to decide hostname acceptability.
1525
1526 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1527
1528 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1529 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1530 Handle COPY-CONTENTS. (Bug#15737)
1531
1532 2013-10-28 Daiki Ueno <ueno@gnu.org>
1533
1534 * epa-file.el
1535 (epa-file-cache-passphrase-for-symmetric-encryption):
1536 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1537
1538 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1539
1540 * image.el (defimage):
1541 (image-load-path): Doc fixes.
1542
1543 2013-10-27 Alan Mackenzie <acm@muc.de>
1544
1545 Indent statements in macros following "##" correctly.
1546 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1547 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1548
1549 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1550
1551 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1552
1553 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1554
1555 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1556 after `=' is probably a new expression.
1557
1558 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1559
1560 * man.el (man-imenu-title): New option.
1561 (Man-mode-map): Add menu. (Bug#15722)
1562 (Man-mode): Add imenu to menu.
1563
1564 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1565
1566 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1567 specific in what the first arg can be: a non-keyword word,
1568 string/regexp/percent literal opener, opening paren, or unary
1569 operator followed directly by word.
1570
1571 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1572
1573 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1574 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1575 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1576 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1577 Remove vars, they do not apply any more.
1578 (prolog-mode-abbrev-table): Remove redundant declaration.
1579 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1580 (prolog-use-smie): Remove.
1581 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1582 supported by prolog-electric-if-then-else-flag.
1583 (prolog-mode-variables, prolog-menu): Use setq-local.
1584 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1585 Remove binding to `Backspace' since this key doesn't exist anyway.
1586 Remove bindings for electric self-inserting keys.
1587 (prog-mode): Assume it's defined.
1588 (prolog-post-self-insert): New function.
1589 (prolog-mode): Use it.
1590 (prolog-indent-line, prolog-indent-level)
1591 (prolog-find-indent-of-matching-paren)
1592 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1593 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1594 (prolog-goto-next-paren, prolog-in-string-or-comment)
1595 (prolog-tokenize, prolog-inside-mline-comment)
1596 (prolog-find-start-of-mline-comment): Remove functions.
1597 (prolog-find-unmatched-paren, prolog-clause-end)
1598 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1599 (prolog-electric--if-then-else): Rename from
1600 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1601 (prolog-tokenize-searchkey): Remove const.
1602 (prolog-clause-info): Use forward-sexp.
1603 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1604 (prolog-electric-if-then-else): Remove commands.
1605 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1606 for use in post-self-insert-hook.
1607 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1608 for use in post-self-insert-hook.
1609 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1610 for use in post-self-insert-hook.
1611 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1612 adapt it for use in post-self-insert-hook.
1613
1614 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1615
1616 * emacs-lisp/ert.el (ert-run-tests-interactively):
1617 Use `completing-read'. (Bug#9756)
1618
1619 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1620
1621 * simple.el (line-move): Call line-move-1 instead of
1622 line-move-visual when the current window hscroll is zero, but
1623 temporary-goal-column indicates we will need to hscroll as result
1624 of the movement. (Bug#15712)
1625
1626 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1627
1628 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1629 capitalization. Use :visible instead of :active.
1630 Fix `ruby-indent-exp' reference. Add menu items for the generic
1631 commands that are used with SMIE.
1632 (ruby-do-end-to-brace): Insert space after `{'.
1633
1634 2013-10-25 John Anthony <john@jo.hnanthony.com>
1635
1636 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1637
1638 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1639
1640 2013-10-25 Glenn Morris <rgm@gnu.org>
1641
1642 * vc/vc.el (vc-print-log): Don't use a working revision unless
1643 one was explicitly specified. (Bug#15322)
1644
1645 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1646
1647 * subr.el (add-to-list): Preserve return value in compiler-macro
1648 (bug#15692).
1649
1650 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1651
1652 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1653 result. Ask user to retry using '-all' flag. (Bug#15701)
1654
1655 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * emacs-lisp/smie.el: New smie-config system.
1658 (smie-config): New defcustom.
1659 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1660 (smie-config-guess, smie-config-save): New commands.
1661 (smie-config--mode-local, smie-config--buffer-local)
1662 (smie-config--trace, smie-config--modefuns): New vars.
1663 (smie-config--advice, smie-config--mode-hook)
1664 (smie-config--setter, smie-config-local, smie-config--get-trace)
1665 (smie-config--guess-value, smie-config--guess): New functions.
1666 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1667 text properties. Treat "string fence" syntax like string syntax.
1668
1669 * progmodes/sh-script.el (sh-use-smie): Change default.
1670 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1671 (sh-var-value): Simplify by CSE.
1672 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1673 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1674 is used.
1675 (sh-guess-basic-offset): Use cl-incf.
1676 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1677
1678 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1679
1680 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1681 (bug#15699).
1682
1683 2013-10-24 Glenn Morris <rgm@gnu.org>
1684
1685 * Makefile.in (abs_top_srcdir): Remove.
1686 (update-subdirs): Use relative path to update-subdirs.
1687
1688 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1689
1690 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1691 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1692 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1693 Call unmsys--file-name before expand-file-name, not after it.
1694
1695 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1696
1697 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1698 (ert-test-skipped): New error.
1699 (ert-skip, ert-stats-skipped): New defuns.
1700 (ert--skip-unless): New macro.
1701 (ert-test-skipped): New struct.
1702 (ert--run-test-debugger, ert-test-result-type-p)
1703 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1704 (ert--stats-set-test-and-result, ert-char-for-test-result)
1705 (ert-string-for-test-result, ert-run-tests-batch)
1706 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1707 Handle skipped tests. (Bug#9803)
1708
1709 2013-10-24 Glenn Morris <rgm@gnu.org>
1710
1711 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1712
1713 * Makefile.in (abs_top_srcdir): New, set by configure.
1714 (update-subdirs): Correct build-aux location.
1715
1716 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1717
1718 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1719 value, whether we could auto-deduce `backend', or not.
1720
1721 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1722 with parameters" example. Simplify the "is it block or is it
1723 hash" check, but also make it more thorough.
1724
1725 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1726
1727 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1728
1729 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1730
1731 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1732 { if it is hanging.
1733
1734 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1735 :before ";".
1736
1737 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1738
1739 * progmodes/compile.el (compilation-directory-matcher)
1740 (compilation-page-delimiter):
1741 Support GNU Make-4.0 directory quoting. (Bug#15678)
1742
1743 2013-10-23 Leo Liu <sdl.web@gmail.com>
1744
1745 * ido.el (ido-tidy): Handle read-only text.
1746
1747 2013-10-23 Glenn Morris <rgm@gnu.org>
1748
1749 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1750 (emacs, compile, compile-always):
1751 Quote entities that might contain whitespace.
1752 (custom-deps, finder-data, autoloads): Use abs_lisp.
1753 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1754 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1755 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1756
1757 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1758
1759 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1760 Use `following-char'.
1761
1762 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1765 * progmodes/ruby-mode.el (ruby-smie-rules):
1766 Remove corresponding workaround. Fix indentation rule of ";" so it
1767 also applies when ";" is the parent.
1768
1769 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1770
1771 * frame.el (display-screens, display-pixel-height)
1772 (display-pixel-width, display-mm-width, display-backing-store)
1773 (display-save-under, display-planes, display-color-cells)
1774 (display-visual-class, display-monitor-attributes-list):
1775 Mention the optional ‘display’ argument in doc strings.
1776
1777 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1778
1779 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1780 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1781
1782 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1783
1784 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1785 TODO. Add "." after " @ ".
1786 (ruby-smie--at-dot-call): New function. Checks if point at method
1787 call with explicit target.
1788 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1789 to the method name tokens when it precedes them.
1790 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1791 (ruby-smie-rules): Add rule for indentation before and after "."
1792 token.
1793
1794 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * textmodes/remember.el (remember-diary-extract-entries):
1797 Avoid add-to-list.
1798
1799 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1800 an instruction.
1801
1802 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1803
1804 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1805 (ruby-smie--implicit-semi-p): Add new operator chars.
1806
1807 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1808 `smie-down-list'.
1809 (ruby-smie--args-separator-p): Check that there's no newline
1810 between method call and its arguments.
1811
1812 2013-10-20 Alan Mackenzie <acm@muc.de>
1813
1814 Allow comma separated lists after Java "implements".
1815
1816 * progmodes/cc-engine.el (c-backward-over-enum-header):
1817 Parse commas.
1818 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1819 from a "disallowed" list in enum fontification.
1820
1821 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1822
1823 * startup.el (default-frame-background-mode): Remove unused defvar.
1824
1825 * progmodes/verilog-mode.el (verilog-mode): Don't set
1826 comment-indent-function globally.
1827
1828 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1829
1830 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1831 Move Info menu item creation to ns-win.el.
1832
1833 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1834 in menu bar.
1835
1836 * menu-bar.el: Move GNUStep specific menus...
1837
1838 * term/ns-win.el (ns-initialize-window-system): ... to here.
1839
1840 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * simple.el (newline): Only run post-self-insert-hook when
1843 called interactively.
1844
1845 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1846
1847 * icomplete.el (icomplete-with-completion-tables): Add :version.
1848
1849 2013-10-19 Alan Mackenzie <acm@muc.de>
1850
1851 Fix fontification bugs with constructors and const.
1852
1853 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1854 CASE 2) Remove the check for the absence of a suffix construct
1855 after a function declaration with only types (no identifiers) in
1856 the parentheses. Also, accept a function declaration with just a
1857 type inside the parentheses, if this type can be positively
1858 recognised as such, or if a prefix keyword like "explicit" nails
1859 down the construct as a declaration.
1860
1861 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1862
1863 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1864 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1865 the problem whereby selecting a menu item that leads to a
1866 minibuffer prompt moves the cursor out of the minibuffer window,
1867 making it hard to type at the prompt. Suggested by Stefan Monnier
1868 <monnier@iro.umontreal.ca>.
1869
1870 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1871
1872 * menu-bar.el: Don't make Services menu.
1873
1874 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1875
1876 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1877 (ffap-alist): Use ffap-c++-mode for c++-mode.
1878 (ffap-c++-path): New variable.
1879 (ffap-c++-mode): New function.
1880
1881 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1882
1883 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1884
1885 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1886
1887 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1888 introduced on 2013-09-08, which results in an infinite loop
1889 requesting a password.
1890
1891 2013-10-18 Glenn Morris <rgm@gnu.org>
1892
1893 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1894
1895 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1896
1897 Sync with upstream verilog-mode revision 1a6ecec7.
1898 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1899 (verilog-mode-release-date): Remove.
1900 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1901 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1902 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1903 (verilog-auto-tieoff-ignore-regexp)
1904 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1905 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1906 (verilog-signals-with, verilog-dir-cache-preserving)
1907 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1908 Doc fixes.
1909 (verilog-case-fold): New option, to control case folding in
1910 regexp searches, bug597.
1911 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1912 (verilog-string-match-fold, verilog-in-paren-count)
1913 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1914 (verilog-at-close-struct-p): New functions.
1915 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1916 (verilog-forward-sexp, verilog-set-auto-endcomments):
1917 (verilog-leap-to-case-head): Handle "unique0" case.
1918 (verilog-in-constraint-re): New constant.
1919 (verilog-keywords, verilog-type-font-keywords):
1920 Add some SystemVerilog 1800-2012 keywords.
1921 (verilog-label-be): Remove unimplemented argument, bug669.
1922 (verilog-batch-execute-func): When batch expanding clear
1923 create-lockfiles to prevent spurious user locks when a file ends
1924 up not changing.
1925 (verilog-calculate-indent, verilog-calc-1)
1926 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1927 (verilog-do-indent): Fix indentation of nested constraints
1928 and structures.
1929 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1930 (verilog-auto-inst-param): Use verilog-string-match-fold.
1931 (verilog-read-inst-module-matcher):
1932 Fix AUTOINST on gate primitives with #1.
1933 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1934 Reads all user-defined typed variables.
1935 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1936 (verilog-signals-matching-regexp)
1937 (verilog-signals-not-matching-regexp, verilog-auto):
1938 Respect verilog-case-fold.
1939 (verilog-diff-report): Fix line count.
1940 (verilog-auto-assign-modport): Remove unused local `modi'.
1941 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1942 better handle multidimensional arrays.
1943 Fix packed array ports misadding bit index in AUTOINST, bug637.
1944 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1945 to not double-declare existing outputs and inputs, respectively.
1946 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1947 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1948 (verilog-sk-uvm-component): New skeleton.
1949 (verilog-submit-bug-report): Add verilog-case-fold,
1950 remove verilog-mode-release-date.
1951
1952 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1953
1954 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1955 as before.
1956
1957 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1958
1959 * textmodes/remember.el (remember): set buffer-offer-save in
1960 remember buffers (bug#13566).
1961
1962 2013-10-18 Daniel Colascione <dancol@dancol.org>
1963
1964 When evaluating forms in ielm, direct standard output to ielm
1965 buffer. Add new ielm-return-for-effect command. Remove trailing
1966 whitespace throughout.
1967
1968 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1969 (ielm-return-for-effect): New command.
1970 (ielm-send-input): Accept optional `for-effect' parameter.
1971 (ielm-eval-input): Accept optional `for-effect' parameter.
1972 Bind `standard-output' to stream we create using
1973 `ielm-standard-output-impl'. Suppress printing result when
1974 `for-effect'.
1975 (ielm-standard-output-impl): New function.
1976 (inferior-emacs-lisp-mode): Explain new features in documentation.
1977
1978 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1979
1980 Code cleanup.
1981
1982 * net/tramp.el (tramp-debug-message): Do not check for connection
1983 buffer.
1984 (tramp-message): Use "vector" connection property.
1985
1986 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1987 (tramp-equal-remote, tramp-eshell-directory-change)
1988 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1989 (tramp-adb-handle-rename-file)
1990 * net/tramp-cmds.el (tramp-list-remote-buffers)
1991 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1992 * net/tramp-compat.el (tramp-compat-process-running-p)
1993 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1994 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1995 (tramp-gvfs-handle-rename-file)
1996 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1997 (tramp-set-file-uid-gid)
1998 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1999 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2000 of `file-remote-p'.
2001
2002 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2003 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2004 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2005 (tramp-gw-open-network-stream): Suppress unrelated traces.
2006
2007 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2008 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2009 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2010 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2011 connection property.
2012
2013 * net/tramp-cache.el (top): Suppress traces when reading
2014 persistency file.
2015
2016 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2017 Refactor common code. Improve debug message.
2018 (tramp-maybe-open-connection)
2019 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2020 connection buffer too early.
2021
2022 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2023 from `tramp-smb-actions-with-acl'.
2024 (tramp-smb-actions-set-acl): New defconst.
2025 (tramp-smb-handle-copy-directory)
2026 (tramp-smb-action-get-acl): New defun, renamed from
2027 `tramp-smb-action-with-acl'.
2028 (tramp-smb-action-set-acl): New defun.
2029 (tramp-smb-handle-set-file-acl): Rewrite.
2030
2031 2013-10-17 Glenn Morris <rgm@gnu.org>
2032
2033 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2034
2035 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2036
2037 * skeleton.el (skeleton-newline): Remove.
2038 (skeleton-internal-1): Use (insert "\n") instead.
2039
2040 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2041 let-bindings.
2042
2043 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2044 forward-sexp-function while we redo its job (bug#15613).
2045
2046 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2047
2048 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2049 represented by lists.
2050
2051 2013-10-16 Glenn Morris <rgm@gnu.org>
2052
2053 * tmm.el (tmm--history): New dynamic variable.
2054 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2055
2056 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2057
2058 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2059 (tramp-smb-errors): Add error messages.
2060 (tramp-smb-actions-with-acl): New defconst.
2061 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2062 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2063 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2064 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2065 (tramp-smb-get-stat-capability): Fix tests.
2066
2067 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2068
2069 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2070 (bug#15580).
2071
2072 2013-10-16 Glenn Morris <rgm@gnu.org>
2073
2074 * ansi-color.el (ansi-color-drop-regexp):
2075 Add 1J, 1K, 2K. (Bug#15617)
2076
2077 * files.el (hack-local-variables--warned-lexical): New.
2078 (hack-local-variables):
2079 Warn about misplaced lexical-binding. (Bug#15616)
2080
2081 * net/eww.el (eww-render): Always set eww-current-url,
2082 and update header line. (Bug#15622)
2083 (eww-display-html): ... Rather than just doing it here.
2084
2085 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2086
2087 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2088 menu navigations commands.
2089
2090 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2091
2092 * progmodes/subword.el (subword-capitalize): Be careful when
2093 the search for [[:alpha:]] fails (bug#15580).
2094
2095 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2096
2097 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2098 to commands that scroll the menu.
2099
2100 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2101
2102 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2103 Handle methods ending with `?' and `!'.
2104
2105 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2106
2107 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2108 `japanese-cp932' to `cp932' to fix the problem where saving a
2109 source file written in Shift_JIS twice would end up having
2110 `coding: japanese-cp932' which Ruby could not recognize.
2111 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2112 in `ruby-encoding-map'.
2113 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2114 doesn't need to be explicitly declared in magic comment.
2115 (ruby-encoding-map): Add type declaration for better customize UI.
2116
2117 2013-10-13 Glenn Morris <rgm@gnu.org>
2118
2119 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2120 Occur buffers are read-only. http://bugs.debian.org/720775
2121
2122 * emacs-lisp/authors.el (authors-fixed-entries):
2123 Comment out old alpha stuff.
2124
2125 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2126
2127 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2128 to `after-save-hook' instead of `before-save-hook'.
2129 (ruby-mode-set-encoding): Use the value of coding system used to
2130 write the file. Call `basic-save-buffer-1' after modifying the
2131 buffer.
2132
2133 2013-10-13 Alan Mackenzie <acm@muc.de>
2134
2135 Fix indentation/fontification of Java enum with
2136 "implements"/generic.
2137
2138 * progmodes/cc-engine.el (c-backward-over-enum-header):
2139 Extracted from the three other places and enhanced to handle generics.
2140 (c-inside-bracelist-p): Uses new function above.
2141 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2142 function above.
2143 (c-font-lock-enum-tail): Uses new function above.
2144
2145 2013-10-13 Kenichi Handa <handa@gnu.org>
2146
2147 * international/mule-cmds.el (select-safe-coding-system): Remove a
2148 superfluous condition in chekcing whether a coding system is safe
2149 or not.
2150
2151 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2152
2153 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2154
2155 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2156
2157 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2158
2159 2013-10-13 Glenn Morris <rgm@gnu.org>
2160
2161 * menu-bar.el (menu-bar-update-buffers):
2162 Unify Buffers menu prompt string. (Bug#15576)
2163
2164 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2165
2166 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2167 Add some entries.
2168 (authors-fixed-entries): Use accented form of name.
2169
2170 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2171
2172 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2173 method calls (bug#15594).
2174 (ruby-smie--args-separator-p): New function.
2175 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2176 recognize paren-free method calls.
2177
2178 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2179 internals of universal-argument.
2180
2181 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2182
2183 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2184 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2185 dropped menu on second mouse click on the menu bar.
2186
2187 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2188
2189 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2190 (explicit-shell-file-name): Declare.
2191 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2192 (sh-completion-at-point-function): New function.
2193 (sh-mode): Use it.
2194 (sh-smie--keyword-p): Remove unused argument.
2195 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2196 vars.
2197 (sh-set-shell): Always setup SMIE, even if we use the
2198 old indentation code.
2199
2200 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2201
2202 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2203 cases of ? and =.
2204 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2205 predicate would return nil are almost non-existent.
2206 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2207
2208 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2209 cache also after commands that modify the buffer but don't move
2210 point.
2211
2212 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2213
2214 * env.el (substitute-env-in-file-name): New function.
2215 (substitute-env-vars): Extend the meaning of the optional arg.
2216
2217 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2218
2219 * term/w32-win.el (dynamic-library-alist): Define separate lists
2220 of GIF DLLs for versions before and after 5.0.0 of giflib.
2221 (Bug#15531)
2222
2223 2013-10-10 João Távora <joaotavora@gmail.com>
2224
2225 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2226 not locked, use last revision and current source as
2227 defaults. (Bug#15569)
2228
2229 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2230
2231 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2232 menu-bar is hidden.
2233
2234 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2235
2236 * window.el (pop-to-buffer-same-window): Fix doc-string.
2237 (Bug#15492)
2238
2239 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2242
2243 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2244
2245 * calendar/icalendar.el (icalendar-import-file):
2246 Fix interactive spec. (Bug#15482)
2247
2248 2013-10-10 Glenn Morris <rgm@gnu.org>
2249
2250 * desktop.el (desktop-save): Default to saving in .emacs.d,
2251 since PWD is no longer in desktop-path by default. (Bug#15319)
2252
2253 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2254 now that text mode has a menu with the same entry.
2255 (menu-bar-text-mode-auto-fill): Remove now unused func.
2256 * textmodes/text-mode.el (text-mode-map):
2257 Use auto-fill help text from menu-bar.el.
2258
2259 2013-10-10 John Anthony <john@jo.hnanthony.com>
2260
2261 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2262
2263 2013-10-09 Juri Linkov <juri@jurta.org>
2264
2265 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2266 instead of this-command-keys. Add universal-argument-more and
2267 universal-argument-minus to the list of prefix commands. (Bug#15568)
2268
2269 2013-10-09 Glenn Morris <rgm@gnu.org>
2270
2271 * vc/vc-svn.el (vc-svn-create-repo):
2272 Expand paths in file://... url. (Bug#15446)
2273
2274 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2275 Add some entries.
2276 (authors): Remove unused local variables.
2277
2278 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * profiler.el: Create a more coherent calltree from partial backtraces.
2281 (profiler-format): Hide the tail with `invisible' so that C-s can still
2282 find the hidden elements.
2283 (profiler-calltree-depth): Don't recurse so enthusiastically.
2284 (profiler-function-equal): New hash-table-test.
2285 (profiler-calltree-build-unified): New function.
2286 (profiler-calltree-build): Use it.
2287 (profiler-report-make-name-part): Indent the calltree less.
2288 (profiler-report-mode): Add visibility specs for profiler-format.
2289 (profiler-report-expand-entry, profiler-report-toggle-entry):
2290 Expand the whole subtree when provided with a prefix arg.
2291
2292 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2293
2294 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2295 iuwu-mod token.
2296 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2297 hanging iuwu-mod token.
2298 (ruby-smie--forward-token): Do not include a dot after a token in
2299 that token.
2300 (ruby-smie--backward-token): Likewise.
2301
2302 2013-10-08 Juri Linkov <juri@jurta.org>
2303
2304 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2305 to isearch-other-control-char.
2306 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2307 and isearch-post-command-hook to post-command-hook.
2308 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2309 and isearch-post-command-hook from post-command-hook.
2310 (isearch-unread-key-sequence)
2311 (isearch-reread-key-sequence-naturally)
2312 (isearch-lookup-scroll-key, isearch-other-control-char)
2313 (isearch-other-meta-char): Remove functions.
2314 (isearch-pre-command-hook, isearch-post-command-hook):
2315 New functions based on isearch-other-meta-char rewritten
2316 relying on the new behavior of overriding-terminal-local-map
2317 that does not replace the local keymaps any more. (Bug#15200)
2318
2319 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2320
2321 Support menus on text-mode terminals.
2322 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2323 functionality.
2324
2325 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2326
2327 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2328 Move here from mouse.el.
2329 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2330 and arrow keys.
2331 (tty-menu-navigation-map): New map for TTY menu navigation.
2332
2333 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2334
2335 * frame.el (display-mouse-p): Report text-mode mouse as available
2336 on w32.
2337 (display-popup-menus-p): Report availability if mouse is
2338 available; don't condition on window-system.
2339
2340 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2341 (tty-menu-selected-face): New faces.
2342
2343 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2346 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2347 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2348 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2349 New constants.
2350 (lisp-mode-variables): New `elisp' argument.
2351 (emacs-lisp-mode): Use it.
2352 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2353 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2354
2355 * indent.el: Use lexical-binding.
2356 (indent-region): Add progress reporter.
2357 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2358 last step.
2359 (indent--next-tab-stop): New function to implement this behavior.
2360 (tab-to-tab-stop, move-to-tab-stop): Use it.
2361
2362 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2363
2364 * indent.el (indent-rigidly--current-indentation): New function.
2365 (indent-rigidly-map): New var.
2366 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2367
2368 2013-10-08 Bastien Guerry <bzg@gnu.org>
2369
2370 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2371
2372 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * progmodes/perl-mode.el: Use lexical-binding.
2375 Remove redundant :group args.
2376 (perl-nochange): Change default to be closer to other major modes's
2377 standard behavior.
2378 (perl-indent-line): Don't consider text on current line as a
2379 valid beginning of function from which to indent.
2380
2381 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2382 with more than one argument (bug#15538).
2383
2384 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2385
2386 * vc/pcvs.el: Use lexical-binding.
2387 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2388 environment of `eval'.
2389 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2390 than a list of expressions. Adjust callers.
2391 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2392
2393 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2394
2395 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2396 case of the dot in a chained method call being on the following line.
2397
2398 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2399
2400 * electric.el (electric-indent-inhibit): New var.
2401 (electric-indent-post-self-insert-function): Use it.
2402 * progmodes/python.el (python-mode): Set it.
2403
2404 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2405 open braces.
2406
2407 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2408
2409 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2410 (css-mode): Use electric-indent-chars.
2411
2412 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2413 (font-lock-beg, font-lock-end): Move before first use.
2414 (nxml-mode): Use syntax-propertize-function.
2415 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2416 (nxml-extend-after-change-region): Remove.
2417 * nxml/xmltok.el: Use lexical-binding.
2418 (xmltok-save): Use `declare'.
2419 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2420 * nxml/nxml-util.el: Use lexical-binding.
2421 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2422 Use `declare'.
2423 * nxml/nxml-ns.el: Use lexical-binding.
2424 (nxml-ns-save): Use `declare'.
2425 (nxml-ns-prefixes-for): Avoid add-to-list.
2426 * nxml/rng-match.el: Use lexical-binding.
2427 (rng--ipattern): Use cl-defstruct.
2428 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2429 (rng-cons-group-after, rng-subst-group-after)
2430 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2431 Use closures instead of `(lambda...).
2432
2433 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2434
2435 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2436 of BEG and END.
2437
2438 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2439 Use `tramp-handle-insert-file-contents'.
2440 (tramp-gvfs-handle-insert-file-contents): Remove function.
2441
2442 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2443 Use `save-restriction' in order to keep markers.
2444
2445 * net/trampver.el: Update release number.
2446
2447 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2448
2449 * progmodes/compile.el (compilation-parse-errors):
2450 Use compilation--put-prop.
2451 (compilation--ensure-parse): Check compilation-multiline.
2452
2453 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2454
2455 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2456 lexical-binding.
2457
2458 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2459
2460 * progmodes/ruby-mode.el: Fix recently added tests.
2461 (ruby-smie-grammar): Add - and +.
2462 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2463 (ruby-smie--backward-id): New functions.
2464 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2465 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2466 any more.
2467
2468 2013-10-07 Leo Liu <sdl.web@gmail.com>
2469
2470 * register.el (register-preview-delay)
2471 (register-preview-functions): New variables.
2472 (register-read-with-preview, register-preview)
2473 (register-describe-oneline): New functions.
2474 (point-to-register, window-configuration-to-register)
2475 (frame-configuration-to-register, jump-to-register)
2476 (number-to-register, view-register, insert-register)
2477 (copy-to-register, append-to-register, prepend-to-register)
2478 (copy-rectangle-to-register): Use register-read-with-preview to
2479 read register. (Bug#15525)
2480
2481 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2482
2483 * net/network-stream.el (network-stream-open-starttls): Don't add
2484 --insecure if it's already present, because that gnutls-cli
2485 rejects getting that parameter twice.
2486
2487 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2488
2489 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2490 keyword, too.
2491
2492 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2493
2494 * newcomment.el (comment-use-global-state): Change default value
2495 to t, mark obsolete (Bug#15251).
2496 (comment-beginning): In addition to `comment-to-syntax', check the
2497 value of `comment-use-global-state'.
2498
2499 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2500
2501 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2502 (ruby-comment-column): Follow the global default, by default.
2503 (ruby-smie-grammar): Add assignment syntax.
2504 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2505 open-paren, a comma, or a \.
2506 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2507 and line continuations.
2508 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2509 followed by implicit semi-colons. Add rule for string concatenation
2510 and for indentation at BOB.
2511 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2512
2513 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2514 calling next-sexp, since next-token may have skipped chars which
2515 next-sexp doesn't know should be skipped!
2516
2517 2013-10-05 Leo Liu <sdl.web@gmail.com>
2518
2519 * progmodes/octave.el (octave-send-region):
2520 Call compilation-forget-errors.
2521
2522 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2523
2524 * vc/vc-svn.el (vc-svn-find-admin-dir):
2525 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2526 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2527 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2528 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2529
2530 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2531
2532 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2533
2534 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2535
2536 * subr.el (read-passwd): Hide chars even when called within a context
2537 where after-change-functions is disabled (bug#15501).
2538 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2539 until we removed ourself from overriding-terminal-local-map.
2540
2541 2013-10-04 Leo Liu <sdl.web@gmail.com>
2542
2543 * progmodes/octave.el (inferior-octave-mode):
2544 Call compilation-forget-errors.
2545
2546 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2547
2548 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2549
2550 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2551
2552 * net/secrets.el (secrets-create-collection): Add optional
2553 argument ALIAS. Use proper Label keyword. Append ALIAS as
2554 dbus-call-method argument. (Bug#15516)
2555
2556 2013-10-04 Leo Liu <sdl.web@gmail.com>
2557
2558 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2559 (inferior-octave-compilation-font-lock-keywords): New variables.
2560 (compilation-error-regexp-alist)
2561 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2562 (inferior-octave-mode): Use compilation-shell-minor-mode.
2563
2564 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2565
2566 * minibuffer.el (completion--replace): Be careful that `end' might be
2567 a marker.
2568
2569 2013-10-03 Daiki Ueno <ueno@gnu.org>
2570
2571 Add support for package signature checking.
2572 * emacs-lisp/package.el (url-http-file-exists-p)
2573 (epg-make-context, epg-context-set-home-directory)
2574 (epg-verify-string, epg-context-result-for)
2575 (epg-signature-status, epg-signature-to-string)
2576 (epg-check-configuration, epg-configuration)
2577 (epg-import-keys-from-file): Declare.
2578 (package-check-signature): New user option.
2579 (package-unsigned-archives): New user option.
2580 (package-desc): Add `signed' field.
2581 (package-load-descriptor): Set `signed' field if .signed file exists.
2582 (package--archive-file-exists-p): New function.
2583 (package--check-signature): New function.
2584 (package-install-from-archive): Check package signature.
2585 (package--download-one-archive): Check archive signature.
2586 (package-delete): Remove .signed file.
2587 (package-import-keyring): New command.
2588 (package-refresh-contents): Import default keyring.
2589 (package-desc-status): Add "unsigned" status.
2590 (describe-package-1, package-menu--print-info)
2591 (package-menu-mark-delete, package-menu--find-upgrades)
2592 (package-menu--status-predicate): Support "unsigned" status.
2593
2594 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2597 the new compilation scheme using the new byte-codes.
2598
2599 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2600 (byte-pophandler): New byte codes.
2601 (byte-goto-ops): Adjust accordingly.
2602 (byte-compile--use-old-handlers): New var.
2603 (byte-compile-catch): Use new byte codes depending on
2604 byte-compile--use-old-handlers.
2605 (byte-compile-condition-case--old): Rename from
2606 byte-compile-condition-case.
2607 (byte-compile-condition-case--new): New function.
2608 (byte-compile-condition-case): New function that dispatches depending
2609 on byte-compile--use-old-handlers.
2610 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2611 when we can.
2612
2613 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2614 Optimize under `condition-case' and `catch' if
2615 byte-compile--use-old-handlers is nil.
2616 (disassemble-offset): Handle new bytecodes.
2617
2618 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2619
2620 * subr.el (error): Use `declare'.
2621 (decode-char, encode-char): Use advertised-calling-convention instead
2622 of the docstring to discourage use of the `restriction' arg.
2623
2624 2013-10-03 Daiki Ueno <ueno@gnu.org>
2625
2626 * epg.el (epg-verify-file): Add a comment saying that it does not
2627 notify verification error as a return value nor a signal.
2628 (epg-verify-string): Ditto.
2629
2630 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2631
2632 * progmodes/compile.el (compilation-start): Try globbing the arg to
2633 `cd' (bug#15417).
2634
2635 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2636
2637 Sync with Tramp 2.2.8.
2638
2639 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2640 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2641 * net/trampver.el: Update release number.
2642
2643 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2644
2645 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2646 and default-process-coding-system for darwin only.
2647
2648 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2649
2650 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2651
2652 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2653
2654 * vc/vc-git.el (vc-git-grep): Disable pager.
2655
2656 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2657
2658 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2659 Use :url instead of :homepage, as per
2660 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2661
2662 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2663 non-nil, use `syntax-ppss' (Bug#15251).
2664
2665 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2666
2667 * progmodes/octave.el (inferior-octave-startup-file):
2668 Prefer ~/.emacs.d/init_octave.m.
2669
2670 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2671
2672 * emacs-lisp/package.el (package-desc-from-define):
2673 Accept additional arguments as plist, convert them to an alist and store
2674 them in the `extras' slot.
2675 (package-generate-description-file): Convert extras alist back to
2676 plist and append to the `define-package' form arguments.
2677 (package--alist-to-plist): New function.
2678 (package--ac-desc): Add `extras' slot.
2679 (package--add-to-archive-contents): Check if the archive-contents
2680 vector is long enough, and if it is, pass its `extras' slot value
2681 to `package-desc-create'.
2682 (package-buffer-info): Call `lm-homepage', pass the returned value
2683 to `package-desc-from-define'.
2684 (describe-package-1): Render the homepage button (Bug#13291).
2685
2686 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2687 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2688
2689 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2690
2691 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2692 and default-process-coding-system to utf-8-unix (Bug#15402).
2693
2694 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2695
2696 * subr.el (looking-back): Do not recommend using looking-back.
2697
2698 2013-09-28 Alan Mackenzie <acm@muc.de>
2699
2700 Fix indentation/fontification of Java enum with "implements".
2701
2702 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2703 regexp which matches "implements", etc., in Java.
2704 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2705 specifier clauses coming after "enum".
2706 * progmodes/cc-fonts.el (c-font-lock-declarations)
2707 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2708 after "enum".
2709
2710 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2711
2712 * faces.el (region): Change ns_selection_color to
2713 ns_selection_fg_color, add ns_selection_bg_color.
2714
2715 2013-09-28 Leo Liu <sdl.web@gmail.com>
2716
2717 * progmodes/octave.el (inferior-octave-completion-table)
2718 (inferior-octave-completion-at-point): Minor tweaks.
2719
2720 * textmodes/ispell.el (ispell-lookup-words): Rename from
2721 lookup-words. (Bug#15460)
2722 (lookup-words): Obsolete.
2723 (ispell-complete-word, ispell-command-loop): All uses changed.
2724
2725 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2726
2727 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2728 (octave-mode-menu): Add octave-send-buffer.
2729 (octave-send-buffer): New function.
2730
2731 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2732
2733 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2734 octave-lookfor.
2735 (octave-mode-menu): Add octave-lookfor.
2736 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2737 octave-lookfor.
2738 (octave-lookfor): New function.
2739
2740 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * emacs-lisp/cl-macs.el:
2743 (cl--loop-destr-temps): Remove.
2744 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2745 its convention.
2746 (cl--loop-set-iterator-function): New function.
2747 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2748 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2749 Bind `it' with `let' instead of substituting it with `cl-subst'.
2750 (cl--unused-var-p): New function.
2751 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2752 Eliminate some unused variable warnings (bug#15326).
2753
2754 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2755
2756 * doc-view.el (doc-view-scale-reset): Rename from
2757 `doc-view-reset-zoom-level'.
2758 (doc-view-scale-adjust): New command.
2759 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2760 `doc-view-scale-adjust'.
2761
2762 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2763
2764 * doc-view.el (doc-view-reset-zoom-level): New command.
2765 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2766 zoom commands (bug#15466).
2767
2768 2013-09-26 Kenichi Handa <handa@gnu.org>
2769
2770 * international/quail.el (quail-help): Make it not a command.
2771
2772 2013-09-26 Leo Liu <sdl.web@gmail.com>
2773
2774 * minibuffer.el (completion-all-sorted-completions): Make args
2775 optional as they are.
2776
2777 2013-09-25 Daniel Colascione <dancol@dancol.org>
2778
2779 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2780 specs are and that they're not evaluated.
2781
2782 2013-09-24 Sam Steingold <sds@gnu.org>
2783
2784 * midnight.el (clean-buffer-list-kill-regexps)
2785 (clean-buffer-list-kill-buffer-names): Update for the new Man
2786 buffer naming which includes the object name.
2787
2788 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2789
2790 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2791 (eshell-parse-command, eshell-parse-pipeline): Use it since
2792 eshell-separate-commands requires a dynamic scoped var.
2793 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2794
2795 2013-09-23 Leo Liu <sdl.web@gmail.com>
2796
2797 * autoinsert.el (auto-insert-alist): Make the value of
2798 lexical-binding match its file setting.
2799
2800 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2801
2802 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2803
2804 * autoarg.el (autoarg-kp-digit-argument):
2805 * electric.el (Electric-command-loop):
2806 * kmacro.el (kmacro-step-edit-insert):
2807 Do not set universal-argument-num-events.
2808
2809 2013-09-22 Leo Liu <sdl.web@gmail.com>
2810
2811 * files.el (interpreter-mode-alist): Add octave.
2812
2813 2013-09-21 Alan Mackenzie <acm@muc.de>
2814
2815 C++: fontify identifier in declaration following "public:" correctly.
2816 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2817 to match "public", etc.
2818 (c-decl-prefix-re): Add ":" into the C++ value.
2819 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2820 bit. Add a check for a ":" preceded by "public", etc.
2821
2822 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2823
2824 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2825 recognized by GDB 7.5 and later.
2826
2827 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2828
2829 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2830
2831 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2832
2833 * subr.el (internal--call-interactively): New const.
2834 (called-interactively-p): Use it (bug#3984).
2835
2836 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2837
2838 * vc/pcvs.el (cvs-mode-ignore):
2839 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2840 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2841
2842 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2843
2844 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2845 (eshell-ls-orig-insert-directory): Remove.
2846 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2847 (eshell-ls-use-in-dired): Use advice-add/remove.
2848 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2849 Add `orig-fun' arg for use in :around advice.
2850 Make it check (redundantly) eshell-ls-use-in-dired.
2851
2852 2013-09-19 Glenn Morris <rgm@gnu.org>
2853
2854 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2855
2856 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2857
2858 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2859
2860 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2861
2862 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2863 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2864 (tramp-get-remote-python): New defuns.
2865 (tramp-get-remote-uid-with-perl)
2866 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2867 contributed by yary <not.com@gmail.com> (tiny change).
2868 (tramp-get-remote-uid-with-python)
2869 (tramp-get-remote-gid-with-python): New defuns. Python code
2870 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2871 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2872
2873 2013-09-19 Glenn Morris <rgm@gnu.org>
2874
2875 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2876
2877 * eshell/em-unix.el (eshell-remove-entries):
2878 Rename argument to avoid name-clash with global `top-level'.
2879
2880 * eshell/esh-proc.el (eshell-kill-process-function):
2881 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2882 (eshell-reset-after-proc): Remove unused arg `proc'.
2883
2884 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2885 (directory-files-and-attributes): Mark unused arg.
2886
2887 * eshell/em-unix.el (eshell-remove-entries):
2888 Remove unused arg `path'. Update callers.
2889
2890 * eshell/em-hist.el (eshell-hist-parse-arguments):
2891 Remove unused arg `silent'. Update callers.
2892
2893 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2894 Fix (f)boundp mix-up.
2895
2896 * eshell/em-smart.el (eshell-smart-scroll-window)
2897 (eshell-disable-after-change):
2898 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2899
2900 2013-09-18 Alan Mackenzie <acm@muc.de>
2901
2902 Fix fontification of type when followed by "const".
2903 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2904 "known" types from fontification.
2905
2906 2013-09-18 Glenn Morris <rgm@gnu.org>
2907
2908 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2909 (chart-face-list): Drop Emacsen without display-color-p.
2910
2911 * net/eww.el (libxml-parse-html-region): Declare.
2912 (eww-display-html): Explicit error if no libxml2 support.
2913
2914 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2915
2916 * image.el (image-type-from-buffer, image-multi-frame-p):
2917 Remove --without-x warning/error.
2918
2919 * mouse.el (mouse-yank-primary):
2920 * term.el (term-mouse-paste):
2921 Reorder to silence --without-x compilation.
2922
2923 * mpc.el (doc-view-mode): Silence --without-x compilation.
2924
2925 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2926 Silence --without-x compilation.
2927
2928 * progmodes/gud.el (gud-find-file, gud-mode):
2929 Silence --without-x compilation.
2930 (tooltip-mode): Declare.
2931
2932 * wdired.el (dired-backup-overwrite): Remove declaration.
2933 (wdired-mode-map): Add doc string.
2934
2935 * custom.el (x-get-resource): Declare.
2936
2937 * eshell/em-glob.el (ange-cache):
2938 * eshell/em-unix.el (ange-cache): Declare.
2939
2940 * faces.el (x-display-list, x-open-connection, x-get-resource):
2941 Declare.
2942
2943 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2944 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2945 Declare.
2946
2947 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2948
2949 * net/gnutls.el (gnutls-log-level): Declare.
2950
2951 * net/shr.el (image-size, image-animate): Declare.
2952
2953 * simple.el (font-info): Declare.
2954
2955 * subr.el (x-popup-dialog): Declare.
2956
2957 * term/common-win.el (x-select-enable-primary)
2958 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2959 Declare.
2960
2961 * term/ns-win.el (x-handle-args): Declare.
2962
2963 * term/x-win.el (x-select-enable-clipboard): Declare.
2964
2965 * term/w32-win.el (create-default-fontset): Declare.
2966
2967 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2968 Declare.
2969
2970 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2971 (fit-frame-to-buffer): Explicit error if --without-x.
2972 (mouse-autoselect-window-select): Silence compiler.
2973
2974 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2975
2976 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2977 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2978 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2979 * eshell/esh-util.el (eshell-sublist):
2980 Remove unused local variables.
2981
2982 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2983
2984 * textmodes/two-column.el: Make 2C-split work for --without-x.
2985 (scroll-bar-columns): Autoload.
2986 (top-level): Require fringe when compiling.
2987
2988 2013-09-18 Leo Liu <sdl.web@gmail.com>
2989
2990 * subr.el (add-hook): Robustify to handle closure as well.
2991
2992 2013-09-17 Glenn Morris <rgm@gnu.org>
2993
2994 * simple.el (messages-buffer-mode-map): Unbind "g".
2995
2996 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2997
2998 * help-mode.el (help-mode-finish): Use derived-mode-p.
2999 Remove obsolete highlighting.
3000
3001 * play/life.el (life-mode): Use define-derived-mode. Derive from
3002 special-mode.
3003 (life): Let-bind inhibit-read-only.
3004 (life-setup): Avoid `setq'. Use `life-mode'.
3005
3006 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3007 which should not be needed any more.
3008 (package-menu-refresh, package-menu-describe-package): Use user-error.
3009
3010 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3011 (eshell-post-rewrite-command-hook): Make obsolete.
3012 (eshell-parse-command): Simplify.
3013 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3014 (eshell--cmd): Declare.
3015 (eshell-parse-pipeline): Remove unused var `final-p'.
3016 Pass a dynvar to eshell-post-rewrite-command-hook.
3017 Implement the new eshell-post-rewrite-command-function.
3018 (eshell-invoke-directly): Remove unused arg `input'.
3019 * eshell/esh-io.el (eshell-io-initialize):
3020 Use eshell-post-rewrite-command-function (bug#15399).
3021 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3022 adjust to new calling convention.
3023 (eshell-create-handles): Rename args to avoid clashing with dynvar
3024 `standard-output'.
3025
3026 2013-09-17 Glenn Morris <rgm@gnu.org>
3027
3028 * simple.el (messages-buffer-mode): New major mode.
3029 (messages-buffer): New function.
3030 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3031 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3032 (ert-run-test): Use `messages-buffer' function.
3033 (ert--force-message-log-buffer-truncation): Ignore read-only.
3034 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3035 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3036
3037 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3038
3039 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3040
3041 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3042
3043 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3044
3045 * icomplete.el (icomplete-in-buffer): New var.
3046 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3047 vars and replace them with functions.
3048 (icomplete-minibuffer-setup): Adjust accordingly.
3049 (icomplete--completion-table, icomplete--completion-predicate)
3050 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3051 New functions.
3052 (icomplete-forward-completions, icomplete-backward-completions)
3053 (icomplete-simple-completing-p, icomplete-exhibit)
3054 (icomplete-completions): Use them.
3055 (icomplete--in-region-buffer): New var.
3056 (icomplete--in-region-setup): New function.
3057 (icomplete-mode): Use it.
3058
3059 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3060 (bug#15379).
3061 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3062 return args and options.
3063 (eshell-eval-using-options): Use the new return value of
3064 eshell--do-opts to set the options's vars in their scope.
3065 (eshell--set-option): Rename from eshell-set-option.
3066 Add arg `opt-vals'.
3067 (eshell--process-option): Rename from eshell-process-option.
3068 Add arg `opt-vals'.
3069 (eshell--process-args): Use an `opt-vals' alist to store the options's
3070 values during their processing and return them additionally to the
3071 remaining args.
3072
3073 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3074
3075 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3076 continuation character an operator, as far as indentation is
3077 concerned (Bug#15369).
3078
3079 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3080
3081 * window.el (window--state-put-2): Don't process buffer state
3082 when buffer doesn't exist any more (Bug#15382).
3083
3084 2013-09-15 Glenn Morris <rgm@gnu.org>
3085
3086 * eshell/em-unix.el (eshell/rm):
3087 Make -f ignore missing files. (Bug#15373)
3088
3089 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3090 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3091 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3092
3093 2013-09-14 Glenn Morris <rgm@gnu.org>
3094
3095 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3096
3097 2013-09-13 Glenn Morris <rgm@gnu.org>
3098
3099 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3100 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3101
3102 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3103
3104 * frame.el (x-focus-frame): Mark as declared in frame.c.
3105
3106 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3107
3108 * ls-lisp.el: Use advice-add.
3109 (original-insert-directory): Remove.
3110 (ls-lisp--insert-directory): Rename from insert-directory; add
3111 `orig-fun' argument.
3112 (insert-directory): Advise.
3113
3114 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3115
3116 * term.el (term-emulate-terminal): Decode the command string
3117 before passing it to term-command-hook. (Bug#15337)
3118
3119 2013-09-13 Glenn Morris <rgm@gnu.org>
3120
3121 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3122
3123 * eshell/esh-ext.el (eshell-search-path): Declare.
3124
3125 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3126 Otherwise an error occurs if eshell-dirs module not loaded.
3127
3128 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3129
3130 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3131
3132 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3133 `tramp-check-proper-host'. Check for a valid method name.
3134
3135 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3136 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3137 * net/tramp-sh.el (tramp-maybe-open-connection):
3138 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3139
3140 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3141 also for hash values.
3142
3143 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3144
3145 * term/ns-win.el (parameters): Don't declare as dynamic.
3146 (before-make-frame-hook): Don't add ineffective function.
3147
3148 * eshell/*.el: Use lexical-binding (bug#15231).
3149
3150 2013-09-12 Kenichi Handa <handa@gnu.org>
3151
3152 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3153
3154 2013-09-12 Glenn Morris <rgm@gnu.org>
3155
3156 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3157 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3158
3159 * subr.el (do-after-load-evaluation): Also give compiler warnings
3160 when obsolete files are used (except by obsolete files).
3161
3162 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3163 in the status output, assume `filename' is the first. (Bug#15322)
3164
3165 * vc/vc.el (vc-deduce-fileset): Doc fix.
3166
3167 * calc/calc-help.el (Info-goto-node):
3168 * progmodes/cperl-mode.el (Info-find-node):
3169 * vc/ediff.el (Info-goto-node): Update declarations.
3170
3171 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3172
3173 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3174 (vc-bzr-pull): Require vc-dispatcher.
3175 * vc/vc-git.el (vc-compilation-mode): Declare.
3176 (vc-git-pull): Require vc-dispatcher.
3177
3178 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3179
3180 * progmodes/octave.el (help-button-action): Declare.
3181
3182 * shell.el (shell-directory-tracker): Output error as a message
3183 rather than just returning it as a string.
3184 (shell-process-pushd): Remove useless use of message.
3185
3186 * dframe.el (dframe-timer-fn):
3187 * files.el (dir-locals-read-from-file):
3188 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3189 (mpc-format):
3190 * reveal.el (reveal-post-command):
3191 * saveplace.el (load-save-place-alist-from-file):
3192 * shell.el (shell-resync-dirs):
3193 * w32-common-fns.el (x-get-selection-value):
3194 * emacs-lisp/copyright.el (copyright-find-copyright):
3195 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3196 * emulation/tpu-edt.el (tpu-copy-keyfile):
3197 * play/bubbles.el (bubbles--mark-neighbourhood):
3198 * progmodes/executable.el
3199 (executable-make-buffer-file-executable-if-script-p):
3200 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3201
3202 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3203
3204 Cleanup Eshell to rely less on dynamic scoping.
3205 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3206 last-value, and ext-command here. Bind `args' closer to `body'.
3207 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3208 (eshell--args): Declare new dynamic var.
3209 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3210 last-value, and ext-command. Pass `args' to `body'.
3211 (eshell-process-args): Bind eshell--args.
3212 (eshell-set-option): Use eshell--args.
3213 * eshell/eshell.el (eshell): Use derived-mode-p.
3214 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3215 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3216 (eshell-glob-function): Declare.
3217 * eshell/esh-util.el: Require cl-lib.
3218 (eshell-read-hosts-file): Avoid add-to-list.
3219 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3220 `err'.
3221 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3222 Declare.
3223 (eshell/diff): Remove unused var `err'.
3224 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3225 `killflag'.
3226 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3227 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3228 first use.
3229 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3230 Move declaration before first use.
3231 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3232 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3233 rely on cl-return.
3234
3235 2013-09-12 Glenn Morris <rgm@gnu.org>
3236
3237 * term/ns-win.el (global-map): Remove binding for ispell-next,
3238 deleted 1999-05-29. (Bug#15357)
3239
3240 2013-09-11 Glenn Morris <rgm@gnu.org>
3241
3242 * echistory.el (electric-command-history): Remove call to deleted func.
3243
3244 * play/landmark.el (landmark-mode): Fix typos.
3245
3246 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3247 Check cvs-sort-ignore-file is bound.
3248
3249 * savehist.el: No need for cl when compiling on Emacs.
3250
3251 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3252
3253 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3254 (bug#15338).
3255 (eshell-self-insert-command, eshell-send-invisible):
3256 Remove unused argument.
3257 (eshell-handle-control-codes): Remove unused var `orig'.
3258 Avoid delete-backward-char.
3259
3260 * files.el (set-auto-mode): Simplify a bit further.
3261
3262 2013-09-11 Glenn Morris <rgm@gnu.org>
3263
3264 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3265 (set-auto-mode): Don't regexp-quote elements.
3266 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3267 * progmodes/cc-mode.el (interpreter-mode-alist):
3268 * progmodes/ruby-mode.el (interpreter-mode-alist):
3269 Revert previous change.
3270
3271 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3272
3273 * play/snake.el (snake-mode):
3274 * play/mpuz.el (mpuz-mode):
3275 * play/landmark.el (lm-mode):
3276 * play/blackbox.el (blackbox-mode):
3277 * play/5x5.el (5x5-mode):
3278 * obsolete/options.el (Edit-options-mode):
3279 * net/quickurl.el (quickurl-list-mode):
3280 * net/newst-treeview.el (newsticker-treeview-mode):
3281 * mail/rmailsum.el (rmail-summary-mode):
3282 * mail/mspools.el (mspools-mode):
3283 * locate.el (locate-mode):
3284 * ibuffer.el (ibuffer-mode):
3285 * emulation/ws-mode.el (wordstar-mode):
3286 * emacs-lisp/debug.el (debugger-mode):
3287 * array.el (array-mode):
3288 * net/eudc.el (eudc-mode): Use define-derived-mode.
3289 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3290 Move initialization into declaration.
3291 (mairix-searches-mode): Use define-derived-mode.
3292 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3293 (eudc-edit-hotlist): Use dolist.
3294 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3295 (Man-mode): Use define-derived-mode.
3296 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3297 (Info-edit-mode): Use define-derived-mode.
3298 (Info-cease-edit): Use Info-mode.
3299 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3300 into declaration.
3301 (eshell-mode): Use define-derived-mode.
3302 * chistory.el (command-history-mode-map): Rename from
3303 command-history-map.
3304 (command-history-mode): Use define-derived-mode.
3305 (Command-history-setup): Remove function.
3306 * calc/calc.el (calc-trail-mode-map): New var.
3307 (calc-trail-mode): Use define-derived-mode.
3308 (calc-trail-buffer): Set calc-main-buffer manually.
3309 * bookmark.el (bookmark-insert-annotation): New function.
3310 (bookmark-edit-annotation): Use it.
3311 (bookmark-edit-annotation-mode): Make it a proper major mode.
3312 (bookmark-send-edited-annotation): Use derived-mode-p.
3313 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3314 closer to its ideal place. Use \' to match EOS.
3315
3316 * profiler.el (profiler-calltree-find): Use function-equal.
3317
3318 2013-09-10 Glenn Morris <rgm@gnu.org>
3319
3320 * files.el (interpreter-mode-alist): Convert to regexps.
3321 (set-auto-mode): Adapt for this. (Bug#15306)
3322 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3323 Comment out unused variable.
3324 * progmodes/cc-mode.el (interpreter-mode-alist):
3325 * progmodes/python.el (interpreter-mode-alist):
3326 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3327 * progmodes/sh-script.el (sh-set-shell):
3328 No longer use interpreter-mode-alist to get list of shells.
3329
3330 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3331
3332 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3333
3334 * simple.el: Use set-temporary-overlay-map for universal-argument.
3335 (universal-argument-map): Don't use default-bindings (bug#15317).
3336 Bind switch-frame explicitly. Replace universal-argument-minus with
3337 a conditional binding.
3338 (universal-argument-num-events, saved-overriding-map): Remove.
3339 (restore-overriding-map): Remove.
3340 (universal-argument--mode): Rename from save&set-overriding-map,
3341 and rewrite.
3342 (universal-argument, universal-argument-more, negative-argument)
3343 (digit-argument): Adjust accordingly.
3344 (universal-argument-minus): Remove.
3345 (universal-argument-other-key): Remove.
3346
3347 * subr.el (with-demoted-errors): Add `format' argument.
3348
3349 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3350
3351 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3352 `tramp-cleanup-connection'.
3353
3354 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3355 parameters KEEP-DEBUG and KEEP-PASSWORD.
3356
3357 * net/tramp.el (tramp-file-name-handler):
3358 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3359 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3360 (tramp-maybe-open-connection):
3361 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3362 Use `tramp-cleanup-connection'.
3363
3364 * net/tramp-sh.el (tramp-maybe-open-connection):
3365 Catch 'uname-changed inside the progress reporter.
3366
3367 2013-09-10 Glenn Morris <rgm@gnu.org>
3368
3369 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3370
3371 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3372 returns "alternate access method" in mode (eg "-rw-r--r--.").
3373
3374 2013-09-08 Glenn Morris <rgm@gnu.org>
3375
3376 * saveplace.el (load-save-place-alist-from-file):
3377 Demote errors. (Bug#15305)
3378
3379 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3380
3381 Improve compatibility with older Emacsen, and XEmacs.
3382
3383 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3384 only if it is bound. It isn't for XEmacs.
3385 (with-tramp-progress-reporter): Do not let-bind `result'.
3386 This yields to scoping errors in XEmacs.
3387 (tramp-handle-make-auto-save-file-name): New function, moved from
3388 tramp-sh.el.
3389
3390 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3391 for `make-auto-save-file-name'.
3392 (tramp-adb--gnu-switches-to-ash):
3393 Use `tramp-compat-replace-regexp-in-string'.
3394
3395 * net/tramp-cache.el (tramp-cache-print): Call
3396 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3397
3398 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3399 bound. It isn't for XEmacs.
3400
3401 * net/tramp-compat.el (tramp-compat-copy-file):
3402 Catch `wrong-number-of-arguments' error.
3403 (tramp-compat-replace-regexp-in-string): New defun.
3404
3405 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3406 for `make-auto-save-file-name'.
3407 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3408 `copy-file'.
3409 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3410 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3411 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3412
3413 * net/tramp-gw.el (tramp-gw-open-network-stream):
3414 Use `tramp-compat-replace-regexp-in-string'.
3415
3416 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3417 Call `tramp-handle-make-auto-save-file-name'.
3418 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3419 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3420 (tramp-sh-file-inotifywait-process-filter):
3421 Use `tramp-compat-replace-regexp-in-string'.
3422 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3423
3424 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3425 for `make-auto-save-file-name'.
3426 (tramp-smb-handle-copy-directory):
3427 Call `tramp-compat-replace-regexp-in-string'.
3428 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3429 (tramp-smb-handle-copy-file): Improve error message.
3430 (tramp-smb-handle-rename-file): Rename directly only in case
3431 `newname' does not exist yet. This is a restriction of smbclient.
3432 (tramp-smb-maybe-open-connection): Rerun the function only when
3433 `auth-sources' is non-nil.
3434
3435 2013-09-08 Kenichi Handa <handa@gnu.org>
3436
3437 * international/characters.el: Set category "^" (Combining) for
3438 more characters.
3439
3440 2013-09-07 Alan Mackenzie <acm@muc.de>
3441
3442 Correctly fontify Java class constructors.
3443 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3444 in Java Mode.
3445 (c-recognize-typeless-decls): Set the Java value to t.
3446 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3447 While handling a "(", add a check for, effectively, Java, and handle a
3448 "typeless" declaration there.
3449
3450 2013-09-07 Roland Winkler <winkler@gnu.org>
3451
3452 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3453 field subtitle for entry type book.
3454
3455 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3456
3457 * minibuffer.el: Make minibuffer-complete call completion-in-region
3458 rather than other way around.
3459 (completion--some, completion-pcm--find-all-completions):
3460 Don't delay signals when debugging.
3461 (minibuffer-completion-contents): Beware fields within the
3462 minibuffer contents.
3463 (completion-all-sorted-completions): Use defvar-local.
3464 (completion--do-completion, completion--cache-all-sorted-completions)
3465 (completion-all-sorted-completions, minibuffer-force-complete):
3466 Add args `beg' and `end'.
3467 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3468 (minibuffer-complete): Use completion-in-region.
3469 (completion-complete-and-exit): New fun, extracted from
3470 minibuffer-complete-and-exit.
3471 (minibuffer-complete-and-exit): Use it.
3472 (completion--complete-and-exit): Rename from
3473 minibuffer--complete-and-exit.
3474 (completion-in-region--single-word): New function, extracted from
3475 minibuffer-complete-word.
3476 (minibuffer-complete-word): Use it.
3477 (display-completion-list): Make `common-substring' argument obsolete.
3478 (completion--in-region): Call completion--in-region-1 instead of
3479 minibuffer-complete.
3480 (completion-help-at-point): Pass boundaries to
3481 minibuffer-completion-help as args rather than via an overlay.
3482 (completion-pcm--string->pattern): Use `any-delim'.
3483 (completion-pcm--optimize-pattern): New function.
3484 (completion-pcm--pattern->regex): Handle `any-delim'.
3485 * icomplete.el (icomplete-forward-completions)
3486 (icomplete-backward-completions, icomplete-completions):
3487 Adjust calls to completion-all-sorted-completions and
3488 completion--cache-all-sorted-completions.
3489 (icomplete-with-completion-tables): Default to t.
3490 * emacs-lisp/crm.el (crm--current-element): Rename from
3491 crm--select-current-element. Don't put an overlay but return the
3492 boundaries instead.
3493 (crm--completion-command): Take two new args to bind to the boundaries.
3494 (crm-completion-help): Adjust accordingly.
3495 (crm-complete): Use completion-in-region.
3496 (crm-complete-word): Use completion-in-region--single-word.
3497 (crm-complete-and-exit): Use completion-complete-and-exit.
3498
3499 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3502 than dynamically.
3503
3504 2013-09-06 Juri Linkov <juri@jurta.org>
3505
3506 * info.el (Info-display-images-node): When image file doesn't exist
3507 display text version of the image if it's provided in the Info file.
3508 Otherwise, display the location of missing image from SRC attribute.
3509 Add help-echo text property from ALT attribute. (Bug#15279)
3510
3511 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3513 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3514 (edit-abbrevs-mode): Use define-derived-mode.
3515
3516 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3517 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3518 that it's defined.
3519 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3520 Use define-derived-mode.
3521
3522 * epg.el (epg-start-encrypt): Minor CSE simplification.
3523
3524 2013-09-06 William Xu <william.xwl@gmail.com>
3525
3526 * arc-mode.el: Add support for 7za (bug#15264).
3527 (archive-7z-program): New var.
3528 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3529 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3530 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3531
3532 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3533
3534 Remove URL syntax.
3535
3536 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3537 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3538 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3539 (tramp-postfix-host-format, tramp-file-name-regexp)
3540 (tramp-completion-file-name-regexp)
3541 (tramp-completion-dissect-file-name)
3542 (tramp-handle-substitute-in-file-name): Remove 'url case.
3543 (tramp-file-name-regexp-url)
3544 (tramp-completion-file-name-regexp-url): Remove constants.
3545
3546 2013-09-06 Glenn Morris <rgm@gnu.org>
3547
3548 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3549
3550 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3551
3552 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3553 keywords" below "here-doc beginnings" (Bug#15270).
3554
3555 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3556
3557 * subr.el (pop): Use `car-safe'.
3558 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3559 to detect unused `pop' return value.
3560
3561 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3562 var `block-regexp'.
3563 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3564 (python-fill-string): Remove unused var `marker'.
3565 (python-skeleton-add-menu-items): Remove unused var `items'.
3566
3567 * international/mule-cmds.el: Require CL.
3568 (find-coding-systems-for-charsets): Avoid add-to-list.
3569 (sanitize-coding-system-list): New function, extracted from
3570 select-safe-coding-system-interactively.
3571 (select-safe-coding-system-interactively): Use it.
3572 (read-input-method-name): Accept symbols for `default'.
3573
3574 * emacs-lisp/advice.el (defadvice): Add indent rule.
3575
3576 2013-09-05 Daniel Hackney <dan@haxney.org>
3577
3578 * dired-x.el:
3579 * net/ange-ftp.el:
3580 * net/browse-url.el:
3581 * net/dbus.el:
3582 * net/eudc.el:
3583 * net/eudcb-ldap.el:
3584 * net/eww.el:
3585 * net/imap.el:
3586 * printing.el:
3587 * vc/ediff-diff.el:
3588 * vc/ediff-init.el:
3589 * vc/ediff-merg.el:
3590 * vc/ediff-mult.el:
3591 * vc/ediff-util.el:
3592 * vc/ediff-wind.el:
3593 * vc/ediff.el:
3594 * vc/emerge.el:
3595 * vc/pcvs.el:
3596 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3597 byte compiler. Remove some unused let-bound variables.
3598
3599 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3600
3601 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3602 a "ref-cell", since it gets better optimized (bug#14883).
3603
3604 2013-09-05 Glenn Morris <rgm@gnu.org>
3605
3606 * progmodes/cc-awk.el (c-forward-sws): Declare.
3607
3608 2013-09-04 Glenn Morris <rgm@gnu.org>
3609
3610 * generic-x.el [rul-generic-mode]: Require cc-mode.
3611 (c++-mode-syntax-table): Declare.
3612 (rul-generic-mode-syntax-table): Init in the defvar.
3613
3614 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3615
3616 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3617 (vc-do-command, vc-set-async-update):
3618 * vc/vc-mtn.el (vc-mtn-dir-status):
3619 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3620 (vc-hg-pull, vc-hg-merge-branch):
3621 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3622 (vc-git-merge-branch):
3623 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3624 (vc-cvs-dir-status-files):
3625 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3626 (vc-bzr-dir-status-files):
3627 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3628 * vc/vc-annotate.el: Use lexical-binding.
3629 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3630 (vc-sentinel-movepoint): Declare.
3631 (vc-annotate): Don't use `goto-line'.
3632 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3633 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3634 (vc-sentinel-movepoint): Declare.
3635 * vc/vc-svn.el: Use lexical-binding.
3636 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3637 * vc/vc-sccs.el:
3638 * vc/vc-rcs.el: Use lexical-binding.
3639
3640 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3641 `deleted'. Don't drop errors silently.
3642
3643 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3644
3645 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3646
3647 * vc/vc.el (vc-ignore): Rewrite.
3648 (vc-default-ignore): New function.
3649 (vc-default-ignore-completion-table): Use find-ignore-file.
3650
3651 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3652 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3653 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3654 Remove. Most code moved to vc.el.
3655
3656 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3657
3658 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3659 * net/tramp-smb.el (tramp-smb-get-file-entries):
3660 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3661 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3662
3663 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3664 Update call to it.
3665 (eww-change-select): Remove unused var `properties'.
3666 (eww-make-unique-file-name): Remove unused var `base'.
3667
3668 * finder.el (finder-compile-keywords): Don't mess with windows.
3669
3670 * calculator.el (calculator-funcall): Fix typo in last change.
3671
3672 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3673
3674 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3675 <pkg>-autoloads.el file stop us.
3676
3677 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3678 warnings, and factor out common code.
3679
3680 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3681
3682 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3683 two-character operators and whether the character preceding them
3684 changes their meaning (Bug#15208).
3685
3686 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3687
3688 Format code sent to Python shell for robustness.
3689 * progmodes/python.el (python-shell-buffer-substring):
3690 New function.
3691 (python-shell-send-region, python-shell-send-buffer): Use it.
3692
3693 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3694
3695 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3696 * net/tramp.el (tramp-user-error): ... here.
3697 (tramp-find-method, tramp-check-proper-host)
3698 (tramp-dissect-file-name, tramp-debug-message)
3699 (tramp-handle-shell-command):
3700 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3701 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3702
3703 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3704
3705 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3706
3707 * avoid.el (mouse-avoidance-point-position)
3708 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3709 returns nil.
3710
3711 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3712
3713 * progmodes/python.el (python-shell-completion-get-completions):
3714 Drop use of deleted `comint-last-prompt-overlay'.
3715 (python-nav-if-name-main): New command.
3716
3717 2013-09-01 Glenn Morris <rgm@gnu.org>
3718
3719 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3720 Avoid leading space in $wins. Otherwise the sed command used by
3721 eg compile-main ends up containing "/*.el". (Bug#15170)
3722
3723 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3724
3725 2013-08-30 Glenn Morris <rgm@gnu.org>
3726
3727 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3728 Fix is-this-a-directory logic. (Bug#15220)
3729
3730 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3731
3732 * textmodes/css-mode.el: Use SMIE.
3733 (css-smie-grammar): New var.
3734 (css-smie--forward-token, css-smie--backward-token)
3735 (css-smie-rules): New functions.
3736 (css-mode): Use them.
3737 (css-navigation-syntax-table): Remove var.
3738 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3739 (css-indent-calculate, css-indent-line): Remove functions.
3740
3741 Misc changes to reduce use of `(lambda...); and other cleanups.
3742 * cus-edit.el: Use lexical-binding.
3743 (customize-push-and-save, customize-apropos)
3744 (custom-buffer-create-internal): Use closures.
3745 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3746 * progmodes/ada-xref.el: Use setq.
3747 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3748 * dframe.el: Use lexical-binding.
3749 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3750 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3751 * descr-text.el: Use lexical-binding.
3752 (describe-text-widget, describe-text-sexp, describe-property-list):
3753 Use closures.
3754 * comint.el (comint-history-isearch-push-state): Use a closure.
3755 * calculator.el: Use lexical-binding.
3756 (calculator-number-to-string): Make it work with lexical-binding.
3757 (calculator-funcall): Same and use cl-letf.
3758
3759 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3760 (lisp--company-doc-string, lisp--company-location): New functions.
3761 (lisp-completion-at-point): Use them to improve Company support.
3762
3763 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3764 params of lambda expressions.
3765 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3766 (ruby-smie--opening-pipe-p): New function.
3767 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3768 symbols and matched |...| for formal params.
3769 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3770 from being treated as hanging. Handle "rescue".
3771
3772 2013-08-29 Glenn Morris <rgm@gnu.org>
3773
3774 * progmodes/cc-engine.el (c-pull-open-brace):
3775 Move definition before use.
3776
3777 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3778
3779 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3780 are immutable. Don't use `unsafe' any more.
3781 (cl--defsubst-expand): Don't substitute at the same time as keeping
3782 a residual unused let-binding. Don't use `unsafe' any more.
3783
3784 2013-08-29 Glenn Morris <rgm@gnu.org>
3785
3786 * calendar/cal-china.el (calendar-chinese-year-cache):
3787 Recenter on 2015.
3788
3789 * nxml/nxml-util.el (nxml-debug-clear-inside):
3790 Use cl-loop rather than loop.
3791
3792 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3793
3794 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3795
3796 2013-08-28 Glenn Morris <rgm@gnu.org>
3797
3798 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3799
3800 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3801
3802 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3803
3804 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * simple.el (repeat-complex-command--called-interactively-skip):
3807 New function.
3808 (repeat-complex-command): Use it (bug#14136).
3809
3810 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3811 (c-define-abbrev-table): Add `doc' argument.
3812 (c-mode-abbrev-table, c++-mode-abbrev-table)
3813 (objc-mode-abbrev-table, java-mode-abbrev-table)
3814 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3815 (awk-mode-abbrev-table): Use it.
3816 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3817 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3818 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3819 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3820 Move initialization into the declaration; and remove any
3821 autoload cookie.
3822
3823 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3824 and dynamic let binding.
3825
3826 * vc/smerge-mode.el: Remove redundant :group args.
3827
3828 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3829 to load-path.
3830
3831 2013-08-28 Juri Linkov <juri@jurta.org>
3832
3833 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3834 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3835 (isearch-other-meta-char): Handle an undefined shifted printing
3836 character by downshifting it. (Bug#15200)
3837
3838 2013-08-28 Juri Linkov <juri@jurta.org>
3839
3840 * isearch.el (isearch-search): Change regexp error message for
3841 non-regexp searches. (Bug#15166)
3842
3843 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3844
3845 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3846 for portability to hosts where /bin/sh has problems.
3847
3848 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3849
3850 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3851
3852 2013-08-27 Juri Linkov <juri@jurta.org>
3853
3854 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3855 in the keyboard macro. (Bug#15126)
3856
3857 2013-08-27 Juri Linkov <juri@jurta.org>
3858
3859 * isearch.el (isearch-quote-char): Comment out converting unibyte
3860 to multibyte, thus syncing with its `quoted-insert' counterpart.
3861 (Bug#15166)
3862
3863 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3864
3865 * window.el (display-buffer-use-some-window): Add missing
3866 argument in call of get-largest-window (Bug#15185).
3867 Reported by Stephen Leake.
3868
3869 2013-08-27 Glenn Morris <rgm@gnu.org>
3870
3871 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3872
3873 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3874
3875 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3876 from a matcher-function unless there's no more matches (bug#15161).
3877
3878 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3879
3880 * minibuffer.el: Revert change from 2013-08-20.
3881
3882 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3883 with text property `tramp-default', if appropriate.
3884 (tramp-check-proper-host): New defun.
3885 (tramp-dissect-file-name): Do not check hostname. Revert change
3886 of 2013-03-18.
3887 (tramp-backtrace): Make VEC-OR-PROC optional.
3888
3889 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3890 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3891 * net/tramp-sh.el (tramp-maybe-open-connection):
3892 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3893 Apply `tramp-check-proper-host'.
3894
3895 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3896
3897 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3898 lambda expression in order to have `describe-variable' display it.
3899
3900 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3901
3902 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3903 BUF can be optional. (Bug#15186)
3904
3905 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3906
3907 * progmodes/flymake.el (flymake-get-real-file-name-function):
3908 Fix broken customization. (Bug#15184)
3909
3910 2013-08-25 Alan Mackenzie <acm@muc.de>
3911
3912 Improve indentation of bracelists defined by macros (without "=").
3913
3914 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3915 expansion begins with "{", regard it as bracelist when it doesn't
3916 contain a ";".
3917
3918 Parse C++ inher-intro when there's a template split over 2 lines.
3919
3920 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3921 rigorously the search for "class" etc. followed by ":".
3922
3923 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3924 random languages a regexp which never matches rather than nil.
3925
3926 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3927
3928 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3929 (c-awk-regexp-one-line-possibly-open-char-list-re)
3930 (c-awk-one-line-possibly-open-regexp-re)
3931 (c-awk-one-line-non-syn-ws*-re): Remove.
3932 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3933 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3934 (c-awk-space*-unclosed-regexp-/-re): New constants.
3935 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3936 aren't regexp delimiters.
3937
3938 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3939 handling for a rare situation in AWK Mode involving unterminated
3940 strings/regexps.
3941
3942 2013-08-23 Glenn Morris <rgm@gnu.org>
3943
3944 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3945
3946 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3947
3948 * files.el (create-file-buffer): If the result would begin with
3949 spaces, prepend a "|" instead of removing them. (Bug#15162)
3950
3951 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3954 text-properties (bug#15155).
3955
3956 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3957 exist any more.
3958 (calc-keypad-redraw): Remove unused var `pad'.
3959 (calc-keypad-press): Remove unused var `menu'.
3960
3961 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3962
3963 * window.el (display-buffer-pop-up-frame):
3964 Call pop-up-frame-function with BUFFER current so `make-frame' will
3965 use it as the new frame's buffer (Bug#15133).
3966
3967 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3968
3969 * calendar/timeclock.el: Minor cleanups.
3970 (timeclock-ask-before-exiting, timeclock-use-display-time):
3971 Use `symbol'.
3972 (timeclock-modeline-display): Define as alias before the
3973 actual definition.
3974 (timeclock-mode-line-display): Use define-minor-mode.
3975 (timeclock-day-list-template): Make it a function, add an argument.
3976 (timeclock-day-list-required, timeclock-day-list-length)
3977 (timeclock-day-list-debt, timeclock-day-list-span)
3978 (timeclock-day-list-break): Adjust calls accordingly.
3979
3980 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3981
3982 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3983 Use read--expression so that completion works again.
3984
3985 2013-08-21 Sam Steingold <sds@gnu.org>
3986
3987 Add rudimentary inferior shell interaction
3988 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3989 (sh-set-shell): Reset it.
3990 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3991 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3992
3993 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3994
3995 * align.el: Use lexical-binding.
3996 (align-region): Simplify accordingly.
3997
3998 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3999
4000 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4001
4002 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4003 `non-essential' up.
4004
4005 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4006
4007 * net/tramp.el:
4008 * net/tramp-adb.el:
4009 * net/tramp-cmds.el:
4010 * net/tramp-ftp.el:
4011 * net/tramp-gvfs.el:
4012 * net/tramp-gw.el:
4013 * net/tramp-sh.el: Don't wrap external variable declarations by
4014 `eval-when-compile'.
4015
4016 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4017
4018 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4019 now that Emacs supports ImageMagick animations.
4020
4021 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4022
4023 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4024 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4025
4026 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4027
4028 * window.el (mouse-autoselect-window-select): Do autoselect when
4029 mouse pointer is on margin.
4030
4031 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4032
4033 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4034
4035 2013-08-16 Glenn Morris <rgm@gnu.org>
4036
4037 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4038 Handle "Remote Directory" response of some clients. (Bug#15058)
4039
4040 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4041 Tweak warning. (Bug#14926)
4042
4043 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4044 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4045
4046 * image-mode.el (image-mode-map): Add menu items to reverse,
4047 increase, decrease, reset animation speed.
4048 (image--set-speed, image-increase-speed, image-decrease-speed)
4049 (image-reverse-speed, image-reset-speed): New functions.
4050 (image-mode-map): Add bindings for speed commands.
4051
4052 * image.el (image-animate-get-speed, image-animate-set-speed):
4053 New functions.
4054 (image-animate-timeout): Respect image :speed property.
4055
4056 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4057
4058 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4059 previous line (bug#15101).
4060 (debugger-eval-expression, debugger-record-expression):
4061 Use read--expression (bug#15102).
4062
4063 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4064
4065 Remove byte compiler warnings, visible when compiling with
4066 `byte-compile-force-lexical-warnings' set to t.
4067
4068 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4069 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4070 (tramp-handle-unhandled-file-name-directory)
4071 (tramp-handle-file-notify-add-watch, tramp-action-login)
4072 (tramp-action-succeed, tramp-action-permission-denied)
4073 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4074 arguments with "_".
4075
4076 * net/tramp-adb.el (tramp-adb-parse-device-names)
4077 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4078 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4079 (tramp-adb-handle-file-truename): Remove unused arguments.
4080
4081 * net/tramp-cache.el (tramp-flush-directory-property)
4082 (tramp-flush-connection-property, tramp-list-connections)
4083 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4084
4085 * net/tramp-compat.el (tramp-compat-make-temp-file):
4086 Rename FILENAME to F.
4087
4088 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4089 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4090 (tramp-zeroconf-parse-workstation-device-names)
4091 (tramp-zeroconf-parse-webdav-device-names)
4092 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4093
4094 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4095 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4096
4097 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4098 arguments.
4099 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4100 (tramp-sh-handle-insert-file-contents-literally)
4101 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4102 with "_".
4103 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4104 Remove unused variables.
4105
4106 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4107 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4108 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4109
4110 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4111 Make them a defconst.
4112 (tramp-uuencode-region): Remove unused variable.
4113
4114 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4115
4116 * frameset.el (frameset--prop-setter): New function.
4117 (frameset-prop): Add gv-setter declaration.
4118 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4119 parameter was already set in FILTERED. Doc fix.
4120 (frameset--record-minibuffer-relationships): Allow saving a
4121 minibufferless frame without its corresponding minibuffer frame.
4122 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4123 frame, if the frame id matches.
4124 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4125 frames before orphaned ones.
4126 (frameset-restore): Warn about orphaned windows, instead of error out.
4127
4128 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4129
4130 * window.el (window-make-atom): Don't overwrite parameter
4131 already present.
4132 (display-buffer-in-atom-window): Handle special case where we
4133 split an already atomic window.
4134 (window--major-non-side-window, display-buffer-in-side-window)
4135 (window--side-check): Ignore minibuffer window when walking
4136 window tree.
4137 (window-deletable-p): Return 'frame only if no other frame uses
4138 our minibuffer window.
4139 (record-window-buffer): Run buffer-list-update-hook.
4140 (split-window): Make sure window--check-frame won't destroy an
4141 existing atomic window in case the new window gets nested
4142 inside.
4143 (display-buffer-at-bottom): Ignore minibuffer window when
4144 walking window tree. Don't split a side window.
4145 (pop-to-buffer): Don't set-buffer here, the select-window call
4146 should do that.
4147 (mouse-autoselect-window-select): Autoselect only if we are in the
4148 text portion of the window.
4149
4150 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4151
4152 * net/shr.el (shr-parse-image-data): New function to grab both the
4153 data itself and the Content-Type.
4154 (shr-put-image): Use it.
4155
4156 * net/eww.el (eww-display-image): Ditto.
4157
4158 * image.el (image-content-type-suffixes): New variable.
4159
4160 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4161
4162 * progmodes/python.el (python-imenu--build-tree)
4163 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4164
4165 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4166
4167 * simple.el (backward-word): Mention the optional argument.
4168
4169 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4170
4171 * frameset.el (frameset--make): Rename constructor from make-frameset.
4172 (frameset-p, frameset-valid-p): Don't autoload.
4173 (frameset-valid-p): Use normal accessors.
4174
4175 2013-08-13 Glenn Morris <rgm@gnu.org>
4176
4177 * progmodes/compile.el (compile-command): Tweak example in doc.
4178 * obsolete/scribe.el (scribe-mode):
4179 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4180
4181 * mail/feedmail.el (feedmail-confirm-outgoing)
4182 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4183
4184 * cus-start.el (truncate-partial-width-windows): Fix type.
4185
4186 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4187
4188 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4189
4190 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * emacs-lisp/timer.el (timer--time-setter): New function.
4193 (timer--time): Use it as gv-setter.
4194
4195 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4196 setter is not a symbol.
4197
4198 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4199
4200 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4201 if sending fails. This makes debugging easier.
4202
4203 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4204
4205 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4206 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4207 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4208
4209 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4210
4211 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4212
4213 2013-08-12 Glenn Morris <rgm@gnu.org>
4214
4215 * format.el (format-annotate-function):
4216 Handle read-only text properties in the source. (Bug#14887)
4217
4218 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4219
4220 * net/eww.el (eww-display-html): Ignore coding system errors.
4221 One web site uses "utf-8lias" as the coding system.
4222
4223 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4224
4225 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4226
4227 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4228
4229 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4230 (tutorial--detailed-help): Remove unused local variables.
4231 (tutorial--save-tutorial-to): Use ignore-errors.
4232 (help-with-tutorial): Use looking-at-p.
4233
4234 * view.el (view-buffer-other-window, view-buffer-other-frame):
4235 Mark unused arguments.
4236
4237 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4238 (woman-select-symbol-fonts, woman, woman-find-file)
4239 (woman-insert-file-contents, woman-non-underline-faces):
4240 Use string-match-p.
4241 (woman1-unquote): Move declaration.
4242
4243 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4244 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4245 argument. Remove unused local variable.
4246 (xml-parse-elem-type): Use string-match-p.
4247 (xml-substitute-numeric-entities): Use ignore-errors.
4248
4249 * calculator.el (calculator): Mark unused argument.
4250 (calculator-paste, calculator-quit, calculator-integer-p):
4251 Use ignore-errors.
4252 (calculator-string-to-number, calculator-decimal, calculator-exp)
4253 (calculator-op-or-exp): Use string-match-p.
4254
4255 * dired.el (dired-buffer-more-recently-used-p): Declare.
4256 (dired-insert-set-properties, dired-insert-old-subdirs):
4257 Use ignore-errors.
4258
4259 * dired-aux.el (dired-compress): Use ignore-errors.
4260 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4261 (dired-do-async-shell-command, dired-do-shell-command)
4262 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4263 (dired-insert-subdir-validate): Use string-match-p.
4264 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4265 (dired-add-entry): Use string-match-p, looking-at-p.
4266 (dired-insert-subdir-newpos): Remove unused local variable.
4267
4268 * filenotify.el (file-notify-callback): Remove unused local variable.
4269
4270 * filesets.el (filesets-error): Mark unused argument.
4271 (filesets-which-command-p, filesets-filter-dir-names)
4272 (filesets-directory-files, filesets-get-external-viewer)
4273 (filesets-ingroup-get-data): Use string-match-p.
4274
4275 * find-file.el (ff-other-file-name, ff-other-file-name)
4276 (ff-find-the-other-file, ff-cc-hh-converter):
4277 Remove unused local variables.
4278 (ff-get-file-name): Use string-match-p.
4279 (ff-all-dirs-under): Use ignore-errors.
4280
4281 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4282 (follow-select-if-visible): Remove unused local variable.
4283
4284 * forms.el (read-file-filter): Move declaration.
4285 (forms--make-format, forms--make-parser, forms-insert-record):
4286 Quote function with #'.
4287 (forms--update): Use string-match-p. Quote function with #'.
4288
4289 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4290 (help-make-xrefs): Use looking-at-p.
4291 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4292
4293 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4294 (ibuffer-confirm-operation-on): Use string-match-p.
4295
4296 * msb.el (msb-item-handler, msb-dired-item-handler):
4297 Mark unused arguments.
4298
4299 * ses.el (ses-decode-cell-symbol)
4300 (ses-kill-override): Remove unused local variable.
4301 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4302 (ses-load): Use ignore-errors, looking-at-p.
4303 (ses-jump-safe): Use ignore-errors.
4304 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4305
4306 * tabify.el (untabify, tabify): Mark unused arguments.
4307
4308 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4309 Mark unused argument.
4310 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4311 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4312
4313 * emacs-lisp/timer.el (timer--time): Define setter with
4314 gv-define-setter to avoid deprecation warning.
4315
4316 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4317 (*record-cmpl-statistics-p*): Remove (was commented out).
4318 (cmpl-statistics-block): Remove (body was commented out).
4319 All callers changed.
4320 (add-completions-from-buffer, load-completions-from-file):
4321 Remove unused variables.
4322
4323 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4324
4325 * filecache.el (file-cache-delete-file-list):
4326 Print message only when told so.
4327 (file-cache-files-matching): Use #' in mapconcat argument.
4328
4329 * ffap.el (ffap-url-at-point): Fix reference to variable
4330 thing-at-point-default-mail-uri-scheme.
4331
4332 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4333
4334 * subr.el (define-error): New function.
4335 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4336 error-file-not-found and define with define-error.
4337 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4338 and define with define-error.
4339 * userlock.el (file-locked, file-supersession):
4340 * simple.el (mark-inactive):
4341 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4342 * progmodes/ada-mode.el (ada-mode-errors):
4343 * play/life.el (life-extinct):
4344 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4345 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4346 * nxml/rng-util.el (rng-error):
4347 * nxml/rng-uri.el (rng-uri-error):
4348 * nxml/rng-match.el (rng-compile-error):
4349 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4350 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4351 * nxml/nxml-rap.el (nxml-scan-error):
4352 * nxml/nxml-outln.el (nxml-outline-error):
4353 * net/soap-client.el (soap-error):
4354 * net/gnutls.el (gnutls-error):
4355 * net/ange-ftp.el (ftp-error):
4356 * mpc.el (mpc-proc-error):
4357 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4358 (json-number-format, json-string-escape, json-string-format)
4359 (json-key-format, json-object-format):
4360 * jka-compr.el (compression-error):
4361 * international/quail.el (quail-error):
4362 * international/kkc.el (kkc-error):
4363 * emacs-lisp/ert.el (ert-test-failed):
4364 * calc/calc.el (calc-error, inexact-result, math-overflow)
4365 (math-underflow):
4366 * bookmark.el (bookmark-error-no-filename):
4367 * epg.el (epg-error): Define with define-error.
4368
4369 * time.el (display-time-event-handler)
4370 (display-time-next-load-average): Don't call sit-for since it seems
4371 unnecessary (bug#15045).
4372
4373 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4374 Use #' instead of ' to quote functions.
4375 (checkdoc-output-mode): Use setq-local.
4376 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4377 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4378 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4379 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4380 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4381 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4382 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4383 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4384
4385 * ido.el (ido-completion-help): Fix up compiler warning.
4386
4387 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4388
4389 * frameset.el (frameset-p): Add autoload cookie.
4390 (frameset--jump-to-register): New function, based on code moved from
4391 register.el.
4392 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4393
4394 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4395 (frameset-restore, frameset-save, frameset-session-filter-alist):
4396 Remove declarations.
4397 (register-alist): Doc fix.
4398 (frameset-to-register): Move to frameset.el.
4399 (jump-to-register, describe-register-1): Remove frameset-specific code.
4400
4401 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4402
4403 * allout-widgets.el (allout-widgets-pre-command-business)
4404 (allout-widgets-post-command-business)
4405 (allout-widgets-after-change-handler)
4406 (allout-decorate-item-and-context, allout-set-boundary-marker)
4407 (allout-body-modification-handler)
4408 (allout-graphics-modification-handler): Mark ignored arguments.
4409 (allout-widgets-post-command-business)
4410 (allout-widgets-exposure-change-processor)
4411 (allout-widgets-exposure-undo-processor)
4412 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4413 (allout-parse-item-at-point, allout-decorate-item-guides)
4414 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4415 * allout.el (epa-passphrase-callback-function): Declare.
4416 (allout-overlay-insert-in-front-handler)
4417 (allout-overlay-interior-modification-handler)
4418 (allout-isearch-end-handler, allout-chart-siblings)
4419 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4420 (allout-yank-processing, allout-process-exposed)
4421 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4422 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4423 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4424 (lisp-indent-defform): Mark ignored arguments.
4425 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4426 (calculate-lisp-indent): Remove unused variables.
4427 * international/characters.el (indian-2-column, arabic-2-column)
4428 (tibetan): Mark ignored arguments.
4429 (use-cjk-char-width-table): Mark ignored arguments.
4430 Remove unused variables.
4431 * international/fontset.el (build-default-fontset-data)
4432 (x-compose-font-name, create-fontset-from-fontset-spec):
4433 Mark ignored arguments.
4434 (fontset-plain-name): Remove unused variables.
4435 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4436 (keyboard-coding-system): Mark ignored arguments.
4437 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4438 * help.el (resize-temp-buffer-window):
4439 * window.el (display-buffer-in-major-side-window)
4440 (display-buffer-in-side-window, display-buffer-in-previous-window):
4441 Remove unused variables.
4442 * isearch.el (isearch-forward-symbol):
4443 * version.el (emacs-bzr-version-bzr):
4444 * international/mule-cmds.el (current-language-environment):
4445 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4446 (x-handle-display):
4447 * term/pc-win.el (x-list-fonts, x-display-planes)
4448 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4449 (x-server-version, x-display-screens, x-display-mm-height)
4450 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4451 (x-selection-owner-p, x-own-selection-internal)
4452 (x-disown-selection-internal, x-get-selection-internal)
4453 (msdos-initialize-window-system):
4454 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4455 * term/x-win.el (x-handle-no-bitmap-icon):
4456 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4457 (vc-default-find-file-hook, vc-default-extra-menu):
4458 Mark ignored arguments.
4459
4460 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4461
4462 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4463 break-condition in the context of the debugged code (bug#12685).
4464
4465 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4466
4467 * comint.el:
4468 Do not use an overlay to highlight the last prompt. (Bug#14744)
4469 (comint-mode): Make comint-last-prompt buffer local.
4470 (comint-last-prompt): New variable.
4471 (comint-last-prompt-overlay): Remove. Superseded by
4472 comint-last-prompt.
4473 (comint-snapshot-last-prompt, comint-output-filter):
4474 Use comint-last-prompt.
4475
4476 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4477
4478 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4479 (frameset-save): Check validity of the resulting frameset.
4480
4481 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4482
4483 * ido.el (ido-record-command): Add doc string.
4484
4485 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4486
4487 * frameset.el (frameset): Do not disable creation of the default
4488 frameset-p predicate. Doc fix.
4489 (frameset-valid-p): New function, copied from the old predicate-p.
4490 Add additional checks.
4491 (frameset-restore): Check with frameset-valid-p.
4492 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4493 (frameset-name, frameset-description, frameset-properties)
4494 (frameset-states): Add docstring.
4495 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4496 (frameset-filter-alist): Doc fixes.
4497
4498 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4499
4500 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4501
4502 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4503
4504 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4505 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4506 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4507 (byte-compile-normal-call): Remove obsolescence check.
4508
4509 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4510
4511 * frameset.el (frameset-restore): Doc fix.
4512
4513 * register.el (frameset-frame-id, frameset-frame-with-id)
4514 (frameset-p, frameset-restore, frameset-save): Declare.
4515 (register-alist): Document framesets.
4516 (frameset-session-filter-alist): Declare.
4517 (frameset-to-register): New function.
4518 (jump-to-register): Implement jumping to framesets. Doc fix.
4519 (describe-register-1): Describe framesets.
4520
4521 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4522
4523 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4524
4525 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4526 Use lexical-binding.
4527
4528 * frameset.el (frameset): Use type vector, not list (incompatible
4529 change). Do not declare a new constructor, use the default one.
4530 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4531 `name' and `description', respectively, and add read-only slot
4532 `timestamp'. Doc fixes.
4533 (frameset-copy, frameset-persistent-filter-alist)
4534 (frameset-filter-alist, frameset-switch-to-gui-p)
4535 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4536 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4537 (frameset-filter-iconified, frameset-keep-original-display-p):
4538 Doc fixes.
4539 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4540 Rename from frameset-filter-(save|restore)-param. All callers changed.
4541 Doc fix.
4542 (frameset-p): Adapt to change to vector and be more thorough.
4543 Change arg name to OBJECT. Doc fix.
4544 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4545 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4546 All callers changed.
4547 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4548 All callers changed.
4549 (frameset--record-minibuffer-relationships): Rename from
4550 frameset--process-minibuffer-frames. All callers changed.
4551 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4552 Use new default constructor (again). Doc fix.
4553 (frameset--find-frame-if): Rename from `frameset--find-frame.
4554 All callers changed.
4555 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4556 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4557 Doc fix.
4558 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4559 PARAMETERS and WINDOW-STATE, respectively.
4560 (frameset-restore): Add new keyword argument PREDICATE.
4561 Reset frameset--target-display to nil. Doc fix.
4562
4563 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4566 (bat-mode): Use it.
4567 (bat-mode-syntax-table): Mark \n as end-of-comment.
4568 (bat-font-lock-keywords): Remove comment rule.
4569
4570 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4571 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4572
4573 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4574 (byte-compile-callargs-warn): Use `push'.
4575 (byte-compile-arglist-warn): Ignore higher-order "calls".
4576 (byte-compile-file-form-autoload): Use `pcase'.
4577 (byte-compile-function-form): If quoting a symbol, check that it exists.
4578
4579 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4580
4581 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4582 and add a few popular commands found in batch files.
4583 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4584 (dos-mode): Doc fixes.
4585
4586 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4587
4588 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4589 (dos-mode): Use setq-local. Add space after "rem".
4590 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4591 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4592
4593 2013-08-07 Arni Magnusson <arnima@hafro.is>
4594
4595 * progmodes/dos.el: New file.
4596 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4597 dos-mode.
4598
4599 2013-08-06 Glenn Morris <rgm@gnu.org>
4600
4601 * calendar/calendar.el: Add new faces, and day-header-array.
4602 (calendar-weekday-header, calendar-weekend-header)
4603 (calendar-month-header): New faces.
4604 (calendar-day-header-construct): New function.
4605 (calendar-day-header-width): Also :set calendar-day-header-array.
4606 (calendar-american-month-header, calendar-european-month-header)
4607 (calendar-iso-month-header): Use calendar- faces.
4608 (calendar-generate-month):
4609 Use calendar-day-header-array for day headers; apply faces to them.
4610 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4611 (calendar-abbrev-construct): Add optional maxlen argument.
4612 (calendar-day-name-array): Doc fix.
4613 (calendar-day-name-array, calendar-abbrev-length)
4614 (calendar-day-abbrev-array):
4615 Also :set calendar-day-header-array, and maybe redraw.
4616 (calendar-day-header-array): New option. (Bug#15007)
4617 (calendar-font-lock-keywords): Set to nil and make obsolete.
4618 (calendar-day-name): Add option to use header array.
4619
4620 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4621
4622 * net/shr.el (shr-render-td): Remove debugging.
4623 (shr-render-td): Make width computation consistent by defaulting
4624 all zero-width columns to 10 characters. This may not be optimal,
4625 but it's at least consistent.
4626 (shr-make-table-1): Redo last change to fix the real problem in
4627 colspan handling.
4628
4629 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4630
4631 * files.el (cache-long-line-scans):
4632 Make obsolete alias to `cache-long-scans'.
4633
4634 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4635
4636 * frameset.el (frameset, frameset-filter-alist)
4637 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4638 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4639 (frameset-compute-pos): Rename from frameset--compute-pos,
4640 and add docstring.
4641 (frameset-move-onscreen): Use frameset-compute-pos.
4642 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4643
4644 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4645 Fix typos in docstrings.
4646
4647 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4648
4649 * frame.el (get-other-frame): Tiny cleanup.
4650
4651 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4652
4653 * vc/vc.el (vc-default-ignore-completion-table):
4654 Silence byte-compiler warning.
4655
4656 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4657 slot , which can indeed be nil.
4658 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4659 Move entry for `left' from persistent to live filter alist.
4660 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4661 Doc fixes.
4662 (frameset-filter-params): When restoring a frame, copy items added to
4663 `filtered', to avoid unwittingly modifying the original parameters.
4664 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4665 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4666
4667 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4668 to use looking-at-p instead of looking-at. (Bug#15028)
4669
4670 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4671
4672 Revert introduction of isearch-filter-predicates (bug#14714).
4673 Rely on add-function instead.
4674 * isearch.el (isearch-filter-predicates): Rename it back to
4675 isearch-filter-predicate.
4676 (isearch-message-prefix): Use advice-function-mapc and advice
4677 properties to get the isearch-message-prefix.
4678 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4679 instead of run-hook-with-args-until-failure.
4680 (isearch-filter-visible): Not obsolete any more.
4681 * loadup.el: Preload nadvice.
4682 * replace.el (perform-replace): Revert to funcall
4683 instead of run-hook-with-args-until-failure.
4684 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4685 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4686 dired-isearch-filenames-toggle; make it into a proper minor mode.
4687 Use add/remove-function.
4688 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4689 Call the minor-mode rather than add/remove-hook.
4690 (dired-isearch-filter-filenames):
4691 Remove isearch-message-prefix property.
4692 * info.el (Info--search-loop): New function, extracted from Info-search.
4693 Funcall isearch-filter-predicate instead of
4694 run-hook-with-args-until-failure isearch-filter-predicates.
4695 (Info-search): Use it.
4696 (Info-mode): Use isearch-filter-predicate instead of
4697 isearch-filter-predicates.
4698
4699 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4700
4701 Do not call to `selected-window' where it is assumed by default.
4702 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4703 `window-hscroll', `window-width', `window-height', `window-buffer',
4704 `window-frame', `window-start', `window-point', `next-window'
4705 and `window-display-table'.
4706 * abbrev.el (abbrev--default-expand):
4707 * bs.el (bs--show-with-configuration):
4708 * buff-menu.el (Buffer-menu-mouse-select):
4709 * calc/calc.el (calc):
4710 * calendar/calendar.el (calendar-generate-window):
4711 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4712 (diary-make-entry):
4713 * comint.el (send-invisible, comint-dynamic-complete-filename)
4714 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4715 * completion.el (complete):
4716 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4717 * disp-table.el (describe-current-display-table):
4718 * doc-view.el (doc-view-insert-image):
4719 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4720 * ehelp.el (with-electric-help):
4721 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4722 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4723 * emacs-lisp/helper.el (Helper-help-scroller):
4724 * emulation/cua-base.el (cua--post-command-handler-1):
4725 * eshell/esh-mode.el (eshell-output-filter):
4726 * ffap.el (ffap-gnus-wrapper):
4727 * help-macro.el (make-help-screen):
4728 * hilit-chg.el (highlight-compare-buffers):
4729 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4730 * hl-line.el (global-hl-line-highlight):
4731 * icomplete.el (icomplete-simple-completing-p):
4732 * isearch.el (isearch-done):
4733 * jit-lock.el (jit-lock-stealth-fontify):
4734 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4735 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4736 * mpc.el (mpc-tagbrowser, mpc):
4737 * net/rcirc.el (rcirc-any-buffer):
4738 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4739 * play/landmark.el (landmark-max-width, landmark-max-height):
4740 * play/zone.el (zone):
4741 * progmodes/compile.el (compilation-goto-locus):
4742 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4743 * progmodes/etags.el (find-tag-other-window):
4744 * progmodes/fortran.el (fortran-column-ruler):
4745 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4746 * progmodes/verilog-mode.el (verilog-point-text):
4747 * reposition.el (reposition-window):
4748 * rot13.el (toggle-rot13-mode):
4749 * server.el (server-switch-buffer):
4750 * shell.el (shell-dynamic-complete-command)
4751 (shell-dynamic-complete-environment-variable):
4752 * simple.el (insert-buffer, set-selective-display)
4753 (delete-completion-window):
4754 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4755 (speedbar-recenter):
4756 * startup.el (fancy-splash-head):
4757 * textmodes/ispell.el (ispell-command-loop):
4758 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4759 * tutorial.el (help-with-tutorial):
4760 * vc/add-log.el (add-change-log-entry):
4761 * vc/compare-w.el (compare-windows):
4762 * vc/ediff-help.el (ediff-indent-help-message):
4763 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4764 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4765 (ediff-setup-control-frame):
4766 * vc/emerge.el (emerge-position-region):
4767 * vc/pcvs-util.el (cvs-bury-buffer):
4768 * window.el (walk-windows, mouse-autoselect-window-select):
4769 * winner.el (winner-set-conf, winner-undo): Related users changed.
4770
4771 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4772
4773 * frameset.el (frameset--set-id): Doc fix.
4774 (frameset-frame-id, frameset-frame-id-equal-p)
4775 (frameset-locate-frame-id): New functions.
4776 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4777 (frameset-restore): Use them.
4778
4779 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4780
4781 Do not call to `selected-frame' where it is assumed by default.
4782 Affected functions are `raise-frame', `redraw-frame',
4783 `frame-first-window', `frame-terminal' and `delete-frame'.
4784 * calendar/appt.el (appt-disp-window):
4785 * epg.el (epg-wait-for-completion):
4786 * follow.el (follow-delete-other-windows-and-split)
4787 (follow-avoid-tail-recenter):
4788 * international/mule.el (set-terminal-coding-system):
4789 * mail/rmail.el (rmail-mail-return):
4790 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4791 * progmodes/f90.el (f90-add-imenu-menu):
4792 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4793 * server.el (server-switch-buffer):
4794 * simple.el (delete-completion-window):
4795 * talk.el (talk):
4796 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4797 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4798 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4799 * vc/ediff.el (ediff-documentation): Related users changed.
4800 * frame.el (selected-terminal): Remove the leftover.
4801
4802 2013-08-05 Glenn Morris <rgm@gnu.org>
4803
4804 * calendar/calendar.el (calendar-generate-month):
4805 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4806 (calendar-generate-month, calendar-font-lock-keywords):
4807 Fix for calendar-day-header-width > length of any day name.
4808
4809 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4810
4811 * desktop.el (desktop-clear): Use new name of sort predicate.
4812
4813 * frameset.el (frameset): Add docstring. Move :version property to its
4814 own `version' slot.
4815 (frameset-copy): Rename from copy-frameset.
4816 (frameset-p): Check more thoroughly.
4817 (frameset-prop): Do not check for :version, which is no longer a prop.
4818 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4819 Use new :never value instead of t.
4820 (frameset-filter-alist): Expand and clarify docstring.
4821 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4822 (frameset-filter-minibuffer, frameset-filter-save-param)
4823 (frameset-filter-restore-param, frameset-filter-iconified):
4824 Add pointer to docstring of frameset-filter-alist.
4825 (frameset-filter-params): Rename filter values to be more meaningful:
4826 :never instead of t, and reverse the meanings of :save and :restore.
4827 (frameset--process-minibuffer-frames): Clarify error message.
4828 (frameset-save): Avoid unnecessary and confusing call to framep.
4829 Use new BOA constructor for framesets.
4830 (frameset--reuse-list): Doc fix.
4831 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4832 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4833 (frameset-minibufferless-first-p): Doc fix.
4834 Rename from frameset-sort-frames-for-deletion.
4835 (frameset-restore): Doc fixes. Use new function names.
4836 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4837
4838 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4839
4840 * desktop.el (desktop-restore-forces-onscreen)
4841 (desktop-restore-reuses-frames): Document :keyword constant values.
4842 (desktop-filter-parameters-alist): Remove, now identical to
4843 frameset-filter-alist.
4844 (desktop--filter-tty*): Remove, moved to frameset.el.
4845 (desktop-save-frameset, desktop-restore-frameset):
4846 Do not pass :filters argument.
4847
4848 * frameset.el (frameset-live-filter-alist)
4849 (frameset-persistent-filter-alist): New variables.
4850 (frameset-filter-alist): Use them. Add autoload cookie.
4851 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4852 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4853 `frameset--id' (it's supposed to be internal to frameset.el).
4854 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4855 (frameset--initial-params): New function.
4856 (frameset--get-frame): Use it. Doc fix.
4857 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4858 Accept :all, not 'all.
4859 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4860 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4861 with fbound symbols. Fix frame id matching, and remove matching ids if
4862 the frame being restored is deleted. Obey :delete.
4863
4864 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * subr.el (macrop): New function.
4867 (text-clone--maintaining): New var.
4868 (text-clone--maintain): Rename from text-clone-maintain. Use it
4869 instead of inhibit-modification-hooks.
4870
4871 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4872 a proxy, so as handle autoloads and redefinitions of the target.
4873 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4874
4875 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4876 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4877 (pcase--mutually-exclusive-p): New function.
4878 (pcase--split-consp): Use it.
4879 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4880 mutually exclusive with the current predicate.
4881
4882 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4883 (edebug-macrop): Remove. Use `macrop' instead.
4884 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4885 (ad-macro-p):
4886 * eshell/esh-cmd.el (eshell-macrop):
4887 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4888
4889 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4890
4891 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4892 (advice-mapc): New function, using it.
4893 (advice-function-member-p): New function.
4894 (advice--normalize): Store the cdr in advice--saved-rewrite since
4895 that's the part that will be changed.
4896 (advice--symbol-function): New function.
4897 (advice-remove): Handle removal before the function is defined.
4898 Adjust to new advice--saved-rewrite.
4899 (advice-member-p): Use advice-function-member-p and
4900 advice--symbol-function.
4901
4902 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4903
4904 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4905 (frameset-filter-minibuffer): Doc fix.
4906 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4907 (frameset--set-id, frameset--process-minibuffer-frames)
4908 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4909 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4910
4911 * desktop.el (desktop-clear): Only delete frames when called
4912 interactively and desktop-restore-frames is non-nil. Doc fix.
4913 (desktop-read): Set desktop-saved-frameset to nil.
4914
4915 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4916
4917 * vc/vc.el (vc-ignore): Rewrite.
4918 (vc-default-ignore-completion-table):
4919 (vc--read-lines):
4920 (vc--add-line, vc--remove-regexp): New functions.
4921
4922 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4923 (vc-svn-ignore-completion-table): New function.
4924
4925 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4926 (vc-hg-ignore-completion-table):
4927 (vc-hg-find-ignore-file): New functions.
4928
4929 * vc/vc-git.el (vc-git-ignore): Rewrite.
4930 (vc-git-ignore-completion-table):
4931 (vc-git-find-ignore-file): New functions.
4932
4933 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4934
4935 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4936 (vc-bzr-ignore-completion-table):
4937 (vc-bzr-find-ignore-file): New functions.
4938
4939 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4940
4941 * frameset.el (frameset-prop): New function and setter.
4942 (frameset-save): Do not modify frame list passed by the caller.
4943
4944 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4945
4946 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4947
4948 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4949
4950 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4951 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4952
4953 * custom.el (custom-initialize-default, custom-initialize-set)
4954 (custom-initialize-reset, custom-initialize-changed): Affect the
4955 toplevel-default-value (bug#6275, bug#14586).
4956 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4957 for bug#6275.
4958
4959 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4960
4961 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4962 Add cl-def* expressions.
4963
4964 * frameset.el (frameset-filter-params): Fix order of arguments.
4965
4966 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4967
4968 Move code related to saving frames to frameset.el.
4969 * desktop.el: Require frameset.
4970 (desktop-restore-frames): Doc fix.
4971 (desktop-restore-reuses-frames): Rename from
4972 desktop-restoring-reuses-frames.
4973 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4974 (desktop-clear): Clear frames too.
4975 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4976 (desktop--filter-tty*, desktop-save, desktop-read):
4977 Use frameset functions.
4978 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4979 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4980 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4981 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4982 (desktop--process-minibuffer-frames, desktop-save-frames)
4983 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4984 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4985 (desktop--sort-states, desktop-restoring-frames-p)
4986 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4987 (desktop-restoring-frameset-p, desktop-restore-frameset)
4988 (desktop--check-dont-save, desktop-save-frameset): New functions.
4989 (desktop--app-id): New constant.
4990 (desktop-first-buffer, desktop-buffer-ok-count)
4991 (desktop-buffer-fail-count): Move before first use.
4992 * frameset.el: New file.
4993
4994 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4995
4996 * files.el: Use lexical-binding.
4997 (dir-locals-read-from-file): Remove unused `err' variable.
4998 (hack-dir-local-variables--warned-coding): New var.
4999 (hack-dir-local-variables): Use it to avoid repeated warnings.
5000 (make-backup-file-name--default-function): New function.
5001 (make-backup-file-name-function): Use it as default.
5002 (buffer-stale--default-function): New function.
5003 (buffer-stale-function): Use it as default.
5004 (revert-buffer-insert-file-contents--default-function): New function.
5005 (revert-buffer-insert-file-contents-function): Use it as default.
5006 (insert-directory): Avoid add-to-list.
5007
5008 * autorevert.el (auto-revert-handler): Simplify.
5009 Use buffer-stale--default-function.
5010
5011 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5012
5013 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5014
5015 * whitespace.el (whitespace-ensure-local-variables): New function.
5016 (whitespace-cleanup-region): Call it.
5017 (whitespace-turn-on): Call it.
5018
5019 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5020
5021 Complete file name handlers.
5022
5023 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5024 (tramp-handle-verify-visited-file-modtime)
5025 (tramp-handle-file-notify-rm-watch): New functions.
5026 (tramp-call-process): Do not bind `default-directory'.
5027
5028 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5029 Order alphabetically.
5030 [access-file, add-name-to-file, dired-call-process]:
5031 [dired-compress-file, file-acl, file-notify-rm-watch]:
5032 [file-ownership-preserved-p, file-selinux-context]:
5033 [make-directory-internal, make-symbolic-link, set-file-acl]:
5034 [set-file-selinux-context, set-visited-file-modtime]:
5035 [verify-visited-file-modtime]: Add handler.
5036 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5037
5038 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5039 [file-notify-add-watch, file-notify-rm-watch]:
5040 [set-file-times, set-visited-file-modtime]:
5041 [verify-visited-file-modtime]: Add handler.
5042 (with-tramp-gvfs-error-message)
5043 (tramp-gvfs-handle-set-visited-file-modtime)
5044 (tramp-gvfs-fuse-file-name): Remove.
5045 (tramp-gvfs-handle-file-notify-add-watch)
5046 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5047 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5048
5049 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5050 Order alphabetically.
5051 [file-notify-rm-watch ]: Use default Tramp handler.
5052 [executable-find]: Remove private handler.
5053 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5054 `default-directory'.
5055 (tramp-sh-handle-executable-find)
5056 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5057 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5058 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5059 Do not use `format' in `tramp-message'.
5060
5061 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5062 [file-notify-rm-watch, set-visited-file-modtime]:
5063 [verify-visited-file-modtime]: Add handler.
5064 (tramp-smb-call-winexe): Do not bind `default-directory'.
5065
5066 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5067
5068 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5069
5070 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5071
5072 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5073 use it.
5074 (log-view-diff-changeset): Same.
5075 (log-view-diff-common): Call backend command `previous-revision'
5076 to find out the previous revision, in both cases. Swap the
5077 variables `to' and `fr', so that `fr' usually refers to the
5078 earlier revision (Bug#14989).
5079
5080 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5081
5082 * ibuf-ext.el (ibuffer-filter-by-filename):
5083 Make it work with dired buffers too.
5084
5085 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5086
5087 * emacs-lisp/re-builder.el (reb-color-display-p):
5088 * files.el (save-buffers-kill-terminal):
5089 * net/browse-url.el (browse-url):
5090 * server.el (server-save-buffers-kill-terminal):
5091 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5092 Prefer nil to selected-frame for the first arg of frame-parameter.
5093
5094 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5095
5096 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5097
5098 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5099
5100 * minibuffer.el (completion--twq-all): Try and preserve each
5101 completion's case choice (bug#14907).
5102
5103 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5104
5105 * net/network-stream.el (open-network-stream): Mention the new
5106 :nogreeting parameter.
5107 (network-stream-open-starttls): Use the :nogreeting parameter
5108 (bug#14938).
5109
5110 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5111
5112 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5113 more natural than popping.
5114
5115 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5116 (shr-urlify): Highlight under mouse.
5117
5118 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5119
5120 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5121
5122 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5123
5124 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5125 buffer for output.
5126
5127 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5128 point-min==1. Fix search string. Fix parentheses missing.
5129
5130 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5131 assume point-min==1. Fix search string. Fix parentheses missing.
5132
5133 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5134
5135 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5136 buffer for output.
5137
5138 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5139
5140 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5141 initial frame is minibuffer-less. (Bug#14841)
5142
5143 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5144
5145 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5146 option.
5147
5148 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5149 (tramp-maybe-open-connection): Use it.
5150
5151 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5152
5153 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5154 minimal set of parameters passed when creating a frame, because
5155 the minibuffer status of a frame cannot be changed later.
5156
5157 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5158
5159 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5160 replace-regexp-in-string and inadvertent omissions in previous change.
5161 (todo-filter-items): Ensure only file names are comma-separated in
5162 name of filtered items buffer.
5163
5164 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5165
5166 * desktop.el: Optionally force offscreen frames back onscreen.
5167 (desktop-restoring-reuses-frames): New option.
5168 (desktop--compute-pos, desktop--move-onscreen): New functions.
5169 (desktop--make-frame): Use desktop--move-onscreen.
5170
5171 2013-07-27 Alan Mackenzie <acm@muc.de>
5172
5173 Fontify a Java generic method as a function.
5174 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5175 value to t.
5176
5177 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5178
5179 * calendar/todo-mode.el: Add command to rename todo files.
5180 (todo-rename-file): New command.
5181 (todo-key-bindings-t): Add key binding for it. Change the
5182 bindings of todo-filter-regexp-items(-multifile) to use `x'
5183 instead of `r', since the latter is better suited to the new
5184 renaming command.
5185
5186 2013-07-27 Alan Mackenzie <acm@muc.de>
5187
5188 Make Java try-with-resources statement parse properly.
5189 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5190 (c-block-stmt-1-2-key): New language constants/variables.
5191 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5192 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5193 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5194 with c-block-stmt-1-2-key.
5195
5196 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5197
5198 * desktop.el (desktop--make-frame): Apply most frame parameters after
5199 creating the frame to force (partially or totally) offscreen frames to
5200 be restored as such.
5201
5202 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5203
5204 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5205 (Bug#14948)
5206
5207 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5208
5209 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5210 `base' arg of backtrace-frame.
5211
5212 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5213
5214 * simple.el (list-processes): Doc fix.
5215
5216 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5217
5218 * desktop.el (desktop--select-frame):
5219 Try harder to reuse existing frames.
5220
5221 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5222
5223 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5224 (edebug-eval): Use backtrace-eval.
5225 (edebug--display, edebug--recursive-edit): Don't let-bind the
5226 edebug-outer-* vars that keep track of variables we locally let-bind.
5227 (edebug-outside-excursion): Don't restore outside values of locally
5228 let-bound vars.
5229 (edebug--display): Use user-error.
5230 (cl-lexical-debug, cl-debug-env): Remove.
5231
5232 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5233
5234 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5235 are restored to be sure that they are visible before deleting any
5236 remaining ones.
5237
5238 2013-07-26 Matthias Meulien <orontee@gmail.com>
5239
5240 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5241 vc-print-root-log. (Bug#14948)
5242
5243 2013-07-26 Richard Stallman <rms@gnu.org>
5244
5245 Add aliases for encrypting mail.
5246 * epa.el (epa-mail-aliases): New option.
5247 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5248 Bind inhibit-read-only so read-only text doesn't ruin everything.
5249 (epa-mail-default-recipients): New subroutine broken out.
5250 Handle epa-mail-aliases.
5251
5252 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5253
5254 Add support for lexical variables to the debugger's `e' command.
5255 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5256 vars, except for debugger-outer-match-data.
5257 (debugger-frame-number): Move check for "on a function call" from
5258 callers into it. Add `skip-base' argument.
5259 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5260 (debugger-env-macro): Only reset the state stored in non-variables,
5261 i.e. current-buffer and match-data.
5262 (debugger-eval-expression): Rewrite using backtrace-eval.
5263 * subr.el (internal--called-interactively-p--get-frame): Remove.
5264 (called-interactively-p):
5265 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5266 `base' arg of backtrace-frame instead.
5267
5268 2013-07-26 Glenn Morris <rgm@gnu.org>
5269
5270 * align.el (align-regexp): Doc fix. (Bug#14857)
5271 (align-region): Explicit error if subexpression missing/does not match.
5272
5273 * simple.el (global-visual-line-mode):
5274 Do not duplicate the mode lighter. (Bug#14858)
5275
5276 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5277
5278 * window.el (display-buffer): In display-buffer bind
5279 split-window-keep-point to t, bug#14829.
5280
5281 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5282
5283 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5284 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5285 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5286 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5287 Change accordingly.
5288 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5289 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5290
5291 2013-07-25 Glenn Morris <rgm@gnu.org>
5292
5293 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5294
5295 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5296
5297 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5298 parameter to modify-frame-parameters if the value has not changed;
5299 this is a workaround for bug#14949.
5300 (desktop--make-frame): On cl-delete-if call, check parameter name,
5301 not full parameter.
5302
5303 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5304
5305 * vc/vc.el (vc-ignore): New function.
5306
5307 * vc/vc-svn.el (vc-svn-ignore): New function.
5308
5309 * vc/vc-hg.el (vc-hg-ignore): New function.
5310
5311 * vc/vc-git.el (vc-git-ignore): New function.
5312
5313 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5314 (vc-dir-ignore): New function.
5315
5316 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5317 (cvs-append-to-ignore): Move here from pcvs.el.
5318
5319 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5320
5321 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5322
5323 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5324
5325 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5326 (desktop-restore-frames): Warn when deleting an existing frame failed.
5327
5328 2013-07-24 Glenn Morris <rgm@gnu.org>
5329
5330 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5331
5332 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5333
5334 * filenotify.el (file-notify-supported-p):
5335 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5336 Remove functions.
5337
5338 * autorevert.el (auto-revert-use-notify):
5339 (auto-revert-notify-add-watch):
5340 * net/tramp.el (tramp-file-name-for-operation):
5341 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5342 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5343 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5344 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5345 Remove `file-notify-supported-p' entry.
5346
5347 2013-07-24 Glenn Morris <rgm@gnu.org>
5348
5349 * printing.el: Replace all uses of deleted ps-windows-system,
5350 ps-lp-system, ps-flatten-list with lpr- versions.
5351
5352 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5353
5354 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5355 checked with memq (bug#14935).
5356
5357 * files.el (revert-buffer-function): Use a non-nil default.
5358 (revert-buffer-preserve-modes): Declare var to
5359 provide access to the `preserve-modes' argument.
5360 (revert-buffer): Let-bind it.
5361 (revert-buffer--default): New function, extracted from revert-buffer.
5362
5363 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5364
5365 * lpr.el: Signal print errors more prominently.
5366 (print-region-function): Don't default to nil.
5367 (lpr-print-region): New function, extracted from print-region-1.
5368 Check lpr's return value and signal an error in case of problem.
5369 (print-region-1): Use it.
5370 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5371 versions instead.
5372 (ps-printer-name): Default to nil.
5373 (ps-printer-name-option): Default to lpr-printer-switch.
5374 (ps-print-region-function): Don't default to nil.
5375 (ps-postscript-code-directory): Simplify default.
5376 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5377 (ps-string-list, ps-eval-switch, ps-flatten-list)
5378 (ps-flatten-list-1): Remove.
5379 (ps-multibyte-buffer): Avoid setq.
5380 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5381 (print-region-function, ps-print-region-function): Don't set them here.
5382
5383 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5384
5385 * ido.el (ido-fractionp):
5386 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5387 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5388 (ido-max-directory-size, ido-max-dir-file-cache)
5389 (ido-decorations): Doc fix.
5390
5391 * ansi-color.el: Fix old URL.
5392
5393 2013-07-23 Michael R. Mauger <michael@mauger.com>
5394
5395 * progmodes/sql.el: Version 3.3
5396 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5397 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5398 (sql-interactive-remove-continuation-prompt): Rewrite, use
5399 functions above. Fix continuation prompt and complete output line
5400 handling.
5401 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5402 redirected output buffer.
5403 (sql-mode): Restore deleted code (Bug#13591).
5404
5405 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5406
5407 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5408
5409 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5410
5411 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5412
5413 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5414 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5415 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5416
5417 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5418
5419 * desktop.el (desktop-clear): Simplify; remove useless checks
5420 against invalid buffer names.
5421 (desktop-list*): Use cl-list*.
5422 (desktop-buffer-info, desktop-create-buffer): Simplify.
5423
5424 2013-07-23 Leo Liu <sdl.web@gmail.com>
5425
5426 * bookmark.el (bookmark-make-record): Restore NAME as a default
5427 value. (Bug#14933)
5428
5429 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5432 extracted from autoload--insert-text.
5433 (autoload--insert-text): Remove.
5434 (autoload--print-cookie-text): New function, extracted from
5435 autoload--insert-cookie-text.
5436 (autoload--insert-cookie-text): Remove.
5437 (autoload-generate-file-autoloads): Adjust calls accordingly.
5438
5439 * winner.el (winner-hook-installed-p): Remove.
5440 (winner-mode): Simplify accordingly.
5441
5442 * subr.el (add-to-list): Fix compiler-macro when `append' is
5443 not constant. Don't use `cl-member' for the base case.
5444
5445 * progmodes/subword.el: Fix boundary case (bug#13758).
5446 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5447 own group.
5448 (subword-backward-regexp): Make it a constant.
5449 (subword-forward-internal): Don't treat a trailing capital as the
5450 beginning of a word.
5451
5452 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5453
5454 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5455 global value of tabulated-list-revert-hook (bug#14930).
5456
5457 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5458
5459 * desktop.el: Require 'cl-lib.
5460 (desktop-before-saving-frames-functions): New hook.
5461 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5462 for frames being saved. Rename from desktop--save-minibuffer-frames.
5463 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5464 Do not save frames with non-nil `desktop-dont-save' parameter.
5465 Filter out deleted frames.
5466 (desktop--find-frame): Use cl-find-if.
5467 (desktop--select-frame): Use cl-(first|second|third) to access values
5468 of desktop-mini.
5469 (desktop--make-frame): Use cl-delete-if.
5470 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5471 (desktop-restore-frames): Use cl-(first|second|third) to access values
5472 of desktop-mini. Look for visible frame at the end, not while
5473 restoring frames.
5474
5475 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5476 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5477 Use string-match-p, looking-at-p (bug#14927).
5478
5479 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5480
5481 * desktop.el (desktop-saved-frame-states):
5482 Rename from desktop--saved-states; all users changed.
5483 (desktop-save-frames): Rename from desktop--save-frames.
5484 Do not save state to desktop file.
5485 (desktop-save): Save desktop-saved-frame-states to desktop file
5486 and reset to nil.
5487 (desktop-restoring-frames-p): New function.
5488 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5489 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5490 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5491
5492 * desktop.el: Correctly restore iconified frames.
5493 (desktop--filter-iconified-position): New function.
5494 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5495
5496 2013-07-20 Glenn Morris <rgm@gnu.org>
5497
5498 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5499 Let `message' do the formatting.
5500 (def-gdb-preempt-display-buffer): Add explicit format.
5501
5502 * image-dired.el (image-dired-track-original-file):
5503 Use with-current-buffer.
5504 (image-dired-track-thumbnail): Use with-current-buffer.
5505 Avoid changing point of wrong window.
5506
5507 * image-dired.el (image-dired-track-original-file):
5508 Avoid changing point of wrong window. (Bug#14909)
5509
5510 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5511
5512 * progmodes/gdb-mi.el (gdb-done-or-error):
5513 Guard against "%" in gdb output. (Bug#14127)
5514
5515 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5516
5517 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5518 (Bug#14826)
5519
5520 * international/mule.el (coding-system-iso-2022-flags): Fix last
5521 change.
5522
5523 2013-07-20 Kenichi Handa <handa@gnu.org>
5524
5525 * international/mule.el (coding-system-iso-2022-flags):
5526 Add `8-bit-level-4'. (Bug#8522)
5527
5528 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5529
5530 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5531 (bug#14815).
5532
5533 * net/eww.el (eww-process-text-input): Allow inputting when the
5534 point is at the start of the line, as the properties aren't
5535 front-sticky.
5536
5537 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5538 degenerate widths.
5539
5540 2013-07-19 Richard Stallman <rms@gnu.org>
5541
5542 * epa.el (epa-popup-info-window): Doc fix.
5543
5544 * subr.el (split-string): New arg TRIM.
5545
5546 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5547
5548 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5549 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5550
5551 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5552
5553 * filenotify.el (file-notify--library): Rename from
5554 `file-notify-support'. Do not autoload. Adapt all uses.
5555 (file-notify-supported-p): New defun.
5556
5557 * autorevert.el (auto-revert-use-notify):
5558 Use `file-notify-supported-p' instead of `file-notify-support'.
5559 Adapt docstring.
5560 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5561
5562 * net/tramp.el (tramp-file-name-for-operation):
5563 Add `file-notify-supported-p'.
5564
5565 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5566 New defun.
5567 (tramp-sh-file-name-handler-alist): Add it as handler for
5568 `file-notify-supported-p '.
5569
5570 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5571 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5572 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5573 Add `ignore' as handler for `file-notify-*' functions.
5574
5575 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5576
5577 * simple.el (line-move-partial, line-move): Don't start vscroll or
5578 scroll-up if the current line is not taller than the window.
5579 (Bug#14881)
5580
5581 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5582
5583 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5584 highlight question marks in the method names as strings.
5585 (ruby-block-beg-keywords): Inline.
5586 (ruby-font-lock-keyword-beg-re): Extract from
5587 `ruby-font-lock-keywords'.
5588
5589 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5590
5591 * frame.el (blink-cursor-blinks): New defcustom.
5592 (blink-cursor-blinks-done): New defvar.
5593 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5594 (blink-cursor-timer-function): Check if number of blinks has been
5595 done on X and NS.
5596 (blink-cursor-suspend, blink-cursor-check): New defuns.
5597
5598 2013-07-15 Glenn Morris <rgm@gnu.org>
5599
5600 * edmacro.el (edmacro-format-keys): Fix previous change.
5601
5602 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5603
5604 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5605 The hack didn't work outside English locales anyway.
5606
5607 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5608
5609 * simple.el (define-alternatives): Rename from alternatives-define,
5610 per RMS' suggestion.
5611
5612 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5613
5614 * desktop.el (desktop-restore-frames): Change default to t.
5615 (desktop-restore-in-current-display): Now offer more options.
5616 (desktop-restoring-reuses-frames): New customization option.
5617 (desktop--saved-states): Doc fix.
5618 (desktop-filter-parameters-alist): New variable, renamed and expanded
5619 from desktop--excluded-frame-parameters.
5620 (desktop--target-display): New variable.
5621 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5622 (desktop--filter-tty*, desktop--filter-*-color)
5623 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5624 (desktop--filter-save-desktop-parm)
5625 (desktop-restore-in-original-display-p): New functions.
5626 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5627 (desktop--save-minibuffer-frames): New function, inspired by a similar
5628 function from Martin Rudalics.
5629 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5630 (desktop--restore-in-this-display-p): Remove.
5631 (desktop--find-frame): Rename from desktop--find-frame-in-display
5632 and add predicate argument.
5633 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5634 (desktop--reuse-list): New variable.
5635 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5636 New functions.
5637 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5638
5639 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5640
5641 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5642
5643 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5644
5645 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5646 Highlight conversion methods on Kernel.
5647
5648 2013-07-13 Alan Mackenzie <acm@muc.de>
5649
5650 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5651 and comment it out. This out-commenting enables certain C++
5652 declarations to be parsed correctly.
5653
5654 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5655
5656 * international/mule.el (define-coding-system): Doc fix.
5657
5658 * simple.el (default-font-height): Don't call font-info if the
5659 frame's default font didn't change since the frame was created.
5660 (Bug#14838)
5661
5662 2013-07-13 Leo Liu <sdl.web@gmail.com>
5663
5664 * ido.el (ido-read-file-name): Guard against non-symbol value.
5665
5666 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5667
5668 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5669 in nested defuns.
5670
5671 2013-07-13 Leo Liu <sdl.web@gmail.com>
5672
5673 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5674 ido-set-matches call. (Bug#6852)
5675
5676 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5677
5678 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5679 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5680 Ruby 2.0.
5681 (ruby-font-lock-keywords): Distinguish calls to functions with
5682 module-like names from module references. Highlight character
5683 literals.
5684
5685 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5686
5687 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5688 (gdb-send): Handle continued commands. (Bug#14847)
5689
5690 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5691
5692 * desktop.el (desktop--v2s): Remove unused local variable.
5693 (desktop-save-buffer): Make defvar-local; adjust docstring.
5694 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5695 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5696
5697 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5698
5699 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5700
5701 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5702
5703 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5704 (Bug#14842)
5705
5706 2013-07-12 Glenn Morris <rgm@gnu.org>
5707
5708 * doc-view.el: Require cl-lib at runtime too.
5709 (doc-view-remove-if): Remove.
5710 (doc-view-search-next-match, doc-view-search-previous-match):
5711 Use cl-remove-if.
5712
5713 * edmacro.el: Require cl-lib at runtime too.
5714 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5715 (edmacro-mismatch, edmacro-subseq): Remove.
5716
5717 * shadowfile.el: Require cl-lib.
5718 (shadow-remove-if): Remove.
5719 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5720 Use cl-remove-if.
5721
5722 * wid-edit.el: Require cl-lib.
5723 (widget-choose): Use cl-remove-if.
5724 (widget-remove-if): Remove.
5725
5726 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5727 (ebrowse-delete-if-not): Remove.
5728 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5729 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5730 Use cl-delete-if-not.
5731
5732 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5733
5734 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5735 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5736
5737 2013-07-12 Leo Liu <sdl.web@gmail.com>
5738
5739 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5740
5741 2013-07-11 Glenn Morris <rgm@gnu.org>
5742
5743 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5744 (edebug-gensym-index, edebug-gensym):
5745 Remove reimplementation of cl-gensym.
5746 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5747
5748 * thumbs.el: Require cl-lib at run-time too.
5749 (thumbs-gensym-counter, thumbs-gensym):
5750 Remove reimplementation of cl-gensym.
5751 (thumbs-temp-file): Use cl-gensym.
5752
5753 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5754 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5755 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5756 (ert--union, ert--gensym-counter, ert--gensym-counter)
5757 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5758 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5759 (ert-make-test-unbound, ert--expand-should-1)
5760 (ert--expand-should, ert--should-error-handle-error)
5761 (should-error, ert--explain-equal-rec)
5762 (ert--plist-difference-explanation, ert-select-tests)
5763 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5764 Use cl-lib functions rather than reimplementations.
5765
5766 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5767
5768 * net/tramp.el (tramp-methods): Extend docstring.
5769 (tramp-connection-timeout): New defcustom.
5770 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5771 (with-tramp-progress-reporter): Simplify.
5772 (tramp-process-actions): Improve messages.
5773
5774 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5775 * net/tramp-sh.el (tramp-maybe-open-connection):
5776 Use `tramp-connection-timeout'.
5777 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5778 (Bug#14808)
5779
5780 2013-07-11 Leo Liu <sdl.web@gmail.com>
5781
5782 * ido.el (ido-read-file-name): Conform to the requirements of
5783 read-file-name. (Bug#11861)
5784 (ido-read-directory-name): Conform to the requirements of
5785 read-directory-name.
5786
5787 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5788
5789 * subr.el (delay-warning): New function.
5790
5791 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5792
5793 * simple.el (default-line-height): New function.
5794 (line-move-partial, line-move): Use it instead of computing the
5795 line height inline.
5796 (line-move-partial): Always compute ROWH. If the last line is
5797 partially-visible, but its text is completely visible, allow
5798 cursor to enter such a partially-visible line.
5799
5800 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5801
5802 Improve error messages. (Bug#14808)
5803
5804 * net/tramp.el (tramp-current-connection): New defvar, moved from
5805 tramp-sh.el.
5806 (tramp-message-show-progress-reporter-message): Remove, not
5807 needed anymore.
5808 (tramp-error-with-buffer): Show message in minibuffer.
5809 Discard input before waiting. Reset connection timestamp.
5810 (with-tramp-progress-reporter): Improve messages.
5811 (tramp-process-actions): Use progress reporter. Delete process in
5812 case of error. Improve messages.
5813
5814 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5815 Call `tramp-error-with-buffer' with vector and buffer.
5816 (tramp-current-connection): Remove.
5817 (tramp-maybe-open-connection): The car of
5818 `tramp-current-connection' are the first 3 slots of the vector.
5819
5820 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5821
5822 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5823 inside continued strings.
5824
5825 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5826
5827 Timestamp fixes for undo (Bug#14824).
5828 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5829
5830 2013-07-10 Leo Liu <sdl.web@gmail.com>
5831
5832 * files.el (require-final-newline): Allow safe local value.
5833 (Bug#14834)
5834
5835 2013-07-09 Leo Liu <sdl.web@gmail.com>
5836
5837 * ido.el (ido-read-directory-name): Handle fallback.
5838 (ido-read-file-name): Update DIR to ido-current-directory.
5839 (Bug#1516)
5840 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5841
5842 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5843
5844 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5845 "autoload". Remove "warn lower camel case" section, previously
5846 commented out. Highlight negation char. Do not highlight the
5847 target in singleton method definitions.
5848
5849 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5850
5851 * faces.el (tty-setup-hook): Declare the hook.
5852
5853 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5854 and detect when a guard/pred depends on local vars (bug#14773).
5855 (pcase--u1): Adjust caller.
5856
5857 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5858
5859 * simple.el (line-move-partial, line-move): Account for
5860 line-spacing.
5861 (line-move-partial): Avoid setting vscroll when the last
5862 partially-visible line in window is of default height.
5863
5864 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5865
5866 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5867 been used a while.
5868
5869 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5870
5871 * subr.el (read-quoted-char): Remove unused local variable `char'.
5872
5873 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5874
5875 * ediff.el (ediff-version): Version update.
5876 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5877 (ediff-merge-with-ancestor-command, ediff-directories-command)
5878 (ediff-directories3-command, ediff-merge-directories-command)
5879 (ediff-merge-directories-with-ancestor-command): New functions.
5880 All are command-line interfaces to ediff: to facilitate calling
5881 Emacs with the appropriate ediff functions invoked.
5882
5883 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5884 (viper-save-kill-buffer): Check if buffer is modified.
5885
5886 * viper.el (viper-version): Version update.
5887 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5888
5889 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5890
5891 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5892 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5893 (viper-intercept-ESC-key): Simplify.
5894 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5895 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5896 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5897 (viper-setup-ESC-to-escape): New functions.
5898 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5899 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5900
5901 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5902
5903 * simple.el (default-font-height, window-screen-lines):
5904 New functions.
5905 (line-move, line-move-partial): Use them instead of
5906 frame-char-height and window-text-height. This makes scrolling
5907 text smoother when the buffer's default face uses a font that is
5908 different from the frame's default font.
5909
5910 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5911
5912 * files.el (write-file): Do not display confirm dialog for NS,
5913 it does its own dialog, which can't be cancelled (Bug#14578).
5914
5915 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5916
5917 * simple.el (line-move-partial): Adjust the row returned by
5918 posn-at-point for the current window-vscroll. (Bug#14567)
5919
5920 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5921
5922 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5923 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5924 spaces.
5925
5926 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5927
5928 * window.el (window-state-put-stale-windows): New variable.
5929 (window--state-put-2): Save list of windows without matching buffer.
5930 (window-state-put): Remove "bufferless" windows if possible.
5931
5932 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5933
5934 * simple.el (alternatives-define): Remove leftover :group keyword.
5935 Tweak docstring.
5936
5937 2013-07-06 Leo Liu <sdl.web@gmail.com>
5938
5939 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5940 (ido-enable-virtual-buffers): New variable.
5941 (ido-buffer-internal, ido-toggle-virtual-buffers)
5942 (ido-make-buffer-list): Use it.
5943 (ido-exhibit): Support turning on and off virtual buffers
5944 automatically.
5945
5946 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5947
5948 * simple.el (alternatives-define): New macro.
5949
5950 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 * subr.el (read-quoted-char): Use read-key.
5953 (sit-for): Let read-event decode tty input (bug#14782).
5954
5955 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5956
5957 * calendar/todo-mode.el: Add handling of file deletion, both by
5958 mode command and externally. Fix various related bugs.
5959 Clarify Commentary and improve some documentation strings and code.
5960 (todo-delete-file): New command.
5961 (todo-check-file): New function.
5962 (todo-show): Handle external deletion of the file we're trying to
5963 show (bug#14688). Replace called-interactively-p by an optional
5964 prefix argument to avoid problematic interaction with catch form
5965 when byte compiled (bug#14702).
5966 (todo-quit): Handle external deletion of the archive's todo file.
5967 Make sure the buffer that was visiting the archive file is still
5968 live before trying to bury it.
5969 (todo-category-completions): Handle external deletion of any
5970 category completion files.
5971 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5972 of todo files, in case of external deletion.
5973 (todo-add-file): Replace unnecessary setq by let-binding.
5974 (todo-find-archive): Check whether there are any archives.
5975 Replace unnecessary setq by let-binding.
5976 (todo-archive-done-item): Use find-file-noselect to get the
5977 archive buffer whether or not the archive already exists.
5978 Remove superfluous code. Use file size instead of buffer-file-name to
5979 check if the archive is new; if it is, update list of archives.
5980 (todo-default-todo-file): Allow nil to be a valid value for when
5981 there are no todo files.
5982 (todo-reevaluate-default-file-defcustom): Use corrected definition
5983 of todo-default-todo-file.
5984 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5985 (todo-delete-category, todo-show-categories-table)
5986 (todo-category-number): Clarify comment.
5987 (todo-filter-items): Clarify documentation string.
5988 (todo-show-current-file, todo-display-as-todo-file)
5989 (todo-reset-and-enable-done-separator): Tweak documentation string.
5990 (todo-done-separator): Make separator length window-width, since
5991 bug#2749 is now fixed.
5992
5993 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5994
5995 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5996 Support both "gvfs-monitor-dir" and "inotifywait".
5997 (tramp-sh-file-inotifywait-process-filter): Rename from
5998 `tramp-sh-file-notify-process-filter'.
5999 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6000 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6001
6002 2013-07-05 Leo Liu <sdl.web@gmail.com>
6003
6004 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6005
6006 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6007
6008 * frame.el (display-pixel-height, display-pixel-width)
6009 (display-mm-height, display-mm-width): Mention behavior on
6010 multi-monitor setups in docstrings.
6011 (w32-display-monitor-attributes-list): Declare function.
6012 (display-monitor-attributes-list): Use it.
6013
6014 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6015
6016 * filenotify.el: New package.
6017
6018 * autorevert.el (top): Require filenotify.el.
6019 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6020 instead.
6021 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6022 (auto-revert-notify-handler): Use `file-notify-*' functions.
6023
6024 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6025
6026 * net/tramp.el (tramp-file-name-for-operation):
6027 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6028
6029 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6030 for `file-notify-add-watch' and `file-notify-rm-watch'.
6031 (tramp-process-sentinel): Improve trace.
6032 (tramp-sh-handle-file-notify-add-watch)
6033 (tramp-sh-file-notify-process-filter)
6034 (tramp-sh-handle-file-notify-rm-watch)
6035 (tramp-get-remote-inotifywait): New defuns.
6036
6037 2013-07-03 Juri Linkov <juri@jurta.org>
6038
6039 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6040 call of `occur-read-primary-args' to interactive spec.
6041
6042 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6043 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6044
6045 2013-07-03 Matthias Meulien <orontee@gmail.com>
6046
6047 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6048 `Buffer-menu-multi-occur'. Add it to the menu.
6049 (Buffer-menu-mode): Document it in docstring.
6050 (Buffer-menu-multi-occur): New command. (Bug#14673)
6051
6052 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6053
6054 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6055 keywords and built-ins.
6056
6057 2013-07-03 Glenn Morris <rgm@gnu.org>
6058
6059 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6060
6061 Make info-xref checks case-sensitive by default
6062 * info.el (Info-find-node, Info-find-in-tag-table)
6063 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6064 Add option for exact case matching of nodes.
6065 * info-xref.el (info-xref): New custom group.
6066 (info-xref-case-fold): New option.
6067 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6068
6069 2013-07-03 Leo Liu <sdl.web@gmail.com>
6070
6071 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6072
6073 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6074
6075 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6076 middle of block statement initially, lower the depth. Remove
6077 FIXME comment, not longer valid. Remove middle of block statement
6078 detection, no need to do that anymore since we've been using
6079 `ruby-parse-region' here.
6080
6081 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6082
6083 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6084
6085 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6086
6087 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6088
6089 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6090
6091 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6092 (desktop-restore-in-current-display): New customization option.
6093 (desktop--excluded-frame-parameters): Add `font'.
6094 (desktop--save-frames): Rename from desktop--save-windows.
6095 (desktop--restore-in-this-display-p): New function.
6096 (desktop--make-full-frame): Remove unwanted width/height from
6097 full(width|height) frames.
6098 (desktop--restore-frames): Rename from desktop--restore-windows.
6099 Obey desktop-restore-current-display. Do not delete old frames or
6100 select a new frame unless we were able to restore at least one frame.
6101
6102 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6103
6104 * files.el (find-file-noselect): Simplify conditional expression.
6105
6106 * remember.el (remember-append-to-file):
6107 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6108
6109 Add `remember-notes' function to store random notes across Emacs
6110 restarts.
6111 * remember.el (remember-data-file): Add :set callback to affect
6112 notes buffer (if any).
6113 (remember-notes): New command.
6114 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6115 New defcustoms for the `remember-notes' function.
6116 (remember-notes-save-and-bury-buffer): New command.
6117 (remember-notes-mode-map): New variable.
6118 (remember-mode): New minor mode.
6119 (remember-notes--kill-buffer-query): New function.
6120 * startup.el (initial-buffer-choice): Add notes to custom type.
6121
6122 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6123
6124 * bindings.el (right-char, left-char): Don't call sit-for, this is
6125 no longer needed. Use arithmetic comparison only for numerical
6126 arguments.
6127
6128 * international/mule-cmds.el (select-safe-coding-system):
6129 Handle the case of FROM being a string correctly. (Bug#14755)
6130
6131 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6132
6133 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6134 progression on degenerate tables.
6135 (shr-rescale-image): ImageMagick animated images currently don't work.
6136
6137 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6138
6139 Some fixes and improvements for desktop frame restoration.
6140 It is still experimental and disabled by default.
6141 * desktop.el (desktop--save-windows): Put the selected frame at
6142 the head of the list.
6143 (desktop--make-full-frame): New function.
6144 (desktop--restore-windows): Try to re-select the frame that was
6145 selected upon saving. Do not abort if some frames fail to restore,
6146 just show an error message and continue. Set up maximized frames
6147 so they have default non-maximized dimensions.
6148
6149 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6150
6151 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6152 Don't start heredoc inside a string or comment.
6153
6154 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6155
6156 * bindings.el (visual-order-cursor-movement): New defcustom.
6157 (right-char, left-char): Provide visual-order cursor motion by
6158 calling move-point-visually. Update the doc strings.
6159
6160 2013-06-28 Kenichi Handa <handa@gnu.org>
6161
6162 * international/mule.el (define-coding-system): New coding system
6163 properties :inhibit-null-byte-detection,
6164 :inhibit-iso-escape-detection, and :prefer-utf-8.
6165 (set-buffer-file-coding-system): If :charset-list property of
6166 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6167 appropriate for setting.
6168
6169 * international/mule-cmds.el (select-safe-coding-system):
6170 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6171 multibyte characters, return utf-8 (or one of its siblings).
6172
6173 * international/mule-conf.el (prefer-utf-8): New coding system.
6174 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6175 files.
6176
6177 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6178
6179 * net/shr.el (shr-render-region): New function.
6180
6181 * net/eww.el: Autoload `eww-browse-url'.
6182
6183 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6184
6185 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6186 Adapt to `package-desc-version' being a list.
6187 Use `package--ac-desc-version' to retrieve version from a package
6188 archive element.
6189
6190 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6191
6192 New experimental feature to save&restore window and frame setup.
6193 * desktop.el (desktop-save-windows): New defcustom.
6194 (desktop--saved-states): New var.
6195 (desktop--excluded-frame-parameters): New defconst.
6196 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6197 (desktop--restore-windows, desktop--save-windows): New functions.
6198 (desktop-save): Call `desktop--save-windows'.
6199 (desktop-read): Call `desktop--restore-windows'.
6200
6201 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6202
6203 * net/shr.el (add-face-text-property): Remove compat definition.
6204
6205 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6206
6207 * info.el (Info-try-follow-nearest-node): Move search for footnote
6208 above search for node name to prevent missing a footnote (bug#14717).
6209
6210 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6211
6212 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6213
6214 2013-06-27 Leo Liu <sdl.web@gmail.com>
6215
6216 * net/eww.el (eww-read-bookmarks): Check file size.
6217
6218 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6219
6220 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6221 advice--pending if newdef is nil or an autoload (bug#13820).
6222 (advice-mapc): New function.
6223
6224 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6225
6226 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6227 probably.
6228 (eww-mode-map): Add a menu bar.
6229 (eww-add-bookmark): New command.
6230 (eww-bookmark-mode): New mode and commands.
6231 (eww-add-bookmark): Remove newlines from the title.
6232 (eww-bookmark-browse): Don't bug out if it's the only window.
6233
6234 2013-06-26 Glenn Morris <rgm@gnu.org>
6235
6236 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6237 (hfy-size): Handle ttys. (Bug#14668)
6238
6239 * info-xref.el: Update for Texinfo 5 change in *note format.
6240 (info-xref-node-re, info-xref-note-re): New constants.
6241 (info-xref-check-buffer): Use info-xref-note-re.
6242
6243 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6244
6245 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6246
6247 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6248 nil terminate the loop (bug#14718).
6249
6250 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6251
6252 * net/eww.el: Rework history traversal. When going forward/back,
6253 put these actions into the history, too, so that they can be
6254 replayed.
6255 (eww-render): Move the history reset to the correct buffer.
6256
6257 2013-06-25 Juri Linkov <juri@jurta.org>
6258
6259 * files-x.el (modify-dir-local-variable): Change the header comment
6260 in the file with directory local variables. (Bug#14692)
6261
6262 * files-x.el (read-file-local-variable-value): Add `default'.
6263 (Bug#14710)
6264
6265 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6266
6267 * net/eww.el (eww-make-unique-file-name): Create a unique file
6268 name before saving to entering `y' accidentally asynchronously.
6269
6270 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6271
6272 * net/eww.el (eww-download): New command and keystroke.
6273
6274 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6275
6276 * net/eww.el (eww-copy-page-url): Change name of command.
6277
6278 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6279 be more consistent with Info and dired.
6280
6281 * net/eww.el (eww-mode-map): Ditto.
6282
6283 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6284
6285 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6286 packages from archives.
6287 (package-archive-contents): Change format; include obsolete packages.
6288 (package-desc): Use `dir' to mark builtin packages.
6289 (package--from-builtin): Set the `dir' field to `builtin'.
6290 (generated-autoload-file, version-control): Declare.
6291 (package-compute-transaction): Change first arg and return value to be
6292 lists of package-descs. Adjust to new package-archive-contents format.
6293 (package--add-to-archive-contents): Adjust to new
6294 package-archive-contents format.
6295 (package-download-transaction): Arg is now a list of package-descs.
6296 (package-install): If `pkg' is a package name, pass it as
6297 a requirement, so it is subject to the usual (e.g. disabled) checks.
6298 (describe-package): Accept package-desc as well.
6299 (describe-package-1): Describe a specific package-desc. Add links to
6300 other package-descs for the same package name.
6301 (package-menu-describe-package): Pass the actual package-desc.
6302 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6303 works correctly.
6304 (package-desc-status): New function.
6305 (package-menu--refresh): New function, extracted
6306 from package-menu--generate.
6307 (package-menu--generate): Use it.
6308 (package-delete): Update package-alist.
6309 (package-menu-execute): Don't call package-initialize.
6310
6311 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6312 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6313 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6314 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6315 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6316 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6317
6318 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6319
6320 * window.el (window--state-get-1): Workaround for bug#14527.
6321 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6322
6323 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6324
6325 * net/eww.el (eww-back-url): Implement the history by stashing all
6326 the data into a list.
6327 (eww-forward-url): Allow going forward in the history, too.
6328
6329 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6330
6331 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6332 for values and use read--expression for expressions (bug#14710).
6333 (read-file-local-variable): Avoid setq.
6334 (read-file-local-variable-mode): Use minor-mode-list.
6335
6336 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6337
6338 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6339 for DOI URLs.
6340
6341 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6342
6343 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6344 Update imenu-support when dialect changes.
6345
6346 2013-06-25 Leo Liu <sdl.web@gmail.com>
6347
6348 * ido.el (ido-read-internal): Allow forward slash on windows.
6349
6350 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6351
6352 * net/eww.el (eww): Start of strings is \\`, not ^.
6353
6354 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6355
6356 * net/shr.el (shr-browse-url): Fix interactive spec.
6357
6358 * net/eww.el (eww): Add a trailing slash to domain names.
6359
6360 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6361
6362 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6363
6364 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6365
6366 * net/shr.el (shr-browse-url): Use an external browser if given a
6367 prefix.
6368
6369 * net/eww.el (eww-external-browser): Move to shr.
6370
6371 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6372
6373 * net/eww.el (eww): Work more correctly for file: URLs.
6374 (eww-detect-charset): Allow quoted charsets.
6375 (eww-yank-page-url): New command and keystroke.
6376
6377 2013-06-24 Daiki Ueno <ueno@gnu.org>
6378
6379 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6380 file name of gpg executable.
6381 (epg-context-program): New function.
6382 (epg-context-home-directory): New function.
6383 (epg-context-set-program): New function.
6384 (epg-context-set-home-directory): New function.
6385 (epg--start): Use `epg-context-program' instead of
6386 'epg-gpg-program'.
6387 (epg--list-keys-1): Likewise.
6388
6389 2013-06-24 Leo Liu <sdl.web@gmail.com>
6390
6391 * ido.el (ido-read-internal): Fix bug#14620.
6392
6393 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6394
6395 * faces.el (face-documentation): Simplify.
6396 (read-face-attribute, tty-find-type, x-resolve-font-name):
6397 Use `string-match-p'.
6398 (list-faces-display): Use `string-match-p'. Simplify.
6399 (face-spec-recalc): Check face to avoid face alias loops.
6400 (read-color): Use `string-match-p' and non-capturing parenthesis.
6401
6402 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6403
6404 * net/shr.el (shr-rescale-image): Use the new
6405 :max-width/:max-height functionality.
6406
6407 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6408
6409 * net/eww.el (eww-search-prefix): New variable.
6410 (eww): Use it.
6411 (eww-external-browser): New variable.
6412 (eww-mode-map): New keystroke.
6413 (eww-browse-with-external-browser): New command.
6414
6415 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6416
6417 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6418
6419 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6420 Don't skip aligning the next header field when padding is 0;
6421 otherwise, field width is not respected unless the title is as
6422 wide as the field.
6423
6424 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6425
6426 * emacs-lisp/package.el (package-el-version): Remove.
6427 (package-process-define-package): Fix inf-loop.
6428 (package-install): Allow symbols as arguments again.
6429
6430 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6431
6432 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6433 add some more keyword-like methods.
6434 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6435
6436 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6437
6438 * bs.el (bs-buffer-show-mark): Make defvar-local.
6439 (bs-mode): Use setq-local.
6440
6441 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6442 (emacs-lock--try-unlocking): Make defvar-local.
6443
6444 2013-06-22 Glenn Morris <rgm@gnu.org>
6445
6446 * play/cookie1.el (cookie-apropos): Minor simplification.
6447
6448 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6449
6450 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6451
6452 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6453 `regexp-opt', it breaks the build during dumping.
6454
6455 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6456
6457 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6458 Highlight keyword-like methods on Kernel and Module with
6459 font-lock-builtin-face.
6460 (auto-mode-alist): Consolidate different entries into one regexp
6461 and add more *file-s.
6462
6463 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6464
6465 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6466
6467 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6468 (diary-entry): Use it in the action of this button type instead of
6469 diary-goto-entry.
6470
6471 * calendar/todo-mode.el: New version.
6472 (todo-add-category): Append new category to end of file and give
6473 it the highest number, instead of putting it at the beginning and
6474 giving it 0. Incorporate noninteractive functionality.
6475 (todo-forward-category): Adapt to 1-based category numbering.
6476 Allow skipping over archived categories.
6477 (todo-backward-category): Derive from todo-forward-category.
6478 (todo-backward-item, todo-forward-item): Make noninteractive and
6479 delegate interactive part to new commands. Make sensitive to done items.
6480 (todo-categories): Make value an alist of category names and
6481 vectors of item counts.
6482 (todo-category-beg): Make a defconst.
6483 (todo-category-number): Use 1 instead of 0 as initial value.
6484 (todo-category-select): Make sensitive to overlays, optional item
6485 highlighting and done items.
6486 (todo-delete-item): Make sensitive to overlays and marked and done items.
6487 (todo-edit-item): Make sensitive to overlays and editing of
6488 date/time header optional. Add format checks.
6489 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6490 no-op if point is not on an item. Advertise using todo-edit-quit.
6491 (todo-edit-mode): Make sensitive to new format, font-locking, and
6492 multiple todo files.
6493 (todo-insert-item, todo-insert-item-here): Derive from
6494 todo-basic-insert-item and extend functionality.
6495 (todo-item-end, todo-item-start): Make sensitive to done items.
6496 (todo-item-string): Don't return text properties. Restore point.
6497 (todo-jump-to-category): Make sensitive to multiple todo files and
6498 todo archives. Use extended category completion.
6499 (todo-lower-item, todo-raise-item): Rename to *-priority and
6500 derive from todo-set-item-priority.
6501 (todo-mode): Derive from special-mode. Make sensitive to new
6502 format, font-locking and multiple todo files. Make read-only.
6503 (todo-mode-map): Don't suppress digit keys, so they can supply
6504 prefix arguments. Add many new key bindings.
6505 (todo-prefix): Insert as an overlay instead of file text.
6506 Change semantics from diary date expression to purely visual mark.
6507 (todo-print): Rename to todo-print-buffer. Make buffer display
6508 features printable. Remove option to restrict number of items
6509 printed. Add option to print to file.
6510 (todo-print-function): Rename to todo-print-buffer-function.
6511 (todo-quit): Extend to handle exiting new todo modes.
6512 (todo-remove-item): Make sensitive to overlays.
6513 (todo-save): Extend to buffers of filtered items.
6514 (todo-show): Make sensitive to done items, multiple todo files and
6515 new todo modes. Offer to convert legacy todo file before creating
6516 first new todo file.
6517 (todo-show-priorities): Rename to todo-top-priorities.
6518 Change semantics of value 0.
6519 (todo-top-priorities): Rename to todo-filter-top-priorities,
6520 derive from todo-filter-items and extend functionality.
6521 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6522 and extend functionality to other types of filtered items.
6523 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6524 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6525 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6526 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6527 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6528 (todo-edit-mode-hook, todo-entry-prefix-function)
6529 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6530 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6531 (todo-initials, todo-insert-threshold, todo-item-string-start)
6532 (todo-line-string, todo-menu, todo-mode-hook)
6533 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6534 (todo-print-priorities, todo-remove-separator)
6535 (todo-save-top-priorities-too, todo-string-count-lines)
6536 (todo-string-multiline-p, todo-time-string-format)
6537 (todo-tmp-buffer-name): Remove.
6538 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6539 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6540 (todo-edit-category-diary-inclusion)
6541 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6542 (todo-edit-file, todo-edit-item-date-day)
6543 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6544 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6545 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6546 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6547 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6548 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6549 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6550 (todo-filter-top-priorities-multifile, todo-find-archive)
6551 (todo-find-filtered-items-file, todo-go-to-source-item)
6552 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6553 (todo-jump-to-archive-category, todo-lower-category)
6554 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6555 (todo-move-category, todo-move-item, todo-next-button)
6556 (todo-next-item, todo-padded-string, todo-powerset)
6557 (todo-previous-button, todo-previous-item)
6558 (todo-print-buffer-to-file, todo-raise-category)
6559 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6560 (todo-set-category-number, todo-set-item-priority)
6561 (todo-set-top-priorities-in-category)
6562 (todo-set-top-priorities-in-file, todo-show-categories-table)
6563 (todo-sort-categories-alphabetically-or-numerically)
6564 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6565 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6566 (todo-toggle-item-header, todo-toggle-item-highlighting)
6567 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6568 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6569 (todo-unarchive-items, todo-unmark-category): New commands.
6570 (todo-absolute-file-name, todo-add-to-buffer-list)
6571 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6572 (todo-basic-insert-item, todo-category-completions)
6573 (todo-category-number, todo-category-string-matcher-1)
6574 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6575 (todo-check-format, todo-clear-matches)
6576 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6577 (todo-current-category, todo-date-string-matcher)
6578 (todo-define-insertion-command, todo-diary-expired-matcher)
6579 (todo-diary-goto-entry, todo-diary-item-p)
6580 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6581 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6582 (todo-done-item-section-p, todo-done-separator)
6583 (todo-done-string-matcher, todo-files, todo-filter-items)
6584 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6585 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6586 (todo-insert-category-line, todo-insert-item-from-calendar)
6587 (todo-insert-sort-button, todo-insert-with-overlays)
6588 (todo-insertion-command-name, todo-insertion-key-bindings)
6589 (todo-label-to-key, todo-longest-category-name-length)
6590 (todo-make-categories-list, todo-mode-external-set)
6591 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6592 (todo-modes-set-3, todo-multiple-filter-files)
6593 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6594 (todo-read-category, todo-read-date, todo-read-dayname)
6595 (todo-read-file-name, todo-read-time)
6596 (todo-reevaluate-category-completions-files-defcustom)
6597 (todo-reevaluate-default-file-defcustom)
6598 (todo-reevaluate-filelist-defcustoms)
6599 (todo-reevaluate-filter-files-defcustom)
6600 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6601 (todo-reset-done-separator, todo-reset-done-separator-string)
6602 (todo-reset-done-string, todo-reset-global-current-todo-file)
6603 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6604 (todo-reset-prefix, todo-set-categories)
6605 (todo-set-date-from-calendar, todo-set-show-current-file)
6606 (todo-set-top-priorities, todo-short-file-name)
6607 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6608 (todo-total-item-counts, todo-update-buffer-list)
6609 (todo-update-categories-display, todo-update-categories-sexp)
6610 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6611 New functions.
6612 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6613 New major modes.
6614 (todo-categories, todo-display, todo-edit, todo-faces)
6615 (todo-filtered): New defgroups.
6616 (todo-archived-only, todo-button, todo-category-string, todo-date)
6617 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6618 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6619 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6620 (todo-add-item-if-new-category, todo-always-add-time-string)
6621 (todo-categories-align, todo-categories-archived-label)
6622 (todo-categories-category-label, todo-categories-diary-label)
6623 (todo-categories-done-label, todo-categories-number-separator)
6624 (todo-categories-todo-label, todo-categories-totals-label)
6625 (todo-category-completions-files, todo-completion-ignore-case)
6626 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6627 (todo-done-separator-string, todo-done-string)
6628 (todo-files-function, todo-filter-done-items, todo-filter-files)
6629 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6630 (todo-initial-category, todo-initial-file, todo-item-mark)
6631 (todo-legacy-date-time-regexp, todo-mode-line-function)
6632 (todo-nondiary-marker, todo-number-prefix)
6633 (todo-print-buffer-function, todo-show-current-file)
6634 (todo-show-done-only, todo-show-first, todo-show-with-done)
6635 (todo-skip-archived-categories, todo-top-priorities-overrides)
6636 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6637 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6638 New defcustoms.
6639 (todo-category-done, todo-date-pattern, todo-date-string-start)
6640 (todo-diary-items-buffer, todo-done-string-start)
6641 (todo-filtered-items-buffer, todo-item-start)
6642 (todo-month-abbrev-array, todo-month-name-array)
6643 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6644 (todo-top-priorities-buffer): New defconsts.
6645 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6646 (todo-categories-with-marks, todo-category-string-face)
6647 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6648 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6649 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6650 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6651 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6652 (todo-font-lock-keywords, todo-global-current-todo-file)
6653 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6654 (todo-insertion-commands-args)
6655 (todo-insertion-commands-args-genlist)
6656 (todo-insertion-commands-names, todo-insertion-map)
6657 (todo-key-bindings-t, todo-key-bindings-t+a)
6658 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6659 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6660 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6661 (todo-visited): New variables.
6662
6663 2013-06-21 Glenn Morris <rgm@gnu.org>
6664
6665 * play/cookie1.el (cookie-apropos): Add optional display argument.
6666 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6667 (psychoanalyze-pinhead): Use cookie-doctor.
6668
6669 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6670
6671 * emacs-lisp/package.el (tar-get-file-descriptor)
6672 (tar--extract): Declare.
6673
6674 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6675
6676 Extend flymake's warning predicate to be a function (bug#14217).
6677 * progmodes/flymake.el (flymake-warning-predicate): New.
6678 (flymake-parse-line): Use it.
6679 (flymake-warning-re): Make obsolete alias to
6680 `flymake-warning-predicate'.
6681
6682 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6683
6684 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6685 (package-obsolete-list): Remove.
6686 (package-activate): Remove min-version argument. Add `force' argument.
6687 Adjust to new package-alist format.
6688 (package-mark-obsolete): Remove.
6689 (package-unpack): Force reload of the package's autoloads.
6690 (package-installed-p): Check builtins if the installed package is not
6691 recent enough.
6692 (package-initialize): Don't reset package-obsolete-list.
6693 Don't specify which package version to activate.
6694 (package-process-define-package, describe-package-1)
6695 (package-menu--generate): Adjust to new package-alist format.
6696
6697 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6698
6699 * allout-widgets.el (allout-widgets-mode-off)
6700 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6701 (allout-widgets-post-command-business)
6702 (allout-widgets-after-copy-or-kill-function)
6703 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6704 (allout-decorate-item-and-context)
6705 (allout-graphics-modification-handler): Fix typos in docstrings.
6706 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6707
6708 * cmuscheme.el (scheme-start-file): Doc fix.
6709 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6710 (scheme-input-filter): Use `string-match-p'.
6711
6712 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6713
6714 * dired-x.el: Use Dired consistently in docstrings.
6715
6716 * dired.el: Use Dired consistently in docstrings.
6717 (dired-readin, dired-mode): Use `setq-local'.
6718 (dired-switches-alist): Make defvar-local.
6719 (dired-buffers-for-dir): Use `zerop'.
6720 (dired-safe-switches-p, dired-switches-escape-p)
6721 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6722 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6723 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6724 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6725 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6726 (dired-toggle-marks, dired-mark-files-containing-regexp)
6727 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6728 (dired-flag-auto-save-files, dired-flag-backup-files):
6729 Use `looking-at-p'.
6730 (dired-mark-files-regexp, dired-build-subdir-alist):
6731 Use `string-match-p', `looking-at-p'.
6732
6733 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6734 (direct-print-region-helper): Use `string-match-p'.
6735
6736 2013-06-21 Leo Liu <sdl.web@gmail.com>
6737
6738 * comint.el (comint-redirect-results-list-from-process):
6739 Fix infinite loop.
6740
6741 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6742
6743 * net/eww.el (eww-update-header-line-format): Quote % characters.
6744
6745 2013-06-21 Glenn Morris <rgm@gnu.org>
6746
6747 * play/cookie1.el (cookie): New custom group.
6748 (cookie-file): New option.
6749 (cookie-check-file): New function.
6750 (cookie): Make it interactive. Make start and end messages optional.
6751 Interactively, display the result. Default to cookie-file.
6752 (cookie-insert): Default to cookie-file.
6753 (cookie-snarf): Make start and end messages optional.
6754 Default to cookie-file. Use with-temp-buffer.
6755 (cookie-read): Rename from read-cookie.
6756 Make start and end messages optional. Default to cookie-file.
6757 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6758 Do not autoload it.
6759 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6760 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6761
6762 2013-06-21 Leo Liu <sdl.web@gmail.com>
6763
6764 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6765
6766 2013-06-21 Glenn Morris <rgm@gnu.org>
6767
6768 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6769
6770 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6771 Daniel Hackney <dan@haxney.org>
6772
6773 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6774 Consolidate the single-file vs tarball code.
6775 (package-desc-suffix): New function.
6776 (package-desc-full-name): Don't bother inlining it.
6777 (package-load-descriptor): Return the new package-desc.
6778 (package-mark-obsolete): Remove unused arg `package'.
6779 (package-unpack): Make it work for single files as well.
6780 Make it update package-alist.
6781 (package--make-autoloads-and-stuff): Rename from
6782 package--make-autoloads-and-compile. Don't compile any more.
6783 (package--compile): New function.
6784 (package-generate-description-file): New function, extracted from
6785 package-unpack-single.
6786 (package-unpack-single): Remove.
6787 (package--with-work-buffer): Add indentation and debugging info.
6788 (package-download-single): Remove.
6789 (package-install-from-archive): Rename from package-download-tar, make
6790 it take a pkg-desc, and make it work for single files as well.
6791 (package-download-transaction): Simplify.
6792 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6793 external tar program.
6794 (package-install-from-buffer): Remove `pkg-desc' argument.
6795 Use package-tar-file-info for tar-mode buffers.
6796 (package-install-file): Simplify accordingly.
6797 (package-archive-base): Change to take a pkg-desc.
6798 * tar-mode.el (tar--check-descriptor): New function, extracted from
6799 tar-get-descriptor.
6800 (tar-get-descriptor): Use it.
6801 (tar-get-file-descriptor): New function.
6802 (tar--extract): New function, extracted from tar-extract.
6803 (tar--extract): Use it.
6804 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6805 case the summary uses non-ascii. Adjust to new calling convention of
6806 package-tar-file-info.
6807
6808 2013-06-21 Leo Liu <sdl.web@gmail.com>
6809
6810 * comint.el (comint-redirect-results-list-from-process):
6811 Fix random delay. (Bug#14681)
6812
6813 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6814
6815 * profiler.el (profiler-format-number): Use log, not log10.
6816
6817 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6818
6819 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6820
6821 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6822
6823 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6824 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6825 yet available.
6826 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6827 (AUTOGENEL): ... here.
6828 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6829 (cl--defsubst-expand): Use it.
6830
6831 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6832
6833 * subr.el (log10): Move here from C code, and declare as obsolete.
6834 All uses of (log10 X) replaced with (log X 10).
6835
6836 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6837
6838 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6839 Declare with `defvar-local'.
6840 (tabulated-list-use-header-line, tabulated-list-entries)
6841 (tabulated-list-padding, tabulated-list-printer)
6842 (tabulated-list-sort-key): Declare with `defvar-local'.
6843 (tabulated-list-init-header, tabulated-list-print-fake-header):
6844 Use `setq-local'.
6845
6846 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6847
6848 * arc-mode.el (archive-mode): Add `archive-write-file' to
6849 `write-contents-functions' also for remote files. (Bug#14652)
6850
6851 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6852
6853 * cus-edit.el (custom-commands): Fix typos.
6854 (custom-display): Fix tooltip text.
6855 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6856 Fix typos in docstrings.
6857 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6858 (custom-unlispify-menu-entry, custom-magic-value-create)
6859 (custom-add-see-also, custom-group-value-create): Use ?\s.
6860 (custom-guess-type, customize-apropos, editable-field)
6861 (custom-face-value-create): Use `string-match-p'.
6862 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6863
6864 * custom.el (custom-load-symbol): Use `string-match-p'.
6865
6866 * ansi-color.el: Convert to lexical binding.
6867 (ansi-colors): Fix URL.
6868 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6869 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6870 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6871
6872 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6873
6874 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6875
6876 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6877
6878 2013-06-19 Tom Tromey <tromey@redhat.com>
6879
6880 * net/eww.el (eww-top-url): Remove.
6881 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6882 (eww-render): Set new variables. Don't set eww-top-url.
6883 (eww-handle-link): Handle "prev", "home", and "contents".
6884 Downcase the rel text.
6885 (eww-top-url): Choose best top URL.
6886
6887 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6888
6889 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6890 relying in widget.el. Using widget.el leads to too many
6891 user interface inconsistencies.
6892 (eww-self-insert): Implement entering commands in text fields.
6893 (eww-process-text-input): New function to make text input field editing
6894 work.
6895 (eww-submit): Rewrite to use the new-style form methods.
6896 (eww-select-display): Display the correct selected item.
6897 (eww-change-select): Implement changing the select value.
6898 (eww-toggle-checkbox): Implement radio/checkboxes.
6899 (eww-update-field): Fix compilation error.
6900 (eww-tag-textarea): Implement <textarea>.
6901
6902 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6903 we don't shadow mode-specific bindings.
6904
6905 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6906 nothing to push.
6907
6908 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6909
6910 2013-06-19 Glenn Morris <rgm@gnu.org>
6911
6912 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6913
6914 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6915
6916 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6917 not needed.
6918
6919 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6920
6921 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6922
6923 * net/browse-url.el (browse-url-browser-function):
6924 `eww-browse-url' has the right calling signature, `eww' does not.
6925
6926 2013-06-19 Glenn Morris <rgm@gnu.org>
6927
6928 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6929 Only eval autoloaded macros.
6930 (byte-compile-autoload): Only give the macro warning for macros.
6931
6932 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6933 (ps-underlined-faces): Declare.
6934
6935 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6936 (speedbar-add-supported-extension): Declare.
6937
6938 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6939 Don't include a date stamp in the header of the generated file;
6940 it leads to needless differences between output files.
6941
6942 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6943
6944 * net/secrets.el (secrets-struct-secret-content-type):
6945 Replace check of introspection data by a test call of "CreateItem".
6946 Some servers do not offer introspection.
6947
6948 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6949
6950 * electric.el (electric-pair-mode): Improve interaction with
6951 electric-layout-mode.
6952 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6953 (electric-pair-syntax): Use text-mode-syntax-table in comments
6954 and strings.
6955 (electric-pair--insert): New function.
6956 (electric-pair-post-self-insert-function): Use it and
6957 electric--after-char-pos.
6958
6959 2013-06-19 Leo Liu <sdl.web@gmail.com>
6960
6961 * progmodes/octave.el (octave-help): Fix regexp.
6962
6963 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6964
6965 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6966 (shr-table-horizontal-line): Allow nil as a value, and change the
6967 default.
6968 (shr-insert-table-ruler): Respect the nil value.
6969
6970 2013-06-18 Tom Tromey <tromey@barimba>
6971
6972 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6973 New defvars.
6974 (eww-open-file): New defun.
6975 (eww-render): Initialize new variables.
6976 (eww-display-html): Handle "link" and "a".
6977 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6978 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6979 (eww-back-url): Rename from eww-previous-url.
6980 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6981 New defuns.
6982
6983 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6984
6985 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6986 Distinguish ternary operator tokens from slash symbol and slash
6987 char literal.
6988
6989 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6990
6991 Convert symbol prettification into minor mode and global minor mode.
6992
6993 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6994 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6995 (prettify-symbols--keywords): Rename from
6996 `prog-prettify-symbols-alist' and make a local defvar.
6997 (prettify-symbols--compose-symbol): Rename from
6998 `prog--prettify-font-lock-compose-symbol'.
6999 (prettify-symbols--make-keywords): Rename from
7000 `prog-prettify-font-lock-symbols-keywords' and simplify.
7001 (prog-prettify-install): Remove.
7002 (prettify-symbols-mode): New minor mode, based on
7003 `prog-prettify-install'.
7004 (turn-on-prettify-symbols-mode): New function.
7005 (global-prettify-symbols-mode): New globalized minor mode.
7006
7007 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7008 * progmodes/cfengine.el (cfengine3-mode):
7009 * progmodes/perl-mode.el (perl-mode): Don't call
7010 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7011
7012 2013-06-18 Juri Linkov <juri@jurta.org>
7013
7014 * files-x.el (modify-file-local-variable-message): New function.
7015 (modify-file-local-variable)
7016 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7017 and call `modify-file-local-variable-message' when it's non-nil.
7018 (add-file-local-variable, delete-file-local-variable)
7019 (add-file-local-variable-prop-line)
7020 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7021 and use it. (Bug#9820)
7022
7023 2013-06-18 Juri Linkov <juri@jurta.org>
7024
7025 * emulation/vi.el (vi-shell-op):
7026 * emulation/vip.el (vip-execute-com, ex-command):
7027 * emulation/viper-cmd.el (viper-exec-bang):
7028 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7029 the call of `shell-command-on-region'. (Bug#14637)
7030
7031 * simple.el (shell-command-on-region): Doc fix.
7032
7033 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7034
7035 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7036 (bug#14633).
7037
7038 2013-06-18 Glenn Morris <rgm@gnu.org>
7039
7040 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7041
7042 * newcomment.el (comment-search-forward, comment-search-backward):
7043 Doc fix. (Bug#14376)
7044
7045 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7046
7047 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7048 (buffer-face-mode-invoke): Doc fix.
7049
7050 2013-06-18 Matthias Meulien <orontee@gmail.com>
7051
7052 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7053 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7054
7055 2013-06-18 Glenn Morris <rgm@gnu.org>
7056
7057 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7058 Replace obsolete function generic-make-keywords with its expansion.
7059
7060 * progmodes/python.el (ffap-alist): Declare.
7061
7062 * textmodes/reftex.el (bibtex-mode-map): Declare.
7063
7064 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7065
7066 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7067 (package-unpack, package-unpack-single): Return the pkg-dir.
7068 (package-download-transaction): Use it to update package-alist.
7069
7070 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7071
7072 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7073 possible choice.
7074
7075 2013-06-17 Juri Linkov <juri@jurta.org>
7076
7077 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7078
7079 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7080
7081 * emacs-lisp/package.el (package-load-descriptor):
7082 Remove `with-syntax-table' call, `read' doesn't need it.
7083 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7084
7085 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7086
7087 * startup.el (command-line): Expand package name returned by
7088 `package--description-file' (bug#14639).
7089
7090 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7091
7092 * emacs-lisp/package.el (package-load-descriptor): Do not call
7093 `emacs-lisp-mode', just use its syntax table.
7094
7095 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7096
7097 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7098 `font-lock-extra-managed-props' if any prettifying keyword is added.
7099 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7100 (prog-mode): Use `setq-local'.
7101
7102 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7103
7104 * international/characters.el (standard-case-table): Set syntax of ?»
7105 and ?« to punctuation.
7106
7107 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7108
7109 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7110 Save relevant match data before calling `syntax-ppss' (bug#14595).
7111
7112 2013-06-15 Juri Linkov <juri@jurta.org>
7113
7114 * files-x.el (modify-file-local-variable-prop-line): Add local
7115 variables to the end of the existing comment on the first line.
7116 Use `file-auto-mode-skip' to skip interpreter magic line,
7117 and also skip XML declaration.
7118
7119 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 * startup.el (package--builtin-versions): New var.
7122 (package-subdirectory-regexp): Remove.
7123 (package--description-file): Hard code its value instead.
7124
7125 * emacs-lisp/package.el: Don't activate packages older than builtin.
7126 (package-obsolete-list): Rename from package-obsolete-alist, and make
7127 it into a simple list of package-desc.
7128 (package-strip-version): Remove.
7129 (package-built-in-p): Use package--builtin-versions.
7130 (package-mark-obsolete): Simplify.
7131 (package-process-define-package): Mark it obsolete if older than the
7132 builtin version.
7133 (package-handle-response): Use line-end-position.
7134 (package-read-archive-contents, package--download-one-archive):
7135 Simplify.
7136 (package--add-to-archive-contents): Skip if older than the builtin or
7137 installed version.
7138 (package-menu-describe-package): Fix last change.
7139 (package-list-unversioned): New var.
7140 (package-menu--generate): Use it.
7141
7142 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7143 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7144 (autoload-builtin-package-versions): New variable.
7145 (autoload-generate-file-autoloads): Use them.
7146 Remove the list of autoloaded functions/macros from the
7147 (autoload...) comments.
7148
7149 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7150
7151 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7152
7153 * simple.el (line-move-partial): Don't jump to the next screen
7154 line as soon as it becomes visible. Instead, continue enlarging
7155 the vscroll until the portion of a tall screen line that's left on
7156 display is about the height of the frame's default font.
7157 (Bug#14567)
7158
7159 2013-06-15 Glenn Morris <rgm@gnu.org>
7160
7161 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7162 compilation-error-regexp-alist void, or local while let-bound.
7163
7164 * progmodes/make-mode.el (makefile-mode-syntax-table):
7165 Treat "=" as punctuation. (Bug#14614)
7166
7167 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7168
7169 * help-fns.el (describe-variable):
7170 Add extra line for permanent-local variables.
7171
7172 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7173
7174 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7175 Add export, import, library. (Bug#9164)
7176 (library): Set indent function.
7177
7178 2013-06-14 Glenn Morris <rgm@gnu.org>
7179
7180 * term/xterm.el (xterm--query):
7181 Stop after first matching handler. (Bug#14615)
7182
7183 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7184
7185 Add support for dired in saveplace.
7186 * dired.el (dired-initial-position-hook): New variable.
7187 (dired-initial-position): Call hook to place cursor position.
7188 * saveplace.el (save-place-to-alist): Add dired position.
7189 (save-place-dired-hook): New function.
7190
7191 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7192
7193 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7194 through a symbol rather than letrec.
7195
7196 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7197 (package-desc): Add `dir' field.
7198 (package-desc-full-name): New function.
7199 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7200 (package-maybe-load-descriptor): Remove.
7201 (package-load-all-descriptors): Just call package-load-descriptor.
7202 (package--disabled-p): New function.
7203 (package-desc-vers, package-desc-doc): Remove aliases.
7204 (package--dir): Remove function.
7205 (package-activate): Check if a package is disabled.
7206 (package-process-define-package): New function, extracted from
7207 define-package.
7208 (define-package): Turn into a place holder.
7209 (package-unpack-single, package-tar-file-info):
7210 Use package--description-file.
7211 (package-compute-transaction): Use package--disabled-p.
7212 (package-download-transaction): Don't call
7213 package-maybe-load-descriptor since they're all loaded anyway.
7214 (package-install): Change argument to be a pkg-desc.
7215 (package-delete): Use a single pkg-desc argument.
7216 (describe-package-1): Use package-desc-dir instead of package--dir.
7217 Use package-desc property instead of package-symbol.
7218 (package-install-button-action): Adjust accordingly.
7219 (package--push): Rewrite.
7220 (package-menu--print-info): Adjust accordingly. Change the ID format
7221 to be a pkg-desc.
7222 (package-menu-describe-package, package-menu-get-status)
7223 (package-menu--find-upgrades, package-menu-mark-upgrades)
7224 (package-menu-execute, package-menu--name-predicate):
7225 Adjust accordingly.
7226 * startup.el (package--description-file): New function.
7227 (command-line): Use it.
7228 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7229 Use package-desc-version.
7230
7231 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7232 (byte-compile-preprocess): Use it.
7233 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7234 can't quite recognize.
7235 (byte-compile-add-to-list): Remove.
7236 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7237 (cconv-closure-convert): Add assertion.
7238
7239 * emacs-lisp/map-ynp.el: Use lexical-binding.
7240 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7241 Factor out some repeated code.
7242
7243 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7244
7245 * subr.el (with-eval-after-load): New macro.
7246 (eval-after-load): Allow form to be a function.
7247 take advantage of lexical-binding.
7248 (do-after-load-evaluation): Use dolist and adjust to new format.
7249 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7250
7251 2013-06-13 Juri Linkov <juri@jurta.org>
7252
7253 * replace.el (perform-replace): Display "symbol " and other search
7254 modes from `isearch-message-prefix' in the *Help* buffer.
7255
7256 * isearch.el (isearch-query-replace): Add " symbol" and other
7257 possible search modes from `isearch-message-prefix' to the prompt.
7258 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7259 when reading a regexp to collect.
7260
7261 2013-06-13 Juri Linkov <juri@jurta.org>
7262
7263 * isearch.el (word-search-regexp): Match whitespace if the search
7264 string begins or ends in whitespace. The LAX arg is applied to
7265 both ends of the search string. Use `regexp-quote' and explicit
7266 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7267 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7268 boundaries are replaced with symbol boundaries, and characters
7269 between symbols match non-word non-symbol syntax. (Bug#14602)
7270
7271 2013-06-13 Juri Linkov <juri@jurta.org>
7272
7273 * isearch.el (isearch-del-char): Don't exceed the length of
7274 `isearch-string' by the prefix arg. (Bug#14563)
7275
7276 2013-06-13 Juri Linkov <juri@jurta.org>
7277
7278 * isearch.el (isearch-yank-word, isearch-yank-line)
7279 (isearch-char-by-name, isearch-quote-char)
7280 (isearch-printing-char, isearch-process-search-char):
7281 Add optional count prefix arg. (Bug#14563)
7282
7283 * international/isearch-x.el
7284 (isearch-process-search-multibyte-characters):
7285 Add optional count prefix arg.
7286
7287 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7288
7289 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7290 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7291 lexical-binding.
7292
7293 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7294
7295 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7296
7297 2013-06-13 Glenn Morris <rgm@gnu.org>
7298
7299 * startup.el (tty-handle-args):
7300 Don't just discard "--" and anything after. (Bug#14608)
7301
7302 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7303
7304 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7305
7306 Implement changes in Secret Service API. Make it backward compatible.
7307 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7308 (secrets-create-item): Use it. Prefix properties with interface.
7309
7310 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7311
7312 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7313 (term-emulate-terminal): Respect term-suppress-hard-newline.
7314
7315 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7316
7317 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7318 Only remove a `thumb-file' overlay. (Bug#14548)
7319
7320 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7321
7322 * mail/reporter.el (reporter-submit-bug-report):
7323 Handle missing package-name. (Bug#14600)
7324
7325 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7326
7327 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7328 (reftex-citation-prompt, reftex-default-bibliography)
7329 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7330 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7331 (reftex-bib-sort-author, reftex-bib-sort-year)
7332 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7333 (reftex-extract-bib-entries-from-thebibliography)
7334 (reftex-get-bibkey-default, reftex-get-bib-names)
7335 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7336 (reftex-format-bib-entry, reftex-parse-bibitem)
7337 (reftex-format-bibitem, reftex-do-citation)
7338 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7339 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7340 (reftex-insert-bib-matches, reftex-format-citation)
7341 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7342 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7343 existing comments into docstrings.
7344
7345 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7346
7347 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7348
7349 2013-06-12 Andreas Schwab <schwab@suse.de>
7350
7351 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7352 for auto-save files.
7353
7354 2013-06-12 Glenn Morris <rgm@gnu.org>
7355
7356 * ido.el (ido-delete-ignored-files): Remove.
7357 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7358 Go back to calling ido-ignore-item-p directly.
7359
7360 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7361
7362 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7363
7364 * ido.el (ido-delete-ignored-files): New function,
7365 split from ido-make-file-list-1.
7366 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7367 (ido-make-file-list-1): Use ido-delete-ignored-files.
7368
7369 2013-06-12 Leo Liu <sdl.web@gmail.com>
7370
7371 * progmodes/octave.el (inferior-octave-startup)
7372 (inferior-octave-completion-table)
7373 (inferior-octave-track-window-width-change)
7374 (octave-eldoc-function-signatures, octave-help)
7375 (octave-find-definition): Use single quoted strings.
7376 (inferior-octave-startup-args): Change default value.
7377 (inferior-octave-startup): Do not hard code "-i" and
7378 "--no-line-editing".
7379 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7380 (inferior-octave-directory-tracker): Use it.
7381 (octave-goto-function-definition): Robustify.
7382 (octave-help): Support highlighting operators in 'See also'.
7383 (octave-find-definition): Find subfunctions only in Octave mode.
7384
7385 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7386
7387 * help-fns.el (help-fns--compiler-macro): If the handler function is
7388 named, then put a link to it.
7389 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7390 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7391 (cl-typep): Use it.
7392 (cl-eval-when): Simplify debug spec.
7393 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7394 compiler-macro function instead of setting `compiler-macro-file'.
7395
7396 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7397
7398 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7399 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7400
7401 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7402 Daniel Hackney <dan@haxney.org>
7403
7404 First part of Daniel Hackney's patch to package.el.
7405 * emacs-lisp/package.el: Use defstruct.
7406 (package-desc): New, main struct.
7407 (package--bi-desc, package--ac-desc): New structs, used to describe the
7408 format in external files.
7409 (package-desc-vers): Replace with package-desc-version accessor.
7410 (package-desc-doc): Replace with package-desc-summary accessor.
7411 (package-activate-1): Remove `package' arg since the pkg-vec now
7412 includes the name.
7413 (define-package): Use package-desc-from-define.
7414 (package-unpack-single): Change file-name arg to be a symbol.
7415 (package--add-to-archive-contents): Use package-desc-create and new
7416 accessor functions to package--ac-desc.
7417 (package-buffer-info, package-tar-file-info): Return a package-desc.
7418 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7419 arg to be a package-desc.
7420 (package-install-file): Adjust accordingly. Use \' to match EOS.
7421 (package--from-builtin): New function.
7422 (describe-package-1, package-menu--generate): Use it.
7423 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7424 (package-generate-autoloads): Idem and return the name of the file.
7425 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7426 Change pkg-info arg to be a package-desc.
7427 Use package-make-ac-desc.
7428 (package-upload-file): Use \' to match EOS.
7429 * finder.el (finder-compile-keywords): Use package-make-builtin.
7430
7431 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7432
7433 * vc/vc.el (vc-deduce-fileset): Change error message.
7434 (vc-read-backend): New function.
7435 (vc-next-action): Use it.
7436
7437 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7438
7439 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7440 (prolog-font-lock-keywords): Use regexp-opt instead.
7441 Don't manually highlight strings.
7442 (prolog-mode-variables): Simplify comment-start-skip.
7443 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7444
7445 * emacs-lisp/generic.el (generic--normalise-comments)
7446 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7447 (generic-mode-set-comments): Use them.
7448 (generic-bracket-support): Use setq-local.
7449 (generic-make-keywords-list): Declare obsolete.
7450
7451 2013-06-11 Glenn Morris <rgm@gnu.org>
7452
7453 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7454 Prettify after setting font-lock-defaults. (Bug#14574)
7455
7456 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7457
7458 * replace.el (query-replace, occur-read-regexp-defaults-function)
7459 (replace-search):
7460 * subr.el (declare-function, number-sequence, local-set-key)
7461 (substitute-key-definition, locate-user-emacs-file)
7462 (with-silent-modifications, split-string, eval-after-load):
7463 Fix typos, remove unneeded backslashes and reflow some docstrings.
7464
7465 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7466
7467 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7468 default for Elisp files.
7469
7470 2013-06-11 Glenn Morris <rgm@gnu.org>
7471
7472 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7473 although define-derived-mode was doing this anyway. (Bug#14583)
7474
7475 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7476
7477 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7478 Fix make-variable-buffer-local call to refer to the correct variable.
7479
7480 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7481
7482 * eshell/em-term.el (eshell-visual-commands)
7483 (eshell-visual-subcommands, eshell-visual-options):
7484 Add summary line to docstrings. Add cross-references.
7485
7486 2013-06-10 Glenn Morris <rgm@gnu.org>
7487
7488 * epa.el (epa-read-file-name): New function. (Bug#14510)
7489 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7490
7491 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7492
7493 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7494 output redirection to be ignored with visual commands.
7495
7496 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7497
7498 * eshell/em-term.el (eshell-visual-command-p): New function.
7499 (eshell-term-initialize): Move long lambda to separate function
7500 eshell-visual-command-p.
7501 * eshell/em-dirs.el (eshell-dirs-initialise):
7502 * eshell/em-script.el (eshell-script-initialize):
7503 Add missing #' to lambda.
7504
7505 2013-06-08 Leo Liu <sdl.web@gmail.com>
7506
7507 * progmodes/octave.el (octave-add-log-current-defun): New function.
7508 (octave-mode): Set add-log-current-defun-function.
7509 (octave-goto-function-definition): Do not move point if not found.
7510 (octave-find-definition): Enhance to try subfunctions first.
7511
7512 2013-06-08 Glenn Morris <rgm@gnu.org>
7513
7514 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7515 (byte-compile-backward-char, byte-compile-backward-word):
7516 Improve previous change, to handle non-explicit nil.
7517
7518 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7519
7520 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7521 (smie--opener/closer-at-point): New function.
7522 (smie--matching-block-data): Use it. Don't match from right after an
7523 opener or right before a closer. Obey smie-blink-matching-inners.
7524 Don't signal a mismatch for repeated inners like "switch..case..case".
7525
7526 2013-06-07 Leo Liu <sdl.web@gmail.com>
7527
7528 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7529 to t. (Bug#14303)
7530 (octave-function-header-regexp): Fix. (Bug#14570)
7531 (octave-help-mode-finish-hook, octave-help-mode-finish):
7532 Remove. Just use temp-buffer-show-hook.
7533
7534 * newcomment.el (comment-search-backward): Revert last change.
7535 (Bug#14434)
7536
7537 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7538
7539 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7540
7541 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7542 through xargs, to avoid failure due to MS-Windows limitations on
7543 command-line length.
7544
7545 2013-06-06 Glenn Morris <rgm@gnu.org>
7546
7547 * font-lock.el (lisp-font-lock-keywords-2):
7548 Treat user-error like error.
7549
7550 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7551 (byte-compile-backward-char, byte-compile-backward-word):
7552 Handle explicit nil arguments. (Bug#14565)
7553
7554 2013-06-05 Alan Mackenzie <acm@muc.de>
7555
7556 * isearch.el (isearch-allow-prefix): New user option.
7557 (isearch-other-meta-char): Don't exit isearch when a prefix
7558 argument is typed whilst `isearch-allow-prefix' is non-nil.
7559 (Bug#9706)
7560
7561 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * autorevert.el (auto-revert-notify-handler): Use memq.
7564 Hide assertion failure.
7565
7566 * skeleton.el: Use cl-lib.
7567 (skeleton-further-elements): Use defvar-local.
7568 (skeleton-insert): Use cl-progv.
7569
7570 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7571
7572 * progmodes/prog-mode.el (prog-prettify-symbols)
7573 (prog-prettify-install): Update docstrings.
7574
7575 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7576
7577 * simple.el: Move all the prog-mode code to prog-mode.el.
7578 * progmodes/prog-mode.el: New file.
7579 * loadup.el: Add prog-mode.el.
7580
7581 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7582
7583 * simple.el (prog-prettify-symbols): Add version.
7584 (prog-prettify-install): Add convenience function to prettify symbols.
7585
7586 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7587 (perl--augmented-font-lock-keywords-1)
7588 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7589 variables and use it.
7590
7591 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7592 (cfengine3-mode): Remove unneeded variable and use it.
7593
7594 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7595 (lisp--augmented-font-lock-keywords-1)
7596 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7597 Remove unneeded variables and use it.
7598
7599 2013-06-05 João Távora <joaotavora@gmail.com>
7600
7601 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7602 to point when opening the connection. (Bug#14380)
7603
7604 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7605
7606 * subr.el (load-history-regexp, load-history-filename-element)
7607 (eval-after-load, after-load-functions, do-after-load-evaluation)
7608 (eval-next-after-load, display-delayed-warnings)
7609 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7610 definition of save-match-data.
7611 (overriding-local-map): Remove accidental obsolescence declaration.
7612
7613 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7614
7615 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7616
7617 Generalize symbol prettify support to prog-mode and implement it
7618 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7619 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7620 (prog--prettify-font-lock-compose-symbol)
7621 (prog-prettify-font-lock-symbols-keywords): New variables and
7622 functions to support symbol prettification.
7623 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7624 (lisp--augmented-font-lock-keywords-1)
7625 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7626 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7627 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7628 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7629 Implement prettify of -> => :: strings.
7630 * progmodes/perl-mode.el (perl-prettify-symbols)
7631 (perl--font-lock-compose-symbol)
7632 (perl--font-lock-symbols-keywords): Move to prog-mode.
7633 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7634 (perl-font-lock-keywords-1)
7635 (perl-font-lock-keywords-2): Remove explicit prettify support.
7636 (perl--augmented-font-lock-keywords)
7637 (perl--augmented-font-lock-keywords-1)
7638 (perl--augmented-font-lock-keywords-2, perl-mode):
7639 Implement prettify support.
7640
7641 2013-06-05 Leo Liu <sdl.web@gmail.com>
7642
7643 Re-implement smie matching block highlight using
7644 show-paren-data-function. (Bug#14395)
7645 * emacs-lisp/smie.el (smie-matching-block-highlight)
7646 (smie--highlight-matching-block-overlay)
7647 (smie--highlight-matching-block-lastpos)
7648 (smie-highlight-matching-block)
7649 (smie-highlight-matching-block-mode): Remove.
7650 (smie--matching-block-data-cache): New variable.
7651 (smie--matching-block-data): New function.
7652 (smie-setup): Use smie--matching-block-data for
7653 show-paren-data-function.
7654
7655 * progmodes/octave.el (octave-mode-menu): Fix.
7656 (octave-find-definition): Skip garbage lines.
7657
7658 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7659
7660 Fix compilation error with simultaneous dynamic+lexical scoping.
7661 Add warning when a defvar appears after the first let-binding.
7662 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7663 (byte-compile-close-variables): Initialize it.
7664 (byte-compile--declare-var): New function.
7665 (byte-compile-file-form-defvar)
7666 (byte-compile-file-form-define-abbrev-table)
7667 (byte-compile-file-form-custom-declare-variable): Use it.
7668 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7669 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7670 (byte-compile-bind): Handle dynamic bindings that shadow
7671 lexical bindings.
7672 (byte-compile-unbind): Make arg non-optional.
7673 (byte-compile-let): Simplify.
7674 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7675 (cconv--analyse-function, cconv-analyse-form): Populate it.
7676 Protect byte-compile-bound-variables to limit the scope of defvars.
7677 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7678 Remove unneeded rule for `declare'.
7679
7680 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7681 so as to avoid depending on cl-adjoin at run-time.
7682 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7683
7684 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7685 (macroexp--warn-and-return): Use it.
7686
7687 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7688
7689 * lisp/subr.el: Convert to lexical binding.
7690 (overriding-local-map): Make obsolete.
7691 (add-to-list): Doc fix. Add compiler macro.
7692 (read-key): Swap values of local maps.
7693
7694 2013-06-05 Leo Liu <sdl.web@gmail.com>
7695
7696 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7697
7698 2013-06-04 Leo Liu <sdl.web@gmail.com>
7699
7700 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7701 (compilation-auto-jump): Suppress the "Mark set" message to give
7702 way to exit message.
7703
7704 2013-06-04 Alan Mackenzie <acm@muc.de>
7705
7706 Remove faulty optimisation from indentation calculation.
7707 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7708 search limit based on 2000 characters back from indent-point.
7709
7710 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7711
7712 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7713
7714 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7715
7716 * emacs-lisp/lisp.el: Use lexical-binding.
7717 (lisp--local-variables-1, lisp--local-variables): New functions.
7718 (lisp--local-variables-completion-table): New var.
7719 (lisp-completion-at-point): Use it complete let-bound vars.
7720
7721 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7722 eagerly (bug#14422).
7723
7724 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7725
7726 * autorevert.el (auto-revert-notify-enabled)
7727 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7728 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7729 (auto-revert-notify-handler): Handle also gfilenotify.
7730
7731 * subr.el (file-notify-handle-event): New defun. Replacing ...
7732 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7733 Remove.
7734
7735 2013-06-03 Juri Linkov <juri@jurta.org>
7736
7737 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7738 `M-s h .'. (Bug#14427)
7739
7740 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7741 command `hi-lock-face-symbol-at-point'.
7742 (hi-lock-face-symbol-at-point): New command.
7743 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7744 (hi-lock-menu): Add `highlight-symbol-at-point'.
7745 (hi-lock-mode): Doc fix.
7746
7747 * isearch.el (isearch-forward-symbol-at-point): New command.
7748 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7749 (isearch-highlight-regexp): Add a regexp which matches
7750 words/symbols for word/symbol mode.
7751
7752 * subr.el (find-tag-default-bounds): New function with the body
7753 mostly moved from `find-tag-default'.
7754 (find-tag-default): Move most code to `find-tag-default-bounds',
7755 call it and apply `buffer-substring-no-properties' afterwards.
7756
7757 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7758
7759 * eshell/em-term.el (eshell-term-initialize):
7760 Use `cl-intersection' rather than `intersection'.
7761
7762 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7763
7764 * vc/log-view.el: Doc fix.
7765 (log-view-mode-map): Copy keymap from `special-mode-map'.
7766
7767 2013-06-02 Eric Ludlam <zappo@gnu.org>
7768
7769 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7770 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7771 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7772 (eieio-unbound, eieio-default-superclass)
7773 (eieio--define-field-accessors, method-static, method-before)
7774 (method-primary, method-after, method-num-lists)
7775 (method-generic-before, method-generic-primary)
7776 (method-generic-after, method-num-slots)
7777 (eieio-specialized-key-to-generic-key)
7778 (eieio--check-type, class-v, class-p)
7779 (eieio-class-name, define-obsolete-function-alias)
7780 (eieio-class-parents-fast, eieio-class-children-fast)
7781 (same-class-fast-p, class-constructor, generic-p)
7782 (generic-primary-only-p, generic-primary-only-one-p)
7783 (class-option-assoc, class-option, eieio-object-p)
7784 (class-abstract-p, class-method-invocation-order)
7785 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7786 (eieio-class-un-autoload, eieio-defclass)
7787 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7788 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7789 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7790 (eieio-defgeneric-reset-generic-form)
7791 (eieio-defgeneric-form-primary-only)
7792 (eieio-defgeneric-reset-generic-form-primary-only)
7793 (eieio-defgeneric-form-primary-only-one)
7794 (eieio-defgeneric-reset-generic-form-primary-only-one)
7795 (eieio-unbind-method-implementations)
7796 (eieio--defmethod, eieio--typep)
7797 (eieio-perform-slot-validation, eieio-validate-slot-value)
7798 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7799 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7800 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7801 (eieio-slot-name-index, eieio-class-slot-name-index)
7802 (eieio-set-defaults, eieio-initarg-to-attribute)
7803 (eieio-attribute-to-initarg, eieio-c3-candidate)
7804 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7805 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7806 (eieio-class-precedence-list, eieio-generic-call-methodname)
7807 (eieio-generic-call-arglst, eieio-generic-call-key)
7808 (eieio-generic-call-next-method-list)
7809 (eieio-pre-method-execution-functions, eieio-generic-call)
7810 (eieio-generic-call-primary-only, eieiomt-method-list)
7811 (eieiomt-optimizing-obarray, eieiomt-install)
7812 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7813 (eieio-generic-form, eieio-defmethod, make-obsolete)
7814 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7815 (defclass): Remove `eval-and-compile' from macro.
7816 (call-next-method, shared-initialize): Instead of using
7817 `scoped-class' variable, use new eieio--scoped-class, and
7818 eieio--with-scoped-class.
7819 (initialize-instance): Rename local variable 'scoped-class' to
7820 'this-class' to remove ambiguitity from old global.
7821
7822 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7823 eieio.el.
7824 (eieio--scoped-class-stack): New variable.
7825 (eieio--scoped-class): New fcn.
7826 (eieio--with-scoped-class): New scoping macro.
7827 (eieio-defclass): Use pushnew instead of add-to-list.
7828 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7829 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7830 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7831 `scoped-class' variable, use new eieio--scoped-class, and
7832 eieio--with-scoped-class.
7833
7834 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7835
7836 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7837
7838 * eshell/esh-ext.el (eshell-external-command): Pass args to
7839 `eshell-find-interpreter'.
7840 (eshell-find-interpreter): Add new second parameter ARGS.
7841
7842 * eshell/em-script.el (eshell-script-initialize): Add second arg
7843 to the function added as MATCH to `eshell-interpreter-alist'.
7844
7845 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7846 the function added as MATCH to `eshell-interpreter-alist'.
7847
7848 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7849 (eshell-visual-options): New defcustom.
7850 (eshell-escape-control-x): Adapt docstring.
7851 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7852 `eshell-visual-options' in addition to `eshell-visual-commands'.
7853 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7854
7855 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7856
7857 * progmodes/python.el (python-indent-block-enders): Add break,
7858 continue and raise keywords.
7859
7860 2013-06-01 Glenn Morris <rgm@gnu.org>
7861
7862 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7863
7864 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7865 * progmodes/cc-cmds.el (delete-forward-p):
7866 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7867 * progmodes/cc-engine.el (buffer-syntactic-context):
7868 * progmodes/cc-fonts.el (face-property-instance):
7869 * progmodes/cc-mode.el (set-keymap-parents):
7870 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7871 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7872 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7873 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7874 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7875
7876 * progmodes/cc-vars.el (other): Emacs has this widget since
7877 at least 21.1, so don't (re)define it.
7878
7879 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7880 Replace the obsolete alias pcomplete-arg-quote-list.
7881
7882 2013-06-01 Leo Liu <sdl.web@gmail.com>
7883
7884 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7885 punctuation syntax.
7886 (inferior-octave-minimal-columns)
7887 (inferior-octave-last-column-width): New variables.
7888 (inferior-octave-track-window-width-change): New function.
7889 (inferior-octave-mode): Adjust column width so that Octave output,
7890 for example from 'ls', can fit into the window nicely.
7891
7892 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7893
7894 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7895 Highlight expansions inside regexp literals.
7896
7897 2013-05-31 Glenn Morris <rgm@gnu.org>
7898
7899 * obsolete/sym-comp.el (symbol-complete):
7900 Replace obsolete completion-annotate-function.
7901
7902 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7903
7904 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7905
7906 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7907 New function, checks if point is inside a literal that allows
7908 expression expansion.
7909 (ruby-syntax-propertize-expansion): Use it.
7910 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7911 around the body.
7912
7913 2013-05-30 Juri Linkov <juri@jurta.org>
7914
7915 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7916 to "\M-si".
7917 (isearch-invisible): New variable.
7918 (isearch-forward): Doc fix.
7919 (isearch-mode): Set `isearch-invisible'
7920 to the value of `search-invisible'.
7921 (isearch-toggle-case-fold): Doc fix.
7922 (isearch-toggle-invisible): New command.
7923 (isearch-query-replace): Let-bind `search-invisible'
7924 to the value of `isearch-invisible'.
7925 (isearch-search): Use `isearch-invisible' instead of
7926 `search-invisible'. Let-bind `search-invisible'
7927 to the value of `isearch-invisible'. (Bug#11378)
7928
7929 2013-05-30 Juri Linkov <juri@jurta.org>
7930
7931 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7932 call when `query-flag' is nil and `search-invisible' is non-nil.
7933 (Bug#11746)
7934
7935 2013-05-30 Glenn Morris <rgm@gnu.org>
7936
7937 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7938
7939 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7940 (cc-require): Suppress spurious "noruntime" warnings.
7941 (cc-require-when-compile): Use fboundp, for sake of compiler.
7942
7943 * progmodes/cc-mode.el: Move load of cc-vars before that of
7944 cc-langs (which in turn loads cc-vars), to quieten compiler.
7945
7946 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7947
7948 * paren.el: Simplify the code.
7949 (show-paren-mode): Always start the timer.
7950 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7951 (show-paren--overlay, show-paren--overlay-1): Rename from
7952 show-paren-overlay and show-paren-overlay-1, and initialize to an
7953 overlay rather than to nil.
7954 (show-paren-function): Misc cleanup and simplifications.
7955
7956 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * paren.el (show-paren-data-function): New hook.
7959 (show-paren--default): New function, extracted from show-paren-function.
7960 (show-paren-function): Use show-paren-data-function.
7961
7962 2013-05-30 Glenn Morris <rgm@gnu.org>
7963
7964 * ielm.el (ielm-map, ielm-complete-symbol):
7965 Use completion-at-point rather than obsolete functions.
7966 (inferior-emacs-lisp-mode): Doc fix.
7967 Set completion-at-point-functions, rather than
7968 comint-dynamic-complete-functions.
7969
7970 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7971 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7972 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7973
7974 * image.el (image-animated-p): Tweak definition.
7975
7976 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7977 (rlogin-process-connection-type): Tweak default. Add set-after.
7978 (rlogin-host): Doc fix.
7979 (rlogin): Tweak prompt.
7980 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7981
7982 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7983 * progmodes/tcl.el (inferior-tcl-mode-map):
7984 Use completion-at-point rather than obsolete alias.
7985
7986 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7987
7988 * minibuffer.el (read-file-name-completion-ignore-case):
7989 Move before completion--in-region, for eager macro expansion.
7990
7991 2013-05-29 Juri Linkov <juri@jurta.org>
7992
7993 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7994 for total count of matching lines. Add `global-matches' for total
7995 count of matches. Rename `matches' to `lines' for count of
7996 matching lines. Add `matches' for count of matches.
7997 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7998 to `prev-line' for line number of prev match endpt.
7999 Increment `matches' for every match. Print the number of
8000 matching lines in the header.
8001 (occur-context-lines): Rename `lines' to `curr-line'.
8002 Rename `prev-lines' to `prev-line'. (Bug#14017)
8003
8004 2013-05-29 Juri Linkov <juri@jurta.org>
8005
8006 * replace.el (perform-replace): Add `skip-read-only-count',
8007 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8008 Increment them for corresponding conditions and report the number
8009 of skipped occurrences in the final message. (Bug#11746)
8010 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8011 (replace-string, replace-regexp): Doc fix.
8012
8013 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8014
8015 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8016
8017 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8018 prog-mode-map (bug#14504).
8019
8020 2013-05-29 Leo Liu <sdl.web@gmail.com>
8021
8022 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8023 (octave-help): Small simplification.
8024
8025 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8026 off the highlight first.
8027
8028 2013-05-29 Glenn Morris <rgm@gnu.org>
8029
8030 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8031 Handle idlwave-last-system-routine-info-cons-cell being nil.
8032
8033 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8034 (idlwave-write-paths): Simplify via with-temp-buffer.
8035
8036 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8037 * emulation/cua-rect.el: Also load cua-base at run time.
8038
8039 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8040 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8041 (cperl-imenu-on-info): Require imenu.
8042
8043 2013-05-28 Alan Mackenzie <acm@muc.de>
8044
8045 Handle "capitalised keywords" correctly.
8046 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8047
8048 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8049
8050 * eshell/em-unix.el: Add -r option to cp.
8051
8052 2013-05-28 Glenn Morris <rgm@gnu.org>
8053
8054 * vc/vc-arch.el (vc-exec-after): Declare.
8055 (vc-switches): Autoload.
8056 * vc/vc-bzr.el: No need to require vc when compiling.
8057 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8058 (vc-resynch-buffer, vc-dir-refresh): Declare.
8059 (vc-setup-buffer, vc-switches): Autoload.
8060 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8061 (vc-resynch-buffer): Declare.
8062 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8063 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8064 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8065 (grep-read-regexp, grep-read-files, grep-expand-template)
8066 (vc-dir-refresh): Declare.
8067 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8068 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8069 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8070 * vc/vc-mtn.el (vc-exec-after): Declare.
8071 (vc-switches): Autoload.
8072 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8073 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8074 (vc-file-tree-walk): Declare.
8075 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8076 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8077 (vc-tag-precondition, vc-rename-master): Autoload.
8078 * vc/vc-svn.el (vc-exec-after): Declare.
8079 (vc-switches, vc-setup-buffer): Autoload.
8080 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8081 Autoload.
8082 (vc-resynch-buffer): Declare.
8083
8084 * obsolete/fast-lock.el (byte-compile-warnings):
8085 Don't warn about obsolete features in this obsolete file.
8086
8087 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8088 Move definition before use.
8089
8090 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8091 (dun-unix-verbs): Remove dun-zippy.
8092 (dun-zippy): Remove function.
8093
8094 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8095
8096 2013-05-27 Juri Linkov <juri@jurta.org>
8097
8098 * replace.el (replace-search): New function with code moved out
8099 from `perform-replace'.
8100 (replace-highlight, replace-dehighlight): Move function definitions
8101 up closer to `replace-search'. (Bug#11746)
8102
8103 2013-05-27 Juri Linkov <juri@jurta.org>
8104
8105 * replace.el (perform-replace): Ignore invisible matches.
8106 In addition to checking `query-replace-skip-read-only', also
8107 filter out matches by calling `run-hook-with-args-until-failure'
8108 on `isearch-filter-predicates', and also check `search-invisible'
8109 for t or call `isearch-range-invisible'.
8110 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8111
8112 2013-05-27 Juri Linkov <juri@jurta.org>
8113
8114 * isearch.el (isearch-filter-predicates): Rename from
8115 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8116 (isearch-message-prefix): Display text from the property
8117 `isearch-message-prefix' of the currently active filters.
8118 (isearch-search): Don't compare `isearch-filter-predicate' with
8119 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8120 on `isearch-filter-predicates'. Also check `search-invisible' for t
8121 or call `isearch-range-invisible'.
8122 (isearch-filter-visible): Make obsolete.
8123 (isearch-lazy-highlight-search):
8124 Call `run-hook-with-args-until-failure' on
8125 `isearch-filter-predicates' and use `isearch-range-invisible'.
8126
8127 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8128 `isearch-filter-predicates' instead of `funcall'ing
8129 `isearch-filter-predicate'.
8130 (Info-mode): Set `Info-isearch-filter' to
8131 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8132
8133 * dired-aux.el (dired-isearch-filter-predicate-orig):
8134 Remove variable.
8135 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8136 (dired-isearch-filenames-end): Add and remove
8137 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8138 instead of changing the value of `isearch-filter-predicate'.
8139 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8140 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8141 Put property `isearch-message-prefix' to "filename " on
8142 `dired-isearch-filter-filenames'.
8143
8144 * wdired.el (wdired-change-to-wdired-mode):
8145 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8146 locally instead of changing `isearch-filter-predicate'.
8147 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8148
8149 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8150
8151 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8152 return the commit hash (Bug#14459). Also set the
8153 `vc-git-detached' property.
8154 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8155 (vc-git-mode-line-string): Use the same help-echo format whether
8156 in detached mode or not, because we know the actual revision now.
8157 When in detached mode, shorten the revision to 7 chars.
8158
8159 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8160
8161 * emacs-lisp/easy-mmode.el (define-minor-mode):
8162 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8163 mode hook and provide a docstring.
8164
8165 2013-05-27 Alan Mackenzie <acm@muc.de>
8166
8167 Remove spurious syntax-table text properties inserted by C-y.
8168 * progmodes/cc-mode.el (c-after-change): Also clear hard
8169 syntax-table property with value nil.
8170
8171 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8172
8173 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8174 when reading the events; the buffer layout shall not be changed.
8175
8176 2013-05-27 Leo Liu <sdl.web@gmail.com>
8177
8178 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8179 New variable.
8180 (inferior-octave-directory-tracker): Automatically re-sync
8181 default-directory.
8182 (octave-help): Improve handling of 'See also'.
8183
8184 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8185
8186 * doc-view.el: Minor naming convention tweaks.
8187 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8188
8189 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8190 even if there's no `display' property yet (bug#14435).
8191
8192 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8193
8194 * subr.el (unmsys--file-name): Rename from reveal-filename.
8195
8196 * Makefile.in (custom-deps, finder-data, autoloads)
8197 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8198 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8199 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8200
8201 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8202
8203 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8204 error-completion on the first 2 args of condition-case (bug#14446).
8205 Don't burp at EOB.
8206
8207 2013-05-25 Leo Liu <sdl.web@gmail.com>
8208
8209 * comint.el (comint-previous-matching-input): Do not flood the
8210 *Messages* buffer with trivial messages.
8211
8212 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8213
8214 * progmodes/flymake.el (flymake-nop): Don't return a string.
8215 (flymake-set-at): Fix typo.
8216
8217 * simple.el (read--expression): New function, extracted from
8218 eval-expression. Set completion-at-point-functions (bug#14465).
8219 (eval-expression, eval-minibuffer): Use it.
8220
8221 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8222
8223 * progmodes/flymake.el (flymake-save-buffer-in-file)
8224 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8225 (flymake-selected-frame, flymake-log, flymake-ins-after)
8226 (flymake-set-at, flymake-get-buildfile-from-cache)
8227 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8228 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8229 Refine the doc string.
8230 (flymake-get-file-name-mode-and-masks): Reformat.
8231 (flymake-get-real-file-name-function): Fix a minor bug.
8232
8233 2013-05-24 Juri Linkov <juri@jurta.org>
8234
8235 * progmodes/grep.el (grep-mode-font-lock-keywords):
8236 Support =linenumber= format used by git-grep for lines with
8237 function names. (Bug#13549)
8238
8239 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8242 0 after a semi-colon; it works better for smie-auto-fill.
8243 (octave--indent-new-comment-line): New function.
8244 (octave-indent-new-comment-line): Use it (indirectly).
8245 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8246 modify comment-line-break-function.
8247
8248 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8249 (smie-setup): Use add-function to set it.
8250
8251 2013-05-24 Sam Steingold <sds@gnu.org>
8252
8253 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8254 argument (before the `interactive' argument).
8255
8256 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * image-mode.el (image-mode-winprops): Add winprops to
8259 image-mode-winprops-alist before running
8260 image-mode-new-window-functions.
8261 * doc-view.el (doc-view-new-window-function): Don't delay
8262 doc-view-goto-page via timers (bug#14435).
8263
8264 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8265
8266 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8267 (doc-view-desktop-save-buffer): New function.
8268 (doc-view-restore-desktop-buffer): New function.
8269 (desktop-buffer-mode-handlers):
8270 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8271 handler.
8272 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8273 `desktop-save-buffer' function.
8274
8275 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8276
8277 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8278 (tramp-gvfs-file-name-handler): Raise a user error when
8279 `tramp-gvfs-enabled' is nil.
8280 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8281 Do not raise a user error when loading package. (Bug#14447)
8282
8283 * net/xesam.el: Move to obsolete/.
8284
8285 2013-05-24 Glenn Morris <rgm@gnu.org>
8286
8287 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8288
8289 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8290
8291 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8292 (Info-find-node, Man-getpage-in-background): Declare.
8293
8294 * mail/unrmail.el (unrmail):
8295 Replace obsolete detect-coding-with-priority.
8296
8297 * net/socks.el (socks-split-string): Use this rather than split-string.
8298 (socks-nslookup-host): Update for above change.
8299 (dynamic-choice, s5-dynamic-choice-match)
8300 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8301 Comment out unused code.
8302
8303 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8304 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8305 (gud-tooltip-echo-area): Make obsolete.
8306 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8307
8308 * progmodes/js.el (js--optimize-arglist): Declare.
8309
8310 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8311
8312 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8313 (ediff-window-C): Declare.
8314
8315 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8316 Tweak requires to silence compiler.
8317
8318 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8319 (he-search-string, he-tried-table, he-expand-list)
8320 (he-init-string, he-string-member, he-substitute-string)
8321 (he-reset-string): Declare.
8322
8323 * obsolete/options.el (list-options): Use custom-variable-p,
8324 rather than obsolete alias.
8325
8326 2013-05-23 Sam Steingold <sds@gnu.org>
8327
8328 * simple.el (shell-command-on-region): Pass the `replace' argument
8329 down to `call-process-region' to comply with the doc as reported on
8330 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8331
8332 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8333
8334 * emacs-lisp/smie.el (smie-indent-forward-token)
8335 (smie-indent-backward-token): Handle string tokens (bug#14381).
8336
8337 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8338
8339 * ielm.el (ielm-menu): New menu.
8340 (inferior-emacs-lisp-mode): Set comment-start.
8341
8342 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8343
8344 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8345 Fix deactivate action.
8346
8347 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8348 Add cleveref macros.
8349
8350 * lisp/textmodes/reftex-parse.el
8351 (reftex-locate-bibliography-files): Accept options for
8352 bibliography commands.
8353 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8354 Add addbibresource. Basic Biblatex support.
8355
8356 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8357
8358 * net/tramp-gvfs.el (top):
8359 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8360 when loading package. (Bug#14447)
8361
8362 2013-05-23 Glenn Morris <rgm@gnu.org>
8363
8364 * progmodes/js.el: No need to load comint when compiling.
8365 (ring-insert, comint-send-string, comint-send-input)
8366 (comint-last-input-end, ido-chop): Declare.
8367
8368 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8369 * vc/ediff-mult.el: Adjust requires.
8370 (ediff-directories-internal, ediff-directory-revisions-internal)
8371 (ediff-patch-file-internal): Declare.
8372 * vc/ediff-ptch.el: Adjust requires.
8373 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8374 (ediff-find-file): Autoload.
8375 * vc/ediff-util.el: No need to load ediff when compiling.
8376 (ediff-regions-internal): Declare.
8377 * vc/ediff-wind.el: Adjust requires.
8378 (ediff-compute-toolbar-width): Define when compiling.
8379 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8380 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8381 (dired-get-filename, dired-get-marked-files)
8382 (ediff-last-dir-patch, ediff-patch-default-directory)
8383 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8384 (ediff-patch-buffer-internal): Declare.
8385
8386 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8387 (ispell-process, ispell-buffer-local-words, lm-summary)
8388 (lm-section-start, lm-section-end): Declare.
8389 (checkdoc-ispell-init): Simplify.
8390
8391 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8392 (he-string-member, he-reset-string, he-substitute-string): Declare.
8393
8394 * eshell/em-ls.el: Adjust requires.
8395 (eshell-glob-regexp): Declare.
8396 * eshell/em-tramp.el: Adjust requires.
8397 (eshell-parse-command): Autoload.
8398 * eshell/em-xtra.el: Adjust requires.
8399 (eshell-parse-command): Autoload.
8400 * eshell/esh-ext.el: Adjust requires.
8401 (eshell-parse-command, eshell-close-handles): Autoload.
8402 * eshell/esh-io.el: Adjust requires.
8403 (eshell-output-filter): Autoload.
8404 * eshell/esh-util.el: No need to load tramp when compiling.
8405 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8406 Declare.
8407 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8408 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8409 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8410 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8411 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8412 * eshell/esh-opt.el, eshell/esh-proc.el:
8413 * eshell/esh-var.el: Adjust requires.
8414 * eshell/eshell.el: Do not require esh-util twice.
8415 (eshell-add-input-to-history): Declare.
8416 (eshell-command): Check history module is active before using it.
8417
8418 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8419
8420 2013-05-22 Leo Liu <sdl.web@gmail.com>
8421
8422 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8423
8424 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8425
8426 * autorevert.el (auto-revert-notify-add-watch)
8427 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8428 it indicates changes in file modification time.
8429
8430 2013-05-22 Glenn Morris <rgm@gnu.org>
8431
8432 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8433 Always delete the autoloaded function from the noruntime and
8434 unresolved functions lists.
8435
8436 * allout.el: No need to load epa, epg, overlay when compiling.
8437 (epg-context-set-passphrase-callback, epg-list-keys)
8438 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8439 (epg-key-user-id-list): Declare.
8440
8441 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8442 (viper-set-parsing-style-toggling-macro)
8443 (viper-set-emacs-state-searchstyle-macros):
8444 Use called-interactively-p on Emacs.
8445 (viper-looking-back): Make it an obsolete alias. Update callers.
8446 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8447 Use looking-back rather than viper-looking-back.
8448 (viper-tmp-insert-at-eob, viper-enlarge-region)
8449 (viper-read-string-with-history, viper-register-to-point)
8450 (viper-append-to-register, viper-change-state-to-vi)
8451 (viper-backward-char-carefully, viper-forward-char-carefully)
8452 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8453 (viper-change-state-to-emacs): Declare.
8454 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8455 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8456 * emulation/viper-mous.el: Do not load viper-cmd.
8457 (viper-backward-char-carefully, viper-forward-char-carefully)
8458 (viper-forward-word, viper-adjust-window): Declare.
8459
8460 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8461
8462 * progmodes/idlw-help.el (idlwave-help-fontify):
8463 Use called-interactively-p.
8464
8465 * term/w32console.el (w32-get-console-codepage)
8466 (w32-get-console-output-codepage): Declare.
8467
8468 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8469 Remove unnecessary declarations.
8470 (dframe-message): Doc fix.
8471
8472 * info.el (dframe-select-attached-frame, dframe-current-frame):
8473 Declare.
8474
8475 * speedbar.el (speedbar-message): Make it an obsolete alias.
8476 Update all callers.
8477 (speedbar-with-attached-buffer)
8478 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8479 (speedbar-with-writable): Use backquote.
8480 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8481 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8482 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8483 rather than speedbar- aliases.
8484 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8485 (speedbar-make-specialized-keymap, speedbar-insert-button)
8486 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8487 (speedbar-do-function-pointer): Declare.
8488 (rmail-speedbar-button, rmail-speedbar-find-file)
8489 (rmail-speedbar-move-message):
8490 Use dframe-with-attached-buffer rather than speedbar- alias.
8491 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8492 (dframe-message, speedbar-make-specialized-keymap)
8493 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8494 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8495 (speedbar-insert-button, dframe-select-attached-frame)
8496 (dframe-maybee-jump-to-attached-frame)
8497 (speedbar-change-initial-expansion-list)
8498 (speedbar-previously-used-expansion-list-name): Declare.
8499 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8500 Use dframe-message, dframe-with-attached-buffer rather than
8501 speedbar- aliases.
8502 (gud-sentinel): Silence compiler.
8503 * progmodes/vhdl-mode.el (speedbar-refresh)
8504 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8505 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8506 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8507 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8508 (speedbar-file-lists, speedbar-make-tag-line)
8509 (speedbar-line-directory, speedbar-goto-this-file)
8510 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8511 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8512 (speedbar-make-button, speedbar-reset-scanners)
8513 (speedbar-files-item-info, speedbar-line-text)
8514 (speedbar-find-file-in-frame, speedbar-set-timer)
8515 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8516 (speedbar-with-writable): Do not (re)define it.
8517 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8518 rather than speedbar- alias.
8519
8520 2013-05-21 Leo Liu <sdl.web@gmail.com>
8521
8522 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8523 menu items.
8524 (octave-mode): Tweak fill-nobreak-predicate.
8525 (inferior-octave-startup): Check process to avoid infinite loop.
8526 (inferior-octave): Pop to buffer first to show abornmal process
8527 exit information.
8528
8529 2013-05-21 Glenn Morris <rgm@gnu.org>
8530
8531 * printing.el (pr-menu-bar): Define when compiling.
8532
8533 2013-05-21 Leo Liu <sdl.web@gmail.com>
8534
8535 * progmodes/octave.el (octave-auto-fill): Remove.
8536 (octave-indent-new-comment-line): Improve.
8537 (octave-mode): Use auto fill mode through
8538 comment-line-break-function and fill-nobreak-predicate.
8539 (octave-goto-function-definition): Support DEFUN_DLD.
8540 (octave-beginning-of-defun): Small tweak.
8541 (octave-help): Show parent directory.
8542
8543 2013-05-21 Glenn Morris <rgm@gnu.org>
8544
8545 * files.el (dired-unmark):
8546 * progmodes/gud.el (gdb-input): Update declarations.
8547
8548 * calculator.el (electric, ehelp): No need to load when compiling.
8549 (Electric-command-loop, electric-describe-mode): Declare.
8550
8551 * doc-view.el (doc-view-current-converter-processes): Move before use.
8552
8553 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8554 Move MODE-set-explicitly definition before use.
8555
8556 * international/mule-diag.el (mule-diag):
8557 Don't use obsolete window-system-version.
8558
8559 * mail/feedmail.el (smtpmail): No need to load when compiling.
8560 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8561
8562 * mail/mail-utils.el (rfc822): No need to load when compiling.
8563 (rfc822-addresses): Autoload it.
8564 (mail-strip-quoted-names): Trivial simplification.
8565
8566 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8567 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8568
8569 * net/snmp-mode.el (tempo): Don't duplicate requires.
8570
8571 * progmodes/prolog.el (info): No need to load when compiling.
8572 (comint): Require before shell requires it.
8573 (Info-goto-node): Autoload it.
8574 (Info-follow-nearest-node): Declare.
8575 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8576
8577 * textmodes/artist.el (picture-mode-exit): Declare.
8578
8579 * textmodes/reftex-parse.el (reftex-parse-from-file):
8580 Trivial rewrite so the compiler can parse it better.
8581
8582 2013-05-20 Leo Liu <sdl.web@gmail.com>
8583
8584 * progmodes/octave.el (octave-help-mode-map)
8585 (octave-help-mode-finish-hook): New variables.
8586 (octave-help-mode, octave-help-mode-finish): New functions.
8587 (octave-help): Use octave-help-mode.
8588
8589 2013-05-20 Glenn Morris <rgm@gnu.org>
8590
8591 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8592
8593 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8594
8595 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8596 start at point, so that expansion starting right after opening
8597 slash in a regexp is recognized.
8598 (ruby-syntax-before-regexp-re): New defvar, extracted from
8599 ruby-syntax-propertize-function. Since the value of this regexp
8600 is looked up at runtime now, we should be able to turn
8601 `ruby-syntax-methods-before-regexp' into a defcustom later.
8602 (ruby-syntax-propertize-function): Split regexp matching into two
8603 parts, for opening and closing slashes. That allows us to skip
8604 over string interpolations and support multiline regexps.
8605 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8606 for them, which calls `ruby-syntax-propertize-expansion'.
8607 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8608 call to `ruby-syntax-propertize-function'.
8609 (ruby-syntax-propertize-expansion): Extracted from
8610 `ruby-syntax-propertize-expansions'. Handles one expansion.
8611 (ruby-syntax-propertize-percent-literal): Leave point right after
8612 the percent symbol, so that the expression expansion rule can
8613 propertize the contents.
8614 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8615 heredoc openers.
8616 (ruby-syntax-propertize-expansions): Remove.
8617
8618 2013-05-18 Juri Linkov <juri@jurta.org>
8619
8620 * man.el (Man-default-man-entry): Remove `-' from the end
8621 of the default value. (Bug#14400)
8622
8623 2013-05-18 Glenn Morris <rgm@gnu.org>
8624
8625 * comint.el (comint-password-prompt-regexp):
8626 Allow "password for XXX" where XXX contains colons (eg https://...).
8627
8628 2013-05-18 Leo Liu <sdl.web@gmail.com>
8629
8630 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8631 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8632 (octave-source-directories): Don't check process.
8633 (octave-source-directories, octave-find-definition): Doc fix.
8634
8635 2013-05-18 Glenn Morris <rgm@gnu.org>
8636
8637 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8638 Remove backspace/delete bindings. (Bug#14392)
8639
8640 * cus-dep.el (custom-make-dependencies): Sort the output.
8641 (custom-versions-load-alist): Convert comment to doc.
8642
8643 2013-05-17 Leo Liu <sdl.web@gmail.com>
8644
8645 * newcomment.el (comment-search-backward): Stricter in finding
8646 comment start. (Bug#14303)
8647
8648 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8649 (octave-comment-start-skip): Properly anchored.
8650
8651 2013-05-17 Leo Liu <sdl.web@gmail.com>
8652
8653 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8654 Clean up when turned off. (Bug#14395)
8655 (smie--highlight-matching-block-overlay): No longer buffer-local.
8656 (smie-highlight-matching-block): Adjust.
8657
8658 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8659
8660 Doc string fix for "nanoseconds" (Bug#14406).
8661 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8662 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8663
8664 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8665
8666 * calc/calc-units.el (math-extract-units): Preserve powers
8667 of units.
8668
8669 2013-05-17 Leo Liu <sdl.web@gmail.com>
8670
8671 * subr.el (delete-consecutive-dups): New function.
8672 * ido.el (ido-set-matches-1): Use it.
8673 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8674 * ido.el (ido-remove-consecutive-dups): Remove.
8675
8676 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8677
8678 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8679 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8680 regexp-opt's `words'.
8681
8682 2013-05-16 Leo Liu <sdl.web@gmail.com>
8683
8684 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8685 (smie--highlight-matching-block-overlay)
8686 (smie--highlight-matching-block-lastpos)
8687 (smie--highlight-matching-block-timer): New variables.
8688 (smie-highlight-matching-block): New function.
8689 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8690 (smie-setup): Conditionally enable smie-blink-matching-open.
8691
8692 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8693
8694 Sync with upstream verilog-mode r840.
8695 * progmodes/verilog-mode.el (verilog-mode-version)
8696 (verilog-mode-release-date): Update.
8697 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8698 (verilog-sig-tieoff): Fix string error on
8699 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8700 (verilog-read-decls): Fix parameters confusing
8701 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8702
8703 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8704
8705 * subr.el (reveal-filename): New function.
8706
8707 * loadup.el: Compute Emacs executable versions on MS-Windows,
8708 where executables have the .exe extension. Add a hard link
8709 emacs-XX.YY.ZZ.exe on MS-Windows.
8710
8711 * Makefile.in (XARGS_LIMIT): New variable.
8712 (custom-deps, finder-data, autoloads)
8713 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8714 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8715 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8716 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8717
8718 2013-05-16 Leo Liu <sdl.web@gmail.com>
8719
8720 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8721 (octave-mode-menu, octave-mode-map): Remove its uses.
8722
8723 2013-05-16 Reto Zimmermann <reto@gnu.org>
8724
8725 Sync with upstream vhdl mode v3.34.2.
8726 * progmodes/vhdl-mode.el: Use `push' throughout.
8727 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8728 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8729 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8730 (vhdl-actual-generic-name): New option to derive actual generic name.
8731 (vhdl-port-paste-signals): Replace formal by actual generics.
8732 (vhdl-beautify): New name for old group vhdl-align. Update users.
8733 (vhdl-beautify-options): New option.
8734 (vhdl-last-input-event): New compat alias. Use throughout.
8735 (vhdl-goto-line): Replace user level function `goto-line'.
8736 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8737 vhdl-fix-statement-buffer.
8738 (vhdl-create-mode-menu): Add some entries.
8739 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8740 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8741 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8742 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8743 to force statements on one line.
8744 (vhdl-remove-trailing-spaces-region):
8745 New, split from vhdl-remove-trailing-spaces.
8746 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8747 Respect vhdl-beautify-options.
8748 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8749 (vhdl-update-sensitivity-list): Not add with index if exists without.
8750 Not include array index with signal. Ignore keywords in comments.
8751 (vhdl-get-visible-signals): Regexp tweaks.
8752 (vhdl-template-component-inst): Handle empty library.
8753 (vhdl-template-type): Add template for 'enum' type.
8754 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8755 Use vhdl-replace-string.
8756 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8757 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8758 (vhdl-speedbar-initialize): Update for above name change.
8759 (vhdl-compose-wire-components): Fix in handling of constants.
8760 (vhdl-error-regexp-emacs-alist): New variable.
8761 (vhdl-error-regexp-add-emacs): New function;
8762 adds support for new compile.el (Emacs 22+)
8763 (vhdl-generate-makefile-1): Change target order for single lib. units.
8764 Allow use of absolute file names.
8765
8766 2013-05-16 Leo Liu <sdl.web@gmail.com>
8767
8768 * simple.el (prog-indent-sexp): Indent enclosing defun.
8769
8770 2013-05-15 Glenn Morris <rgm@gnu.org>
8771
8772 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8773 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8774 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8775 (whitespace-highlight): Move to whitespace group.
8776
8777 * comint.el (comint-source):
8778 * pcmpl-linux.el (pcmpl-linux):
8779 * shell.el (shell-faces):
8780 * eshell/esh-opt.el (eshell-opt):
8781 * international/ccl.el (ccl): Remove empty custom groups.
8782
8783 * completion.el (dynamic-completion-mode):
8784 * jit-lock.el (jit-lock-debug-mode):
8785 * minibuffer.el (completion-in-region-mode):
8786 * type-break.el (type-break-mode-line-message-mode)
8787 (type-break-query-mode):
8788 * emulation/tpu-edt.el (tpu-edt-mode):
8789 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8790 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8791 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8792
8793 * term/xterm.el (xterm): Change parent group to terminals.
8794
8795 * master.el (master): Remove empty custom group.
8796 (master-mode): Remove unused :group argument.
8797 * textmodes/refill.el (refill): Remove empty custom group.
8798 (refill-mode): Remove unused :group argument.
8799
8800 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8801
8802 * cus-dep.el: Provide a feature.
8803 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8804 Don't mistakenly ignore files whose basenames match a basename
8805 from preloaded-file-list (eg cedet/ede/simple.el).
8806 Add a fallback method for getting :group.
8807
8808 2013-05-15 Juri Linkov <juri@jurta.org>
8809
8810 * isearch.el (isearch-char-by-name): Rename from
8811 `isearch-insert-char-by-name'. Doc fix.
8812 (isearch-forward): Mention `isearch-char-by-name' in
8813 the docstring. (Bug#13348)
8814
8815 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8816 `exit-minibuffer' instead of
8817 `isearch-nonincremental-exit-minibuffer'.
8818 (isearch-edit-string): Remove mention of
8819 `isearch-nonincremental-exit-minibuffer' from docstring.
8820 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8821 (isearch-forward-exit-minibuffer)
8822 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8823
8824 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * loadup.el: Just use unversioned DOC.
8827
8828 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8829 literals as extending to EOB.
8830 (nxml-last-fontify-end): Remove unused variable.
8831 (nxml-after-change1): Use with-silent-modifications.
8832 (nxml-extend-after-change-region): Simplify.
8833 (nxml-extend-after-change-region1): Remove function.
8834 (nxml-after-change1): Don't adjust for dependent regions.
8835 (nxml-fontify-matcher): Simplify.
8836 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8837 (xmltok-add-dependent): Remove function.
8838 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8839 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8840 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8841 unclosed <[[, <?, comment, and other literals as extending to EOB.
8842 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8843 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8844 Remove functions.
8845 (rng-do-some-validation-1): Don't mark dependent regions.
8846 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8847 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8848 (nxml-clear-dependent-regions): Remove functions.
8849 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8850 (nxml-ensure-scan-up-to-date):
8851 Don't clear&mark dependent regions.
8852
8853 2013-05-15 Leo Liu <sdl.web@gmail.com>
8854
8855 * progmodes/octave.el (octave-goto-function-definition):
8856 Improve and fix callers.
8857
8858 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8859
8860 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8861 the setter (bug#14387).
8862
8863 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8864 surrounding group (bug#14402).
8865
8866 2013-05-14 Juri Linkov <juri@jurta.org>
8867
8868 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8869 (Bug#14390)
8870
8871 2013-05-14 Glenn Morris <rgm@gnu.org>
8872
8873 * progmodes/f90.el (f90-imenu-generic-expression):
8874 Fix typo in 2013-05-08 change. (Bug#14402)
8875
8876 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8877
8878 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8879 Remove signals for which replies are never received.
8880
8881 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8882
8883 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8884 (gdb-handler-alist, gdb-handler-number): Remove variables.
8885 (gdb-handler-list): New variable.
8886 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8887 (gdb-pending-handler-p, gdb-handle-reply)
8888 (gdb-remove-all-pending-triggers): New functions.
8889 (gdb-discard-unordered-replies): New defcustom.
8890 (gdb-handler): New defstruct.
8891 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8892 instead of gdb-pending-triggers. Update docstring.
8893 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8894 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8895 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8896 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8897 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8898 (gdb-frame-handler): Pending triggers are now automatically managed.
8899 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8900 Remove argument.
8901 (gdb-input): Automatically handles pending triggers. Update docstring.
8902 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8903 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8904 Update comments.
8905 (gdb-done-or-error): Now use gdb-handle-reply.
8906
8907 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8908
8909 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8910 gdb-debug-log.
8911
8912 2013-05-14 Glenn Morris <rgm@gnu.org>
8913
8914 * subr.el (user-emacs-directory-warning): New option.
8915 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8916
8917 2013-05-14 Leo Liu <sdl.web@gmail.com>
8918
8919 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8920 during redisplay.
8921 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8922 (octave-font-lock-texinfo-comment): Fix invalid search bound
8923 error: wrong side of point.
8924
8925 2013-05-14 Glenn Morris <rgm@gnu.org>
8926
8927 * progmodes/flymake.el (flymake-xml-program): New option.
8928 (flymake-xml-init): Use it.
8929
8930 * term/xterm.el: Provide a feature.
8931
8932 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8933
8934 2013-05-13 Glenn Morris <rgm@gnu.org>
8935
8936 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8937 Add compat aliases as a hack workaround. (Bug#14384)
8938
8939 2013-05-13 Leo Liu <sdl.web@gmail.com>
8940
8941 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8942 ###, and %!.
8943 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8944 C-M-q.
8945 (octave-comment-start-skip): Include %!.
8946 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8947
8948 2013-05-12 Leo Liu <sdl.web@gmail.com>
8949
8950 * progmodes/octave.el (inferior-octave-startup): Store the value
8951 of __octave_srcdir__ for octave-source-directories.
8952 (inferior-octave-check-process): New function refactored out of
8953 inferior-octave-send-list-and-digest.
8954 (octave-source-directories)
8955 (octave-find-definition-filename-function): New variables.
8956 (octave-source-directories)
8957 (octave-find-definition-default-filename): New functions.
8958 (octave-find-definition): Improve to find functions implemented in C++.
8959
8960 2013-05-12 Glenn Morris <rgm@gnu.org>
8961
8962 * calendar/diary-lib.el (diary-outlook-format-1):
8963 Don't include dayname in the output. (Bug#14349)
8964
8965 2013-05-11 Glenn Morris <rgm@gnu.org>
8966
8967 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8968
8969 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8970 Treat cc-provide like provide.
8971
8972 2013-05-11 Kevin Ryde <user42@zip.com.au>
8973
8974 * cus-dep.el (custom-make-dependencies):
8975 Use generated-autoload-load-name for the sake of files such
8976 such cedet/semantic/bovine/c.el, where the base file name
8977 is not in load-path. (Bug#5277)
8978
8979 2013-05-11 Glenn Morris <rgm@gnu.org>
8980
8981 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8982 Provide features.
8983
8984 2013-05-11 Leo Liu <sdl.web@gmail.com>
8985
8986 * progmodes/octave.el (octave-indent-comment): Improve.
8987 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8988 (octave-eldoc-function-signatures, octave-eldoc-function):
8989 New functions.
8990 (octave-mode, inferior-octave-mode): Add eldoc support.
8991
8992 2013-05-11 Richard Stallman <rms@gnu.org>
8993
8994 * epa.el (epa-decrypt-file): Take output file name as argument
8995 and read it using `interactive'.
8996
8997 2013-05-11 Leo Liu <sdl.web@gmail.com>
8998
8999 * progmodes/octave.el (octave-beginning-of-line)
9000 (octave-end-of-line): Check before using up-list because it jumps
9001 out of more syntactic contructs since moving to smie.
9002 (octave-indent-comment): New function.
9003 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9004 (octave-begin-keywords, octave-end-keywords)
9005 (octave-reserved-words, octave-smie-bnf-table)
9006 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9007
9008 2013-05-11 Glenn Morris <rgm@gnu.org>
9009
9010 * faces.el (internal-face-x-get-resource):
9011 * frame.el (ns-display-monitor-attributes-list):
9012 * calc/calc-aent.el (math-to-radians-2):
9013 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9014 Fix declarations.
9015
9016 * calc/calc-menu.el: Make it loadable in isolation.
9017
9018 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9019 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9020 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9021 (eudc-bbdb-query-internal): Require 'bbdb.
9022
9023 * lpr.el (lpr-headers-switches):
9024 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9025
9026 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9027
9028 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9029
9030 * term.el (term-set-escape-char): Make it idempotent.
9031
9032 2013-05-10 Leo Liu <sdl.web@gmail.com>
9033
9034 * progmodes/octave.el (inferior-octave-completion-table):
9035 No longer a function and all uses changed. Use cache to speed up
9036 completion due to bug#11906.
9037 (octave-beginning-of-defun): Re-write to be more general.
9038
9039 2013-05-10 Glenn Morris <rgm@gnu.org>
9040
9041 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9042
9043 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9044
9045 * comint.el (comint-redirect-send-command-to-process): Use :around
9046 rather than :override for comint-redirect-filter.
9047 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9048 Call it instead of comint-redirect-original-filter-function (which
9049 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9050
9051 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9052
9053 * frame.el (display-monitor-attributes-list): Add NS case.
9054 (ns-display-monitor-attributes-list): Declare.
9055
9056 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9057
9058 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9059
9060 2013-05-09 Glenn Morris <rgm@gnu.org>
9061
9062 * international/fontset.el (vertical-centering-font-regexp):
9063 Set standard-value.
9064
9065 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9066
9067 * bookmark.el (bookmark-search-delay):
9068 * cus-start.el (vertical-centering-font-regexp):
9069 * ps-mule.el (ps-mule-font-info-database-default):
9070 * ps-print.el (ps-default-fg, ps-default-bg):
9071 * type-break.el (type-break-good-break-interval):
9072 * whitespace.el (whitespace-indentation-regexp)
9073 (whitespace-space-after-tab-regexp):
9074 * emacs-lisp/testcover.el (testcover-1value-functions)
9075 (testcover-noreturn-functions, testcover-progn-functions)
9076 (testcover-prog1-functions):
9077 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9078 * eshell/em-glob.el (eshell-glob-translate-alist):
9079 * play/tetris.el (tetris-tty-colors):
9080 * progmodes/cpp.el (cpp-face-default-list):
9081 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9082 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9083 (idlwave-help-browser-generic-args):
9084 * progmodes/make-mode.el (makefile-special-targets-list):
9085 * progmodes/python.el (python-shell-virtualenv-path):
9086 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9087 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9088 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9089 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9090 * textmodes/reftex-vars.el (reftex-format-label-function):
9091 * textmodes/remember.el (remember-diary-file): Fix custom types.
9092
9093 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9094 Add :version.
9095
9096 2013-05-09 Leo Liu <sdl.web@gmail.com>
9097
9098 * progmodes/octave.el (inferior-octave-completion-at-point):
9099 Restore file completion. (Bug#14300)
9100 (inferior-octave-startup): Fix incorrect highlighting for the
9101 first prompt.
9102
9103 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9104
9105 * progmodes/ruby-mode.el: First cut at SMIE support.
9106 (ruby-use-smie): New var.
9107 (ruby-smie-grammar): New constant.
9108 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9109 (ruby-smie--forward-token, ruby-smie--backward-token)
9110 (ruby-smie-rules): New functions.
9111 (ruby-mode-variables): Setup SMIE if applicable.
9112
9113 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9114
9115 * simple.el (line-move-visual): Signal beginning/end of buffer
9116 only if vertical-motion moved less than it was requested. Avoids
9117 silly incorrect error messages when there are display strings with
9118 multiple newlines at EOL.
9119
9120 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9121
9122 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9123 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9124 (prolog-char-quote-workaround):
9125 * progmodes/cperl-mode.el (cperl-under-as-char):
9126 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9127 Mark as obsolete.
9128 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9129 their declaration.
9130 (vhdl-mode-syntax-table-init): Remove.
9131
9132 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9133 last change.
9134
9135 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9136 syntax for "_".
9137 (ld-script-font-lock-keywords):
9138 Change regexps to use things like \_< and \_>.
9139
9140 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9141 Change all regexps to use things like \_< and \_>.
9142
9143 * progmodes/autoconf.el (autoconf-definition-regexp)
9144 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9145 Handle a _ with symbol syntax.
9146 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9147
9148 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9149 Consolidate declaration.
9150 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9151 the declaration.
9152 (ada-create-syntax-table): Remove.
9153 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9154 already has the right syntax nowadays.
9155 (ada-goto-next-word): Don't change the syntax of "_".
9156
9157 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9158 with-wrapper-hook.
9159
9160 2013-05-08 Sam Steingold <sds@gnu.org>
9161
9162 * thingatpt.el (thing-at-point): Accept optional second argument
9163 NO-PROPERTIES to strip the text properties from the return value.
9164 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9165 to `thing-at-point' instead of stripping the properties ourselves.
9166 Also, when `thing-at-point' fails to find a url, prepend "http://"
9167 to the filename at point on the assumption that the user is
9168 pointing at something like gnu.org/gnu.
9169
9170 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9171
9172 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9173 * faces.el (crm-separator):
9174 Silence byte-compiler.
9175
9176 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9177 (tool-bar-map): Remove unneeded defvars.
9178
9179 2013-05-08 Leo Liu <sdl.web@gmail.com>
9180
9181 Re-work a fix for bug#10994 based on Le Wang's patch.
9182 * ido.el (ido-remove-consecutive-dups): New helper.
9183 (ido-completing-read): Use it.
9184 (ido-chop): Revert fix for bug#10994.
9185
9186 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9187
9188 * cus-edit.el (custom-save-variables):
9189 Pretty-print long values. (Bug#14187)
9190
9191 2013-05-08 Glenn Morris <rgm@gnu.org>
9192
9193 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9194 (m4-mode-syntax-table): Init in the defvar.
9195 (m4-mode-abbrev-table): Let define-derived-mode define it.
9196
9197 2013-05-08 Tom Tromey <tromey@redhat.com>
9198
9199 * progmodes/m4-mode.el (m4-mode-syntax-table):
9200 Do not treat "_" as word constituent. (Bug#14167)
9201
9202 2013-05-07 Glenn Morris <rgm@gnu.org>
9203
9204 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9205 Remove explicit eshell-isearch-cancel-map.
9206
9207 * progmodes/f90.el (f90-smart-end-names): New option.
9208 (f90-smart-end): Doc fix.
9209 (f90-end-block-optional-name): New constant.
9210 (f90-block-match): Respect f90-smart-end-names.
9211
9212 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9213
9214 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9215 about implicit semi-colons (bug#14218).
9216
9217 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9218
9219 * frame.el (display-monitor-attributes-list)
9220 (frame-monitor-attributes): New functions.
9221
9222 2013-05-06 Leo Liu <sdl.web@gmail.com>
9223
9224 * progmodes/octave.el (octave-syntax-propertize-function): Change
9225 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9226 (octave-font-lock-keywords): Use octave-operator-regexp.
9227 (octave-completion-at-point): Rename from
9228 octave-completion-at-point-function.
9229 (inferior-octave-directory-tracker): Robustify.
9230 (octave-text-functions): Remove and fix its uses. No such things
9231 any more.
9232
9233 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9234
9235 * emacs-lisp/trace.el (trace--display-buffer): New function.
9236 (trace-make-advice): Use it.
9237
9238 2013-05-06 Juri Linkov <juri@jurta.org>
9239
9240 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9241 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9242 Doc fix.
9243 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9244 in the help string. (Bug#12985)
9245
9246 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9247
9248 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9249
9250 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * progmodes/perl-mode.el: Add support for here documents.
9253 (perl-syntax-propertize-function): Match here-doc markers.
9254 (perl-syntax-propertize-special-constructs): Find their end.
9255 (perl-imenu-generic-expression): Use [:alnum:].
9256
9257 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9258 (advice--add-function): Refresh the advice if already present
9259 (bug#14317).
9260
9261 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9262
9263 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9264
9265 2013-05-06 Glenn Morris <rgm@gnu.org>
9266
9267 * w32-fns.el (w32-charset-info-alist): Declare.
9268
9269 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9270 of its defcustom properties.
9271 (eshell-cmpl-initialize): No need to load pcomplete.
9272
9273 * generic-x.el: No need to require comint when compiling.
9274
9275 * net/eudc-export.el: Make it loadable without bbdb.
9276 (top-level): Use require rather than load-library.
9277 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9278 (eudc-batch-export-records-to-bbdb)
9279 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9280 Require bbdb.
9281
9282 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9283
9284 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9285 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9286 some tweaks, instead.
9287
9288 2013-05-05 Leo Liu <sdl.web@gmail.com>
9289
9290 * progmodes/octave.el (octave-font-lock-keywords)
9291 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9292 (inferior-octave-send-list-and-digest): Improve error message.
9293 (octave-mode, inferior-octave-mode): Use setq-local.
9294 (octave-help): Set info-lookup-mode.
9295
9296 2013-05-05 Richard Stallman <rms@gnu.org>
9297
9298 * vc/compare-w.el (compare-windows-whitespace):
9299 Treat no-break space as whitespace.
9300
9301 * mail/rmailsum.el (rmail-summary-rmail-update):
9302 Detect empty summary and don't change selected message.
9303 (rmail-summary-goto-msg): Likewise.
9304
9305 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9306 Doc fixes, rename args.
9307
9308 2013-05-05 Alan Mackenzie <acm@muc.de>
9309
9310 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9311
9312 2013-05-05 Juri Linkov <juri@jurta.org>
9313
9314 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9315 to not add the length of the summary segment to the return value.
9316 (Bug#14125)
9317
9318 2013-05-05 Leo Liu <sdl.web@gmail.com>
9319
9320 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9321 (inferior-octave-output-filter): Remove.
9322 (octave-send-region, inferior-octave-startup): Fix callers.
9323 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9324 (octave-binary-file-extensions): New user variable.
9325 (octave-find-definition): Confirm if opening binary files.
9326 (octave-help-file): Use octave-find-definition to get the binary
9327 confirmation.
9328 (octave-help): Adjust for octave-help-file change.
9329
9330 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9331
9332 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9333 Merge the two entries that handle function definitions.
9334 (pascal--syntax-propertize): New const.
9335 (pascal-mode): Use it. Use setq-local.
9336
9337 2013-05-04 Glenn Morris <rgm@gnu.org>
9338
9339 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9340 (diary-from-outlook): Respect diary-from-outlook-function.
9341
9342 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9343
9344 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9345 Move the declaration from C.
9346 (read-minibuffer, eval-minibuffer): Move from C.
9347 (completion-setup-function): Avoid minibuffer-completion-contents.
9348
9349 2013-05-03 Leo Liu <sdl.web@gmail.com>
9350
9351 * progmodes/octave.el (octave-font-lock-keywords): Do not
9352 dehighlight 'end' in comments or strings.
9353 (octave-completing-read, octave-goto-function-definition):
9354 New helpers.
9355 (octave-help-buffer): New user variable.
9356 (octave-help-file, octave-help-function): New button types.
9357 (octave-help): New command and bind it to C-h ;.
9358 (octave-find-definition): New command and bind it to M-.
9359 (user-error): Alias to error if not defined.
9360
9361 2013-05-02 Leo Liu <sdl.web@gmail.com>
9362
9363 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9364 for \. (bug#14332)
9365 (octave-font-lock-keywords): Include [ and {.
9366
9367 2013-05-02 Leo Liu <sdl.web@gmail.com>
9368
9369 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9370 (inferior-octave): Remove calling comint-mode and return the buffer.
9371 (inferior-octave-startup): Cosmetic changes.
9372
9373 2013-05-02 Leo Liu <sdl.web@gmail.com>
9374
9375 * progmodes/octave.el (octave-syntax-propertize-function):
9376 Include the case when ' is at line beginning. (Bug#14336)
9377
9378 2013-05-02 Glenn Morris <rgm@gnu.org>
9379
9380 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9381 * desktop.el (vc-dir-mode): Just autoload it here.
9382
9383 2013-05-02 Alan Mackenzie <acm@muc.de>
9384
9385 Eliminate variable c-standard-font-lock-fontify-region-function.
9386 * progmodes/cc-mode.el
9387 (c-standard-font-lock-fontify-region-function): Remove.
9388 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9389
9390 2013-05-01 Leo Liu <sdl.web@gmail.com>
9391
9392 * progmodes/octave.el: Compatible with older emacs-24 releases.
9393 (inferior-octave-has-built-in-variables): Remove. Built-in
9394 variables were removed from Octave in 2007.
9395 (inferior-octave-startup): Fix uses.
9396 (comint-line-beginning-position): Remove compatibility code for
9397 emacs 21.
9398
9399 2013-05-01 Juri Linkov <juri@jurta.org>
9400
9401 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9402
9403 2013-05-01 Juri Linkov <juri@jurta.org>
9404
9405 * comint.el (comint-previous-matching-input): Don't print message
9406 "History item: %d" when `isearch-mode' is active.
9407 (comint-history-isearch-message): Print message "History item: %d"
9408 when `comint-input-ring-index' is not empty and this function is
9409 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9410
9411 2013-05-01 Leo Liu <sdl.web@gmail.com>
9412
9413 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9414 definitions. Use completion-at-point to insert keywords.
9415 (octave-abbrev-start): Remove.
9416 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9417
9418 2013-04-30 Leo Liu <sdl.web@gmail.com>
9419
9420 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9421 change.
9422
9423 2013-04-30 Alan Mackenzie <acm@muc.de>
9424
9425 Handle arbitrarily long C++ member initialisation lists.
9426 * progmodes/cc-engine.el (c-back-over-member-initializers):
9427 new function.
9428 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9429 (most) member init lists.
9430
9431 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9432
9433 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9434 variable.
9435
9436 2013-04-30 Leo Liu <sdl.web@gmail.com>
9437
9438 * progmodes/octave.el (octave-variables): Remove. No builtin
9439 variables any more. All converted to functions.
9440 (octave-font-lock-keywords, octave-completion-at-point-function):
9441 Fix uses.
9442 (octave-font-lock-texinfo-comment): New user variable.
9443 (octave-texinfo-font-lock-keywords): New variable for texinfo
9444 comment block.
9445 (octave-function-comment-block): New face.
9446 (octave-font-lock-texinfo-comment): New function.
9447 (octave-mode): Font lock texinfo comment block.
9448
9449 2013-04-29 Leo Liu <sdl.web@gmail.com>
9450
9451 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9452 indexing expression.
9453 (octave-continuation-string): Do not use \.
9454 (inferior-octave-complete-impossible): Remove.
9455 (inferior-octave-completion-table)
9456 (inferior-octave-completion-at-point): Remove its uses.
9457 (inferior-octave-startup): completion_matches was introduced to
9458 Octave in 1996 so safe to assume it.
9459 (octave-function-file-comment): Improve to follow how Octave does it.
9460 (octave-update-function-file-comment): Tweak.
9461
9462 2013-04-29 Leo Liu <sdl.web@gmail.com>
9463
9464 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9465 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9466 (octave-function-file-comment): Fix typo.
9467 (octave-sync-function-file-names): Use read-char-choice.
9468
9469 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9470
9471 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9472 to t for the less important warnings.
9473
9474 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9475
9476 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9477
9478 2013-04-27 Glenn Morris <rgm@gnu.org>
9479
9480 * vc/log-view.el (log-view-current-entry):
9481 Treat "---" separator lines as part of the following rev. (Bug#14169)
9482
9483 2013-04-27 Juri Linkov <juri@jurta.org>
9484
9485 * subr.el (read-number): Doc fix about using it by interactive
9486 code letter `n'. (Bug#14254)
9487
9488 2013-04-27 Juri Linkov <juri@jurta.org>
9489
9490 * desktop.el (desktop-auto-save-timeout): New option.
9491 (desktop-file-checksum): New variable.
9492 (desktop-save): Add optional arg `auto-save' and don't auto-save
9493 if nothing changed.
9494 (desktop-auto-save-timer): New variable.
9495 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9496 (after-init-hook): Call `desktop-auto-save-set-timer'.
9497 Suggested by Reuben Thomas <rrt@sc3d.org> in
9498 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9499
9500 2013-04-27 Leo Liu <sdl.web@gmail.com>
9501
9502 * progmodes/octave.el (octave-function-file-p)
9503 (octave-skip-comment-forward, octave-function-file-comment)
9504 (octave-update-function-file-comment): New functions.
9505 (octave-mode-map): Bind C-c ; to
9506 octave-update-function-file-comment.
9507 (octave-mode-menu): Add octave-update-function-file-comment.
9508 (octave-mode, inferior-octave-mode): Fix doc-string.
9509 (octave-insert-defun): Conform to Octave's coding convention.
9510 (Bug#14285)
9511
9512 * files.el (basic-save-buffer): Don't let errors in
9513 before-save-hook prevent saving buffer.
9514
9515 2013-04-20 Roland Winkler <winkler@gnu.org>
9516
9517 * faces.el (read-face-name): Use completing-read if arg multiple
9518 is nil.
9519
9520 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9521
9522 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9523 displayed, move point to after the totals line.
9524 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9525 for the details.
9526
9527 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9528
9529 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9530 Add current dir to the load-path.
9531 (package-generate-autoloads): Don't rely on
9532 autoload-ensure-default-file.
9533
9534 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9535
9536 * textmodes/remember.el (remember-store-in-files): Document that
9537 the file name format is passed to `format-time-string'.
9538
9539 2013-04-26 Leo Liu <sdl.web@gmail.com>
9540
9541 * progmodes/octave.el (octave-sync-function-file-names): New function.
9542 (octave-mode): Use it in before-save-hook.
9543
9544 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9545
9546 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9547 (bug#14274).
9548
9549 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9550 \n and comment, even if it's not an implicit ; (bug#14218).
9551
9552 2013-04-26 Glenn Morris <rgm@gnu.org>
9553
9554 * subr.el (read-number): Once more use `read' rather than
9555 `string-to-number', to trap non-numeric input. (Bug#14254)
9556
9557 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9558
9559 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9560 Use `syntax-multiline' text property consistently instead of
9561 `font-lock-multiline'. (Bug#14237)
9562
9563 2013-04-26 Glenn Morris <rgm@gnu.org>
9564
9565 * emacs-lisp/shadow.el (list-load-path-shadows):
9566 No longer necessary to check for duplicate simple.el, since
9567 2012-07-07 change to init_lread to not include installation lisp
9568 directories in load-path when running uninstalled. (Bug#14270)
9569
9570 2013-04-26 Leo Liu <sdl.web@gmail.com>
9571
9572 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9573 (octave-mode, inferior-octave-mode): Use setq-local.
9574 (octave-not-in-string-or-comment-p): Rename to
9575 octave-in-string-or-comment-p.
9576 (octave-in-comment-p, octave-in-string-p)
9577 (octave-in-string-or-comment-p): Replace defsubst with defun.
9578
9579 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9580
9581 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9582
9583 2013-04-25 Bastien Guerry <bzg@gnu.org>
9584
9585 * textmodes/remember.el (remember-data-directory)
9586 (remember-directory-file-name-format): Fix custom types.
9587
9588 2013-04-25 Leo Liu <sdl.web@gmail.com>
9589
9590 * progmodes/octave.el (octave-completion-at-point-function):
9591 Make use of inferior octave process.
9592 (octave-initialize-completions): Remove.
9593 (inferior-octave-completion-table): New function.
9594 (inferior-octave-completion-at-point): Use it.
9595 (octave-completion-alist): Remove.
9596
9597 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9598
9599 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9600 (opascal-mode-syntax-table): New var.
9601 (opascal-literal-kind, opascal-is-literal-end)
9602 (opascal-literal-token-at): Rewrite.
9603 (opascal--literal-start-re, opascal-font-lock-keywords)
9604 (opascal--syntax-propertize): New constants.
9605 (opascal-font-lock-defaults): Adjust.
9606 (opascal-mode): Use them. Set comment-<foo> variables as well.
9607 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9608 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9609 (delphi-other-face, opascal-other-face): Remove face variables.
9610 (opascal-save-state): Remove macro.
9611 (opascal-fontifying-progress-step): Remove constant.
9612 (opascal--ignore-changes): Remove var.
9613 (opascal-set-token-property, opascal-parse-next-literal)
9614 (opascal-is-stable-literal, opascal-complete-literal)
9615 (opascal-is-literal-start, opascal-face-of)
9616 (opascal-parse-region, opascal-parse-region-until-stable)
9617 (opascal-fontify-region, opascal-after-change)
9618 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9619 (opascal-debug-parse-region, opascal-debug-parse-window)
9620 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9621 (opascal-debug-fontify-buffer): Remove.
9622 (opascal-debug-mode-map): Adjust accordingly.
9623
9624 2013-04-25 Leo Liu <sdl.web@gmail.com>
9625
9626 Merge octave-mod.el and octave-inf.el into octave.el with some
9627 cleanups.
9628 * progmodes/octave.el: New file renamed from octave-mod.el.
9629 * progmodes/octave-inf.el: Merged into octave.el.
9630 * progmodes/octave-mod.el: Renamed to octave.el.
9631
9632 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9633
9634 * textmodes/reftex-vars.el
9635 (reftex-label-ignored-macros-and-environments): New defcustom.
9636
9637 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9638
9639 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9640
9641 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9642 (smie-indent-keyword): Improve the check to ensure that the next
9643 comment is really on the same line.
9644 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9645
9646 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9647 semi-colons if the line is not otherwise empty (bug#14218).
9648
9649 2013-04-25 Glenn Morris <rgm@gnu.org>
9650
9651 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9652
9653 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9654
9655 * progmodes/opascal.el (opascal-set-token-property): Rename from
9656 opascal-set-text-properties and only set `token' (bug#14134).
9657 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9658 (opascal-literal-text-properties): Remove.
9659 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9660 Adjust callers.
9661
9662 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9663
9664 * textmodes/remember.el (remember-handler-functions): Add an
9665 option for a new handler `remember-store-in-files'.
9666 (remember-data-directory, remember-directory-file-name-format):
9667 New options.
9668 (remember-store-in-files): New function to store remember notes
9669 as separate files within a directory.
9670
9671 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9672
9673 * progmodes/compile.el (compilation-next-error-function):
9674 Pass "formats" to compilation-find-file (bug#11777).
9675
9676 2013-04-24 Glenn Morris <rgm@gnu.org>
9677
9678 * vc/vc-bzr.el (vc-bzr-print-log):
9679 * vc/vc-hg.el (vc-hg-print-log):
9680 * vc/vc-svn.el (vc-svn-print-log):
9681 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9682
9683 * vc/vc-bzr.el (vc-bzr-print-log):
9684 * vc/vc-cvs.el (vc-cvs-print-log):
9685 * vc/vc-git.el (vc-git-print-log):
9686 * vc/vc-hg.el (vc-hg-print-log):
9687 * vc/vc-mtn.el (vc-mtn-print-log):
9688 * vc/vc-rcs.el (vc-rcs-print-log):
9689 * vc/vc-sccs.el (vc-sccs-print-log):
9690 * vc/vc-svn.el (vc-svn-print-log):
9691 * vc/vc.el (vc-print-log-internal): Doc fixes.
9692
9693 2013-04-23 Glenn Morris <rgm@gnu.org>
9694
9695 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9696 Remove venerable code attempting to avoid substitute-command-keys.
9697
9698 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9699
9700 * textmodes/reftex-vars.el (reftex-label-regexps):
9701 Call `reftex-compile-variables' after changes to this variable.
9702
9703 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9704
9705 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9706 Use lexical-binding.
9707 (jit-lock-force-redisplay): Use markers, check buffer's continued
9708 existence and beware narrowed buffers.
9709 (jit-lock-fontify-now): Adjust call accordingly.
9710
9711 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9714 to avoid misleading the user.
9715
9716 2013-04-22 Leo Liu <sdl.web@gmail.com>
9717
9718 * info-look.el: Prefer latex2e.info. (Bug#14240)
9719
9720 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9721
9722 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9723
9724 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9725 * net/tramp.el (tramp-call-process): ... here.
9726 (tramp-set-completion-function, tramp-parse-putty):
9727 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9728 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9729 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9730 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9731 (tramp-call-local-coding-command): Use `tramp-call-process'
9732 instead of `tramp-compat-call-process'.
9733
9734 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9735 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9736 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9737 (tramp-find-inline-compress): Improve traces.
9738 (tramp-maybe-send-script): Check for Perl binary.
9739 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9740
9741 2013-04-22 Daiki Ueno <ueno@gnu.org>
9742
9743 * epg.el (epg-context-pinentry-mode): New function.
9744 (epg-context-set-pinentry-mode): New function.
9745 (epg--start): Pass --pinentry-mode option to gpg command.
9746
9747 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9748
9749 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9750 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9751 `completion-at-point'. (Bug#13774)
9752
9753 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9754 default key binding for `describe-distribution' has been moved to
9755 `C-h C-o'. (Bug#13970)
9756
9757 2013-04-21 Glenn Morris <rgm@gnu.org>
9758
9759 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9760 Add doc strings.
9761 (vc-print-log): Clarify interactive prompt.
9762
9763 2013-04-20 Glenn Morris <rgm@gnu.org>
9764
9765 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9766 No longer include timestamp etc information.
9767
9768 2013-04-20 Roland Winkler <winkler@gnu.org>
9769
9770 * faces.el (read-face-name): Bug fix, return just one face if arg
9771 multiple is nil. (Bug#14209)
9772
9773 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9774
9775 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9776 (remove-function): Autoload.
9777
9778 * comint.el (comint-redirect-original-filter-function): Remove.
9779 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9780 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9781 (vc-cvs-annotate-command):
9782 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9783 * progmodes/prolog.el (prolog-consult-compile):
9784 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9785 Use add/remove-function instead.
9786 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9787 (gud-tooltip-process-output, gud-tooltip-tips):
9788 Use add/remove-function instead.
9789 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9790 (scheme-interaction-mode, exit-scheme-interaction-mode):
9791 Use add/remove-function instead.
9792
9793 * vc/vc-dispatcher.el: Use lexical-binding.
9794 (vc--process-sentinel): Rename from vc-process-sentinel.
9795 Change last arg to be the code to run. Don't use vc-previous-sentinel
9796 and vc-sentinel-commands any more.
9797 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9798 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9799
9800 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9801
9802 * progmodes/sh-script.el (sh-imenu-generic-expression):
9803 Handle function names with a single character. (Bug#14111)
9804
9805 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9806
9807 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9808 for subroutines defined in an eval (bug#14182).
9809
9810 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9811
9812 * bookmark.el (bookmark-completing-read): Improve handling of empty
9813 string (bug#14176).
9814
9815 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9816
9817 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9818
9819 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9820
9821 New faster Imenu implementation (bug#14058).
9822 * progmodes/python.el:
9823 (python-imenu-prev-index-position):
9824 (python-imenu-format-item-label-function)
9825 (python-imenu-format-parent-item-label-function)
9826 (python-imenu-format-parent-item-jump-label-function):
9827 New vars.
9828 (python-imenu-format-item-label)
9829 (python-imenu-format-parent-item-label)
9830 (python-imenu-format-parent-item-jump-label)
9831 (python-imenu--put-parent, python-imenu--build-tree)
9832 (python-imenu-create-index, python-imenu-create-flat-index)
9833 (python-util-popn): New functions.
9834 (python-mode): Set imenu-create-index-function to
9835 python-imenu-create-index.
9836
9837 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9838
9839 * winner.el (winner-active-region): Use region-active-p, activate-mark
9840 and deactivate-mark (bug#14225).
9841
9842 * simple.el (deactivate-mark): Don't inline it.
9843
9844 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9845
9846 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9847
9848 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9849
9850 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9851 file extensions from the archive-mode entry in order to prefer
9852 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9853
9854 2013-04-18 Leo Liu <sdl.web@gmail.com>
9855
9856 * bindings.el (help-event-list): Add ?\?.
9857
9858 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9859
9860 * subr.el (with-wrapper-hook): Declare obsolete.
9861 * simple.el (filter-buffer-substring-function): New hook.
9862 (filter-buffer-substring): Use it.
9863 (filter-buffer-substring-functions): Mark obsolete.
9864 * minibuffer.el (completion-in-region-function): New hook.
9865 (completion-in-region): Use it.
9866 (completion-in-region-functions): Mark obsolete.
9867 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9868 * abbrev.el (abbrev-expand-function): New hook.
9869 (expand-abbrev): Use it.
9870 (abbrev-expand-functions): Mark obsolete.
9871 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9872 and :filter-return.
9873
9874 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9875
9876 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9877 and do not care about match data.
9878
9879 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9880
9881 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9882 completion tables when completing error conditions and
9883 `declare' arguments.
9884 (lisp-complete-symbol, field-complete): Mark as obsolete.
9885 (check-parens): Unmatched parens are user errors.
9886 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9887
9888 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9889
9890 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9891 command changed buffer (ie. `flyspell-pre-buffer' is not current
9892 buffer), which prevents making decisions based on invalid value of
9893 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9894 cause an error when `flyspell-pre-point' was nil after switching
9895 buffers.
9896 (flyspell-post-command-hook): No longer needs to change buffers when
9897 checking pre-word. While at it remove unnecessary progn.
9898
9899 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9900
9901 * textmodes/ispell.el (ispell-add-per-file-word-list):
9902 Fix `flyspell-correct-word-before-point' error when accepting
9903 words and `coment-padding' is an integer by using
9904 `comment-normalize-vars' (Bug #14214).
9905
9906 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9907
9908 New defun movement commands.
9909 * progmodes/python.el (python-nav--syntactically)
9910 (python-nav--forward-defun, python-nav-backward-defun)
9911 (python-nav-forward-defun): New functions.
9912
9913 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9914
9915 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9916 (python-syntax-context): Use named compiler-macro for backwards
9917 compatibility with Emacs 24.x.
9918
9919 2013-04-17 Leo Liu <sdl.web@gmail.com>
9920
9921 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9922 octave-hide-process-buffer.
9923
9924 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9925
9926 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9927 (bug#14216).
9928
9929 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9930
9931 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9932 Fix adjustment of offset when receiving incomplete responses from GDB
9933 (bug#14129).
9934
9935 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9936
9937 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9938 python-mode-abbrev-table.
9939 (python-skeleton-define): Adjust accordingly.
9940 (python-mode-abbrev-table): New table that inherits from it so that
9941 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9942
9943 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9944 (abbrev-symbol): Use it.
9945 (abbrev--before-point): Use it since we already handle inheritance.
9946
9947 2013-04-16 Leo Liu <sdl.web@gmail.com>
9948
9949 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9950 binding to info-lookup-symbol.
9951
9952 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9953
9954 * minibuffer.el (completion--twq-all):
9955 * term/ns-win.el (ns-initialize-window-system):
9956 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9957
9958 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9959
9960 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9961 global bindings.
9962
9963 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9964
9965 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9966
9967 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9968 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9969 to nil.
9970 (ruby-end-of-defun): Remove the unused arg, change the docstring
9971 to reflect that this function is only used as the value of
9972 `end-of-defun-function'.
9973 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9974 to reflect an earlier change that beginning/end-of-defun functions
9975 jump between methods in a class definition, as well as top-level
9976 functions.
9977
9978 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9979
9980 * minibuffer.el (minibuffer-complete): Don't just scroll
9981 a *Completions* that's been iconified.
9982 (minibuffer-force-complete): Make sure repetitions do cycle when going
9983 through completion-in-region -> minibuffer-complete.
9984
9985 2013-04-15 Alan Mackenzie <acm@muc.de>
9986
9987 Correct the placement of c-cpp-delimiters when there're #s not at
9988 col 0.
9989
9990 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9991 place a submatch around the #.
9992 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9993 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9994 on the #, not BOL.
9995
9996 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9997
9998 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9999 (advice--member-p): New arg `name'.
10000 (advice--add-function, advice-member-p): Use it (bug#14202).
10001
10002 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10003
10004 Reformulate java imenu-generic-expression.
10005 The old expression contained ill formed regexps.
10006
10007 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10008 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10009 (cc-imenu-java-method-arg-regexp): New defconsts.
10010 (cc-imenu-java-build-type-args-regex): New defun.
10011 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10012 handling of spaces in the regexp.
10013
10014 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10015
10016 * textmodes/ispell.el (ispell-command-loop): Remove
10017 flyspell highlight of a word when ispell accepts it (bug #14178).
10018
10019 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10020
10021 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10022 uses code from the previous `ange-ftp-run-real-handler'.
10023 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10024 only in case that function exist. This is needed for proper
10025 unloading of Tramp.
10026
10027 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10028
10029 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10030
10031 * textmodes/reftex.el (reftex-compile-variables): Use it.
10032
10033 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10034
10035 * files.el (normal-mode): Only use default major-mode if no other mode
10036 was specified.
10037
10038 * emacs-lisp/trace.el (trace-values): New function.
10039
10040 * files.el: Allow : in local variables (bug#14089).
10041 (hack-local-variable-regexp): New var.
10042 (hack-local-variables-prop-line, hack-local-variables): Use it.
10043
10044 2013-04-13 Roland Winkler <winkler@gnu.org>
10045
10046 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10047 data before it gets modified by bibtex-beginning-of-entry.
10048
10049 2013-04-13 Roland Winkler <winkler@gnu.org>
10050
10051 * textmodes/bibtex.el (bibtex-url): Doc fix.
10052
10053 2013-04-13 Roland Winkler <winkler@gnu.org>
10054
10055 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10056 does not visit a BibTeX file, exclude it from the list of buffers
10057 returned by bibtex-initialize.
10058
10059 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10060
10061 * window.el (split-window): Remove interactive form, since as a
10062 command this function is a special case of split-window-below.
10063 Correct doc string.
10064
10065 2013-04-12 Roland Winkler <winkler@gnu.org>
10066
10067 * faces.el (read-face-name): Do not override value of arg default.
10068 Allow single faces and strings as default values. Remove those
10069 elements from return value that are not faces.
10070 (describe-face): Simplify.
10071 (face-at-point): New optional args thing and multiple so that this
10072 function can provide the same functionality previously provided by
10073 read-face-name.
10074 (make-face-bold, make-face-unbold, make-face-italic)
10075 (make-face-unitalic, make-face-bold-italic, invert-face)
10076 (modify-face, read-face-and-attribute): Use face-at-point.
10077
10078 * cus-edit.el (customize-face, customize-face-other-window)
10079 * cus-theme.el (custom-theme-add-face)
10080 * face-remap.el (buffer-face-set)
10081 * facemenu.el (facemenu-set-face): Use face-at-point.
10082
10083 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10084
10085 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10086
10087 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10088
10089 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10090 off leading { and trailing } from field values.
10091
10092 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10093
10094 * emacs-lisp/timer.el (timer--check): New function.
10095 (timer--time, timer-set-function, timer-event-handler): Use it.
10096 (timer-set-idle-time): Simplify.
10097 (timer--activate): CSE.
10098 (timer-event-handler): Give more info in error message.
10099 (internal-timer-start-idle): New function, moved from C.
10100
10101 * mpc.el (mpc-proc): Add `restart' argument.
10102 (mpc-proc-cmd): Use it.
10103 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10104 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10105 less often.
10106
10107 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10108
10109 * progmodes/sh-script.el: Implement `sh-mode' own
10110 `add-log-current-defun-function' (bug#14112).
10111 (sh-current-defun-name): New function.
10112 (sh-mode): Use the function.
10113
10114 2013-04-09 Bastien Guerry <bzg@gnu.org>
10115
10116 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10117
10118 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10119
10120 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10121
10122 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10123 timer (bug#14156).
10124
10125 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10126
10127 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10128 declaration.
10129
10130 2013-04-07 Leo Liu <sdl.web@gmail.com>
10131
10132 * pcmpl-x.el: New file.
10133
10134 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10135
10136 Do not set x-display-name until X connection is established.
10137 This is needed to prevent from weird situation described at
10138 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10139 * frame.el (make-frame): Set x-display-name after call to
10140 window system initialization function, not before.
10141 * term/x-win.el (x-initialize-window-system): Add optional
10142 display argument and use it.
10143 * term/w32-win.el (w32-initialize-window-system):
10144 * term/ns-win.el (ns-initialize-window-system):
10145 * term/pc-win.el (msdos-initialize-window-system):
10146 Add compatible optional display argument.
10147
10148 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10149
10150 * files.el (normal-backup-enable-predicate): On MS-Windows and
10151 MS-DOS compare truenames of temporary-file-directory and of the
10152 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10153 don't fail comparison by compare-strings. Also, compare file
10154 names case-insensitively on MS-Windows and MS-DOS.
10155
10156 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10157
10158 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10159 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10160
10161 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10162
10163 * whitespace.el (whitespace-color-on, whitespace-color-off):
10164 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10165
10166 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10167
10168 * ispell.el (ispell-set-spellchecker-params):
10169 Really set `ispell-args' for all equivs.
10170
10171 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 * ido.el (ido-completions): Use extra elements of ido-decorations
10174 (bug#14143).
10175 (ido-decorations): Update docstring.
10176
10177 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10178
10179 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10180 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10181 nil during initialization, in order not to miss changes since the
10182 file was opened. (Bug#14140)
10183
10184 2013-04-05 Leo Liu <sdl.web@gmail.com>
10185
10186 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10187
10188 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10189
10190 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10191
10192 2013-04-04 Glenn Morris <rgm@gnu.org>
10193
10194 * electric.el (electric-pair-inhibit-predicate): Add :version.
10195
10196 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10197
10198 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10199 when a package is required several times (bug#14082).
10200
10201 2013-04-04 Roland Winkler <winkler@gnu.org>
10202
10203 * faces.el (read-face-name): Behave as promised by the docstring.
10204 Assume that arg default is a list of faces.
10205 (describe-face): Call read-face-name with list of default faces.
10206
10207 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10208
10209 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10210 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10211 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10212 the header.
10213 (bookmark-exit-hook-internal): Save even if list is empty.
10214
10215 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10216
10217 * emacs-lisp/package.el (package-pinned-packages): New var.
10218 (package--add-to-archive-contents): Obey it (bug#14118).
10219
10220 2013-04-03 Alan Mackenzie <acm@muc.de>
10221
10222 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10223 Also adapt to the new values of element 7 of a parse state.
10224
10225 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10226 parameter `not-in-delimiter'. Handle being inside comment opener.
10227 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10228 character in case we're typing a '*' after a '/'.
10229 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10230 instead by passing the parameter to c-state-pp-to-literal.
10231
10232 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10233 for elt. 7 of a parse state.
10234
10235 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10236
10237 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10238 * international/latin1-disp.el, international/mule-util.el:
10239 * language/cyril-util.el, language/european.el, language/ind-util.el:
10240 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10241 * language/tibetan.el, language/viet-util.el:
10242 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10243
10244 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10245
10246 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10247 (electric-pair-post-self-insert-function): Use it.
10248 (electric-pair-default-inhibit): New function, extracted from
10249 electric-pair-post-self-insert-function.
10250
10251 2013-03-31 Roland Winkler <winkler@gnu.org>
10252
10253 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10254
10255 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10256
10257 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10258
10259 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10260
10261 Un-indent after "pass" and "return" statements (Bug#13888)
10262 * progmodes/python.el (python-indent-block-enders): New var.
10263 (python-indent-calculate-indentation): Use it.
10264
10265 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10266
10267 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10268 defun. Defining it as defalias could introduce too eager
10269 byte-compiler optimization. (Bug#14030)
10270
10271 2013-03-30 Chong Yidong <cyd@gnu.org>
10272
10273 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10274
10275 2013-03-30 Leo Liu <sdl.web@gmail.com>
10276
10277 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10278 (kmacro-execute-from-register): Pass the keyboard macro to
10279 kmacro-call-macro or repeating won't work correctly.
10280
10281 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10282
10283 * progmodes/subword.el: Back to using `forward-symbol'.
10284
10285 * subr.el (forward-whitespace, forward-symbol)
10286 (forward-same-syntax): Move from thingatpt.el.
10287
10288 2013-03-29 Leo Liu <sdl.web@gmail.com>
10289
10290 * kmacro.el (kmacro-to-register): New command.
10291 (kmacro-execute-from-register): New function.
10292 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10293
10294 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10295
10296 * mpc.el: Use defvar-local and setq-local.
10297 (mpc--proc-connect): Connection failures are not bugs.
10298 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10299 (mpc-volume-map): Bind to the up-events.
10300
10301 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10302
10303 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10304 instead of `forward-symbol'.
10305
10306 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10307
10308 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10309 (edebug--recursive-edit): Use it.
10310 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10311 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10312
10313 2013-03-28 Leo Liu <sdl.web@gmail.com>
10314
10315 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10316
10317 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10318
10319 * facemenu.el (list-colors-callback): New defvar.
10320 (list-colors-redisplay): New function.
10321 (list-colors-display): Install list-colors-redisplay as the
10322 revert-buffer-function. (Bug#14063)
10323
10324 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10325
10326 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10327 and suffixes don't overlap (bug#14061).
10328
10329 * case-table.el: Use lexical-binding.
10330 (case-table-get-table): New function.
10331 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10332
10333 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10334
10335 * progmodes/subword.el: Add `superword-mode' to do word motion
10336 over symbol_words (parallels and leverages `subword-mode' which
10337 does word motion inside MixedCaseWords).
10338
10339 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10340
10341 * eshell/em-unix.el: Move su and sudo to...
10342 * eshell/em-tramp.el: ...Eshell tramp module.
10343
10344 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10345
10346 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10347 Change return value to be a sexp. Delay `get-buffer' to after
10348 restoring the desktop (bug#13951).
10349
10350 2013-03-26 Leo Liu <sdl.web@gmail.com>
10351
10352 * register.el: Move semantic tag handling back to
10353 cedet/semantic/senator.el. (Bug#14052)
10354
10355 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10356
10357 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10358 into the prompt either (bug#13963).
10359
10360 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10361
10362 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10363 part of "(error-foo)".
10364
10365 2013-03-24 Juri Linkov <juri@jurta.org>
10366
10367 * replace.el (list-matching-lines-prefix-face): New defcustom.
10368 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10369 `occur-engine' if `face-differs-from-default-p' returns t.
10370 (occur-engine): Add `,' inside backquote construct to evaluate
10371 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10372 Pass `prefix-face' to the functions `occur-context-lines' and
10373 `occur-engine-add-prefix'.
10374 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10375 `prefix-face' and propertize the prefix with `prefix-face'.
10376 (Bug#14017)
10377
10378 2013-03-24 Leo Liu <sdl.web@gmail.com>
10379
10380 * nxml/rng-valid.el (rng-validate-while-idle)
10381 (rng-validate-quick-while-idle): Guard against deleted buffer.
10382 (Bug#13999)
10383
10384 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10385 is the last entry in kill-buffer-hook.
10386
10387 * files.el (kill-buffer-hook): Doc fix.
10388
10389 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10390
10391 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10392 Make it safe-local.
10393
10394 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10395
10396 2013-03-23 Leo Liu <sdl.web@gmail.com>
10397
10398 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10399 Remove.
10400
10401 * nxml/rng-valid.el (rng-validate-mode)
10402 (rng-after-change-function, rng-do-some-validation):
10403 * nxml/rng-maint.el (rng-validate-buffer):
10404 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10405 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10406 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10407 (nxml-extend-after-change-region): Use with-silent-modifications.
10408
10409 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10410 timer-idle-list.
10411
10412 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10413 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10414 timer-idle-list. (Bug#13999)
10415
10416 2013-03-23 Juri Linkov <juri@jurta.org>
10417
10418 * info.el (info-index-match): New face.
10419 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10420 main pattern and add text properties with the new face to matches
10421 in index entries relative to the beginning of the index entry.
10422 (Bug#14015)
10423
10424 2013-03-21 Eric Ludlam <zappo@gnu.org>
10425
10426 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10427 Inhibit read only while inserting objects.
10428
10429 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10430
10431 * progmodes/cfengine.el: Update docs to mention
10432 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10433 symbol motion. Remove "_" from the word syntax.
10434
10435 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10436
10437 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10438 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10439
10440 2013-03-20 Juri Linkov <juri@jurta.org>
10441
10442 * info.el (Info-next-reference-or-link)
10443 (Info-prev-reference-or-link): New functions.
10444 (Info-next-reference, Info-prev-reference): Use them.
10445 (Info-try-follow-nearest-node): Handle footnote navigation.
10446 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10447
10448 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10449
10450 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10451 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10452
10453 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10454
10455 Suppress unnecessary non-ASCII chatter during build process.
10456 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10457 (batch-skkdic-convert): Suppress most of the chatter.
10458 It's not needed so much now that machines are faster,
10459 and its non-ASCII component was confusing; see Dmitry Gutov in
10460 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10461
10462 2013-03-20 Leo Liu <sdl.web@gmail.com>
10463
10464 * ido.el (ido-chop): Fix bug#10994.
10465
10466 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10467
10468 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10469 Remove vars.
10470 (whitespace-color-on, whitespace-color-off):
10471 Use `font-lock-fontify-buffer' (Bug#13817).
10472
10473 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10474
10475 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10476 remapping in mode-line.
10477 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10478
10479 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10480
10481 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10482 value for `whitespace-line' face (Bug#13875).
10483 (whitespace-font-lock-keywords): Change description.
10484 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10485 the constructed keywords instead.
10486 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10487
10488 2013-03-19 Leo Liu <sdl.web@gmail.com>
10489
10490 * progmodes/compile.el (compilation-display-error): New command.
10491 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10492 C-o. (Bug#13992)
10493
10494 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10495
10496 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10497
10498 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10499
10500 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10501
10502 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10503
10504 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10505
10506 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10507 * net/tramp-gvfs.el (top):
10508 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10509 (tramp-handle-shell-command): Use it.
10510 (tramp-dissect-file-name): Raise an error when hostname is a
10511 method name, and neither method nor user is specified.
10512
10513 * net/trampver.el: Update release number.
10514
10515 2013-03-18 Leo Liu <sdl.web@gmail.com>
10516
10517 Make sure eldoc can be turned off properly.
10518 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10519 eldoc-mode.
10520 (eldoc-display-message-p): Revert last change.
10521 (eldoc-display-message-no-interference-p)
10522 (eldoc-print-current-symbol-info): Tweak.
10523
10524 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10525
10526 * doc-view.el (doc-view-new-window-function): Check the new window
10527 overlay's display property instead the char property of the
10528 buffer's first char. Use `with-selected-window' instead of
10529 `save-window-excursion' with `select-window'.
10530 (doc-view-document->bitmap): Check the current doc-view overlay's
10531 display property instead the char property of the buffer's first char.
10532
10533 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10534
10535 Automate the build of ja-dic.el (Bug#13984).
10536 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10537 from the input, rather than assume that it's been done for us by the
10538 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10539 the current date into a ja-dic.el comment, as that complicates
10540 regression testing.
10541
10542 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10543
10544 * whitespace.el: Fix double evaluation.
10545 (whitespace-space, whitespace-hspace, whitespace-tab)
10546 (whitespace-newline, whitespace-trailing, whitespace-line)
10547 (whitespace-space-before-tab, whitespace-indentation)
10548 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10549 obsolete defvars.
10550 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10551 (whitespace-color-on): Use a single font-lock-add-keywords call.
10552 Fix double-evaluation of face variables.
10553
10554 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10555
10556 * net/tramp-adb.el (tramp-adb-parse-device-names):
10557 Use `start-process' instead of `call-process'. Otherwise, the
10558 function might be blocked under MS Windows. (Bug#13299)
10559
10560 2013-03-17 Leo Liu <sdl.web@gmail.com>
10561
10562 Extend eldoc to display info in the mode-line. (Bug#13978)
10563 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10564 (eldoc-mode-line-string): New variable.
10565 (eldoc-minibuffer-message): New function.
10566 (eldoc-message-function): New variable.
10567 (eldoc-message): Use it.
10568 (eldoc-display-message-p)
10569 (eldoc-display-message-no-interference-p):
10570 Support eldoc-post-insert-mode.
10571
10572 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10573 (eval-expression): Run it.
10574
10575 2013-03-17 Roland Winkler <winkler@gnu.org>
10576
10577 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10578 strings in the list of return values.
10579
10580 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10581
10582 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10583 radix before checking for HMS forms.
10584
10585 2013-03-16 Leo Liu <sdl.web@gmail.com>
10586
10587 * progmodes/scheme.el: Add indentation and font-locking for λ.
10588 (Bug#13975)
10589
10590 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10591
10592 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10593 token before point (bug#13942).
10594
10595 2013-03-16 Leo Liu <sdl.web@gmail.com>
10596
10597 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10598
10599 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10600
10601 * startup.el (command-line-normalize-file-name): Fix handling of
10602 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10603 <xfq.free@gmail.com> in
10604 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10605
10606 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10607
10608 Sync with Tramp 2.2.7.
10609
10610 * net/trampver.el: Update release number.
10611
10612 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10613
10614 * doc-view.el: Fix bug#13887.
10615 (doc-view-insert-image): Don't modify overlay associated to
10616 non-live windows, and implement horizontal centering of image in
10617 case it's smaller than the window.
10618 (doc-view-new-window-function): Force redisplay of new windows on
10619 doc-view buffers.
10620
10621 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10622
10623 * saveplace.el (save-place-alist-to-file): Don't sort
10624 `save-place-alist', just pretty-print it (bug#13882).
10625
10626 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10627
10628 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10629 Check whether `default-file-name-coding-system' is bound.
10630 It isn't in XEmacs.
10631
10632 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10633
10634 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10635 backquotes for `obsolete' (bug#13929).
10636
10637 * international/mule.el (find-auto-coding): Include file name in
10638 obsolescence warning (bug#13922).
10639
10640 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10641
10642 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10643 for CFEngine 3-specific indentation.
10644 (cfengine3-indent-line): Use it. Fix up category regex.
10645 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10646
10647 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10648
10649 * type-break.el (type-break-file-name):
10650 * textmodes/remember.el (remember-data-file):
10651 * strokes.el (strokes-file):
10652 * shadowfile.el (shadow-initialize):
10653 * saveplace.el (save-place-file):
10654 * ps-bdf.el (bdf-cache-file):
10655 * progmodes/idlwave.el (idlwave-config-directory):
10656 * net/quickurl.el (quickurl-url-file):
10657 * international/kkc.el (kkc-init-file-name):
10658 * ido.el (ido-save-directory-list-file):
10659 * emulation/viper.el (viper-custom-file-name):
10660 * emulation/vip.el (vip-startup-file):
10661 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10662 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10663
10664 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10665
10666 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10667 * language/thai-word.el: Switch to UTF-8.
10668
10669 See ChangeLog.16 for earlier changes.
10670
10671 ;; Local Variables:
10672 ;; coding: utf-8
10673 ;; End:
10674
10675 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10676
10677 This file is part of GNU Emacs.
10678
10679 GNU Emacs is free software: you can redistribute it and/or modify
10680 it under the terms of the GNU General Public License as published by
10681 the Free Software Foundation, either version 3 of the License, or
10682 (at your option) any later version.
10683
10684 GNU Emacs is distributed in the hope that it will be useful,
10685 but WITHOUT ANY WARRANTY; without even the implied warranty of
10686 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10687 GNU General Public License for more details.
10688
10689 You should have received a copy of the GNU General Public License
10690 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.