(shr-tag-audio): Add support for <audio> tag.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2
3 * net/shr.el (shr-tag-video): Display content for video if no
4 poster is available.
5 (shr-tag-audio): Add support for <audio> tag.
6
7 * net/eww.el (eww-text-input-types): : New const.
8 (eww-process-text-input): Treat input types in
9 `eww-text-input-types' as text.
10
11 * net/shr.el (shr-tag-table): Fix comment typo.
12
13 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14
15 * net/eww.el (eww-follow-link): New command to avoid reloading
16 pages when we follow #target links (bug#15243).
17 (eww-quit): Special mode buffers shouldn't query before exiting.
18
19 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
20
21 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
22 forms.
23
24 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25
26 * net/eww.el (eww-restore-history): Update the window title after
27 moving in the history.
28 (eww-current-dom): New variable used to save the current DOM.
29
30 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
31
32 * vc/log-edit.el (log-edit-mode-map): Add binding for
33 `log-edit-beginning-of-line'.
34 (log-edit-setup-add-author): New user option.
35 (log-edit-beginning-of-line): New command.
36 (log-edit): Move major mode call above the contents setup so that
37 the local variable values are already applied.
38 (log-edit): Only insert "Author: " when
39 `log-edit-setup-add-author' is non-nil.
40 (log-edit): When SETUP is non-nil, position point after ": "
41 instead of point-min.
42
43 2013-12-01 Glenn Morris <rgm@gnu.org>
44
45 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
46
47 2013-11-30 Eli Zaretskii <eliz@gnu.org>
48
49 * startup.el (fancy-splash-frame): On MS-Windows, trigger
50 redisplay to make sure the initial frame gets a chance to become
51 visible. (Bug#16014)
52
53 2013-11-30 Martin Rudalics <rudalics@gmx.at>
54
55 Support resizing frames and windows pixelwise.
56 * cus-start.el (frame-resize-pixelwise)
57 (window-resize-pixelwise): New entries.
58 * emacs-lisp/debug.el (debug): Use window-total-height instead
59 of window-total-size.
60 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
61 * help.el (describe-bindings-internal): Call help-buffer
62 (temp-buffer-max-width): New option.
63 (resize-temp-buffer-window, help-window-setup)
64 (with-help-window): Rewrite.
65 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
66 dragging dividers.
67 * window.el (frame-char-size, window-min-pixel-height)
68 (window-safe-min-pixel-height, window-safe-min-pixel-width)
69 (window-min-pixel-width, window-safe-min-pixel-size)
70 (window-combination-p, window-safe-min-size)
71 (window-resizable-p, window--size-to-pixel)
72 (window--pixel-to-size, window--resize-apply-p): New functions.
73 (window-safe-min-height): Fix doc-string.
74 (window-size, window-min-size, window--min-size-1)
75 (window-sizable, window-sizable-p, window--min-delta-1)
76 (window-min-delta, window--max-delta-1, window-max-delta)
77 (window--resizable, window--resizable-p, window-resizable)
78 (window-full-height-p, window-full-width-p, window-at-side-p)
79 (window--in-direction-2, window-in-direction)
80 (window--resize-reset-1, window--resize-mini-window)
81 (window-resize, window-resize-no-error)
82 (window--resize-child-windows-normal)
83 (window--resize-child-windows, window--resize-siblings)
84 (window--resize-this-window, window--resize-root-window)
85 (window--resize-root-window-vertically)
86 (adjust-window-trailing-edge, enlarge-window, shrink-window)
87 (maximize-window, minimize-window, delete-window)
88 (quit-restore-window, window-split-min-size, split-window)
89 (balance-windows-2, balance-windows)
90 (balance-windows-area-adjust, balance-windows-area)
91 (window--state-get-1, window-state-get, window--state-put-1)
92 (window--state-put-2, window-state-put)
93 (display-buffer-record-window, window--display-buffer): Make
94 functions handle pixelwise sizing of windows.
95 (display-buffer--action-function-custom-type)
96 (display-buffer-fallback-action): Add
97 display-buffer-in-previous-window.
98 (display-buffer-use-some-window): Resize window to height it had
99 before.
100 (fit-window-to-buffer-horizontally): New option.
101 (fit-frame-to-buffer): Describe new values.
102 (fit-frame-to-buffer-bottom-margin): Replace with
103 fit-frame-to-buffer-margins.
104 (window--sanitize-margin): New function.
105 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
106 using window-text-pixel-size.
107
108 2013-11-30 Glenn Morris <rgm@gnu.org>
109
110 * emacs-lisp/bytecomp.el (byte-compile-form):
111 Make the `interactive-only' warning like the `obsolete' one.
112 * comint.el (comint-run):
113 * files.el (insert-file-literally, insert-file):
114 * replace.el (replace-string, replace-regexp):
115 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
116 (goto-line, insert-buffer, next-line, previous-line):
117 Tweak `interactive-only' spec.
118
119 Stop keeping (most) generated cedet grammar files in the repository.
120 * Makefile.in (semantic): New.
121 (compile-main): Depend on semantic.
122
123 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
124
125 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
126 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
127
128 * uniquify.el (uniquify-buffer-name-style): Change default.
129
130 * loadup.el: Preload "uniquify".
131
132 * time.el (display-time-update): Update all mode lines (bug#15999).
133
134 * electric.el (electric-indent-mode): Enable by default.
135 * loadup.el: Preload "electric".
136
137 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
138
139 * emacs-lisp/helpers.el (string-empty-p): New function.
140 (string-blank-p): New function.
141
142 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
143
144 * imenu.el (imenu--index-alist): Add missing dot to the docstring
145 (Bug#14029).
146
147 2013-11-29 Andreas Politz <politza@fh-trier.de>
148 * imenu.el (imenu--subalist-p): Don't error on non-conses and
149 allow non-lambda lists as functions.
150 (imenu--in-alist): Don't recurse into non-subalists.
151 (imenu): Don't pass function itself as an argument (Bug#14029).
152
153 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
154
155 * progmodes/python.el (python-mode-map): Remove binding for ":".
156 (python-indent-electric-colon): Remove command.
157 (python-indent-post-self-insert-function): Integrate the previous code
158 of python-indent-electric-colon. Make it conditional on
159 electric-indent-mode.
160 (python-mode): Add ?: to electric-indent-chars.
161 Move python-indent-post-self-insert-function to the end of
162 post-self-insert-hook.
163
164 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
165
166 * doc-view.el (doc-view-goto-page): Update mode-line.
167
168 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
169
170 2013-11-27 Glenn Morris <rgm@gnu.org>
171
172 * international/charprop.el, international/uni-bidi.el:
173 * international/uni-category.el, international/uni-combining.el:
174 * international/uni-comment.el, international/uni-decimal.el:
175 * international/uni-decomposition.el, international/uni-digit.el:
176 * international/uni-lowercase.el, international/uni-mirrored.el:
177 * international/uni-name.el, international/uni-numeric.el:
178 * international/uni-old-name.el, international/uni-titlecase.el:
179 * international/uni-uppercase.el:
180 Remove generated files from VCS repository.
181
182 2013-11-27 Eli Zaretskii <eliz@gnu.org>
183
184 * filenotify.el (file-notify-add-watch): Don't special-case
185 w32notify when computing the directory to watch.
186
187 2013-11-27 Glenn Morris <rgm@gnu.org>
188
189 Make bootstrap without generated uni-*.el files possible again.
190 * loadup.el: Update command-line-args checking for unidata-gen.
191 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
192 * composite.el, international/characters.el:
193 Handle unicode tables being undefined.
194
195 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
196 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
197 (compile-main): Depend on leim rule.
198 (leim): New rule.
199 * loadup.el: Move leim-list.el to leim/ subdirectory.
200 * startup.el (normal-top-level): No more leim directory.
201 * international/ja-dic-cnv.el (skkdic-convert):
202 Disable version-control and autoloads in output files.
203 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
204 Disable version-control and autoloads in output files.
205 * leim/quail: Move here from ../leim.
206 * leim/quail/hangul.el (hangul-input-method-activate):
207 Add autoload cookie.
208 (generated-autoload-load-name): Set file-local value.
209 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
210 (generated-autoload-load-name): Set file-local value.
211
212 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
213
214 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
215 (eww-add-bookmark): ask confirmation when add to bookmarks
216 (eww-quit): ask confirmation before quitting eww
217
218 2013-11-26 Eli Zaretskii <eliz@gnu.org>
219
220 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
221 reading output from Diff on MS-Windows and MS-DOS.
222
223 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
224
225 * emacs-lisp/helpers.el (string-reverse): New function.
226
227 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
228
229 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
230 names on MS Windows, like "/[::1]:".
231
232 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
233 SWITCHES.
234
235 2013-11-26 Glenn Morris <rgm@gnu.org>
236
237 * progmodes/python.el (python-indent-guess-indent-offset):
238 Avoid corner-case error. (Bug#15975)
239
240 Preload leim-list.el. (Bug#4789)
241 * loadup.el: Load leim-list.el when found.
242 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
243
244 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
245
246 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
247
248 * emacs-lisp/helpers.el (string-join): New function.
249
250 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
251
252 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
253 Mark as obsolete and replace it with a symbol property.
254 (byte-compile-form): Use new 'interactive-only property.
255 * comint.el, files.el, replace.el, simple.el:
256 Apply new 'interactive-only properly.
257
258 2013-11-25 Martin Rudalics <rudalics@gmx.at>
259
260 * window.el (display-buffer-at-bottom): Make sure that
261 split-window-sensibly creates the new window on bottom
262 (Bug#15961).
263
264 2013-11-23 David Kastrup <dak@gnu.org>
265
266 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
267 on the conflict markers when available.
268 (smerge--get-marker): New function.
269 (smerge-end-re, smerge-base-re): Add subgroup.
270
271 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
272
273 * frame.el (handle-focus-in, handle-focus-out): Add missing
274 interactive spec.
275
276 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
277
278 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
279 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
280
281 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
282
283 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
284 (gomoku--last-pos): New var.
285 (gomoku--intangible-chars): New const.
286 (gomoku--intangible): New function.
287 (gomoku-mode): Use it. Derive from special-mode.
288 (gomoku-move-up): Adjust line count.
289 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
290 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
291 Simplify accordingly.
292
293 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
294 Remove blink-cursor code.
295 (blink-cursor-timer-function, blink-cursor-suspend):
296 Don't special-case GUIs.
297 (blink-cursor-mode): Use focus-in/out-hook.
298
299 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
300
301 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
302 work when annotation is invisible (Bug#13886).
303
304 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
305
306 * json.el (json-alist-p): Only return non-nil if the alist has
307 simple keys (Bug#13518).
308
309 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
310
311 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
312 when control-statement is the first statement in a buffer (Bug#15956).
313
314 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
315
316 * imenu.el (imenu-generic-skip-comments-and-strings):
317 New option (Bug#15560).
318 (imenu--generic-function): Use it.
319
320 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
321
322 * minibuffer.el (completion--in-region-1): Scroll the correct
323 window. (Bug#13898)
324
325 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
326
327 * emacs-lisp/helpers.el: Add some string helpers.
328 (string-trim-left): Removes leading whitespace.
329 (string-trim-right): Removes trailing whitespace.
330 (string-trim): Removes leading and trailing whitespace.
331
332 * subr.el (string-suffix-p): New function.
333
334 2013-11-23 Glenn Morris <rgm@gnu.org>
335
336 * progmodes/python.el (python-shell-send-file):
337 Add option to delete file when done. (Bug#15647)
338 (python-shell-send-string, python-shell-send-region): Use it.
339
340 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
341
342 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
343 to set buffer-read-only to t, never to nil. (Bug#15938)
344
345 * textmodes/tex-mode.el (latex-noindent-environments):
346 Add safe-local-variable property. (Bug#15936)
347
348 2013-11-23 Glenn Morris <rgm@gnu.org>
349
350 * textmodes/enriched.el (enriched-mode): Doc fix.
351 * emacs-lisp/authors.el (authors-renamed-files-alist):
352 Add enriched.doc -> enriched.txt.
353
354 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
355
356 2013-11-22 Leo Liu <sdl.web@gmail.com>
357
358 * progmodes/octave.el (inferior-octave-startup): Spit out error
359 message.
360
361 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
362
363 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
364 Improve docstring.
365 Add :version.
366 (ruby-encoding-magic-comment-style): Add :version.
367
368 2013-11-22 Leo Liu <sdl.web@gmail.com>
369
370 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
371 (Bug#15076)
372 (octave-help-mode): Adapt to change to help-mode-finish to use
373 derived-mode-p on 2013-09-17.
374 (inferior-octave-prompt): Also match octave-gui.
375 (octave-kill-process): Don't ask twice. (Bug#10564)
376
377 2013-11-22 Leo Liu <sdl.web@gmail.com>
378
379 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
380 (inferior-octave-startup, inferior-octave-check-process)
381 (inferior-octave-track-window-width-change)
382 (octave-completion-at-point, octave-eldoc-function): Use it.
383 (octave-kill-process): Provide confirmation. (Bug#10564)
384
385 2013-11-21 Leo Liu <sdl.web@gmail.com>
386
387 * progmodes/octave.el (octave-mode, inferior-octave-mode):
388 Fix obsolete variable comment-use-global-state.
389
390 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
391
392 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
393 Add `octave-source-file'.
394 (octave-source-file): New function. (Bug#15935)
395
396 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
397
398 * net/eww.el (eww-local-regex): New variable.
399 (eww): Use it to detect localhost and similar.
400
401 2013-11-21 Leo Liu <sdl.web@gmail.com>
402
403 Add completion for command `ag'.
404 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
405 (pcomplete/ag): New function.
406 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
407
408 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
411 (bug#14646).
412 (make-obsolete): Remove interactive spec.
413
414 2013-11-21 Glenn Morris <rgm@gnu.org>
415
416 * startup.el (command-line-1): Use path-separator with -L.
417
418 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
419
420 * emacs-lisp/package.el (describe-package-1): Add package archive
421 to shown fields.
422
423 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
424
425 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
426 Change default to "# encoding: %s" to differentiate it from the
427 default Ruby encoding comment template.
428
429 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
430
431 * ses.el (ses-mode): Doc fix. (Bug#14748)
432
433 2013-11-20 Leo Liu <sdl.web@gmail.com>
434
435 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
436
437 2013-11-19 Dan Nicolaescu <dann@gnu.org>
438
439 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
440 when rebase or bisect are in progress.
441
442 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
443
444 * filenotify.el (file-notify-add-watch): Doc fix.
445
446 2013-11-19 Leo Liu <sdl.web@gmail.com>
447
448 * obsolete/rcompile.el: Mark obsolete.
449
450 * progmodes/compile.el (compilation-start)
451 (compilation-goto-locus, compilation-find-file):
452 Pass no-display-ok and handle nil value from display-buffer.
453 (Bug#13594)
454
455 * window.el (display-buffer-alist, display-buffer): Document the
456 new parameter no-display-ok.
457
458 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 * electric.el (electric-indent-mode-map): Remove.
461 (electric-indent-mode): Change the global-map instead (bug#15915).
462
463 * textmodes/text-mode.el (paragraph-indent-minor-mode):
464 Use add-function.
465
466 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
467
468 * emacs-lisp/nadvice.el (remove-function): Align with
469 add-function's behavior.
470
471 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
472 (gdb--string-regexp): New constant.
473 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
474 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
475 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
476 submatch 1.
477 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
478 Adjust use accordingly.
479 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
480
481 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
482
483 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
484 interpolation curlies (Bug#15914).
485
486 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
487
488 * calc/calc.el (calc-context-sensitive-enter): New variable.
489 (calc-enter): Use `calc-context-sensitive-enter'.
490
491 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
492
493 * progmodes/cfengine.el: Version bump.
494 (cfengine-cf-promises): New defcustom to locate cf-promises.
495 (cfengine3-vartypes): Add new "data" type.
496 (cfengine3--current-word): New function to get current name-like
497 word or its bounds.
498 (cfengine3--current-function): New function to look up a CFEngine
499 function's definition.
500 (cfengine3-format-function-docstring): New function.
501 (cfengine3-make-syntax-cache): New function.
502 (cfengine3-documentation-function): New function: ElDoc glue.
503 (cfengine3-completion-function): New function: completion glue.
504 (cfengine3-mode): Set `compile-command',
505 `eldoc-documentation-function', and add to
506 `completion-at-point-functions'.
507
508 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
509
510 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
511 `tramp-current-connection'.
512
513 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
514
515 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
516 nil/self/true/false with "end of symbol".
517
518 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
519
520 * subr.el (version-regexp-alist): Fix a typo.
521
522 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
523
524 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
525 "en_US.utf8" and "LC_CTYPE" to "".
526 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
527 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
528
529 2013-11-15 Leo Liu <sdl.web@gmail.com>
530
531 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
532
533 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
534
535 * progmodes/gud.el (ctl-x-map):
536 Remove C-x SPC binding. (Bug#12342)
537 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
538
539 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
540
541 * subr.el (version-regexp-alist):
542 Recognize hg, svn and darcs versions as snapshot versions.
543
544 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
545 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
546 (ruby--encoding-comment-required-p): Extract from
547 `ruby-mode-set-encoding'.
548 (ruby-mode-set-encoding): Add the ability to always insert an
549 utf-8 encoding comment. Fix and simplify coding comment update
550 logic.
551
552 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
553
554 * net/tramp-gvfs.el (top): Run init code only when
555 `tramp-gvfs-enabled' is not nil.
556 (tramp-gvfs-enabled): Check also :system bus.
557
558 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 Sync with upstream verilog-mode revision 78e66ba.
561 * progmodes/verilog-mode.el (verilog-end-of-defun)
562 (verilog-type-completion, verilog-get-list): Remove unused funcs.
563 (verilog-get-end-of-defun): Remove unused argument.
564 (verilog-comment-depth): Remove unused local `e'.
565 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
566 Don't pass arg to verilog-get-end-of-defun.
567
568 2013-11-14 Glenn Morris <rgm@gnu.org>
569
570 * obsolete/assoc.el (aget): Prefix dynamic variable.
571
572 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
573
574 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
575
576 * widget.el, hfy-cmap.el: Remove bogus package version number.
577
578 2013-11-13 Glenn Morris <rgm@gnu.org>
579
580 * replace.el (replace-eval-replacement):
581 Try to give more helpful error message. (Bug#15836)
582
583 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
584 (archive-7z-update): Avoid custom type mismatches.
585
586 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
587
588 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
589
590 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
591 address can be empty.
592
593 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
594 Accept nil SWITCHES.
595 (tramp-gvfs-handle-write-region): Implement APPEND.
596
597 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
598
599 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
600 binary "|" operator and closing block args delimiter.
601 Remove FIXME comment referring to Ruby 1.8-only syntax.
602 (ruby-smie--implicit-semi-p): Not after "|" operator.
603 (ruby-smie--closing-pipe-p): New function.
604 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
605 (ruby-smie-rules): Indent after "|".
606
607 2013-11-12 Glenn Morris <rgm@gnu.org>
608
609 * ps-print.el (ps-face-attribute-list):
610 Handle anonymous faces. (Bug#15827)
611
612 2013-11-12 Martin Rudalics <rudalics@gmx.at>
613
614 * window.el (display-buffer-other-frame): Fix doc-string.
615 (Bug#15868)
616
617 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
618
619 * subr.el (force-mode-line-update): Delete, move to buffer.c.
620
621 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
622
623 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
624 (tramp-sh-handle-file-local-copy): Don't write a message when
625 saving temporary files.
626
627 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
628 both directories are remote.
629 (tramp-smb-handle-directory-files): Do not return double entries.
630 Do not expand full file names.
631 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
632 (tramp-smb-handle-write-region): Implement APPEND.
633 (tramp-smb-get-stat-capability): Fix a stupid bug.
634
635 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
636
637 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
638
639 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
640
641 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
642 throwing error over malformed let/let* (bug#15814).
643
644 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * iswitchb.el (iswitchb-mode): Mark obsolete.
647
648 2013-11-11 Glenn Morris <rgm@gnu.org>
649
650 * international/uni-bidi.el, international/uni-category.el:
651 * international/uni-name.el, international/uni-numeric.el:
652 Regenerate for Unicode 6.3.0.
653
654 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
655
656 * net/tramp.el (tramp-methods):
657 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
658 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
659
660 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
661
662 * progmodes/sh-script.el (sh-font-lock-keywords-var):
663 Force highlighting text after Summary keyword in doc face for rpm.
664
665 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
666
667 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
668 available and the word has no wildcards, append one to the grep pattern.
669 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
670 (ispell-complete-word): Call `ispell-lookup-words' with the value
671 independent of `ispell-look-p'.
672
673 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
674
675 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
676 Not after "||".
677 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
678 their parent.
679
680 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
681
682 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
683 (ruby-font-lock-keywords): Use backquote.
684
685 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
686
687 * progmodes/ruby-mode.el (ruby-smie--forward-token)
688 (ruby-smie--backward-token): Only consider full-string matches.
689
690 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
691
692 * faces.el (describe-face): Add distant-foreground.
693
694 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
695
696 * progmodes/ruby-mode.el: Improve encoding comment handling.
697 (ruby-encoding-magic-comment-style): New option.
698 (ruby-custom-encoding-magic-comment-template): New option.
699 (ruby--insert-coding-comment, ruby--detect-encoding):
700 New functions extracted from `ruby-mode-set-encoding'.
701 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
702 to control the style of the auto-inserted encoding comment.
703
704 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
705
706 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
707 Use `smie-backward-sexp' with token argument.
708
709 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
710
711 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
712 Remove instrumentation code.
713
714 2013-11-08 Glenn Morris <rgm@gnu.org>
715
716 * progmodes/autoconf.el (autoconf-mode):
717 Tweak comment-start-skip. (Bug#15822)
718
719 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
720
721 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
722 at bobp (bug#15826).
723 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
724
725 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
726
727 * man.el (Man-start-calling): New macro, extracted from
728 Man-getpage-in-background.
729 (Man-getpage-in-background): Use it.
730 (Man-update-manpage): New command.
731 (Man-mode-map): Bind it.
732
733 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
734
735 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
736 of "and", "or", "&&" and "||".
737 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
738 argument. Prohibit opening curly brace because it could only be a
739 block opener in that position.
740 (ruby-smie--forward-token, ruby-smie--backward-token):
741 Separate "|" from "&" or "*" going after it. That can happen in block
742 arguments.
743 (ruby-smie--indent-to-stmt): New function, seeks the end of
744 previous statement or beginning of buffer.
745 (ruby-smie-rules): Use it.
746 (ruby-smie-rules): Check if there's a ":" before a curly block
747 opener candidate; if there is, it's a hash.
748
749 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
750
751 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
752 (cl--block-wrapper): Fix last accidental change.
753
754 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
755
756 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
757 Instrument, in order to hunt failure on hydra.
758
759 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
760
761 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
762 malformed bindings form (bug#15814).
763
764 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
765
766 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
767 "." compared to " @ ". This incidentally fixes some indentation
768 examples with "do".
769 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
770 (ruby-smie-grammar): New tokens: "and" and "or".
771 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
772 Exclude "and" and "or". Remove "do" in order to work around token
773 priorities.
774 (ruby-smie-rules): Add all infix tokens. Handle the case of
775 beginning-of-buffer.
776
777 2013-11-06 Glenn Morris <rgm@gnu.org>
778
779 * Makefile.in (setwins_almost, setwins_for_subdirs):
780 Avoid accidental matches.
781
782 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
783
784 * menu-bar.el (popup-menu): Use key-binding.
785
786 2013-11-06 Eli Zaretskii <eliz@gnu.org>
787
788 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
789 menus, support also the menus produced by minor modes.
790 (Bug#15817)
791
792 2013-11-06 Leo Liu <sdl.web@gmail.com>
793
794 * thingatpt.el (thing-at-point-looking-at): Add optional arg
795 DISTANCE to bound the search. All uses changed. (Bug#15808)
796
797 2013-11-06 Glenn Morris <rgm@gnu.org>
798
799 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
800 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
801 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
802
803 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
804
805 * electric.el (electric-indent-just-newline): New command.
806 (electric-indent-mode-map): New keymap.
807 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
808 Re-add :group which weren't redundant.
809
810 * electric.el (electric-indent-local-mode): New minor mode.
811 (electric-indent-functions-without-reindent): New var.
812 (electric-indent-post-self-insert-function): Use it.
813 * emacs-lisp/gv.el (buffer-local-value): Add setter.
814
815 2013-11-05 Eli Zaretskii <eliz@gnu.org>
816
817 * international/quail.el (quail-help): Be more explicit about the
818 meaning of the labels shown on the keys. (Bug#15800)
819
820 * startup.el (normal-top-level): Load the subdirs.el files before
821 setting the locale environment. (Bug#15805)
822
823 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
826 via arguments so as to get the right ones (bug#15418).
827
828 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
829
830 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
831
832 Fix problems found while writing a test suite.
833
834 * net/tramp-compat.el (tramp-compat-load): New defun.
835 * net/tramp.el (tramp-handle-load): Use it.
836
837 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
838 "(numberp ok-if-already-exists)" correctly.
839
840 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
841
842 * international/characters.el (glyphless-char-display-control):
843 Add usage note.
844
845 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
846
847 * progmodes/python.el (python-mode):
848 * progmodes/scheme.el (scheme-mode):
849 * progmodes/prolog.el (prolog-mode):
850 * progmodes/ruby-mode.el (ruby-mode):
851 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
852 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
853
854 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
855
856 * rect.el (rectangle--highlight-for-redisplay):
857 * emacs-lisp/smie.el (smie--next-indent-change):
858 Use buffer-chars-modified-tick.
859
860 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
861
862 * electric.el (electric-indent-post-self-insert-function):
863 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
864
865 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
866
867 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
868
869 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
870
871 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
872 (bug#15786).
873
874 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
875
876 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
877
878 * progmodes/python.el: Fix up last change.
879 (python-shell--save-temp-file): New function.
880 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
881 `string' comes from the current buffer.
882 (python-shell-send-string-no-output): Remove `msg' arg.
883 (python--use-fake-loc): New var.
884 (python-shell-buffer-substring): Obey it. Try to compensate for the
885 extra coding line added by python-shell--save-temp-file.
886 (python-shell-send-region): Use python-shell--save-temp-file and
887 python-shell-send-file directly. Add `nomain' argument.
888 (python-shell-send-buffer): Use python-shell-send-region.
889 (python-electric-pair-string-delimiter): New function.
890 (python-mode): Use it.
891
892 2013-11-04 Eli Zaretskii <eliz@gnu.org>
893
894 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
895 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
896 environment and decoding all of the default-directory's to here
897 from command-line.
898 (command-line): Decode also argv[0].
899
900 * loadup.el: Error out if default-directory is a multibyte string
901 when we are dumping.
902
903 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
904
905 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
906
907 * emacs-lisp/package.el (package-menu-mode)
908 (package-menu--print-info, package-menu--archive-predicate):
909 Add Archive column to package list.
910
911 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
912
913 Fix problems found while writing a test suite.
914
915 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
916 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
917 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
918 to nil when running original file name handler. Otherwise,
919 there are problems with constructs like "$$FOO".
920
921 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
922 for `localname'.
923
924 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
925
926 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
927
928 * subr.el (version<, version<=, version=):
929 Update docstrings with information for snapshot versions.
930
931 * helpers.el: New library for misc helper functions.
932 (hash-table-keys): New function returning a list of hash keys.
933 (hash-table-values): New function returning a list of hash values.
934
935 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
936
937 * progmodes/ruby-mode.el (ruby-smie--forward-token)
938 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
939
940 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
941
942 * textmodes/fill.el (fill-single-char-nobreak-p): New function
943 checking whether point is after a 1-letter word.
944
945 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
946
947 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
948 Don't infloop when expanding region over `multiline' syntax-type that
949 begins a line (bug#15778).
950
951 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
952
953 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
954 Make it into a proper minor mode.
955 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
956 (rectangle-mark-mode-map): New keymap.
957 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
958
959 2013-11-04 Glenn Morris <rgm@gnu.org>
960
961 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
962
963 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
964
965 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
966 (ruby-smie-rules): Use smie-rule-parent instead.
967
968 * emacs-lisp/smie.el (smie-rule-parent): Always call
969 smie-indent-virtual rather than only for hanging tokens.
970 (smie--next-indent-change): New helper command.
971
972 2013-11-03 Glenn Morris <rgm@gnu.org>
973
974 * Makefile.in (abs_srcdir): Remove.
975 (emacs): Unset EMACSLOADPATH.
976
977 2013-11-02 Glenn Morris <rgm@gnu.org>
978
979 * Makefile.in (EMACS): Use a relative filename.
980 (abs_top_builddir): Remove.
981 (custom-deps, finder-data, autoloads): Use --chdir.
982
983 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
984
985 Use relative filenames in TAGS files.
986 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
987 (lisptagsfiles4, TAGS): Use relative file names.
988 (TAGS-LISP): Remove.
989 (maintainer-clean): No more TAGS-LISP file.
990
991 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
992 (lisptagsfiles4): Use absolute filenames again.
993 (TAGS, TAGS-LISP): Not everything needs to run in one line.
994 Remove all *loaddefs files, not just the first. Remove esh-groups.
995 (maintainer-clean): Delete TAGS, TAGS-LISP.
996
997 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
998
999 * emacs-lisp/package.el (package-version-join):
1000 Recognize snapshot versions.
1001
1002 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1003
1004 * subr.el (version-regexp-alist): Add support for snapshot versions.
1005
1006 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1007
1008 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1009 New function, replacement for `smie-rule-parent' for when we want to
1010 skip over our direct parent if it's an assignment token..
1011 (ruby-smie-rules): Use it.
1012
1013 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1014
1015 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1016 unconditionally. Remove now unnecessary forward declarations.
1017 Remove XEmacs-specific setup.
1018 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1019 (ruby-font-lock-syntactic-keywords)
1020 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1021 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1022 (ruby-here-doc-end-syntax): Remove.
1023 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1024 defined as function.
1025
1026 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1027
1028 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1029
1030 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1031
1032 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1033 table and abbrev table, `define-derived-mode' does that for us
1034 anyway.
1035
1036 2013-11-01 Glenn Morris <rgm@gnu.org>
1037
1038 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1039 files is atomic for some time, so no parallel compilation issues).
1040
1041 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1042
1043 * faces.el (face-x-resources): Add :distant-foreground.
1044 (region): Use :distant-foreground for gtk and ns.
1045
1046 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1047
1048 Allow multiple bibliographies when BibLaTeX is used rather than
1049 BibTeX.
1050 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1051 (reftex-locate-bibliography-files): Us it.
1052
1053 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1054
1055 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1056 allow comments in pbm files.
1057
1058 * term/w32-win.el (dynamic-library-alist): Support newer versions
1059 of libjpeg starting with v7: look only for the DLL from the
1060 version against which Emacs was built.
1061 Support versions of libpng beyond 1.4.x.
1062 Support libtiff v4.x.
1063
1064 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1065
1066 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1067 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1068 Add property :safe.
1069 (ruby-deep-arglist): Add property :type.
1070
1071 2013-10-31 Glenn Morris <rgm@gnu.org>
1072
1073 * Makefile.in (custom-deps, finder-data): No need to setq the target
1074 variables, we are in the right directory and the defaults work fine.
1075
1076 2013-10-30 Glenn Morris <rgm@gnu.org>
1077
1078 * Makefile.in (autoloads): Do not use abs_lisp.
1079
1080 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1081 `newline' does not respect `standard-output', so use `princ'.
1082
1083 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1084
1085 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1086 * buff-menu.el (Buffer-menu--unmark): New function.
1087 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1088
1089 2013-10-30 Glenn Morris <rgm@gnu.org>
1090
1091 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1092
1093 * emacs-lisp/package.el (lm-homepage): Declare.
1094
1095 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1096 Fix doc typos.
1097
1098 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1099
1100 * Makefile.in (finder-data, autoloads, update-subdirs)
1101 (compile-main, compile-clean, compile-always, bootstrap-clean):
1102 Check return value of cd.
1103 (compile-calc): Remove.
1104
1105 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1108
1109 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1110 (byte-compile-and-folded): New function.
1111 (=, <, >, <=, >=): Use it.
1112
1113 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1114 (path-separator, null-device, buffer-file-coding-system)
1115 (lpr-headers-switches): Check system-type before modifying them.
1116 (find-buffer-file-type-coding-system): Mark obsolete.
1117 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1118 find-file-not-found-set-buffer-file-coding-system.
1119 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1120 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1121 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1122 (w32-direct-print-region-helper, w32-direct-print-region-function)
1123 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1124 * startup.el (normal-top-level-add-subdirs-to-load-path):
1125 * ps-print.el (ps-print-region-function):
1126 * lpr.el (print-region-function): Use new name.
1127
1128 * subr.el (custom-declare-variable-early): Remove function.
1129 (custom-declare-variable-list): Remove var.
1130 (error, user-error): Remove `while' loop.
1131 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1132 (user-emacs-directory-warning, locate-user-emacs-file):
1133 Move to files.el.
1134 * simple.el (read-quoted-char-radix, read-quoted-char):
1135 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1136 Move from subr.el.
1137 * custom.el (custom-declare-variable-list): Don't process
1138 custom-declare-variable-list.
1139
1140 * progmodes/python.el (python-shell-get-buffer): New function.
1141 (python-shell-get-process): Use it.
1142 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1143 Python which encoding was used. Don't split-string since we only care
1144 about the first line. Return the temp-file, if applicable.
1145 (python-shell-send-region): Tell compile.el how to turn locations in
1146 the temp-file into locations in the source buffer.
1147
1148 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1149
1150 * subr.el (undefined): Add missing behavior from the C code for
1151 unbound keys.
1152
1153 * rect.el: Use lexical-binding. Add new rectangular region support.
1154 (rectangle-mark): New command.
1155 (rectangle--region): New var.
1156 (deactivate-mark-hook): Reset rectangle--region.
1157 (rectangle--extract-region, rectangle--insert-for-yank)
1158 (rectangle--highlight-for-redisplay)
1159 (rectangle--unhighlight-for-redisplay): New functions.
1160 (region-extract-function, redisplay-unhighlight-region-function)
1161 (redisplay-highlight-region-function): Use them to handle
1162 rectangular region.
1163 * simple.el (region-extract-function): New var.
1164 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1165 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1166 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1167 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1168 (redisplay-unhighlight-region-function)
1169 (redisplay-highlight-region-function): New vars.
1170 (redisplay--update-region-highlight): New function.
1171 (pre-redisplay-function): Use it.
1172 (exchange-point-and-mark): Don't deactivate the mark before
1173 reactivate-it anyway.
1174 * comint.el (comint-kill-region): Remove yank-handler argument.
1175 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1176 (delete-char): Remove property, since it's now part of their
1177 default behavior.
1178 (self-insert-iso): Remove property since this command doesn't exist.
1179
1180 * emacs-lisp/package.el (package--download-one-archive)
1181 (describe-package-1): Don't query the user about final newline.
1182
1183 2013-10-29 Daniel Colascione <dancol@dancol.org>
1184
1185 * net/tramp.el (tramp-methods): Document new functionality.
1186 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1187 tramp-hostname-checker if method provides one instead of scanning
1188 argument list for "%h" to decide hostname acceptability.
1189
1190 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1191
1192 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1193 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1194 Handle COPY-CONTENTS. (Bug#15737)
1195
1196 2013-10-28 Daiki Ueno <ueno@gnu.org>
1197
1198 * epa-file.el
1199 (epa-file-cache-passphrase-for-symmetric-encryption):
1200 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1201
1202 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1203
1204 * image.el (defimage):
1205 (image-load-path): Doc fixes.
1206
1207 2013-10-27 Alan Mackenzie <acm@muc.de>
1208
1209 Indent statements in macros following "##" correctly.
1210 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1211 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1212
1213 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1214
1215 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1216
1217 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1218
1219 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1220 after `=' is probably a new expression.
1221
1222 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1223
1224 * man.el (man-imenu-title): New option.
1225 (Man-mode-map): Add menu. (Bug#15722)
1226 (Man-mode): Add imenu to menu.
1227
1228 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1229
1230 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1231 specific in what the first arg can be: a non-keyword word,
1232 string/regexp/percent literal opener, opening paren, or unary
1233 operator followed directly by word.
1234
1235 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1238 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1239 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1240 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1241 Remove vars, they do not apply any more.
1242 (prolog-mode-abbrev-table): Remove redundant declaration.
1243 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1244 (prolog-use-smie): Remove.
1245 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1246 supported by prolog-electric-if-then-else-flag.
1247 (prolog-mode-variables, prolog-menu): Use setq-local.
1248 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1249 Remove binding to `Backspace' since this key doesn't exist anyway.
1250 Remove bindings for electric self-inserting keys.
1251 (prog-mode): Assume it's defined.
1252 (prolog-post-self-insert): New function.
1253 (prolog-mode): Use it.
1254 (prolog-indent-line, prolog-indent-level)
1255 (prolog-find-indent-of-matching-paren)
1256 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1257 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1258 (prolog-goto-next-paren, prolog-in-string-or-comment)
1259 (prolog-tokenize, prolog-inside-mline-comment)
1260 (prolog-find-start-of-mline-comment): Remove functions.
1261 (prolog-find-unmatched-paren, prolog-clause-end)
1262 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1263 (prolog-electric--if-then-else): Rename from
1264 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1265 (prolog-tokenize-searchkey): Remove const.
1266 (prolog-clause-info): Use forward-sexp.
1267 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1268 (prolog-electric-if-then-else): Remove commands.
1269 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1270 for use in post-self-insert-hook.
1271 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1272 for use in post-self-insert-hook.
1273 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1274 for use in post-self-insert-hook.
1275 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1276 adapt it for use in post-self-insert-hook.
1277
1278 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1279
1280 * emacs-lisp/ert.el (ert-run-tests-interactively):
1281 Use `completing-read'. (Bug#9756)
1282
1283 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1284
1285 * simple.el (line-move): Call line-move-1 instead of
1286 line-move-visual when the current window hscroll is zero, but
1287 temporary-goal-column indicates we will need to hscroll as result
1288 of the movement. (Bug#15712)
1289
1290 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1291
1292 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1293 capitalization. Use :visible instead of :active.
1294 Fix `ruby-indent-exp' reference. Add menu items for the generic
1295 commands that are used with SMIE.
1296 (ruby-do-end-to-brace): Insert space after `{'.
1297
1298 2013-10-25 John Anthony <john@jo.hnanthony.com>
1299
1300 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1301
1302 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1303
1304 2013-10-25 Glenn Morris <rgm@gnu.org>
1305
1306 * vc/vc.el (vc-print-log): Don't use a working revision unless
1307 one was explicitly specified. (Bug#15322)
1308
1309 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1310
1311 * subr.el (add-to-list): Preserve return value in compiler-macro
1312 (bug#15692).
1313
1314 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1315
1316 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1317 result. Ask user to retry using '-all' flag. (Bug#15701)
1318
1319 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1320
1321 * emacs-lisp/smie.el: New smie-config system.
1322 (smie-config): New defcustom.
1323 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1324 (smie-config-guess, smie-config-save): New commands.
1325 (smie-config--mode-local, smie-config--buffer-local)
1326 (smie-config--trace, smie-config--modefuns): New vars.
1327 (smie-config--advice, smie-config--mode-hook)
1328 (smie-config--setter, smie-config-local, smie-config--get-trace)
1329 (smie-config--guess-value, smie-config--guess): New functions.
1330 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1331 text properties. Treat "string fence" syntax like string syntax.
1332
1333 * progmodes/sh-script.el (sh-use-smie): Change default.
1334 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1335 (sh-var-value): Simplify by CSE.
1336 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1337 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1338 is used.
1339 (sh-guess-basic-offset): Use cl-incf.
1340 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1341
1342 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1343
1344 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1345 (bug#15699).
1346
1347 2013-10-24 Glenn Morris <rgm@gnu.org>
1348
1349 * Makefile.in (abs_top_srcdir): Remove.
1350 (update-subdirs): Use relative path to update-subdirs.
1351
1352 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1353
1354 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1355 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1356 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1357 Call unmsys--file-name before expand-file-name, not after it.
1358
1359 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1360
1361 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1362 (ert-test-skipped): New error.
1363 (ert-skip, ert-stats-skipped): New defuns.
1364 (ert--skip-unless): New macro.
1365 (ert-test-skipped): New struct.
1366 (ert--run-test-debugger, ert-test-result-type-p)
1367 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1368 (ert--stats-set-test-and-result, ert-char-for-test-result)
1369 (ert-string-for-test-result, ert-run-tests-batch)
1370 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1371 Handle skipped tests. (Bug#9803)
1372
1373 2013-10-24 Glenn Morris <rgm@gnu.org>
1374
1375 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1376
1377 * Makefile.in (abs_top_srcdir): New, set by configure.
1378 (update-subdirs): Correct build-aux location.
1379
1380 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1381
1382 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1383 value, whether we could auto-deduce `backend', or not.
1384
1385 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1386 with parameters" example. Simplify the "is it block or is it
1387 hash" check, but also make it more thorough.
1388
1389 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1390
1391 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1392
1393 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1394
1395 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1396 { if it is hanging.
1397
1398 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1399 :before ";".
1400
1401 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1402
1403 * progmodes/compile.el (compilation-directory-matcher)
1404 (compilation-page-delimiter):
1405 Support GNU Make-4.0 directory quoting. (Bug#15678)
1406
1407 2013-10-23 Leo Liu <sdl.web@gmail.com>
1408
1409 * ido.el (ido-tidy): Handle read-only text.
1410
1411 2013-10-23 Glenn Morris <rgm@gnu.org>
1412
1413 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1414 (emacs, compile, compile-always):
1415 Quote entities that might contain whitespace.
1416 (custom-deps, finder-data, autoloads): Use abs_lisp.
1417 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1418 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1419 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1420
1421 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1422
1423 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1424 Use `following-char'.
1425
1426 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1429 * progmodes/ruby-mode.el (ruby-smie-rules):
1430 Remove corresponding workaround. Fix indentation rule of ";" so it
1431 also applies when ";" is the parent.
1432
1433 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1434
1435 * frame.el (display-screens, display-pixel-height)
1436 (display-pixel-width, display-mm-width, display-backing-store)
1437 (display-save-under, display-planes, display-color-cells)
1438 (display-visual-class, display-monitor-attributes-list):
1439 Mention the optional ‘display’ argument in doc strings.
1440
1441 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1442
1443 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1444 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1445
1446 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1447
1448 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1449 TODO. Add "." after " @ ".
1450 (ruby-smie--at-dot-call): New function. Checks if point at method
1451 call with explicit target.
1452 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1453 to the method name tokens when it precedes them.
1454 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1455 (ruby-smie-rules): Add rule for indentation before and after "."
1456 token.
1457
1458 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1459
1460 * textmodes/remember.el (remember-diary-extract-entries):
1461 Avoid add-to-list.
1462
1463 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1464 an instruction.
1465
1466 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1467
1468 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1469 (ruby-smie--implicit-semi-p): Add new operator chars.
1470
1471 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1472 `smie-down-list'.
1473 (ruby-smie--args-separator-p): Check that there's no newline
1474 between method call and its arguments.
1475
1476 2013-10-20 Alan Mackenzie <acm@muc.de>
1477
1478 Allow comma separated lists after Java "implements".
1479
1480 * progmodes/cc-engine.el (c-backward-over-enum-header):
1481 Parse commas.
1482 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1483 from a "disallowed" list in enum fontification.
1484
1485 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1486
1487 * startup.el (default-frame-background-mode): Remove unused defvar.
1488
1489 * progmodes/verilog-mode.el (verilog-mode): Don't set
1490 comment-indent-function globally.
1491
1492 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1493
1494 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1495 Move Info menu item creation to ns-win.el.
1496
1497 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1498 in menu bar.
1499
1500 * menu-bar.el: Move GNUStep specific menus...
1501
1502 * term/ns-win.el (ns-initialize-window-system): ... to here.
1503
1504 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1505
1506 * simple.el (newline): Only run post-self-insert-hook when
1507 called interactively.
1508
1509 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1510
1511 * icomplete.el (icomplete-with-completion-tables): Add :version.
1512
1513 2013-10-19 Alan Mackenzie <acm@muc.de>
1514
1515 Fix fontification bugs with constructors and const.
1516
1517 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1518 CASE 2) Remove the check for the absence of a suffix construct
1519 after a function declaration with only types (no identifiers) in
1520 the parentheses. Also, accept a function declaration with just a
1521 type inside the parentheses, if this type can be positively
1522 recognised as such, or if a prefix keyword like "explicit" nails
1523 down the construct as a declaration.
1524
1525 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1526
1527 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1528 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1529 the problem whereby selecting a menu item that leads to a
1530 minibuffer prompt moves the cursor out of the minibuffer window,
1531 making it hard to type at the prompt. Suggested by Stefan Monnier
1532 <monnier@iro.umontreal.ca>.
1533
1534 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1535
1536 * menu-bar.el: Don't make Services menu.
1537
1538 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1539
1540 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1541 (ffap-alist): Use ffap-c++-mode for c++-mode.
1542 (ffap-c++-path): New variable.
1543 (ffap-c++-mode): New function.
1544
1545 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1546
1547 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1548
1549 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1550
1551 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1552 introduced on 2013-09-08, which results in an infinite loop
1553 requesting a password.
1554
1555 2013-10-18 Glenn Morris <rgm@gnu.org>
1556
1557 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1558
1559 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1560
1561 Sync with upstream verilog-mode revision 1a6ecec7.
1562 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1563 (verilog-mode-release-date): Remove.
1564 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1565 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1566 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1567 (verilog-auto-tieoff-ignore-regexp)
1568 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1569 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1570 (verilog-signals-with, verilog-dir-cache-preserving)
1571 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1572 Doc fixes.
1573 (verilog-case-fold): New option, to control case folding in
1574 regexp searches, bug597.
1575 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1576 (verilog-string-match-fold, verilog-in-paren-count)
1577 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1578 (verilog-at-close-struct-p): New functions.
1579 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1580 (verilog-forward-sexp, verilog-set-auto-endcomments):
1581 (verilog-leap-to-case-head): Handle "unique0" case.
1582 (verilog-in-constraint-re): New constant.
1583 (verilog-keywords, verilog-type-font-keywords):
1584 Add some SystemVerilog 1800-2012 keywords.
1585 (verilog-label-be): Remove unimplemented argument, bug669.
1586 (verilog-batch-execute-func): When batch expanding clear
1587 create-lockfiles to prevent spurious user locks when a file ends
1588 up not changing.
1589 (verilog-calculate-indent, verilog-calc-1)
1590 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1591 (verilog-do-indent): Fix indentation of nested constraints
1592 and structures.
1593 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1594 (verilog-auto-inst-param): Use verilog-string-match-fold.
1595 (verilog-read-inst-module-matcher):
1596 Fix AUTOINST on gate primitives with #1.
1597 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1598 Reads all user-defined typed variables.
1599 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1600 (verilog-signals-matching-regexp)
1601 (verilog-signals-not-matching-regexp, verilog-auto):
1602 Respect verilog-case-fold.
1603 (verilog-diff-report): Fix line count.
1604 (verilog-auto-assign-modport): Remove unused local `modi'.
1605 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1606 better handle multidimensional arrays.
1607 Fix packed array ports misadding bit index in AUTOINST, bug637.
1608 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1609 to not double-declare existing outputs and inputs, respectively.
1610 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1611 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1612 (verilog-sk-uvm-component): New skeleton.
1613 (verilog-submit-bug-report): Add verilog-case-fold,
1614 remove verilog-mode-release-date.
1615
1616 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1617
1618 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1619 as before.
1620
1621 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1622
1623 * textmodes/remember.el (remember): set buffer-offer-save in
1624 remember buffers (bug#13566).
1625
1626 2013-10-18 Daniel Colascione <dancol@dancol.org>
1627
1628 When evaluating forms in ielm, direct standard output to ielm
1629 buffer. Add new ielm-return-for-effect command. Remove trailing
1630 whitespace throughout.
1631
1632 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1633 (ielm-return-for-effect): New command.
1634 (ielm-send-input): Accept optional `for-effect' parameter.
1635 (ielm-eval-input): Accept optional `for-effect' parameter.
1636 Bind `standard-output' to stream we create using
1637 `ielm-standard-output-impl'. Suppress printing result when
1638 `for-effect'.
1639 (ielm-standard-output-impl): New function.
1640 (inferior-emacs-lisp-mode): Explain new features in documentation.
1641
1642 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1643
1644 Code cleanup.
1645
1646 * net/tramp.el (tramp-debug-message): Do not check for connection
1647 buffer.
1648 (tramp-message): Use "vector" connection property.
1649
1650 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1651 (tramp-equal-remote, tramp-eshell-directory-change)
1652 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1653 (tramp-adb-handle-rename-file)
1654 * net/tramp-cmds.el (tramp-list-remote-buffers)
1655 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1656 * net/tramp-compat.el (tramp-compat-process-running-p)
1657 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1658 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1659 (tramp-gvfs-handle-rename-file)
1660 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1661 (tramp-set-file-uid-gid)
1662 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1663 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1664 of `file-remote-p'.
1665
1666 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1667 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1668 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1669 (tramp-gw-open-network-stream): Suppress unrelated traces.
1670
1671 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1672 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1673 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1674 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1675 connection property.
1676
1677 * net/tramp-cache.el (top): Suppress traces when reading
1678 persistency file.
1679
1680 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1681 Refactor common code. Improve debug message.
1682 (tramp-maybe-open-connection)
1683 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1684 connection buffer too early.
1685
1686 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1687 from `tramp-smb-actions-with-acl'.
1688 (tramp-smb-actions-set-acl): New defconst.
1689 (tramp-smb-handle-copy-directory)
1690 (tramp-smb-action-get-acl): New defun, renamed from
1691 `tramp-smb-action-with-acl'.
1692 (tramp-smb-action-set-acl): New defun.
1693 (tramp-smb-handle-set-file-acl): Rewrite.
1694
1695 2013-10-17 Glenn Morris <rgm@gnu.org>
1696
1697 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1698
1699 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1700
1701 * skeleton.el (skeleton-newline): Remove.
1702 (skeleton-internal-1): Use (insert "\n") instead.
1703
1704 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1705 let-bindings.
1706
1707 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1708 forward-sexp-function while we redo its job (bug#15613).
1709
1710 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1711
1712 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1713 represented by lists.
1714
1715 2013-10-16 Glenn Morris <rgm@gnu.org>
1716
1717 * tmm.el (tmm--history): New dynamic variable.
1718 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1719
1720 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1721
1722 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1723 (tramp-smb-errors): Add error messages.
1724 (tramp-smb-actions-with-acl): New defconst.
1725 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1726 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1727 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1728 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1729 (tramp-smb-get-stat-capability): Fix tests.
1730
1731 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1732
1733 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1734 (bug#15580).
1735
1736 2013-10-16 Glenn Morris <rgm@gnu.org>
1737
1738 * ansi-color.el (ansi-color-drop-regexp):
1739 Add 1J, 1K, 2K. (Bug#15617)
1740
1741 * files.el (hack-local-variables--warned-lexical): New.
1742 (hack-local-variables):
1743 Warn about misplaced lexical-binding. (Bug#15616)
1744
1745 * net/eww.el (eww-render): Always set eww-current-url,
1746 and update header line. (Bug#15622)
1747 (eww-display-html): ... Rather than just doing it here.
1748
1749 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1750
1751 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1752 menu navigations commands.
1753
1754 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1755
1756 * progmodes/subword.el (subword-capitalize): Be careful when
1757 the search for [[:alpha:]] fails (bug#15580).
1758
1759 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1760
1761 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1762 to commands that scroll the menu.
1763
1764 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1765
1766 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1767 Handle methods ending with `?' and `!'.
1768
1769 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1770
1771 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1772 `japanese-cp932' to `cp932' to fix the problem where saving a
1773 source file written in Shift_JIS twice would end up having
1774 `coding: japanese-cp932' which Ruby could not recognize.
1775 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1776 in `ruby-encoding-map'.
1777 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1778 doesn't need to be explicitly declared in magic comment.
1779 (ruby-encoding-map): Add type declaration for better customize UI.
1780
1781 2013-10-13 Glenn Morris <rgm@gnu.org>
1782
1783 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1784 Occur buffers are read-only. http://bugs.debian.org/720775
1785
1786 * emacs-lisp/authors.el (authors-fixed-entries):
1787 Comment out old alpha stuff.
1788
1789 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1790
1791 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1792 to `after-save-hook' instead of `before-save-hook'.
1793 (ruby-mode-set-encoding): Use the value of coding system used to
1794 write the file. Call `basic-save-buffer-1' after modifying the
1795 buffer.
1796
1797 2013-10-13 Alan Mackenzie <acm@muc.de>
1798
1799 Fix indentation/fontification of Java enum with
1800 "implements"/generic.
1801
1802 * progmodes/cc-engine.el (c-backward-over-enum-header):
1803 Extracted from the three other places and enhanced to handle generics.
1804 (c-inside-bracelist-p): Uses new function above.
1805 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1806 function above.
1807 (c-font-lock-enum-tail): Uses new function above.
1808
1809 2013-10-13 Kenichi Handa <handa@gnu.org>
1810
1811 * international/mule-cmds.el (select-safe-coding-system): Remove a
1812 superfluous condition in chekcing whether a coding system is safe
1813 or not.
1814
1815 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1816
1817 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1818
1819 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1820
1821 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1822
1823 2013-10-13 Glenn Morris <rgm@gnu.org>
1824
1825 * menu-bar.el (menu-bar-update-buffers):
1826 Unify Buffers menu prompt string. (Bug#15576)
1827
1828 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1829
1830 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1831 Add some entries.
1832 (authors-fixed-entries): Use accented form of name.
1833
1834 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1835
1836 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1837 method calls (bug#15594).
1838 (ruby-smie--args-separator-p): New function.
1839 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1840 recognize paren-free method calls.
1841
1842 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1843 internals of universal-argument.
1844
1845 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1846
1847 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1848 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1849 dropped menu on second mouse click on the menu bar.
1850
1851 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1854 (explicit-shell-file-name): Declare.
1855 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1856 (sh-completion-at-point-function): New function.
1857 (sh-mode): Use it.
1858 (sh-smie--keyword-p): Remove unused argument.
1859 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1860 vars.
1861 (sh-set-shell): Always setup SMIE, even if we use the
1862 old indentation code.
1863
1864 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1865
1866 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1867 cases of ? and =.
1868 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1869 predicate would return nil are almost non-existent.
1870 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1871
1872 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1873 cache also after commands that modify the buffer but don't move
1874 point.
1875
1876 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1877
1878 * env.el (substitute-env-in-file-name): New function.
1879 (substitute-env-vars): Extend the meaning of the optional arg.
1880
1881 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1882
1883 * term/w32-win.el (dynamic-library-alist): Define separate lists
1884 of GIF DLLs for versions before and after 5.0.0 of giflib.
1885 (Bug#15531)
1886
1887 2013-10-10 João Távora <joaotavora@gmail.com>
1888
1889 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1890 not locked, use last revision and current source as
1891 defaults. (Bug#15569)
1892
1893 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1894
1895 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1896 menu-bar is hidden.
1897
1898 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1899
1900 * window.el (pop-to-buffer-same-window): Fix doc-string.
1901 (Bug#15492)
1902
1903 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1904
1905 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1906
1907 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1908
1909 * calendar/icalendar.el (icalendar-import-file):
1910 Fix interactive spec. (Bug#15482)
1911
1912 2013-10-10 Glenn Morris <rgm@gnu.org>
1913
1914 * desktop.el (desktop-save): Default to saving in .emacs.d,
1915 since PWD is no longer in desktop-path by default. (Bug#15319)
1916
1917 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1918 now that text mode has a menu with the same entry.
1919 (menu-bar-text-mode-auto-fill): Remove now unused func.
1920 * textmodes/text-mode.el (text-mode-map):
1921 Use auto-fill help text from menu-bar.el.
1922
1923 2013-10-10 John Anthony <john@jo.hnanthony.com>
1924
1925 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1926
1927 2013-10-09 Juri Linkov <juri@jurta.org>
1928
1929 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1930 instead of this-command-keys. Add universal-argument-more and
1931 universal-argument-minus to the list of prefix commands. (Bug#15568)
1932
1933 2013-10-09 Glenn Morris <rgm@gnu.org>
1934
1935 * vc/vc-svn.el (vc-svn-create-repo):
1936 Expand paths in file://... url. (Bug#15446)
1937
1938 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1939 Add some entries.
1940 (authors): Remove unused local variables.
1941
1942 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1943
1944 * profiler.el: Create a more coherent calltree from partial backtraces.
1945 (profiler-format): Hide the tail with `invisible' so that C-s can still
1946 find the hidden elements.
1947 (profiler-calltree-depth): Don't recurse so enthusiastically.
1948 (profiler-function-equal): New hash-table-test.
1949 (profiler-calltree-build-unified): New function.
1950 (profiler-calltree-build): Use it.
1951 (profiler-report-make-name-part): Indent the calltree less.
1952 (profiler-report-mode): Add visibility specs for profiler-format.
1953 (profiler-report-expand-entry, profiler-report-toggle-entry):
1954 Expand the whole subtree when provided with a prefix arg.
1955
1956 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1957
1958 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1959 iuwu-mod token.
1960 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1961 hanging iuwu-mod token.
1962 (ruby-smie--forward-token): Do not include a dot after a token in
1963 that token.
1964 (ruby-smie--backward-token): Likewise.
1965
1966 2013-10-08 Juri Linkov <juri@jurta.org>
1967
1968 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1969 to isearch-other-control-char.
1970 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1971 and isearch-post-command-hook to post-command-hook.
1972 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1973 and isearch-post-command-hook from post-command-hook.
1974 (isearch-unread-key-sequence)
1975 (isearch-reread-key-sequence-naturally)
1976 (isearch-lookup-scroll-key, isearch-other-control-char)
1977 (isearch-other-meta-char): Remove functions.
1978 (isearch-pre-command-hook, isearch-post-command-hook):
1979 New functions based on isearch-other-meta-char rewritten
1980 relying on the new behavior of overriding-terminal-local-map
1981 that does not replace the local keymaps any more. (Bug#15200)
1982
1983 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1984
1985 Support menus on text-mode terminals.
1986 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1987 functionality.
1988
1989 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1990
1991 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1992 Move here from mouse.el.
1993 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1994 and arrow keys.
1995 (tty-menu-navigation-map): New map for TTY menu navigation.
1996
1997 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1998
1999 * frame.el (display-mouse-p): Report text-mode mouse as available
2000 on w32.
2001 (display-popup-menus-p): Report availability if mouse is
2002 available; don't condition on window-system.
2003
2004 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2005 (tty-menu-selected-face): New faces.
2006
2007 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2008
2009 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2010 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2011 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2012 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2013 New constants.
2014 (lisp-mode-variables): New `elisp' argument.
2015 (emacs-lisp-mode): Use it.
2016 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2017 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2018
2019 * indent.el: Use lexical-binding.
2020 (indent-region): Add progress reporter.
2021 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2022 last step.
2023 (indent--next-tab-stop): New function to implement this behavior.
2024 (tab-to-tab-stop, move-to-tab-stop): Use it.
2025
2026 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2027
2028 * indent.el (indent-rigidly--current-indentation): New function.
2029 (indent-rigidly-map): New var.
2030 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2031
2032 2013-10-08 Bastien Guerry <bzg@gnu.org>
2033
2034 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2035
2036 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2037
2038 * progmodes/perl-mode.el: Use lexical-binding.
2039 Remove redundant :group args.
2040 (perl-nochange): Change default to be closer to other major modes's
2041 standard behavior.
2042 (perl-indent-line): Don't consider text on current line as a
2043 valid beginning of function from which to indent.
2044
2045 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2046 with more than one argument (bug#15538).
2047
2048 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2049
2050 * vc/pcvs.el: Use lexical-binding.
2051 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2052 environment of `eval'.
2053 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2054 than a list of expressions. Adjust callers.
2055 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2056
2057 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2058
2059 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2060 case of the dot in a chained method call being on the following line.
2061
2062 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2063
2064 * electric.el (electric-indent-inhibit): New var.
2065 (electric-indent-post-self-insert-function): Use it.
2066 * progmodes/python.el (python-mode): Set it.
2067
2068 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2069 open braces.
2070
2071 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2072
2073 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2074 (css-mode): Use electric-indent-chars.
2075
2076 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2077 (font-lock-beg, font-lock-end): Move before first use.
2078 (nxml-mode): Use syntax-propertize-function.
2079 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2080 (nxml-extend-after-change-region): Remove.
2081 * nxml/xmltok.el: Use lexical-binding.
2082 (xmltok-save): Use `declare'.
2083 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2084 * nxml/nxml-util.el: Use lexical-binding.
2085 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2086 Use `declare'.
2087 * nxml/nxml-ns.el: Use lexical-binding.
2088 (nxml-ns-save): Use `declare'.
2089 (nxml-ns-prefixes-for): Avoid add-to-list.
2090 * nxml/rng-match.el: Use lexical-binding.
2091 (rng--ipattern): Use cl-defstruct.
2092 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2093 (rng-cons-group-after, rng-subst-group-after)
2094 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2095 Use closures instead of `(lambda...).
2096
2097 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2098
2099 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2100 of BEG and END.
2101
2102 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2103 Use `tramp-handle-insert-file-contents'.
2104 (tramp-gvfs-handle-insert-file-contents): Remove function.
2105
2106 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2107 Use `save-restriction' in order to keep markers.
2108
2109 * net/trampver.el: Update release number.
2110
2111 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2112
2113 * progmodes/compile.el (compilation-parse-errors):
2114 Use compilation--put-prop.
2115 (compilation--ensure-parse): Check compilation-multiline.
2116
2117 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2118
2119 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2120 lexical-binding.
2121
2122 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2123
2124 * progmodes/ruby-mode.el: Fix recently added tests.
2125 (ruby-smie-grammar): Add - and +.
2126 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2127 (ruby-smie--backward-id): New functions.
2128 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2129 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2130 any more.
2131
2132 2013-10-07 Leo Liu <sdl.web@gmail.com>
2133
2134 * register.el (register-preview-delay)
2135 (register-preview-functions): New variables.
2136 (register-read-with-preview, register-preview)
2137 (register-describe-oneline): New functions.
2138 (point-to-register, window-configuration-to-register)
2139 (frame-configuration-to-register, jump-to-register)
2140 (number-to-register, view-register, insert-register)
2141 (copy-to-register, append-to-register, prepend-to-register)
2142 (copy-rectangle-to-register): Use register-read-with-preview to
2143 read register. (Bug#15525)
2144
2145 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2146
2147 * net/network-stream.el (network-stream-open-starttls): Don't add
2148 --insecure if it's already present, because that gnutls-cli
2149 rejects getting that parameter twice.
2150
2151 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2152
2153 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2154 keyword, too.
2155
2156 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2157
2158 * newcomment.el (comment-use-global-state): Change default value
2159 to t, mark obsolete (Bug#15251).
2160 (comment-beginning): In addition to `comment-to-syntax', check the
2161 value of `comment-use-global-state'.
2162
2163 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2164
2165 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2166 (ruby-comment-column): Follow the global default, by default.
2167 (ruby-smie-grammar): Add assignment syntax.
2168 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2169 open-paren, a comma, or a \.
2170 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2171 and line continuations.
2172 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2173 followed by implicit semi-colons. Add rule for string concatenation
2174 and for indentation at BOB.
2175 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2176
2177 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2178 calling next-sexp, since next-token may have skipped chars which
2179 next-sexp doesn't know should be skipped!
2180
2181 2013-10-05 Leo Liu <sdl.web@gmail.com>
2182
2183 * progmodes/octave.el (octave-send-region):
2184 Call compilation-forget-errors.
2185
2186 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2187
2188 * vc/vc-svn.el (vc-svn-find-admin-dir):
2189 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2190 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2191 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2192 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2193
2194 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2195
2196 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2197
2198 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2199
2200 * subr.el (read-passwd): Hide chars even when called within a context
2201 where after-change-functions is disabled (bug#15501).
2202 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2203 until we removed ourself from overriding-terminal-local-map.
2204
2205 2013-10-04 Leo Liu <sdl.web@gmail.com>
2206
2207 * progmodes/octave.el (inferior-octave-mode):
2208 Call compilation-forget-errors.
2209
2210 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2211
2212 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2213
2214 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2215
2216 * net/secrets.el (secrets-create-collection): Add optional
2217 argument ALIAS. Use proper Label keyword. Append ALIAS as
2218 dbus-call-method argument. (Bug#15516)
2219
2220 2013-10-04 Leo Liu <sdl.web@gmail.com>
2221
2222 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2223 (inferior-octave-compilation-font-lock-keywords): New variables.
2224 (compilation-error-regexp-alist)
2225 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2226 (inferior-octave-mode): Use compilation-shell-minor-mode.
2227
2228 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2229
2230 * minibuffer.el (completion--replace): Be careful that `end' might be
2231 a marker.
2232
2233 2013-10-03 Daiki Ueno <ueno@gnu.org>
2234
2235 Add support for package signature checking.
2236 * emacs-lisp/package.el (url-http-file-exists-p)
2237 (epg-make-context, epg-context-set-home-directory)
2238 (epg-verify-string, epg-context-result-for)
2239 (epg-signature-status, epg-signature-to-string)
2240 (epg-check-configuration, epg-configuration)
2241 (epg-import-keys-from-file): Declare.
2242 (package-check-signature): New user option.
2243 (package-unsigned-archives): New user option.
2244 (package-desc): Add `signed' field.
2245 (package-load-descriptor): Set `signed' field if .signed file exists.
2246 (package--archive-file-exists-p): New function.
2247 (package--check-signature): New function.
2248 (package-install-from-archive): Check package signature.
2249 (package--download-one-archive): Check archive signature.
2250 (package-delete): Remove .signed file.
2251 (package-import-keyring): New command.
2252 (package-refresh-contents): Import default keyring.
2253 (package-desc-status): Add "unsigned" status.
2254 (describe-package-1, package-menu--print-info)
2255 (package-menu-mark-delete, package-menu--find-upgrades)
2256 (package-menu--status-predicate): Support "unsigned" status.
2257
2258 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2259
2260 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2261 the new compilation scheme using the new byte-codes.
2262
2263 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2264 (byte-pophandler): New byte codes.
2265 (byte-goto-ops): Adjust accordingly.
2266 (byte-compile--use-old-handlers): New var.
2267 (byte-compile-catch): Use new byte codes depending on
2268 byte-compile--use-old-handlers.
2269 (byte-compile-condition-case--old): Rename from
2270 byte-compile-condition-case.
2271 (byte-compile-condition-case--new): New function.
2272 (byte-compile-condition-case): New function that dispatches depending
2273 on byte-compile--use-old-handlers.
2274 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2275 when we can.
2276
2277 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2278 Optimize under `condition-case' and `catch' if
2279 byte-compile--use-old-handlers is nil.
2280 (disassemble-offset): Handle new bytecodes.
2281
2282 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2283
2284 * subr.el (error): Use `declare'.
2285 (decode-char, encode-char): Use advertised-calling-convention instead
2286 of the docstring to discourage use of the `restriction' arg.
2287
2288 2013-10-03 Daiki Ueno <ueno@gnu.org>
2289
2290 * epg.el (epg-verify-file): Add a comment saying that it does not
2291 notify verification error as a return value nor a signal.
2292 (epg-verify-string): Ditto.
2293
2294 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2295
2296 * progmodes/compile.el (compilation-start): Try globbing the arg to
2297 `cd' (bug#15417).
2298
2299 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2300
2301 Sync with Tramp 2.2.8.
2302
2303 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2304 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2305 * net/trampver.el: Update release number.
2306
2307 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2308
2309 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2310 and default-process-coding-system for darwin only.
2311
2312 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2313
2314 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2315
2316 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2317
2318 * vc/vc-git.el (vc-git-grep): Disable pager.
2319
2320 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2321
2322 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2323 Use :url instead of :homepage, as per
2324 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2325
2326 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2327 non-nil, use `syntax-ppss' (Bug#15251).
2328
2329 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2330
2331 * progmodes/octave.el (inferior-octave-startup-file):
2332 Prefer ~/.emacs.d/init_octave.m.
2333
2334 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2335
2336 * emacs-lisp/package.el (package-desc-from-define):
2337 Accept additional arguments as plist, convert them to an alist and store
2338 them in the `extras' slot.
2339 (package-generate-description-file): Convert extras alist back to
2340 plist and append to the `define-package' form arguments.
2341 (package--alist-to-plist): New function.
2342 (package--ac-desc): Add `extras' slot.
2343 (package--add-to-archive-contents): Check if the archive-contents
2344 vector is long enough, and if it is, pass its `extras' slot value
2345 to `package-desc-create'.
2346 (package-buffer-info): Call `lm-homepage', pass the returned value
2347 to `package-desc-from-define'.
2348 (describe-package-1): Render the homepage button (Bug#13291).
2349
2350 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2351 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2352
2353 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2354
2355 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2356 and default-process-coding-system to utf-8-unix (Bug#15402).
2357
2358 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2359
2360 * subr.el (looking-back): Do not recommend using looking-back.
2361
2362 2013-09-28 Alan Mackenzie <acm@muc.de>
2363
2364 Fix indentation/fontification of Java enum with "implements".
2365
2366 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2367 regexp which matches "implements", etc., in Java.
2368 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2369 specifier clauses coming after "enum".
2370 * progmodes/cc-fonts.el (c-font-lock-declarations)
2371 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2372 after "enum".
2373
2374 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2375
2376 * faces.el (region): Change ns_selection_color to
2377 ns_selection_fg_color, add ns_selection_bg_color.
2378
2379 2013-09-28 Leo Liu <sdl.web@gmail.com>
2380
2381 * progmodes/octave.el (inferior-octave-completion-table)
2382 (inferior-octave-completion-at-point): Minor tweaks.
2383
2384 * textmodes/ispell.el (ispell-lookup-words): Rename from
2385 lookup-words. (Bug#15460)
2386 (lookup-words): Obsolete.
2387 (ispell-complete-word, ispell-command-loop): All uses changed.
2388
2389 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2390
2391 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2392 (octave-mode-menu): Add octave-send-buffer.
2393 (octave-send-buffer): New function.
2394
2395 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2396
2397 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2398 octave-lookfor.
2399 (octave-mode-menu): Add octave-lookfor.
2400 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2401 octave-lookfor.
2402 (octave-lookfor): New function.
2403
2404 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2405
2406 * emacs-lisp/cl-macs.el:
2407 (cl--loop-destr-temps): Remove.
2408 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2409 its convention.
2410 (cl--loop-set-iterator-function): New function.
2411 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2412 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2413 Bind `it' with `let' instead of substituting it with `cl-subst'.
2414 (cl--unused-var-p): New function.
2415 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2416 Eliminate some unused variable warnings (bug#15326).
2417
2418 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2419
2420 * doc-view.el (doc-view-scale-reset): Rename from
2421 `doc-view-reset-zoom-level'.
2422 (doc-view-scale-adjust): New command.
2423 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2424 `doc-view-scale-adjust'.
2425
2426 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2427
2428 * doc-view.el (doc-view-reset-zoom-level): New command.
2429 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2430 zoom commands (bug#15466).
2431
2432 2013-09-26 Kenichi Handa <handa@gnu.org>
2433
2434 * international/quail.el (quail-help): Make it not a command.
2435
2436 2013-09-26 Leo Liu <sdl.web@gmail.com>
2437
2438 * minibuffer.el (completion-all-sorted-completions): Make args
2439 optional as they are.
2440
2441 2013-09-25 Daniel Colascione <dancol@dancol.org>
2442
2443 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2444 specs are and that they're not evaluated.
2445
2446 2013-09-24 Sam Steingold <sds@gnu.org>
2447
2448 * midnight.el (clean-buffer-list-kill-regexps)
2449 (clean-buffer-list-kill-buffer-names): Update for the new Man
2450 buffer naming which includes the object name.
2451
2452 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2453
2454 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2455 (eshell-parse-command, eshell-parse-pipeline): Use it since
2456 eshell-separate-commands requires a dynamic scoped var.
2457 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2458
2459 2013-09-23 Leo Liu <sdl.web@gmail.com>
2460
2461 * autoinsert.el (auto-insert-alist): Make the value of
2462 lexical-binding match its file setting.
2463
2464 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2465
2466 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2467
2468 * autoarg.el (autoarg-kp-digit-argument):
2469 * electric.el (Electric-command-loop):
2470 * kmacro.el (kmacro-step-edit-insert):
2471 Do not set universal-argument-num-events.
2472
2473 2013-09-22 Leo Liu <sdl.web@gmail.com>
2474
2475 * files.el (interpreter-mode-alist): Add octave.
2476
2477 2013-09-21 Alan Mackenzie <acm@muc.de>
2478
2479 C++: fontify identifier in declaration following "public:" correctly.
2480 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2481 to match "public", etc.
2482 (c-decl-prefix-re): Add ":" into the C++ value.
2483 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2484 bit. Add a check for a ":" preceded by "public", etc.
2485
2486 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2487
2488 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2489 recognized by GDB 7.5 and later.
2490
2491 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2492
2493 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2494
2495 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2496
2497 * subr.el (internal--call-interactively): New const.
2498 (called-interactively-p): Use it (bug#3984).
2499
2500 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2501
2502 * vc/pcvs.el (cvs-mode-ignore):
2503 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2504 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2505
2506 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2507
2508 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2509 (eshell-ls-orig-insert-directory): Remove.
2510 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2511 (eshell-ls-use-in-dired): Use advice-add/remove.
2512 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2513 Add `orig-fun' arg for use in :around advice.
2514 Make it check (redundantly) eshell-ls-use-in-dired.
2515
2516 2013-09-19 Glenn Morris <rgm@gnu.org>
2517
2518 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2519
2520 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2521
2522 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2523
2524 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2525
2526 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2527 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2528 (tramp-get-remote-python): New defuns.
2529 (tramp-get-remote-uid-with-perl)
2530 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2531 contributed by yary <not.com@gmail.com> (tiny change).
2532 (tramp-get-remote-uid-with-python)
2533 (tramp-get-remote-gid-with-python): New defuns. Python code
2534 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2535 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2536
2537 2013-09-19 Glenn Morris <rgm@gnu.org>
2538
2539 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2540
2541 * eshell/em-unix.el (eshell-remove-entries):
2542 Rename argument to avoid name-clash with global `top-level'.
2543
2544 * eshell/esh-proc.el (eshell-kill-process-function):
2545 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2546 (eshell-reset-after-proc): Remove unused arg `proc'.
2547
2548 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2549 (directory-files-and-attributes): Mark unused arg.
2550
2551 * eshell/em-unix.el (eshell-remove-entries):
2552 Remove unused arg `path'. Update callers.
2553
2554 * eshell/em-hist.el (eshell-hist-parse-arguments):
2555 Remove unused arg `silent'. Update callers.
2556
2557 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2558 Fix (f)boundp mix-up.
2559
2560 * eshell/em-smart.el (eshell-smart-scroll-window)
2561 (eshell-disable-after-change):
2562 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2563
2564 2013-09-18 Alan Mackenzie <acm@muc.de>
2565
2566 Fix fontification of type when followed by "const".
2567 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2568 "known" types from fontification.
2569
2570 2013-09-18 Glenn Morris <rgm@gnu.org>
2571
2572 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2573 (chart-face-list): Drop Emacsen without display-color-p.
2574
2575 * net/eww.el (libxml-parse-html-region): Declare.
2576 (eww-display-html): Explicit error if no libxml2 support.
2577
2578 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2579
2580 * image.el (image-type-from-buffer, image-multi-frame-p):
2581 Remove --without-x warning/error.
2582
2583 * mouse.el (mouse-yank-primary):
2584 * term.el (term-mouse-paste):
2585 Reorder to silence --without-x compilation.
2586
2587 * mpc.el (doc-view-mode): Silence --without-x compilation.
2588
2589 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2590 Silence --without-x compilation.
2591
2592 * progmodes/gud.el (gud-find-file, gud-mode):
2593 Silence --without-x compilation.
2594 (tooltip-mode): Declare.
2595
2596 * wdired.el (dired-backup-overwrite): Remove declaration.
2597 (wdired-mode-map): Add doc string.
2598
2599 * custom.el (x-get-resource): Declare.
2600
2601 * eshell/em-glob.el (ange-cache):
2602 * eshell/em-unix.el (ange-cache): Declare.
2603
2604 * faces.el (x-display-list, x-open-connection, x-get-resource):
2605 Declare.
2606
2607 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2608 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2609 Declare.
2610
2611 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2612
2613 * net/gnutls.el (gnutls-log-level): Declare.
2614
2615 * net/shr.el (image-size, image-animate): Declare.
2616
2617 * simple.el (font-info): Declare.
2618
2619 * subr.el (x-popup-dialog): Declare.
2620
2621 * term/common-win.el (x-select-enable-primary)
2622 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2623 Declare.
2624
2625 * term/ns-win.el (x-handle-args): Declare.
2626
2627 * term/x-win.el (x-select-enable-clipboard): Declare.
2628
2629 * term/w32-win.el (create-default-fontset): Declare.
2630
2631 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2632 Declare.
2633
2634 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2635 (fit-frame-to-buffer): Explicit error if --without-x.
2636 (mouse-autoselect-window-select): Silence compiler.
2637
2638 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2639
2640 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2641 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2642 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2643 * eshell/esh-util.el (eshell-sublist):
2644 Remove unused local variables.
2645
2646 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2647
2648 * textmodes/two-column.el: Make 2C-split work for --without-x.
2649 (scroll-bar-columns): Autoload.
2650 (top-level): Require fringe when compiling.
2651
2652 2013-09-18 Leo Liu <sdl.web@gmail.com>
2653
2654 * subr.el (add-hook): Robustify to handle closure as well.
2655
2656 2013-09-17 Glenn Morris <rgm@gnu.org>
2657
2658 * simple.el (messages-buffer-mode-map): Unbind "g".
2659
2660 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2661
2662 * help-mode.el (help-mode-finish): Use derived-mode-p.
2663 Remove obsolete highlighting.
2664
2665 * play/life.el (life-mode): Use define-derived-mode. Derive from
2666 special-mode.
2667 (life): Let-bind inhibit-read-only.
2668 (life-setup): Avoid `setq'. Use `life-mode'.
2669
2670 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2671 which should not be needed any more.
2672 (package-menu-refresh, package-menu-describe-package): Use user-error.
2673
2674 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2675 (eshell-post-rewrite-command-hook): Make obsolete.
2676 (eshell-parse-command): Simplify.
2677 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2678 (eshell--cmd): Declare.
2679 (eshell-parse-pipeline): Remove unused var `final-p'.
2680 Pass a dynvar to eshell-post-rewrite-command-hook.
2681 Implement the new eshell-post-rewrite-command-function.
2682 (eshell-invoke-directly): Remove unused arg `input'.
2683 * eshell/esh-io.el (eshell-io-initialize):
2684 Use eshell-post-rewrite-command-function (bug#15399).
2685 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2686 adjust to new calling convention.
2687 (eshell-create-handles): Rename args to avoid clashing with dynvar
2688 `standard-output'.
2689
2690 2013-09-17 Glenn Morris <rgm@gnu.org>
2691
2692 * simple.el (messages-buffer-mode): New major mode.
2693 (messages-buffer): New function.
2694 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2695 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2696 (ert-run-test): Use `messages-buffer' function.
2697 (ert--force-message-log-buffer-truncation): Ignore read-only.
2698 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2699 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2700
2701 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2704
2705 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2706
2707 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * icomplete.el (icomplete-in-buffer): New var.
2710 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2711 vars and replace them with functions.
2712 (icomplete-minibuffer-setup): Adjust accordingly.
2713 (icomplete--completion-table, icomplete--completion-predicate)
2714 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2715 New functions.
2716 (icomplete-forward-completions, icomplete-backward-completions)
2717 (icomplete-simple-completing-p, icomplete-exhibit)
2718 (icomplete-completions): Use them.
2719 (icomplete--in-region-buffer): New var.
2720 (icomplete--in-region-setup): New function.
2721 (icomplete-mode): Use it.
2722
2723 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2724 (bug#15379).
2725 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2726 return args and options.
2727 (eshell-eval-using-options): Use the new return value of
2728 eshell--do-opts to set the options's vars in their scope.
2729 (eshell--set-option): Rename from eshell-set-option.
2730 Add arg `opt-vals'.
2731 (eshell--process-option): Rename from eshell-process-option.
2732 Add arg `opt-vals'.
2733 (eshell--process-args): Use an `opt-vals' alist to store the options's
2734 values during their processing and return them additionally to the
2735 remaining args.
2736
2737 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2738
2739 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2740 continuation character an operator, as far as indentation is
2741 concerned (Bug#15369).
2742
2743 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2744
2745 * window.el (window--state-put-2): Don't process buffer state
2746 when buffer doesn't exist any more (Bug#15382).
2747
2748 2013-09-15 Glenn Morris <rgm@gnu.org>
2749
2750 * eshell/em-unix.el (eshell/rm):
2751 Make -f ignore missing files. (Bug#15373)
2752
2753 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2754 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2755 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2756
2757 2013-09-14 Glenn Morris <rgm@gnu.org>
2758
2759 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2760
2761 2013-09-13 Glenn Morris <rgm@gnu.org>
2762
2763 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2764 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2765
2766 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2767
2768 * frame.el (x-focus-frame): Mark as declared in frame.c.
2769
2770 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2771
2772 * ls-lisp.el: Use advice-add.
2773 (original-insert-directory): Remove.
2774 (ls-lisp--insert-directory): Rename from insert-directory; add
2775 `orig-fun' argument.
2776 (insert-directory): Advise.
2777
2778 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2779
2780 * term.el (term-emulate-terminal): Decode the command string
2781 before passing it to term-command-hook. (Bug#15337)
2782
2783 2013-09-13 Glenn Morris <rgm@gnu.org>
2784
2785 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2786
2787 * eshell/esh-ext.el (eshell-search-path): Declare.
2788
2789 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2790 Otherwise an error occurs if eshell-dirs module not loaded.
2791
2792 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2793
2794 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2795
2796 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2797 `tramp-check-proper-host'. Check for a valid method name.
2798
2799 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2800 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2801 * net/tramp-sh.el (tramp-maybe-open-connection):
2802 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2803
2804 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2805 also for hash values.
2806
2807 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2808
2809 * term/ns-win.el (parameters): Don't declare as dynamic.
2810 (before-make-frame-hook): Don't add ineffective function.
2811
2812 * eshell/*.el: Use lexical-binding (bug#15231).
2813
2814 2013-09-12 Kenichi Handa <handa@gnu.org>
2815
2816 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2817
2818 2013-09-12 Glenn Morris <rgm@gnu.org>
2819
2820 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2821 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2822
2823 * subr.el (do-after-load-evaluation): Also give compiler warnings
2824 when obsolete files are used (except by obsolete files).
2825
2826 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2827 in the status output, assume `filename' is the first. (Bug#15322)
2828
2829 * vc/vc.el (vc-deduce-fileset): Doc fix.
2830
2831 * calc/calc-help.el (Info-goto-node):
2832 * progmodes/cperl-mode.el (Info-find-node):
2833 * vc/ediff.el (Info-goto-node): Update declarations.
2834
2835 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2836
2837 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2838 (vc-bzr-pull): Require vc-dispatcher.
2839 * vc/vc-git.el (vc-compilation-mode): Declare.
2840 (vc-git-pull): Require vc-dispatcher.
2841
2842 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2843
2844 * progmodes/octave.el (help-button-action): Declare.
2845
2846 * shell.el (shell-directory-tracker): Output error as a message
2847 rather than just returning it as a string.
2848 (shell-process-pushd): Remove useless use of message.
2849
2850 * dframe.el (dframe-timer-fn):
2851 * files.el (dir-locals-read-from-file):
2852 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2853 (mpc-format):
2854 * reveal.el (reveal-post-command):
2855 * saveplace.el (load-save-place-alist-from-file):
2856 * shell.el (shell-resync-dirs):
2857 * w32-common-fns.el (x-get-selection-value):
2858 * emacs-lisp/copyright.el (copyright-find-copyright):
2859 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2860 * emulation/tpu-edt.el (tpu-copy-keyfile):
2861 * play/bubbles.el (bubbles--mark-neighbourhood):
2862 * progmodes/executable.el
2863 (executable-make-buffer-file-executable-if-script-p):
2864 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2865
2866 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 Cleanup Eshell to rely less on dynamic scoping.
2869 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2870 last-value, and ext-command here. Bind `args' closer to `body'.
2871 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2872 (eshell--args): Declare new dynamic var.
2873 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2874 last-value, and ext-command. Pass `args' to `body'.
2875 (eshell-process-args): Bind eshell--args.
2876 (eshell-set-option): Use eshell--args.
2877 * eshell/eshell.el (eshell): Use derived-mode-p.
2878 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2879 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2880 (eshell-glob-function): Declare.
2881 * eshell/esh-util.el: Require cl-lib.
2882 (eshell-read-hosts-file): Avoid add-to-list.
2883 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2884 `err'.
2885 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2886 Declare.
2887 (eshell/diff): Remove unused var `err'.
2888 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2889 `killflag'.
2890 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2891 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2892 first use.
2893 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2894 Move declaration before first use.
2895 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2896 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2897 rely on cl-return.
2898
2899 2013-09-12 Glenn Morris <rgm@gnu.org>
2900
2901 * term/ns-win.el (global-map): Remove binding for ispell-next,
2902 deleted 1999-05-29. (Bug#15357)
2903
2904 2013-09-11 Glenn Morris <rgm@gnu.org>
2905
2906 * echistory.el (electric-command-history): Remove call to deleted func.
2907
2908 * play/landmark.el (landmark-mode): Fix typos.
2909
2910 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2911 Check cvs-sort-ignore-file is bound.
2912
2913 * savehist.el: No need for cl when compiling on Emacs.
2914
2915 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2916
2917 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2918 (bug#15338).
2919 (eshell-self-insert-command, eshell-send-invisible):
2920 Remove unused argument.
2921 (eshell-handle-control-codes): Remove unused var `orig'.
2922 Avoid delete-backward-char.
2923
2924 * files.el (set-auto-mode): Simplify a bit further.
2925
2926 2013-09-11 Glenn Morris <rgm@gnu.org>
2927
2928 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2929 (set-auto-mode): Don't regexp-quote elements.
2930 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2931 * progmodes/cc-mode.el (interpreter-mode-alist):
2932 * progmodes/ruby-mode.el (interpreter-mode-alist):
2933 Revert previous change.
2934
2935 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2936
2937 * play/snake.el (snake-mode):
2938 * play/mpuz.el (mpuz-mode):
2939 * play/landmark.el (lm-mode):
2940 * play/blackbox.el (blackbox-mode):
2941 * play/5x5.el (5x5-mode):
2942 * obsolete/options.el (Edit-options-mode):
2943 * net/quickurl.el (quickurl-list-mode):
2944 * net/newst-treeview.el (newsticker-treeview-mode):
2945 * mail/rmailsum.el (rmail-summary-mode):
2946 * mail/mspools.el (mspools-mode):
2947 * locate.el (locate-mode):
2948 * ibuffer.el (ibuffer-mode):
2949 * emulation/ws-mode.el (wordstar-mode):
2950 * emacs-lisp/debug.el (debugger-mode):
2951 * array.el (array-mode):
2952 * net/eudc.el (eudc-mode): Use define-derived-mode.
2953 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2954 Move initialization into declaration.
2955 (mairix-searches-mode): Use define-derived-mode.
2956 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2957 (eudc-edit-hotlist): Use dolist.
2958 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2959 (Man-mode): Use define-derived-mode.
2960 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2961 (Info-edit-mode): Use define-derived-mode.
2962 (Info-cease-edit): Use Info-mode.
2963 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2964 into declaration.
2965 (eshell-mode): Use define-derived-mode.
2966 * chistory.el (command-history-mode-map): Rename from
2967 command-history-map.
2968 (command-history-mode): Use define-derived-mode.
2969 (Command-history-setup): Remove function.
2970 * calc/calc.el (calc-trail-mode-map): New var.
2971 (calc-trail-mode): Use define-derived-mode.
2972 (calc-trail-buffer): Set calc-main-buffer manually.
2973 * bookmark.el (bookmark-insert-annotation): New function.
2974 (bookmark-edit-annotation): Use it.
2975 (bookmark-edit-annotation-mode): Make it a proper major mode.
2976 (bookmark-send-edited-annotation): Use derived-mode-p.
2977 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2978 closer to its ideal place. Use \' to match EOS.
2979
2980 * profiler.el (profiler-calltree-find): Use function-equal.
2981
2982 2013-09-10 Glenn Morris <rgm@gnu.org>
2983
2984 * files.el (interpreter-mode-alist): Convert to regexps.
2985 (set-auto-mode): Adapt for this. (Bug#15306)
2986 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2987 Comment out unused variable.
2988 * progmodes/cc-mode.el (interpreter-mode-alist):
2989 * progmodes/python.el (interpreter-mode-alist):
2990 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2991 * progmodes/sh-script.el (sh-set-shell):
2992 No longer use interpreter-mode-alist to get list of shells.
2993
2994 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2995
2996 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2997
2998 * simple.el: Use set-temporary-overlay-map for universal-argument.
2999 (universal-argument-map): Don't use default-bindings (bug#15317).
3000 Bind switch-frame explicitly. Replace universal-argument-minus with
3001 a conditional binding.
3002 (universal-argument-num-events, saved-overriding-map): Remove.
3003 (restore-overriding-map): Remove.
3004 (universal-argument--mode): Rename from save&set-overriding-map,
3005 and rewrite.
3006 (universal-argument, universal-argument-more, negative-argument)
3007 (digit-argument): Adjust accordingly.
3008 (universal-argument-minus): Remove.
3009 (universal-argument-other-key): Remove.
3010
3011 * subr.el (with-demoted-errors): Add `format' argument.
3012
3013 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3014
3015 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3016 `tramp-cleanup-connection'.
3017
3018 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3019 parameters KEEP-DEBUG and KEEP-PASSWORD.
3020
3021 * net/tramp.el (tramp-file-name-handler):
3022 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3023 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3024 (tramp-maybe-open-connection):
3025 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3026 Use `tramp-cleanup-connection'.
3027
3028 * net/tramp-sh.el (tramp-maybe-open-connection):
3029 Catch 'uname-changed inside the progress reporter.
3030
3031 2013-09-10 Glenn Morris <rgm@gnu.org>
3032
3033 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3034
3035 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3036 returns "alternate access method" in mode (eg "-rw-r--r--.").
3037
3038 2013-09-08 Glenn Morris <rgm@gnu.org>
3039
3040 * saveplace.el (load-save-place-alist-from-file):
3041 Demote errors. (Bug#15305)
3042
3043 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3044
3045 Improve compatibility with older Emacsen, and XEmacs.
3046
3047 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3048 only if it is bound. It isn't for XEmacs.
3049 (with-tramp-progress-reporter): Do not let-bind `result'.
3050 This yields to scoping errors in XEmacs.
3051 (tramp-handle-make-auto-save-file-name): New function, moved from
3052 tramp-sh.el.
3053
3054 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3055 for `make-auto-save-file-name'.
3056 (tramp-adb--gnu-switches-to-ash):
3057 Use `tramp-compat-replace-regexp-in-string'.
3058
3059 * net/tramp-cache.el (tramp-cache-print): Call
3060 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3061
3062 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3063 bound. It isn't for XEmacs.
3064
3065 * net/tramp-compat.el (tramp-compat-copy-file):
3066 Catch `wrong-number-of-arguments' error.
3067 (tramp-compat-replace-regexp-in-string): New defun.
3068
3069 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3070 for `make-auto-save-file-name'.
3071 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3072 `copy-file'.
3073 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3074 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3075 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3076
3077 * net/tramp-gw.el (tramp-gw-open-network-stream):
3078 Use `tramp-compat-replace-regexp-in-string'.
3079
3080 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3081 Call `tramp-handle-make-auto-save-file-name'.
3082 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3083 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3084 (tramp-sh-file-inotifywait-process-filter):
3085 Use `tramp-compat-replace-regexp-in-string'.
3086 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3087
3088 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3089 for `make-auto-save-file-name'.
3090 (tramp-smb-handle-copy-directory):
3091 Call `tramp-compat-replace-regexp-in-string'.
3092 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3093 (tramp-smb-handle-copy-file): Improve error message.
3094 (tramp-smb-handle-rename-file): Rename directly only in case
3095 `newname' does not exist yet. This is a restriction of smbclient.
3096 (tramp-smb-maybe-open-connection): Rerun the function only when
3097 `auth-sources' is non-nil.
3098
3099 2013-09-08 Kenichi Handa <handa@gnu.org>
3100
3101 * international/characters.el: Set category "^" (Combining) for
3102 more characters.
3103
3104 2013-09-07 Alan Mackenzie <acm@muc.de>
3105
3106 Correctly fontify Java class constructors.
3107 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3108 in Java Mode.
3109 (c-recognize-typeless-decls): Set the Java value to t.
3110 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3111 While handling a "(", add a check for, effectively, Java, and handle a
3112 "typeless" declaration there.
3113
3114 2013-09-07 Roland Winkler <winkler@gnu.org>
3115
3116 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3117 field subtitle for entry type book.
3118
3119 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3120
3121 * minibuffer.el: Make minibuffer-complete call completion-in-region
3122 rather than other way around.
3123 (completion--some, completion-pcm--find-all-completions):
3124 Don't delay signals when debugging.
3125 (minibuffer-completion-contents): Beware fields within the
3126 minibuffer contents.
3127 (completion-all-sorted-completions): Use defvar-local.
3128 (completion--do-completion, completion--cache-all-sorted-completions)
3129 (completion-all-sorted-completions, minibuffer-force-complete):
3130 Add args `beg' and `end'.
3131 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3132 (minibuffer-complete): Use completion-in-region.
3133 (completion-complete-and-exit): New fun, extracted from
3134 minibuffer-complete-and-exit.
3135 (minibuffer-complete-and-exit): Use it.
3136 (completion--complete-and-exit): Rename from
3137 minibuffer--complete-and-exit.
3138 (completion-in-region--single-word): New function, extracted from
3139 minibuffer-complete-word.
3140 (minibuffer-complete-word): Use it.
3141 (display-completion-list): Make `common-substring' argument obsolete.
3142 (completion--in-region): Call completion--in-region-1 instead of
3143 minibuffer-complete.
3144 (completion-help-at-point): Pass boundaries to
3145 minibuffer-completion-help as args rather than via an overlay.
3146 (completion-pcm--string->pattern): Use `any-delim'.
3147 (completion-pcm--optimize-pattern): New function.
3148 (completion-pcm--pattern->regex): Handle `any-delim'.
3149 * icomplete.el (icomplete-forward-completions)
3150 (icomplete-backward-completions, icomplete-completions):
3151 Adjust calls to completion-all-sorted-completions and
3152 completion--cache-all-sorted-completions.
3153 (icomplete-with-completion-tables): Default to t.
3154 * emacs-lisp/crm.el (crm--current-element): Rename from
3155 crm--select-current-element. Don't put an overlay but return the
3156 boundaries instead.
3157 (crm--completion-command): Take two new args to bind to the boundaries.
3158 (crm-completion-help): Adjust accordingly.
3159 (crm-complete): Use completion-in-region.
3160 (crm-complete-word): Use completion-in-region--single-word.
3161 (crm-complete-and-exit): Use completion-complete-and-exit.
3162
3163 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3164
3165 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3166 than dynamically.
3167
3168 2013-09-06 Juri Linkov <juri@jurta.org>
3169
3170 * info.el (Info-display-images-node): When image file doesn't exist
3171 display text version of the image if it's provided in the Info file.
3172 Otherwise, display the location of missing image from SRC attribute.
3173 Add help-echo text property from ALT attribute. (Bug#15279)
3174
3175 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3176
3177 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3178 (edit-abbrevs-mode): Use define-derived-mode.
3179
3180 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3181 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3182 that it's defined.
3183 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3184 Use define-derived-mode.
3185
3186 * epg.el (epg-start-encrypt): Minor CSE simplification.
3187
3188 2013-09-06 William Xu <william.xwl@gmail.com>
3189
3190 * arc-mode.el: Add support for 7za (bug#15264).
3191 (archive-7z-program): New var.
3192 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3193 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3194 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3195
3196 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3197
3198 Remove URL syntax.
3199
3200 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3201 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3202 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3203 (tramp-postfix-host-format, tramp-file-name-regexp)
3204 (tramp-completion-file-name-regexp)
3205 (tramp-completion-dissect-file-name)
3206 (tramp-handle-substitute-in-file-name): Remove 'url case.
3207 (tramp-file-name-regexp-url)
3208 (tramp-completion-file-name-regexp-url): Remove constants.
3209
3210 2013-09-06 Glenn Morris <rgm@gnu.org>
3211
3212 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3213
3214 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3215
3216 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3217 keywords" below "here-doc beginnings" (Bug#15270).
3218
3219 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3220
3221 * subr.el (pop): Use `car-safe'.
3222 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3223 to detect unused `pop' return value.
3224
3225 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3226 var `block-regexp'.
3227 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3228 (python-fill-string): Remove unused var `marker'.
3229 (python-skeleton-add-menu-items): Remove unused var `items'.
3230
3231 * international/mule-cmds.el: Require CL.
3232 (find-coding-systems-for-charsets): Avoid add-to-list.
3233 (sanitize-coding-system-list): New function, extracted from
3234 select-safe-coding-system-interactively.
3235 (select-safe-coding-system-interactively): Use it.
3236 (read-input-method-name): Accept symbols for `default'.
3237
3238 * emacs-lisp/advice.el (defadvice): Add indent rule.
3239
3240 2013-09-05 Daniel Hackney <dan@haxney.org>
3241
3242 * dired-x.el:
3243 * net/ange-ftp.el:
3244 * net/browse-url.el:
3245 * net/dbus.el:
3246 * net/eudc.el:
3247 * net/eudcb-ldap.el:
3248 * net/eww.el:
3249 * net/imap.el:
3250 * printing.el:
3251 * vc/ediff-diff.el:
3252 * vc/ediff-init.el:
3253 * vc/ediff-merg.el:
3254 * vc/ediff-mult.el:
3255 * vc/ediff-util.el:
3256 * vc/ediff-wind.el:
3257 * vc/ediff.el:
3258 * vc/emerge.el:
3259 * vc/pcvs.el:
3260 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3261 byte compiler. Remove some unused let-bound variables.
3262
3263 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3264
3265 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3266 a "ref-cell", since it gets better optimized (bug#14883).
3267
3268 2013-09-05 Glenn Morris <rgm@gnu.org>
3269
3270 * progmodes/cc-awk.el (c-forward-sws): Declare.
3271
3272 2013-09-04 Glenn Morris <rgm@gnu.org>
3273
3274 * generic-x.el [rul-generic-mode]: Require cc-mode.
3275 (c++-mode-syntax-table): Declare.
3276 (rul-generic-mode-syntax-table): Init in the defvar.
3277
3278 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3281 (vc-do-command, vc-set-async-update):
3282 * vc/vc-mtn.el (vc-mtn-dir-status):
3283 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3284 (vc-hg-pull, vc-hg-merge-branch):
3285 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3286 (vc-git-merge-branch):
3287 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3288 (vc-cvs-dir-status-files):
3289 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3290 (vc-bzr-dir-status-files):
3291 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3292 * vc/vc-annotate.el: Use lexical-binding.
3293 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3294 (vc-sentinel-movepoint): Declare.
3295 (vc-annotate): Don't use `goto-line'.
3296 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3297 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3298 (vc-sentinel-movepoint): Declare.
3299 * vc/vc-svn.el: Use lexical-binding.
3300 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3301 * vc/vc-sccs.el:
3302 * vc/vc-rcs.el: Use lexical-binding.
3303
3304 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3305 `deleted'. Don't drop errors silently.
3306
3307 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3308
3309 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3310
3311 * vc/vc.el (vc-ignore): Rewrite.
3312 (vc-default-ignore): New function.
3313 (vc-default-ignore-completion-table): Use find-ignore-file.
3314
3315 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3316 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3317 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3318 Remove. Most code moved to vc.el.
3319
3320 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3323 * net/tramp-smb.el (tramp-smb-get-file-entries):
3324 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3325 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3326
3327 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3328 Update call to it.
3329 (eww-change-select): Remove unused var `properties'.
3330 (eww-make-unique-file-name): Remove unused var `base'.
3331
3332 * finder.el (finder-compile-keywords): Don't mess with windows.
3333
3334 * calculator.el (calculator-funcall): Fix typo in last change.
3335
3336 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3337
3338 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3339 <pkg>-autoloads.el file stop us.
3340
3341 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3342 warnings, and factor out common code.
3343
3344 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3345
3346 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3347 two-character operators and whether the character preceding them
3348 changes their meaning (Bug#15208).
3349
3350 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3351
3352 Format code sent to Python shell for robustness.
3353 * progmodes/python.el (python-shell-buffer-substring):
3354 New function.
3355 (python-shell-send-region, python-shell-send-buffer): Use it.
3356
3357 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3358
3359 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3360 * net/tramp.el (tramp-user-error): ... here.
3361 (tramp-find-method, tramp-check-proper-host)
3362 (tramp-dissect-file-name, tramp-debug-message)
3363 (tramp-handle-shell-command):
3364 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3365 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3366
3367 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3368
3369 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3370
3371 * avoid.el (mouse-avoidance-point-position)
3372 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3373 returns nil.
3374
3375 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3376
3377 * progmodes/python.el (python-shell-completion-get-completions):
3378 Drop use of deleted `comint-last-prompt-overlay'.
3379 (python-nav-if-name-main): New command.
3380
3381 2013-09-01 Glenn Morris <rgm@gnu.org>
3382
3383 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3384 Avoid leading space in $wins. Otherwise the sed command used by
3385 eg compile-main ends up containing "/*.el". (Bug#15170)
3386
3387 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3388
3389 2013-08-30 Glenn Morris <rgm@gnu.org>
3390
3391 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3392 Fix is-this-a-directory logic. (Bug#15220)
3393
3394 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3395
3396 * textmodes/css-mode.el: Use SMIE.
3397 (css-smie-grammar): New var.
3398 (css-smie--forward-token, css-smie--backward-token)
3399 (css-smie-rules): New functions.
3400 (css-mode): Use them.
3401 (css-navigation-syntax-table): Remove var.
3402 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3403 (css-indent-calculate, css-indent-line): Remove functions.
3404
3405 Misc changes to reduce use of `(lambda...); and other cleanups.
3406 * cus-edit.el: Use lexical-binding.
3407 (customize-push-and-save, customize-apropos)
3408 (custom-buffer-create-internal): Use closures.
3409 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3410 * progmodes/ada-xref.el: Use setq.
3411 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3412 * dframe.el: Use lexical-binding.
3413 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3414 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3415 * descr-text.el: Use lexical-binding.
3416 (describe-text-widget, describe-text-sexp, describe-property-list):
3417 Use closures.
3418 * comint.el (comint-history-isearch-push-state): Use a closure.
3419 * calculator.el: Use lexical-binding.
3420 (calculator-number-to-string): Make it work with lexical-binding.
3421 (calculator-funcall): Same and use cl-letf.
3422
3423 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3424 (lisp--company-doc-string, lisp--company-location): New functions.
3425 (lisp-completion-at-point): Use them to improve Company support.
3426
3427 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3428 params of lambda expressions.
3429 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3430 (ruby-smie--opening-pipe-p): New function.
3431 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3432 symbols and matched |...| for formal params.
3433 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3434 from being treated as hanging. Handle "rescue".
3435
3436 2013-08-29 Glenn Morris <rgm@gnu.org>
3437
3438 * progmodes/cc-engine.el (c-pull-open-brace):
3439 Move definition before use.
3440
3441 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3442
3443 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3444 are immutable. Don't use `unsafe' any more.
3445 (cl--defsubst-expand): Don't substitute at the same time as keeping
3446 a residual unused let-binding. Don't use `unsafe' any more.
3447
3448 2013-08-29 Glenn Morris <rgm@gnu.org>
3449
3450 * calendar/cal-china.el (calendar-chinese-year-cache):
3451 Recenter on 2015.
3452
3453 * nxml/nxml-util.el (nxml-debug-clear-inside):
3454 Use cl-loop rather than loop.
3455
3456 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3457
3458 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3459
3460 2013-08-28 Glenn Morris <rgm@gnu.org>
3461
3462 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3463
3464 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3465
3466 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3467
3468 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3469
3470 * simple.el (repeat-complex-command--called-interactively-skip):
3471 New function.
3472 (repeat-complex-command): Use it (bug#14136).
3473
3474 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3475 (c-define-abbrev-table): Add `doc' argument.
3476 (c-mode-abbrev-table, c++-mode-abbrev-table)
3477 (objc-mode-abbrev-table, java-mode-abbrev-table)
3478 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3479 (awk-mode-abbrev-table): Use it.
3480 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3481 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3482 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3483 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3484 Move initialization into the declaration; and remove any
3485 autoload cookie.
3486
3487 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3488 and dynamic let binding.
3489
3490 * vc/smerge-mode.el: Remove redundant :group args.
3491
3492 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3493 to load-path.
3494
3495 2013-08-28 Juri Linkov <juri@jurta.org>
3496
3497 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3498 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3499 (isearch-other-meta-char): Handle an undefined shifted printing
3500 character by downshifting it. (Bug#15200)
3501
3502 2013-08-28 Juri Linkov <juri@jurta.org>
3503
3504 * isearch.el (isearch-search): Change regexp error message for
3505 non-regexp searches. (Bug#15166)
3506
3507 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3508
3509 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3510 for portability to hosts where /bin/sh has problems.
3511
3512 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3513
3514 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3515
3516 2013-08-27 Juri Linkov <juri@jurta.org>
3517
3518 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3519 in the keyboard macro. (Bug#15126)
3520
3521 2013-08-27 Juri Linkov <juri@jurta.org>
3522
3523 * isearch.el (isearch-quote-char): Comment out converting unibyte
3524 to multibyte, thus syncing with its `quoted-insert' counterpart.
3525 (Bug#15166)
3526
3527 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3528
3529 * window.el (display-buffer-use-some-window): Add missing
3530 argument in call of get-largest-window (Bug#15185).
3531 Reported by Stephen Leake.
3532
3533 2013-08-27 Glenn Morris <rgm@gnu.org>
3534
3535 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3536
3537 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3538
3539 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3540 from a matcher-function unless there's no more matches (bug#15161).
3541
3542 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3543
3544 * minibuffer.el: Revert change from 2013-08-20.
3545
3546 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3547 with text property `tramp-default', if appropriate.
3548 (tramp-check-proper-host): New defun.
3549 (tramp-dissect-file-name): Do not check hostname. Revert change
3550 of 2013-03-18.
3551 (tramp-backtrace): Make VEC-OR-PROC optional.
3552
3553 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3554 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3555 * net/tramp-sh.el (tramp-maybe-open-connection):
3556 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3557 Apply `tramp-check-proper-host'.
3558
3559 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3560
3561 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3562 lambda expression in order to have `describe-variable' display it.
3563
3564 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3565
3566 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3567 BUF can be optional. (Bug#15186)
3568
3569 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3570
3571 * progmodes/flymake.el (flymake-get-real-file-name-function):
3572 Fix broken customization. (Bug#15184)
3573
3574 2013-08-25 Alan Mackenzie <acm@muc.de>
3575
3576 Improve indentation of bracelists defined by macros (without "=").
3577
3578 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3579 expansion begins with "{", regard it as bracelist when it doesn't
3580 contain a ";".
3581
3582 Parse C++ inher-intro when there's a template split over 2 lines.
3583
3584 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3585 rigorously the search for "class" etc. followed by ":".
3586
3587 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3588 random languages a regexp which never matches rather than nil.
3589
3590 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3591
3592 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3593 (c-awk-regexp-one-line-possibly-open-char-list-re)
3594 (c-awk-one-line-possibly-open-regexp-re)
3595 (c-awk-one-line-non-syn-ws*-re): Remove.
3596 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3597 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3598 (c-awk-space*-unclosed-regexp-/-re): New constants.
3599 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3600 aren't regexp delimiters.
3601
3602 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3603 handling for a rare situation in AWK Mode involving unterminated
3604 strings/regexps.
3605
3606 2013-08-23 Glenn Morris <rgm@gnu.org>
3607
3608 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3609
3610 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3611
3612 * files.el (create-file-buffer): If the result would begin with
3613 spaces, prepend a "|" instead of removing them. (Bug#15162)
3614
3615 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3616
3617 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3618 text-properties (bug#15155).
3619
3620 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3621 exist any more.
3622 (calc-keypad-redraw): Remove unused var `pad'.
3623 (calc-keypad-press): Remove unused var `menu'.
3624
3625 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3626
3627 * window.el (display-buffer-pop-up-frame):
3628 Call pop-up-frame-function with BUFFER current so `make-frame' will
3629 use it as the new frame's buffer (Bug#15133).
3630
3631 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3632
3633 * calendar/timeclock.el: Minor cleanups.
3634 (timeclock-ask-before-exiting, timeclock-use-display-time):
3635 Use `symbol'.
3636 (timeclock-modeline-display): Define as alias before the
3637 actual definition.
3638 (timeclock-mode-line-display): Use define-minor-mode.
3639 (timeclock-day-list-template): Make it a function, add an argument.
3640 (timeclock-day-list-required, timeclock-day-list-length)
3641 (timeclock-day-list-debt, timeclock-day-list-span)
3642 (timeclock-day-list-break): Adjust calls accordingly.
3643
3644 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3645
3646 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3647 Use read--expression so that completion works again.
3648
3649 2013-08-21 Sam Steingold <sds@gnu.org>
3650
3651 Add rudimentary inferior shell interaction
3652 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3653 (sh-set-shell): Reset it.
3654 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3655 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3656
3657 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3658
3659 * align.el: Use lexical-binding.
3660 (align-region): Simplify accordingly.
3661
3662 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3663
3664 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3665
3666 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3667 `non-essential' up.
3668
3669 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3670
3671 * net/tramp.el:
3672 * net/tramp-adb.el:
3673 * net/tramp-cmds.el:
3674 * net/tramp-ftp.el:
3675 * net/tramp-gvfs.el:
3676 * net/tramp-gw.el:
3677 * net/tramp-sh.el: Don't wrap external variable declarations by
3678 `eval-when-compile'.
3679
3680 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3681
3682 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3683 now that Emacs supports ImageMagick animations.
3684
3685 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3686
3687 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3688 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3689
3690 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3691
3692 * window.el (mouse-autoselect-window-select): Do autoselect when
3693 mouse pointer is on margin.
3694
3695 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3696
3697 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3698
3699 2013-08-16 Glenn Morris <rgm@gnu.org>
3700
3701 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3702 Handle "Remote Directory" response of some clients. (Bug#15058)
3703
3704 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3705 Tweak warning. (Bug#14926)
3706
3707 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3708 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3709
3710 * image-mode.el (image-mode-map): Add menu items to reverse,
3711 increase, decrease, reset animation speed.
3712 (image--set-speed, image-increase-speed, image-decrease-speed)
3713 (image-reverse-speed, image-reset-speed): New functions.
3714 (image-mode-map): Add bindings for speed commands.
3715
3716 * image.el (image-animate-get-speed, image-animate-set-speed):
3717 New functions.
3718 (image-animate-timeout): Respect image :speed property.
3719
3720 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3721
3722 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3723 previous line (bug#15101).
3724 (debugger-eval-expression, debugger-record-expression):
3725 Use read--expression (bug#15102).
3726
3727 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3728
3729 Remove byte compiler warnings, visible when compiling with
3730 `byte-compile-force-lexical-warnings' set to t.
3731
3732 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3733 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3734 (tramp-handle-unhandled-file-name-directory)
3735 (tramp-handle-file-notify-add-watch, tramp-action-login)
3736 (tramp-action-succeed, tramp-action-permission-denied)
3737 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3738 arguments with "_".
3739
3740 * net/tramp-adb.el (tramp-adb-parse-device-names)
3741 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3742 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3743 (tramp-adb-handle-file-truename): Remove unused arguments.
3744
3745 * net/tramp-cache.el (tramp-flush-directory-property)
3746 (tramp-flush-connection-property, tramp-list-connections)
3747 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3748
3749 * net/tramp-compat.el (tramp-compat-make-temp-file):
3750 Rename FILENAME to F.
3751
3752 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3753 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3754 (tramp-zeroconf-parse-workstation-device-names)
3755 (tramp-zeroconf-parse-webdav-device-names)
3756 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3757
3758 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3759 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3760
3761 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3762 arguments.
3763 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3764 (tramp-sh-handle-insert-file-contents-literally)
3765 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3766 with "_".
3767 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3768 Remove unused variables.
3769
3770 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3771 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3772 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3773
3774 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3775 Make them a defconst.
3776 (tramp-uuencode-region): Remove unused variable.
3777
3778 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3779
3780 * frameset.el (frameset--prop-setter): New function.
3781 (frameset-prop): Add gv-setter declaration.
3782 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3783 parameter was already set in FILTERED. Doc fix.
3784 (frameset--record-minibuffer-relationships): Allow saving a
3785 minibufferless frame without its corresponding minibuffer frame.
3786 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3787 frame, if the frame id matches.
3788 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3789 frames before orphaned ones.
3790 (frameset-restore): Warn about orphaned windows, instead of error out.
3791
3792 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3793
3794 * window.el (window-make-atom): Don't overwrite parameter
3795 already present.
3796 (display-buffer-in-atom-window): Handle special case where we
3797 split an already atomic window.
3798 (window--major-non-side-window, display-buffer-in-side-window)
3799 (window--side-check): Ignore minibuffer window when walking
3800 window tree.
3801 (window-deletable-p): Return 'frame only if no other frame uses
3802 our minibuffer window.
3803 (record-window-buffer): Run buffer-list-update-hook.
3804 (split-window): Make sure window--check-frame won't destroy an
3805 existing atomic window in case the new window gets nested
3806 inside.
3807 (display-buffer-at-bottom): Ignore minibuffer window when
3808 walking window tree. Don't split a side window.
3809 (pop-to-buffer): Don't set-buffer here, the select-window call
3810 should do that.
3811 (mouse-autoselect-window-select): Autoselect only if we are in the
3812 text portion of the window.
3813
3814 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3815
3816 * net/shr.el (shr-parse-image-data): New function to grab both the
3817 data itself and the Content-Type.
3818 (shr-put-image): Use it.
3819
3820 * net/eww.el (eww-display-image): Ditto.
3821
3822 * image.el (image-content-type-suffixes): New variable.
3823
3824 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3825
3826 * progmodes/python.el (python-imenu--build-tree)
3827 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3828
3829 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3830
3831 * simple.el (backward-word): Mention the optional argument.
3832
3833 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3834
3835 * frameset.el (frameset--make): Rename constructor from make-frameset.
3836 (frameset-p, frameset-valid-p): Don't autoload.
3837 (frameset-valid-p): Use normal accessors.
3838
3839 2013-08-13 Glenn Morris <rgm@gnu.org>
3840
3841 * progmodes/compile.el (compile-command): Tweak example in doc.
3842 * obsolete/scribe.el (scribe-mode):
3843 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3844
3845 * mail/feedmail.el (feedmail-confirm-outgoing)
3846 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3847
3848 * cus-start.el (truncate-partial-width-windows): Fix type.
3849
3850 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3851
3852 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3853
3854 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3855
3856 * emacs-lisp/timer.el (timer--time-setter): New function.
3857 (timer--time): Use it as gv-setter.
3858
3859 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3860 setter is not a symbol.
3861
3862 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3863
3864 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3865 if sending fails. This makes debugging easier.
3866
3867 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3868
3869 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3870 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3871 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3872
3873 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3874
3875 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3876
3877 2013-08-12 Glenn Morris <rgm@gnu.org>
3878
3879 * format.el (format-annotate-function):
3880 Handle read-only text properties in the source. (Bug#14887)
3881
3882 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3883
3884 * net/eww.el (eww-display-html): Ignore coding system errors.
3885 One web site uses "utf-8lias" as the coding system.
3886
3887 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3888
3889 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3890
3891 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3892
3893 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3894 (tutorial--detailed-help): Remove unused local variables.
3895 (tutorial--save-tutorial-to): Use ignore-errors.
3896 (help-with-tutorial): Use looking-at-p.
3897
3898 * view.el (view-buffer-other-window, view-buffer-other-frame):
3899 Mark unused arguments.
3900
3901 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3902 (woman-select-symbol-fonts, woman, woman-find-file)
3903 (woman-insert-file-contents, woman-non-underline-faces):
3904 Use string-match-p.
3905 (woman1-unquote): Move declaration.
3906
3907 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3908 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3909 argument. Remove unused local variable.
3910 (xml-parse-elem-type): Use string-match-p.
3911 (xml-substitute-numeric-entities): Use ignore-errors.
3912
3913 * calculator.el (calculator): Mark unused argument.
3914 (calculator-paste, calculator-quit, calculator-integer-p):
3915 Use ignore-errors.
3916 (calculator-string-to-number, calculator-decimal, calculator-exp)
3917 (calculator-op-or-exp): Use string-match-p.
3918
3919 * dired.el (dired-buffer-more-recently-used-p): Declare.
3920 (dired-insert-set-properties, dired-insert-old-subdirs):
3921 Use ignore-errors.
3922
3923 * dired-aux.el (dired-compress): Use ignore-errors.
3924 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3925 (dired-do-async-shell-command, dired-do-shell-command)
3926 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3927 (dired-insert-subdir-validate): Use string-match-p.
3928 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3929 (dired-add-entry): Use string-match-p, looking-at-p.
3930 (dired-insert-subdir-newpos): Remove unused local variable.
3931
3932 * filenotify.el (file-notify-callback): Remove unused local variable.
3933
3934 * filesets.el (filesets-error): Mark unused argument.
3935 (filesets-which-command-p, filesets-filter-dir-names)
3936 (filesets-directory-files, filesets-get-external-viewer)
3937 (filesets-ingroup-get-data): Use string-match-p.
3938
3939 * find-file.el (ff-other-file-name, ff-other-file-name)
3940 (ff-find-the-other-file, ff-cc-hh-converter):
3941 Remove unused local variables.
3942 (ff-get-file-name): Use string-match-p.
3943 (ff-all-dirs-under): Use ignore-errors.
3944
3945 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3946 (follow-select-if-visible): Remove unused local variable.
3947
3948 * forms.el (read-file-filter): Move declaration.
3949 (forms--make-format, forms--make-parser, forms-insert-record):
3950 Quote function with #'.
3951 (forms--update): Use string-match-p. Quote function with #'.
3952
3953 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3954 (help-make-xrefs): Use looking-at-p.
3955 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3956
3957 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3958 (ibuffer-confirm-operation-on): Use string-match-p.
3959
3960 * msb.el (msb-item-handler, msb-dired-item-handler):
3961 Mark unused arguments.
3962
3963 * ses.el (ses-decode-cell-symbol)
3964 (ses-kill-override): Remove unused local variable.
3965 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3966 (ses-load): Use ignore-errors, looking-at-p.
3967 (ses-jump-safe): Use ignore-errors.
3968 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3969
3970 * tabify.el (untabify, tabify): Mark unused arguments.
3971
3972 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3973 Mark unused argument.
3974 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3975 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3976
3977 * emacs-lisp/timer.el (timer--time): Define setter with
3978 gv-define-setter to avoid deprecation warning.
3979
3980 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3981 (*record-cmpl-statistics-p*): Remove (was commented out).
3982 (cmpl-statistics-block): Remove (body was commented out).
3983 All callers changed.
3984 (add-completions-from-buffer, load-completions-from-file):
3985 Remove unused variables.
3986
3987 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3988
3989 * filecache.el (file-cache-delete-file-list):
3990 Print message only when told so.
3991 (file-cache-files-matching): Use #' in mapconcat argument.
3992
3993 * ffap.el (ffap-url-at-point): Fix reference to variable
3994 thing-at-point-default-mail-uri-scheme.
3995
3996 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3997
3998 * subr.el (define-error): New function.
3999 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4000 error-file-not-found and define with define-error.
4001 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4002 and define with define-error.
4003 * userlock.el (file-locked, file-supersession):
4004 * simple.el (mark-inactive):
4005 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4006 * progmodes/ada-mode.el (ada-mode-errors):
4007 * play/life.el (life-extinct):
4008 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4009 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4010 * nxml/rng-util.el (rng-error):
4011 * nxml/rng-uri.el (rng-uri-error):
4012 * nxml/rng-match.el (rng-compile-error):
4013 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4014 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4015 * nxml/nxml-rap.el (nxml-scan-error):
4016 * nxml/nxml-outln.el (nxml-outline-error):
4017 * net/soap-client.el (soap-error):
4018 * net/gnutls.el (gnutls-error):
4019 * net/ange-ftp.el (ftp-error):
4020 * mpc.el (mpc-proc-error):
4021 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4022 (json-number-format, json-string-escape, json-string-format)
4023 (json-key-format, json-object-format):
4024 * jka-compr.el (compression-error):
4025 * international/quail.el (quail-error):
4026 * international/kkc.el (kkc-error):
4027 * emacs-lisp/ert.el (ert-test-failed):
4028 * calc/calc.el (calc-error, inexact-result, math-overflow)
4029 (math-underflow):
4030 * bookmark.el (bookmark-error-no-filename):
4031 * epg.el (epg-error): Define with define-error.
4032
4033 * time.el (display-time-event-handler)
4034 (display-time-next-load-average): Don't call sit-for since it seems
4035 unnecessary (bug#15045).
4036
4037 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4038 Use #' instead of ' to quote functions.
4039 (checkdoc-output-mode): Use setq-local.
4040 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4041 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4042 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4043 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4044 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4045 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4046 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4047 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4048
4049 * ido.el (ido-completion-help): Fix up compiler warning.
4050
4051 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4052
4053 * frameset.el (frameset-p): Add autoload cookie.
4054 (frameset--jump-to-register): New function, based on code moved from
4055 register.el.
4056 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4057
4058 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4059 (frameset-restore, frameset-save, frameset-session-filter-alist):
4060 Remove declarations.
4061 (register-alist): Doc fix.
4062 (frameset-to-register): Move to frameset.el.
4063 (jump-to-register, describe-register-1): Remove frameset-specific code.
4064
4065 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4066
4067 * allout-widgets.el (allout-widgets-pre-command-business)
4068 (allout-widgets-post-command-business)
4069 (allout-widgets-after-change-handler)
4070 (allout-decorate-item-and-context, allout-set-boundary-marker)
4071 (allout-body-modification-handler)
4072 (allout-graphics-modification-handler): Mark ignored arguments.
4073 (allout-widgets-post-command-business)
4074 (allout-widgets-exposure-change-processor)
4075 (allout-widgets-exposure-undo-processor)
4076 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4077 (allout-parse-item-at-point, allout-decorate-item-guides)
4078 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4079 * allout.el (epa-passphrase-callback-function): Declare.
4080 (allout-overlay-insert-in-front-handler)
4081 (allout-overlay-interior-modification-handler)
4082 (allout-isearch-end-handler, allout-chart-siblings)
4083 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4084 (allout-yank-processing, allout-process-exposed)
4085 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4086 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4087 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4088 (lisp-indent-defform): Mark ignored arguments.
4089 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4090 (calculate-lisp-indent): Remove unused variables.
4091 * international/characters.el (indian-2-column, arabic-2-column)
4092 (tibetan): Mark ignored arguments.
4093 (use-cjk-char-width-table): Mark ignored arguments.
4094 Remove unused variables.
4095 * international/fontset.el (build-default-fontset-data)
4096 (x-compose-font-name, create-fontset-from-fontset-spec):
4097 Mark ignored arguments.
4098 (fontset-plain-name): Remove unused variables.
4099 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4100 (keyboard-coding-system): Mark ignored arguments.
4101 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4102 * help.el (resize-temp-buffer-window):
4103 * window.el (display-buffer-in-major-side-window)
4104 (display-buffer-in-side-window, display-buffer-in-previous-window):
4105 Remove unused variables.
4106 * isearch.el (isearch-forward-symbol):
4107 * version.el (emacs-bzr-version-bzr):
4108 * international/mule-cmds.el (current-language-environment):
4109 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4110 (x-handle-display):
4111 * term/pc-win.el (x-list-fonts, x-display-planes)
4112 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4113 (x-server-version, x-display-screens, x-display-mm-height)
4114 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4115 (x-selection-owner-p, x-own-selection-internal)
4116 (x-disown-selection-internal, x-get-selection-internal)
4117 (msdos-initialize-window-system):
4118 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4119 * term/x-win.el (x-handle-no-bitmap-icon):
4120 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4121 (vc-default-find-file-hook, vc-default-extra-menu):
4122 Mark ignored arguments.
4123
4124 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4125
4126 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4127 break-condition in the context of the debugged code (bug#12685).
4128
4129 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4130
4131 * comint.el:
4132 Do not use an overlay to highlight the last prompt. (Bug#14744)
4133 (comint-mode): Make comint-last-prompt buffer local.
4134 (comint-last-prompt): New variable.
4135 (comint-last-prompt-overlay): Remove. Superseded by
4136 comint-last-prompt.
4137 (comint-snapshot-last-prompt, comint-output-filter):
4138 Use comint-last-prompt.
4139
4140 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4141
4142 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4143 (frameset-save): Check validity of the resulting frameset.
4144
4145 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4146
4147 * ido.el (ido-record-command): Add doc string.
4148
4149 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4150
4151 * frameset.el (frameset): Do not disable creation of the default
4152 frameset-p predicate. Doc fix.
4153 (frameset-valid-p): New function, copied from the old predicate-p.
4154 Add additional checks.
4155 (frameset-restore): Check with frameset-valid-p.
4156 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4157 (frameset-name, frameset-description, frameset-properties)
4158 (frameset-states): Add docstring.
4159 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4160 (frameset-filter-alist): Doc fixes.
4161
4162 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4163
4164 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4165
4166 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4167
4168 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4169 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4170 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4171 (byte-compile-normal-call): Remove obsolescence check.
4172
4173 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4174
4175 * frameset.el (frameset-restore): Doc fix.
4176
4177 * register.el (frameset-frame-id, frameset-frame-with-id)
4178 (frameset-p, frameset-restore, frameset-save): Declare.
4179 (register-alist): Document framesets.
4180 (frameset-session-filter-alist): Declare.
4181 (frameset-to-register): New function.
4182 (jump-to-register): Implement jumping to framesets. Doc fix.
4183 (describe-register-1): Describe framesets.
4184
4185 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4186
4187 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4188
4189 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4190 Use lexical-binding.
4191
4192 * frameset.el (frameset): Use type vector, not list (incompatible
4193 change). Do not declare a new constructor, use the default one.
4194 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4195 `name' and `description', respectively, and add read-only slot
4196 `timestamp'. Doc fixes.
4197 (frameset-copy, frameset-persistent-filter-alist)
4198 (frameset-filter-alist, frameset-switch-to-gui-p)
4199 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4200 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4201 (frameset-filter-iconified, frameset-keep-original-display-p):
4202 Doc fixes.
4203 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4204 Rename from frameset-filter-(save|restore)-param. All callers changed.
4205 Doc fix.
4206 (frameset-p): Adapt to change to vector and be more thorough.
4207 Change arg name to OBJECT. Doc fix.
4208 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4209 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4210 All callers changed.
4211 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4212 All callers changed.
4213 (frameset--record-minibuffer-relationships): Rename from
4214 frameset--process-minibuffer-frames. All callers changed.
4215 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4216 Use new default constructor (again). Doc fix.
4217 (frameset--find-frame-if): Rename from `frameset--find-frame.
4218 All callers changed.
4219 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4220 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4221 Doc fix.
4222 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4223 PARAMETERS and WINDOW-STATE, respectively.
4224 (frameset-restore): Add new keyword argument PREDICATE.
4225 Reset frameset--target-display to nil. Doc fix.
4226
4227 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4228
4229 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4230 (bat-mode): Use it.
4231 (bat-mode-syntax-table): Mark \n as end-of-comment.
4232 (bat-font-lock-keywords): Remove comment rule.
4233
4234 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4235 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4236
4237 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4238 (byte-compile-callargs-warn): Use `push'.
4239 (byte-compile-arglist-warn): Ignore higher-order "calls".
4240 (byte-compile-file-form-autoload): Use `pcase'.
4241 (byte-compile-function-form): If quoting a symbol, check that it exists.
4242
4243 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4244
4245 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4246 and add a few popular commands found in batch files.
4247 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4248 (dos-mode): Doc fixes.
4249
4250 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4251
4252 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4253 (dos-mode): Use setq-local. Add space after "rem".
4254 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4255 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4256
4257 2013-08-07 Arni Magnusson <arnima@hafro.is>
4258
4259 * progmodes/dos.el: New file.
4260 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4261 dos-mode.
4262
4263 2013-08-06 Glenn Morris <rgm@gnu.org>
4264
4265 * calendar/calendar.el: Add new faces, and day-header-array.
4266 (calendar-weekday-header, calendar-weekend-header)
4267 (calendar-month-header): New faces.
4268 (calendar-day-header-construct): New function.
4269 (calendar-day-header-width): Also :set calendar-day-header-array.
4270 (calendar-american-month-header, calendar-european-month-header)
4271 (calendar-iso-month-header): Use calendar- faces.
4272 (calendar-generate-month):
4273 Use calendar-day-header-array for day headers; apply faces to them.
4274 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4275 (calendar-abbrev-construct): Add optional maxlen argument.
4276 (calendar-day-name-array): Doc fix.
4277 (calendar-day-name-array, calendar-abbrev-length)
4278 (calendar-day-abbrev-array):
4279 Also :set calendar-day-header-array, and maybe redraw.
4280 (calendar-day-header-array): New option. (Bug#15007)
4281 (calendar-font-lock-keywords): Set to nil and make obsolete.
4282 (calendar-day-name): Add option to use header array.
4283
4284 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4285
4286 * net/shr.el (shr-render-td): Remove debugging.
4287 (shr-render-td): Make width computation consistent by defaulting
4288 all zero-width columns to 10 characters. This may not be optimal,
4289 but it's at least consistent.
4290 (shr-make-table-1): Redo last change to fix the real problem in
4291 colspan handling.
4292
4293 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4294
4295 * files.el (cache-long-line-scans):
4296 Make obsolete alias to `cache-long-scans'.
4297
4298 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4299
4300 * frameset.el (frameset, frameset-filter-alist)
4301 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4302 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4303 (frameset-compute-pos): Rename from frameset--compute-pos,
4304 and add docstring.
4305 (frameset-move-onscreen): Use frameset-compute-pos.
4306 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4307
4308 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4309 Fix typos in docstrings.
4310
4311 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4312
4313 * frame.el (get-other-frame): Tiny cleanup.
4314
4315 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4316
4317 * vc/vc.el (vc-default-ignore-completion-table):
4318 Silence byte-compiler warning.
4319
4320 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4321 slot , which can indeed be nil.
4322 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4323 Move entry for `left' from persistent to live filter alist.
4324 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4325 Doc fixes.
4326 (frameset-filter-params): When restoring a frame, copy items added to
4327 `filtered', to avoid unwittingly modifying the original parameters.
4328 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4329 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4330
4331 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4332 to use looking-at-p instead of looking-at. (Bug#15028)
4333
4334 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4335
4336 Revert introduction of isearch-filter-predicates (bug#14714).
4337 Rely on add-function instead.
4338 * isearch.el (isearch-filter-predicates): Rename it back to
4339 isearch-filter-predicate.
4340 (isearch-message-prefix): Use advice-function-mapc and advice
4341 properties to get the isearch-message-prefix.
4342 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4343 instead of run-hook-with-args-until-failure.
4344 (isearch-filter-visible): Not obsolete any more.
4345 * loadup.el: Preload nadvice.
4346 * replace.el (perform-replace): Revert to funcall
4347 instead of run-hook-with-args-until-failure.
4348 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4349 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4350 dired-isearch-filenames-toggle; make it into a proper minor mode.
4351 Use add/remove-function.
4352 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4353 Call the minor-mode rather than add/remove-hook.
4354 (dired-isearch-filter-filenames):
4355 Remove isearch-message-prefix property.
4356 * info.el (Info--search-loop): New function, extracted from Info-search.
4357 Funcall isearch-filter-predicate instead of
4358 run-hook-with-args-until-failure isearch-filter-predicates.
4359 (Info-search): Use it.
4360 (Info-mode): Use isearch-filter-predicate instead of
4361 isearch-filter-predicates.
4362
4363 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4364
4365 Do not call to `selected-window' where it is assumed by default.
4366 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4367 `window-hscroll', `window-width', `window-height', `window-buffer',
4368 `window-frame', `window-start', `window-point', `next-window'
4369 and `window-display-table'.
4370 * abbrev.el (abbrev--default-expand):
4371 * bs.el (bs--show-with-configuration):
4372 * buff-menu.el (Buffer-menu-mouse-select):
4373 * calc/calc.el (calc):
4374 * calendar/calendar.el (calendar-generate-window):
4375 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4376 (diary-make-entry):
4377 * comint.el (send-invisible, comint-dynamic-complete-filename)
4378 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4379 * completion.el (complete):
4380 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4381 * disp-table.el (describe-current-display-table):
4382 * doc-view.el (doc-view-insert-image):
4383 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4384 * ehelp.el (with-electric-help):
4385 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4386 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4387 * emacs-lisp/helper.el (Helper-help-scroller):
4388 * emulation/cua-base.el (cua--post-command-handler-1):
4389 * eshell/esh-mode.el (eshell-output-filter):
4390 * ffap.el (ffap-gnus-wrapper):
4391 * help-macro.el (make-help-screen):
4392 * hilit-chg.el (highlight-compare-buffers):
4393 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4394 * hl-line.el (global-hl-line-highlight):
4395 * icomplete.el (icomplete-simple-completing-p):
4396 * isearch.el (isearch-done):
4397 * jit-lock.el (jit-lock-stealth-fontify):
4398 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4399 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4400 * mpc.el (mpc-tagbrowser, mpc):
4401 * net/rcirc.el (rcirc-any-buffer):
4402 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4403 * play/landmark.el (landmark-max-width, landmark-max-height):
4404 * play/zone.el (zone):
4405 * progmodes/compile.el (compilation-goto-locus):
4406 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4407 * progmodes/etags.el (find-tag-other-window):
4408 * progmodes/fortran.el (fortran-column-ruler):
4409 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4410 * progmodes/verilog-mode.el (verilog-point-text):
4411 * reposition.el (reposition-window):
4412 * rot13.el (toggle-rot13-mode):
4413 * server.el (server-switch-buffer):
4414 * shell.el (shell-dynamic-complete-command)
4415 (shell-dynamic-complete-environment-variable):
4416 * simple.el (insert-buffer, set-selective-display)
4417 (delete-completion-window):
4418 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4419 (speedbar-recenter):
4420 * startup.el (fancy-splash-head):
4421 * textmodes/ispell.el (ispell-command-loop):
4422 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4423 * tutorial.el (help-with-tutorial):
4424 * vc/add-log.el (add-change-log-entry):
4425 * vc/compare-w.el (compare-windows):
4426 * vc/ediff-help.el (ediff-indent-help-message):
4427 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4428 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4429 (ediff-setup-control-frame):
4430 * vc/emerge.el (emerge-position-region):
4431 * vc/pcvs-util.el (cvs-bury-buffer):
4432 * window.el (walk-windows, mouse-autoselect-window-select):
4433 * winner.el (winner-set-conf, winner-undo): Related users changed.
4434
4435 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4436
4437 * frameset.el (frameset--set-id): Doc fix.
4438 (frameset-frame-id, frameset-frame-id-equal-p)
4439 (frameset-locate-frame-id): New functions.
4440 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4441 (frameset-restore): Use them.
4442
4443 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4444
4445 Do not call to `selected-frame' where it is assumed by default.
4446 Affected functions are `raise-frame', `redraw-frame',
4447 `frame-first-window', `frame-terminal' and `delete-frame'.
4448 * calendar/appt.el (appt-disp-window):
4449 * epg.el (epg-wait-for-completion):
4450 * follow.el (follow-delete-other-windows-and-split)
4451 (follow-avoid-tail-recenter):
4452 * international/mule.el (set-terminal-coding-system):
4453 * mail/rmail.el (rmail-mail-return):
4454 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4455 * progmodes/f90.el (f90-add-imenu-menu):
4456 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4457 * server.el (server-switch-buffer):
4458 * simple.el (delete-completion-window):
4459 * talk.el (talk):
4460 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4461 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4462 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4463 * vc/ediff.el (ediff-documentation): Related users changed.
4464 * frame.el (selected-terminal): Remove the leftover.
4465
4466 2013-08-05 Glenn Morris <rgm@gnu.org>
4467
4468 * calendar/calendar.el (calendar-generate-month):
4469 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4470 (calendar-generate-month, calendar-font-lock-keywords):
4471 Fix for calendar-day-header-width > length of any day name.
4472
4473 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4474
4475 * desktop.el (desktop-clear): Use new name of sort predicate.
4476
4477 * frameset.el (frameset): Add docstring. Move :version property to its
4478 own `version' slot.
4479 (frameset-copy): Rename from copy-frameset.
4480 (frameset-p): Check more thoroughly.
4481 (frameset-prop): Do not check for :version, which is no longer a prop.
4482 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4483 Use new :never value instead of t.
4484 (frameset-filter-alist): Expand and clarify docstring.
4485 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4486 (frameset-filter-minibuffer, frameset-filter-save-param)
4487 (frameset-filter-restore-param, frameset-filter-iconified):
4488 Add pointer to docstring of frameset-filter-alist.
4489 (frameset-filter-params): Rename filter values to be more meaningful:
4490 :never instead of t, and reverse the meanings of :save and :restore.
4491 (frameset--process-minibuffer-frames): Clarify error message.
4492 (frameset-save): Avoid unnecessary and confusing call to framep.
4493 Use new BOA constructor for framesets.
4494 (frameset--reuse-list): Doc fix.
4495 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4496 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4497 (frameset-minibufferless-first-p): Doc fix.
4498 Rename from frameset-sort-frames-for-deletion.
4499 (frameset-restore): Doc fixes. Use new function names.
4500 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4501
4502 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4503
4504 * desktop.el (desktop-restore-forces-onscreen)
4505 (desktop-restore-reuses-frames): Document :keyword constant values.
4506 (desktop-filter-parameters-alist): Remove, now identical to
4507 frameset-filter-alist.
4508 (desktop--filter-tty*): Remove, moved to frameset.el.
4509 (desktop-save-frameset, desktop-restore-frameset):
4510 Do not pass :filters argument.
4511
4512 * frameset.el (frameset-live-filter-alist)
4513 (frameset-persistent-filter-alist): New variables.
4514 (frameset-filter-alist): Use them. Add autoload cookie.
4515 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4516 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4517 `frameset--id' (it's supposed to be internal to frameset.el).
4518 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4519 (frameset--initial-params): New function.
4520 (frameset--get-frame): Use it. Doc fix.
4521 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4522 Accept :all, not 'all.
4523 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4524 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4525 with fbound symbols. Fix frame id matching, and remove matching ids if
4526 the frame being restored is deleted. Obey :delete.
4527
4528 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4529
4530 * subr.el (macrop): New function.
4531 (text-clone--maintaining): New var.
4532 (text-clone--maintain): Rename from text-clone-maintain. Use it
4533 instead of inhibit-modification-hooks.
4534
4535 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4536 a proxy, so as handle autoloads and redefinitions of the target.
4537 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4538
4539 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4540 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4541 (pcase--mutually-exclusive-p): New function.
4542 (pcase--split-consp): Use it.
4543 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4544 mutually exclusive with the current predicate.
4545
4546 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4547 (edebug-macrop): Remove. Use `macrop' instead.
4548 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4549 (ad-macro-p):
4550 * eshell/esh-cmd.el (eshell-macrop):
4551 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4552
4553 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4554
4555 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4556 (advice-mapc): New function, using it.
4557 (advice-function-member-p): New function.
4558 (advice--normalize): Store the cdr in advice--saved-rewrite since
4559 that's the part that will be changed.
4560 (advice--symbol-function): New function.
4561 (advice-remove): Handle removal before the function is defined.
4562 Adjust to new advice--saved-rewrite.
4563 (advice-member-p): Use advice-function-member-p and
4564 advice--symbol-function.
4565
4566 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4567
4568 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4569 (frameset-filter-minibuffer): Doc fix.
4570 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4571 (frameset--set-id, frameset--process-minibuffer-frames)
4572 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4573 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4574
4575 * desktop.el (desktop-clear): Only delete frames when called
4576 interactively and desktop-restore-frames is non-nil. Doc fix.
4577 (desktop-read): Set desktop-saved-frameset to nil.
4578
4579 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4580
4581 * vc/vc.el (vc-ignore): Rewrite.
4582 (vc-default-ignore-completion-table):
4583 (vc--read-lines):
4584 (vc--add-line, vc--remove-regexp): New functions.
4585
4586 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4587 (vc-svn-ignore-completion-table): New function.
4588
4589 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4590 (vc-hg-ignore-completion-table):
4591 (vc-hg-find-ignore-file): New functions.
4592
4593 * vc/vc-git.el (vc-git-ignore): Rewrite.
4594 (vc-git-ignore-completion-table):
4595 (vc-git-find-ignore-file): New functions.
4596
4597 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4598
4599 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4600 (vc-bzr-ignore-completion-table):
4601 (vc-bzr-find-ignore-file): New functions.
4602
4603 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4604
4605 * frameset.el (frameset-prop): New function and setter.
4606 (frameset-save): Do not modify frame list passed by the caller.
4607
4608 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4609
4610 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4611
4612 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4613
4614 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4615 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4616
4617 * custom.el (custom-initialize-default, custom-initialize-set)
4618 (custom-initialize-reset, custom-initialize-changed): Affect the
4619 toplevel-default-value (bug#6275, bug#14586).
4620 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4621 for bug#6275.
4622
4623 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4624
4625 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4626 Add cl-def* expressions.
4627
4628 * frameset.el (frameset-filter-params): Fix order of arguments.
4629
4630 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4631
4632 Move code related to saving frames to frameset.el.
4633 * desktop.el: Require frameset.
4634 (desktop-restore-frames): Doc fix.
4635 (desktop-restore-reuses-frames): Rename from
4636 desktop-restoring-reuses-frames.
4637 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4638 (desktop-clear): Clear frames too.
4639 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4640 (desktop--filter-tty*, desktop-save, desktop-read):
4641 Use frameset functions.
4642 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4643 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4644 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4645 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4646 (desktop--process-minibuffer-frames, desktop-save-frames)
4647 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4648 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4649 (desktop--sort-states, desktop-restoring-frames-p)
4650 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4651 (desktop-restoring-frameset-p, desktop-restore-frameset)
4652 (desktop--check-dont-save, desktop-save-frameset): New functions.
4653 (desktop--app-id): New constant.
4654 (desktop-first-buffer, desktop-buffer-ok-count)
4655 (desktop-buffer-fail-count): Move before first use.
4656 * frameset.el: New file.
4657
4658 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * files.el: Use lexical-binding.
4661 (dir-locals-read-from-file): Remove unused `err' variable.
4662 (hack-dir-local-variables--warned-coding): New var.
4663 (hack-dir-local-variables): Use it to avoid repeated warnings.
4664 (make-backup-file-name--default-function): New function.
4665 (make-backup-file-name-function): Use it as default.
4666 (buffer-stale--default-function): New function.
4667 (buffer-stale-function): Use it as default.
4668 (revert-buffer-insert-file-contents--default-function): New function.
4669 (revert-buffer-insert-file-contents-function): Use it as default.
4670 (insert-directory): Avoid add-to-list.
4671
4672 * autorevert.el (auto-revert-handler): Simplify.
4673 Use buffer-stale--default-function.
4674
4675 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4676
4677 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4678
4679 * whitespace.el (whitespace-ensure-local-variables): New function.
4680 (whitespace-cleanup-region): Call it.
4681 (whitespace-turn-on): Call it.
4682
4683 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4684
4685 Complete file name handlers.
4686
4687 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4688 (tramp-handle-verify-visited-file-modtime)
4689 (tramp-handle-file-notify-rm-watch): New functions.
4690 (tramp-call-process): Do not bind `default-directory'.
4691
4692 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4693 Order alphabetically.
4694 [access-file, add-name-to-file, dired-call-process]:
4695 [dired-compress-file, file-acl, file-notify-rm-watch]:
4696 [file-ownership-preserved-p, file-selinux-context]:
4697 [make-directory-internal, make-symbolic-link, set-file-acl]:
4698 [set-file-selinux-context, set-visited-file-modtime]:
4699 [verify-visited-file-modtime]: Add handler.
4700 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4701
4702 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4703 [file-notify-add-watch, file-notify-rm-watch]:
4704 [set-file-times, set-visited-file-modtime]:
4705 [verify-visited-file-modtime]: Add handler.
4706 (with-tramp-gvfs-error-message)
4707 (tramp-gvfs-handle-set-visited-file-modtime)
4708 (tramp-gvfs-fuse-file-name): Remove.
4709 (tramp-gvfs-handle-file-notify-add-watch)
4710 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4711 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4712
4713 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4714 Order alphabetically.
4715 [file-notify-rm-watch ]: Use default Tramp handler.
4716 [executable-find]: Remove private handler.
4717 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4718 `default-directory'.
4719 (tramp-sh-handle-executable-find)
4720 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4721 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4722 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4723 Do not use `format' in `tramp-message'.
4724
4725 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4726 [file-notify-rm-watch, set-visited-file-modtime]:
4727 [verify-visited-file-modtime]: Add handler.
4728 (tramp-smb-call-winexe): Do not bind `default-directory'.
4729
4730 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4731
4732 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4733
4734 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4735
4736 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4737 use it.
4738 (log-view-diff-changeset): Same.
4739 (log-view-diff-common): Call backend command `previous-revision'
4740 to find out the previous revision, in both cases. Swap the
4741 variables `to' and `fr', so that `fr' usually refers to the
4742 earlier revision (Bug#14989).
4743
4744 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4745
4746 * ibuf-ext.el (ibuffer-filter-by-filename):
4747 Make it work with dired buffers too.
4748
4749 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4750
4751 * emacs-lisp/re-builder.el (reb-color-display-p):
4752 * files.el (save-buffers-kill-terminal):
4753 * net/browse-url.el (browse-url):
4754 * server.el (server-save-buffers-kill-terminal):
4755 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4756 Prefer nil to selected-frame for the first arg of frame-parameter.
4757
4758 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4759
4760 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4761
4762 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4763
4764 * minibuffer.el (completion--twq-all): Try and preserve each
4765 completion's case choice (bug#14907).
4766
4767 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4768
4769 * net/network-stream.el (open-network-stream): Mention the new
4770 :nogreeting parameter.
4771 (network-stream-open-starttls): Use the :nogreeting parameter
4772 (bug#14938).
4773
4774 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4775
4776 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4777 more natural than popping.
4778
4779 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4780 (shr-urlify): Highlight under mouse.
4781
4782 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4783
4784 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4785
4786 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4787
4788 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4789 buffer for output.
4790
4791 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4792 point-min==1. Fix search string. Fix parentheses missing.
4793
4794 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4795 assume point-min==1. Fix search string. Fix parentheses missing.
4796
4797 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4798
4799 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4800 buffer for output.
4801
4802 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4803
4804 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4805 initial frame is minibuffer-less. (Bug#14841)
4806
4807 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4808
4809 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4810 option.
4811
4812 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4813 (tramp-maybe-open-connection): Use it.
4814
4815 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4816
4817 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4818 minimal set of parameters passed when creating a frame, because
4819 the minibuffer status of a frame cannot be changed later.
4820
4821 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4822
4823 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4824 replace-regexp-in-string and inadvertent omissions in previous change.
4825 (todo-filter-items): Ensure only file names are comma-separated in
4826 name of filtered items buffer.
4827
4828 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4829
4830 * desktop.el: Optionally force offscreen frames back onscreen.
4831 (desktop-restoring-reuses-frames): New option.
4832 (desktop--compute-pos, desktop--move-onscreen): New functions.
4833 (desktop--make-frame): Use desktop--move-onscreen.
4834
4835 2013-07-27 Alan Mackenzie <acm@muc.de>
4836
4837 Fontify a Java generic method as a function.
4838 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4839 value to t.
4840
4841 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4842
4843 * calendar/todo-mode.el: Add command to rename todo files.
4844 (todo-rename-file): New command.
4845 (todo-key-bindings-t): Add key binding for it. Change the
4846 bindings of todo-filter-regexp-items(-multifile) to use `x'
4847 instead of `r', since the latter is better suited to the new
4848 renaming command.
4849
4850 2013-07-27 Alan Mackenzie <acm@muc.de>
4851
4852 Make Java try-with-resources statement parse properly.
4853 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4854 (c-block-stmt-1-2-key): New language constants/variables.
4855 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4856 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4857 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4858 with c-block-stmt-1-2-key.
4859
4860 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4861
4862 * desktop.el (desktop--make-frame): Apply most frame parameters after
4863 creating the frame to force (partially or totally) offscreen frames to
4864 be restored as such.
4865
4866 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4867
4868 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4869 (Bug#14948)
4870
4871 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4872
4873 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4874 `base' arg of backtrace-frame.
4875
4876 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4877
4878 * simple.el (list-processes): Doc fix.
4879
4880 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4881
4882 * desktop.el (desktop--select-frame):
4883 Try harder to reuse existing frames.
4884
4885 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4886
4887 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4888 (edebug-eval): Use backtrace-eval.
4889 (edebug--display, edebug--recursive-edit): Don't let-bind the
4890 edebug-outer-* vars that keep track of variables we locally let-bind.
4891 (edebug-outside-excursion): Don't restore outside values of locally
4892 let-bound vars.
4893 (edebug--display): Use user-error.
4894 (cl-lexical-debug, cl-debug-env): Remove.
4895
4896 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4897
4898 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4899 are restored to be sure that they are visible before deleting any
4900 remaining ones.
4901
4902 2013-07-26 Matthias Meulien <orontee@gmail.com>
4903
4904 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4905 vc-print-root-log. (Bug#14948)
4906
4907 2013-07-26 Richard Stallman <rms@gnu.org>
4908
4909 Add aliases for encrypting mail.
4910 * epa.el (epa-mail-aliases): New option.
4911 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4912 Bind inhibit-read-only so read-only text doesn't ruin everything.
4913 (epa-mail-default-recipients): New subroutine broken out.
4914 Handle epa-mail-aliases.
4915
4916 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4917
4918 Add support for lexical variables to the debugger's `e' command.
4919 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4920 vars, except for debugger-outer-match-data.
4921 (debugger-frame-number): Move check for "on a function call" from
4922 callers into it. Add `skip-base' argument.
4923 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4924 (debugger-env-macro): Only reset the state stored in non-variables,
4925 i.e. current-buffer and match-data.
4926 (debugger-eval-expression): Rewrite using backtrace-eval.
4927 * subr.el (internal--called-interactively-p--get-frame): Remove.
4928 (called-interactively-p):
4929 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4930 `base' arg of backtrace-frame instead.
4931
4932 2013-07-26 Glenn Morris <rgm@gnu.org>
4933
4934 * align.el (align-regexp): Doc fix. (Bug#14857)
4935 (align-region): Explicit error if subexpression missing/does not match.
4936
4937 * simple.el (global-visual-line-mode):
4938 Do not duplicate the mode lighter. (Bug#14858)
4939
4940 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4941
4942 * window.el (display-buffer): In display-buffer bind
4943 split-window-keep-point to t, bug#14829.
4944
4945 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4946
4947 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4948 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4949 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4950 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4951 Change accordingly.
4952 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4953 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4954
4955 2013-07-25 Glenn Morris <rgm@gnu.org>
4956
4957 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4958
4959 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4960
4961 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4962 parameter to modify-frame-parameters if the value has not changed;
4963 this is a workaround for bug#14949.
4964 (desktop--make-frame): On cl-delete-if call, check parameter name,
4965 not full parameter.
4966
4967 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4968
4969 * vc/vc.el (vc-ignore): New function.
4970
4971 * vc/vc-svn.el (vc-svn-ignore): New function.
4972
4973 * vc/vc-hg.el (vc-hg-ignore): New function.
4974
4975 * vc/vc-git.el (vc-git-ignore): New function.
4976
4977 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4978 (vc-dir-ignore): New function.
4979
4980 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4981 (cvs-append-to-ignore): Move here from pcvs.el.
4982
4983 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4984
4985 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4986
4987 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4988
4989 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4990 (desktop-restore-frames): Warn when deleting an existing frame failed.
4991
4992 2013-07-24 Glenn Morris <rgm@gnu.org>
4993
4994 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4995
4996 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4997
4998 * filenotify.el (file-notify-supported-p):
4999 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5000 Remove functions.
5001
5002 * autorevert.el (auto-revert-use-notify):
5003 (auto-revert-notify-add-watch):
5004 * net/tramp.el (tramp-file-name-for-operation):
5005 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5006 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5007 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5008 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5009 Remove `file-notify-supported-p' entry.
5010
5011 2013-07-24 Glenn Morris <rgm@gnu.org>
5012
5013 * printing.el: Replace all uses of deleted ps-windows-system,
5014 ps-lp-system, ps-flatten-list with lpr- versions.
5015
5016 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5017
5018 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5019 checked with memq (bug#14935).
5020
5021 * files.el (revert-buffer-function): Use a non-nil default.
5022 (revert-buffer-preserve-modes): Declare var to
5023 provide access to the `preserve-modes' argument.
5024 (revert-buffer): Let-bind it.
5025 (revert-buffer--default): New function, extracted from revert-buffer.
5026
5027 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5028
5029 * lpr.el: Signal print errors more prominently.
5030 (print-region-function): Don't default to nil.
5031 (lpr-print-region): New function, extracted from print-region-1.
5032 Check lpr's return value and signal an error in case of problem.
5033 (print-region-1): Use it.
5034 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5035 versions instead.
5036 (ps-printer-name): Default to nil.
5037 (ps-printer-name-option): Default to lpr-printer-switch.
5038 (ps-print-region-function): Don't default to nil.
5039 (ps-postscript-code-directory): Simplify default.
5040 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5041 (ps-string-list, ps-eval-switch, ps-flatten-list)
5042 (ps-flatten-list-1): Remove.
5043 (ps-multibyte-buffer): Avoid setq.
5044 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5045 (print-region-function, ps-print-region-function): Don't set them here.
5046
5047 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5048
5049 * ido.el (ido-fractionp):
5050 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5051 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5052 (ido-max-directory-size, ido-max-dir-file-cache)
5053 (ido-decorations): Doc fix.
5054
5055 * ansi-color.el: Fix old URL.
5056
5057 2013-07-23 Michael R. Mauger <michael@mauger.com>
5058
5059 * progmodes/sql.el: Version 3.3
5060 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5061 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5062 (sql-interactive-remove-continuation-prompt): Rewrite, use
5063 functions above. Fix continuation prompt and complete output line
5064 handling.
5065 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5066 redirected output buffer.
5067 (sql-mode): Restore deleted code (Bug#13591).
5068
5069 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5070
5071 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5072
5073 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5074
5075 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5076
5077 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5078 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5079 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5080
5081 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5082
5083 * desktop.el (desktop-clear): Simplify; remove useless checks
5084 against invalid buffer names.
5085 (desktop-list*): Use cl-list*.
5086 (desktop-buffer-info, desktop-create-buffer): Simplify.
5087
5088 2013-07-23 Leo Liu <sdl.web@gmail.com>
5089
5090 * bookmark.el (bookmark-make-record): Restore NAME as a default
5091 value. (Bug#14933)
5092
5093 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5094
5095 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5096 extracted from autoload--insert-text.
5097 (autoload--insert-text): Remove.
5098 (autoload--print-cookie-text): New function, extracted from
5099 autoload--insert-cookie-text.
5100 (autoload--insert-cookie-text): Remove.
5101 (autoload-generate-file-autoloads): Adjust calls accordingly.
5102
5103 * winner.el (winner-hook-installed-p): Remove.
5104 (winner-mode): Simplify accordingly.
5105
5106 * subr.el (add-to-list): Fix compiler-macro when `append' is
5107 not constant. Don't use `cl-member' for the base case.
5108
5109 * progmodes/subword.el: Fix boundary case (bug#13758).
5110 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5111 own group.
5112 (subword-backward-regexp): Make it a constant.
5113 (subword-forward-internal): Don't treat a trailing capital as the
5114 beginning of a word.
5115
5116 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5117
5118 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5119 global value of tabulated-list-revert-hook (bug#14930).
5120
5121 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5122
5123 * desktop.el: Require 'cl-lib.
5124 (desktop-before-saving-frames-functions): New hook.
5125 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5126 for frames being saved. Rename from desktop--save-minibuffer-frames.
5127 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5128 Do not save frames with non-nil `desktop-dont-save' parameter.
5129 Filter out deleted frames.
5130 (desktop--find-frame): Use cl-find-if.
5131 (desktop--select-frame): Use cl-(first|second|third) to access values
5132 of desktop-mini.
5133 (desktop--make-frame): Use cl-delete-if.
5134 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5135 (desktop-restore-frames): Use cl-(first|second|third) to access values
5136 of desktop-mini. Look for visible frame at the end, not while
5137 restoring frames.
5138
5139 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5140 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5141 Use string-match-p, looking-at-p (bug#14927).
5142
5143 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5144
5145 * desktop.el (desktop-saved-frame-states):
5146 Rename from desktop--saved-states; all users changed.
5147 (desktop-save-frames): Rename from desktop--save-frames.
5148 Do not save state to desktop file.
5149 (desktop-save): Save desktop-saved-frame-states to desktop file
5150 and reset to nil.
5151 (desktop-restoring-frames-p): New function.
5152 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5153 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5154 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5155
5156 * desktop.el: Correctly restore iconified frames.
5157 (desktop--filter-iconified-position): New function.
5158 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5159
5160 2013-07-20 Glenn Morris <rgm@gnu.org>
5161
5162 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5163 Let `message' do the formatting.
5164 (def-gdb-preempt-display-buffer): Add explicit format.
5165
5166 * image-dired.el (image-dired-track-original-file):
5167 Use with-current-buffer.
5168 (image-dired-track-thumbnail): Use with-current-buffer.
5169 Avoid changing point of wrong window.
5170
5171 * image-dired.el (image-dired-track-original-file):
5172 Avoid changing point of wrong window. (Bug#14909)
5173
5174 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5175
5176 * progmodes/gdb-mi.el (gdb-done-or-error):
5177 Guard against "%" in gdb output. (Bug#14127)
5178
5179 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5180
5181 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5182 (Bug#14826)
5183
5184 * international/mule.el (coding-system-iso-2022-flags): Fix last
5185 change.
5186
5187 2013-07-20 Kenichi Handa <handa@gnu.org>
5188
5189 * international/mule.el (coding-system-iso-2022-flags):
5190 Add `8-bit-level-4'. (Bug#8522)
5191
5192 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5193
5194 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5195 (bug#14815).
5196
5197 * net/eww.el (eww-process-text-input): Allow inputting when the
5198 point is at the start of the line, as the properties aren't
5199 front-sticky.
5200
5201 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5202 degenerate widths.
5203
5204 2013-07-19 Richard Stallman <rms@gnu.org>
5205
5206 * epa.el (epa-popup-info-window): Doc fix.
5207
5208 * subr.el (split-string): New arg TRIM.
5209
5210 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5211
5212 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5213 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5214
5215 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5216
5217 * filenotify.el (file-notify--library): Rename from
5218 `file-notify-support'. Do not autoload. Adapt all uses.
5219 (file-notify-supported-p): New defun.
5220
5221 * autorevert.el (auto-revert-use-notify):
5222 Use `file-notify-supported-p' instead of `file-notify-support'.
5223 Adapt docstring.
5224 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5225
5226 * net/tramp.el (tramp-file-name-for-operation):
5227 Add `file-notify-supported-p'.
5228
5229 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5230 New defun.
5231 (tramp-sh-file-name-handler-alist): Add it as handler for
5232 `file-notify-supported-p '.
5233
5234 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5235 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5236 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5237 Add `ignore' as handler for `file-notify-*' functions.
5238
5239 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5240
5241 * simple.el (line-move-partial, line-move): Don't start vscroll or
5242 scroll-up if the current line is not taller than the window.
5243 (Bug#14881)
5244
5245 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5246
5247 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5248 highlight question marks in the method names as strings.
5249 (ruby-block-beg-keywords): Inline.
5250 (ruby-font-lock-keyword-beg-re): Extract from
5251 `ruby-font-lock-keywords'.
5252
5253 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5254
5255 * frame.el (blink-cursor-blinks): New defcustom.
5256 (blink-cursor-blinks-done): New defvar.
5257 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5258 (blink-cursor-timer-function): Check if number of blinks has been
5259 done on X and NS.
5260 (blink-cursor-suspend, blink-cursor-check): New defuns.
5261
5262 2013-07-15 Glenn Morris <rgm@gnu.org>
5263
5264 * edmacro.el (edmacro-format-keys): Fix previous change.
5265
5266 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5267
5268 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5269 The hack didn't work outside English locales anyway.
5270
5271 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5272
5273 * simple.el (define-alternatives): Rename from alternatives-define,
5274 per RMS' suggestion.
5275
5276 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5277
5278 * desktop.el (desktop-restore-frames): Change default to t.
5279 (desktop-restore-in-current-display): Now offer more options.
5280 (desktop-restoring-reuses-frames): New customization option.
5281 (desktop--saved-states): Doc fix.
5282 (desktop-filter-parameters-alist): New variable, renamed and expanded
5283 from desktop--excluded-frame-parameters.
5284 (desktop--target-display): New variable.
5285 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5286 (desktop--filter-tty*, desktop--filter-*-color)
5287 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5288 (desktop--filter-save-desktop-parm)
5289 (desktop-restore-in-original-display-p): New functions.
5290 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5291 (desktop--save-minibuffer-frames): New function, inspired by a similar
5292 function from Martin Rudalics.
5293 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5294 (desktop--restore-in-this-display-p): Remove.
5295 (desktop--find-frame): Rename from desktop--find-frame-in-display
5296 and add predicate argument.
5297 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5298 (desktop--reuse-list): New variable.
5299 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5300 New functions.
5301 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5302
5303 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5304
5305 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5306
5307 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5308
5309 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5310 Highlight conversion methods on Kernel.
5311
5312 2013-07-13 Alan Mackenzie <acm@muc.de>
5313
5314 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5315 and comment it out. This out-commenting enables certain C++
5316 declarations to be parsed correctly.
5317
5318 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5319
5320 * international/mule.el (define-coding-system): Doc fix.
5321
5322 * simple.el (default-font-height): Don't call font-info if the
5323 frame's default font didn't change since the frame was created.
5324 (Bug#14838)
5325
5326 2013-07-13 Leo Liu <sdl.web@gmail.com>
5327
5328 * ido.el (ido-read-file-name): Guard against non-symbol value.
5329
5330 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5331
5332 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5333 in nested defuns.
5334
5335 2013-07-13 Leo Liu <sdl.web@gmail.com>
5336
5337 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5338 ido-set-matches call. (Bug#6852)
5339
5340 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5341
5342 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5343 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5344 Ruby 2.0.
5345 (ruby-font-lock-keywords): Distinguish calls to functions with
5346 module-like names from module references. Highlight character
5347 literals.
5348
5349 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5350
5351 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5352 (gdb-send): Handle continued commands. (Bug#14847)
5353
5354 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5355
5356 * desktop.el (desktop--v2s): Remove unused local variable.
5357 (desktop-save-buffer): Make defvar-local; adjust docstring.
5358 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5359 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5360
5361 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5362
5363 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5364
5365 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5366
5367 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5368 (Bug#14842)
5369
5370 2013-07-12 Glenn Morris <rgm@gnu.org>
5371
5372 * doc-view.el: Require cl-lib at runtime too.
5373 (doc-view-remove-if): Remove.
5374 (doc-view-search-next-match, doc-view-search-previous-match):
5375 Use cl-remove-if.
5376
5377 * edmacro.el: Require cl-lib at runtime too.
5378 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5379 (edmacro-mismatch, edmacro-subseq): Remove.
5380
5381 * shadowfile.el: Require cl-lib.
5382 (shadow-remove-if): Remove.
5383 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5384 Use cl-remove-if.
5385
5386 * wid-edit.el: Require cl-lib.
5387 (widget-choose): Use cl-remove-if.
5388 (widget-remove-if): Remove.
5389
5390 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5391 (ebrowse-delete-if-not): Remove.
5392 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5393 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5394 Use cl-delete-if-not.
5395
5396 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5397
5398 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5399 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5400
5401 2013-07-12 Leo Liu <sdl.web@gmail.com>
5402
5403 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5404
5405 2013-07-11 Glenn Morris <rgm@gnu.org>
5406
5407 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5408 (edebug-gensym-index, edebug-gensym):
5409 Remove reimplementation of cl-gensym.
5410 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5411
5412 * thumbs.el: Require cl-lib at run-time too.
5413 (thumbs-gensym-counter, thumbs-gensym):
5414 Remove reimplementation of cl-gensym.
5415 (thumbs-temp-file): Use cl-gensym.
5416
5417 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5418 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5419 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5420 (ert--union, ert--gensym-counter, ert--gensym-counter)
5421 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5422 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5423 (ert-make-test-unbound, ert--expand-should-1)
5424 (ert--expand-should, ert--should-error-handle-error)
5425 (should-error, ert--explain-equal-rec)
5426 (ert--plist-difference-explanation, ert-select-tests)
5427 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5428 Use cl-lib functions rather than reimplementations.
5429
5430 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5431
5432 * net/tramp.el (tramp-methods): Extend docstring.
5433 (tramp-connection-timeout): New defcustom.
5434 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5435 (with-tramp-progress-reporter): Simplify.
5436 (tramp-process-actions): Improve messages.
5437
5438 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5439 * net/tramp-sh.el (tramp-maybe-open-connection):
5440 Use `tramp-connection-timeout'.
5441 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5442 (Bug#14808)
5443
5444 2013-07-11 Leo Liu <sdl.web@gmail.com>
5445
5446 * ido.el (ido-read-file-name): Conform to the requirements of
5447 read-file-name. (Bug#11861)
5448 (ido-read-directory-name): Conform to the requirements of
5449 read-directory-name.
5450
5451 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5452
5453 * subr.el (delay-warning): New function.
5454
5455 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5456
5457 * simple.el (default-line-height): New function.
5458 (line-move-partial, line-move): Use it instead of computing the
5459 line height inline.
5460 (line-move-partial): Always compute ROWH. If the last line is
5461 partially-visible, but its text is completely visible, allow
5462 cursor to enter such a partially-visible line.
5463
5464 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5465
5466 Improve error messages. (Bug#14808)
5467
5468 * net/tramp.el (tramp-current-connection): New defvar, moved from
5469 tramp-sh.el.
5470 (tramp-message-show-progress-reporter-message): Remove, not
5471 needed anymore.
5472 (tramp-error-with-buffer): Show message in minibuffer.
5473 Discard input before waiting. Reset connection timestamp.
5474 (with-tramp-progress-reporter): Improve messages.
5475 (tramp-process-actions): Use progress reporter. Delete process in
5476 case of error. Improve messages.
5477
5478 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5479 Call `tramp-error-with-buffer' with vector and buffer.
5480 (tramp-current-connection): Remove.
5481 (tramp-maybe-open-connection): The car of
5482 `tramp-current-connection' are the first 3 slots of the vector.
5483
5484 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5485
5486 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5487 inside continued strings.
5488
5489 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5490
5491 Timestamp fixes for undo (Bug#14824).
5492 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5493
5494 2013-07-10 Leo Liu <sdl.web@gmail.com>
5495
5496 * files.el (require-final-newline): Allow safe local value.
5497 (Bug#14834)
5498
5499 2013-07-09 Leo Liu <sdl.web@gmail.com>
5500
5501 * ido.el (ido-read-directory-name): Handle fallback.
5502 (ido-read-file-name): Update DIR to ido-current-directory.
5503 (Bug#1516)
5504 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5505
5506 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5507
5508 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5509 "autoload". Remove "warn lower camel case" section, previously
5510 commented out. Highlight negation char. Do not highlight the
5511 target in singleton method definitions.
5512
5513 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5514
5515 * faces.el (tty-setup-hook): Declare the hook.
5516
5517 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5518 and detect when a guard/pred depends on local vars (bug#14773).
5519 (pcase--u1): Adjust caller.
5520
5521 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5522
5523 * simple.el (line-move-partial, line-move): Account for
5524 line-spacing.
5525 (line-move-partial): Avoid setting vscroll when the last
5526 partially-visible line in window is of default height.
5527
5528 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5529
5530 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5531 been used a while.
5532
5533 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5534
5535 * subr.el (read-quoted-char): Remove unused local variable `char'.
5536
5537 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5538
5539 * ediff.el (ediff-version): Version update.
5540 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5541 (ediff-merge-with-ancestor-command, ediff-directories-command)
5542 (ediff-directories3-command, ediff-merge-directories-command)
5543 (ediff-merge-directories-with-ancestor-command): New functions.
5544 All are command-line interfaces to ediff: to facilitate calling
5545 Emacs with the appropriate ediff functions invoked.
5546
5547 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5548 (viper-save-kill-buffer): Check if buffer is modified.
5549
5550 * viper.el (viper-version): Version update.
5551 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5552
5553 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5556 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5557 (viper-intercept-ESC-key): Simplify.
5558 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5559 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5560 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5561 (viper-setup-ESC-to-escape): New functions.
5562 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5563 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5564
5565 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5566
5567 * simple.el (default-font-height, window-screen-lines):
5568 New functions.
5569 (line-move, line-move-partial): Use them instead of
5570 frame-char-height and window-text-height. This makes scrolling
5571 text smoother when the buffer's default face uses a font that is
5572 different from the frame's default font.
5573
5574 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5575
5576 * files.el (write-file): Do not display confirm dialog for NS,
5577 it does its own dialog, which can't be cancelled (Bug#14578).
5578
5579 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5580
5581 * simple.el (line-move-partial): Adjust the row returned by
5582 posn-at-point for the current window-vscroll. (Bug#14567)
5583
5584 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5585
5586 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5587 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5588 spaces.
5589
5590 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5591
5592 * window.el (window-state-put-stale-windows): New variable.
5593 (window--state-put-2): Save list of windows without matching buffer.
5594 (window-state-put): Remove "bufferless" windows if possible.
5595
5596 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5597
5598 * simple.el (alternatives-define): Remove leftover :group keyword.
5599 Tweak docstring.
5600
5601 2013-07-06 Leo Liu <sdl.web@gmail.com>
5602
5603 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5604 (ido-enable-virtual-buffers): New variable.
5605 (ido-buffer-internal, ido-toggle-virtual-buffers)
5606 (ido-make-buffer-list): Use it.
5607 (ido-exhibit): Support turning on and off virtual buffers
5608 automatically.
5609
5610 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5611
5612 * simple.el (alternatives-define): New macro.
5613
5614 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * subr.el (read-quoted-char): Use read-key.
5617 (sit-for): Let read-event decode tty input (bug#14782).
5618
5619 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5620
5621 * calendar/todo-mode.el: Add handling of file deletion, both by
5622 mode command and externally. Fix various related bugs.
5623 Clarify Commentary and improve some documentation strings and code.
5624 (todo-delete-file): New command.
5625 (todo-check-file): New function.
5626 (todo-show): Handle external deletion of the file we're trying to
5627 show (bug#14688). Replace called-interactively-p by an optional
5628 prefix argument to avoid problematic interaction with catch form
5629 when byte compiled (bug#14702).
5630 (todo-quit): Handle external deletion of the archive's todo file.
5631 Make sure the buffer that was visiting the archive file is still
5632 live before trying to bury it.
5633 (todo-category-completions): Handle external deletion of any
5634 category completion files.
5635 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5636 of todo files, in case of external deletion.
5637 (todo-add-file): Replace unnecessary setq by let-binding.
5638 (todo-find-archive): Check whether there are any archives.
5639 Replace unnecessary setq by let-binding.
5640 (todo-archive-done-item): Use find-file-noselect to get the
5641 archive buffer whether or not the archive already exists.
5642 Remove superfluous code. Use file size instead of buffer-file-name to
5643 check if the archive is new; if it is, update list of archives.
5644 (todo-default-todo-file): Allow nil to be a valid value for when
5645 there are no todo files.
5646 (todo-reevaluate-default-file-defcustom): Use corrected definition
5647 of todo-default-todo-file.
5648 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5649 (todo-delete-category, todo-show-categories-table)
5650 (todo-category-number): Clarify comment.
5651 (todo-filter-items): Clarify documentation string.
5652 (todo-show-current-file, todo-display-as-todo-file)
5653 (todo-reset-and-enable-done-separator): Tweak documentation string.
5654 (todo-done-separator): Make separator length window-width, since
5655 bug#2749 is now fixed.
5656
5657 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5658
5659 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5660 Support both "gvfs-monitor-dir" and "inotifywait".
5661 (tramp-sh-file-inotifywait-process-filter): Rename from
5662 `tramp-sh-file-notify-process-filter'.
5663 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5664 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5665
5666 2013-07-05 Leo Liu <sdl.web@gmail.com>
5667
5668 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5669
5670 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5671
5672 * frame.el (display-pixel-height, display-pixel-width)
5673 (display-mm-height, display-mm-width): Mention behavior on
5674 multi-monitor setups in docstrings.
5675 (w32-display-monitor-attributes-list): Declare function.
5676 (display-monitor-attributes-list): Use it.
5677
5678 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5679
5680 * filenotify.el: New package.
5681
5682 * autorevert.el (top): Require filenotify.el.
5683 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5684 instead.
5685 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5686 (auto-revert-notify-handler): Use `file-notify-*' functions.
5687
5688 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5689
5690 * net/tramp.el (tramp-file-name-for-operation):
5691 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5692
5693 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5694 for `file-notify-add-watch' and `file-notify-rm-watch'.
5695 (tramp-process-sentinel): Improve trace.
5696 (tramp-sh-handle-file-notify-add-watch)
5697 (tramp-sh-file-notify-process-filter)
5698 (tramp-sh-handle-file-notify-rm-watch)
5699 (tramp-get-remote-inotifywait): New defuns.
5700
5701 2013-07-03 Juri Linkov <juri@jurta.org>
5702
5703 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5704 call of `occur-read-primary-args' to interactive spec.
5705
5706 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5707 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5708
5709 2013-07-03 Matthias Meulien <orontee@gmail.com>
5710
5711 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5712 `Buffer-menu-multi-occur'. Add it to the menu.
5713 (Buffer-menu-mode): Document it in docstring.
5714 (Buffer-menu-multi-occur): New command. (Bug#14673)
5715
5716 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5717
5718 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5719 keywords and built-ins.
5720
5721 2013-07-03 Glenn Morris <rgm@gnu.org>
5722
5723 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5724
5725 Make info-xref checks case-sensitive by default
5726 * info.el (Info-find-node, Info-find-in-tag-table)
5727 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5728 Add option for exact case matching of nodes.
5729 * info-xref.el (info-xref): New custom group.
5730 (info-xref-case-fold): New option.
5731 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5732
5733 2013-07-03 Leo Liu <sdl.web@gmail.com>
5734
5735 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5736
5737 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5738
5739 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5740 middle of block statement initially, lower the depth. Remove
5741 FIXME comment, not longer valid. Remove middle of block statement
5742 detection, no need to do that anymore since we've been using
5743 `ruby-parse-region' here.
5744
5745 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5746
5747 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5748
5749 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5750
5751 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5752
5753 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5754
5755 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5756 (desktop-restore-in-current-display): New customization option.
5757 (desktop--excluded-frame-parameters): Add `font'.
5758 (desktop--save-frames): Rename from desktop--save-windows.
5759 (desktop--restore-in-this-display-p): New function.
5760 (desktop--make-full-frame): Remove unwanted width/height from
5761 full(width|height) frames.
5762 (desktop--restore-frames): Rename from desktop--restore-windows.
5763 Obey desktop-restore-current-display. Do not delete old frames or
5764 select a new frame unless we were able to restore at least one frame.
5765
5766 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5767
5768 * files.el (find-file-noselect): Simplify conditional expression.
5769
5770 * remember.el (remember-append-to-file):
5771 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5772
5773 Add `remember-notes' function to store random notes across Emacs
5774 restarts.
5775 * remember.el (remember-data-file): Add :set callback to affect
5776 notes buffer (if any).
5777 (remember-notes): New command.
5778 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5779 New defcustoms for the `remember-notes' function.
5780 (remember-notes-save-and-bury-buffer): New command.
5781 (remember-notes-mode-map): New variable.
5782 (remember-mode): New minor mode.
5783 (remember-notes--kill-buffer-query): New function.
5784 * startup.el (initial-buffer-choice): Add notes to custom type.
5785
5786 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5787
5788 * bindings.el (right-char, left-char): Don't call sit-for, this is
5789 no longer needed. Use arithmetic comparison only for numerical
5790 arguments.
5791
5792 * international/mule-cmds.el (select-safe-coding-system):
5793 Handle the case of FROM being a string correctly. (Bug#14755)
5794
5795 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5796
5797 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5798 progression on degenerate tables.
5799 (shr-rescale-image): ImageMagick animated images currently don't work.
5800
5801 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5802
5803 Some fixes and improvements for desktop frame restoration.
5804 It is still experimental and disabled by default.
5805 * desktop.el (desktop--save-windows): Put the selected frame at
5806 the head of the list.
5807 (desktop--make-full-frame): New function.
5808 (desktop--restore-windows): Try to re-select the frame that was
5809 selected upon saving. Do not abort if some frames fail to restore,
5810 just show an error message and continue. Set up maximized frames
5811 so they have default non-maximized dimensions.
5812
5813 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5814
5815 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5816 Don't start heredoc inside a string or comment.
5817
5818 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5819
5820 * bindings.el (visual-order-cursor-movement): New defcustom.
5821 (right-char, left-char): Provide visual-order cursor motion by
5822 calling move-point-visually. Update the doc strings.
5823
5824 2013-06-28 Kenichi Handa <handa@gnu.org>
5825
5826 * international/mule.el (define-coding-system): New coding system
5827 properties :inhibit-null-byte-detection,
5828 :inhibit-iso-escape-detection, and :prefer-utf-8.
5829 (set-buffer-file-coding-system): If :charset-list property of
5830 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5831 appropriate for setting.
5832
5833 * international/mule-cmds.el (select-safe-coding-system):
5834 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5835 multibyte characters, return utf-8 (or one of its siblings).
5836
5837 * international/mule-conf.el (prefer-utf-8): New coding system.
5838 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5839 files.
5840
5841 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5842
5843 * net/shr.el (shr-render-region): New function.
5844
5845 * net/eww.el: Autoload `eww-browse-url'.
5846
5847 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5848
5849 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5850 Adapt to `package-desc-version' being a list.
5851 Use `package--ac-desc-version' to retrieve version from a package
5852 archive element.
5853
5854 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5855
5856 New experimental feature to save&restore window and frame setup.
5857 * desktop.el (desktop-save-windows): New defcustom.
5858 (desktop--saved-states): New var.
5859 (desktop--excluded-frame-parameters): New defconst.
5860 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5861 (desktop--restore-windows, desktop--save-windows): New functions.
5862 (desktop-save): Call `desktop--save-windows'.
5863 (desktop-read): Call `desktop--restore-windows'.
5864
5865 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5866
5867 * net/shr.el (add-face-text-property): Remove compat definition.
5868
5869 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5870
5871 * info.el (Info-try-follow-nearest-node): Move search for footnote
5872 above search for node name to prevent missing a footnote (bug#14717).
5873
5874 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5875
5876 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5877
5878 2013-06-27 Leo Liu <sdl.web@gmail.com>
5879
5880 * net/eww.el (eww-read-bookmarks): Check file size.
5881
5882 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5883
5884 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5885 advice--pending if newdef is nil or an autoload (bug#13820).
5886 (advice-mapc): New function.
5887
5888 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5889
5890 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5891 probably.
5892 (eww-mode-map): Add a menu bar.
5893 (eww-add-bookmark): New command.
5894 (eww-bookmark-mode): New mode and commands.
5895 (eww-add-bookmark): Remove newlines from the title.
5896 (eww-bookmark-browse): Don't bug out if it's the only window.
5897
5898 2013-06-26 Glenn Morris <rgm@gnu.org>
5899
5900 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5901 (hfy-size): Handle ttys. (Bug#14668)
5902
5903 * info-xref.el: Update for Texinfo 5 change in *note format.
5904 (info-xref-node-re, info-xref-note-re): New constants.
5905 (info-xref-check-buffer): Use info-xref-note-re.
5906
5907 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5908
5909 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5910
5911 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5912 nil terminate the loop (bug#14718).
5913
5914 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5915
5916 * net/eww.el: Rework history traversal. When going forward/back,
5917 put these actions into the history, too, so that they can be
5918 replayed.
5919 (eww-render): Move the history reset to the correct buffer.
5920
5921 2013-06-25 Juri Linkov <juri@jurta.org>
5922
5923 * files-x.el (modify-dir-local-variable): Change the header comment
5924 in the file with directory local variables. (Bug#14692)
5925
5926 * files-x.el (read-file-local-variable-value): Add `default'.
5927 (Bug#14710)
5928
5929 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5930
5931 * net/eww.el (eww-make-unique-file-name): Create a unique file
5932 name before saving to entering `y' accidentally asynchronously.
5933
5934 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5935
5936 * net/eww.el (eww-download): New command and keystroke.
5937
5938 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5939
5940 * net/eww.el (eww-copy-page-url): Change name of command.
5941
5942 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5943 be more consistent with Info and dired.
5944
5945 * net/eww.el (eww-mode-map): Ditto.
5946
5947 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5948
5949 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5950 packages from archives.
5951 (package-archive-contents): Change format; include obsolete packages.
5952 (package-desc): Use `dir' to mark builtin packages.
5953 (package--from-builtin): Set the `dir' field to `builtin'.
5954 (generated-autoload-file, version-control): Declare.
5955 (package-compute-transaction): Change first arg and return value to be
5956 lists of package-descs. Adjust to new package-archive-contents format.
5957 (package--add-to-archive-contents): Adjust to new
5958 package-archive-contents format.
5959 (package-download-transaction): Arg is now a list of package-descs.
5960 (package-install): If `pkg' is a package name, pass it as
5961 a requirement, so it is subject to the usual (e.g. disabled) checks.
5962 (describe-package): Accept package-desc as well.
5963 (describe-package-1): Describe a specific package-desc. Add links to
5964 other package-descs for the same package name.
5965 (package-menu-describe-package): Pass the actual package-desc.
5966 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5967 works correctly.
5968 (package-desc-status): New function.
5969 (package-menu--refresh): New function, extracted
5970 from package-menu--generate.
5971 (package-menu--generate): Use it.
5972 (package-delete): Update package-alist.
5973 (package-menu-execute): Don't call package-initialize.
5974
5975 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5976 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5977 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5978 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5979 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5980 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5981
5982 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5983
5984 * window.el (window--state-get-1): Workaround for bug#14527.
5985 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5986
5987 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5988
5989 * net/eww.el (eww-back-url): Implement the history by stashing all
5990 the data into a list.
5991 (eww-forward-url): Allow going forward in the history, too.
5992
5993 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5994
5995 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5996 for values and use read--expression for expressions (bug#14710).
5997 (read-file-local-variable): Avoid setq.
5998 (read-file-local-variable-mode): Use minor-mode-list.
5999
6000 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6001
6002 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6003 for DOI URLs.
6004
6005 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6006
6007 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6008 Update imenu-support when dialect changes.
6009
6010 2013-06-25 Leo Liu <sdl.web@gmail.com>
6011
6012 * ido.el (ido-read-internal): Allow forward slash on windows.
6013
6014 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6015
6016 * net/eww.el (eww): Start of strings is \\`, not ^.
6017
6018 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6019
6020 * net/shr.el (shr-browse-url): Fix interactive spec.
6021
6022 * net/eww.el (eww): Add a trailing slash to domain names.
6023
6024 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6025
6026 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6027
6028 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6029
6030 * net/shr.el (shr-browse-url): Use an external browser if given a
6031 prefix.
6032
6033 * net/eww.el (eww-external-browser): Move to shr.
6034
6035 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6036
6037 * net/eww.el (eww): Work more correctly for file: URLs.
6038 (eww-detect-charset): Allow quoted charsets.
6039 (eww-yank-page-url): New command and keystroke.
6040
6041 2013-06-24 Daiki Ueno <ueno@gnu.org>
6042
6043 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6044 file name of gpg executable.
6045 (epg-context-program): New function.
6046 (epg-context-home-directory): New function.
6047 (epg-context-set-program): New function.
6048 (epg-context-set-home-directory): New function.
6049 (epg--start): Use `epg-context-program' instead of
6050 'epg-gpg-program'.
6051 (epg--list-keys-1): Likewise.
6052
6053 2013-06-24 Leo Liu <sdl.web@gmail.com>
6054
6055 * ido.el (ido-read-internal): Fix bug#14620.
6056
6057 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6058
6059 * faces.el (face-documentation): Simplify.
6060 (read-face-attribute, tty-find-type, x-resolve-font-name):
6061 Use `string-match-p'.
6062 (list-faces-display): Use `string-match-p'. Simplify.
6063 (face-spec-recalc): Check face to avoid face alias loops.
6064 (read-color): Use `string-match-p' and non-capturing parenthesis.
6065
6066 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6067
6068 * net/shr.el (shr-rescale-image): Use the new
6069 :max-width/:max-height functionality.
6070
6071 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6072
6073 * net/eww.el (eww-search-prefix): New variable.
6074 (eww): Use it.
6075 (eww-external-browser): New variable.
6076 (eww-mode-map): New keystroke.
6077 (eww-browse-with-external-browser): New command.
6078
6079 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6080
6081 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6082
6083 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6084 Don't skip aligning the next header field when padding is 0;
6085 otherwise, field width is not respected unless the title is as
6086 wide as the field.
6087
6088 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6089
6090 * emacs-lisp/package.el (package-el-version): Remove.
6091 (package-process-define-package): Fix inf-loop.
6092 (package-install): Allow symbols as arguments again.
6093
6094 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6095
6096 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6097 add some more keyword-like methods.
6098 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6099
6100 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6101
6102 * bs.el (bs-buffer-show-mark): Make defvar-local.
6103 (bs-mode): Use setq-local.
6104
6105 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6106 (emacs-lock--try-unlocking): Make defvar-local.
6107
6108 2013-06-22 Glenn Morris <rgm@gnu.org>
6109
6110 * play/cookie1.el (cookie-apropos): Minor simplification.
6111
6112 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6113
6114 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6115
6116 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6117 `regexp-opt', it breaks the build during dumping.
6118
6119 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6120
6121 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6122 Highlight keyword-like methods on Kernel and Module with
6123 font-lock-builtin-face.
6124 (auto-mode-alist): Consolidate different entries into one regexp
6125 and add more *file-s.
6126
6127 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6128
6129 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6130
6131 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6132 (diary-entry): Use it in the action of this button type instead of
6133 diary-goto-entry.
6134
6135 * calendar/todo-mode.el: New version.
6136 (todo-add-category): Append new category to end of file and give
6137 it the highest number, instead of putting it at the beginning and
6138 giving it 0. Incorporate noninteractive functionality.
6139 (todo-forward-category): Adapt to 1-based category numbering.
6140 Allow skipping over archived categories.
6141 (todo-backward-category): Derive from todo-forward-category.
6142 (todo-backward-item, todo-forward-item): Make noninteractive and
6143 delegate interactive part to new commands. Make sensitive to done items.
6144 (todo-categories): Make value an alist of category names and
6145 vectors of item counts.
6146 (todo-category-beg): Make a defconst.
6147 (todo-category-number): Use 1 instead of 0 as initial value.
6148 (todo-category-select): Make sensitive to overlays, optional item
6149 highlighting and done items.
6150 (todo-delete-item): Make sensitive to overlays and marked and done items.
6151 (todo-edit-item): Make sensitive to overlays and editing of
6152 date/time header optional. Add format checks.
6153 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6154 no-op if point is not on an item. Advertise using todo-edit-quit.
6155 (todo-edit-mode): Make sensitive to new format, font-locking, and
6156 multiple todo files.
6157 (todo-insert-item, todo-insert-item-here): Derive from
6158 todo-basic-insert-item and extend functionality.
6159 (todo-item-end, todo-item-start): Make sensitive to done items.
6160 (todo-item-string): Don't return text properties. Restore point.
6161 (todo-jump-to-category): Make sensitive to multiple todo files and
6162 todo archives. Use extended category completion.
6163 (todo-lower-item, todo-raise-item): Rename to *-priority and
6164 derive from todo-set-item-priority.
6165 (todo-mode): Derive from special-mode. Make sensitive to new
6166 format, font-locking and multiple todo files. Make read-only.
6167 (todo-mode-map): Don't suppress digit keys, so they can supply
6168 prefix arguments. Add many new key bindings.
6169 (todo-prefix): Insert as an overlay instead of file text.
6170 Change semantics from diary date expression to purely visual mark.
6171 (todo-print): Rename to todo-print-buffer. Make buffer display
6172 features printable. Remove option to restrict number of items
6173 printed. Add option to print to file.
6174 (todo-print-function): Rename to todo-print-buffer-function.
6175 (todo-quit): Extend to handle exiting new todo modes.
6176 (todo-remove-item): Make sensitive to overlays.
6177 (todo-save): Extend to buffers of filtered items.
6178 (todo-show): Make sensitive to done items, multiple todo files and
6179 new todo modes. Offer to convert legacy todo file before creating
6180 first new todo file.
6181 (todo-show-priorities): Rename to todo-top-priorities.
6182 Change semantics of value 0.
6183 (todo-top-priorities): Rename to todo-filter-top-priorities,
6184 derive from todo-filter-items and extend functionality.
6185 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6186 and extend functionality to other types of filtered items.
6187 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6188 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6189 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6190 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6191 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6192 (todo-edit-mode-hook, todo-entry-prefix-function)
6193 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6194 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6195 (todo-initials, todo-insert-threshold, todo-item-string-start)
6196 (todo-line-string, todo-menu, todo-mode-hook)
6197 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6198 (todo-print-priorities, todo-remove-separator)
6199 (todo-save-top-priorities-too, todo-string-count-lines)
6200 (todo-string-multiline-p, todo-time-string-format)
6201 (todo-tmp-buffer-name): Remove.
6202 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6203 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6204 (todo-edit-category-diary-inclusion)
6205 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6206 (todo-edit-file, todo-edit-item-date-day)
6207 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6208 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6209 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6210 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6211 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6212 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6213 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6214 (todo-filter-top-priorities-multifile, todo-find-archive)
6215 (todo-find-filtered-items-file, todo-go-to-source-item)
6216 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6217 (todo-jump-to-archive-category, todo-lower-category)
6218 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6219 (todo-move-category, todo-move-item, todo-next-button)
6220 (todo-next-item, todo-padded-string, todo-powerset)
6221 (todo-previous-button, todo-previous-item)
6222 (todo-print-buffer-to-file, todo-raise-category)
6223 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6224 (todo-set-category-number, todo-set-item-priority)
6225 (todo-set-top-priorities-in-category)
6226 (todo-set-top-priorities-in-file, todo-show-categories-table)
6227 (todo-sort-categories-alphabetically-or-numerically)
6228 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6229 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6230 (todo-toggle-item-header, todo-toggle-item-highlighting)
6231 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6232 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6233 (todo-unarchive-items, todo-unmark-category): New commands.
6234 (todo-absolute-file-name, todo-add-to-buffer-list)
6235 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6236 (todo-basic-insert-item, todo-category-completions)
6237 (todo-category-number, todo-category-string-matcher-1)
6238 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6239 (todo-check-format, todo-clear-matches)
6240 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6241 (todo-current-category, todo-date-string-matcher)
6242 (todo-define-insertion-command, todo-diary-expired-matcher)
6243 (todo-diary-goto-entry, todo-diary-item-p)
6244 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6245 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6246 (todo-done-item-section-p, todo-done-separator)
6247 (todo-done-string-matcher, todo-files, todo-filter-items)
6248 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6249 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6250 (todo-insert-category-line, todo-insert-item-from-calendar)
6251 (todo-insert-sort-button, todo-insert-with-overlays)
6252 (todo-insertion-command-name, todo-insertion-key-bindings)
6253 (todo-label-to-key, todo-longest-category-name-length)
6254 (todo-make-categories-list, todo-mode-external-set)
6255 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6256 (todo-modes-set-3, todo-multiple-filter-files)
6257 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6258 (todo-read-category, todo-read-date, todo-read-dayname)
6259 (todo-read-file-name, todo-read-time)
6260 (todo-reevaluate-category-completions-files-defcustom)
6261 (todo-reevaluate-default-file-defcustom)
6262 (todo-reevaluate-filelist-defcustoms)
6263 (todo-reevaluate-filter-files-defcustom)
6264 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6265 (todo-reset-done-separator, todo-reset-done-separator-string)
6266 (todo-reset-done-string, todo-reset-global-current-todo-file)
6267 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6268 (todo-reset-prefix, todo-set-categories)
6269 (todo-set-date-from-calendar, todo-set-show-current-file)
6270 (todo-set-top-priorities, todo-short-file-name)
6271 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6272 (todo-total-item-counts, todo-update-buffer-list)
6273 (todo-update-categories-display, todo-update-categories-sexp)
6274 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6275 New functions.
6276 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6277 New major modes.
6278 (todo-categories, todo-display, todo-edit, todo-faces)
6279 (todo-filtered): New defgroups.
6280 (todo-archived-only, todo-button, todo-category-string, todo-date)
6281 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6282 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6283 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6284 (todo-add-item-if-new-category, todo-always-add-time-string)
6285 (todo-categories-align, todo-categories-archived-label)
6286 (todo-categories-category-label, todo-categories-diary-label)
6287 (todo-categories-done-label, todo-categories-number-separator)
6288 (todo-categories-todo-label, todo-categories-totals-label)
6289 (todo-category-completions-files, todo-completion-ignore-case)
6290 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6291 (todo-done-separator-string, todo-done-string)
6292 (todo-files-function, todo-filter-done-items, todo-filter-files)
6293 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6294 (todo-initial-category, todo-initial-file, todo-item-mark)
6295 (todo-legacy-date-time-regexp, todo-mode-line-function)
6296 (todo-nondiary-marker, todo-number-prefix)
6297 (todo-print-buffer-function, todo-show-current-file)
6298 (todo-show-done-only, todo-show-first, todo-show-with-done)
6299 (todo-skip-archived-categories, todo-top-priorities-overrides)
6300 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6301 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6302 New defcustoms.
6303 (todo-category-done, todo-date-pattern, todo-date-string-start)
6304 (todo-diary-items-buffer, todo-done-string-start)
6305 (todo-filtered-items-buffer, todo-item-start)
6306 (todo-month-abbrev-array, todo-month-name-array)
6307 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6308 (todo-top-priorities-buffer): New defconsts.
6309 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6310 (todo-categories-with-marks, todo-category-string-face)
6311 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6312 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6313 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6314 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6315 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6316 (todo-font-lock-keywords, todo-global-current-todo-file)
6317 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6318 (todo-insertion-commands-args)
6319 (todo-insertion-commands-args-genlist)
6320 (todo-insertion-commands-names, todo-insertion-map)
6321 (todo-key-bindings-t, todo-key-bindings-t+a)
6322 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6323 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6324 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6325 (todo-visited): New variables.
6326
6327 2013-06-21 Glenn Morris <rgm@gnu.org>
6328
6329 * play/cookie1.el (cookie-apropos): Add optional display argument.
6330 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6331 (psychoanalyze-pinhead): Use cookie-doctor.
6332
6333 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6334
6335 * emacs-lisp/package.el (tar-get-file-descriptor)
6336 (tar--extract): Declare.
6337
6338 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6339
6340 Extend flymake's warning predicate to be a function (bug#14217).
6341 * progmodes/flymake.el (flymake-warning-predicate): New.
6342 (flymake-parse-line): Use it.
6343 (flymake-warning-re): Make obsolete alias to
6344 `flymake-warning-predicate'.
6345
6346 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6347
6348 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6349 (package-obsolete-list): Remove.
6350 (package-activate): Remove min-version argument. Add `force' argument.
6351 Adjust to new package-alist format.
6352 (package-mark-obsolete): Remove.
6353 (package-unpack): Force reload of the package's autoloads.
6354 (package-installed-p): Check builtins if the installed package is not
6355 recent enough.
6356 (package-initialize): Don't reset package-obsolete-list.
6357 Don't specify which package version to activate.
6358 (package-process-define-package, describe-package-1)
6359 (package-menu--generate): Adjust to new package-alist format.
6360
6361 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6362
6363 * allout-widgets.el (allout-widgets-mode-off)
6364 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6365 (allout-widgets-post-command-business)
6366 (allout-widgets-after-copy-or-kill-function)
6367 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6368 (allout-decorate-item-and-context)
6369 (allout-graphics-modification-handler): Fix typos in docstrings.
6370 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6371
6372 * cmuscheme.el (scheme-start-file): Doc fix.
6373 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6374 (scheme-input-filter): Use `string-match-p'.
6375
6376 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6377
6378 * dired-x.el: Use Dired consistently in docstrings.
6379
6380 * dired.el: Use Dired consistently in docstrings.
6381 (dired-readin, dired-mode): Use `setq-local'.
6382 (dired-switches-alist): Make defvar-local.
6383 (dired-buffers-for-dir): Use `zerop'.
6384 (dired-safe-switches-p, dired-switches-escape-p)
6385 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6386 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6387 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6388 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6389 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6390 (dired-toggle-marks, dired-mark-files-containing-regexp)
6391 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6392 (dired-flag-auto-save-files, dired-flag-backup-files):
6393 Use `looking-at-p'.
6394 (dired-mark-files-regexp, dired-build-subdir-alist):
6395 Use `string-match-p', `looking-at-p'.
6396
6397 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6398 (direct-print-region-helper): Use `string-match-p'.
6399
6400 2013-06-21 Leo Liu <sdl.web@gmail.com>
6401
6402 * comint.el (comint-redirect-results-list-from-process):
6403 Fix infinite loop.
6404
6405 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6406
6407 * net/eww.el (eww-update-header-line-format): Quote % characters.
6408
6409 2013-06-21 Glenn Morris <rgm@gnu.org>
6410
6411 * play/cookie1.el (cookie): New custom group.
6412 (cookie-file): New option.
6413 (cookie-check-file): New function.
6414 (cookie): Make it interactive. Make start and end messages optional.
6415 Interactively, display the result. Default to cookie-file.
6416 (cookie-insert): Default to cookie-file.
6417 (cookie-snarf): Make start and end messages optional.
6418 Default to cookie-file. Use with-temp-buffer.
6419 (cookie-read): Rename from read-cookie.
6420 Make start and end messages optional. Default to cookie-file.
6421 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6422 Do not autoload it.
6423 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6424 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6425
6426 2013-06-21 Leo Liu <sdl.web@gmail.com>
6427
6428 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6429
6430 2013-06-21 Glenn Morris <rgm@gnu.org>
6431
6432 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6433
6434 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6435 Daniel Hackney <dan@haxney.org>
6436
6437 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6438 Consolidate the single-file vs tarball code.
6439 (package-desc-suffix): New function.
6440 (package-desc-full-name): Don't bother inlining it.
6441 (package-load-descriptor): Return the new package-desc.
6442 (package-mark-obsolete): Remove unused arg `package'.
6443 (package-unpack): Make it work for single files as well.
6444 Make it update package-alist.
6445 (package--make-autoloads-and-stuff): Rename from
6446 package--make-autoloads-and-compile. Don't compile any more.
6447 (package--compile): New function.
6448 (package-generate-description-file): New function, extracted from
6449 package-unpack-single.
6450 (package-unpack-single): Remove.
6451 (package--with-work-buffer): Add indentation and debugging info.
6452 (package-download-single): Remove.
6453 (package-install-from-archive): Rename from package-download-tar, make
6454 it take a pkg-desc, and make it work for single files as well.
6455 (package-download-transaction): Simplify.
6456 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6457 external tar program.
6458 (package-install-from-buffer): Remove `pkg-desc' argument.
6459 Use package-tar-file-info for tar-mode buffers.
6460 (package-install-file): Simplify accordingly.
6461 (package-archive-base): Change to take a pkg-desc.
6462 * tar-mode.el (tar--check-descriptor): New function, extracted from
6463 tar-get-descriptor.
6464 (tar-get-descriptor): Use it.
6465 (tar-get-file-descriptor): New function.
6466 (tar--extract): New function, extracted from tar-extract.
6467 (tar--extract): Use it.
6468 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6469 case the summary uses non-ascii. Adjust to new calling convention of
6470 package-tar-file-info.
6471
6472 2013-06-21 Leo Liu <sdl.web@gmail.com>
6473
6474 * comint.el (comint-redirect-results-list-from-process):
6475 Fix random delay. (Bug#14681)
6476
6477 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6478
6479 * profiler.el (profiler-format-number): Use log, not log10.
6480
6481 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6482
6483 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6484
6485 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6486
6487 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6488 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6489 yet available.
6490 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6491 (AUTOGENEL): ... here.
6492 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6493 (cl--defsubst-expand): Use it.
6494
6495 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6496
6497 * subr.el (log10): Move here from C code, and declare as obsolete.
6498 All uses of (log10 X) replaced with (log X 10).
6499
6500 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6501
6502 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6503 Declare with `defvar-local'.
6504 (tabulated-list-use-header-line, tabulated-list-entries)
6505 (tabulated-list-padding, tabulated-list-printer)
6506 (tabulated-list-sort-key): Declare with `defvar-local'.
6507 (tabulated-list-init-header, tabulated-list-print-fake-header):
6508 Use `setq-local'.
6509
6510 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6511
6512 * arc-mode.el (archive-mode): Add `archive-write-file' to
6513 `write-contents-functions' also for remote files. (Bug#14652)
6514
6515 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6516
6517 * cus-edit.el (custom-commands): Fix typos.
6518 (custom-display): Fix tooltip text.
6519 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6520 Fix typos in docstrings.
6521 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6522 (custom-unlispify-menu-entry, custom-magic-value-create)
6523 (custom-add-see-also, custom-group-value-create): Use ?\s.
6524 (custom-guess-type, customize-apropos, editable-field)
6525 (custom-face-value-create): Use `string-match-p'.
6526 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6527
6528 * custom.el (custom-load-symbol): Use `string-match-p'.
6529
6530 * ansi-color.el: Convert to lexical binding.
6531 (ansi-colors): Fix URL.
6532 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6533 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6534 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6535
6536 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6537
6538 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6539
6540 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6541
6542 2013-06-19 Tom Tromey <tromey@redhat.com>
6543
6544 * net/eww.el (eww-top-url): Remove.
6545 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6546 (eww-render): Set new variables. Don't set eww-top-url.
6547 (eww-handle-link): Handle "prev", "home", and "contents".
6548 Downcase the rel text.
6549 (eww-top-url): Choose best top URL.
6550
6551 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6552
6553 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6554 relying in widget.el. Using widget.el leads to too many
6555 user interface inconsistencies.
6556 (eww-self-insert): Implement entering commands in text fields.
6557 (eww-process-text-input): New function to make text input field editing
6558 work.
6559 (eww-submit): Rewrite to use the new-style form methods.
6560 (eww-select-display): Display the correct selected item.
6561 (eww-change-select): Implement changing the select value.
6562 (eww-toggle-checkbox): Implement radio/checkboxes.
6563 (eww-update-field): Fix compilation error.
6564 (eww-tag-textarea): Implement <textarea>.
6565
6566 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6567 we don't shadow mode-specific bindings.
6568
6569 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6570 nothing to push.
6571
6572 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6573
6574 2013-06-19 Glenn Morris <rgm@gnu.org>
6575
6576 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6577
6578 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6579
6580 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6581 not needed.
6582
6583 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6584
6585 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6586
6587 * net/browse-url.el (browse-url-browser-function):
6588 `eww-browse-url' has the right calling signature, `eww' does not.
6589
6590 2013-06-19 Glenn Morris <rgm@gnu.org>
6591
6592 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6593 Only eval autoloaded macros.
6594 (byte-compile-autoload): Only give the macro warning for macros.
6595
6596 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6597 (ps-underlined-faces): Declare.
6598
6599 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6600 (speedbar-add-supported-extension): Declare.
6601
6602 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6603 Don't include a date stamp in the header of the generated file;
6604 it leads to needless differences between output files.
6605
6606 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6607
6608 * net/secrets.el (secrets-struct-secret-content-type):
6609 Replace check of introspection data by a test call of "CreateItem".
6610 Some servers do not offer introspection.
6611
6612 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * electric.el (electric-pair-mode): Improve interaction with
6615 electric-layout-mode.
6616 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6617 (electric-pair-syntax): Use text-mode-syntax-table in comments
6618 and strings.
6619 (electric-pair--insert): New function.
6620 (electric-pair-post-self-insert-function): Use it and
6621 electric--after-char-pos.
6622
6623 2013-06-19 Leo Liu <sdl.web@gmail.com>
6624
6625 * progmodes/octave.el (octave-help): Fix regexp.
6626
6627 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6628
6629 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6630 (shr-table-horizontal-line): Allow nil as a value, and change the
6631 default.
6632 (shr-insert-table-ruler): Respect the nil value.
6633
6634 2013-06-18 Tom Tromey <tromey@barimba>
6635
6636 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6637 New defvars.
6638 (eww-open-file): New defun.
6639 (eww-render): Initialize new variables.
6640 (eww-display-html): Handle "link" and "a".
6641 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6642 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6643 (eww-back-url): Rename from eww-previous-url.
6644 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6645 New defuns.
6646
6647 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6648
6649 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6650 Distinguish ternary operator tokens from slash symbol and slash
6651 char literal.
6652
6653 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6654
6655 Convert symbol prettification into minor mode and global minor mode.
6656
6657 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6658 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6659 (prettify-symbols--keywords): Rename from
6660 `prog-prettify-symbols-alist' and make a local defvar.
6661 (prettify-symbols--compose-symbol): Rename from
6662 `prog--prettify-font-lock-compose-symbol'.
6663 (prettify-symbols--make-keywords): Rename from
6664 `prog-prettify-font-lock-symbols-keywords' and simplify.
6665 (prog-prettify-install): Remove.
6666 (prettify-symbols-mode): New minor mode, based on
6667 `prog-prettify-install'.
6668 (turn-on-prettify-symbols-mode): New function.
6669 (global-prettify-symbols-mode): New globalized minor mode.
6670
6671 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6672 * progmodes/cfengine.el (cfengine3-mode):
6673 * progmodes/perl-mode.el (perl-mode): Don't call
6674 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6675
6676 2013-06-18 Juri Linkov <juri@jurta.org>
6677
6678 * files-x.el (modify-file-local-variable-message): New function.
6679 (modify-file-local-variable)
6680 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6681 and call `modify-file-local-variable-message' when it's non-nil.
6682 (add-file-local-variable, delete-file-local-variable)
6683 (add-file-local-variable-prop-line)
6684 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6685 and use it. (Bug#9820)
6686
6687 2013-06-18 Juri Linkov <juri@jurta.org>
6688
6689 * emulation/vi.el (vi-shell-op):
6690 * emulation/vip.el (vip-execute-com, ex-command):
6691 * emulation/viper-cmd.el (viper-exec-bang):
6692 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6693 the call of `shell-command-on-region'. (Bug#14637)
6694
6695 * simple.el (shell-command-on-region): Doc fix.
6696
6697 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6698
6699 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6700 (bug#14633).
6701
6702 2013-06-18 Glenn Morris <rgm@gnu.org>
6703
6704 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6705
6706 * newcomment.el (comment-search-forward, comment-search-backward):
6707 Doc fix. (Bug#14376)
6708
6709 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6710
6711 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6712 (buffer-face-mode-invoke): Doc fix.
6713
6714 2013-06-18 Matthias Meulien <orontee@gmail.com>
6715
6716 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6717 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6718
6719 2013-06-18 Glenn Morris <rgm@gnu.org>
6720
6721 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6722 Replace obsolete function generic-make-keywords with its expansion.
6723
6724 * progmodes/python.el (ffap-alist): Declare.
6725
6726 * textmodes/reftex.el (bibtex-mode-map): Declare.
6727
6728 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6729
6730 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6731 (package-unpack, package-unpack-single): Return the pkg-dir.
6732 (package-download-transaction): Use it to update package-alist.
6733
6734 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6735
6736 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6737 possible choice.
6738
6739 2013-06-17 Juri Linkov <juri@jurta.org>
6740
6741 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6742
6743 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6744
6745 * emacs-lisp/package.el (package-load-descriptor):
6746 Remove `with-syntax-table' call, `read' doesn't need it.
6747 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6748
6749 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6750
6751 * startup.el (command-line): Expand package name returned by
6752 `package--description-file' (bug#14639).
6753
6754 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6755
6756 * emacs-lisp/package.el (package-load-descriptor): Do not call
6757 `emacs-lisp-mode', just use its syntax table.
6758
6759 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6760
6761 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6762 `font-lock-extra-managed-props' if any prettifying keyword is added.
6763 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6764 (prog-mode): Use `setq-local'.
6765
6766 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6767
6768 * international/characters.el (standard-case-table): Set syntax of ?»
6769 and ?« to punctuation.
6770
6771 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6772
6773 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6774 Save relevant match data before calling `syntax-ppss' (bug#14595).
6775
6776 2013-06-15 Juri Linkov <juri@jurta.org>
6777
6778 * files-x.el (modify-file-local-variable-prop-line): Add local
6779 variables to the end of the existing comment on the first line.
6780 Use `file-auto-mode-skip' to skip interpreter magic line,
6781 and also skip XML declaration.
6782
6783 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6784
6785 * startup.el (package--builtin-versions): New var.
6786 (package-subdirectory-regexp): Remove.
6787 (package--description-file): Hard code its value instead.
6788
6789 * emacs-lisp/package.el: Don't activate packages older than builtin.
6790 (package-obsolete-list): Rename from package-obsolete-alist, and make
6791 it into a simple list of package-desc.
6792 (package-strip-version): Remove.
6793 (package-built-in-p): Use package--builtin-versions.
6794 (package-mark-obsolete): Simplify.
6795 (package-process-define-package): Mark it obsolete if older than the
6796 builtin version.
6797 (package-handle-response): Use line-end-position.
6798 (package-read-archive-contents, package--download-one-archive):
6799 Simplify.
6800 (package--add-to-archive-contents): Skip if older than the builtin or
6801 installed version.
6802 (package-menu-describe-package): Fix last change.
6803 (package-list-unversioned): New var.
6804 (package-menu--generate): Use it.
6805
6806 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6807 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6808 (autoload-builtin-package-versions): New variable.
6809 (autoload-generate-file-autoloads): Use them.
6810 Remove the list of autoloaded functions/macros from the
6811 (autoload...) comments.
6812
6813 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6814
6815 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6816
6817 * simple.el (line-move-partial): Don't jump to the next screen
6818 line as soon as it becomes visible. Instead, continue enlarging
6819 the vscroll until the portion of a tall screen line that's left on
6820 display is about the height of the frame's default font.
6821 (Bug#14567)
6822
6823 2013-06-15 Glenn Morris <rgm@gnu.org>
6824
6825 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6826 compilation-error-regexp-alist void, or local while let-bound.
6827
6828 * progmodes/make-mode.el (makefile-mode-syntax-table):
6829 Treat "=" as punctuation. (Bug#14614)
6830
6831 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6832
6833 * help-fns.el (describe-variable):
6834 Add extra line for permanent-local variables.
6835
6836 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6837
6838 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6839 Add export, import, library. (Bug#9164)
6840 (library): Set indent function.
6841
6842 2013-06-14 Glenn Morris <rgm@gnu.org>
6843
6844 * term/xterm.el (xterm--query):
6845 Stop after first matching handler. (Bug#14615)
6846
6847 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6848
6849 Add support for dired in saveplace.
6850 * dired.el (dired-initial-position-hook): New variable.
6851 (dired-initial-position): Call hook to place cursor position.
6852 * saveplace.el (save-place-to-alist): Add dired position.
6853 (save-place-dired-hook): New function.
6854
6855 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6856
6857 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6858 through a symbol rather than letrec.
6859
6860 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6861 (package-desc): Add `dir' field.
6862 (package-desc-full-name): New function.
6863 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6864 (package-maybe-load-descriptor): Remove.
6865 (package-load-all-descriptors): Just call package-load-descriptor.
6866 (package--disabled-p): New function.
6867 (package-desc-vers, package-desc-doc): Remove aliases.
6868 (package--dir): Remove function.
6869 (package-activate): Check if a package is disabled.
6870 (package-process-define-package): New function, extracted from
6871 define-package.
6872 (define-package): Turn into a place holder.
6873 (package-unpack-single, package-tar-file-info):
6874 Use package--description-file.
6875 (package-compute-transaction): Use package--disabled-p.
6876 (package-download-transaction): Don't call
6877 package-maybe-load-descriptor since they're all loaded anyway.
6878 (package-install): Change argument to be a pkg-desc.
6879 (package-delete): Use a single pkg-desc argument.
6880 (describe-package-1): Use package-desc-dir instead of package--dir.
6881 Use package-desc property instead of package-symbol.
6882 (package-install-button-action): Adjust accordingly.
6883 (package--push): Rewrite.
6884 (package-menu--print-info): Adjust accordingly. Change the ID format
6885 to be a pkg-desc.
6886 (package-menu-describe-package, package-menu-get-status)
6887 (package-menu--find-upgrades, package-menu-mark-upgrades)
6888 (package-menu-execute, package-menu--name-predicate):
6889 Adjust accordingly.
6890 * startup.el (package--description-file): New function.
6891 (command-line): Use it.
6892 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6893 Use package-desc-version.
6894
6895 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6896 (byte-compile-preprocess): Use it.
6897 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6898 can't quite recognize.
6899 (byte-compile-add-to-list): Remove.
6900 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6901 (cconv-closure-convert): Add assertion.
6902
6903 * emacs-lisp/map-ynp.el: Use lexical-binding.
6904 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6905 Factor out some repeated code.
6906
6907 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6908
6909 * subr.el (with-eval-after-load): New macro.
6910 (eval-after-load): Allow form to be a function.
6911 take advantage of lexical-binding.
6912 (do-after-load-evaluation): Use dolist and adjust to new format.
6913 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6914
6915 2013-06-13 Juri Linkov <juri@jurta.org>
6916
6917 * replace.el (perform-replace): Display "symbol " and other search
6918 modes from `isearch-message-prefix' in the *Help* buffer.
6919
6920 * isearch.el (isearch-query-replace): Add " symbol" and other
6921 possible search modes from `isearch-message-prefix' to the prompt.
6922 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6923 when reading a regexp to collect.
6924
6925 2013-06-13 Juri Linkov <juri@jurta.org>
6926
6927 * isearch.el (word-search-regexp): Match whitespace if the search
6928 string begins or ends in whitespace. The LAX arg is applied to
6929 both ends of the search string. Use `regexp-quote' and explicit
6930 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6931 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6932 boundaries are replaced with symbol boundaries, and characters
6933 between symbols match non-word non-symbol syntax. (Bug#14602)
6934
6935 2013-06-13 Juri Linkov <juri@jurta.org>
6936
6937 * isearch.el (isearch-del-char): Don't exceed the length of
6938 `isearch-string' by the prefix arg. (Bug#14563)
6939
6940 2013-06-13 Juri Linkov <juri@jurta.org>
6941
6942 * isearch.el (isearch-yank-word, isearch-yank-line)
6943 (isearch-char-by-name, isearch-quote-char)
6944 (isearch-printing-char, isearch-process-search-char):
6945 Add optional count prefix arg. (Bug#14563)
6946
6947 * international/isearch-x.el
6948 (isearch-process-search-multibyte-characters):
6949 Add optional count prefix arg.
6950
6951 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6952
6953 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6954 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6955 lexical-binding.
6956
6957 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6958
6959 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6960
6961 2013-06-13 Glenn Morris <rgm@gnu.org>
6962
6963 * startup.el (tty-handle-args):
6964 Don't just discard "--" and anything after. (Bug#14608)
6965
6966 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6967
6968 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6969
6970 Implement changes in Secret Service API. Make it backward compatible.
6971 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6972 (secrets-create-item): Use it. Prefix properties with interface.
6973
6974 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6975
6976 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6977 (term-emulate-terminal): Respect term-suppress-hard-newline.
6978
6979 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6980
6981 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6982 Only remove a `thumb-file' overlay. (Bug#14548)
6983
6984 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6985
6986 * mail/reporter.el (reporter-submit-bug-report):
6987 Handle missing package-name. (Bug#14600)
6988
6989 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6990
6991 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6992 (reftex-citation-prompt, reftex-default-bibliography)
6993 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6994 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6995 (reftex-bib-sort-author, reftex-bib-sort-year)
6996 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6997 (reftex-extract-bib-entries-from-thebibliography)
6998 (reftex-get-bibkey-default, reftex-get-bib-names)
6999 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7000 (reftex-format-bib-entry, reftex-parse-bibitem)
7001 (reftex-format-bibitem, reftex-do-citation)
7002 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7003 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7004 (reftex-insert-bib-matches, reftex-format-citation)
7005 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7006 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7007 existing comments into docstrings.
7008
7009 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7010
7011 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7012
7013 2013-06-12 Andreas Schwab <schwab@suse.de>
7014
7015 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7016 for auto-save files.
7017
7018 2013-06-12 Glenn Morris <rgm@gnu.org>
7019
7020 * ido.el (ido-delete-ignored-files): Remove.
7021 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7022 Go back to calling ido-ignore-item-p directly.
7023
7024 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7025
7026 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7027
7028 * ido.el (ido-delete-ignored-files): New function,
7029 split from ido-make-file-list-1.
7030 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7031 (ido-make-file-list-1): Use ido-delete-ignored-files.
7032
7033 2013-06-12 Leo Liu <sdl.web@gmail.com>
7034
7035 * progmodes/octave.el (inferior-octave-startup)
7036 (inferior-octave-completion-table)
7037 (inferior-octave-track-window-width-change)
7038 (octave-eldoc-function-signatures, octave-help)
7039 (octave-find-definition): Use single quoted strings.
7040 (inferior-octave-startup-args): Change default value.
7041 (inferior-octave-startup): Do not hard code "-i" and
7042 "--no-line-editing".
7043 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7044 (inferior-octave-directory-tracker): Use it.
7045 (octave-goto-function-definition): Robustify.
7046 (octave-help): Support highlighting operators in 'See also'.
7047 (octave-find-definition): Find subfunctions only in Octave mode.
7048
7049 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7050
7051 * help-fns.el (help-fns--compiler-macro): If the handler function is
7052 named, then put a link to it.
7053 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7054 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7055 (cl-typep): Use it.
7056 (cl-eval-when): Simplify debug spec.
7057 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7058 compiler-macro function instead of setting `compiler-macro-file'.
7059
7060 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7061
7062 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7063 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7064
7065 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7066 Daniel Hackney <dan@haxney.org>
7067
7068 First part of Daniel Hackney's patch to package.el.
7069 * emacs-lisp/package.el: Use defstruct.
7070 (package-desc): New, main struct.
7071 (package--bi-desc, package--ac-desc): New structs, used to describe the
7072 format in external files.
7073 (package-desc-vers): Replace with package-desc-version accessor.
7074 (package-desc-doc): Replace with package-desc-summary accessor.
7075 (package-activate-1): Remove `package' arg since the pkg-vec now
7076 includes the name.
7077 (define-package): Use package-desc-from-define.
7078 (package-unpack-single): Change file-name arg to be a symbol.
7079 (package--add-to-archive-contents): Use package-desc-create and new
7080 accessor functions to package--ac-desc.
7081 (package-buffer-info, package-tar-file-info): Return a package-desc.
7082 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7083 arg to be a package-desc.
7084 (package-install-file): Adjust accordingly. Use \' to match EOS.
7085 (package--from-builtin): New function.
7086 (describe-package-1, package-menu--generate): Use it.
7087 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7088 (package-generate-autoloads): Idem and return the name of the file.
7089 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7090 Change pkg-info arg to be a package-desc.
7091 Use package-make-ac-desc.
7092 (package-upload-file): Use \' to match EOS.
7093 * finder.el (finder-compile-keywords): Use package-make-builtin.
7094
7095 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7096
7097 * vc/vc.el (vc-deduce-fileset): Change error message.
7098 (vc-read-backend): New function.
7099 (vc-next-action): Use it.
7100
7101 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7102
7103 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7104 (prolog-font-lock-keywords): Use regexp-opt instead.
7105 Don't manually highlight strings.
7106 (prolog-mode-variables): Simplify comment-start-skip.
7107 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7108
7109 * emacs-lisp/generic.el (generic--normalise-comments)
7110 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7111 (generic-mode-set-comments): Use them.
7112 (generic-bracket-support): Use setq-local.
7113 (generic-make-keywords-list): Declare obsolete.
7114
7115 2013-06-11 Glenn Morris <rgm@gnu.org>
7116
7117 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7118 Prettify after setting font-lock-defaults. (Bug#14574)
7119
7120 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7121
7122 * replace.el (query-replace, occur-read-regexp-defaults-function)
7123 (replace-search):
7124 * subr.el (declare-function, number-sequence, local-set-key)
7125 (substitute-key-definition, locate-user-emacs-file)
7126 (with-silent-modifications, split-string, eval-after-load):
7127 Fix typos, remove unneeded backslashes and reflow some docstrings.
7128
7129 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7130
7131 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7132 default for Elisp files.
7133
7134 2013-06-11 Glenn Morris <rgm@gnu.org>
7135
7136 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7137 although define-derived-mode was doing this anyway. (Bug#14583)
7138
7139 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7140
7141 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7142 Fix make-variable-buffer-local call to refer to the correct variable.
7143
7144 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7145
7146 * eshell/em-term.el (eshell-visual-commands)
7147 (eshell-visual-subcommands, eshell-visual-options):
7148 Add summary line to docstrings. Add cross-references.
7149
7150 2013-06-10 Glenn Morris <rgm@gnu.org>
7151
7152 * epa.el (epa-read-file-name): New function. (Bug#14510)
7153 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7154
7155 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7156
7157 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7158 output redirection to be ignored with visual commands.
7159
7160 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7161
7162 * eshell/em-term.el (eshell-visual-command-p): New function.
7163 (eshell-term-initialize): Move long lambda to separate function
7164 eshell-visual-command-p.
7165 * eshell/em-dirs.el (eshell-dirs-initialise):
7166 * eshell/em-script.el (eshell-script-initialize):
7167 Add missing #' to lambda.
7168
7169 2013-06-08 Leo Liu <sdl.web@gmail.com>
7170
7171 * progmodes/octave.el (octave-add-log-current-defun): New function.
7172 (octave-mode): Set add-log-current-defun-function.
7173 (octave-goto-function-definition): Do not move point if not found.
7174 (octave-find-definition): Enhance to try subfunctions first.
7175
7176 2013-06-08 Glenn Morris <rgm@gnu.org>
7177
7178 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7179 (byte-compile-backward-char, byte-compile-backward-word):
7180 Improve previous change, to handle non-explicit nil.
7181
7182 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7183
7184 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7185 (smie--opener/closer-at-point): New function.
7186 (smie--matching-block-data): Use it. Don't match from right after an
7187 opener or right before a closer. Obey smie-blink-matching-inners.
7188 Don't signal a mismatch for repeated inners like "switch..case..case".
7189
7190 2013-06-07 Leo Liu <sdl.web@gmail.com>
7191
7192 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7193 to t. (Bug#14303)
7194 (octave-function-header-regexp): Fix. (Bug#14570)
7195 (octave-help-mode-finish-hook, octave-help-mode-finish):
7196 Remove. Just use temp-buffer-show-hook.
7197
7198 * newcomment.el (comment-search-backward): Revert last change.
7199 (Bug#14434)
7200
7201 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7202
7203 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7204
7205 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7206 through xargs, to avoid failure due to MS-Windows limitations on
7207 command-line length.
7208
7209 2013-06-06 Glenn Morris <rgm@gnu.org>
7210
7211 * font-lock.el (lisp-font-lock-keywords-2):
7212 Treat user-error like error.
7213
7214 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7215 (byte-compile-backward-char, byte-compile-backward-word):
7216 Handle explicit nil arguments. (Bug#14565)
7217
7218 2013-06-05 Alan Mackenzie <acm@muc.de>
7219
7220 * isearch.el (isearch-allow-prefix): New user option.
7221 (isearch-other-meta-char): Don't exit isearch when a prefix
7222 argument is typed whilst `isearch-allow-prefix' is non-nil.
7223 (Bug#9706)
7224
7225 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7226
7227 * autorevert.el (auto-revert-notify-handler): Use memq.
7228 Hide assertion failure.
7229
7230 * skeleton.el: Use cl-lib.
7231 (skeleton-further-elements): Use defvar-local.
7232 (skeleton-insert): Use cl-progv.
7233
7234 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7235
7236 * progmodes/prog-mode.el (prog-prettify-symbols)
7237 (prog-prettify-install): Update docstrings.
7238
7239 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7240
7241 * simple.el: Move all the prog-mode code to prog-mode.el.
7242 * progmodes/prog-mode.el: New file.
7243 * loadup.el: Add prog-mode.el.
7244
7245 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7246
7247 * simple.el (prog-prettify-symbols): Add version.
7248 (prog-prettify-install): Add convenience function to prettify symbols.
7249
7250 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7251 (perl--augmented-font-lock-keywords-1)
7252 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7253 variables and use it.
7254
7255 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7256 (cfengine3-mode): Remove unneeded variable and use it.
7257
7258 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7259 (lisp--augmented-font-lock-keywords-1)
7260 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7261 Remove unneeded variables and use it.
7262
7263 2013-06-05 João Távora <joaotavora@gmail.com>
7264
7265 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7266 to point when opening the connection. (Bug#14380)
7267
7268 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7269
7270 * subr.el (load-history-regexp, load-history-filename-element)
7271 (eval-after-load, after-load-functions, do-after-load-evaluation)
7272 (eval-next-after-load, display-delayed-warnings)
7273 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7274 definition of save-match-data.
7275 (overriding-local-map): Remove accidental obsolescence declaration.
7276
7277 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7278
7279 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7280
7281 Generalize symbol prettify support to prog-mode and implement it
7282 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7283 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7284 (prog--prettify-font-lock-compose-symbol)
7285 (prog-prettify-font-lock-symbols-keywords): New variables and
7286 functions to support symbol prettification.
7287 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7288 (lisp--augmented-font-lock-keywords-1)
7289 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7290 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7291 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7292 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7293 Implement prettify of -> => :: strings.
7294 * progmodes/perl-mode.el (perl-prettify-symbols)
7295 (perl--font-lock-compose-symbol)
7296 (perl--font-lock-symbols-keywords): Move to prog-mode.
7297 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7298 (perl-font-lock-keywords-1)
7299 (perl-font-lock-keywords-2): Remove explicit prettify support.
7300 (perl--augmented-font-lock-keywords)
7301 (perl--augmented-font-lock-keywords-1)
7302 (perl--augmented-font-lock-keywords-2, perl-mode):
7303 Implement prettify support.
7304
7305 2013-06-05 Leo Liu <sdl.web@gmail.com>
7306
7307 Re-implement smie matching block highlight using
7308 show-paren-data-function. (Bug#14395)
7309 * emacs-lisp/smie.el (smie-matching-block-highlight)
7310 (smie--highlight-matching-block-overlay)
7311 (smie--highlight-matching-block-lastpos)
7312 (smie-highlight-matching-block)
7313 (smie-highlight-matching-block-mode): Remove.
7314 (smie--matching-block-data-cache): New variable.
7315 (smie--matching-block-data): New function.
7316 (smie-setup): Use smie--matching-block-data for
7317 show-paren-data-function.
7318
7319 * progmodes/octave.el (octave-mode-menu): Fix.
7320 (octave-find-definition): Skip garbage lines.
7321
7322 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 Fix compilation error with simultaneous dynamic+lexical scoping.
7325 Add warning when a defvar appears after the first let-binding.
7326 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7327 (byte-compile-close-variables): Initialize it.
7328 (byte-compile--declare-var): New function.
7329 (byte-compile-file-form-defvar)
7330 (byte-compile-file-form-define-abbrev-table)
7331 (byte-compile-file-form-custom-declare-variable): Use it.
7332 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7333 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7334 (byte-compile-bind): Handle dynamic bindings that shadow
7335 lexical bindings.
7336 (byte-compile-unbind): Make arg non-optional.
7337 (byte-compile-let): Simplify.
7338 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7339 (cconv--analyse-function, cconv-analyse-form): Populate it.
7340 Protect byte-compile-bound-variables to limit the scope of defvars.
7341 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7342 Remove unneeded rule for `declare'.
7343
7344 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7345 so as to avoid depending on cl-adjoin at run-time.
7346 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7347
7348 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7349 (macroexp--warn-and-return): Use it.
7350
7351 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7352
7353 * lisp/subr.el: Convert to lexical binding.
7354 (overriding-local-map): Make obsolete.
7355 (add-to-list): Doc fix. Add compiler macro.
7356 (read-key): Swap values of local maps.
7357
7358 2013-06-05 Leo Liu <sdl.web@gmail.com>
7359
7360 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7361
7362 2013-06-04 Leo Liu <sdl.web@gmail.com>
7363
7364 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7365 (compilation-auto-jump): Suppress the "Mark set" message to give
7366 way to exit message.
7367
7368 2013-06-04 Alan Mackenzie <acm@muc.de>
7369
7370 Remove faulty optimisation from indentation calculation.
7371 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7372 search limit based on 2000 characters back from indent-point.
7373
7374 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7375
7376 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7377
7378 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7379
7380 * emacs-lisp/lisp.el: Use lexical-binding.
7381 (lisp--local-variables-1, lisp--local-variables): New functions.
7382 (lisp--local-variables-completion-table): New var.
7383 (lisp-completion-at-point): Use it complete let-bound vars.
7384
7385 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7386 eagerly (bug#14422).
7387
7388 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7389
7390 * autorevert.el (auto-revert-notify-enabled)
7391 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7392 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7393 (auto-revert-notify-handler): Handle also gfilenotify.
7394
7395 * subr.el (file-notify-handle-event): New defun. Replacing ...
7396 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7397 Remove.
7398
7399 2013-06-03 Juri Linkov <juri@jurta.org>
7400
7401 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7402 `M-s h .'. (Bug#14427)
7403
7404 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7405 command `hi-lock-face-symbol-at-point'.
7406 (hi-lock-face-symbol-at-point): New command.
7407 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7408 (hi-lock-menu): Add `highlight-symbol-at-point'.
7409 (hi-lock-mode): Doc fix.
7410
7411 * isearch.el (isearch-forward-symbol-at-point): New command.
7412 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7413 (isearch-highlight-regexp): Add a regexp which matches
7414 words/symbols for word/symbol mode.
7415
7416 * subr.el (find-tag-default-bounds): New function with the body
7417 mostly moved from `find-tag-default'.
7418 (find-tag-default): Move most code to `find-tag-default-bounds',
7419 call it and apply `buffer-substring-no-properties' afterwards.
7420
7421 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7422
7423 * eshell/em-term.el (eshell-term-initialize):
7424 Use `cl-intersection' rather than `intersection'.
7425
7426 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7427
7428 * vc/log-view.el: Doc fix.
7429 (log-view-mode-map): Copy keymap from `special-mode-map'.
7430
7431 2013-06-02 Eric Ludlam <zappo@gnu.org>
7432
7433 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7434 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7435 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7436 (eieio-unbound, eieio-default-superclass)
7437 (eieio--define-field-accessors, method-static, method-before)
7438 (method-primary, method-after, method-num-lists)
7439 (method-generic-before, method-generic-primary)
7440 (method-generic-after, method-num-slots)
7441 (eieio-specialized-key-to-generic-key)
7442 (eieio--check-type, class-v, class-p)
7443 (eieio-class-name, define-obsolete-function-alias)
7444 (eieio-class-parents-fast, eieio-class-children-fast)
7445 (same-class-fast-p, class-constructor, generic-p)
7446 (generic-primary-only-p, generic-primary-only-one-p)
7447 (class-option-assoc, class-option, eieio-object-p)
7448 (class-abstract-p, class-method-invocation-order)
7449 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7450 (eieio-class-un-autoload, eieio-defclass)
7451 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7452 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7453 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7454 (eieio-defgeneric-reset-generic-form)
7455 (eieio-defgeneric-form-primary-only)
7456 (eieio-defgeneric-reset-generic-form-primary-only)
7457 (eieio-defgeneric-form-primary-only-one)
7458 (eieio-defgeneric-reset-generic-form-primary-only-one)
7459 (eieio-unbind-method-implementations)
7460 (eieio--defmethod, eieio--typep)
7461 (eieio-perform-slot-validation, eieio-validate-slot-value)
7462 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7463 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7464 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7465 (eieio-slot-name-index, eieio-class-slot-name-index)
7466 (eieio-set-defaults, eieio-initarg-to-attribute)
7467 (eieio-attribute-to-initarg, eieio-c3-candidate)
7468 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7469 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7470 (eieio-class-precedence-list, eieio-generic-call-methodname)
7471 (eieio-generic-call-arglst, eieio-generic-call-key)
7472 (eieio-generic-call-next-method-list)
7473 (eieio-pre-method-execution-functions, eieio-generic-call)
7474 (eieio-generic-call-primary-only, eieiomt-method-list)
7475 (eieiomt-optimizing-obarray, eieiomt-install)
7476 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7477 (eieio-generic-form, eieio-defmethod, make-obsolete)
7478 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7479 (defclass): Remove `eval-and-compile' from macro.
7480 (call-next-method, shared-initialize): Instead of using
7481 `scoped-class' variable, use new eieio--scoped-class, and
7482 eieio--with-scoped-class.
7483 (initialize-instance): Rename local variable 'scoped-class' to
7484 'this-class' to remove ambiguitity from old global.
7485
7486 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7487 eieio.el.
7488 (eieio--scoped-class-stack): New variable.
7489 (eieio--scoped-class): New fcn.
7490 (eieio--with-scoped-class): New scoping macro.
7491 (eieio-defclass): Use pushnew instead of add-to-list.
7492 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7493 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7494 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7495 `scoped-class' variable, use new eieio--scoped-class, and
7496 eieio--with-scoped-class.
7497
7498 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7499
7500 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7501
7502 * eshell/esh-ext.el (eshell-external-command): Pass args to
7503 `eshell-find-interpreter'.
7504 (eshell-find-interpreter): Add new second parameter ARGS.
7505
7506 * eshell/em-script.el (eshell-script-initialize): Add second arg
7507 to the function added as MATCH to `eshell-interpreter-alist'.
7508
7509 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7510 the function added as MATCH to `eshell-interpreter-alist'.
7511
7512 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7513 (eshell-visual-options): New defcustom.
7514 (eshell-escape-control-x): Adapt docstring.
7515 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7516 `eshell-visual-options' in addition to `eshell-visual-commands'.
7517 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7518
7519 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7520
7521 * progmodes/python.el (python-indent-block-enders): Add break,
7522 continue and raise keywords.
7523
7524 2013-06-01 Glenn Morris <rgm@gnu.org>
7525
7526 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7527
7528 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7529 * progmodes/cc-cmds.el (delete-forward-p):
7530 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7531 * progmodes/cc-engine.el (buffer-syntactic-context):
7532 * progmodes/cc-fonts.el (face-property-instance):
7533 * progmodes/cc-mode.el (set-keymap-parents):
7534 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7535 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7536 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7537 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7538 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7539
7540 * progmodes/cc-vars.el (other): Emacs has this widget since
7541 at least 21.1, so don't (re)define it.
7542
7543 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7544 Replace the obsolete alias pcomplete-arg-quote-list.
7545
7546 2013-06-01 Leo Liu <sdl.web@gmail.com>
7547
7548 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7549 punctuation syntax.
7550 (inferior-octave-minimal-columns)
7551 (inferior-octave-last-column-width): New variables.
7552 (inferior-octave-track-window-width-change): New function.
7553 (inferior-octave-mode): Adjust column width so that Octave output,
7554 for example from 'ls', can fit into the window nicely.
7555
7556 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7557
7558 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7559 Highlight expansions inside regexp literals.
7560
7561 2013-05-31 Glenn Morris <rgm@gnu.org>
7562
7563 * obsolete/sym-comp.el (symbol-complete):
7564 Replace obsolete completion-annotate-function.
7565
7566 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7567
7568 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7569
7570 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7571 New function, checks if point is inside a literal that allows
7572 expression expansion.
7573 (ruby-syntax-propertize-expansion): Use it.
7574 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7575 around the body.
7576
7577 2013-05-30 Juri Linkov <juri@jurta.org>
7578
7579 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7580 to "\M-si".
7581 (isearch-invisible): New variable.
7582 (isearch-forward): Doc fix.
7583 (isearch-mode): Set `isearch-invisible'
7584 to the value of `search-invisible'.
7585 (isearch-toggle-case-fold): Doc fix.
7586 (isearch-toggle-invisible): New command.
7587 (isearch-query-replace): Let-bind `search-invisible'
7588 to the value of `isearch-invisible'.
7589 (isearch-search): Use `isearch-invisible' instead of
7590 `search-invisible'. Let-bind `search-invisible'
7591 to the value of `isearch-invisible'. (Bug#11378)
7592
7593 2013-05-30 Juri Linkov <juri@jurta.org>
7594
7595 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7596 call when `query-flag' is nil and `search-invisible' is non-nil.
7597 (Bug#11746)
7598
7599 2013-05-30 Glenn Morris <rgm@gnu.org>
7600
7601 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7602
7603 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7604 (cc-require): Suppress spurious "noruntime" warnings.
7605 (cc-require-when-compile): Use fboundp, for sake of compiler.
7606
7607 * progmodes/cc-mode.el: Move load of cc-vars before that of
7608 cc-langs (which in turn loads cc-vars), to quieten compiler.
7609
7610 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7611
7612 * paren.el: Simplify the code.
7613 (show-paren-mode): Always start the timer.
7614 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7615 (show-paren--overlay, show-paren--overlay-1): Rename from
7616 show-paren-overlay and show-paren-overlay-1, and initialize to an
7617 overlay rather than to nil.
7618 (show-paren-function): Misc cleanup and simplifications.
7619
7620 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7621
7622 * paren.el (show-paren-data-function): New hook.
7623 (show-paren--default): New function, extracted from show-paren-function.
7624 (show-paren-function): Use show-paren-data-function.
7625
7626 2013-05-30 Glenn Morris <rgm@gnu.org>
7627
7628 * ielm.el (ielm-map, ielm-complete-symbol):
7629 Use completion-at-point rather than obsolete functions.
7630 (inferior-emacs-lisp-mode): Doc fix.
7631 Set completion-at-point-functions, rather than
7632 comint-dynamic-complete-functions.
7633
7634 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7635 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7636 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7637
7638 * image.el (image-animated-p): Tweak definition.
7639
7640 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7641 (rlogin-process-connection-type): Tweak default. Add set-after.
7642 (rlogin-host): Doc fix.
7643 (rlogin): Tweak prompt.
7644 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7645
7646 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7647 * progmodes/tcl.el (inferior-tcl-mode-map):
7648 Use completion-at-point rather than obsolete alias.
7649
7650 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7651
7652 * minibuffer.el (read-file-name-completion-ignore-case):
7653 Move before completion--in-region, for eager macro expansion.
7654
7655 2013-05-29 Juri Linkov <juri@jurta.org>
7656
7657 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7658 for total count of matching lines. Add `global-matches' for total
7659 count of matches. Rename `matches' to `lines' for count of
7660 matching lines. Add `matches' for count of matches.
7661 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7662 to `prev-line' for line number of prev match endpt.
7663 Increment `matches' for every match. Print the number of
7664 matching lines in the header.
7665 (occur-context-lines): Rename `lines' to `curr-line'.
7666 Rename `prev-lines' to `prev-line'. (Bug#14017)
7667
7668 2013-05-29 Juri Linkov <juri@jurta.org>
7669
7670 * replace.el (perform-replace): Add `skip-read-only-count',
7671 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7672 Increment them for corresponding conditions and report the number
7673 of skipped occurrences in the final message. (Bug#11746)
7674 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7675 (replace-string, replace-regexp): Doc fix.
7676
7677 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7678
7679 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7680
7681 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7682 prog-mode-map (bug#14504).
7683
7684 2013-05-29 Leo Liu <sdl.web@gmail.com>
7685
7686 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7687 (octave-help): Small simplification.
7688
7689 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7690 off the highlight first.
7691
7692 2013-05-29 Glenn Morris <rgm@gnu.org>
7693
7694 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7695 Handle idlwave-last-system-routine-info-cons-cell being nil.
7696
7697 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7698 (idlwave-write-paths): Simplify via with-temp-buffer.
7699
7700 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7701 * emulation/cua-rect.el: Also load cua-base at run time.
7702
7703 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7704 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7705 (cperl-imenu-on-info): Require imenu.
7706
7707 2013-05-28 Alan Mackenzie <acm@muc.de>
7708
7709 Handle "capitalised keywords" correctly.
7710 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7711
7712 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7713
7714 * eshell/em-unix.el: Add -r option to cp.
7715
7716 2013-05-28 Glenn Morris <rgm@gnu.org>
7717
7718 * vc/vc-arch.el (vc-exec-after): Declare.
7719 (vc-switches): Autoload.
7720 * vc/vc-bzr.el: No need to require vc when compiling.
7721 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7722 (vc-resynch-buffer, vc-dir-refresh): Declare.
7723 (vc-setup-buffer, vc-switches): Autoload.
7724 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7725 (vc-resynch-buffer): Declare.
7726 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7727 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7728 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7729 (grep-read-regexp, grep-read-files, grep-expand-template)
7730 (vc-dir-refresh): Declare.
7731 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7732 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7733 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7734 * vc/vc-mtn.el (vc-exec-after): Declare.
7735 (vc-switches): Autoload.
7736 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7737 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7738 (vc-file-tree-walk): Declare.
7739 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7740 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7741 (vc-tag-precondition, vc-rename-master): Autoload.
7742 * vc/vc-svn.el (vc-exec-after): Declare.
7743 (vc-switches, vc-setup-buffer): Autoload.
7744 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7745 Autoload.
7746 (vc-resynch-buffer): Declare.
7747
7748 * obsolete/fast-lock.el (byte-compile-warnings):
7749 Don't warn about obsolete features in this obsolete file.
7750
7751 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7752 Move definition before use.
7753
7754 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7755 (dun-unix-verbs): Remove dun-zippy.
7756 (dun-zippy): Remove function.
7757
7758 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7759
7760 2013-05-27 Juri Linkov <juri@jurta.org>
7761
7762 * replace.el (replace-search): New function with code moved out
7763 from `perform-replace'.
7764 (replace-highlight, replace-dehighlight): Move function definitions
7765 up closer to `replace-search'. (Bug#11746)
7766
7767 2013-05-27 Juri Linkov <juri@jurta.org>
7768
7769 * replace.el (perform-replace): Ignore invisible matches.
7770 In addition to checking `query-replace-skip-read-only', also
7771 filter out matches by calling `run-hook-with-args-until-failure'
7772 on `isearch-filter-predicates', and also check `search-invisible'
7773 for t or call `isearch-range-invisible'.
7774 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7775
7776 2013-05-27 Juri Linkov <juri@jurta.org>
7777
7778 * isearch.el (isearch-filter-predicates): Rename from
7779 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7780 (isearch-message-prefix): Display text from the property
7781 `isearch-message-prefix' of the currently active filters.
7782 (isearch-search): Don't compare `isearch-filter-predicate' with
7783 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7784 on `isearch-filter-predicates'. Also check `search-invisible' for t
7785 or call `isearch-range-invisible'.
7786 (isearch-filter-visible): Make obsolete.
7787 (isearch-lazy-highlight-search):
7788 Call `run-hook-with-args-until-failure' on
7789 `isearch-filter-predicates' and use `isearch-range-invisible'.
7790
7791 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7792 `isearch-filter-predicates' instead of `funcall'ing
7793 `isearch-filter-predicate'.
7794 (Info-mode): Set `Info-isearch-filter' to
7795 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7796
7797 * dired-aux.el (dired-isearch-filter-predicate-orig):
7798 Remove variable.
7799 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7800 (dired-isearch-filenames-end): Add and remove
7801 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7802 instead of changing the value of `isearch-filter-predicate'.
7803 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7804 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7805 Put property `isearch-message-prefix' to "filename " on
7806 `dired-isearch-filter-filenames'.
7807
7808 * wdired.el (wdired-change-to-wdired-mode):
7809 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7810 locally instead of changing `isearch-filter-predicate'.
7811 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7812
7813 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7814
7815 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7816 return the commit hash (Bug#14459). Also set the
7817 `vc-git-detached' property.
7818 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7819 (vc-git-mode-line-string): Use the same help-echo format whether
7820 in detached mode or not, because we know the actual revision now.
7821 When in detached mode, shorten the revision to 7 chars.
7822
7823 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7824
7825 * emacs-lisp/easy-mmode.el (define-minor-mode):
7826 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7827 mode hook and provide a docstring.
7828
7829 2013-05-27 Alan Mackenzie <acm@muc.de>
7830
7831 Remove spurious syntax-table text properties inserted by C-y.
7832 * progmodes/cc-mode.el (c-after-change): Also clear hard
7833 syntax-table property with value nil.
7834
7835 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7836
7837 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7838 when reading the events; the buffer layout shall not be changed.
7839
7840 2013-05-27 Leo Liu <sdl.web@gmail.com>
7841
7842 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7843 New variable.
7844 (inferior-octave-directory-tracker): Automatically re-sync
7845 default-directory.
7846 (octave-help): Improve handling of 'See also'.
7847
7848 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7849
7850 * doc-view.el: Minor naming convention tweaks.
7851 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7852
7853 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7854 even if there's no `display' property yet (bug#14435).
7855
7856 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7857
7858 * subr.el (unmsys--file-name): Rename from reveal-filename.
7859
7860 * Makefile.in (custom-deps, finder-data, autoloads)
7861 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7862 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7863 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7864
7865 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7866
7867 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7868 error-completion on the first 2 args of condition-case (bug#14446).
7869 Don't burp at EOB.
7870
7871 2013-05-25 Leo Liu <sdl.web@gmail.com>
7872
7873 * comint.el (comint-previous-matching-input): Do not flood the
7874 *Messages* buffer with trivial messages.
7875
7876 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7877
7878 * progmodes/flymake.el (flymake-nop): Don't return a string.
7879 (flymake-set-at): Fix typo.
7880
7881 * simple.el (read--expression): New function, extracted from
7882 eval-expression. Set completion-at-point-functions (bug#14465).
7883 (eval-expression, eval-minibuffer): Use it.
7884
7885 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7886
7887 * progmodes/flymake.el (flymake-save-buffer-in-file)
7888 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7889 (flymake-selected-frame, flymake-log, flymake-ins-after)
7890 (flymake-set-at, flymake-get-buildfile-from-cache)
7891 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7892 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7893 Refine the doc string.
7894 (flymake-get-file-name-mode-and-masks): Reformat.
7895 (flymake-get-real-file-name-function): Fix a minor bug.
7896
7897 2013-05-24 Juri Linkov <juri@jurta.org>
7898
7899 * progmodes/grep.el (grep-mode-font-lock-keywords):
7900 Support =linenumber= format used by git-grep for lines with
7901 function names. (Bug#13549)
7902
7903 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7906 0 after a semi-colon; it works better for smie-auto-fill.
7907 (octave--indent-new-comment-line): New function.
7908 (octave-indent-new-comment-line): Use it (indirectly).
7909 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7910 modify comment-line-break-function.
7911
7912 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7913 (smie-setup): Use add-function to set it.
7914
7915 2013-05-24 Sam Steingold <sds@gnu.org>
7916
7917 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7918 argument (before the `interactive' argument).
7919
7920 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7921
7922 * image-mode.el (image-mode-winprops): Add winprops to
7923 image-mode-winprops-alist before running
7924 image-mode-new-window-functions.
7925 * doc-view.el (doc-view-new-window-function): Don't delay
7926 doc-view-goto-page via timers (bug#14435).
7927
7928 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7929
7930 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7931 (doc-view-desktop-save-buffer): New function.
7932 (doc-view-restore-desktop-buffer): New function.
7933 (desktop-buffer-mode-handlers):
7934 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7935 handler.
7936 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7937 `desktop-save-buffer' function.
7938
7939 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7940
7941 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7942 (tramp-gvfs-file-name-handler): Raise a user error when
7943 `tramp-gvfs-enabled' is nil.
7944 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7945 Do not raise a user error when loading package. (Bug#14447)
7946
7947 * net/xesam.el: Move to obsolete/.
7948
7949 2013-05-24 Glenn Morris <rgm@gnu.org>
7950
7951 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7952
7953 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7954
7955 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7956 (Info-find-node, Man-getpage-in-background): Declare.
7957
7958 * mail/unrmail.el (unrmail):
7959 Replace obsolete detect-coding-with-priority.
7960
7961 * net/socks.el (socks-split-string): Use this rather than split-string.
7962 (socks-nslookup-host): Update for above change.
7963 (dynamic-choice, s5-dynamic-choice-match)
7964 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7965 Comment out unused code.
7966
7967 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7968 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7969 (gud-tooltip-echo-area): Make obsolete.
7970 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7971
7972 * progmodes/js.el (js--optimize-arglist): Declare.
7973
7974 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7975
7976 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7977 (ediff-window-C): Declare.
7978
7979 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7980 Tweak requires to silence compiler.
7981
7982 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7983 (he-search-string, he-tried-table, he-expand-list)
7984 (he-init-string, he-string-member, he-substitute-string)
7985 (he-reset-string): Declare.
7986
7987 * obsolete/options.el (list-options): Use custom-variable-p,
7988 rather than obsolete alias.
7989
7990 2013-05-23 Sam Steingold <sds@gnu.org>
7991
7992 * simple.el (shell-command-on-region): Pass the `replace' argument
7993 down to `call-process-region' to comply with the doc as reported on
7994 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7995
7996 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7997
7998 * emacs-lisp/smie.el (smie-indent-forward-token)
7999 (smie-indent-backward-token): Handle string tokens (bug#14381).
8000
8001 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8002
8003 * ielm.el (ielm-menu): New menu.
8004 (inferior-emacs-lisp-mode): Set comment-start.
8005
8006 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8007
8008 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8009 Fix deactivate action.
8010
8011 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8012 Add cleveref macros.
8013
8014 * lisp/textmodes/reftex-parse.el
8015 (reftex-locate-bibliography-files): Accept options for
8016 bibliography commands.
8017 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8018 Add addbibresource. Basic Biblatex support.
8019
8020 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8021
8022 * net/tramp-gvfs.el (top):
8023 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8024 when loading package. (Bug#14447)
8025
8026 2013-05-23 Glenn Morris <rgm@gnu.org>
8027
8028 * progmodes/js.el: No need to load comint when compiling.
8029 (ring-insert, comint-send-string, comint-send-input)
8030 (comint-last-input-end, ido-chop): Declare.
8031
8032 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8033 * vc/ediff-mult.el: Adjust requires.
8034 (ediff-directories-internal, ediff-directory-revisions-internal)
8035 (ediff-patch-file-internal): Declare.
8036 * vc/ediff-ptch.el: Adjust requires.
8037 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8038 (ediff-find-file): Autoload.
8039 * vc/ediff-util.el: No need to load ediff when compiling.
8040 (ediff-regions-internal): Declare.
8041 * vc/ediff-wind.el: Adjust requires.
8042 (ediff-compute-toolbar-width): Define when compiling.
8043 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8044 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8045 (dired-get-filename, dired-get-marked-files)
8046 (ediff-last-dir-patch, ediff-patch-default-directory)
8047 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8048 (ediff-patch-buffer-internal): Declare.
8049
8050 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8051 (ispell-process, ispell-buffer-local-words, lm-summary)
8052 (lm-section-start, lm-section-end): Declare.
8053 (checkdoc-ispell-init): Simplify.
8054
8055 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8056 (he-string-member, he-reset-string, he-substitute-string): Declare.
8057
8058 * eshell/em-ls.el: Adjust requires.
8059 (eshell-glob-regexp): Declare.
8060 * eshell/em-tramp.el: Adjust requires.
8061 (eshell-parse-command): Autoload.
8062 * eshell/em-xtra.el: Adjust requires.
8063 (eshell-parse-command): Autoload.
8064 * eshell/esh-ext.el: Adjust requires.
8065 (eshell-parse-command, eshell-close-handles): Autoload.
8066 * eshell/esh-io.el: Adjust requires.
8067 (eshell-output-filter): Autoload.
8068 * eshell/esh-util.el: No need to load tramp when compiling.
8069 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8070 Declare.
8071 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8072 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8073 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8074 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8075 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8076 * eshell/esh-opt.el, eshell/esh-proc.el:
8077 * eshell/esh-var.el: Adjust requires.
8078 * eshell/eshell.el: Do not require esh-util twice.
8079 (eshell-add-input-to-history): Declare.
8080 (eshell-command): Check history module is active before using it.
8081
8082 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8083
8084 2013-05-22 Leo Liu <sdl.web@gmail.com>
8085
8086 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8087
8088 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8089
8090 * autorevert.el (auto-revert-notify-add-watch)
8091 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8092 it indicates changes in file modification time.
8093
8094 2013-05-22 Glenn Morris <rgm@gnu.org>
8095
8096 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8097 Always delete the autoloaded function from the noruntime and
8098 unresolved functions lists.
8099
8100 * allout.el: No need to load epa, epg, overlay when compiling.
8101 (epg-context-set-passphrase-callback, epg-list-keys)
8102 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8103 (epg-key-user-id-list): Declare.
8104
8105 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8106 (viper-set-parsing-style-toggling-macro)
8107 (viper-set-emacs-state-searchstyle-macros):
8108 Use called-interactively-p on Emacs.
8109 (viper-looking-back): Make it an obsolete alias. Update callers.
8110 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8111 Use looking-back rather than viper-looking-back.
8112 (viper-tmp-insert-at-eob, viper-enlarge-region)
8113 (viper-read-string-with-history, viper-register-to-point)
8114 (viper-append-to-register, viper-change-state-to-vi)
8115 (viper-backward-char-carefully, viper-forward-char-carefully)
8116 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8117 (viper-change-state-to-emacs): Declare.
8118 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8119 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8120 * emulation/viper-mous.el: Do not load viper-cmd.
8121 (viper-backward-char-carefully, viper-forward-char-carefully)
8122 (viper-forward-word, viper-adjust-window): Declare.
8123
8124 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8125
8126 * progmodes/idlw-help.el (idlwave-help-fontify):
8127 Use called-interactively-p.
8128
8129 * term/w32console.el (w32-get-console-codepage)
8130 (w32-get-console-output-codepage): Declare.
8131
8132 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8133 Remove unnecessary declarations.
8134 (dframe-message): Doc fix.
8135
8136 * info.el (dframe-select-attached-frame, dframe-current-frame):
8137 Declare.
8138
8139 * speedbar.el (speedbar-message): Make it an obsolete alias.
8140 Update all callers.
8141 (speedbar-with-attached-buffer)
8142 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8143 (speedbar-with-writable): Use backquote.
8144 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8145 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8146 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8147 rather than speedbar- aliases.
8148 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8149 (speedbar-make-specialized-keymap, speedbar-insert-button)
8150 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8151 (speedbar-do-function-pointer): Declare.
8152 (rmail-speedbar-button, rmail-speedbar-find-file)
8153 (rmail-speedbar-move-message):
8154 Use dframe-with-attached-buffer rather than speedbar- alias.
8155 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8156 (dframe-message, speedbar-make-specialized-keymap)
8157 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8158 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8159 (speedbar-insert-button, dframe-select-attached-frame)
8160 (dframe-maybee-jump-to-attached-frame)
8161 (speedbar-change-initial-expansion-list)
8162 (speedbar-previously-used-expansion-list-name): Declare.
8163 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8164 Use dframe-message, dframe-with-attached-buffer rather than
8165 speedbar- aliases.
8166 (gud-sentinel): Silence compiler.
8167 * progmodes/vhdl-mode.el (speedbar-refresh)
8168 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8169 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8170 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8171 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8172 (speedbar-file-lists, speedbar-make-tag-line)
8173 (speedbar-line-directory, speedbar-goto-this-file)
8174 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8175 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8176 (speedbar-make-button, speedbar-reset-scanners)
8177 (speedbar-files-item-info, speedbar-line-text)
8178 (speedbar-find-file-in-frame, speedbar-set-timer)
8179 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8180 (speedbar-with-writable): Do not (re)define it.
8181 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8182 rather than speedbar- alias.
8183
8184 2013-05-21 Leo Liu <sdl.web@gmail.com>
8185
8186 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8187 menu items.
8188 (octave-mode): Tweak fill-nobreak-predicate.
8189 (inferior-octave-startup): Check process to avoid infinite loop.
8190 (inferior-octave): Pop to buffer first to show abornmal process
8191 exit information.
8192
8193 2013-05-21 Glenn Morris <rgm@gnu.org>
8194
8195 * printing.el (pr-menu-bar): Define when compiling.
8196
8197 2013-05-21 Leo Liu <sdl.web@gmail.com>
8198
8199 * progmodes/octave.el (octave-auto-fill): Remove.
8200 (octave-indent-new-comment-line): Improve.
8201 (octave-mode): Use auto fill mode through
8202 comment-line-break-function and fill-nobreak-predicate.
8203 (octave-goto-function-definition): Support DEFUN_DLD.
8204 (octave-beginning-of-defun): Small tweak.
8205 (octave-help): Show parent directory.
8206
8207 2013-05-21 Glenn Morris <rgm@gnu.org>
8208
8209 * files.el (dired-unmark):
8210 * progmodes/gud.el (gdb-input): Update declarations.
8211
8212 * calculator.el (electric, ehelp): No need to load when compiling.
8213 (Electric-command-loop, electric-describe-mode): Declare.
8214
8215 * doc-view.el (doc-view-current-converter-processes): Move before use.
8216
8217 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8218 Move MODE-set-explicitly definition before use.
8219
8220 * international/mule-diag.el (mule-diag):
8221 Don't use obsolete window-system-version.
8222
8223 * mail/feedmail.el (smtpmail): No need to load when compiling.
8224 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8225
8226 * mail/mail-utils.el (rfc822): No need to load when compiling.
8227 (rfc822-addresses): Autoload it.
8228 (mail-strip-quoted-names): Trivial simplification.
8229
8230 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8231 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8232
8233 * net/snmp-mode.el (tempo): Don't duplicate requires.
8234
8235 * progmodes/prolog.el (info): No need to load when compiling.
8236 (comint): Require before shell requires it.
8237 (Info-goto-node): Autoload it.
8238 (Info-follow-nearest-node): Declare.
8239 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8240
8241 * textmodes/artist.el (picture-mode-exit): Declare.
8242
8243 * textmodes/reftex-parse.el (reftex-parse-from-file):
8244 Trivial rewrite so the compiler can parse it better.
8245
8246 2013-05-20 Leo Liu <sdl.web@gmail.com>
8247
8248 * progmodes/octave.el (octave-help-mode-map)
8249 (octave-help-mode-finish-hook): New variables.
8250 (octave-help-mode, octave-help-mode-finish): New functions.
8251 (octave-help): Use octave-help-mode.
8252
8253 2013-05-20 Glenn Morris <rgm@gnu.org>
8254
8255 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8256
8257 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8258
8259 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8260 start at point, so that expansion starting right after opening
8261 slash in a regexp is recognized.
8262 (ruby-syntax-before-regexp-re): New defvar, extracted from
8263 ruby-syntax-propertize-function. Since the value of this regexp
8264 is looked up at runtime now, we should be able to turn
8265 `ruby-syntax-methods-before-regexp' into a defcustom later.
8266 (ruby-syntax-propertize-function): Split regexp matching into two
8267 parts, for opening and closing slashes. That allows us to skip
8268 over string interpolations and support multiline regexps.
8269 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8270 for them, which calls `ruby-syntax-propertize-expansion'.
8271 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8272 call to `ruby-syntax-propertize-function'.
8273 (ruby-syntax-propertize-expansion): Extracted from
8274 `ruby-syntax-propertize-expansions'. Handles one expansion.
8275 (ruby-syntax-propertize-percent-literal): Leave point right after
8276 the percent symbol, so that the expression expansion rule can
8277 propertize the contents.
8278 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8279 heredoc openers.
8280 (ruby-syntax-propertize-expansions): Remove.
8281
8282 2013-05-18 Juri Linkov <juri@jurta.org>
8283
8284 * man.el (Man-default-man-entry): Remove `-' from the end
8285 of the default value. (Bug#14400)
8286
8287 2013-05-18 Glenn Morris <rgm@gnu.org>
8288
8289 * comint.el (comint-password-prompt-regexp):
8290 Allow "password for XXX" where XXX contains colons (eg https://...).
8291
8292 2013-05-18 Leo Liu <sdl.web@gmail.com>
8293
8294 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8295 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8296 (octave-source-directories): Don't check process.
8297 (octave-source-directories, octave-find-definition): Doc fix.
8298
8299 2013-05-18 Glenn Morris <rgm@gnu.org>
8300
8301 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8302 Remove backspace/delete bindings. (Bug#14392)
8303
8304 * cus-dep.el (custom-make-dependencies): Sort the output.
8305 (custom-versions-load-alist): Convert comment to doc.
8306
8307 2013-05-17 Leo Liu <sdl.web@gmail.com>
8308
8309 * newcomment.el (comment-search-backward): Stricter in finding
8310 comment start. (Bug#14303)
8311
8312 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8313 (octave-comment-start-skip): Properly anchored.
8314
8315 2013-05-17 Leo Liu <sdl.web@gmail.com>
8316
8317 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8318 Clean up when turned off. (Bug#14395)
8319 (smie--highlight-matching-block-overlay): No longer buffer-local.
8320 (smie-highlight-matching-block): Adjust.
8321
8322 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8323
8324 Doc string fix for "nanoseconds" (Bug#14406).
8325 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8326 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8327
8328 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8329
8330 * calc/calc-units.el (math-extract-units): Preserve powers
8331 of units.
8332
8333 2013-05-17 Leo Liu <sdl.web@gmail.com>
8334
8335 * subr.el (delete-consecutive-dups): New function.
8336 * ido.el (ido-set-matches-1): Use it.
8337 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8338 * ido.el (ido-remove-consecutive-dups): Remove.
8339
8340 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8341
8342 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8343 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8344 regexp-opt's `words'.
8345
8346 2013-05-16 Leo Liu <sdl.web@gmail.com>
8347
8348 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8349 (smie--highlight-matching-block-overlay)
8350 (smie--highlight-matching-block-lastpos)
8351 (smie--highlight-matching-block-timer): New variables.
8352 (smie-highlight-matching-block): New function.
8353 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8354 (smie-setup): Conditionally enable smie-blink-matching-open.
8355
8356 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8357
8358 Sync with upstream verilog-mode r840.
8359 * progmodes/verilog-mode.el (verilog-mode-version)
8360 (verilog-mode-release-date): Update.
8361 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8362 (verilog-sig-tieoff): Fix string error on
8363 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8364 (verilog-read-decls): Fix parameters confusing
8365 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8366
8367 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8368
8369 * subr.el (reveal-filename): New function.
8370
8371 * loadup.el: Compute Emacs executable versions on MS-Windows,
8372 where executables have the .exe extension. Add a hard link
8373 emacs-XX.YY.ZZ.exe on MS-Windows.
8374
8375 * Makefile.in (XARGS_LIMIT): New variable.
8376 (custom-deps, finder-data, autoloads)
8377 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8378 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8379 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8380 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8381
8382 2013-05-16 Leo Liu <sdl.web@gmail.com>
8383
8384 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8385 (octave-mode-menu, octave-mode-map): Remove its uses.
8386
8387 2013-05-16 Reto Zimmermann <reto@gnu.org>
8388
8389 Sync with upstream vhdl mode v3.34.2.
8390 * progmodes/vhdl-mode.el: Use `push' throughout.
8391 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8392 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8393 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8394 (vhdl-actual-generic-name): New option to derive actual generic name.
8395 (vhdl-port-paste-signals): Replace formal by actual generics.
8396 (vhdl-beautify): New name for old group vhdl-align. Update users.
8397 (vhdl-beautify-options): New option.
8398 (vhdl-last-input-event): New compat alias. Use throughout.
8399 (vhdl-goto-line): Replace user level function `goto-line'.
8400 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8401 vhdl-fix-statement-buffer.
8402 (vhdl-create-mode-menu): Add some entries.
8403 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8404 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8405 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8406 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8407 to force statements on one line.
8408 (vhdl-remove-trailing-spaces-region):
8409 New, split from vhdl-remove-trailing-spaces.
8410 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8411 Respect vhdl-beautify-options.
8412 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8413 (vhdl-update-sensitivity-list): Not add with index if exists without.
8414 Not include array index with signal. Ignore keywords in comments.
8415 (vhdl-get-visible-signals): Regexp tweaks.
8416 (vhdl-template-component-inst): Handle empty library.
8417 (vhdl-template-type): Add template for 'enum' type.
8418 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8419 Use vhdl-replace-string.
8420 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8421 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8422 (vhdl-speedbar-initialize): Update for above name change.
8423 (vhdl-compose-wire-components): Fix in handling of constants.
8424 (vhdl-error-regexp-emacs-alist): New variable.
8425 (vhdl-error-regexp-add-emacs): New function;
8426 adds support for new compile.el (Emacs 22+)
8427 (vhdl-generate-makefile-1): Change target order for single lib. units.
8428 Allow use of absolute file names.
8429
8430 2013-05-16 Leo Liu <sdl.web@gmail.com>
8431
8432 * simple.el (prog-indent-sexp): Indent enclosing defun.
8433
8434 2013-05-15 Glenn Morris <rgm@gnu.org>
8435
8436 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8437 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8438 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8439 (whitespace-highlight): Move to whitespace group.
8440
8441 * comint.el (comint-source):
8442 * pcmpl-linux.el (pcmpl-linux):
8443 * shell.el (shell-faces):
8444 * eshell/esh-opt.el (eshell-opt):
8445 * international/ccl.el (ccl): Remove empty custom groups.
8446
8447 * completion.el (dynamic-completion-mode):
8448 * jit-lock.el (jit-lock-debug-mode):
8449 * minibuffer.el (completion-in-region-mode):
8450 * type-break.el (type-break-mode-line-message-mode)
8451 (type-break-query-mode):
8452 * emulation/tpu-edt.el (tpu-edt-mode):
8453 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8454 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8455 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8456
8457 * term/xterm.el (xterm): Change parent group to terminals.
8458
8459 * master.el (master): Remove empty custom group.
8460 (master-mode): Remove unused :group argument.
8461 * textmodes/refill.el (refill): Remove empty custom group.
8462 (refill-mode): Remove unused :group argument.
8463
8464 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8465
8466 * cus-dep.el: Provide a feature.
8467 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8468 Don't mistakenly ignore files whose basenames match a basename
8469 from preloaded-file-list (eg cedet/ede/simple.el).
8470 Add a fallback method for getting :group.
8471
8472 2013-05-15 Juri Linkov <juri@jurta.org>
8473
8474 * isearch.el (isearch-char-by-name): Rename from
8475 `isearch-insert-char-by-name'. Doc fix.
8476 (isearch-forward): Mention `isearch-char-by-name' in
8477 the docstring. (Bug#13348)
8478
8479 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8480 `exit-minibuffer' instead of
8481 `isearch-nonincremental-exit-minibuffer'.
8482 (isearch-edit-string): Remove mention of
8483 `isearch-nonincremental-exit-minibuffer' from docstring.
8484 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8485 (isearch-forward-exit-minibuffer)
8486 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8487
8488 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8489
8490 * loadup.el: Just use unversioned DOC.
8491
8492 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8493 literals as extending to EOB.
8494 (nxml-last-fontify-end): Remove unused variable.
8495 (nxml-after-change1): Use with-silent-modifications.
8496 (nxml-extend-after-change-region): Simplify.
8497 (nxml-extend-after-change-region1): Remove function.
8498 (nxml-after-change1): Don't adjust for dependent regions.
8499 (nxml-fontify-matcher): Simplify.
8500 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8501 (xmltok-add-dependent): Remove function.
8502 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8503 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8504 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8505 unclosed <[[, <?, comment, and other literals as extending to EOB.
8506 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8507 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8508 Remove functions.
8509 (rng-do-some-validation-1): Don't mark dependent regions.
8510 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8511 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8512 (nxml-clear-dependent-regions): Remove functions.
8513 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8514 (nxml-ensure-scan-up-to-date):
8515 Don't clear&mark dependent regions.
8516
8517 2013-05-15 Leo Liu <sdl.web@gmail.com>
8518
8519 * progmodes/octave.el (octave-goto-function-definition):
8520 Improve and fix callers.
8521
8522 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8523
8524 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8525 the setter (bug#14387).
8526
8527 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8528 surrounding group (bug#14402).
8529
8530 2013-05-14 Juri Linkov <juri@jurta.org>
8531
8532 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8533 (Bug#14390)
8534
8535 2013-05-14 Glenn Morris <rgm@gnu.org>
8536
8537 * progmodes/f90.el (f90-imenu-generic-expression):
8538 Fix typo in 2013-05-08 change. (Bug#14402)
8539
8540 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8541
8542 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8543 Remove signals for which replies are never received.
8544
8545 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8546
8547 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8548 (gdb-handler-alist, gdb-handler-number): Remove variables.
8549 (gdb-handler-list): New variable.
8550 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8551 (gdb-pending-handler-p, gdb-handle-reply)
8552 (gdb-remove-all-pending-triggers): New functions.
8553 (gdb-discard-unordered-replies): New defcustom.
8554 (gdb-handler): New defstruct.
8555 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8556 instead of gdb-pending-triggers. Update docstring.
8557 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8558 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8559 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8560 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8561 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8562 (gdb-frame-handler): Pending triggers are now automatically managed.
8563 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8564 Remove argument.
8565 (gdb-input): Automatically handles pending triggers. Update docstring.
8566 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8567 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8568 Update comments.
8569 (gdb-done-or-error): Now use gdb-handle-reply.
8570
8571 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8572
8573 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8574 gdb-debug-log.
8575
8576 2013-05-14 Glenn Morris <rgm@gnu.org>
8577
8578 * subr.el (user-emacs-directory-warning): New option.
8579 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8580
8581 2013-05-14 Leo Liu <sdl.web@gmail.com>
8582
8583 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8584 during redisplay.
8585 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8586 (octave-font-lock-texinfo-comment): Fix invalid search bound
8587 error: wrong side of point.
8588
8589 2013-05-14 Glenn Morris <rgm@gnu.org>
8590
8591 * progmodes/flymake.el (flymake-xml-program): New option.
8592 (flymake-xml-init): Use it.
8593
8594 * term/xterm.el: Provide a feature.
8595
8596 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8597
8598 2013-05-13 Glenn Morris <rgm@gnu.org>
8599
8600 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8601 Add compat aliases as a hack workaround. (Bug#14384)
8602
8603 2013-05-13 Leo Liu <sdl.web@gmail.com>
8604
8605 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8606 ###, and %!.
8607 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8608 C-M-q.
8609 (octave-comment-start-skip): Include %!.
8610 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8611
8612 2013-05-12 Leo Liu <sdl.web@gmail.com>
8613
8614 * progmodes/octave.el (inferior-octave-startup): Store the value
8615 of __octave_srcdir__ for octave-source-directories.
8616 (inferior-octave-check-process): New function refactored out of
8617 inferior-octave-send-list-and-digest.
8618 (octave-source-directories)
8619 (octave-find-definition-filename-function): New variables.
8620 (octave-source-directories)
8621 (octave-find-definition-default-filename): New functions.
8622 (octave-find-definition): Improve to find functions implemented in C++.
8623
8624 2013-05-12 Glenn Morris <rgm@gnu.org>
8625
8626 * calendar/diary-lib.el (diary-outlook-format-1):
8627 Don't include dayname in the output. (Bug#14349)
8628
8629 2013-05-11 Glenn Morris <rgm@gnu.org>
8630
8631 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8632
8633 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8634 Treat cc-provide like provide.
8635
8636 2013-05-11 Kevin Ryde <user42@zip.com.au>
8637
8638 * cus-dep.el (custom-make-dependencies):
8639 Use generated-autoload-load-name for the sake of files such
8640 such cedet/semantic/bovine/c.el, where the base file name
8641 is not in load-path. (Bug#5277)
8642
8643 2013-05-11 Glenn Morris <rgm@gnu.org>
8644
8645 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8646 Provide features.
8647
8648 2013-05-11 Leo Liu <sdl.web@gmail.com>
8649
8650 * progmodes/octave.el (octave-indent-comment): Improve.
8651 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8652 (octave-eldoc-function-signatures, octave-eldoc-function):
8653 New functions.
8654 (octave-mode, inferior-octave-mode): Add eldoc support.
8655
8656 2013-05-11 Richard Stallman <rms@gnu.org>
8657
8658 * epa.el (epa-decrypt-file): Take output file name as argument
8659 and read it using `interactive'.
8660
8661 2013-05-11 Leo Liu <sdl.web@gmail.com>
8662
8663 * progmodes/octave.el (octave-beginning-of-line)
8664 (octave-end-of-line): Check before using up-list because it jumps
8665 out of more syntactic contructs since moving to smie.
8666 (octave-indent-comment): New function.
8667 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8668 (octave-begin-keywords, octave-end-keywords)
8669 (octave-reserved-words, octave-smie-bnf-table)
8670 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8671
8672 2013-05-11 Glenn Morris <rgm@gnu.org>
8673
8674 * faces.el (internal-face-x-get-resource):
8675 * frame.el (ns-display-monitor-attributes-list):
8676 * calc/calc-aent.el (math-to-radians-2):
8677 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8678 Fix declarations.
8679
8680 * calc/calc-menu.el: Make it loadable in isolation.
8681
8682 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8683 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8684 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8685 (eudc-bbdb-query-internal): Require 'bbdb.
8686
8687 * lpr.el (lpr-headers-switches):
8688 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8689
8690 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8691
8692 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8693
8694 * term.el (term-set-escape-char): Make it idempotent.
8695
8696 2013-05-10 Leo Liu <sdl.web@gmail.com>
8697
8698 * progmodes/octave.el (inferior-octave-completion-table):
8699 No longer a function and all uses changed. Use cache to speed up
8700 completion due to bug#11906.
8701 (octave-beginning-of-defun): Re-write to be more general.
8702
8703 2013-05-10 Glenn Morris <rgm@gnu.org>
8704
8705 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8706
8707 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8708
8709 * comint.el (comint-redirect-send-command-to-process): Use :around
8710 rather than :override for comint-redirect-filter.
8711 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8712 Call it instead of comint-redirect-original-filter-function (which
8713 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8714
8715 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8716
8717 * frame.el (display-monitor-attributes-list): Add NS case.
8718 (ns-display-monitor-attributes-list): Declare.
8719
8720 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8721
8722 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8723
8724 2013-05-09 Glenn Morris <rgm@gnu.org>
8725
8726 * international/fontset.el (vertical-centering-font-regexp):
8727 Set standard-value.
8728
8729 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8730
8731 * bookmark.el (bookmark-search-delay):
8732 * cus-start.el (vertical-centering-font-regexp):
8733 * ps-mule.el (ps-mule-font-info-database-default):
8734 * ps-print.el (ps-default-fg, ps-default-bg):
8735 * type-break.el (type-break-good-break-interval):
8736 * whitespace.el (whitespace-indentation-regexp)
8737 (whitespace-space-after-tab-regexp):
8738 * emacs-lisp/testcover.el (testcover-1value-functions)
8739 (testcover-noreturn-functions, testcover-progn-functions)
8740 (testcover-prog1-functions):
8741 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8742 * eshell/em-glob.el (eshell-glob-translate-alist):
8743 * play/tetris.el (tetris-tty-colors):
8744 * progmodes/cpp.el (cpp-face-default-list):
8745 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8746 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8747 (idlwave-help-browser-generic-args):
8748 * progmodes/make-mode.el (makefile-special-targets-list):
8749 * progmodes/python.el (python-shell-virtualenv-path):
8750 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8751 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8752 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8753 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8754 * textmodes/reftex-vars.el (reftex-format-label-function):
8755 * textmodes/remember.el (remember-diary-file): Fix custom types.
8756
8757 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8758 Add :version.
8759
8760 2013-05-09 Leo Liu <sdl.web@gmail.com>
8761
8762 * progmodes/octave.el (inferior-octave-completion-at-point):
8763 Restore file completion. (Bug#14300)
8764 (inferior-octave-startup): Fix incorrect highlighting for the
8765 first prompt.
8766
8767 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8768
8769 * progmodes/ruby-mode.el: First cut at SMIE support.
8770 (ruby-use-smie): New var.
8771 (ruby-smie-grammar): New constant.
8772 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8773 (ruby-smie--forward-token, ruby-smie--backward-token)
8774 (ruby-smie-rules): New functions.
8775 (ruby-mode-variables): Setup SMIE if applicable.
8776
8777 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8778
8779 * simple.el (line-move-visual): Signal beginning/end of buffer
8780 only if vertical-motion moved less than it was requested. Avoids
8781 silly incorrect error messages when there are display strings with
8782 multiple newlines at EOL.
8783
8784 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8785
8786 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8787 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8788 (prolog-char-quote-workaround):
8789 * progmodes/cperl-mode.el (cperl-under-as-char):
8790 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8791 Mark as obsolete.
8792 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8793 their declaration.
8794 (vhdl-mode-syntax-table-init): Remove.
8795
8796 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8797 last change.
8798
8799 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8800 syntax for "_".
8801 (ld-script-font-lock-keywords):
8802 Change regexps to use things like \_< and \_>.
8803
8804 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8805 Change all regexps to use things like \_< and \_>.
8806
8807 * progmodes/autoconf.el (autoconf-definition-regexp)
8808 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8809 Handle a _ with symbol syntax.
8810 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8811
8812 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8813 Consolidate declaration.
8814 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8815 the declaration.
8816 (ada-create-syntax-table): Remove.
8817 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8818 already has the right syntax nowadays.
8819 (ada-goto-next-word): Don't change the syntax of "_".
8820
8821 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8822 with-wrapper-hook.
8823
8824 2013-05-08 Sam Steingold <sds@gnu.org>
8825
8826 * thingatpt.el (thing-at-point): Accept optional second argument
8827 NO-PROPERTIES to strip the text properties from the return value.
8828 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8829 to `thing-at-point' instead of stripping the properties ourselves.
8830 Also, when `thing-at-point' fails to find a url, prepend "http://"
8831 to the filename at point on the assumption that the user is
8832 pointing at something like gnu.org/gnu.
8833
8834 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8835
8836 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8837 * faces.el (crm-separator):
8838 Silence byte-compiler.
8839
8840 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8841 (tool-bar-map): Remove unneeded defvars.
8842
8843 2013-05-08 Leo Liu <sdl.web@gmail.com>
8844
8845 Re-work a fix for bug#10994 based on Le Wang's patch.
8846 * ido.el (ido-remove-consecutive-dups): New helper.
8847 (ido-completing-read): Use it.
8848 (ido-chop): Revert fix for bug#10994.
8849
8850 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8851
8852 * cus-edit.el (custom-save-variables):
8853 Pretty-print long values. (Bug#14187)
8854
8855 2013-05-08 Glenn Morris <rgm@gnu.org>
8856
8857 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8858 (m4-mode-syntax-table): Init in the defvar.
8859 (m4-mode-abbrev-table): Let define-derived-mode define it.
8860
8861 2013-05-08 Tom Tromey <tromey@redhat.com>
8862
8863 * progmodes/m4-mode.el (m4-mode-syntax-table):
8864 Do not treat "_" as word constituent. (Bug#14167)
8865
8866 2013-05-07 Glenn Morris <rgm@gnu.org>
8867
8868 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8869 Remove explicit eshell-isearch-cancel-map.
8870
8871 * progmodes/f90.el (f90-smart-end-names): New option.
8872 (f90-smart-end): Doc fix.
8873 (f90-end-block-optional-name): New constant.
8874 (f90-block-match): Respect f90-smart-end-names.
8875
8876 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8877
8878 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8879 about implicit semi-colons (bug#14218).
8880
8881 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8882
8883 * frame.el (display-monitor-attributes-list)
8884 (frame-monitor-attributes): New functions.
8885
8886 2013-05-06 Leo Liu <sdl.web@gmail.com>
8887
8888 * progmodes/octave.el (octave-syntax-propertize-function): Change
8889 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8890 (octave-font-lock-keywords): Use octave-operator-regexp.
8891 (octave-completion-at-point): Rename from
8892 octave-completion-at-point-function.
8893 (inferior-octave-directory-tracker): Robustify.
8894 (octave-text-functions): Remove and fix its uses. No such things
8895 any more.
8896
8897 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8898
8899 * emacs-lisp/trace.el (trace--display-buffer): New function.
8900 (trace-make-advice): Use it.
8901
8902 2013-05-06 Juri Linkov <juri@jurta.org>
8903
8904 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8905 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8906 Doc fix.
8907 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8908 in the help string. (Bug#12985)
8909
8910 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8911
8912 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8913
8914 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8915
8916 * progmodes/perl-mode.el: Add support for here documents.
8917 (perl-syntax-propertize-function): Match here-doc markers.
8918 (perl-syntax-propertize-special-constructs): Find their end.
8919 (perl-imenu-generic-expression): Use [:alnum:].
8920
8921 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8922 (advice--add-function): Refresh the advice if already present
8923 (bug#14317).
8924
8925 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8926
8927 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8928
8929 2013-05-06 Glenn Morris <rgm@gnu.org>
8930
8931 * w32-fns.el (w32-charset-info-alist): Declare.
8932
8933 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8934 of its defcustom properties.
8935 (eshell-cmpl-initialize): No need to load pcomplete.
8936
8937 * generic-x.el: No need to require comint when compiling.
8938
8939 * net/eudc-export.el: Make it loadable without bbdb.
8940 (top-level): Use require rather than load-library.
8941 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8942 (eudc-batch-export-records-to-bbdb)
8943 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8944 Require bbdb.
8945
8946 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8947
8948 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8949 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8950 some tweaks, instead.
8951
8952 2013-05-05 Leo Liu <sdl.web@gmail.com>
8953
8954 * progmodes/octave.el (octave-font-lock-keywords)
8955 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8956 (inferior-octave-send-list-and-digest): Improve error message.
8957 (octave-mode, inferior-octave-mode): Use setq-local.
8958 (octave-help): Set info-lookup-mode.
8959
8960 2013-05-05 Richard Stallman <rms@gnu.org>
8961
8962 * vc/compare-w.el (compare-windows-whitespace):
8963 Treat no-break space as whitespace.
8964
8965 * mail/rmailsum.el (rmail-summary-rmail-update):
8966 Detect empty summary and don't change selected message.
8967 (rmail-summary-goto-msg): Likewise.
8968
8969 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8970 Doc fixes, rename args.
8971
8972 2013-05-05 Alan Mackenzie <acm@muc.de>
8973
8974 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8975
8976 2013-05-05 Juri Linkov <juri@jurta.org>
8977
8978 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8979 to not add the length of the summary segment to the return value.
8980 (Bug#14125)
8981
8982 2013-05-05 Leo Liu <sdl.web@gmail.com>
8983
8984 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8985 (inferior-octave-output-filter): Remove.
8986 (octave-send-region, inferior-octave-startup): Fix callers.
8987 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8988 (octave-binary-file-extensions): New user variable.
8989 (octave-find-definition): Confirm if opening binary files.
8990 (octave-help-file): Use octave-find-definition to get the binary
8991 confirmation.
8992 (octave-help): Adjust for octave-help-file change.
8993
8994 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8995
8996 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8997 Merge the two entries that handle function definitions.
8998 (pascal--syntax-propertize): New const.
8999 (pascal-mode): Use it. Use setq-local.
9000
9001 2013-05-04 Glenn Morris <rgm@gnu.org>
9002
9003 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9004 (diary-from-outlook): Respect diary-from-outlook-function.
9005
9006 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9007
9008 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9009 Move the declaration from C.
9010 (read-minibuffer, eval-minibuffer): Move from C.
9011 (completion-setup-function): Avoid minibuffer-completion-contents.
9012
9013 2013-05-03 Leo Liu <sdl.web@gmail.com>
9014
9015 * progmodes/octave.el (octave-font-lock-keywords): Do not
9016 dehighlight 'end' in comments or strings.
9017 (octave-completing-read, octave-goto-function-definition):
9018 New helpers.
9019 (octave-help-buffer): New user variable.
9020 (octave-help-file, octave-help-function): New button types.
9021 (octave-help): New command and bind it to C-h ;.
9022 (octave-find-definition): New command and bind it to M-.
9023 (user-error): Alias to error if not defined.
9024
9025 2013-05-02 Leo Liu <sdl.web@gmail.com>
9026
9027 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9028 for \. (bug#14332)
9029 (octave-font-lock-keywords): Include [ and {.
9030
9031 2013-05-02 Leo Liu <sdl.web@gmail.com>
9032
9033 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9034 (inferior-octave): Remove calling comint-mode and return the buffer.
9035 (inferior-octave-startup): Cosmetic changes.
9036
9037 2013-05-02 Leo Liu <sdl.web@gmail.com>
9038
9039 * progmodes/octave.el (octave-syntax-propertize-function):
9040 Include the case when ' is at line beginning. (Bug#14336)
9041
9042 2013-05-02 Glenn Morris <rgm@gnu.org>
9043
9044 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9045 * desktop.el (vc-dir-mode): Just autoload it here.
9046
9047 2013-05-02 Alan Mackenzie <acm@muc.de>
9048
9049 Eliminate variable c-standard-font-lock-fontify-region-function.
9050 * progmodes/cc-mode.el
9051 (c-standard-font-lock-fontify-region-function): Remove.
9052 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9053
9054 2013-05-01 Leo Liu <sdl.web@gmail.com>
9055
9056 * progmodes/octave.el: Compatible with older emacs-24 releases.
9057 (inferior-octave-has-built-in-variables): Remove. Built-in
9058 variables were removed from Octave in 2007.
9059 (inferior-octave-startup): Fix uses.
9060 (comint-line-beginning-position): Remove compatibility code for
9061 emacs 21.
9062
9063 2013-05-01 Juri Linkov <juri@jurta.org>
9064
9065 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9066
9067 2013-05-01 Juri Linkov <juri@jurta.org>
9068
9069 * comint.el (comint-previous-matching-input): Don't print message
9070 "History item: %d" when `isearch-mode' is active.
9071 (comint-history-isearch-message): Print message "History item: %d"
9072 when `comint-input-ring-index' is not empty and this function is
9073 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9074
9075 2013-05-01 Leo Liu <sdl.web@gmail.com>
9076
9077 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9078 definitions. Use completion-at-point to insert keywords.
9079 (octave-abbrev-start): Remove.
9080 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9081
9082 2013-04-30 Leo Liu <sdl.web@gmail.com>
9083
9084 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9085 change.
9086
9087 2013-04-30 Alan Mackenzie <acm@muc.de>
9088
9089 Handle arbitrarily long C++ member initialisation lists.
9090 * progmodes/cc-engine.el (c-back-over-member-initializers):
9091 new function.
9092 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9093 (most) member init lists.
9094
9095 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9096
9097 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9098 variable.
9099
9100 2013-04-30 Leo Liu <sdl.web@gmail.com>
9101
9102 * progmodes/octave.el (octave-variables): Remove. No builtin
9103 variables any more. All converted to functions.
9104 (octave-font-lock-keywords, octave-completion-at-point-function):
9105 Fix uses.
9106 (octave-font-lock-texinfo-comment): New user variable.
9107 (octave-texinfo-font-lock-keywords): New variable for texinfo
9108 comment block.
9109 (octave-function-comment-block): New face.
9110 (octave-font-lock-texinfo-comment): New function.
9111 (octave-mode): Font lock texinfo comment block.
9112
9113 2013-04-29 Leo Liu <sdl.web@gmail.com>
9114
9115 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9116 indexing expression.
9117 (octave-continuation-string): Do not use \.
9118 (inferior-octave-complete-impossible): Remove.
9119 (inferior-octave-completion-table)
9120 (inferior-octave-completion-at-point): Remove its uses.
9121 (inferior-octave-startup): completion_matches was introduced to
9122 Octave in 1996 so safe to assume it.
9123 (octave-function-file-comment): Improve to follow how Octave does it.
9124 (octave-update-function-file-comment): Tweak.
9125
9126 2013-04-29 Leo Liu <sdl.web@gmail.com>
9127
9128 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9129 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9130 (octave-function-file-comment): Fix typo.
9131 (octave-sync-function-file-names): Use read-char-choice.
9132
9133 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9134
9135 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9136 to t for the less important warnings.
9137
9138 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9139
9140 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9141
9142 2013-04-27 Glenn Morris <rgm@gnu.org>
9143
9144 * vc/log-view.el (log-view-current-entry):
9145 Treat "---" separator lines as part of the following rev. (Bug#14169)
9146
9147 2013-04-27 Juri Linkov <juri@jurta.org>
9148
9149 * subr.el (read-number): Doc fix about using it by interactive
9150 code letter `n'. (Bug#14254)
9151
9152 2013-04-27 Juri Linkov <juri@jurta.org>
9153
9154 * desktop.el (desktop-auto-save-timeout): New option.
9155 (desktop-file-checksum): New variable.
9156 (desktop-save): Add optional arg `auto-save' and don't auto-save
9157 if nothing changed.
9158 (desktop-auto-save-timer): New variable.
9159 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9160 (after-init-hook): Call `desktop-auto-save-set-timer'.
9161 Suggested by Reuben Thomas <rrt@sc3d.org> in
9162 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9163
9164 2013-04-27 Leo Liu <sdl.web@gmail.com>
9165
9166 * progmodes/octave.el (octave-function-file-p)
9167 (octave-skip-comment-forward, octave-function-file-comment)
9168 (octave-update-function-file-comment): New functions.
9169 (octave-mode-map): Bind C-c ; to
9170 octave-update-function-file-comment.
9171 (octave-mode-menu): Add octave-update-function-file-comment.
9172 (octave-mode, inferior-octave-mode): Fix doc-string.
9173 (octave-insert-defun): Conform to Octave's coding convention.
9174 (Bug#14285)
9175
9176 * files.el (basic-save-buffer): Don't let errors in
9177 before-save-hook prevent saving buffer.
9178
9179 2013-04-20 Roland Winkler <winkler@gnu.org>
9180
9181 * faces.el (read-face-name): Use completing-read if arg multiple
9182 is nil.
9183
9184 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9185
9186 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9187 displayed, move point to after the totals line.
9188 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9189 for the details.
9190
9191 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9192
9193 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9194 Add current dir to the load-path.
9195 (package-generate-autoloads): Don't rely on
9196 autoload-ensure-default-file.
9197
9198 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9199
9200 * textmodes/remember.el (remember-store-in-files): Document that
9201 the file name format is passed to `format-time-string'.
9202
9203 2013-04-26 Leo Liu <sdl.web@gmail.com>
9204
9205 * progmodes/octave.el (octave-sync-function-file-names): New function.
9206 (octave-mode): Use it in before-save-hook.
9207
9208 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9209
9210 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9211 (bug#14274).
9212
9213 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9214 \n and comment, even if it's not an implicit ; (bug#14218).
9215
9216 2013-04-26 Glenn Morris <rgm@gnu.org>
9217
9218 * subr.el (read-number): Once more use `read' rather than
9219 `string-to-number', to trap non-numeric input. (Bug#14254)
9220
9221 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9222
9223 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9224 Use `syntax-multiline' text property consistently instead of
9225 `font-lock-multiline'. (Bug#14237)
9226
9227 2013-04-26 Glenn Morris <rgm@gnu.org>
9228
9229 * emacs-lisp/shadow.el (list-load-path-shadows):
9230 No longer necessary to check for duplicate simple.el, since
9231 2012-07-07 change to init_lread to not include installation lisp
9232 directories in load-path when running uninstalled. (Bug#14270)
9233
9234 2013-04-26 Leo Liu <sdl.web@gmail.com>
9235
9236 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9237 (octave-mode, inferior-octave-mode): Use setq-local.
9238 (octave-not-in-string-or-comment-p): Rename to
9239 octave-in-string-or-comment-p.
9240 (octave-in-comment-p, octave-in-string-p)
9241 (octave-in-string-or-comment-p): Replace defsubst with defun.
9242
9243 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9244
9245 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9246
9247 2013-04-25 Bastien Guerry <bzg@gnu.org>
9248
9249 * textmodes/remember.el (remember-data-directory)
9250 (remember-directory-file-name-format): Fix custom types.
9251
9252 2013-04-25 Leo Liu <sdl.web@gmail.com>
9253
9254 * progmodes/octave.el (octave-completion-at-point-function):
9255 Make use of inferior octave process.
9256 (octave-initialize-completions): Remove.
9257 (inferior-octave-completion-table): New function.
9258 (inferior-octave-completion-at-point): Use it.
9259 (octave-completion-alist): Remove.
9260
9261 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9262
9263 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9264 (opascal-mode-syntax-table): New var.
9265 (opascal-literal-kind, opascal-is-literal-end)
9266 (opascal-literal-token-at): Rewrite.
9267 (opascal--literal-start-re, opascal-font-lock-keywords)
9268 (opascal--syntax-propertize): New constants.
9269 (opascal-font-lock-defaults): Adjust.
9270 (opascal-mode): Use them. Set comment-<foo> variables as well.
9271 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9272 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9273 (delphi-other-face, opascal-other-face): Remove face variables.
9274 (opascal-save-state): Remove macro.
9275 (opascal-fontifying-progress-step): Remove constant.
9276 (opascal--ignore-changes): Remove var.
9277 (opascal-set-token-property, opascal-parse-next-literal)
9278 (opascal-is-stable-literal, opascal-complete-literal)
9279 (opascal-is-literal-start, opascal-face-of)
9280 (opascal-parse-region, opascal-parse-region-until-stable)
9281 (opascal-fontify-region, opascal-after-change)
9282 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9283 (opascal-debug-parse-region, opascal-debug-parse-window)
9284 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9285 (opascal-debug-fontify-buffer): Remove.
9286 (opascal-debug-mode-map): Adjust accordingly.
9287
9288 2013-04-25 Leo Liu <sdl.web@gmail.com>
9289
9290 Merge octave-mod.el and octave-inf.el into octave.el with some
9291 cleanups.
9292 * progmodes/octave.el: New file renamed from octave-mod.el.
9293 * progmodes/octave-inf.el: Merged into octave.el.
9294 * progmodes/octave-mod.el: Renamed to octave.el.
9295
9296 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9297
9298 * textmodes/reftex-vars.el
9299 (reftex-label-ignored-macros-and-environments): New defcustom.
9300
9301 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9302
9303 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9306 (smie-indent-keyword): Improve the check to ensure that the next
9307 comment is really on the same line.
9308 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9309
9310 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9311 semi-colons if the line is not otherwise empty (bug#14218).
9312
9313 2013-04-25 Glenn Morris <rgm@gnu.org>
9314
9315 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9316
9317 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * progmodes/opascal.el (opascal-set-token-property): Rename from
9320 opascal-set-text-properties and only set `token' (bug#14134).
9321 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9322 (opascal-literal-text-properties): Remove.
9323 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9324 Adjust callers.
9325
9326 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9327
9328 * textmodes/remember.el (remember-handler-functions): Add an
9329 option for a new handler `remember-store-in-files'.
9330 (remember-data-directory, remember-directory-file-name-format):
9331 New options.
9332 (remember-store-in-files): New function to store remember notes
9333 as separate files within a directory.
9334
9335 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9336
9337 * progmodes/compile.el (compilation-next-error-function):
9338 Pass "formats" to compilation-find-file (bug#11777).
9339
9340 2013-04-24 Glenn Morris <rgm@gnu.org>
9341
9342 * vc/vc-bzr.el (vc-bzr-print-log):
9343 * vc/vc-hg.el (vc-hg-print-log):
9344 * vc/vc-svn.el (vc-svn-print-log):
9345 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9346
9347 * vc/vc-bzr.el (vc-bzr-print-log):
9348 * vc/vc-cvs.el (vc-cvs-print-log):
9349 * vc/vc-git.el (vc-git-print-log):
9350 * vc/vc-hg.el (vc-hg-print-log):
9351 * vc/vc-mtn.el (vc-mtn-print-log):
9352 * vc/vc-rcs.el (vc-rcs-print-log):
9353 * vc/vc-sccs.el (vc-sccs-print-log):
9354 * vc/vc-svn.el (vc-svn-print-log):
9355 * vc/vc.el (vc-print-log-internal): Doc fixes.
9356
9357 2013-04-23 Glenn Morris <rgm@gnu.org>
9358
9359 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9360 Remove venerable code attempting to avoid substitute-command-keys.
9361
9362 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9363
9364 * textmodes/reftex-vars.el (reftex-label-regexps):
9365 Call `reftex-compile-variables' after changes to this variable.
9366
9367 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9370 Use lexical-binding.
9371 (jit-lock-force-redisplay): Use markers, check buffer's continued
9372 existence and beware narrowed buffers.
9373 (jit-lock-fontify-now): Adjust call accordingly.
9374
9375 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9376
9377 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9378 to avoid misleading the user.
9379
9380 2013-04-22 Leo Liu <sdl.web@gmail.com>
9381
9382 * info-look.el: Prefer latex2e.info. (Bug#14240)
9383
9384 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9385
9386 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9387
9388 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9389 * net/tramp.el (tramp-call-process): ... here.
9390 (tramp-set-completion-function, tramp-parse-putty):
9391 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9392 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9393 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9394 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9395 (tramp-call-local-coding-command): Use `tramp-call-process'
9396 instead of `tramp-compat-call-process'.
9397
9398 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9399 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9400 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9401 (tramp-find-inline-compress): Improve traces.
9402 (tramp-maybe-send-script): Check for Perl binary.
9403 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9404
9405 2013-04-22 Daiki Ueno <ueno@gnu.org>
9406
9407 * epg.el (epg-context-pinentry-mode): New function.
9408 (epg-context-set-pinentry-mode): New function.
9409 (epg--start): Pass --pinentry-mode option to gpg command.
9410
9411 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9412
9413 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9414 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9415 `completion-at-point'. (Bug#13774)
9416
9417 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9418 default key binding for `describe-distribution' has been moved to
9419 `C-h C-o'. (Bug#13970)
9420
9421 2013-04-21 Glenn Morris <rgm@gnu.org>
9422
9423 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9424 Add doc strings.
9425 (vc-print-log): Clarify interactive prompt.
9426
9427 2013-04-20 Glenn Morris <rgm@gnu.org>
9428
9429 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9430 No longer include timestamp etc information.
9431
9432 2013-04-20 Roland Winkler <winkler@gnu.org>
9433
9434 * faces.el (read-face-name): Bug fix, return just one face if arg
9435 multiple is nil. (Bug#14209)
9436
9437 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9438
9439 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9440 (remove-function): Autoload.
9441
9442 * comint.el (comint-redirect-original-filter-function): Remove.
9443 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9444 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9445 (vc-cvs-annotate-command):
9446 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9447 * progmodes/prolog.el (prolog-consult-compile):
9448 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9449 Use add/remove-function instead.
9450 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9451 (gud-tooltip-process-output, gud-tooltip-tips):
9452 Use add/remove-function instead.
9453 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9454 (scheme-interaction-mode, exit-scheme-interaction-mode):
9455 Use add/remove-function instead.
9456
9457 * vc/vc-dispatcher.el: Use lexical-binding.
9458 (vc--process-sentinel): Rename from vc-process-sentinel.
9459 Change last arg to be the code to run. Don't use vc-previous-sentinel
9460 and vc-sentinel-commands any more.
9461 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9462 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9463
9464 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9465
9466 * progmodes/sh-script.el (sh-imenu-generic-expression):
9467 Handle function names with a single character. (Bug#14111)
9468
9469 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9470
9471 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9472 for subroutines defined in an eval (bug#14182).
9473
9474 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9475
9476 * bookmark.el (bookmark-completing-read): Improve handling of empty
9477 string (bug#14176).
9478
9479 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9482
9483 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9484
9485 New faster Imenu implementation (bug#14058).
9486 * progmodes/python.el:
9487 (python-imenu-prev-index-position):
9488 (python-imenu-format-item-label-function)
9489 (python-imenu-format-parent-item-label-function)
9490 (python-imenu-format-parent-item-jump-label-function):
9491 New vars.
9492 (python-imenu-format-item-label)
9493 (python-imenu-format-parent-item-label)
9494 (python-imenu-format-parent-item-jump-label)
9495 (python-imenu--put-parent, python-imenu--build-tree)
9496 (python-imenu-create-index, python-imenu-create-flat-index)
9497 (python-util-popn): New functions.
9498 (python-mode): Set imenu-create-index-function to
9499 python-imenu-create-index.
9500
9501 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9502
9503 * winner.el (winner-active-region): Use region-active-p, activate-mark
9504 and deactivate-mark (bug#14225).
9505
9506 * simple.el (deactivate-mark): Don't inline it.
9507
9508 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9509
9510 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9511
9512 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9513
9514 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9515 file extensions from the archive-mode entry in order to prefer
9516 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9517
9518 2013-04-18 Leo Liu <sdl.web@gmail.com>
9519
9520 * bindings.el (help-event-list): Add ?\?.
9521
9522 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9523
9524 * subr.el (with-wrapper-hook): Declare obsolete.
9525 * simple.el (filter-buffer-substring-function): New hook.
9526 (filter-buffer-substring): Use it.
9527 (filter-buffer-substring-functions): Mark obsolete.
9528 * minibuffer.el (completion-in-region-function): New hook.
9529 (completion-in-region): Use it.
9530 (completion-in-region-functions): Mark obsolete.
9531 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9532 * abbrev.el (abbrev-expand-function): New hook.
9533 (expand-abbrev): Use it.
9534 (abbrev-expand-functions): Mark obsolete.
9535 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9536 and :filter-return.
9537
9538 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9539
9540 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9541 and do not care about match data.
9542
9543 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9544
9545 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9546 completion tables when completing error conditions and
9547 `declare' arguments.
9548 (lisp-complete-symbol, field-complete): Mark as obsolete.
9549 (check-parens): Unmatched parens are user errors.
9550 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9551
9552 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9553
9554 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9555 command changed buffer (ie. `flyspell-pre-buffer' is not current
9556 buffer), which prevents making decisions based on invalid value of
9557 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9558 cause an error when `flyspell-pre-point' was nil after switching
9559 buffers.
9560 (flyspell-post-command-hook): No longer needs to change buffers when
9561 checking pre-word. While at it remove unnecessary progn.
9562
9563 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9564
9565 * textmodes/ispell.el (ispell-add-per-file-word-list):
9566 Fix `flyspell-correct-word-before-point' error when accepting
9567 words and `coment-padding' is an integer by using
9568 `comment-normalize-vars' (Bug #14214).
9569
9570 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9571
9572 New defun movement commands.
9573 * progmodes/python.el (python-nav--syntactically)
9574 (python-nav--forward-defun, python-nav-backward-defun)
9575 (python-nav-forward-defun): New functions.
9576
9577 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9578
9579 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9580 (python-syntax-context): Use named compiler-macro for backwards
9581 compatibility with Emacs 24.x.
9582
9583 2013-04-17 Leo Liu <sdl.web@gmail.com>
9584
9585 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9586 octave-hide-process-buffer.
9587
9588 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9589
9590 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9591 (bug#14216).
9592
9593 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9594
9595 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9596 Fix adjustment of offset when receiving incomplete responses from GDB
9597 (bug#14129).
9598
9599 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9600
9601 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9602 python-mode-abbrev-table.
9603 (python-skeleton-define): Adjust accordingly.
9604 (python-mode-abbrev-table): New table that inherits from it so that
9605 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9606
9607 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9608 (abbrev-symbol): Use it.
9609 (abbrev--before-point): Use it since we already handle inheritance.
9610
9611 2013-04-16 Leo Liu <sdl.web@gmail.com>
9612
9613 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9614 binding to info-lookup-symbol.
9615
9616 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9617
9618 * minibuffer.el (completion--twq-all):
9619 * term/ns-win.el (ns-initialize-window-system):
9620 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9621
9622 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9623
9624 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9625 global bindings.
9626
9627 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9628
9629 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9630
9631 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9632 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9633 to nil.
9634 (ruby-end-of-defun): Remove the unused arg, change the docstring
9635 to reflect that this function is only used as the value of
9636 `end-of-defun-function'.
9637 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9638 to reflect an earlier change that beginning/end-of-defun functions
9639 jump between methods in a class definition, as well as top-level
9640 functions.
9641
9642 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9643
9644 * minibuffer.el (minibuffer-complete): Don't just scroll
9645 a *Completions* that's been iconified.
9646 (minibuffer-force-complete): Make sure repetitions do cycle when going
9647 through completion-in-region -> minibuffer-complete.
9648
9649 2013-04-15 Alan Mackenzie <acm@muc.de>
9650
9651 Correct the placement of c-cpp-delimiters when there're #s not at
9652 col 0.
9653
9654 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9655 place a submatch around the #.
9656 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9657 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9658 on the #, not BOL.
9659
9660 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9661
9662 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9663 (advice--member-p): New arg `name'.
9664 (advice--add-function, advice-member-p): Use it (bug#14202).
9665
9666 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9667
9668 Reformulate java imenu-generic-expression.
9669 The old expression contained ill formed regexps.
9670
9671 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9672 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9673 (cc-imenu-java-method-arg-regexp): New defconsts.
9674 (cc-imenu-java-build-type-args-regex): New defun.
9675 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9676 handling of spaces in the regexp.
9677
9678 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9679
9680 * textmodes/ispell.el (ispell-command-loop): Remove
9681 flyspell highlight of a word when ispell accepts it (bug #14178).
9682
9683 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9684
9685 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9686 uses code from the previous `ange-ftp-run-real-handler'.
9687 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9688 only in case that function exist. This is needed for proper
9689 unloading of Tramp.
9690
9691 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9692
9693 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9694
9695 * textmodes/reftex.el (reftex-compile-variables): Use it.
9696
9697 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * files.el (normal-mode): Only use default major-mode if no other mode
9700 was specified.
9701
9702 * emacs-lisp/trace.el (trace-values): New function.
9703
9704 * files.el: Allow : in local variables (bug#14089).
9705 (hack-local-variable-regexp): New var.
9706 (hack-local-variables-prop-line, hack-local-variables): Use it.
9707
9708 2013-04-13 Roland Winkler <winkler@gnu.org>
9709
9710 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9711 data before it gets modified by bibtex-beginning-of-entry.
9712
9713 2013-04-13 Roland Winkler <winkler@gnu.org>
9714
9715 * textmodes/bibtex.el (bibtex-url): Doc fix.
9716
9717 2013-04-13 Roland Winkler <winkler@gnu.org>
9718
9719 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9720 does not visit a BibTeX file, exclude it from the list of buffers
9721 returned by bibtex-initialize.
9722
9723 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9724
9725 * window.el (split-window): Remove interactive form, since as a
9726 command this function is a special case of split-window-below.
9727 Correct doc string.
9728
9729 2013-04-12 Roland Winkler <winkler@gnu.org>
9730
9731 * faces.el (read-face-name): Do not override value of arg default.
9732 Allow single faces and strings as default values. Remove those
9733 elements from return value that are not faces.
9734 (describe-face): Simplify.
9735 (face-at-point): New optional args thing and multiple so that this
9736 function can provide the same functionality previously provided by
9737 read-face-name.
9738 (make-face-bold, make-face-unbold, make-face-italic)
9739 (make-face-unitalic, make-face-bold-italic, invert-face)
9740 (modify-face, read-face-and-attribute): Use face-at-point.
9741
9742 * cus-edit.el (customize-face, customize-face-other-window)
9743 * cus-theme.el (custom-theme-add-face)
9744 * face-remap.el (buffer-face-set)
9745 * facemenu.el (facemenu-set-face): Use face-at-point.
9746
9747 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9748
9749 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9750
9751 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9752
9753 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9754 off leading { and trailing } from field values.
9755
9756 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9757
9758 * emacs-lisp/timer.el (timer--check): New function.
9759 (timer--time, timer-set-function, timer-event-handler): Use it.
9760 (timer-set-idle-time): Simplify.
9761 (timer--activate): CSE.
9762 (timer-event-handler): Give more info in error message.
9763 (internal-timer-start-idle): New function, moved from C.
9764
9765 * mpc.el (mpc-proc): Add `restart' argument.
9766 (mpc-proc-cmd): Use it.
9767 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9768 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9769 less often.
9770
9771 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9772
9773 * progmodes/sh-script.el: Implement `sh-mode' own
9774 `add-log-current-defun-function' (bug#14112).
9775 (sh-current-defun-name): New function.
9776 (sh-mode): Use the function.
9777
9778 2013-04-09 Bastien Guerry <bzg@gnu.org>
9779
9780 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9781
9782 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9783
9784 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9785
9786 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9787 timer (bug#14156).
9788
9789 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9790
9791 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9792 declaration.
9793
9794 2013-04-07 Leo Liu <sdl.web@gmail.com>
9795
9796 * pcmpl-x.el: New file.
9797
9798 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9799
9800 Do not set x-display-name until X connection is established.
9801 This is needed to prevent from weird situation described at
9802 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9803 * frame.el (make-frame): Set x-display-name after call to
9804 window system initialization function, not before.
9805 * term/x-win.el (x-initialize-window-system): Add optional
9806 display argument and use it.
9807 * term/w32-win.el (w32-initialize-window-system):
9808 * term/ns-win.el (ns-initialize-window-system):
9809 * term/pc-win.el (msdos-initialize-window-system):
9810 Add compatible optional display argument.
9811
9812 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9813
9814 * files.el (normal-backup-enable-predicate): On MS-Windows and
9815 MS-DOS compare truenames of temporary-file-directory and of the
9816 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9817 don't fail comparison by compare-strings. Also, compare file
9818 names case-insensitively on MS-Windows and MS-DOS.
9819
9820 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9821
9822 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9823 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9824
9825 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9826
9827 * whitespace.el (whitespace-color-on, whitespace-color-off):
9828 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9829
9830 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9831
9832 * ispell.el (ispell-set-spellchecker-params):
9833 Really set `ispell-args' for all equivs.
9834
9835 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9836
9837 * ido.el (ido-completions): Use extra elements of ido-decorations
9838 (bug#14143).
9839 (ido-decorations): Update docstring.
9840
9841 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9842
9843 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9844 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9845 nil during initialization, in order not to miss changes since the
9846 file was opened. (Bug#14140)
9847
9848 2013-04-05 Leo Liu <sdl.web@gmail.com>
9849
9850 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9851
9852 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9853
9854 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9855
9856 2013-04-04 Glenn Morris <rgm@gnu.org>
9857
9858 * electric.el (electric-pair-inhibit-predicate): Add :version.
9859
9860 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9861
9862 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9863 when a package is required several times (bug#14082).
9864
9865 2013-04-04 Roland Winkler <winkler@gnu.org>
9866
9867 * faces.el (read-face-name): Behave as promised by the docstring.
9868 Assume that arg default is a list of faces.
9869 (describe-face): Call read-face-name with list of default faces.
9870
9871 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9872
9873 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9874 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9875 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9876 the header.
9877 (bookmark-exit-hook-internal): Save even if list is empty.
9878
9879 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9880
9881 * emacs-lisp/package.el (package-pinned-packages): New var.
9882 (package--add-to-archive-contents): Obey it (bug#14118).
9883
9884 2013-04-03 Alan Mackenzie <acm@muc.de>
9885
9886 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9887 Also adapt to the new values of element 7 of a parse state.
9888
9889 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9890 parameter `not-in-delimiter'. Handle being inside comment opener.
9891 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9892 character in case we're typing a '*' after a '/'.
9893 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9894 instead by passing the parameter to c-state-pp-to-literal.
9895
9896 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9897 for elt. 7 of a parse state.
9898
9899 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9900
9901 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9902 * international/latin1-disp.el, international/mule-util.el:
9903 * language/cyril-util.el, language/european.el, language/ind-util.el:
9904 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9905 * language/tibetan.el, language/viet-util.el:
9906 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9907
9908 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9909
9910 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9911 (electric-pair-post-self-insert-function): Use it.
9912 (electric-pair-default-inhibit): New function, extracted from
9913 electric-pair-post-self-insert-function.
9914
9915 2013-03-31 Roland Winkler <winkler@gnu.org>
9916
9917 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9918
9919 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9920
9921 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9922
9923 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9924
9925 Un-indent after "pass" and "return" statements (Bug#13888)
9926 * progmodes/python.el (python-indent-block-enders): New var.
9927 (python-indent-calculate-indentation): Use it.
9928
9929 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9930
9931 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9932 defun. Defining it as defalias could introduce too eager
9933 byte-compiler optimization. (Bug#14030)
9934
9935 2013-03-30 Chong Yidong <cyd@gnu.org>
9936
9937 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9938
9939 2013-03-30 Leo Liu <sdl.web@gmail.com>
9940
9941 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9942 (kmacro-execute-from-register): Pass the keyboard macro to
9943 kmacro-call-macro or repeating won't work correctly.
9944
9945 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9946
9947 * progmodes/subword.el: Back to using `forward-symbol'.
9948
9949 * subr.el (forward-whitespace, forward-symbol)
9950 (forward-same-syntax): Move from thingatpt.el.
9951
9952 2013-03-29 Leo Liu <sdl.web@gmail.com>
9953
9954 * kmacro.el (kmacro-to-register): New command.
9955 (kmacro-execute-from-register): New function.
9956 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9957
9958 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9959
9960 * mpc.el: Use defvar-local and setq-local.
9961 (mpc--proc-connect): Connection failures are not bugs.
9962 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9963 (mpc-volume-map): Bind to the up-events.
9964
9965 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9966
9967 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9968 instead of `forward-symbol'.
9969
9970 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9971
9972 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9973 (edebug--recursive-edit): Use it.
9974 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9975 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9976
9977 2013-03-28 Leo Liu <sdl.web@gmail.com>
9978
9979 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9980
9981 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9982
9983 * facemenu.el (list-colors-callback): New defvar.
9984 (list-colors-redisplay): New function.
9985 (list-colors-display): Install list-colors-redisplay as the
9986 revert-buffer-function. (Bug#14063)
9987
9988 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9989
9990 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9991 and suffixes don't overlap (bug#14061).
9992
9993 * case-table.el: Use lexical-binding.
9994 (case-table-get-table): New function.
9995 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9996
9997 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9998
9999 * progmodes/subword.el: Add `superword-mode' to do word motion
10000 over symbol_words (parallels and leverages `subword-mode' which
10001 does word motion inside MixedCaseWords).
10002
10003 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10004
10005 * eshell/em-unix.el: Move su and sudo to...
10006 * eshell/em-tramp.el: ...Eshell tramp module.
10007
10008 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10009
10010 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10011 Change return value to be a sexp. Delay `get-buffer' to after
10012 restoring the desktop (bug#13951).
10013
10014 2013-03-26 Leo Liu <sdl.web@gmail.com>
10015
10016 * register.el: Move semantic tag handling back to
10017 cedet/semantic/senator.el. (Bug#14052)
10018
10019 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10020
10021 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10022 into the prompt either (bug#13963).
10023
10024 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10025
10026 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10027 part of "(error-foo)".
10028
10029 2013-03-24 Juri Linkov <juri@jurta.org>
10030
10031 * replace.el (list-matching-lines-prefix-face): New defcustom.
10032 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10033 `occur-engine' if `face-differs-from-default-p' returns t.
10034 (occur-engine): Add `,' inside backquote construct to evaluate
10035 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10036 Pass `prefix-face' to the functions `occur-context-lines' and
10037 `occur-engine-add-prefix'.
10038 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10039 `prefix-face' and propertize the prefix with `prefix-face'.
10040 (Bug#14017)
10041
10042 2013-03-24 Leo Liu <sdl.web@gmail.com>
10043
10044 * nxml/rng-valid.el (rng-validate-while-idle)
10045 (rng-validate-quick-while-idle): Guard against deleted buffer.
10046 (Bug#13999)
10047
10048 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10049 is the last entry in kill-buffer-hook.
10050
10051 * files.el (kill-buffer-hook): Doc fix.
10052
10053 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10054
10055 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10056 Make it safe-local.
10057
10058 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10059
10060 2013-03-23 Leo Liu <sdl.web@gmail.com>
10061
10062 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10063 Remove.
10064
10065 * nxml/rng-valid.el (rng-validate-mode)
10066 (rng-after-change-function, rng-do-some-validation):
10067 * nxml/rng-maint.el (rng-validate-buffer):
10068 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10069 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10070 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10071 (nxml-extend-after-change-region): Use with-silent-modifications.
10072
10073 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10074 timer-idle-list.
10075
10076 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10077 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10078 timer-idle-list. (Bug#13999)
10079
10080 2013-03-23 Juri Linkov <juri@jurta.org>
10081
10082 * info.el (info-index-match): New face.
10083 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10084 main pattern and add text properties with the new face to matches
10085 in index entries relative to the beginning of the index entry.
10086 (Bug#14015)
10087
10088 2013-03-21 Eric Ludlam <zappo@gnu.org>
10089
10090 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10091 Inhibit read only while inserting objects.
10092
10093 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10094
10095 * progmodes/cfengine.el: Update docs to mention
10096 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10097 symbol motion. Remove "_" from the word syntax.
10098
10099 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10100
10101 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10102 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10103
10104 2013-03-20 Juri Linkov <juri@jurta.org>
10105
10106 * info.el (Info-next-reference-or-link)
10107 (Info-prev-reference-or-link): New functions.
10108 (Info-next-reference, Info-prev-reference): Use them.
10109 (Info-try-follow-nearest-node): Handle footnote navigation.
10110 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10111
10112 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10113
10114 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10115 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10116
10117 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10118
10119 Suppress unnecessary non-ASCII chatter during build process.
10120 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10121 (batch-skkdic-convert): Suppress most of the chatter.
10122 It's not needed so much now that machines are faster,
10123 and its non-ASCII component was confusing; see Dmitry Gutov in
10124 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10125
10126 2013-03-20 Leo Liu <sdl.web@gmail.com>
10127
10128 * ido.el (ido-chop): Fix bug#10994.
10129
10130 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10131
10132 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10133 Remove vars.
10134 (whitespace-color-on, whitespace-color-off):
10135 Use `font-lock-fontify-buffer' (Bug#13817).
10136
10137 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10138
10139 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10140 remapping in mode-line.
10141 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10142
10143 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10144
10145 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10146 value for `whitespace-line' face (Bug#13875).
10147 (whitespace-font-lock-keywords): Change description.
10148 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10149 the constructed keywords instead.
10150 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10151
10152 2013-03-19 Leo Liu <sdl.web@gmail.com>
10153
10154 * progmodes/compile.el (compilation-display-error): New command.
10155 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10156 C-o. (Bug#13992)
10157
10158 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10159
10160 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10161
10162 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10163
10164 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10165
10166 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10167
10168 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10169
10170 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10171 * net/tramp-gvfs.el (top):
10172 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10173 (tramp-handle-shell-command): Use it.
10174 (tramp-dissect-file-name): Raise an error when hostname is a
10175 method name, and neither method nor user is specified.
10176
10177 * net/trampver.el: Update release number.
10178
10179 2013-03-18 Leo Liu <sdl.web@gmail.com>
10180
10181 Make sure eldoc can be turned off properly.
10182 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10183 eldoc-mode.
10184 (eldoc-display-message-p): Revert last change.
10185 (eldoc-display-message-no-interference-p)
10186 (eldoc-print-current-symbol-info): Tweak.
10187
10188 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10189
10190 * doc-view.el (doc-view-new-window-function): Check the new window
10191 overlay's display property instead the char property of the
10192 buffer's first char. Use `with-selected-window' instead of
10193 `save-window-excursion' with `select-window'.
10194 (doc-view-document->bitmap): Check the current doc-view overlay's
10195 display property instead the char property of the buffer's first char.
10196
10197 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10198
10199 Automate the build of ja-dic.el (Bug#13984).
10200 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10201 from the input, rather than assume that it's been done for us by the
10202 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10203 the current date into a ja-dic.el comment, as that complicates
10204 regression testing.
10205
10206 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10207
10208 * whitespace.el: Fix double evaluation.
10209 (whitespace-space, whitespace-hspace, whitespace-tab)
10210 (whitespace-newline, whitespace-trailing, whitespace-line)
10211 (whitespace-space-before-tab, whitespace-indentation)
10212 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10213 obsolete defvars.
10214 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10215 (whitespace-color-on): Use a single font-lock-add-keywords call.
10216 Fix double-evaluation of face variables.
10217
10218 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10219
10220 * net/tramp-adb.el (tramp-adb-parse-device-names):
10221 Use `start-process' instead of `call-process'. Otherwise, the
10222 function might be blocked under MS Windows. (Bug#13299)
10223
10224 2013-03-17 Leo Liu <sdl.web@gmail.com>
10225
10226 Extend eldoc to display info in the mode-line. (Bug#13978)
10227 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10228 (eldoc-mode-line-string): New variable.
10229 (eldoc-minibuffer-message): New function.
10230 (eldoc-message-function): New variable.
10231 (eldoc-message): Use it.
10232 (eldoc-display-message-p)
10233 (eldoc-display-message-no-interference-p):
10234 Support eldoc-post-insert-mode.
10235
10236 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10237 (eval-expression): Run it.
10238
10239 2013-03-17 Roland Winkler <winkler@gnu.org>
10240
10241 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10242 strings in the list of return values.
10243
10244 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10245
10246 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10247 radix before checking for HMS forms.
10248
10249 2013-03-16 Leo Liu <sdl.web@gmail.com>
10250
10251 * progmodes/scheme.el: Add indentation and font-locking for λ.
10252 (Bug#13975)
10253
10254 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10255
10256 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10257 token before point (bug#13942).
10258
10259 2013-03-16 Leo Liu <sdl.web@gmail.com>
10260
10261 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10262
10263 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10264
10265 * startup.el (command-line-normalize-file-name): Fix handling of
10266 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10267 <xfq.free@gmail.com> in
10268 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10269
10270 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10271
10272 Sync with Tramp 2.2.7.
10273
10274 * net/trampver.el: Update release number.
10275
10276 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10277
10278 * doc-view.el: Fix bug#13887.
10279 (doc-view-insert-image): Don't modify overlay associated to
10280 non-live windows, and implement horizontal centering of image in
10281 case it's smaller than the window.
10282 (doc-view-new-window-function): Force redisplay of new windows on
10283 doc-view buffers.
10284
10285 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10286
10287 * saveplace.el (save-place-alist-to-file): Don't sort
10288 `save-place-alist', just pretty-print it (bug#13882).
10289
10290 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10291
10292 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10293 Check whether `default-file-name-coding-system' is bound.
10294 It isn't in XEmacs.
10295
10296 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10297
10298 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10299 backquotes for `obsolete' (bug#13929).
10300
10301 * international/mule.el (find-auto-coding): Include file name in
10302 obsolescence warning (bug#13922).
10303
10304 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10305
10306 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10307 for CFEngine 3-specific indentation.
10308 (cfengine3-indent-line): Use it. Fix up category regex.
10309 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10310
10311 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10312
10313 * type-break.el (type-break-file-name):
10314 * textmodes/remember.el (remember-data-file):
10315 * strokes.el (strokes-file):
10316 * shadowfile.el (shadow-initialize):
10317 * saveplace.el (save-place-file):
10318 * ps-bdf.el (bdf-cache-file):
10319 * progmodes/idlwave.el (idlwave-config-directory):
10320 * net/quickurl.el (quickurl-url-file):
10321 * international/kkc.el (kkc-init-file-name):
10322 * ido.el (ido-save-directory-list-file):
10323 * emulation/viper.el (viper-custom-file-name):
10324 * emulation/vip.el (vip-startup-file):
10325 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10326 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10327
10328 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10329
10330 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10331 * language/thai-word.el: Switch to UTF-8.
10332
10333 See ChangeLog.16 for earlier changes.
10334
10335 ;; Local Variables:
10336 ;; coding: utf-8
10337 ;; End:
10338
10339 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10340
10341 This file is part of GNU Emacs.
10342
10343 GNU Emacs is free software: you can redistribute it and/or modify
10344 it under the terms of the GNU General Public License as published by
10345 the Free Software Foundation, either version 3 of the License, or
10346 (at your option) any later version.
10347
10348 GNU Emacs is distributed in the hope that it will be useful,
10349 but WITHOUT ANY WARRANTY; without even the implied warranty of
10350 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10351 GNU General Public License for more details.
10352
10353 You should have received a copy of the GNU General Public License
10354 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.