Fix minor log-edit-show-files annoyances
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2
3 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4 `save-selected-window' to `log-edit-hide-buf'. This makes
5 `log-edit-show-files' idempotent.
6 (log-edit-show-files): Mark the new window as dedicated.
7
8 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
9
10 * vc/log-edit.el (log-edit-mode-map): Add binding for
11 `log-edit-kill-biffer'.
12 (log-edit-hide-buf): Add a FIXME comment.
13 (log-edit-add-new-comment): New function, extracted from
14 `log-edit-done'.
15 (log-edit-done, log-edit-add-to-changelog): Use it.
16 (log-edit-kill-buffer): New command.
17
18 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19
20 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
21 instead of killing the buffer.
22
23 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
24
25 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
26
27 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
28
29 * net/eww.el (eww-form-checkbox-selected-symbol)
30 (eww-form-checkbox-symbol): New customizable variable.
31 (eww-form-checkbox, eww-toggle-checkbox):
32 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
33
34 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
35 (shr--get-media-pref, shr--extract-best-source): New function.
36 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
37 no :src tag was specified.
38
39 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
40 (eww-render): Handle `eww-use-external-browser-for-content-type'.
41 Use \\` to match beginning of string instead of ^.
42 (eww-browse-with-external-browser): Provide optional URL parameter.
43 (eww-render): Set `eww-current-title' back to "".
44
45 * net/shr.el (shr-tag-video): Display content for video if no
46 poster is available.
47 (shr-tag-audio): Add support for <audio> tag.
48
49 * net/eww.el (eww-text-input-types): : New const.
50 (eww-process-text-input): Treat input types in
51 `eww-text-input-types' as text.
52
53 * net/shr.el (shr-tag-table): Fix comment typo.
54
55 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
56
57 * net/eww.el (eww-follow-link): New command to avoid reloading
58 pages when we follow #target links (bug#15243).
59 (eww-quit): Special mode buffers shouldn't query before exiting.
60
61 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
62
63 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
64 forms.
65
66 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
67
68 * net/eww.el (eww-restore-history): Update the window title after
69 moving in the history.
70 (eww-current-dom): New variable used to save the current DOM.
71
72 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
73
74 * vc/log-edit.el (log-edit-mode-map): Add binding for
75 `log-edit-beginning-of-line'.
76 (log-edit-setup-add-author): New user option.
77 (log-edit-beginning-of-line): New command.
78 (log-edit): Move major mode call above the contents setup so that
79 the local variable values are already applied.
80 (log-edit): Only insert "Author: " when
81 `log-edit-setup-add-author' is non-nil.
82 (log-edit): When SETUP is non-nil, position point after ": "
83 instead of point-min.
84
85 2013-12-01 Glenn Morris <rgm@gnu.org>
86
87 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
88
89 2013-11-30 Eli Zaretskii <eliz@gnu.org>
90
91 * startup.el (fancy-splash-frame): On MS-Windows, trigger
92 redisplay to make sure the initial frame gets a chance to become
93 visible. (Bug#16014)
94
95 2013-11-30 Martin Rudalics <rudalics@gmx.at>
96
97 Support resizing frames and windows pixelwise.
98 * cus-start.el (frame-resize-pixelwise)
99 (window-resize-pixelwise): New entries.
100 * emacs-lisp/debug.el (debug): Use window-total-height instead
101 of window-total-size.
102 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
103 * help.el (describe-bindings-internal): Call help-buffer
104 (temp-buffer-max-width): New option.
105 (resize-temp-buffer-window, help-window-setup)
106 (with-help-window): Rewrite.
107 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
108 dragging dividers.
109 * window.el (frame-char-size, window-min-pixel-height)
110 (window-safe-min-pixel-height, window-safe-min-pixel-width)
111 (window-min-pixel-width, window-safe-min-pixel-size)
112 (window-combination-p, window-safe-min-size)
113 (window-resizable-p, window--size-to-pixel)
114 (window--pixel-to-size, window--resize-apply-p): New functions.
115 (window-safe-min-height): Fix doc-string.
116 (window-size, window-min-size, window--min-size-1)
117 (window-sizable, window-sizable-p, window--min-delta-1)
118 (window-min-delta, window--max-delta-1, window-max-delta)
119 (window--resizable, window--resizable-p, window-resizable)
120 (window-full-height-p, window-full-width-p, window-at-side-p)
121 (window--in-direction-2, window-in-direction)
122 (window--resize-reset-1, window--resize-mini-window)
123 (window-resize, window-resize-no-error)
124 (window--resize-child-windows-normal)
125 (window--resize-child-windows, window--resize-siblings)
126 (window--resize-this-window, window--resize-root-window)
127 (window--resize-root-window-vertically)
128 (adjust-window-trailing-edge, enlarge-window, shrink-window)
129 (maximize-window, minimize-window, delete-window)
130 (quit-restore-window, window-split-min-size, split-window)
131 (balance-windows-2, balance-windows)
132 (balance-windows-area-adjust, balance-windows-area)
133 (window--state-get-1, window-state-get, window--state-put-1)
134 (window--state-put-2, window-state-put)
135 (display-buffer-record-window, window--display-buffer):
136 Make functions handle pixelwise sizing of windows.
137 (display-buffer--action-function-custom-type)
138 (display-buffer-fallback-action):
139 Add display-buffer-in-previous-window.
140 (display-buffer-use-some-window): Resize window to height it had
141 before.
142 (fit-window-to-buffer-horizontally): New option.
143 (fit-frame-to-buffer): Describe new values.
144 (fit-frame-to-buffer-bottom-margin): Replace with
145 fit-frame-to-buffer-margins.
146 (window--sanitize-margin): New function.
147 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
148 using window-text-pixel-size.
149
150 2013-11-30 Glenn Morris <rgm@gnu.org>
151
152 * emacs-lisp/bytecomp.el (byte-compile-form):
153 Make the `interactive-only' warning like the `obsolete' one.
154 * comint.el (comint-run):
155 * files.el (insert-file-literally, insert-file):
156 * replace.el (replace-string, replace-regexp):
157 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
158 (goto-line, insert-buffer, next-line, previous-line):
159 Tweak `interactive-only' spec.
160
161 Stop keeping (most) generated cedet grammar files in the repository.
162 * Makefile.in (semantic): New.
163 (compile-main): Depend on semantic.
164
165 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
166
167 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
168 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
169
170 * uniquify.el (uniquify-buffer-name-style): Change default.
171
172 * loadup.el: Preload "uniquify".
173
174 * time.el (display-time-update): Update all mode lines (bug#15999).
175
176 * electric.el (electric-indent-mode): Enable by default.
177 * loadup.el: Preload "electric".
178
179 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
180
181 * emacs-lisp/helpers.el (string-empty-p): New function.
182 (string-blank-p): New function.
183
184 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
185
186 * imenu.el (imenu--index-alist): Add missing dot to the docstring
187 (Bug#14029).
188
189 2013-11-29 Andreas Politz <politza@fh-trier.de>
190 * imenu.el (imenu--subalist-p): Don't error on non-conses and
191 allow non-lambda lists as functions.
192 (imenu--in-alist): Don't recurse into non-subalists.
193 (imenu): Don't pass function itself as an argument (Bug#14029).
194
195 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
196
197 * progmodes/python.el (python-mode-map): Remove binding for ":".
198 (python-indent-electric-colon): Remove command.
199 (python-indent-post-self-insert-function): Integrate the previous code
200 of python-indent-electric-colon. Make it conditional on
201 electric-indent-mode.
202 (python-mode): Add ?: to electric-indent-chars.
203 Move python-indent-post-self-insert-function to the end of
204 post-self-insert-hook.
205
206 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
207
208 * doc-view.el (doc-view-goto-page): Update mode-line.
209
210 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
211
212 2013-11-27 Glenn Morris <rgm@gnu.org>
213
214 * international/charprop.el, international/uni-bidi.el:
215 * international/uni-category.el, international/uni-combining.el:
216 * international/uni-comment.el, international/uni-decimal.el:
217 * international/uni-decomposition.el, international/uni-digit.el:
218 * international/uni-lowercase.el, international/uni-mirrored.el:
219 * international/uni-name.el, international/uni-numeric.el:
220 * international/uni-old-name.el, international/uni-titlecase.el:
221 * international/uni-uppercase.el:
222 Remove generated files from VCS repository.
223
224 2013-11-27 Eli Zaretskii <eliz@gnu.org>
225
226 * filenotify.el (file-notify-add-watch): Don't special-case
227 w32notify when computing the directory to watch.
228
229 2013-11-27 Glenn Morris <rgm@gnu.org>
230
231 Make bootstrap without generated uni-*.el files possible again.
232 * loadup.el: Update command-line-args checking for unidata-gen.
233 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
234 * composite.el, international/characters.el:
235 Handle unicode tables being undefined.
236
237 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
238 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
239 (compile-main): Depend on leim rule.
240 (leim): New rule.
241 * loadup.el: Move leim-list.el to leim/ subdirectory.
242 * startup.el (normal-top-level): No more leim directory.
243 * international/ja-dic-cnv.el (skkdic-convert):
244 Disable version-control and autoloads in output files.
245 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
246 Disable version-control and autoloads in output files.
247 * leim/quail: Move here from ../leim.
248 * leim/quail/hangul.el (hangul-input-method-activate):
249 Add autoload cookie.
250 (generated-autoload-load-name): Set file-local value.
251 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
252 (generated-autoload-load-name): Set file-local value.
253
254 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
255
256 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
257 (eww-add-bookmark): ask confirmation when add to bookmarks
258 (eww-quit): ask confirmation before quitting eww
259
260 2013-11-26 Eli Zaretskii <eliz@gnu.org>
261
262 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
263 reading output from Diff on MS-Windows and MS-DOS.
264
265 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
266
267 * emacs-lisp/helpers.el (string-reverse): New function.
268
269 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
270
271 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
272 names on MS Windows, like "/[::1]:".
273
274 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
275 SWITCHES.
276
277 2013-11-26 Glenn Morris <rgm@gnu.org>
278
279 * progmodes/python.el (python-indent-guess-indent-offset):
280 Avoid corner-case error. (Bug#15975)
281
282 Preload leim-list.el. (Bug#4789)
283 * loadup.el: Load leim-list.el when found.
284 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
285
286 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
287
288 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
289
290 * emacs-lisp/helpers.el (string-join): New function.
291
292 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
293
294 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
295 Mark as obsolete and replace it with a symbol property.
296 (byte-compile-form): Use new 'interactive-only property.
297 * comint.el, files.el, replace.el, simple.el:
298 Apply new 'interactive-only properly.
299
300 2013-11-25 Martin Rudalics <rudalics@gmx.at>
301
302 * window.el (display-buffer-at-bottom): Make sure that
303 split-window-sensibly creates the new window on bottom
304 (Bug#15961).
305
306 2013-11-23 David Kastrup <dak@gnu.org>
307
308 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
309 on the conflict markers when available.
310 (smerge--get-marker): New function.
311 (smerge-end-re, smerge-base-re): Add subgroup.
312
313 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
314
315 * frame.el (handle-focus-in, handle-focus-out): Add missing
316 interactive spec.
317
318 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
319
320 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
321 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
322
323 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
324
325 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
326 (gomoku--last-pos): New var.
327 (gomoku--intangible-chars): New const.
328 (gomoku--intangible): New function.
329 (gomoku-mode): Use it. Derive from special-mode.
330 (gomoku-move-up): Adjust line count.
331 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
332 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
333 Simplify accordingly.
334
335 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
336 Remove blink-cursor code.
337 (blink-cursor-timer-function, blink-cursor-suspend):
338 Don't special-case GUIs.
339 (blink-cursor-mode): Use focus-in/out-hook.
340
341 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
342
343 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
344 work when annotation is invisible (Bug#13886).
345
346 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
347
348 * json.el (json-alist-p): Only return non-nil if the alist has
349 simple keys (Bug#13518).
350
351 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
352
353 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
354 when control-statement is the first statement in a buffer (Bug#15956).
355
356 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
357
358 * imenu.el (imenu-generic-skip-comments-and-strings):
359 New option (Bug#15560).
360 (imenu--generic-function): Use it.
361
362 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
363
364 * minibuffer.el (completion--in-region-1): Scroll the correct
365 window. (Bug#13898)
366
367 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
368
369 * emacs-lisp/helpers.el: Add some string helpers.
370 (string-trim-left): Removes leading whitespace.
371 (string-trim-right): Removes trailing whitespace.
372 (string-trim): Removes leading and trailing whitespace.
373
374 * subr.el (string-suffix-p): New function.
375
376 2013-11-23 Glenn Morris <rgm@gnu.org>
377
378 * progmodes/python.el (python-shell-send-file):
379 Add option to delete file when done. (Bug#15647)
380 (python-shell-send-string, python-shell-send-region): Use it.
381
382 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
383
384 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
385 to set buffer-read-only to t, never to nil. (Bug#15938)
386
387 * textmodes/tex-mode.el (latex-noindent-environments):
388 Add safe-local-variable property. (Bug#15936)
389
390 2013-11-23 Glenn Morris <rgm@gnu.org>
391
392 * textmodes/enriched.el (enriched-mode): Doc fix.
393 * emacs-lisp/authors.el (authors-renamed-files-alist):
394 Add enriched.doc -> enriched.txt.
395
396 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
397
398 2013-11-22 Leo Liu <sdl.web@gmail.com>
399
400 * progmodes/octave.el (inferior-octave-startup): Spit out error
401 message.
402
403 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
404
405 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
406 Improve docstring.
407 Add :version.
408 (ruby-encoding-magic-comment-style): Add :version.
409
410 2013-11-22 Leo Liu <sdl.web@gmail.com>
411
412 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
413 (Bug#15076)
414 (octave-help-mode): Adapt to change to help-mode-finish to use
415 derived-mode-p on 2013-09-17.
416 (inferior-octave-prompt): Also match octave-gui.
417 (octave-kill-process): Don't ask twice. (Bug#10564)
418
419 2013-11-22 Leo Liu <sdl.web@gmail.com>
420
421 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
422 (inferior-octave-startup, inferior-octave-check-process)
423 (inferior-octave-track-window-width-change)
424 (octave-completion-at-point, octave-eldoc-function): Use it.
425 (octave-kill-process): Provide confirmation. (Bug#10564)
426
427 2013-11-21 Leo Liu <sdl.web@gmail.com>
428
429 * progmodes/octave.el (octave-mode, inferior-octave-mode):
430 Fix obsolete variable comment-use-global-state.
431
432 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
433
434 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
435 Add `octave-source-file'.
436 (octave-source-file): New function. (Bug#15935)
437
438 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
439
440 * net/eww.el (eww-local-regex): New variable.
441 (eww): Use it to detect localhost and similar.
442
443 2013-11-21 Leo Liu <sdl.web@gmail.com>
444
445 Add completion for command `ag'.
446 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
447 (pcomplete/ag): New function.
448 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
449
450 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
451
452 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
453 (bug#14646).
454 (make-obsolete): Remove interactive spec.
455
456 2013-11-21 Glenn Morris <rgm@gnu.org>
457
458 * startup.el (command-line-1): Use path-separator with -L.
459
460 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
461
462 * emacs-lisp/package.el (describe-package-1): Add package archive
463 to shown fields.
464
465 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
466
467 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
468 Change default to "# encoding: %s" to differentiate it from the
469 default Ruby encoding comment template.
470
471 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
472
473 * ses.el (ses-mode): Doc fix. (Bug#14748)
474
475 2013-11-20 Leo Liu <sdl.web@gmail.com>
476
477 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
478
479 2013-11-19 Dan Nicolaescu <dann@gnu.org>
480
481 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
482 when rebase or bisect are in progress.
483
484 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
485
486 * filenotify.el (file-notify-add-watch): Doc fix.
487
488 2013-11-19 Leo Liu <sdl.web@gmail.com>
489
490 * obsolete/rcompile.el: Mark obsolete.
491
492 * progmodes/compile.el (compilation-start)
493 (compilation-goto-locus, compilation-find-file):
494 Pass no-display-ok and handle nil value from display-buffer.
495 (Bug#13594)
496
497 * window.el (display-buffer-alist, display-buffer): Document the
498 new parameter no-display-ok.
499
500 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * electric.el (electric-indent-mode-map): Remove.
503 (electric-indent-mode): Change the global-map instead (bug#15915).
504
505 * textmodes/text-mode.el (paragraph-indent-minor-mode):
506 Use add-function.
507
508 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * emacs-lisp/nadvice.el (remove-function): Align with
511 add-function's behavior.
512
513 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
514 (gdb--string-regexp): New constant.
515 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
516 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
517 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
518 submatch 1.
519 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
520 Adjust use accordingly.
521 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
522
523 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
524
525 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
526 interpolation curlies (Bug#15914).
527
528 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
529
530 * calc/calc.el (calc-context-sensitive-enter): New variable.
531 (calc-enter): Use `calc-context-sensitive-enter'.
532
533 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
534
535 * progmodes/cfengine.el: Version bump.
536 (cfengine-cf-promises): New defcustom to locate cf-promises.
537 (cfengine3-vartypes): Add new "data" type.
538 (cfengine3--current-word): New function to get current name-like
539 word or its bounds.
540 (cfengine3--current-function): New function to look up a CFEngine
541 function's definition.
542 (cfengine3-format-function-docstring): New function.
543 (cfengine3-make-syntax-cache): New function.
544 (cfengine3-documentation-function): New function: ElDoc glue.
545 (cfengine3-completion-function): New function: completion glue.
546 (cfengine3-mode): Set `compile-command',
547 `eldoc-documentation-function', and add to
548 `completion-at-point-functions'.
549
550 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
551
552 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
553 `tramp-current-connection'.
554
555 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
556
557 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
558 nil/self/true/false with "end of symbol".
559
560 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
561
562 * subr.el (version-regexp-alist): Fix a typo.
563
564 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
565
566 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
567 "en_US.utf8" and "LC_CTYPE" to "".
568 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
569 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
570
571 2013-11-15 Leo Liu <sdl.web@gmail.com>
572
573 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
574
575 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
576
577 * progmodes/gud.el (ctl-x-map):
578 Remove C-x SPC binding. (Bug#12342)
579 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
580
581 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
582
583 * subr.el (version-regexp-alist):
584 Recognize hg, svn and darcs versions as snapshot versions.
585
586 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
587 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
588 (ruby--encoding-comment-required-p): Extract from
589 `ruby-mode-set-encoding'.
590 (ruby-mode-set-encoding): Add the ability to always insert an
591 utf-8 encoding comment. Fix and simplify coding comment update
592 logic.
593
594 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
595
596 * net/tramp-gvfs.el (top): Run init code only when
597 `tramp-gvfs-enabled' is not nil.
598 (tramp-gvfs-enabled): Check also :system bus.
599
600 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
601
602 Sync with upstream verilog-mode revision 78e66ba.
603 * progmodes/verilog-mode.el (verilog-end-of-defun)
604 (verilog-type-completion, verilog-get-list): Remove unused funcs.
605 (verilog-get-end-of-defun): Remove unused argument.
606 (verilog-comment-depth): Remove unused local `e'.
607 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
608 Don't pass arg to verilog-get-end-of-defun.
609
610 2013-11-14 Glenn Morris <rgm@gnu.org>
611
612 * obsolete/assoc.el (aget): Prefix dynamic variable.
613
614 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
615
616 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
617
618 * widget.el, hfy-cmap.el: Remove bogus package version number.
619
620 2013-11-13 Glenn Morris <rgm@gnu.org>
621
622 * replace.el (replace-eval-replacement):
623 Try to give more helpful error message. (Bug#15836)
624
625 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
626 (archive-7z-update): Avoid custom type mismatches.
627
628 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
629
630 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
631
632 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
633 address can be empty.
634
635 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
636 Accept nil SWITCHES.
637 (tramp-gvfs-handle-write-region): Implement APPEND.
638
639 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
640
641 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
642 binary "|" operator and closing block args delimiter.
643 Remove FIXME comment referring to Ruby 1.8-only syntax.
644 (ruby-smie--implicit-semi-p): Not after "|" operator.
645 (ruby-smie--closing-pipe-p): New function.
646 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
647 (ruby-smie-rules): Indent after "|".
648
649 2013-11-12 Glenn Morris <rgm@gnu.org>
650
651 * ps-print.el (ps-face-attribute-list):
652 Handle anonymous faces. (Bug#15827)
653
654 2013-11-12 Martin Rudalics <rudalics@gmx.at>
655
656 * window.el (display-buffer-other-frame): Fix doc-string.
657 (Bug#15868)
658
659 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
660
661 * subr.el (force-mode-line-update): Delete, move to buffer.c.
662
663 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
664
665 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
666 (tramp-sh-handle-file-local-copy): Don't write a message when
667 saving temporary files.
668
669 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
670 both directories are remote.
671 (tramp-smb-handle-directory-files): Do not return double entries.
672 Do not expand full file names.
673 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
674 (tramp-smb-handle-write-region): Implement APPEND.
675 (tramp-smb-get-stat-capability): Fix a stupid bug.
676
677 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
678
679 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
680
681 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
682
683 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
684 throwing error over malformed let/let* (bug#15814).
685
686 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
687
688 * iswitchb.el (iswitchb-mode): Mark obsolete.
689
690 2013-11-11 Glenn Morris <rgm@gnu.org>
691
692 * international/uni-bidi.el, international/uni-category.el:
693 * international/uni-name.el, international/uni-numeric.el:
694 Regenerate for Unicode 6.3.0.
695
696 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
697
698 * net/tramp.el (tramp-methods):
699 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
700 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
701
702 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
703
704 * progmodes/sh-script.el (sh-font-lock-keywords-var):
705 Force highlighting text after Summary keyword in doc face for rpm.
706
707 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
708
709 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
710 available and the word has no wildcards, append one to the grep pattern.
711 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
712 (ispell-complete-word): Call `ispell-lookup-words' with the value
713 independent of `ispell-look-p'.
714
715 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
716
717 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
718 Not after "||".
719 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
720 their parent.
721
722 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
723
724 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
725 (ruby-font-lock-keywords): Use backquote.
726
727 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
728
729 * progmodes/ruby-mode.el (ruby-smie--forward-token)
730 (ruby-smie--backward-token): Only consider full-string matches.
731
732 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
733
734 * faces.el (describe-face): Add distant-foreground.
735
736 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
737
738 * progmodes/ruby-mode.el: Improve encoding comment handling.
739 (ruby-encoding-magic-comment-style): New option.
740 (ruby-custom-encoding-magic-comment-template): New option.
741 (ruby--insert-coding-comment, ruby--detect-encoding):
742 New functions extracted from `ruby-mode-set-encoding'.
743 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
744 to control the style of the auto-inserted encoding comment.
745
746 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
747
748 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
749 Use `smie-backward-sexp' with token argument.
750
751 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
752
753 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
754 Remove instrumentation code.
755
756 2013-11-08 Glenn Morris <rgm@gnu.org>
757
758 * progmodes/autoconf.el (autoconf-mode):
759 Tweak comment-start-skip. (Bug#15822)
760
761 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
762
763 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
764 at bobp (bug#15826).
765 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
766
767 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
768
769 * man.el (Man-start-calling): New macro, extracted from
770 Man-getpage-in-background.
771 (Man-getpage-in-background): Use it.
772 (Man-update-manpage): New command.
773 (Man-mode-map): Bind it.
774
775 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
776
777 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
778 of "and", "or", "&&" and "||".
779 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
780 argument. Prohibit opening curly brace because it could only be a
781 block opener in that position.
782 (ruby-smie--forward-token, ruby-smie--backward-token):
783 Separate "|" from "&" or "*" going after it. That can happen in block
784 arguments.
785 (ruby-smie--indent-to-stmt): New function, seeks the end of
786 previous statement or beginning of buffer.
787 (ruby-smie-rules): Use it.
788 (ruby-smie-rules): Check if there's a ":" before a curly block
789 opener candidate; if there is, it's a hash.
790
791 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
792
793 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
794 (cl--block-wrapper): Fix last accidental change.
795
796 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
797
798 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
799 Instrument, in order to hunt failure on hydra.
800
801 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
802
803 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
804 malformed bindings form (bug#15814).
805
806 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
807
808 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
809 "." compared to " @ ". This incidentally fixes some indentation
810 examples with "do".
811 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
812 (ruby-smie-grammar): New tokens: "and" and "or".
813 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
814 Exclude "and" and "or". Remove "do" in order to work around token
815 priorities.
816 (ruby-smie-rules): Add all infix tokens. Handle the case of
817 beginning-of-buffer.
818
819 2013-11-06 Glenn Morris <rgm@gnu.org>
820
821 * Makefile.in (setwins_almost, setwins_for_subdirs):
822 Avoid accidental matches.
823
824 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
825
826 * menu-bar.el (popup-menu): Use key-binding.
827
828 2013-11-06 Eli Zaretskii <eliz@gnu.org>
829
830 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
831 menus, support also the menus produced by minor modes.
832 (Bug#15817)
833
834 2013-11-06 Leo Liu <sdl.web@gmail.com>
835
836 * thingatpt.el (thing-at-point-looking-at): Add optional arg
837 DISTANCE to bound the search. All uses changed. (Bug#15808)
838
839 2013-11-06 Glenn Morris <rgm@gnu.org>
840
841 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
842 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
843 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
844
845 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
846
847 * electric.el (electric-indent-just-newline): New command.
848 (electric-indent-mode-map): New keymap.
849 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
850 Re-add :group which weren't redundant.
851
852 * electric.el (electric-indent-local-mode): New minor mode.
853 (electric-indent-functions-without-reindent): New var.
854 (electric-indent-post-self-insert-function): Use it.
855 * emacs-lisp/gv.el (buffer-local-value): Add setter.
856
857 2013-11-05 Eli Zaretskii <eliz@gnu.org>
858
859 * international/quail.el (quail-help): Be more explicit about the
860 meaning of the labels shown on the keys. (Bug#15800)
861
862 * startup.el (normal-top-level): Load the subdirs.el files before
863 setting the locale environment. (Bug#15805)
864
865 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
868 via arguments so as to get the right ones (bug#15418).
869
870 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
871
872 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
873
874 Fix problems found while writing a test suite.
875
876 * net/tramp-compat.el (tramp-compat-load): New defun.
877 * net/tramp.el (tramp-handle-load): Use it.
878
879 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
880 "(numberp ok-if-already-exists)" correctly.
881
882 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
883
884 * international/characters.el (glyphless-char-display-control):
885 Add usage note.
886
887 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
888
889 * progmodes/python.el (python-mode):
890 * progmodes/scheme.el (scheme-mode):
891 * progmodes/prolog.el (prolog-mode):
892 * progmodes/ruby-mode.el (ruby-mode):
893 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
894 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
895
896 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
897
898 * rect.el (rectangle--highlight-for-redisplay):
899 * emacs-lisp/smie.el (smie--next-indent-change):
900 Use buffer-chars-modified-tick.
901
902 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
903
904 * electric.el (electric-indent-post-self-insert-function):
905 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
906
907 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
908
909 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
910
911 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
912
913 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
914 (bug#15786).
915
916 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
917
918 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
919
920 * progmodes/python.el: Fix up last change.
921 (python-shell--save-temp-file): New function.
922 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
923 `string' comes from the current buffer.
924 (python-shell-send-string-no-output): Remove `msg' arg.
925 (python--use-fake-loc): New var.
926 (python-shell-buffer-substring): Obey it. Try to compensate for the
927 extra coding line added by python-shell--save-temp-file.
928 (python-shell-send-region): Use python-shell--save-temp-file and
929 python-shell-send-file directly. Add `nomain' argument.
930 (python-shell-send-buffer): Use python-shell-send-region.
931 (python-electric-pair-string-delimiter): New function.
932 (python-mode): Use it.
933
934 2013-11-04 Eli Zaretskii <eliz@gnu.org>
935
936 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
937 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
938 environment and decoding all of the default-directory's to here
939 from command-line.
940 (command-line): Decode also argv[0].
941
942 * loadup.el: Error out if default-directory is a multibyte string
943 when we are dumping.
944
945 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
946
947 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
948
949 * emacs-lisp/package.el (package-menu-mode)
950 (package-menu--print-info, package-menu--archive-predicate):
951 Add Archive column to package list.
952
953 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
954
955 Fix problems found while writing a test suite.
956
957 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
958 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
959 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
960 to nil when running original file name handler. Otherwise,
961 there are problems with constructs like "$$FOO".
962
963 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
964 for `localname'.
965
966 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
967
968 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
969
970 * subr.el (version<, version<=, version=):
971 Update docstrings with information for snapshot versions.
972
973 * helpers.el: New library for misc helper functions.
974 (hash-table-keys): New function returning a list of hash keys.
975 (hash-table-values): New function returning a list of hash values.
976
977 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
978
979 * progmodes/ruby-mode.el (ruby-smie--forward-token)
980 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
981
982 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
983
984 * textmodes/fill.el (fill-single-char-nobreak-p): New function
985 checking whether point is after a 1-letter word.
986
987 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
988
989 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
990 Don't infloop when expanding region over `multiline' syntax-type that
991 begins a line (bug#15778).
992
993 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
994
995 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
996 Make it into a proper minor mode.
997 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
998 (rectangle-mark-mode-map): New keymap.
999 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1000
1001 2013-11-04 Glenn Morris <rgm@gnu.org>
1002
1003 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1004
1005 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1008 (ruby-smie-rules): Use smie-rule-parent instead.
1009
1010 * emacs-lisp/smie.el (smie-rule-parent): Always call
1011 smie-indent-virtual rather than only for hanging tokens.
1012 (smie--next-indent-change): New helper command.
1013
1014 2013-11-03 Glenn Morris <rgm@gnu.org>
1015
1016 * Makefile.in (abs_srcdir): Remove.
1017 (emacs): Unset EMACSLOADPATH.
1018
1019 2013-11-02 Glenn Morris <rgm@gnu.org>
1020
1021 * Makefile.in (EMACS): Use a relative filename.
1022 (abs_top_builddir): Remove.
1023 (custom-deps, finder-data, autoloads): Use --chdir.
1024
1025 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1026
1027 Use relative filenames in TAGS files.
1028 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1029 (lisptagsfiles4, TAGS): Use relative file names.
1030 (TAGS-LISP): Remove.
1031 (maintainer-clean): No more TAGS-LISP file.
1032
1033 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1034 (lisptagsfiles4): Use absolute filenames again.
1035 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1036 Remove all *loaddefs files, not just the first. Remove esh-groups.
1037 (maintainer-clean): Delete TAGS, TAGS-LISP.
1038
1039 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1040
1041 * emacs-lisp/package.el (package-version-join):
1042 Recognize snapshot versions.
1043
1044 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1045
1046 * subr.el (version-regexp-alist): Add support for snapshot versions.
1047
1048 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1049
1050 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1051 New function, replacement for `smie-rule-parent' for when we want to
1052 skip over our direct parent if it's an assignment token..
1053 (ruby-smie-rules): Use it.
1054
1055 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1056
1057 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1058 unconditionally. Remove now unnecessary forward declarations.
1059 Remove XEmacs-specific setup.
1060 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1061 (ruby-font-lock-syntactic-keywords)
1062 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1063 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1064 (ruby-here-doc-end-syntax): Remove.
1065 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1066 defined as function.
1067
1068 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1069
1070 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1071
1072 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1073
1074 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1075 table and abbrev table, `define-derived-mode' does that for us
1076 anyway.
1077
1078 2013-11-01 Glenn Morris <rgm@gnu.org>
1079
1080 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1081 files is atomic for some time, so no parallel compilation issues).
1082
1083 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1084
1085 * faces.el (face-x-resources): Add :distant-foreground.
1086 (region): Use :distant-foreground for gtk and ns.
1087
1088 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1089
1090 Allow multiple bibliographies when BibLaTeX is used rather than
1091 BibTeX.
1092 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1093 (reftex-locate-bibliography-files): Us it.
1094
1095 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1096
1097 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1098 allow comments in pbm files.
1099
1100 * term/w32-win.el (dynamic-library-alist): Support newer versions
1101 of libjpeg starting with v7: look only for the DLL from the
1102 version against which Emacs was built.
1103 Support versions of libpng beyond 1.4.x.
1104 Support libtiff v4.x.
1105
1106 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1107
1108 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1109 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1110 Add property :safe.
1111 (ruby-deep-arglist): Add property :type.
1112
1113 2013-10-31 Glenn Morris <rgm@gnu.org>
1114
1115 * Makefile.in (custom-deps, finder-data): No need to setq the target
1116 variables, we are in the right directory and the defaults work fine.
1117
1118 2013-10-30 Glenn Morris <rgm@gnu.org>
1119
1120 * Makefile.in (autoloads): Do not use abs_lisp.
1121
1122 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1123 `newline' does not respect `standard-output', so use `princ'.
1124
1125 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1126
1127 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1128 * buff-menu.el (Buffer-menu--unmark): New function.
1129 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1130
1131 2013-10-30 Glenn Morris <rgm@gnu.org>
1132
1133 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1134
1135 * emacs-lisp/package.el (lm-homepage): Declare.
1136
1137 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1138 Fix doc typos.
1139
1140 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1141
1142 * Makefile.in (finder-data, autoloads, update-subdirs)
1143 (compile-main, compile-clean, compile-always, bootstrap-clean):
1144 Check return value of cd.
1145 (compile-calc): Remove.
1146
1147 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1148
1149 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1150
1151 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1152 (byte-compile-and-folded): New function.
1153 (=, <, >, <=, >=): Use it.
1154
1155 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1156 (path-separator, null-device, buffer-file-coding-system)
1157 (lpr-headers-switches): Check system-type before modifying them.
1158 (find-buffer-file-type-coding-system): Mark obsolete.
1159 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1160 find-file-not-found-set-buffer-file-coding-system.
1161 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1162 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1163 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1164 (w32-direct-print-region-helper, w32-direct-print-region-function)
1165 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1166 * startup.el (normal-top-level-add-subdirs-to-load-path):
1167 * ps-print.el (ps-print-region-function):
1168 * lpr.el (print-region-function): Use new name.
1169
1170 * subr.el (custom-declare-variable-early): Remove function.
1171 (custom-declare-variable-list): Remove var.
1172 (error, user-error): Remove `while' loop.
1173 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1174 (user-emacs-directory-warning, locate-user-emacs-file):
1175 Move to files.el.
1176 * simple.el (read-quoted-char-radix, read-quoted-char):
1177 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1178 Move from subr.el.
1179 * custom.el (custom-declare-variable-list): Don't process
1180 custom-declare-variable-list.
1181
1182 * progmodes/python.el (python-shell-get-buffer): New function.
1183 (python-shell-get-process): Use it.
1184 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1185 Python which encoding was used. Don't split-string since we only care
1186 about the first line. Return the temp-file, if applicable.
1187 (python-shell-send-region): Tell compile.el how to turn locations in
1188 the temp-file into locations in the source buffer.
1189
1190 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1191
1192 * subr.el (undefined): Add missing behavior from the C code for
1193 unbound keys.
1194
1195 * rect.el: Use lexical-binding. Add new rectangular region support.
1196 (rectangle-mark): New command.
1197 (rectangle--region): New var.
1198 (deactivate-mark-hook): Reset rectangle--region.
1199 (rectangle--extract-region, rectangle--insert-for-yank)
1200 (rectangle--highlight-for-redisplay)
1201 (rectangle--unhighlight-for-redisplay): New functions.
1202 (region-extract-function, redisplay-unhighlight-region-function)
1203 (redisplay-highlight-region-function): Use them to handle
1204 rectangular region.
1205 * simple.el (region-extract-function): New var.
1206 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1207 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1208 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1209 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1210 (redisplay-unhighlight-region-function)
1211 (redisplay-highlight-region-function): New vars.
1212 (redisplay--update-region-highlight): New function.
1213 (pre-redisplay-function): Use it.
1214 (exchange-point-and-mark): Don't deactivate the mark before
1215 reactivate-it anyway.
1216 * comint.el (comint-kill-region): Remove yank-handler argument.
1217 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1218 (delete-char): Remove property, since it's now part of their
1219 default behavior.
1220 (self-insert-iso): Remove property since this command doesn't exist.
1221
1222 * emacs-lisp/package.el (package--download-one-archive)
1223 (describe-package-1): Don't query the user about final newline.
1224
1225 2013-10-29 Daniel Colascione <dancol@dancol.org>
1226
1227 * net/tramp.el (tramp-methods): Document new functionality.
1228 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1229 tramp-hostname-checker if method provides one instead of scanning
1230 argument list for "%h" to decide hostname acceptability.
1231
1232 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1233
1234 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1235 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1236 Handle COPY-CONTENTS. (Bug#15737)
1237
1238 2013-10-28 Daiki Ueno <ueno@gnu.org>
1239
1240 * epa-file.el
1241 (epa-file-cache-passphrase-for-symmetric-encryption):
1242 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1243
1244 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1245
1246 * image.el (defimage):
1247 (image-load-path): Doc fixes.
1248
1249 2013-10-27 Alan Mackenzie <acm@muc.de>
1250
1251 Indent statements in macros following "##" correctly.
1252 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1253 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1254
1255 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1256
1257 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1258
1259 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1260
1261 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1262 after `=' is probably a new expression.
1263
1264 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1265
1266 * man.el (man-imenu-title): New option.
1267 (Man-mode-map): Add menu. (Bug#15722)
1268 (Man-mode): Add imenu to menu.
1269
1270 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1271
1272 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1273 specific in what the first arg can be: a non-keyword word,
1274 string/regexp/percent literal opener, opening paren, or unary
1275 operator followed directly by word.
1276
1277 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1278
1279 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1280 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1281 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1282 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1283 Remove vars, they do not apply any more.
1284 (prolog-mode-abbrev-table): Remove redundant declaration.
1285 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1286 (prolog-use-smie): Remove.
1287 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1288 supported by prolog-electric-if-then-else-flag.
1289 (prolog-mode-variables, prolog-menu): Use setq-local.
1290 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1291 Remove binding to `Backspace' since this key doesn't exist anyway.
1292 Remove bindings for electric self-inserting keys.
1293 (prog-mode): Assume it's defined.
1294 (prolog-post-self-insert): New function.
1295 (prolog-mode): Use it.
1296 (prolog-indent-line, prolog-indent-level)
1297 (prolog-find-indent-of-matching-paren)
1298 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1299 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1300 (prolog-goto-next-paren, prolog-in-string-or-comment)
1301 (prolog-tokenize, prolog-inside-mline-comment)
1302 (prolog-find-start-of-mline-comment): Remove functions.
1303 (prolog-find-unmatched-paren, prolog-clause-end)
1304 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1305 (prolog-electric--if-then-else): Rename from
1306 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1307 (prolog-tokenize-searchkey): Remove const.
1308 (prolog-clause-info): Use forward-sexp.
1309 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1310 (prolog-electric-if-then-else): Remove commands.
1311 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1312 for use in post-self-insert-hook.
1313 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1314 for use in post-self-insert-hook.
1315 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1316 for use in post-self-insert-hook.
1317 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1318 adapt it for use in post-self-insert-hook.
1319
1320 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1321
1322 * emacs-lisp/ert.el (ert-run-tests-interactively):
1323 Use `completing-read'. (Bug#9756)
1324
1325 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1326
1327 * simple.el (line-move): Call line-move-1 instead of
1328 line-move-visual when the current window hscroll is zero, but
1329 temporary-goal-column indicates we will need to hscroll as result
1330 of the movement. (Bug#15712)
1331
1332 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1333
1334 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1335 capitalization. Use :visible instead of :active.
1336 Fix `ruby-indent-exp' reference. Add menu items for the generic
1337 commands that are used with SMIE.
1338 (ruby-do-end-to-brace): Insert space after `{'.
1339
1340 2013-10-25 John Anthony <john@jo.hnanthony.com>
1341
1342 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1343
1344 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1345
1346 2013-10-25 Glenn Morris <rgm@gnu.org>
1347
1348 * vc/vc.el (vc-print-log): Don't use a working revision unless
1349 one was explicitly specified. (Bug#15322)
1350
1351 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * subr.el (add-to-list): Preserve return value in compiler-macro
1354 (bug#15692).
1355
1356 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1357
1358 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1359 result. Ask user to retry using '-all' flag. (Bug#15701)
1360
1361 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1362
1363 * emacs-lisp/smie.el: New smie-config system.
1364 (smie-config): New defcustom.
1365 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1366 (smie-config-guess, smie-config-save): New commands.
1367 (smie-config--mode-local, smie-config--buffer-local)
1368 (smie-config--trace, smie-config--modefuns): New vars.
1369 (smie-config--advice, smie-config--mode-hook)
1370 (smie-config--setter, smie-config-local, smie-config--get-trace)
1371 (smie-config--guess-value, smie-config--guess): New functions.
1372 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1373 text properties. Treat "string fence" syntax like string syntax.
1374
1375 * progmodes/sh-script.el (sh-use-smie): Change default.
1376 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1377 (sh-var-value): Simplify by CSE.
1378 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1379 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1380 is used.
1381 (sh-guess-basic-offset): Use cl-incf.
1382 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1383
1384 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1385
1386 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1387 (bug#15699).
1388
1389 2013-10-24 Glenn Morris <rgm@gnu.org>
1390
1391 * Makefile.in (abs_top_srcdir): Remove.
1392 (update-subdirs): Use relative path to update-subdirs.
1393
1394 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1395
1396 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1397 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1398 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1399 Call unmsys--file-name before expand-file-name, not after it.
1400
1401 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1402
1403 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1404 (ert-test-skipped): New error.
1405 (ert-skip, ert-stats-skipped): New defuns.
1406 (ert--skip-unless): New macro.
1407 (ert-test-skipped): New struct.
1408 (ert--run-test-debugger, ert-test-result-type-p)
1409 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1410 (ert--stats-set-test-and-result, ert-char-for-test-result)
1411 (ert-string-for-test-result, ert-run-tests-batch)
1412 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1413 Handle skipped tests. (Bug#9803)
1414
1415 2013-10-24 Glenn Morris <rgm@gnu.org>
1416
1417 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1418
1419 * Makefile.in (abs_top_srcdir): New, set by configure.
1420 (update-subdirs): Correct build-aux location.
1421
1422 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1423
1424 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1425 value, whether we could auto-deduce `backend', or not.
1426
1427 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1428 with parameters" example. Simplify the "is it block or is it
1429 hash" check, but also make it more thorough.
1430
1431 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1432
1433 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1434
1435 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1438 { if it is hanging.
1439
1440 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1441 :before ";".
1442
1443 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1444
1445 * progmodes/compile.el (compilation-directory-matcher)
1446 (compilation-page-delimiter):
1447 Support GNU Make-4.0 directory quoting. (Bug#15678)
1448
1449 2013-10-23 Leo Liu <sdl.web@gmail.com>
1450
1451 * ido.el (ido-tidy): Handle read-only text.
1452
1453 2013-10-23 Glenn Morris <rgm@gnu.org>
1454
1455 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1456 (emacs, compile, compile-always):
1457 Quote entities that might contain whitespace.
1458 (custom-deps, finder-data, autoloads): Use abs_lisp.
1459 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1460 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1461 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1462
1463 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1464
1465 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1466 Use `following-char'.
1467
1468 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1469
1470 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1471 * progmodes/ruby-mode.el (ruby-smie-rules):
1472 Remove corresponding workaround. Fix indentation rule of ";" so it
1473 also applies when ";" is the parent.
1474
1475 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1476
1477 * frame.el (display-screens, display-pixel-height)
1478 (display-pixel-width, display-mm-width, display-backing-store)
1479 (display-save-under, display-planes, display-color-cells)
1480 (display-visual-class, display-monitor-attributes-list):
1481 Mention the optional ‘display’ argument in doc strings.
1482
1483 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1484
1485 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1486 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1487
1488 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1489
1490 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1491 TODO. Add "." after " @ ".
1492 (ruby-smie--at-dot-call): New function. Checks if point at method
1493 call with explicit target.
1494 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1495 to the method name tokens when it precedes them.
1496 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1497 (ruby-smie-rules): Add rule for indentation before and after "."
1498 token.
1499
1500 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1501
1502 * textmodes/remember.el (remember-diary-extract-entries):
1503 Avoid add-to-list.
1504
1505 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1506 an instruction.
1507
1508 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1509
1510 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1511 (ruby-smie--implicit-semi-p): Add new operator chars.
1512
1513 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1514 `smie-down-list'.
1515 (ruby-smie--args-separator-p): Check that there's no newline
1516 between method call and its arguments.
1517
1518 2013-10-20 Alan Mackenzie <acm@muc.de>
1519
1520 Allow comma separated lists after Java "implements".
1521
1522 * progmodes/cc-engine.el (c-backward-over-enum-header):
1523 Parse commas.
1524 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1525 from a "disallowed" list in enum fontification.
1526
1527 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1528
1529 * startup.el (default-frame-background-mode): Remove unused defvar.
1530
1531 * progmodes/verilog-mode.el (verilog-mode): Don't set
1532 comment-indent-function globally.
1533
1534 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1535
1536 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1537 Move Info menu item creation to ns-win.el.
1538
1539 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1540 in menu bar.
1541
1542 * menu-bar.el: Move GNUStep specific menus...
1543
1544 * term/ns-win.el (ns-initialize-window-system): ... to here.
1545
1546 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * simple.el (newline): Only run post-self-insert-hook when
1549 called interactively.
1550
1551 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1552
1553 * icomplete.el (icomplete-with-completion-tables): Add :version.
1554
1555 2013-10-19 Alan Mackenzie <acm@muc.de>
1556
1557 Fix fontification bugs with constructors and const.
1558
1559 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1560 CASE 2) Remove the check for the absence of a suffix construct
1561 after a function declaration with only types (no identifiers) in
1562 the parentheses. Also, accept a function declaration with just a
1563 type inside the parentheses, if this type can be positively
1564 recognised as such, or if a prefix keyword like "explicit" nails
1565 down the construct as a declaration.
1566
1567 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1568
1569 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1570 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1571 the problem whereby selecting a menu item that leads to a
1572 minibuffer prompt moves the cursor out of the minibuffer window,
1573 making it hard to type at the prompt. Suggested by Stefan Monnier
1574 <monnier@iro.umontreal.ca>.
1575
1576 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1577
1578 * menu-bar.el: Don't make Services menu.
1579
1580 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1581
1582 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1583 (ffap-alist): Use ffap-c++-mode for c++-mode.
1584 (ffap-c++-path): New variable.
1585 (ffap-c++-mode): New function.
1586
1587 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1588
1589 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1590
1591 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1592
1593 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1594 introduced on 2013-09-08, which results in an infinite loop
1595 requesting a password.
1596
1597 2013-10-18 Glenn Morris <rgm@gnu.org>
1598
1599 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1600
1601 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1602
1603 Sync with upstream verilog-mode revision 1a6ecec7.
1604 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1605 (verilog-mode-release-date): Remove.
1606 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1607 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1608 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1609 (verilog-auto-tieoff-ignore-regexp)
1610 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1611 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1612 (verilog-signals-with, verilog-dir-cache-preserving)
1613 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1614 Doc fixes.
1615 (verilog-case-fold): New option, to control case folding in
1616 regexp searches, bug597.
1617 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1618 (verilog-string-match-fold, verilog-in-paren-count)
1619 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1620 (verilog-at-close-struct-p): New functions.
1621 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1622 (verilog-forward-sexp, verilog-set-auto-endcomments):
1623 (verilog-leap-to-case-head): Handle "unique0" case.
1624 (verilog-in-constraint-re): New constant.
1625 (verilog-keywords, verilog-type-font-keywords):
1626 Add some SystemVerilog 1800-2012 keywords.
1627 (verilog-label-be): Remove unimplemented argument, bug669.
1628 (verilog-batch-execute-func): When batch expanding clear
1629 create-lockfiles to prevent spurious user locks when a file ends
1630 up not changing.
1631 (verilog-calculate-indent, verilog-calc-1)
1632 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1633 (verilog-do-indent): Fix indentation of nested constraints
1634 and structures.
1635 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1636 (verilog-auto-inst-param): Use verilog-string-match-fold.
1637 (verilog-read-inst-module-matcher):
1638 Fix AUTOINST on gate primitives with #1.
1639 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1640 Reads all user-defined typed variables.
1641 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1642 (verilog-signals-matching-regexp)
1643 (verilog-signals-not-matching-regexp, verilog-auto):
1644 Respect verilog-case-fold.
1645 (verilog-diff-report): Fix line count.
1646 (verilog-auto-assign-modport): Remove unused local `modi'.
1647 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1648 better handle multidimensional arrays.
1649 Fix packed array ports misadding bit index in AUTOINST, bug637.
1650 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1651 to not double-declare existing outputs and inputs, respectively.
1652 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1653 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1654 (verilog-sk-uvm-component): New skeleton.
1655 (verilog-submit-bug-report): Add verilog-case-fold,
1656 remove verilog-mode-release-date.
1657
1658 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1659
1660 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1661 as before.
1662
1663 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1664
1665 * textmodes/remember.el (remember): set buffer-offer-save in
1666 remember buffers (bug#13566).
1667
1668 2013-10-18 Daniel Colascione <dancol@dancol.org>
1669
1670 When evaluating forms in ielm, direct standard output to ielm
1671 buffer. Add new ielm-return-for-effect command. Remove trailing
1672 whitespace throughout.
1673
1674 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1675 (ielm-return-for-effect): New command.
1676 (ielm-send-input): Accept optional `for-effect' parameter.
1677 (ielm-eval-input): Accept optional `for-effect' parameter.
1678 Bind `standard-output' to stream we create using
1679 `ielm-standard-output-impl'. Suppress printing result when
1680 `for-effect'.
1681 (ielm-standard-output-impl): New function.
1682 (inferior-emacs-lisp-mode): Explain new features in documentation.
1683
1684 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1685
1686 Code cleanup.
1687
1688 * net/tramp.el (tramp-debug-message): Do not check for connection
1689 buffer.
1690 (tramp-message): Use "vector" connection property.
1691
1692 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1693 (tramp-equal-remote, tramp-eshell-directory-change)
1694 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1695 (tramp-adb-handle-rename-file)
1696 * net/tramp-cmds.el (tramp-list-remote-buffers)
1697 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1698 * net/tramp-compat.el (tramp-compat-process-running-p)
1699 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1700 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1701 (tramp-gvfs-handle-rename-file)
1702 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1703 (tramp-set-file-uid-gid)
1704 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1705 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1706 of `file-remote-p'.
1707
1708 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1709 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1710 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1711 (tramp-gw-open-network-stream): Suppress unrelated traces.
1712
1713 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1714 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1715 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1716 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1717 connection property.
1718
1719 * net/tramp-cache.el (top): Suppress traces when reading
1720 persistency file.
1721
1722 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1723 Refactor common code. Improve debug message.
1724 (tramp-maybe-open-connection)
1725 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1726 connection buffer too early.
1727
1728 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1729 from `tramp-smb-actions-with-acl'.
1730 (tramp-smb-actions-set-acl): New defconst.
1731 (tramp-smb-handle-copy-directory)
1732 (tramp-smb-action-get-acl): New defun, renamed from
1733 `tramp-smb-action-with-acl'.
1734 (tramp-smb-action-set-acl): New defun.
1735 (tramp-smb-handle-set-file-acl): Rewrite.
1736
1737 2013-10-17 Glenn Morris <rgm@gnu.org>
1738
1739 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1740
1741 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1742
1743 * skeleton.el (skeleton-newline): Remove.
1744 (skeleton-internal-1): Use (insert "\n") instead.
1745
1746 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1747 let-bindings.
1748
1749 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1750 forward-sexp-function while we redo its job (bug#15613).
1751
1752 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1753
1754 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1755 represented by lists.
1756
1757 2013-10-16 Glenn Morris <rgm@gnu.org>
1758
1759 * tmm.el (tmm--history): New dynamic variable.
1760 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1761
1762 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1763
1764 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1765 (tramp-smb-errors): Add error messages.
1766 (tramp-smb-actions-with-acl): New defconst.
1767 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1768 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1769 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1770 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1771 (tramp-smb-get-stat-capability): Fix tests.
1772
1773 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1774
1775 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1776 (bug#15580).
1777
1778 2013-10-16 Glenn Morris <rgm@gnu.org>
1779
1780 * ansi-color.el (ansi-color-drop-regexp):
1781 Add 1J, 1K, 2K. (Bug#15617)
1782
1783 * files.el (hack-local-variables--warned-lexical): New.
1784 (hack-local-variables):
1785 Warn about misplaced lexical-binding. (Bug#15616)
1786
1787 * net/eww.el (eww-render): Always set eww-current-url,
1788 and update header line. (Bug#15622)
1789 (eww-display-html): ... Rather than just doing it here.
1790
1791 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1792
1793 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1794 menu navigations commands.
1795
1796 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1797
1798 * progmodes/subword.el (subword-capitalize): Be careful when
1799 the search for [[:alpha:]] fails (bug#15580).
1800
1801 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1802
1803 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1804 to commands that scroll the menu.
1805
1806 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1807
1808 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1809 Handle methods ending with `?' and `!'.
1810
1811 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1812
1813 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1814 `japanese-cp932' to `cp932' to fix the problem where saving a
1815 source file written in Shift_JIS twice would end up having
1816 `coding: japanese-cp932' which Ruby could not recognize.
1817 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1818 in `ruby-encoding-map'.
1819 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1820 doesn't need to be explicitly declared in magic comment.
1821 (ruby-encoding-map): Add type declaration for better customize UI.
1822
1823 2013-10-13 Glenn Morris <rgm@gnu.org>
1824
1825 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1826 Occur buffers are read-only. http://bugs.debian.org/720775
1827
1828 * emacs-lisp/authors.el (authors-fixed-entries):
1829 Comment out old alpha stuff.
1830
1831 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1832
1833 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1834 to `after-save-hook' instead of `before-save-hook'.
1835 (ruby-mode-set-encoding): Use the value of coding system used to
1836 write the file. Call `basic-save-buffer-1' after modifying the
1837 buffer.
1838
1839 2013-10-13 Alan Mackenzie <acm@muc.de>
1840
1841 Fix indentation/fontification of Java enum with
1842 "implements"/generic.
1843
1844 * progmodes/cc-engine.el (c-backward-over-enum-header):
1845 Extracted from the three other places and enhanced to handle generics.
1846 (c-inside-bracelist-p): Uses new function above.
1847 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1848 function above.
1849 (c-font-lock-enum-tail): Uses new function above.
1850
1851 2013-10-13 Kenichi Handa <handa@gnu.org>
1852
1853 * international/mule-cmds.el (select-safe-coding-system): Remove a
1854 superfluous condition in chekcing whether a coding system is safe
1855 or not.
1856
1857 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1858
1859 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1860
1861 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1862
1863 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1864
1865 2013-10-13 Glenn Morris <rgm@gnu.org>
1866
1867 * menu-bar.el (menu-bar-update-buffers):
1868 Unify Buffers menu prompt string. (Bug#15576)
1869
1870 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1871
1872 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1873 Add some entries.
1874 (authors-fixed-entries): Use accented form of name.
1875
1876 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1877
1878 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1879 method calls (bug#15594).
1880 (ruby-smie--args-separator-p): New function.
1881 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1882 recognize paren-free method calls.
1883
1884 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1885 internals of universal-argument.
1886
1887 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1888
1889 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1890 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1891 dropped menu on second mouse click on the menu bar.
1892
1893 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1894
1895 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1896 (explicit-shell-file-name): Declare.
1897 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1898 (sh-completion-at-point-function): New function.
1899 (sh-mode): Use it.
1900 (sh-smie--keyword-p): Remove unused argument.
1901 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1902 vars.
1903 (sh-set-shell): Always setup SMIE, even if we use the
1904 old indentation code.
1905
1906 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1907
1908 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1909 cases of ? and =.
1910 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1911 predicate would return nil are almost non-existent.
1912 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1913
1914 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1915 cache also after commands that modify the buffer but don't move
1916 point.
1917
1918 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1919
1920 * env.el (substitute-env-in-file-name): New function.
1921 (substitute-env-vars): Extend the meaning of the optional arg.
1922
1923 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1924
1925 * term/w32-win.el (dynamic-library-alist): Define separate lists
1926 of GIF DLLs for versions before and after 5.0.0 of giflib.
1927 (Bug#15531)
1928
1929 2013-10-10 João Távora <joaotavora@gmail.com>
1930
1931 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1932 not locked, use last revision and current source as
1933 defaults. (Bug#15569)
1934
1935 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1936
1937 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1938 menu-bar is hidden.
1939
1940 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1941
1942 * window.el (pop-to-buffer-same-window): Fix doc-string.
1943 (Bug#15492)
1944
1945 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1948
1949 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1950
1951 * calendar/icalendar.el (icalendar-import-file):
1952 Fix interactive spec. (Bug#15482)
1953
1954 2013-10-10 Glenn Morris <rgm@gnu.org>
1955
1956 * desktop.el (desktop-save): Default to saving in .emacs.d,
1957 since PWD is no longer in desktop-path by default. (Bug#15319)
1958
1959 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1960 now that text mode has a menu with the same entry.
1961 (menu-bar-text-mode-auto-fill): Remove now unused func.
1962 * textmodes/text-mode.el (text-mode-map):
1963 Use auto-fill help text from menu-bar.el.
1964
1965 2013-10-10 John Anthony <john@jo.hnanthony.com>
1966
1967 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1968
1969 2013-10-09 Juri Linkov <juri@jurta.org>
1970
1971 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1972 instead of this-command-keys. Add universal-argument-more and
1973 universal-argument-minus to the list of prefix commands. (Bug#15568)
1974
1975 2013-10-09 Glenn Morris <rgm@gnu.org>
1976
1977 * vc/vc-svn.el (vc-svn-create-repo):
1978 Expand paths in file://... url. (Bug#15446)
1979
1980 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1981 Add some entries.
1982 (authors): Remove unused local variables.
1983
1984 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1985
1986 * profiler.el: Create a more coherent calltree from partial backtraces.
1987 (profiler-format): Hide the tail with `invisible' so that C-s can still
1988 find the hidden elements.
1989 (profiler-calltree-depth): Don't recurse so enthusiastically.
1990 (profiler-function-equal): New hash-table-test.
1991 (profiler-calltree-build-unified): New function.
1992 (profiler-calltree-build): Use it.
1993 (profiler-report-make-name-part): Indent the calltree less.
1994 (profiler-report-mode): Add visibility specs for profiler-format.
1995 (profiler-report-expand-entry, profiler-report-toggle-entry):
1996 Expand the whole subtree when provided with a prefix arg.
1997
1998 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1999
2000 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2001 iuwu-mod token.
2002 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2003 hanging iuwu-mod token.
2004 (ruby-smie--forward-token): Do not include a dot after a token in
2005 that token.
2006 (ruby-smie--backward-token): Likewise.
2007
2008 2013-10-08 Juri Linkov <juri@jurta.org>
2009
2010 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2011 to isearch-other-control-char.
2012 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2013 and isearch-post-command-hook to post-command-hook.
2014 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2015 and isearch-post-command-hook from post-command-hook.
2016 (isearch-unread-key-sequence)
2017 (isearch-reread-key-sequence-naturally)
2018 (isearch-lookup-scroll-key, isearch-other-control-char)
2019 (isearch-other-meta-char): Remove functions.
2020 (isearch-pre-command-hook, isearch-post-command-hook):
2021 New functions based on isearch-other-meta-char rewritten
2022 relying on the new behavior of overriding-terminal-local-map
2023 that does not replace the local keymaps any more. (Bug#15200)
2024
2025 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2026
2027 Support menus on text-mode terminals.
2028 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2029 functionality.
2030
2031 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2032
2033 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2034 Move here from mouse.el.
2035 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2036 and arrow keys.
2037 (tty-menu-navigation-map): New map for TTY menu navigation.
2038
2039 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2040
2041 * frame.el (display-mouse-p): Report text-mode mouse as available
2042 on w32.
2043 (display-popup-menus-p): Report availability if mouse is
2044 available; don't condition on window-system.
2045
2046 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2047 (tty-menu-selected-face): New faces.
2048
2049 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2050
2051 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2052 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2053 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2054 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2055 New constants.
2056 (lisp-mode-variables): New `elisp' argument.
2057 (emacs-lisp-mode): Use it.
2058 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2059 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2060
2061 * indent.el: Use lexical-binding.
2062 (indent-region): Add progress reporter.
2063 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2064 last step.
2065 (indent--next-tab-stop): New function to implement this behavior.
2066 (tab-to-tab-stop, move-to-tab-stop): Use it.
2067
2068 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2069
2070 * indent.el (indent-rigidly--current-indentation): New function.
2071 (indent-rigidly-map): New var.
2072 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2073
2074 2013-10-08 Bastien Guerry <bzg@gnu.org>
2075
2076 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2077
2078 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2079
2080 * progmodes/perl-mode.el: Use lexical-binding.
2081 Remove redundant :group args.
2082 (perl-nochange): Change default to be closer to other major modes's
2083 standard behavior.
2084 (perl-indent-line): Don't consider text on current line as a
2085 valid beginning of function from which to indent.
2086
2087 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2088 with more than one argument (bug#15538).
2089
2090 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2091
2092 * vc/pcvs.el: Use lexical-binding.
2093 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2094 environment of `eval'.
2095 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2096 than a list of expressions. Adjust callers.
2097 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2098
2099 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2100
2101 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2102 case of the dot in a chained method call being on the following line.
2103
2104 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2105
2106 * electric.el (electric-indent-inhibit): New var.
2107 (electric-indent-post-self-insert-function): Use it.
2108 * progmodes/python.el (python-mode): Set it.
2109
2110 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2111 open braces.
2112
2113 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2114
2115 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2116 (css-mode): Use electric-indent-chars.
2117
2118 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2119 (font-lock-beg, font-lock-end): Move before first use.
2120 (nxml-mode): Use syntax-propertize-function.
2121 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2122 (nxml-extend-after-change-region): Remove.
2123 * nxml/xmltok.el: Use lexical-binding.
2124 (xmltok-save): Use `declare'.
2125 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2126 * nxml/nxml-util.el: Use lexical-binding.
2127 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2128 Use `declare'.
2129 * nxml/nxml-ns.el: Use lexical-binding.
2130 (nxml-ns-save): Use `declare'.
2131 (nxml-ns-prefixes-for): Avoid add-to-list.
2132 * nxml/rng-match.el: Use lexical-binding.
2133 (rng--ipattern): Use cl-defstruct.
2134 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2135 (rng-cons-group-after, rng-subst-group-after)
2136 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2137 Use closures instead of `(lambda...).
2138
2139 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2140
2141 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2142 of BEG and END.
2143
2144 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2145 Use `tramp-handle-insert-file-contents'.
2146 (tramp-gvfs-handle-insert-file-contents): Remove function.
2147
2148 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2149 Use `save-restriction' in order to keep markers.
2150
2151 * net/trampver.el: Update release number.
2152
2153 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2154
2155 * progmodes/compile.el (compilation-parse-errors):
2156 Use compilation--put-prop.
2157 (compilation--ensure-parse): Check compilation-multiline.
2158
2159 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2160
2161 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2162 lexical-binding.
2163
2164 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2165
2166 * progmodes/ruby-mode.el: Fix recently added tests.
2167 (ruby-smie-grammar): Add - and +.
2168 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2169 (ruby-smie--backward-id): New functions.
2170 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2171 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2172 any more.
2173
2174 2013-10-07 Leo Liu <sdl.web@gmail.com>
2175
2176 * register.el (register-preview-delay)
2177 (register-preview-functions): New variables.
2178 (register-read-with-preview, register-preview)
2179 (register-describe-oneline): New functions.
2180 (point-to-register, window-configuration-to-register)
2181 (frame-configuration-to-register, jump-to-register)
2182 (number-to-register, view-register, insert-register)
2183 (copy-to-register, append-to-register, prepend-to-register)
2184 (copy-rectangle-to-register): Use register-read-with-preview to
2185 read register. (Bug#15525)
2186
2187 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2188
2189 * net/network-stream.el (network-stream-open-starttls): Don't add
2190 --insecure if it's already present, because that gnutls-cli
2191 rejects getting that parameter twice.
2192
2193 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2194
2195 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2196 keyword, too.
2197
2198 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2199
2200 * newcomment.el (comment-use-global-state): Change default value
2201 to t, mark obsolete (Bug#15251).
2202 (comment-beginning): In addition to `comment-to-syntax', check the
2203 value of `comment-use-global-state'.
2204
2205 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2206
2207 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2208 (ruby-comment-column): Follow the global default, by default.
2209 (ruby-smie-grammar): Add assignment syntax.
2210 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2211 open-paren, a comma, or a \.
2212 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2213 and line continuations.
2214 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2215 followed by implicit semi-colons. Add rule for string concatenation
2216 and for indentation at BOB.
2217 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2218
2219 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2220 calling next-sexp, since next-token may have skipped chars which
2221 next-sexp doesn't know should be skipped!
2222
2223 2013-10-05 Leo Liu <sdl.web@gmail.com>
2224
2225 * progmodes/octave.el (octave-send-region):
2226 Call compilation-forget-errors.
2227
2228 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2229
2230 * vc/vc-svn.el (vc-svn-find-admin-dir):
2231 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2232 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2233 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2234 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2235
2236 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2237
2238 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2239
2240 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2241
2242 * subr.el (read-passwd): Hide chars even when called within a context
2243 where after-change-functions is disabled (bug#15501).
2244 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2245 until we removed ourself from overriding-terminal-local-map.
2246
2247 2013-10-04 Leo Liu <sdl.web@gmail.com>
2248
2249 * progmodes/octave.el (inferior-octave-mode):
2250 Call compilation-forget-errors.
2251
2252 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2253
2254 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2255
2256 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2257
2258 * net/secrets.el (secrets-create-collection): Add optional
2259 argument ALIAS. Use proper Label keyword. Append ALIAS as
2260 dbus-call-method argument. (Bug#15516)
2261
2262 2013-10-04 Leo Liu <sdl.web@gmail.com>
2263
2264 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2265 (inferior-octave-compilation-font-lock-keywords): New variables.
2266 (compilation-error-regexp-alist)
2267 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2268 (inferior-octave-mode): Use compilation-shell-minor-mode.
2269
2270 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2271
2272 * minibuffer.el (completion--replace): Be careful that `end' might be
2273 a marker.
2274
2275 2013-10-03 Daiki Ueno <ueno@gnu.org>
2276
2277 Add support for package signature checking.
2278 * emacs-lisp/package.el (url-http-file-exists-p)
2279 (epg-make-context, epg-context-set-home-directory)
2280 (epg-verify-string, epg-context-result-for)
2281 (epg-signature-status, epg-signature-to-string)
2282 (epg-check-configuration, epg-configuration)
2283 (epg-import-keys-from-file): Declare.
2284 (package-check-signature): New user option.
2285 (package-unsigned-archives): New user option.
2286 (package-desc): Add `signed' field.
2287 (package-load-descriptor): Set `signed' field if .signed file exists.
2288 (package--archive-file-exists-p): New function.
2289 (package--check-signature): New function.
2290 (package-install-from-archive): Check package signature.
2291 (package--download-one-archive): Check archive signature.
2292 (package-delete): Remove .signed file.
2293 (package-import-keyring): New command.
2294 (package-refresh-contents): Import default keyring.
2295 (package-desc-status): Add "unsigned" status.
2296 (describe-package-1, package-menu--print-info)
2297 (package-menu-mark-delete, package-menu--find-upgrades)
2298 (package-menu--status-predicate): Support "unsigned" status.
2299
2300 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2303 the new compilation scheme using the new byte-codes.
2304
2305 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2306 (byte-pophandler): New byte codes.
2307 (byte-goto-ops): Adjust accordingly.
2308 (byte-compile--use-old-handlers): New var.
2309 (byte-compile-catch): Use new byte codes depending on
2310 byte-compile--use-old-handlers.
2311 (byte-compile-condition-case--old): Rename from
2312 byte-compile-condition-case.
2313 (byte-compile-condition-case--new): New function.
2314 (byte-compile-condition-case): New function that dispatches depending
2315 on byte-compile--use-old-handlers.
2316 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2317 when we can.
2318
2319 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2320 Optimize under `condition-case' and `catch' if
2321 byte-compile--use-old-handlers is nil.
2322 (disassemble-offset): Handle new bytecodes.
2323
2324 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2325
2326 * subr.el (error): Use `declare'.
2327 (decode-char, encode-char): Use advertised-calling-convention instead
2328 of the docstring to discourage use of the `restriction' arg.
2329
2330 2013-10-03 Daiki Ueno <ueno@gnu.org>
2331
2332 * epg.el (epg-verify-file): Add a comment saying that it does not
2333 notify verification error as a return value nor a signal.
2334 (epg-verify-string): Ditto.
2335
2336 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2337
2338 * progmodes/compile.el (compilation-start): Try globbing the arg to
2339 `cd' (bug#15417).
2340
2341 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2342
2343 Sync with Tramp 2.2.8.
2344
2345 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2346 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2347 * net/trampver.el: Update release number.
2348
2349 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2350
2351 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2352 and default-process-coding-system for darwin only.
2353
2354 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2357
2358 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2359
2360 * vc/vc-git.el (vc-git-grep): Disable pager.
2361
2362 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2363
2364 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2365 Use :url instead of :homepage, as per
2366 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2367
2368 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2369 non-nil, use `syntax-ppss' (Bug#15251).
2370
2371 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2372
2373 * progmodes/octave.el (inferior-octave-startup-file):
2374 Prefer ~/.emacs.d/init_octave.m.
2375
2376 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2377
2378 * emacs-lisp/package.el (package-desc-from-define):
2379 Accept additional arguments as plist, convert them to an alist and store
2380 them in the `extras' slot.
2381 (package-generate-description-file): Convert extras alist back to
2382 plist and append to the `define-package' form arguments.
2383 (package--alist-to-plist): New function.
2384 (package--ac-desc): Add `extras' slot.
2385 (package--add-to-archive-contents): Check if the archive-contents
2386 vector is long enough, and if it is, pass its `extras' slot value
2387 to `package-desc-create'.
2388 (package-buffer-info): Call `lm-homepage', pass the returned value
2389 to `package-desc-from-define'.
2390 (describe-package-1): Render the homepage button (Bug#13291).
2391
2392 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2393 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2394
2395 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2396
2397 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2398 and default-process-coding-system to utf-8-unix (Bug#15402).
2399
2400 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2401
2402 * subr.el (looking-back): Do not recommend using looking-back.
2403
2404 2013-09-28 Alan Mackenzie <acm@muc.de>
2405
2406 Fix indentation/fontification of Java enum with "implements".
2407
2408 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2409 regexp which matches "implements", etc., in Java.
2410 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2411 specifier clauses coming after "enum".
2412 * progmodes/cc-fonts.el (c-font-lock-declarations)
2413 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2414 after "enum".
2415
2416 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2417
2418 * faces.el (region): Change ns_selection_color to
2419 ns_selection_fg_color, add ns_selection_bg_color.
2420
2421 2013-09-28 Leo Liu <sdl.web@gmail.com>
2422
2423 * progmodes/octave.el (inferior-octave-completion-table)
2424 (inferior-octave-completion-at-point): Minor tweaks.
2425
2426 * textmodes/ispell.el (ispell-lookup-words): Rename from
2427 lookup-words. (Bug#15460)
2428 (lookup-words): Obsolete.
2429 (ispell-complete-word, ispell-command-loop): All uses changed.
2430
2431 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2432
2433 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2434 (octave-mode-menu): Add octave-send-buffer.
2435 (octave-send-buffer): New function.
2436
2437 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2438
2439 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2440 octave-lookfor.
2441 (octave-mode-menu): Add octave-lookfor.
2442 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2443 octave-lookfor.
2444 (octave-lookfor): New function.
2445
2446 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2447
2448 * emacs-lisp/cl-macs.el:
2449 (cl--loop-destr-temps): Remove.
2450 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2451 its convention.
2452 (cl--loop-set-iterator-function): New function.
2453 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2454 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2455 Bind `it' with `let' instead of substituting it with `cl-subst'.
2456 (cl--unused-var-p): New function.
2457 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2458 Eliminate some unused variable warnings (bug#15326).
2459
2460 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2461
2462 * doc-view.el (doc-view-scale-reset): Rename from
2463 `doc-view-reset-zoom-level'.
2464 (doc-view-scale-adjust): New command.
2465 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2466 `doc-view-scale-adjust'.
2467
2468 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2469
2470 * doc-view.el (doc-view-reset-zoom-level): New command.
2471 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2472 zoom commands (bug#15466).
2473
2474 2013-09-26 Kenichi Handa <handa@gnu.org>
2475
2476 * international/quail.el (quail-help): Make it not a command.
2477
2478 2013-09-26 Leo Liu <sdl.web@gmail.com>
2479
2480 * minibuffer.el (completion-all-sorted-completions): Make args
2481 optional as they are.
2482
2483 2013-09-25 Daniel Colascione <dancol@dancol.org>
2484
2485 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2486 specs are and that they're not evaluated.
2487
2488 2013-09-24 Sam Steingold <sds@gnu.org>
2489
2490 * midnight.el (clean-buffer-list-kill-regexps)
2491 (clean-buffer-list-kill-buffer-names): Update for the new Man
2492 buffer naming which includes the object name.
2493
2494 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2497 (eshell-parse-command, eshell-parse-pipeline): Use it since
2498 eshell-separate-commands requires a dynamic scoped var.
2499 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2500
2501 2013-09-23 Leo Liu <sdl.web@gmail.com>
2502
2503 * autoinsert.el (auto-insert-alist): Make the value of
2504 lexical-binding match its file setting.
2505
2506 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2507
2508 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2509
2510 * autoarg.el (autoarg-kp-digit-argument):
2511 * electric.el (Electric-command-loop):
2512 * kmacro.el (kmacro-step-edit-insert):
2513 Do not set universal-argument-num-events.
2514
2515 2013-09-22 Leo Liu <sdl.web@gmail.com>
2516
2517 * files.el (interpreter-mode-alist): Add octave.
2518
2519 2013-09-21 Alan Mackenzie <acm@muc.de>
2520
2521 C++: fontify identifier in declaration following "public:" correctly.
2522 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2523 to match "public", etc.
2524 (c-decl-prefix-re): Add ":" into the C++ value.
2525 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2526 bit. Add a check for a ":" preceded by "public", etc.
2527
2528 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2529
2530 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2531 recognized by GDB 7.5 and later.
2532
2533 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2534
2535 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2536
2537 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2538
2539 * subr.el (internal--call-interactively): New const.
2540 (called-interactively-p): Use it (bug#3984).
2541
2542 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2543
2544 * vc/pcvs.el (cvs-mode-ignore):
2545 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2546 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2547
2548 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2549
2550 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2551 (eshell-ls-orig-insert-directory): Remove.
2552 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2553 (eshell-ls-use-in-dired): Use advice-add/remove.
2554 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2555 Add `orig-fun' arg for use in :around advice.
2556 Make it check (redundantly) eshell-ls-use-in-dired.
2557
2558 2013-09-19 Glenn Morris <rgm@gnu.org>
2559
2560 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2561
2562 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2563
2564 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2565
2566 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2567
2568 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2569 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2570 (tramp-get-remote-python): New defuns.
2571 (tramp-get-remote-uid-with-perl)
2572 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2573 contributed by yary <not.com@gmail.com> (tiny change).
2574 (tramp-get-remote-uid-with-python)
2575 (tramp-get-remote-gid-with-python): New defuns. Python code
2576 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2577 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2578
2579 2013-09-19 Glenn Morris <rgm@gnu.org>
2580
2581 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2582
2583 * eshell/em-unix.el (eshell-remove-entries):
2584 Rename argument to avoid name-clash with global `top-level'.
2585
2586 * eshell/esh-proc.el (eshell-kill-process-function):
2587 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2588 (eshell-reset-after-proc): Remove unused arg `proc'.
2589
2590 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2591 (directory-files-and-attributes): Mark unused arg.
2592
2593 * eshell/em-unix.el (eshell-remove-entries):
2594 Remove unused arg `path'. Update callers.
2595
2596 * eshell/em-hist.el (eshell-hist-parse-arguments):
2597 Remove unused arg `silent'. Update callers.
2598
2599 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2600 Fix (f)boundp mix-up.
2601
2602 * eshell/em-smart.el (eshell-smart-scroll-window)
2603 (eshell-disable-after-change):
2604 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2605
2606 2013-09-18 Alan Mackenzie <acm@muc.de>
2607
2608 Fix fontification of type when followed by "const".
2609 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2610 "known" types from fontification.
2611
2612 2013-09-18 Glenn Morris <rgm@gnu.org>
2613
2614 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2615 (chart-face-list): Drop Emacsen without display-color-p.
2616
2617 * net/eww.el (libxml-parse-html-region): Declare.
2618 (eww-display-html): Explicit error if no libxml2 support.
2619
2620 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2621
2622 * image.el (image-type-from-buffer, image-multi-frame-p):
2623 Remove --without-x warning/error.
2624
2625 * mouse.el (mouse-yank-primary):
2626 * term.el (term-mouse-paste):
2627 Reorder to silence --without-x compilation.
2628
2629 * mpc.el (doc-view-mode): Silence --without-x compilation.
2630
2631 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2632 Silence --without-x compilation.
2633
2634 * progmodes/gud.el (gud-find-file, gud-mode):
2635 Silence --without-x compilation.
2636 (tooltip-mode): Declare.
2637
2638 * wdired.el (dired-backup-overwrite): Remove declaration.
2639 (wdired-mode-map): Add doc string.
2640
2641 * custom.el (x-get-resource): Declare.
2642
2643 * eshell/em-glob.el (ange-cache):
2644 * eshell/em-unix.el (ange-cache): Declare.
2645
2646 * faces.el (x-display-list, x-open-connection, x-get-resource):
2647 Declare.
2648
2649 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2650 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2651 Declare.
2652
2653 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2654
2655 * net/gnutls.el (gnutls-log-level): Declare.
2656
2657 * net/shr.el (image-size, image-animate): Declare.
2658
2659 * simple.el (font-info): Declare.
2660
2661 * subr.el (x-popup-dialog): Declare.
2662
2663 * term/common-win.el (x-select-enable-primary)
2664 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2665 Declare.
2666
2667 * term/ns-win.el (x-handle-args): Declare.
2668
2669 * term/x-win.el (x-select-enable-clipboard): Declare.
2670
2671 * term/w32-win.el (create-default-fontset): Declare.
2672
2673 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2674 Declare.
2675
2676 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2677 (fit-frame-to-buffer): Explicit error if --without-x.
2678 (mouse-autoselect-window-select): Silence compiler.
2679
2680 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2681
2682 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2683 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2684 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2685 * eshell/esh-util.el (eshell-sublist):
2686 Remove unused local variables.
2687
2688 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2689
2690 * textmodes/two-column.el: Make 2C-split work for --without-x.
2691 (scroll-bar-columns): Autoload.
2692 (top-level): Require fringe when compiling.
2693
2694 2013-09-18 Leo Liu <sdl.web@gmail.com>
2695
2696 * subr.el (add-hook): Robustify to handle closure as well.
2697
2698 2013-09-17 Glenn Morris <rgm@gnu.org>
2699
2700 * simple.el (messages-buffer-mode-map): Unbind "g".
2701
2702 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2703
2704 * help-mode.el (help-mode-finish): Use derived-mode-p.
2705 Remove obsolete highlighting.
2706
2707 * play/life.el (life-mode): Use define-derived-mode. Derive from
2708 special-mode.
2709 (life): Let-bind inhibit-read-only.
2710 (life-setup): Avoid `setq'. Use `life-mode'.
2711
2712 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2713 which should not be needed any more.
2714 (package-menu-refresh, package-menu-describe-package): Use user-error.
2715
2716 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2717 (eshell-post-rewrite-command-hook): Make obsolete.
2718 (eshell-parse-command): Simplify.
2719 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2720 (eshell--cmd): Declare.
2721 (eshell-parse-pipeline): Remove unused var `final-p'.
2722 Pass a dynvar to eshell-post-rewrite-command-hook.
2723 Implement the new eshell-post-rewrite-command-function.
2724 (eshell-invoke-directly): Remove unused arg `input'.
2725 * eshell/esh-io.el (eshell-io-initialize):
2726 Use eshell-post-rewrite-command-function (bug#15399).
2727 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2728 adjust to new calling convention.
2729 (eshell-create-handles): Rename args to avoid clashing with dynvar
2730 `standard-output'.
2731
2732 2013-09-17 Glenn Morris <rgm@gnu.org>
2733
2734 * simple.el (messages-buffer-mode): New major mode.
2735 (messages-buffer): New function.
2736 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2737 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2738 (ert-run-test): Use `messages-buffer' function.
2739 (ert--force-message-log-buffer-truncation): Ignore read-only.
2740 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2741 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2742
2743 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2744
2745 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2746
2747 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2748
2749 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2750
2751 * icomplete.el (icomplete-in-buffer): New var.
2752 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2753 vars and replace them with functions.
2754 (icomplete-minibuffer-setup): Adjust accordingly.
2755 (icomplete--completion-table, icomplete--completion-predicate)
2756 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2757 New functions.
2758 (icomplete-forward-completions, icomplete-backward-completions)
2759 (icomplete-simple-completing-p, icomplete-exhibit)
2760 (icomplete-completions): Use them.
2761 (icomplete--in-region-buffer): New var.
2762 (icomplete--in-region-setup): New function.
2763 (icomplete-mode): Use it.
2764
2765 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2766 (bug#15379).
2767 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2768 return args and options.
2769 (eshell-eval-using-options): Use the new return value of
2770 eshell--do-opts to set the options's vars in their scope.
2771 (eshell--set-option): Rename from eshell-set-option.
2772 Add arg `opt-vals'.
2773 (eshell--process-option): Rename from eshell-process-option.
2774 Add arg `opt-vals'.
2775 (eshell--process-args): Use an `opt-vals' alist to store the options's
2776 values during their processing and return them additionally to the
2777 remaining args.
2778
2779 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2780
2781 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2782 continuation character an operator, as far as indentation is
2783 concerned (Bug#15369).
2784
2785 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2786
2787 * window.el (window--state-put-2): Don't process buffer state
2788 when buffer doesn't exist any more (Bug#15382).
2789
2790 2013-09-15 Glenn Morris <rgm@gnu.org>
2791
2792 * eshell/em-unix.el (eshell/rm):
2793 Make -f ignore missing files. (Bug#15373)
2794
2795 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2796 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2797 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2798
2799 2013-09-14 Glenn Morris <rgm@gnu.org>
2800
2801 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2802
2803 2013-09-13 Glenn Morris <rgm@gnu.org>
2804
2805 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2806 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2807
2808 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2809
2810 * frame.el (x-focus-frame): Mark as declared in frame.c.
2811
2812 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2813
2814 * ls-lisp.el: Use advice-add.
2815 (original-insert-directory): Remove.
2816 (ls-lisp--insert-directory): Rename from insert-directory; add
2817 `orig-fun' argument.
2818 (insert-directory): Advise.
2819
2820 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2821
2822 * term.el (term-emulate-terminal): Decode the command string
2823 before passing it to term-command-hook. (Bug#15337)
2824
2825 2013-09-13 Glenn Morris <rgm@gnu.org>
2826
2827 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2828
2829 * eshell/esh-ext.el (eshell-search-path): Declare.
2830
2831 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2832 Otherwise an error occurs if eshell-dirs module not loaded.
2833
2834 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2835
2836 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2837
2838 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2839 `tramp-check-proper-host'. Check for a valid method name.
2840
2841 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2842 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2843 * net/tramp-sh.el (tramp-maybe-open-connection):
2844 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2845
2846 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2847 also for hash values.
2848
2849 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2850
2851 * term/ns-win.el (parameters): Don't declare as dynamic.
2852 (before-make-frame-hook): Don't add ineffective function.
2853
2854 * eshell/*.el: Use lexical-binding (bug#15231).
2855
2856 2013-09-12 Kenichi Handa <handa@gnu.org>
2857
2858 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2859
2860 2013-09-12 Glenn Morris <rgm@gnu.org>
2861
2862 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2863 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2864
2865 * subr.el (do-after-load-evaluation): Also give compiler warnings
2866 when obsolete files are used (except by obsolete files).
2867
2868 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2869 in the status output, assume `filename' is the first. (Bug#15322)
2870
2871 * vc/vc.el (vc-deduce-fileset): Doc fix.
2872
2873 * calc/calc-help.el (Info-goto-node):
2874 * progmodes/cperl-mode.el (Info-find-node):
2875 * vc/ediff.el (Info-goto-node): Update declarations.
2876
2877 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2878
2879 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2880 (vc-bzr-pull): Require vc-dispatcher.
2881 * vc/vc-git.el (vc-compilation-mode): Declare.
2882 (vc-git-pull): Require vc-dispatcher.
2883
2884 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2885
2886 * progmodes/octave.el (help-button-action): Declare.
2887
2888 * shell.el (shell-directory-tracker): Output error as a message
2889 rather than just returning it as a string.
2890 (shell-process-pushd): Remove useless use of message.
2891
2892 * dframe.el (dframe-timer-fn):
2893 * files.el (dir-locals-read-from-file):
2894 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2895 (mpc-format):
2896 * reveal.el (reveal-post-command):
2897 * saveplace.el (load-save-place-alist-from-file):
2898 * shell.el (shell-resync-dirs):
2899 * w32-common-fns.el (x-get-selection-value):
2900 * emacs-lisp/copyright.el (copyright-find-copyright):
2901 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2902 * emulation/tpu-edt.el (tpu-copy-keyfile):
2903 * play/bubbles.el (bubbles--mark-neighbourhood):
2904 * progmodes/executable.el
2905 (executable-make-buffer-file-executable-if-script-p):
2906 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2907
2908 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2909
2910 Cleanup Eshell to rely less on dynamic scoping.
2911 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2912 last-value, and ext-command here. Bind `args' closer to `body'.
2913 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2914 (eshell--args): Declare new dynamic var.
2915 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2916 last-value, and ext-command. Pass `args' to `body'.
2917 (eshell-process-args): Bind eshell--args.
2918 (eshell-set-option): Use eshell--args.
2919 * eshell/eshell.el (eshell): Use derived-mode-p.
2920 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2921 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2922 (eshell-glob-function): Declare.
2923 * eshell/esh-util.el: Require cl-lib.
2924 (eshell-read-hosts-file): Avoid add-to-list.
2925 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2926 `err'.
2927 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2928 Declare.
2929 (eshell/diff): Remove unused var `err'.
2930 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2931 `killflag'.
2932 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2933 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2934 first use.
2935 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2936 Move declaration before first use.
2937 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2938 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2939 rely on cl-return.
2940
2941 2013-09-12 Glenn Morris <rgm@gnu.org>
2942
2943 * term/ns-win.el (global-map): Remove binding for ispell-next,
2944 deleted 1999-05-29. (Bug#15357)
2945
2946 2013-09-11 Glenn Morris <rgm@gnu.org>
2947
2948 * echistory.el (electric-command-history): Remove call to deleted func.
2949
2950 * play/landmark.el (landmark-mode): Fix typos.
2951
2952 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2953 Check cvs-sort-ignore-file is bound.
2954
2955 * savehist.el: No need for cl when compiling on Emacs.
2956
2957 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2958
2959 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2960 (bug#15338).
2961 (eshell-self-insert-command, eshell-send-invisible):
2962 Remove unused argument.
2963 (eshell-handle-control-codes): Remove unused var `orig'.
2964 Avoid delete-backward-char.
2965
2966 * files.el (set-auto-mode): Simplify a bit further.
2967
2968 2013-09-11 Glenn Morris <rgm@gnu.org>
2969
2970 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2971 (set-auto-mode): Don't regexp-quote elements.
2972 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2973 * progmodes/cc-mode.el (interpreter-mode-alist):
2974 * progmodes/ruby-mode.el (interpreter-mode-alist):
2975 Revert previous change.
2976
2977 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2978
2979 * play/snake.el (snake-mode):
2980 * play/mpuz.el (mpuz-mode):
2981 * play/landmark.el (lm-mode):
2982 * play/blackbox.el (blackbox-mode):
2983 * play/5x5.el (5x5-mode):
2984 * obsolete/options.el (Edit-options-mode):
2985 * net/quickurl.el (quickurl-list-mode):
2986 * net/newst-treeview.el (newsticker-treeview-mode):
2987 * mail/rmailsum.el (rmail-summary-mode):
2988 * mail/mspools.el (mspools-mode):
2989 * locate.el (locate-mode):
2990 * ibuffer.el (ibuffer-mode):
2991 * emulation/ws-mode.el (wordstar-mode):
2992 * emacs-lisp/debug.el (debugger-mode):
2993 * array.el (array-mode):
2994 * net/eudc.el (eudc-mode): Use define-derived-mode.
2995 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2996 Move initialization into declaration.
2997 (mairix-searches-mode): Use define-derived-mode.
2998 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2999 (eudc-edit-hotlist): Use dolist.
3000 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3001 (Man-mode): Use define-derived-mode.
3002 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3003 (Info-edit-mode): Use define-derived-mode.
3004 (Info-cease-edit): Use Info-mode.
3005 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3006 into declaration.
3007 (eshell-mode): Use define-derived-mode.
3008 * chistory.el (command-history-mode-map): Rename from
3009 command-history-map.
3010 (command-history-mode): Use define-derived-mode.
3011 (Command-history-setup): Remove function.
3012 * calc/calc.el (calc-trail-mode-map): New var.
3013 (calc-trail-mode): Use define-derived-mode.
3014 (calc-trail-buffer): Set calc-main-buffer manually.
3015 * bookmark.el (bookmark-insert-annotation): New function.
3016 (bookmark-edit-annotation): Use it.
3017 (bookmark-edit-annotation-mode): Make it a proper major mode.
3018 (bookmark-send-edited-annotation): Use derived-mode-p.
3019 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3020 closer to its ideal place. Use \' to match EOS.
3021
3022 * profiler.el (profiler-calltree-find): Use function-equal.
3023
3024 2013-09-10 Glenn Morris <rgm@gnu.org>
3025
3026 * files.el (interpreter-mode-alist): Convert to regexps.
3027 (set-auto-mode): Adapt for this. (Bug#15306)
3028 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3029 Comment out unused variable.
3030 * progmodes/cc-mode.el (interpreter-mode-alist):
3031 * progmodes/python.el (interpreter-mode-alist):
3032 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3033 * progmodes/sh-script.el (sh-set-shell):
3034 No longer use interpreter-mode-alist to get list of shells.
3035
3036 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3037
3038 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3039
3040 * simple.el: Use set-temporary-overlay-map for universal-argument.
3041 (universal-argument-map): Don't use default-bindings (bug#15317).
3042 Bind switch-frame explicitly. Replace universal-argument-minus with
3043 a conditional binding.
3044 (universal-argument-num-events, saved-overriding-map): Remove.
3045 (restore-overriding-map): Remove.
3046 (universal-argument--mode): Rename from save&set-overriding-map,
3047 and rewrite.
3048 (universal-argument, universal-argument-more, negative-argument)
3049 (digit-argument): Adjust accordingly.
3050 (universal-argument-minus): Remove.
3051 (universal-argument-other-key): Remove.
3052
3053 * subr.el (with-demoted-errors): Add `format' argument.
3054
3055 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3056
3057 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3058 `tramp-cleanup-connection'.
3059
3060 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3061 parameters KEEP-DEBUG and KEEP-PASSWORD.
3062
3063 * net/tramp.el (tramp-file-name-handler):
3064 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3065 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3066 (tramp-maybe-open-connection):
3067 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3068 Use `tramp-cleanup-connection'.
3069
3070 * net/tramp-sh.el (tramp-maybe-open-connection):
3071 Catch 'uname-changed inside the progress reporter.
3072
3073 2013-09-10 Glenn Morris <rgm@gnu.org>
3074
3075 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3076
3077 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3078 returns "alternate access method" in mode (eg "-rw-r--r--.").
3079
3080 2013-09-08 Glenn Morris <rgm@gnu.org>
3081
3082 * saveplace.el (load-save-place-alist-from-file):
3083 Demote errors. (Bug#15305)
3084
3085 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3086
3087 Improve compatibility with older Emacsen, and XEmacs.
3088
3089 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3090 only if it is bound. It isn't for XEmacs.
3091 (with-tramp-progress-reporter): Do not let-bind `result'.
3092 This yields to scoping errors in XEmacs.
3093 (tramp-handle-make-auto-save-file-name): New function, moved from
3094 tramp-sh.el.
3095
3096 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3097 for `make-auto-save-file-name'.
3098 (tramp-adb--gnu-switches-to-ash):
3099 Use `tramp-compat-replace-regexp-in-string'.
3100
3101 * net/tramp-cache.el (tramp-cache-print): Call
3102 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3103
3104 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3105 bound. It isn't for XEmacs.
3106
3107 * net/tramp-compat.el (tramp-compat-copy-file):
3108 Catch `wrong-number-of-arguments' error.
3109 (tramp-compat-replace-regexp-in-string): New defun.
3110
3111 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3112 for `make-auto-save-file-name'.
3113 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3114 `copy-file'.
3115 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3116 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3117 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3118
3119 * net/tramp-gw.el (tramp-gw-open-network-stream):
3120 Use `tramp-compat-replace-regexp-in-string'.
3121
3122 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3123 Call `tramp-handle-make-auto-save-file-name'.
3124 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3125 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3126 (tramp-sh-file-inotifywait-process-filter):
3127 Use `tramp-compat-replace-regexp-in-string'.
3128 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3129
3130 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3131 for `make-auto-save-file-name'.
3132 (tramp-smb-handle-copy-directory):
3133 Call `tramp-compat-replace-regexp-in-string'.
3134 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3135 (tramp-smb-handle-copy-file): Improve error message.
3136 (tramp-smb-handle-rename-file): Rename directly only in case
3137 `newname' does not exist yet. This is a restriction of smbclient.
3138 (tramp-smb-maybe-open-connection): Rerun the function only when
3139 `auth-sources' is non-nil.
3140
3141 2013-09-08 Kenichi Handa <handa@gnu.org>
3142
3143 * international/characters.el: Set category "^" (Combining) for
3144 more characters.
3145
3146 2013-09-07 Alan Mackenzie <acm@muc.de>
3147
3148 Correctly fontify Java class constructors.
3149 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3150 in Java Mode.
3151 (c-recognize-typeless-decls): Set the Java value to t.
3152 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3153 While handling a "(", add a check for, effectively, Java, and handle a
3154 "typeless" declaration there.
3155
3156 2013-09-07 Roland Winkler <winkler@gnu.org>
3157
3158 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3159 field subtitle for entry type book.
3160
3161 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * minibuffer.el: Make minibuffer-complete call completion-in-region
3164 rather than other way around.
3165 (completion--some, completion-pcm--find-all-completions):
3166 Don't delay signals when debugging.
3167 (minibuffer-completion-contents): Beware fields within the
3168 minibuffer contents.
3169 (completion-all-sorted-completions): Use defvar-local.
3170 (completion--do-completion, completion--cache-all-sorted-completions)
3171 (completion-all-sorted-completions, minibuffer-force-complete):
3172 Add args `beg' and `end'.
3173 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3174 (minibuffer-complete): Use completion-in-region.
3175 (completion-complete-and-exit): New fun, extracted from
3176 minibuffer-complete-and-exit.
3177 (minibuffer-complete-and-exit): Use it.
3178 (completion--complete-and-exit): Rename from
3179 minibuffer--complete-and-exit.
3180 (completion-in-region--single-word): New function, extracted from
3181 minibuffer-complete-word.
3182 (minibuffer-complete-word): Use it.
3183 (display-completion-list): Make `common-substring' argument obsolete.
3184 (completion--in-region): Call completion--in-region-1 instead of
3185 minibuffer-complete.
3186 (completion-help-at-point): Pass boundaries to
3187 minibuffer-completion-help as args rather than via an overlay.
3188 (completion-pcm--string->pattern): Use `any-delim'.
3189 (completion-pcm--optimize-pattern): New function.
3190 (completion-pcm--pattern->regex): Handle `any-delim'.
3191 * icomplete.el (icomplete-forward-completions)
3192 (icomplete-backward-completions, icomplete-completions):
3193 Adjust calls to completion-all-sorted-completions and
3194 completion--cache-all-sorted-completions.
3195 (icomplete-with-completion-tables): Default to t.
3196 * emacs-lisp/crm.el (crm--current-element): Rename from
3197 crm--select-current-element. Don't put an overlay but return the
3198 boundaries instead.
3199 (crm--completion-command): Take two new args to bind to the boundaries.
3200 (crm-completion-help): Adjust accordingly.
3201 (crm-complete): Use completion-in-region.
3202 (crm-complete-word): Use completion-in-region--single-word.
3203 (crm-complete-and-exit): Use completion-complete-and-exit.
3204
3205 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3206
3207 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3208 than dynamically.
3209
3210 2013-09-06 Juri Linkov <juri@jurta.org>
3211
3212 * info.el (Info-display-images-node): When image file doesn't exist
3213 display text version of the image if it's provided in the Info file.
3214 Otherwise, display the location of missing image from SRC attribute.
3215 Add help-echo text property from ALT attribute. (Bug#15279)
3216
3217 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3220 (edit-abbrevs-mode): Use define-derived-mode.
3221
3222 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3223 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3224 that it's defined.
3225 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3226 Use define-derived-mode.
3227
3228 * epg.el (epg-start-encrypt): Minor CSE simplification.
3229
3230 2013-09-06 William Xu <william.xwl@gmail.com>
3231
3232 * arc-mode.el: Add support for 7za (bug#15264).
3233 (archive-7z-program): New var.
3234 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3235 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3236 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3237
3238 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3239
3240 Remove URL syntax.
3241
3242 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3243 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3244 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3245 (tramp-postfix-host-format, tramp-file-name-regexp)
3246 (tramp-completion-file-name-regexp)
3247 (tramp-completion-dissect-file-name)
3248 (tramp-handle-substitute-in-file-name): Remove 'url case.
3249 (tramp-file-name-regexp-url)
3250 (tramp-completion-file-name-regexp-url): Remove constants.
3251
3252 2013-09-06 Glenn Morris <rgm@gnu.org>
3253
3254 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3255
3256 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3257
3258 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3259 keywords" below "here-doc beginnings" (Bug#15270).
3260
3261 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3262
3263 * subr.el (pop): Use `car-safe'.
3264 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3265 to detect unused `pop' return value.
3266
3267 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3268 var `block-regexp'.
3269 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3270 (python-fill-string): Remove unused var `marker'.
3271 (python-skeleton-add-menu-items): Remove unused var `items'.
3272
3273 * international/mule-cmds.el: Require CL.
3274 (find-coding-systems-for-charsets): Avoid add-to-list.
3275 (sanitize-coding-system-list): New function, extracted from
3276 select-safe-coding-system-interactively.
3277 (select-safe-coding-system-interactively): Use it.
3278 (read-input-method-name): Accept symbols for `default'.
3279
3280 * emacs-lisp/advice.el (defadvice): Add indent rule.
3281
3282 2013-09-05 Daniel Hackney <dan@haxney.org>
3283
3284 * dired-x.el:
3285 * net/ange-ftp.el:
3286 * net/browse-url.el:
3287 * net/dbus.el:
3288 * net/eudc.el:
3289 * net/eudcb-ldap.el:
3290 * net/eww.el:
3291 * net/imap.el:
3292 * printing.el:
3293 * vc/ediff-diff.el:
3294 * vc/ediff-init.el:
3295 * vc/ediff-merg.el:
3296 * vc/ediff-mult.el:
3297 * vc/ediff-util.el:
3298 * vc/ediff-wind.el:
3299 * vc/ediff.el:
3300 * vc/emerge.el:
3301 * vc/pcvs.el:
3302 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3303 byte compiler. Remove some unused let-bound variables.
3304
3305 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3306
3307 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3308 a "ref-cell", since it gets better optimized (bug#14883).
3309
3310 2013-09-05 Glenn Morris <rgm@gnu.org>
3311
3312 * progmodes/cc-awk.el (c-forward-sws): Declare.
3313
3314 2013-09-04 Glenn Morris <rgm@gnu.org>
3315
3316 * generic-x.el [rul-generic-mode]: Require cc-mode.
3317 (c++-mode-syntax-table): Declare.
3318 (rul-generic-mode-syntax-table): Init in the defvar.
3319
3320 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3323 (vc-do-command, vc-set-async-update):
3324 * vc/vc-mtn.el (vc-mtn-dir-status):
3325 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3326 (vc-hg-pull, vc-hg-merge-branch):
3327 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3328 (vc-git-merge-branch):
3329 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3330 (vc-cvs-dir-status-files):
3331 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3332 (vc-bzr-dir-status-files):
3333 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3334 * vc/vc-annotate.el: Use lexical-binding.
3335 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3336 (vc-sentinel-movepoint): Declare.
3337 (vc-annotate): Don't use `goto-line'.
3338 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3339 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3340 (vc-sentinel-movepoint): Declare.
3341 * vc/vc-svn.el: Use lexical-binding.
3342 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3343 * vc/vc-sccs.el:
3344 * vc/vc-rcs.el: Use lexical-binding.
3345
3346 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3347 `deleted'. Don't drop errors silently.
3348
3349 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3350
3351 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3352
3353 * vc/vc.el (vc-ignore): Rewrite.
3354 (vc-default-ignore): New function.
3355 (vc-default-ignore-completion-table): Use find-ignore-file.
3356
3357 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3358 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3359 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3360 Remove. Most code moved to vc.el.
3361
3362 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3363
3364 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3365 * net/tramp-smb.el (tramp-smb-get-file-entries):
3366 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3367 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3368
3369 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3370 Update call to it.
3371 (eww-change-select): Remove unused var `properties'.
3372 (eww-make-unique-file-name): Remove unused var `base'.
3373
3374 * finder.el (finder-compile-keywords): Don't mess with windows.
3375
3376 * calculator.el (calculator-funcall): Fix typo in last change.
3377
3378 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3379
3380 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3381 <pkg>-autoloads.el file stop us.
3382
3383 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3384 warnings, and factor out common code.
3385
3386 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3387
3388 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3389 two-character operators and whether the character preceding them
3390 changes their meaning (Bug#15208).
3391
3392 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3393
3394 Format code sent to Python shell for robustness.
3395 * progmodes/python.el (python-shell-buffer-substring):
3396 New function.
3397 (python-shell-send-region, python-shell-send-buffer): Use it.
3398
3399 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3400
3401 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3402 * net/tramp.el (tramp-user-error): ... here.
3403 (tramp-find-method, tramp-check-proper-host)
3404 (tramp-dissect-file-name, tramp-debug-message)
3405 (tramp-handle-shell-command):
3406 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3407 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3408
3409 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3410
3411 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3412
3413 * avoid.el (mouse-avoidance-point-position)
3414 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3415 returns nil.
3416
3417 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3418
3419 * progmodes/python.el (python-shell-completion-get-completions):
3420 Drop use of deleted `comint-last-prompt-overlay'.
3421 (python-nav-if-name-main): New command.
3422
3423 2013-09-01 Glenn Morris <rgm@gnu.org>
3424
3425 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3426 Avoid leading space in $wins. Otherwise the sed command used by
3427 eg compile-main ends up containing "/*.el". (Bug#15170)
3428
3429 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3430
3431 2013-08-30 Glenn Morris <rgm@gnu.org>
3432
3433 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3434 Fix is-this-a-directory logic. (Bug#15220)
3435
3436 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3437
3438 * textmodes/css-mode.el: Use SMIE.
3439 (css-smie-grammar): New var.
3440 (css-smie--forward-token, css-smie--backward-token)
3441 (css-smie-rules): New functions.
3442 (css-mode): Use them.
3443 (css-navigation-syntax-table): Remove var.
3444 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3445 (css-indent-calculate, css-indent-line): Remove functions.
3446
3447 Misc changes to reduce use of `(lambda...); and other cleanups.
3448 * cus-edit.el: Use lexical-binding.
3449 (customize-push-and-save, customize-apropos)
3450 (custom-buffer-create-internal): Use closures.
3451 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3452 * progmodes/ada-xref.el: Use setq.
3453 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3454 * dframe.el: Use lexical-binding.
3455 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3456 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3457 * descr-text.el: Use lexical-binding.
3458 (describe-text-widget, describe-text-sexp, describe-property-list):
3459 Use closures.
3460 * comint.el (comint-history-isearch-push-state): Use a closure.
3461 * calculator.el: Use lexical-binding.
3462 (calculator-number-to-string): Make it work with lexical-binding.
3463 (calculator-funcall): Same and use cl-letf.
3464
3465 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3466 (lisp--company-doc-string, lisp--company-location): New functions.
3467 (lisp-completion-at-point): Use them to improve Company support.
3468
3469 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3470 params of lambda expressions.
3471 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3472 (ruby-smie--opening-pipe-p): New function.
3473 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3474 symbols and matched |...| for formal params.
3475 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3476 from being treated as hanging. Handle "rescue".
3477
3478 2013-08-29 Glenn Morris <rgm@gnu.org>
3479
3480 * progmodes/cc-engine.el (c-pull-open-brace):
3481 Move definition before use.
3482
3483 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3484
3485 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3486 are immutable. Don't use `unsafe' any more.
3487 (cl--defsubst-expand): Don't substitute at the same time as keeping
3488 a residual unused let-binding. Don't use `unsafe' any more.
3489
3490 2013-08-29 Glenn Morris <rgm@gnu.org>
3491
3492 * calendar/cal-china.el (calendar-chinese-year-cache):
3493 Recenter on 2015.
3494
3495 * nxml/nxml-util.el (nxml-debug-clear-inside):
3496 Use cl-loop rather than loop.
3497
3498 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3499
3500 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3501
3502 2013-08-28 Glenn Morris <rgm@gnu.org>
3503
3504 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3505
3506 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3507
3508 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3509
3510 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3511
3512 * simple.el (repeat-complex-command--called-interactively-skip):
3513 New function.
3514 (repeat-complex-command): Use it (bug#14136).
3515
3516 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3517 (c-define-abbrev-table): Add `doc' argument.
3518 (c-mode-abbrev-table, c++-mode-abbrev-table)
3519 (objc-mode-abbrev-table, java-mode-abbrev-table)
3520 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3521 (awk-mode-abbrev-table): Use it.
3522 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3523 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3524 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3525 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3526 Move initialization into the declaration; and remove any
3527 autoload cookie.
3528
3529 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3530 and dynamic let binding.
3531
3532 * vc/smerge-mode.el: Remove redundant :group args.
3533
3534 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3535 to load-path.
3536
3537 2013-08-28 Juri Linkov <juri@jurta.org>
3538
3539 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3540 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3541 (isearch-other-meta-char): Handle an undefined shifted printing
3542 character by downshifting it. (Bug#15200)
3543
3544 2013-08-28 Juri Linkov <juri@jurta.org>
3545
3546 * isearch.el (isearch-search): Change regexp error message for
3547 non-regexp searches. (Bug#15166)
3548
3549 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3550
3551 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3552 for portability to hosts where /bin/sh has problems.
3553
3554 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3555
3556 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3557
3558 2013-08-27 Juri Linkov <juri@jurta.org>
3559
3560 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3561 in the keyboard macro. (Bug#15126)
3562
3563 2013-08-27 Juri Linkov <juri@jurta.org>
3564
3565 * isearch.el (isearch-quote-char): Comment out converting unibyte
3566 to multibyte, thus syncing with its `quoted-insert' counterpart.
3567 (Bug#15166)
3568
3569 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3570
3571 * window.el (display-buffer-use-some-window): Add missing
3572 argument in call of get-largest-window (Bug#15185).
3573 Reported by Stephen Leake.
3574
3575 2013-08-27 Glenn Morris <rgm@gnu.org>
3576
3577 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3578
3579 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3580
3581 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3582 from a matcher-function unless there's no more matches (bug#15161).
3583
3584 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3585
3586 * minibuffer.el: Revert change from 2013-08-20.
3587
3588 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3589 with text property `tramp-default', if appropriate.
3590 (tramp-check-proper-host): New defun.
3591 (tramp-dissect-file-name): Do not check hostname. Revert change
3592 of 2013-03-18.
3593 (tramp-backtrace): Make VEC-OR-PROC optional.
3594
3595 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3596 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3597 * net/tramp-sh.el (tramp-maybe-open-connection):
3598 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3599 Apply `tramp-check-proper-host'.
3600
3601 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3602
3603 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3604 lambda expression in order to have `describe-variable' display it.
3605
3606 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3607
3608 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3609 BUF can be optional. (Bug#15186)
3610
3611 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3612
3613 * progmodes/flymake.el (flymake-get-real-file-name-function):
3614 Fix broken customization. (Bug#15184)
3615
3616 2013-08-25 Alan Mackenzie <acm@muc.de>
3617
3618 Improve indentation of bracelists defined by macros (without "=").
3619
3620 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3621 expansion begins with "{", regard it as bracelist when it doesn't
3622 contain a ";".
3623
3624 Parse C++ inher-intro when there's a template split over 2 lines.
3625
3626 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3627 rigorously the search for "class" etc. followed by ":".
3628
3629 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3630 random languages a regexp which never matches rather than nil.
3631
3632 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3633
3634 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3635 (c-awk-regexp-one-line-possibly-open-char-list-re)
3636 (c-awk-one-line-possibly-open-regexp-re)
3637 (c-awk-one-line-non-syn-ws*-re): Remove.
3638 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3639 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3640 (c-awk-space*-unclosed-regexp-/-re): New constants.
3641 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3642 aren't regexp delimiters.
3643
3644 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3645 handling for a rare situation in AWK Mode involving unterminated
3646 strings/regexps.
3647
3648 2013-08-23 Glenn Morris <rgm@gnu.org>
3649
3650 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3651
3652 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3653
3654 * files.el (create-file-buffer): If the result would begin with
3655 spaces, prepend a "|" instead of removing them. (Bug#15162)
3656
3657 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3658
3659 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3660 text-properties (bug#15155).
3661
3662 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3663 exist any more.
3664 (calc-keypad-redraw): Remove unused var `pad'.
3665 (calc-keypad-press): Remove unused var `menu'.
3666
3667 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3668
3669 * window.el (display-buffer-pop-up-frame):
3670 Call pop-up-frame-function with BUFFER current so `make-frame' will
3671 use it as the new frame's buffer (Bug#15133).
3672
3673 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3674
3675 * calendar/timeclock.el: Minor cleanups.
3676 (timeclock-ask-before-exiting, timeclock-use-display-time):
3677 Use `symbol'.
3678 (timeclock-modeline-display): Define as alias before the
3679 actual definition.
3680 (timeclock-mode-line-display): Use define-minor-mode.
3681 (timeclock-day-list-template): Make it a function, add an argument.
3682 (timeclock-day-list-required, timeclock-day-list-length)
3683 (timeclock-day-list-debt, timeclock-day-list-span)
3684 (timeclock-day-list-break): Adjust calls accordingly.
3685
3686 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3689 Use read--expression so that completion works again.
3690
3691 2013-08-21 Sam Steingold <sds@gnu.org>
3692
3693 Add rudimentary inferior shell interaction
3694 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3695 (sh-set-shell): Reset it.
3696 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3697 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3698
3699 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3700
3701 * align.el: Use lexical-binding.
3702 (align-region): Simplify accordingly.
3703
3704 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3705
3706 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3707
3708 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3709 `non-essential' up.
3710
3711 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3712
3713 * net/tramp.el:
3714 * net/tramp-adb.el:
3715 * net/tramp-cmds.el:
3716 * net/tramp-ftp.el:
3717 * net/tramp-gvfs.el:
3718 * net/tramp-gw.el:
3719 * net/tramp-sh.el: Don't wrap external variable declarations by
3720 `eval-when-compile'.
3721
3722 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3723
3724 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3725 now that Emacs supports ImageMagick animations.
3726
3727 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3728
3729 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3730 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3731
3732 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3733
3734 * window.el (mouse-autoselect-window-select): Do autoselect when
3735 mouse pointer is on margin.
3736
3737 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3738
3739 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3740
3741 2013-08-16 Glenn Morris <rgm@gnu.org>
3742
3743 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3744 Handle "Remote Directory" response of some clients. (Bug#15058)
3745
3746 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3747 Tweak warning. (Bug#14926)
3748
3749 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3750 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3751
3752 * image-mode.el (image-mode-map): Add menu items to reverse,
3753 increase, decrease, reset animation speed.
3754 (image--set-speed, image-increase-speed, image-decrease-speed)
3755 (image-reverse-speed, image-reset-speed): New functions.
3756 (image-mode-map): Add bindings for speed commands.
3757
3758 * image.el (image-animate-get-speed, image-animate-set-speed):
3759 New functions.
3760 (image-animate-timeout): Respect image :speed property.
3761
3762 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3763
3764 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3765 previous line (bug#15101).
3766 (debugger-eval-expression, debugger-record-expression):
3767 Use read--expression (bug#15102).
3768
3769 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3770
3771 Remove byte compiler warnings, visible when compiling with
3772 `byte-compile-force-lexical-warnings' set to t.
3773
3774 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3775 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3776 (tramp-handle-unhandled-file-name-directory)
3777 (tramp-handle-file-notify-add-watch, tramp-action-login)
3778 (tramp-action-succeed, tramp-action-permission-denied)
3779 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3780 arguments with "_".
3781
3782 * net/tramp-adb.el (tramp-adb-parse-device-names)
3783 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3784 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3785 (tramp-adb-handle-file-truename): Remove unused arguments.
3786
3787 * net/tramp-cache.el (tramp-flush-directory-property)
3788 (tramp-flush-connection-property, tramp-list-connections)
3789 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3790
3791 * net/tramp-compat.el (tramp-compat-make-temp-file):
3792 Rename FILENAME to F.
3793
3794 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3795 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3796 (tramp-zeroconf-parse-workstation-device-names)
3797 (tramp-zeroconf-parse-webdav-device-names)
3798 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3799
3800 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3801 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3802
3803 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3804 arguments.
3805 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3806 (tramp-sh-handle-insert-file-contents-literally)
3807 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3808 with "_".
3809 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3810 Remove unused variables.
3811
3812 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3813 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3814 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3815
3816 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3817 Make them a defconst.
3818 (tramp-uuencode-region): Remove unused variable.
3819
3820 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3821
3822 * frameset.el (frameset--prop-setter): New function.
3823 (frameset-prop): Add gv-setter declaration.
3824 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3825 parameter was already set in FILTERED. Doc fix.
3826 (frameset--record-minibuffer-relationships): Allow saving a
3827 minibufferless frame without its corresponding minibuffer frame.
3828 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3829 frame, if the frame id matches.
3830 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3831 frames before orphaned ones.
3832 (frameset-restore): Warn about orphaned windows, instead of error out.
3833
3834 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3835
3836 * window.el (window-make-atom): Don't overwrite parameter
3837 already present.
3838 (display-buffer-in-atom-window): Handle special case where we
3839 split an already atomic window.
3840 (window--major-non-side-window, display-buffer-in-side-window)
3841 (window--side-check): Ignore minibuffer window when walking
3842 window tree.
3843 (window-deletable-p): Return 'frame only if no other frame uses
3844 our minibuffer window.
3845 (record-window-buffer): Run buffer-list-update-hook.
3846 (split-window): Make sure window--check-frame won't destroy an
3847 existing atomic window in case the new window gets nested
3848 inside.
3849 (display-buffer-at-bottom): Ignore minibuffer window when
3850 walking window tree. Don't split a side window.
3851 (pop-to-buffer): Don't set-buffer here, the select-window call
3852 should do that.
3853 (mouse-autoselect-window-select): Autoselect only if we are in the
3854 text portion of the window.
3855
3856 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3857
3858 * net/shr.el (shr-parse-image-data): New function to grab both the
3859 data itself and the Content-Type.
3860 (shr-put-image): Use it.
3861
3862 * net/eww.el (eww-display-image): Ditto.
3863
3864 * image.el (image-content-type-suffixes): New variable.
3865
3866 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3867
3868 * progmodes/python.el (python-imenu--build-tree)
3869 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3870
3871 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3872
3873 * simple.el (backward-word): Mention the optional argument.
3874
3875 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3876
3877 * frameset.el (frameset--make): Rename constructor from make-frameset.
3878 (frameset-p, frameset-valid-p): Don't autoload.
3879 (frameset-valid-p): Use normal accessors.
3880
3881 2013-08-13 Glenn Morris <rgm@gnu.org>
3882
3883 * progmodes/compile.el (compile-command): Tweak example in doc.
3884 * obsolete/scribe.el (scribe-mode):
3885 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3886
3887 * mail/feedmail.el (feedmail-confirm-outgoing)
3888 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3889
3890 * cus-start.el (truncate-partial-width-windows): Fix type.
3891
3892 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3893
3894 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3895
3896 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3897
3898 * emacs-lisp/timer.el (timer--time-setter): New function.
3899 (timer--time): Use it as gv-setter.
3900
3901 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3902 setter is not a symbol.
3903
3904 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3905
3906 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3907 if sending fails. This makes debugging easier.
3908
3909 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3910
3911 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3912 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3913 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3914
3915 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3916
3917 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3918
3919 2013-08-12 Glenn Morris <rgm@gnu.org>
3920
3921 * format.el (format-annotate-function):
3922 Handle read-only text properties in the source. (Bug#14887)
3923
3924 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3925
3926 * net/eww.el (eww-display-html): Ignore coding system errors.
3927 One web site uses "utf-8lias" as the coding system.
3928
3929 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3930
3931 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3932
3933 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3934
3935 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3936 (tutorial--detailed-help): Remove unused local variables.
3937 (tutorial--save-tutorial-to): Use ignore-errors.
3938 (help-with-tutorial): Use looking-at-p.
3939
3940 * view.el (view-buffer-other-window, view-buffer-other-frame):
3941 Mark unused arguments.
3942
3943 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3944 (woman-select-symbol-fonts, woman, woman-find-file)
3945 (woman-insert-file-contents, woman-non-underline-faces):
3946 Use string-match-p.
3947 (woman1-unquote): Move declaration.
3948
3949 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3950 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3951 argument. Remove unused local variable.
3952 (xml-parse-elem-type): Use string-match-p.
3953 (xml-substitute-numeric-entities): Use ignore-errors.
3954
3955 * calculator.el (calculator): Mark unused argument.
3956 (calculator-paste, calculator-quit, calculator-integer-p):
3957 Use ignore-errors.
3958 (calculator-string-to-number, calculator-decimal, calculator-exp)
3959 (calculator-op-or-exp): Use string-match-p.
3960
3961 * dired.el (dired-buffer-more-recently-used-p): Declare.
3962 (dired-insert-set-properties, dired-insert-old-subdirs):
3963 Use ignore-errors.
3964
3965 * dired-aux.el (dired-compress): Use ignore-errors.
3966 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3967 (dired-do-async-shell-command, dired-do-shell-command)
3968 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3969 (dired-insert-subdir-validate): Use string-match-p.
3970 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3971 (dired-add-entry): Use string-match-p, looking-at-p.
3972 (dired-insert-subdir-newpos): Remove unused local variable.
3973
3974 * filenotify.el (file-notify-callback): Remove unused local variable.
3975
3976 * filesets.el (filesets-error): Mark unused argument.
3977 (filesets-which-command-p, filesets-filter-dir-names)
3978 (filesets-directory-files, filesets-get-external-viewer)
3979 (filesets-ingroup-get-data): Use string-match-p.
3980
3981 * find-file.el (ff-other-file-name, ff-other-file-name)
3982 (ff-find-the-other-file, ff-cc-hh-converter):
3983 Remove unused local variables.
3984 (ff-get-file-name): Use string-match-p.
3985 (ff-all-dirs-under): Use ignore-errors.
3986
3987 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3988 (follow-select-if-visible): Remove unused local variable.
3989
3990 * forms.el (read-file-filter): Move declaration.
3991 (forms--make-format, forms--make-parser, forms-insert-record):
3992 Quote function with #'.
3993 (forms--update): Use string-match-p. Quote function with #'.
3994
3995 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3996 (help-make-xrefs): Use looking-at-p.
3997 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3998
3999 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4000 (ibuffer-confirm-operation-on): Use string-match-p.
4001
4002 * msb.el (msb-item-handler, msb-dired-item-handler):
4003 Mark unused arguments.
4004
4005 * ses.el (ses-decode-cell-symbol)
4006 (ses-kill-override): Remove unused local variable.
4007 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4008 (ses-load): Use ignore-errors, looking-at-p.
4009 (ses-jump-safe): Use ignore-errors.
4010 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4011
4012 * tabify.el (untabify, tabify): Mark unused arguments.
4013
4014 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4015 Mark unused argument.
4016 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4017 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4018
4019 * emacs-lisp/timer.el (timer--time): Define setter with
4020 gv-define-setter to avoid deprecation warning.
4021
4022 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4023 (*record-cmpl-statistics-p*): Remove (was commented out).
4024 (cmpl-statistics-block): Remove (body was commented out).
4025 All callers changed.
4026 (add-completions-from-buffer, load-completions-from-file):
4027 Remove unused variables.
4028
4029 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4030
4031 * filecache.el (file-cache-delete-file-list):
4032 Print message only when told so.
4033 (file-cache-files-matching): Use #' in mapconcat argument.
4034
4035 * ffap.el (ffap-url-at-point): Fix reference to variable
4036 thing-at-point-default-mail-uri-scheme.
4037
4038 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4039
4040 * subr.el (define-error): New function.
4041 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4042 error-file-not-found and define with define-error.
4043 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4044 and define with define-error.
4045 * userlock.el (file-locked, file-supersession):
4046 * simple.el (mark-inactive):
4047 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4048 * progmodes/ada-mode.el (ada-mode-errors):
4049 * play/life.el (life-extinct):
4050 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4051 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4052 * nxml/rng-util.el (rng-error):
4053 * nxml/rng-uri.el (rng-uri-error):
4054 * nxml/rng-match.el (rng-compile-error):
4055 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4056 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4057 * nxml/nxml-rap.el (nxml-scan-error):
4058 * nxml/nxml-outln.el (nxml-outline-error):
4059 * net/soap-client.el (soap-error):
4060 * net/gnutls.el (gnutls-error):
4061 * net/ange-ftp.el (ftp-error):
4062 * mpc.el (mpc-proc-error):
4063 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4064 (json-number-format, json-string-escape, json-string-format)
4065 (json-key-format, json-object-format):
4066 * jka-compr.el (compression-error):
4067 * international/quail.el (quail-error):
4068 * international/kkc.el (kkc-error):
4069 * emacs-lisp/ert.el (ert-test-failed):
4070 * calc/calc.el (calc-error, inexact-result, math-overflow)
4071 (math-underflow):
4072 * bookmark.el (bookmark-error-no-filename):
4073 * epg.el (epg-error): Define with define-error.
4074
4075 * time.el (display-time-event-handler)
4076 (display-time-next-load-average): Don't call sit-for since it seems
4077 unnecessary (bug#15045).
4078
4079 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4080 Use #' instead of ' to quote functions.
4081 (checkdoc-output-mode): Use setq-local.
4082 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4083 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4084 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4085 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4086 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4087 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4088 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4089 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4090
4091 * ido.el (ido-completion-help): Fix up compiler warning.
4092
4093 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4094
4095 * frameset.el (frameset-p): Add autoload cookie.
4096 (frameset--jump-to-register): New function, based on code moved from
4097 register.el.
4098 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4099
4100 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4101 (frameset-restore, frameset-save, frameset-session-filter-alist):
4102 Remove declarations.
4103 (register-alist): Doc fix.
4104 (frameset-to-register): Move to frameset.el.
4105 (jump-to-register, describe-register-1): Remove frameset-specific code.
4106
4107 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4108
4109 * allout-widgets.el (allout-widgets-pre-command-business)
4110 (allout-widgets-post-command-business)
4111 (allout-widgets-after-change-handler)
4112 (allout-decorate-item-and-context, allout-set-boundary-marker)
4113 (allout-body-modification-handler)
4114 (allout-graphics-modification-handler): Mark ignored arguments.
4115 (allout-widgets-post-command-business)
4116 (allout-widgets-exposure-change-processor)
4117 (allout-widgets-exposure-undo-processor)
4118 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4119 (allout-parse-item-at-point, allout-decorate-item-guides)
4120 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4121 * allout.el (epa-passphrase-callback-function): Declare.
4122 (allout-overlay-insert-in-front-handler)
4123 (allout-overlay-interior-modification-handler)
4124 (allout-isearch-end-handler, allout-chart-siblings)
4125 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4126 (allout-yank-processing, allout-process-exposed)
4127 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4128 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4129 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4130 (lisp-indent-defform): Mark ignored arguments.
4131 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4132 (calculate-lisp-indent): Remove unused variables.
4133 * international/characters.el (indian-2-column, arabic-2-column)
4134 (tibetan): Mark ignored arguments.
4135 (use-cjk-char-width-table): Mark ignored arguments.
4136 Remove unused variables.
4137 * international/fontset.el (build-default-fontset-data)
4138 (x-compose-font-name, create-fontset-from-fontset-spec):
4139 Mark ignored arguments.
4140 (fontset-plain-name): Remove unused variables.
4141 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4142 (keyboard-coding-system): Mark ignored arguments.
4143 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4144 * help.el (resize-temp-buffer-window):
4145 * window.el (display-buffer-in-major-side-window)
4146 (display-buffer-in-side-window, display-buffer-in-previous-window):
4147 Remove unused variables.
4148 * isearch.el (isearch-forward-symbol):
4149 * version.el (emacs-bzr-version-bzr):
4150 * international/mule-cmds.el (current-language-environment):
4151 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4152 (x-handle-display):
4153 * term/pc-win.el (x-list-fonts, x-display-planes)
4154 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4155 (x-server-version, x-display-screens, x-display-mm-height)
4156 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4157 (x-selection-owner-p, x-own-selection-internal)
4158 (x-disown-selection-internal, x-get-selection-internal)
4159 (msdos-initialize-window-system):
4160 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4161 * term/x-win.el (x-handle-no-bitmap-icon):
4162 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4163 (vc-default-find-file-hook, vc-default-extra-menu):
4164 Mark ignored arguments.
4165
4166 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4167
4168 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4169 break-condition in the context of the debugged code (bug#12685).
4170
4171 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4172
4173 * comint.el:
4174 Do not use an overlay to highlight the last prompt. (Bug#14744)
4175 (comint-mode): Make comint-last-prompt buffer local.
4176 (comint-last-prompt): New variable.
4177 (comint-last-prompt-overlay): Remove. Superseded by
4178 comint-last-prompt.
4179 (comint-snapshot-last-prompt, comint-output-filter):
4180 Use comint-last-prompt.
4181
4182 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4183
4184 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4185 (frameset-save): Check validity of the resulting frameset.
4186
4187 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4188
4189 * ido.el (ido-record-command): Add doc string.
4190
4191 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4192
4193 * frameset.el (frameset): Do not disable creation of the default
4194 frameset-p predicate. Doc fix.
4195 (frameset-valid-p): New function, copied from the old predicate-p.
4196 Add additional checks.
4197 (frameset-restore): Check with frameset-valid-p.
4198 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4199 (frameset-name, frameset-description, frameset-properties)
4200 (frameset-states): Add docstring.
4201 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4202 (frameset-filter-alist): Doc fixes.
4203
4204 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4205
4206 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4207
4208 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4211 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4212 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4213 (byte-compile-normal-call): Remove obsolescence check.
4214
4215 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4216
4217 * frameset.el (frameset-restore): Doc fix.
4218
4219 * register.el (frameset-frame-id, frameset-frame-with-id)
4220 (frameset-p, frameset-restore, frameset-save): Declare.
4221 (register-alist): Document framesets.
4222 (frameset-session-filter-alist): Declare.
4223 (frameset-to-register): New function.
4224 (jump-to-register): Implement jumping to framesets. Doc fix.
4225 (describe-register-1): Describe framesets.
4226
4227 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4228
4229 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4230
4231 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4232 Use lexical-binding.
4233
4234 * frameset.el (frameset): Use type vector, not list (incompatible
4235 change). Do not declare a new constructor, use the default one.
4236 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4237 `name' and `description', respectively, and add read-only slot
4238 `timestamp'. Doc fixes.
4239 (frameset-copy, frameset-persistent-filter-alist)
4240 (frameset-filter-alist, frameset-switch-to-gui-p)
4241 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4242 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4243 (frameset-filter-iconified, frameset-keep-original-display-p):
4244 Doc fixes.
4245 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4246 Rename from frameset-filter-(save|restore)-param. All callers changed.
4247 Doc fix.
4248 (frameset-p): Adapt to change to vector and be more thorough.
4249 Change arg name to OBJECT. Doc fix.
4250 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4251 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4252 All callers changed.
4253 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4254 All callers changed.
4255 (frameset--record-minibuffer-relationships): Rename from
4256 frameset--process-minibuffer-frames. All callers changed.
4257 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4258 Use new default constructor (again). Doc fix.
4259 (frameset--find-frame-if): Rename from `frameset--find-frame.
4260 All callers changed.
4261 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4262 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4263 Doc fix.
4264 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4265 PARAMETERS and WINDOW-STATE, respectively.
4266 (frameset-restore): Add new keyword argument PREDICATE.
4267 Reset frameset--target-display to nil. Doc fix.
4268
4269 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4270
4271 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4272 (bat-mode): Use it.
4273 (bat-mode-syntax-table): Mark \n as end-of-comment.
4274 (bat-font-lock-keywords): Remove comment rule.
4275
4276 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4277 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4278
4279 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4280 (byte-compile-callargs-warn): Use `push'.
4281 (byte-compile-arglist-warn): Ignore higher-order "calls".
4282 (byte-compile-file-form-autoload): Use `pcase'.
4283 (byte-compile-function-form): If quoting a symbol, check that it exists.
4284
4285 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4286
4287 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4288 and add a few popular commands found in batch files.
4289 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4290 (dos-mode): Doc fixes.
4291
4292 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4293
4294 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4295 (dos-mode): Use setq-local. Add space after "rem".
4296 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4297 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4298
4299 2013-08-07 Arni Magnusson <arnima@hafro.is>
4300
4301 * progmodes/dos.el: New file.
4302 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4303 dos-mode.
4304
4305 2013-08-06 Glenn Morris <rgm@gnu.org>
4306
4307 * calendar/calendar.el: Add new faces, and day-header-array.
4308 (calendar-weekday-header, calendar-weekend-header)
4309 (calendar-month-header): New faces.
4310 (calendar-day-header-construct): New function.
4311 (calendar-day-header-width): Also :set calendar-day-header-array.
4312 (calendar-american-month-header, calendar-european-month-header)
4313 (calendar-iso-month-header): Use calendar- faces.
4314 (calendar-generate-month):
4315 Use calendar-day-header-array for day headers; apply faces to them.
4316 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4317 (calendar-abbrev-construct): Add optional maxlen argument.
4318 (calendar-day-name-array): Doc fix.
4319 (calendar-day-name-array, calendar-abbrev-length)
4320 (calendar-day-abbrev-array):
4321 Also :set calendar-day-header-array, and maybe redraw.
4322 (calendar-day-header-array): New option. (Bug#15007)
4323 (calendar-font-lock-keywords): Set to nil and make obsolete.
4324 (calendar-day-name): Add option to use header array.
4325
4326 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4327
4328 * net/shr.el (shr-render-td): Remove debugging.
4329 (shr-render-td): Make width computation consistent by defaulting
4330 all zero-width columns to 10 characters. This may not be optimal,
4331 but it's at least consistent.
4332 (shr-make-table-1): Redo last change to fix the real problem in
4333 colspan handling.
4334
4335 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4336
4337 * files.el (cache-long-line-scans):
4338 Make obsolete alias to `cache-long-scans'.
4339
4340 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4341
4342 * frameset.el (frameset, frameset-filter-alist)
4343 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4344 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4345 (frameset-compute-pos): Rename from frameset--compute-pos,
4346 and add docstring.
4347 (frameset-move-onscreen): Use frameset-compute-pos.
4348 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4349
4350 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4351 Fix typos in docstrings.
4352
4353 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4354
4355 * frame.el (get-other-frame): Tiny cleanup.
4356
4357 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4358
4359 * vc/vc.el (vc-default-ignore-completion-table):
4360 Silence byte-compiler warning.
4361
4362 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4363 slot , which can indeed be nil.
4364 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4365 Move entry for `left' from persistent to live filter alist.
4366 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4367 Doc fixes.
4368 (frameset-filter-params): When restoring a frame, copy items added to
4369 `filtered', to avoid unwittingly modifying the original parameters.
4370 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4371 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4372
4373 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4374 to use looking-at-p instead of looking-at. (Bug#15028)
4375
4376 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4377
4378 Revert introduction of isearch-filter-predicates (bug#14714).
4379 Rely on add-function instead.
4380 * isearch.el (isearch-filter-predicates): Rename it back to
4381 isearch-filter-predicate.
4382 (isearch-message-prefix): Use advice-function-mapc and advice
4383 properties to get the isearch-message-prefix.
4384 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4385 instead of run-hook-with-args-until-failure.
4386 (isearch-filter-visible): Not obsolete any more.
4387 * loadup.el: Preload nadvice.
4388 * replace.el (perform-replace): Revert to funcall
4389 instead of run-hook-with-args-until-failure.
4390 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4391 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4392 dired-isearch-filenames-toggle; make it into a proper minor mode.
4393 Use add/remove-function.
4394 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4395 Call the minor-mode rather than add/remove-hook.
4396 (dired-isearch-filter-filenames):
4397 Remove isearch-message-prefix property.
4398 * info.el (Info--search-loop): New function, extracted from Info-search.
4399 Funcall isearch-filter-predicate instead of
4400 run-hook-with-args-until-failure isearch-filter-predicates.
4401 (Info-search): Use it.
4402 (Info-mode): Use isearch-filter-predicate instead of
4403 isearch-filter-predicates.
4404
4405 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4406
4407 Do not call to `selected-window' where it is assumed by default.
4408 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4409 `window-hscroll', `window-width', `window-height', `window-buffer',
4410 `window-frame', `window-start', `window-point', `next-window'
4411 and `window-display-table'.
4412 * abbrev.el (abbrev--default-expand):
4413 * bs.el (bs--show-with-configuration):
4414 * buff-menu.el (Buffer-menu-mouse-select):
4415 * calc/calc.el (calc):
4416 * calendar/calendar.el (calendar-generate-window):
4417 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4418 (diary-make-entry):
4419 * comint.el (send-invisible, comint-dynamic-complete-filename)
4420 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4421 * completion.el (complete):
4422 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4423 * disp-table.el (describe-current-display-table):
4424 * doc-view.el (doc-view-insert-image):
4425 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4426 * ehelp.el (with-electric-help):
4427 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4428 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4429 * emacs-lisp/helper.el (Helper-help-scroller):
4430 * emulation/cua-base.el (cua--post-command-handler-1):
4431 * eshell/esh-mode.el (eshell-output-filter):
4432 * ffap.el (ffap-gnus-wrapper):
4433 * help-macro.el (make-help-screen):
4434 * hilit-chg.el (highlight-compare-buffers):
4435 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4436 * hl-line.el (global-hl-line-highlight):
4437 * icomplete.el (icomplete-simple-completing-p):
4438 * isearch.el (isearch-done):
4439 * jit-lock.el (jit-lock-stealth-fontify):
4440 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4441 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4442 * mpc.el (mpc-tagbrowser, mpc):
4443 * net/rcirc.el (rcirc-any-buffer):
4444 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4445 * play/landmark.el (landmark-max-width, landmark-max-height):
4446 * play/zone.el (zone):
4447 * progmodes/compile.el (compilation-goto-locus):
4448 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4449 * progmodes/etags.el (find-tag-other-window):
4450 * progmodes/fortran.el (fortran-column-ruler):
4451 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4452 * progmodes/verilog-mode.el (verilog-point-text):
4453 * reposition.el (reposition-window):
4454 * rot13.el (toggle-rot13-mode):
4455 * server.el (server-switch-buffer):
4456 * shell.el (shell-dynamic-complete-command)
4457 (shell-dynamic-complete-environment-variable):
4458 * simple.el (insert-buffer, set-selective-display)
4459 (delete-completion-window):
4460 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4461 (speedbar-recenter):
4462 * startup.el (fancy-splash-head):
4463 * textmodes/ispell.el (ispell-command-loop):
4464 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4465 * tutorial.el (help-with-tutorial):
4466 * vc/add-log.el (add-change-log-entry):
4467 * vc/compare-w.el (compare-windows):
4468 * vc/ediff-help.el (ediff-indent-help-message):
4469 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4470 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4471 (ediff-setup-control-frame):
4472 * vc/emerge.el (emerge-position-region):
4473 * vc/pcvs-util.el (cvs-bury-buffer):
4474 * window.el (walk-windows, mouse-autoselect-window-select):
4475 * winner.el (winner-set-conf, winner-undo): Related users changed.
4476
4477 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4478
4479 * frameset.el (frameset--set-id): Doc fix.
4480 (frameset-frame-id, frameset-frame-id-equal-p)
4481 (frameset-locate-frame-id): New functions.
4482 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4483 (frameset-restore): Use them.
4484
4485 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4486
4487 Do not call to `selected-frame' where it is assumed by default.
4488 Affected functions are `raise-frame', `redraw-frame',
4489 `frame-first-window', `frame-terminal' and `delete-frame'.
4490 * calendar/appt.el (appt-disp-window):
4491 * epg.el (epg-wait-for-completion):
4492 * follow.el (follow-delete-other-windows-and-split)
4493 (follow-avoid-tail-recenter):
4494 * international/mule.el (set-terminal-coding-system):
4495 * mail/rmail.el (rmail-mail-return):
4496 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4497 * progmodes/f90.el (f90-add-imenu-menu):
4498 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4499 * server.el (server-switch-buffer):
4500 * simple.el (delete-completion-window):
4501 * talk.el (talk):
4502 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4503 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4504 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4505 * vc/ediff.el (ediff-documentation): Related users changed.
4506 * frame.el (selected-terminal): Remove the leftover.
4507
4508 2013-08-05 Glenn Morris <rgm@gnu.org>
4509
4510 * calendar/calendar.el (calendar-generate-month):
4511 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4512 (calendar-generate-month, calendar-font-lock-keywords):
4513 Fix for calendar-day-header-width > length of any day name.
4514
4515 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4516
4517 * desktop.el (desktop-clear): Use new name of sort predicate.
4518
4519 * frameset.el (frameset): Add docstring. Move :version property to its
4520 own `version' slot.
4521 (frameset-copy): Rename from copy-frameset.
4522 (frameset-p): Check more thoroughly.
4523 (frameset-prop): Do not check for :version, which is no longer a prop.
4524 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4525 Use new :never value instead of t.
4526 (frameset-filter-alist): Expand and clarify docstring.
4527 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4528 (frameset-filter-minibuffer, frameset-filter-save-param)
4529 (frameset-filter-restore-param, frameset-filter-iconified):
4530 Add pointer to docstring of frameset-filter-alist.
4531 (frameset-filter-params): Rename filter values to be more meaningful:
4532 :never instead of t, and reverse the meanings of :save and :restore.
4533 (frameset--process-minibuffer-frames): Clarify error message.
4534 (frameset-save): Avoid unnecessary and confusing call to framep.
4535 Use new BOA constructor for framesets.
4536 (frameset--reuse-list): Doc fix.
4537 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4538 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4539 (frameset-minibufferless-first-p): Doc fix.
4540 Rename from frameset-sort-frames-for-deletion.
4541 (frameset-restore): Doc fixes. Use new function names.
4542 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4543
4544 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4545
4546 * desktop.el (desktop-restore-forces-onscreen)
4547 (desktop-restore-reuses-frames): Document :keyword constant values.
4548 (desktop-filter-parameters-alist): Remove, now identical to
4549 frameset-filter-alist.
4550 (desktop--filter-tty*): Remove, moved to frameset.el.
4551 (desktop-save-frameset, desktop-restore-frameset):
4552 Do not pass :filters argument.
4553
4554 * frameset.el (frameset-live-filter-alist)
4555 (frameset-persistent-filter-alist): New variables.
4556 (frameset-filter-alist): Use them. Add autoload cookie.
4557 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4558 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4559 `frameset--id' (it's supposed to be internal to frameset.el).
4560 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4561 (frameset--initial-params): New function.
4562 (frameset--get-frame): Use it. Doc fix.
4563 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4564 Accept :all, not 'all.
4565 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4566 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4567 with fbound symbols. Fix frame id matching, and remove matching ids if
4568 the frame being restored is deleted. Obey :delete.
4569
4570 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4571
4572 * subr.el (macrop): New function.
4573 (text-clone--maintaining): New var.
4574 (text-clone--maintain): Rename from text-clone-maintain. Use it
4575 instead of inhibit-modification-hooks.
4576
4577 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4578 a proxy, so as handle autoloads and redefinitions of the target.
4579 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4580
4581 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4582 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4583 (pcase--mutually-exclusive-p): New function.
4584 (pcase--split-consp): Use it.
4585 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4586 mutually exclusive with the current predicate.
4587
4588 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4589 (edebug-macrop): Remove. Use `macrop' instead.
4590 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4591 (ad-macro-p):
4592 * eshell/esh-cmd.el (eshell-macrop):
4593 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4594
4595 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4596
4597 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4598 (advice-mapc): New function, using it.
4599 (advice-function-member-p): New function.
4600 (advice--normalize): Store the cdr in advice--saved-rewrite since
4601 that's the part that will be changed.
4602 (advice--symbol-function): New function.
4603 (advice-remove): Handle removal before the function is defined.
4604 Adjust to new advice--saved-rewrite.
4605 (advice-member-p): Use advice-function-member-p and
4606 advice--symbol-function.
4607
4608 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4609
4610 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4611 (frameset-filter-minibuffer): Doc fix.
4612 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4613 (frameset--set-id, frameset--process-minibuffer-frames)
4614 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4615 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4616
4617 * desktop.el (desktop-clear): Only delete frames when called
4618 interactively and desktop-restore-frames is non-nil. Doc fix.
4619 (desktop-read): Set desktop-saved-frameset to nil.
4620
4621 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4622
4623 * vc/vc.el (vc-ignore): Rewrite.
4624 (vc-default-ignore-completion-table):
4625 (vc--read-lines):
4626 (vc--add-line, vc--remove-regexp): New functions.
4627
4628 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4629 (vc-svn-ignore-completion-table): New function.
4630
4631 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4632 (vc-hg-ignore-completion-table):
4633 (vc-hg-find-ignore-file): New functions.
4634
4635 * vc/vc-git.el (vc-git-ignore): Rewrite.
4636 (vc-git-ignore-completion-table):
4637 (vc-git-find-ignore-file): New functions.
4638
4639 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4640
4641 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4642 (vc-bzr-ignore-completion-table):
4643 (vc-bzr-find-ignore-file): New functions.
4644
4645 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4646
4647 * frameset.el (frameset-prop): New function and setter.
4648 (frameset-save): Do not modify frame list passed by the caller.
4649
4650 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4651
4652 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4653
4654 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4655
4656 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4657 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4658
4659 * custom.el (custom-initialize-default, custom-initialize-set)
4660 (custom-initialize-reset, custom-initialize-changed): Affect the
4661 toplevel-default-value (bug#6275, bug#14586).
4662 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4663 for bug#6275.
4664
4665 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4666
4667 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4668 Add cl-def* expressions.
4669
4670 * frameset.el (frameset-filter-params): Fix order of arguments.
4671
4672 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4673
4674 Move code related to saving frames to frameset.el.
4675 * desktop.el: Require frameset.
4676 (desktop-restore-frames): Doc fix.
4677 (desktop-restore-reuses-frames): Rename from
4678 desktop-restoring-reuses-frames.
4679 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4680 (desktop-clear): Clear frames too.
4681 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4682 (desktop--filter-tty*, desktop-save, desktop-read):
4683 Use frameset functions.
4684 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4685 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4686 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4687 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4688 (desktop--process-minibuffer-frames, desktop-save-frames)
4689 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4690 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4691 (desktop--sort-states, desktop-restoring-frames-p)
4692 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4693 (desktop-restoring-frameset-p, desktop-restore-frameset)
4694 (desktop--check-dont-save, desktop-save-frameset): New functions.
4695 (desktop--app-id): New constant.
4696 (desktop-first-buffer, desktop-buffer-ok-count)
4697 (desktop-buffer-fail-count): Move before first use.
4698 * frameset.el: New file.
4699
4700 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4701
4702 * files.el: Use lexical-binding.
4703 (dir-locals-read-from-file): Remove unused `err' variable.
4704 (hack-dir-local-variables--warned-coding): New var.
4705 (hack-dir-local-variables): Use it to avoid repeated warnings.
4706 (make-backup-file-name--default-function): New function.
4707 (make-backup-file-name-function): Use it as default.
4708 (buffer-stale--default-function): New function.
4709 (buffer-stale-function): Use it as default.
4710 (revert-buffer-insert-file-contents--default-function): New function.
4711 (revert-buffer-insert-file-contents-function): Use it as default.
4712 (insert-directory): Avoid add-to-list.
4713
4714 * autorevert.el (auto-revert-handler): Simplify.
4715 Use buffer-stale--default-function.
4716
4717 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4718
4719 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4720
4721 * whitespace.el (whitespace-ensure-local-variables): New function.
4722 (whitespace-cleanup-region): Call it.
4723 (whitespace-turn-on): Call it.
4724
4725 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4726
4727 Complete file name handlers.
4728
4729 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4730 (tramp-handle-verify-visited-file-modtime)
4731 (tramp-handle-file-notify-rm-watch): New functions.
4732 (tramp-call-process): Do not bind `default-directory'.
4733
4734 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4735 Order alphabetically.
4736 [access-file, add-name-to-file, dired-call-process]:
4737 [dired-compress-file, file-acl, file-notify-rm-watch]:
4738 [file-ownership-preserved-p, file-selinux-context]:
4739 [make-directory-internal, make-symbolic-link, set-file-acl]:
4740 [set-file-selinux-context, set-visited-file-modtime]:
4741 [verify-visited-file-modtime]: Add handler.
4742 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4743
4744 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4745 [file-notify-add-watch, file-notify-rm-watch]:
4746 [set-file-times, set-visited-file-modtime]:
4747 [verify-visited-file-modtime]: Add handler.
4748 (with-tramp-gvfs-error-message)
4749 (tramp-gvfs-handle-set-visited-file-modtime)
4750 (tramp-gvfs-fuse-file-name): Remove.
4751 (tramp-gvfs-handle-file-notify-add-watch)
4752 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4753 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4754
4755 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4756 Order alphabetically.
4757 [file-notify-rm-watch ]: Use default Tramp handler.
4758 [executable-find]: Remove private handler.
4759 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4760 `default-directory'.
4761 (tramp-sh-handle-executable-find)
4762 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4763 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4764 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4765 Do not use `format' in `tramp-message'.
4766
4767 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4768 [file-notify-rm-watch, set-visited-file-modtime]:
4769 [verify-visited-file-modtime]: Add handler.
4770 (tramp-smb-call-winexe): Do not bind `default-directory'.
4771
4772 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4773
4774 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4775
4776 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4777
4778 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4779 use it.
4780 (log-view-diff-changeset): Same.
4781 (log-view-diff-common): Call backend command `previous-revision'
4782 to find out the previous revision, in both cases. Swap the
4783 variables `to' and `fr', so that `fr' usually refers to the
4784 earlier revision (Bug#14989).
4785
4786 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4787
4788 * ibuf-ext.el (ibuffer-filter-by-filename):
4789 Make it work with dired buffers too.
4790
4791 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4792
4793 * emacs-lisp/re-builder.el (reb-color-display-p):
4794 * files.el (save-buffers-kill-terminal):
4795 * net/browse-url.el (browse-url):
4796 * server.el (server-save-buffers-kill-terminal):
4797 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4798 Prefer nil to selected-frame for the first arg of frame-parameter.
4799
4800 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4801
4802 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4803
4804 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4805
4806 * minibuffer.el (completion--twq-all): Try and preserve each
4807 completion's case choice (bug#14907).
4808
4809 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4810
4811 * net/network-stream.el (open-network-stream): Mention the new
4812 :nogreeting parameter.
4813 (network-stream-open-starttls): Use the :nogreeting parameter
4814 (bug#14938).
4815
4816 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4817
4818 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4819 more natural than popping.
4820
4821 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4822 (shr-urlify): Highlight under mouse.
4823
4824 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4825
4826 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4827
4828 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4829
4830 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4831 buffer for output.
4832
4833 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4834 point-min==1. Fix search string. Fix parentheses missing.
4835
4836 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4837 assume point-min==1. Fix search string. Fix parentheses missing.
4838
4839 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4840
4841 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4842 buffer for output.
4843
4844 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4845
4846 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4847 initial frame is minibuffer-less. (Bug#14841)
4848
4849 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4850
4851 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4852 option.
4853
4854 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4855 (tramp-maybe-open-connection): Use it.
4856
4857 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4858
4859 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4860 minimal set of parameters passed when creating a frame, because
4861 the minibuffer status of a frame cannot be changed later.
4862
4863 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4864
4865 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4866 replace-regexp-in-string and inadvertent omissions in previous change.
4867 (todo-filter-items): Ensure only file names are comma-separated in
4868 name of filtered items buffer.
4869
4870 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4871
4872 * desktop.el: Optionally force offscreen frames back onscreen.
4873 (desktop-restoring-reuses-frames): New option.
4874 (desktop--compute-pos, desktop--move-onscreen): New functions.
4875 (desktop--make-frame): Use desktop--move-onscreen.
4876
4877 2013-07-27 Alan Mackenzie <acm@muc.de>
4878
4879 Fontify a Java generic method as a function.
4880 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4881 value to t.
4882
4883 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4884
4885 * calendar/todo-mode.el: Add command to rename todo files.
4886 (todo-rename-file): New command.
4887 (todo-key-bindings-t): Add key binding for it. Change the
4888 bindings of todo-filter-regexp-items(-multifile) to use `x'
4889 instead of `r', since the latter is better suited to the new
4890 renaming command.
4891
4892 2013-07-27 Alan Mackenzie <acm@muc.de>
4893
4894 Make Java try-with-resources statement parse properly.
4895 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4896 (c-block-stmt-1-2-key): New language constants/variables.
4897 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4898 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4899 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4900 with c-block-stmt-1-2-key.
4901
4902 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4903
4904 * desktop.el (desktop--make-frame): Apply most frame parameters after
4905 creating the frame to force (partially or totally) offscreen frames to
4906 be restored as such.
4907
4908 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4909
4910 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4911 (Bug#14948)
4912
4913 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4916 `base' arg of backtrace-frame.
4917
4918 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4919
4920 * simple.el (list-processes): Doc fix.
4921
4922 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4923
4924 * desktop.el (desktop--select-frame):
4925 Try harder to reuse existing frames.
4926
4927 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4928
4929 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4930 (edebug-eval): Use backtrace-eval.
4931 (edebug--display, edebug--recursive-edit): Don't let-bind the
4932 edebug-outer-* vars that keep track of variables we locally let-bind.
4933 (edebug-outside-excursion): Don't restore outside values of locally
4934 let-bound vars.
4935 (edebug--display): Use user-error.
4936 (cl-lexical-debug, cl-debug-env): Remove.
4937
4938 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4939
4940 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4941 are restored to be sure that they are visible before deleting any
4942 remaining ones.
4943
4944 2013-07-26 Matthias Meulien <orontee@gmail.com>
4945
4946 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4947 vc-print-root-log. (Bug#14948)
4948
4949 2013-07-26 Richard Stallman <rms@gnu.org>
4950
4951 Add aliases for encrypting mail.
4952 * epa.el (epa-mail-aliases): New option.
4953 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4954 Bind inhibit-read-only so read-only text doesn't ruin everything.
4955 (epa-mail-default-recipients): New subroutine broken out.
4956 Handle epa-mail-aliases.
4957
4958 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4959
4960 Add support for lexical variables to the debugger's `e' command.
4961 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4962 vars, except for debugger-outer-match-data.
4963 (debugger-frame-number): Move check for "on a function call" from
4964 callers into it. Add `skip-base' argument.
4965 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4966 (debugger-env-macro): Only reset the state stored in non-variables,
4967 i.e. current-buffer and match-data.
4968 (debugger-eval-expression): Rewrite using backtrace-eval.
4969 * subr.el (internal--called-interactively-p--get-frame): Remove.
4970 (called-interactively-p):
4971 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4972 `base' arg of backtrace-frame instead.
4973
4974 2013-07-26 Glenn Morris <rgm@gnu.org>
4975
4976 * align.el (align-regexp): Doc fix. (Bug#14857)
4977 (align-region): Explicit error if subexpression missing/does not match.
4978
4979 * simple.el (global-visual-line-mode):
4980 Do not duplicate the mode lighter. (Bug#14858)
4981
4982 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4983
4984 * window.el (display-buffer): In display-buffer bind
4985 split-window-keep-point to t, bug#14829.
4986
4987 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4988
4989 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4990 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4991 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4992 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4993 Change accordingly.
4994 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4995 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4996
4997 2013-07-25 Glenn Morris <rgm@gnu.org>
4998
4999 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5000
5001 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5002
5003 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5004 parameter to modify-frame-parameters if the value has not changed;
5005 this is a workaround for bug#14949.
5006 (desktop--make-frame): On cl-delete-if call, check parameter name,
5007 not full parameter.
5008
5009 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5010
5011 * vc/vc.el (vc-ignore): New function.
5012
5013 * vc/vc-svn.el (vc-svn-ignore): New function.
5014
5015 * vc/vc-hg.el (vc-hg-ignore): New function.
5016
5017 * vc/vc-git.el (vc-git-ignore): New function.
5018
5019 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5020 (vc-dir-ignore): New function.
5021
5022 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5023 (cvs-append-to-ignore): Move here from pcvs.el.
5024
5025 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5026
5027 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5028
5029 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5030
5031 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5032 (desktop-restore-frames): Warn when deleting an existing frame failed.
5033
5034 2013-07-24 Glenn Morris <rgm@gnu.org>
5035
5036 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5037
5038 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5039
5040 * filenotify.el (file-notify-supported-p):
5041 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5042 Remove functions.
5043
5044 * autorevert.el (auto-revert-use-notify):
5045 (auto-revert-notify-add-watch):
5046 * net/tramp.el (tramp-file-name-for-operation):
5047 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5048 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5049 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5050 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5051 Remove `file-notify-supported-p' entry.
5052
5053 2013-07-24 Glenn Morris <rgm@gnu.org>
5054
5055 * printing.el: Replace all uses of deleted ps-windows-system,
5056 ps-lp-system, ps-flatten-list with lpr- versions.
5057
5058 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5059
5060 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5061 checked with memq (bug#14935).
5062
5063 * files.el (revert-buffer-function): Use a non-nil default.
5064 (revert-buffer-preserve-modes): Declare var to
5065 provide access to the `preserve-modes' argument.
5066 (revert-buffer): Let-bind it.
5067 (revert-buffer--default): New function, extracted from revert-buffer.
5068
5069 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5070
5071 * lpr.el: Signal print errors more prominently.
5072 (print-region-function): Don't default to nil.
5073 (lpr-print-region): New function, extracted from print-region-1.
5074 Check lpr's return value and signal an error in case of problem.
5075 (print-region-1): Use it.
5076 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5077 versions instead.
5078 (ps-printer-name): Default to nil.
5079 (ps-printer-name-option): Default to lpr-printer-switch.
5080 (ps-print-region-function): Don't default to nil.
5081 (ps-postscript-code-directory): Simplify default.
5082 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5083 (ps-string-list, ps-eval-switch, ps-flatten-list)
5084 (ps-flatten-list-1): Remove.
5085 (ps-multibyte-buffer): Avoid setq.
5086 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5087 (print-region-function, ps-print-region-function): Don't set them here.
5088
5089 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5090
5091 * ido.el (ido-fractionp):
5092 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5093 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5094 (ido-max-directory-size, ido-max-dir-file-cache)
5095 (ido-decorations): Doc fix.
5096
5097 * ansi-color.el: Fix old URL.
5098
5099 2013-07-23 Michael R. Mauger <michael@mauger.com>
5100
5101 * progmodes/sql.el: Version 3.3
5102 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5103 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5104 (sql-interactive-remove-continuation-prompt): Rewrite, use
5105 functions above. Fix continuation prompt and complete output line
5106 handling.
5107 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5108 redirected output buffer.
5109 (sql-mode): Restore deleted code (Bug#13591).
5110
5111 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5112
5113 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5114
5115 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5116
5117 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5118
5119 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5120 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5121 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5122
5123 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5124
5125 * desktop.el (desktop-clear): Simplify; remove useless checks
5126 against invalid buffer names.
5127 (desktop-list*): Use cl-list*.
5128 (desktop-buffer-info, desktop-create-buffer): Simplify.
5129
5130 2013-07-23 Leo Liu <sdl.web@gmail.com>
5131
5132 * bookmark.el (bookmark-make-record): Restore NAME as a default
5133 value. (Bug#14933)
5134
5135 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5136
5137 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5138 extracted from autoload--insert-text.
5139 (autoload--insert-text): Remove.
5140 (autoload--print-cookie-text): New function, extracted from
5141 autoload--insert-cookie-text.
5142 (autoload--insert-cookie-text): Remove.
5143 (autoload-generate-file-autoloads): Adjust calls accordingly.
5144
5145 * winner.el (winner-hook-installed-p): Remove.
5146 (winner-mode): Simplify accordingly.
5147
5148 * subr.el (add-to-list): Fix compiler-macro when `append' is
5149 not constant. Don't use `cl-member' for the base case.
5150
5151 * progmodes/subword.el: Fix boundary case (bug#13758).
5152 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5153 own group.
5154 (subword-backward-regexp): Make it a constant.
5155 (subword-forward-internal): Don't treat a trailing capital as the
5156 beginning of a word.
5157
5158 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5159
5160 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5161 global value of tabulated-list-revert-hook (bug#14930).
5162
5163 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5164
5165 * desktop.el: Require 'cl-lib.
5166 (desktop-before-saving-frames-functions): New hook.
5167 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5168 for frames being saved. Rename from desktop--save-minibuffer-frames.
5169 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5170 Do not save frames with non-nil `desktop-dont-save' parameter.
5171 Filter out deleted frames.
5172 (desktop--find-frame): Use cl-find-if.
5173 (desktop--select-frame): Use cl-(first|second|third) to access values
5174 of desktop-mini.
5175 (desktop--make-frame): Use cl-delete-if.
5176 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5177 (desktop-restore-frames): Use cl-(first|second|third) to access values
5178 of desktop-mini. Look for visible frame at the end, not while
5179 restoring frames.
5180
5181 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5182 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5183 Use string-match-p, looking-at-p (bug#14927).
5184
5185 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5186
5187 * desktop.el (desktop-saved-frame-states):
5188 Rename from desktop--saved-states; all users changed.
5189 (desktop-save-frames): Rename from desktop--save-frames.
5190 Do not save state to desktop file.
5191 (desktop-save): Save desktop-saved-frame-states to desktop file
5192 and reset to nil.
5193 (desktop-restoring-frames-p): New function.
5194 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5195 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5196 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5197
5198 * desktop.el: Correctly restore iconified frames.
5199 (desktop--filter-iconified-position): New function.
5200 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5201
5202 2013-07-20 Glenn Morris <rgm@gnu.org>
5203
5204 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5205 Let `message' do the formatting.
5206 (def-gdb-preempt-display-buffer): Add explicit format.
5207
5208 * image-dired.el (image-dired-track-original-file):
5209 Use with-current-buffer.
5210 (image-dired-track-thumbnail): Use with-current-buffer.
5211 Avoid changing point of wrong window.
5212
5213 * image-dired.el (image-dired-track-original-file):
5214 Avoid changing point of wrong window. (Bug#14909)
5215
5216 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5217
5218 * progmodes/gdb-mi.el (gdb-done-or-error):
5219 Guard against "%" in gdb output. (Bug#14127)
5220
5221 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5222
5223 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5224 (Bug#14826)
5225
5226 * international/mule.el (coding-system-iso-2022-flags): Fix last
5227 change.
5228
5229 2013-07-20 Kenichi Handa <handa@gnu.org>
5230
5231 * international/mule.el (coding-system-iso-2022-flags):
5232 Add `8-bit-level-4'. (Bug#8522)
5233
5234 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5235
5236 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5237 (bug#14815).
5238
5239 * net/eww.el (eww-process-text-input): Allow inputting when the
5240 point is at the start of the line, as the properties aren't
5241 front-sticky.
5242
5243 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5244 degenerate widths.
5245
5246 2013-07-19 Richard Stallman <rms@gnu.org>
5247
5248 * epa.el (epa-popup-info-window): Doc fix.
5249
5250 * subr.el (split-string): New arg TRIM.
5251
5252 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5253
5254 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5255 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5256
5257 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5258
5259 * filenotify.el (file-notify--library): Rename from
5260 `file-notify-support'. Do not autoload. Adapt all uses.
5261 (file-notify-supported-p): New defun.
5262
5263 * autorevert.el (auto-revert-use-notify):
5264 Use `file-notify-supported-p' instead of `file-notify-support'.
5265 Adapt docstring.
5266 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5267
5268 * net/tramp.el (tramp-file-name-for-operation):
5269 Add `file-notify-supported-p'.
5270
5271 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5272 New defun.
5273 (tramp-sh-file-name-handler-alist): Add it as handler for
5274 `file-notify-supported-p '.
5275
5276 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5277 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5278 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5279 Add `ignore' as handler for `file-notify-*' functions.
5280
5281 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5282
5283 * simple.el (line-move-partial, line-move): Don't start vscroll or
5284 scroll-up if the current line is not taller than the window.
5285 (Bug#14881)
5286
5287 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5288
5289 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5290 highlight question marks in the method names as strings.
5291 (ruby-block-beg-keywords): Inline.
5292 (ruby-font-lock-keyword-beg-re): Extract from
5293 `ruby-font-lock-keywords'.
5294
5295 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5296
5297 * frame.el (blink-cursor-blinks): New defcustom.
5298 (blink-cursor-blinks-done): New defvar.
5299 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5300 (blink-cursor-timer-function): Check if number of blinks has been
5301 done on X and NS.
5302 (blink-cursor-suspend, blink-cursor-check): New defuns.
5303
5304 2013-07-15 Glenn Morris <rgm@gnu.org>
5305
5306 * edmacro.el (edmacro-format-keys): Fix previous change.
5307
5308 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5309
5310 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5311 The hack didn't work outside English locales anyway.
5312
5313 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5314
5315 * simple.el (define-alternatives): Rename from alternatives-define,
5316 per RMS' suggestion.
5317
5318 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5319
5320 * desktop.el (desktop-restore-frames): Change default to t.
5321 (desktop-restore-in-current-display): Now offer more options.
5322 (desktop-restoring-reuses-frames): New customization option.
5323 (desktop--saved-states): Doc fix.
5324 (desktop-filter-parameters-alist): New variable, renamed and expanded
5325 from desktop--excluded-frame-parameters.
5326 (desktop--target-display): New variable.
5327 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5328 (desktop--filter-tty*, desktop--filter-*-color)
5329 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5330 (desktop--filter-save-desktop-parm)
5331 (desktop-restore-in-original-display-p): New functions.
5332 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5333 (desktop--save-minibuffer-frames): New function, inspired by a similar
5334 function from Martin Rudalics.
5335 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5336 (desktop--restore-in-this-display-p): Remove.
5337 (desktop--find-frame): Rename from desktop--find-frame-in-display
5338 and add predicate argument.
5339 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5340 (desktop--reuse-list): New variable.
5341 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5342 New functions.
5343 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5344
5345 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5346
5347 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5348
5349 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5350
5351 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5352 Highlight conversion methods on Kernel.
5353
5354 2013-07-13 Alan Mackenzie <acm@muc.de>
5355
5356 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5357 and comment it out. This out-commenting enables certain C++
5358 declarations to be parsed correctly.
5359
5360 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5361
5362 * international/mule.el (define-coding-system): Doc fix.
5363
5364 * simple.el (default-font-height): Don't call font-info if the
5365 frame's default font didn't change since the frame was created.
5366 (Bug#14838)
5367
5368 2013-07-13 Leo Liu <sdl.web@gmail.com>
5369
5370 * ido.el (ido-read-file-name): Guard against non-symbol value.
5371
5372 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5373
5374 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5375 in nested defuns.
5376
5377 2013-07-13 Leo Liu <sdl.web@gmail.com>
5378
5379 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5380 ido-set-matches call. (Bug#6852)
5381
5382 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5383
5384 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5385 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5386 Ruby 2.0.
5387 (ruby-font-lock-keywords): Distinguish calls to functions with
5388 module-like names from module references. Highlight character
5389 literals.
5390
5391 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5392
5393 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5394 (gdb-send): Handle continued commands. (Bug#14847)
5395
5396 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5397
5398 * desktop.el (desktop--v2s): Remove unused local variable.
5399 (desktop-save-buffer): Make defvar-local; adjust docstring.
5400 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5401 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5402
5403 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5404
5405 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5406
5407 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5408
5409 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5410 (Bug#14842)
5411
5412 2013-07-12 Glenn Morris <rgm@gnu.org>
5413
5414 * doc-view.el: Require cl-lib at runtime too.
5415 (doc-view-remove-if): Remove.
5416 (doc-view-search-next-match, doc-view-search-previous-match):
5417 Use cl-remove-if.
5418
5419 * edmacro.el: Require cl-lib at runtime too.
5420 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5421 (edmacro-mismatch, edmacro-subseq): Remove.
5422
5423 * shadowfile.el: Require cl-lib.
5424 (shadow-remove-if): Remove.
5425 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5426 Use cl-remove-if.
5427
5428 * wid-edit.el: Require cl-lib.
5429 (widget-choose): Use cl-remove-if.
5430 (widget-remove-if): Remove.
5431
5432 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5433 (ebrowse-delete-if-not): Remove.
5434 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5435 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5436 Use cl-delete-if-not.
5437
5438 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5439
5440 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5441 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5442
5443 2013-07-12 Leo Liu <sdl.web@gmail.com>
5444
5445 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5446
5447 2013-07-11 Glenn Morris <rgm@gnu.org>
5448
5449 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5450 (edebug-gensym-index, edebug-gensym):
5451 Remove reimplementation of cl-gensym.
5452 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5453
5454 * thumbs.el: Require cl-lib at run-time too.
5455 (thumbs-gensym-counter, thumbs-gensym):
5456 Remove reimplementation of cl-gensym.
5457 (thumbs-temp-file): Use cl-gensym.
5458
5459 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5460 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5461 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5462 (ert--union, ert--gensym-counter, ert--gensym-counter)
5463 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5464 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5465 (ert-make-test-unbound, ert--expand-should-1)
5466 (ert--expand-should, ert--should-error-handle-error)
5467 (should-error, ert--explain-equal-rec)
5468 (ert--plist-difference-explanation, ert-select-tests)
5469 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5470 Use cl-lib functions rather than reimplementations.
5471
5472 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5473
5474 * net/tramp.el (tramp-methods): Extend docstring.
5475 (tramp-connection-timeout): New defcustom.
5476 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5477 (with-tramp-progress-reporter): Simplify.
5478 (tramp-process-actions): Improve messages.
5479
5480 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5481 * net/tramp-sh.el (tramp-maybe-open-connection):
5482 Use `tramp-connection-timeout'.
5483 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5484 (Bug#14808)
5485
5486 2013-07-11 Leo Liu <sdl.web@gmail.com>
5487
5488 * ido.el (ido-read-file-name): Conform to the requirements of
5489 read-file-name. (Bug#11861)
5490 (ido-read-directory-name): Conform to the requirements of
5491 read-directory-name.
5492
5493 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5494
5495 * subr.el (delay-warning): New function.
5496
5497 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5498
5499 * simple.el (default-line-height): New function.
5500 (line-move-partial, line-move): Use it instead of computing the
5501 line height inline.
5502 (line-move-partial): Always compute ROWH. If the last line is
5503 partially-visible, but its text is completely visible, allow
5504 cursor to enter such a partially-visible line.
5505
5506 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5507
5508 Improve error messages. (Bug#14808)
5509
5510 * net/tramp.el (tramp-current-connection): New defvar, moved from
5511 tramp-sh.el.
5512 (tramp-message-show-progress-reporter-message): Remove, not
5513 needed anymore.
5514 (tramp-error-with-buffer): Show message in minibuffer.
5515 Discard input before waiting. Reset connection timestamp.
5516 (with-tramp-progress-reporter): Improve messages.
5517 (tramp-process-actions): Use progress reporter. Delete process in
5518 case of error. Improve messages.
5519
5520 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5521 Call `tramp-error-with-buffer' with vector and buffer.
5522 (tramp-current-connection): Remove.
5523 (tramp-maybe-open-connection): The car of
5524 `tramp-current-connection' are the first 3 slots of the vector.
5525
5526 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5527
5528 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5529 inside continued strings.
5530
5531 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5532
5533 Timestamp fixes for undo (Bug#14824).
5534 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5535
5536 2013-07-10 Leo Liu <sdl.web@gmail.com>
5537
5538 * files.el (require-final-newline): Allow safe local value.
5539 (Bug#14834)
5540
5541 2013-07-09 Leo Liu <sdl.web@gmail.com>
5542
5543 * ido.el (ido-read-directory-name): Handle fallback.
5544 (ido-read-file-name): Update DIR to ido-current-directory.
5545 (Bug#1516)
5546 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5547
5548 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5549
5550 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5551 "autoload". Remove "warn lower camel case" section, previously
5552 commented out. Highlight negation char. Do not highlight the
5553 target in singleton method definitions.
5554
5555 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5556
5557 * faces.el (tty-setup-hook): Declare the hook.
5558
5559 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5560 and detect when a guard/pred depends on local vars (bug#14773).
5561 (pcase--u1): Adjust caller.
5562
5563 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5564
5565 * simple.el (line-move-partial, line-move): Account for
5566 line-spacing.
5567 (line-move-partial): Avoid setting vscroll when the last
5568 partially-visible line in window is of default height.
5569
5570 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5571
5572 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5573 been used a while.
5574
5575 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5576
5577 * subr.el (read-quoted-char): Remove unused local variable `char'.
5578
5579 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5580
5581 * ediff.el (ediff-version): Version update.
5582 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5583 (ediff-merge-with-ancestor-command, ediff-directories-command)
5584 (ediff-directories3-command, ediff-merge-directories-command)
5585 (ediff-merge-directories-with-ancestor-command): New functions.
5586 All are command-line interfaces to ediff: to facilitate calling
5587 Emacs with the appropriate ediff functions invoked.
5588
5589 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5590 (viper-save-kill-buffer): Check if buffer is modified.
5591
5592 * viper.el (viper-version): Version update.
5593 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5594
5595 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5596
5597 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5598 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5599 (viper-intercept-ESC-key): Simplify.
5600 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5601 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5602 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5603 (viper-setup-ESC-to-escape): New functions.
5604 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5605 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5606
5607 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5608
5609 * simple.el (default-font-height, window-screen-lines):
5610 New functions.
5611 (line-move, line-move-partial): Use them instead of
5612 frame-char-height and window-text-height. This makes scrolling
5613 text smoother when the buffer's default face uses a font that is
5614 different from the frame's default font.
5615
5616 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5617
5618 * files.el (write-file): Do not display confirm dialog for NS,
5619 it does its own dialog, which can't be cancelled (Bug#14578).
5620
5621 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5622
5623 * simple.el (line-move-partial): Adjust the row returned by
5624 posn-at-point for the current window-vscroll. (Bug#14567)
5625
5626 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5627
5628 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5629 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5630 spaces.
5631
5632 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5633
5634 * window.el (window-state-put-stale-windows): New variable.
5635 (window--state-put-2): Save list of windows without matching buffer.
5636 (window-state-put): Remove "bufferless" windows if possible.
5637
5638 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5639
5640 * simple.el (alternatives-define): Remove leftover :group keyword.
5641 Tweak docstring.
5642
5643 2013-07-06 Leo Liu <sdl.web@gmail.com>
5644
5645 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5646 (ido-enable-virtual-buffers): New variable.
5647 (ido-buffer-internal, ido-toggle-virtual-buffers)
5648 (ido-make-buffer-list): Use it.
5649 (ido-exhibit): Support turning on and off virtual buffers
5650 automatically.
5651
5652 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5653
5654 * simple.el (alternatives-define): New macro.
5655
5656 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5657
5658 * subr.el (read-quoted-char): Use read-key.
5659 (sit-for): Let read-event decode tty input (bug#14782).
5660
5661 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5662
5663 * calendar/todo-mode.el: Add handling of file deletion, both by
5664 mode command and externally. Fix various related bugs.
5665 Clarify Commentary and improve some documentation strings and code.
5666 (todo-delete-file): New command.
5667 (todo-check-file): New function.
5668 (todo-show): Handle external deletion of the file we're trying to
5669 show (bug#14688). Replace called-interactively-p by an optional
5670 prefix argument to avoid problematic interaction with catch form
5671 when byte compiled (bug#14702).
5672 (todo-quit): Handle external deletion of the archive's todo file.
5673 Make sure the buffer that was visiting the archive file is still
5674 live before trying to bury it.
5675 (todo-category-completions): Handle external deletion of any
5676 category completion files.
5677 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5678 of todo files, in case of external deletion.
5679 (todo-add-file): Replace unnecessary setq by let-binding.
5680 (todo-find-archive): Check whether there are any archives.
5681 Replace unnecessary setq by let-binding.
5682 (todo-archive-done-item): Use find-file-noselect to get the
5683 archive buffer whether or not the archive already exists.
5684 Remove superfluous code. Use file size instead of buffer-file-name to
5685 check if the archive is new; if it is, update list of archives.
5686 (todo-default-todo-file): Allow nil to be a valid value for when
5687 there are no todo files.
5688 (todo-reevaluate-default-file-defcustom): Use corrected definition
5689 of todo-default-todo-file.
5690 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5691 (todo-delete-category, todo-show-categories-table)
5692 (todo-category-number): Clarify comment.
5693 (todo-filter-items): Clarify documentation string.
5694 (todo-show-current-file, todo-display-as-todo-file)
5695 (todo-reset-and-enable-done-separator): Tweak documentation string.
5696 (todo-done-separator): Make separator length window-width, since
5697 bug#2749 is now fixed.
5698
5699 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5700
5701 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5702 Support both "gvfs-monitor-dir" and "inotifywait".
5703 (tramp-sh-file-inotifywait-process-filter): Rename from
5704 `tramp-sh-file-notify-process-filter'.
5705 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5706 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5707
5708 2013-07-05 Leo Liu <sdl.web@gmail.com>
5709
5710 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5711
5712 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5713
5714 * frame.el (display-pixel-height, display-pixel-width)
5715 (display-mm-height, display-mm-width): Mention behavior on
5716 multi-monitor setups in docstrings.
5717 (w32-display-monitor-attributes-list): Declare function.
5718 (display-monitor-attributes-list): Use it.
5719
5720 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5721
5722 * filenotify.el: New package.
5723
5724 * autorevert.el (top): Require filenotify.el.
5725 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5726 instead.
5727 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5728 (auto-revert-notify-handler): Use `file-notify-*' functions.
5729
5730 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5731
5732 * net/tramp.el (tramp-file-name-for-operation):
5733 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5734
5735 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5736 for `file-notify-add-watch' and `file-notify-rm-watch'.
5737 (tramp-process-sentinel): Improve trace.
5738 (tramp-sh-handle-file-notify-add-watch)
5739 (tramp-sh-file-notify-process-filter)
5740 (tramp-sh-handle-file-notify-rm-watch)
5741 (tramp-get-remote-inotifywait): New defuns.
5742
5743 2013-07-03 Juri Linkov <juri@jurta.org>
5744
5745 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5746 call of `occur-read-primary-args' to interactive spec.
5747
5748 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5749 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5750
5751 2013-07-03 Matthias Meulien <orontee@gmail.com>
5752
5753 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5754 `Buffer-menu-multi-occur'. Add it to the menu.
5755 (Buffer-menu-mode): Document it in docstring.
5756 (Buffer-menu-multi-occur): New command. (Bug#14673)
5757
5758 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5759
5760 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5761 keywords and built-ins.
5762
5763 2013-07-03 Glenn Morris <rgm@gnu.org>
5764
5765 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5766
5767 Make info-xref checks case-sensitive by default
5768 * info.el (Info-find-node, Info-find-in-tag-table)
5769 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5770 Add option for exact case matching of nodes.
5771 * info-xref.el (info-xref): New custom group.
5772 (info-xref-case-fold): New option.
5773 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5774
5775 2013-07-03 Leo Liu <sdl.web@gmail.com>
5776
5777 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5778
5779 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5780
5781 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5782 middle of block statement initially, lower the depth. Remove
5783 FIXME comment, not longer valid. Remove middle of block statement
5784 detection, no need to do that anymore since we've been using
5785 `ruby-parse-region' here.
5786
5787 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5788
5789 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5790
5791 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5792
5793 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5794
5795 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5796
5797 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5798 (desktop-restore-in-current-display): New customization option.
5799 (desktop--excluded-frame-parameters): Add `font'.
5800 (desktop--save-frames): Rename from desktop--save-windows.
5801 (desktop--restore-in-this-display-p): New function.
5802 (desktop--make-full-frame): Remove unwanted width/height from
5803 full(width|height) frames.
5804 (desktop--restore-frames): Rename from desktop--restore-windows.
5805 Obey desktop-restore-current-display. Do not delete old frames or
5806 select a new frame unless we were able to restore at least one frame.
5807
5808 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5809
5810 * files.el (find-file-noselect): Simplify conditional expression.
5811
5812 * remember.el (remember-append-to-file):
5813 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5814
5815 Add `remember-notes' function to store random notes across Emacs
5816 restarts.
5817 * remember.el (remember-data-file): Add :set callback to affect
5818 notes buffer (if any).
5819 (remember-notes): New command.
5820 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5821 New defcustoms for the `remember-notes' function.
5822 (remember-notes-save-and-bury-buffer): New command.
5823 (remember-notes-mode-map): New variable.
5824 (remember-mode): New minor mode.
5825 (remember-notes--kill-buffer-query): New function.
5826 * startup.el (initial-buffer-choice): Add notes to custom type.
5827
5828 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5829
5830 * bindings.el (right-char, left-char): Don't call sit-for, this is
5831 no longer needed. Use arithmetic comparison only for numerical
5832 arguments.
5833
5834 * international/mule-cmds.el (select-safe-coding-system):
5835 Handle the case of FROM being a string correctly. (Bug#14755)
5836
5837 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5838
5839 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5840 progression on degenerate tables.
5841 (shr-rescale-image): ImageMagick animated images currently don't work.
5842
5843 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5844
5845 Some fixes and improvements for desktop frame restoration.
5846 It is still experimental and disabled by default.
5847 * desktop.el (desktop--save-windows): Put the selected frame at
5848 the head of the list.
5849 (desktop--make-full-frame): New function.
5850 (desktop--restore-windows): Try to re-select the frame that was
5851 selected upon saving. Do not abort if some frames fail to restore,
5852 just show an error message and continue. Set up maximized frames
5853 so they have default non-maximized dimensions.
5854
5855 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5856
5857 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5858 Don't start heredoc inside a string or comment.
5859
5860 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5861
5862 * bindings.el (visual-order-cursor-movement): New defcustom.
5863 (right-char, left-char): Provide visual-order cursor motion by
5864 calling move-point-visually. Update the doc strings.
5865
5866 2013-06-28 Kenichi Handa <handa@gnu.org>
5867
5868 * international/mule.el (define-coding-system): New coding system
5869 properties :inhibit-null-byte-detection,
5870 :inhibit-iso-escape-detection, and :prefer-utf-8.
5871 (set-buffer-file-coding-system): If :charset-list property of
5872 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5873 appropriate for setting.
5874
5875 * international/mule-cmds.el (select-safe-coding-system):
5876 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5877 multibyte characters, return utf-8 (or one of its siblings).
5878
5879 * international/mule-conf.el (prefer-utf-8): New coding system.
5880 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5881 files.
5882
5883 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5884
5885 * net/shr.el (shr-render-region): New function.
5886
5887 * net/eww.el: Autoload `eww-browse-url'.
5888
5889 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5890
5891 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5892 Adapt to `package-desc-version' being a list.
5893 Use `package--ac-desc-version' to retrieve version from a package
5894 archive element.
5895
5896 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5897
5898 New experimental feature to save&restore window and frame setup.
5899 * desktop.el (desktop-save-windows): New defcustom.
5900 (desktop--saved-states): New var.
5901 (desktop--excluded-frame-parameters): New defconst.
5902 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5903 (desktop--restore-windows, desktop--save-windows): New functions.
5904 (desktop-save): Call `desktop--save-windows'.
5905 (desktop-read): Call `desktop--restore-windows'.
5906
5907 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5908
5909 * net/shr.el (add-face-text-property): Remove compat definition.
5910
5911 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5912
5913 * info.el (Info-try-follow-nearest-node): Move search for footnote
5914 above search for node name to prevent missing a footnote (bug#14717).
5915
5916 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5917
5918 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5919
5920 2013-06-27 Leo Liu <sdl.web@gmail.com>
5921
5922 * net/eww.el (eww-read-bookmarks): Check file size.
5923
5924 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5925
5926 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5927 advice--pending if newdef is nil or an autoload (bug#13820).
5928 (advice-mapc): New function.
5929
5930 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5931
5932 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5933 probably.
5934 (eww-mode-map): Add a menu bar.
5935 (eww-add-bookmark): New command.
5936 (eww-bookmark-mode): New mode and commands.
5937 (eww-add-bookmark): Remove newlines from the title.
5938 (eww-bookmark-browse): Don't bug out if it's the only window.
5939
5940 2013-06-26 Glenn Morris <rgm@gnu.org>
5941
5942 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5943 (hfy-size): Handle ttys. (Bug#14668)
5944
5945 * info-xref.el: Update for Texinfo 5 change in *note format.
5946 (info-xref-node-re, info-xref-note-re): New constants.
5947 (info-xref-check-buffer): Use info-xref-note-re.
5948
5949 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5950
5951 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5952
5953 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5954 nil terminate the loop (bug#14718).
5955
5956 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5957
5958 * net/eww.el: Rework history traversal. When going forward/back,
5959 put these actions into the history, too, so that they can be
5960 replayed.
5961 (eww-render): Move the history reset to the correct buffer.
5962
5963 2013-06-25 Juri Linkov <juri@jurta.org>
5964
5965 * files-x.el (modify-dir-local-variable): Change the header comment
5966 in the file with directory local variables. (Bug#14692)
5967
5968 * files-x.el (read-file-local-variable-value): Add `default'.
5969 (Bug#14710)
5970
5971 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5972
5973 * net/eww.el (eww-make-unique-file-name): Create a unique file
5974 name before saving to entering `y' accidentally asynchronously.
5975
5976 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5977
5978 * net/eww.el (eww-download): New command and keystroke.
5979
5980 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5981
5982 * net/eww.el (eww-copy-page-url): Change name of command.
5983
5984 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5985 be more consistent with Info and dired.
5986
5987 * net/eww.el (eww-mode-map): Ditto.
5988
5989 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5990
5991 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5992 packages from archives.
5993 (package-archive-contents): Change format; include obsolete packages.
5994 (package-desc): Use `dir' to mark builtin packages.
5995 (package--from-builtin): Set the `dir' field to `builtin'.
5996 (generated-autoload-file, version-control): Declare.
5997 (package-compute-transaction): Change first arg and return value to be
5998 lists of package-descs. Adjust to new package-archive-contents format.
5999 (package--add-to-archive-contents): Adjust to new
6000 package-archive-contents format.
6001 (package-download-transaction): Arg is now a list of package-descs.
6002 (package-install): If `pkg' is a package name, pass it as
6003 a requirement, so it is subject to the usual (e.g. disabled) checks.
6004 (describe-package): Accept package-desc as well.
6005 (describe-package-1): Describe a specific package-desc. Add links to
6006 other package-descs for the same package name.
6007 (package-menu-describe-package): Pass the actual package-desc.
6008 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6009 works correctly.
6010 (package-desc-status): New function.
6011 (package-menu--refresh): New function, extracted
6012 from package-menu--generate.
6013 (package-menu--generate): Use it.
6014 (package-delete): Update package-alist.
6015 (package-menu-execute): Don't call package-initialize.
6016
6017 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6018 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6019 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6020 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6021 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6022 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6023
6024 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6025
6026 * window.el (window--state-get-1): Workaround for bug#14527.
6027 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6028
6029 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6030
6031 * net/eww.el (eww-back-url): Implement the history by stashing all
6032 the data into a list.
6033 (eww-forward-url): Allow going forward in the history, too.
6034
6035 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6036
6037 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6038 for values and use read--expression for expressions (bug#14710).
6039 (read-file-local-variable): Avoid setq.
6040 (read-file-local-variable-mode): Use minor-mode-list.
6041
6042 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6043
6044 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6045 for DOI URLs.
6046
6047 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6048
6049 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6050 Update imenu-support when dialect changes.
6051
6052 2013-06-25 Leo Liu <sdl.web@gmail.com>
6053
6054 * ido.el (ido-read-internal): Allow forward slash on windows.
6055
6056 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6057
6058 * net/eww.el (eww): Start of strings is \\`, not ^.
6059
6060 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6061
6062 * net/shr.el (shr-browse-url): Fix interactive spec.
6063
6064 * net/eww.el (eww): Add a trailing slash to domain names.
6065
6066 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6067
6068 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6069
6070 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6071
6072 * net/shr.el (shr-browse-url): Use an external browser if given a
6073 prefix.
6074
6075 * net/eww.el (eww-external-browser): Move to shr.
6076
6077 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6078
6079 * net/eww.el (eww): Work more correctly for file: URLs.
6080 (eww-detect-charset): Allow quoted charsets.
6081 (eww-yank-page-url): New command and keystroke.
6082
6083 2013-06-24 Daiki Ueno <ueno@gnu.org>
6084
6085 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6086 file name of gpg executable.
6087 (epg-context-program): New function.
6088 (epg-context-home-directory): New function.
6089 (epg-context-set-program): New function.
6090 (epg-context-set-home-directory): New function.
6091 (epg--start): Use `epg-context-program' instead of
6092 'epg-gpg-program'.
6093 (epg--list-keys-1): Likewise.
6094
6095 2013-06-24 Leo Liu <sdl.web@gmail.com>
6096
6097 * ido.el (ido-read-internal): Fix bug#14620.
6098
6099 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6100
6101 * faces.el (face-documentation): Simplify.
6102 (read-face-attribute, tty-find-type, x-resolve-font-name):
6103 Use `string-match-p'.
6104 (list-faces-display): Use `string-match-p'. Simplify.
6105 (face-spec-recalc): Check face to avoid face alias loops.
6106 (read-color): Use `string-match-p' and non-capturing parenthesis.
6107
6108 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6109
6110 * net/shr.el (shr-rescale-image): Use the new
6111 :max-width/:max-height functionality.
6112
6113 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6114
6115 * net/eww.el (eww-search-prefix): New variable.
6116 (eww): Use it.
6117 (eww-external-browser): New variable.
6118 (eww-mode-map): New keystroke.
6119 (eww-browse-with-external-browser): New command.
6120
6121 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6122
6123 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6124
6125 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6126 Don't skip aligning the next header field when padding is 0;
6127 otherwise, field width is not respected unless the title is as
6128 wide as the field.
6129
6130 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6131
6132 * emacs-lisp/package.el (package-el-version): Remove.
6133 (package-process-define-package): Fix inf-loop.
6134 (package-install): Allow symbols as arguments again.
6135
6136 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6137
6138 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6139 add some more keyword-like methods.
6140 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6141
6142 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6143
6144 * bs.el (bs-buffer-show-mark): Make defvar-local.
6145 (bs-mode): Use setq-local.
6146
6147 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6148 (emacs-lock--try-unlocking): Make defvar-local.
6149
6150 2013-06-22 Glenn Morris <rgm@gnu.org>
6151
6152 * play/cookie1.el (cookie-apropos): Minor simplification.
6153
6154 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6155
6156 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6157
6158 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6159 `regexp-opt', it breaks the build during dumping.
6160
6161 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6162
6163 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6164 Highlight keyword-like methods on Kernel and Module with
6165 font-lock-builtin-face.
6166 (auto-mode-alist): Consolidate different entries into one regexp
6167 and add more *file-s.
6168
6169 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6170
6171 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6172
6173 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6174 (diary-entry): Use it in the action of this button type instead of
6175 diary-goto-entry.
6176
6177 * calendar/todo-mode.el: New version.
6178 (todo-add-category): Append new category to end of file and give
6179 it the highest number, instead of putting it at the beginning and
6180 giving it 0. Incorporate noninteractive functionality.
6181 (todo-forward-category): Adapt to 1-based category numbering.
6182 Allow skipping over archived categories.
6183 (todo-backward-category): Derive from todo-forward-category.
6184 (todo-backward-item, todo-forward-item): Make noninteractive and
6185 delegate interactive part to new commands. Make sensitive to done items.
6186 (todo-categories): Make value an alist of category names and
6187 vectors of item counts.
6188 (todo-category-beg): Make a defconst.
6189 (todo-category-number): Use 1 instead of 0 as initial value.
6190 (todo-category-select): Make sensitive to overlays, optional item
6191 highlighting and done items.
6192 (todo-delete-item): Make sensitive to overlays and marked and done items.
6193 (todo-edit-item): Make sensitive to overlays and editing of
6194 date/time header optional. Add format checks.
6195 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6196 no-op if point is not on an item. Advertise using todo-edit-quit.
6197 (todo-edit-mode): Make sensitive to new format, font-locking, and
6198 multiple todo files.
6199 (todo-insert-item, todo-insert-item-here): Derive from
6200 todo-basic-insert-item and extend functionality.
6201 (todo-item-end, todo-item-start): Make sensitive to done items.
6202 (todo-item-string): Don't return text properties. Restore point.
6203 (todo-jump-to-category): Make sensitive to multiple todo files and
6204 todo archives. Use extended category completion.
6205 (todo-lower-item, todo-raise-item): Rename to *-priority and
6206 derive from todo-set-item-priority.
6207 (todo-mode): Derive from special-mode. Make sensitive to new
6208 format, font-locking and multiple todo files. Make read-only.
6209 (todo-mode-map): Don't suppress digit keys, so they can supply
6210 prefix arguments. Add many new key bindings.
6211 (todo-prefix): Insert as an overlay instead of file text.
6212 Change semantics from diary date expression to purely visual mark.
6213 (todo-print): Rename to todo-print-buffer. Make buffer display
6214 features printable. Remove option to restrict number of items
6215 printed. Add option to print to file.
6216 (todo-print-function): Rename to todo-print-buffer-function.
6217 (todo-quit): Extend to handle exiting new todo modes.
6218 (todo-remove-item): Make sensitive to overlays.
6219 (todo-save): Extend to buffers of filtered items.
6220 (todo-show): Make sensitive to done items, multiple todo files and
6221 new todo modes. Offer to convert legacy todo file before creating
6222 first new todo file.
6223 (todo-show-priorities): Rename to todo-top-priorities.
6224 Change semantics of value 0.
6225 (todo-top-priorities): Rename to todo-filter-top-priorities,
6226 derive from todo-filter-items and extend functionality.
6227 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6228 and extend functionality to other types of filtered items.
6229 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6230 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6231 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6232 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6233 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6234 (todo-edit-mode-hook, todo-entry-prefix-function)
6235 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6236 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6237 (todo-initials, todo-insert-threshold, todo-item-string-start)
6238 (todo-line-string, todo-menu, todo-mode-hook)
6239 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6240 (todo-print-priorities, todo-remove-separator)
6241 (todo-save-top-priorities-too, todo-string-count-lines)
6242 (todo-string-multiline-p, todo-time-string-format)
6243 (todo-tmp-buffer-name): Remove.
6244 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6245 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6246 (todo-edit-category-diary-inclusion)
6247 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6248 (todo-edit-file, todo-edit-item-date-day)
6249 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6250 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6251 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6252 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6253 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6254 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6255 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6256 (todo-filter-top-priorities-multifile, todo-find-archive)
6257 (todo-find-filtered-items-file, todo-go-to-source-item)
6258 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6259 (todo-jump-to-archive-category, todo-lower-category)
6260 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6261 (todo-move-category, todo-move-item, todo-next-button)
6262 (todo-next-item, todo-padded-string, todo-powerset)
6263 (todo-previous-button, todo-previous-item)
6264 (todo-print-buffer-to-file, todo-raise-category)
6265 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6266 (todo-set-category-number, todo-set-item-priority)
6267 (todo-set-top-priorities-in-category)
6268 (todo-set-top-priorities-in-file, todo-show-categories-table)
6269 (todo-sort-categories-alphabetically-or-numerically)
6270 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6271 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6272 (todo-toggle-item-header, todo-toggle-item-highlighting)
6273 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6274 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6275 (todo-unarchive-items, todo-unmark-category): New commands.
6276 (todo-absolute-file-name, todo-add-to-buffer-list)
6277 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6278 (todo-basic-insert-item, todo-category-completions)
6279 (todo-category-number, todo-category-string-matcher-1)
6280 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6281 (todo-check-format, todo-clear-matches)
6282 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6283 (todo-current-category, todo-date-string-matcher)
6284 (todo-define-insertion-command, todo-diary-expired-matcher)
6285 (todo-diary-goto-entry, todo-diary-item-p)
6286 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6287 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6288 (todo-done-item-section-p, todo-done-separator)
6289 (todo-done-string-matcher, todo-files, todo-filter-items)
6290 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6291 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6292 (todo-insert-category-line, todo-insert-item-from-calendar)
6293 (todo-insert-sort-button, todo-insert-with-overlays)
6294 (todo-insertion-command-name, todo-insertion-key-bindings)
6295 (todo-label-to-key, todo-longest-category-name-length)
6296 (todo-make-categories-list, todo-mode-external-set)
6297 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6298 (todo-modes-set-3, todo-multiple-filter-files)
6299 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6300 (todo-read-category, todo-read-date, todo-read-dayname)
6301 (todo-read-file-name, todo-read-time)
6302 (todo-reevaluate-category-completions-files-defcustom)
6303 (todo-reevaluate-default-file-defcustom)
6304 (todo-reevaluate-filelist-defcustoms)
6305 (todo-reevaluate-filter-files-defcustom)
6306 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6307 (todo-reset-done-separator, todo-reset-done-separator-string)
6308 (todo-reset-done-string, todo-reset-global-current-todo-file)
6309 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6310 (todo-reset-prefix, todo-set-categories)
6311 (todo-set-date-from-calendar, todo-set-show-current-file)
6312 (todo-set-top-priorities, todo-short-file-name)
6313 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6314 (todo-total-item-counts, todo-update-buffer-list)
6315 (todo-update-categories-display, todo-update-categories-sexp)
6316 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6317 New functions.
6318 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6319 New major modes.
6320 (todo-categories, todo-display, todo-edit, todo-faces)
6321 (todo-filtered): New defgroups.
6322 (todo-archived-only, todo-button, todo-category-string, todo-date)
6323 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6324 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6325 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6326 (todo-add-item-if-new-category, todo-always-add-time-string)
6327 (todo-categories-align, todo-categories-archived-label)
6328 (todo-categories-category-label, todo-categories-diary-label)
6329 (todo-categories-done-label, todo-categories-number-separator)
6330 (todo-categories-todo-label, todo-categories-totals-label)
6331 (todo-category-completions-files, todo-completion-ignore-case)
6332 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6333 (todo-done-separator-string, todo-done-string)
6334 (todo-files-function, todo-filter-done-items, todo-filter-files)
6335 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6336 (todo-initial-category, todo-initial-file, todo-item-mark)
6337 (todo-legacy-date-time-regexp, todo-mode-line-function)
6338 (todo-nondiary-marker, todo-number-prefix)
6339 (todo-print-buffer-function, todo-show-current-file)
6340 (todo-show-done-only, todo-show-first, todo-show-with-done)
6341 (todo-skip-archived-categories, todo-top-priorities-overrides)
6342 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6343 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6344 New defcustoms.
6345 (todo-category-done, todo-date-pattern, todo-date-string-start)
6346 (todo-diary-items-buffer, todo-done-string-start)
6347 (todo-filtered-items-buffer, todo-item-start)
6348 (todo-month-abbrev-array, todo-month-name-array)
6349 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6350 (todo-top-priorities-buffer): New defconsts.
6351 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6352 (todo-categories-with-marks, todo-category-string-face)
6353 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6354 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6355 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6356 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6357 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6358 (todo-font-lock-keywords, todo-global-current-todo-file)
6359 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6360 (todo-insertion-commands-args)
6361 (todo-insertion-commands-args-genlist)
6362 (todo-insertion-commands-names, todo-insertion-map)
6363 (todo-key-bindings-t, todo-key-bindings-t+a)
6364 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6365 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6366 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6367 (todo-visited): New variables.
6368
6369 2013-06-21 Glenn Morris <rgm@gnu.org>
6370
6371 * play/cookie1.el (cookie-apropos): Add optional display argument.
6372 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6373 (psychoanalyze-pinhead): Use cookie-doctor.
6374
6375 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6376
6377 * emacs-lisp/package.el (tar-get-file-descriptor)
6378 (tar--extract): Declare.
6379
6380 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6381
6382 Extend flymake's warning predicate to be a function (bug#14217).
6383 * progmodes/flymake.el (flymake-warning-predicate): New.
6384 (flymake-parse-line): Use it.
6385 (flymake-warning-re): Make obsolete alias to
6386 `flymake-warning-predicate'.
6387
6388 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6389
6390 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6391 (package-obsolete-list): Remove.
6392 (package-activate): Remove min-version argument. Add `force' argument.
6393 Adjust to new package-alist format.
6394 (package-mark-obsolete): Remove.
6395 (package-unpack): Force reload of the package's autoloads.
6396 (package-installed-p): Check builtins if the installed package is not
6397 recent enough.
6398 (package-initialize): Don't reset package-obsolete-list.
6399 Don't specify which package version to activate.
6400 (package-process-define-package, describe-package-1)
6401 (package-menu--generate): Adjust to new package-alist format.
6402
6403 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6404
6405 * allout-widgets.el (allout-widgets-mode-off)
6406 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6407 (allout-widgets-post-command-business)
6408 (allout-widgets-after-copy-or-kill-function)
6409 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6410 (allout-decorate-item-and-context)
6411 (allout-graphics-modification-handler): Fix typos in docstrings.
6412 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6413
6414 * cmuscheme.el (scheme-start-file): Doc fix.
6415 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6416 (scheme-input-filter): Use `string-match-p'.
6417
6418 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6419
6420 * dired-x.el: Use Dired consistently in docstrings.
6421
6422 * dired.el: Use Dired consistently in docstrings.
6423 (dired-readin, dired-mode): Use `setq-local'.
6424 (dired-switches-alist): Make defvar-local.
6425 (dired-buffers-for-dir): Use `zerop'.
6426 (dired-safe-switches-p, dired-switches-escape-p)
6427 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6428 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6429 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6430 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6431 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6432 (dired-toggle-marks, dired-mark-files-containing-regexp)
6433 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6434 (dired-flag-auto-save-files, dired-flag-backup-files):
6435 Use `looking-at-p'.
6436 (dired-mark-files-regexp, dired-build-subdir-alist):
6437 Use `string-match-p', `looking-at-p'.
6438
6439 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6440 (direct-print-region-helper): Use `string-match-p'.
6441
6442 2013-06-21 Leo Liu <sdl.web@gmail.com>
6443
6444 * comint.el (comint-redirect-results-list-from-process):
6445 Fix infinite loop.
6446
6447 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6448
6449 * net/eww.el (eww-update-header-line-format): Quote % characters.
6450
6451 2013-06-21 Glenn Morris <rgm@gnu.org>
6452
6453 * play/cookie1.el (cookie): New custom group.
6454 (cookie-file): New option.
6455 (cookie-check-file): New function.
6456 (cookie): Make it interactive. Make start and end messages optional.
6457 Interactively, display the result. Default to cookie-file.
6458 (cookie-insert): Default to cookie-file.
6459 (cookie-snarf): Make start and end messages optional.
6460 Default to cookie-file. Use with-temp-buffer.
6461 (cookie-read): Rename from read-cookie.
6462 Make start and end messages optional. Default to cookie-file.
6463 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6464 Do not autoload it.
6465 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6466 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6467
6468 2013-06-21 Leo Liu <sdl.web@gmail.com>
6469
6470 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6471
6472 2013-06-21 Glenn Morris <rgm@gnu.org>
6473
6474 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6475
6476 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6477 Daniel Hackney <dan@haxney.org>
6478
6479 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6480 Consolidate the single-file vs tarball code.
6481 (package-desc-suffix): New function.
6482 (package-desc-full-name): Don't bother inlining it.
6483 (package-load-descriptor): Return the new package-desc.
6484 (package-mark-obsolete): Remove unused arg `package'.
6485 (package-unpack): Make it work for single files as well.
6486 Make it update package-alist.
6487 (package--make-autoloads-and-stuff): Rename from
6488 package--make-autoloads-and-compile. Don't compile any more.
6489 (package--compile): New function.
6490 (package-generate-description-file): New function, extracted from
6491 package-unpack-single.
6492 (package-unpack-single): Remove.
6493 (package--with-work-buffer): Add indentation and debugging info.
6494 (package-download-single): Remove.
6495 (package-install-from-archive): Rename from package-download-tar, make
6496 it take a pkg-desc, and make it work for single files as well.
6497 (package-download-transaction): Simplify.
6498 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6499 external tar program.
6500 (package-install-from-buffer): Remove `pkg-desc' argument.
6501 Use package-tar-file-info for tar-mode buffers.
6502 (package-install-file): Simplify accordingly.
6503 (package-archive-base): Change to take a pkg-desc.
6504 * tar-mode.el (tar--check-descriptor): New function, extracted from
6505 tar-get-descriptor.
6506 (tar-get-descriptor): Use it.
6507 (tar-get-file-descriptor): New function.
6508 (tar--extract): New function, extracted from tar-extract.
6509 (tar--extract): Use it.
6510 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6511 case the summary uses non-ascii. Adjust to new calling convention of
6512 package-tar-file-info.
6513
6514 2013-06-21 Leo Liu <sdl.web@gmail.com>
6515
6516 * comint.el (comint-redirect-results-list-from-process):
6517 Fix random delay. (Bug#14681)
6518
6519 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6520
6521 * profiler.el (profiler-format-number): Use log, not log10.
6522
6523 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6524
6525 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6526
6527 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6528
6529 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6530 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6531 yet available.
6532 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6533 (AUTOGENEL): ... here.
6534 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6535 (cl--defsubst-expand): Use it.
6536
6537 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6538
6539 * subr.el (log10): Move here from C code, and declare as obsolete.
6540 All uses of (log10 X) replaced with (log X 10).
6541
6542 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6543
6544 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6545 Declare with `defvar-local'.
6546 (tabulated-list-use-header-line, tabulated-list-entries)
6547 (tabulated-list-padding, tabulated-list-printer)
6548 (tabulated-list-sort-key): Declare with `defvar-local'.
6549 (tabulated-list-init-header, tabulated-list-print-fake-header):
6550 Use `setq-local'.
6551
6552 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6553
6554 * arc-mode.el (archive-mode): Add `archive-write-file' to
6555 `write-contents-functions' also for remote files. (Bug#14652)
6556
6557 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6558
6559 * cus-edit.el (custom-commands): Fix typos.
6560 (custom-display): Fix tooltip text.
6561 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6562 Fix typos in docstrings.
6563 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6564 (custom-unlispify-menu-entry, custom-magic-value-create)
6565 (custom-add-see-also, custom-group-value-create): Use ?\s.
6566 (custom-guess-type, customize-apropos, editable-field)
6567 (custom-face-value-create): Use `string-match-p'.
6568 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6569
6570 * custom.el (custom-load-symbol): Use `string-match-p'.
6571
6572 * ansi-color.el: Convert to lexical binding.
6573 (ansi-colors): Fix URL.
6574 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6575 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6576 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6577
6578 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6579
6580 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6581
6582 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6583
6584 2013-06-19 Tom Tromey <tromey@redhat.com>
6585
6586 * net/eww.el (eww-top-url): Remove.
6587 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6588 (eww-render): Set new variables. Don't set eww-top-url.
6589 (eww-handle-link): Handle "prev", "home", and "contents".
6590 Downcase the rel text.
6591 (eww-top-url): Choose best top URL.
6592
6593 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6594
6595 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6596 relying in widget.el. Using widget.el leads to too many
6597 user interface inconsistencies.
6598 (eww-self-insert): Implement entering commands in text fields.
6599 (eww-process-text-input): New function to make text input field editing
6600 work.
6601 (eww-submit): Rewrite to use the new-style form methods.
6602 (eww-select-display): Display the correct selected item.
6603 (eww-change-select): Implement changing the select value.
6604 (eww-toggle-checkbox): Implement radio/checkboxes.
6605 (eww-update-field): Fix compilation error.
6606 (eww-tag-textarea): Implement <textarea>.
6607
6608 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6609 we don't shadow mode-specific bindings.
6610
6611 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6612 nothing to push.
6613
6614 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6615
6616 2013-06-19 Glenn Morris <rgm@gnu.org>
6617
6618 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6619
6620 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6621
6622 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6623 not needed.
6624
6625 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6626
6627 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6628
6629 * net/browse-url.el (browse-url-browser-function):
6630 `eww-browse-url' has the right calling signature, `eww' does not.
6631
6632 2013-06-19 Glenn Morris <rgm@gnu.org>
6633
6634 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6635 Only eval autoloaded macros.
6636 (byte-compile-autoload): Only give the macro warning for macros.
6637
6638 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6639 (ps-underlined-faces): Declare.
6640
6641 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6642 (speedbar-add-supported-extension): Declare.
6643
6644 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6645 Don't include a date stamp in the header of the generated file;
6646 it leads to needless differences between output files.
6647
6648 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6649
6650 * net/secrets.el (secrets-struct-secret-content-type):
6651 Replace check of introspection data by a test call of "CreateItem".
6652 Some servers do not offer introspection.
6653
6654 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6655
6656 * electric.el (electric-pair-mode): Improve interaction with
6657 electric-layout-mode.
6658 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6659 (electric-pair-syntax): Use text-mode-syntax-table in comments
6660 and strings.
6661 (electric-pair--insert): New function.
6662 (electric-pair-post-self-insert-function): Use it and
6663 electric--after-char-pos.
6664
6665 2013-06-19 Leo Liu <sdl.web@gmail.com>
6666
6667 * progmodes/octave.el (octave-help): Fix regexp.
6668
6669 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6670
6671 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6672 (shr-table-horizontal-line): Allow nil as a value, and change the
6673 default.
6674 (shr-insert-table-ruler): Respect the nil value.
6675
6676 2013-06-18 Tom Tromey <tromey@barimba>
6677
6678 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6679 New defvars.
6680 (eww-open-file): New defun.
6681 (eww-render): Initialize new variables.
6682 (eww-display-html): Handle "link" and "a".
6683 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6684 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6685 (eww-back-url): Rename from eww-previous-url.
6686 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6687 New defuns.
6688
6689 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6690
6691 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6692 Distinguish ternary operator tokens from slash symbol and slash
6693 char literal.
6694
6695 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6696
6697 Convert symbol prettification into minor mode and global minor mode.
6698
6699 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6700 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6701 (prettify-symbols--keywords): Rename from
6702 `prog-prettify-symbols-alist' and make a local defvar.
6703 (prettify-symbols--compose-symbol): Rename from
6704 `prog--prettify-font-lock-compose-symbol'.
6705 (prettify-symbols--make-keywords): Rename from
6706 `prog-prettify-font-lock-symbols-keywords' and simplify.
6707 (prog-prettify-install): Remove.
6708 (prettify-symbols-mode): New minor mode, based on
6709 `prog-prettify-install'.
6710 (turn-on-prettify-symbols-mode): New function.
6711 (global-prettify-symbols-mode): New globalized minor mode.
6712
6713 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6714 * progmodes/cfengine.el (cfengine3-mode):
6715 * progmodes/perl-mode.el (perl-mode): Don't call
6716 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6717
6718 2013-06-18 Juri Linkov <juri@jurta.org>
6719
6720 * files-x.el (modify-file-local-variable-message): New function.
6721 (modify-file-local-variable)
6722 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6723 and call `modify-file-local-variable-message' when it's non-nil.
6724 (add-file-local-variable, delete-file-local-variable)
6725 (add-file-local-variable-prop-line)
6726 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6727 and use it. (Bug#9820)
6728
6729 2013-06-18 Juri Linkov <juri@jurta.org>
6730
6731 * emulation/vi.el (vi-shell-op):
6732 * emulation/vip.el (vip-execute-com, ex-command):
6733 * emulation/viper-cmd.el (viper-exec-bang):
6734 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6735 the call of `shell-command-on-region'. (Bug#14637)
6736
6737 * simple.el (shell-command-on-region): Doc fix.
6738
6739 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6740
6741 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6742 (bug#14633).
6743
6744 2013-06-18 Glenn Morris <rgm@gnu.org>
6745
6746 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6747
6748 * newcomment.el (comment-search-forward, comment-search-backward):
6749 Doc fix. (Bug#14376)
6750
6751 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6752
6753 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6754 (buffer-face-mode-invoke): Doc fix.
6755
6756 2013-06-18 Matthias Meulien <orontee@gmail.com>
6757
6758 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6759 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6760
6761 2013-06-18 Glenn Morris <rgm@gnu.org>
6762
6763 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6764 Replace obsolete function generic-make-keywords with its expansion.
6765
6766 * progmodes/python.el (ffap-alist): Declare.
6767
6768 * textmodes/reftex.el (bibtex-mode-map): Declare.
6769
6770 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6773 (package-unpack, package-unpack-single): Return the pkg-dir.
6774 (package-download-transaction): Use it to update package-alist.
6775
6776 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6777
6778 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6779 possible choice.
6780
6781 2013-06-17 Juri Linkov <juri@jurta.org>
6782
6783 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6784
6785 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6786
6787 * emacs-lisp/package.el (package-load-descriptor):
6788 Remove `with-syntax-table' call, `read' doesn't need it.
6789 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6790
6791 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6792
6793 * startup.el (command-line): Expand package name returned by
6794 `package--description-file' (bug#14639).
6795
6796 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6797
6798 * emacs-lisp/package.el (package-load-descriptor): Do not call
6799 `emacs-lisp-mode', just use its syntax table.
6800
6801 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6802
6803 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6804 `font-lock-extra-managed-props' if any prettifying keyword is added.
6805 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6806 (prog-mode): Use `setq-local'.
6807
6808 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * international/characters.el (standard-case-table): Set syntax of ?»
6811 and ?« to punctuation.
6812
6813 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6814
6815 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6816 Save relevant match data before calling `syntax-ppss' (bug#14595).
6817
6818 2013-06-15 Juri Linkov <juri@jurta.org>
6819
6820 * files-x.el (modify-file-local-variable-prop-line): Add local
6821 variables to the end of the existing comment on the first line.
6822 Use `file-auto-mode-skip' to skip interpreter magic line,
6823 and also skip XML declaration.
6824
6825 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6826
6827 * startup.el (package--builtin-versions): New var.
6828 (package-subdirectory-regexp): Remove.
6829 (package--description-file): Hard code its value instead.
6830
6831 * emacs-lisp/package.el: Don't activate packages older than builtin.
6832 (package-obsolete-list): Rename from package-obsolete-alist, and make
6833 it into a simple list of package-desc.
6834 (package-strip-version): Remove.
6835 (package-built-in-p): Use package--builtin-versions.
6836 (package-mark-obsolete): Simplify.
6837 (package-process-define-package): Mark it obsolete if older than the
6838 builtin version.
6839 (package-handle-response): Use line-end-position.
6840 (package-read-archive-contents, package--download-one-archive):
6841 Simplify.
6842 (package--add-to-archive-contents): Skip if older than the builtin or
6843 installed version.
6844 (package-menu-describe-package): Fix last change.
6845 (package-list-unversioned): New var.
6846 (package-menu--generate): Use it.
6847
6848 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6849 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6850 (autoload-builtin-package-versions): New variable.
6851 (autoload-generate-file-autoloads): Use them.
6852 Remove the list of autoloaded functions/macros from the
6853 (autoload...) comments.
6854
6855 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6856
6857 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6858
6859 * simple.el (line-move-partial): Don't jump to the next screen
6860 line as soon as it becomes visible. Instead, continue enlarging
6861 the vscroll until the portion of a tall screen line that's left on
6862 display is about the height of the frame's default font.
6863 (Bug#14567)
6864
6865 2013-06-15 Glenn Morris <rgm@gnu.org>
6866
6867 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6868 compilation-error-regexp-alist void, or local while let-bound.
6869
6870 * progmodes/make-mode.el (makefile-mode-syntax-table):
6871 Treat "=" as punctuation. (Bug#14614)
6872
6873 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6874
6875 * help-fns.el (describe-variable):
6876 Add extra line for permanent-local variables.
6877
6878 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6879
6880 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6881 Add export, import, library. (Bug#9164)
6882 (library): Set indent function.
6883
6884 2013-06-14 Glenn Morris <rgm@gnu.org>
6885
6886 * term/xterm.el (xterm--query):
6887 Stop after first matching handler. (Bug#14615)
6888
6889 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6890
6891 Add support for dired in saveplace.
6892 * dired.el (dired-initial-position-hook): New variable.
6893 (dired-initial-position): Call hook to place cursor position.
6894 * saveplace.el (save-place-to-alist): Add dired position.
6895 (save-place-dired-hook): New function.
6896
6897 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6898
6899 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6900 through a symbol rather than letrec.
6901
6902 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6903 (package-desc): Add `dir' field.
6904 (package-desc-full-name): New function.
6905 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6906 (package-maybe-load-descriptor): Remove.
6907 (package-load-all-descriptors): Just call package-load-descriptor.
6908 (package--disabled-p): New function.
6909 (package-desc-vers, package-desc-doc): Remove aliases.
6910 (package--dir): Remove function.
6911 (package-activate): Check if a package is disabled.
6912 (package-process-define-package): New function, extracted from
6913 define-package.
6914 (define-package): Turn into a place holder.
6915 (package-unpack-single, package-tar-file-info):
6916 Use package--description-file.
6917 (package-compute-transaction): Use package--disabled-p.
6918 (package-download-transaction): Don't call
6919 package-maybe-load-descriptor since they're all loaded anyway.
6920 (package-install): Change argument to be a pkg-desc.
6921 (package-delete): Use a single pkg-desc argument.
6922 (describe-package-1): Use package-desc-dir instead of package--dir.
6923 Use package-desc property instead of package-symbol.
6924 (package-install-button-action): Adjust accordingly.
6925 (package--push): Rewrite.
6926 (package-menu--print-info): Adjust accordingly. Change the ID format
6927 to be a pkg-desc.
6928 (package-menu-describe-package, package-menu-get-status)
6929 (package-menu--find-upgrades, package-menu-mark-upgrades)
6930 (package-menu-execute, package-menu--name-predicate):
6931 Adjust accordingly.
6932 * startup.el (package--description-file): New function.
6933 (command-line): Use it.
6934 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6935 Use package-desc-version.
6936
6937 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6938 (byte-compile-preprocess): Use it.
6939 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6940 can't quite recognize.
6941 (byte-compile-add-to-list): Remove.
6942 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6943 (cconv-closure-convert): Add assertion.
6944
6945 * emacs-lisp/map-ynp.el: Use lexical-binding.
6946 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6947 Factor out some repeated code.
6948
6949 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6950
6951 * subr.el (with-eval-after-load): New macro.
6952 (eval-after-load): Allow form to be a function.
6953 take advantage of lexical-binding.
6954 (do-after-load-evaluation): Use dolist and adjust to new format.
6955 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6956
6957 2013-06-13 Juri Linkov <juri@jurta.org>
6958
6959 * replace.el (perform-replace): Display "symbol " and other search
6960 modes from `isearch-message-prefix' in the *Help* buffer.
6961
6962 * isearch.el (isearch-query-replace): Add " symbol" and other
6963 possible search modes from `isearch-message-prefix' to the prompt.
6964 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6965 when reading a regexp to collect.
6966
6967 2013-06-13 Juri Linkov <juri@jurta.org>
6968
6969 * isearch.el (word-search-regexp): Match whitespace if the search
6970 string begins or ends in whitespace. The LAX arg is applied to
6971 both ends of the search string. Use `regexp-quote' and explicit
6972 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6973 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6974 boundaries are replaced with symbol boundaries, and characters
6975 between symbols match non-word non-symbol syntax. (Bug#14602)
6976
6977 2013-06-13 Juri Linkov <juri@jurta.org>
6978
6979 * isearch.el (isearch-del-char): Don't exceed the length of
6980 `isearch-string' by the prefix arg. (Bug#14563)
6981
6982 2013-06-13 Juri Linkov <juri@jurta.org>
6983
6984 * isearch.el (isearch-yank-word, isearch-yank-line)
6985 (isearch-char-by-name, isearch-quote-char)
6986 (isearch-printing-char, isearch-process-search-char):
6987 Add optional count prefix arg. (Bug#14563)
6988
6989 * international/isearch-x.el
6990 (isearch-process-search-multibyte-characters):
6991 Add optional count prefix arg.
6992
6993 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6994
6995 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6996 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6997 lexical-binding.
6998
6999 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7000
7001 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7002
7003 2013-06-13 Glenn Morris <rgm@gnu.org>
7004
7005 * startup.el (tty-handle-args):
7006 Don't just discard "--" and anything after. (Bug#14608)
7007
7008 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7009
7010 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7011
7012 Implement changes in Secret Service API. Make it backward compatible.
7013 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7014 (secrets-create-item): Use it. Prefix properties with interface.
7015
7016 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7017
7018 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7019 (term-emulate-terminal): Respect term-suppress-hard-newline.
7020
7021 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7022
7023 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7024 Only remove a `thumb-file' overlay. (Bug#14548)
7025
7026 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7027
7028 * mail/reporter.el (reporter-submit-bug-report):
7029 Handle missing package-name. (Bug#14600)
7030
7031 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7032
7033 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7034 (reftex-citation-prompt, reftex-default-bibliography)
7035 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7036 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7037 (reftex-bib-sort-author, reftex-bib-sort-year)
7038 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7039 (reftex-extract-bib-entries-from-thebibliography)
7040 (reftex-get-bibkey-default, reftex-get-bib-names)
7041 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7042 (reftex-format-bib-entry, reftex-parse-bibitem)
7043 (reftex-format-bibitem, reftex-do-citation)
7044 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7045 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7046 (reftex-insert-bib-matches, reftex-format-citation)
7047 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7048 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7049 existing comments into docstrings.
7050
7051 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7052
7053 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7054
7055 2013-06-12 Andreas Schwab <schwab@suse.de>
7056
7057 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7058 for auto-save files.
7059
7060 2013-06-12 Glenn Morris <rgm@gnu.org>
7061
7062 * ido.el (ido-delete-ignored-files): Remove.
7063 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7064 Go back to calling ido-ignore-item-p directly.
7065
7066 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7067
7068 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7069
7070 * ido.el (ido-delete-ignored-files): New function,
7071 split from ido-make-file-list-1.
7072 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7073 (ido-make-file-list-1): Use ido-delete-ignored-files.
7074
7075 2013-06-12 Leo Liu <sdl.web@gmail.com>
7076
7077 * progmodes/octave.el (inferior-octave-startup)
7078 (inferior-octave-completion-table)
7079 (inferior-octave-track-window-width-change)
7080 (octave-eldoc-function-signatures, octave-help)
7081 (octave-find-definition): Use single quoted strings.
7082 (inferior-octave-startup-args): Change default value.
7083 (inferior-octave-startup): Do not hard code "-i" and
7084 "--no-line-editing".
7085 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7086 (inferior-octave-directory-tracker): Use it.
7087 (octave-goto-function-definition): Robustify.
7088 (octave-help): Support highlighting operators in 'See also'.
7089 (octave-find-definition): Find subfunctions only in Octave mode.
7090
7091 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * help-fns.el (help-fns--compiler-macro): If the handler function is
7094 named, then put a link to it.
7095 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7096 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7097 (cl-typep): Use it.
7098 (cl-eval-when): Simplify debug spec.
7099 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7100 compiler-macro function instead of setting `compiler-macro-file'.
7101
7102 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7103
7104 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7105 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7106
7107 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7108 Daniel Hackney <dan@haxney.org>
7109
7110 First part of Daniel Hackney's patch to package.el.
7111 * emacs-lisp/package.el: Use defstruct.
7112 (package-desc): New, main struct.
7113 (package--bi-desc, package--ac-desc): New structs, used to describe the
7114 format in external files.
7115 (package-desc-vers): Replace with package-desc-version accessor.
7116 (package-desc-doc): Replace with package-desc-summary accessor.
7117 (package-activate-1): Remove `package' arg since the pkg-vec now
7118 includes the name.
7119 (define-package): Use package-desc-from-define.
7120 (package-unpack-single): Change file-name arg to be a symbol.
7121 (package--add-to-archive-contents): Use package-desc-create and new
7122 accessor functions to package--ac-desc.
7123 (package-buffer-info, package-tar-file-info): Return a package-desc.
7124 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7125 arg to be a package-desc.
7126 (package-install-file): Adjust accordingly. Use \' to match EOS.
7127 (package--from-builtin): New function.
7128 (describe-package-1, package-menu--generate): Use it.
7129 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7130 (package-generate-autoloads): Idem and return the name of the file.
7131 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7132 Change pkg-info arg to be a package-desc.
7133 Use package-make-ac-desc.
7134 (package-upload-file): Use \' to match EOS.
7135 * finder.el (finder-compile-keywords): Use package-make-builtin.
7136
7137 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * vc/vc.el (vc-deduce-fileset): Change error message.
7140 (vc-read-backend): New function.
7141 (vc-next-action): Use it.
7142
7143 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7144
7145 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7146 (prolog-font-lock-keywords): Use regexp-opt instead.
7147 Don't manually highlight strings.
7148 (prolog-mode-variables): Simplify comment-start-skip.
7149 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7150
7151 * emacs-lisp/generic.el (generic--normalise-comments)
7152 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7153 (generic-mode-set-comments): Use them.
7154 (generic-bracket-support): Use setq-local.
7155 (generic-make-keywords-list): Declare obsolete.
7156
7157 2013-06-11 Glenn Morris <rgm@gnu.org>
7158
7159 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7160 Prettify after setting font-lock-defaults. (Bug#14574)
7161
7162 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7163
7164 * replace.el (query-replace, occur-read-regexp-defaults-function)
7165 (replace-search):
7166 * subr.el (declare-function, number-sequence, local-set-key)
7167 (substitute-key-definition, locate-user-emacs-file)
7168 (with-silent-modifications, split-string, eval-after-load):
7169 Fix typos, remove unneeded backslashes and reflow some docstrings.
7170
7171 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7172
7173 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7174 default for Elisp files.
7175
7176 2013-06-11 Glenn Morris <rgm@gnu.org>
7177
7178 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7179 although define-derived-mode was doing this anyway. (Bug#14583)
7180
7181 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7182
7183 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7184 Fix make-variable-buffer-local call to refer to the correct variable.
7185
7186 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7187
7188 * eshell/em-term.el (eshell-visual-commands)
7189 (eshell-visual-subcommands, eshell-visual-options):
7190 Add summary line to docstrings. Add cross-references.
7191
7192 2013-06-10 Glenn Morris <rgm@gnu.org>
7193
7194 * epa.el (epa-read-file-name): New function. (Bug#14510)
7195 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7196
7197 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7198
7199 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7200 output redirection to be ignored with visual commands.
7201
7202 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7203
7204 * eshell/em-term.el (eshell-visual-command-p): New function.
7205 (eshell-term-initialize): Move long lambda to separate function
7206 eshell-visual-command-p.
7207 * eshell/em-dirs.el (eshell-dirs-initialise):
7208 * eshell/em-script.el (eshell-script-initialize):
7209 Add missing #' to lambda.
7210
7211 2013-06-08 Leo Liu <sdl.web@gmail.com>
7212
7213 * progmodes/octave.el (octave-add-log-current-defun): New function.
7214 (octave-mode): Set add-log-current-defun-function.
7215 (octave-goto-function-definition): Do not move point if not found.
7216 (octave-find-definition): Enhance to try subfunctions first.
7217
7218 2013-06-08 Glenn Morris <rgm@gnu.org>
7219
7220 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7221 (byte-compile-backward-char, byte-compile-backward-word):
7222 Improve previous change, to handle non-explicit nil.
7223
7224 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7227 (smie--opener/closer-at-point): New function.
7228 (smie--matching-block-data): Use it. Don't match from right after an
7229 opener or right before a closer. Obey smie-blink-matching-inners.
7230 Don't signal a mismatch for repeated inners like "switch..case..case".
7231
7232 2013-06-07 Leo Liu <sdl.web@gmail.com>
7233
7234 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7235 to t. (Bug#14303)
7236 (octave-function-header-regexp): Fix. (Bug#14570)
7237 (octave-help-mode-finish-hook, octave-help-mode-finish):
7238 Remove. Just use temp-buffer-show-hook.
7239
7240 * newcomment.el (comment-search-backward): Revert last change.
7241 (Bug#14434)
7242
7243 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7244
7245 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7246
7247 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7248 through xargs, to avoid failure due to MS-Windows limitations on
7249 command-line length.
7250
7251 2013-06-06 Glenn Morris <rgm@gnu.org>
7252
7253 * font-lock.el (lisp-font-lock-keywords-2):
7254 Treat user-error like error.
7255
7256 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7257 (byte-compile-backward-char, byte-compile-backward-word):
7258 Handle explicit nil arguments. (Bug#14565)
7259
7260 2013-06-05 Alan Mackenzie <acm@muc.de>
7261
7262 * isearch.el (isearch-allow-prefix): New user option.
7263 (isearch-other-meta-char): Don't exit isearch when a prefix
7264 argument is typed whilst `isearch-allow-prefix' is non-nil.
7265 (Bug#9706)
7266
7267 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7268
7269 * autorevert.el (auto-revert-notify-handler): Use memq.
7270 Hide assertion failure.
7271
7272 * skeleton.el: Use cl-lib.
7273 (skeleton-further-elements): Use defvar-local.
7274 (skeleton-insert): Use cl-progv.
7275
7276 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7277
7278 * progmodes/prog-mode.el (prog-prettify-symbols)
7279 (prog-prettify-install): Update docstrings.
7280
7281 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7282
7283 * simple.el: Move all the prog-mode code to prog-mode.el.
7284 * progmodes/prog-mode.el: New file.
7285 * loadup.el: Add prog-mode.el.
7286
7287 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7288
7289 * simple.el (prog-prettify-symbols): Add version.
7290 (prog-prettify-install): Add convenience function to prettify symbols.
7291
7292 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7293 (perl--augmented-font-lock-keywords-1)
7294 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7295 variables and use it.
7296
7297 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7298 (cfengine3-mode): Remove unneeded variable and use it.
7299
7300 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7301 (lisp--augmented-font-lock-keywords-1)
7302 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7303 Remove unneeded variables and use it.
7304
7305 2013-06-05 João Távora <joaotavora@gmail.com>
7306
7307 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7308 to point when opening the connection. (Bug#14380)
7309
7310 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7311
7312 * subr.el (load-history-regexp, load-history-filename-element)
7313 (eval-after-load, after-load-functions, do-after-load-evaluation)
7314 (eval-next-after-load, display-delayed-warnings)
7315 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7316 definition of save-match-data.
7317 (overriding-local-map): Remove accidental obsolescence declaration.
7318
7319 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7320
7321 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7322
7323 Generalize symbol prettify support to prog-mode and implement it
7324 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7325 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7326 (prog--prettify-font-lock-compose-symbol)
7327 (prog-prettify-font-lock-symbols-keywords): New variables and
7328 functions to support symbol prettification.
7329 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7330 (lisp--augmented-font-lock-keywords-1)
7331 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7332 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7333 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7334 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7335 Implement prettify of -> => :: strings.
7336 * progmodes/perl-mode.el (perl-prettify-symbols)
7337 (perl--font-lock-compose-symbol)
7338 (perl--font-lock-symbols-keywords): Move to prog-mode.
7339 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7340 (perl-font-lock-keywords-1)
7341 (perl-font-lock-keywords-2): Remove explicit prettify support.
7342 (perl--augmented-font-lock-keywords)
7343 (perl--augmented-font-lock-keywords-1)
7344 (perl--augmented-font-lock-keywords-2, perl-mode):
7345 Implement prettify support.
7346
7347 2013-06-05 Leo Liu <sdl.web@gmail.com>
7348
7349 Re-implement smie matching block highlight using
7350 show-paren-data-function. (Bug#14395)
7351 * emacs-lisp/smie.el (smie-matching-block-highlight)
7352 (smie--highlight-matching-block-overlay)
7353 (smie--highlight-matching-block-lastpos)
7354 (smie-highlight-matching-block)
7355 (smie-highlight-matching-block-mode): Remove.
7356 (smie--matching-block-data-cache): New variable.
7357 (smie--matching-block-data): New function.
7358 (smie-setup): Use smie--matching-block-data for
7359 show-paren-data-function.
7360
7361 * progmodes/octave.el (octave-mode-menu): Fix.
7362 (octave-find-definition): Skip garbage lines.
7363
7364 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7365
7366 Fix compilation error with simultaneous dynamic+lexical scoping.
7367 Add warning when a defvar appears after the first let-binding.
7368 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7369 (byte-compile-close-variables): Initialize it.
7370 (byte-compile--declare-var): New function.
7371 (byte-compile-file-form-defvar)
7372 (byte-compile-file-form-define-abbrev-table)
7373 (byte-compile-file-form-custom-declare-variable): Use it.
7374 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7375 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7376 (byte-compile-bind): Handle dynamic bindings that shadow
7377 lexical bindings.
7378 (byte-compile-unbind): Make arg non-optional.
7379 (byte-compile-let): Simplify.
7380 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7381 (cconv--analyse-function, cconv-analyse-form): Populate it.
7382 Protect byte-compile-bound-variables to limit the scope of defvars.
7383 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7384 Remove unneeded rule for `declare'.
7385
7386 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7387 so as to avoid depending on cl-adjoin at run-time.
7388 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7389
7390 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7391 (macroexp--warn-and-return): Use it.
7392
7393 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7394
7395 * lisp/subr.el: Convert to lexical binding.
7396 (overriding-local-map): Make obsolete.
7397 (add-to-list): Doc fix. Add compiler macro.
7398 (read-key): Swap values of local maps.
7399
7400 2013-06-05 Leo Liu <sdl.web@gmail.com>
7401
7402 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7403
7404 2013-06-04 Leo Liu <sdl.web@gmail.com>
7405
7406 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7407 (compilation-auto-jump): Suppress the "Mark set" message to give
7408 way to exit message.
7409
7410 2013-06-04 Alan Mackenzie <acm@muc.de>
7411
7412 Remove faulty optimisation from indentation calculation.
7413 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7414 search limit based on 2000 characters back from indent-point.
7415
7416 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7417
7418 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7419
7420 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * emacs-lisp/lisp.el: Use lexical-binding.
7423 (lisp--local-variables-1, lisp--local-variables): New functions.
7424 (lisp--local-variables-completion-table): New var.
7425 (lisp-completion-at-point): Use it complete let-bound vars.
7426
7427 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7428 eagerly (bug#14422).
7429
7430 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7431
7432 * autorevert.el (auto-revert-notify-enabled)
7433 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7434 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7435 (auto-revert-notify-handler): Handle also gfilenotify.
7436
7437 * subr.el (file-notify-handle-event): New defun. Replacing ...
7438 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7439 Remove.
7440
7441 2013-06-03 Juri Linkov <juri@jurta.org>
7442
7443 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7444 `M-s h .'. (Bug#14427)
7445
7446 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7447 command `hi-lock-face-symbol-at-point'.
7448 (hi-lock-face-symbol-at-point): New command.
7449 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7450 (hi-lock-menu): Add `highlight-symbol-at-point'.
7451 (hi-lock-mode): Doc fix.
7452
7453 * isearch.el (isearch-forward-symbol-at-point): New command.
7454 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7455 (isearch-highlight-regexp): Add a regexp which matches
7456 words/symbols for word/symbol mode.
7457
7458 * subr.el (find-tag-default-bounds): New function with the body
7459 mostly moved from `find-tag-default'.
7460 (find-tag-default): Move most code to `find-tag-default-bounds',
7461 call it and apply `buffer-substring-no-properties' afterwards.
7462
7463 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7464
7465 * eshell/em-term.el (eshell-term-initialize):
7466 Use `cl-intersection' rather than `intersection'.
7467
7468 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7469
7470 * vc/log-view.el: Doc fix.
7471 (log-view-mode-map): Copy keymap from `special-mode-map'.
7472
7473 2013-06-02 Eric Ludlam <zappo@gnu.org>
7474
7475 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7476 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7477 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7478 (eieio-unbound, eieio-default-superclass)
7479 (eieio--define-field-accessors, method-static, method-before)
7480 (method-primary, method-after, method-num-lists)
7481 (method-generic-before, method-generic-primary)
7482 (method-generic-after, method-num-slots)
7483 (eieio-specialized-key-to-generic-key)
7484 (eieio--check-type, class-v, class-p)
7485 (eieio-class-name, define-obsolete-function-alias)
7486 (eieio-class-parents-fast, eieio-class-children-fast)
7487 (same-class-fast-p, class-constructor, generic-p)
7488 (generic-primary-only-p, generic-primary-only-one-p)
7489 (class-option-assoc, class-option, eieio-object-p)
7490 (class-abstract-p, class-method-invocation-order)
7491 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7492 (eieio-class-un-autoload, eieio-defclass)
7493 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7494 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7495 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7496 (eieio-defgeneric-reset-generic-form)
7497 (eieio-defgeneric-form-primary-only)
7498 (eieio-defgeneric-reset-generic-form-primary-only)
7499 (eieio-defgeneric-form-primary-only-one)
7500 (eieio-defgeneric-reset-generic-form-primary-only-one)
7501 (eieio-unbind-method-implementations)
7502 (eieio--defmethod, eieio--typep)
7503 (eieio-perform-slot-validation, eieio-validate-slot-value)
7504 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7505 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7506 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7507 (eieio-slot-name-index, eieio-class-slot-name-index)
7508 (eieio-set-defaults, eieio-initarg-to-attribute)
7509 (eieio-attribute-to-initarg, eieio-c3-candidate)
7510 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7511 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7512 (eieio-class-precedence-list, eieio-generic-call-methodname)
7513 (eieio-generic-call-arglst, eieio-generic-call-key)
7514 (eieio-generic-call-next-method-list)
7515 (eieio-pre-method-execution-functions, eieio-generic-call)
7516 (eieio-generic-call-primary-only, eieiomt-method-list)
7517 (eieiomt-optimizing-obarray, eieiomt-install)
7518 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7519 (eieio-generic-form, eieio-defmethod, make-obsolete)
7520 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7521 (defclass): Remove `eval-and-compile' from macro.
7522 (call-next-method, shared-initialize): Instead of using
7523 `scoped-class' variable, use new eieio--scoped-class, and
7524 eieio--with-scoped-class.
7525 (initialize-instance): Rename local variable 'scoped-class' to
7526 'this-class' to remove ambiguitity from old global.
7527
7528 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7529 eieio.el.
7530 (eieio--scoped-class-stack): New variable.
7531 (eieio--scoped-class): New fcn.
7532 (eieio--with-scoped-class): New scoping macro.
7533 (eieio-defclass): Use pushnew instead of add-to-list.
7534 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7535 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7536 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7537 `scoped-class' variable, use new eieio--scoped-class, and
7538 eieio--with-scoped-class.
7539
7540 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7541
7542 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7543
7544 * eshell/esh-ext.el (eshell-external-command): Pass args to
7545 `eshell-find-interpreter'.
7546 (eshell-find-interpreter): Add new second parameter ARGS.
7547
7548 * eshell/em-script.el (eshell-script-initialize): Add second arg
7549 to the function added as MATCH to `eshell-interpreter-alist'.
7550
7551 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7552 the function added as MATCH to `eshell-interpreter-alist'.
7553
7554 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7555 (eshell-visual-options): New defcustom.
7556 (eshell-escape-control-x): Adapt docstring.
7557 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7558 `eshell-visual-options' in addition to `eshell-visual-commands'.
7559 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7560
7561 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7562
7563 * progmodes/python.el (python-indent-block-enders): Add break,
7564 continue and raise keywords.
7565
7566 2013-06-01 Glenn Morris <rgm@gnu.org>
7567
7568 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7569
7570 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7571 * progmodes/cc-cmds.el (delete-forward-p):
7572 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7573 * progmodes/cc-engine.el (buffer-syntactic-context):
7574 * progmodes/cc-fonts.el (face-property-instance):
7575 * progmodes/cc-mode.el (set-keymap-parents):
7576 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7577 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7578 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7579 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7580 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7581
7582 * progmodes/cc-vars.el (other): Emacs has this widget since
7583 at least 21.1, so don't (re)define it.
7584
7585 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7586 Replace the obsolete alias pcomplete-arg-quote-list.
7587
7588 2013-06-01 Leo Liu <sdl.web@gmail.com>
7589
7590 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7591 punctuation syntax.
7592 (inferior-octave-minimal-columns)
7593 (inferior-octave-last-column-width): New variables.
7594 (inferior-octave-track-window-width-change): New function.
7595 (inferior-octave-mode): Adjust column width so that Octave output,
7596 for example from 'ls', can fit into the window nicely.
7597
7598 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7599
7600 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7601 Highlight expansions inside regexp literals.
7602
7603 2013-05-31 Glenn Morris <rgm@gnu.org>
7604
7605 * obsolete/sym-comp.el (symbol-complete):
7606 Replace obsolete completion-annotate-function.
7607
7608 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7609
7610 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7611
7612 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7613 New function, checks if point is inside a literal that allows
7614 expression expansion.
7615 (ruby-syntax-propertize-expansion): Use it.
7616 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7617 around the body.
7618
7619 2013-05-30 Juri Linkov <juri@jurta.org>
7620
7621 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7622 to "\M-si".
7623 (isearch-invisible): New variable.
7624 (isearch-forward): Doc fix.
7625 (isearch-mode): Set `isearch-invisible'
7626 to the value of `search-invisible'.
7627 (isearch-toggle-case-fold): Doc fix.
7628 (isearch-toggle-invisible): New command.
7629 (isearch-query-replace): Let-bind `search-invisible'
7630 to the value of `isearch-invisible'.
7631 (isearch-search): Use `isearch-invisible' instead of
7632 `search-invisible'. Let-bind `search-invisible'
7633 to the value of `isearch-invisible'. (Bug#11378)
7634
7635 2013-05-30 Juri Linkov <juri@jurta.org>
7636
7637 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7638 call when `query-flag' is nil and `search-invisible' is non-nil.
7639 (Bug#11746)
7640
7641 2013-05-30 Glenn Morris <rgm@gnu.org>
7642
7643 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7644
7645 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7646 (cc-require): Suppress spurious "noruntime" warnings.
7647 (cc-require-when-compile): Use fboundp, for sake of compiler.
7648
7649 * progmodes/cc-mode.el: Move load of cc-vars before that of
7650 cc-langs (which in turn loads cc-vars), to quieten compiler.
7651
7652 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7653
7654 * paren.el: Simplify the code.
7655 (show-paren-mode): Always start the timer.
7656 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7657 (show-paren--overlay, show-paren--overlay-1): Rename from
7658 show-paren-overlay and show-paren-overlay-1, and initialize to an
7659 overlay rather than to nil.
7660 (show-paren-function): Misc cleanup and simplifications.
7661
7662 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7663
7664 * paren.el (show-paren-data-function): New hook.
7665 (show-paren--default): New function, extracted from show-paren-function.
7666 (show-paren-function): Use show-paren-data-function.
7667
7668 2013-05-30 Glenn Morris <rgm@gnu.org>
7669
7670 * ielm.el (ielm-map, ielm-complete-symbol):
7671 Use completion-at-point rather than obsolete functions.
7672 (inferior-emacs-lisp-mode): Doc fix.
7673 Set completion-at-point-functions, rather than
7674 comint-dynamic-complete-functions.
7675
7676 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7677 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7678 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7679
7680 * image.el (image-animated-p): Tweak definition.
7681
7682 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7683 (rlogin-process-connection-type): Tweak default. Add set-after.
7684 (rlogin-host): Doc fix.
7685 (rlogin): Tweak prompt.
7686 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7687
7688 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7689 * progmodes/tcl.el (inferior-tcl-mode-map):
7690 Use completion-at-point rather than obsolete alias.
7691
7692 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7693
7694 * minibuffer.el (read-file-name-completion-ignore-case):
7695 Move before completion--in-region, for eager macro expansion.
7696
7697 2013-05-29 Juri Linkov <juri@jurta.org>
7698
7699 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7700 for total count of matching lines. Add `global-matches' for total
7701 count of matches. Rename `matches' to `lines' for count of
7702 matching lines. Add `matches' for count of matches.
7703 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7704 to `prev-line' for line number of prev match endpt.
7705 Increment `matches' for every match. Print the number of
7706 matching lines in the header.
7707 (occur-context-lines): Rename `lines' to `curr-line'.
7708 Rename `prev-lines' to `prev-line'. (Bug#14017)
7709
7710 2013-05-29 Juri Linkov <juri@jurta.org>
7711
7712 * replace.el (perform-replace): Add `skip-read-only-count',
7713 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7714 Increment them for corresponding conditions and report the number
7715 of skipped occurrences in the final message. (Bug#11746)
7716 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7717 (replace-string, replace-regexp): Doc fix.
7718
7719 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7720
7721 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7722
7723 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7724 prog-mode-map (bug#14504).
7725
7726 2013-05-29 Leo Liu <sdl.web@gmail.com>
7727
7728 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7729 (octave-help): Small simplification.
7730
7731 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7732 off the highlight first.
7733
7734 2013-05-29 Glenn Morris <rgm@gnu.org>
7735
7736 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7737 Handle idlwave-last-system-routine-info-cons-cell being nil.
7738
7739 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7740 (idlwave-write-paths): Simplify via with-temp-buffer.
7741
7742 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7743 * emulation/cua-rect.el: Also load cua-base at run time.
7744
7745 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7746 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7747 (cperl-imenu-on-info): Require imenu.
7748
7749 2013-05-28 Alan Mackenzie <acm@muc.de>
7750
7751 Handle "capitalised keywords" correctly.
7752 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7753
7754 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7755
7756 * eshell/em-unix.el: Add -r option to cp.
7757
7758 2013-05-28 Glenn Morris <rgm@gnu.org>
7759
7760 * vc/vc-arch.el (vc-exec-after): Declare.
7761 (vc-switches): Autoload.
7762 * vc/vc-bzr.el: No need to require vc when compiling.
7763 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7764 (vc-resynch-buffer, vc-dir-refresh): Declare.
7765 (vc-setup-buffer, vc-switches): Autoload.
7766 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7767 (vc-resynch-buffer): Declare.
7768 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7769 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7770 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7771 (grep-read-regexp, grep-read-files, grep-expand-template)
7772 (vc-dir-refresh): Declare.
7773 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7774 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7775 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7776 * vc/vc-mtn.el (vc-exec-after): Declare.
7777 (vc-switches): Autoload.
7778 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7779 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7780 (vc-file-tree-walk): Declare.
7781 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7782 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7783 (vc-tag-precondition, vc-rename-master): Autoload.
7784 * vc/vc-svn.el (vc-exec-after): Declare.
7785 (vc-switches, vc-setup-buffer): Autoload.
7786 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7787 Autoload.
7788 (vc-resynch-buffer): Declare.
7789
7790 * obsolete/fast-lock.el (byte-compile-warnings):
7791 Don't warn about obsolete features in this obsolete file.
7792
7793 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7794 Move definition before use.
7795
7796 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7797 (dun-unix-verbs): Remove dun-zippy.
7798 (dun-zippy): Remove function.
7799
7800 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7801
7802 2013-05-27 Juri Linkov <juri@jurta.org>
7803
7804 * replace.el (replace-search): New function with code moved out
7805 from `perform-replace'.
7806 (replace-highlight, replace-dehighlight): Move function definitions
7807 up closer to `replace-search'. (Bug#11746)
7808
7809 2013-05-27 Juri Linkov <juri@jurta.org>
7810
7811 * replace.el (perform-replace): Ignore invisible matches.
7812 In addition to checking `query-replace-skip-read-only', also
7813 filter out matches by calling `run-hook-with-args-until-failure'
7814 on `isearch-filter-predicates', and also check `search-invisible'
7815 for t or call `isearch-range-invisible'.
7816 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7817
7818 2013-05-27 Juri Linkov <juri@jurta.org>
7819
7820 * isearch.el (isearch-filter-predicates): Rename from
7821 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7822 (isearch-message-prefix): Display text from the property
7823 `isearch-message-prefix' of the currently active filters.
7824 (isearch-search): Don't compare `isearch-filter-predicate' with
7825 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7826 on `isearch-filter-predicates'. Also check `search-invisible' for t
7827 or call `isearch-range-invisible'.
7828 (isearch-filter-visible): Make obsolete.
7829 (isearch-lazy-highlight-search):
7830 Call `run-hook-with-args-until-failure' on
7831 `isearch-filter-predicates' and use `isearch-range-invisible'.
7832
7833 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7834 `isearch-filter-predicates' instead of `funcall'ing
7835 `isearch-filter-predicate'.
7836 (Info-mode): Set `Info-isearch-filter' to
7837 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7838
7839 * dired-aux.el (dired-isearch-filter-predicate-orig):
7840 Remove variable.
7841 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7842 (dired-isearch-filenames-end): Add and remove
7843 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7844 instead of changing the value of `isearch-filter-predicate'.
7845 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7846 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7847 Put property `isearch-message-prefix' to "filename " on
7848 `dired-isearch-filter-filenames'.
7849
7850 * wdired.el (wdired-change-to-wdired-mode):
7851 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7852 locally instead of changing `isearch-filter-predicate'.
7853 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7854
7855 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7856
7857 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7858 return the commit hash (Bug#14459). Also set the
7859 `vc-git-detached' property.
7860 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7861 (vc-git-mode-line-string): Use the same help-echo format whether
7862 in detached mode or not, because we know the actual revision now.
7863 When in detached mode, shorten the revision to 7 chars.
7864
7865 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7866
7867 * emacs-lisp/easy-mmode.el (define-minor-mode):
7868 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7869 mode hook and provide a docstring.
7870
7871 2013-05-27 Alan Mackenzie <acm@muc.de>
7872
7873 Remove spurious syntax-table text properties inserted by C-y.
7874 * progmodes/cc-mode.el (c-after-change): Also clear hard
7875 syntax-table property with value nil.
7876
7877 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7878
7879 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7880 when reading the events; the buffer layout shall not be changed.
7881
7882 2013-05-27 Leo Liu <sdl.web@gmail.com>
7883
7884 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7885 New variable.
7886 (inferior-octave-directory-tracker): Automatically re-sync
7887 default-directory.
7888 (octave-help): Improve handling of 'See also'.
7889
7890 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7891
7892 * doc-view.el: Minor naming convention tweaks.
7893 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7894
7895 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7896 even if there's no `display' property yet (bug#14435).
7897
7898 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7899
7900 * subr.el (unmsys--file-name): Rename from reveal-filename.
7901
7902 * Makefile.in (custom-deps, finder-data, autoloads)
7903 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7904 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7905 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7906
7907 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7908
7909 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7910 error-completion on the first 2 args of condition-case (bug#14446).
7911 Don't burp at EOB.
7912
7913 2013-05-25 Leo Liu <sdl.web@gmail.com>
7914
7915 * comint.el (comint-previous-matching-input): Do not flood the
7916 *Messages* buffer with trivial messages.
7917
7918 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7919
7920 * progmodes/flymake.el (flymake-nop): Don't return a string.
7921 (flymake-set-at): Fix typo.
7922
7923 * simple.el (read--expression): New function, extracted from
7924 eval-expression. Set completion-at-point-functions (bug#14465).
7925 (eval-expression, eval-minibuffer): Use it.
7926
7927 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7928
7929 * progmodes/flymake.el (flymake-save-buffer-in-file)
7930 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7931 (flymake-selected-frame, flymake-log, flymake-ins-after)
7932 (flymake-set-at, flymake-get-buildfile-from-cache)
7933 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7934 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7935 Refine the doc string.
7936 (flymake-get-file-name-mode-and-masks): Reformat.
7937 (flymake-get-real-file-name-function): Fix a minor bug.
7938
7939 2013-05-24 Juri Linkov <juri@jurta.org>
7940
7941 * progmodes/grep.el (grep-mode-font-lock-keywords):
7942 Support =linenumber= format used by git-grep for lines with
7943 function names. (Bug#13549)
7944
7945 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7946
7947 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7948 0 after a semi-colon; it works better for smie-auto-fill.
7949 (octave--indent-new-comment-line): New function.
7950 (octave-indent-new-comment-line): Use it (indirectly).
7951 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7952 modify comment-line-break-function.
7953
7954 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7955 (smie-setup): Use add-function to set it.
7956
7957 2013-05-24 Sam Steingold <sds@gnu.org>
7958
7959 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7960 argument (before the `interactive' argument).
7961
7962 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7963
7964 * image-mode.el (image-mode-winprops): Add winprops to
7965 image-mode-winprops-alist before running
7966 image-mode-new-window-functions.
7967 * doc-view.el (doc-view-new-window-function): Don't delay
7968 doc-view-goto-page via timers (bug#14435).
7969
7970 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7971
7972 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7973 (doc-view-desktop-save-buffer): New function.
7974 (doc-view-restore-desktop-buffer): New function.
7975 (desktop-buffer-mode-handlers):
7976 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7977 handler.
7978 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7979 `desktop-save-buffer' function.
7980
7981 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7982
7983 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7984 (tramp-gvfs-file-name-handler): Raise a user error when
7985 `tramp-gvfs-enabled' is nil.
7986 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7987 Do not raise a user error when loading package. (Bug#14447)
7988
7989 * net/xesam.el: Move to obsolete/.
7990
7991 2013-05-24 Glenn Morris <rgm@gnu.org>
7992
7993 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7994
7995 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7996
7997 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7998 (Info-find-node, Man-getpage-in-background): Declare.
7999
8000 * mail/unrmail.el (unrmail):
8001 Replace obsolete detect-coding-with-priority.
8002
8003 * net/socks.el (socks-split-string): Use this rather than split-string.
8004 (socks-nslookup-host): Update for above change.
8005 (dynamic-choice, s5-dynamic-choice-match)
8006 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8007 Comment out unused code.
8008
8009 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8010 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8011 (gud-tooltip-echo-area): Make obsolete.
8012 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8013
8014 * progmodes/js.el (js--optimize-arglist): Declare.
8015
8016 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8017
8018 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8019 (ediff-window-C): Declare.
8020
8021 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8022 Tweak requires to silence compiler.
8023
8024 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8025 (he-search-string, he-tried-table, he-expand-list)
8026 (he-init-string, he-string-member, he-substitute-string)
8027 (he-reset-string): Declare.
8028
8029 * obsolete/options.el (list-options): Use custom-variable-p,
8030 rather than obsolete alias.
8031
8032 2013-05-23 Sam Steingold <sds@gnu.org>
8033
8034 * simple.el (shell-command-on-region): Pass the `replace' argument
8035 down to `call-process-region' to comply with the doc as reported on
8036 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8037
8038 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8039
8040 * emacs-lisp/smie.el (smie-indent-forward-token)
8041 (smie-indent-backward-token): Handle string tokens (bug#14381).
8042
8043 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8044
8045 * ielm.el (ielm-menu): New menu.
8046 (inferior-emacs-lisp-mode): Set comment-start.
8047
8048 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8049
8050 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8051 Fix deactivate action.
8052
8053 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8054 Add cleveref macros.
8055
8056 * lisp/textmodes/reftex-parse.el
8057 (reftex-locate-bibliography-files): Accept options for
8058 bibliography commands.
8059 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8060 Add addbibresource. Basic Biblatex support.
8061
8062 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8063
8064 * net/tramp-gvfs.el (top):
8065 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8066 when loading package. (Bug#14447)
8067
8068 2013-05-23 Glenn Morris <rgm@gnu.org>
8069
8070 * progmodes/js.el: No need to load comint when compiling.
8071 (ring-insert, comint-send-string, comint-send-input)
8072 (comint-last-input-end, ido-chop): Declare.
8073
8074 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8075 * vc/ediff-mult.el: Adjust requires.
8076 (ediff-directories-internal, ediff-directory-revisions-internal)
8077 (ediff-patch-file-internal): Declare.
8078 * vc/ediff-ptch.el: Adjust requires.
8079 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8080 (ediff-find-file): Autoload.
8081 * vc/ediff-util.el: No need to load ediff when compiling.
8082 (ediff-regions-internal): Declare.
8083 * vc/ediff-wind.el: Adjust requires.
8084 (ediff-compute-toolbar-width): Define when compiling.
8085 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8086 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8087 (dired-get-filename, dired-get-marked-files)
8088 (ediff-last-dir-patch, ediff-patch-default-directory)
8089 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8090 (ediff-patch-buffer-internal): Declare.
8091
8092 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8093 (ispell-process, ispell-buffer-local-words, lm-summary)
8094 (lm-section-start, lm-section-end): Declare.
8095 (checkdoc-ispell-init): Simplify.
8096
8097 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8098 (he-string-member, he-reset-string, he-substitute-string): Declare.
8099
8100 * eshell/em-ls.el: Adjust requires.
8101 (eshell-glob-regexp): Declare.
8102 * eshell/em-tramp.el: Adjust requires.
8103 (eshell-parse-command): Autoload.
8104 * eshell/em-xtra.el: Adjust requires.
8105 (eshell-parse-command): Autoload.
8106 * eshell/esh-ext.el: Adjust requires.
8107 (eshell-parse-command, eshell-close-handles): Autoload.
8108 * eshell/esh-io.el: Adjust requires.
8109 (eshell-output-filter): Autoload.
8110 * eshell/esh-util.el: No need to load tramp when compiling.
8111 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8112 Declare.
8113 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8114 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8115 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8116 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8117 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8118 * eshell/esh-opt.el, eshell/esh-proc.el:
8119 * eshell/esh-var.el: Adjust requires.
8120 * eshell/eshell.el: Do not require esh-util twice.
8121 (eshell-add-input-to-history): Declare.
8122 (eshell-command): Check history module is active before using it.
8123
8124 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8125
8126 2013-05-22 Leo Liu <sdl.web@gmail.com>
8127
8128 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8129
8130 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8131
8132 * autorevert.el (auto-revert-notify-add-watch)
8133 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8134 it indicates changes in file modification time.
8135
8136 2013-05-22 Glenn Morris <rgm@gnu.org>
8137
8138 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8139 Always delete the autoloaded function from the noruntime and
8140 unresolved functions lists.
8141
8142 * allout.el: No need to load epa, epg, overlay when compiling.
8143 (epg-context-set-passphrase-callback, epg-list-keys)
8144 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8145 (epg-key-user-id-list): Declare.
8146
8147 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8148 (viper-set-parsing-style-toggling-macro)
8149 (viper-set-emacs-state-searchstyle-macros):
8150 Use called-interactively-p on Emacs.
8151 (viper-looking-back): Make it an obsolete alias. Update callers.
8152 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8153 Use looking-back rather than viper-looking-back.
8154 (viper-tmp-insert-at-eob, viper-enlarge-region)
8155 (viper-read-string-with-history, viper-register-to-point)
8156 (viper-append-to-register, viper-change-state-to-vi)
8157 (viper-backward-char-carefully, viper-forward-char-carefully)
8158 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8159 (viper-change-state-to-emacs): Declare.
8160 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8161 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8162 * emulation/viper-mous.el: Do not load viper-cmd.
8163 (viper-backward-char-carefully, viper-forward-char-carefully)
8164 (viper-forward-word, viper-adjust-window): Declare.
8165
8166 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8167
8168 * progmodes/idlw-help.el (idlwave-help-fontify):
8169 Use called-interactively-p.
8170
8171 * term/w32console.el (w32-get-console-codepage)
8172 (w32-get-console-output-codepage): Declare.
8173
8174 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8175 Remove unnecessary declarations.
8176 (dframe-message): Doc fix.
8177
8178 * info.el (dframe-select-attached-frame, dframe-current-frame):
8179 Declare.
8180
8181 * speedbar.el (speedbar-message): Make it an obsolete alias.
8182 Update all callers.
8183 (speedbar-with-attached-buffer)
8184 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8185 (speedbar-with-writable): Use backquote.
8186 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8187 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8188 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8189 rather than speedbar- aliases.
8190 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8191 (speedbar-make-specialized-keymap, speedbar-insert-button)
8192 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8193 (speedbar-do-function-pointer): Declare.
8194 (rmail-speedbar-button, rmail-speedbar-find-file)
8195 (rmail-speedbar-move-message):
8196 Use dframe-with-attached-buffer rather than speedbar- alias.
8197 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8198 (dframe-message, speedbar-make-specialized-keymap)
8199 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8200 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8201 (speedbar-insert-button, dframe-select-attached-frame)
8202 (dframe-maybee-jump-to-attached-frame)
8203 (speedbar-change-initial-expansion-list)
8204 (speedbar-previously-used-expansion-list-name): Declare.
8205 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8206 Use dframe-message, dframe-with-attached-buffer rather than
8207 speedbar- aliases.
8208 (gud-sentinel): Silence compiler.
8209 * progmodes/vhdl-mode.el (speedbar-refresh)
8210 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8211 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8212 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8213 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8214 (speedbar-file-lists, speedbar-make-tag-line)
8215 (speedbar-line-directory, speedbar-goto-this-file)
8216 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8217 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8218 (speedbar-make-button, speedbar-reset-scanners)
8219 (speedbar-files-item-info, speedbar-line-text)
8220 (speedbar-find-file-in-frame, speedbar-set-timer)
8221 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8222 (speedbar-with-writable): Do not (re)define it.
8223 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8224 rather than speedbar- alias.
8225
8226 2013-05-21 Leo Liu <sdl.web@gmail.com>
8227
8228 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8229 menu items.
8230 (octave-mode): Tweak fill-nobreak-predicate.
8231 (inferior-octave-startup): Check process to avoid infinite loop.
8232 (inferior-octave): Pop to buffer first to show abornmal process
8233 exit information.
8234
8235 2013-05-21 Glenn Morris <rgm@gnu.org>
8236
8237 * printing.el (pr-menu-bar): Define when compiling.
8238
8239 2013-05-21 Leo Liu <sdl.web@gmail.com>
8240
8241 * progmodes/octave.el (octave-auto-fill): Remove.
8242 (octave-indent-new-comment-line): Improve.
8243 (octave-mode): Use auto fill mode through
8244 comment-line-break-function and fill-nobreak-predicate.
8245 (octave-goto-function-definition): Support DEFUN_DLD.
8246 (octave-beginning-of-defun): Small tweak.
8247 (octave-help): Show parent directory.
8248
8249 2013-05-21 Glenn Morris <rgm@gnu.org>
8250
8251 * files.el (dired-unmark):
8252 * progmodes/gud.el (gdb-input): Update declarations.
8253
8254 * calculator.el (electric, ehelp): No need to load when compiling.
8255 (Electric-command-loop, electric-describe-mode): Declare.
8256
8257 * doc-view.el (doc-view-current-converter-processes): Move before use.
8258
8259 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8260 Move MODE-set-explicitly definition before use.
8261
8262 * international/mule-diag.el (mule-diag):
8263 Don't use obsolete window-system-version.
8264
8265 * mail/feedmail.el (smtpmail): No need to load when compiling.
8266 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8267
8268 * mail/mail-utils.el (rfc822): No need to load when compiling.
8269 (rfc822-addresses): Autoload it.
8270 (mail-strip-quoted-names): Trivial simplification.
8271
8272 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8273 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8274
8275 * net/snmp-mode.el (tempo): Don't duplicate requires.
8276
8277 * progmodes/prolog.el (info): No need to load when compiling.
8278 (comint): Require before shell requires it.
8279 (Info-goto-node): Autoload it.
8280 (Info-follow-nearest-node): Declare.
8281 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8282
8283 * textmodes/artist.el (picture-mode-exit): Declare.
8284
8285 * textmodes/reftex-parse.el (reftex-parse-from-file):
8286 Trivial rewrite so the compiler can parse it better.
8287
8288 2013-05-20 Leo Liu <sdl.web@gmail.com>
8289
8290 * progmodes/octave.el (octave-help-mode-map)
8291 (octave-help-mode-finish-hook): New variables.
8292 (octave-help-mode, octave-help-mode-finish): New functions.
8293 (octave-help): Use octave-help-mode.
8294
8295 2013-05-20 Glenn Morris <rgm@gnu.org>
8296
8297 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8298
8299 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8300
8301 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8302 start at point, so that expansion starting right after opening
8303 slash in a regexp is recognized.
8304 (ruby-syntax-before-regexp-re): New defvar, extracted from
8305 ruby-syntax-propertize-function. Since the value of this regexp
8306 is looked up at runtime now, we should be able to turn
8307 `ruby-syntax-methods-before-regexp' into a defcustom later.
8308 (ruby-syntax-propertize-function): Split regexp matching into two
8309 parts, for opening and closing slashes. That allows us to skip
8310 over string interpolations and support multiline regexps.
8311 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8312 for them, which calls `ruby-syntax-propertize-expansion'.
8313 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8314 call to `ruby-syntax-propertize-function'.
8315 (ruby-syntax-propertize-expansion): Extracted from
8316 `ruby-syntax-propertize-expansions'. Handles one expansion.
8317 (ruby-syntax-propertize-percent-literal): Leave point right after
8318 the percent symbol, so that the expression expansion rule can
8319 propertize the contents.
8320 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8321 heredoc openers.
8322 (ruby-syntax-propertize-expansions): Remove.
8323
8324 2013-05-18 Juri Linkov <juri@jurta.org>
8325
8326 * man.el (Man-default-man-entry): Remove `-' from the end
8327 of the default value. (Bug#14400)
8328
8329 2013-05-18 Glenn Morris <rgm@gnu.org>
8330
8331 * comint.el (comint-password-prompt-regexp):
8332 Allow "password for XXX" where XXX contains colons (eg https://...).
8333
8334 2013-05-18 Leo Liu <sdl.web@gmail.com>
8335
8336 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8337 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8338 (octave-source-directories): Don't check process.
8339 (octave-source-directories, octave-find-definition): Doc fix.
8340
8341 2013-05-18 Glenn Morris <rgm@gnu.org>
8342
8343 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8344 Remove backspace/delete bindings. (Bug#14392)
8345
8346 * cus-dep.el (custom-make-dependencies): Sort the output.
8347 (custom-versions-load-alist): Convert comment to doc.
8348
8349 2013-05-17 Leo Liu <sdl.web@gmail.com>
8350
8351 * newcomment.el (comment-search-backward): Stricter in finding
8352 comment start. (Bug#14303)
8353
8354 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8355 (octave-comment-start-skip): Properly anchored.
8356
8357 2013-05-17 Leo Liu <sdl.web@gmail.com>
8358
8359 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8360 Clean up when turned off. (Bug#14395)
8361 (smie--highlight-matching-block-overlay): No longer buffer-local.
8362 (smie-highlight-matching-block): Adjust.
8363
8364 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8365
8366 Doc string fix for "nanoseconds" (Bug#14406).
8367 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8368 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8369
8370 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8371
8372 * calc/calc-units.el (math-extract-units): Preserve powers
8373 of units.
8374
8375 2013-05-17 Leo Liu <sdl.web@gmail.com>
8376
8377 * subr.el (delete-consecutive-dups): New function.
8378 * ido.el (ido-set-matches-1): Use it.
8379 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8380 * ido.el (ido-remove-consecutive-dups): Remove.
8381
8382 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8385 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8386 regexp-opt's `words'.
8387
8388 2013-05-16 Leo Liu <sdl.web@gmail.com>
8389
8390 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8391 (smie--highlight-matching-block-overlay)
8392 (smie--highlight-matching-block-lastpos)
8393 (smie--highlight-matching-block-timer): New variables.
8394 (smie-highlight-matching-block): New function.
8395 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8396 (smie-setup): Conditionally enable smie-blink-matching-open.
8397
8398 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8399
8400 Sync with upstream verilog-mode r840.
8401 * progmodes/verilog-mode.el (verilog-mode-version)
8402 (verilog-mode-release-date): Update.
8403 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8404 (verilog-sig-tieoff): Fix string error on
8405 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8406 (verilog-read-decls): Fix parameters confusing
8407 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8408
8409 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8410
8411 * subr.el (reveal-filename): New function.
8412
8413 * loadup.el: Compute Emacs executable versions on MS-Windows,
8414 where executables have the .exe extension. Add a hard link
8415 emacs-XX.YY.ZZ.exe on MS-Windows.
8416
8417 * Makefile.in (XARGS_LIMIT): New variable.
8418 (custom-deps, finder-data, autoloads)
8419 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8420 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8421 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8422 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8423
8424 2013-05-16 Leo Liu <sdl.web@gmail.com>
8425
8426 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8427 (octave-mode-menu, octave-mode-map): Remove its uses.
8428
8429 2013-05-16 Reto Zimmermann <reto@gnu.org>
8430
8431 Sync with upstream vhdl mode v3.34.2.
8432 * progmodes/vhdl-mode.el: Use `push' throughout.
8433 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8434 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8435 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8436 (vhdl-actual-generic-name): New option to derive actual generic name.
8437 (vhdl-port-paste-signals): Replace formal by actual generics.
8438 (vhdl-beautify): New name for old group vhdl-align. Update users.
8439 (vhdl-beautify-options): New option.
8440 (vhdl-last-input-event): New compat alias. Use throughout.
8441 (vhdl-goto-line): Replace user level function `goto-line'.
8442 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8443 vhdl-fix-statement-buffer.
8444 (vhdl-create-mode-menu): Add some entries.
8445 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8446 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8447 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8448 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8449 to force statements on one line.
8450 (vhdl-remove-trailing-spaces-region):
8451 New, split from vhdl-remove-trailing-spaces.
8452 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8453 Respect vhdl-beautify-options.
8454 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8455 (vhdl-update-sensitivity-list): Not add with index if exists without.
8456 Not include array index with signal. Ignore keywords in comments.
8457 (vhdl-get-visible-signals): Regexp tweaks.
8458 (vhdl-template-component-inst): Handle empty library.
8459 (vhdl-template-type): Add template for 'enum' type.
8460 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8461 Use vhdl-replace-string.
8462 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8463 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8464 (vhdl-speedbar-initialize): Update for above name change.
8465 (vhdl-compose-wire-components): Fix in handling of constants.
8466 (vhdl-error-regexp-emacs-alist): New variable.
8467 (vhdl-error-regexp-add-emacs): New function;
8468 adds support for new compile.el (Emacs 22+)
8469 (vhdl-generate-makefile-1): Change target order for single lib. units.
8470 Allow use of absolute file names.
8471
8472 2013-05-16 Leo Liu <sdl.web@gmail.com>
8473
8474 * simple.el (prog-indent-sexp): Indent enclosing defun.
8475
8476 2013-05-15 Glenn Morris <rgm@gnu.org>
8477
8478 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8479 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8480 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8481 (whitespace-highlight): Move to whitespace group.
8482
8483 * comint.el (comint-source):
8484 * pcmpl-linux.el (pcmpl-linux):
8485 * shell.el (shell-faces):
8486 * eshell/esh-opt.el (eshell-opt):
8487 * international/ccl.el (ccl): Remove empty custom groups.
8488
8489 * completion.el (dynamic-completion-mode):
8490 * jit-lock.el (jit-lock-debug-mode):
8491 * minibuffer.el (completion-in-region-mode):
8492 * type-break.el (type-break-mode-line-message-mode)
8493 (type-break-query-mode):
8494 * emulation/tpu-edt.el (tpu-edt-mode):
8495 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8496 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8497 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8498
8499 * term/xterm.el (xterm): Change parent group to terminals.
8500
8501 * master.el (master): Remove empty custom group.
8502 (master-mode): Remove unused :group argument.
8503 * textmodes/refill.el (refill): Remove empty custom group.
8504 (refill-mode): Remove unused :group argument.
8505
8506 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8507
8508 * cus-dep.el: Provide a feature.
8509 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8510 Don't mistakenly ignore files whose basenames match a basename
8511 from preloaded-file-list (eg cedet/ede/simple.el).
8512 Add a fallback method for getting :group.
8513
8514 2013-05-15 Juri Linkov <juri@jurta.org>
8515
8516 * isearch.el (isearch-char-by-name): Rename from
8517 `isearch-insert-char-by-name'. Doc fix.
8518 (isearch-forward): Mention `isearch-char-by-name' in
8519 the docstring. (Bug#13348)
8520
8521 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8522 `exit-minibuffer' instead of
8523 `isearch-nonincremental-exit-minibuffer'.
8524 (isearch-edit-string): Remove mention of
8525 `isearch-nonincremental-exit-minibuffer' from docstring.
8526 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8527 (isearch-forward-exit-minibuffer)
8528 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8529
8530 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * loadup.el: Just use unversioned DOC.
8533
8534 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8535 literals as extending to EOB.
8536 (nxml-last-fontify-end): Remove unused variable.
8537 (nxml-after-change1): Use with-silent-modifications.
8538 (nxml-extend-after-change-region): Simplify.
8539 (nxml-extend-after-change-region1): Remove function.
8540 (nxml-after-change1): Don't adjust for dependent regions.
8541 (nxml-fontify-matcher): Simplify.
8542 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8543 (xmltok-add-dependent): Remove function.
8544 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8545 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8546 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8547 unclosed <[[, <?, comment, and other literals as extending to EOB.
8548 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8549 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8550 Remove functions.
8551 (rng-do-some-validation-1): Don't mark dependent regions.
8552 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8553 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8554 (nxml-clear-dependent-regions): Remove functions.
8555 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8556 (nxml-ensure-scan-up-to-date):
8557 Don't clear&mark dependent regions.
8558
8559 2013-05-15 Leo Liu <sdl.web@gmail.com>
8560
8561 * progmodes/octave.el (octave-goto-function-definition):
8562 Improve and fix callers.
8563
8564 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8565
8566 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8567 the setter (bug#14387).
8568
8569 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8570 surrounding group (bug#14402).
8571
8572 2013-05-14 Juri Linkov <juri@jurta.org>
8573
8574 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8575 (Bug#14390)
8576
8577 2013-05-14 Glenn Morris <rgm@gnu.org>
8578
8579 * progmodes/f90.el (f90-imenu-generic-expression):
8580 Fix typo in 2013-05-08 change. (Bug#14402)
8581
8582 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8583
8584 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8585 Remove signals for which replies are never received.
8586
8587 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8588
8589 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8590 (gdb-handler-alist, gdb-handler-number): Remove variables.
8591 (gdb-handler-list): New variable.
8592 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8593 (gdb-pending-handler-p, gdb-handle-reply)
8594 (gdb-remove-all-pending-triggers): New functions.
8595 (gdb-discard-unordered-replies): New defcustom.
8596 (gdb-handler): New defstruct.
8597 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8598 instead of gdb-pending-triggers. Update docstring.
8599 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8600 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8601 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8602 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8603 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8604 (gdb-frame-handler): Pending triggers are now automatically managed.
8605 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8606 Remove argument.
8607 (gdb-input): Automatically handles pending triggers. Update docstring.
8608 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8609 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8610 Update comments.
8611 (gdb-done-or-error): Now use gdb-handle-reply.
8612
8613 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8614
8615 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8616 gdb-debug-log.
8617
8618 2013-05-14 Glenn Morris <rgm@gnu.org>
8619
8620 * subr.el (user-emacs-directory-warning): New option.
8621 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8622
8623 2013-05-14 Leo Liu <sdl.web@gmail.com>
8624
8625 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8626 during redisplay.
8627 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8628 (octave-font-lock-texinfo-comment): Fix invalid search bound
8629 error: wrong side of point.
8630
8631 2013-05-14 Glenn Morris <rgm@gnu.org>
8632
8633 * progmodes/flymake.el (flymake-xml-program): New option.
8634 (flymake-xml-init): Use it.
8635
8636 * term/xterm.el: Provide a feature.
8637
8638 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8639
8640 2013-05-13 Glenn Morris <rgm@gnu.org>
8641
8642 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8643 Add compat aliases as a hack workaround. (Bug#14384)
8644
8645 2013-05-13 Leo Liu <sdl.web@gmail.com>
8646
8647 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8648 ###, and %!.
8649 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8650 C-M-q.
8651 (octave-comment-start-skip): Include %!.
8652 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8653
8654 2013-05-12 Leo Liu <sdl.web@gmail.com>
8655
8656 * progmodes/octave.el (inferior-octave-startup): Store the value
8657 of __octave_srcdir__ for octave-source-directories.
8658 (inferior-octave-check-process): New function refactored out of
8659 inferior-octave-send-list-and-digest.
8660 (octave-source-directories)
8661 (octave-find-definition-filename-function): New variables.
8662 (octave-source-directories)
8663 (octave-find-definition-default-filename): New functions.
8664 (octave-find-definition): Improve to find functions implemented in C++.
8665
8666 2013-05-12 Glenn Morris <rgm@gnu.org>
8667
8668 * calendar/diary-lib.el (diary-outlook-format-1):
8669 Don't include dayname in the output. (Bug#14349)
8670
8671 2013-05-11 Glenn Morris <rgm@gnu.org>
8672
8673 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8674
8675 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8676 Treat cc-provide like provide.
8677
8678 2013-05-11 Kevin Ryde <user42@zip.com.au>
8679
8680 * cus-dep.el (custom-make-dependencies):
8681 Use generated-autoload-load-name for the sake of files such
8682 such cedet/semantic/bovine/c.el, where the base file name
8683 is not in load-path. (Bug#5277)
8684
8685 2013-05-11 Glenn Morris <rgm@gnu.org>
8686
8687 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8688 Provide features.
8689
8690 2013-05-11 Leo Liu <sdl.web@gmail.com>
8691
8692 * progmodes/octave.el (octave-indent-comment): Improve.
8693 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8694 (octave-eldoc-function-signatures, octave-eldoc-function):
8695 New functions.
8696 (octave-mode, inferior-octave-mode): Add eldoc support.
8697
8698 2013-05-11 Richard Stallman <rms@gnu.org>
8699
8700 * epa.el (epa-decrypt-file): Take output file name as argument
8701 and read it using `interactive'.
8702
8703 2013-05-11 Leo Liu <sdl.web@gmail.com>
8704
8705 * progmodes/octave.el (octave-beginning-of-line)
8706 (octave-end-of-line): Check before using up-list because it jumps
8707 out of more syntactic contructs since moving to smie.
8708 (octave-indent-comment): New function.
8709 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8710 (octave-begin-keywords, octave-end-keywords)
8711 (octave-reserved-words, octave-smie-bnf-table)
8712 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8713
8714 2013-05-11 Glenn Morris <rgm@gnu.org>
8715
8716 * faces.el (internal-face-x-get-resource):
8717 * frame.el (ns-display-monitor-attributes-list):
8718 * calc/calc-aent.el (math-to-radians-2):
8719 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8720 Fix declarations.
8721
8722 * calc/calc-menu.el: Make it loadable in isolation.
8723
8724 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8725 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8726 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8727 (eudc-bbdb-query-internal): Require 'bbdb.
8728
8729 * lpr.el (lpr-headers-switches):
8730 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8731
8732 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8733
8734 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8735
8736 * term.el (term-set-escape-char): Make it idempotent.
8737
8738 2013-05-10 Leo Liu <sdl.web@gmail.com>
8739
8740 * progmodes/octave.el (inferior-octave-completion-table):
8741 No longer a function and all uses changed. Use cache to speed up
8742 completion due to bug#11906.
8743 (octave-beginning-of-defun): Re-write to be more general.
8744
8745 2013-05-10 Glenn Morris <rgm@gnu.org>
8746
8747 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8748
8749 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8750
8751 * comint.el (comint-redirect-send-command-to-process): Use :around
8752 rather than :override for comint-redirect-filter.
8753 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8754 Call it instead of comint-redirect-original-filter-function (which
8755 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8756
8757 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8758
8759 * frame.el (display-monitor-attributes-list): Add NS case.
8760 (ns-display-monitor-attributes-list): Declare.
8761
8762 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8763
8764 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8765
8766 2013-05-09 Glenn Morris <rgm@gnu.org>
8767
8768 * international/fontset.el (vertical-centering-font-regexp):
8769 Set standard-value.
8770
8771 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8772
8773 * bookmark.el (bookmark-search-delay):
8774 * cus-start.el (vertical-centering-font-regexp):
8775 * ps-mule.el (ps-mule-font-info-database-default):
8776 * ps-print.el (ps-default-fg, ps-default-bg):
8777 * type-break.el (type-break-good-break-interval):
8778 * whitespace.el (whitespace-indentation-regexp)
8779 (whitespace-space-after-tab-regexp):
8780 * emacs-lisp/testcover.el (testcover-1value-functions)
8781 (testcover-noreturn-functions, testcover-progn-functions)
8782 (testcover-prog1-functions):
8783 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8784 * eshell/em-glob.el (eshell-glob-translate-alist):
8785 * play/tetris.el (tetris-tty-colors):
8786 * progmodes/cpp.el (cpp-face-default-list):
8787 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8788 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8789 (idlwave-help-browser-generic-args):
8790 * progmodes/make-mode.el (makefile-special-targets-list):
8791 * progmodes/python.el (python-shell-virtualenv-path):
8792 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8793 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8794 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8795 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8796 * textmodes/reftex-vars.el (reftex-format-label-function):
8797 * textmodes/remember.el (remember-diary-file): Fix custom types.
8798
8799 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8800 Add :version.
8801
8802 2013-05-09 Leo Liu <sdl.web@gmail.com>
8803
8804 * progmodes/octave.el (inferior-octave-completion-at-point):
8805 Restore file completion. (Bug#14300)
8806 (inferior-octave-startup): Fix incorrect highlighting for the
8807 first prompt.
8808
8809 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * progmodes/ruby-mode.el: First cut at SMIE support.
8812 (ruby-use-smie): New var.
8813 (ruby-smie-grammar): New constant.
8814 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8815 (ruby-smie--forward-token, ruby-smie--backward-token)
8816 (ruby-smie-rules): New functions.
8817 (ruby-mode-variables): Setup SMIE if applicable.
8818
8819 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8820
8821 * simple.el (line-move-visual): Signal beginning/end of buffer
8822 only if vertical-motion moved less than it was requested. Avoids
8823 silly incorrect error messages when there are display strings with
8824 multiple newlines at EOL.
8825
8826 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8827
8828 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8829 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8830 (prolog-char-quote-workaround):
8831 * progmodes/cperl-mode.el (cperl-under-as-char):
8832 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8833 Mark as obsolete.
8834 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8835 their declaration.
8836 (vhdl-mode-syntax-table-init): Remove.
8837
8838 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8839 last change.
8840
8841 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8842 syntax for "_".
8843 (ld-script-font-lock-keywords):
8844 Change regexps to use things like \_< and \_>.
8845
8846 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8847 Change all regexps to use things like \_< and \_>.
8848
8849 * progmodes/autoconf.el (autoconf-definition-regexp)
8850 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8851 Handle a _ with symbol syntax.
8852 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8853
8854 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8855 Consolidate declaration.
8856 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8857 the declaration.
8858 (ada-create-syntax-table): Remove.
8859 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8860 already has the right syntax nowadays.
8861 (ada-goto-next-word): Don't change the syntax of "_".
8862
8863 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8864 with-wrapper-hook.
8865
8866 2013-05-08 Sam Steingold <sds@gnu.org>
8867
8868 * thingatpt.el (thing-at-point): Accept optional second argument
8869 NO-PROPERTIES to strip the text properties from the return value.
8870 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8871 to `thing-at-point' instead of stripping the properties ourselves.
8872 Also, when `thing-at-point' fails to find a url, prepend "http://"
8873 to the filename at point on the assumption that the user is
8874 pointing at something like gnu.org/gnu.
8875
8876 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8877
8878 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8879 * faces.el (crm-separator):
8880 Silence byte-compiler.
8881
8882 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8883 (tool-bar-map): Remove unneeded defvars.
8884
8885 2013-05-08 Leo Liu <sdl.web@gmail.com>
8886
8887 Re-work a fix for bug#10994 based on Le Wang's patch.
8888 * ido.el (ido-remove-consecutive-dups): New helper.
8889 (ido-completing-read): Use it.
8890 (ido-chop): Revert fix for bug#10994.
8891
8892 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8893
8894 * cus-edit.el (custom-save-variables):
8895 Pretty-print long values. (Bug#14187)
8896
8897 2013-05-08 Glenn Morris <rgm@gnu.org>
8898
8899 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8900 (m4-mode-syntax-table): Init in the defvar.
8901 (m4-mode-abbrev-table): Let define-derived-mode define it.
8902
8903 2013-05-08 Tom Tromey <tromey@redhat.com>
8904
8905 * progmodes/m4-mode.el (m4-mode-syntax-table):
8906 Do not treat "_" as word constituent. (Bug#14167)
8907
8908 2013-05-07 Glenn Morris <rgm@gnu.org>
8909
8910 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8911 Remove explicit eshell-isearch-cancel-map.
8912
8913 * progmodes/f90.el (f90-smart-end-names): New option.
8914 (f90-smart-end): Doc fix.
8915 (f90-end-block-optional-name): New constant.
8916 (f90-block-match): Respect f90-smart-end-names.
8917
8918 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8919
8920 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8921 about implicit semi-colons (bug#14218).
8922
8923 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8924
8925 * frame.el (display-monitor-attributes-list)
8926 (frame-monitor-attributes): New functions.
8927
8928 2013-05-06 Leo Liu <sdl.web@gmail.com>
8929
8930 * progmodes/octave.el (octave-syntax-propertize-function): Change
8931 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8932 (octave-font-lock-keywords): Use octave-operator-regexp.
8933 (octave-completion-at-point): Rename from
8934 octave-completion-at-point-function.
8935 (inferior-octave-directory-tracker): Robustify.
8936 (octave-text-functions): Remove and fix its uses. No such things
8937 any more.
8938
8939 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8940
8941 * emacs-lisp/trace.el (trace--display-buffer): New function.
8942 (trace-make-advice): Use it.
8943
8944 2013-05-06 Juri Linkov <juri@jurta.org>
8945
8946 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8947 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8948 Doc fix.
8949 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8950 in the help string. (Bug#12985)
8951
8952 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8953
8954 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8955
8956 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8957
8958 * progmodes/perl-mode.el: Add support for here documents.
8959 (perl-syntax-propertize-function): Match here-doc markers.
8960 (perl-syntax-propertize-special-constructs): Find their end.
8961 (perl-imenu-generic-expression): Use [:alnum:].
8962
8963 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8964 (advice--add-function): Refresh the advice if already present
8965 (bug#14317).
8966
8967 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8968
8969 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8970
8971 2013-05-06 Glenn Morris <rgm@gnu.org>
8972
8973 * w32-fns.el (w32-charset-info-alist): Declare.
8974
8975 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8976 of its defcustom properties.
8977 (eshell-cmpl-initialize): No need to load pcomplete.
8978
8979 * generic-x.el: No need to require comint when compiling.
8980
8981 * net/eudc-export.el: Make it loadable without bbdb.
8982 (top-level): Use require rather than load-library.
8983 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8984 (eudc-batch-export-records-to-bbdb)
8985 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8986 Require bbdb.
8987
8988 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8989
8990 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8991 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8992 some tweaks, instead.
8993
8994 2013-05-05 Leo Liu <sdl.web@gmail.com>
8995
8996 * progmodes/octave.el (octave-font-lock-keywords)
8997 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8998 (inferior-octave-send-list-and-digest): Improve error message.
8999 (octave-mode, inferior-octave-mode): Use setq-local.
9000 (octave-help): Set info-lookup-mode.
9001
9002 2013-05-05 Richard Stallman <rms@gnu.org>
9003
9004 * vc/compare-w.el (compare-windows-whitespace):
9005 Treat no-break space as whitespace.
9006
9007 * mail/rmailsum.el (rmail-summary-rmail-update):
9008 Detect empty summary and don't change selected message.
9009 (rmail-summary-goto-msg): Likewise.
9010
9011 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9012 Doc fixes, rename args.
9013
9014 2013-05-05 Alan Mackenzie <acm@muc.de>
9015
9016 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9017
9018 2013-05-05 Juri Linkov <juri@jurta.org>
9019
9020 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9021 to not add the length of the summary segment to the return value.
9022 (Bug#14125)
9023
9024 2013-05-05 Leo Liu <sdl.web@gmail.com>
9025
9026 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9027 (inferior-octave-output-filter): Remove.
9028 (octave-send-region, inferior-octave-startup): Fix callers.
9029 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9030 (octave-binary-file-extensions): New user variable.
9031 (octave-find-definition): Confirm if opening binary files.
9032 (octave-help-file): Use octave-find-definition to get the binary
9033 confirmation.
9034 (octave-help): Adjust for octave-help-file change.
9035
9036 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9037
9038 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9039 Merge the two entries that handle function definitions.
9040 (pascal--syntax-propertize): New const.
9041 (pascal-mode): Use it. Use setq-local.
9042
9043 2013-05-04 Glenn Morris <rgm@gnu.org>
9044
9045 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9046 (diary-from-outlook): Respect diary-from-outlook-function.
9047
9048 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9049
9050 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9051 Move the declaration from C.
9052 (read-minibuffer, eval-minibuffer): Move from C.
9053 (completion-setup-function): Avoid minibuffer-completion-contents.
9054
9055 2013-05-03 Leo Liu <sdl.web@gmail.com>
9056
9057 * progmodes/octave.el (octave-font-lock-keywords): Do not
9058 dehighlight 'end' in comments or strings.
9059 (octave-completing-read, octave-goto-function-definition):
9060 New helpers.
9061 (octave-help-buffer): New user variable.
9062 (octave-help-file, octave-help-function): New button types.
9063 (octave-help): New command and bind it to C-h ;.
9064 (octave-find-definition): New command and bind it to M-.
9065 (user-error): Alias to error if not defined.
9066
9067 2013-05-02 Leo Liu <sdl.web@gmail.com>
9068
9069 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9070 for \. (bug#14332)
9071 (octave-font-lock-keywords): Include [ and {.
9072
9073 2013-05-02 Leo Liu <sdl.web@gmail.com>
9074
9075 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9076 (inferior-octave): Remove calling comint-mode and return the buffer.
9077 (inferior-octave-startup): Cosmetic changes.
9078
9079 2013-05-02 Leo Liu <sdl.web@gmail.com>
9080
9081 * progmodes/octave.el (octave-syntax-propertize-function):
9082 Include the case when ' is at line beginning. (Bug#14336)
9083
9084 2013-05-02 Glenn Morris <rgm@gnu.org>
9085
9086 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9087 * desktop.el (vc-dir-mode): Just autoload it here.
9088
9089 2013-05-02 Alan Mackenzie <acm@muc.de>
9090
9091 Eliminate variable c-standard-font-lock-fontify-region-function.
9092 * progmodes/cc-mode.el
9093 (c-standard-font-lock-fontify-region-function): Remove.
9094 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9095
9096 2013-05-01 Leo Liu <sdl.web@gmail.com>
9097
9098 * progmodes/octave.el: Compatible with older emacs-24 releases.
9099 (inferior-octave-has-built-in-variables): Remove. Built-in
9100 variables were removed from Octave in 2007.
9101 (inferior-octave-startup): Fix uses.
9102 (comint-line-beginning-position): Remove compatibility code for
9103 emacs 21.
9104
9105 2013-05-01 Juri Linkov <juri@jurta.org>
9106
9107 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9108
9109 2013-05-01 Juri Linkov <juri@jurta.org>
9110
9111 * comint.el (comint-previous-matching-input): Don't print message
9112 "History item: %d" when `isearch-mode' is active.
9113 (comint-history-isearch-message): Print message "History item: %d"
9114 when `comint-input-ring-index' is not empty and this function is
9115 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9116
9117 2013-05-01 Leo Liu <sdl.web@gmail.com>
9118
9119 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9120 definitions. Use completion-at-point to insert keywords.
9121 (octave-abbrev-start): Remove.
9122 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9123
9124 2013-04-30 Leo Liu <sdl.web@gmail.com>
9125
9126 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9127 change.
9128
9129 2013-04-30 Alan Mackenzie <acm@muc.de>
9130
9131 Handle arbitrarily long C++ member initialisation lists.
9132 * progmodes/cc-engine.el (c-back-over-member-initializers):
9133 new function.
9134 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9135 (most) member init lists.
9136
9137 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9138
9139 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9140 variable.
9141
9142 2013-04-30 Leo Liu <sdl.web@gmail.com>
9143
9144 * progmodes/octave.el (octave-variables): Remove. No builtin
9145 variables any more. All converted to functions.
9146 (octave-font-lock-keywords, octave-completion-at-point-function):
9147 Fix uses.
9148 (octave-font-lock-texinfo-comment): New user variable.
9149 (octave-texinfo-font-lock-keywords): New variable for texinfo
9150 comment block.
9151 (octave-function-comment-block): New face.
9152 (octave-font-lock-texinfo-comment): New function.
9153 (octave-mode): Font lock texinfo comment block.
9154
9155 2013-04-29 Leo Liu <sdl.web@gmail.com>
9156
9157 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9158 indexing expression.
9159 (octave-continuation-string): Do not use \.
9160 (inferior-octave-complete-impossible): Remove.
9161 (inferior-octave-completion-table)
9162 (inferior-octave-completion-at-point): Remove its uses.
9163 (inferior-octave-startup): completion_matches was introduced to
9164 Octave in 1996 so safe to assume it.
9165 (octave-function-file-comment): Improve to follow how Octave does it.
9166 (octave-update-function-file-comment): Tweak.
9167
9168 2013-04-29 Leo Liu <sdl.web@gmail.com>
9169
9170 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9171 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9172 (octave-function-file-comment): Fix typo.
9173 (octave-sync-function-file-names): Use read-char-choice.
9174
9175 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9176
9177 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9178 to t for the less important warnings.
9179
9180 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9181
9182 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9183
9184 2013-04-27 Glenn Morris <rgm@gnu.org>
9185
9186 * vc/log-view.el (log-view-current-entry):
9187 Treat "---" separator lines as part of the following rev. (Bug#14169)
9188
9189 2013-04-27 Juri Linkov <juri@jurta.org>
9190
9191 * subr.el (read-number): Doc fix about using it by interactive
9192 code letter `n'. (Bug#14254)
9193
9194 2013-04-27 Juri Linkov <juri@jurta.org>
9195
9196 * desktop.el (desktop-auto-save-timeout): New option.
9197 (desktop-file-checksum): New variable.
9198 (desktop-save): Add optional arg `auto-save' and don't auto-save
9199 if nothing changed.
9200 (desktop-auto-save-timer): New variable.
9201 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9202 (after-init-hook): Call `desktop-auto-save-set-timer'.
9203 Suggested by Reuben Thomas <rrt@sc3d.org> in
9204 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9205
9206 2013-04-27 Leo Liu <sdl.web@gmail.com>
9207
9208 * progmodes/octave.el (octave-function-file-p)
9209 (octave-skip-comment-forward, octave-function-file-comment)
9210 (octave-update-function-file-comment): New functions.
9211 (octave-mode-map): Bind C-c ; to
9212 octave-update-function-file-comment.
9213 (octave-mode-menu): Add octave-update-function-file-comment.
9214 (octave-mode, inferior-octave-mode): Fix doc-string.
9215 (octave-insert-defun): Conform to Octave's coding convention.
9216 (Bug#14285)
9217
9218 * files.el (basic-save-buffer): Don't let errors in
9219 before-save-hook prevent saving buffer.
9220
9221 2013-04-20 Roland Winkler <winkler@gnu.org>
9222
9223 * faces.el (read-face-name): Use completing-read if arg multiple
9224 is nil.
9225
9226 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9227
9228 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9229 displayed, move point to after the totals line.
9230 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9231 for the details.
9232
9233 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9234
9235 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9236 Add current dir to the load-path.
9237 (package-generate-autoloads): Don't rely on
9238 autoload-ensure-default-file.
9239
9240 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9241
9242 * textmodes/remember.el (remember-store-in-files): Document that
9243 the file name format is passed to `format-time-string'.
9244
9245 2013-04-26 Leo Liu <sdl.web@gmail.com>
9246
9247 * progmodes/octave.el (octave-sync-function-file-names): New function.
9248 (octave-mode): Use it in before-save-hook.
9249
9250 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9253 (bug#14274).
9254
9255 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9256 \n and comment, even if it's not an implicit ; (bug#14218).
9257
9258 2013-04-26 Glenn Morris <rgm@gnu.org>
9259
9260 * subr.el (read-number): Once more use `read' rather than
9261 `string-to-number', to trap non-numeric input. (Bug#14254)
9262
9263 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9264
9265 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9266 Use `syntax-multiline' text property consistently instead of
9267 `font-lock-multiline'. (Bug#14237)
9268
9269 2013-04-26 Glenn Morris <rgm@gnu.org>
9270
9271 * emacs-lisp/shadow.el (list-load-path-shadows):
9272 No longer necessary to check for duplicate simple.el, since
9273 2012-07-07 change to init_lread to not include installation lisp
9274 directories in load-path when running uninstalled. (Bug#14270)
9275
9276 2013-04-26 Leo Liu <sdl.web@gmail.com>
9277
9278 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9279 (octave-mode, inferior-octave-mode): Use setq-local.
9280 (octave-not-in-string-or-comment-p): Rename to
9281 octave-in-string-or-comment-p.
9282 (octave-in-comment-p, octave-in-string-p)
9283 (octave-in-string-or-comment-p): Replace defsubst with defun.
9284
9285 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9286
9287 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9288
9289 2013-04-25 Bastien Guerry <bzg@gnu.org>
9290
9291 * textmodes/remember.el (remember-data-directory)
9292 (remember-directory-file-name-format): Fix custom types.
9293
9294 2013-04-25 Leo Liu <sdl.web@gmail.com>
9295
9296 * progmodes/octave.el (octave-completion-at-point-function):
9297 Make use of inferior octave process.
9298 (octave-initialize-completions): Remove.
9299 (inferior-octave-completion-table): New function.
9300 (inferior-octave-completion-at-point): Use it.
9301 (octave-completion-alist): Remove.
9302
9303 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9306 (opascal-mode-syntax-table): New var.
9307 (opascal-literal-kind, opascal-is-literal-end)
9308 (opascal-literal-token-at): Rewrite.
9309 (opascal--literal-start-re, opascal-font-lock-keywords)
9310 (opascal--syntax-propertize): New constants.
9311 (opascal-font-lock-defaults): Adjust.
9312 (opascal-mode): Use them. Set comment-<foo> variables as well.
9313 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9314 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9315 (delphi-other-face, opascal-other-face): Remove face variables.
9316 (opascal-save-state): Remove macro.
9317 (opascal-fontifying-progress-step): Remove constant.
9318 (opascal--ignore-changes): Remove var.
9319 (opascal-set-token-property, opascal-parse-next-literal)
9320 (opascal-is-stable-literal, opascal-complete-literal)
9321 (opascal-is-literal-start, opascal-face-of)
9322 (opascal-parse-region, opascal-parse-region-until-stable)
9323 (opascal-fontify-region, opascal-after-change)
9324 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9325 (opascal-debug-parse-region, opascal-debug-parse-window)
9326 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9327 (opascal-debug-fontify-buffer): Remove.
9328 (opascal-debug-mode-map): Adjust accordingly.
9329
9330 2013-04-25 Leo Liu <sdl.web@gmail.com>
9331
9332 Merge octave-mod.el and octave-inf.el into octave.el with some
9333 cleanups.
9334 * progmodes/octave.el: New file renamed from octave-mod.el.
9335 * progmodes/octave-inf.el: Merged into octave.el.
9336 * progmodes/octave-mod.el: Renamed to octave.el.
9337
9338 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9339
9340 * textmodes/reftex-vars.el
9341 (reftex-label-ignored-macros-and-environments): New defcustom.
9342
9343 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9344
9345 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9346
9347 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9348 (smie-indent-keyword): Improve the check to ensure that the next
9349 comment is really on the same line.
9350 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9351
9352 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9353 semi-colons if the line is not otherwise empty (bug#14218).
9354
9355 2013-04-25 Glenn Morris <rgm@gnu.org>
9356
9357 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9358
9359 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9360
9361 * progmodes/opascal.el (opascal-set-token-property): Rename from
9362 opascal-set-text-properties and only set `token' (bug#14134).
9363 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9364 (opascal-literal-text-properties): Remove.
9365 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9366 Adjust callers.
9367
9368 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9369
9370 * textmodes/remember.el (remember-handler-functions): Add an
9371 option for a new handler `remember-store-in-files'.
9372 (remember-data-directory, remember-directory-file-name-format):
9373 New options.
9374 (remember-store-in-files): New function to store remember notes
9375 as separate files within a directory.
9376
9377 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9378
9379 * progmodes/compile.el (compilation-next-error-function):
9380 Pass "formats" to compilation-find-file (bug#11777).
9381
9382 2013-04-24 Glenn Morris <rgm@gnu.org>
9383
9384 * vc/vc-bzr.el (vc-bzr-print-log):
9385 * vc/vc-hg.el (vc-hg-print-log):
9386 * vc/vc-svn.el (vc-svn-print-log):
9387 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9388
9389 * vc/vc-bzr.el (vc-bzr-print-log):
9390 * vc/vc-cvs.el (vc-cvs-print-log):
9391 * vc/vc-git.el (vc-git-print-log):
9392 * vc/vc-hg.el (vc-hg-print-log):
9393 * vc/vc-mtn.el (vc-mtn-print-log):
9394 * vc/vc-rcs.el (vc-rcs-print-log):
9395 * vc/vc-sccs.el (vc-sccs-print-log):
9396 * vc/vc-svn.el (vc-svn-print-log):
9397 * vc/vc.el (vc-print-log-internal): Doc fixes.
9398
9399 2013-04-23 Glenn Morris <rgm@gnu.org>
9400
9401 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9402 Remove venerable code attempting to avoid substitute-command-keys.
9403
9404 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9405
9406 * textmodes/reftex-vars.el (reftex-label-regexps):
9407 Call `reftex-compile-variables' after changes to this variable.
9408
9409 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9412 Use lexical-binding.
9413 (jit-lock-force-redisplay): Use markers, check buffer's continued
9414 existence and beware narrowed buffers.
9415 (jit-lock-fontify-now): Adjust call accordingly.
9416
9417 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9418
9419 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9420 to avoid misleading the user.
9421
9422 2013-04-22 Leo Liu <sdl.web@gmail.com>
9423
9424 * info-look.el: Prefer latex2e.info. (Bug#14240)
9425
9426 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9427
9428 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9429
9430 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9431 * net/tramp.el (tramp-call-process): ... here.
9432 (tramp-set-completion-function, tramp-parse-putty):
9433 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9434 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9435 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9436 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9437 (tramp-call-local-coding-command): Use `tramp-call-process'
9438 instead of `tramp-compat-call-process'.
9439
9440 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9441 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9442 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9443 (tramp-find-inline-compress): Improve traces.
9444 (tramp-maybe-send-script): Check for Perl binary.
9445 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9446
9447 2013-04-22 Daiki Ueno <ueno@gnu.org>
9448
9449 * epg.el (epg-context-pinentry-mode): New function.
9450 (epg-context-set-pinentry-mode): New function.
9451 (epg--start): Pass --pinentry-mode option to gpg command.
9452
9453 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9454
9455 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9456 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9457 `completion-at-point'. (Bug#13774)
9458
9459 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9460 default key binding for `describe-distribution' has been moved to
9461 `C-h C-o'. (Bug#13970)
9462
9463 2013-04-21 Glenn Morris <rgm@gnu.org>
9464
9465 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9466 Add doc strings.
9467 (vc-print-log): Clarify interactive prompt.
9468
9469 2013-04-20 Glenn Morris <rgm@gnu.org>
9470
9471 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9472 No longer include timestamp etc information.
9473
9474 2013-04-20 Roland Winkler <winkler@gnu.org>
9475
9476 * faces.el (read-face-name): Bug fix, return just one face if arg
9477 multiple is nil. (Bug#14209)
9478
9479 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9482 (remove-function): Autoload.
9483
9484 * comint.el (comint-redirect-original-filter-function): Remove.
9485 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9486 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9487 (vc-cvs-annotate-command):
9488 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9489 * progmodes/prolog.el (prolog-consult-compile):
9490 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9491 Use add/remove-function instead.
9492 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9493 (gud-tooltip-process-output, gud-tooltip-tips):
9494 Use add/remove-function instead.
9495 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9496 (scheme-interaction-mode, exit-scheme-interaction-mode):
9497 Use add/remove-function instead.
9498
9499 * vc/vc-dispatcher.el: Use lexical-binding.
9500 (vc--process-sentinel): Rename from vc-process-sentinel.
9501 Change last arg to be the code to run. Don't use vc-previous-sentinel
9502 and vc-sentinel-commands any more.
9503 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9504 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9505
9506 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9507
9508 * progmodes/sh-script.el (sh-imenu-generic-expression):
9509 Handle function names with a single character. (Bug#14111)
9510
9511 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9512
9513 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9514 for subroutines defined in an eval (bug#14182).
9515
9516 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9517
9518 * bookmark.el (bookmark-completing-read): Improve handling of empty
9519 string (bug#14176).
9520
9521 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9522
9523 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9524
9525 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9526
9527 New faster Imenu implementation (bug#14058).
9528 * progmodes/python.el:
9529 (python-imenu-prev-index-position):
9530 (python-imenu-format-item-label-function)
9531 (python-imenu-format-parent-item-label-function)
9532 (python-imenu-format-parent-item-jump-label-function):
9533 New vars.
9534 (python-imenu-format-item-label)
9535 (python-imenu-format-parent-item-label)
9536 (python-imenu-format-parent-item-jump-label)
9537 (python-imenu--put-parent, python-imenu--build-tree)
9538 (python-imenu-create-index, python-imenu-create-flat-index)
9539 (python-util-popn): New functions.
9540 (python-mode): Set imenu-create-index-function to
9541 python-imenu-create-index.
9542
9543 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9544
9545 * winner.el (winner-active-region): Use region-active-p, activate-mark
9546 and deactivate-mark (bug#14225).
9547
9548 * simple.el (deactivate-mark): Don't inline it.
9549
9550 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9551
9552 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9553
9554 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9555
9556 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9557 file extensions from the archive-mode entry in order to prefer
9558 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9559
9560 2013-04-18 Leo Liu <sdl.web@gmail.com>
9561
9562 * bindings.el (help-event-list): Add ?\?.
9563
9564 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9565
9566 * subr.el (with-wrapper-hook): Declare obsolete.
9567 * simple.el (filter-buffer-substring-function): New hook.
9568 (filter-buffer-substring): Use it.
9569 (filter-buffer-substring-functions): Mark obsolete.
9570 * minibuffer.el (completion-in-region-function): New hook.
9571 (completion-in-region): Use it.
9572 (completion-in-region-functions): Mark obsolete.
9573 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9574 * abbrev.el (abbrev-expand-function): New hook.
9575 (expand-abbrev): Use it.
9576 (abbrev-expand-functions): Mark obsolete.
9577 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9578 and :filter-return.
9579
9580 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9581
9582 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9583 and do not care about match data.
9584
9585 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9586
9587 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9588 completion tables when completing error conditions and
9589 `declare' arguments.
9590 (lisp-complete-symbol, field-complete): Mark as obsolete.
9591 (check-parens): Unmatched parens are user errors.
9592 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9593
9594 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9595
9596 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9597 command changed buffer (ie. `flyspell-pre-buffer' is not current
9598 buffer), which prevents making decisions based on invalid value of
9599 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9600 cause an error when `flyspell-pre-point' was nil after switching
9601 buffers.
9602 (flyspell-post-command-hook): No longer needs to change buffers when
9603 checking pre-word. While at it remove unnecessary progn.
9604
9605 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9606
9607 * textmodes/ispell.el (ispell-add-per-file-word-list):
9608 Fix `flyspell-correct-word-before-point' error when accepting
9609 words and `coment-padding' is an integer by using
9610 `comment-normalize-vars' (Bug #14214).
9611
9612 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9613
9614 New defun movement commands.
9615 * progmodes/python.el (python-nav--syntactically)
9616 (python-nav--forward-defun, python-nav-backward-defun)
9617 (python-nav-forward-defun): New functions.
9618
9619 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9620
9621 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9622 (python-syntax-context): Use named compiler-macro for backwards
9623 compatibility with Emacs 24.x.
9624
9625 2013-04-17 Leo Liu <sdl.web@gmail.com>
9626
9627 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9628 octave-hide-process-buffer.
9629
9630 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9631
9632 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9633 (bug#14216).
9634
9635 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9636
9637 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9638 Fix adjustment of offset when receiving incomplete responses from GDB
9639 (bug#14129).
9640
9641 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9642
9643 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9644 python-mode-abbrev-table.
9645 (python-skeleton-define): Adjust accordingly.
9646 (python-mode-abbrev-table): New table that inherits from it so that
9647 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9648
9649 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9650 (abbrev-symbol): Use it.
9651 (abbrev--before-point): Use it since we already handle inheritance.
9652
9653 2013-04-16 Leo Liu <sdl.web@gmail.com>
9654
9655 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9656 binding to info-lookup-symbol.
9657
9658 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9659
9660 * minibuffer.el (completion--twq-all):
9661 * term/ns-win.el (ns-initialize-window-system):
9662 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9663
9664 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9665
9666 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9667 global bindings.
9668
9669 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9670
9671 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9672
9673 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9674 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9675 to nil.
9676 (ruby-end-of-defun): Remove the unused arg, change the docstring
9677 to reflect that this function is only used as the value of
9678 `end-of-defun-function'.
9679 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9680 to reflect an earlier change that beginning/end-of-defun functions
9681 jump between methods in a class definition, as well as top-level
9682 functions.
9683
9684 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9685
9686 * minibuffer.el (minibuffer-complete): Don't just scroll
9687 a *Completions* that's been iconified.
9688 (minibuffer-force-complete): Make sure repetitions do cycle when going
9689 through completion-in-region -> minibuffer-complete.
9690
9691 2013-04-15 Alan Mackenzie <acm@muc.de>
9692
9693 Correct the placement of c-cpp-delimiters when there're #s not at
9694 col 0.
9695
9696 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9697 place a submatch around the #.
9698 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9699 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9700 on the #, not BOL.
9701
9702 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9703
9704 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9705 (advice--member-p): New arg `name'.
9706 (advice--add-function, advice-member-p): Use it (bug#14202).
9707
9708 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9709
9710 Reformulate java imenu-generic-expression.
9711 The old expression contained ill formed regexps.
9712
9713 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9714 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9715 (cc-imenu-java-method-arg-regexp): New defconsts.
9716 (cc-imenu-java-build-type-args-regex): New defun.
9717 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9718 handling of spaces in the regexp.
9719
9720 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9721
9722 * textmodes/ispell.el (ispell-command-loop): Remove
9723 flyspell highlight of a word when ispell accepts it (bug #14178).
9724
9725 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9726
9727 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9728 uses code from the previous `ange-ftp-run-real-handler'.
9729 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9730 only in case that function exist. This is needed for proper
9731 unloading of Tramp.
9732
9733 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9734
9735 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9736
9737 * textmodes/reftex.el (reftex-compile-variables): Use it.
9738
9739 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9740
9741 * files.el (normal-mode): Only use default major-mode if no other mode
9742 was specified.
9743
9744 * emacs-lisp/trace.el (trace-values): New function.
9745
9746 * files.el: Allow : in local variables (bug#14089).
9747 (hack-local-variable-regexp): New var.
9748 (hack-local-variables-prop-line, hack-local-variables): Use it.
9749
9750 2013-04-13 Roland Winkler <winkler@gnu.org>
9751
9752 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9753 data before it gets modified by bibtex-beginning-of-entry.
9754
9755 2013-04-13 Roland Winkler <winkler@gnu.org>
9756
9757 * textmodes/bibtex.el (bibtex-url): Doc fix.
9758
9759 2013-04-13 Roland Winkler <winkler@gnu.org>
9760
9761 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9762 does not visit a BibTeX file, exclude it from the list of buffers
9763 returned by bibtex-initialize.
9764
9765 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9766
9767 * window.el (split-window): Remove interactive form, since as a
9768 command this function is a special case of split-window-below.
9769 Correct doc string.
9770
9771 2013-04-12 Roland Winkler <winkler@gnu.org>
9772
9773 * faces.el (read-face-name): Do not override value of arg default.
9774 Allow single faces and strings as default values. Remove those
9775 elements from return value that are not faces.
9776 (describe-face): Simplify.
9777 (face-at-point): New optional args thing and multiple so that this
9778 function can provide the same functionality previously provided by
9779 read-face-name.
9780 (make-face-bold, make-face-unbold, make-face-italic)
9781 (make-face-unitalic, make-face-bold-italic, invert-face)
9782 (modify-face, read-face-and-attribute): Use face-at-point.
9783
9784 * cus-edit.el (customize-face, customize-face-other-window)
9785 * cus-theme.el (custom-theme-add-face)
9786 * face-remap.el (buffer-face-set)
9787 * facemenu.el (facemenu-set-face): Use face-at-point.
9788
9789 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9790
9791 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9792
9793 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9794
9795 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9796 off leading { and trailing } from field values.
9797
9798 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9799
9800 * emacs-lisp/timer.el (timer--check): New function.
9801 (timer--time, timer-set-function, timer-event-handler): Use it.
9802 (timer-set-idle-time): Simplify.
9803 (timer--activate): CSE.
9804 (timer-event-handler): Give more info in error message.
9805 (internal-timer-start-idle): New function, moved from C.
9806
9807 * mpc.el (mpc-proc): Add `restart' argument.
9808 (mpc-proc-cmd): Use it.
9809 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9810 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9811 less often.
9812
9813 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9814
9815 * progmodes/sh-script.el: Implement `sh-mode' own
9816 `add-log-current-defun-function' (bug#14112).
9817 (sh-current-defun-name): New function.
9818 (sh-mode): Use the function.
9819
9820 2013-04-09 Bastien Guerry <bzg@gnu.org>
9821
9822 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9823
9824 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9825
9826 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9827
9828 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9829 timer (bug#14156).
9830
9831 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9832
9833 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9834 declaration.
9835
9836 2013-04-07 Leo Liu <sdl.web@gmail.com>
9837
9838 * pcmpl-x.el: New file.
9839
9840 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9841
9842 Do not set x-display-name until X connection is established.
9843 This is needed to prevent from weird situation described at
9844 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9845 * frame.el (make-frame): Set x-display-name after call to
9846 window system initialization function, not before.
9847 * term/x-win.el (x-initialize-window-system): Add optional
9848 display argument and use it.
9849 * term/w32-win.el (w32-initialize-window-system):
9850 * term/ns-win.el (ns-initialize-window-system):
9851 * term/pc-win.el (msdos-initialize-window-system):
9852 Add compatible optional display argument.
9853
9854 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9855
9856 * files.el (normal-backup-enable-predicate): On MS-Windows and
9857 MS-DOS compare truenames of temporary-file-directory and of the
9858 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9859 don't fail comparison by compare-strings. Also, compare file
9860 names case-insensitively on MS-Windows and MS-DOS.
9861
9862 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9863
9864 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9865 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9866
9867 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9868
9869 * whitespace.el (whitespace-color-on, whitespace-color-off):
9870 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9871
9872 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9873
9874 * ispell.el (ispell-set-spellchecker-params):
9875 Really set `ispell-args' for all equivs.
9876
9877 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9878
9879 * ido.el (ido-completions): Use extra elements of ido-decorations
9880 (bug#14143).
9881 (ido-decorations): Update docstring.
9882
9883 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9884
9885 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9886 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9887 nil during initialization, in order not to miss changes since the
9888 file was opened. (Bug#14140)
9889
9890 2013-04-05 Leo Liu <sdl.web@gmail.com>
9891
9892 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9893
9894 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9895
9896 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9897
9898 2013-04-04 Glenn Morris <rgm@gnu.org>
9899
9900 * electric.el (electric-pair-inhibit-predicate): Add :version.
9901
9902 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9903
9904 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9905 when a package is required several times (bug#14082).
9906
9907 2013-04-04 Roland Winkler <winkler@gnu.org>
9908
9909 * faces.el (read-face-name): Behave as promised by the docstring.
9910 Assume that arg default is a list of faces.
9911 (describe-face): Call read-face-name with list of default faces.
9912
9913 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9914
9915 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9916 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9917 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9918 the header.
9919 (bookmark-exit-hook-internal): Save even if list is empty.
9920
9921 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9922
9923 * emacs-lisp/package.el (package-pinned-packages): New var.
9924 (package--add-to-archive-contents): Obey it (bug#14118).
9925
9926 2013-04-03 Alan Mackenzie <acm@muc.de>
9927
9928 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9929 Also adapt to the new values of element 7 of a parse state.
9930
9931 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9932 parameter `not-in-delimiter'. Handle being inside comment opener.
9933 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9934 character in case we're typing a '*' after a '/'.
9935 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9936 instead by passing the parameter to c-state-pp-to-literal.
9937
9938 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9939 for elt. 7 of a parse state.
9940
9941 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9942
9943 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9944 * international/latin1-disp.el, international/mule-util.el:
9945 * language/cyril-util.el, language/european.el, language/ind-util.el:
9946 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9947 * language/tibetan.el, language/viet-util.el:
9948 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9949
9950 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9951
9952 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9953 (electric-pair-post-self-insert-function): Use it.
9954 (electric-pair-default-inhibit): New function, extracted from
9955 electric-pair-post-self-insert-function.
9956
9957 2013-03-31 Roland Winkler <winkler@gnu.org>
9958
9959 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9960
9961 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9962
9963 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9964
9965 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9966
9967 Un-indent after "pass" and "return" statements (Bug#13888)
9968 * progmodes/python.el (python-indent-block-enders): New var.
9969 (python-indent-calculate-indentation): Use it.
9970
9971 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9972
9973 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9974 defun. Defining it as defalias could introduce too eager
9975 byte-compiler optimization. (Bug#14030)
9976
9977 2013-03-30 Chong Yidong <cyd@gnu.org>
9978
9979 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9980
9981 2013-03-30 Leo Liu <sdl.web@gmail.com>
9982
9983 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9984 (kmacro-execute-from-register): Pass the keyboard macro to
9985 kmacro-call-macro or repeating won't work correctly.
9986
9987 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9988
9989 * progmodes/subword.el: Back to using `forward-symbol'.
9990
9991 * subr.el (forward-whitespace, forward-symbol)
9992 (forward-same-syntax): Move from thingatpt.el.
9993
9994 2013-03-29 Leo Liu <sdl.web@gmail.com>
9995
9996 * kmacro.el (kmacro-to-register): New command.
9997 (kmacro-execute-from-register): New function.
9998 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9999
10000 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10001
10002 * mpc.el: Use defvar-local and setq-local.
10003 (mpc--proc-connect): Connection failures are not bugs.
10004 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10005 (mpc-volume-map): Bind to the up-events.
10006
10007 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10008
10009 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10010 instead of `forward-symbol'.
10011
10012 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10013
10014 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10015 (edebug--recursive-edit): Use it.
10016 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10017 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10018
10019 2013-03-28 Leo Liu <sdl.web@gmail.com>
10020
10021 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10022
10023 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10024
10025 * facemenu.el (list-colors-callback): New defvar.
10026 (list-colors-redisplay): New function.
10027 (list-colors-display): Install list-colors-redisplay as the
10028 revert-buffer-function. (Bug#14063)
10029
10030 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10031
10032 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10033 and suffixes don't overlap (bug#14061).
10034
10035 * case-table.el: Use lexical-binding.
10036 (case-table-get-table): New function.
10037 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10038
10039 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10040
10041 * progmodes/subword.el: Add `superword-mode' to do word motion
10042 over symbol_words (parallels and leverages `subword-mode' which
10043 does word motion inside MixedCaseWords).
10044
10045 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10046
10047 * eshell/em-unix.el: Move su and sudo to...
10048 * eshell/em-tramp.el: ...Eshell tramp module.
10049
10050 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10051
10052 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10053 Change return value to be a sexp. Delay `get-buffer' to after
10054 restoring the desktop (bug#13951).
10055
10056 2013-03-26 Leo Liu <sdl.web@gmail.com>
10057
10058 * register.el: Move semantic tag handling back to
10059 cedet/semantic/senator.el. (Bug#14052)
10060
10061 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10062
10063 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10064 into the prompt either (bug#13963).
10065
10066 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10067
10068 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10069 part of "(error-foo)".
10070
10071 2013-03-24 Juri Linkov <juri@jurta.org>
10072
10073 * replace.el (list-matching-lines-prefix-face): New defcustom.
10074 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10075 `occur-engine' if `face-differs-from-default-p' returns t.
10076 (occur-engine): Add `,' inside backquote construct to evaluate
10077 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10078 Pass `prefix-face' to the functions `occur-context-lines' and
10079 `occur-engine-add-prefix'.
10080 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10081 `prefix-face' and propertize the prefix with `prefix-face'.
10082 (Bug#14017)
10083
10084 2013-03-24 Leo Liu <sdl.web@gmail.com>
10085
10086 * nxml/rng-valid.el (rng-validate-while-idle)
10087 (rng-validate-quick-while-idle): Guard against deleted buffer.
10088 (Bug#13999)
10089
10090 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10091 is the last entry in kill-buffer-hook.
10092
10093 * files.el (kill-buffer-hook): Doc fix.
10094
10095 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10096
10097 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10098 Make it safe-local.
10099
10100 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10101
10102 2013-03-23 Leo Liu <sdl.web@gmail.com>
10103
10104 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10105 Remove.
10106
10107 * nxml/rng-valid.el (rng-validate-mode)
10108 (rng-after-change-function, rng-do-some-validation):
10109 * nxml/rng-maint.el (rng-validate-buffer):
10110 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10111 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10112 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10113 (nxml-extend-after-change-region): Use with-silent-modifications.
10114
10115 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10116 timer-idle-list.
10117
10118 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10119 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10120 timer-idle-list. (Bug#13999)
10121
10122 2013-03-23 Juri Linkov <juri@jurta.org>
10123
10124 * info.el (info-index-match): New face.
10125 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10126 main pattern and add text properties with the new face to matches
10127 in index entries relative to the beginning of the index entry.
10128 (Bug#14015)
10129
10130 2013-03-21 Eric Ludlam <zappo@gnu.org>
10131
10132 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10133 Inhibit read only while inserting objects.
10134
10135 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10136
10137 * progmodes/cfengine.el: Update docs to mention
10138 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10139 symbol motion. Remove "_" from the word syntax.
10140
10141 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10142
10143 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10144 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10145
10146 2013-03-20 Juri Linkov <juri@jurta.org>
10147
10148 * info.el (Info-next-reference-or-link)
10149 (Info-prev-reference-or-link): New functions.
10150 (Info-next-reference, Info-prev-reference): Use them.
10151 (Info-try-follow-nearest-node): Handle footnote navigation.
10152 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10153
10154 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10155
10156 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10157 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10158
10159 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10160
10161 Suppress unnecessary non-ASCII chatter during build process.
10162 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10163 (batch-skkdic-convert): Suppress most of the chatter.
10164 It's not needed so much now that machines are faster,
10165 and its non-ASCII component was confusing; see Dmitry Gutov in
10166 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10167
10168 2013-03-20 Leo Liu <sdl.web@gmail.com>
10169
10170 * ido.el (ido-chop): Fix bug#10994.
10171
10172 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10173
10174 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10175 Remove vars.
10176 (whitespace-color-on, whitespace-color-off):
10177 Use `font-lock-fontify-buffer' (Bug#13817).
10178
10179 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10180
10181 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10182 remapping in mode-line.
10183 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10184
10185 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10186
10187 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10188 value for `whitespace-line' face (Bug#13875).
10189 (whitespace-font-lock-keywords): Change description.
10190 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10191 the constructed keywords instead.
10192 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10193
10194 2013-03-19 Leo Liu <sdl.web@gmail.com>
10195
10196 * progmodes/compile.el (compilation-display-error): New command.
10197 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10198 C-o. (Bug#13992)
10199
10200 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10201
10202 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10203
10204 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10205
10206 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10207
10208 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10209
10210 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10211
10212 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10213 * net/tramp-gvfs.el (top):
10214 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10215 (tramp-handle-shell-command): Use it.
10216 (tramp-dissect-file-name): Raise an error when hostname is a
10217 method name, and neither method nor user is specified.
10218
10219 * net/trampver.el: Update release number.
10220
10221 2013-03-18 Leo Liu <sdl.web@gmail.com>
10222
10223 Make sure eldoc can be turned off properly.
10224 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10225 eldoc-mode.
10226 (eldoc-display-message-p): Revert last change.
10227 (eldoc-display-message-no-interference-p)
10228 (eldoc-print-current-symbol-info): Tweak.
10229
10230 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10231
10232 * doc-view.el (doc-view-new-window-function): Check the new window
10233 overlay's display property instead the char property of the
10234 buffer's first char. Use `with-selected-window' instead of
10235 `save-window-excursion' with `select-window'.
10236 (doc-view-document->bitmap): Check the current doc-view overlay's
10237 display property instead the char property of the buffer's first char.
10238
10239 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10240
10241 Automate the build of ja-dic.el (Bug#13984).
10242 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10243 from the input, rather than assume that it's been done for us by the
10244 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10245 the current date into a ja-dic.el comment, as that complicates
10246 regression testing.
10247
10248 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10249
10250 * whitespace.el: Fix double evaluation.
10251 (whitespace-space, whitespace-hspace, whitespace-tab)
10252 (whitespace-newline, whitespace-trailing, whitespace-line)
10253 (whitespace-space-before-tab, whitespace-indentation)
10254 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10255 obsolete defvars.
10256 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10257 (whitespace-color-on): Use a single font-lock-add-keywords call.
10258 Fix double-evaluation of face variables.
10259
10260 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10261
10262 * net/tramp-adb.el (tramp-adb-parse-device-names):
10263 Use `start-process' instead of `call-process'. Otherwise, the
10264 function might be blocked under MS Windows. (Bug#13299)
10265
10266 2013-03-17 Leo Liu <sdl.web@gmail.com>
10267
10268 Extend eldoc to display info in the mode-line. (Bug#13978)
10269 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10270 (eldoc-mode-line-string): New variable.
10271 (eldoc-minibuffer-message): New function.
10272 (eldoc-message-function): New variable.
10273 (eldoc-message): Use it.
10274 (eldoc-display-message-p)
10275 (eldoc-display-message-no-interference-p):
10276 Support eldoc-post-insert-mode.
10277
10278 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10279 (eval-expression): Run it.
10280
10281 2013-03-17 Roland Winkler <winkler@gnu.org>
10282
10283 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10284 strings in the list of return values.
10285
10286 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10287
10288 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10289 radix before checking for HMS forms.
10290
10291 2013-03-16 Leo Liu <sdl.web@gmail.com>
10292
10293 * progmodes/scheme.el: Add indentation and font-locking for λ.
10294 (Bug#13975)
10295
10296 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10297
10298 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10299 token before point (bug#13942).
10300
10301 2013-03-16 Leo Liu <sdl.web@gmail.com>
10302
10303 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10304
10305 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10306
10307 * startup.el (command-line-normalize-file-name): Fix handling of
10308 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10309 <xfq.free@gmail.com> in
10310 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10311
10312 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10313
10314 Sync with Tramp 2.2.7.
10315
10316 * net/trampver.el: Update release number.
10317
10318 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10319
10320 * doc-view.el: Fix bug#13887.
10321 (doc-view-insert-image): Don't modify overlay associated to
10322 non-live windows, and implement horizontal centering of image in
10323 case it's smaller than the window.
10324 (doc-view-new-window-function): Force redisplay of new windows on
10325 doc-view buffers.
10326
10327 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10328
10329 * saveplace.el (save-place-alist-to-file): Don't sort
10330 `save-place-alist', just pretty-print it (bug#13882).
10331
10332 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10333
10334 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10335 Check whether `default-file-name-coding-system' is bound.
10336 It isn't in XEmacs.
10337
10338 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10339
10340 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10341 backquotes for `obsolete' (bug#13929).
10342
10343 * international/mule.el (find-auto-coding): Include file name in
10344 obsolescence warning (bug#13922).
10345
10346 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10347
10348 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10349 for CFEngine 3-specific indentation.
10350 (cfengine3-indent-line): Use it. Fix up category regex.
10351 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10352
10353 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10354
10355 * type-break.el (type-break-file-name):
10356 * textmodes/remember.el (remember-data-file):
10357 * strokes.el (strokes-file):
10358 * shadowfile.el (shadow-initialize):
10359 * saveplace.el (save-place-file):
10360 * ps-bdf.el (bdf-cache-file):
10361 * progmodes/idlwave.el (idlwave-config-directory):
10362 * net/quickurl.el (quickurl-url-file):
10363 * international/kkc.el (kkc-init-file-name):
10364 * ido.el (ido-save-directory-list-file):
10365 * emulation/viper.el (viper-custom-file-name):
10366 * emulation/vip.el (vip-startup-file):
10367 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10368 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10369
10370 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10371
10372 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10373 * language/thai-word.el: Switch to UTF-8.
10374
10375 See ChangeLog.16 for earlier changes.
10376
10377 ;; Local Variables:
10378 ;; coding: utf-8
10379 ;; End:
10380
10381 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10382
10383 This file is part of GNU Emacs.
10384
10385 GNU Emacs is free software: you can redistribute it and/or modify
10386 it under the terms of the GNU General Public License as published by
10387 the Free Software Foundation, either version 3 of the License, or
10388 (at your option) any later version.
10389
10390 GNU Emacs is distributed in the hope that it will be useful,
10391 but WITHOUT ANY WARRANTY; without even the implied warranty of
10392 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10393 GNU General Public License for more details.
10394
10395 You should have received a copy of the GNU General Public License
10396 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.