* lisp/isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-04 Juri Linkov <juri@jurta.org>
2
3 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5
6 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
7
8 * notifications.el (notifications-close-notification): Call the
9 D-Bus method with `id' being an `:uint32'. (Bug#16030)
10
11 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
12
13 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
14
15 2013-12-03 Juri Linkov <juri@jurta.org>
16
17 * progmodes/compile.el (compilation-start): Rename window alist
18 entry `no-display-ok' to `allow-no-window'.
19
20 * simple.el (shell-command): Add window alist entry
21 `allow-no-window' to `display-buffer'.
22 (async-shell-command): Doc fix.
23
24 * window.el (display-buffer-no-window): New action function.
25 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
26
27 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
28
29 * vc/log-edit.el (log-edit-set-header): Extract from
30 `log-edit-toggle-header'.
31 (log-edit-extract-headers): Separate the summary, when extracted
32 from header, from the rest of the message with an empty line.
33
34 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
35 line, if present, to the Summary header.
36
37 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
40 in current-buffer (bug#16029).
41
42 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
43
44 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
45 (debugger-mode-map): Bind it.
46 (debugger--backtrace-base): New function.
47 (debugger-eval-expression): Use it.
48 (debugger-frame-number): Skip local vars when present.
49 (debugger--locals-visible-p, debugger--insert-locals)
50 (debugger--show-locals, debugger--hide-locals): New functions.
51
52 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
53
54 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
55 "LC_ALL".
56 (tramp-get-remote-locale): New defun.
57 (tramp-open-connection-setup-interactive-shell): Use it.
58
59 2013-12-02 Leo Liu <sdl.web@gmail.com>
60
61 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
62
63 * progmodes/sh-script.el (sh-shell-process):
64 * progmodes/octave.el (inferior-octave-process-live-p):
65 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
66 (gdb-inferior-io-sentinel):
67 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
68
69 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
70
71 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
72 `save-selected-window' to `log-edit-hide-buf'. This makes
73 `log-edit-show-files' idempotent.
74 (log-edit-show-files): Mark the new window as dedicated.
75
76 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
77
78 * vc/log-edit.el (log-edit-mode-map): Add binding for
79 `log-edit-kill-biffer'.
80 (log-edit-hide-buf): Add a FIXME comment.
81 (log-edit-add-new-comment): New function, extracted from
82 `log-edit-done'.
83 (log-edit-done, log-edit-add-to-changelog): Use it.
84 (log-edit-kill-buffer): New command.
85
86 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
87
88 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
89 instead of killing the buffer.
90
91 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
94
95 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
96
97 * net/eww.el (eww-form-checkbox-selected-symbol)
98 (eww-form-checkbox-symbol): New customizable variable.
99 (eww-form-checkbox, eww-toggle-checkbox):
100 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
101
102 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
103 (shr--get-media-pref, shr--extract-best-source): New function.
104 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
105 no :src tag was specified.
106
107 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
108 (eww-render): Handle `eww-use-external-browser-for-content-type'.
109 Use \\` to match beginning of string instead of ^.
110 (eww-browse-with-external-browser): Provide optional URL parameter.
111 (eww-render): Set `eww-current-title' back to "".
112
113 * net/shr.el (shr-tag-video): Display content for video if no
114 poster is available.
115 (shr-tag-audio): Add support for <audio> tag.
116
117 * net/eww.el (eww-text-input-types): : New const.
118 (eww-process-text-input): Treat input types in
119 `eww-text-input-types' as text.
120
121 * net/shr.el (shr-tag-table): Fix comment typo.
122
123 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
124
125 * net/eww.el (eww-follow-link): New command to avoid reloading
126 pages when we follow #target links (bug#15243).
127 (eww-quit): Special mode buffers shouldn't query before exiting.
128
129 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
130
131 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
132 forms.
133
134 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
135
136 * net/eww.el (eww-restore-history): Update the window title after
137 moving in the history.
138 (eww-current-dom): New variable used to save the current DOM.
139
140 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
141
142 * vc/log-edit.el (log-edit-mode-map): Add binding for
143 `log-edit-beginning-of-line'.
144 (log-edit-setup-add-author): New user option.
145 (log-edit-beginning-of-line): New command.
146 (log-edit): Move major mode call above the contents setup so that
147 the local variable values are already applied.
148 (log-edit): Only insert "Author: " when
149 `log-edit-setup-add-author' is non-nil.
150 (log-edit): When SETUP is non-nil, position point after ": "
151 instead of point-min.
152
153 2013-12-01 Glenn Morris <rgm@gnu.org>
154
155 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
156
157 2013-11-30 Eli Zaretskii <eliz@gnu.org>
158
159 * startup.el (fancy-splash-frame): On MS-Windows, trigger
160 redisplay to make sure the initial frame gets a chance to become
161 visible. (Bug#16014)
162
163 2013-11-30 Martin Rudalics <rudalics@gmx.at>
164
165 Support resizing frames and windows pixelwise.
166 * cus-start.el (frame-resize-pixelwise)
167 (window-resize-pixelwise): New entries.
168 * emacs-lisp/debug.el (debug): Use window-total-height instead
169 of window-total-size.
170 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
171 * help.el (describe-bindings-internal): Call help-buffer
172 (temp-buffer-max-width): New option.
173 (resize-temp-buffer-window, help-window-setup)
174 (with-help-window): Rewrite.
175 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
176 dragging dividers.
177 * window.el (frame-char-size, window-min-pixel-height)
178 (window-safe-min-pixel-height, window-safe-min-pixel-width)
179 (window-min-pixel-width, window-safe-min-pixel-size)
180 (window-combination-p, window-safe-min-size)
181 (window-resizable-p, window--size-to-pixel)
182 (window--pixel-to-size, window--resize-apply-p): New functions.
183 (window-safe-min-height): Fix doc-string.
184 (window-size, window-min-size, window--min-size-1)
185 (window-sizable, window-sizable-p, window--min-delta-1)
186 (window-min-delta, window--max-delta-1, window-max-delta)
187 (window--resizable, window--resizable-p, window-resizable)
188 (window-full-height-p, window-full-width-p, window-at-side-p)
189 (window--in-direction-2, window-in-direction)
190 (window--resize-reset-1, window--resize-mini-window)
191 (window-resize, window-resize-no-error)
192 (window--resize-child-windows-normal)
193 (window--resize-child-windows, window--resize-siblings)
194 (window--resize-this-window, window--resize-root-window)
195 (window--resize-root-window-vertically)
196 (adjust-window-trailing-edge, enlarge-window, shrink-window)
197 (maximize-window, minimize-window, delete-window)
198 (quit-restore-window, window-split-min-size, split-window)
199 (balance-windows-2, balance-windows)
200 (balance-windows-area-adjust, balance-windows-area)
201 (window--state-get-1, window-state-get, window--state-put-1)
202 (window--state-put-2, window-state-put)
203 (display-buffer-record-window, window--display-buffer):
204 Make functions handle pixelwise sizing of windows.
205 (display-buffer--action-function-custom-type)
206 (display-buffer-fallback-action):
207 Add display-buffer-in-previous-window.
208 (display-buffer-use-some-window): Resize window to height it had
209 before.
210 (fit-window-to-buffer-horizontally): New option.
211 (fit-frame-to-buffer): Describe new values.
212 (fit-frame-to-buffer-bottom-margin): Replace with
213 fit-frame-to-buffer-margins.
214 (window--sanitize-margin): New function.
215 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
216 using window-text-pixel-size.
217
218 2013-11-30 Glenn Morris <rgm@gnu.org>
219
220 * emacs-lisp/bytecomp.el (byte-compile-form):
221 Make the `interactive-only' warning like the `obsolete' one.
222 * comint.el (comint-run):
223 * files.el (insert-file-literally, insert-file):
224 * replace.el (replace-string, replace-regexp):
225 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
226 (goto-line, insert-buffer, next-line, previous-line):
227 Tweak `interactive-only' spec.
228
229 Stop keeping (most) generated cedet grammar files in the repository.
230 * Makefile.in (semantic): New.
231 (compile-main): Depend on semantic.
232
233 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
234
235 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
236 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
237
238 * uniquify.el (uniquify-buffer-name-style): Change default.
239
240 * loadup.el: Preload "uniquify".
241
242 * time.el (display-time-update): Update all mode lines (bug#15999).
243
244 * electric.el (electric-indent-mode): Enable by default.
245 * loadup.el: Preload "electric".
246
247 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
248
249 * emacs-lisp/helpers.el (string-empty-p): New function.
250 (string-blank-p): New function.
251
252 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
253
254 * imenu.el (imenu--index-alist): Add missing dot to the docstring
255 (Bug#14029).
256
257 2013-11-29 Andreas Politz <politza@fh-trier.de>
258 * imenu.el (imenu--subalist-p): Don't error on non-conses and
259 allow non-lambda lists as functions.
260 (imenu--in-alist): Don't recurse into non-subalists.
261 (imenu): Don't pass function itself as an argument (Bug#14029).
262
263 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
264
265 * progmodes/python.el (python-mode-map): Remove binding for ":".
266 (python-indent-electric-colon): Remove command.
267 (python-indent-post-self-insert-function): Integrate the previous code
268 of python-indent-electric-colon. Make it conditional on
269 electric-indent-mode.
270 (python-mode): Add ?: to electric-indent-chars.
271 Move python-indent-post-self-insert-function to the end of
272 post-self-insert-hook.
273
274 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
275
276 * doc-view.el (doc-view-goto-page): Update mode-line.
277
278 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
279
280 2013-11-27 Glenn Morris <rgm@gnu.org>
281
282 * international/charprop.el, international/uni-bidi.el:
283 * international/uni-category.el, international/uni-combining.el:
284 * international/uni-comment.el, international/uni-decimal.el:
285 * international/uni-decomposition.el, international/uni-digit.el:
286 * international/uni-lowercase.el, international/uni-mirrored.el:
287 * international/uni-name.el, international/uni-numeric.el:
288 * international/uni-old-name.el, international/uni-titlecase.el:
289 * international/uni-uppercase.el:
290 Remove generated files from VCS repository.
291
292 2013-11-27 Eli Zaretskii <eliz@gnu.org>
293
294 * filenotify.el (file-notify-add-watch): Don't special-case
295 w32notify when computing the directory to watch.
296
297 2013-11-27 Glenn Morris <rgm@gnu.org>
298
299 Make bootstrap without generated uni-*.el files possible again.
300 * loadup.el: Update command-line-args checking for unidata-gen.
301 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
302 * composite.el, international/characters.el:
303 Handle unicode tables being undefined.
304
305 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
306 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
307 (compile-main): Depend on leim rule.
308 (leim): New rule.
309 * loadup.el: Move leim-list.el to leim/ subdirectory.
310 * startup.el (normal-top-level): No more leim directory.
311 * international/ja-dic-cnv.el (skkdic-convert):
312 Disable version-control and autoloads in output files.
313 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
314 Disable version-control and autoloads in output files.
315 * leim/quail: Move here from ../leim.
316 * leim/quail/hangul.el (hangul-input-method-activate):
317 Add autoload cookie.
318 (generated-autoload-load-name): Set file-local value.
319 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
320 (generated-autoload-load-name): Set file-local value.
321
322 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
323
324 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
325 (eww-add-bookmark): ask confirmation when add to bookmarks
326 (eww-quit): ask confirmation before quitting eww
327
328 2013-11-26 Eli Zaretskii <eliz@gnu.org>
329
330 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
331 reading output from Diff on MS-Windows and MS-DOS.
332
333 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
334
335 * emacs-lisp/helpers.el (string-reverse): New function.
336
337 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
338
339 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
340 names on MS Windows, like "/[::1]:".
341
342 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
343 SWITCHES.
344
345 2013-11-26 Glenn Morris <rgm@gnu.org>
346
347 * progmodes/python.el (python-indent-guess-indent-offset):
348 Avoid corner-case error. (Bug#15975)
349
350 Preload leim-list.el. (Bug#4789)
351 * loadup.el: Load leim-list.el when found.
352 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
353
354 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
355
356 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
357
358 * emacs-lisp/helpers.el (string-join): New function.
359
360 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
361
362 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
363 Mark as obsolete and replace it with a symbol property.
364 (byte-compile-form): Use new 'interactive-only property.
365 * comint.el, files.el, replace.el, simple.el:
366 Apply new 'interactive-only properly.
367
368 2013-11-25 Martin Rudalics <rudalics@gmx.at>
369
370 * window.el (display-buffer-at-bottom): Make sure that
371 split-window-sensibly creates the new window on bottom
372 (Bug#15961).
373
374 2013-11-23 David Kastrup <dak@gnu.org>
375
376 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
377 on the conflict markers when available.
378 (smerge--get-marker): New function.
379 (smerge-end-re, smerge-base-re): Add subgroup.
380
381 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * frame.el (handle-focus-in, handle-focus-out): Add missing
384 interactive spec.
385
386 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
387
388 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
389 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
390
391 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
392
393 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
394 (gomoku--last-pos): New var.
395 (gomoku--intangible-chars): New const.
396 (gomoku--intangible): New function.
397 (gomoku-mode): Use it. Derive from special-mode.
398 (gomoku-move-up): Adjust line count.
399 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
400 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
401 Simplify accordingly.
402
403 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
404 Remove blink-cursor code.
405 (blink-cursor-timer-function, blink-cursor-suspend):
406 Don't special-case GUIs.
407 (blink-cursor-mode): Use focus-in/out-hook.
408
409 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
410
411 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
412 work when annotation is invisible (Bug#13886).
413
414 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
415
416 * json.el (json-alist-p): Only return non-nil if the alist has
417 simple keys (Bug#13518).
418
419 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
420
421 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
422 when control-statement is the first statement in a buffer (Bug#15956).
423
424 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
425
426 * imenu.el (imenu-generic-skip-comments-and-strings):
427 New option (Bug#15560).
428 (imenu--generic-function): Use it.
429
430 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
431
432 * minibuffer.el (completion--in-region-1): Scroll the correct
433 window. (Bug#13898)
434
435 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
436
437 * emacs-lisp/helpers.el: Add some string helpers.
438 (string-trim-left): Removes leading whitespace.
439 (string-trim-right): Removes trailing whitespace.
440 (string-trim): Removes leading and trailing whitespace.
441
442 * subr.el (string-suffix-p): New function.
443
444 2013-11-23 Glenn Morris <rgm@gnu.org>
445
446 * progmodes/python.el (python-shell-send-file):
447 Add option to delete file when done. (Bug#15647)
448 (python-shell-send-string, python-shell-send-region): Use it.
449
450 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
451
452 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
453 to set buffer-read-only to t, never to nil. (Bug#15938)
454
455 * textmodes/tex-mode.el (latex-noindent-environments):
456 Add safe-local-variable property. (Bug#15936)
457
458 2013-11-23 Glenn Morris <rgm@gnu.org>
459
460 * textmodes/enriched.el (enriched-mode): Doc fix.
461 * emacs-lisp/authors.el (authors-renamed-files-alist):
462 Add enriched.doc -> enriched.txt.
463
464 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
465
466 2013-11-22 Leo Liu <sdl.web@gmail.com>
467
468 * progmodes/octave.el (inferior-octave-startup): Spit out error
469 message.
470
471 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
472
473 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
474 Improve docstring.
475 Add :version.
476 (ruby-encoding-magic-comment-style): Add :version.
477
478 2013-11-22 Leo Liu <sdl.web@gmail.com>
479
480 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
481 (Bug#15076)
482 (octave-help-mode): Adapt to change to help-mode-finish to use
483 derived-mode-p on 2013-09-17.
484 (inferior-octave-prompt): Also match octave-gui.
485 (octave-kill-process): Don't ask twice. (Bug#10564)
486
487 2013-11-22 Leo Liu <sdl.web@gmail.com>
488
489 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
490 (inferior-octave-startup, inferior-octave-check-process)
491 (inferior-octave-track-window-width-change)
492 (octave-completion-at-point, octave-eldoc-function): Use it.
493 (octave-kill-process): Provide confirmation. (Bug#10564)
494
495 2013-11-21 Leo Liu <sdl.web@gmail.com>
496
497 * progmodes/octave.el (octave-mode, inferior-octave-mode):
498 Fix obsolete variable comment-use-global-state.
499
500 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
501
502 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
503 Add `octave-source-file'.
504 (octave-source-file): New function. (Bug#15935)
505
506 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
507
508 * net/eww.el (eww-local-regex): New variable.
509 (eww): Use it to detect localhost and similar.
510
511 2013-11-21 Leo Liu <sdl.web@gmail.com>
512
513 Add completion for command `ag'.
514 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
515 (pcomplete/ag): New function.
516 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
517
518 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
521 (bug#14646).
522 (make-obsolete): Remove interactive spec.
523
524 2013-11-21 Glenn Morris <rgm@gnu.org>
525
526 * startup.el (command-line-1): Use path-separator with -L.
527
528 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
529
530 * emacs-lisp/package.el (describe-package-1): Add package archive
531 to shown fields.
532
533 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
534
535 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
536 Change default to "# encoding: %s" to differentiate it from the
537 default Ruby encoding comment template.
538
539 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
540
541 * ses.el (ses-mode): Doc fix. (Bug#14748)
542
543 2013-11-20 Leo Liu <sdl.web@gmail.com>
544
545 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
546
547 2013-11-19 Dan Nicolaescu <dann@gnu.org>
548
549 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
550 when rebase or bisect are in progress.
551
552 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
553
554 * filenotify.el (file-notify-add-watch): Doc fix.
555
556 2013-11-19 Leo Liu <sdl.web@gmail.com>
557
558 * obsolete/rcompile.el: Mark obsolete.
559
560 * progmodes/compile.el (compilation-start)
561 (compilation-goto-locus, compilation-find-file):
562 Pass no-display-ok and handle nil value from display-buffer.
563 (Bug#13594)
564
565 * window.el (display-buffer-alist, display-buffer): Document the
566 new parameter no-display-ok. Return either a window or nil
567 but never a non-window value.
568
569 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
570
571 * electric.el (electric-indent-mode-map): Remove.
572 (electric-indent-mode): Change the global-map instead (bug#15915).
573
574 * textmodes/text-mode.el (paragraph-indent-minor-mode):
575 Use add-function.
576
577 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
578
579 * emacs-lisp/nadvice.el (remove-function): Align with
580 add-function's behavior.
581
582 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
583 (gdb--string-regexp): New constant.
584 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
585 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
586 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
587 submatch 1.
588 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
589 Adjust use accordingly.
590 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
591
592 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
593
594 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
595 interpolation curlies (Bug#15914).
596
597 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
598
599 * calc/calc.el (calc-context-sensitive-enter): New variable.
600 (calc-enter): Use `calc-context-sensitive-enter'.
601
602 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
603
604 * progmodes/cfengine.el: Version bump.
605 (cfengine-cf-promises): New defcustom to locate cf-promises.
606 (cfengine3-vartypes): Add new "data" type.
607 (cfengine3--current-word): New function to get current name-like
608 word or its bounds.
609 (cfengine3--current-function): New function to look up a CFEngine
610 function's definition.
611 (cfengine3-format-function-docstring): New function.
612 (cfengine3-make-syntax-cache): New function.
613 (cfengine3-documentation-function): New function: ElDoc glue.
614 (cfengine3-completion-function): New function: completion glue.
615 (cfengine3-mode): Set `compile-command',
616 `eldoc-documentation-function', and add to
617 `completion-at-point-functions'.
618
619 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
620
621 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
622 `tramp-current-connection'.
623
624 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
625
626 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
627 nil/self/true/false with "end of symbol".
628
629 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
630
631 * subr.el (version-regexp-alist): Fix a typo.
632
633 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
634
635 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
636 "en_US.utf8" and "LC_CTYPE" to "".
637 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
638 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
639
640 2013-11-15 Leo Liu <sdl.web@gmail.com>
641
642 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
643
644 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * progmodes/gud.el (ctl-x-map):
647 Remove C-x SPC binding. (Bug#12342)
648 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
649
650 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
651
652 * subr.el (version-regexp-alist):
653 Recognize hg, svn and darcs versions as snapshot versions.
654
655 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
656 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
657 (ruby--encoding-comment-required-p): Extract from
658 `ruby-mode-set-encoding'.
659 (ruby-mode-set-encoding): Add the ability to always insert an
660 utf-8 encoding comment. Fix and simplify coding comment update
661 logic.
662
663 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
664
665 * net/tramp-gvfs.el (top): Run init code only when
666 `tramp-gvfs-enabled' is not nil.
667 (tramp-gvfs-enabled): Check also :system bus.
668
669 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 Sync with upstream verilog-mode revision 78e66ba.
672 * progmodes/verilog-mode.el (verilog-end-of-defun)
673 (verilog-type-completion, verilog-get-list): Remove unused funcs.
674 (verilog-get-end-of-defun): Remove unused argument.
675 (verilog-comment-depth): Remove unused local `e'.
676 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
677 Don't pass arg to verilog-get-end-of-defun.
678
679 2013-11-14 Glenn Morris <rgm@gnu.org>
680
681 * obsolete/assoc.el (aget): Prefix dynamic variable.
682
683 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
684
685 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
686
687 * widget.el, hfy-cmap.el: Remove bogus package version number.
688
689 2013-11-13 Glenn Morris <rgm@gnu.org>
690
691 * replace.el (replace-eval-replacement):
692 Try to give more helpful error message. (Bug#15836)
693
694 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
695 (archive-7z-update): Avoid custom type mismatches.
696
697 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
698
699 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
700
701 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
702 address can be empty.
703
704 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
705 Accept nil SWITCHES.
706 (tramp-gvfs-handle-write-region): Implement APPEND.
707
708 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
709
710 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
711 binary "|" operator and closing block args delimiter.
712 Remove FIXME comment referring to Ruby 1.8-only syntax.
713 (ruby-smie--implicit-semi-p): Not after "|" operator.
714 (ruby-smie--closing-pipe-p): New function.
715 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
716 (ruby-smie-rules): Indent after "|".
717
718 2013-11-12 Glenn Morris <rgm@gnu.org>
719
720 * ps-print.el (ps-face-attribute-list):
721 Handle anonymous faces. (Bug#15827)
722
723 2013-11-12 Martin Rudalics <rudalics@gmx.at>
724
725 * window.el (display-buffer-other-frame): Fix doc-string.
726 (Bug#15868)
727
728 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
729
730 * subr.el (force-mode-line-update): Delete, move to buffer.c.
731
732 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
733
734 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
735 (tramp-sh-handle-file-local-copy): Don't write a message when
736 saving temporary files.
737
738 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
739 both directories are remote.
740 (tramp-smb-handle-directory-files): Do not return double entries.
741 Do not expand full file names.
742 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
743 (tramp-smb-handle-write-region): Implement APPEND.
744 (tramp-smb-get-stat-capability): Fix a stupid bug.
745
746 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
749
750 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
751
752 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
753 throwing error over malformed let/let* (bug#15814).
754
755 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
756
757 * iswitchb.el (iswitchb-mode): Mark obsolete.
758
759 2013-11-11 Glenn Morris <rgm@gnu.org>
760
761 * international/uni-bidi.el, international/uni-category.el:
762 * international/uni-name.el, international/uni-numeric.el:
763 Regenerate for Unicode 6.3.0.
764
765 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
766
767 * net/tramp.el (tramp-methods):
768 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
769 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
770
771 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
772
773 * progmodes/sh-script.el (sh-font-lock-keywords-var):
774 Force highlighting text after Summary keyword in doc face for rpm.
775
776 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
777
778 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
779 available and the word has no wildcards, append one to the grep pattern.
780 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
781 (ispell-complete-word): Call `ispell-lookup-words' with the value
782 independent of `ispell-look-p'.
783
784 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
785
786 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
787 Not after "||".
788 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
789 their parent.
790
791 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
792
793 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
794 (ruby-font-lock-keywords): Use backquote.
795
796 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
797
798 * progmodes/ruby-mode.el (ruby-smie--forward-token)
799 (ruby-smie--backward-token): Only consider full-string matches.
800
801 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
802
803 * faces.el (describe-face): Add distant-foreground.
804
805 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
806
807 * progmodes/ruby-mode.el: Improve encoding comment handling.
808 (ruby-encoding-magic-comment-style): New option.
809 (ruby-custom-encoding-magic-comment-template): New option.
810 (ruby--insert-coding-comment, ruby--detect-encoding):
811 New functions extracted from `ruby-mode-set-encoding'.
812 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
813 to control the style of the auto-inserted encoding comment.
814
815 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
816
817 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
818 Use `smie-backward-sexp' with token argument.
819
820 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
821
822 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
823 Remove instrumentation code.
824
825 2013-11-08 Glenn Morris <rgm@gnu.org>
826
827 * progmodes/autoconf.el (autoconf-mode):
828 Tweak comment-start-skip. (Bug#15822)
829
830 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
833 at bobp (bug#15826).
834 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
835
836 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
837
838 * man.el (Man-start-calling): New macro, extracted from
839 Man-getpage-in-background.
840 (Man-getpage-in-background): Use it.
841 (Man-update-manpage): New command.
842 (Man-mode-map): Bind it.
843
844 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
845
846 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
847 of "and", "or", "&&" and "||".
848 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
849 argument. Prohibit opening curly brace because it could only be a
850 block opener in that position.
851 (ruby-smie--forward-token, ruby-smie--backward-token):
852 Separate "|" from "&" or "*" going after it. That can happen in block
853 arguments.
854 (ruby-smie--indent-to-stmt): New function, seeks the end of
855 previous statement or beginning of buffer.
856 (ruby-smie-rules): Use it.
857 (ruby-smie-rules): Check if there's a ":" before a curly block
858 opener candidate; if there is, it's a hash.
859
860 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
861
862 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
863 (cl--block-wrapper): Fix last accidental change.
864
865 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
866
867 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
868 Instrument, in order to hunt failure on hydra.
869
870 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
871
872 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
873 malformed bindings form (bug#15814).
874
875 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
876
877 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
878 "." compared to " @ ". This incidentally fixes some indentation
879 examples with "do".
880 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
881 (ruby-smie-grammar): New tokens: "and" and "or".
882 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
883 Exclude "and" and "or". Remove "do" in order to work around token
884 priorities.
885 (ruby-smie-rules): Add all infix tokens. Handle the case of
886 beginning-of-buffer.
887
888 2013-11-06 Glenn Morris <rgm@gnu.org>
889
890 * Makefile.in (setwins_almost, setwins_for_subdirs):
891 Avoid accidental matches.
892
893 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
894
895 * menu-bar.el (popup-menu): Use key-binding.
896
897 2013-11-06 Eli Zaretskii <eliz@gnu.org>
898
899 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
900 menus, support also the menus produced by minor modes.
901 (Bug#15817)
902
903 2013-11-06 Leo Liu <sdl.web@gmail.com>
904
905 * thingatpt.el (thing-at-point-looking-at): Add optional arg
906 DISTANCE to bound the search. All uses changed. (Bug#15808)
907
908 2013-11-06 Glenn Morris <rgm@gnu.org>
909
910 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
911 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
912 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
913
914 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
915
916 * electric.el (electric-indent-just-newline): New command.
917 (electric-indent-mode-map): New keymap.
918 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
919 Re-add :group which weren't redundant.
920
921 * electric.el (electric-indent-local-mode): New minor mode.
922 (electric-indent-functions-without-reindent): New var.
923 (electric-indent-post-self-insert-function): Use it.
924 * emacs-lisp/gv.el (buffer-local-value): Add setter.
925
926 2013-11-05 Eli Zaretskii <eliz@gnu.org>
927
928 * international/quail.el (quail-help): Be more explicit about the
929 meaning of the labels shown on the keys. (Bug#15800)
930
931 * startup.el (normal-top-level): Load the subdirs.el files before
932 setting the locale environment. (Bug#15805)
933
934 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
937 via arguments so as to get the right ones (bug#15418).
938
939 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
940
941 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
942
943 Fix problems found while writing a test suite.
944
945 * net/tramp-compat.el (tramp-compat-load): New defun.
946 * net/tramp.el (tramp-handle-load): Use it.
947
948 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
949 "(numberp ok-if-already-exists)" correctly.
950
951 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
952
953 * international/characters.el (glyphless-char-display-control):
954 Add usage note.
955
956 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
957
958 * progmodes/python.el (python-mode):
959 * progmodes/scheme.el (scheme-mode):
960 * progmodes/prolog.el (prolog-mode):
961 * progmodes/ruby-mode.el (ruby-mode):
962 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
963 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
964
965 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
966
967 * rect.el (rectangle--highlight-for-redisplay):
968 * emacs-lisp/smie.el (smie--next-indent-change):
969 Use buffer-chars-modified-tick.
970
971 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
972
973 * electric.el (electric-indent-post-self-insert-function):
974 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
975
976 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
977
978 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
979
980 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
981
982 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
983 (bug#15786).
984
985 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
988
989 * progmodes/python.el: Fix up last change.
990 (python-shell--save-temp-file): New function.
991 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
992 `string' comes from the current buffer.
993 (python-shell-send-string-no-output): Remove `msg' arg.
994 (python--use-fake-loc): New var.
995 (python-shell-buffer-substring): Obey it. Try to compensate for the
996 extra coding line added by python-shell--save-temp-file.
997 (python-shell-send-region): Use python-shell--save-temp-file and
998 python-shell-send-file directly. Add `nomain' argument.
999 (python-shell-send-buffer): Use python-shell-send-region.
1000 (python-electric-pair-string-delimiter): New function.
1001 (python-mode): Use it.
1002
1003 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1004
1005 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1006 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1007 environment and decoding all of the default-directory's to here
1008 from command-line.
1009 (command-line): Decode also argv[0].
1010
1011 * loadup.el: Error out if default-directory is a multibyte string
1012 when we are dumping.
1013
1014 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1015
1016 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1017
1018 * emacs-lisp/package.el (package-menu-mode)
1019 (package-menu--print-info, package-menu--archive-predicate):
1020 Add Archive column to package list.
1021
1022 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1023
1024 Fix problems found while writing a test suite.
1025
1026 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1027 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1028 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1029 to nil when running original file name handler. Otherwise,
1030 there are problems with constructs like "$$FOO".
1031
1032 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1033 for `localname'.
1034
1035 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1036
1037 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1038
1039 * subr.el (version<, version<=, version=):
1040 Update docstrings with information for snapshot versions.
1041
1042 * helpers.el: New library for misc helper functions.
1043 (hash-table-keys): New function returning a list of hash keys.
1044 (hash-table-values): New function returning a list of hash values.
1045
1046 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1047
1048 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1049 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1050
1051 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1052
1053 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1054 checking whether point is after a 1-letter word.
1055
1056 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1057
1058 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1059 Don't infloop when expanding region over `multiline' syntax-type that
1060 begins a line (bug#15778).
1061
1062 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1063
1064 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1065 Make it into a proper minor mode.
1066 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1067 (rectangle-mark-mode-map): New keymap.
1068 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1069
1070 2013-11-04 Glenn Morris <rgm@gnu.org>
1071
1072 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1073
1074 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1077 (ruby-smie-rules): Use smie-rule-parent instead.
1078
1079 * emacs-lisp/smie.el (smie-rule-parent): Always call
1080 smie-indent-virtual rather than only for hanging tokens.
1081 (smie--next-indent-change): New helper command.
1082
1083 2013-11-03 Glenn Morris <rgm@gnu.org>
1084
1085 * Makefile.in (abs_srcdir): Remove.
1086 (emacs): Unset EMACSLOADPATH.
1087
1088 2013-11-02 Glenn Morris <rgm@gnu.org>
1089
1090 * Makefile.in (EMACS): Use a relative filename.
1091 (abs_top_builddir): Remove.
1092 (custom-deps, finder-data, autoloads): Use --chdir.
1093
1094 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1095
1096 Use relative filenames in TAGS files.
1097 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1098 (lisptagsfiles4, TAGS): Use relative file names.
1099 (TAGS-LISP): Remove.
1100 (maintainer-clean): No more TAGS-LISP file.
1101
1102 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1103 (lisptagsfiles4): Use absolute filenames again.
1104 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1105 Remove all *loaddefs files, not just the first. Remove esh-groups.
1106 (maintainer-clean): Delete TAGS, TAGS-LISP.
1107
1108 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1109
1110 * emacs-lisp/package.el (package-version-join):
1111 Recognize snapshot versions.
1112
1113 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1114
1115 * subr.el (version-regexp-alist): Add support for snapshot versions.
1116
1117 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1118
1119 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1120 New function, replacement for `smie-rule-parent' for when we want to
1121 skip over our direct parent if it's an assignment token..
1122 (ruby-smie-rules): Use it.
1123
1124 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1125
1126 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1127 unconditionally. Remove now unnecessary forward declarations.
1128 Remove XEmacs-specific setup.
1129 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1130 (ruby-font-lock-syntactic-keywords)
1131 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1132 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1133 (ruby-here-doc-end-syntax): Remove.
1134 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1135 defined as function.
1136
1137 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1138
1139 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1140
1141 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1142
1143 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1144 table and abbrev table, `define-derived-mode' does that for us
1145 anyway.
1146
1147 2013-11-01 Glenn Morris <rgm@gnu.org>
1148
1149 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1150 files is atomic for some time, so no parallel compilation issues).
1151
1152 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1153
1154 * faces.el (face-x-resources): Add :distant-foreground.
1155 (region): Use :distant-foreground for gtk and ns.
1156
1157 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1158
1159 Allow multiple bibliographies when BibLaTeX is used rather than
1160 BibTeX.
1161 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1162 (reftex-locate-bibliography-files): Us it.
1163
1164 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1165
1166 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1167 allow comments in pbm files.
1168
1169 * term/w32-win.el (dynamic-library-alist): Support newer versions
1170 of libjpeg starting with v7: look only for the DLL from the
1171 version against which Emacs was built.
1172 Support versions of libpng beyond 1.4.x.
1173 Support libtiff v4.x.
1174
1175 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1176
1177 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1178 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1179 Add property :safe.
1180 (ruby-deep-arglist): Add property :type.
1181
1182 2013-10-31 Glenn Morris <rgm@gnu.org>
1183
1184 * Makefile.in (custom-deps, finder-data): No need to setq the target
1185 variables, we are in the right directory and the defaults work fine.
1186
1187 2013-10-30 Glenn Morris <rgm@gnu.org>
1188
1189 * Makefile.in (autoloads): Do not use abs_lisp.
1190
1191 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1192 `newline' does not respect `standard-output', so use `princ'.
1193
1194 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1195
1196 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1197 * buff-menu.el (Buffer-menu--unmark): New function.
1198 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1199
1200 2013-10-30 Glenn Morris <rgm@gnu.org>
1201
1202 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1203
1204 * emacs-lisp/package.el (lm-homepage): Declare.
1205
1206 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1207 Fix doc typos.
1208
1209 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1210
1211 * Makefile.in (finder-data, autoloads, update-subdirs)
1212 (compile-main, compile-clean, compile-always, bootstrap-clean):
1213 Check return value of cd.
1214 (compile-calc): Remove.
1215
1216 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1217
1218 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1219
1220 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1221 (byte-compile-and-folded): New function.
1222 (=, <, >, <=, >=): Use it.
1223
1224 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1225 (path-separator, null-device, buffer-file-coding-system)
1226 (lpr-headers-switches): Check system-type before modifying them.
1227 (find-buffer-file-type-coding-system): Mark obsolete.
1228 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1229 find-file-not-found-set-buffer-file-coding-system.
1230 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1231 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1232 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1233 (w32-direct-print-region-helper, w32-direct-print-region-function)
1234 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1235 * startup.el (normal-top-level-add-subdirs-to-load-path):
1236 * ps-print.el (ps-print-region-function):
1237 * lpr.el (print-region-function): Use new name.
1238
1239 * subr.el (custom-declare-variable-early): Remove function.
1240 (custom-declare-variable-list): Remove var.
1241 (error, user-error): Remove `while' loop.
1242 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1243 (user-emacs-directory-warning, locate-user-emacs-file):
1244 Move to files.el.
1245 * simple.el (read-quoted-char-radix, read-quoted-char):
1246 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1247 Move from subr.el.
1248 * custom.el (custom-declare-variable-list): Don't process
1249 custom-declare-variable-list.
1250
1251 * progmodes/python.el (python-shell-get-buffer): New function.
1252 (python-shell-get-process): Use it.
1253 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1254 Python which encoding was used. Don't split-string since we only care
1255 about the first line. Return the temp-file, if applicable.
1256 (python-shell-send-region): Tell compile.el how to turn locations in
1257 the temp-file into locations in the source buffer.
1258
1259 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1260
1261 * subr.el (undefined): Add missing behavior from the C code for
1262 unbound keys.
1263
1264 * rect.el: Use lexical-binding. Add new rectangular region support.
1265 (rectangle-mark): New command.
1266 (rectangle--region): New var.
1267 (deactivate-mark-hook): Reset rectangle--region.
1268 (rectangle--extract-region, rectangle--insert-for-yank)
1269 (rectangle--highlight-for-redisplay)
1270 (rectangle--unhighlight-for-redisplay): New functions.
1271 (region-extract-function, redisplay-unhighlight-region-function)
1272 (redisplay-highlight-region-function): Use them to handle
1273 rectangular region.
1274 * simple.el (region-extract-function): New var.
1275 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1276 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1277 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1278 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1279 (redisplay-unhighlight-region-function)
1280 (redisplay-highlight-region-function): New vars.
1281 (redisplay--update-region-highlight): New function.
1282 (pre-redisplay-function): Use it.
1283 (exchange-point-and-mark): Don't deactivate the mark before
1284 reactivate-it anyway.
1285 * comint.el (comint-kill-region): Remove yank-handler argument.
1286 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1287 (delete-char): Remove property, since it's now part of their
1288 default behavior.
1289 (self-insert-iso): Remove property since this command doesn't exist.
1290
1291 * emacs-lisp/package.el (package--download-one-archive)
1292 (describe-package-1): Don't query the user about final newline.
1293
1294 2013-10-29 Daniel Colascione <dancol@dancol.org>
1295
1296 * net/tramp.el (tramp-methods): Document new functionality.
1297 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1298 tramp-hostname-checker if method provides one instead of scanning
1299 argument list for "%h" to decide hostname acceptability.
1300
1301 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1302
1303 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1304 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1305 Handle COPY-CONTENTS. (Bug#15737)
1306
1307 2013-10-28 Daiki Ueno <ueno@gnu.org>
1308
1309 * epa-file.el
1310 (epa-file-cache-passphrase-for-symmetric-encryption):
1311 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1312
1313 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1314
1315 * image.el (defimage):
1316 (image-load-path): Doc fixes.
1317
1318 2013-10-27 Alan Mackenzie <acm@muc.de>
1319
1320 Indent statements in macros following "##" correctly.
1321 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1322 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1323
1324 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1325
1326 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1327
1328 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1329
1330 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1331 after `=' is probably a new expression.
1332
1333 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1334
1335 * man.el (man-imenu-title): New option.
1336 (Man-mode-map): Add menu. (Bug#15722)
1337 (Man-mode): Add imenu to menu.
1338
1339 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1340
1341 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1342 specific in what the first arg can be: a non-keyword word,
1343 string/regexp/percent literal opener, opening paren, or unary
1344 operator followed directly by word.
1345
1346 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1347
1348 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1349 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1350 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1351 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1352 Remove vars, they do not apply any more.
1353 (prolog-mode-abbrev-table): Remove redundant declaration.
1354 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1355 (prolog-use-smie): Remove.
1356 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1357 supported by prolog-electric-if-then-else-flag.
1358 (prolog-mode-variables, prolog-menu): Use setq-local.
1359 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1360 Remove binding to `Backspace' since this key doesn't exist anyway.
1361 Remove bindings for electric self-inserting keys.
1362 (prog-mode): Assume it's defined.
1363 (prolog-post-self-insert): New function.
1364 (prolog-mode): Use it.
1365 (prolog-indent-line, prolog-indent-level)
1366 (prolog-find-indent-of-matching-paren)
1367 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1368 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1369 (prolog-goto-next-paren, prolog-in-string-or-comment)
1370 (prolog-tokenize, prolog-inside-mline-comment)
1371 (prolog-find-start-of-mline-comment): Remove functions.
1372 (prolog-find-unmatched-paren, prolog-clause-end)
1373 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1374 (prolog-electric--if-then-else): Rename from
1375 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1376 (prolog-tokenize-searchkey): Remove const.
1377 (prolog-clause-info): Use forward-sexp.
1378 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1379 (prolog-electric-if-then-else): Remove commands.
1380 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1381 for use in post-self-insert-hook.
1382 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1383 for use in post-self-insert-hook.
1384 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1385 for use in post-self-insert-hook.
1386 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1387 adapt it for use in post-self-insert-hook.
1388
1389 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1390
1391 * emacs-lisp/ert.el (ert-run-tests-interactively):
1392 Use `completing-read'. (Bug#9756)
1393
1394 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1395
1396 * simple.el (line-move): Call line-move-1 instead of
1397 line-move-visual when the current window hscroll is zero, but
1398 temporary-goal-column indicates we will need to hscroll as result
1399 of the movement. (Bug#15712)
1400
1401 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1402
1403 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1404 capitalization. Use :visible instead of :active.
1405 Fix `ruby-indent-exp' reference. Add menu items for the generic
1406 commands that are used with SMIE.
1407 (ruby-do-end-to-brace): Insert space after `{'.
1408
1409 2013-10-25 John Anthony <john@jo.hnanthony.com>
1410
1411 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1412
1413 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1414
1415 2013-10-25 Glenn Morris <rgm@gnu.org>
1416
1417 * vc/vc.el (vc-print-log): Don't use a working revision unless
1418 one was explicitly specified. (Bug#15322)
1419
1420 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1421
1422 * subr.el (add-to-list): Preserve return value in compiler-macro
1423 (bug#15692).
1424
1425 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1426
1427 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1428 result. Ask user to retry using '-all' flag. (Bug#15701)
1429
1430 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 * emacs-lisp/smie.el: New smie-config system.
1433 (smie-config): New defcustom.
1434 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1435 (smie-config-guess, smie-config-save): New commands.
1436 (smie-config--mode-local, smie-config--buffer-local)
1437 (smie-config--trace, smie-config--modefuns): New vars.
1438 (smie-config--advice, smie-config--mode-hook)
1439 (smie-config--setter, smie-config-local, smie-config--get-trace)
1440 (smie-config--guess-value, smie-config--guess): New functions.
1441 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1442 text properties. Treat "string fence" syntax like string syntax.
1443
1444 * progmodes/sh-script.el (sh-use-smie): Change default.
1445 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1446 (sh-var-value): Simplify by CSE.
1447 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1448 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1449 is used.
1450 (sh-guess-basic-offset): Use cl-incf.
1451 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1452
1453 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1454
1455 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1456 (bug#15699).
1457
1458 2013-10-24 Glenn Morris <rgm@gnu.org>
1459
1460 * Makefile.in (abs_top_srcdir): Remove.
1461 (update-subdirs): Use relative path to update-subdirs.
1462
1463 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1464
1465 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1466 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1467 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1468 Call unmsys--file-name before expand-file-name, not after it.
1469
1470 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1471
1472 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1473 (ert-test-skipped): New error.
1474 (ert-skip, ert-stats-skipped): New defuns.
1475 (ert--skip-unless): New macro.
1476 (ert-test-skipped): New struct.
1477 (ert--run-test-debugger, ert-test-result-type-p)
1478 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1479 (ert--stats-set-test-and-result, ert-char-for-test-result)
1480 (ert-string-for-test-result, ert-run-tests-batch)
1481 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1482 Handle skipped tests. (Bug#9803)
1483
1484 2013-10-24 Glenn Morris <rgm@gnu.org>
1485
1486 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1487
1488 * Makefile.in (abs_top_srcdir): New, set by configure.
1489 (update-subdirs): Correct build-aux location.
1490
1491 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1492
1493 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1494 value, whether we could auto-deduce `backend', or not.
1495
1496 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1497 with parameters" example. Simplify the "is it block or is it
1498 hash" check, but also make it more thorough.
1499
1500 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1501
1502 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1503
1504 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1505
1506 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1507 { if it is hanging.
1508
1509 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1510 :before ";".
1511
1512 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1513
1514 * progmodes/compile.el (compilation-directory-matcher)
1515 (compilation-page-delimiter):
1516 Support GNU Make-4.0 directory quoting. (Bug#15678)
1517
1518 2013-10-23 Leo Liu <sdl.web@gmail.com>
1519
1520 * ido.el (ido-tidy): Handle read-only text.
1521
1522 2013-10-23 Glenn Morris <rgm@gnu.org>
1523
1524 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1525 (emacs, compile, compile-always):
1526 Quote entities that might contain whitespace.
1527 (custom-deps, finder-data, autoloads): Use abs_lisp.
1528 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1529 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1530 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1531
1532 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1533
1534 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1535 Use `following-char'.
1536
1537 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1538
1539 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1540 * progmodes/ruby-mode.el (ruby-smie-rules):
1541 Remove corresponding workaround. Fix indentation rule of ";" so it
1542 also applies when ";" is the parent.
1543
1544 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1545
1546 * frame.el (display-screens, display-pixel-height)
1547 (display-pixel-width, display-mm-width, display-backing-store)
1548 (display-save-under, display-planes, display-color-cells)
1549 (display-visual-class, display-monitor-attributes-list):
1550 Mention the optional ‘display’ argument in doc strings.
1551
1552 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1553
1554 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1555 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1556
1557 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1558
1559 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1560 TODO. Add "." after " @ ".
1561 (ruby-smie--at-dot-call): New function. Checks if point at method
1562 call with explicit target.
1563 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1564 to the method name tokens when it precedes them.
1565 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1566 (ruby-smie-rules): Add rule for indentation before and after "."
1567 token.
1568
1569 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 * textmodes/remember.el (remember-diary-extract-entries):
1572 Avoid add-to-list.
1573
1574 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1575 an instruction.
1576
1577 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1578
1579 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1580 (ruby-smie--implicit-semi-p): Add new operator chars.
1581
1582 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1583 `smie-down-list'.
1584 (ruby-smie--args-separator-p): Check that there's no newline
1585 between method call and its arguments.
1586
1587 2013-10-20 Alan Mackenzie <acm@muc.de>
1588
1589 Allow comma separated lists after Java "implements".
1590
1591 * progmodes/cc-engine.el (c-backward-over-enum-header):
1592 Parse commas.
1593 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1594 from a "disallowed" list in enum fontification.
1595
1596 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1597
1598 * startup.el (default-frame-background-mode): Remove unused defvar.
1599
1600 * progmodes/verilog-mode.el (verilog-mode): Don't set
1601 comment-indent-function globally.
1602
1603 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1604
1605 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1606 Move Info menu item creation to ns-win.el.
1607
1608 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1609 in menu bar.
1610
1611 * menu-bar.el: Move GNUStep specific menus...
1612
1613 * term/ns-win.el (ns-initialize-window-system): ... to here.
1614
1615 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1616
1617 * simple.el (newline): Only run post-self-insert-hook when
1618 called interactively.
1619
1620 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1621
1622 * icomplete.el (icomplete-with-completion-tables): Add :version.
1623
1624 2013-10-19 Alan Mackenzie <acm@muc.de>
1625
1626 Fix fontification bugs with constructors and const.
1627
1628 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1629 CASE 2) Remove the check for the absence of a suffix construct
1630 after a function declaration with only types (no identifiers) in
1631 the parentheses. Also, accept a function declaration with just a
1632 type inside the parentheses, if this type can be positively
1633 recognised as such, or if a prefix keyword like "explicit" nails
1634 down the construct as a declaration.
1635
1636 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1637
1638 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1639 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1640 the problem whereby selecting a menu item that leads to a
1641 minibuffer prompt moves the cursor out of the minibuffer window,
1642 making it hard to type at the prompt. Suggested by Stefan Monnier
1643 <monnier@iro.umontreal.ca>.
1644
1645 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1646
1647 * menu-bar.el: Don't make Services menu.
1648
1649 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1650
1651 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1652 (ffap-alist): Use ffap-c++-mode for c++-mode.
1653 (ffap-c++-path): New variable.
1654 (ffap-c++-mode): New function.
1655
1656 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1657
1658 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1659
1660 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1661
1662 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1663 introduced on 2013-09-08, which results in an infinite loop
1664 requesting a password.
1665
1666 2013-10-18 Glenn Morris <rgm@gnu.org>
1667
1668 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1669
1670 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1671
1672 Sync with upstream verilog-mode revision 1a6ecec7.
1673 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1674 (verilog-mode-release-date): Remove.
1675 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1676 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1677 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1678 (verilog-auto-tieoff-ignore-regexp)
1679 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1680 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1681 (verilog-signals-with, verilog-dir-cache-preserving)
1682 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1683 Doc fixes.
1684 (verilog-case-fold): New option, to control case folding in
1685 regexp searches, bug597.
1686 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1687 (verilog-string-match-fold, verilog-in-paren-count)
1688 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1689 (verilog-at-close-struct-p): New functions.
1690 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1691 (verilog-forward-sexp, verilog-set-auto-endcomments):
1692 (verilog-leap-to-case-head): Handle "unique0" case.
1693 (verilog-in-constraint-re): New constant.
1694 (verilog-keywords, verilog-type-font-keywords):
1695 Add some SystemVerilog 1800-2012 keywords.
1696 (verilog-label-be): Remove unimplemented argument, bug669.
1697 (verilog-batch-execute-func): When batch expanding clear
1698 create-lockfiles to prevent spurious user locks when a file ends
1699 up not changing.
1700 (verilog-calculate-indent, verilog-calc-1)
1701 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1702 (verilog-do-indent): Fix indentation of nested constraints
1703 and structures.
1704 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1705 (verilog-auto-inst-param): Use verilog-string-match-fold.
1706 (verilog-read-inst-module-matcher):
1707 Fix AUTOINST on gate primitives with #1.
1708 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1709 Reads all user-defined typed variables.
1710 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1711 (verilog-signals-matching-regexp)
1712 (verilog-signals-not-matching-regexp, verilog-auto):
1713 Respect verilog-case-fold.
1714 (verilog-diff-report): Fix line count.
1715 (verilog-auto-assign-modport): Remove unused local `modi'.
1716 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1717 better handle multidimensional arrays.
1718 Fix packed array ports misadding bit index in AUTOINST, bug637.
1719 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1720 to not double-declare existing outputs and inputs, respectively.
1721 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1722 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1723 (verilog-sk-uvm-component): New skeleton.
1724 (verilog-submit-bug-report): Add verilog-case-fold,
1725 remove verilog-mode-release-date.
1726
1727 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1728
1729 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1730 as before.
1731
1732 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1733
1734 * textmodes/remember.el (remember): set buffer-offer-save in
1735 remember buffers (bug#13566).
1736
1737 2013-10-18 Daniel Colascione <dancol@dancol.org>
1738
1739 When evaluating forms in ielm, direct standard output to ielm
1740 buffer. Add new ielm-return-for-effect command. Remove trailing
1741 whitespace throughout.
1742
1743 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1744 (ielm-return-for-effect): New command.
1745 (ielm-send-input): Accept optional `for-effect' parameter.
1746 (ielm-eval-input): Accept optional `for-effect' parameter.
1747 Bind `standard-output' to stream we create using
1748 `ielm-standard-output-impl'. Suppress printing result when
1749 `for-effect'.
1750 (ielm-standard-output-impl): New function.
1751 (inferior-emacs-lisp-mode): Explain new features in documentation.
1752
1753 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1754
1755 Code cleanup.
1756
1757 * net/tramp.el (tramp-debug-message): Do not check for connection
1758 buffer.
1759 (tramp-message): Use "vector" connection property.
1760
1761 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1762 (tramp-equal-remote, tramp-eshell-directory-change)
1763 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1764 (tramp-adb-handle-rename-file)
1765 * net/tramp-cmds.el (tramp-list-remote-buffers)
1766 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1767 * net/tramp-compat.el (tramp-compat-process-running-p)
1768 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1769 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1770 (tramp-gvfs-handle-rename-file)
1771 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1772 (tramp-set-file-uid-gid)
1773 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1774 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1775 of `file-remote-p'.
1776
1777 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1778 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1779 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1780 (tramp-gw-open-network-stream): Suppress unrelated traces.
1781
1782 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1783 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1784 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1785 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1786 connection property.
1787
1788 * net/tramp-cache.el (top): Suppress traces when reading
1789 persistency file.
1790
1791 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1792 Refactor common code. Improve debug message.
1793 (tramp-maybe-open-connection)
1794 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1795 connection buffer too early.
1796
1797 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1798 from `tramp-smb-actions-with-acl'.
1799 (tramp-smb-actions-set-acl): New defconst.
1800 (tramp-smb-handle-copy-directory)
1801 (tramp-smb-action-get-acl): New defun, renamed from
1802 `tramp-smb-action-with-acl'.
1803 (tramp-smb-action-set-acl): New defun.
1804 (tramp-smb-handle-set-file-acl): Rewrite.
1805
1806 2013-10-17 Glenn Morris <rgm@gnu.org>
1807
1808 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1809
1810 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1811
1812 * skeleton.el (skeleton-newline): Remove.
1813 (skeleton-internal-1): Use (insert "\n") instead.
1814
1815 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1816 let-bindings.
1817
1818 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1819 forward-sexp-function while we redo its job (bug#15613).
1820
1821 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1822
1823 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1824 represented by lists.
1825
1826 2013-10-16 Glenn Morris <rgm@gnu.org>
1827
1828 * tmm.el (tmm--history): New dynamic variable.
1829 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1830
1831 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1832
1833 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1834 (tramp-smb-errors): Add error messages.
1835 (tramp-smb-actions-with-acl): New defconst.
1836 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1837 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1838 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1839 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1840 (tramp-smb-get-stat-capability): Fix tests.
1841
1842 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1843
1844 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1845 (bug#15580).
1846
1847 2013-10-16 Glenn Morris <rgm@gnu.org>
1848
1849 * ansi-color.el (ansi-color-drop-regexp):
1850 Add 1J, 1K, 2K. (Bug#15617)
1851
1852 * files.el (hack-local-variables--warned-lexical): New.
1853 (hack-local-variables):
1854 Warn about misplaced lexical-binding. (Bug#15616)
1855
1856 * net/eww.el (eww-render): Always set eww-current-url,
1857 and update header line. (Bug#15622)
1858 (eww-display-html): ... Rather than just doing it here.
1859
1860 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1861
1862 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1863 menu navigations commands.
1864
1865 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1866
1867 * progmodes/subword.el (subword-capitalize): Be careful when
1868 the search for [[:alpha:]] fails (bug#15580).
1869
1870 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1871
1872 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1873 to commands that scroll the menu.
1874
1875 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1876
1877 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1878 Handle methods ending with `?' and `!'.
1879
1880 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1881
1882 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1883 `japanese-cp932' to `cp932' to fix the problem where saving a
1884 source file written in Shift_JIS twice would end up having
1885 `coding: japanese-cp932' which Ruby could not recognize.
1886 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1887 in `ruby-encoding-map'.
1888 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1889 doesn't need to be explicitly declared in magic comment.
1890 (ruby-encoding-map): Add type declaration for better customize UI.
1891
1892 2013-10-13 Glenn Morris <rgm@gnu.org>
1893
1894 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1895 Occur buffers are read-only. http://bugs.debian.org/720775
1896
1897 * emacs-lisp/authors.el (authors-fixed-entries):
1898 Comment out old alpha stuff.
1899
1900 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1901
1902 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1903 to `after-save-hook' instead of `before-save-hook'.
1904 (ruby-mode-set-encoding): Use the value of coding system used to
1905 write the file. Call `basic-save-buffer-1' after modifying the
1906 buffer.
1907
1908 2013-10-13 Alan Mackenzie <acm@muc.de>
1909
1910 Fix indentation/fontification of Java enum with
1911 "implements"/generic.
1912
1913 * progmodes/cc-engine.el (c-backward-over-enum-header):
1914 Extracted from the three other places and enhanced to handle generics.
1915 (c-inside-bracelist-p): Uses new function above.
1916 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1917 function above.
1918 (c-font-lock-enum-tail): Uses new function above.
1919
1920 2013-10-13 Kenichi Handa <handa@gnu.org>
1921
1922 * international/mule-cmds.el (select-safe-coding-system): Remove a
1923 superfluous condition in chekcing whether a coding system is safe
1924 or not.
1925
1926 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1927
1928 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1929
1930 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1931
1932 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1933
1934 2013-10-13 Glenn Morris <rgm@gnu.org>
1935
1936 * menu-bar.el (menu-bar-update-buffers):
1937 Unify Buffers menu prompt string. (Bug#15576)
1938
1939 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1940
1941 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1942 Add some entries.
1943 (authors-fixed-entries): Use accented form of name.
1944
1945 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1948 method calls (bug#15594).
1949 (ruby-smie--args-separator-p): New function.
1950 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1951 recognize paren-free method calls.
1952
1953 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1954 internals of universal-argument.
1955
1956 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1957
1958 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1959 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1960 dropped menu on second mouse click on the menu bar.
1961
1962 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1965 (explicit-shell-file-name): Declare.
1966 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1967 (sh-completion-at-point-function): New function.
1968 (sh-mode): Use it.
1969 (sh-smie--keyword-p): Remove unused argument.
1970 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1971 vars.
1972 (sh-set-shell): Always setup SMIE, even if we use the
1973 old indentation code.
1974
1975 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1976
1977 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1978 cases of ? and =.
1979 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1980 predicate would return nil are almost non-existent.
1981 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1982
1983 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1984 cache also after commands that modify the buffer but don't move
1985 point.
1986
1987 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1988
1989 * env.el (substitute-env-in-file-name): New function.
1990 (substitute-env-vars): Extend the meaning of the optional arg.
1991
1992 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1993
1994 * term/w32-win.el (dynamic-library-alist): Define separate lists
1995 of GIF DLLs for versions before and after 5.0.0 of giflib.
1996 (Bug#15531)
1997
1998 2013-10-10 João Távora <joaotavora@gmail.com>
1999
2000 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2001 not locked, use last revision and current source as
2002 defaults. (Bug#15569)
2003
2004 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2005
2006 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2007 menu-bar is hidden.
2008
2009 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2010
2011 * window.el (pop-to-buffer-same-window): Fix doc-string.
2012 (Bug#15492)
2013
2014 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2015
2016 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2017
2018 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2019
2020 * calendar/icalendar.el (icalendar-import-file):
2021 Fix interactive spec. (Bug#15482)
2022
2023 2013-10-10 Glenn Morris <rgm@gnu.org>
2024
2025 * desktop.el (desktop-save): Default to saving in .emacs.d,
2026 since PWD is no longer in desktop-path by default. (Bug#15319)
2027
2028 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2029 now that text mode has a menu with the same entry.
2030 (menu-bar-text-mode-auto-fill): Remove now unused func.
2031 * textmodes/text-mode.el (text-mode-map):
2032 Use auto-fill help text from menu-bar.el.
2033
2034 2013-10-10 John Anthony <john@jo.hnanthony.com>
2035
2036 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2037
2038 2013-10-09 Juri Linkov <juri@jurta.org>
2039
2040 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2041 instead of this-command-keys. Add universal-argument-more and
2042 universal-argument-minus to the list of prefix commands. (Bug#15568)
2043
2044 2013-10-09 Glenn Morris <rgm@gnu.org>
2045
2046 * vc/vc-svn.el (vc-svn-create-repo):
2047 Expand paths in file://... url. (Bug#15446)
2048
2049 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2050 Add some entries.
2051 (authors): Remove unused local variables.
2052
2053 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2054
2055 * profiler.el: Create a more coherent calltree from partial backtraces.
2056 (profiler-format): Hide the tail with `invisible' so that C-s can still
2057 find the hidden elements.
2058 (profiler-calltree-depth): Don't recurse so enthusiastically.
2059 (profiler-function-equal): New hash-table-test.
2060 (profiler-calltree-build-unified): New function.
2061 (profiler-calltree-build): Use it.
2062 (profiler-report-make-name-part): Indent the calltree less.
2063 (profiler-report-mode): Add visibility specs for profiler-format.
2064 (profiler-report-expand-entry, profiler-report-toggle-entry):
2065 Expand the whole subtree when provided with a prefix arg.
2066
2067 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2068
2069 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2070 iuwu-mod token.
2071 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2072 hanging iuwu-mod token.
2073 (ruby-smie--forward-token): Do not include a dot after a token in
2074 that token.
2075 (ruby-smie--backward-token): Likewise.
2076
2077 2013-10-08 Juri Linkov <juri@jurta.org>
2078
2079 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2080 to isearch-other-control-char.
2081 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2082 and isearch-post-command-hook to post-command-hook.
2083 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2084 and isearch-post-command-hook from post-command-hook.
2085 (isearch-unread-key-sequence)
2086 (isearch-reread-key-sequence-naturally)
2087 (isearch-lookup-scroll-key, isearch-other-control-char)
2088 (isearch-other-meta-char): Remove functions.
2089 (isearch-pre-command-hook, isearch-post-command-hook):
2090 New functions based on isearch-other-meta-char rewritten
2091 relying on the new behavior of overriding-terminal-local-map
2092 that does not replace the local keymaps any more. (Bug#15200)
2093
2094 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2095
2096 Support menus on text-mode terminals.
2097 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2098 functionality.
2099
2100 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2101
2102 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2103 Move here from mouse.el.
2104 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2105 and arrow keys.
2106 (tty-menu-navigation-map): New map for TTY menu navigation.
2107
2108 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2109
2110 * frame.el (display-mouse-p): Report text-mode mouse as available
2111 on w32.
2112 (display-popup-menus-p): Report availability if mouse is
2113 available; don't condition on window-system.
2114
2115 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2116 (tty-menu-selected-face): New faces.
2117
2118 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2119
2120 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2121 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2122 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2123 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2124 New constants.
2125 (lisp-mode-variables): New `elisp' argument.
2126 (emacs-lisp-mode): Use it.
2127 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2128 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2129
2130 * indent.el: Use lexical-binding.
2131 (indent-region): Add progress reporter.
2132 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2133 last step.
2134 (indent--next-tab-stop): New function to implement this behavior.
2135 (tab-to-tab-stop, move-to-tab-stop): Use it.
2136
2137 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2138
2139 * indent.el (indent-rigidly--current-indentation): New function.
2140 (indent-rigidly-map): New var.
2141 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2142
2143 2013-10-08 Bastien Guerry <bzg@gnu.org>
2144
2145 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2146
2147 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2148
2149 * progmodes/perl-mode.el: Use lexical-binding.
2150 Remove redundant :group args.
2151 (perl-nochange): Change default to be closer to other major modes's
2152 standard behavior.
2153 (perl-indent-line): Don't consider text on current line as a
2154 valid beginning of function from which to indent.
2155
2156 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2157 with more than one argument (bug#15538).
2158
2159 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2160
2161 * vc/pcvs.el: Use lexical-binding.
2162 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2163 environment of `eval'.
2164 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2165 than a list of expressions. Adjust callers.
2166 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2167
2168 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2169
2170 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2171 case of the dot in a chained method call being on the following line.
2172
2173 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2174
2175 * electric.el (electric-indent-inhibit): New var.
2176 (electric-indent-post-self-insert-function): Use it.
2177 * progmodes/python.el (python-mode): Set it.
2178
2179 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2180 open braces.
2181
2182 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2183
2184 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2185 (css-mode): Use electric-indent-chars.
2186
2187 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2188 (font-lock-beg, font-lock-end): Move before first use.
2189 (nxml-mode): Use syntax-propertize-function.
2190 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2191 (nxml-extend-after-change-region): Remove.
2192 * nxml/xmltok.el: Use lexical-binding.
2193 (xmltok-save): Use `declare'.
2194 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2195 * nxml/nxml-util.el: Use lexical-binding.
2196 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2197 Use `declare'.
2198 * nxml/nxml-ns.el: Use lexical-binding.
2199 (nxml-ns-save): Use `declare'.
2200 (nxml-ns-prefixes-for): Avoid add-to-list.
2201 * nxml/rng-match.el: Use lexical-binding.
2202 (rng--ipattern): Use cl-defstruct.
2203 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2204 (rng-cons-group-after, rng-subst-group-after)
2205 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2206 Use closures instead of `(lambda...).
2207
2208 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2209
2210 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2211 of BEG and END.
2212
2213 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2214 Use `tramp-handle-insert-file-contents'.
2215 (tramp-gvfs-handle-insert-file-contents): Remove function.
2216
2217 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2218 Use `save-restriction' in order to keep markers.
2219
2220 * net/trampver.el: Update release number.
2221
2222 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2223
2224 * progmodes/compile.el (compilation-parse-errors):
2225 Use compilation--put-prop.
2226 (compilation--ensure-parse): Check compilation-multiline.
2227
2228 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2229
2230 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2231 lexical-binding.
2232
2233 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2234
2235 * progmodes/ruby-mode.el: Fix recently added tests.
2236 (ruby-smie-grammar): Add - and +.
2237 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2238 (ruby-smie--backward-id): New functions.
2239 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2240 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2241 any more.
2242
2243 2013-10-07 Leo Liu <sdl.web@gmail.com>
2244
2245 * register.el (register-preview-delay)
2246 (register-preview-functions): New variables.
2247 (register-read-with-preview, register-preview)
2248 (register-describe-oneline): New functions.
2249 (point-to-register, window-configuration-to-register)
2250 (frame-configuration-to-register, jump-to-register)
2251 (number-to-register, view-register, insert-register)
2252 (copy-to-register, append-to-register, prepend-to-register)
2253 (copy-rectangle-to-register): Use register-read-with-preview to
2254 read register. (Bug#15525)
2255
2256 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2257
2258 * net/network-stream.el (network-stream-open-starttls): Don't add
2259 --insecure if it's already present, because that gnutls-cli
2260 rejects getting that parameter twice.
2261
2262 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2263
2264 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2265 keyword, too.
2266
2267 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2268
2269 * newcomment.el (comment-use-global-state): Change default value
2270 to t, mark obsolete (Bug#15251).
2271 (comment-beginning): In addition to `comment-to-syntax', check the
2272 value of `comment-use-global-state'.
2273
2274 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2275
2276 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2277 (ruby-comment-column): Follow the global default, by default.
2278 (ruby-smie-grammar): Add assignment syntax.
2279 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2280 open-paren, a comma, or a \.
2281 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2282 and line continuations.
2283 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2284 followed by implicit semi-colons. Add rule for string concatenation
2285 and for indentation at BOB.
2286 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2287
2288 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2289 calling next-sexp, since next-token may have skipped chars which
2290 next-sexp doesn't know should be skipped!
2291
2292 2013-10-05 Leo Liu <sdl.web@gmail.com>
2293
2294 * progmodes/octave.el (octave-send-region):
2295 Call compilation-forget-errors.
2296
2297 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2298
2299 * vc/vc-svn.el (vc-svn-find-admin-dir):
2300 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2301 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2302 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2303 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2304
2305 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2306
2307 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2308
2309 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2310
2311 * subr.el (read-passwd): Hide chars even when called within a context
2312 where after-change-functions is disabled (bug#15501).
2313 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2314 until we removed ourself from overriding-terminal-local-map.
2315
2316 2013-10-04 Leo Liu <sdl.web@gmail.com>
2317
2318 * progmodes/octave.el (inferior-octave-mode):
2319 Call compilation-forget-errors.
2320
2321 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2322
2323 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2324
2325 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2326
2327 * net/secrets.el (secrets-create-collection): Add optional
2328 argument ALIAS. Use proper Label keyword. Append ALIAS as
2329 dbus-call-method argument. (Bug#15516)
2330
2331 2013-10-04 Leo Liu <sdl.web@gmail.com>
2332
2333 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2334 (inferior-octave-compilation-font-lock-keywords): New variables.
2335 (compilation-error-regexp-alist)
2336 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2337 (inferior-octave-mode): Use compilation-shell-minor-mode.
2338
2339 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2340
2341 * minibuffer.el (completion--replace): Be careful that `end' might be
2342 a marker.
2343
2344 2013-10-03 Daiki Ueno <ueno@gnu.org>
2345
2346 Add support for package signature checking.
2347 * emacs-lisp/package.el (url-http-file-exists-p)
2348 (epg-make-context, epg-context-set-home-directory)
2349 (epg-verify-string, epg-context-result-for)
2350 (epg-signature-status, epg-signature-to-string)
2351 (epg-check-configuration, epg-configuration)
2352 (epg-import-keys-from-file): Declare.
2353 (package-check-signature): New user option.
2354 (package-unsigned-archives): New user option.
2355 (package-desc): Add `signed' field.
2356 (package-load-descriptor): Set `signed' field if .signed file exists.
2357 (package--archive-file-exists-p): New function.
2358 (package--check-signature): New function.
2359 (package-install-from-archive): Check package signature.
2360 (package--download-one-archive): Check archive signature.
2361 (package-delete): Remove .signed file.
2362 (package-import-keyring): New command.
2363 (package-refresh-contents): Import default keyring.
2364 (package-desc-status): Add "unsigned" status.
2365 (describe-package-1, package-menu--print-info)
2366 (package-menu-mark-delete, package-menu--find-upgrades)
2367 (package-menu--status-predicate): Support "unsigned" status.
2368
2369 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2370
2371 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2372 the new compilation scheme using the new byte-codes.
2373
2374 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2375 (byte-pophandler): New byte codes.
2376 (byte-goto-ops): Adjust accordingly.
2377 (byte-compile--use-old-handlers): New var.
2378 (byte-compile-catch): Use new byte codes depending on
2379 byte-compile--use-old-handlers.
2380 (byte-compile-condition-case--old): Rename from
2381 byte-compile-condition-case.
2382 (byte-compile-condition-case--new): New function.
2383 (byte-compile-condition-case): New function that dispatches depending
2384 on byte-compile--use-old-handlers.
2385 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2386 when we can.
2387
2388 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2389 Optimize under `condition-case' and `catch' if
2390 byte-compile--use-old-handlers is nil.
2391 (disassemble-offset): Handle new bytecodes.
2392
2393 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2394
2395 * subr.el (error): Use `declare'.
2396 (decode-char, encode-char): Use advertised-calling-convention instead
2397 of the docstring to discourage use of the `restriction' arg.
2398
2399 2013-10-03 Daiki Ueno <ueno@gnu.org>
2400
2401 * epg.el (epg-verify-file): Add a comment saying that it does not
2402 notify verification error as a return value nor a signal.
2403 (epg-verify-string): Ditto.
2404
2405 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2406
2407 * progmodes/compile.el (compilation-start): Try globbing the arg to
2408 `cd' (bug#15417).
2409
2410 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2411
2412 Sync with Tramp 2.2.8.
2413
2414 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2415 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2416 * net/trampver.el: Update release number.
2417
2418 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2419
2420 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2421 and default-process-coding-system for darwin only.
2422
2423 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2426
2427 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2428
2429 * vc/vc-git.el (vc-git-grep): Disable pager.
2430
2431 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2432
2433 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2434 Use :url instead of :homepage, as per
2435 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2436
2437 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2438 non-nil, use `syntax-ppss' (Bug#15251).
2439
2440 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2441
2442 * progmodes/octave.el (inferior-octave-startup-file):
2443 Prefer ~/.emacs.d/init_octave.m.
2444
2445 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2446
2447 * emacs-lisp/package.el (package-desc-from-define):
2448 Accept additional arguments as plist, convert them to an alist and store
2449 them in the `extras' slot.
2450 (package-generate-description-file): Convert extras alist back to
2451 plist and append to the `define-package' form arguments.
2452 (package--alist-to-plist): New function.
2453 (package--ac-desc): Add `extras' slot.
2454 (package--add-to-archive-contents): Check if the archive-contents
2455 vector is long enough, and if it is, pass its `extras' slot value
2456 to `package-desc-create'.
2457 (package-buffer-info): Call `lm-homepage', pass the returned value
2458 to `package-desc-from-define'.
2459 (describe-package-1): Render the homepage button (Bug#13291).
2460
2461 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2462 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2463
2464 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2465
2466 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2467 and default-process-coding-system to utf-8-unix (Bug#15402).
2468
2469 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2470
2471 * subr.el (looking-back): Do not recommend using looking-back.
2472
2473 2013-09-28 Alan Mackenzie <acm@muc.de>
2474
2475 Fix indentation/fontification of Java enum with "implements".
2476
2477 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2478 regexp which matches "implements", etc., in Java.
2479 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2480 specifier clauses coming after "enum".
2481 * progmodes/cc-fonts.el (c-font-lock-declarations)
2482 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2483 after "enum".
2484
2485 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2486
2487 * faces.el (region): Change ns_selection_color to
2488 ns_selection_fg_color, add ns_selection_bg_color.
2489
2490 2013-09-28 Leo Liu <sdl.web@gmail.com>
2491
2492 * progmodes/octave.el (inferior-octave-completion-table)
2493 (inferior-octave-completion-at-point): Minor tweaks.
2494
2495 * textmodes/ispell.el (ispell-lookup-words): Rename from
2496 lookup-words. (Bug#15460)
2497 (lookup-words): Obsolete.
2498 (ispell-complete-word, ispell-command-loop): All uses changed.
2499
2500 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2501
2502 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2503 (octave-mode-menu): Add octave-send-buffer.
2504 (octave-send-buffer): New function.
2505
2506 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2507
2508 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2509 octave-lookfor.
2510 (octave-mode-menu): Add octave-lookfor.
2511 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2512 octave-lookfor.
2513 (octave-lookfor): New function.
2514
2515 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * emacs-lisp/cl-macs.el:
2518 (cl--loop-destr-temps): Remove.
2519 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2520 its convention.
2521 (cl--loop-set-iterator-function): New function.
2522 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2523 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2524 Bind `it' with `let' instead of substituting it with `cl-subst'.
2525 (cl--unused-var-p): New function.
2526 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2527 Eliminate some unused variable warnings (bug#15326).
2528
2529 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2530
2531 * doc-view.el (doc-view-scale-reset): Rename from
2532 `doc-view-reset-zoom-level'.
2533 (doc-view-scale-adjust): New command.
2534 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2535 `doc-view-scale-adjust'.
2536
2537 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2538
2539 * doc-view.el (doc-view-reset-zoom-level): New command.
2540 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2541 zoom commands (bug#15466).
2542
2543 2013-09-26 Kenichi Handa <handa@gnu.org>
2544
2545 * international/quail.el (quail-help): Make it not a command.
2546
2547 2013-09-26 Leo Liu <sdl.web@gmail.com>
2548
2549 * minibuffer.el (completion-all-sorted-completions): Make args
2550 optional as they are.
2551
2552 2013-09-25 Daniel Colascione <dancol@dancol.org>
2553
2554 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2555 specs are and that they're not evaluated.
2556
2557 2013-09-24 Sam Steingold <sds@gnu.org>
2558
2559 * midnight.el (clean-buffer-list-kill-regexps)
2560 (clean-buffer-list-kill-buffer-names): Update for the new Man
2561 buffer naming which includes the object name.
2562
2563 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2566 (eshell-parse-command, eshell-parse-pipeline): Use it since
2567 eshell-separate-commands requires a dynamic scoped var.
2568 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2569
2570 2013-09-23 Leo Liu <sdl.web@gmail.com>
2571
2572 * autoinsert.el (auto-insert-alist): Make the value of
2573 lexical-binding match its file setting.
2574
2575 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2576
2577 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2578
2579 * autoarg.el (autoarg-kp-digit-argument):
2580 * electric.el (Electric-command-loop):
2581 * kmacro.el (kmacro-step-edit-insert):
2582 Do not set universal-argument-num-events.
2583
2584 2013-09-22 Leo Liu <sdl.web@gmail.com>
2585
2586 * files.el (interpreter-mode-alist): Add octave.
2587
2588 2013-09-21 Alan Mackenzie <acm@muc.de>
2589
2590 C++: fontify identifier in declaration following "public:" correctly.
2591 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2592 to match "public", etc.
2593 (c-decl-prefix-re): Add ":" into the C++ value.
2594 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2595 bit. Add a check for a ":" preceded by "public", etc.
2596
2597 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2598
2599 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2600 recognized by GDB 7.5 and later.
2601
2602 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2603
2604 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2605
2606 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2607
2608 * subr.el (internal--call-interactively): New const.
2609 (called-interactively-p): Use it (bug#3984).
2610
2611 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2612
2613 * vc/pcvs.el (cvs-mode-ignore):
2614 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2615 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2616
2617 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2620 (eshell-ls-orig-insert-directory): Remove.
2621 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2622 (eshell-ls-use-in-dired): Use advice-add/remove.
2623 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2624 Add `orig-fun' arg for use in :around advice.
2625 Make it check (redundantly) eshell-ls-use-in-dired.
2626
2627 2013-09-19 Glenn Morris <rgm@gnu.org>
2628
2629 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2630
2631 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2632
2633 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2634
2635 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2636
2637 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2638 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2639 (tramp-get-remote-python): New defuns.
2640 (tramp-get-remote-uid-with-perl)
2641 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2642 contributed by yary <not.com@gmail.com> (tiny change).
2643 (tramp-get-remote-uid-with-python)
2644 (tramp-get-remote-gid-with-python): New defuns. Python code
2645 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2646 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2647
2648 2013-09-19 Glenn Morris <rgm@gnu.org>
2649
2650 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2651
2652 * eshell/em-unix.el (eshell-remove-entries):
2653 Rename argument to avoid name-clash with global `top-level'.
2654
2655 * eshell/esh-proc.el (eshell-kill-process-function):
2656 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2657 (eshell-reset-after-proc): Remove unused arg `proc'.
2658
2659 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2660 (directory-files-and-attributes): Mark unused arg.
2661
2662 * eshell/em-unix.el (eshell-remove-entries):
2663 Remove unused arg `path'. Update callers.
2664
2665 * eshell/em-hist.el (eshell-hist-parse-arguments):
2666 Remove unused arg `silent'. Update callers.
2667
2668 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2669 Fix (f)boundp mix-up.
2670
2671 * eshell/em-smart.el (eshell-smart-scroll-window)
2672 (eshell-disable-after-change):
2673 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2674
2675 2013-09-18 Alan Mackenzie <acm@muc.de>
2676
2677 Fix fontification of type when followed by "const".
2678 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2679 "known" types from fontification.
2680
2681 2013-09-18 Glenn Morris <rgm@gnu.org>
2682
2683 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2684 (chart-face-list): Drop Emacsen without display-color-p.
2685
2686 * net/eww.el (libxml-parse-html-region): Declare.
2687 (eww-display-html): Explicit error if no libxml2 support.
2688
2689 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2690
2691 * image.el (image-type-from-buffer, image-multi-frame-p):
2692 Remove --without-x warning/error.
2693
2694 * mouse.el (mouse-yank-primary):
2695 * term.el (term-mouse-paste):
2696 Reorder to silence --without-x compilation.
2697
2698 * mpc.el (doc-view-mode): Silence --without-x compilation.
2699
2700 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2701 Silence --without-x compilation.
2702
2703 * progmodes/gud.el (gud-find-file, gud-mode):
2704 Silence --without-x compilation.
2705 (tooltip-mode): Declare.
2706
2707 * wdired.el (dired-backup-overwrite): Remove declaration.
2708 (wdired-mode-map): Add doc string.
2709
2710 * custom.el (x-get-resource): Declare.
2711
2712 * eshell/em-glob.el (ange-cache):
2713 * eshell/em-unix.el (ange-cache): Declare.
2714
2715 * faces.el (x-display-list, x-open-connection, x-get-resource):
2716 Declare.
2717
2718 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2719 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2720 Declare.
2721
2722 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2723
2724 * net/gnutls.el (gnutls-log-level): Declare.
2725
2726 * net/shr.el (image-size, image-animate): Declare.
2727
2728 * simple.el (font-info): Declare.
2729
2730 * subr.el (x-popup-dialog): Declare.
2731
2732 * term/common-win.el (x-select-enable-primary)
2733 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2734 Declare.
2735
2736 * term/ns-win.el (x-handle-args): Declare.
2737
2738 * term/x-win.el (x-select-enable-clipboard): Declare.
2739
2740 * term/w32-win.el (create-default-fontset): Declare.
2741
2742 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2743 Declare.
2744
2745 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2746 (fit-frame-to-buffer): Explicit error if --without-x.
2747 (mouse-autoselect-window-select): Silence compiler.
2748
2749 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2750
2751 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2752 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2753 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2754 * eshell/esh-util.el (eshell-sublist):
2755 Remove unused local variables.
2756
2757 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2758
2759 * textmodes/two-column.el: Make 2C-split work for --without-x.
2760 (scroll-bar-columns): Autoload.
2761 (top-level): Require fringe when compiling.
2762
2763 2013-09-18 Leo Liu <sdl.web@gmail.com>
2764
2765 * subr.el (add-hook): Robustify to handle closure as well.
2766
2767 2013-09-17 Glenn Morris <rgm@gnu.org>
2768
2769 * simple.el (messages-buffer-mode-map): Unbind "g".
2770
2771 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2772
2773 * help-mode.el (help-mode-finish): Use derived-mode-p.
2774 Remove obsolete highlighting.
2775
2776 * play/life.el (life-mode): Use define-derived-mode. Derive from
2777 special-mode.
2778 (life): Let-bind inhibit-read-only.
2779 (life-setup): Avoid `setq'. Use `life-mode'.
2780
2781 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2782 which should not be needed any more.
2783 (package-menu-refresh, package-menu-describe-package): Use user-error.
2784
2785 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2786 (eshell-post-rewrite-command-hook): Make obsolete.
2787 (eshell-parse-command): Simplify.
2788 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2789 (eshell--cmd): Declare.
2790 (eshell-parse-pipeline): Remove unused var `final-p'.
2791 Pass a dynvar to eshell-post-rewrite-command-hook.
2792 Implement the new eshell-post-rewrite-command-function.
2793 (eshell-invoke-directly): Remove unused arg `input'.
2794 * eshell/esh-io.el (eshell-io-initialize):
2795 Use eshell-post-rewrite-command-function (bug#15399).
2796 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2797 adjust to new calling convention.
2798 (eshell-create-handles): Rename args to avoid clashing with dynvar
2799 `standard-output'.
2800
2801 2013-09-17 Glenn Morris <rgm@gnu.org>
2802
2803 * simple.el (messages-buffer-mode): New major mode.
2804 (messages-buffer): New function.
2805 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2806 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2807 (ert-run-test): Use `messages-buffer' function.
2808 (ert--force-message-log-buffer-truncation): Ignore read-only.
2809 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2810 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2811
2812 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2813
2814 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2815
2816 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2817
2818 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2819
2820 * icomplete.el (icomplete-in-buffer): New var.
2821 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2822 vars and replace them with functions.
2823 (icomplete-minibuffer-setup): Adjust accordingly.
2824 (icomplete--completion-table, icomplete--completion-predicate)
2825 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2826 New functions.
2827 (icomplete-forward-completions, icomplete-backward-completions)
2828 (icomplete-simple-completing-p, icomplete-exhibit)
2829 (icomplete-completions): Use them.
2830 (icomplete--in-region-buffer): New var.
2831 (icomplete--in-region-setup): New function.
2832 (icomplete-mode): Use it.
2833
2834 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2835 (bug#15379).
2836 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2837 return args and options.
2838 (eshell-eval-using-options): Use the new return value of
2839 eshell--do-opts to set the options's vars in their scope.
2840 (eshell--set-option): Rename from eshell-set-option.
2841 Add arg `opt-vals'.
2842 (eshell--process-option): Rename from eshell-process-option.
2843 Add arg `opt-vals'.
2844 (eshell--process-args): Use an `opt-vals' alist to store the options's
2845 values during their processing and return them additionally to the
2846 remaining args.
2847
2848 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2849
2850 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2851 continuation character an operator, as far as indentation is
2852 concerned (Bug#15369).
2853
2854 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2855
2856 * window.el (window--state-put-2): Don't process buffer state
2857 when buffer doesn't exist any more (Bug#15382).
2858
2859 2013-09-15 Glenn Morris <rgm@gnu.org>
2860
2861 * eshell/em-unix.el (eshell/rm):
2862 Make -f ignore missing files. (Bug#15373)
2863
2864 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2865 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2866 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2867
2868 2013-09-14 Glenn Morris <rgm@gnu.org>
2869
2870 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2871
2872 2013-09-13 Glenn Morris <rgm@gnu.org>
2873
2874 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2875 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2876
2877 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2878
2879 * frame.el (x-focus-frame): Mark as declared in frame.c.
2880
2881 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2882
2883 * ls-lisp.el: Use advice-add.
2884 (original-insert-directory): Remove.
2885 (ls-lisp--insert-directory): Rename from insert-directory; add
2886 `orig-fun' argument.
2887 (insert-directory): Advise.
2888
2889 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2890
2891 * term.el (term-emulate-terminal): Decode the command string
2892 before passing it to term-command-hook. (Bug#15337)
2893
2894 2013-09-13 Glenn Morris <rgm@gnu.org>
2895
2896 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2897
2898 * eshell/esh-ext.el (eshell-search-path): Declare.
2899
2900 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2901 Otherwise an error occurs if eshell-dirs module not loaded.
2902
2903 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2904
2905 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2906
2907 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2908 `tramp-check-proper-host'. Check for a valid method name.
2909
2910 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2911 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2912 * net/tramp-sh.el (tramp-maybe-open-connection):
2913 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2914
2915 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2916 also for hash values.
2917
2918 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2919
2920 * term/ns-win.el (parameters): Don't declare as dynamic.
2921 (before-make-frame-hook): Don't add ineffective function.
2922
2923 * eshell/*.el: Use lexical-binding (bug#15231).
2924
2925 2013-09-12 Kenichi Handa <handa@gnu.org>
2926
2927 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2928
2929 2013-09-12 Glenn Morris <rgm@gnu.org>
2930
2931 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2932 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2933
2934 * subr.el (do-after-load-evaluation): Also give compiler warnings
2935 when obsolete files are used (except by obsolete files).
2936
2937 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2938 in the status output, assume `filename' is the first. (Bug#15322)
2939
2940 * vc/vc.el (vc-deduce-fileset): Doc fix.
2941
2942 * calc/calc-help.el (Info-goto-node):
2943 * progmodes/cperl-mode.el (Info-find-node):
2944 * vc/ediff.el (Info-goto-node): Update declarations.
2945
2946 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2947
2948 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2949 (vc-bzr-pull): Require vc-dispatcher.
2950 * vc/vc-git.el (vc-compilation-mode): Declare.
2951 (vc-git-pull): Require vc-dispatcher.
2952
2953 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2954
2955 * progmodes/octave.el (help-button-action): Declare.
2956
2957 * shell.el (shell-directory-tracker): Output error as a message
2958 rather than just returning it as a string.
2959 (shell-process-pushd): Remove useless use of message.
2960
2961 * dframe.el (dframe-timer-fn):
2962 * files.el (dir-locals-read-from-file):
2963 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2964 (mpc-format):
2965 * reveal.el (reveal-post-command):
2966 * saveplace.el (load-save-place-alist-from-file):
2967 * shell.el (shell-resync-dirs):
2968 * w32-common-fns.el (x-get-selection-value):
2969 * emacs-lisp/copyright.el (copyright-find-copyright):
2970 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2971 * emulation/tpu-edt.el (tpu-copy-keyfile):
2972 * play/bubbles.el (bubbles--mark-neighbourhood):
2973 * progmodes/executable.el
2974 (executable-make-buffer-file-executable-if-script-p):
2975 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2976
2977 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2978
2979 Cleanup Eshell to rely less on dynamic scoping.
2980 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2981 last-value, and ext-command here. Bind `args' closer to `body'.
2982 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2983 (eshell--args): Declare new dynamic var.
2984 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2985 last-value, and ext-command. Pass `args' to `body'.
2986 (eshell-process-args): Bind eshell--args.
2987 (eshell-set-option): Use eshell--args.
2988 * eshell/eshell.el (eshell): Use derived-mode-p.
2989 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2990 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2991 (eshell-glob-function): Declare.
2992 * eshell/esh-util.el: Require cl-lib.
2993 (eshell-read-hosts-file): Avoid add-to-list.
2994 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2995 `err'.
2996 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2997 Declare.
2998 (eshell/diff): Remove unused var `err'.
2999 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3000 `killflag'.
3001 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3002 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3003 first use.
3004 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3005 Move declaration before first use.
3006 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3007 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3008 rely on cl-return.
3009
3010 2013-09-12 Glenn Morris <rgm@gnu.org>
3011
3012 * term/ns-win.el (global-map): Remove binding for ispell-next,
3013 deleted 1999-05-29. (Bug#15357)
3014
3015 2013-09-11 Glenn Morris <rgm@gnu.org>
3016
3017 * echistory.el (electric-command-history): Remove call to deleted func.
3018
3019 * play/landmark.el (landmark-mode): Fix typos.
3020
3021 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3022 Check cvs-sort-ignore-file is bound.
3023
3024 * savehist.el: No need for cl when compiling on Emacs.
3025
3026 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3027
3028 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3029 (bug#15338).
3030 (eshell-self-insert-command, eshell-send-invisible):
3031 Remove unused argument.
3032 (eshell-handle-control-codes): Remove unused var `orig'.
3033 Avoid delete-backward-char.
3034
3035 * files.el (set-auto-mode): Simplify a bit further.
3036
3037 2013-09-11 Glenn Morris <rgm@gnu.org>
3038
3039 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3040 (set-auto-mode): Don't regexp-quote elements.
3041 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3042 * progmodes/cc-mode.el (interpreter-mode-alist):
3043 * progmodes/ruby-mode.el (interpreter-mode-alist):
3044 Revert previous change.
3045
3046 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3047
3048 * play/snake.el (snake-mode):
3049 * play/mpuz.el (mpuz-mode):
3050 * play/landmark.el (lm-mode):
3051 * play/blackbox.el (blackbox-mode):
3052 * play/5x5.el (5x5-mode):
3053 * obsolete/options.el (Edit-options-mode):
3054 * net/quickurl.el (quickurl-list-mode):
3055 * net/newst-treeview.el (newsticker-treeview-mode):
3056 * mail/rmailsum.el (rmail-summary-mode):
3057 * mail/mspools.el (mspools-mode):
3058 * locate.el (locate-mode):
3059 * ibuffer.el (ibuffer-mode):
3060 * emulation/ws-mode.el (wordstar-mode):
3061 * emacs-lisp/debug.el (debugger-mode):
3062 * array.el (array-mode):
3063 * net/eudc.el (eudc-mode): Use define-derived-mode.
3064 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3065 Move initialization into declaration.
3066 (mairix-searches-mode): Use define-derived-mode.
3067 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3068 (eudc-edit-hotlist): Use dolist.
3069 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3070 (Man-mode): Use define-derived-mode.
3071 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3072 (Info-edit-mode): Use define-derived-mode.
3073 (Info-cease-edit): Use Info-mode.
3074 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3075 into declaration.
3076 (eshell-mode): Use define-derived-mode.
3077 * chistory.el (command-history-mode-map): Rename from
3078 command-history-map.
3079 (command-history-mode): Use define-derived-mode.
3080 (Command-history-setup): Remove function.
3081 * calc/calc.el (calc-trail-mode-map): New var.
3082 (calc-trail-mode): Use define-derived-mode.
3083 (calc-trail-buffer): Set calc-main-buffer manually.
3084 * bookmark.el (bookmark-insert-annotation): New function.
3085 (bookmark-edit-annotation): Use it.
3086 (bookmark-edit-annotation-mode): Make it a proper major mode.
3087 (bookmark-send-edited-annotation): Use derived-mode-p.
3088 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3089 closer to its ideal place. Use \' to match EOS.
3090
3091 * profiler.el (profiler-calltree-find): Use function-equal.
3092
3093 2013-09-10 Glenn Morris <rgm@gnu.org>
3094
3095 * files.el (interpreter-mode-alist): Convert to regexps.
3096 (set-auto-mode): Adapt for this. (Bug#15306)
3097 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3098 Comment out unused variable.
3099 * progmodes/cc-mode.el (interpreter-mode-alist):
3100 * progmodes/python.el (interpreter-mode-alist):
3101 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3102 * progmodes/sh-script.el (sh-set-shell):
3103 No longer use interpreter-mode-alist to get list of shells.
3104
3105 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3106
3107 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3108
3109 * simple.el: Use set-temporary-overlay-map for universal-argument.
3110 (universal-argument-map): Don't use default-bindings (bug#15317).
3111 Bind switch-frame explicitly. Replace universal-argument-minus with
3112 a conditional binding.
3113 (universal-argument-num-events, saved-overriding-map): Remove.
3114 (restore-overriding-map): Remove.
3115 (universal-argument--mode): Rename from save&set-overriding-map,
3116 and rewrite.
3117 (universal-argument, universal-argument-more, negative-argument)
3118 (digit-argument): Adjust accordingly.
3119 (universal-argument-minus): Remove.
3120 (universal-argument-other-key): Remove.
3121
3122 * subr.el (with-demoted-errors): Add `format' argument.
3123
3124 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3125
3126 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3127 `tramp-cleanup-connection'.
3128
3129 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3130 parameters KEEP-DEBUG and KEEP-PASSWORD.
3131
3132 * net/tramp.el (tramp-file-name-handler):
3133 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3134 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3135 (tramp-maybe-open-connection):
3136 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3137 Use `tramp-cleanup-connection'.
3138
3139 * net/tramp-sh.el (tramp-maybe-open-connection):
3140 Catch 'uname-changed inside the progress reporter.
3141
3142 2013-09-10 Glenn Morris <rgm@gnu.org>
3143
3144 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3145
3146 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3147 returns "alternate access method" in mode (eg "-rw-r--r--.").
3148
3149 2013-09-08 Glenn Morris <rgm@gnu.org>
3150
3151 * saveplace.el (load-save-place-alist-from-file):
3152 Demote errors. (Bug#15305)
3153
3154 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3155
3156 Improve compatibility with older Emacsen, and XEmacs.
3157
3158 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3159 only if it is bound. It isn't for XEmacs.
3160 (with-tramp-progress-reporter): Do not let-bind `result'.
3161 This yields to scoping errors in XEmacs.
3162 (tramp-handle-make-auto-save-file-name): New function, moved from
3163 tramp-sh.el.
3164
3165 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3166 for `make-auto-save-file-name'.
3167 (tramp-adb--gnu-switches-to-ash):
3168 Use `tramp-compat-replace-regexp-in-string'.
3169
3170 * net/tramp-cache.el (tramp-cache-print): Call
3171 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3172
3173 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3174 bound. It isn't for XEmacs.
3175
3176 * net/tramp-compat.el (tramp-compat-copy-file):
3177 Catch `wrong-number-of-arguments' error.
3178 (tramp-compat-replace-regexp-in-string): New defun.
3179
3180 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3181 for `make-auto-save-file-name'.
3182 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3183 `copy-file'.
3184 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3185 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3186 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3187
3188 * net/tramp-gw.el (tramp-gw-open-network-stream):
3189 Use `tramp-compat-replace-regexp-in-string'.
3190
3191 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3192 Call `tramp-handle-make-auto-save-file-name'.
3193 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3194 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3195 (tramp-sh-file-inotifywait-process-filter):
3196 Use `tramp-compat-replace-regexp-in-string'.
3197 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3198
3199 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3200 for `make-auto-save-file-name'.
3201 (tramp-smb-handle-copy-directory):
3202 Call `tramp-compat-replace-regexp-in-string'.
3203 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3204 (tramp-smb-handle-copy-file): Improve error message.
3205 (tramp-smb-handle-rename-file): Rename directly only in case
3206 `newname' does not exist yet. This is a restriction of smbclient.
3207 (tramp-smb-maybe-open-connection): Rerun the function only when
3208 `auth-sources' is non-nil.
3209
3210 2013-09-08 Kenichi Handa <handa@gnu.org>
3211
3212 * international/characters.el: Set category "^" (Combining) for
3213 more characters.
3214
3215 2013-09-07 Alan Mackenzie <acm@muc.de>
3216
3217 Correctly fontify Java class constructors.
3218 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3219 in Java Mode.
3220 (c-recognize-typeless-decls): Set the Java value to t.
3221 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3222 While handling a "(", add a check for, effectively, Java, and handle a
3223 "typeless" declaration there.
3224
3225 2013-09-07 Roland Winkler <winkler@gnu.org>
3226
3227 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3228 field subtitle for entry type book.
3229
3230 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3231
3232 * minibuffer.el: Make minibuffer-complete call completion-in-region
3233 rather than other way around.
3234 (completion--some, completion-pcm--find-all-completions):
3235 Don't delay signals when debugging.
3236 (minibuffer-completion-contents): Beware fields within the
3237 minibuffer contents.
3238 (completion-all-sorted-completions): Use defvar-local.
3239 (completion--do-completion, completion--cache-all-sorted-completions)
3240 (completion-all-sorted-completions, minibuffer-force-complete):
3241 Add args `beg' and `end'.
3242 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3243 (minibuffer-complete): Use completion-in-region.
3244 (completion-complete-and-exit): New fun, extracted from
3245 minibuffer-complete-and-exit.
3246 (minibuffer-complete-and-exit): Use it.
3247 (completion--complete-and-exit): Rename from
3248 minibuffer--complete-and-exit.
3249 (completion-in-region--single-word): New function, extracted from
3250 minibuffer-complete-word.
3251 (minibuffer-complete-word): Use it.
3252 (display-completion-list): Make `common-substring' argument obsolete.
3253 (completion--in-region): Call completion--in-region-1 instead of
3254 minibuffer-complete.
3255 (completion-help-at-point): Pass boundaries to
3256 minibuffer-completion-help as args rather than via an overlay.
3257 (completion-pcm--string->pattern): Use `any-delim'.
3258 (completion-pcm--optimize-pattern): New function.
3259 (completion-pcm--pattern->regex): Handle `any-delim'.
3260 * icomplete.el (icomplete-forward-completions)
3261 (icomplete-backward-completions, icomplete-completions):
3262 Adjust calls to completion-all-sorted-completions and
3263 completion--cache-all-sorted-completions.
3264 (icomplete-with-completion-tables): Default to t.
3265 * emacs-lisp/crm.el (crm--current-element): Rename from
3266 crm--select-current-element. Don't put an overlay but return the
3267 boundaries instead.
3268 (crm--completion-command): Take two new args to bind to the boundaries.
3269 (crm-completion-help): Adjust accordingly.
3270 (crm-complete): Use completion-in-region.
3271 (crm-complete-word): Use completion-in-region--single-word.
3272 (crm-complete-and-exit): Use completion-complete-and-exit.
3273
3274 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3275
3276 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3277 than dynamically.
3278
3279 2013-09-06 Juri Linkov <juri@jurta.org>
3280
3281 * info.el (Info-display-images-node): When image file doesn't exist
3282 display text version of the image if it's provided in the Info file.
3283 Otherwise, display the location of missing image from SRC attribute.
3284 Add help-echo text property from ALT attribute. (Bug#15279)
3285
3286 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3287
3288 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3289 (edit-abbrevs-mode): Use define-derived-mode.
3290
3291 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3292 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3293 that it's defined.
3294 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3295 Use define-derived-mode.
3296
3297 * epg.el (epg-start-encrypt): Minor CSE simplification.
3298
3299 2013-09-06 William Xu <william.xwl@gmail.com>
3300
3301 * arc-mode.el: Add support for 7za (bug#15264).
3302 (archive-7z-program): New var.
3303 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3304 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3305 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3306
3307 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3308
3309 Remove URL syntax.
3310
3311 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3312 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3313 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3314 (tramp-postfix-host-format, tramp-file-name-regexp)
3315 (tramp-completion-file-name-regexp)
3316 (tramp-completion-dissect-file-name)
3317 (tramp-handle-substitute-in-file-name): Remove 'url case.
3318 (tramp-file-name-regexp-url)
3319 (tramp-completion-file-name-regexp-url): Remove constants.
3320
3321 2013-09-06 Glenn Morris <rgm@gnu.org>
3322
3323 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3324
3325 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3326
3327 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3328 keywords" below "here-doc beginnings" (Bug#15270).
3329
3330 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * subr.el (pop): Use `car-safe'.
3333 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3334 to detect unused `pop' return value.
3335
3336 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3337 var `block-regexp'.
3338 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3339 (python-fill-string): Remove unused var `marker'.
3340 (python-skeleton-add-menu-items): Remove unused var `items'.
3341
3342 * international/mule-cmds.el: Require CL.
3343 (find-coding-systems-for-charsets): Avoid add-to-list.
3344 (sanitize-coding-system-list): New function, extracted from
3345 select-safe-coding-system-interactively.
3346 (select-safe-coding-system-interactively): Use it.
3347 (read-input-method-name): Accept symbols for `default'.
3348
3349 * emacs-lisp/advice.el (defadvice): Add indent rule.
3350
3351 2013-09-05 Daniel Hackney <dan@haxney.org>
3352
3353 * dired-x.el:
3354 * net/ange-ftp.el:
3355 * net/browse-url.el:
3356 * net/dbus.el:
3357 * net/eudc.el:
3358 * net/eudcb-ldap.el:
3359 * net/eww.el:
3360 * net/imap.el:
3361 * printing.el:
3362 * vc/ediff-diff.el:
3363 * vc/ediff-init.el:
3364 * vc/ediff-merg.el:
3365 * vc/ediff-mult.el:
3366 * vc/ediff-util.el:
3367 * vc/ediff-wind.el:
3368 * vc/ediff.el:
3369 * vc/emerge.el:
3370 * vc/pcvs.el:
3371 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3372 byte compiler. Remove some unused let-bound variables.
3373
3374 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3375
3376 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3377 a "ref-cell", since it gets better optimized (bug#14883).
3378
3379 2013-09-05 Glenn Morris <rgm@gnu.org>
3380
3381 * progmodes/cc-awk.el (c-forward-sws): Declare.
3382
3383 2013-09-04 Glenn Morris <rgm@gnu.org>
3384
3385 * generic-x.el [rul-generic-mode]: Require cc-mode.
3386 (c++-mode-syntax-table): Declare.
3387 (rul-generic-mode-syntax-table): Init in the defvar.
3388
3389 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3390
3391 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3392 (vc-do-command, vc-set-async-update):
3393 * vc/vc-mtn.el (vc-mtn-dir-status):
3394 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3395 (vc-hg-pull, vc-hg-merge-branch):
3396 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3397 (vc-git-merge-branch):
3398 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3399 (vc-cvs-dir-status-files):
3400 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3401 (vc-bzr-dir-status-files):
3402 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3403 * vc/vc-annotate.el: Use lexical-binding.
3404 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3405 (vc-sentinel-movepoint): Declare.
3406 (vc-annotate): Don't use `goto-line'.
3407 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3408 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3409 (vc-sentinel-movepoint): Declare.
3410 * vc/vc-svn.el: Use lexical-binding.
3411 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3412 * vc/vc-sccs.el:
3413 * vc/vc-rcs.el: Use lexical-binding.
3414
3415 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3416 `deleted'. Don't drop errors silently.
3417
3418 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3419
3420 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3421
3422 * vc/vc.el (vc-ignore): Rewrite.
3423 (vc-default-ignore): New function.
3424 (vc-default-ignore-completion-table): Use find-ignore-file.
3425
3426 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3427 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3428 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3429 Remove. Most code moved to vc.el.
3430
3431 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3432
3433 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3434 * net/tramp-smb.el (tramp-smb-get-file-entries):
3435 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3436 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3437
3438 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3439 Update call to it.
3440 (eww-change-select): Remove unused var `properties'.
3441 (eww-make-unique-file-name): Remove unused var `base'.
3442
3443 * finder.el (finder-compile-keywords): Don't mess with windows.
3444
3445 * calculator.el (calculator-funcall): Fix typo in last change.
3446
3447 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3448
3449 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3450 <pkg>-autoloads.el file stop us.
3451
3452 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3453 warnings, and factor out common code.
3454
3455 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3456
3457 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3458 two-character operators and whether the character preceding them
3459 changes their meaning (Bug#15208).
3460
3461 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3462
3463 Format code sent to Python shell for robustness.
3464 * progmodes/python.el (python-shell-buffer-substring):
3465 New function.
3466 (python-shell-send-region, python-shell-send-buffer): Use it.
3467
3468 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3469
3470 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3471 * net/tramp.el (tramp-user-error): ... here.
3472 (tramp-find-method, tramp-check-proper-host)
3473 (tramp-dissect-file-name, tramp-debug-message)
3474 (tramp-handle-shell-command):
3475 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3476 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3477
3478 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3479
3480 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3481
3482 * avoid.el (mouse-avoidance-point-position)
3483 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3484 returns nil.
3485
3486 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3487
3488 * progmodes/python.el (python-shell-completion-get-completions):
3489 Drop use of deleted `comint-last-prompt-overlay'.
3490 (python-nav-if-name-main): New command.
3491
3492 2013-09-01 Glenn Morris <rgm@gnu.org>
3493
3494 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3495 Avoid leading space in $wins. Otherwise the sed command used by
3496 eg compile-main ends up containing "/*.el". (Bug#15170)
3497
3498 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3499
3500 2013-08-30 Glenn Morris <rgm@gnu.org>
3501
3502 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3503 Fix is-this-a-directory logic. (Bug#15220)
3504
3505 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3506
3507 * textmodes/css-mode.el: Use SMIE.
3508 (css-smie-grammar): New var.
3509 (css-smie--forward-token, css-smie--backward-token)
3510 (css-smie-rules): New functions.
3511 (css-mode): Use them.
3512 (css-navigation-syntax-table): Remove var.
3513 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3514 (css-indent-calculate, css-indent-line): Remove functions.
3515
3516 Misc changes to reduce use of `(lambda...); and other cleanups.
3517 * cus-edit.el: Use lexical-binding.
3518 (customize-push-and-save, customize-apropos)
3519 (custom-buffer-create-internal): Use closures.
3520 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3521 * progmodes/ada-xref.el: Use setq.
3522 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3523 * dframe.el: Use lexical-binding.
3524 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3525 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3526 * descr-text.el: Use lexical-binding.
3527 (describe-text-widget, describe-text-sexp, describe-property-list):
3528 Use closures.
3529 * comint.el (comint-history-isearch-push-state): Use a closure.
3530 * calculator.el: Use lexical-binding.
3531 (calculator-number-to-string): Make it work with lexical-binding.
3532 (calculator-funcall): Same and use cl-letf.
3533
3534 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3535 (lisp--company-doc-string, lisp--company-location): New functions.
3536 (lisp-completion-at-point): Use them to improve Company support.
3537
3538 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3539 params of lambda expressions.
3540 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3541 (ruby-smie--opening-pipe-p): New function.
3542 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3543 symbols and matched |...| for formal params.
3544 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3545 from being treated as hanging. Handle "rescue".
3546
3547 2013-08-29 Glenn Morris <rgm@gnu.org>
3548
3549 * progmodes/cc-engine.el (c-pull-open-brace):
3550 Move definition before use.
3551
3552 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3553
3554 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3555 are immutable. Don't use `unsafe' any more.
3556 (cl--defsubst-expand): Don't substitute at the same time as keeping
3557 a residual unused let-binding. Don't use `unsafe' any more.
3558
3559 2013-08-29 Glenn Morris <rgm@gnu.org>
3560
3561 * calendar/cal-china.el (calendar-chinese-year-cache):
3562 Recenter on 2015.
3563
3564 * nxml/nxml-util.el (nxml-debug-clear-inside):
3565 Use cl-loop rather than loop.
3566
3567 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3568
3569 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3570
3571 2013-08-28 Glenn Morris <rgm@gnu.org>
3572
3573 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3574
3575 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3576
3577 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3578
3579 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3580
3581 * simple.el (repeat-complex-command--called-interactively-skip):
3582 New function.
3583 (repeat-complex-command): Use it (bug#14136).
3584
3585 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3586 (c-define-abbrev-table): Add `doc' argument.
3587 (c-mode-abbrev-table, c++-mode-abbrev-table)
3588 (objc-mode-abbrev-table, java-mode-abbrev-table)
3589 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3590 (awk-mode-abbrev-table): Use it.
3591 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3592 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3593 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3594 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3595 Move initialization into the declaration; and remove any
3596 autoload cookie.
3597
3598 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3599 and dynamic let binding.
3600
3601 * vc/smerge-mode.el: Remove redundant :group args.
3602
3603 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3604 to load-path.
3605
3606 2013-08-28 Juri Linkov <juri@jurta.org>
3607
3608 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3609 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3610 (isearch-other-meta-char): Handle an undefined shifted printing
3611 character by downshifting it. (Bug#15200)
3612
3613 2013-08-28 Juri Linkov <juri@jurta.org>
3614
3615 * isearch.el (isearch-search): Change regexp error message for
3616 non-regexp searches. (Bug#15166)
3617
3618 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3619
3620 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3621 for portability to hosts where /bin/sh has problems.
3622
3623 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3624
3625 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3626
3627 2013-08-27 Juri Linkov <juri@jurta.org>
3628
3629 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3630 in the keyboard macro. (Bug#15126)
3631
3632 2013-08-27 Juri Linkov <juri@jurta.org>
3633
3634 * isearch.el (isearch-quote-char): Comment out converting unibyte
3635 to multibyte, thus syncing with its `quoted-insert' counterpart.
3636 (Bug#15166)
3637
3638 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3639
3640 * window.el (display-buffer-use-some-window): Add missing
3641 argument in call of get-largest-window (Bug#15185).
3642 Reported by Stephen Leake.
3643
3644 2013-08-27 Glenn Morris <rgm@gnu.org>
3645
3646 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3647
3648 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3649
3650 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3651 from a matcher-function unless there's no more matches (bug#15161).
3652
3653 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3654
3655 * minibuffer.el: Revert change from 2013-08-20.
3656
3657 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3658 with text property `tramp-default', if appropriate.
3659 (tramp-check-proper-host): New defun.
3660 (tramp-dissect-file-name): Do not check hostname. Revert change
3661 of 2013-03-18.
3662 (tramp-backtrace): Make VEC-OR-PROC optional.
3663
3664 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3665 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3666 * net/tramp-sh.el (tramp-maybe-open-connection):
3667 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3668 Apply `tramp-check-proper-host'.
3669
3670 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3671
3672 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3673 lambda expression in order to have `describe-variable' display it.
3674
3675 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3676
3677 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3678 BUF can be optional. (Bug#15186)
3679
3680 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3681
3682 * progmodes/flymake.el (flymake-get-real-file-name-function):
3683 Fix broken customization. (Bug#15184)
3684
3685 2013-08-25 Alan Mackenzie <acm@muc.de>
3686
3687 Improve indentation of bracelists defined by macros (without "=").
3688
3689 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3690 expansion begins with "{", regard it as bracelist when it doesn't
3691 contain a ";".
3692
3693 Parse C++ inher-intro when there's a template split over 2 lines.
3694
3695 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3696 rigorously the search for "class" etc. followed by ":".
3697
3698 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3699 random languages a regexp which never matches rather than nil.
3700
3701 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3702
3703 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3704 (c-awk-regexp-one-line-possibly-open-char-list-re)
3705 (c-awk-one-line-possibly-open-regexp-re)
3706 (c-awk-one-line-non-syn-ws*-re): Remove.
3707 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3708 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3709 (c-awk-space*-unclosed-regexp-/-re): New constants.
3710 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3711 aren't regexp delimiters.
3712
3713 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3714 handling for a rare situation in AWK Mode involving unterminated
3715 strings/regexps.
3716
3717 2013-08-23 Glenn Morris <rgm@gnu.org>
3718
3719 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3720
3721 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3722
3723 * files.el (create-file-buffer): If the result would begin with
3724 spaces, prepend a "|" instead of removing them. (Bug#15162)
3725
3726 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3729 text-properties (bug#15155).
3730
3731 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3732 exist any more.
3733 (calc-keypad-redraw): Remove unused var `pad'.
3734 (calc-keypad-press): Remove unused var `menu'.
3735
3736 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3737
3738 * window.el (display-buffer-pop-up-frame):
3739 Call pop-up-frame-function with BUFFER current so `make-frame' will
3740 use it as the new frame's buffer (Bug#15133).
3741
3742 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * calendar/timeclock.el: Minor cleanups.
3745 (timeclock-ask-before-exiting, timeclock-use-display-time):
3746 Use `symbol'.
3747 (timeclock-modeline-display): Define as alias before the
3748 actual definition.
3749 (timeclock-mode-line-display): Use define-minor-mode.
3750 (timeclock-day-list-template): Make it a function, add an argument.
3751 (timeclock-day-list-required, timeclock-day-list-length)
3752 (timeclock-day-list-debt, timeclock-day-list-span)
3753 (timeclock-day-list-break): Adjust calls accordingly.
3754
3755 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3756
3757 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3758 Use read--expression so that completion works again.
3759
3760 2013-08-21 Sam Steingold <sds@gnu.org>
3761
3762 Add rudimentary inferior shell interaction
3763 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3764 (sh-set-shell): Reset it.
3765 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3766 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3767
3768 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3769
3770 * align.el: Use lexical-binding.
3771 (align-region): Simplify accordingly.
3772
3773 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3774
3775 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3776
3777 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3778 `non-essential' up.
3779
3780 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3781
3782 * net/tramp.el:
3783 * net/tramp-adb.el:
3784 * net/tramp-cmds.el:
3785 * net/tramp-ftp.el:
3786 * net/tramp-gvfs.el:
3787 * net/tramp-gw.el:
3788 * net/tramp-sh.el: Don't wrap external variable declarations by
3789 `eval-when-compile'.
3790
3791 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3792
3793 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3794 now that Emacs supports ImageMagick animations.
3795
3796 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3797
3798 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3799 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3800
3801 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3802
3803 * window.el (mouse-autoselect-window-select): Do autoselect when
3804 mouse pointer is on margin.
3805
3806 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3807
3808 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3809
3810 2013-08-16 Glenn Morris <rgm@gnu.org>
3811
3812 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3813 Handle "Remote Directory" response of some clients. (Bug#15058)
3814
3815 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3816 Tweak warning. (Bug#14926)
3817
3818 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3819 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3820
3821 * image-mode.el (image-mode-map): Add menu items to reverse,
3822 increase, decrease, reset animation speed.
3823 (image--set-speed, image-increase-speed, image-decrease-speed)
3824 (image-reverse-speed, image-reset-speed): New functions.
3825 (image-mode-map): Add bindings for speed commands.
3826
3827 * image.el (image-animate-get-speed, image-animate-set-speed):
3828 New functions.
3829 (image-animate-timeout): Respect image :speed property.
3830
3831 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3832
3833 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3834 previous line (bug#15101).
3835 (debugger-eval-expression, debugger-record-expression):
3836 Use read--expression (bug#15102).
3837
3838 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3839
3840 Remove byte compiler warnings, visible when compiling with
3841 `byte-compile-force-lexical-warnings' set to t.
3842
3843 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3844 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3845 (tramp-handle-unhandled-file-name-directory)
3846 (tramp-handle-file-notify-add-watch, tramp-action-login)
3847 (tramp-action-succeed, tramp-action-permission-denied)
3848 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3849 arguments with "_".
3850
3851 * net/tramp-adb.el (tramp-adb-parse-device-names)
3852 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3853 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3854 (tramp-adb-handle-file-truename): Remove unused arguments.
3855
3856 * net/tramp-cache.el (tramp-flush-directory-property)
3857 (tramp-flush-connection-property, tramp-list-connections)
3858 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3859
3860 * net/tramp-compat.el (tramp-compat-make-temp-file):
3861 Rename FILENAME to F.
3862
3863 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3864 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3865 (tramp-zeroconf-parse-workstation-device-names)
3866 (tramp-zeroconf-parse-webdav-device-names)
3867 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3868
3869 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3870 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3871
3872 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3873 arguments.
3874 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3875 (tramp-sh-handle-insert-file-contents-literally)
3876 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3877 with "_".
3878 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3879 Remove unused variables.
3880
3881 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3882 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3883 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3884
3885 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3886 Make them a defconst.
3887 (tramp-uuencode-region): Remove unused variable.
3888
3889 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3890
3891 * frameset.el (frameset--prop-setter): New function.
3892 (frameset-prop): Add gv-setter declaration.
3893 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3894 parameter was already set in FILTERED. Doc fix.
3895 (frameset--record-minibuffer-relationships): Allow saving a
3896 minibufferless frame without its corresponding minibuffer frame.
3897 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3898 frame, if the frame id matches.
3899 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3900 frames before orphaned ones.
3901 (frameset-restore): Warn about orphaned windows, instead of error out.
3902
3903 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3904
3905 * window.el (window-make-atom): Don't overwrite parameter
3906 already present.
3907 (display-buffer-in-atom-window): Handle special case where we
3908 split an already atomic window.
3909 (window--major-non-side-window, display-buffer-in-side-window)
3910 (window--side-check): Ignore minibuffer window when walking
3911 window tree.
3912 (window-deletable-p): Return 'frame only if no other frame uses
3913 our minibuffer window.
3914 (record-window-buffer): Run buffer-list-update-hook.
3915 (split-window): Make sure window--check-frame won't destroy an
3916 existing atomic window in case the new window gets nested
3917 inside.
3918 (display-buffer-at-bottom): Ignore minibuffer window when
3919 walking window tree. Don't split a side window.
3920 (pop-to-buffer): Don't set-buffer here, the select-window call
3921 should do that.
3922 (mouse-autoselect-window-select): Autoselect only if we are in the
3923 text portion of the window.
3924
3925 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3926
3927 * net/shr.el (shr-parse-image-data): New function to grab both the
3928 data itself and the Content-Type.
3929 (shr-put-image): Use it.
3930
3931 * net/eww.el (eww-display-image): Ditto.
3932
3933 * image.el (image-content-type-suffixes): New variable.
3934
3935 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3936
3937 * progmodes/python.el (python-imenu--build-tree)
3938 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3939
3940 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3941
3942 * simple.el (backward-word): Mention the optional argument.
3943
3944 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3945
3946 * frameset.el (frameset--make): Rename constructor from make-frameset.
3947 (frameset-p, frameset-valid-p): Don't autoload.
3948 (frameset-valid-p): Use normal accessors.
3949
3950 2013-08-13 Glenn Morris <rgm@gnu.org>
3951
3952 * progmodes/compile.el (compile-command): Tweak example in doc.
3953 * obsolete/scribe.el (scribe-mode):
3954 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3955
3956 * mail/feedmail.el (feedmail-confirm-outgoing)
3957 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3958
3959 * cus-start.el (truncate-partial-width-windows): Fix type.
3960
3961 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3962
3963 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3964
3965 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3966
3967 * emacs-lisp/timer.el (timer--time-setter): New function.
3968 (timer--time): Use it as gv-setter.
3969
3970 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3971 setter is not a symbol.
3972
3973 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3974
3975 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3976 if sending fails. This makes debugging easier.
3977
3978 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3979
3980 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3981 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3982 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3983
3984 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3985
3986 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3987
3988 2013-08-12 Glenn Morris <rgm@gnu.org>
3989
3990 * format.el (format-annotate-function):
3991 Handle read-only text properties in the source. (Bug#14887)
3992
3993 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3994
3995 * net/eww.el (eww-display-html): Ignore coding system errors.
3996 One web site uses "utf-8lias" as the coding system.
3997
3998 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3999
4000 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4001
4002 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4003
4004 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4005 (tutorial--detailed-help): Remove unused local variables.
4006 (tutorial--save-tutorial-to): Use ignore-errors.
4007 (help-with-tutorial): Use looking-at-p.
4008
4009 * view.el (view-buffer-other-window, view-buffer-other-frame):
4010 Mark unused arguments.
4011
4012 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4013 (woman-select-symbol-fonts, woman, woman-find-file)
4014 (woman-insert-file-contents, woman-non-underline-faces):
4015 Use string-match-p.
4016 (woman1-unquote): Move declaration.
4017
4018 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4019 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4020 argument. Remove unused local variable.
4021 (xml-parse-elem-type): Use string-match-p.
4022 (xml-substitute-numeric-entities): Use ignore-errors.
4023
4024 * calculator.el (calculator): Mark unused argument.
4025 (calculator-paste, calculator-quit, calculator-integer-p):
4026 Use ignore-errors.
4027 (calculator-string-to-number, calculator-decimal, calculator-exp)
4028 (calculator-op-or-exp): Use string-match-p.
4029
4030 * dired.el (dired-buffer-more-recently-used-p): Declare.
4031 (dired-insert-set-properties, dired-insert-old-subdirs):
4032 Use ignore-errors.
4033
4034 * dired-aux.el (dired-compress): Use ignore-errors.
4035 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4036 (dired-do-async-shell-command, dired-do-shell-command)
4037 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4038 (dired-insert-subdir-validate): Use string-match-p.
4039 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4040 (dired-add-entry): Use string-match-p, looking-at-p.
4041 (dired-insert-subdir-newpos): Remove unused local variable.
4042
4043 * filenotify.el (file-notify-callback): Remove unused local variable.
4044
4045 * filesets.el (filesets-error): Mark unused argument.
4046 (filesets-which-command-p, filesets-filter-dir-names)
4047 (filesets-directory-files, filesets-get-external-viewer)
4048 (filesets-ingroup-get-data): Use string-match-p.
4049
4050 * find-file.el (ff-other-file-name, ff-other-file-name)
4051 (ff-find-the-other-file, ff-cc-hh-converter):
4052 Remove unused local variables.
4053 (ff-get-file-name): Use string-match-p.
4054 (ff-all-dirs-under): Use ignore-errors.
4055
4056 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4057 (follow-select-if-visible): Remove unused local variable.
4058
4059 * forms.el (read-file-filter): Move declaration.
4060 (forms--make-format, forms--make-parser, forms-insert-record):
4061 Quote function with #'.
4062 (forms--update): Use string-match-p. Quote function with #'.
4063
4064 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4065 (help-make-xrefs): Use looking-at-p.
4066 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4067
4068 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4069 (ibuffer-confirm-operation-on): Use string-match-p.
4070
4071 * msb.el (msb-item-handler, msb-dired-item-handler):
4072 Mark unused arguments.
4073
4074 * ses.el (ses-decode-cell-symbol)
4075 (ses-kill-override): Remove unused local variable.
4076 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4077 (ses-load): Use ignore-errors, looking-at-p.
4078 (ses-jump-safe): Use ignore-errors.
4079 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4080
4081 * tabify.el (untabify, tabify): Mark unused arguments.
4082
4083 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4084 Mark unused argument.
4085 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4086 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4087
4088 * emacs-lisp/timer.el (timer--time): Define setter with
4089 gv-define-setter to avoid deprecation warning.
4090
4091 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4092 (*record-cmpl-statistics-p*): Remove (was commented out).
4093 (cmpl-statistics-block): Remove (body was commented out).
4094 All callers changed.
4095 (add-completions-from-buffer, load-completions-from-file):
4096 Remove unused variables.
4097
4098 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4099
4100 * filecache.el (file-cache-delete-file-list):
4101 Print message only when told so.
4102 (file-cache-files-matching): Use #' in mapconcat argument.
4103
4104 * ffap.el (ffap-url-at-point): Fix reference to variable
4105 thing-at-point-default-mail-uri-scheme.
4106
4107 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4108
4109 * subr.el (define-error): New function.
4110 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4111 error-file-not-found and define with define-error.
4112 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4113 and define with define-error.
4114 * userlock.el (file-locked, file-supersession):
4115 * simple.el (mark-inactive):
4116 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4117 * progmodes/ada-mode.el (ada-mode-errors):
4118 * play/life.el (life-extinct):
4119 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4120 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4121 * nxml/rng-util.el (rng-error):
4122 * nxml/rng-uri.el (rng-uri-error):
4123 * nxml/rng-match.el (rng-compile-error):
4124 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4125 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4126 * nxml/nxml-rap.el (nxml-scan-error):
4127 * nxml/nxml-outln.el (nxml-outline-error):
4128 * net/soap-client.el (soap-error):
4129 * net/gnutls.el (gnutls-error):
4130 * net/ange-ftp.el (ftp-error):
4131 * mpc.el (mpc-proc-error):
4132 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4133 (json-number-format, json-string-escape, json-string-format)
4134 (json-key-format, json-object-format):
4135 * jka-compr.el (compression-error):
4136 * international/quail.el (quail-error):
4137 * international/kkc.el (kkc-error):
4138 * emacs-lisp/ert.el (ert-test-failed):
4139 * calc/calc.el (calc-error, inexact-result, math-overflow)
4140 (math-underflow):
4141 * bookmark.el (bookmark-error-no-filename):
4142 * epg.el (epg-error): Define with define-error.
4143
4144 * time.el (display-time-event-handler)
4145 (display-time-next-load-average): Don't call sit-for since it seems
4146 unnecessary (bug#15045).
4147
4148 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4149 Use #' instead of ' to quote functions.
4150 (checkdoc-output-mode): Use setq-local.
4151 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4152 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4153 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4154 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4155 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4156 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4157 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4158 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4159
4160 * ido.el (ido-completion-help): Fix up compiler warning.
4161
4162 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4163
4164 * frameset.el (frameset-p): Add autoload cookie.
4165 (frameset--jump-to-register): New function, based on code moved from
4166 register.el.
4167 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4168
4169 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4170 (frameset-restore, frameset-save, frameset-session-filter-alist):
4171 Remove declarations.
4172 (register-alist): Doc fix.
4173 (frameset-to-register): Move to frameset.el.
4174 (jump-to-register, describe-register-1): Remove frameset-specific code.
4175
4176 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4177
4178 * allout-widgets.el (allout-widgets-pre-command-business)
4179 (allout-widgets-post-command-business)
4180 (allout-widgets-after-change-handler)
4181 (allout-decorate-item-and-context, allout-set-boundary-marker)
4182 (allout-body-modification-handler)
4183 (allout-graphics-modification-handler): Mark ignored arguments.
4184 (allout-widgets-post-command-business)
4185 (allout-widgets-exposure-change-processor)
4186 (allout-widgets-exposure-undo-processor)
4187 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4188 (allout-parse-item-at-point, allout-decorate-item-guides)
4189 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4190 * allout.el (epa-passphrase-callback-function): Declare.
4191 (allout-overlay-insert-in-front-handler)
4192 (allout-overlay-interior-modification-handler)
4193 (allout-isearch-end-handler, allout-chart-siblings)
4194 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4195 (allout-yank-processing, allout-process-exposed)
4196 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4197 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4198 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4199 (lisp-indent-defform): Mark ignored arguments.
4200 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4201 (calculate-lisp-indent): Remove unused variables.
4202 * international/characters.el (indian-2-column, arabic-2-column)
4203 (tibetan): Mark ignored arguments.
4204 (use-cjk-char-width-table): Mark ignored arguments.
4205 Remove unused variables.
4206 * international/fontset.el (build-default-fontset-data)
4207 (x-compose-font-name, create-fontset-from-fontset-spec):
4208 Mark ignored arguments.
4209 (fontset-plain-name): Remove unused variables.
4210 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4211 (keyboard-coding-system): Mark ignored arguments.
4212 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4213 * help.el (resize-temp-buffer-window):
4214 * window.el (display-buffer-in-major-side-window)
4215 (display-buffer-in-side-window, display-buffer-in-previous-window):
4216 Remove unused variables.
4217 * isearch.el (isearch-forward-symbol):
4218 * version.el (emacs-bzr-version-bzr):
4219 * international/mule-cmds.el (current-language-environment):
4220 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4221 (x-handle-display):
4222 * term/pc-win.el (x-list-fonts, x-display-planes)
4223 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4224 (x-server-version, x-display-screens, x-display-mm-height)
4225 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4226 (x-selection-owner-p, x-own-selection-internal)
4227 (x-disown-selection-internal, x-get-selection-internal)
4228 (msdos-initialize-window-system):
4229 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4230 * term/x-win.el (x-handle-no-bitmap-icon):
4231 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4232 (vc-default-find-file-hook, vc-default-extra-menu):
4233 Mark ignored arguments.
4234
4235 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4236
4237 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4238 break-condition in the context of the debugged code (bug#12685).
4239
4240 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4241
4242 * comint.el:
4243 Do not use an overlay to highlight the last prompt. (Bug#14744)
4244 (comint-mode): Make comint-last-prompt buffer local.
4245 (comint-last-prompt): New variable.
4246 (comint-last-prompt-overlay): Remove. Superseded by
4247 comint-last-prompt.
4248 (comint-snapshot-last-prompt, comint-output-filter):
4249 Use comint-last-prompt.
4250
4251 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4252
4253 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4254 (frameset-save): Check validity of the resulting frameset.
4255
4256 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4257
4258 * ido.el (ido-record-command): Add doc string.
4259
4260 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4261
4262 * frameset.el (frameset): Do not disable creation of the default
4263 frameset-p predicate. Doc fix.
4264 (frameset-valid-p): New function, copied from the old predicate-p.
4265 Add additional checks.
4266 (frameset-restore): Check with frameset-valid-p.
4267 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4268 (frameset-name, frameset-description, frameset-properties)
4269 (frameset-states): Add docstring.
4270 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4271 (frameset-filter-alist): Doc fixes.
4272
4273 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4274
4275 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4276
4277 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4278
4279 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4280 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4281 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4282 (byte-compile-normal-call): Remove obsolescence check.
4283
4284 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4285
4286 * frameset.el (frameset-restore): Doc fix.
4287
4288 * register.el (frameset-frame-id, frameset-frame-with-id)
4289 (frameset-p, frameset-restore, frameset-save): Declare.
4290 (register-alist): Document framesets.
4291 (frameset-session-filter-alist): Declare.
4292 (frameset-to-register): New function.
4293 (jump-to-register): Implement jumping to framesets. Doc fix.
4294 (describe-register-1): Describe framesets.
4295
4296 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4297
4298 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4299
4300 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4301 Use lexical-binding.
4302
4303 * frameset.el (frameset): Use type vector, not list (incompatible
4304 change). Do not declare a new constructor, use the default one.
4305 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4306 `name' and `description', respectively, and add read-only slot
4307 `timestamp'. Doc fixes.
4308 (frameset-copy, frameset-persistent-filter-alist)
4309 (frameset-filter-alist, frameset-switch-to-gui-p)
4310 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4311 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4312 (frameset-filter-iconified, frameset-keep-original-display-p):
4313 Doc fixes.
4314 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4315 Rename from frameset-filter-(save|restore)-param. All callers changed.
4316 Doc fix.
4317 (frameset-p): Adapt to change to vector and be more thorough.
4318 Change arg name to OBJECT. Doc fix.
4319 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4320 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4321 All callers changed.
4322 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4323 All callers changed.
4324 (frameset--record-minibuffer-relationships): Rename from
4325 frameset--process-minibuffer-frames. All callers changed.
4326 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4327 Use new default constructor (again). Doc fix.
4328 (frameset--find-frame-if): Rename from `frameset--find-frame.
4329 All callers changed.
4330 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4331 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4332 Doc fix.
4333 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4334 PARAMETERS and WINDOW-STATE, respectively.
4335 (frameset-restore): Add new keyword argument PREDICATE.
4336 Reset frameset--target-display to nil. Doc fix.
4337
4338 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4339
4340 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4341 (bat-mode): Use it.
4342 (bat-mode-syntax-table): Mark \n as end-of-comment.
4343 (bat-font-lock-keywords): Remove comment rule.
4344
4345 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4346 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4347
4348 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4349 (byte-compile-callargs-warn): Use `push'.
4350 (byte-compile-arglist-warn): Ignore higher-order "calls".
4351 (byte-compile-file-form-autoload): Use `pcase'.
4352 (byte-compile-function-form): If quoting a symbol, check that it exists.
4353
4354 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4355
4356 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4357 and add a few popular commands found in batch files.
4358 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4359 (dos-mode): Doc fixes.
4360
4361 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4362
4363 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4364 (dos-mode): Use setq-local. Add space after "rem".
4365 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4366 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4367
4368 2013-08-07 Arni Magnusson <arnima@hafro.is>
4369
4370 * progmodes/dos.el: New file.
4371 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4372 dos-mode.
4373
4374 2013-08-06 Glenn Morris <rgm@gnu.org>
4375
4376 * calendar/calendar.el: Add new faces, and day-header-array.
4377 (calendar-weekday-header, calendar-weekend-header)
4378 (calendar-month-header): New faces.
4379 (calendar-day-header-construct): New function.
4380 (calendar-day-header-width): Also :set calendar-day-header-array.
4381 (calendar-american-month-header, calendar-european-month-header)
4382 (calendar-iso-month-header): Use calendar- faces.
4383 (calendar-generate-month):
4384 Use calendar-day-header-array for day headers; apply faces to them.
4385 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4386 (calendar-abbrev-construct): Add optional maxlen argument.
4387 (calendar-day-name-array): Doc fix.
4388 (calendar-day-name-array, calendar-abbrev-length)
4389 (calendar-day-abbrev-array):
4390 Also :set calendar-day-header-array, and maybe redraw.
4391 (calendar-day-header-array): New option. (Bug#15007)
4392 (calendar-font-lock-keywords): Set to nil and make obsolete.
4393 (calendar-day-name): Add option to use header array.
4394
4395 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4396
4397 * net/shr.el (shr-render-td): Remove debugging.
4398 (shr-render-td): Make width computation consistent by defaulting
4399 all zero-width columns to 10 characters. This may not be optimal,
4400 but it's at least consistent.
4401 (shr-make-table-1): Redo last change to fix the real problem in
4402 colspan handling.
4403
4404 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4405
4406 * files.el (cache-long-line-scans):
4407 Make obsolete alias to `cache-long-scans'.
4408
4409 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4410
4411 * frameset.el (frameset, frameset-filter-alist)
4412 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4413 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4414 (frameset-compute-pos): Rename from frameset--compute-pos,
4415 and add docstring.
4416 (frameset-move-onscreen): Use frameset-compute-pos.
4417 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4418
4419 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4420 Fix typos in docstrings.
4421
4422 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4423
4424 * frame.el (get-other-frame): Tiny cleanup.
4425
4426 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4427
4428 * vc/vc.el (vc-default-ignore-completion-table):
4429 Silence byte-compiler warning.
4430
4431 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4432 slot , which can indeed be nil.
4433 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4434 Move entry for `left' from persistent to live filter alist.
4435 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4436 Doc fixes.
4437 (frameset-filter-params): When restoring a frame, copy items added to
4438 `filtered', to avoid unwittingly modifying the original parameters.
4439 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4440 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4441
4442 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4443 to use looking-at-p instead of looking-at. (Bug#15028)
4444
4445 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4446
4447 Revert introduction of isearch-filter-predicates (bug#14714).
4448 Rely on add-function instead.
4449 * isearch.el (isearch-filter-predicates): Rename it back to
4450 isearch-filter-predicate.
4451 (isearch-message-prefix): Use advice-function-mapc and advice
4452 properties to get the isearch-message-prefix.
4453 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4454 instead of run-hook-with-args-until-failure.
4455 (isearch-filter-visible): Not obsolete any more.
4456 * loadup.el: Preload nadvice.
4457 * replace.el (perform-replace): Revert to funcall
4458 instead of run-hook-with-args-until-failure.
4459 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4460 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4461 dired-isearch-filenames-toggle; make it into a proper minor mode.
4462 Use add/remove-function.
4463 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4464 Call the minor-mode rather than add/remove-hook.
4465 (dired-isearch-filter-filenames):
4466 Remove isearch-message-prefix property.
4467 * info.el (Info--search-loop): New function, extracted from Info-search.
4468 Funcall isearch-filter-predicate instead of
4469 run-hook-with-args-until-failure isearch-filter-predicates.
4470 (Info-search): Use it.
4471 (Info-mode): Use isearch-filter-predicate instead of
4472 isearch-filter-predicates.
4473
4474 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4475
4476 Do not call to `selected-window' where it is assumed by default.
4477 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4478 `window-hscroll', `window-width', `window-height', `window-buffer',
4479 `window-frame', `window-start', `window-point', `next-window'
4480 and `window-display-table'.
4481 * abbrev.el (abbrev--default-expand):
4482 * bs.el (bs--show-with-configuration):
4483 * buff-menu.el (Buffer-menu-mouse-select):
4484 * calc/calc.el (calc):
4485 * calendar/calendar.el (calendar-generate-window):
4486 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4487 (diary-make-entry):
4488 * comint.el (send-invisible, comint-dynamic-complete-filename)
4489 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4490 * completion.el (complete):
4491 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4492 * disp-table.el (describe-current-display-table):
4493 * doc-view.el (doc-view-insert-image):
4494 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4495 * ehelp.el (with-electric-help):
4496 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4497 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4498 * emacs-lisp/helper.el (Helper-help-scroller):
4499 * emulation/cua-base.el (cua--post-command-handler-1):
4500 * eshell/esh-mode.el (eshell-output-filter):
4501 * ffap.el (ffap-gnus-wrapper):
4502 * help-macro.el (make-help-screen):
4503 * hilit-chg.el (highlight-compare-buffers):
4504 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4505 * hl-line.el (global-hl-line-highlight):
4506 * icomplete.el (icomplete-simple-completing-p):
4507 * isearch.el (isearch-done):
4508 * jit-lock.el (jit-lock-stealth-fontify):
4509 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4510 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4511 * mpc.el (mpc-tagbrowser, mpc):
4512 * net/rcirc.el (rcirc-any-buffer):
4513 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4514 * play/landmark.el (landmark-max-width, landmark-max-height):
4515 * play/zone.el (zone):
4516 * progmodes/compile.el (compilation-goto-locus):
4517 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4518 * progmodes/etags.el (find-tag-other-window):
4519 * progmodes/fortran.el (fortran-column-ruler):
4520 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4521 * progmodes/verilog-mode.el (verilog-point-text):
4522 * reposition.el (reposition-window):
4523 * rot13.el (toggle-rot13-mode):
4524 * server.el (server-switch-buffer):
4525 * shell.el (shell-dynamic-complete-command)
4526 (shell-dynamic-complete-environment-variable):
4527 * simple.el (insert-buffer, set-selective-display)
4528 (delete-completion-window):
4529 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4530 (speedbar-recenter):
4531 * startup.el (fancy-splash-head):
4532 * textmodes/ispell.el (ispell-command-loop):
4533 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4534 * tutorial.el (help-with-tutorial):
4535 * vc/add-log.el (add-change-log-entry):
4536 * vc/compare-w.el (compare-windows):
4537 * vc/ediff-help.el (ediff-indent-help-message):
4538 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4539 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4540 (ediff-setup-control-frame):
4541 * vc/emerge.el (emerge-position-region):
4542 * vc/pcvs-util.el (cvs-bury-buffer):
4543 * window.el (walk-windows, mouse-autoselect-window-select):
4544 * winner.el (winner-set-conf, winner-undo): Related users changed.
4545
4546 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4547
4548 * frameset.el (frameset--set-id): Doc fix.
4549 (frameset-frame-id, frameset-frame-id-equal-p)
4550 (frameset-locate-frame-id): New functions.
4551 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4552 (frameset-restore): Use them.
4553
4554 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4555
4556 Do not call to `selected-frame' where it is assumed by default.
4557 Affected functions are `raise-frame', `redraw-frame',
4558 `frame-first-window', `frame-terminal' and `delete-frame'.
4559 * calendar/appt.el (appt-disp-window):
4560 * epg.el (epg-wait-for-completion):
4561 * follow.el (follow-delete-other-windows-and-split)
4562 (follow-avoid-tail-recenter):
4563 * international/mule.el (set-terminal-coding-system):
4564 * mail/rmail.el (rmail-mail-return):
4565 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4566 * progmodes/f90.el (f90-add-imenu-menu):
4567 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4568 * server.el (server-switch-buffer):
4569 * simple.el (delete-completion-window):
4570 * talk.el (talk):
4571 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4572 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4573 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4574 * vc/ediff.el (ediff-documentation): Related users changed.
4575 * frame.el (selected-terminal): Remove the leftover.
4576
4577 2013-08-05 Glenn Morris <rgm@gnu.org>
4578
4579 * calendar/calendar.el (calendar-generate-month):
4580 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4581 (calendar-generate-month, calendar-font-lock-keywords):
4582 Fix for calendar-day-header-width > length of any day name.
4583
4584 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4585
4586 * desktop.el (desktop-clear): Use new name of sort predicate.
4587
4588 * frameset.el (frameset): Add docstring. Move :version property to its
4589 own `version' slot.
4590 (frameset-copy): Rename from copy-frameset.
4591 (frameset-p): Check more thoroughly.
4592 (frameset-prop): Do not check for :version, which is no longer a prop.
4593 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4594 Use new :never value instead of t.
4595 (frameset-filter-alist): Expand and clarify docstring.
4596 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4597 (frameset-filter-minibuffer, frameset-filter-save-param)
4598 (frameset-filter-restore-param, frameset-filter-iconified):
4599 Add pointer to docstring of frameset-filter-alist.
4600 (frameset-filter-params): Rename filter values to be more meaningful:
4601 :never instead of t, and reverse the meanings of :save and :restore.
4602 (frameset--process-minibuffer-frames): Clarify error message.
4603 (frameset-save): Avoid unnecessary and confusing call to framep.
4604 Use new BOA constructor for framesets.
4605 (frameset--reuse-list): Doc fix.
4606 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4607 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4608 (frameset-minibufferless-first-p): Doc fix.
4609 Rename from frameset-sort-frames-for-deletion.
4610 (frameset-restore): Doc fixes. Use new function names.
4611 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4612
4613 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4614
4615 * desktop.el (desktop-restore-forces-onscreen)
4616 (desktop-restore-reuses-frames): Document :keyword constant values.
4617 (desktop-filter-parameters-alist): Remove, now identical to
4618 frameset-filter-alist.
4619 (desktop--filter-tty*): Remove, moved to frameset.el.
4620 (desktop-save-frameset, desktop-restore-frameset):
4621 Do not pass :filters argument.
4622
4623 * frameset.el (frameset-live-filter-alist)
4624 (frameset-persistent-filter-alist): New variables.
4625 (frameset-filter-alist): Use them. Add autoload cookie.
4626 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4627 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4628 `frameset--id' (it's supposed to be internal to frameset.el).
4629 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4630 (frameset--initial-params): New function.
4631 (frameset--get-frame): Use it. Doc fix.
4632 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4633 Accept :all, not 'all.
4634 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4635 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4636 with fbound symbols. Fix frame id matching, and remove matching ids if
4637 the frame being restored is deleted. Obey :delete.
4638
4639 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4640
4641 * subr.el (macrop): New function.
4642 (text-clone--maintaining): New var.
4643 (text-clone--maintain): Rename from text-clone-maintain. Use it
4644 instead of inhibit-modification-hooks.
4645
4646 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4647 a proxy, so as handle autoloads and redefinitions of the target.
4648 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4649
4650 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4651 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4652 (pcase--mutually-exclusive-p): New function.
4653 (pcase--split-consp): Use it.
4654 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4655 mutually exclusive with the current predicate.
4656
4657 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4658 (edebug-macrop): Remove. Use `macrop' instead.
4659 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4660 (ad-macro-p):
4661 * eshell/esh-cmd.el (eshell-macrop):
4662 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4663
4664 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4665
4666 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4667 (advice-mapc): New function, using it.
4668 (advice-function-member-p): New function.
4669 (advice--normalize): Store the cdr in advice--saved-rewrite since
4670 that's the part that will be changed.
4671 (advice--symbol-function): New function.
4672 (advice-remove): Handle removal before the function is defined.
4673 Adjust to new advice--saved-rewrite.
4674 (advice-member-p): Use advice-function-member-p and
4675 advice--symbol-function.
4676
4677 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4678
4679 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4680 (frameset-filter-minibuffer): Doc fix.
4681 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4682 (frameset--set-id, frameset--process-minibuffer-frames)
4683 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4684 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4685
4686 * desktop.el (desktop-clear): Only delete frames when called
4687 interactively and desktop-restore-frames is non-nil. Doc fix.
4688 (desktop-read): Set desktop-saved-frameset to nil.
4689
4690 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4691
4692 * vc/vc.el (vc-ignore): Rewrite.
4693 (vc-default-ignore-completion-table):
4694 (vc--read-lines):
4695 (vc--add-line, vc--remove-regexp): New functions.
4696
4697 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4698 (vc-svn-ignore-completion-table): New function.
4699
4700 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4701 (vc-hg-ignore-completion-table):
4702 (vc-hg-find-ignore-file): New functions.
4703
4704 * vc/vc-git.el (vc-git-ignore): Rewrite.
4705 (vc-git-ignore-completion-table):
4706 (vc-git-find-ignore-file): New functions.
4707
4708 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4709
4710 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4711 (vc-bzr-ignore-completion-table):
4712 (vc-bzr-find-ignore-file): New functions.
4713
4714 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4715
4716 * frameset.el (frameset-prop): New function and setter.
4717 (frameset-save): Do not modify frame list passed by the caller.
4718
4719 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4722
4723 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4724
4725 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4726 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4727
4728 * custom.el (custom-initialize-default, custom-initialize-set)
4729 (custom-initialize-reset, custom-initialize-changed): Affect the
4730 toplevel-default-value (bug#6275, bug#14586).
4731 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4732 for bug#6275.
4733
4734 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4735
4736 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4737 Add cl-def* expressions.
4738
4739 * frameset.el (frameset-filter-params): Fix order of arguments.
4740
4741 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4742
4743 Move code related to saving frames to frameset.el.
4744 * desktop.el: Require frameset.
4745 (desktop-restore-frames): Doc fix.
4746 (desktop-restore-reuses-frames): Rename from
4747 desktop-restoring-reuses-frames.
4748 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4749 (desktop-clear): Clear frames too.
4750 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4751 (desktop--filter-tty*, desktop-save, desktop-read):
4752 Use frameset functions.
4753 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4754 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4755 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4756 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4757 (desktop--process-minibuffer-frames, desktop-save-frames)
4758 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4759 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4760 (desktop--sort-states, desktop-restoring-frames-p)
4761 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4762 (desktop-restoring-frameset-p, desktop-restore-frameset)
4763 (desktop--check-dont-save, desktop-save-frameset): New functions.
4764 (desktop--app-id): New constant.
4765 (desktop-first-buffer, desktop-buffer-ok-count)
4766 (desktop-buffer-fail-count): Move before first use.
4767 * frameset.el: New file.
4768
4769 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4770
4771 * files.el: Use lexical-binding.
4772 (dir-locals-read-from-file): Remove unused `err' variable.
4773 (hack-dir-local-variables--warned-coding): New var.
4774 (hack-dir-local-variables): Use it to avoid repeated warnings.
4775 (make-backup-file-name--default-function): New function.
4776 (make-backup-file-name-function): Use it as default.
4777 (buffer-stale--default-function): New function.
4778 (buffer-stale-function): Use it as default.
4779 (revert-buffer-insert-file-contents--default-function): New function.
4780 (revert-buffer-insert-file-contents-function): Use it as default.
4781 (insert-directory): Avoid add-to-list.
4782
4783 * autorevert.el (auto-revert-handler): Simplify.
4784 Use buffer-stale--default-function.
4785
4786 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4787
4788 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4789
4790 * whitespace.el (whitespace-ensure-local-variables): New function.
4791 (whitespace-cleanup-region): Call it.
4792 (whitespace-turn-on): Call it.
4793
4794 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4795
4796 Complete file name handlers.
4797
4798 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4799 (tramp-handle-verify-visited-file-modtime)
4800 (tramp-handle-file-notify-rm-watch): New functions.
4801 (tramp-call-process): Do not bind `default-directory'.
4802
4803 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4804 Order alphabetically.
4805 [access-file, add-name-to-file, dired-call-process]:
4806 [dired-compress-file, file-acl, file-notify-rm-watch]:
4807 [file-ownership-preserved-p, file-selinux-context]:
4808 [make-directory-internal, make-symbolic-link, set-file-acl]:
4809 [set-file-selinux-context, set-visited-file-modtime]:
4810 [verify-visited-file-modtime]: Add handler.
4811 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4812
4813 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4814 [file-notify-add-watch, file-notify-rm-watch]:
4815 [set-file-times, set-visited-file-modtime]:
4816 [verify-visited-file-modtime]: Add handler.
4817 (with-tramp-gvfs-error-message)
4818 (tramp-gvfs-handle-set-visited-file-modtime)
4819 (tramp-gvfs-fuse-file-name): Remove.
4820 (tramp-gvfs-handle-file-notify-add-watch)
4821 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4822 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4823
4824 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4825 Order alphabetically.
4826 [file-notify-rm-watch ]: Use default Tramp handler.
4827 [executable-find]: Remove private handler.
4828 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4829 `default-directory'.
4830 (tramp-sh-handle-executable-find)
4831 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4832 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4833 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4834 Do not use `format' in `tramp-message'.
4835
4836 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4837 [file-notify-rm-watch, set-visited-file-modtime]:
4838 [verify-visited-file-modtime]: Add handler.
4839 (tramp-smb-call-winexe): Do not bind `default-directory'.
4840
4841 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4842
4843 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4844
4845 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4846
4847 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4848 use it.
4849 (log-view-diff-changeset): Same.
4850 (log-view-diff-common): Call backend command `previous-revision'
4851 to find out the previous revision, in both cases. Swap the
4852 variables `to' and `fr', so that `fr' usually refers to the
4853 earlier revision (Bug#14989).
4854
4855 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4856
4857 * ibuf-ext.el (ibuffer-filter-by-filename):
4858 Make it work with dired buffers too.
4859
4860 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4861
4862 * emacs-lisp/re-builder.el (reb-color-display-p):
4863 * files.el (save-buffers-kill-terminal):
4864 * net/browse-url.el (browse-url):
4865 * server.el (server-save-buffers-kill-terminal):
4866 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4867 Prefer nil to selected-frame for the first arg of frame-parameter.
4868
4869 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4870
4871 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4872
4873 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4874
4875 * minibuffer.el (completion--twq-all): Try and preserve each
4876 completion's case choice (bug#14907).
4877
4878 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4879
4880 * net/network-stream.el (open-network-stream): Mention the new
4881 :nogreeting parameter.
4882 (network-stream-open-starttls): Use the :nogreeting parameter
4883 (bug#14938).
4884
4885 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4886
4887 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4888 more natural than popping.
4889
4890 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4891 (shr-urlify): Highlight under mouse.
4892
4893 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4894
4895 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4896
4897 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4898
4899 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4900 buffer for output.
4901
4902 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4903 point-min==1. Fix search string. Fix parentheses missing.
4904
4905 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4906 assume point-min==1. Fix search string. Fix parentheses missing.
4907
4908 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4909
4910 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4911 buffer for output.
4912
4913 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4914
4915 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4916 initial frame is minibuffer-less. (Bug#14841)
4917
4918 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4919
4920 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4921 option.
4922
4923 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4924 (tramp-maybe-open-connection): Use it.
4925
4926 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4927
4928 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4929 minimal set of parameters passed when creating a frame, because
4930 the minibuffer status of a frame cannot be changed later.
4931
4932 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4933
4934 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4935 replace-regexp-in-string and inadvertent omissions in previous change.
4936 (todo-filter-items): Ensure only file names are comma-separated in
4937 name of filtered items buffer.
4938
4939 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4940
4941 * desktop.el: Optionally force offscreen frames back onscreen.
4942 (desktop-restoring-reuses-frames): New option.
4943 (desktop--compute-pos, desktop--move-onscreen): New functions.
4944 (desktop--make-frame): Use desktop--move-onscreen.
4945
4946 2013-07-27 Alan Mackenzie <acm@muc.de>
4947
4948 Fontify a Java generic method as a function.
4949 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4950 value to t.
4951
4952 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4953
4954 * calendar/todo-mode.el: Add command to rename todo files.
4955 (todo-rename-file): New command.
4956 (todo-key-bindings-t): Add key binding for it. Change the
4957 bindings of todo-filter-regexp-items(-multifile) to use `x'
4958 instead of `r', since the latter is better suited to the new
4959 renaming command.
4960
4961 2013-07-27 Alan Mackenzie <acm@muc.de>
4962
4963 Make Java try-with-resources statement parse properly.
4964 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4965 (c-block-stmt-1-2-key): New language constants/variables.
4966 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4967 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4968 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4969 with c-block-stmt-1-2-key.
4970
4971 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4972
4973 * desktop.el (desktop--make-frame): Apply most frame parameters after
4974 creating the frame to force (partially or totally) offscreen frames to
4975 be restored as such.
4976
4977 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4978
4979 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4980 (Bug#14948)
4981
4982 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4983
4984 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4985 `base' arg of backtrace-frame.
4986
4987 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4988
4989 * simple.el (list-processes): Doc fix.
4990
4991 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4992
4993 * desktop.el (desktop--select-frame):
4994 Try harder to reuse existing frames.
4995
4996 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4999 (edebug-eval): Use backtrace-eval.
5000 (edebug--display, edebug--recursive-edit): Don't let-bind the
5001 edebug-outer-* vars that keep track of variables we locally let-bind.
5002 (edebug-outside-excursion): Don't restore outside values of locally
5003 let-bound vars.
5004 (edebug--display): Use user-error.
5005 (cl-lexical-debug, cl-debug-env): Remove.
5006
5007 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5008
5009 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5010 are restored to be sure that they are visible before deleting any
5011 remaining ones.
5012
5013 2013-07-26 Matthias Meulien <orontee@gmail.com>
5014
5015 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5016 vc-print-root-log. (Bug#14948)
5017
5018 2013-07-26 Richard Stallman <rms@gnu.org>
5019
5020 Add aliases for encrypting mail.
5021 * epa.el (epa-mail-aliases): New option.
5022 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5023 Bind inhibit-read-only so read-only text doesn't ruin everything.
5024 (epa-mail-default-recipients): New subroutine broken out.
5025 Handle epa-mail-aliases.
5026
5027 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5028
5029 Add support for lexical variables to the debugger's `e' command.
5030 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5031 vars, except for debugger-outer-match-data.
5032 (debugger-frame-number): Move check for "on a function call" from
5033 callers into it. Add `skip-base' argument.
5034 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5035 (debugger-env-macro): Only reset the state stored in non-variables,
5036 i.e. current-buffer and match-data.
5037 (debugger-eval-expression): Rewrite using backtrace-eval.
5038 * subr.el (internal--called-interactively-p--get-frame): Remove.
5039 (called-interactively-p):
5040 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5041 `base' arg of backtrace-frame instead.
5042
5043 2013-07-26 Glenn Morris <rgm@gnu.org>
5044
5045 * align.el (align-regexp): Doc fix. (Bug#14857)
5046 (align-region): Explicit error if subexpression missing/does not match.
5047
5048 * simple.el (global-visual-line-mode):
5049 Do not duplicate the mode lighter. (Bug#14858)
5050
5051 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5052
5053 * window.el (display-buffer): In display-buffer bind
5054 split-window-keep-point to t, bug#14829.
5055
5056 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5057
5058 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5059 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5060 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5061 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5062 Change accordingly.
5063 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5064 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5065
5066 2013-07-25 Glenn Morris <rgm@gnu.org>
5067
5068 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5069
5070 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5071
5072 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5073 parameter to modify-frame-parameters if the value has not changed;
5074 this is a workaround for bug#14949.
5075 (desktop--make-frame): On cl-delete-if call, check parameter name,
5076 not full parameter.
5077
5078 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5079
5080 * vc/vc.el (vc-ignore): New function.
5081
5082 * vc/vc-svn.el (vc-svn-ignore): New function.
5083
5084 * vc/vc-hg.el (vc-hg-ignore): New function.
5085
5086 * vc/vc-git.el (vc-git-ignore): New function.
5087
5088 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5089 (vc-dir-ignore): New function.
5090
5091 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5092 (cvs-append-to-ignore): Move here from pcvs.el.
5093
5094 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5095
5096 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5097
5098 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5099
5100 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5101 (desktop-restore-frames): Warn when deleting an existing frame failed.
5102
5103 2013-07-24 Glenn Morris <rgm@gnu.org>
5104
5105 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5106
5107 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5108
5109 * filenotify.el (file-notify-supported-p):
5110 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5111 Remove functions.
5112
5113 * autorevert.el (auto-revert-use-notify):
5114 (auto-revert-notify-add-watch):
5115 * net/tramp.el (tramp-file-name-for-operation):
5116 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5117 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5118 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5119 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5120 Remove `file-notify-supported-p' entry.
5121
5122 2013-07-24 Glenn Morris <rgm@gnu.org>
5123
5124 * printing.el: Replace all uses of deleted ps-windows-system,
5125 ps-lp-system, ps-flatten-list with lpr- versions.
5126
5127 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5130 checked with memq (bug#14935).
5131
5132 * files.el (revert-buffer-function): Use a non-nil default.
5133 (revert-buffer-preserve-modes): Declare var to
5134 provide access to the `preserve-modes' argument.
5135 (revert-buffer): Let-bind it.
5136 (revert-buffer--default): New function, extracted from revert-buffer.
5137
5138 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * lpr.el: Signal print errors more prominently.
5141 (print-region-function): Don't default to nil.
5142 (lpr-print-region): New function, extracted from print-region-1.
5143 Check lpr's return value and signal an error in case of problem.
5144 (print-region-1): Use it.
5145 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5146 versions instead.
5147 (ps-printer-name): Default to nil.
5148 (ps-printer-name-option): Default to lpr-printer-switch.
5149 (ps-print-region-function): Don't default to nil.
5150 (ps-postscript-code-directory): Simplify default.
5151 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5152 (ps-string-list, ps-eval-switch, ps-flatten-list)
5153 (ps-flatten-list-1): Remove.
5154 (ps-multibyte-buffer): Avoid setq.
5155 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5156 (print-region-function, ps-print-region-function): Don't set them here.
5157
5158 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5159
5160 * ido.el (ido-fractionp):
5161 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5162 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5163 (ido-max-directory-size, ido-max-dir-file-cache)
5164 (ido-decorations): Doc fix.
5165
5166 * ansi-color.el: Fix old URL.
5167
5168 2013-07-23 Michael R. Mauger <michael@mauger.com>
5169
5170 * progmodes/sql.el: Version 3.3
5171 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5172 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5173 (sql-interactive-remove-continuation-prompt): Rewrite, use
5174 functions above. Fix continuation prompt and complete output line
5175 handling.
5176 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5177 redirected output buffer.
5178 (sql-mode): Restore deleted code (Bug#13591).
5179
5180 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5181
5182 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5183
5184 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5185
5186 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5187
5188 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5189 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5190 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5191
5192 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5193
5194 * desktop.el (desktop-clear): Simplify; remove useless checks
5195 against invalid buffer names.
5196 (desktop-list*): Use cl-list*.
5197 (desktop-buffer-info, desktop-create-buffer): Simplify.
5198
5199 2013-07-23 Leo Liu <sdl.web@gmail.com>
5200
5201 * bookmark.el (bookmark-make-record): Restore NAME as a default
5202 value. (Bug#14933)
5203
5204 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5205
5206 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5207 extracted from autoload--insert-text.
5208 (autoload--insert-text): Remove.
5209 (autoload--print-cookie-text): New function, extracted from
5210 autoload--insert-cookie-text.
5211 (autoload--insert-cookie-text): Remove.
5212 (autoload-generate-file-autoloads): Adjust calls accordingly.
5213
5214 * winner.el (winner-hook-installed-p): Remove.
5215 (winner-mode): Simplify accordingly.
5216
5217 * subr.el (add-to-list): Fix compiler-macro when `append' is
5218 not constant. Don't use `cl-member' for the base case.
5219
5220 * progmodes/subword.el: Fix boundary case (bug#13758).
5221 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5222 own group.
5223 (subword-backward-regexp): Make it a constant.
5224 (subword-forward-internal): Don't treat a trailing capital as the
5225 beginning of a word.
5226
5227 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5228
5229 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5230 global value of tabulated-list-revert-hook (bug#14930).
5231
5232 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5233
5234 * desktop.el: Require 'cl-lib.
5235 (desktop-before-saving-frames-functions): New hook.
5236 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5237 for frames being saved. Rename from desktop--save-minibuffer-frames.
5238 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5239 Do not save frames with non-nil `desktop-dont-save' parameter.
5240 Filter out deleted frames.
5241 (desktop--find-frame): Use cl-find-if.
5242 (desktop--select-frame): Use cl-(first|second|third) to access values
5243 of desktop-mini.
5244 (desktop--make-frame): Use cl-delete-if.
5245 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5246 (desktop-restore-frames): Use cl-(first|second|third) to access values
5247 of desktop-mini. Look for visible frame at the end, not while
5248 restoring frames.
5249
5250 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5251 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5252 Use string-match-p, looking-at-p (bug#14927).
5253
5254 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5255
5256 * desktop.el (desktop-saved-frame-states):
5257 Rename from desktop--saved-states; all users changed.
5258 (desktop-save-frames): Rename from desktop--save-frames.
5259 Do not save state to desktop file.
5260 (desktop-save): Save desktop-saved-frame-states to desktop file
5261 and reset to nil.
5262 (desktop-restoring-frames-p): New function.
5263 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5264 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5265 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5266
5267 * desktop.el: Correctly restore iconified frames.
5268 (desktop--filter-iconified-position): New function.
5269 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5270
5271 2013-07-20 Glenn Morris <rgm@gnu.org>
5272
5273 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5274 Let `message' do the formatting.
5275 (def-gdb-preempt-display-buffer): Add explicit format.
5276
5277 * image-dired.el (image-dired-track-original-file):
5278 Use with-current-buffer.
5279 (image-dired-track-thumbnail): Use with-current-buffer.
5280 Avoid changing point of wrong window.
5281
5282 * image-dired.el (image-dired-track-original-file):
5283 Avoid changing point of wrong window. (Bug#14909)
5284
5285 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5286
5287 * progmodes/gdb-mi.el (gdb-done-or-error):
5288 Guard against "%" in gdb output. (Bug#14127)
5289
5290 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5291
5292 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5293 (Bug#14826)
5294
5295 * international/mule.el (coding-system-iso-2022-flags): Fix last
5296 change.
5297
5298 2013-07-20 Kenichi Handa <handa@gnu.org>
5299
5300 * international/mule.el (coding-system-iso-2022-flags):
5301 Add `8-bit-level-4'. (Bug#8522)
5302
5303 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5304
5305 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5306 (bug#14815).
5307
5308 * net/eww.el (eww-process-text-input): Allow inputting when the
5309 point is at the start of the line, as the properties aren't
5310 front-sticky.
5311
5312 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5313 degenerate widths.
5314
5315 2013-07-19 Richard Stallman <rms@gnu.org>
5316
5317 * epa.el (epa-popup-info-window): Doc fix.
5318
5319 * subr.el (split-string): New arg TRIM.
5320
5321 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5322
5323 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5324 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5325
5326 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5327
5328 * filenotify.el (file-notify--library): Rename from
5329 `file-notify-support'. Do not autoload. Adapt all uses.
5330 (file-notify-supported-p): New defun.
5331
5332 * autorevert.el (auto-revert-use-notify):
5333 Use `file-notify-supported-p' instead of `file-notify-support'.
5334 Adapt docstring.
5335 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5336
5337 * net/tramp.el (tramp-file-name-for-operation):
5338 Add `file-notify-supported-p'.
5339
5340 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5341 New defun.
5342 (tramp-sh-file-name-handler-alist): Add it as handler for
5343 `file-notify-supported-p '.
5344
5345 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5346 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5347 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5348 Add `ignore' as handler for `file-notify-*' functions.
5349
5350 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5351
5352 * simple.el (line-move-partial, line-move): Don't start vscroll or
5353 scroll-up if the current line is not taller than the window.
5354 (Bug#14881)
5355
5356 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5357
5358 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5359 highlight question marks in the method names as strings.
5360 (ruby-block-beg-keywords): Inline.
5361 (ruby-font-lock-keyword-beg-re): Extract from
5362 `ruby-font-lock-keywords'.
5363
5364 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5365
5366 * frame.el (blink-cursor-blinks): New defcustom.
5367 (blink-cursor-blinks-done): New defvar.
5368 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5369 (blink-cursor-timer-function): Check if number of blinks has been
5370 done on X and NS.
5371 (blink-cursor-suspend, blink-cursor-check): New defuns.
5372
5373 2013-07-15 Glenn Morris <rgm@gnu.org>
5374
5375 * edmacro.el (edmacro-format-keys): Fix previous change.
5376
5377 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5378
5379 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5380 The hack didn't work outside English locales anyway.
5381
5382 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5383
5384 * simple.el (define-alternatives): Rename from alternatives-define,
5385 per RMS' suggestion.
5386
5387 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5388
5389 * desktop.el (desktop-restore-frames): Change default to t.
5390 (desktop-restore-in-current-display): Now offer more options.
5391 (desktop-restoring-reuses-frames): New customization option.
5392 (desktop--saved-states): Doc fix.
5393 (desktop-filter-parameters-alist): New variable, renamed and expanded
5394 from desktop--excluded-frame-parameters.
5395 (desktop--target-display): New variable.
5396 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5397 (desktop--filter-tty*, desktop--filter-*-color)
5398 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5399 (desktop--filter-save-desktop-parm)
5400 (desktop-restore-in-original-display-p): New functions.
5401 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5402 (desktop--save-minibuffer-frames): New function, inspired by a similar
5403 function from Martin Rudalics.
5404 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5405 (desktop--restore-in-this-display-p): Remove.
5406 (desktop--find-frame): Rename from desktop--find-frame-in-display
5407 and add predicate argument.
5408 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5409 (desktop--reuse-list): New variable.
5410 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5411 New functions.
5412 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5413
5414 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5415
5416 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5417
5418 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5419
5420 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5421 Highlight conversion methods on Kernel.
5422
5423 2013-07-13 Alan Mackenzie <acm@muc.de>
5424
5425 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5426 and comment it out. This out-commenting enables certain C++
5427 declarations to be parsed correctly.
5428
5429 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5430
5431 * international/mule.el (define-coding-system): Doc fix.
5432
5433 * simple.el (default-font-height): Don't call font-info if the
5434 frame's default font didn't change since the frame was created.
5435 (Bug#14838)
5436
5437 2013-07-13 Leo Liu <sdl.web@gmail.com>
5438
5439 * ido.el (ido-read-file-name): Guard against non-symbol value.
5440
5441 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5442
5443 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5444 in nested defuns.
5445
5446 2013-07-13 Leo Liu <sdl.web@gmail.com>
5447
5448 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5449 ido-set-matches call. (Bug#6852)
5450
5451 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5452
5453 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5454 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5455 Ruby 2.0.
5456 (ruby-font-lock-keywords): Distinguish calls to functions with
5457 module-like names from module references. Highlight character
5458 literals.
5459
5460 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5461
5462 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5463 (gdb-send): Handle continued commands. (Bug#14847)
5464
5465 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5466
5467 * desktop.el (desktop--v2s): Remove unused local variable.
5468 (desktop-save-buffer): Make defvar-local; adjust docstring.
5469 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5470 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5471
5472 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5473
5474 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5475
5476 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5477
5478 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5479 (Bug#14842)
5480
5481 2013-07-12 Glenn Morris <rgm@gnu.org>
5482
5483 * doc-view.el: Require cl-lib at runtime too.
5484 (doc-view-remove-if): Remove.
5485 (doc-view-search-next-match, doc-view-search-previous-match):
5486 Use cl-remove-if.
5487
5488 * edmacro.el: Require cl-lib at runtime too.
5489 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5490 (edmacro-mismatch, edmacro-subseq): Remove.
5491
5492 * shadowfile.el: Require cl-lib.
5493 (shadow-remove-if): Remove.
5494 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5495 Use cl-remove-if.
5496
5497 * wid-edit.el: Require cl-lib.
5498 (widget-choose): Use cl-remove-if.
5499 (widget-remove-if): Remove.
5500
5501 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5502 (ebrowse-delete-if-not): Remove.
5503 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5504 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5505 Use cl-delete-if-not.
5506
5507 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5508
5509 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5510 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5511
5512 2013-07-12 Leo Liu <sdl.web@gmail.com>
5513
5514 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5515
5516 2013-07-11 Glenn Morris <rgm@gnu.org>
5517
5518 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5519 (edebug-gensym-index, edebug-gensym):
5520 Remove reimplementation of cl-gensym.
5521 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5522
5523 * thumbs.el: Require cl-lib at run-time too.
5524 (thumbs-gensym-counter, thumbs-gensym):
5525 Remove reimplementation of cl-gensym.
5526 (thumbs-temp-file): Use cl-gensym.
5527
5528 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5529 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5530 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5531 (ert--union, ert--gensym-counter, ert--gensym-counter)
5532 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5533 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5534 (ert-make-test-unbound, ert--expand-should-1)
5535 (ert--expand-should, ert--should-error-handle-error)
5536 (should-error, ert--explain-equal-rec)
5537 (ert--plist-difference-explanation, ert-select-tests)
5538 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5539 Use cl-lib functions rather than reimplementations.
5540
5541 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5542
5543 * net/tramp.el (tramp-methods): Extend docstring.
5544 (tramp-connection-timeout): New defcustom.
5545 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5546 (with-tramp-progress-reporter): Simplify.
5547 (tramp-process-actions): Improve messages.
5548
5549 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5550 * net/tramp-sh.el (tramp-maybe-open-connection):
5551 Use `tramp-connection-timeout'.
5552 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5553 (Bug#14808)
5554
5555 2013-07-11 Leo Liu <sdl.web@gmail.com>
5556
5557 * ido.el (ido-read-file-name): Conform to the requirements of
5558 read-file-name. (Bug#11861)
5559 (ido-read-directory-name): Conform to the requirements of
5560 read-directory-name.
5561
5562 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5563
5564 * subr.el (delay-warning): New function.
5565
5566 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5567
5568 * simple.el (default-line-height): New function.
5569 (line-move-partial, line-move): Use it instead of computing the
5570 line height inline.
5571 (line-move-partial): Always compute ROWH. If the last line is
5572 partially-visible, but its text is completely visible, allow
5573 cursor to enter such a partially-visible line.
5574
5575 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5576
5577 Improve error messages. (Bug#14808)
5578
5579 * net/tramp.el (tramp-current-connection): New defvar, moved from
5580 tramp-sh.el.
5581 (tramp-message-show-progress-reporter-message): Remove, not
5582 needed anymore.
5583 (tramp-error-with-buffer): Show message in minibuffer.
5584 Discard input before waiting. Reset connection timestamp.
5585 (with-tramp-progress-reporter): Improve messages.
5586 (tramp-process-actions): Use progress reporter. Delete process in
5587 case of error. Improve messages.
5588
5589 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5590 Call `tramp-error-with-buffer' with vector and buffer.
5591 (tramp-current-connection): Remove.
5592 (tramp-maybe-open-connection): The car of
5593 `tramp-current-connection' are the first 3 slots of the vector.
5594
5595 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5596
5597 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5598 inside continued strings.
5599
5600 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5601
5602 Timestamp fixes for undo (Bug#14824).
5603 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5604
5605 2013-07-10 Leo Liu <sdl.web@gmail.com>
5606
5607 * files.el (require-final-newline): Allow safe local value.
5608 (Bug#14834)
5609
5610 2013-07-09 Leo Liu <sdl.web@gmail.com>
5611
5612 * ido.el (ido-read-directory-name): Handle fallback.
5613 (ido-read-file-name): Update DIR to ido-current-directory.
5614 (Bug#1516)
5615 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5616
5617 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5618
5619 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5620 "autoload". Remove "warn lower camel case" section, previously
5621 commented out. Highlight negation char. Do not highlight the
5622 target in singleton method definitions.
5623
5624 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * faces.el (tty-setup-hook): Declare the hook.
5627
5628 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5629 and detect when a guard/pred depends on local vars (bug#14773).
5630 (pcase--u1): Adjust caller.
5631
5632 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5633
5634 * simple.el (line-move-partial, line-move): Account for
5635 line-spacing.
5636 (line-move-partial): Avoid setting vscroll when the last
5637 partially-visible line in window is of default height.
5638
5639 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5640
5641 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5642 been used a while.
5643
5644 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5645
5646 * subr.el (read-quoted-char): Remove unused local variable `char'.
5647
5648 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5649
5650 * ediff.el (ediff-version): Version update.
5651 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5652 (ediff-merge-with-ancestor-command, ediff-directories-command)
5653 (ediff-directories3-command, ediff-merge-directories-command)
5654 (ediff-merge-directories-with-ancestor-command): New functions.
5655 All are command-line interfaces to ediff: to facilitate calling
5656 Emacs with the appropriate ediff functions invoked.
5657
5658 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5659 (viper-save-kill-buffer): Check if buffer is modified.
5660
5661 * viper.el (viper-version): Version update.
5662 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5663
5664 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5665
5666 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5667 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5668 (viper-intercept-ESC-key): Simplify.
5669 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5670 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5671 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5672 (viper-setup-ESC-to-escape): New functions.
5673 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5674 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5675
5676 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5677
5678 * simple.el (default-font-height, window-screen-lines):
5679 New functions.
5680 (line-move, line-move-partial): Use them instead of
5681 frame-char-height and window-text-height. This makes scrolling
5682 text smoother when the buffer's default face uses a font that is
5683 different from the frame's default font.
5684
5685 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5686
5687 * files.el (write-file): Do not display confirm dialog for NS,
5688 it does its own dialog, which can't be cancelled (Bug#14578).
5689
5690 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5691
5692 * simple.el (line-move-partial): Adjust the row returned by
5693 posn-at-point for the current window-vscroll. (Bug#14567)
5694
5695 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5696
5697 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5698 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5699 spaces.
5700
5701 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5702
5703 * window.el (window-state-put-stale-windows): New variable.
5704 (window--state-put-2): Save list of windows without matching buffer.
5705 (window-state-put): Remove "bufferless" windows if possible.
5706
5707 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5708
5709 * simple.el (alternatives-define): Remove leftover :group keyword.
5710 Tweak docstring.
5711
5712 2013-07-06 Leo Liu <sdl.web@gmail.com>
5713
5714 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5715 (ido-enable-virtual-buffers): New variable.
5716 (ido-buffer-internal, ido-toggle-virtual-buffers)
5717 (ido-make-buffer-list): Use it.
5718 (ido-exhibit): Support turning on and off virtual buffers
5719 automatically.
5720
5721 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5722
5723 * simple.el (alternatives-define): New macro.
5724
5725 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5726
5727 * subr.el (read-quoted-char): Use read-key.
5728 (sit-for): Let read-event decode tty input (bug#14782).
5729
5730 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5731
5732 * calendar/todo-mode.el: Add handling of file deletion, both by
5733 mode command and externally. Fix various related bugs.
5734 Clarify Commentary and improve some documentation strings and code.
5735 (todo-delete-file): New command.
5736 (todo-check-file): New function.
5737 (todo-show): Handle external deletion of the file we're trying to
5738 show (bug#14688). Replace called-interactively-p by an optional
5739 prefix argument to avoid problematic interaction with catch form
5740 when byte compiled (bug#14702).
5741 (todo-quit): Handle external deletion of the archive's todo file.
5742 Make sure the buffer that was visiting the archive file is still
5743 live before trying to bury it.
5744 (todo-category-completions): Handle external deletion of any
5745 category completion files.
5746 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5747 of todo files, in case of external deletion.
5748 (todo-add-file): Replace unnecessary setq by let-binding.
5749 (todo-find-archive): Check whether there are any archives.
5750 Replace unnecessary setq by let-binding.
5751 (todo-archive-done-item): Use find-file-noselect to get the
5752 archive buffer whether or not the archive already exists.
5753 Remove superfluous code. Use file size instead of buffer-file-name to
5754 check if the archive is new; if it is, update list of archives.
5755 (todo-default-todo-file): Allow nil to be a valid value for when
5756 there are no todo files.
5757 (todo-reevaluate-default-file-defcustom): Use corrected definition
5758 of todo-default-todo-file.
5759 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5760 (todo-delete-category, todo-show-categories-table)
5761 (todo-category-number): Clarify comment.
5762 (todo-filter-items): Clarify documentation string.
5763 (todo-show-current-file, todo-display-as-todo-file)
5764 (todo-reset-and-enable-done-separator): Tweak documentation string.
5765 (todo-done-separator): Make separator length window-width, since
5766 bug#2749 is now fixed.
5767
5768 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5769
5770 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5771 Support both "gvfs-monitor-dir" and "inotifywait".
5772 (tramp-sh-file-inotifywait-process-filter): Rename from
5773 `tramp-sh-file-notify-process-filter'.
5774 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5775 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5776
5777 2013-07-05 Leo Liu <sdl.web@gmail.com>
5778
5779 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5780
5781 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5782
5783 * frame.el (display-pixel-height, display-pixel-width)
5784 (display-mm-height, display-mm-width): Mention behavior on
5785 multi-monitor setups in docstrings.
5786 (w32-display-monitor-attributes-list): Declare function.
5787 (display-monitor-attributes-list): Use it.
5788
5789 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5790
5791 * filenotify.el: New package.
5792
5793 * autorevert.el (top): Require filenotify.el.
5794 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5795 instead.
5796 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5797 (auto-revert-notify-handler): Use `file-notify-*' functions.
5798
5799 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5800
5801 * net/tramp.el (tramp-file-name-for-operation):
5802 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5803
5804 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5805 for `file-notify-add-watch' and `file-notify-rm-watch'.
5806 (tramp-process-sentinel): Improve trace.
5807 (tramp-sh-handle-file-notify-add-watch)
5808 (tramp-sh-file-notify-process-filter)
5809 (tramp-sh-handle-file-notify-rm-watch)
5810 (tramp-get-remote-inotifywait): New defuns.
5811
5812 2013-07-03 Juri Linkov <juri@jurta.org>
5813
5814 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5815 call of `occur-read-primary-args' to interactive spec.
5816
5817 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5818 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5819
5820 2013-07-03 Matthias Meulien <orontee@gmail.com>
5821
5822 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5823 `Buffer-menu-multi-occur'. Add it to the menu.
5824 (Buffer-menu-mode): Document it in docstring.
5825 (Buffer-menu-multi-occur): New command. (Bug#14673)
5826
5827 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5828
5829 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5830 keywords and built-ins.
5831
5832 2013-07-03 Glenn Morris <rgm@gnu.org>
5833
5834 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5835
5836 Make info-xref checks case-sensitive by default
5837 * info.el (Info-find-node, Info-find-in-tag-table)
5838 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5839 Add option for exact case matching of nodes.
5840 * info-xref.el (info-xref): New custom group.
5841 (info-xref-case-fold): New option.
5842 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5843
5844 2013-07-03 Leo Liu <sdl.web@gmail.com>
5845
5846 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5847
5848 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5849
5850 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5851 middle of block statement initially, lower the depth. Remove
5852 FIXME comment, not longer valid. Remove middle of block statement
5853 detection, no need to do that anymore since we've been using
5854 `ruby-parse-region' here.
5855
5856 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5857
5858 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5859
5860 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5861
5862 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5863
5864 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5865
5866 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5867 (desktop-restore-in-current-display): New customization option.
5868 (desktop--excluded-frame-parameters): Add `font'.
5869 (desktop--save-frames): Rename from desktop--save-windows.
5870 (desktop--restore-in-this-display-p): New function.
5871 (desktop--make-full-frame): Remove unwanted width/height from
5872 full(width|height) frames.
5873 (desktop--restore-frames): Rename from desktop--restore-windows.
5874 Obey desktop-restore-current-display. Do not delete old frames or
5875 select a new frame unless we were able to restore at least one frame.
5876
5877 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5878
5879 * files.el (find-file-noselect): Simplify conditional expression.
5880
5881 * remember.el (remember-append-to-file):
5882 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5883
5884 Add `remember-notes' function to store random notes across Emacs
5885 restarts.
5886 * remember.el (remember-data-file): Add :set callback to affect
5887 notes buffer (if any).
5888 (remember-notes): New command.
5889 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5890 New defcustoms for the `remember-notes' function.
5891 (remember-notes-save-and-bury-buffer): New command.
5892 (remember-notes-mode-map): New variable.
5893 (remember-mode): New minor mode.
5894 (remember-notes--kill-buffer-query): New function.
5895 * startup.el (initial-buffer-choice): Add notes to custom type.
5896
5897 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5898
5899 * bindings.el (right-char, left-char): Don't call sit-for, this is
5900 no longer needed. Use arithmetic comparison only for numerical
5901 arguments.
5902
5903 * international/mule-cmds.el (select-safe-coding-system):
5904 Handle the case of FROM being a string correctly. (Bug#14755)
5905
5906 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5907
5908 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5909 progression on degenerate tables.
5910 (shr-rescale-image): ImageMagick animated images currently don't work.
5911
5912 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5913
5914 Some fixes and improvements for desktop frame restoration.
5915 It is still experimental and disabled by default.
5916 * desktop.el (desktop--save-windows): Put the selected frame at
5917 the head of the list.
5918 (desktop--make-full-frame): New function.
5919 (desktop--restore-windows): Try to re-select the frame that was
5920 selected upon saving. Do not abort if some frames fail to restore,
5921 just show an error message and continue. Set up maximized frames
5922 so they have default non-maximized dimensions.
5923
5924 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5925
5926 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5927 Don't start heredoc inside a string or comment.
5928
5929 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5930
5931 * bindings.el (visual-order-cursor-movement): New defcustom.
5932 (right-char, left-char): Provide visual-order cursor motion by
5933 calling move-point-visually. Update the doc strings.
5934
5935 2013-06-28 Kenichi Handa <handa@gnu.org>
5936
5937 * international/mule.el (define-coding-system): New coding system
5938 properties :inhibit-null-byte-detection,
5939 :inhibit-iso-escape-detection, and :prefer-utf-8.
5940 (set-buffer-file-coding-system): If :charset-list property of
5941 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5942 appropriate for setting.
5943
5944 * international/mule-cmds.el (select-safe-coding-system):
5945 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5946 multibyte characters, return utf-8 (or one of its siblings).
5947
5948 * international/mule-conf.el (prefer-utf-8): New coding system.
5949 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5950 files.
5951
5952 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5953
5954 * net/shr.el (shr-render-region): New function.
5955
5956 * net/eww.el: Autoload `eww-browse-url'.
5957
5958 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5959
5960 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5961 Adapt to `package-desc-version' being a list.
5962 Use `package--ac-desc-version' to retrieve version from a package
5963 archive element.
5964
5965 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5966
5967 New experimental feature to save&restore window and frame setup.
5968 * desktop.el (desktop-save-windows): New defcustom.
5969 (desktop--saved-states): New var.
5970 (desktop--excluded-frame-parameters): New defconst.
5971 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5972 (desktop--restore-windows, desktop--save-windows): New functions.
5973 (desktop-save): Call `desktop--save-windows'.
5974 (desktop-read): Call `desktop--restore-windows'.
5975
5976 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5977
5978 * net/shr.el (add-face-text-property): Remove compat definition.
5979
5980 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5981
5982 * info.el (Info-try-follow-nearest-node): Move search for footnote
5983 above search for node name to prevent missing a footnote (bug#14717).
5984
5985 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5986
5987 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5988
5989 2013-06-27 Leo Liu <sdl.web@gmail.com>
5990
5991 * net/eww.el (eww-read-bookmarks): Check file size.
5992
5993 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5994
5995 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5996 advice--pending if newdef is nil or an autoload (bug#13820).
5997 (advice-mapc): New function.
5998
5999 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6000
6001 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6002 probably.
6003 (eww-mode-map): Add a menu bar.
6004 (eww-add-bookmark): New command.
6005 (eww-bookmark-mode): New mode and commands.
6006 (eww-add-bookmark): Remove newlines from the title.
6007 (eww-bookmark-browse): Don't bug out if it's the only window.
6008
6009 2013-06-26 Glenn Morris <rgm@gnu.org>
6010
6011 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6012 (hfy-size): Handle ttys. (Bug#14668)
6013
6014 * info-xref.el: Update for Texinfo 5 change in *note format.
6015 (info-xref-node-re, info-xref-note-re): New constants.
6016 (info-xref-check-buffer): Use info-xref-note-re.
6017
6018 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6021
6022 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6023 nil terminate the loop (bug#14718).
6024
6025 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6026
6027 * net/eww.el: Rework history traversal. When going forward/back,
6028 put these actions into the history, too, so that they can be
6029 replayed.
6030 (eww-render): Move the history reset to the correct buffer.
6031
6032 2013-06-25 Juri Linkov <juri@jurta.org>
6033
6034 * files-x.el (modify-dir-local-variable): Change the header comment
6035 in the file with directory local variables. (Bug#14692)
6036
6037 * files-x.el (read-file-local-variable-value): Add `default'.
6038 (Bug#14710)
6039
6040 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6041
6042 * net/eww.el (eww-make-unique-file-name): Create a unique file
6043 name before saving to entering `y' accidentally asynchronously.
6044
6045 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6046
6047 * net/eww.el (eww-download): New command and keystroke.
6048
6049 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6050
6051 * net/eww.el (eww-copy-page-url): Change name of command.
6052
6053 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6054 be more consistent with Info and dired.
6055
6056 * net/eww.el (eww-mode-map): Ditto.
6057
6058 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6059
6060 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6061 packages from archives.
6062 (package-archive-contents): Change format; include obsolete packages.
6063 (package-desc): Use `dir' to mark builtin packages.
6064 (package--from-builtin): Set the `dir' field to `builtin'.
6065 (generated-autoload-file, version-control): Declare.
6066 (package-compute-transaction): Change first arg and return value to be
6067 lists of package-descs. Adjust to new package-archive-contents format.
6068 (package--add-to-archive-contents): Adjust to new
6069 package-archive-contents format.
6070 (package-download-transaction): Arg is now a list of package-descs.
6071 (package-install): If `pkg' is a package name, pass it as
6072 a requirement, so it is subject to the usual (e.g. disabled) checks.
6073 (describe-package): Accept package-desc as well.
6074 (describe-package-1): Describe a specific package-desc. Add links to
6075 other package-descs for the same package name.
6076 (package-menu-describe-package): Pass the actual package-desc.
6077 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6078 works correctly.
6079 (package-desc-status): New function.
6080 (package-menu--refresh): New function, extracted
6081 from package-menu--generate.
6082 (package-menu--generate): Use it.
6083 (package-delete): Update package-alist.
6084 (package-menu-execute): Don't call package-initialize.
6085
6086 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6087 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6088 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6089 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6090 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6091 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6092
6093 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6094
6095 * window.el (window--state-get-1): Workaround for bug#14527.
6096 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6097
6098 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6099
6100 * net/eww.el (eww-back-url): Implement the history by stashing all
6101 the data into a list.
6102 (eww-forward-url): Allow going forward in the history, too.
6103
6104 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6105
6106 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6107 for values and use read--expression for expressions (bug#14710).
6108 (read-file-local-variable): Avoid setq.
6109 (read-file-local-variable-mode): Use minor-mode-list.
6110
6111 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6112
6113 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6114 for DOI URLs.
6115
6116 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6117
6118 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6119 Update imenu-support when dialect changes.
6120
6121 2013-06-25 Leo Liu <sdl.web@gmail.com>
6122
6123 * ido.el (ido-read-internal): Allow forward slash on windows.
6124
6125 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6126
6127 * net/eww.el (eww): Start of strings is \\`, not ^.
6128
6129 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6130
6131 * net/shr.el (shr-browse-url): Fix interactive spec.
6132
6133 * net/eww.el (eww): Add a trailing slash to domain names.
6134
6135 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6136
6137 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6138
6139 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6140
6141 * net/shr.el (shr-browse-url): Use an external browser if given a
6142 prefix.
6143
6144 * net/eww.el (eww-external-browser): Move to shr.
6145
6146 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6147
6148 * net/eww.el (eww): Work more correctly for file: URLs.
6149 (eww-detect-charset): Allow quoted charsets.
6150 (eww-yank-page-url): New command and keystroke.
6151
6152 2013-06-24 Daiki Ueno <ueno@gnu.org>
6153
6154 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6155 file name of gpg executable.
6156 (epg-context-program): New function.
6157 (epg-context-home-directory): New function.
6158 (epg-context-set-program): New function.
6159 (epg-context-set-home-directory): New function.
6160 (epg--start): Use `epg-context-program' instead of
6161 'epg-gpg-program'.
6162 (epg--list-keys-1): Likewise.
6163
6164 2013-06-24 Leo Liu <sdl.web@gmail.com>
6165
6166 * ido.el (ido-read-internal): Fix bug#14620.
6167
6168 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6169
6170 * faces.el (face-documentation): Simplify.
6171 (read-face-attribute, tty-find-type, x-resolve-font-name):
6172 Use `string-match-p'.
6173 (list-faces-display): Use `string-match-p'. Simplify.
6174 (face-spec-recalc): Check face to avoid face alias loops.
6175 (read-color): Use `string-match-p' and non-capturing parenthesis.
6176
6177 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6178
6179 * net/shr.el (shr-rescale-image): Use the new
6180 :max-width/:max-height functionality.
6181
6182 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6183
6184 * net/eww.el (eww-search-prefix): New variable.
6185 (eww): Use it.
6186 (eww-external-browser): New variable.
6187 (eww-mode-map): New keystroke.
6188 (eww-browse-with-external-browser): New command.
6189
6190 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6191
6192 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6193
6194 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6195 Don't skip aligning the next header field when padding is 0;
6196 otherwise, field width is not respected unless the title is as
6197 wide as the field.
6198
6199 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6200
6201 * emacs-lisp/package.el (package-el-version): Remove.
6202 (package-process-define-package): Fix inf-loop.
6203 (package-install): Allow symbols as arguments again.
6204
6205 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6206
6207 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6208 add some more keyword-like methods.
6209 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6210
6211 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6212
6213 * bs.el (bs-buffer-show-mark): Make defvar-local.
6214 (bs-mode): Use setq-local.
6215
6216 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6217 (emacs-lock--try-unlocking): Make defvar-local.
6218
6219 2013-06-22 Glenn Morris <rgm@gnu.org>
6220
6221 * play/cookie1.el (cookie-apropos): Minor simplification.
6222
6223 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6224
6225 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6226
6227 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6228 `regexp-opt', it breaks the build during dumping.
6229
6230 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6231
6232 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6233 Highlight keyword-like methods on Kernel and Module with
6234 font-lock-builtin-face.
6235 (auto-mode-alist): Consolidate different entries into one regexp
6236 and add more *file-s.
6237
6238 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6239
6240 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6241
6242 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6243 (diary-entry): Use it in the action of this button type instead of
6244 diary-goto-entry.
6245
6246 * calendar/todo-mode.el: New version.
6247 (todo-add-category): Append new category to end of file and give
6248 it the highest number, instead of putting it at the beginning and
6249 giving it 0. Incorporate noninteractive functionality.
6250 (todo-forward-category): Adapt to 1-based category numbering.
6251 Allow skipping over archived categories.
6252 (todo-backward-category): Derive from todo-forward-category.
6253 (todo-backward-item, todo-forward-item): Make noninteractive and
6254 delegate interactive part to new commands. Make sensitive to done items.
6255 (todo-categories): Make value an alist of category names and
6256 vectors of item counts.
6257 (todo-category-beg): Make a defconst.
6258 (todo-category-number): Use 1 instead of 0 as initial value.
6259 (todo-category-select): Make sensitive to overlays, optional item
6260 highlighting and done items.
6261 (todo-delete-item): Make sensitive to overlays and marked and done items.
6262 (todo-edit-item): Make sensitive to overlays and editing of
6263 date/time header optional. Add format checks.
6264 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6265 no-op if point is not on an item. Advertise using todo-edit-quit.
6266 (todo-edit-mode): Make sensitive to new format, font-locking, and
6267 multiple todo files.
6268 (todo-insert-item, todo-insert-item-here): Derive from
6269 todo-basic-insert-item and extend functionality.
6270 (todo-item-end, todo-item-start): Make sensitive to done items.
6271 (todo-item-string): Don't return text properties. Restore point.
6272 (todo-jump-to-category): Make sensitive to multiple todo files and
6273 todo archives. Use extended category completion.
6274 (todo-lower-item, todo-raise-item): Rename to *-priority and
6275 derive from todo-set-item-priority.
6276 (todo-mode): Derive from special-mode. Make sensitive to new
6277 format, font-locking and multiple todo files. Make read-only.
6278 (todo-mode-map): Don't suppress digit keys, so they can supply
6279 prefix arguments. Add many new key bindings.
6280 (todo-prefix): Insert as an overlay instead of file text.
6281 Change semantics from diary date expression to purely visual mark.
6282 (todo-print): Rename to todo-print-buffer. Make buffer display
6283 features printable. Remove option to restrict number of items
6284 printed. Add option to print to file.
6285 (todo-print-function): Rename to todo-print-buffer-function.
6286 (todo-quit): Extend to handle exiting new todo modes.
6287 (todo-remove-item): Make sensitive to overlays.
6288 (todo-save): Extend to buffers of filtered items.
6289 (todo-show): Make sensitive to done items, multiple todo files and
6290 new todo modes. Offer to convert legacy todo file before creating
6291 first new todo file.
6292 (todo-show-priorities): Rename to todo-top-priorities.
6293 Change semantics of value 0.
6294 (todo-top-priorities): Rename to todo-filter-top-priorities,
6295 derive from todo-filter-items and extend functionality.
6296 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6297 and extend functionality to other types of filtered items.
6298 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6299 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6300 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6301 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6302 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6303 (todo-edit-mode-hook, todo-entry-prefix-function)
6304 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6305 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6306 (todo-initials, todo-insert-threshold, todo-item-string-start)
6307 (todo-line-string, todo-menu, todo-mode-hook)
6308 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6309 (todo-print-priorities, todo-remove-separator)
6310 (todo-save-top-priorities-too, todo-string-count-lines)
6311 (todo-string-multiline-p, todo-time-string-format)
6312 (todo-tmp-buffer-name): Remove.
6313 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6314 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6315 (todo-edit-category-diary-inclusion)
6316 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6317 (todo-edit-file, todo-edit-item-date-day)
6318 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6319 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6320 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6321 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6322 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6323 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6324 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6325 (todo-filter-top-priorities-multifile, todo-find-archive)
6326 (todo-find-filtered-items-file, todo-go-to-source-item)
6327 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6328 (todo-jump-to-archive-category, todo-lower-category)
6329 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6330 (todo-move-category, todo-move-item, todo-next-button)
6331 (todo-next-item, todo-padded-string, todo-powerset)
6332 (todo-previous-button, todo-previous-item)
6333 (todo-print-buffer-to-file, todo-raise-category)
6334 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6335 (todo-set-category-number, todo-set-item-priority)
6336 (todo-set-top-priorities-in-category)
6337 (todo-set-top-priorities-in-file, todo-show-categories-table)
6338 (todo-sort-categories-alphabetically-or-numerically)
6339 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6340 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6341 (todo-toggle-item-header, todo-toggle-item-highlighting)
6342 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6343 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6344 (todo-unarchive-items, todo-unmark-category): New commands.
6345 (todo-absolute-file-name, todo-add-to-buffer-list)
6346 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6347 (todo-basic-insert-item, todo-category-completions)
6348 (todo-category-number, todo-category-string-matcher-1)
6349 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6350 (todo-check-format, todo-clear-matches)
6351 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6352 (todo-current-category, todo-date-string-matcher)
6353 (todo-define-insertion-command, todo-diary-expired-matcher)
6354 (todo-diary-goto-entry, todo-diary-item-p)
6355 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6356 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6357 (todo-done-item-section-p, todo-done-separator)
6358 (todo-done-string-matcher, todo-files, todo-filter-items)
6359 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6360 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6361 (todo-insert-category-line, todo-insert-item-from-calendar)
6362 (todo-insert-sort-button, todo-insert-with-overlays)
6363 (todo-insertion-command-name, todo-insertion-key-bindings)
6364 (todo-label-to-key, todo-longest-category-name-length)
6365 (todo-make-categories-list, todo-mode-external-set)
6366 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6367 (todo-modes-set-3, todo-multiple-filter-files)
6368 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6369 (todo-read-category, todo-read-date, todo-read-dayname)
6370 (todo-read-file-name, todo-read-time)
6371 (todo-reevaluate-category-completions-files-defcustom)
6372 (todo-reevaluate-default-file-defcustom)
6373 (todo-reevaluate-filelist-defcustoms)
6374 (todo-reevaluate-filter-files-defcustom)
6375 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6376 (todo-reset-done-separator, todo-reset-done-separator-string)
6377 (todo-reset-done-string, todo-reset-global-current-todo-file)
6378 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6379 (todo-reset-prefix, todo-set-categories)
6380 (todo-set-date-from-calendar, todo-set-show-current-file)
6381 (todo-set-top-priorities, todo-short-file-name)
6382 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6383 (todo-total-item-counts, todo-update-buffer-list)
6384 (todo-update-categories-display, todo-update-categories-sexp)
6385 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6386 New functions.
6387 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6388 New major modes.
6389 (todo-categories, todo-display, todo-edit, todo-faces)
6390 (todo-filtered): New defgroups.
6391 (todo-archived-only, todo-button, todo-category-string, todo-date)
6392 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6393 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6394 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6395 (todo-add-item-if-new-category, todo-always-add-time-string)
6396 (todo-categories-align, todo-categories-archived-label)
6397 (todo-categories-category-label, todo-categories-diary-label)
6398 (todo-categories-done-label, todo-categories-number-separator)
6399 (todo-categories-todo-label, todo-categories-totals-label)
6400 (todo-category-completions-files, todo-completion-ignore-case)
6401 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6402 (todo-done-separator-string, todo-done-string)
6403 (todo-files-function, todo-filter-done-items, todo-filter-files)
6404 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6405 (todo-initial-category, todo-initial-file, todo-item-mark)
6406 (todo-legacy-date-time-regexp, todo-mode-line-function)
6407 (todo-nondiary-marker, todo-number-prefix)
6408 (todo-print-buffer-function, todo-show-current-file)
6409 (todo-show-done-only, todo-show-first, todo-show-with-done)
6410 (todo-skip-archived-categories, todo-top-priorities-overrides)
6411 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6412 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6413 New defcustoms.
6414 (todo-category-done, todo-date-pattern, todo-date-string-start)
6415 (todo-diary-items-buffer, todo-done-string-start)
6416 (todo-filtered-items-buffer, todo-item-start)
6417 (todo-month-abbrev-array, todo-month-name-array)
6418 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6419 (todo-top-priorities-buffer): New defconsts.
6420 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6421 (todo-categories-with-marks, todo-category-string-face)
6422 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6423 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6424 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6425 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6426 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6427 (todo-font-lock-keywords, todo-global-current-todo-file)
6428 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6429 (todo-insertion-commands-args)
6430 (todo-insertion-commands-args-genlist)
6431 (todo-insertion-commands-names, todo-insertion-map)
6432 (todo-key-bindings-t, todo-key-bindings-t+a)
6433 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6434 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6435 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6436 (todo-visited): New variables.
6437
6438 2013-06-21 Glenn Morris <rgm@gnu.org>
6439
6440 * play/cookie1.el (cookie-apropos): Add optional display argument.
6441 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6442 (psychoanalyze-pinhead): Use cookie-doctor.
6443
6444 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6445
6446 * emacs-lisp/package.el (tar-get-file-descriptor)
6447 (tar--extract): Declare.
6448
6449 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6450
6451 Extend flymake's warning predicate to be a function (bug#14217).
6452 * progmodes/flymake.el (flymake-warning-predicate): New.
6453 (flymake-parse-line): Use it.
6454 (flymake-warning-re): Make obsolete alias to
6455 `flymake-warning-predicate'.
6456
6457 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6458
6459 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6460 (package-obsolete-list): Remove.
6461 (package-activate): Remove min-version argument. Add `force' argument.
6462 Adjust to new package-alist format.
6463 (package-mark-obsolete): Remove.
6464 (package-unpack): Force reload of the package's autoloads.
6465 (package-installed-p): Check builtins if the installed package is not
6466 recent enough.
6467 (package-initialize): Don't reset package-obsolete-list.
6468 Don't specify which package version to activate.
6469 (package-process-define-package, describe-package-1)
6470 (package-menu--generate): Adjust to new package-alist format.
6471
6472 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6473
6474 * allout-widgets.el (allout-widgets-mode-off)
6475 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6476 (allout-widgets-post-command-business)
6477 (allout-widgets-after-copy-or-kill-function)
6478 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6479 (allout-decorate-item-and-context)
6480 (allout-graphics-modification-handler): Fix typos in docstrings.
6481 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6482
6483 * cmuscheme.el (scheme-start-file): Doc fix.
6484 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6485 (scheme-input-filter): Use `string-match-p'.
6486
6487 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6488
6489 * dired-x.el: Use Dired consistently in docstrings.
6490
6491 * dired.el: Use Dired consistently in docstrings.
6492 (dired-readin, dired-mode): Use `setq-local'.
6493 (dired-switches-alist): Make defvar-local.
6494 (dired-buffers-for-dir): Use `zerop'.
6495 (dired-safe-switches-p, dired-switches-escape-p)
6496 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6497 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6498 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6499 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6500 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6501 (dired-toggle-marks, dired-mark-files-containing-regexp)
6502 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6503 (dired-flag-auto-save-files, dired-flag-backup-files):
6504 Use `looking-at-p'.
6505 (dired-mark-files-regexp, dired-build-subdir-alist):
6506 Use `string-match-p', `looking-at-p'.
6507
6508 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6509 (direct-print-region-helper): Use `string-match-p'.
6510
6511 2013-06-21 Leo Liu <sdl.web@gmail.com>
6512
6513 * comint.el (comint-redirect-results-list-from-process):
6514 Fix infinite loop.
6515
6516 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6517
6518 * net/eww.el (eww-update-header-line-format): Quote % characters.
6519
6520 2013-06-21 Glenn Morris <rgm@gnu.org>
6521
6522 * play/cookie1.el (cookie): New custom group.
6523 (cookie-file): New option.
6524 (cookie-check-file): New function.
6525 (cookie): Make it interactive. Make start and end messages optional.
6526 Interactively, display the result. Default to cookie-file.
6527 (cookie-insert): Default to cookie-file.
6528 (cookie-snarf): Make start and end messages optional.
6529 Default to cookie-file. Use with-temp-buffer.
6530 (cookie-read): Rename from read-cookie.
6531 Make start and end messages optional. Default to cookie-file.
6532 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6533 Do not autoload it.
6534 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6535 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6536
6537 2013-06-21 Leo Liu <sdl.web@gmail.com>
6538
6539 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6540
6541 2013-06-21 Glenn Morris <rgm@gnu.org>
6542
6543 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6544
6545 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6546 Daniel Hackney <dan@haxney.org>
6547
6548 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6549 Consolidate the single-file vs tarball code.
6550 (package-desc-suffix): New function.
6551 (package-desc-full-name): Don't bother inlining it.
6552 (package-load-descriptor): Return the new package-desc.
6553 (package-mark-obsolete): Remove unused arg `package'.
6554 (package-unpack): Make it work for single files as well.
6555 Make it update package-alist.
6556 (package--make-autoloads-and-stuff): Rename from
6557 package--make-autoloads-and-compile. Don't compile any more.
6558 (package--compile): New function.
6559 (package-generate-description-file): New function, extracted from
6560 package-unpack-single.
6561 (package-unpack-single): Remove.
6562 (package--with-work-buffer): Add indentation and debugging info.
6563 (package-download-single): Remove.
6564 (package-install-from-archive): Rename from package-download-tar, make
6565 it take a pkg-desc, and make it work for single files as well.
6566 (package-download-transaction): Simplify.
6567 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6568 external tar program.
6569 (package-install-from-buffer): Remove `pkg-desc' argument.
6570 Use package-tar-file-info for tar-mode buffers.
6571 (package-install-file): Simplify accordingly.
6572 (package-archive-base): Change to take a pkg-desc.
6573 * tar-mode.el (tar--check-descriptor): New function, extracted from
6574 tar-get-descriptor.
6575 (tar-get-descriptor): Use it.
6576 (tar-get-file-descriptor): New function.
6577 (tar--extract): New function, extracted from tar-extract.
6578 (tar--extract): Use it.
6579 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6580 case the summary uses non-ascii. Adjust to new calling convention of
6581 package-tar-file-info.
6582
6583 2013-06-21 Leo Liu <sdl.web@gmail.com>
6584
6585 * comint.el (comint-redirect-results-list-from-process):
6586 Fix random delay. (Bug#14681)
6587
6588 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6589
6590 * profiler.el (profiler-format-number): Use log, not log10.
6591
6592 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6593
6594 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6595
6596 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6597
6598 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6599 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6600 yet available.
6601 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6602 (AUTOGENEL): ... here.
6603 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6604 (cl--defsubst-expand): Use it.
6605
6606 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6607
6608 * subr.el (log10): Move here from C code, and declare as obsolete.
6609 All uses of (log10 X) replaced with (log X 10).
6610
6611 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6612
6613 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6614 Declare with `defvar-local'.
6615 (tabulated-list-use-header-line, tabulated-list-entries)
6616 (tabulated-list-padding, tabulated-list-printer)
6617 (tabulated-list-sort-key): Declare with `defvar-local'.
6618 (tabulated-list-init-header, tabulated-list-print-fake-header):
6619 Use `setq-local'.
6620
6621 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6622
6623 * arc-mode.el (archive-mode): Add `archive-write-file' to
6624 `write-contents-functions' also for remote files. (Bug#14652)
6625
6626 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6627
6628 * cus-edit.el (custom-commands): Fix typos.
6629 (custom-display): Fix tooltip text.
6630 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6631 Fix typos in docstrings.
6632 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6633 (custom-unlispify-menu-entry, custom-magic-value-create)
6634 (custom-add-see-also, custom-group-value-create): Use ?\s.
6635 (custom-guess-type, customize-apropos, editable-field)
6636 (custom-face-value-create): Use `string-match-p'.
6637 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6638
6639 * custom.el (custom-load-symbol): Use `string-match-p'.
6640
6641 * ansi-color.el: Convert to lexical binding.
6642 (ansi-colors): Fix URL.
6643 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6644 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6645 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6646
6647 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6648
6649 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6650
6651 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6652
6653 2013-06-19 Tom Tromey <tromey@redhat.com>
6654
6655 * net/eww.el (eww-top-url): Remove.
6656 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6657 (eww-render): Set new variables. Don't set eww-top-url.
6658 (eww-handle-link): Handle "prev", "home", and "contents".
6659 Downcase the rel text.
6660 (eww-top-url): Choose best top URL.
6661
6662 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6663
6664 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6665 relying in widget.el. Using widget.el leads to too many
6666 user interface inconsistencies.
6667 (eww-self-insert): Implement entering commands in text fields.
6668 (eww-process-text-input): New function to make text input field editing
6669 work.
6670 (eww-submit): Rewrite to use the new-style form methods.
6671 (eww-select-display): Display the correct selected item.
6672 (eww-change-select): Implement changing the select value.
6673 (eww-toggle-checkbox): Implement radio/checkboxes.
6674 (eww-update-field): Fix compilation error.
6675 (eww-tag-textarea): Implement <textarea>.
6676
6677 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6678 we don't shadow mode-specific bindings.
6679
6680 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6681 nothing to push.
6682
6683 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6684
6685 2013-06-19 Glenn Morris <rgm@gnu.org>
6686
6687 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6688
6689 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6690
6691 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6692 not needed.
6693
6694 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6695
6696 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6697
6698 * net/browse-url.el (browse-url-browser-function):
6699 `eww-browse-url' has the right calling signature, `eww' does not.
6700
6701 2013-06-19 Glenn Morris <rgm@gnu.org>
6702
6703 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6704 Only eval autoloaded macros.
6705 (byte-compile-autoload): Only give the macro warning for macros.
6706
6707 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6708 (ps-underlined-faces): Declare.
6709
6710 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6711 (speedbar-add-supported-extension): Declare.
6712
6713 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6714 Don't include a date stamp in the header of the generated file;
6715 it leads to needless differences between output files.
6716
6717 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6718
6719 * net/secrets.el (secrets-struct-secret-content-type):
6720 Replace check of introspection data by a test call of "CreateItem".
6721 Some servers do not offer introspection.
6722
6723 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * electric.el (electric-pair-mode): Improve interaction with
6726 electric-layout-mode.
6727 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6728 (electric-pair-syntax): Use text-mode-syntax-table in comments
6729 and strings.
6730 (electric-pair--insert): New function.
6731 (electric-pair-post-self-insert-function): Use it and
6732 electric--after-char-pos.
6733
6734 2013-06-19 Leo Liu <sdl.web@gmail.com>
6735
6736 * progmodes/octave.el (octave-help): Fix regexp.
6737
6738 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6739
6740 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6741 (shr-table-horizontal-line): Allow nil as a value, and change the
6742 default.
6743 (shr-insert-table-ruler): Respect the nil value.
6744
6745 2013-06-18 Tom Tromey <tromey@barimba>
6746
6747 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6748 New defvars.
6749 (eww-open-file): New defun.
6750 (eww-render): Initialize new variables.
6751 (eww-display-html): Handle "link" and "a".
6752 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6753 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6754 (eww-back-url): Rename from eww-previous-url.
6755 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6756 New defuns.
6757
6758 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6759
6760 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6761 Distinguish ternary operator tokens from slash symbol and slash
6762 char literal.
6763
6764 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6765
6766 Convert symbol prettification into minor mode and global minor mode.
6767
6768 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6769 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6770 (prettify-symbols--keywords): Rename from
6771 `prog-prettify-symbols-alist' and make a local defvar.
6772 (prettify-symbols--compose-symbol): Rename from
6773 `prog--prettify-font-lock-compose-symbol'.
6774 (prettify-symbols--make-keywords): Rename from
6775 `prog-prettify-font-lock-symbols-keywords' and simplify.
6776 (prog-prettify-install): Remove.
6777 (prettify-symbols-mode): New minor mode, based on
6778 `prog-prettify-install'.
6779 (turn-on-prettify-symbols-mode): New function.
6780 (global-prettify-symbols-mode): New globalized minor mode.
6781
6782 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6783 * progmodes/cfengine.el (cfengine3-mode):
6784 * progmodes/perl-mode.el (perl-mode): Don't call
6785 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6786
6787 2013-06-18 Juri Linkov <juri@jurta.org>
6788
6789 * files-x.el (modify-file-local-variable-message): New function.
6790 (modify-file-local-variable)
6791 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6792 and call `modify-file-local-variable-message' when it's non-nil.
6793 (add-file-local-variable, delete-file-local-variable)
6794 (add-file-local-variable-prop-line)
6795 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6796 and use it. (Bug#9820)
6797
6798 2013-06-18 Juri Linkov <juri@jurta.org>
6799
6800 * emulation/vi.el (vi-shell-op):
6801 * emulation/vip.el (vip-execute-com, ex-command):
6802 * emulation/viper-cmd.el (viper-exec-bang):
6803 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6804 the call of `shell-command-on-region'. (Bug#14637)
6805
6806 * simple.el (shell-command-on-region): Doc fix.
6807
6808 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6811 (bug#14633).
6812
6813 2013-06-18 Glenn Morris <rgm@gnu.org>
6814
6815 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6816
6817 * newcomment.el (comment-search-forward, comment-search-backward):
6818 Doc fix. (Bug#14376)
6819
6820 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6821
6822 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6823 (buffer-face-mode-invoke): Doc fix.
6824
6825 2013-06-18 Matthias Meulien <orontee@gmail.com>
6826
6827 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6828 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6829
6830 2013-06-18 Glenn Morris <rgm@gnu.org>
6831
6832 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6833 Replace obsolete function generic-make-keywords with its expansion.
6834
6835 * progmodes/python.el (ffap-alist): Declare.
6836
6837 * textmodes/reftex.el (bibtex-mode-map): Declare.
6838
6839 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6840
6841 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6842 (package-unpack, package-unpack-single): Return the pkg-dir.
6843 (package-download-transaction): Use it to update package-alist.
6844
6845 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6846
6847 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6848 possible choice.
6849
6850 2013-06-17 Juri Linkov <juri@jurta.org>
6851
6852 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6853
6854 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6855
6856 * emacs-lisp/package.el (package-load-descriptor):
6857 Remove `with-syntax-table' call, `read' doesn't need it.
6858 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6859
6860 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6861
6862 * startup.el (command-line): Expand package name returned by
6863 `package--description-file' (bug#14639).
6864
6865 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6866
6867 * emacs-lisp/package.el (package-load-descriptor): Do not call
6868 `emacs-lisp-mode', just use its syntax table.
6869
6870 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6871
6872 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6873 `font-lock-extra-managed-props' if any prettifying keyword is added.
6874 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6875 (prog-mode): Use `setq-local'.
6876
6877 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6878
6879 * international/characters.el (standard-case-table): Set syntax of ?»
6880 and ?« to punctuation.
6881
6882 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6883
6884 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6885 Save relevant match data before calling `syntax-ppss' (bug#14595).
6886
6887 2013-06-15 Juri Linkov <juri@jurta.org>
6888
6889 * files-x.el (modify-file-local-variable-prop-line): Add local
6890 variables to the end of the existing comment on the first line.
6891 Use `file-auto-mode-skip' to skip interpreter magic line,
6892 and also skip XML declaration.
6893
6894 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6895
6896 * startup.el (package--builtin-versions): New var.
6897 (package-subdirectory-regexp): Remove.
6898 (package--description-file): Hard code its value instead.
6899
6900 * emacs-lisp/package.el: Don't activate packages older than builtin.
6901 (package-obsolete-list): Rename from package-obsolete-alist, and make
6902 it into a simple list of package-desc.
6903 (package-strip-version): Remove.
6904 (package-built-in-p): Use package--builtin-versions.
6905 (package-mark-obsolete): Simplify.
6906 (package-process-define-package): Mark it obsolete if older than the
6907 builtin version.
6908 (package-handle-response): Use line-end-position.
6909 (package-read-archive-contents, package--download-one-archive):
6910 Simplify.
6911 (package--add-to-archive-contents): Skip if older than the builtin or
6912 installed version.
6913 (package-menu-describe-package): Fix last change.
6914 (package-list-unversioned): New var.
6915 (package-menu--generate): Use it.
6916
6917 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6918 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6919 (autoload-builtin-package-versions): New variable.
6920 (autoload-generate-file-autoloads): Use them.
6921 Remove the list of autoloaded functions/macros from the
6922 (autoload...) comments.
6923
6924 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6925
6926 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6927
6928 * simple.el (line-move-partial): Don't jump to the next screen
6929 line as soon as it becomes visible. Instead, continue enlarging
6930 the vscroll until the portion of a tall screen line that's left on
6931 display is about the height of the frame's default font.
6932 (Bug#14567)
6933
6934 2013-06-15 Glenn Morris <rgm@gnu.org>
6935
6936 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6937 compilation-error-regexp-alist void, or local while let-bound.
6938
6939 * progmodes/make-mode.el (makefile-mode-syntax-table):
6940 Treat "=" as punctuation. (Bug#14614)
6941
6942 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6943
6944 * help-fns.el (describe-variable):
6945 Add extra line for permanent-local variables.
6946
6947 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6948
6949 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6950 Add export, import, library. (Bug#9164)
6951 (library): Set indent function.
6952
6953 2013-06-14 Glenn Morris <rgm@gnu.org>
6954
6955 * term/xterm.el (xterm--query):
6956 Stop after first matching handler. (Bug#14615)
6957
6958 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6959
6960 Add support for dired in saveplace.
6961 * dired.el (dired-initial-position-hook): New variable.
6962 (dired-initial-position): Call hook to place cursor position.
6963 * saveplace.el (save-place-to-alist): Add dired position.
6964 (save-place-dired-hook): New function.
6965
6966 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6967
6968 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6969 through a symbol rather than letrec.
6970
6971 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6972 (package-desc): Add `dir' field.
6973 (package-desc-full-name): New function.
6974 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6975 (package-maybe-load-descriptor): Remove.
6976 (package-load-all-descriptors): Just call package-load-descriptor.
6977 (package--disabled-p): New function.
6978 (package-desc-vers, package-desc-doc): Remove aliases.
6979 (package--dir): Remove function.
6980 (package-activate): Check if a package is disabled.
6981 (package-process-define-package): New function, extracted from
6982 define-package.
6983 (define-package): Turn into a place holder.
6984 (package-unpack-single, package-tar-file-info):
6985 Use package--description-file.
6986 (package-compute-transaction): Use package--disabled-p.
6987 (package-download-transaction): Don't call
6988 package-maybe-load-descriptor since they're all loaded anyway.
6989 (package-install): Change argument to be a pkg-desc.
6990 (package-delete): Use a single pkg-desc argument.
6991 (describe-package-1): Use package-desc-dir instead of package--dir.
6992 Use package-desc property instead of package-symbol.
6993 (package-install-button-action): Adjust accordingly.
6994 (package--push): Rewrite.
6995 (package-menu--print-info): Adjust accordingly. Change the ID format
6996 to be a pkg-desc.
6997 (package-menu-describe-package, package-menu-get-status)
6998 (package-menu--find-upgrades, package-menu-mark-upgrades)
6999 (package-menu-execute, package-menu--name-predicate):
7000 Adjust accordingly.
7001 * startup.el (package--description-file): New function.
7002 (command-line): Use it.
7003 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7004 Use package-desc-version.
7005
7006 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7007 (byte-compile-preprocess): Use it.
7008 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7009 can't quite recognize.
7010 (byte-compile-add-to-list): Remove.
7011 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7012 (cconv-closure-convert): Add assertion.
7013
7014 * emacs-lisp/map-ynp.el: Use lexical-binding.
7015 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7016 Factor out some repeated code.
7017
7018 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7019
7020 * subr.el (with-eval-after-load): New macro.
7021 (eval-after-load): Allow form to be a function.
7022 take advantage of lexical-binding.
7023 (do-after-load-evaluation): Use dolist and adjust to new format.
7024 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7025
7026 2013-06-13 Juri Linkov <juri@jurta.org>
7027
7028 * replace.el (perform-replace): Display "symbol " and other search
7029 modes from `isearch-message-prefix' in the *Help* buffer.
7030
7031 * isearch.el (isearch-query-replace): Add " symbol" and other
7032 possible search modes from `isearch-message-prefix' to the prompt.
7033 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7034 when reading a regexp to collect.
7035
7036 2013-06-13 Juri Linkov <juri@jurta.org>
7037
7038 * isearch.el (word-search-regexp): Match whitespace if the search
7039 string begins or ends in whitespace. The LAX arg is applied to
7040 both ends of the search string. Use `regexp-quote' and explicit
7041 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7042 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7043 boundaries are replaced with symbol boundaries, and characters
7044 between symbols match non-word non-symbol syntax. (Bug#14602)
7045
7046 2013-06-13 Juri Linkov <juri@jurta.org>
7047
7048 * isearch.el (isearch-del-char): Don't exceed the length of
7049 `isearch-string' by the prefix arg. (Bug#14563)
7050
7051 2013-06-13 Juri Linkov <juri@jurta.org>
7052
7053 * isearch.el (isearch-yank-word, isearch-yank-line)
7054 (isearch-char-by-name, isearch-quote-char)
7055 (isearch-printing-char, isearch-process-search-char):
7056 Add optional count prefix arg. (Bug#14563)
7057
7058 * international/isearch-x.el
7059 (isearch-process-search-multibyte-characters):
7060 Add optional count prefix arg.
7061
7062 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7063
7064 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7065 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7066 lexical-binding.
7067
7068 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7069
7070 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7071
7072 2013-06-13 Glenn Morris <rgm@gnu.org>
7073
7074 * startup.el (tty-handle-args):
7075 Don't just discard "--" and anything after. (Bug#14608)
7076
7077 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7078
7079 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7080
7081 Implement changes in Secret Service API. Make it backward compatible.
7082 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7083 (secrets-create-item): Use it. Prefix properties with interface.
7084
7085 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7086
7087 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7088 (term-emulate-terminal): Respect term-suppress-hard-newline.
7089
7090 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7091
7092 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7093 Only remove a `thumb-file' overlay. (Bug#14548)
7094
7095 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7096
7097 * mail/reporter.el (reporter-submit-bug-report):
7098 Handle missing package-name. (Bug#14600)
7099
7100 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7101
7102 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7103 (reftex-citation-prompt, reftex-default-bibliography)
7104 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7105 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7106 (reftex-bib-sort-author, reftex-bib-sort-year)
7107 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7108 (reftex-extract-bib-entries-from-thebibliography)
7109 (reftex-get-bibkey-default, reftex-get-bib-names)
7110 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7111 (reftex-format-bib-entry, reftex-parse-bibitem)
7112 (reftex-format-bibitem, reftex-do-citation)
7113 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7114 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7115 (reftex-insert-bib-matches, reftex-format-citation)
7116 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7117 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7118 existing comments into docstrings.
7119
7120 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7121
7122 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7123
7124 2013-06-12 Andreas Schwab <schwab@suse.de>
7125
7126 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7127 for auto-save files.
7128
7129 2013-06-12 Glenn Morris <rgm@gnu.org>
7130
7131 * ido.el (ido-delete-ignored-files): Remove.
7132 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7133 Go back to calling ido-ignore-item-p directly.
7134
7135 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7136
7137 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7138
7139 * ido.el (ido-delete-ignored-files): New function,
7140 split from ido-make-file-list-1.
7141 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7142 (ido-make-file-list-1): Use ido-delete-ignored-files.
7143
7144 2013-06-12 Leo Liu <sdl.web@gmail.com>
7145
7146 * progmodes/octave.el (inferior-octave-startup)
7147 (inferior-octave-completion-table)
7148 (inferior-octave-track-window-width-change)
7149 (octave-eldoc-function-signatures, octave-help)
7150 (octave-find-definition): Use single quoted strings.
7151 (inferior-octave-startup-args): Change default value.
7152 (inferior-octave-startup): Do not hard code "-i" and
7153 "--no-line-editing".
7154 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7155 (inferior-octave-directory-tracker): Use it.
7156 (octave-goto-function-definition): Robustify.
7157 (octave-help): Support highlighting operators in 'See also'.
7158 (octave-find-definition): Find subfunctions only in Octave mode.
7159
7160 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7161
7162 * help-fns.el (help-fns--compiler-macro): If the handler function is
7163 named, then put a link to it.
7164 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7165 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7166 (cl-typep): Use it.
7167 (cl-eval-when): Simplify debug spec.
7168 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7169 compiler-macro function instead of setting `compiler-macro-file'.
7170
7171 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7172
7173 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7174 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7175
7176 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7177 Daniel Hackney <dan@haxney.org>
7178
7179 First part of Daniel Hackney's patch to package.el.
7180 * emacs-lisp/package.el: Use defstruct.
7181 (package-desc): New, main struct.
7182 (package--bi-desc, package--ac-desc): New structs, used to describe the
7183 format in external files.
7184 (package-desc-vers): Replace with package-desc-version accessor.
7185 (package-desc-doc): Replace with package-desc-summary accessor.
7186 (package-activate-1): Remove `package' arg since the pkg-vec now
7187 includes the name.
7188 (define-package): Use package-desc-from-define.
7189 (package-unpack-single): Change file-name arg to be a symbol.
7190 (package--add-to-archive-contents): Use package-desc-create and new
7191 accessor functions to package--ac-desc.
7192 (package-buffer-info, package-tar-file-info): Return a package-desc.
7193 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7194 arg to be a package-desc.
7195 (package-install-file): Adjust accordingly. Use \' to match EOS.
7196 (package--from-builtin): New function.
7197 (describe-package-1, package-menu--generate): Use it.
7198 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7199 (package-generate-autoloads): Idem and return the name of the file.
7200 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7201 Change pkg-info arg to be a package-desc.
7202 Use package-make-ac-desc.
7203 (package-upload-file): Use \' to match EOS.
7204 * finder.el (finder-compile-keywords): Use package-make-builtin.
7205
7206 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7207
7208 * vc/vc.el (vc-deduce-fileset): Change error message.
7209 (vc-read-backend): New function.
7210 (vc-next-action): Use it.
7211
7212 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7213
7214 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7215 (prolog-font-lock-keywords): Use regexp-opt instead.
7216 Don't manually highlight strings.
7217 (prolog-mode-variables): Simplify comment-start-skip.
7218 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7219
7220 * emacs-lisp/generic.el (generic--normalise-comments)
7221 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7222 (generic-mode-set-comments): Use them.
7223 (generic-bracket-support): Use setq-local.
7224 (generic-make-keywords-list): Declare obsolete.
7225
7226 2013-06-11 Glenn Morris <rgm@gnu.org>
7227
7228 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7229 Prettify after setting font-lock-defaults. (Bug#14574)
7230
7231 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7232
7233 * replace.el (query-replace, occur-read-regexp-defaults-function)
7234 (replace-search):
7235 * subr.el (declare-function, number-sequence, local-set-key)
7236 (substitute-key-definition, locate-user-emacs-file)
7237 (with-silent-modifications, split-string, eval-after-load):
7238 Fix typos, remove unneeded backslashes and reflow some docstrings.
7239
7240 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7241
7242 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7243 default for Elisp files.
7244
7245 2013-06-11 Glenn Morris <rgm@gnu.org>
7246
7247 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7248 although define-derived-mode was doing this anyway. (Bug#14583)
7249
7250 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7251
7252 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7253 Fix make-variable-buffer-local call to refer to the correct variable.
7254
7255 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7256
7257 * eshell/em-term.el (eshell-visual-commands)
7258 (eshell-visual-subcommands, eshell-visual-options):
7259 Add summary line to docstrings. Add cross-references.
7260
7261 2013-06-10 Glenn Morris <rgm@gnu.org>
7262
7263 * epa.el (epa-read-file-name): New function. (Bug#14510)
7264 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7265
7266 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7267
7268 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7269 output redirection to be ignored with visual commands.
7270
7271 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7272
7273 * eshell/em-term.el (eshell-visual-command-p): New function.
7274 (eshell-term-initialize): Move long lambda to separate function
7275 eshell-visual-command-p.
7276 * eshell/em-dirs.el (eshell-dirs-initialise):
7277 * eshell/em-script.el (eshell-script-initialize):
7278 Add missing #' to lambda.
7279
7280 2013-06-08 Leo Liu <sdl.web@gmail.com>
7281
7282 * progmodes/octave.el (octave-add-log-current-defun): New function.
7283 (octave-mode): Set add-log-current-defun-function.
7284 (octave-goto-function-definition): Do not move point if not found.
7285 (octave-find-definition): Enhance to try subfunctions first.
7286
7287 2013-06-08 Glenn Morris <rgm@gnu.org>
7288
7289 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7290 (byte-compile-backward-char, byte-compile-backward-word):
7291 Improve previous change, to handle non-explicit nil.
7292
7293 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7294
7295 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7296 (smie--opener/closer-at-point): New function.
7297 (smie--matching-block-data): Use it. Don't match from right after an
7298 opener or right before a closer. Obey smie-blink-matching-inners.
7299 Don't signal a mismatch for repeated inners like "switch..case..case".
7300
7301 2013-06-07 Leo Liu <sdl.web@gmail.com>
7302
7303 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7304 to t. (Bug#14303)
7305 (octave-function-header-regexp): Fix. (Bug#14570)
7306 (octave-help-mode-finish-hook, octave-help-mode-finish):
7307 Remove. Just use temp-buffer-show-hook.
7308
7309 * newcomment.el (comment-search-backward): Revert last change.
7310 (Bug#14434)
7311
7312 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7313
7314 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7315
7316 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7317 through xargs, to avoid failure due to MS-Windows limitations on
7318 command-line length.
7319
7320 2013-06-06 Glenn Morris <rgm@gnu.org>
7321
7322 * font-lock.el (lisp-font-lock-keywords-2):
7323 Treat user-error like error.
7324
7325 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7326 (byte-compile-backward-char, byte-compile-backward-word):
7327 Handle explicit nil arguments. (Bug#14565)
7328
7329 2013-06-05 Alan Mackenzie <acm@muc.de>
7330
7331 * isearch.el (isearch-allow-prefix): New user option.
7332 (isearch-other-meta-char): Don't exit isearch when a prefix
7333 argument is typed whilst `isearch-allow-prefix' is non-nil.
7334 (Bug#9706)
7335
7336 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7337
7338 * autorevert.el (auto-revert-notify-handler): Use memq.
7339 Hide assertion failure.
7340
7341 * skeleton.el: Use cl-lib.
7342 (skeleton-further-elements): Use defvar-local.
7343 (skeleton-insert): Use cl-progv.
7344
7345 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7346
7347 * progmodes/prog-mode.el (prog-prettify-symbols)
7348 (prog-prettify-install): Update docstrings.
7349
7350 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * simple.el: Move all the prog-mode code to prog-mode.el.
7353 * progmodes/prog-mode.el: New file.
7354 * loadup.el: Add prog-mode.el.
7355
7356 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7357
7358 * simple.el (prog-prettify-symbols): Add version.
7359 (prog-prettify-install): Add convenience function to prettify symbols.
7360
7361 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7362 (perl--augmented-font-lock-keywords-1)
7363 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7364 variables and use it.
7365
7366 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7367 (cfengine3-mode): Remove unneeded variable and use it.
7368
7369 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7370 (lisp--augmented-font-lock-keywords-1)
7371 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7372 Remove unneeded variables and use it.
7373
7374 2013-06-05 João Távora <joaotavora@gmail.com>
7375
7376 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7377 to point when opening the connection. (Bug#14380)
7378
7379 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7380
7381 * subr.el (load-history-regexp, load-history-filename-element)
7382 (eval-after-load, after-load-functions, do-after-load-evaluation)
7383 (eval-next-after-load, display-delayed-warnings)
7384 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7385 definition of save-match-data.
7386 (overriding-local-map): Remove accidental obsolescence declaration.
7387
7388 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7389
7390 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7391
7392 Generalize symbol prettify support to prog-mode and implement it
7393 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7394 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7395 (prog--prettify-font-lock-compose-symbol)
7396 (prog-prettify-font-lock-symbols-keywords): New variables and
7397 functions to support symbol prettification.
7398 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7399 (lisp--augmented-font-lock-keywords-1)
7400 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7401 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7402 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7403 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7404 Implement prettify of -> => :: strings.
7405 * progmodes/perl-mode.el (perl-prettify-symbols)
7406 (perl--font-lock-compose-symbol)
7407 (perl--font-lock-symbols-keywords): Move to prog-mode.
7408 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7409 (perl-font-lock-keywords-1)
7410 (perl-font-lock-keywords-2): Remove explicit prettify support.
7411 (perl--augmented-font-lock-keywords)
7412 (perl--augmented-font-lock-keywords-1)
7413 (perl--augmented-font-lock-keywords-2, perl-mode):
7414 Implement prettify support.
7415
7416 2013-06-05 Leo Liu <sdl.web@gmail.com>
7417
7418 Re-implement smie matching block highlight using
7419 show-paren-data-function. (Bug#14395)
7420 * emacs-lisp/smie.el (smie-matching-block-highlight)
7421 (smie--highlight-matching-block-overlay)
7422 (smie--highlight-matching-block-lastpos)
7423 (smie-highlight-matching-block)
7424 (smie-highlight-matching-block-mode): Remove.
7425 (smie--matching-block-data-cache): New variable.
7426 (smie--matching-block-data): New function.
7427 (smie-setup): Use smie--matching-block-data for
7428 show-paren-data-function.
7429
7430 * progmodes/octave.el (octave-mode-menu): Fix.
7431 (octave-find-definition): Skip garbage lines.
7432
7433 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7434
7435 Fix compilation error with simultaneous dynamic+lexical scoping.
7436 Add warning when a defvar appears after the first let-binding.
7437 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7438 (byte-compile-close-variables): Initialize it.
7439 (byte-compile--declare-var): New function.
7440 (byte-compile-file-form-defvar)
7441 (byte-compile-file-form-define-abbrev-table)
7442 (byte-compile-file-form-custom-declare-variable): Use it.
7443 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7444 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7445 (byte-compile-bind): Handle dynamic bindings that shadow
7446 lexical bindings.
7447 (byte-compile-unbind): Make arg non-optional.
7448 (byte-compile-let): Simplify.
7449 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7450 (cconv--analyse-function, cconv-analyse-form): Populate it.
7451 Protect byte-compile-bound-variables to limit the scope of defvars.
7452 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7453 Remove unneeded rule for `declare'.
7454
7455 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7456 so as to avoid depending on cl-adjoin at run-time.
7457 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7458
7459 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7460 (macroexp--warn-and-return): Use it.
7461
7462 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7464 * lisp/subr.el: Convert to lexical binding.
7465 (overriding-local-map): Make obsolete.
7466 (add-to-list): Doc fix. Add compiler macro.
7467 (read-key): Swap values of local maps.
7468
7469 2013-06-05 Leo Liu <sdl.web@gmail.com>
7470
7471 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7472
7473 2013-06-04 Leo Liu <sdl.web@gmail.com>
7474
7475 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7476 (compilation-auto-jump): Suppress the "Mark set" message to give
7477 way to exit message.
7478
7479 2013-06-04 Alan Mackenzie <acm@muc.de>
7480
7481 Remove faulty optimisation from indentation calculation.
7482 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7483 search limit based on 2000 characters back from indent-point.
7484
7485 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7486
7487 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7488
7489 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7490
7491 * emacs-lisp/lisp.el: Use lexical-binding.
7492 (lisp--local-variables-1, lisp--local-variables): New functions.
7493 (lisp--local-variables-completion-table): New var.
7494 (lisp-completion-at-point): Use it complete let-bound vars.
7495
7496 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7497 eagerly (bug#14422).
7498
7499 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7500
7501 * autorevert.el (auto-revert-notify-enabled)
7502 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7503 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7504 (auto-revert-notify-handler): Handle also gfilenotify.
7505
7506 * subr.el (file-notify-handle-event): New defun. Replacing ...
7507 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7508 Remove.
7509
7510 2013-06-03 Juri Linkov <juri@jurta.org>
7511
7512 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7513 `M-s h .'. (Bug#14427)
7514
7515 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7516 command `hi-lock-face-symbol-at-point'.
7517 (hi-lock-face-symbol-at-point): New command.
7518 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7519 (hi-lock-menu): Add `highlight-symbol-at-point'.
7520 (hi-lock-mode): Doc fix.
7521
7522 * isearch.el (isearch-forward-symbol-at-point): New command.
7523 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7524 (isearch-highlight-regexp): Add a regexp which matches
7525 words/symbols for word/symbol mode.
7526
7527 * subr.el (find-tag-default-bounds): New function with the body
7528 mostly moved from `find-tag-default'.
7529 (find-tag-default): Move most code to `find-tag-default-bounds',
7530 call it and apply `buffer-substring-no-properties' afterwards.
7531
7532 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7533
7534 * eshell/em-term.el (eshell-term-initialize):
7535 Use `cl-intersection' rather than `intersection'.
7536
7537 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7538
7539 * vc/log-view.el: Doc fix.
7540 (log-view-mode-map): Copy keymap from `special-mode-map'.
7541
7542 2013-06-02 Eric Ludlam <zappo@gnu.org>
7543
7544 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7545 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7546 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7547 (eieio-unbound, eieio-default-superclass)
7548 (eieio--define-field-accessors, method-static, method-before)
7549 (method-primary, method-after, method-num-lists)
7550 (method-generic-before, method-generic-primary)
7551 (method-generic-after, method-num-slots)
7552 (eieio-specialized-key-to-generic-key)
7553 (eieio--check-type, class-v, class-p)
7554 (eieio-class-name, define-obsolete-function-alias)
7555 (eieio-class-parents-fast, eieio-class-children-fast)
7556 (same-class-fast-p, class-constructor, generic-p)
7557 (generic-primary-only-p, generic-primary-only-one-p)
7558 (class-option-assoc, class-option, eieio-object-p)
7559 (class-abstract-p, class-method-invocation-order)
7560 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7561 (eieio-class-un-autoload, eieio-defclass)
7562 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7563 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7564 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7565 (eieio-defgeneric-reset-generic-form)
7566 (eieio-defgeneric-form-primary-only)
7567 (eieio-defgeneric-reset-generic-form-primary-only)
7568 (eieio-defgeneric-form-primary-only-one)
7569 (eieio-defgeneric-reset-generic-form-primary-only-one)
7570 (eieio-unbind-method-implementations)
7571 (eieio--defmethod, eieio--typep)
7572 (eieio-perform-slot-validation, eieio-validate-slot-value)
7573 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7574 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7575 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7576 (eieio-slot-name-index, eieio-class-slot-name-index)
7577 (eieio-set-defaults, eieio-initarg-to-attribute)
7578 (eieio-attribute-to-initarg, eieio-c3-candidate)
7579 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7580 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7581 (eieio-class-precedence-list, eieio-generic-call-methodname)
7582 (eieio-generic-call-arglst, eieio-generic-call-key)
7583 (eieio-generic-call-next-method-list)
7584 (eieio-pre-method-execution-functions, eieio-generic-call)
7585 (eieio-generic-call-primary-only, eieiomt-method-list)
7586 (eieiomt-optimizing-obarray, eieiomt-install)
7587 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7588 (eieio-generic-form, eieio-defmethod, make-obsolete)
7589 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7590 (defclass): Remove `eval-and-compile' from macro.
7591 (call-next-method, shared-initialize): Instead of using
7592 `scoped-class' variable, use new eieio--scoped-class, and
7593 eieio--with-scoped-class.
7594 (initialize-instance): Rename local variable 'scoped-class' to
7595 'this-class' to remove ambiguitity from old global.
7596
7597 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7598 eieio.el.
7599 (eieio--scoped-class-stack): New variable.
7600 (eieio--scoped-class): New fcn.
7601 (eieio--with-scoped-class): New scoping macro.
7602 (eieio-defclass): Use pushnew instead of add-to-list.
7603 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7604 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7605 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7606 `scoped-class' variable, use new eieio--scoped-class, and
7607 eieio--with-scoped-class.
7608
7609 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7610
7611 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7612
7613 * eshell/esh-ext.el (eshell-external-command): Pass args to
7614 `eshell-find-interpreter'.
7615 (eshell-find-interpreter): Add new second parameter ARGS.
7616
7617 * eshell/em-script.el (eshell-script-initialize): Add second arg
7618 to the function added as MATCH to `eshell-interpreter-alist'.
7619
7620 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7621 the function added as MATCH to `eshell-interpreter-alist'.
7622
7623 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7624 (eshell-visual-options): New defcustom.
7625 (eshell-escape-control-x): Adapt docstring.
7626 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7627 `eshell-visual-options' in addition to `eshell-visual-commands'.
7628 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7629
7630 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7631
7632 * progmodes/python.el (python-indent-block-enders): Add break,
7633 continue and raise keywords.
7634
7635 2013-06-01 Glenn Morris <rgm@gnu.org>
7636
7637 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7638
7639 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7640 * progmodes/cc-cmds.el (delete-forward-p):
7641 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7642 * progmodes/cc-engine.el (buffer-syntactic-context):
7643 * progmodes/cc-fonts.el (face-property-instance):
7644 * progmodes/cc-mode.el (set-keymap-parents):
7645 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7646 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7647 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7648 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7649 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7650
7651 * progmodes/cc-vars.el (other): Emacs has this widget since
7652 at least 21.1, so don't (re)define it.
7653
7654 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7655 Replace the obsolete alias pcomplete-arg-quote-list.
7656
7657 2013-06-01 Leo Liu <sdl.web@gmail.com>
7658
7659 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7660 punctuation syntax.
7661 (inferior-octave-minimal-columns)
7662 (inferior-octave-last-column-width): New variables.
7663 (inferior-octave-track-window-width-change): New function.
7664 (inferior-octave-mode): Adjust column width so that Octave output,
7665 for example from 'ls', can fit into the window nicely.
7666
7667 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7668
7669 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7670 Highlight expansions inside regexp literals.
7671
7672 2013-05-31 Glenn Morris <rgm@gnu.org>
7673
7674 * obsolete/sym-comp.el (symbol-complete):
7675 Replace obsolete completion-annotate-function.
7676
7677 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7678
7679 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7680
7681 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7682 New function, checks if point is inside a literal that allows
7683 expression expansion.
7684 (ruby-syntax-propertize-expansion): Use it.
7685 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7686 around the body.
7687
7688 2013-05-30 Juri Linkov <juri@jurta.org>
7689
7690 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7691 to "\M-si".
7692 (isearch-invisible): New variable.
7693 (isearch-forward): Doc fix.
7694 (isearch-mode): Set `isearch-invisible'
7695 to the value of `search-invisible'.
7696 (isearch-toggle-case-fold): Doc fix.
7697 (isearch-toggle-invisible): New command.
7698 (isearch-query-replace): Let-bind `search-invisible'
7699 to the value of `isearch-invisible'.
7700 (isearch-search): Use `isearch-invisible' instead of
7701 `search-invisible'. Let-bind `search-invisible'
7702 to the value of `isearch-invisible'. (Bug#11378)
7703
7704 2013-05-30 Juri Linkov <juri@jurta.org>
7705
7706 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7707 call when `query-flag' is nil and `search-invisible' is non-nil.
7708 (Bug#11746)
7709
7710 2013-05-30 Glenn Morris <rgm@gnu.org>
7711
7712 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7713
7714 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7715 (cc-require): Suppress spurious "noruntime" warnings.
7716 (cc-require-when-compile): Use fboundp, for sake of compiler.
7717
7718 * progmodes/cc-mode.el: Move load of cc-vars before that of
7719 cc-langs (which in turn loads cc-vars), to quieten compiler.
7720
7721 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7722
7723 * paren.el: Simplify the code.
7724 (show-paren-mode): Always start the timer.
7725 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7726 (show-paren--overlay, show-paren--overlay-1): Rename from
7727 show-paren-overlay and show-paren-overlay-1, and initialize to an
7728 overlay rather than to nil.
7729 (show-paren-function): Misc cleanup and simplifications.
7730
7731 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7732
7733 * paren.el (show-paren-data-function): New hook.
7734 (show-paren--default): New function, extracted from show-paren-function.
7735 (show-paren-function): Use show-paren-data-function.
7736
7737 2013-05-30 Glenn Morris <rgm@gnu.org>
7738
7739 * ielm.el (ielm-map, ielm-complete-symbol):
7740 Use completion-at-point rather than obsolete functions.
7741 (inferior-emacs-lisp-mode): Doc fix.
7742 Set completion-at-point-functions, rather than
7743 comint-dynamic-complete-functions.
7744
7745 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7746 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7747 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7748
7749 * image.el (image-animated-p): Tweak definition.
7750
7751 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7752 (rlogin-process-connection-type): Tweak default. Add set-after.
7753 (rlogin-host): Doc fix.
7754 (rlogin): Tweak prompt.
7755 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7756
7757 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7758 * progmodes/tcl.el (inferior-tcl-mode-map):
7759 Use completion-at-point rather than obsolete alias.
7760
7761 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7762
7763 * minibuffer.el (read-file-name-completion-ignore-case):
7764 Move before completion--in-region, for eager macro expansion.
7765
7766 2013-05-29 Juri Linkov <juri@jurta.org>
7767
7768 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7769 for total count of matching lines. Add `global-matches' for total
7770 count of matches. Rename `matches' to `lines' for count of
7771 matching lines. Add `matches' for count of matches.
7772 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7773 to `prev-line' for line number of prev match endpt.
7774 Increment `matches' for every match. Print the number of
7775 matching lines in the header.
7776 (occur-context-lines): Rename `lines' to `curr-line'.
7777 Rename `prev-lines' to `prev-line'. (Bug#14017)
7778
7779 2013-05-29 Juri Linkov <juri@jurta.org>
7780
7781 * replace.el (perform-replace): Add `skip-read-only-count',
7782 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7783 Increment them for corresponding conditions and report the number
7784 of skipped occurrences in the final message. (Bug#11746)
7785 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7786 (replace-string, replace-regexp): Doc fix.
7787
7788 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7789
7790 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7791
7792 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7793 prog-mode-map (bug#14504).
7794
7795 2013-05-29 Leo Liu <sdl.web@gmail.com>
7796
7797 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7798 (octave-help): Small simplification.
7799
7800 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7801 off the highlight first.
7802
7803 2013-05-29 Glenn Morris <rgm@gnu.org>
7804
7805 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7806 Handle idlwave-last-system-routine-info-cons-cell being nil.
7807
7808 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7809 (idlwave-write-paths): Simplify via with-temp-buffer.
7810
7811 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7812 * emulation/cua-rect.el: Also load cua-base at run time.
7813
7814 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7815 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7816 (cperl-imenu-on-info): Require imenu.
7817
7818 2013-05-28 Alan Mackenzie <acm@muc.de>
7819
7820 Handle "capitalised keywords" correctly.
7821 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7822
7823 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7824
7825 * eshell/em-unix.el: Add -r option to cp.
7826
7827 2013-05-28 Glenn Morris <rgm@gnu.org>
7828
7829 * vc/vc-arch.el (vc-exec-after): Declare.
7830 (vc-switches): Autoload.
7831 * vc/vc-bzr.el: No need to require vc when compiling.
7832 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7833 (vc-resynch-buffer, vc-dir-refresh): Declare.
7834 (vc-setup-buffer, vc-switches): Autoload.
7835 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7836 (vc-resynch-buffer): Declare.
7837 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7838 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7839 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7840 (grep-read-regexp, grep-read-files, grep-expand-template)
7841 (vc-dir-refresh): Declare.
7842 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7843 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7844 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7845 * vc/vc-mtn.el (vc-exec-after): Declare.
7846 (vc-switches): Autoload.
7847 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7848 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7849 (vc-file-tree-walk): Declare.
7850 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7851 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7852 (vc-tag-precondition, vc-rename-master): Autoload.
7853 * vc/vc-svn.el (vc-exec-after): Declare.
7854 (vc-switches, vc-setup-buffer): Autoload.
7855 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7856 Autoload.
7857 (vc-resynch-buffer): Declare.
7858
7859 * obsolete/fast-lock.el (byte-compile-warnings):
7860 Don't warn about obsolete features in this obsolete file.
7861
7862 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7863 Move definition before use.
7864
7865 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7866 (dun-unix-verbs): Remove dun-zippy.
7867 (dun-zippy): Remove function.
7868
7869 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7870
7871 2013-05-27 Juri Linkov <juri@jurta.org>
7872
7873 * replace.el (replace-search): New function with code moved out
7874 from `perform-replace'.
7875 (replace-highlight, replace-dehighlight): Move function definitions
7876 up closer to `replace-search'. (Bug#11746)
7877
7878 2013-05-27 Juri Linkov <juri@jurta.org>
7879
7880 * replace.el (perform-replace): Ignore invisible matches.
7881 In addition to checking `query-replace-skip-read-only', also
7882 filter out matches by calling `run-hook-with-args-until-failure'
7883 on `isearch-filter-predicates', and also check `search-invisible'
7884 for t or call `isearch-range-invisible'.
7885 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7886
7887 2013-05-27 Juri Linkov <juri@jurta.org>
7888
7889 * isearch.el (isearch-filter-predicates): Rename from
7890 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7891 (isearch-message-prefix): Display text from the property
7892 `isearch-message-prefix' of the currently active filters.
7893 (isearch-search): Don't compare `isearch-filter-predicate' with
7894 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7895 on `isearch-filter-predicates'. Also check `search-invisible' for t
7896 or call `isearch-range-invisible'.
7897 (isearch-filter-visible): Make obsolete.
7898 (isearch-lazy-highlight-search):
7899 Call `run-hook-with-args-until-failure' on
7900 `isearch-filter-predicates' and use `isearch-range-invisible'.
7901
7902 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7903 `isearch-filter-predicates' instead of `funcall'ing
7904 `isearch-filter-predicate'.
7905 (Info-mode): Set `Info-isearch-filter' to
7906 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7907
7908 * dired-aux.el (dired-isearch-filter-predicate-orig):
7909 Remove variable.
7910 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7911 (dired-isearch-filenames-end): Add and remove
7912 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7913 instead of changing the value of `isearch-filter-predicate'.
7914 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7915 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7916 Put property `isearch-message-prefix' to "filename " on
7917 `dired-isearch-filter-filenames'.
7918
7919 * wdired.el (wdired-change-to-wdired-mode):
7920 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7921 locally instead of changing `isearch-filter-predicate'.
7922 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7923
7924 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7925
7926 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7927 return the commit hash (Bug#14459). Also set the
7928 `vc-git-detached' property.
7929 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7930 (vc-git-mode-line-string): Use the same help-echo format whether
7931 in detached mode or not, because we know the actual revision now.
7932 When in detached mode, shorten the revision to 7 chars.
7933
7934 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7935
7936 * emacs-lisp/easy-mmode.el (define-minor-mode):
7937 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7938 mode hook and provide a docstring.
7939
7940 2013-05-27 Alan Mackenzie <acm@muc.de>
7941
7942 Remove spurious syntax-table text properties inserted by C-y.
7943 * progmodes/cc-mode.el (c-after-change): Also clear hard
7944 syntax-table property with value nil.
7945
7946 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7947
7948 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7949 when reading the events; the buffer layout shall not be changed.
7950
7951 2013-05-27 Leo Liu <sdl.web@gmail.com>
7952
7953 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7954 New variable.
7955 (inferior-octave-directory-tracker): Automatically re-sync
7956 default-directory.
7957 (octave-help): Improve handling of 'See also'.
7958
7959 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7960
7961 * doc-view.el: Minor naming convention tweaks.
7962 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7963
7964 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7965 even if there's no `display' property yet (bug#14435).
7966
7967 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7968
7969 * subr.el (unmsys--file-name): Rename from reveal-filename.
7970
7971 * Makefile.in (custom-deps, finder-data, autoloads)
7972 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7973 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7974 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7975
7976 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7977
7978 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7979 error-completion on the first 2 args of condition-case (bug#14446).
7980 Don't burp at EOB.
7981
7982 2013-05-25 Leo Liu <sdl.web@gmail.com>
7983
7984 * comint.el (comint-previous-matching-input): Do not flood the
7985 *Messages* buffer with trivial messages.
7986
7987 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7988
7989 * progmodes/flymake.el (flymake-nop): Don't return a string.
7990 (flymake-set-at): Fix typo.
7991
7992 * simple.el (read--expression): New function, extracted from
7993 eval-expression. Set completion-at-point-functions (bug#14465).
7994 (eval-expression, eval-minibuffer): Use it.
7995
7996 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7997
7998 * progmodes/flymake.el (flymake-save-buffer-in-file)
7999 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8000 (flymake-selected-frame, flymake-log, flymake-ins-after)
8001 (flymake-set-at, flymake-get-buildfile-from-cache)
8002 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8003 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8004 Refine the doc string.
8005 (flymake-get-file-name-mode-and-masks): Reformat.
8006 (flymake-get-real-file-name-function): Fix a minor bug.
8007
8008 2013-05-24 Juri Linkov <juri@jurta.org>
8009
8010 * progmodes/grep.el (grep-mode-font-lock-keywords):
8011 Support =linenumber= format used by git-grep for lines with
8012 function names. (Bug#13549)
8013
8014 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8015
8016 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8017 0 after a semi-colon; it works better for smie-auto-fill.
8018 (octave--indent-new-comment-line): New function.
8019 (octave-indent-new-comment-line): Use it (indirectly).
8020 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8021 modify comment-line-break-function.
8022
8023 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8024 (smie-setup): Use add-function to set it.
8025
8026 2013-05-24 Sam Steingold <sds@gnu.org>
8027
8028 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8029 argument (before the `interactive' argument).
8030
8031 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8032
8033 * image-mode.el (image-mode-winprops): Add winprops to
8034 image-mode-winprops-alist before running
8035 image-mode-new-window-functions.
8036 * doc-view.el (doc-view-new-window-function): Don't delay
8037 doc-view-goto-page via timers (bug#14435).
8038
8039 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8040
8041 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8042 (doc-view-desktop-save-buffer): New function.
8043 (doc-view-restore-desktop-buffer): New function.
8044 (desktop-buffer-mode-handlers):
8045 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8046 handler.
8047 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8048 `desktop-save-buffer' function.
8049
8050 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8051
8052 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8053 (tramp-gvfs-file-name-handler): Raise a user error when
8054 `tramp-gvfs-enabled' is nil.
8055 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8056 Do not raise a user error when loading package. (Bug#14447)
8057
8058 * net/xesam.el: Move to obsolete/.
8059
8060 2013-05-24 Glenn Morris <rgm@gnu.org>
8061
8062 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8063
8064 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8065
8066 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8067 (Info-find-node, Man-getpage-in-background): Declare.
8068
8069 * mail/unrmail.el (unrmail):
8070 Replace obsolete detect-coding-with-priority.
8071
8072 * net/socks.el (socks-split-string): Use this rather than split-string.
8073 (socks-nslookup-host): Update for above change.
8074 (dynamic-choice, s5-dynamic-choice-match)
8075 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8076 Comment out unused code.
8077
8078 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8079 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8080 (gud-tooltip-echo-area): Make obsolete.
8081 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8082
8083 * progmodes/js.el (js--optimize-arglist): Declare.
8084
8085 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8086
8087 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8088 (ediff-window-C): Declare.
8089
8090 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8091 Tweak requires to silence compiler.
8092
8093 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8094 (he-search-string, he-tried-table, he-expand-list)
8095 (he-init-string, he-string-member, he-substitute-string)
8096 (he-reset-string): Declare.
8097
8098 * obsolete/options.el (list-options): Use custom-variable-p,
8099 rather than obsolete alias.
8100
8101 2013-05-23 Sam Steingold <sds@gnu.org>
8102
8103 * simple.el (shell-command-on-region): Pass the `replace' argument
8104 down to `call-process-region' to comply with the doc as reported on
8105 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8106
8107 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * emacs-lisp/smie.el (smie-indent-forward-token)
8110 (smie-indent-backward-token): Handle string tokens (bug#14381).
8111
8112 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8113
8114 * ielm.el (ielm-menu): New menu.
8115 (inferior-emacs-lisp-mode): Set comment-start.
8116
8117 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8118
8119 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8120 Fix deactivate action.
8121
8122 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8123 Add cleveref macros.
8124
8125 * lisp/textmodes/reftex-parse.el
8126 (reftex-locate-bibliography-files): Accept options for
8127 bibliography commands.
8128 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8129 Add addbibresource. Basic Biblatex support.
8130
8131 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8132
8133 * net/tramp-gvfs.el (top):
8134 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8135 when loading package. (Bug#14447)
8136
8137 2013-05-23 Glenn Morris <rgm@gnu.org>
8138
8139 * progmodes/js.el: No need to load comint when compiling.
8140 (ring-insert, comint-send-string, comint-send-input)
8141 (comint-last-input-end, ido-chop): Declare.
8142
8143 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8144 * vc/ediff-mult.el: Adjust requires.
8145 (ediff-directories-internal, ediff-directory-revisions-internal)
8146 (ediff-patch-file-internal): Declare.
8147 * vc/ediff-ptch.el: Adjust requires.
8148 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8149 (ediff-find-file): Autoload.
8150 * vc/ediff-util.el: No need to load ediff when compiling.
8151 (ediff-regions-internal): Declare.
8152 * vc/ediff-wind.el: Adjust requires.
8153 (ediff-compute-toolbar-width): Define when compiling.
8154 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8155 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8156 (dired-get-filename, dired-get-marked-files)
8157 (ediff-last-dir-patch, ediff-patch-default-directory)
8158 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8159 (ediff-patch-buffer-internal): Declare.
8160
8161 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8162 (ispell-process, ispell-buffer-local-words, lm-summary)
8163 (lm-section-start, lm-section-end): Declare.
8164 (checkdoc-ispell-init): Simplify.
8165
8166 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8167 (he-string-member, he-reset-string, he-substitute-string): Declare.
8168
8169 * eshell/em-ls.el: Adjust requires.
8170 (eshell-glob-regexp): Declare.
8171 * eshell/em-tramp.el: Adjust requires.
8172 (eshell-parse-command): Autoload.
8173 * eshell/em-xtra.el: Adjust requires.
8174 (eshell-parse-command): Autoload.
8175 * eshell/esh-ext.el: Adjust requires.
8176 (eshell-parse-command, eshell-close-handles): Autoload.
8177 * eshell/esh-io.el: Adjust requires.
8178 (eshell-output-filter): Autoload.
8179 * eshell/esh-util.el: No need to load tramp when compiling.
8180 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8181 Declare.
8182 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8183 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8184 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8185 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8186 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8187 * eshell/esh-opt.el, eshell/esh-proc.el:
8188 * eshell/esh-var.el: Adjust requires.
8189 * eshell/eshell.el: Do not require esh-util twice.
8190 (eshell-add-input-to-history): Declare.
8191 (eshell-command): Check history module is active before using it.
8192
8193 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8194
8195 2013-05-22 Leo Liu <sdl.web@gmail.com>
8196
8197 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8198
8199 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8200
8201 * autorevert.el (auto-revert-notify-add-watch)
8202 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8203 it indicates changes in file modification time.
8204
8205 2013-05-22 Glenn Morris <rgm@gnu.org>
8206
8207 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8208 Always delete the autoloaded function from the noruntime and
8209 unresolved functions lists.
8210
8211 * allout.el: No need to load epa, epg, overlay when compiling.
8212 (epg-context-set-passphrase-callback, epg-list-keys)
8213 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8214 (epg-key-user-id-list): Declare.
8215
8216 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8217 (viper-set-parsing-style-toggling-macro)
8218 (viper-set-emacs-state-searchstyle-macros):
8219 Use called-interactively-p on Emacs.
8220 (viper-looking-back): Make it an obsolete alias. Update callers.
8221 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8222 Use looking-back rather than viper-looking-back.
8223 (viper-tmp-insert-at-eob, viper-enlarge-region)
8224 (viper-read-string-with-history, viper-register-to-point)
8225 (viper-append-to-register, viper-change-state-to-vi)
8226 (viper-backward-char-carefully, viper-forward-char-carefully)
8227 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8228 (viper-change-state-to-emacs): Declare.
8229 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8230 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8231 * emulation/viper-mous.el: Do not load viper-cmd.
8232 (viper-backward-char-carefully, viper-forward-char-carefully)
8233 (viper-forward-word, viper-adjust-window): Declare.
8234
8235 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8236
8237 * progmodes/idlw-help.el (idlwave-help-fontify):
8238 Use called-interactively-p.
8239
8240 * term/w32console.el (w32-get-console-codepage)
8241 (w32-get-console-output-codepage): Declare.
8242
8243 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8244 Remove unnecessary declarations.
8245 (dframe-message): Doc fix.
8246
8247 * info.el (dframe-select-attached-frame, dframe-current-frame):
8248 Declare.
8249
8250 * speedbar.el (speedbar-message): Make it an obsolete alias.
8251 Update all callers.
8252 (speedbar-with-attached-buffer)
8253 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8254 (speedbar-with-writable): Use backquote.
8255 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8256 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8257 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8258 rather than speedbar- aliases.
8259 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8260 (speedbar-make-specialized-keymap, speedbar-insert-button)
8261 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8262 (speedbar-do-function-pointer): Declare.
8263 (rmail-speedbar-button, rmail-speedbar-find-file)
8264 (rmail-speedbar-move-message):
8265 Use dframe-with-attached-buffer rather than speedbar- alias.
8266 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8267 (dframe-message, speedbar-make-specialized-keymap)
8268 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8269 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8270 (speedbar-insert-button, dframe-select-attached-frame)
8271 (dframe-maybee-jump-to-attached-frame)
8272 (speedbar-change-initial-expansion-list)
8273 (speedbar-previously-used-expansion-list-name): Declare.
8274 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8275 Use dframe-message, dframe-with-attached-buffer rather than
8276 speedbar- aliases.
8277 (gud-sentinel): Silence compiler.
8278 * progmodes/vhdl-mode.el (speedbar-refresh)
8279 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8280 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8281 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8282 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8283 (speedbar-file-lists, speedbar-make-tag-line)
8284 (speedbar-line-directory, speedbar-goto-this-file)
8285 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8286 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8287 (speedbar-make-button, speedbar-reset-scanners)
8288 (speedbar-files-item-info, speedbar-line-text)
8289 (speedbar-find-file-in-frame, speedbar-set-timer)
8290 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8291 (speedbar-with-writable): Do not (re)define it.
8292 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8293 rather than speedbar- alias.
8294
8295 2013-05-21 Leo Liu <sdl.web@gmail.com>
8296
8297 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8298 menu items.
8299 (octave-mode): Tweak fill-nobreak-predicate.
8300 (inferior-octave-startup): Check process to avoid infinite loop.
8301 (inferior-octave): Pop to buffer first to show abornmal process
8302 exit information.
8303
8304 2013-05-21 Glenn Morris <rgm@gnu.org>
8305
8306 * printing.el (pr-menu-bar): Define when compiling.
8307
8308 2013-05-21 Leo Liu <sdl.web@gmail.com>
8309
8310 * progmodes/octave.el (octave-auto-fill): Remove.
8311 (octave-indent-new-comment-line): Improve.
8312 (octave-mode): Use auto fill mode through
8313 comment-line-break-function and fill-nobreak-predicate.
8314 (octave-goto-function-definition): Support DEFUN_DLD.
8315 (octave-beginning-of-defun): Small tweak.
8316 (octave-help): Show parent directory.
8317
8318 2013-05-21 Glenn Morris <rgm@gnu.org>
8319
8320 * files.el (dired-unmark):
8321 * progmodes/gud.el (gdb-input): Update declarations.
8322
8323 * calculator.el (electric, ehelp): No need to load when compiling.
8324 (Electric-command-loop, electric-describe-mode): Declare.
8325
8326 * doc-view.el (doc-view-current-converter-processes): Move before use.
8327
8328 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8329 Move MODE-set-explicitly definition before use.
8330
8331 * international/mule-diag.el (mule-diag):
8332 Don't use obsolete window-system-version.
8333
8334 * mail/feedmail.el (smtpmail): No need to load when compiling.
8335 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8336
8337 * mail/mail-utils.el (rfc822): No need to load when compiling.
8338 (rfc822-addresses): Autoload it.
8339 (mail-strip-quoted-names): Trivial simplification.
8340
8341 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8342 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8343
8344 * net/snmp-mode.el (tempo): Don't duplicate requires.
8345
8346 * progmodes/prolog.el (info): No need to load when compiling.
8347 (comint): Require before shell requires it.
8348 (Info-goto-node): Autoload it.
8349 (Info-follow-nearest-node): Declare.
8350 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8351
8352 * textmodes/artist.el (picture-mode-exit): Declare.
8353
8354 * textmodes/reftex-parse.el (reftex-parse-from-file):
8355 Trivial rewrite so the compiler can parse it better.
8356
8357 2013-05-20 Leo Liu <sdl.web@gmail.com>
8358
8359 * progmodes/octave.el (octave-help-mode-map)
8360 (octave-help-mode-finish-hook): New variables.
8361 (octave-help-mode, octave-help-mode-finish): New functions.
8362 (octave-help): Use octave-help-mode.
8363
8364 2013-05-20 Glenn Morris <rgm@gnu.org>
8365
8366 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8367
8368 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8369
8370 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8371 start at point, so that expansion starting right after opening
8372 slash in a regexp is recognized.
8373 (ruby-syntax-before-regexp-re): New defvar, extracted from
8374 ruby-syntax-propertize-function. Since the value of this regexp
8375 is looked up at runtime now, we should be able to turn
8376 `ruby-syntax-methods-before-regexp' into a defcustom later.
8377 (ruby-syntax-propertize-function): Split regexp matching into two
8378 parts, for opening and closing slashes. That allows us to skip
8379 over string interpolations and support multiline regexps.
8380 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8381 for them, which calls `ruby-syntax-propertize-expansion'.
8382 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8383 call to `ruby-syntax-propertize-function'.
8384 (ruby-syntax-propertize-expansion): Extracted from
8385 `ruby-syntax-propertize-expansions'. Handles one expansion.
8386 (ruby-syntax-propertize-percent-literal): Leave point right after
8387 the percent symbol, so that the expression expansion rule can
8388 propertize the contents.
8389 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8390 heredoc openers.
8391 (ruby-syntax-propertize-expansions): Remove.
8392
8393 2013-05-18 Juri Linkov <juri@jurta.org>
8394
8395 * man.el (Man-default-man-entry): Remove `-' from the end
8396 of the default value. (Bug#14400)
8397
8398 2013-05-18 Glenn Morris <rgm@gnu.org>
8399
8400 * comint.el (comint-password-prompt-regexp):
8401 Allow "password for XXX" where XXX contains colons (eg https://...).
8402
8403 2013-05-18 Leo Liu <sdl.web@gmail.com>
8404
8405 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8406 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8407 (octave-source-directories): Don't check process.
8408 (octave-source-directories, octave-find-definition): Doc fix.
8409
8410 2013-05-18 Glenn Morris <rgm@gnu.org>
8411
8412 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8413 Remove backspace/delete bindings. (Bug#14392)
8414
8415 * cus-dep.el (custom-make-dependencies): Sort the output.
8416 (custom-versions-load-alist): Convert comment to doc.
8417
8418 2013-05-17 Leo Liu <sdl.web@gmail.com>
8419
8420 * newcomment.el (comment-search-backward): Stricter in finding
8421 comment start. (Bug#14303)
8422
8423 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8424 (octave-comment-start-skip): Properly anchored.
8425
8426 2013-05-17 Leo Liu <sdl.web@gmail.com>
8427
8428 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8429 Clean up when turned off. (Bug#14395)
8430 (smie--highlight-matching-block-overlay): No longer buffer-local.
8431 (smie-highlight-matching-block): Adjust.
8432
8433 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8434
8435 Doc string fix for "nanoseconds" (Bug#14406).
8436 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8437 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8438
8439 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8440
8441 * calc/calc-units.el (math-extract-units): Preserve powers
8442 of units.
8443
8444 2013-05-17 Leo Liu <sdl.web@gmail.com>
8445
8446 * subr.el (delete-consecutive-dups): New function.
8447 * ido.el (ido-set-matches-1): Use it.
8448 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8449 * ido.el (ido-remove-consecutive-dups): Remove.
8450
8451 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8452
8453 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8454 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8455 regexp-opt's `words'.
8456
8457 2013-05-16 Leo Liu <sdl.web@gmail.com>
8458
8459 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8460 (smie--highlight-matching-block-overlay)
8461 (smie--highlight-matching-block-lastpos)
8462 (smie--highlight-matching-block-timer): New variables.
8463 (smie-highlight-matching-block): New function.
8464 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8465 (smie-setup): Conditionally enable smie-blink-matching-open.
8466
8467 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8468
8469 Sync with upstream verilog-mode r840.
8470 * progmodes/verilog-mode.el (verilog-mode-version)
8471 (verilog-mode-release-date): Update.
8472 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8473 (verilog-sig-tieoff): Fix string error on
8474 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8475 (verilog-read-decls): Fix parameters confusing
8476 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8477
8478 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8479
8480 * subr.el (reveal-filename): New function.
8481
8482 * loadup.el: Compute Emacs executable versions on MS-Windows,
8483 where executables have the .exe extension. Add a hard link
8484 emacs-XX.YY.ZZ.exe on MS-Windows.
8485
8486 * Makefile.in (XARGS_LIMIT): New variable.
8487 (custom-deps, finder-data, autoloads)
8488 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8489 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8490 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8491 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8492
8493 2013-05-16 Leo Liu <sdl.web@gmail.com>
8494
8495 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8496 (octave-mode-menu, octave-mode-map): Remove its uses.
8497
8498 2013-05-16 Reto Zimmermann <reto@gnu.org>
8499
8500 Sync with upstream vhdl mode v3.34.2.
8501 * progmodes/vhdl-mode.el: Use `push' throughout.
8502 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8503 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8504 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8505 (vhdl-actual-generic-name): New option to derive actual generic name.
8506 (vhdl-port-paste-signals): Replace formal by actual generics.
8507 (vhdl-beautify): New name for old group vhdl-align. Update users.
8508 (vhdl-beautify-options): New option.
8509 (vhdl-last-input-event): New compat alias. Use throughout.
8510 (vhdl-goto-line): Replace user level function `goto-line'.
8511 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8512 vhdl-fix-statement-buffer.
8513 (vhdl-create-mode-menu): Add some entries.
8514 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8515 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8516 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8517 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8518 to force statements on one line.
8519 (vhdl-remove-trailing-spaces-region):
8520 New, split from vhdl-remove-trailing-spaces.
8521 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8522 Respect vhdl-beautify-options.
8523 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8524 (vhdl-update-sensitivity-list): Not add with index if exists without.
8525 Not include array index with signal. Ignore keywords in comments.
8526 (vhdl-get-visible-signals): Regexp tweaks.
8527 (vhdl-template-component-inst): Handle empty library.
8528 (vhdl-template-type): Add template for 'enum' type.
8529 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8530 Use vhdl-replace-string.
8531 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8532 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8533 (vhdl-speedbar-initialize): Update for above name change.
8534 (vhdl-compose-wire-components): Fix in handling of constants.
8535 (vhdl-error-regexp-emacs-alist): New variable.
8536 (vhdl-error-regexp-add-emacs): New function;
8537 adds support for new compile.el (Emacs 22+)
8538 (vhdl-generate-makefile-1): Change target order for single lib. units.
8539 Allow use of absolute file names.
8540
8541 2013-05-16 Leo Liu <sdl.web@gmail.com>
8542
8543 * simple.el (prog-indent-sexp): Indent enclosing defun.
8544
8545 2013-05-15 Glenn Morris <rgm@gnu.org>
8546
8547 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8548 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8549 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8550 (whitespace-highlight): Move to whitespace group.
8551
8552 * comint.el (comint-source):
8553 * pcmpl-linux.el (pcmpl-linux):
8554 * shell.el (shell-faces):
8555 * eshell/esh-opt.el (eshell-opt):
8556 * international/ccl.el (ccl): Remove empty custom groups.
8557
8558 * completion.el (dynamic-completion-mode):
8559 * jit-lock.el (jit-lock-debug-mode):
8560 * minibuffer.el (completion-in-region-mode):
8561 * type-break.el (type-break-mode-line-message-mode)
8562 (type-break-query-mode):
8563 * emulation/tpu-edt.el (tpu-edt-mode):
8564 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8565 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8566 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8567
8568 * term/xterm.el (xterm): Change parent group to terminals.
8569
8570 * master.el (master): Remove empty custom group.
8571 (master-mode): Remove unused :group argument.
8572 * textmodes/refill.el (refill): Remove empty custom group.
8573 (refill-mode): Remove unused :group argument.
8574
8575 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8576
8577 * cus-dep.el: Provide a feature.
8578 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8579 Don't mistakenly ignore files whose basenames match a basename
8580 from preloaded-file-list (eg cedet/ede/simple.el).
8581 Add a fallback method for getting :group.
8582
8583 2013-05-15 Juri Linkov <juri@jurta.org>
8584
8585 * isearch.el (isearch-char-by-name): Rename from
8586 `isearch-insert-char-by-name'. Doc fix.
8587 (isearch-forward): Mention `isearch-char-by-name' in
8588 the docstring. (Bug#13348)
8589
8590 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8591 `exit-minibuffer' instead of
8592 `isearch-nonincremental-exit-minibuffer'.
8593 (isearch-edit-string): Remove mention of
8594 `isearch-nonincremental-exit-minibuffer' from docstring.
8595 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8596 (isearch-forward-exit-minibuffer)
8597 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8598
8599 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8600
8601 * loadup.el: Just use unversioned DOC.
8602
8603 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8604 literals as extending to EOB.
8605 (nxml-last-fontify-end): Remove unused variable.
8606 (nxml-after-change1): Use with-silent-modifications.
8607 (nxml-extend-after-change-region): Simplify.
8608 (nxml-extend-after-change-region1): Remove function.
8609 (nxml-after-change1): Don't adjust for dependent regions.
8610 (nxml-fontify-matcher): Simplify.
8611 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8612 (xmltok-add-dependent): Remove function.
8613 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8614 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8615 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8616 unclosed <[[, <?, comment, and other literals as extending to EOB.
8617 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8618 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8619 Remove functions.
8620 (rng-do-some-validation-1): Don't mark dependent regions.
8621 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8622 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8623 (nxml-clear-dependent-regions): Remove functions.
8624 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8625 (nxml-ensure-scan-up-to-date):
8626 Don't clear&mark dependent regions.
8627
8628 2013-05-15 Leo Liu <sdl.web@gmail.com>
8629
8630 * progmodes/octave.el (octave-goto-function-definition):
8631 Improve and fix callers.
8632
8633 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8636 the setter (bug#14387).
8637
8638 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8639 surrounding group (bug#14402).
8640
8641 2013-05-14 Juri Linkov <juri@jurta.org>
8642
8643 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8644 (Bug#14390)
8645
8646 2013-05-14 Glenn Morris <rgm@gnu.org>
8647
8648 * progmodes/f90.el (f90-imenu-generic-expression):
8649 Fix typo in 2013-05-08 change. (Bug#14402)
8650
8651 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8652
8653 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8654 Remove signals for which replies are never received.
8655
8656 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8657
8658 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8659 (gdb-handler-alist, gdb-handler-number): Remove variables.
8660 (gdb-handler-list): New variable.
8661 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8662 (gdb-pending-handler-p, gdb-handle-reply)
8663 (gdb-remove-all-pending-triggers): New functions.
8664 (gdb-discard-unordered-replies): New defcustom.
8665 (gdb-handler): New defstruct.
8666 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8667 instead of gdb-pending-triggers. Update docstring.
8668 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8669 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8670 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8671 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8672 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8673 (gdb-frame-handler): Pending triggers are now automatically managed.
8674 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8675 Remove argument.
8676 (gdb-input): Automatically handles pending triggers. Update docstring.
8677 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8678 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8679 Update comments.
8680 (gdb-done-or-error): Now use gdb-handle-reply.
8681
8682 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8683
8684 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8685 gdb-debug-log.
8686
8687 2013-05-14 Glenn Morris <rgm@gnu.org>
8688
8689 * subr.el (user-emacs-directory-warning): New option.
8690 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8691
8692 2013-05-14 Leo Liu <sdl.web@gmail.com>
8693
8694 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8695 during redisplay.
8696 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8697 (octave-font-lock-texinfo-comment): Fix invalid search bound
8698 error: wrong side of point.
8699
8700 2013-05-14 Glenn Morris <rgm@gnu.org>
8701
8702 * progmodes/flymake.el (flymake-xml-program): New option.
8703 (flymake-xml-init): Use it.
8704
8705 * term/xterm.el: Provide a feature.
8706
8707 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8708
8709 2013-05-13 Glenn Morris <rgm@gnu.org>
8710
8711 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8712 Add compat aliases as a hack workaround. (Bug#14384)
8713
8714 2013-05-13 Leo Liu <sdl.web@gmail.com>
8715
8716 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8717 ###, and %!.
8718 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8719 C-M-q.
8720 (octave-comment-start-skip): Include %!.
8721 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8722
8723 2013-05-12 Leo Liu <sdl.web@gmail.com>
8724
8725 * progmodes/octave.el (inferior-octave-startup): Store the value
8726 of __octave_srcdir__ for octave-source-directories.
8727 (inferior-octave-check-process): New function refactored out of
8728 inferior-octave-send-list-and-digest.
8729 (octave-source-directories)
8730 (octave-find-definition-filename-function): New variables.
8731 (octave-source-directories)
8732 (octave-find-definition-default-filename): New functions.
8733 (octave-find-definition): Improve to find functions implemented in C++.
8734
8735 2013-05-12 Glenn Morris <rgm@gnu.org>
8736
8737 * calendar/diary-lib.el (diary-outlook-format-1):
8738 Don't include dayname in the output. (Bug#14349)
8739
8740 2013-05-11 Glenn Morris <rgm@gnu.org>
8741
8742 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8743
8744 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8745 Treat cc-provide like provide.
8746
8747 2013-05-11 Kevin Ryde <user42@zip.com.au>
8748
8749 * cus-dep.el (custom-make-dependencies):
8750 Use generated-autoload-load-name for the sake of files such
8751 such cedet/semantic/bovine/c.el, where the base file name
8752 is not in load-path. (Bug#5277)
8753
8754 2013-05-11 Glenn Morris <rgm@gnu.org>
8755
8756 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8757 Provide features.
8758
8759 2013-05-11 Leo Liu <sdl.web@gmail.com>
8760
8761 * progmodes/octave.el (octave-indent-comment): Improve.
8762 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8763 (octave-eldoc-function-signatures, octave-eldoc-function):
8764 New functions.
8765 (octave-mode, inferior-octave-mode): Add eldoc support.
8766
8767 2013-05-11 Richard Stallman <rms@gnu.org>
8768
8769 * epa.el (epa-decrypt-file): Take output file name as argument
8770 and read it using `interactive'.
8771
8772 2013-05-11 Leo Liu <sdl.web@gmail.com>
8773
8774 * progmodes/octave.el (octave-beginning-of-line)
8775 (octave-end-of-line): Check before using up-list because it jumps
8776 out of more syntactic contructs since moving to smie.
8777 (octave-indent-comment): New function.
8778 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8779 (octave-begin-keywords, octave-end-keywords)
8780 (octave-reserved-words, octave-smie-bnf-table)
8781 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8782
8783 2013-05-11 Glenn Morris <rgm@gnu.org>
8784
8785 * faces.el (internal-face-x-get-resource):
8786 * frame.el (ns-display-monitor-attributes-list):
8787 * calc/calc-aent.el (math-to-radians-2):
8788 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8789 Fix declarations.
8790
8791 * calc/calc-menu.el: Make it loadable in isolation.
8792
8793 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8794 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8795 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8796 (eudc-bbdb-query-internal): Require 'bbdb.
8797
8798 * lpr.el (lpr-headers-switches):
8799 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8800
8801 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8802
8803 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8804
8805 * term.el (term-set-escape-char): Make it idempotent.
8806
8807 2013-05-10 Leo Liu <sdl.web@gmail.com>
8808
8809 * progmodes/octave.el (inferior-octave-completion-table):
8810 No longer a function and all uses changed. Use cache to speed up
8811 completion due to bug#11906.
8812 (octave-beginning-of-defun): Re-write to be more general.
8813
8814 2013-05-10 Glenn Morris <rgm@gnu.org>
8815
8816 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8817
8818 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8819
8820 * comint.el (comint-redirect-send-command-to-process): Use :around
8821 rather than :override for comint-redirect-filter.
8822 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8823 Call it instead of comint-redirect-original-filter-function (which
8824 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8825
8826 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8827
8828 * frame.el (display-monitor-attributes-list): Add NS case.
8829 (ns-display-monitor-attributes-list): Declare.
8830
8831 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8832
8833 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8834
8835 2013-05-09 Glenn Morris <rgm@gnu.org>
8836
8837 * international/fontset.el (vertical-centering-font-regexp):
8838 Set standard-value.
8839
8840 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8841
8842 * bookmark.el (bookmark-search-delay):
8843 * cus-start.el (vertical-centering-font-regexp):
8844 * ps-mule.el (ps-mule-font-info-database-default):
8845 * ps-print.el (ps-default-fg, ps-default-bg):
8846 * type-break.el (type-break-good-break-interval):
8847 * whitespace.el (whitespace-indentation-regexp)
8848 (whitespace-space-after-tab-regexp):
8849 * emacs-lisp/testcover.el (testcover-1value-functions)
8850 (testcover-noreturn-functions, testcover-progn-functions)
8851 (testcover-prog1-functions):
8852 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8853 * eshell/em-glob.el (eshell-glob-translate-alist):
8854 * play/tetris.el (tetris-tty-colors):
8855 * progmodes/cpp.el (cpp-face-default-list):
8856 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8857 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8858 (idlwave-help-browser-generic-args):
8859 * progmodes/make-mode.el (makefile-special-targets-list):
8860 * progmodes/python.el (python-shell-virtualenv-path):
8861 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8862 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8863 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8864 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8865 * textmodes/reftex-vars.el (reftex-format-label-function):
8866 * textmodes/remember.el (remember-diary-file): Fix custom types.
8867
8868 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8869 Add :version.
8870
8871 2013-05-09 Leo Liu <sdl.web@gmail.com>
8872
8873 * progmodes/octave.el (inferior-octave-completion-at-point):
8874 Restore file completion. (Bug#14300)
8875 (inferior-octave-startup): Fix incorrect highlighting for the
8876 first prompt.
8877
8878 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8879
8880 * progmodes/ruby-mode.el: First cut at SMIE support.
8881 (ruby-use-smie): New var.
8882 (ruby-smie-grammar): New constant.
8883 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8884 (ruby-smie--forward-token, ruby-smie--backward-token)
8885 (ruby-smie-rules): New functions.
8886 (ruby-mode-variables): Setup SMIE if applicable.
8887
8888 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8889
8890 * simple.el (line-move-visual): Signal beginning/end of buffer
8891 only if vertical-motion moved less than it was requested. Avoids
8892 silly incorrect error messages when there are display strings with
8893 multiple newlines at EOL.
8894
8895 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8897 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8898 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8899 (prolog-char-quote-workaround):
8900 * progmodes/cperl-mode.el (cperl-under-as-char):
8901 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8902 Mark as obsolete.
8903 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8904 their declaration.
8905 (vhdl-mode-syntax-table-init): Remove.
8906
8907 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8908 last change.
8909
8910 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8911 syntax for "_".
8912 (ld-script-font-lock-keywords):
8913 Change regexps to use things like \_< and \_>.
8914
8915 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8916 Change all regexps to use things like \_< and \_>.
8917
8918 * progmodes/autoconf.el (autoconf-definition-regexp)
8919 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8920 Handle a _ with symbol syntax.
8921 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8922
8923 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8924 Consolidate declaration.
8925 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8926 the declaration.
8927 (ada-create-syntax-table): Remove.
8928 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8929 already has the right syntax nowadays.
8930 (ada-goto-next-word): Don't change the syntax of "_".
8931
8932 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8933 with-wrapper-hook.
8934
8935 2013-05-08 Sam Steingold <sds@gnu.org>
8936
8937 * thingatpt.el (thing-at-point): Accept optional second argument
8938 NO-PROPERTIES to strip the text properties from the return value.
8939 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8940 to `thing-at-point' instead of stripping the properties ourselves.
8941 Also, when `thing-at-point' fails to find a url, prepend "http://"
8942 to the filename at point on the assumption that the user is
8943 pointing at something like gnu.org/gnu.
8944
8945 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8946
8947 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8948 * faces.el (crm-separator):
8949 Silence byte-compiler.
8950
8951 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8952 (tool-bar-map): Remove unneeded defvars.
8953
8954 2013-05-08 Leo Liu <sdl.web@gmail.com>
8955
8956 Re-work a fix for bug#10994 based on Le Wang's patch.
8957 * ido.el (ido-remove-consecutive-dups): New helper.
8958 (ido-completing-read): Use it.
8959 (ido-chop): Revert fix for bug#10994.
8960
8961 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8962
8963 * cus-edit.el (custom-save-variables):
8964 Pretty-print long values. (Bug#14187)
8965
8966 2013-05-08 Glenn Morris <rgm@gnu.org>
8967
8968 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8969 (m4-mode-syntax-table): Init in the defvar.
8970 (m4-mode-abbrev-table): Let define-derived-mode define it.
8971
8972 2013-05-08 Tom Tromey <tromey@redhat.com>
8973
8974 * progmodes/m4-mode.el (m4-mode-syntax-table):
8975 Do not treat "_" as word constituent. (Bug#14167)
8976
8977 2013-05-07 Glenn Morris <rgm@gnu.org>
8978
8979 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8980 Remove explicit eshell-isearch-cancel-map.
8981
8982 * progmodes/f90.el (f90-smart-end-names): New option.
8983 (f90-smart-end): Doc fix.
8984 (f90-end-block-optional-name): New constant.
8985 (f90-block-match): Respect f90-smart-end-names.
8986
8987 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8988
8989 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8990 about implicit semi-colons (bug#14218).
8991
8992 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8993
8994 * frame.el (display-monitor-attributes-list)
8995 (frame-monitor-attributes): New functions.
8996
8997 2013-05-06 Leo Liu <sdl.web@gmail.com>
8998
8999 * progmodes/octave.el (octave-syntax-propertize-function): Change
9000 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9001 (octave-font-lock-keywords): Use octave-operator-regexp.
9002 (octave-completion-at-point): Rename from
9003 octave-completion-at-point-function.
9004 (inferior-octave-directory-tracker): Robustify.
9005 (octave-text-functions): Remove and fix its uses. No such things
9006 any more.
9007
9008 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9009
9010 * emacs-lisp/trace.el (trace--display-buffer): New function.
9011 (trace-make-advice): Use it.
9012
9013 2013-05-06 Juri Linkov <juri@jurta.org>
9014
9015 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9016 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9017 Doc fix.
9018 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9019 in the help string. (Bug#12985)
9020
9021 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9022
9023 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9024
9025 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9026
9027 * progmodes/perl-mode.el: Add support for here documents.
9028 (perl-syntax-propertize-function): Match here-doc markers.
9029 (perl-syntax-propertize-special-constructs): Find their end.
9030 (perl-imenu-generic-expression): Use [:alnum:].
9031
9032 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9033 (advice--add-function): Refresh the advice if already present
9034 (bug#14317).
9035
9036 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9037
9038 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9039
9040 2013-05-06 Glenn Morris <rgm@gnu.org>
9041
9042 * w32-fns.el (w32-charset-info-alist): Declare.
9043
9044 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9045 of its defcustom properties.
9046 (eshell-cmpl-initialize): No need to load pcomplete.
9047
9048 * generic-x.el: No need to require comint when compiling.
9049
9050 * net/eudc-export.el: Make it loadable without bbdb.
9051 (top-level): Use require rather than load-library.
9052 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9053 (eudc-batch-export-records-to-bbdb)
9054 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9055 Require bbdb.
9056
9057 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9058
9059 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9060 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9061 some tweaks, instead.
9062
9063 2013-05-05 Leo Liu <sdl.web@gmail.com>
9064
9065 * progmodes/octave.el (octave-font-lock-keywords)
9066 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9067 (inferior-octave-send-list-and-digest): Improve error message.
9068 (octave-mode, inferior-octave-mode): Use setq-local.
9069 (octave-help): Set info-lookup-mode.
9070
9071 2013-05-05 Richard Stallman <rms@gnu.org>
9072
9073 * vc/compare-w.el (compare-windows-whitespace):
9074 Treat no-break space as whitespace.
9075
9076 * mail/rmailsum.el (rmail-summary-rmail-update):
9077 Detect empty summary and don't change selected message.
9078 (rmail-summary-goto-msg): Likewise.
9079
9080 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9081 Doc fixes, rename args.
9082
9083 2013-05-05 Alan Mackenzie <acm@muc.de>
9084
9085 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9086
9087 2013-05-05 Juri Linkov <juri@jurta.org>
9088
9089 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9090 to not add the length of the summary segment to the return value.
9091 (Bug#14125)
9092
9093 2013-05-05 Leo Liu <sdl.web@gmail.com>
9094
9095 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9096 (inferior-octave-output-filter): Remove.
9097 (octave-send-region, inferior-octave-startup): Fix callers.
9098 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9099 (octave-binary-file-extensions): New user variable.
9100 (octave-find-definition): Confirm if opening binary files.
9101 (octave-help-file): Use octave-find-definition to get the binary
9102 confirmation.
9103 (octave-help): Adjust for octave-help-file change.
9104
9105 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9106
9107 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9108 Merge the two entries that handle function definitions.
9109 (pascal--syntax-propertize): New const.
9110 (pascal-mode): Use it. Use setq-local.
9111
9112 2013-05-04 Glenn Morris <rgm@gnu.org>
9113
9114 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9115 (diary-from-outlook): Respect diary-from-outlook-function.
9116
9117 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9118
9119 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9120 Move the declaration from C.
9121 (read-minibuffer, eval-minibuffer): Move from C.
9122 (completion-setup-function): Avoid minibuffer-completion-contents.
9123
9124 2013-05-03 Leo Liu <sdl.web@gmail.com>
9125
9126 * progmodes/octave.el (octave-font-lock-keywords): Do not
9127 dehighlight 'end' in comments or strings.
9128 (octave-completing-read, octave-goto-function-definition):
9129 New helpers.
9130 (octave-help-buffer): New user variable.
9131 (octave-help-file, octave-help-function): New button types.
9132 (octave-help): New command and bind it to C-h ;.
9133 (octave-find-definition): New command and bind it to M-.
9134 (user-error): Alias to error if not defined.
9135
9136 2013-05-02 Leo Liu <sdl.web@gmail.com>
9137
9138 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9139 for \. (bug#14332)
9140 (octave-font-lock-keywords): Include [ and {.
9141
9142 2013-05-02 Leo Liu <sdl.web@gmail.com>
9143
9144 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9145 (inferior-octave): Remove calling comint-mode and return the buffer.
9146 (inferior-octave-startup): Cosmetic changes.
9147
9148 2013-05-02 Leo Liu <sdl.web@gmail.com>
9149
9150 * progmodes/octave.el (octave-syntax-propertize-function):
9151 Include the case when ' is at line beginning. (Bug#14336)
9152
9153 2013-05-02 Glenn Morris <rgm@gnu.org>
9154
9155 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9156 * desktop.el (vc-dir-mode): Just autoload it here.
9157
9158 2013-05-02 Alan Mackenzie <acm@muc.de>
9159
9160 Eliminate variable c-standard-font-lock-fontify-region-function.
9161 * progmodes/cc-mode.el
9162 (c-standard-font-lock-fontify-region-function): Remove.
9163 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9164
9165 2013-05-01 Leo Liu <sdl.web@gmail.com>
9166
9167 * progmodes/octave.el: Compatible with older emacs-24 releases.
9168 (inferior-octave-has-built-in-variables): Remove. Built-in
9169 variables were removed from Octave in 2007.
9170 (inferior-octave-startup): Fix uses.
9171 (comint-line-beginning-position): Remove compatibility code for
9172 emacs 21.
9173
9174 2013-05-01 Juri Linkov <juri@jurta.org>
9175
9176 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9177
9178 2013-05-01 Juri Linkov <juri@jurta.org>
9179
9180 * comint.el (comint-previous-matching-input): Don't print message
9181 "History item: %d" when `isearch-mode' is active.
9182 (comint-history-isearch-message): Print message "History item: %d"
9183 when `comint-input-ring-index' is not empty and this function is
9184 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9185
9186 2013-05-01 Leo Liu <sdl.web@gmail.com>
9187
9188 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9189 definitions. Use completion-at-point to insert keywords.
9190 (octave-abbrev-start): Remove.
9191 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9192
9193 2013-04-30 Leo Liu <sdl.web@gmail.com>
9194
9195 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9196 change.
9197
9198 2013-04-30 Alan Mackenzie <acm@muc.de>
9199
9200 Handle arbitrarily long C++ member initialisation lists.
9201 * progmodes/cc-engine.el (c-back-over-member-initializers):
9202 new function.
9203 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9204 (most) member init lists.
9205
9206 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9207
9208 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9209 variable.
9210
9211 2013-04-30 Leo Liu <sdl.web@gmail.com>
9212
9213 * progmodes/octave.el (octave-variables): Remove. No builtin
9214 variables any more. All converted to functions.
9215 (octave-font-lock-keywords, octave-completion-at-point-function):
9216 Fix uses.
9217 (octave-font-lock-texinfo-comment): New user variable.
9218 (octave-texinfo-font-lock-keywords): New variable for texinfo
9219 comment block.
9220 (octave-function-comment-block): New face.
9221 (octave-font-lock-texinfo-comment): New function.
9222 (octave-mode): Font lock texinfo comment block.
9223
9224 2013-04-29 Leo Liu <sdl.web@gmail.com>
9225
9226 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9227 indexing expression.
9228 (octave-continuation-string): Do not use \.
9229 (inferior-octave-complete-impossible): Remove.
9230 (inferior-octave-completion-table)
9231 (inferior-octave-completion-at-point): Remove its uses.
9232 (inferior-octave-startup): completion_matches was introduced to
9233 Octave in 1996 so safe to assume it.
9234 (octave-function-file-comment): Improve to follow how Octave does it.
9235 (octave-update-function-file-comment): Tweak.
9236
9237 2013-04-29 Leo Liu <sdl.web@gmail.com>
9238
9239 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9240 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9241 (octave-function-file-comment): Fix typo.
9242 (octave-sync-function-file-names): Use read-char-choice.
9243
9244 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9245
9246 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9247 to t for the less important warnings.
9248
9249 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9250
9251 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9252
9253 2013-04-27 Glenn Morris <rgm@gnu.org>
9254
9255 * vc/log-view.el (log-view-current-entry):
9256 Treat "---" separator lines as part of the following rev. (Bug#14169)
9257
9258 2013-04-27 Juri Linkov <juri@jurta.org>
9259
9260 * subr.el (read-number): Doc fix about using it by interactive
9261 code letter `n'. (Bug#14254)
9262
9263 2013-04-27 Juri Linkov <juri@jurta.org>
9264
9265 * desktop.el (desktop-auto-save-timeout): New option.
9266 (desktop-file-checksum): New variable.
9267 (desktop-save): Add optional arg `auto-save' and don't auto-save
9268 if nothing changed.
9269 (desktop-auto-save-timer): New variable.
9270 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9271 (after-init-hook): Call `desktop-auto-save-set-timer'.
9272 Suggested by Reuben Thomas <rrt@sc3d.org> in
9273 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9274
9275 2013-04-27 Leo Liu <sdl.web@gmail.com>
9276
9277 * progmodes/octave.el (octave-function-file-p)
9278 (octave-skip-comment-forward, octave-function-file-comment)
9279 (octave-update-function-file-comment): New functions.
9280 (octave-mode-map): Bind C-c ; to
9281 octave-update-function-file-comment.
9282 (octave-mode-menu): Add octave-update-function-file-comment.
9283 (octave-mode, inferior-octave-mode): Fix doc-string.
9284 (octave-insert-defun): Conform to Octave's coding convention.
9285 (Bug#14285)
9286
9287 * files.el (basic-save-buffer): Don't let errors in
9288 before-save-hook prevent saving buffer.
9289
9290 2013-04-20 Roland Winkler <winkler@gnu.org>
9291
9292 * faces.el (read-face-name): Use completing-read if arg multiple
9293 is nil.
9294
9295 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9296
9297 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9298 displayed, move point to after the totals line.
9299 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9300 for the details.
9301
9302 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9303
9304 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9305 Add current dir to the load-path.
9306 (package-generate-autoloads): Don't rely on
9307 autoload-ensure-default-file.
9308
9309 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9310
9311 * textmodes/remember.el (remember-store-in-files): Document that
9312 the file name format is passed to `format-time-string'.
9313
9314 2013-04-26 Leo Liu <sdl.web@gmail.com>
9315
9316 * progmodes/octave.el (octave-sync-function-file-names): New function.
9317 (octave-mode): Use it in before-save-hook.
9318
9319 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9320
9321 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9322 (bug#14274).
9323
9324 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9325 \n and comment, even if it's not an implicit ; (bug#14218).
9326
9327 2013-04-26 Glenn Morris <rgm@gnu.org>
9328
9329 * subr.el (read-number): Once more use `read' rather than
9330 `string-to-number', to trap non-numeric input. (Bug#14254)
9331
9332 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9333
9334 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9335 Use `syntax-multiline' text property consistently instead of
9336 `font-lock-multiline'. (Bug#14237)
9337
9338 2013-04-26 Glenn Morris <rgm@gnu.org>
9339
9340 * emacs-lisp/shadow.el (list-load-path-shadows):
9341 No longer necessary to check for duplicate simple.el, since
9342 2012-07-07 change to init_lread to not include installation lisp
9343 directories in load-path when running uninstalled. (Bug#14270)
9344
9345 2013-04-26 Leo Liu <sdl.web@gmail.com>
9346
9347 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9348 (octave-mode, inferior-octave-mode): Use setq-local.
9349 (octave-not-in-string-or-comment-p): Rename to
9350 octave-in-string-or-comment-p.
9351 (octave-in-comment-p, octave-in-string-p)
9352 (octave-in-string-or-comment-p): Replace defsubst with defun.
9353
9354 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9355
9356 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9357
9358 2013-04-25 Bastien Guerry <bzg@gnu.org>
9359
9360 * textmodes/remember.el (remember-data-directory)
9361 (remember-directory-file-name-format): Fix custom types.
9362
9363 2013-04-25 Leo Liu <sdl.web@gmail.com>
9364
9365 * progmodes/octave.el (octave-completion-at-point-function):
9366 Make use of inferior octave process.
9367 (octave-initialize-completions): Remove.
9368 (inferior-octave-completion-table): New function.
9369 (inferior-octave-completion-at-point): Use it.
9370 (octave-completion-alist): Remove.
9371
9372 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9375 (opascal-mode-syntax-table): New var.
9376 (opascal-literal-kind, opascal-is-literal-end)
9377 (opascal-literal-token-at): Rewrite.
9378 (opascal--literal-start-re, opascal-font-lock-keywords)
9379 (opascal--syntax-propertize): New constants.
9380 (opascal-font-lock-defaults): Adjust.
9381 (opascal-mode): Use them. Set comment-<foo> variables as well.
9382 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9383 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9384 (delphi-other-face, opascal-other-face): Remove face variables.
9385 (opascal-save-state): Remove macro.
9386 (opascal-fontifying-progress-step): Remove constant.
9387 (opascal--ignore-changes): Remove var.
9388 (opascal-set-token-property, opascal-parse-next-literal)
9389 (opascal-is-stable-literal, opascal-complete-literal)
9390 (opascal-is-literal-start, opascal-face-of)
9391 (opascal-parse-region, opascal-parse-region-until-stable)
9392 (opascal-fontify-region, opascal-after-change)
9393 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9394 (opascal-debug-parse-region, opascal-debug-parse-window)
9395 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9396 (opascal-debug-fontify-buffer): Remove.
9397 (opascal-debug-mode-map): Adjust accordingly.
9398
9399 2013-04-25 Leo Liu <sdl.web@gmail.com>
9400
9401 Merge octave-mod.el and octave-inf.el into octave.el with some
9402 cleanups.
9403 * progmodes/octave.el: New file renamed from octave-mod.el.
9404 * progmodes/octave-inf.el: Merged into octave.el.
9405 * progmodes/octave-mod.el: Renamed to octave.el.
9406
9407 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9408
9409 * textmodes/reftex-vars.el
9410 (reftex-label-ignored-macros-and-environments): New defcustom.
9411
9412 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9413
9414 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9415
9416 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9417 (smie-indent-keyword): Improve the check to ensure that the next
9418 comment is really on the same line.
9419 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9420
9421 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9422 semi-colons if the line is not otherwise empty (bug#14218).
9423
9424 2013-04-25 Glenn Morris <rgm@gnu.org>
9425
9426 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9427
9428 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9429
9430 * progmodes/opascal.el (opascal-set-token-property): Rename from
9431 opascal-set-text-properties and only set `token' (bug#14134).
9432 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9433 (opascal-literal-text-properties): Remove.
9434 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9435 Adjust callers.
9436
9437 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9438
9439 * textmodes/remember.el (remember-handler-functions): Add an
9440 option for a new handler `remember-store-in-files'.
9441 (remember-data-directory, remember-directory-file-name-format):
9442 New options.
9443 (remember-store-in-files): New function to store remember notes
9444 as separate files within a directory.
9445
9446 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9447
9448 * progmodes/compile.el (compilation-next-error-function):
9449 Pass "formats" to compilation-find-file (bug#11777).
9450
9451 2013-04-24 Glenn Morris <rgm@gnu.org>
9452
9453 * vc/vc-bzr.el (vc-bzr-print-log):
9454 * vc/vc-hg.el (vc-hg-print-log):
9455 * vc/vc-svn.el (vc-svn-print-log):
9456 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9457
9458 * vc/vc-bzr.el (vc-bzr-print-log):
9459 * vc/vc-cvs.el (vc-cvs-print-log):
9460 * vc/vc-git.el (vc-git-print-log):
9461 * vc/vc-hg.el (vc-hg-print-log):
9462 * vc/vc-mtn.el (vc-mtn-print-log):
9463 * vc/vc-rcs.el (vc-rcs-print-log):
9464 * vc/vc-sccs.el (vc-sccs-print-log):
9465 * vc/vc-svn.el (vc-svn-print-log):
9466 * vc/vc.el (vc-print-log-internal): Doc fixes.
9467
9468 2013-04-23 Glenn Morris <rgm@gnu.org>
9469
9470 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9471 Remove venerable code attempting to avoid substitute-command-keys.
9472
9473 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9474
9475 * textmodes/reftex-vars.el (reftex-label-regexps):
9476 Call `reftex-compile-variables' after changes to this variable.
9477
9478 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9481 Use lexical-binding.
9482 (jit-lock-force-redisplay): Use markers, check buffer's continued
9483 existence and beware narrowed buffers.
9484 (jit-lock-fontify-now): Adjust call accordingly.
9485
9486 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9487
9488 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9489 to avoid misleading the user.
9490
9491 2013-04-22 Leo Liu <sdl.web@gmail.com>
9492
9493 * info-look.el: Prefer latex2e.info. (Bug#14240)
9494
9495 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9496
9497 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9498
9499 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9500 * net/tramp.el (tramp-call-process): ... here.
9501 (tramp-set-completion-function, tramp-parse-putty):
9502 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9503 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9504 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9505 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9506 (tramp-call-local-coding-command): Use `tramp-call-process'
9507 instead of `tramp-compat-call-process'.
9508
9509 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9510 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9511 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9512 (tramp-find-inline-compress): Improve traces.
9513 (tramp-maybe-send-script): Check for Perl binary.
9514 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9515
9516 2013-04-22 Daiki Ueno <ueno@gnu.org>
9517
9518 * epg.el (epg-context-pinentry-mode): New function.
9519 (epg-context-set-pinentry-mode): New function.
9520 (epg--start): Pass --pinentry-mode option to gpg command.
9521
9522 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9523
9524 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9525 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9526 `completion-at-point'. (Bug#13774)
9527
9528 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9529 default key binding for `describe-distribution' has been moved to
9530 `C-h C-o'. (Bug#13970)
9531
9532 2013-04-21 Glenn Morris <rgm@gnu.org>
9533
9534 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9535 Add doc strings.
9536 (vc-print-log): Clarify interactive prompt.
9537
9538 2013-04-20 Glenn Morris <rgm@gnu.org>
9539
9540 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9541 No longer include timestamp etc information.
9542
9543 2013-04-20 Roland Winkler <winkler@gnu.org>
9544
9545 * faces.el (read-face-name): Bug fix, return just one face if arg
9546 multiple is nil. (Bug#14209)
9547
9548 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9549
9550 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9551 (remove-function): Autoload.
9552
9553 * comint.el (comint-redirect-original-filter-function): Remove.
9554 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9555 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9556 (vc-cvs-annotate-command):
9557 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9558 * progmodes/prolog.el (prolog-consult-compile):
9559 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9560 Use add/remove-function instead.
9561 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9562 (gud-tooltip-process-output, gud-tooltip-tips):
9563 Use add/remove-function instead.
9564 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9565 (scheme-interaction-mode, exit-scheme-interaction-mode):
9566 Use add/remove-function instead.
9567
9568 * vc/vc-dispatcher.el: Use lexical-binding.
9569 (vc--process-sentinel): Rename from vc-process-sentinel.
9570 Change last arg to be the code to run. Don't use vc-previous-sentinel
9571 and vc-sentinel-commands any more.
9572 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9573 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9574
9575 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9576
9577 * progmodes/sh-script.el (sh-imenu-generic-expression):
9578 Handle function names with a single character. (Bug#14111)
9579
9580 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9581
9582 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9583 for subroutines defined in an eval (bug#14182).
9584
9585 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9586
9587 * bookmark.el (bookmark-completing-read): Improve handling of empty
9588 string (bug#14176).
9589
9590 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9591
9592 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9593
9594 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9595
9596 New faster Imenu implementation (bug#14058).
9597 * progmodes/python.el:
9598 (python-imenu-prev-index-position):
9599 (python-imenu-format-item-label-function)
9600 (python-imenu-format-parent-item-label-function)
9601 (python-imenu-format-parent-item-jump-label-function):
9602 New vars.
9603 (python-imenu-format-item-label)
9604 (python-imenu-format-parent-item-label)
9605 (python-imenu-format-parent-item-jump-label)
9606 (python-imenu--put-parent, python-imenu--build-tree)
9607 (python-imenu-create-index, python-imenu-create-flat-index)
9608 (python-util-popn): New functions.
9609 (python-mode): Set imenu-create-index-function to
9610 python-imenu-create-index.
9611
9612 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9613
9614 * winner.el (winner-active-region): Use region-active-p, activate-mark
9615 and deactivate-mark (bug#14225).
9616
9617 * simple.el (deactivate-mark): Don't inline it.
9618
9619 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9620
9621 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9622
9623 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9624
9625 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9626 file extensions from the archive-mode entry in order to prefer
9627 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9628
9629 2013-04-18 Leo Liu <sdl.web@gmail.com>
9630
9631 * bindings.el (help-event-list): Add ?\?.
9632
9633 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9634
9635 * subr.el (with-wrapper-hook): Declare obsolete.
9636 * simple.el (filter-buffer-substring-function): New hook.
9637 (filter-buffer-substring): Use it.
9638 (filter-buffer-substring-functions): Mark obsolete.
9639 * minibuffer.el (completion-in-region-function): New hook.
9640 (completion-in-region): Use it.
9641 (completion-in-region-functions): Mark obsolete.
9642 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9643 * abbrev.el (abbrev-expand-function): New hook.
9644 (expand-abbrev): Use it.
9645 (abbrev-expand-functions): Mark obsolete.
9646 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9647 and :filter-return.
9648
9649 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9650
9651 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9652 and do not care about match data.
9653
9654 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9655
9656 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9657 completion tables when completing error conditions and
9658 `declare' arguments.
9659 (lisp-complete-symbol, field-complete): Mark as obsolete.
9660 (check-parens): Unmatched parens are user errors.
9661 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9662
9663 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9664
9665 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9666 command changed buffer (ie. `flyspell-pre-buffer' is not current
9667 buffer), which prevents making decisions based on invalid value of
9668 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9669 cause an error when `flyspell-pre-point' was nil after switching
9670 buffers.
9671 (flyspell-post-command-hook): No longer needs to change buffers when
9672 checking pre-word. While at it remove unnecessary progn.
9673
9674 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9675
9676 * textmodes/ispell.el (ispell-add-per-file-word-list):
9677 Fix `flyspell-correct-word-before-point' error when accepting
9678 words and `coment-padding' is an integer by using
9679 `comment-normalize-vars' (Bug #14214).
9680
9681 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9682
9683 New defun movement commands.
9684 * progmodes/python.el (python-nav--syntactically)
9685 (python-nav--forward-defun, python-nav-backward-defun)
9686 (python-nav-forward-defun): New functions.
9687
9688 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9689
9690 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9691 (python-syntax-context): Use named compiler-macro for backwards
9692 compatibility with Emacs 24.x.
9693
9694 2013-04-17 Leo Liu <sdl.web@gmail.com>
9695
9696 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9697 octave-hide-process-buffer.
9698
9699 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9700
9701 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9702 (bug#14216).
9703
9704 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9705
9706 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9707 Fix adjustment of offset when receiving incomplete responses from GDB
9708 (bug#14129).
9709
9710 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9711
9712 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9713 python-mode-abbrev-table.
9714 (python-skeleton-define): Adjust accordingly.
9715 (python-mode-abbrev-table): New table that inherits from it so that
9716 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9717
9718 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9719 (abbrev-symbol): Use it.
9720 (abbrev--before-point): Use it since we already handle inheritance.
9721
9722 2013-04-16 Leo Liu <sdl.web@gmail.com>
9723
9724 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9725 binding to info-lookup-symbol.
9726
9727 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9728
9729 * minibuffer.el (completion--twq-all):
9730 * term/ns-win.el (ns-initialize-window-system):
9731 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9732
9733 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9734
9735 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9736 global bindings.
9737
9738 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9739
9740 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9741
9742 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9743 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9744 to nil.
9745 (ruby-end-of-defun): Remove the unused arg, change the docstring
9746 to reflect that this function is only used as the value of
9747 `end-of-defun-function'.
9748 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9749 to reflect an earlier change that beginning/end-of-defun functions
9750 jump between methods in a class definition, as well as top-level
9751 functions.
9752
9753 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9754
9755 * minibuffer.el (minibuffer-complete): Don't just scroll
9756 a *Completions* that's been iconified.
9757 (minibuffer-force-complete): Make sure repetitions do cycle when going
9758 through completion-in-region -> minibuffer-complete.
9759
9760 2013-04-15 Alan Mackenzie <acm@muc.de>
9761
9762 Correct the placement of c-cpp-delimiters when there're #s not at
9763 col 0.
9764
9765 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9766 place a submatch around the #.
9767 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9768 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9769 on the #, not BOL.
9770
9771 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9772
9773 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9774 (advice--member-p): New arg `name'.
9775 (advice--add-function, advice-member-p): Use it (bug#14202).
9776
9777 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9778
9779 Reformulate java imenu-generic-expression.
9780 The old expression contained ill formed regexps.
9781
9782 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9783 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9784 (cc-imenu-java-method-arg-regexp): New defconsts.
9785 (cc-imenu-java-build-type-args-regex): New defun.
9786 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9787 handling of spaces in the regexp.
9788
9789 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9790
9791 * textmodes/ispell.el (ispell-command-loop): Remove
9792 flyspell highlight of a word when ispell accepts it (bug #14178).
9793
9794 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9795
9796 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9797 uses code from the previous `ange-ftp-run-real-handler'.
9798 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9799 only in case that function exist. This is needed for proper
9800 unloading of Tramp.
9801
9802 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9803
9804 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9805
9806 * textmodes/reftex.el (reftex-compile-variables): Use it.
9807
9808 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * files.el (normal-mode): Only use default major-mode if no other mode
9811 was specified.
9812
9813 * emacs-lisp/trace.el (trace-values): New function.
9814
9815 * files.el: Allow : in local variables (bug#14089).
9816 (hack-local-variable-regexp): New var.
9817 (hack-local-variables-prop-line, hack-local-variables): Use it.
9818
9819 2013-04-13 Roland Winkler <winkler@gnu.org>
9820
9821 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9822 data before it gets modified by bibtex-beginning-of-entry.
9823
9824 2013-04-13 Roland Winkler <winkler@gnu.org>
9825
9826 * textmodes/bibtex.el (bibtex-url): Doc fix.
9827
9828 2013-04-13 Roland Winkler <winkler@gnu.org>
9829
9830 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9831 does not visit a BibTeX file, exclude it from the list of buffers
9832 returned by bibtex-initialize.
9833
9834 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9835
9836 * window.el (split-window): Remove interactive form, since as a
9837 command this function is a special case of split-window-below.
9838 Correct doc string.
9839
9840 2013-04-12 Roland Winkler <winkler@gnu.org>
9841
9842 * faces.el (read-face-name): Do not override value of arg default.
9843 Allow single faces and strings as default values. Remove those
9844 elements from return value that are not faces.
9845 (describe-face): Simplify.
9846 (face-at-point): New optional args thing and multiple so that this
9847 function can provide the same functionality previously provided by
9848 read-face-name.
9849 (make-face-bold, make-face-unbold, make-face-italic)
9850 (make-face-unitalic, make-face-bold-italic, invert-face)
9851 (modify-face, read-face-and-attribute): Use face-at-point.
9852
9853 * cus-edit.el (customize-face, customize-face-other-window)
9854 * cus-theme.el (custom-theme-add-face)
9855 * face-remap.el (buffer-face-set)
9856 * facemenu.el (facemenu-set-face): Use face-at-point.
9857
9858 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9859
9860 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9861
9862 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9863
9864 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9865 off leading { and trailing } from field values.
9866
9867 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9868
9869 * emacs-lisp/timer.el (timer--check): New function.
9870 (timer--time, timer-set-function, timer-event-handler): Use it.
9871 (timer-set-idle-time): Simplify.
9872 (timer--activate): CSE.
9873 (timer-event-handler): Give more info in error message.
9874 (internal-timer-start-idle): New function, moved from C.
9875
9876 * mpc.el (mpc-proc): Add `restart' argument.
9877 (mpc-proc-cmd): Use it.
9878 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9879 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9880 less often.
9881
9882 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9883
9884 * progmodes/sh-script.el: Implement `sh-mode' own
9885 `add-log-current-defun-function' (bug#14112).
9886 (sh-current-defun-name): New function.
9887 (sh-mode): Use the function.
9888
9889 2013-04-09 Bastien Guerry <bzg@gnu.org>
9890
9891 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9892
9893 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9894
9895 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9896
9897 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9898 timer (bug#14156).
9899
9900 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9901
9902 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9903 declaration.
9904
9905 2013-04-07 Leo Liu <sdl.web@gmail.com>
9906
9907 * pcmpl-x.el: New file.
9908
9909 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9910
9911 Do not set x-display-name until X connection is established.
9912 This is needed to prevent from weird situation described at
9913 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9914 * frame.el (make-frame): Set x-display-name after call to
9915 window system initialization function, not before.
9916 * term/x-win.el (x-initialize-window-system): Add optional
9917 display argument and use it.
9918 * term/w32-win.el (w32-initialize-window-system):
9919 * term/ns-win.el (ns-initialize-window-system):
9920 * term/pc-win.el (msdos-initialize-window-system):
9921 Add compatible optional display argument.
9922
9923 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9924
9925 * files.el (normal-backup-enable-predicate): On MS-Windows and
9926 MS-DOS compare truenames of temporary-file-directory and of the
9927 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9928 don't fail comparison by compare-strings. Also, compare file
9929 names case-insensitively on MS-Windows and MS-DOS.
9930
9931 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9932
9933 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9934 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9935
9936 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9937
9938 * whitespace.el (whitespace-color-on, whitespace-color-off):
9939 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9940
9941 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9942
9943 * ispell.el (ispell-set-spellchecker-params):
9944 Really set `ispell-args' for all equivs.
9945
9946 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9947
9948 * ido.el (ido-completions): Use extra elements of ido-decorations
9949 (bug#14143).
9950 (ido-decorations): Update docstring.
9951
9952 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9953
9954 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9955 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9956 nil during initialization, in order not to miss changes since the
9957 file was opened. (Bug#14140)
9958
9959 2013-04-05 Leo Liu <sdl.web@gmail.com>
9960
9961 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9962
9963 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9964
9965 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9966
9967 2013-04-04 Glenn Morris <rgm@gnu.org>
9968
9969 * electric.el (electric-pair-inhibit-predicate): Add :version.
9970
9971 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9972
9973 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9974 when a package is required several times (bug#14082).
9975
9976 2013-04-04 Roland Winkler <winkler@gnu.org>
9977
9978 * faces.el (read-face-name): Behave as promised by the docstring.
9979 Assume that arg default is a list of faces.
9980 (describe-face): Call read-face-name with list of default faces.
9981
9982 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9983
9984 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9985 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9986 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9987 the header.
9988 (bookmark-exit-hook-internal): Save even if list is empty.
9989
9990 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9991
9992 * emacs-lisp/package.el (package-pinned-packages): New var.
9993 (package--add-to-archive-contents): Obey it (bug#14118).
9994
9995 2013-04-03 Alan Mackenzie <acm@muc.de>
9996
9997 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9998 Also adapt to the new values of element 7 of a parse state.
9999
10000 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10001 parameter `not-in-delimiter'. Handle being inside comment opener.
10002 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10003 character in case we're typing a '*' after a '/'.
10004 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10005 instead by passing the parameter to c-state-pp-to-literal.
10006
10007 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10008 for elt. 7 of a parse state.
10009
10010 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10011
10012 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10013 * international/latin1-disp.el, international/mule-util.el:
10014 * language/cyril-util.el, language/european.el, language/ind-util.el:
10015 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10016 * language/tibetan.el, language/viet-util.el:
10017 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10018
10019 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10020
10021 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10022 (electric-pair-post-self-insert-function): Use it.
10023 (electric-pair-default-inhibit): New function, extracted from
10024 electric-pair-post-self-insert-function.
10025
10026 2013-03-31 Roland Winkler <winkler@gnu.org>
10027
10028 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10029
10030 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10031
10032 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10033
10034 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10035
10036 Un-indent after "pass" and "return" statements (Bug#13888)
10037 * progmodes/python.el (python-indent-block-enders): New var.
10038 (python-indent-calculate-indentation): Use it.
10039
10040 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10041
10042 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10043 defun. Defining it as defalias could introduce too eager
10044 byte-compiler optimization. (Bug#14030)
10045
10046 2013-03-30 Chong Yidong <cyd@gnu.org>
10047
10048 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10049
10050 2013-03-30 Leo Liu <sdl.web@gmail.com>
10051
10052 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10053 (kmacro-execute-from-register): Pass the keyboard macro to
10054 kmacro-call-macro or repeating won't work correctly.
10055
10056 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10057
10058 * progmodes/subword.el: Back to using `forward-symbol'.
10059
10060 * subr.el (forward-whitespace, forward-symbol)
10061 (forward-same-syntax): Move from thingatpt.el.
10062
10063 2013-03-29 Leo Liu <sdl.web@gmail.com>
10064
10065 * kmacro.el (kmacro-to-register): New command.
10066 (kmacro-execute-from-register): New function.
10067 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10068
10069 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10070
10071 * mpc.el: Use defvar-local and setq-local.
10072 (mpc--proc-connect): Connection failures are not bugs.
10073 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10074 (mpc-volume-map): Bind to the up-events.
10075
10076 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10077
10078 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10079 instead of `forward-symbol'.
10080
10081 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10084 (edebug--recursive-edit): Use it.
10085 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10086 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10087
10088 2013-03-28 Leo Liu <sdl.web@gmail.com>
10089
10090 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10091
10092 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10093
10094 * facemenu.el (list-colors-callback): New defvar.
10095 (list-colors-redisplay): New function.
10096 (list-colors-display): Install list-colors-redisplay as the
10097 revert-buffer-function. (Bug#14063)
10098
10099 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10100
10101 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10102 and suffixes don't overlap (bug#14061).
10103
10104 * case-table.el: Use lexical-binding.
10105 (case-table-get-table): New function.
10106 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10107
10108 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10109
10110 * progmodes/subword.el: Add `superword-mode' to do word motion
10111 over symbol_words (parallels and leverages `subword-mode' which
10112 does word motion inside MixedCaseWords).
10113
10114 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10115
10116 * eshell/em-unix.el: Move su and sudo to...
10117 * eshell/em-tramp.el: ...Eshell tramp module.
10118
10119 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10120
10121 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10122 Change return value to be a sexp. Delay `get-buffer' to after
10123 restoring the desktop (bug#13951).
10124
10125 2013-03-26 Leo Liu <sdl.web@gmail.com>
10126
10127 * register.el: Move semantic tag handling back to
10128 cedet/semantic/senator.el. (Bug#14052)
10129
10130 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10131
10132 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10133 into the prompt either (bug#13963).
10134
10135 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10136
10137 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10138 part of "(error-foo)".
10139
10140 2013-03-24 Juri Linkov <juri@jurta.org>
10141
10142 * replace.el (list-matching-lines-prefix-face): New defcustom.
10143 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10144 `occur-engine' if `face-differs-from-default-p' returns t.
10145 (occur-engine): Add `,' inside backquote construct to evaluate
10146 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10147 Pass `prefix-face' to the functions `occur-context-lines' and
10148 `occur-engine-add-prefix'.
10149 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10150 `prefix-face' and propertize the prefix with `prefix-face'.
10151 (Bug#14017)
10152
10153 2013-03-24 Leo Liu <sdl.web@gmail.com>
10154
10155 * nxml/rng-valid.el (rng-validate-while-idle)
10156 (rng-validate-quick-while-idle): Guard against deleted buffer.
10157 (Bug#13999)
10158
10159 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10160 is the last entry in kill-buffer-hook.
10161
10162 * files.el (kill-buffer-hook): Doc fix.
10163
10164 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10165
10166 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10167 Make it safe-local.
10168
10169 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10170
10171 2013-03-23 Leo Liu <sdl.web@gmail.com>
10172
10173 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10174 Remove.
10175
10176 * nxml/rng-valid.el (rng-validate-mode)
10177 (rng-after-change-function, rng-do-some-validation):
10178 * nxml/rng-maint.el (rng-validate-buffer):
10179 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10180 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10181 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10182 (nxml-extend-after-change-region): Use with-silent-modifications.
10183
10184 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10185 timer-idle-list.
10186
10187 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10188 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10189 timer-idle-list. (Bug#13999)
10190
10191 2013-03-23 Juri Linkov <juri@jurta.org>
10192
10193 * info.el (info-index-match): New face.
10194 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10195 main pattern and add text properties with the new face to matches
10196 in index entries relative to the beginning of the index entry.
10197 (Bug#14015)
10198
10199 2013-03-21 Eric Ludlam <zappo@gnu.org>
10200
10201 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10202 Inhibit read only while inserting objects.
10203
10204 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10205
10206 * progmodes/cfengine.el: Update docs to mention
10207 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10208 symbol motion. Remove "_" from the word syntax.
10209
10210 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10211
10212 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10213 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10214
10215 2013-03-20 Juri Linkov <juri@jurta.org>
10216
10217 * info.el (Info-next-reference-or-link)
10218 (Info-prev-reference-or-link): New functions.
10219 (Info-next-reference, Info-prev-reference): Use them.
10220 (Info-try-follow-nearest-node): Handle footnote navigation.
10221 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10222
10223 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10224
10225 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10226 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10227
10228 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10229
10230 Suppress unnecessary non-ASCII chatter during build process.
10231 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10232 (batch-skkdic-convert): Suppress most of the chatter.
10233 It's not needed so much now that machines are faster,
10234 and its non-ASCII component was confusing; see Dmitry Gutov in
10235 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10236
10237 2013-03-20 Leo Liu <sdl.web@gmail.com>
10238
10239 * ido.el (ido-chop): Fix bug#10994.
10240
10241 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10242
10243 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10244 Remove vars.
10245 (whitespace-color-on, whitespace-color-off):
10246 Use `font-lock-fontify-buffer' (Bug#13817).
10247
10248 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10249
10250 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10251 remapping in mode-line.
10252 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10253
10254 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10255
10256 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10257 value for `whitespace-line' face (Bug#13875).
10258 (whitespace-font-lock-keywords): Change description.
10259 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10260 the constructed keywords instead.
10261 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10262
10263 2013-03-19 Leo Liu <sdl.web@gmail.com>
10264
10265 * progmodes/compile.el (compilation-display-error): New command.
10266 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10267 C-o. (Bug#13992)
10268
10269 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10270
10271 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10272
10273 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10274
10275 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10276
10277 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10278
10279 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10280
10281 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10282 * net/tramp-gvfs.el (top):
10283 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10284 (tramp-handle-shell-command): Use it.
10285 (tramp-dissect-file-name): Raise an error when hostname is a
10286 method name, and neither method nor user is specified.
10287
10288 * net/trampver.el: Update release number.
10289
10290 2013-03-18 Leo Liu <sdl.web@gmail.com>
10291
10292 Make sure eldoc can be turned off properly.
10293 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10294 eldoc-mode.
10295 (eldoc-display-message-p): Revert last change.
10296 (eldoc-display-message-no-interference-p)
10297 (eldoc-print-current-symbol-info): Tweak.
10298
10299 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10300
10301 * doc-view.el (doc-view-new-window-function): Check the new window
10302 overlay's display property instead the char property of the
10303 buffer's first char. Use `with-selected-window' instead of
10304 `save-window-excursion' with `select-window'.
10305 (doc-view-document->bitmap): Check the current doc-view overlay's
10306 display property instead the char property of the buffer's first char.
10307
10308 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10309
10310 Automate the build of ja-dic.el (Bug#13984).
10311 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10312 from the input, rather than assume that it's been done for us by the
10313 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10314 the current date into a ja-dic.el comment, as that complicates
10315 regression testing.
10316
10317 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10318
10319 * whitespace.el: Fix double evaluation.
10320 (whitespace-space, whitespace-hspace, whitespace-tab)
10321 (whitespace-newline, whitespace-trailing, whitespace-line)
10322 (whitespace-space-before-tab, whitespace-indentation)
10323 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10324 obsolete defvars.
10325 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10326 (whitespace-color-on): Use a single font-lock-add-keywords call.
10327 Fix double-evaluation of face variables.
10328
10329 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10330
10331 * net/tramp-adb.el (tramp-adb-parse-device-names):
10332 Use `start-process' instead of `call-process'. Otherwise, the
10333 function might be blocked under MS Windows. (Bug#13299)
10334
10335 2013-03-17 Leo Liu <sdl.web@gmail.com>
10336
10337 Extend eldoc to display info in the mode-line. (Bug#13978)
10338 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10339 (eldoc-mode-line-string): New variable.
10340 (eldoc-minibuffer-message): New function.
10341 (eldoc-message-function): New variable.
10342 (eldoc-message): Use it.
10343 (eldoc-display-message-p)
10344 (eldoc-display-message-no-interference-p):
10345 Support eldoc-post-insert-mode.
10346
10347 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10348 (eval-expression): Run it.
10349
10350 2013-03-17 Roland Winkler <winkler@gnu.org>
10351
10352 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10353 strings in the list of return values.
10354
10355 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10356
10357 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10358 radix before checking for HMS forms.
10359
10360 2013-03-16 Leo Liu <sdl.web@gmail.com>
10361
10362 * progmodes/scheme.el: Add indentation and font-locking for λ.
10363 (Bug#13975)
10364
10365 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10366
10367 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10368 token before point (bug#13942).
10369
10370 2013-03-16 Leo Liu <sdl.web@gmail.com>
10371
10372 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10373
10374 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10375
10376 * startup.el (command-line-normalize-file-name): Fix handling of
10377 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10378 <xfq.free@gmail.com> in
10379 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10380
10381 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10382
10383 Sync with Tramp 2.2.7.
10384
10385 * net/trampver.el: Update release number.
10386
10387 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10388
10389 * doc-view.el: Fix bug#13887.
10390 (doc-view-insert-image): Don't modify overlay associated to
10391 non-live windows, and implement horizontal centering of image in
10392 case it's smaller than the window.
10393 (doc-view-new-window-function): Force redisplay of new windows on
10394 doc-view buffers.
10395
10396 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10397
10398 * saveplace.el (save-place-alist-to-file): Don't sort
10399 `save-place-alist', just pretty-print it (bug#13882).
10400
10401 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10402
10403 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10404 Check whether `default-file-name-coding-system' is bound.
10405 It isn't in XEmacs.
10406
10407 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10408
10409 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10410 backquotes for `obsolete' (bug#13929).
10411
10412 * international/mule.el (find-auto-coding): Include file name in
10413 obsolescence warning (bug#13922).
10414
10415 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10416
10417 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10418 for CFEngine 3-specific indentation.
10419 (cfengine3-indent-line): Use it. Fix up category regex.
10420 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10421
10422 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10423
10424 * type-break.el (type-break-file-name):
10425 * textmodes/remember.el (remember-data-file):
10426 * strokes.el (strokes-file):
10427 * shadowfile.el (shadow-initialize):
10428 * saveplace.el (save-place-file):
10429 * ps-bdf.el (bdf-cache-file):
10430 * progmodes/idlwave.el (idlwave-config-directory):
10431 * net/quickurl.el (quickurl-url-file):
10432 * international/kkc.el (kkc-init-file-name):
10433 * ido.el (ido-save-directory-list-file):
10434 * emulation/viper.el (viper-custom-file-name):
10435 * emulation/vip.el (vip-startup-file):
10436 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10437 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10438
10439 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10440
10441 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10442 * language/thai-word.el: Switch to UTF-8.
10443
10444 See ChangeLog.16 for earlier changes.
10445
10446 ;; Local Variables:
10447 ;; coding: utf-8
10448 ;; End:
10449
10450 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10451
10452 This file is part of GNU Emacs.
10453
10454 GNU Emacs is free software: you can redistribute it and/or modify
10455 it under the terms of the GNU General Public License as published by
10456 the Free Software Foundation, either version 3 of the License, or
10457 (at your option) any later version.
10458
10459 GNU Emacs is distributed in the hope that it will be useful,
10460 but WITHOUT ANY WARRANTY; without even the implied warranty of
10461 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10462 GNU General Public License for more details.
10463
10464 You should have received a copy of the GNU General Public License
10465 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.