Display content for video if no poster is available.
[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
6 * net/eww.el (eww-text-input-types): : New const.
7 (eww-process-text-input): Treat input types in
8 `eww-text-input-types' as text.
9
10 * net/shr.el (shr-tag-table): Fix comment typo.
11
12 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13
14 * net/eww.el (eww-follow-link): New command to avoid reloading
15 pages when we follow #target links (bug#15243).
16 (eww-quit): Special mode buffers shouldn't query before exiting.
17
18 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
19
20 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
21 forms.
22
23 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24
25 * net/eww.el (eww-restore-history): Update the window title after
26 moving in the history.
27 (eww-current-dom): New variable used to save the current DOM.
28
29 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
30
31 * vc/log-edit.el (log-edit-mode-map): Add binding for
32 `log-edit-beginning-of-line'.
33 (log-edit-setup-add-author): New user option.
34 (log-edit-beginning-of-line): New command.
35 (log-edit): Move major mode call above the contents setup so that
36 the local variable values are already applied.
37 (log-edit): Only insert "Author: " when
38 `log-edit-setup-add-author' is non-nil.
39 (log-edit): When SETUP is non-nil, position point after ": "
40 instead of point-min.
41
42 2013-12-01 Glenn Morris <rgm@gnu.org>
43
44 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
45
46 2013-11-30 Eli Zaretskii <eliz@gnu.org>
47
48 * startup.el (fancy-splash-frame): On MS-Windows, trigger
49 redisplay to make sure the initial frame gets a chance to become
50 visible. (Bug#16014)
51
52 2013-11-30 Martin Rudalics <rudalics@gmx.at>
53
54 Support resizing frames and windows pixelwise.
55 * cus-start.el (frame-resize-pixelwise)
56 (window-resize-pixelwise): New entries.
57 * emacs-lisp/debug.el (debug): Use window-total-height instead
58 of window-total-size.
59 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
60 * help.el (describe-bindings-internal): Call help-buffer
61 (temp-buffer-max-width): New option.
62 (resize-temp-buffer-window, help-window-setup)
63 (with-help-window): Rewrite.
64 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
65 dragging dividers.
66 * window.el (frame-char-size, window-min-pixel-height)
67 (window-safe-min-pixel-height, window-safe-min-pixel-width)
68 (window-min-pixel-width, window-safe-min-pixel-size)
69 (window-combination-p, window-safe-min-size)
70 (window-resizable-p, window--size-to-pixel)
71 (window--pixel-to-size, window--resize-apply-p): New functions.
72 (window-safe-min-height): Fix doc-string.
73 (window-size, window-min-size, window--min-size-1)
74 (window-sizable, window-sizable-p, window--min-delta-1)
75 (window-min-delta, window--max-delta-1, window-max-delta)
76 (window--resizable, window--resizable-p, window-resizable)
77 (window-full-height-p, window-full-width-p, window-at-side-p)
78 (window--in-direction-2, window-in-direction)
79 (window--resize-reset-1, window--resize-mini-window)
80 (window-resize, window-resize-no-error)
81 (window--resize-child-windows-normal)
82 (window--resize-child-windows, window--resize-siblings)
83 (window--resize-this-window, window--resize-root-window)
84 (window--resize-root-window-vertically)
85 (adjust-window-trailing-edge, enlarge-window, shrink-window)
86 (maximize-window, minimize-window, delete-window)
87 (quit-restore-window, window-split-min-size, split-window)
88 (balance-windows-2, balance-windows)
89 (balance-windows-area-adjust, balance-windows-area)
90 (window--state-get-1, window-state-get, window--state-put-1)
91 (window--state-put-2, window-state-put)
92 (display-buffer-record-window, window--display-buffer): Make
93 functions handle pixelwise sizing of windows.
94 (display-buffer--action-function-custom-type)
95 (display-buffer-fallback-action): Add
96 display-buffer-in-previous-window.
97 (display-buffer-use-some-window): Resize window to height it had
98 before.
99 (fit-window-to-buffer-horizontally): New option.
100 (fit-frame-to-buffer): Describe new values.
101 (fit-frame-to-buffer-bottom-margin): Replace with
102 fit-frame-to-buffer-margins.
103 (window--sanitize-margin): New function.
104 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
105 using window-text-pixel-size.
106
107 2013-11-30 Glenn Morris <rgm@gnu.org>
108
109 * emacs-lisp/bytecomp.el (byte-compile-form):
110 Make the `interactive-only' warning like the `obsolete' one.
111 * comint.el (comint-run):
112 * files.el (insert-file-literally, insert-file):
113 * replace.el (replace-string, replace-regexp):
114 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
115 (goto-line, insert-buffer, next-line, previous-line):
116 Tweak `interactive-only' spec.
117
118 Stop keeping (most) generated cedet grammar files in the repository.
119 * Makefile.in (semantic): New.
120 (compile-main): Depend on semantic.
121
122 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
123
124 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
125 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
126
127 * uniquify.el (uniquify-buffer-name-style): Change default.
128
129 * loadup.el: Preload "uniquify".
130
131 * time.el (display-time-update): Update all mode lines (bug#15999).
132
133 * electric.el (electric-indent-mode): Enable by default.
134 * loadup.el: Preload "electric".
135
136 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
137
138 * emacs-lisp/helpers.el (string-empty-p): New function.
139 (string-blank-p): New function.
140
141 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
142
143 * imenu.el (imenu--index-alist): Add missing dot to the docstring
144 (Bug#14029).
145
146 2013-11-29 Andreas Politz <politza@fh-trier.de>
147 * imenu.el (imenu--subalist-p): Don't error on non-conses and
148 allow non-lambda lists as functions.
149 (imenu--in-alist): Don't recurse into non-subalists.
150 (imenu): Don't pass function itself as an argument (Bug#14029).
151
152 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
153
154 * progmodes/python.el (python-mode-map): Remove binding for ":".
155 (python-indent-electric-colon): Remove command.
156 (python-indent-post-self-insert-function): Integrate the previous code
157 of python-indent-electric-colon. Make it conditional on
158 electric-indent-mode.
159 (python-mode): Add ?: to electric-indent-chars.
160 Move python-indent-post-self-insert-function to the end of
161 post-self-insert-hook.
162
163 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
164
165 * doc-view.el (doc-view-goto-page): Update mode-line.
166
167 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
168
169 2013-11-27 Glenn Morris <rgm@gnu.org>
170
171 * international/charprop.el, international/uni-bidi.el:
172 * international/uni-category.el, international/uni-combining.el:
173 * international/uni-comment.el, international/uni-decimal.el:
174 * international/uni-decomposition.el, international/uni-digit.el:
175 * international/uni-lowercase.el, international/uni-mirrored.el:
176 * international/uni-name.el, international/uni-numeric.el:
177 * international/uni-old-name.el, international/uni-titlecase.el:
178 * international/uni-uppercase.el:
179 Remove generated files from VCS repository.
180
181 2013-11-27 Eli Zaretskii <eliz@gnu.org>
182
183 * filenotify.el (file-notify-add-watch): Don't special-case
184 w32notify when computing the directory to watch.
185
186 2013-11-27 Glenn Morris <rgm@gnu.org>
187
188 Make bootstrap without generated uni-*.el files possible again.
189 * loadup.el: Update command-line-args checking for unidata-gen.
190 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
191 * composite.el, international/characters.el:
192 Handle unicode tables being undefined.
193
194 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
195 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
196 (compile-main): Depend on leim rule.
197 (leim): New rule.
198 * loadup.el: Move leim-list.el to leim/ subdirectory.
199 * startup.el (normal-top-level): No more leim directory.
200 * international/ja-dic-cnv.el (skkdic-convert):
201 Disable version-control and autoloads in output files.
202 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
203 Disable version-control and autoloads in output files.
204 * leim/quail: Move here from ../leim.
205 * leim/quail/hangul.el (hangul-input-method-activate):
206 Add autoload cookie.
207 (generated-autoload-load-name): Set file-local value.
208 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
209 (generated-autoload-load-name): Set file-local value.
210
211 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
212
213 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
214 (eww-add-bookmark): ask confirmation when add to bookmarks
215 (eww-quit): ask confirmation before quitting eww
216
217 2013-11-26 Eli Zaretskii <eliz@gnu.org>
218
219 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
220 reading output from Diff on MS-Windows and MS-DOS.
221
222 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
223
224 * emacs-lisp/helpers.el (string-reverse): New function.
225
226 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
227
228 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
229 names on MS Windows, like "/[::1]:".
230
231 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
232 SWITCHES.
233
234 2013-11-26 Glenn Morris <rgm@gnu.org>
235
236 * progmodes/python.el (python-indent-guess-indent-offset):
237 Avoid corner-case error. (Bug#15975)
238
239 Preload leim-list.el. (Bug#4789)
240 * loadup.el: Load leim-list.el when found.
241 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
242
243 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
244
245 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
246
247 * emacs-lisp/helpers.el (string-join): New function.
248
249 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
250
251 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
252 Mark as obsolete and replace it with a symbol property.
253 (byte-compile-form): Use new 'interactive-only property.
254 * comint.el, files.el, replace.el, simple.el:
255 Apply new 'interactive-only properly.
256
257 2013-11-25 Martin Rudalics <rudalics@gmx.at>
258
259 * window.el (display-buffer-at-bottom): Make sure that
260 split-window-sensibly creates the new window on bottom
261 (Bug#15961).
262
263 2013-11-23 David Kastrup <dak@gnu.org>
264
265 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
266 on the conflict markers when available.
267 (smerge--get-marker): New function.
268 (smerge-end-re, smerge-base-re): Add subgroup.
269
270 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
271
272 * frame.el (handle-focus-in, handle-focus-out): Add missing
273 interactive spec.
274
275 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
276
277 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
278 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
279
280 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
281
282 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
283 (gomoku--last-pos): New var.
284 (gomoku--intangible-chars): New const.
285 (gomoku--intangible): New function.
286 (gomoku-mode): Use it. Derive from special-mode.
287 (gomoku-move-up): Adjust line count.
288 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
289 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
290 Simplify accordingly.
291
292 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
293 Remove blink-cursor code.
294 (blink-cursor-timer-function, blink-cursor-suspend):
295 Don't special-case GUIs.
296 (blink-cursor-mode): Use focus-in/out-hook.
297
298 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
299
300 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
301 work when annotation is invisible (Bug#13886).
302
303 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
304
305 * json.el (json-alist-p): Only return non-nil if the alist has
306 simple keys (Bug#13518).
307
308 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
309
310 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
311 when control-statement is the first statement in a buffer (Bug#15956).
312
313 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
314
315 * imenu.el (imenu-generic-skip-comments-and-strings):
316 New option (Bug#15560).
317 (imenu--generic-function): Use it.
318
319 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
320
321 * minibuffer.el (completion--in-region-1): Scroll the correct
322 window. (Bug#13898)
323
324 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
325
326 * emacs-lisp/helpers.el: Add some string helpers.
327 (string-trim-left): Removes leading whitespace.
328 (string-trim-right): Removes trailing whitespace.
329 (string-trim): Removes leading and trailing whitespace.
330
331 * subr.el (string-suffix-p): New function.
332
333 2013-11-23 Glenn Morris <rgm@gnu.org>
334
335 * progmodes/python.el (python-shell-send-file):
336 Add option to delete file when done. (Bug#15647)
337 (python-shell-send-string, python-shell-send-region): Use it.
338
339 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
340
341 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
342 to set buffer-read-only to t, never to nil. (Bug#15938)
343
344 * textmodes/tex-mode.el (latex-noindent-environments):
345 Add safe-local-variable property. (Bug#15936)
346
347 2013-11-23 Glenn Morris <rgm@gnu.org>
348
349 * textmodes/enriched.el (enriched-mode): Doc fix.
350 * emacs-lisp/authors.el (authors-renamed-files-alist):
351 Add enriched.doc -> enriched.txt.
352
353 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
354
355 2013-11-22 Leo Liu <sdl.web@gmail.com>
356
357 * progmodes/octave.el (inferior-octave-startup): Spit out error
358 message.
359
360 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
361
362 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
363 Improve docstring.
364 Add :version.
365 (ruby-encoding-magic-comment-style): Add :version.
366
367 2013-11-22 Leo Liu <sdl.web@gmail.com>
368
369 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
370 (Bug#15076)
371 (octave-help-mode): Adapt to change to help-mode-finish to use
372 derived-mode-p on 2013-09-17.
373 (inferior-octave-prompt): Also match octave-gui.
374 (octave-kill-process): Don't ask twice. (Bug#10564)
375
376 2013-11-22 Leo Liu <sdl.web@gmail.com>
377
378 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
379 (inferior-octave-startup, inferior-octave-check-process)
380 (inferior-octave-track-window-width-change)
381 (octave-completion-at-point, octave-eldoc-function): Use it.
382 (octave-kill-process): Provide confirmation. (Bug#10564)
383
384 2013-11-21 Leo Liu <sdl.web@gmail.com>
385
386 * progmodes/octave.el (octave-mode, inferior-octave-mode):
387 Fix obsolete variable comment-use-global-state.
388
389 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
390
391 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
392 Add `octave-source-file'.
393 (octave-source-file): New function. (Bug#15935)
394
395 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
396
397 * net/eww.el (eww-local-regex): New variable.
398 (eww): Use it to detect localhost and similar.
399
400 2013-11-21 Leo Liu <sdl.web@gmail.com>
401
402 Add completion for command `ag'.
403 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
404 (pcomplete/ag): New function.
405 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
406
407 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
408
409 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
410 (bug#14646).
411 (make-obsolete): Remove interactive spec.
412
413 2013-11-21 Glenn Morris <rgm@gnu.org>
414
415 * startup.el (command-line-1): Use path-separator with -L.
416
417 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
418
419 * emacs-lisp/package.el (describe-package-1): Add package archive
420 to shown fields.
421
422 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
423
424 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
425 Change default to "# encoding: %s" to differentiate it from the
426 default Ruby encoding comment template.
427
428 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
429
430 * ses.el (ses-mode): Doc fix. (Bug#14748)
431
432 2013-11-20 Leo Liu <sdl.web@gmail.com>
433
434 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
435
436 2013-11-19 Dan Nicolaescu <dann@gnu.org>
437
438 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
439 when rebase or bisect are in progress.
440
441 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
442
443 * filenotify.el (file-notify-add-watch): Doc fix.
444
445 2013-11-19 Leo Liu <sdl.web@gmail.com>
446
447 * obsolete/rcompile.el: Mark obsolete.
448
449 * progmodes/compile.el (compilation-start)
450 (compilation-goto-locus, compilation-find-file):
451 Pass no-display-ok and handle nil value from display-buffer.
452 (Bug#13594)
453
454 * window.el (display-buffer-alist, display-buffer): Document the
455 new parameter no-display-ok.
456
457 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
458
459 * electric.el (electric-indent-mode-map): Remove.
460 (electric-indent-mode): Change the global-map instead (bug#15915).
461
462 * textmodes/text-mode.el (paragraph-indent-minor-mode):
463 Use add-function.
464
465 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
466
467 * emacs-lisp/nadvice.el (remove-function): Align with
468 add-function's behavior.
469
470 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
471 (gdb--string-regexp): New constant.
472 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
473 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
474 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
475 submatch 1.
476 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
477 Adjust use accordingly.
478 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
479
480 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
481
482 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
483 interpolation curlies (Bug#15914).
484
485 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
486
487 * calc/calc.el (calc-context-sensitive-enter): New variable.
488 (calc-enter): Use `calc-context-sensitive-enter'.
489
490 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
491
492 * progmodes/cfengine.el: Version bump.
493 (cfengine-cf-promises): New defcustom to locate cf-promises.
494 (cfengine3-vartypes): Add new "data" type.
495 (cfengine3--current-word): New function to get current name-like
496 word or its bounds.
497 (cfengine3--current-function): New function to look up a CFEngine
498 function's definition.
499 (cfengine3-format-function-docstring): New function.
500 (cfengine3-make-syntax-cache): New function.
501 (cfengine3-documentation-function): New function: ElDoc glue.
502 (cfengine3-completion-function): New function: completion glue.
503 (cfengine3-mode): Set `compile-command',
504 `eldoc-documentation-function', and add to
505 `completion-at-point-functions'.
506
507 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
508
509 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
510 `tramp-current-connection'.
511
512 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
513
514 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
515 nil/self/true/false with "end of symbol".
516
517 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
518
519 * subr.el (version-regexp-alist): Fix a typo.
520
521 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
522
523 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
524 "en_US.utf8" and "LC_CTYPE" to "".
525 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
526 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
527
528 2013-11-15 Leo Liu <sdl.web@gmail.com>
529
530 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
531
532 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
533
534 * progmodes/gud.el (ctl-x-map):
535 Remove C-x SPC binding. (Bug#12342)
536 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
537
538 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
539
540 * subr.el (version-regexp-alist):
541 Recognize hg, svn and darcs versions as snapshot versions.
542
543 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
544 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
545 (ruby--encoding-comment-required-p): Extract from
546 `ruby-mode-set-encoding'.
547 (ruby-mode-set-encoding): Add the ability to always insert an
548 utf-8 encoding comment. Fix and simplify coding comment update
549 logic.
550
551 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
552
553 * net/tramp-gvfs.el (top): Run init code only when
554 `tramp-gvfs-enabled' is not nil.
555 (tramp-gvfs-enabled): Check also :system bus.
556
557 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
558
559 Sync with upstream verilog-mode revision 78e66ba.
560 * progmodes/verilog-mode.el (verilog-end-of-defun)
561 (verilog-type-completion, verilog-get-list): Remove unused funcs.
562 (verilog-get-end-of-defun): Remove unused argument.
563 (verilog-comment-depth): Remove unused local `e'.
564 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
565 Don't pass arg to verilog-get-end-of-defun.
566
567 2013-11-14 Glenn Morris <rgm@gnu.org>
568
569 * obsolete/assoc.el (aget): Prefix dynamic variable.
570
571 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
572
573 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
574
575 * widget.el, hfy-cmap.el: Remove bogus package version number.
576
577 2013-11-13 Glenn Morris <rgm@gnu.org>
578
579 * replace.el (replace-eval-replacement):
580 Try to give more helpful error message. (Bug#15836)
581
582 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
583 (archive-7z-update): Avoid custom type mismatches.
584
585 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
586
587 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
588
589 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
590 address can be empty.
591
592 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
593 Accept nil SWITCHES.
594 (tramp-gvfs-handle-write-region): Implement APPEND.
595
596 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
597
598 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
599 binary "|" operator and closing block args delimiter.
600 Remove FIXME comment referring to Ruby 1.8-only syntax.
601 (ruby-smie--implicit-semi-p): Not after "|" operator.
602 (ruby-smie--closing-pipe-p): New function.
603 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
604 (ruby-smie-rules): Indent after "|".
605
606 2013-11-12 Glenn Morris <rgm@gnu.org>
607
608 * ps-print.el (ps-face-attribute-list):
609 Handle anonymous faces. (Bug#15827)
610
611 2013-11-12 Martin Rudalics <rudalics@gmx.at>
612
613 * window.el (display-buffer-other-frame): Fix doc-string.
614 (Bug#15868)
615
616 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
617
618 * subr.el (force-mode-line-update): Delete, move to buffer.c.
619
620 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
621
622 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
623 (tramp-sh-handle-file-local-copy): Don't write a message when
624 saving temporary files.
625
626 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
627 both directories are remote.
628 (tramp-smb-handle-directory-files): Do not return double entries.
629 Do not expand full file names.
630 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
631 (tramp-smb-handle-write-region): Implement APPEND.
632 (tramp-smb-get-stat-capability): Fix a stupid bug.
633
634 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
635
636 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
637
638 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
639
640 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
641 throwing error over malformed let/let* (bug#15814).
642
643 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
644
645 * iswitchb.el (iswitchb-mode): Mark obsolete.
646
647 2013-11-11 Glenn Morris <rgm@gnu.org>
648
649 * international/uni-bidi.el, international/uni-category.el:
650 * international/uni-name.el, international/uni-numeric.el:
651 Regenerate for Unicode 6.3.0.
652
653 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
654
655 * net/tramp.el (tramp-methods):
656 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
657 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
658
659 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
660
661 * progmodes/sh-script.el (sh-font-lock-keywords-var):
662 Force highlighting text after Summary keyword in doc face for rpm.
663
664 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
665
666 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
667 available and the word has no wildcards, append one to the grep pattern.
668 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
669 (ispell-complete-word): Call `ispell-lookup-words' with the value
670 independent of `ispell-look-p'.
671
672 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
673
674 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
675 Not after "||".
676 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
677 their parent.
678
679 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
680
681 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
682 (ruby-font-lock-keywords): Use backquote.
683
684 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
685
686 * progmodes/ruby-mode.el (ruby-smie--forward-token)
687 (ruby-smie--backward-token): Only consider full-string matches.
688
689 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
690
691 * faces.el (describe-face): Add distant-foreground.
692
693 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
694
695 * progmodes/ruby-mode.el: Improve encoding comment handling.
696 (ruby-encoding-magic-comment-style): New option.
697 (ruby-custom-encoding-magic-comment-template): New option.
698 (ruby--insert-coding-comment, ruby--detect-encoding):
699 New functions extracted from `ruby-mode-set-encoding'.
700 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
701 to control the style of the auto-inserted encoding comment.
702
703 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
704
705 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
706 Use `smie-backward-sexp' with token argument.
707
708 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
709
710 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
711 Remove instrumentation code.
712
713 2013-11-08 Glenn Morris <rgm@gnu.org>
714
715 * progmodes/autoconf.el (autoconf-mode):
716 Tweak comment-start-skip. (Bug#15822)
717
718 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
719
720 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
721 at bobp (bug#15826).
722 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
723
724 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
725
726 * man.el (Man-start-calling): New macro, extracted from
727 Man-getpage-in-background.
728 (Man-getpage-in-background): Use it.
729 (Man-update-manpage): New command.
730 (Man-mode-map): Bind it.
731
732 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
733
734 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
735 of "and", "or", "&&" and "||".
736 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
737 argument. Prohibit opening curly brace because it could only be a
738 block opener in that position.
739 (ruby-smie--forward-token, ruby-smie--backward-token):
740 Separate "|" from "&" or "*" going after it. That can happen in block
741 arguments.
742 (ruby-smie--indent-to-stmt): New function, seeks the end of
743 previous statement or beginning of buffer.
744 (ruby-smie-rules): Use it.
745 (ruby-smie-rules): Check if there's a ":" before a curly block
746 opener candidate; if there is, it's a hash.
747
748 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
749
750 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
751 (cl--block-wrapper): Fix last accidental change.
752
753 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
754
755 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
756 Instrument, in order to hunt failure on hydra.
757
758 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
759
760 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
761 malformed bindings form (bug#15814).
762
763 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
764
765 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
766 "." compared to " @ ". This incidentally fixes some indentation
767 examples with "do".
768 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
769 (ruby-smie-grammar): New tokens: "and" and "or".
770 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
771 Exclude "and" and "or". Remove "do" in order to work around token
772 priorities.
773 (ruby-smie-rules): Add all infix tokens. Handle the case of
774 beginning-of-buffer.
775
776 2013-11-06 Glenn Morris <rgm@gnu.org>
777
778 * Makefile.in (setwins_almost, setwins_for_subdirs):
779 Avoid accidental matches.
780
781 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
782
783 * menu-bar.el (popup-menu): Use key-binding.
784
785 2013-11-06 Eli Zaretskii <eliz@gnu.org>
786
787 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
788 menus, support also the menus produced by minor modes.
789 (Bug#15817)
790
791 2013-11-06 Leo Liu <sdl.web@gmail.com>
792
793 * thingatpt.el (thing-at-point-looking-at): Add optional arg
794 DISTANCE to bound the search. All uses changed. (Bug#15808)
795
796 2013-11-06 Glenn Morris <rgm@gnu.org>
797
798 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
799 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
800 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
801
802 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * electric.el (electric-indent-just-newline): New command.
805 (electric-indent-mode-map): New keymap.
806 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
807 Re-add :group which weren't redundant.
808
809 * electric.el (electric-indent-local-mode): New minor mode.
810 (electric-indent-functions-without-reindent): New var.
811 (electric-indent-post-self-insert-function): Use it.
812 * emacs-lisp/gv.el (buffer-local-value): Add setter.
813
814 2013-11-05 Eli Zaretskii <eliz@gnu.org>
815
816 * international/quail.el (quail-help): Be more explicit about the
817 meaning of the labels shown on the keys. (Bug#15800)
818
819 * startup.el (normal-top-level): Load the subdirs.el files before
820 setting the locale environment. (Bug#15805)
821
822 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
823
824 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
825 via arguments so as to get the right ones (bug#15418).
826
827 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
828
829 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
830
831 Fix problems found while writing a test suite.
832
833 * net/tramp-compat.el (tramp-compat-load): New defun.
834 * net/tramp.el (tramp-handle-load): Use it.
835
836 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
837 "(numberp ok-if-already-exists)" correctly.
838
839 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
840
841 * international/characters.el (glyphless-char-display-control):
842 Add usage note.
843
844 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
845
846 * progmodes/python.el (python-mode):
847 * progmodes/scheme.el (scheme-mode):
848 * progmodes/prolog.el (prolog-mode):
849 * progmodes/ruby-mode.el (ruby-mode):
850 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
851 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
852
853 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
854
855 * rect.el (rectangle--highlight-for-redisplay):
856 * emacs-lisp/smie.el (smie--next-indent-change):
857 Use buffer-chars-modified-tick.
858
859 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
860
861 * electric.el (electric-indent-post-self-insert-function):
862 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
863
864 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
865
866 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
867
868 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
869
870 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
871 (bug#15786).
872
873 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
874
875 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
876
877 * progmodes/python.el: Fix up last change.
878 (python-shell--save-temp-file): New function.
879 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
880 `string' comes from the current buffer.
881 (python-shell-send-string-no-output): Remove `msg' arg.
882 (python--use-fake-loc): New var.
883 (python-shell-buffer-substring): Obey it. Try to compensate for the
884 extra coding line added by python-shell--save-temp-file.
885 (python-shell-send-region): Use python-shell--save-temp-file and
886 python-shell-send-file directly. Add `nomain' argument.
887 (python-shell-send-buffer): Use python-shell-send-region.
888 (python-electric-pair-string-delimiter): New function.
889 (python-mode): Use it.
890
891 2013-11-04 Eli Zaretskii <eliz@gnu.org>
892
893 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
894 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
895 environment and decoding all of the default-directory's to here
896 from command-line.
897 (command-line): Decode also argv[0].
898
899 * loadup.el: Error out if default-directory is a multibyte string
900 when we are dumping.
901
902 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
903
904 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
905
906 * emacs-lisp/package.el (package-menu-mode)
907 (package-menu--print-info, package-menu--archive-predicate):
908 Add Archive column to package list.
909
910 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
911
912 Fix problems found while writing a test suite.
913
914 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
915 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
916 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
917 to nil when running original file name handler. Otherwise,
918 there are problems with constructs like "$$FOO".
919
920 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
921 for `localname'.
922
923 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
924
925 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
926
927 * subr.el (version<, version<=, version=):
928 Update docstrings with information for snapshot versions.
929
930 * helpers.el: New library for misc helper functions.
931 (hash-table-keys): New function returning a list of hash keys.
932 (hash-table-values): New function returning a list of hash values.
933
934 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
935
936 * progmodes/ruby-mode.el (ruby-smie--forward-token)
937 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
938
939 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
940
941 * textmodes/fill.el (fill-single-char-nobreak-p): New function
942 checking whether point is after a 1-letter word.
943
944 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
945
946 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
947 Don't infloop when expanding region over `multiline' syntax-type that
948 begins a line (bug#15778).
949
950 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
951
952 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
953 Make it into a proper minor mode.
954 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
955 (rectangle-mark-mode-map): New keymap.
956 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
957
958 2013-11-04 Glenn Morris <rgm@gnu.org>
959
960 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
961
962 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
963
964 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
965 (ruby-smie-rules): Use smie-rule-parent instead.
966
967 * emacs-lisp/smie.el (smie-rule-parent): Always call
968 smie-indent-virtual rather than only for hanging tokens.
969 (smie--next-indent-change): New helper command.
970
971 2013-11-03 Glenn Morris <rgm@gnu.org>
972
973 * Makefile.in (abs_srcdir): Remove.
974 (emacs): Unset EMACSLOADPATH.
975
976 2013-11-02 Glenn Morris <rgm@gnu.org>
977
978 * Makefile.in (EMACS): Use a relative filename.
979 (abs_top_builddir): Remove.
980 (custom-deps, finder-data, autoloads): Use --chdir.
981
982 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
983
984 Use relative filenames in TAGS files.
985 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
986 (lisptagsfiles4, TAGS): Use relative file names.
987 (TAGS-LISP): Remove.
988 (maintainer-clean): No more TAGS-LISP file.
989
990 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
991 (lisptagsfiles4): Use absolute filenames again.
992 (TAGS, TAGS-LISP): Not everything needs to run in one line.
993 Remove all *loaddefs files, not just the first. Remove esh-groups.
994 (maintainer-clean): Delete TAGS, TAGS-LISP.
995
996 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
997
998 * emacs-lisp/package.el (package-version-join):
999 Recognize snapshot versions.
1000
1001 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1002
1003 * subr.el (version-regexp-alist): Add support for snapshot versions.
1004
1005 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1006
1007 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1008 New function, replacement for `smie-rule-parent' for when we want to
1009 skip over our direct parent if it's an assignment token..
1010 (ruby-smie-rules): Use it.
1011
1012 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1013
1014 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1015 unconditionally. Remove now unnecessary forward declarations.
1016 Remove XEmacs-specific setup.
1017 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1018 (ruby-font-lock-syntactic-keywords)
1019 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1020 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1021 (ruby-here-doc-end-syntax): Remove.
1022 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1023 defined as function.
1024
1025 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1026
1027 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1028
1029 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1030
1031 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1032 table and abbrev table, `define-derived-mode' does that for us
1033 anyway.
1034
1035 2013-11-01 Glenn Morris <rgm@gnu.org>
1036
1037 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1038 files is atomic for some time, so no parallel compilation issues).
1039
1040 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1041
1042 * faces.el (face-x-resources): Add :distant-foreground.
1043 (region): Use :distant-foreground for gtk and ns.
1044
1045 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1046
1047 Allow multiple bibliographies when BibLaTeX is used rather than
1048 BibTeX.
1049 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1050 (reftex-locate-bibliography-files): Us it.
1051
1052 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1053
1054 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1055 allow comments in pbm files.
1056
1057 * term/w32-win.el (dynamic-library-alist): Support newer versions
1058 of libjpeg starting with v7: look only for the DLL from the
1059 version against which Emacs was built.
1060 Support versions of libpng beyond 1.4.x.
1061 Support libtiff v4.x.
1062
1063 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1064
1065 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1066 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1067 Add property :safe.
1068 (ruby-deep-arglist): Add property :type.
1069
1070 2013-10-31 Glenn Morris <rgm@gnu.org>
1071
1072 * Makefile.in (custom-deps, finder-data): No need to setq the target
1073 variables, we are in the right directory and the defaults work fine.
1074
1075 2013-10-30 Glenn Morris <rgm@gnu.org>
1076
1077 * Makefile.in (autoloads): Do not use abs_lisp.
1078
1079 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1080 `newline' does not respect `standard-output', so use `princ'.
1081
1082 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1083
1084 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1085 * buff-menu.el (Buffer-menu--unmark): New function.
1086 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1087
1088 2013-10-30 Glenn Morris <rgm@gnu.org>
1089
1090 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1091
1092 * emacs-lisp/package.el (lm-homepage): Declare.
1093
1094 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1095 Fix doc typos.
1096
1097 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1098
1099 * Makefile.in (finder-data, autoloads, update-subdirs)
1100 (compile-main, compile-clean, compile-always, bootstrap-clean):
1101 Check return value of cd.
1102 (compile-calc): Remove.
1103
1104 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1107
1108 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1109 (byte-compile-and-folded): New function.
1110 (=, <, >, <=, >=): Use it.
1111
1112 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1113 (path-separator, null-device, buffer-file-coding-system)
1114 (lpr-headers-switches): Check system-type before modifying them.
1115 (find-buffer-file-type-coding-system): Mark obsolete.
1116 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1117 find-file-not-found-set-buffer-file-coding-system.
1118 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1119 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1120 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1121 (w32-direct-print-region-helper, w32-direct-print-region-function)
1122 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1123 * startup.el (normal-top-level-add-subdirs-to-load-path):
1124 * ps-print.el (ps-print-region-function):
1125 * lpr.el (print-region-function): Use new name.
1126
1127 * subr.el (custom-declare-variable-early): Remove function.
1128 (custom-declare-variable-list): Remove var.
1129 (error, user-error): Remove `while' loop.
1130 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1131 (user-emacs-directory-warning, locate-user-emacs-file):
1132 Move to files.el.
1133 * simple.el (read-quoted-char-radix, read-quoted-char):
1134 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1135 Move from subr.el.
1136 * custom.el (custom-declare-variable-list): Don't process
1137 custom-declare-variable-list.
1138
1139 * progmodes/python.el (python-shell-get-buffer): New function.
1140 (python-shell-get-process): Use it.
1141 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1142 Python which encoding was used. Don't split-string since we only care
1143 about the first line. Return the temp-file, if applicable.
1144 (python-shell-send-region): Tell compile.el how to turn locations in
1145 the temp-file into locations in the source buffer.
1146
1147 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1148
1149 * subr.el (undefined): Add missing behavior from the C code for
1150 unbound keys.
1151
1152 * rect.el: Use lexical-binding. Add new rectangular region support.
1153 (rectangle-mark): New command.
1154 (rectangle--region): New var.
1155 (deactivate-mark-hook): Reset rectangle--region.
1156 (rectangle--extract-region, rectangle--insert-for-yank)
1157 (rectangle--highlight-for-redisplay)
1158 (rectangle--unhighlight-for-redisplay): New functions.
1159 (region-extract-function, redisplay-unhighlight-region-function)
1160 (redisplay-highlight-region-function): Use them to handle
1161 rectangular region.
1162 * simple.el (region-extract-function): New var.
1163 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1164 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1165 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1166 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1167 (redisplay-unhighlight-region-function)
1168 (redisplay-highlight-region-function): New vars.
1169 (redisplay--update-region-highlight): New function.
1170 (pre-redisplay-function): Use it.
1171 (exchange-point-and-mark): Don't deactivate the mark before
1172 reactivate-it anyway.
1173 * comint.el (comint-kill-region): Remove yank-handler argument.
1174 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1175 (delete-char): Remove property, since it's now part of their
1176 default behavior.
1177 (self-insert-iso): Remove property since this command doesn't exist.
1178
1179 * emacs-lisp/package.el (package--download-one-archive)
1180 (describe-package-1): Don't query the user about final newline.
1181
1182 2013-10-29 Daniel Colascione <dancol@dancol.org>
1183
1184 * net/tramp.el (tramp-methods): Document new functionality.
1185 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1186 tramp-hostname-checker if method provides one instead of scanning
1187 argument list for "%h" to decide hostname acceptability.
1188
1189 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1190
1191 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1192 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1193 Handle COPY-CONTENTS. (Bug#15737)
1194
1195 2013-10-28 Daiki Ueno <ueno@gnu.org>
1196
1197 * epa-file.el
1198 (epa-file-cache-passphrase-for-symmetric-encryption):
1199 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1200
1201 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1202
1203 * image.el (defimage):
1204 (image-load-path): Doc fixes.
1205
1206 2013-10-27 Alan Mackenzie <acm@muc.de>
1207
1208 Indent statements in macros following "##" correctly.
1209 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1210 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1211
1212 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1213
1214 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1215
1216 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1217
1218 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1219 after `=' is probably a new expression.
1220
1221 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1222
1223 * man.el (man-imenu-title): New option.
1224 (Man-mode-map): Add menu. (Bug#15722)
1225 (Man-mode): Add imenu to menu.
1226
1227 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1228
1229 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1230 specific in what the first arg can be: a non-keyword word,
1231 string/regexp/percent literal opener, opening paren, or unary
1232 operator followed directly by word.
1233
1234 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1235
1236 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1237 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1238 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1239 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1240 Remove vars, they do not apply any more.
1241 (prolog-mode-abbrev-table): Remove redundant declaration.
1242 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1243 (prolog-use-smie): Remove.
1244 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1245 supported by prolog-electric-if-then-else-flag.
1246 (prolog-mode-variables, prolog-menu): Use setq-local.
1247 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1248 Remove binding to `Backspace' since this key doesn't exist anyway.
1249 Remove bindings for electric self-inserting keys.
1250 (prog-mode): Assume it's defined.
1251 (prolog-post-self-insert): New function.
1252 (prolog-mode): Use it.
1253 (prolog-indent-line, prolog-indent-level)
1254 (prolog-find-indent-of-matching-paren)
1255 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1256 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1257 (prolog-goto-next-paren, prolog-in-string-or-comment)
1258 (prolog-tokenize, prolog-inside-mline-comment)
1259 (prolog-find-start-of-mline-comment): Remove functions.
1260 (prolog-find-unmatched-paren, prolog-clause-end)
1261 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1262 (prolog-electric--if-then-else): Rename from
1263 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1264 (prolog-tokenize-searchkey): Remove const.
1265 (prolog-clause-info): Use forward-sexp.
1266 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1267 (prolog-electric-if-then-else): Remove commands.
1268 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1269 for use in post-self-insert-hook.
1270 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1271 for use in post-self-insert-hook.
1272 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1273 for use in post-self-insert-hook.
1274 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1275 adapt it for use in post-self-insert-hook.
1276
1277 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1278
1279 * emacs-lisp/ert.el (ert-run-tests-interactively):
1280 Use `completing-read'. (Bug#9756)
1281
1282 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1283
1284 * simple.el (line-move): Call line-move-1 instead of
1285 line-move-visual when the current window hscroll is zero, but
1286 temporary-goal-column indicates we will need to hscroll as result
1287 of the movement. (Bug#15712)
1288
1289 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1290
1291 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1292 capitalization. Use :visible instead of :active.
1293 Fix `ruby-indent-exp' reference. Add menu items for the generic
1294 commands that are used with SMIE.
1295 (ruby-do-end-to-brace): Insert space after `{'.
1296
1297 2013-10-25 John Anthony <john@jo.hnanthony.com>
1298
1299 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1300
1301 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1302
1303 2013-10-25 Glenn Morris <rgm@gnu.org>
1304
1305 * vc/vc.el (vc-print-log): Don't use a working revision unless
1306 one was explicitly specified. (Bug#15322)
1307
1308 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1309
1310 * subr.el (add-to-list): Preserve return value in compiler-macro
1311 (bug#15692).
1312
1313 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1314
1315 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1316 result. Ask user to retry using '-all' flag. (Bug#15701)
1317
1318 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * emacs-lisp/smie.el: New smie-config system.
1321 (smie-config): New defcustom.
1322 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1323 (smie-config-guess, smie-config-save): New commands.
1324 (smie-config--mode-local, smie-config--buffer-local)
1325 (smie-config--trace, smie-config--modefuns): New vars.
1326 (smie-config--advice, smie-config--mode-hook)
1327 (smie-config--setter, smie-config-local, smie-config--get-trace)
1328 (smie-config--guess-value, smie-config--guess): New functions.
1329 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1330 text properties. Treat "string fence" syntax like string syntax.
1331
1332 * progmodes/sh-script.el (sh-use-smie): Change default.
1333 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1334 (sh-var-value): Simplify by CSE.
1335 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1336 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1337 is used.
1338 (sh-guess-basic-offset): Use cl-incf.
1339 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1340
1341 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1342
1343 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1344 (bug#15699).
1345
1346 2013-10-24 Glenn Morris <rgm@gnu.org>
1347
1348 * Makefile.in (abs_top_srcdir): Remove.
1349 (update-subdirs): Use relative path to update-subdirs.
1350
1351 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1352
1353 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1354 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1355 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1356 Call unmsys--file-name before expand-file-name, not after it.
1357
1358 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1359
1360 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1361 (ert-test-skipped): New error.
1362 (ert-skip, ert-stats-skipped): New defuns.
1363 (ert--skip-unless): New macro.
1364 (ert-test-skipped): New struct.
1365 (ert--run-test-debugger, ert-test-result-type-p)
1366 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1367 (ert--stats-set-test-and-result, ert-char-for-test-result)
1368 (ert-string-for-test-result, ert-run-tests-batch)
1369 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1370 Handle skipped tests. (Bug#9803)
1371
1372 2013-10-24 Glenn Morris <rgm@gnu.org>
1373
1374 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1375
1376 * Makefile.in (abs_top_srcdir): New, set by configure.
1377 (update-subdirs): Correct build-aux location.
1378
1379 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1380
1381 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1382 value, whether we could auto-deduce `backend', or not.
1383
1384 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1385 with parameters" example. Simplify the "is it block or is it
1386 hash" check, but also make it more thorough.
1387
1388 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1389
1390 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1391
1392 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1395 { if it is hanging.
1396
1397 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1398 :before ";".
1399
1400 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1401
1402 * progmodes/compile.el (compilation-directory-matcher)
1403 (compilation-page-delimiter):
1404 Support GNU Make-4.0 directory quoting. (Bug#15678)
1405
1406 2013-10-23 Leo Liu <sdl.web@gmail.com>
1407
1408 * ido.el (ido-tidy): Handle read-only text.
1409
1410 2013-10-23 Glenn Morris <rgm@gnu.org>
1411
1412 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1413 (emacs, compile, compile-always):
1414 Quote entities that might contain whitespace.
1415 (custom-deps, finder-data, autoloads): Use abs_lisp.
1416 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1417 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1418 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1419
1420 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1421
1422 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1423 Use `following-char'.
1424
1425 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1426
1427 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1428 * progmodes/ruby-mode.el (ruby-smie-rules):
1429 Remove corresponding workaround. Fix indentation rule of ";" so it
1430 also applies when ";" is the parent.
1431
1432 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1433
1434 * frame.el (display-screens, display-pixel-height)
1435 (display-pixel-width, display-mm-width, display-backing-store)
1436 (display-save-under, display-planes, display-color-cells)
1437 (display-visual-class, display-monitor-attributes-list):
1438 Mention the optional ‘display’ argument in doc strings.
1439
1440 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1441
1442 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1443 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1444
1445 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1446
1447 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1448 TODO. Add "." after " @ ".
1449 (ruby-smie--at-dot-call): New function. Checks if point at method
1450 call with explicit target.
1451 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1452 to the method name tokens when it precedes them.
1453 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1454 (ruby-smie-rules): Add rule for indentation before and after "."
1455 token.
1456
1457 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * textmodes/remember.el (remember-diary-extract-entries):
1460 Avoid add-to-list.
1461
1462 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1463 an instruction.
1464
1465 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1466
1467 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1468 (ruby-smie--implicit-semi-p): Add new operator chars.
1469
1470 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1471 `smie-down-list'.
1472 (ruby-smie--args-separator-p): Check that there's no newline
1473 between method call and its arguments.
1474
1475 2013-10-20 Alan Mackenzie <acm@muc.de>
1476
1477 Allow comma separated lists after Java "implements".
1478
1479 * progmodes/cc-engine.el (c-backward-over-enum-header):
1480 Parse commas.
1481 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1482 from a "disallowed" list in enum fontification.
1483
1484 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1485
1486 * startup.el (default-frame-background-mode): Remove unused defvar.
1487
1488 * progmodes/verilog-mode.el (verilog-mode): Don't set
1489 comment-indent-function globally.
1490
1491 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1492
1493 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1494 Move Info menu item creation to ns-win.el.
1495
1496 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1497 in menu bar.
1498
1499 * menu-bar.el: Move GNUStep specific menus...
1500
1501 * term/ns-win.el (ns-initialize-window-system): ... to here.
1502
1503 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1504
1505 * simple.el (newline): Only run post-self-insert-hook when
1506 called interactively.
1507
1508 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1509
1510 * icomplete.el (icomplete-with-completion-tables): Add :version.
1511
1512 2013-10-19 Alan Mackenzie <acm@muc.de>
1513
1514 Fix fontification bugs with constructors and const.
1515
1516 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1517 CASE 2) Remove the check for the absence of a suffix construct
1518 after a function declaration with only types (no identifiers) in
1519 the parentheses. Also, accept a function declaration with just a
1520 type inside the parentheses, if this type can be positively
1521 recognised as such, or if a prefix keyword like "explicit" nails
1522 down the construct as a declaration.
1523
1524 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1525
1526 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1527 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1528 the problem whereby selecting a menu item that leads to a
1529 minibuffer prompt moves the cursor out of the minibuffer window,
1530 making it hard to type at the prompt. Suggested by Stefan Monnier
1531 <monnier@iro.umontreal.ca>.
1532
1533 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1534
1535 * menu-bar.el: Don't make Services menu.
1536
1537 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1538
1539 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1540 (ffap-alist): Use ffap-c++-mode for c++-mode.
1541 (ffap-c++-path): New variable.
1542 (ffap-c++-mode): New function.
1543
1544 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1545
1546 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1547
1548 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1549
1550 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1551 introduced on 2013-09-08, which results in an infinite loop
1552 requesting a password.
1553
1554 2013-10-18 Glenn Morris <rgm@gnu.org>
1555
1556 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1557
1558 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1559
1560 Sync with upstream verilog-mode revision 1a6ecec7.
1561 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1562 (verilog-mode-release-date): Remove.
1563 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1564 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1565 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1566 (verilog-auto-tieoff-ignore-regexp)
1567 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1568 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1569 (verilog-signals-with, verilog-dir-cache-preserving)
1570 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1571 Doc fixes.
1572 (verilog-case-fold): New option, to control case folding in
1573 regexp searches, bug597.
1574 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1575 (verilog-string-match-fold, verilog-in-paren-count)
1576 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1577 (verilog-at-close-struct-p): New functions.
1578 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1579 (verilog-forward-sexp, verilog-set-auto-endcomments):
1580 (verilog-leap-to-case-head): Handle "unique0" case.
1581 (verilog-in-constraint-re): New constant.
1582 (verilog-keywords, verilog-type-font-keywords):
1583 Add some SystemVerilog 1800-2012 keywords.
1584 (verilog-label-be): Remove unimplemented argument, bug669.
1585 (verilog-batch-execute-func): When batch expanding clear
1586 create-lockfiles to prevent spurious user locks when a file ends
1587 up not changing.
1588 (verilog-calculate-indent, verilog-calc-1)
1589 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1590 (verilog-do-indent): Fix indentation of nested constraints
1591 and structures.
1592 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1593 (verilog-auto-inst-param): Use verilog-string-match-fold.
1594 (verilog-read-inst-module-matcher):
1595 Fix AUTOINST on gate primitives with #1.
1596 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1597 Reads all user-defined typed variables.
1598 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1599 (verilog-signals-matching-regexp)
1600 (verilog-signals-not-matching-regexp, verilog-auto):
1601 Respect verilog-case-fold.
1602 (verilog-diff-report): Fix line count.
1603 (verilog-auto-assign-modport): Remove unused local `modi'.
1604 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1605 better handle multidimensional arrays.
1606 Fix packed array ports misadding bit index in AUTOINST, bug637.
1607 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1608 to not double-declare existing outputs and inputs, respectively.
1609 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1610 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1611 (verilog-sk-uvm-component): New skeleton.
1612 (verilog-submit-bug-report): Add verilog-case-fold,
1613 remove verilog-mode-release-date.
1614
1615 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1616
1617 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1618 as before.
1619
1620 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1621
1622 * textmodes/remember.el (remember): set buffer-offer-save in
1623 remember buffers (bug#13566).
1624
1625 2013-10-18 Daniel Colascione <dancol@dancol.org>
1626
1627 When evaluating forms in ielm, direct standard output to ielm
1628 buffer. Add new ielm-return-for-effect command. Remove trailing
1629 whitespace throughout.
1630
1631 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1632 (ielm-return-for-effect): New command.
1633 (ielm-send-input): Accept optional `for-effect' parameter.
1634 (ielm-eval-input): Accept optional `for-effect' parameter.
1635 Bind `standard-output' to stream we create using
1636 `ielm-standard-output-impl'. Suppress printing result when
1637 `for-effect'.
1638 (ielm-standard-output-impl): New function.
1639 (inferior-emacs-lisp-mode): Explain new features in documentation.
1640
1641 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1642
1643 Code cleanup.
1644
1645 * net/tramp.el (tramp-debug-message): Do not check for connection
1646 buffer.
1647 (tramp-message): Use "vector" connection property.
1648
1649 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1650 (tramp-equal-remote, tramp-eshell-directory-change)
1651 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1652 (tramp-adb-handle-rename-file)
1653 * net/tramp-cmds.el (tramp-list-remote-buffers)
1654 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1655 * net/tramp-compat.el (tramp-compat-process-running-p)
1656 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1657 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1658 (tramp-gvfs-handle-rename-file)
1659 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1660 (tramp-set-file-uid-gid)
1661 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1662 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1663 of `file-remote-p'.
1664
1665 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1666 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1667 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1668 (tramp-gw-open-network-stream): Suppress unrelated traces.
1669
1670 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1671 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1672 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1673 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1674 connection property.
1675
1676 * net/tramp-cache.el (top): Suppress traces when reading
1677 persistency file.
1678
1679 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1680 Refactor common code. Improve debug message.
1681 (tramp-maybe-open-connection)
1682 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1683 connection buffer too early.
1684
1685 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1686 from `tramp-smb-actions-with-acl'.
1687 (tramp-smb-actions-set-acl): New defconst.
1688 (tramp-smb-handle-copy-directory)
1689 (tramp-smb-action-get-acl): New defun, renamed from
1690 `tramp-smb-action-with-acl'.
1691 (tramp-smb-action-set-acl): New defun.
1692 (tramp-smb-handle-set-file-acl): Rewrite.
1693
1694 2013-10-17 Glenn Morris <rgm@gnu.org>
1695
1696 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1697
1698 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1699
1700 * skeleton.el (skeleton-newline): Remove.
1701 (skeleton-internal-1): Use (insert "\n") instead.
1702
1703 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1704 let-bindings.
1705
1706 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1707 forward-sexp-function while we redo its job (bug#15613).
1708
1709 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1710
1711 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1712 represented by lists.
1713
1714 2013-10-16 Glenn Morris <rgm@gnu.org>
1715
1716 * tmm.el (tmm--history): New dynamic variable.
1717 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1718
1719 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1720
1721 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1722 (tramp-smb-errors): Add error messages.
1723 (tramp-smb-actions-with-acl): New defconst.
1724 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1725 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1726 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1727 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1728 (tramp-smb-get-stat-capability): Fix tests.
1729
1730 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1731
1732 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1733 (bug#15580).
1734
1735 2013-10-16 Glenn Morris <rgm@gnu.org>
1736
1737 * ansi-color.el (ansi-color-drop-regexp):
1738 Add 1J, 1K, 2K. (Bug#15617)
1739
1740 * files.el (hack-local-variables--warned-lexical): New.
1741 (hack-local-variables):
1742 Warn about misplaced lexical-binding. (Bug#15616)
1743
1744 * net/eww.el (eww-render): Always set eww-current-url,
1745 and update header line. (Bug#15622)
1746 (eww-display-html): ... Rather than just doing it here.
1747
1748 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1749
1750 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1751 menu navigations commands.
1752
1753 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1754
1755 * progmodes/subword.el (subword-capitalize): Be careful when
1756 the search for [[:alpha:]] fails (bug#15580).
1757
1758 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1759
1760 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1761 to commands that scroll the menu.
1762
1763 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1764
1765 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1766 Handle methods ending with `?' and `!'.
1767
1768 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1769
1770 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1771 `japanese-cp932' to `cp932' to fix the problem where saving a
1772 source file written in Shift_JIS twice would end up having
1773 `coding: japanese-cp932' which Ruby could not recognize.
1774 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1775 in `ruby-encoding-map'.
1776 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1777 doesn't need to be explicitly declared in magic comment.
1778 (ruby-encoding-map): Add type declaration for better customize UI.
1779
1780 2013-10-13 Glenn Morris <rgm@gnu.org>
1781
1782 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1783 Occur buffers are read-only. http://bugs.debian.org/720775
1784
1785 * emacs-lisp/authors.el (authors-fixed-entries):
1786 Comment out old alpha stuff.
1787
1788 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1789
1790 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1791 to `after-save-hook' instead of `before-save-hook'.
1792 (ruby-mode-set-encoding): Use the value of coding system used to
1793 write the file. Call `basic-save-buffer-1' after modifying the
1794 buffer.
1795
1796 2013-10-13 Alan Mackenzie <acm@muc.de>
1797
1798 Fix indentation/fontification of Java enum with
1799 "implements"/generic.
1800
1801 * progmodes/cc-engine.el (c-backward-over-enum-header):
1802 Extracted from the three other places and enhanced to handle generics.
1803 (c-inside-bracelist-p): Uses new function above.
1804 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1805 function above.
1806 (c-font-lock-enum-tail): Uses new function above.
1807
1808 2013-10-13 Kenichi Handa <handa@gnu.org>
1809
1810 * international/mule-cmds.el (select-safe-coding-system): Remove a
1811 superfluous condition in chekcing whether a coding system is safe
1812 or not.
1813
1814 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1815
1816 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1817
1818 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1819
1820 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1821
1822 2013-10-13 Glenn Morris <rgm@gnu.org>
1823
1824 * menu-bar.el (menu-bar-update-buffers):
1825 Unify Buffers menu prompt string. (Bug#15576)
1826
1827 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1828
1829 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1830 Add some entries.
1831 (authors-fixed-entries): Use accented form of name.
1832
1833 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1836 method calls (bug#15594).
1837 (ruby-smie--args-separator-p): New function.
1838 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1839 recognize paren-free method calls.
1840
1841 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1842 internals of universal-argument.
1843
1844 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1845
1846 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1847 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1848 dropped menu on second mouse click on the menu bar.
1849
1850 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1851
1852 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1853 (explicit-shell-file-name): Declare.
1854 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1855 (sh-completion-at-point-function): New function.
1856 (sh-mode): Use it.
1857 (sh-smie--keyword-p): Remove unused argument.
1858 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1859 vars.
1860 (sh-set-shell): Always setup SMIE, even if we use the
1861 old indentation code.
1862
1863 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1864
1865 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1866 cases of ? and =.
1867 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1868 predicate would return nil are almost non-existent.
1869 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1870
1871 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1872 cache also after commands that modify the buffer but don't move
1873 point.
1874
1875 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * env.el (substitute-env-in-file-name): New function.
1878 (substitute-env-vars): Extend the meaning of the optional arg.
1879
1880 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1881
1882 * term/w32-win.el (dynamic-library-alist): Define separate lists
1883 of GIF DLLs for versions before and after 5.0.0 of giflib.
1884 (Bug#15531)
1885
1886 2013-10-10 João Távora <joaotavora@gmail.com>
1887
1888 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1889 not locked, use last revision and current source as
1890 defaults. (Bug#15569)
1891
1892 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1893
1894 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1895 menu-bar is hidden.
1896
1897 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1898
1899 * window.el (pop-to-buffer-same-window): Fix doc-string.
1900 (Bug#15492)
1901
1902 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1903
1904 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1905
1906 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1907
1908 * calendar/icalendar.el (icalendar-import-file):
1909 Fix interactive spec. (Bug#15482)
1910
1911 2013-10-10 Glenn Morris <rgm@gnu.org>
1912
1913 * desktop.el (desktop-save): Default to saving in .emacs.d,
1914 since PWD is no longer in desktop-path by default. (Bug#15319)
1915
1916 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1917 now that text mode has a menu with the same entry.
1918 (menu-bar-text-mode-auto-fill): Remove now unused func.
1919 * textmodes/text-mode.el (text-mode-map):
1920 Use auto-fill help text from menu-bar.el.
1921
1922 2013-10-10 John Anthony <john@jo.hnanthony.com>
1923
1924 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1925
1926 2013-10-09 Juri Linkov <juri@jurta.org>
1927
1928 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1929 instead of this-command-keys. Add universal-argument-more and
1930 universal-argument-minus to the list of prefix commands. (Bug#15568)
1931
1932 2013-10-09 Glenn Morris <rgm@gnu.org>
1933
1934 * vc/vc-svn.el (vc-svn-create-repo):
1935 Expand paths in file://... url. (Bug#15446)
1936
1937 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1938 Add some entries.
1939 (authors): Remove unused local variables.
1940
1941 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1942
1943 * profiler.el: Create a more coherent calltree from partial backtraces.
1944 (profiler-format): Hide the tail with `invisible' so that C-s can still
1945 find the hidden elements.
1946 (profiler-calltree-depth): Don't recurse so enthusiastically.
1947 (profiler-function-equal): New hash-table-test.
1948 (profiler-calltree-build-unified): New function.
1949 (profiler-calltree-build): Use it.
1950 (profiler-report-make-name-part): Indent the calltree less.
1951 (profiler-report-mode): Add visibility specs for profiler-format.
1952 (profiler-report-expand-entry, profiler-report-toggle-entry):
1953 Expand the whole subtree when provided with a prefix arg.
1954
1955 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1956
1957 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1958 iuwu-mod token.
1959 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1960 hanging iuwu-mod token.
1961 (ruby-smie--forward-token): Do not include a dot after a token in
1962 that token.
1963 (ruby-smie--backward-token): Likewise.
1964
1965 2013-10-08 Juri Linkov <juri@jurta.org>
1966
1967 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1968 to isearch-other-control-char.
1969 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1970 and isearch-post-command-hook to post-command-hook.
1971 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1972 and isearch-post-command-hook from post-command-hook.
1973 (isearch-unread-key-sequence)
1974 (isearch-reread-key-sequence-naturally)
1975 (isearch-lookup-scroll-key, isearch-other-control-char)
1976 (isearch-other-meta-char): Remove functions.
1977 (isearch-pre-command-hook, isearch-post-command-hook):
1978 New functions based on isearch-other-meta-char rewritten
1979 relying on the new behavior of overriding-terminal-local-map
1980 that does not replace the local keymaps any more. (Bug#15200)
1981
1982 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1983
1984 Support menus on text-mode terminals.
1985 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1986 functionality.
1987
1988 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1989
1990 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1991 Move here from mouse.el.
1992 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1993 and arrow keys.
1994 (tty-menu-navigation-map): New map for TTY menu navigation.
1995
1996 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1997
1998 * frame.el (display-mouse-p): Report text-mode mouse as available
1999 on w32.
2000 (display-popup-menus-p): Report availability if mouse is
2001 available; don't condition on window-system.
2002
2003 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2004 (tty-menu-selected-face): New faces.
2005
2006 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2007
2008 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2009 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2010 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2011 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2012 New constants.
2013 (lisp-mode-variables): New `elisp' argument.
2014 (emacs-lisp-mode): Use it.
2015 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2016 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2017
2018 * indent.el: Use lexical-binding.
2019 (indent-region): Add progress reporter.
2020 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2021 last step.
2022 (indent--next-tab-stop): New function to implement this behavior.
2023 (tab-to-tab-stop, move-to-tab-stop): Use it.
2024
2025 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2026
2027 * indent.el (indent-rigidly--current-indentation): New function.
2028 (indent-rigidly-map): New var.
2029 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2030
2031 2013-10-08 Bastien Guerry <bzg@gnu.org>
2032
2033 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2034
2035 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2036
2037 * progmodes/perl-mode.el: Use lexical-binding.
2038 Remove redundant :group args.
2039 (perl-nochange): Change default to be closer to other major modes's
2040 standard behavior.
2041 (perl-indent-line): Don't consider text on current line as a
2042 valid beginning of function from which to indent.
2043
2044 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2045 with more than one argument (bug#15538).
2046
2047 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2048
2049 * vc/pcvs.el: Use lexical-binding.
2050 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2051 environment of `eval'.
2052 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2053 than a list of expressions. Adjust callers.
2054 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2055
2056 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2057
2058 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2059 case of the dot in a chained method call being on the following line.
2060
2061 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2062
2063 * electric.el (electric-indent-inhibit): New var.
2064 (electric-indent-post-self-insert-function): Use it.
2065 * progmodes/python.el (python-mode): Set it.
2066
2067 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2068 open braces.
2069
2070 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2071
2072 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2073 (css-mode): Use electric-indent-chars.
2074
2075 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2076 (font-lock-beg, font-lock-end): Move before first use.
2077 (nxml-mode): Use syntax-propertize-function.
2078 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2079 (nxml-extend-after-change-region): Remove.
2080 * nxml/xmltok.el: Use lexical-binding.
2081 (xmltok-save): Use `declare'.
2082 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2083 * nxml/nxml-util.el: Use lexical-binding.
2084 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2085 Use `declare'.
2086 * nxml/nxml-ns.el: Use lexical-binding.
2087 (nxml-ns-save): Use `declare'.
2088 (nxml-ns-prefixes-for): Avoid add-to-list.
2089 * nxml/rng-match.el: Use lexical-binding.
2090 (rng--ipattern): Use cl-defstruct.
2091 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2092 (rng-cons-group-after, rng-subst-group-after)
2093 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2094 Use closures instead of `(lambda...).
2095
2096 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2097
2098 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2099 of BEG and END.
2100
2101 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2102 Use `tramp-handle-insert-file-contents'.
2103 (tramp-gvfs-handle-insert-file-contents): Remove function.
2104
2105 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2106 Use `save-restriction' in order to keep markers.
2107
2108 * net/trampver.el: Update release number.
2109
2110 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2111
2112 * progmodes/compile.el (compilation-parse-errors):
2113 Use compilation--put-prop.
2114 (compilation--ensure-parse): Check compilation-multiline.
2115
2116 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2117
2118 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2119 lexical-binding.
2120
2121 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2122
2123 * progmodes/ruby-mode.el: Fix recently added tests.
2124 (ruby-smie-grammar): Add - and +.
2125 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2126 (ruby-smie--backward-id): New functions.
2127 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2128 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2129 any more.
2130
2131 2013-10-07 Leo Liu <sdl.web@gmail.com>
2132
2133 * register.el (register-preview-delay)
2134 (register-preview-functions): New variables.
2135 (register-read-with-preview, register-preview)
2136 (register-describe-oneline): New functions.
2137 (point-to-register, window-configuration-to-register)
2138 (frame-configuration-to-register, jump-to-register)
2139 (number-to-register, view-register, insert-register)
2140 (copy-to-register, append-to-register, prepend-to-register)
2141 (copy-rectangle-to-register): Use register-read-with-preview to
2142 read register. (Bug#15525)
2143
2144 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2145
2146 * net/network-stream.el (network-stream-open-starttls): Don't add
2147 --insecure if it's already present, because that gnutls-cli
2148 rejects getting that parameter twice.
2149
2150 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2151
2152 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2153 keyword, too.
2154
2155 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2156
2157 * newcomment.el (comment-use-global-state): Change default value
2158 to t, mark obsolete (Bug#15251).
2159 (comment-beginning): In addition to `comment-to-syntax', check the
2160 value of `comment-use-global-state'.
2161
2162 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2165 (ruby-comment-column): Follow the global default, by default.
2166 (ruby-smie-grammar): Add assignment syntax.
2167 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2168 open-paren, a comma, or a \.
2169 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2170 and line continuations.
2171 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2172 followed by implicit semi-colons. Add rule for string concatenation
2173 and for indentation at BOB.
2174 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2175
2176 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2177 calling next-sexp, since next-token may have skipped chars which
2178 next-sexp doesn't know should be skipped!
2179
2180 2013-10-05 Leo Liu <sdl.web@gmail.com>
2181
2182 * progmodes/octave.el (octave-send-region):
2183 Call compilation-forget-errors.
2184
2185 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2186
2187 * vc/vc-svn.el (vc-svn-find-admin-dir):
2188 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2189 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2190 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2191 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2192
2193 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2194
2195 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2196
2197 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2198
2199 * subr.el (read-passwd): Hide chars even when called within a context
2200 where after-change-functions is disabled (bug#15501).
2201 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2202 until we removed ourself from overriding-terminal-local-map.
2203
2204 2013-10-04 Leo Liu <sdl.web@gmail.com>
2205
2206 * progmodes/octave.el (inferior-octave-mode):
2207 Call compilation-forget-errors.
2208
2209 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2210
2211 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2212
2213 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2214
2215 * net/secrets.el (secrets-create-collection): Add optional
2216 argument ALIAS. Use proper Label keyword. Append ALIAS as
2217 dbus-call-method argument. (Bug#15516)
2218
2219 2013-10-04 Leo Liu <sdl.web@gmail.com>
2220
2221 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2222 (inferior-octave-compilation-font-lock-keywords): New variables.
2223 (compilation-error-regexp-alist)
2224 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2225 (inferior-octave-mode): Use compilation-shell-minor-mode.
2226
2227 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2228
2229 * minibuffer.el (completion--replace): Be careful that `end' might be
2230 a marker.
2231
2232 2013-10-03 Daiki Ueno <ueno@gnu.org>
2233
2234 Add support for package signature checking.
2235 * emacs-lisp/package.el (url-http-file-exists-p)
2236 (epg-make-context, epg-context-set-home-directory)
2237 (epg-verify-string, epg-context-result-for)
2238 (epg-signature-status, epg-signature-to-string)
2239 (epg-check-configuration, epg-configuration)
2240 (epg-import-keys-from-file): Declare.
2241 (package-check-signature): New user option.
2242 (package-unsigned-archives): New user option.
2243 (package-desc): Add `signed' field.
2244 (package-load-descriptor): Set `signed' field if .signed file exists.
2245 (package--archive-file-exists-p): New function.
2246 (package--check-signature): New function.
2247 (package-install-from-archive): Check package signature.
2248 (package--download-one-archive): Check archive signature.
2249 (package-delete): Remove .signed file.
2250 (package-import-keyring): New command.
2251 (package-refresh-contents): Import default keyring.
2252 (package-desc-status): Add "unsigned" status.
2253 (describe-package-1, package-menu--print-info)
2254 (package-menu-mark-delete, package-menu--find-upgrades)
2255 (package-menu--status-predicate): Support "unsigned" status.
2256
2257 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2258
2259 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2260 the new compilation scheme using the new byte-codes.
2261
2262 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2263 (byte-pophandler): New byte codes.
2264 (byte-goto-ops): Adjust accordingly.
2265 (byte-compile--use-old-handlers): New var.
2266 (byte-compile-catch): Use new byte codes depending on
2267 byte-compile--use-old-handlers.
2268 (byte-compile-condition-case--old): Rename from
2269 byte-compile-condition-case.
2270 (byte-compile-condition-case--new): New function.
2271 (byte-compile-condition-case): New function that dispatches depending
2272 on byte-compile--use-old-handlers.
2273 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2274 when we can.
2275
2276 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2277 Optimize under `condition-case' and `catch' if
2278 byte-compile--use-old-handlers is nil.
2279 (disassemble-offset): Handle new bytecodes.
2280
2281 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2282
2283 * subr.el (error): Use `declare'.
2284 (decode-char, encode-char): Use advertised-calling-convention instead
2285 of the docstring to discourage use of the `restriction' arg.
2286
2287 2013-10-03 Daiki Ueno <ueno@gnu.org>
2288
2289 * epg.el (epg-verify-file): Add a comment saying that it does not
2290 notify verification error as a return value nor a signal.
2291 (epg-verify-string): Ditto.
2292
2293 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2294
2295 * progmodes/compile.el (compilation-start): Try globbing the arg to
2296 `cd' (bug#15417).
2297
2298 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2299
2300 Sync with Tramp 2.2.8.
2301
2302 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2303 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2304 * net/trampver.el: Update release number.
2305
2306 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2307
2308 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2309 and default-process-coding-system for darwin only.
2310
2311 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2314
2315 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2316
2317 * vc/vc-git.el (vc-git-grep): Disable pager.
2318
2319 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2320
2321 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2322 Use :url instead of :homepage, as per
2323 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2324
2325 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2326 non-nil, use `syntax-ppss' (Bug#15251).
2327
2328 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2329
2330 * progmodes/octave.el (inferior-octave-startup-file):
2331 Prefer ~/.emacs.d/init_octave.m.
2332
2333 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2334
2335 * emacs-lisp/package.el (package-desc-from-define):
2336 Accept additional arguments as plist, convert them to an alist and store
2337 them in the `extras' slot.
2338 (package-generate-description-file): Convert extras alist back to
2339 plist and append to the `define-package' form arguments.
2340 (package--alist-to-plist): New function.
2341 (package--ac-desc): Add `extras' slot.
2342 (package--add-to-archive-contents): Check if the archive-contents
2343 vector is long enough, and if it is, pass its `extras' slot value
2344 to `package-desc-create'.
2345 (package-buffer-info): Call `lm-homepage', pass the returned value
2346 to `package-desc-from-define'.
2347 (describe-package-1): Render the homepage button (Bug#13291).
2348
2349 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2350 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2351
2352 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2353
2354 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2355 and default-process-coding-system to utf-8-unix (Bug#15402).
2356
2357 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2358
2359 * subr.el (looking-back): Do not recommend using looking-back.
2360
2361 2013-09-28 Alan Mackenzie <acm@muc.de>
2362
2363 Fix indentation/fontification of Java enum with "implements".
2364
2365 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2366 regexp which matches "implements", etc., in Java.
2367 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2368 specifier clauses coming after "enum".
2369 * progmodes/cc-fonts.el (c-font-lock-declarations)
2370 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2371 after "enum".
2372
2373 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2374
2375 * faces.el (region): Change ns_selection_color to
2376 ns_selection_fg_color, add ns_selection_bg_color.
2377
2378 2013-09-28 Leo Liu <sdl.web@gmail.com>
2379
2380 * progmodes/octave.el (inferior-octave-completion-table)
2381 (inferior-octave-completion-at-point): Minor tweaks.
2382
2383 * textmodes/ispell.el (ispell-lookup-words): Rename from
2384 lookup-words. (Bug#15460)
2385 (lookup-words): Obsolete.
2386 (ispell-complete-word, ispell-command-loop): All uses changed.
2387
2388 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2389
2390 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2391 (octave-mode-menu): Add octave-send-buffer.
2392 (octave-send-buffer): New function.
2393
2394 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2395
2396 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2397 octave-lookfor.
2398 (octave-mode-menu): Add octave-lookfor.
2399 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2400 octave-lookfor.
2401 (octave-lookfor): New function.
2402
2403 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * emacs-lisp/cl-macs.el:
2406 (cl--loop-destr-temps): Remove.
2407 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2408 its convention.
2409 (cl--loop-set-iterator-function): New function.
2410 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2411 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2412 Bind `it' with `let' instead of substituting it with `cl-subst'.
2413 (cl--unused-var-p): New function.
2414 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2415 Eliminate some unused variable warnings (bug#15326).
2416
2417 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2418
2419 * doc-view.el (doc-view-scale-reset): Rename from
2420 `doc-view-reset-zoom-level'.
2421 (doc-view-scale-adjust): New command.
2422 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2423 `doc-view-scale-adjust'.
2424
2425 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2426
2427 * doc-view.el (doc-view-reset-zoom-level): New command.
2428 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2429 zoom commands (bug#15466).
2430
2431 2013-09-26 Kenichi Handa <handa@gnu.org>
2432
2433 * international/quail.el (quail-help): Make it not a command.
2434
2435 2013-09-26 Leo Liu <sdl.web@gmail.com>
2436
2437 * minibuffer.el (completion-all-sorted-completions): Make args
2438 optional as they are.
2439
2440 2013-09-25 Daniel Colascione <dancol@dancol.org>
2441
2442 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2443 specs are and that they're not evaluated.
2444
2445 2013-09-24 Sam Steingold <sds@gnu.org>
2446
2447 * midnight.el (clean-buffer-list-kill-regexps)
2448 (clean-buffer-list-kill-buffer-names): Update for the new Man
2449 buffer naming which includes the object name.
2450
2451 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2452
2453 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2454 (eshell-parse-command, eshell-parse-pipeline): Use it since
2455 eshell-separate-commands requires a dynamic scoped var.
2456 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2457
2458 2013-09-23 Leo Liu <sdl.web@gmail.com>
2459
2460 * autoinsert.el (auto-insert-alist): Make the value of
2461 lexical-binding match its file setting.
2462
2463 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2464
2465 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2466
2467 * autoarg.el (autoarg-kp-digit-argument):
2468 * electric.el (Electric-command-loop):
2469 * kmacro.el (kmacro-step-edit-insert):
2470 Do not set universal-argument-num-events.
2471
2472 2013-09-22 Leo Liu <sdl.web@gmail.com>
2473
2474 * files.el (interpreter-mode-alist): Add octave.
2475
2476 2013-09-21 Alan Mackenzie <acm@muc.de>
2477
2478 C++: fontify identifier in declaration following "public:" correctly.
2479 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2480 to match "public", etc.
2481 (c-decl-prefix-re): Add ":" into the C++ value.
2482 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2483 bit. Add a check for a ":" preceded by "public", etc.
2484
2485 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2486
2487 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2488 recognized by GDB 7.5 and later.
2489
2490 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2491
2492 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2493
2494 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * subr.el (internal--call-interactively): New const.
2497 (called-interactively-p): Use it (bug#3984).
2498
2499 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2500
2501 * vc/pcvs.el (cvs-mode-ignore):
2502 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2503 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2504
2505 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2506
2507 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2508 (eshell-ls-orig-insert-directory): Remove.
2509 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2510 (eshell-ls-use-in-dired): Use advice-add/remove.
2511 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2512 Add `orig-fun' arg for use in :around advice.
2513 Make it check (redundantly) eshell-ls-use-in-dired.
2514
2515 2013-09-19 Glenn Morris <rgm@gnu.org>
2516
2517 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2518
2519 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2520
2521 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2522
2523 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2524
2525 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2526 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2527 (tramp-get-remote-python): New defuns.
2528 (tramp-get-remote-uid-with-perl)
2529 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2530 contributed by yary <not.com@gmail.com> (tiny change).
2531 (tramp-get-remote-uid-with-python)
2532 (tramp-get-remote-gid-with-python): New defuns. Python code
2533 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2534 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2535
2536 2013-09-19 Glenn Morris <rgm@gnu.org>
2537
2538 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2539
2540 * eshell/em-unix.el (eshell-remove-entries):
2541 Rename argument to avoid name-clash with global `top-level'.
2542
2543 * eshell/esh-proc.el (eshell-kill-process-function):
2544 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2545 (eshell-reset-after-proc): Remove unused arg `proc'.
2546
2547 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2548 (directory-files-and-attributes): Mark unused arg.
2549
2550 * eshell/em-unix.el (eshell-remove-entries):
2551 Remove unused arg `path'. Update callers.
2552
2553 * eshell/em-hist.el (eshell-hist-parse-arguments):
2554 Remove unused arg `silent'. Update callers.
2555
2556 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2557 Fix (f)boundp mix-up.
2558
2559 * eshell/em-smart.el (eshell-smart-scroll-window)
2560 (eshell-disable-after-change):
2561 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2562
2563 2013-09-18 Alan Mackenzie <acm@muc.de>
2564
2565 Fix fontification of type when followed by "const".
2566 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2567 "known" types from fontification.
2568
2569 2013-09-18 Glenn Morris <rgm@gnu.org>
2570
2571 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2572 (chart-face-list): Drop Emacsen without display-color-p.
2573
2574 * net/eww.el (libxml-parse-html-region): Declare.
2575 (eww-display-html): Explicit error if no libxml2 support.
2576
2577 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2578
2579 * image.el (image-type-from-buffer, image-multi-frame-p):
2580 Remove --without-x warning/error.
2581
2582 * mouse.el (mouse-yank-primary):
2583 * term.el (term-mouse-paste):
2584 Reorder to silence --without-x compilation.
2585
2586 * mpc.el (doc-view-mode): Silence --without-x compilation.
2587
2588 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2589 Silence --without-x compilation.
2590
2591 * progmodes/gud.el (gud-find-file, gud-mode):
2592 Silence --without-x compilation.
2593 (tooltip-mode): Declare.
2594
2595 * wdired.el (dired-backup-overwrite): Remove declaration.
2596 (wdired-mode-map): Add doc string.
2597
2598 * custom.el (x-get-resource): Declare.
2599
2600 * eshell/em-glob.el (ange-cache):
2601 * eshell/em-unix.el (ange-cache): Declare.
2602
2603 * faces.el (x-display-list, x-open-connection, x-get-resource):
2604 Declare.
2605
2606 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2607 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2608 Declare.
2609
2610 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2611
2612 * net/gnutls.el (gnutls-log-level): Declare.
2613
2614 * net/shr.el (image-size, image-animate): Declare.
2615
2616 * simple.el (font-info): Declare.
2617
2618 * subr.el (x-popup-dialog): Declare.
2619
2620 * term/common-win.el (x-select-enable-primary)
2621 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2622 Declare.
2623
2624 * term/ns-win.el (x-handle-args): Declare.
2625
2626 * term/x-win.el (x-select-enable-clipboard): Declare.
2627
2628 * term/w32-win.el (create-default-fontset): Declare.
2629
2630 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2631 Declare.
2632
2633 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2634 (fit-frame-to-buffer): Explicit error if --without-x.
2635 (mouse-autoselect-window-select): Silence compiler.
2636
2637 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2638
2639 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2640 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2641 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2642 * eshell/esh-util.el (eshell-sublist):
2643 Remove unused local variables.
2644
2645 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2646
2647 * textmodes/two-column.el: Make 2C-split work for --without-x.
2648 (scroll-bar-columns): Autoload.
2649 (top-level): Require fringe when compiling.
2650
2651 2013-09-18 Leo Liu <sdl.web@gmail.com>
2652
2653 * subr.el (add-hook): Robustify to handle closure as well.
2654
2655 2013-09-17 Glenn Morris <rgm@gnu.org>
2656
2657 * simple.el (messages-buffer-mode-map): Unbind "g".
2658
2659 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2660
2661 * help-mode.el (help-mode-finish): Use derived-mode-p.
2662 Remove obsolete highlighting.
2663
2664 * play/life.el (life-mode): Use define-derived-mode. Derive from
2665 special-mode.
2666 (life): Let-bind inhibit-read-only.
2667 (life-setup): Avoid `setq'. Use `life-mode'.
2668
2669 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2670 which should not be needed any more.
2671 (package-menu-refresh, package-menu-describe-package): Use user-error.
2672
2673 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2674 (eshell-post-rewrite-command-hook): Make obsolete.
2675 (eshell-parse-command): Simplify.
2676 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2677 (eshell--cmd): Declare.
2678 (eshell-parse-pipeline): Remove unused var `final-p'.
2679 Pass a dynvar to eshell-post-rewrite-command-hook.
2680 Implement the new eshell-post-rewrite-command-function.
2681 (eshell-invoke-directly): Remove unused arg `input'.
2682 * eshell/esh-io.el (eshell-io-initialize):
2683 Use eshell-post-rewrite-command-function (bug#15399).
2684 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2685 adjust to new calling convention.
2686 (eshell-create-handles): Rename args to avoid clashing with dynvar
2687 `standard-output'.
2688
2689 2013-09-17 Glenn Morris <rgm@gnu.org>
2690
2691 * simple.el (messages-buffer-mode): New major mode.
2692 (messages-buffer): New function.
2693 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2694 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2695 (ert-run-test): Use `messages-buffer' function.
2696 (ert--force-message-log-buffer-truncation): Ignore read-only.
2697 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2698 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2699
2700 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2701
2702 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2703
2704 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2705
2706 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * icomplete.el (icomplete-in-buffer): New var.
2709 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2710 vars and replace them with functions.
2711 (icomplete-minibuffer-setup): Adjust accordingly.
2712 (icomplete--completion-table, icomplete--completion-predicate)
2713 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2714 New functions.
2715 (icomplete-forward-completions, icomplete-backward-completions)
2716 (icomplete-simple-completing-p, icomplete-exhibit)
2717 (icomplete-completions): Use them.
2718 (icomplete--in-region-buffer): New var.
2719 (icomplete--in-region-setup): New function.
2720 (icomplete-mode): Use it.
2721
2722 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2723 (bug#15379).
2724 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2725 return args and options.
2726 (eshell-eval-using-options): Use the new return value of
2727 eshell--do-opts to set the options's vars in their scope.
2728 (eshell--set-option): Rename from eshell-set-option.
2729 Add arg `opt-vals'.
2730 (eshell--process-option): Rename from eshell-process-option.
2731 Add arg `opt-vals'.
2732 (eshell--process-args): Use an `opt-vals' alist to store the options's
2733 values during their processing and return them additionally to the
2734 remaining args.
2735
2736 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2737
2738 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2739 continuation character an operator, as far as indentation is
2740 concerned (Bug#15369).
2741
2742 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2743
2744 * window.el (window--state-put-2): Don't process buffer state
2745 when buffer doesn't exist any more (Bug#15382).
2746
2747 2013-09-15 Glenn Morris <rgm@gnu.org>
2748
2749 * eshell/em-unix.el (eshell/rm):
2750 Make -f ignore missing files. (Bug#15373)
2751
2752 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2753 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2754 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2755
2756 2013-09-14 Glenn Morris <rgm@gnu.org>
2757
2758 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2759
2760 2013-09-13 Glenn Morris <rgm@gnu.org>
2761
2762 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2763 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2764
2765 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2766
2767 * frame.el (x-focus-frame): Mark as declared in frame.c.
2768
2769 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2770
2771 * ls-lisp.el: Use advice-add.
2772 (original-insert-directory): Remove.
2773 (ls-lisp--insert-directory): Rename from insert-directory; add
2774 `orig-fun' argument.
2775 (insert-directory): Advise.
2776
2777 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2778
2779 * term.el (term-emulate-terminal): Decode the command string
2780 before passing it to term-command-hook. (Bug#15337)
2781
2782 2013-09-13 Glenn Morris <rgm@gnu.org>
2783
2784 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2785
2786 * eshell/esh-ext.el (eshell-search-path): Declare.
2787
2788 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2789 Otherwise an error occurs if eshell-dirs module not loaded.
2790
2791 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2792
2793 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2794
2795 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2796 `tramp-check-proper-host'. Check for a valid method name.
2797
2798 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2799 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2800 * net/tramp-sh.el (tramp-maybe-open-connection):
2801 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2802
2803 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2804 also for hash values.
2805
2806 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * term/ns-win.el (parameters): Don't declare as dynamic.
2809 (before-make-frame-hook): Don't add ineffective function.
2810
2811 * eshell/*.el: Use lexical-binding (bug#15231).
2812
2813 2013-09-12 Kenichi Handa <handa@gnu.org>
2814
2815 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2816
2817 2013-09-12 Glenn Morris <rgm@gnu.org>
2818
2819 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2820 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2821
2822 * subr.el (do-after-load-evaluation): Also give compiler warnings
2823 when obsolete files are used (except by obsolete files).
2824
2825 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2826 in the status output, assume `filename' is the first. (Bug#15322)
2827
2828 * vc/vc.el (vc-deduce-fileset): Doc fix.
2829
2830 * calc/calc-help.el (Info-goto-node):
2831 * progmodes/cperl-mode.el (Info-find-node):
2832 * vc/ediff.el (Info-goto-node): Update declarations.
2833
2834 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2835
2836 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2837 (vc-bzr-pull): Require vc-dispatcher.
2838 * vc/vc-git.el (vc-compilation-mode): Declare.
2839 (vc-git-pull): Require vc-dispatcher.
2840
2841 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2842
2843 * progmodes/octave.el (help-button-action): Declare.
2844
2845 * shell.el (shell-directory-tracker): Output error as a message
2846 rather than just returning it as a string.
2847 (shell-process-pushd): Remove useless use of message.
2848
2849 * dframe.el (dframe-timer-fn):
2850 * files.el (dir-locals-read-from-file):
2851 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2852 (mpc-format):
2853 * reveal.el (reveal-post-command):
2854 * saveplace.el (load-save-place-alist-from-file):
2855 * shell.el (shell-resync-dirs):
2856 * w32-common-fns.el (x-get-selection-value):
2857 * emacs-lisp/copyright.el (copyright-find-copyright):
2858 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2859 * emulation/tpu-edt.el (tpu-copy-keyfile):
2860 * play/bubbles.el (bubbles--mark-neighbourhood):
2861 * progmodes/executable.el
2862 (executable-make-buffer-file-executable-if-script-p):
2863 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2864
2865 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 Cleanup Eshell to rely less on dynamic scoping.
2868 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2869 last-value, and ext-command here. Bind `args' closer to `body'.
2870 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2871 (eshell--args): Declare new dynamic var.
2872 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2873 last-value, and ext-command. Pass `args' to `body'.
2874 (eshell-process-args): Bind eshell--args.
2875 (eshell-set-option): Use eshell--args.
2876 * eshell/eshell.el (eshell): Use derived-mode-p.
2877 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2878 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2879 (eshell-glob-function): Declare.
2880 * eshell/esh-util.el: Require cl-lib.
2881 (eshell-read-hosts-file): Avoid add-to-list.
2882 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2883 `err'.
2884 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2885 Declare.
2886 (eshell/diff): Remove unused var `err'.
2887 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2888 `killflag'.
2889 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2890 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2891 first use.
2892 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2893 Move declaration before first use.
2894 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2895 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2896 rely on cl-return.
2897
2898 2013-09-12 Glenn Morris <rgm@gnu.org>
2899
2900 * term/ns-win.el (global-map): Remove binding for ispell-next,
2901 deleted 1999-05-29. (Bug#15357)
2902
2903 2013-09-11 Glenn Morris <rgm@gnu.org>
2904
2905 * echistory.el (electric-command-history): Remove call to deleted func.
2906
2907 * play/landmark.el (landmark-mode): Fix typos.
2908
2909 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2910 Check cvs-sort-ignore-file is bound.
2911
2912 * savehist.el: No need for cl when compiling on Emacs.
2913
2914 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2915
2916 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2917 (bug#15338).
2918 (eshell-self-insert-command, eshell-send-invisible):
2919 Remove unused argument.
2920 (eshell-handle-control-codes): Remove unused var `orig'.
2921 Avoid delete-backward-char.
2922
2923 * files.el (set-auto-mode): Simplify a bit further.
2924
2925 2013-09-11 Glenn Morris <rgm@gnu.org>
2926
2927 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2928 (set-auto-mode): Don't regexp-quote elements.
2929 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2930 * progmodes/cc-mode.el (interpreter-mode-alist):
2931 * progmodes/ruby-mode.el (interpreter-mode-alist):
2932 Revert previous change.
2933
2934 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2935
2936 * play/snake.el (snake-mode):
2937 * play/mpuz.el (mpuz-mode):
2938 * play/landmark.el (lm-mode):
2939 * play/blackbox.el (blackbox-mode):
2940 * play/5x5.el (5x5-mode):
2941 * obsolete/options.el (Edit-options-mode):
2942 * net/quickurl.el (quickurl-list-mode):
2943 * net/newst-treeview.el (newsticker-treeview-mode):
2944 * mail/rmailsum.el (rmail-summary-mode):
2945 * mail/mspools.el (mspools-mode):
2946 * locate.el (locate-mode):
2947 * ibuffer.el (ibuffer-mode):
2948 * emulation/ws-mode.el (wordstar-mode):
2949 * emacs-lisp/debug.el (debugger-mode):
2950 * array.el (array-mode):
2951 * net/eudc.el (eudc-mode): Use define-derived-mode.
2952 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2953 Move initialization into declaration.
2954 (mairix-searches-mode): Use define-derived-mode.
2955 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2956 (eudc-edit-hotlist): Use dolist.
2957 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2958 (Man-mode): Use define-derived-mode.
2959 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2960 (Info-edit-mode): Use define-derived-mode.
2961 (Info-cease-edit): Use Info-mode.
2962 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2963 into declaration.
2964 (eshell-mode): Use define-derived-mode.
2965 * chistory.el (command-history-mode-map): Rename from
2966 command-history-map.
2967 (command-history-mode): Use define-derived-mode.
2968 (Command-history-setup): Remove function.
2969 * calc/calc.el (calc-trail-mode-map): New var.
2970 (calc-trail-mode): Use define-derived-mode.
2971 (calc-trail-buffer): Set calc-main-buffer manually.
2972 * bookmark.el (bookmark-insert-annotation): New function.
2973 (bookmark-edit-annotation): Use it.
2974 (bookmark-edit-annotation-mode): Make it a proper major mode.
2975 (bookmark-send-edited-annotation): Use derived-mode-p.
2976 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2977 closer to its ideal place. Use \' to match EOS.
2978
2979 * profiler.el (profiler-calltree-find): Use function-equal.
2980
2981 2013-09-10 Glenn Morris <rgm@gnu.org>
2982
2983 * files.el (interpreter-mode-alist): Convert to regexps.
2984 (set-auto-mode): Adapt for this. (Bug#15306)
2985 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2986 Comment out unused variable.
2987 * progmodes/cc-mode.el (interpreter-mode-alist):
2988 * progmodes/python.el (interpreter-mode-alist):
2989 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2990 * progmodes/sh-script.el (sh-set-shell):
2991 No longer use interpreter-mode-alist to get list of shells.
2992
2993 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2994
2995 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2996
2997 * simple.el: Use set-temporary-overlay-map for universal-argument.
2998 (universal-argument-map): Don't use default-bindings (bug#15317).
2999 Bind switch-frame explicitly. Replace universal-argument-minus with
3000 a conditional binding.
3001 (universal-argument-num-events, saved-overriding-map): Remove.
3002 (restore-overriding-map): Remove.
3003 (universal-argument--mode): Rename from save&set-overriding-map,
3004 and rewrite.
3005 (universal-argument, universal-argument-more, negative-argument)
3006 (digit-argument): Adjust accordingly.
3007 (universal-argument-minus): Remove.
3008 (universal-argument-other-key): Remove.
3009
3010 * subr.el (with-demoted-errors): Add `format' argument.
3011
3012 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3013
3014 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3015 `tramp-cleanup-connection'.
3016
3017 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3018 parameters KEEP-DEBUG and KEEP-PASSWORD.
3019
3020 * net/tramp.el (tramp-file-name-handler):
3021 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3022 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3023 (tramp-maybe-open-connection):
3024 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3025 Use `tramp-cleanup-connection'.
3026
3027 * net/tramp-sh.el (tramp-maybe-open-connection):
3028 Catch 'uname-changed inside the progress reporter.
3029
3030 2013-09-10 Glenn Morris <rgm@gnu.org>
3031
3032 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3033
3034 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3035 returns "alternate access method" in mode (eg "-rw-r--r--.").
3036
3037 2013-09-08 Glenn Morris <rgm@gnu.org>
3038
3039 * saveplace.el (load-save-place-alist-from-file):
3040 Demote errors. (Bug#15305)
3041
3042 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3043
3044 Improve compatibility with older Emacsen, and XEmacs.
3045
3046 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3047 only if it is bound. It isn't for XEmacs.
3048 (with-tramp-progress-reporter): Do not let-bind `result'.
3049 This yields to scoping errors in XEmacs.
3050 (tramp-handle-make-auto-save-file-name): New function, moved from
3051 tramp-sh.el.
3052
3053 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3054 for `make-auto-save-file-name'.
3055 (tramp-adb--gnu-switches-to-ash):
3056 Use `tramp-compat-replace-regexp-in-string'.
3057
3058 * net/tramp-cache.el (tramp-cache-print): Call
3059 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3060
3061 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3062 bound. It isn't for XEmacs.
3063
3064 * net/tramp-compat.el (tramp-compat-copy-file):
3065 Catch `wrong-number-of-arguments' error.
3066 (tramp-compat-replace-regexp-in-string): New defun.
3067
3068 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3069 for `make-auto-save-file-name'.
3070 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3071 `copy-file'.
3072 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3073 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3074 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3075
3076 * net/tramp-gw.el (tramp-gw-open-network-stream):
3077 Use `tramp-compat-replace-regexp-in-string'.
3078
3079 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3080 Call `tramp-handle-make-auto-save-file-name'.
3081 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3082 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3083 (tramp-sh-file-inotifywait-process-filter):
3084 Use `tramp-compat-replace-regexp-in-string'.
3085 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3086
3087 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3088 for `make-auto-save-file-name'.
3089 (tramp-smb-handle-copy-directory):
3090 Call `tramp-compat-replace-regexp-in-string'.
3091 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3092 (tramp-smb-handle-copy-file): Improve error message.
3093 (tramp-smb-handle-rename-file): Rename directly only in case
3094 `newname' does not exist yet. This is a restriction of smbclient.
3095 (tramp-smb-maybe-open-connection): Rerun the function only when
3096 `auth-sources' is non-nil.
3097
3098 2013-09-08 Kenichi Handa <handa@gnu.org>
3099
3100 * international/characters.el: Set category "^" (Combining) for
3101 more characters.
3102
3103 2013-09-07 Alan Mackenzie <acm@muc.de>
3104
3105 Correctly fontify Java class constructors.
3106 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3107 in Java Mode.
3108 (c-recognize-typeless-decls): Set the Java value to t.
3109 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3110 While handling a "(", add a check for, effectively, Java, and handle a
3111 "typeless" declaration there.
3112
3113 2013-09-07 Roland Winkler <winkler@gnu.org>
3114
3115 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3116 field subtitle for entry type book.
3117
3118 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3119
3120 * minibuffer.el: Make minibuffer-complete call completion-in-region
3121 rather than other way around.
3122 (completion--some, completion-pcm--find-all-completions):
3123 Don't delay signals when debugging.
3124 (minibuffer-completion-contents): Beware fields within the
3125 minibuffer contents.
3126 (completion-all-sorted-completions): Use defvar-local.
3127 (completion--do-completion, completion--cache-all-sorted-completions)
3128 (completion-all-sorted-completions, minibuffer-force-complete):
3129 Add args `beg' and `end'.
3130 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3131 (minibuffer-complete): Use completion-in-region.
3132 (completion-complete-and-exit): New fun, extracted from
3133 minibuffer-complete-and-exit.
3134 (minibuffer-complete-and-exit): Use it.
3135 (completion--complete-and-exit): Rename from
3136 minibuffer--complete-and-exit.
3137 (completion-in-region--single-word): New function, extracted from
3138 minibuffer-complete-word.
3139 (minibuffer-complete-word): Use it.
3140 (display-completion-list): Make `common-substring' argument obsolete.
3141 (completion--in-region): Call completion--in-region-1 instead of
3142 minibuffer-complete.
3143 (completion-help-at-point): Pass boundaries to
3144 minibuffer-completion-help as args rather than via an overlay.
3145 (completion-pcm--string->pattern): Use `any-delim'.
3146 (completion-pcm--optimize-pattern): New function.
3147 (completion-pcm--pattern->regex): Handle `any-delim'.
3148 * icomplete.el (icomplete-forward-completions)
3149 (icomplete-backward-completions, icomplete-completions):
3150 Adjust calls to completion-all-sorted-completions and
3151 completion--cache-all-sorted-completions.
3152 (icomplete-with-completion-tables): Default to t.
3153 * emacs-lisp/crm.el (crm--current-element): Rename from
3154 crm--select-current-element. Don't put an overlay but return the
3155 boundaries instead.
3156 (crm--completion-command): Take two new args to bind to the boundaries.
3157 (crm-completion-help): Adjust accordingly.
3158 (crm-complete): Use completion-in-region.
3159 (crm-complete-word): Use completion-in-region--single-word.
3160 (crm-complete-and-exit): Use completion-complete-and-exit.
3161
3162 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3163
3164 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3165 than dynamically.
3166
3167 2013-09-06 Juri Linkov <juri@jurta.org>
3168
3169 * info.el (Info-display-images-node): When image file doesn't exist
3170 display text version of the image if it's provided in the Info file.
3171 Otherwise, display the location of missing image from SRC attribute.
3172 Add help-echo text property from ALT attribute. (Bug#15279)
3173
3174 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3175
3176 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3177 (edit-abbrevs-mode): Use define-derived-mode.
3178
3179 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3180 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3181 that it's defined.
3182 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3183 Use define-derived-mode.
3184
3185 * epg.el (epg-start-encrypt): Minor CSE simplification.
3186
3187 2013-09-06 William Xu <william.xwl@gmail.com>
3188
3189 * arc-mode.el: Add support for 7za (bug#15264).
3190 (archive-7z-program): New var.
3191 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3192 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3193 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3194
3195 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3196
3197 Remove URL syntax.
3198
3199 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3200 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3201 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3202 (tramp-postfix-host-format, tramp-file-name-regexp)
3203 (tramp-completion-file-name-regexp)
3204 (tramp-completion-dissect-file-name)
3205 (tramp-handle-substitute-in-file-name): Remove 'url case.
3206 (tramp-file-name-regexp-url)
3207 (tramp-completion-file-name-regexp-url): Remove constants.
3208
3209 2013-09-06 Glenn Morris <rgm@gnu.org>
3210
3211 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3212
3213 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3214
3215 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3216 keywords" below "here-doc beginnings" (Bug#15270).
3217
3218 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3219
3220 * subr.el (pop): Use `car-safe'.
3221 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3222 to detect unused `pop' return value.
3223
3224 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3225 var `block-regexp'.
3226 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3227 (python-fill-string): Remove unused var `marker'.
3228 (python-skeleton-add-menu-items): Remove unused var `items'.
3229
3230 * international/mule-cmds.el: Require CL.
3231 (find-coding-systems-for-charsets): Avoid add-to-list.
3232 (sanitize-coding-system-list): New function, extracted from
3233 select-safe-coding-system-interactively.
3234 (select-safe-coding-system-interactively): Use it.
3235 (read-input-method-name): Accept symbols for `default'.
3236
3237 * emacs-lisp/advice.el (defadvice): Add indent rule.
3238
3239 2013-09-05 Daniel Hackney <dan@haxney.org>
3240
3241 * dired-x.el:
3242 * net/ange-ftp.el:
3243 * net/browse-url.el:
3244 * net/dbus.el:
3245 * net/eudc.el:
3246 * net/eudcb-ldap.el:
3247 * net/eww.el:
3248 * net/imap.el:
3249 * printing.el:
3250 * vc/ediff-diff.el:
3251 * vc/ediff-init.el:
3252 * vc/ediff-merg.el:
3253 * vc/ediff-mult.el:
3254 * vc/ediff-util.el:
3255 * vc/ediff-wind.el:
3256 * vc/ediff.el:
3257 * vc/emerge.el:
3258 * vc/pcvs.el:
3259 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3260 byte compiler. Remove some unused let-bound variables.
3261
3262 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3265 a "ref-cell", since it gets better optimized (bug#14883).
3266
3267 2013-09-05 Glenn Morris <rgm@gnu.org>
3268
3269 * progmodes/cc-awk.el (c-forward-sws): Declare.
3270
3271 2013-09-04 Glenn Morris <rgm@gnu.org>
3272
3273 * generic-x.el [rul-generic-mode]: Require cc-mode.
3274 (c++-mode-syntax-table): Declare.
3275 (rul-generic-mode-syntax-table): Init in the defvar.
3276
3277 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3278
3279 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3280 (vc-do-command, vc-set-async-update):
3281 * vc/vc-mtn.el (vc-mtn-dir-status):
3282 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3283 (vc-hg-pull, vc-hg-merge-branch):
3284 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3285 (vc-git-merge-branch):
3286 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3287 (vc-cvs-dir-status-files):
3288 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3289 (vc-bzr-dir-status-files):
3290 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3291 * vc/vc-annotate.el: Use lexical-binding.
3292 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3293 (vc-sentinel-movepoint): Declare.
3294 (vc-annotate): Don't use `goto-line'.
3295 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3296 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3297 (vc-sentinel-movepoint): Declare.
3298 * vc/vc-svn.el: Use lexical-binding.
3299 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3300 * vc/vc-sccs.el:
3301 * vc/vc-rcs.el: Use lexical-binding.
3302
3303 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3304 `deleted'. Don't drop errors silently.
3305
3306 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3307
3308 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3309
3310 * vc/vc.el (vc-ignore): Rewrite.
3311 (vc-default-ignore): New function.
3312 (vc-default-ignore-completion-table): Use find-ignore-file.
3313
3314 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3315 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3316 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3317 Remove. Most code moved to vc.el.
3318
3319 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3320
3321 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3322 * net/tramp-smb.el (tramp-smb-get-file-entries):
3323 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3324 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3325
3326 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3327 Update call to it.
3328 (eww-change-select): Remove unused var `properties'.
3329 (eww-make-unique-file-name): Remove unused var `base'.
3330
3331 * finder.el (finder-compile-keywords): Don't mess with windows.
3332
3333 * calculator.el (calculator-funcall): Fix typo in last change.
3334
3335 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3336
3337 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3338 <pkg>-autoloads.el file stop us.
3339
3340 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3341 warnings, and factor out common code.
3342
3343 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3344
3345 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3346 two-character operators and whether the character preceding them
3347 changes their meaning (Bug#15208).
3348
3349 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3350
3351 Format code sent to Python shell for robustness.
3352 * progmodes/python.el (python-shell-buffer-substring):
3353 New function.
3354 (python-shell-send-region, python-shell-send-buffer): Use it.
3355
3356 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3357
3358 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3359 * net/tramp.el (tramp-user-error): ... here.
3360 (tramp-find-method, tramp-check-proper-host)
3361 (tramp-dissect-file-name, tramp-debug-message)
3362 (tramp-handle-shell-command):
3363 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3364 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3365
3366 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3367
3368 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3369
3370 * avoid.el (mouse-avoidance-point-position)
3371 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3372 returns nil.
3373
3374 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3375
3376 * progmodes/python.el (python-shell-completion-get-completions):
3377 Drop use of deleted `comint-last-prompt-overlay'.
3378 (python-nav-if-name-main): New command.
3379
3380 2013-09-01 Glenn Morris <rgm@gnu.org>
3381
3382 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3383 Avoid leading space in $wins. Otherwise the sed command used by
3384 eg compile-main ends up containing "/*.el". (Bug#15170)
3385
3386 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3387
3388 2013-08-30 Glenn Morris <rgm@gnu.org>
3389
3390 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3391 Fix is-this-a-directory logic. (Bug#15220)
3392
3393 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * textmodes/css-mode.el: Use SMIE.
3396 (css-smie-grammar): New var.
3397 (css-smie--forward-token, css-smie--backward-token)
3398 (css-smie-rules): New functions.
3399 (css-mode): Use them.
3400 (css-navigation-syntax-table): Remove var.
3401 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3402 (css-indent-calculate, css-indent-line): Remove functions.
3403
3404 Misc changes to reduce use of `(lambda...); and other cleanups.
3405 * cus-edit.el: Use lexical-binding.
3406 (customize-push-and-save, customize-apropos)
3407 (custom-buffer-create-internal): Use closures.
3408 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3409 * progmodes/ada-xref.el: Use setq.
3410 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3411 * dframe.el: Use lexical-binding.
3412 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3413 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3414 * descr-text.el: Use lexical-binding.
3415 (describe-text-widget, describe-text-sexp, describe-property-list):
3416 Use closures.
3417 * comint.el (comint-history-isearch-push-state): Use a closure.
3418 * calculator.el: Use lexical-binding.
3419 (calculator-number-to-string): Make it work with lexical-binding.
3420 (calculator-funcall): Same and use cl-letf.
3421
3422 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3423 (lisp--company-doc-string, lisp--company-location): New functions.
3424 (lisp-completion-at-point): Use them to improve Company support.
3425
3426 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3427 params of lambda expressions.
3428 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3429 (ruby-smie--opening-pipe-p): New function.
3430 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3431 symbols and matched |...| for formal params.
3432 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3433 from being treated as hanging. Handle "rescue".
3434
3435 2013-08-29 Glenn Morris <rgm@gnu.org>
3436
3437 * progmodes/cc-engine.el (c-pull-open-brace):
3438 Move definition before use.
3439
3440 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3441
3442 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3443 are immutable. Don't use `unsafe' any more.
3444 (cl--defsubst-expand): Don't substitute at the same time as keeping
3445 a residual unused let-binding. Don't use `unsafe' any more.
3446
3447 2013-08-29 Glenn Morris <rgm@gnu.org>
3448
3449 * calendar/cal-china.el (calendar-chinese-year-cache):
3450 Recenter on 2015.
3451
3452 * nxml/nxml-util.el (nxml-debug-clear-inside):
3453 Use cl-loop rather than loop.
3454
3455 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3456
3457 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3458
3459 2013-08-28 Glenn Morris <rgm@gnu.org>
3460
3461 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3462
3463 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3464
3465 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3466
3467 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3468
3469 * simple.el (repeat-complex-command--called-interactively-skip):
3470 New function.
3471 (repeat-complex-command): Use it (bug#14136).
3472
3473 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3474 (c-define-abbrev-table): Add `doc' argument.
3475 (c-mode-abbrev-table, c++-mode-abbrev-table)
3476 (objc-mode-abbrev-table, java-mode-abbrev-table)
3477 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3478 (awk-mode-abbrev-table): Use it.
3479 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3480 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3481 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3482 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3483 Move initialization into the declaration; and remove any
3484 autoload cookie.
3485
3486 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3487 and dynamic let binding.
3488
3489 * vc/smerge-mode.el: Remove redundant :group args.
3490
3491 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3492 to load-path.
3493
3494 2013-08-28 Juri Linkov <juri@jurta.org>
3495
3496 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3497 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3498 (isearch-other-meta-char): Handle an undefined shifted printing
3499 character by downshifting it. (Bug#15200)
3500
3501 2013-08-28 Juri Linkov <juri@jurta.org>
3502
3503 * isearch.el (isearch-search): Change regexp error message for
3504 non-regexp searches. (Bug#15166)
3505
3506 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3507
3508 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3509 for portability to hosts where /bin/sh has problems.
3510
3511 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3513 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3514
3515 2013-08-27 Juri Linkov <juri@jurta.org>
3516
3517 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3518 in the keyboard macro. (Bug#15126)
3519
3520 2013-08-27 Juri Linkov <juri@jurta.org>
3521
3522 * isearch.el (isearch-quote-char): Comment out converting unibyte
3523 to multibyte, thus syncing with its `quoted-insert' counterpart.
3524 (Bug#15166)
3525
3526 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3527
3528 * window.el (display-buffer-use-some-window): Add missing
3529 argument in call of get-largest-window (Bug#15185).
3530 Reported by Stephen Leake.
3531
3532 2013-08-27 Glenn Morris <rgm@gnu.org>
3533
3534 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3535
3536 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3537
3538 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3539 from a matcher-function unless there's no more matches (bug#15161).
3540
3541 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3542
3543 * minibuffer.el: Revert change from 2013-08-20.
3544
3545 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3546 with text property `tramp-default', if appropriate.
3547 (tramp-check-proper-host): New defun.
3548 (tramp-dissect-file-name): Do not check hostname. Revert change
3549 of 2013-03-18.
3550 (tramp-backtrace): Make VEC-OR-PROC optional.
3551
3552 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3553 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3554 * net/tramp-sh.el (tramp-maybe-open-connection):
3555 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3556 Apply `tramp-check-proper-host'.
3557
3558 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3559
3560 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3561 lambda expression in order to have `describe-variable' display it.
3562
3563 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3564
3565 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3566 BUF can be optional. (Bug#15186)
3567
3568 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3569
3570 * progmodes/flymake.el (flymake-get-real-file-name-function):
3571 Fix broken customization. (Bug#15184)
3572
3573 2013-08-25 Alan Mackenzie <acm@muc.de>
3574
3575 Improve indentation of bracelists defined by macros (without "=").
3576
3577 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3578 expansion begins with "{", regard it as bracelist when it doesn't
3579 contain a ";".
3580
3581 Parse C++ inher-intro when there's a template split over 2 lines.
3582
3583 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3584 rigorously the search for "class" etc. followed by ":".
3585
3586 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3587 random languages a regexp which never matches rather than nil.
3588
3589 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3590
3591 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3592 (c-awk-regexp-one-line-possibly-open-char-list-re)
3593 (c-awk-one-line-possibly-open-regexp-re)
3594 (c-awk-one-line-non-syn-ws*-re): Remove.
3595 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3596 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3597 (c-awk-space*-unclosed-regexp-/-re): New constants.
3598 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3599 aren't regexp delimiters.
3600
3601 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3602 handling for a rare situation in AWK Mode involving unterminated
3603 strings/regexps.
3604
3605 2013-08-23 Glenn Morris <rgm@gnu.org>
3606
3607 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3608
3609 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3610
3611 * files.el (create-file-buffer): If the result would begin with
3612 spaces, prepend a "|" instead of removing them. (Bug#15162)
3613
3614 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3615
3616 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3617 text-properties (bug#15155).
3618
3619 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3620 exist any more.
3621 (calc-keypad-redraw): Remove unused var `pad'.
3622 (calc-keypad-press): Remove unused var `menu'.
3623
3624 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3625
3626 * window.el (display-buffer-pop-up-frame):
3627 Call pop-up-frame-function with BUFFER current so `make-frame' will
3628 use it as the new frame's buffer (Bug#15133).
3629
3630 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3631
3632 * calendar/timeclock.el: Minor cleanups.
3633 (timeclock-ask-before-exiting, timeclock-use-display-time):
3634 Use `symbol'.
3635 (timeclock-modeline-display): Define as alias before the
3636 actual definition.
3637 (timeclock-mode-line-display): Use define-minor-mode.
3638 (timeclock-day-list-template): Make it a function, add an argument.
3639 (timeclock-day-list-required, timeclock-day-list-length)
3640 (timeclock-day-list-debt, timeclock-day-list-span)
3641 (timeclock-day-list-break): Adjust calls accordingly.
3642
3643 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3644
3645 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3646 Use read--expression so that completion works again.
3647
3648 2013-08-21 Sam Steingold <sds@gnu.org>
3649
3650 Add rudimentary inferior shell interaction
3651 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3652 (sh-set-shell): Reset it.
3653 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3654 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3655
3656 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3657
3658 * align.el: Use lexical-binding.
3659 (align-region): Simplify accordingly.
3660
3661 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3662
3663 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3664
3665 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3666 `non-essential' up.
3667
3668 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3669
3670 * net/tramp.el:
3671 * net/tramp-adb.el:
3672 * net/tramp-cmds.el:
3673 * net/tramp-ftp.el:
3674 * net/tramp-gvfs.el:
3675 * net/tramp-gw.el:
3676 * net/tramp-sh.el: Don't wrap external variable declarations by
3677 `eval-when-compile'.
3678
3679 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3680
3681 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3682 now that Emacs supports ImageMagick animations.
3683
3684 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3685
3686 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3687 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3688
3689 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3690
3691 * window.el (mouse-autoselect-window-select): Do autoselect when
3692 mouse pointer is on margin.
3693
3694 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3695
3696 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3697
3698 2013-08-16 Glenn Morris <rgm@gnu.org>
3699
3700 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3701 Handle "Remote Directory" response of some clients. (Bug#15058)
3702
3703 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3704 Tweak warning. (Bug#14926)
3705
3706 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3707 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3708
3709 * image-mode.el (image-mode-map): Add menu items to reverse,
3710 increase, decrease, reset animation speed.
3711 (image--set-speed, image-increase-speed, image-decrease-speed)
3712 (image-reverse-speed, image-reset-speed): New functions.
3713 (image-mode-map): Add bindings for speed commands.
3714
3715 * image.el (image-animate-get-speed, image-animate-set-speed):
3716 New functions.
3717 (image-animate-timeout): Respect image :speed property.
3718
3719 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3720
3721 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3722 previous line (bug#15101).
3723 (debugger-eval-expression, debugger-record-expression):
3724 Use read--expression (bug#15102).
3725
3726 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3727
3728 Remove byte compiler warnings, visible when compiling with
3729 `byte-compile-force-lexical-warnings' set to t.
3730
3731 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3732 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3733 (tramp-handle-unhandled-file-name-directory)
3734 (tramp-handle-file-notify-add-watch, tramp-action-login)
3735 (tramp-action-succeed, tramp-action-permission-denied)
3736 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3737 arguments with "_".
3738
3739 * net/tramp-adb.el (tramp-adb-parse-device-names)
3740 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3741 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3742 (tramp-adb-handle-file-truename): Remove unused arguments.
3743
3744 * net/tramp-cache.el (tramp-flush-directory-property)
3745 (tramp-flush-connection-property, tramp-list-connections)
3746 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3747
3748 * net/tramp-compat.el (tramp-compat-make-temp-file):
3749 Rename FILENAME to F.
3750
3751 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3752 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3753 (tramp-zeroconf-parse-workstation-device-names)
3754 (tramp-zeroconf-parse-webdav-device-names)
3755 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3756
3757 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3758 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3759
3760 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3761 arguments.
3762 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3763 (tramp-sh-handle-insert-file-contents-literally)
3764 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3765 with "_".
3766 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3767 Remove unused variables.
3768
3769 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3770 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3771 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3772
3773 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3774 Make them a defconst.
3775 (tramp-uuencode-region): Remove unused variable.
3776
3777 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3778
3779 * frameset.el (frameset--prop-setter): New function.
3780 (frameset-prop): Add gv-setter declaration.
3781 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3782 parameter was already set in FILTERED. Doc fix.
3783 (frameset--record-minibuffer-relationships): Allow saving a
3784 minibufferless frame without its corresponding minibuffer frame.
3785 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3786 frame, if the frame id matches.
3787 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3788 frames before orphaned ones.
3789 (frameset-restore): Warn about orphaned windows, instead of error out.
3790
3791 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3792
3793 * window.el (window-make-atom): Don't overwrite parameter
3794 already present.
3795 (display-buffer-in-atom-window): Handle special case where we
3796 split an already atomic window.
3797 (window--major-non-side-window, display-buffer-in-side-window)
3798 (window--side-check): Ignore minibuffer window when walking
3799 window tree.
3800 (window-deletable-p): Return 'frame only if no other frame uses
3801 our minibuffer window.
3802 (record-window-buffer): Run buffer-list-update-hook.
3803 (split-window): Make sure window--check-frame won't destroy an
3804 existing atomic window in case the new window gets nested
3805 inside.
3806 (display-buffer-at-bottom): Ignore minibuffer window when
3807 walking window tree. Don't split a side window.
3808 (pop-to-buffer): Don't set-buffer here, the select-window call
3809 should do that.
3810 (mouse-autoselect-window-select): Autoselect only if we are in the
3811 text portion of the window.
3812
3813 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3814
3815 * net/shr.el (shr-parse-image-data): New function to grab both the
3816 data itself and the Content-Type.
3817 (shr-put-image): Use it.
3818
3819 * net/eww.el (eww-display-image): Ditto.
3820
3821 * image.el (image-content-type-suffixes): New variable.
3822
3823 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3824
3825 * progmodes/python.el (python-imenu--build-tree)
3826 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3827
3828 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3829
3830 * simple.el (backward-word): Mention the optional argument.
3831
3832 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3833
3834 * frameset.el (frameset--make): Rename constructor from make-frameset.
3835 (frameset-p, frameset-valid-p): Don't autoload.
3836 (frameset-valid-p): Use normal accessors.
3837
3838 2013-08-13 Glenn Morris <rgm@gnu.org>
3839
3840 * progmodes/compile.el (compile-command): Tweak example in doc.
3841 * obsolete/scribe.el (scribe-mode):
3842 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3843
3844 * mail/feedmail.el (feedmail-confirm-outgoing)
3845 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3846
3847 * cus-start.el (truncate-partial-width-windows): Fix type.
3848
3849 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3850
3851 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3852
3853 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 * emacs-lisp/timer.el (timer--time-setter): New function.
3856 (timer--time): Use it as gv-setter.
3857
3858 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3859 setter is not a symbol.
3860
3861 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3862
3863 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3864 if sending fails. This makes debugging easier.
3865
3866 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3867
3868 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3869 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3870 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3871
3872 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3873
3874 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3875
3876 2013-08-12 Glenn Morris <rgm@gnu.org>
3877
3878 * format.el (format-annotate-function):
3879 Handle read-only text properties in the source. (Bug#14887)
3880
3881 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3882
3883 * net/eww.el (eww-display-html): Ignore coding system errors.
3884 One web site uses "utf-8lias" as the coding system.
3885
3886 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3887
3888 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3889
3890 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3891
3892 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3893 (tutorial--detailed-help): Remove unused local variables.
3894 (tutorial--save-tutorial-to): Use ignore-errors.
3895 (help-with-tutorial): Use looking-at-p.
3896
3897 * view.el (view-buffer-other-window, view-buffer-other-frame):
3898 Mark unused arguments.
3899
3900 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3901 (woman-select-symbol-fonts, woman, woman-find-file)
3902 (woman-insert-file-contents, woman-non-underline-faces):
3903 Use string-match-p.
3904 (woman1-unquote): Move declaration.
3905
3906 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3907 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3908 argument. Remove unused local variable.
3909 (xml-parse-elem-type): Use string-match-p.
3910 (xml-substitute-numeric-entities): Use ignore-errors.
3911
3912 * calculator.el (calculator): Mark unused argument.
3913 (calculator-paste, calculator-quit, calculator-integer-p):
3914 Use ignore-errors.
3915 (calculator-string-to-number, calculator-decimal, calculator-exp)
3916 (calculator-op-or-exp): Use string-match-p.
3917
3918 * dired.el (dired-buffer-more-recently-used-p): Declare.
3919 (dired-insert-set-properties, dired-insert-old-subdirs):
3920 Use ignore-errors.
3921
3922 * dired-aux.el (dired-compress): Use ignore-errors.
3923 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3924 (dired-do-async-shell-command, dired-do-shell-command)
3925 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3926 (dired-insert-subdir-validate): Use string-match-p.
3927 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3928 (dired-add-entry): Use string-match-p, looking-at-p.
3929 (dired-insert-subdir-newpos): Remove unused local variable.
3930
3931 * filenotify.el (file-notify-callback): Remove unused local variable.
3932
3933 * filesets.el (filesets-error): Mark unused argument.
3934 (filesets-which-command-p, filesets-filter-dir-names)
3935 (filesets-directory-files, filesets-get-external-viewer)
3936 (filesets-ingroup-get-data): Use string-match-p.
3937
3938 * find-file.el (ff-other-file-name, ff-other-file-name)
3939 (ff-find-the-other-file, ff-cc-hh-converter):
3940 Remove unused local variables.
3941 (ff-get-file-name): Use string-match-p.
3942 (ff-all-dirs-under): Use ignore-errors.
3943
3944 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3945 (follow-select-if-visible): Remove unused local variable.
3946
3947 * forms.el (read-file-filter): Move declaration.
3948 (forms--make-format, forms--make-parser, forms-insert-record):
3949 Quote function with #'.
3950 (forms--update): Use string-match-p. Quote function with #'.
3951
3952 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3953 (help-make-xrefs): Use looking-at-p.
3954 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3955
3956 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3957 (ibuffer-confirm-operation-on): Use string-match-p.
3958
3959 * msb.el (msb-item-handler, msb-dired-item-handler):
3960 Mark unused arguments.
3961
3962 * ses.el (ses-decode-cell-symbol)
3963 (ses-kill-override): Remove unused local variable.
3964 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3965 (ses-load): Use ignore-errors, looking-at-p.
3966 (ses-jump-safe): Use ignore-errors.
3967 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3968
3969 * tabify.el (untabify, tabify): Mark unused arguments.
3970
3971 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3972 Mark unused argument.
3973 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3974 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3975
3976 * emacs-lisp/timer.el (timer--time): Define setter with
3977 gv-define-setter to avoid deprecation warning.
3978
3979 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3980 (*record-cmpl-statistics-p*): Remove (was commented out).
3981 (cmpl-statistics-block): Remove (body was commented out).
3982 All callers changed.
3983 (add-completions-from-buffer, load-completions-from-file):
3984 Remove unused variables.
3985
3986 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3987
3988 * filecache.el (file-cache-delete-file-list):
3989 Print message only when told so.
3990 (file-cache-files-matching): Use #' in mapconcat argument.
3991
3992 * ffap.el (ffap-url-at-point): Fix reference to variable
3993 thing-at-point-default-mail-uri-scheme.
3994
3995 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3996
3997 * subr.el (define-error): New function.
3998 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3999 error-file-not-found and define with define-error.
4000 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4001 and define with define-error.
4002 * userlock.el (file-locked, file-supersession):
4003 * simple.el (mark-inactive):
4004 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4005 * progmodes/ada-mode.el (ada-mode-errors):
4006 * play/life.el (life-extinct):
4007 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4008 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4009 * nxml/rng-util.el (rng-error):
4010 * nxml/rng-uri.el (rng-uri-error):
4011 * nxml/rng-match.el (rng-compile-error):
4012 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4013 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4014 * nxml/nxml-rap.el (nxml-scan-error):
4015 * nxml/nxml-outln.el (nxml-outline-error):
4016 * net/soap-client.el (soap-error):
4017 * net/gnutls.el (gnutls-error):
4018 * net/ange-ftp.el (ftp-error):
4019 * mpc.el (mpc-proc-error):
4020 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4021 (json-number-format, json-string-escape, json-string-format)
4022 (json-key-format, json-object-format):
4023 * jka-compr.el (compression-error):
4024 * international/quail.el (quail-error):
4025 * international/kkc.el (kkc-error):
4026 * emacs-lisp/ert.el (ert-test-failed):
4027 * calc/calc.el (calc-error, inexact-result, math-overflow)
4028 (math-underflow):
4029 * bookmark.el (bookmark-error-no-filename):
4030 * epg.el (epg-error): Define with define-error.
4031
4032 * time.el (display-time-event-handler)
4033 (display-time-next-load-average): Don't call sit-for since it seems
4034 unnecessary (bug#15045).
4035
4036 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4037 Use #' instead of ' to quote functions.
4038 (checkdoc-output-mode): Use setq-local.
4039 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4040 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4041 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4042 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4043 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4044 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4045 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4046 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4047
4048 * ido.el (ido-completion-help): Fix up compiler warning.
4049
4050 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4051
4052 * frameset.el (frameset-p): Add autoload cookie.
4053 (frameset--jump-to-register): New function, based on code moved from
4054 register.el.
4055 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4056
4057 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4058 (frameset-restore, frameset-save, frameset-session-filter-alist):
4059 Remove declarations.
4060 (register-alist): Doc fix.
4061 (frameset-to-register): Move to frameset.el.
4062 (jump-to-register, describe-register-1): Remove frameset-specific code.
4063
4064 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4065
4066 * allout-widgets.el (allout-widgets-pre-command-business)
4067 (allout-widgets-post-command-business)
4068 (allout-widgets-after-change-handler)
4069 (allout-decorate-item-and-context, allout-set-boundary-marker)
4070 (allout-body-modification-handler)
4071 (allout-graphics-modification-handler): Mark ignored arguments.
4072 (allout-widgets-post-command-business)
4073 (allout-widgets-exposure-change-processor)
4074 (allout-widgets-exposure-undo-processor)
4075 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4076 (allout-parse-item-at-point, allout-decorate-item-guides)
4077 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4078 * allout.el (epa-passphrase-callback-function): Declare.
4079 (allout-overlay-insert-in-front-handler)
4080 (allout-overlay-interior-modification-handler)
4081 (allout-isearch-end-handler, allout-chart-siblings)
4082 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4083 (allout-yank-processing, allout-process-exposed)
4084 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4085 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4086 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4087 (lisp-indent-defform): Mark ignored arguments.
4088 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4089 (calculate-lisp-indent): Remove unused variables.
4090 * international/characters.el (indian-2-column, arabic-2-column)
4091 (tibetan): Mark ignored arguments.
4092 (use-cjk-char-width-table): Mark ignored arguments.
4093 Remove unused variables.
4094 * international/fontset.el (build-default-fontset-data)
4095 (x-compose-font-name, create-fontset-from-fontset-spec):
4096 Mark ignored arguments.
4097 (fontset-plain-name): Remove unused variables.
4098 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4099 (keyboard-coding-system): Mark ignored arguments.
4100 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4101 * help.el (resize-temp-buffer-window):
4102 * window.el (display-buffer-in-major-side-window)
4103 (display-buffer-in-side-window, display-buffer-in-previous-window):
4104 Remove unused variables.
4105 * isearch.el (isearch-forward-symbol):
4106 * version.el (emacs-bzr-version-bzr):
4107 * international/mule-cmds.el (current-language-environment):
4108 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4109 (x-handle-display):
4110 * term/pc-win.el (x-list-fonts, x-display-planes)
4111 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4112 (x-server-version, x-display-screens, x-display-mm-height)
4113 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4114 (x-selection-owner-p, x-own-selection-internal)
4115 (x-disown-selection-internal, x-get-selection-internal)
4116 (msdos-initialize-window-system):
4117 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4118 * term/x-win.el (x-handle-no-bitmap-icon):
4119 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4120 (vc-default-find-file-hook, vc-default-extra-menu):
4121 Mark ignored arguments.
4122
4123 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4124
4125 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4126 break-condition in the context of the debugged code (bug#12685).
4127
4128 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4129
4130 * comint.el:
4131 Do not use an overlay to highlight the last prompt. (Bug#14744)
4132 (comint-mode): Make comint-last-prompt buffer local.
4133 (comint-last-prompt): New variable.
4134 (comint-last-prompt-overlay): Remove. Superseded by
4135 comint-last-prompt.
4136 (comint-snapshot-last-prompt, comint-output-filter):
4137 Use comint-last-prompt.
4138
4139 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4140
4141 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4142 (frameset-save): Check validity of the resulting frameset.
4143
4144 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4145
4146 * ido.el (ido-record-command): Add doc string.
4147
4148 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4149
4150 * frameset.el (frameset): Do not disable creation of the default
4151 frameset-p predicate. Doc fix.
4152 (frameset-valid-p): New function, copied from the old predicate-p.
4153 Add additional checks.
4154 (frameset-restore): Check with frameset-valid-p.
4155 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4156 (frameset-name, frameset-description, frameset-properties)
4157 (frameset-states): Add docstring.
4158 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4159 (frameset-filter-alist): Doc fixes.
4160
4161 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4162
4163 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4164
4165 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4166
4167 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4168 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4169 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4170 (byte-compile-normal-call): Remove obsolescence check.
4171
4172 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4173
4174 * frameset.el (frameset-restore): Doc fix.
4175
4176 * register.el (frameset-frame-id, frameset-frame-with-id)
4177 (frameset-p, frameset-restore, frameset-save): Declare.
4178 (register-alist): Document framesets.
4179 (frameset-session-filter-alist): Declare.
4180 (frameset-to-register): New function.
4181 (jump-to-register): Implement jumping to framesets. Doc fix.
4182 (describe-register-1): Describe framesets.
4183
4184 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4185
4186 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4187
4188 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4189 Use lexical-binding.
4190
4191 * frameset.el (frameset): Use type vector, not list (incompatible
4192 change). Do not declare a new constructor, use the default one.
4193 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4194 `name' and `description', respectively, and add read-only slot
4195 `timestamp'. Doc fixes.
4196 (frameset-copy, frameset-persistent-filter-alist)
4197 (frameset-filter-alist, frameset-switch-to-gui-p)
4198 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4199 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4200 (frameset-filter-iconified, frameset-keep-original-display-p):
4201 Doc fixes.
4202 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4203 Rename from frameset-filter-(save|restore)-param. All callers changed.
4204 Doc fix.
4205 (frameset-p): Adapt to change to vector and be more thorough.
4206 Change arg name to OBJECT. Doc fix.
4207 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4208 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4209 All callers changed.
4210 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4211 All callers changed.
4212 (frameset--record-minibuffer-relationships): Rename from
4213 frameset--process-minibuffer-frames. All callers changed.
4214 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4215 Use new default constructor (again). Doc fix.
4216 (frameset--find-frame-if): Rename from `frameset--find-frame.
4217 All callers changed.
4218 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4219 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4220 Doc fix.
4221 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4222 PARAMETERS and WINDOW-STATE, respectively.
4223 (frameset-restore): Add new keyword argument PREDICATE.
4224 Reset frameset--target-display to nil. Doc fix.
4225
4226 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4229 (bat-mode): Use it.
4230 (bat-mode-syntax-table): Mark \n as end-of-comment.
4231 (bat-font-lock-keywords): Remove comment rule.
4232
4233 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4234 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4235
4236 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4237 (byte-compile-callargs-warn): Use `push'.
4238 (byte-compile-arglist-warn): Ignore higher-order "calls".
4239 (byte-compile-file-form-autoload): Use `pcase'.
4240 (byte-compile-function-form): If quoting a symbol, check that it exists.
4241
4242 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4243
4244 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4245 and add a few popular commands found in batch files.
4246 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4247 (dos-mode): Doc fixes.
4248
4249 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4250
4251 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4252 (dos-mode): Use setq-local. Add space after "rem".
4253 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4254 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4255
4256 2013-08-07 Arni Magnusson <arnima@hafro.is>
4257
4258 * progmodes/dos.el: New file.
4259 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4260 dos-mode.
4261
4262 2013-08-06 Glenn Morris <rgm@gnu.org>
4263
4264 * calendar/calendar.el: Add new faces, and day-header-array.
4265 (calendar-weekday-header, calendar-weekend-header)
4266 (calendar-month-header): New faces.
4267 (calendar-day-header-construct): New function.
4268 (calendar-day-header-width): Also :set calendar-day-header-array.
4269 (calendar-american-month-header, calendar-european-month-header)
4270 (calendar-iso-month-header): Use calendar- faces.
4271 (calendar-generate-month):
4272 Use calendar-day-header-array for day headers; apply faces to them.
4273 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4274 (calendar-abbrev-construct): Add optional maxlen argument.
4275 (calendar-day-name-array): Doc fix.
4276 (calendar-day-name-array, calendar-abbrev-length)
4277 (calendar-day-abbrev-array):
4278 Also :set calendar-day-header-array, and maybe redraw.
4279 (calendar-day-header-array): New option. (Bug#15007)
4280 (calendar-font-lock-keywords): Set to nil and make obsolete.
4281 (calendar-day-name): Add option to use header array.
4282
4283 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4284
4285 * net/shr.el (shr-render-td): Remove debugging.
4286 (shr-render-td): Make width computation consistent by defaulting
4287 all zero-width columns to 10 characters. This may not be optimal,
4288 but it's at least consistent.
4289 (shr-make-table-1): Redo last change to fix the real problem in
4290 colspan handling.
4291
4292 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4293
4294 * files.el (cache-long-line-scans):
4295 Make obsolete alias to `cache-long-scans'.
4296
4297 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4298
4299 * frameset.el (frameset, frameset-filter-alist)
4300 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4301 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4302 (frameset-compute-pos): Rename from frameset--compute-pos,
4303 and add docstring.
4304 (frameset-move-onscreen): Use frameset-compute-pos.
4305 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4306
4307 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4308 Fix typos in docstrings.
4309
4310 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4311
4312 * frame.el (get-other-frame): Tiny cleanup.
4313
4314 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4315
4316 * vc/vc.el (vc-default-ignore-completion-table):
4317 Silence byte-compiler warning.
4318
4319 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4320 slot , which can indeed be nil.
4321 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4322 Move entry for `left' from persistent to live filter alist.
4323 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4324 Doc fixes.
4325 (frameset-filter-params): When restoring a frame, copy items added to
4326 `filtered', to avoid unwittingly modifying the original parameters.
4327 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4328 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4329
4330 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4331 to use looking-at-p instead of looking-at. (Bug#15028)
4332
4333 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4334
4335 Revert introduction of isearch-filter-predicates (bug#14714).
4336 Rely on add-function instead.
4337 * isearch.el (isearch-filter-predicates): Rename it back to
4338 isearch-filter-predicate.
4339 (isearch-message-prefix): Use advice-function-mapc and advice
4340 properties to get the isearch-message-prefix.
4341 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4342 instead of run-hook-with-args-until-failure.
4343 (isearch-filter-visible): Not obsolete any more.
4344 * loadup.el: Preload nadvice.
4345 * replace.el (perform-replace): Revert to funcall
4346 instead of run-hook-with-args-until-failure.
4347 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4348 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4349 dired-isearch-filenames-toggle; make it into a proper minor mode.
4350 Use add/remove-function.
4351 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4352 Call the minor-mode rather than add/remove-hook.
4353 (dired-isearch-filter-filenames):
4354 Remove isearch-message-prefix property.
4355 * info.el (Info--search-loop): New function, extracted from Info-search.
4356 Funcall isearch-filter-predicate instead of
4357 run-hook-with-args-until-failure isearch-filter-predicates.
4358 (Info-search): Use it.
4359 (Info-mode): Use isearch-filter-predicate instead of
4360 isearch-filter-predicates.
4361
4362 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4363
4364 Do not call to `selected-window' where it is assumed by default.
4365 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4366 `window-hscroll', `window-width', `window-height', `window-buffer',
4367 `window-frame', `window-start', `window-point', `next-window'
4368 and `window-display-table'.
4369 * abbrev.el (abbrev--default-expand):
4370 * bs.el (bs--show-with-configuration):
4371 * buff-menu.el (Buffer-menu-mouse-select):
4372 * calc/calc.el (calc):
4373 * calendar/calendar.el (calendar-generate-window):
4374 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4375 (diary-make-entry):
4376 * comint.el (send-invisible, comint-dynamic-complete-filename)
4377 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4378 * completion.el (complete):
4379 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4380 * disp-table.el (describe-current-display-table):
4381 * doc-view.el (doc-view-insert-image):
4382 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4383 * ehelp.el (with-electric-help):
4384 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4385 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4386 * emacs-lisp/helper.el (Helper-help-scroller):
4387 * emulation/cua-base.el (cua--post-command-handler-1):
4388 * eshell/esh-mode.el (eshell-output-filter):
4389 * ffap.el (ffap-gnus-wrapper):
4390 * help-macro.el (make-help-screen):
4391 * hilit-chg.el (highlight-compare-buffers):
4392 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4393 * hl-line.el (global-hl-line-highlight):
4394 * icomplete.el (icomplete-simple-completing-p):
4395 * isearch.el (isearch-done):
4396 * jit-lock.el (jit-lock-stealth-fontify):
4397 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4398 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4399 * mpc.el (mpc-tagbrowser, mpc):
4400 * net/rcirc.el (rcirc-any-buffer):
4401 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4402 * play/landmark.el (landmark-max-width, landmark-max-height):
4403 * play/zone.el (zone):
4404 * progmodes/compile.el (compilation-goto-locus):
4405 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4406 * progmodes/etags.el (find-tag-other-window):
4407 * progmodes/fortran.el (fortran-column-ruler):
4408 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4409 * progmodes/verilog-mode.el (verilog-point-text):
4410 * reposition.el (reposition-window):
4411 * rot13.el (toggle-rot13-mode):
4412 * server.el (server-switch-buffer):
4413 * shell.el (shell-dynamic-complete-command)
4414 (shell-dynamic-complete-environment-variable):
4415 * simple.el (insert-buffer, set-selective-display)
4416 (delete-completion-window):
4417 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4418 (speedbar-recenter):
4419 * startup.el (fancy-splash-head):
4420 * textmodes/ispell.el (ispell-command-loop):
4421 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4422 * tutorial.el (help-with-tutorial):
4423 * vc/add-log.el (add-change-log-entry):
4424 * vc/compare-w.el (compare-windows):
4425 * vc/ediff-help.el (ediff-indent-help-message):
4426 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4427 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4428 (ediff-setup-control-frame):
4429 * vc/emerge.el (emerge-position-region):
4430 * vc/pcvs-util.el (cvs-bury-buffer):
4431 * window.el (walk-windows, mouse-autoselect-window-select):
4432 * winner.el (winner-set-conf, winner-undo): Related users changed.
4433
4434 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4435
4436 * frameset.el (frameset--set-id): Doc fix.
4437 (frameset-frame-id, frameset-frame-id-equal-p)
4438 (frameset-locate-frame-id): New functions.
4439 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4440 (frameset-restore): Use them.
4441
4442 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4443
4444 Do not call to `selected-frame' where it is assumed by default.
4445 Affected functions are `raise-frame', `redraw-frame',
4446 `frame-first-window', `frame-terminal' and `delete-frame'.
4447 * calendar/appt.el (appt-disp-window):
4448 * epg.el (epg-wait-for-completion):
4449 * follow.el (follow-delete-other-windows-and-split)
4450 (follow-avoid-tail-recenter):
4451 * international/mule.el (set-terminal-coding-system):
4452 * mail/rmail.el (rmail-mail-return):
4453 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4454 * progmodes/f90.el (f90-add-imenu-menu):
4455 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4456 * server.el (server-switch-buffer):
4457 * simple.el (delete-completion-window):
4458 * talk.el (talk):
4459 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4460 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4461 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4462 * vc/ediff.el (ediff-documentation): Related users changed.
4463 * frame.el (selected-terminal): Remove the leftover.
4464
4465 2013-08-05 Glenn Morris <rgm@gnu.org>
4466
4467 * calendar/calendar.el (calendar-generate-month):
4468 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4469 (calendar-generate-month, calendar-font-lock-keywords):
4470 Fix for calendar-day-header-width > length of any day name.
4471
4472 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4473
4474 * desktop.el (desktop-clear): Use new name of sort predicate.
4475
4476 * frameset.el (frameset): Add docstring. Move :version property to its
4477 own `version' slot.
4478 (frameset-copy): Rename from copy-frameset.
4479 (frameset-p): Check more thoroughly.
4480 (frameset-prop): Do not check for :version, which is no longer a prop.
4481 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4482 Use new :never value instead of t.
4483 (frameset-filter-alist): Expand and clarify docstring.
4484 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4485 (frameset-filter-minibuffer, frameset-filter-save-param)
4486 (frameset-filter-restore-param, frameset-filter-iconified):
4487 Add pointer to docstring of frameset-filter-alist.
4488 (frameset-filter-params): Rename filter values to be more meaningful:
4489 :never instead of t, and reverse the meanings of :save and :restore.
4490 (frameset--process-minibuffer-frames): Clarify error message.
4491 (frameset-save): Avoid unnecessary and confusing call to framep.
4492 Use new BOA constructor for framesets.
4493 (frameset--reuse-list): Doc fix.
4494 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4495 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4496 (frameset-minibufferless-first-p): Doc fix.
4497 Rename from frameset-sort-frames-for-deletion.
4498 (frameset-restore): Doc fixes. Use new function names.
4499 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4500
4501 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4502
4503 * desktop.el (desktop-restore-forces-onscreen)
4504 (desktop-restore-reuses-frames): Document :keyword constant values.
4505 (desktop-filter-parameters-alist): Remove, now identical to
4506 frameset-filter-alist.
4507 (desktop--filter-tty*): Remove, moved to frameset.el.
4508 (desktop-save-frameset, desktop-restore-frameset):
4509 Do not pass :filters argument.
4510
4511 * frameset.el (frameset-live-filter-alist)
4512 (frameset-persistent-filter-alist): New variables.
4513 (frameset-filter-alist): Use them. Add autoload cookie.
4514 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4515 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4516 `frameset--id' (it's supposed to be internal to frameset.el).
4517 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4518 (frameset--initial-params): New function.
4519 (frameset--get-frame): Use it. Doc fix.
4520 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4521 Accept :all, not 'all.
4522 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4523 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4524 with fbound symbols. Fix frame id matching, and remove matching ids if
4525 the frame being restored is deleted. Obey :delete.
4526
4527 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4528
4529 * subr.el (macrop): New function.
4530 (text-clone--maintaining): New var.
4531 (text-clone--maintain): Rename from text-clone-maintain. Use it
4532 instead of inhibit-modification-hooks.
4533
4534 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4535 a proxy, so as handle autoloads and redefinitions of the target.
4536 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4537
4538 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4539 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4540 (pcase--mutually-exclusive-p): New function.
4541 (pcase--split-consp): Use it.
4542 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4543 mutually exclusive with the current predicate.
4544
4545 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4546 (edebug-macrop): Remove. Use `macrop' instead.
4547 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4548 (ad-macro-p):
4549 * eshell/esh-cmd.el (eshell-macrop):
4550 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4551
4552 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4553
4554 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4555 (advice-mapc): New function, using it.
4556 (advice-function-member-p): New function.
4557 (advice--normalize): Store the cdr in advice--saved-rewrite since
4558 that's the part that will be changed.
4559 (advice--symbol-function): New function.
4560 (advice-remove): Handle removal before the function is defined.
4561 Adjust to new advice--saved-rewrite.
4562 (advice-member-p): Use advice-function-member-p and
4563 advice--symbol-function.
4564
4565 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4566
4567 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4568 (frameset-filter-minibuffer): Doc fix.
4569 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4570 (frameset--set-id, frameset--process-minibuffer-frames)
4571 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4572 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4573
4574 * desktop.el (desktop-clear): Only delete frames when called
4575 interactively and desktop-restore-frames is non-nil. Doc fix.
4576 (desktop-read): Set desktop-saved-frameset to nil.
4577
4578 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4579
4580 * vc/vc.el (vc-ignore): Rewrite.
4581 (vc-default-ignore-completion-table):
4582 (vc--read-lines):
4583 (vc--add-line, vc--remove-regexp): New functions.
4584
4585 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4586 (vc-svn-ignore-completion-table): New function.
4587
4588 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4589 (vc-hg-ignore-completion-table):
4590 (vc-hg-find-ignore-file): New functions.
4591
4592 * vc/vc-git.el (vc-git-ignore): Rewrite.
4593 (vc-git-ignore-completion-table):
4594 (vc-git-find-ignore-file): New functions.
4595
4596 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4597
4598 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4599 (vc-bzr-ignore-completion-table):
4600 (vc-bzr-find-ignore-file): New functions.
4601
4602 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4603
4604 * frameset.el (frameset-prop): New function and setter.
4605 (frameset-save): Do not modify frame list passed by the caller.
4606
4607 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4608
4609 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4610
4611 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4612
4613 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4614 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4615
4616 * custom.el (custom-initialize-default, custom-initialize-set)
4617 (custom-initialize-reset, custom-initialize-changed): Affect the
4618 toplevel-default-value (bug#6275, bug#14586).
4619 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4620 for bug#6275.
4621
4622 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4623
4624 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4625 Add cl-def* expressions.
4626
4627 * frameset.el (frameset-filter-params): Fix order of arguments.
4628
4629 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4630
4631 Move code related to saving frames to frameset.el.
4632 * desktop.el: Require frameset.
4633 (desktop-restore-frames): Doc fix.
4634 (desktop-restore-reuses-frames): Rename from
4635 desktop-restoring-reuses-frames.
4636 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4637 (desktop-clear): Clear frames too.
4638 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4639 (desktop--filter-tty*, desktop-save, desktop-read):
4640 Use frameset functions.
4641 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4642 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4643 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4644 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4645 (desktop--process-minibuffer-frames, desktop-save-frames)
4646 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4647 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4648 (desktop--sort-states, desktop-restoring-frames-p)
4649 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4650 (desktop-restoring-frameset-p, desktop-restore-frameset)
4651 (desktop--check-dont-save, desktop-save-frameset): New functions.
4652 (desktop--app-id): New constant.
4653 (desktop-first-buffer, desktop-buffer-ok-count)
4654 (desktop-buffer-fail-count): Move before first use.
4655 * frameset.el: New file.
4656
4657 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4658
4659 * files.el: Use lexical-binding.
4660 (dir-locals-read-from-file): Remove unused `err' variable.
4661 (hack-dir-local-variables--warned-coding): New var.
4662 (hack-dir-local-variables): Use it to avoid repeated warnings.
4663 (make-backup-file-name--default-function): New function.
4664 (make-backup-file-name-function): Use it as default.
4665 (buffer-stale--default-function): New function.
4666 (buffer-stale-function): Use it as default.
4667 (revert-buffer-insert-file-contents--default-function): New function.
4668 (revert-buffer-insert-file-contents-function): Use it as default.
4669 (insert-directory): Avoid add-to-list.
4670
4671 * autorevert.el (auto-revert-handler): Simplify.
4672 Use buffer-stale--default-function.
4673
4674 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4675
4676 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4677
4678 * whitespace.el (whitespace-ensure-local-variables): New function.
4679 (whitespace-cleanup-region): Call it.
4680 (whitespace-turn-on): Call it.
4681
4682 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4683
4684 Complete file name handlers.
4685
4686 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4687 (tramp-handle-verify-visited-file-modtime)
4688 (tramp-handle-file-notify-rm-watch): New functions.
4689 (tramp-call-process): Do not bind `default-directory'.
4690
4691 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4692 Order alphabetically.
4693 [access-file, add-name-to-file, dired-call-process]:
4694 [dired-compress-file, file-acl, file-notify-rm-watch]:
4695 [file-ownership-preserved-p, file-selinux-context]:
4696 [make-directory-internal, make-symbolic-link, set-file-acl]:
4697 [set-file-selinux-context, set-visited-file-modtime]:
4698 [verify-visited-file-modtime]: Add handler.
4699 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4700
4701 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4702 [file-notify-add-watch, file-notify-rm-watch]:
4703 [set-file-times, set-visited-file-modtime]:
4704 [verify-visited-file-modtime]: Add handler.
4705 (with-tramp-gvfs-error-message)
4706 (tramp-gvfs-handle-set-visited-file-modtime)
4707 (tramp-gvfs-fuse-file-name): Remove.
4708 (tramp-gvfs-handle-file-notify-add-watch)
4709 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4710 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4711
4712 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4713 Order alphabetically.
4714 [file-notify-rm-watch ]: Use default Tramp handler.
4715 [executable-find]: Remove private handler.
4716 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4717 `default-directory'.
4718 (tramp-sh-handle-executable-find)
4719 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4720 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4721 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4722 Do not use `format' in `tramp-message'.
4723
4724 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4725 [file-notify-rm-watch, set-visited-file-modtime]:
4726 [verify-visited-file-modtime]: Add handler.
4727 (tramp-smb-call-winexe): Do not bind `default-directory'.
4728
4729 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4730
4731 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4732
4733 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4734
4735 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4736 use it.
4737 (log-view-diff-changeset): Same.
4738 (log-view-diff-common): Call backend command `previous-revision'
4739 to find out the previous revision, in both cases. Swap the
4740 variables `to' and `fr', so that `fr' usually refers to the
4741 earlier revision (Bug#14989).
4742
4743 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4744
4745 * ibuf-ext.el (ibuffer-filter-by-filename):
4746 Make it work with dired buffers too.
4747
4748 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4749
4750 * emacs-lisp/re-builder.el (reb-color-display-p):
4751 * files.el (save-buffers-kill-terminal):
4752 * net/browse-url.el (browse-url):
4753 * server.el (server-save-buffers-kill-terminal):
4754 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4755 Prefer nil to selected-frame for the first arg of frame-parameter.
4756
4757 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4758
4759 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4760
4761 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4762
4763 * minibuffer.el (completion--twq-all): Try and preserve each
4764 completion's case choice (bug#14907).
4765
4766 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4767
4768 * net/network-stream.el (open-network-stream): Mention the new
4769 :nogreeting parameter.
4770 (network-stream-open-starttls): Use the :nogreeting parameter
4771 (bug#14938).
4772
4773 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4774
4775 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4776 more natural than popping.
4777
4778 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4779 (shr-urlify): Highlight under mouse.
4780
4781 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4782
4783 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4784
4785 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4786
4787 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4788 buffer for output.
4789
4790 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4791 point-min==1. Fix search string. Fix parentheses missing.
4792
4793 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4794 assume point-min==1. Fix search string. Fix parentheses missing.
4795
4796 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4797
4798 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4799 buffer for output.
4800
4801 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4802
4803 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4804 initial frame is minibuffer-less. (Bug#14841)
4805
4806 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4807
4808 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4809 option.
4810
4811 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4812 (tramp-maybe-open-connection): Use it.
4813
4814 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4815
4816 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4817 minimal set of parameters passed when creating a frame, because
4818 the minibuffer status of a frame cannot be changed later.
4819
4820 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4821
4822 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4823 replace-regexp-in-string and inadvertent omissions in previous change.
4824 (todo-filter-items): Ensure only file names are comma-separated in
4825 name of filtered items buffer.
4826
4827 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4828
4829 * desktop.el: Optionally force offscreen frames back onscreen.
4830 (desktop-restoring-reuses-frames): New option.
4831 (desktop--compute-pos, desktop--move-onscreen): New functions.
4832 (desktop--make-frame): Use desktop--move-onscreen.
4833
4834 2013-07-27 Alan Mackenzie <acm@muc.de>
4835
4836 Fontify a Java generic method as a function.
4837 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4838 value to t.
4839
4840 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4841
4842 * calendar/todo-mode.el: Add command to rename todo files.
4843 (todo-rename-file): New command.
4844 (todo-key-bindings-t): Add key binding for it. Change the
4845 bindings of todo-filter-regexp-items(-multifile) to use `x'
4846 instead of `r', since the latter is better suited to the new
4847 renaming command.
4848
4849 2013-07-27 Alan Mackenzie <acm@muc.de>
4850
4851 Make Java try-with-resources statement parse properly.
4852 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4853 (c-block-stmt-1-2-key): New language constants/variables.
4854 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4855 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4856 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4857 with c-block-stmt-1-2-key.
4858
4859 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4860
4861 * desktop.el (desktop--make-frame): Apply most frame parameters after
4862 creating the frame to force (partially or totally) offscreen frames to
4863 be restored as such.
4864
4865 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4866
4867 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4868 (Bug#14948)
4869
4870 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4871
4872 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4873 `base' arg of backtrace-frame.
4874
4875 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4876
4877 * simple.el (list-processes): Doc fix.
4878
4879 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4880
4881 * desktop.el (desktop--select-frame):
4882 Try harder to reuse existing frames.
4883
4884 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4885
4886 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4887 (edebug-eval): Use backtrace-eval.
4888 (edebug--display, edebug--recursive-edit): Don't let-bind the
4889 edebug-outer-* vars that keep track of variables we locally let-bind.
4890 (edebug-outside-excursion): Don't restore outside values of locally
4891 let-bound vars.
4892 (edebug--display): Use user-error.
4893 (cl-lexical-debug, cl-debug-env): Remove.
4894
4895 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4896
4897 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4898 are restored to be sure that they are visible before deleting any
4899 remaining ones.
4900
4901 2013-07-26 Matthias Meulien <orontee@gmail.com>
4902
4903 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4904 vc-print-root-log. (Bug#14948)
4905
4906 2013-07-26 Richard Stallman <rms@gnu.org>
4907
4908 Add aliases for encrypting mail.
4909 * epa.el (epa-mail-aliases): New option.
4910 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4911 Bind inhibit-read-only so read-only text doesn't ruin everything.
4912 (epa-mail-default-recipients): New subroutine broken out.
4913 Handle epa-mail-aliases.
4914
4915 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4916
4917 Add support for lexical variables to the debugger's `e' command.
4918 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4919 vars, except for debugger-outer-match-data.
4920 (debugger-frame-number): Move check for "on a function call" from
4921 callers into it. Add `skip-base' argument.
4922 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4923 (debugger-env-macro): Only reset the state stored in non-variables,
4924 i.e. current-buffer and match-data.
4925 (debugger-eval-expression): Rewrite using backtrace-eval.
4926 * subr.el (internal--called-interactively-p--get-frame): Remove.
4927 (called-interactively-p):
4928 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4929 `base' arg of backtrace-frame instead.
4930
4931 2013-07-26 Glenn Morris <rgm@gnu.org>
4932
4933 * align.el (align-regexp): Doc fix. (Bug#14857)
4934 (align-region): Explicit error if subexpression missing/does not match.
4935
4936 * simple.el (global-visual-line-mode):
4937 Do not duplicate the mode lighter. (Bug#14858)
4938
4939 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4940
4941 * window.el (display-buffer): In display-buffer bind
4942 split-window-keep-point to t, bug#14829.
4943
4944 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4945
4946 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4947 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4948 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4949 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4950 Change accordingly.
4951 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4952 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4953
4954 2013-07-25 Glenn Morris <rgm@gnu.org>
4955
4956 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4957
4958 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4959
4960 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4961 parameter to modify-frame-parameters if the value has not changed;
4962 this is a workaround for bug#14949.
4963 (desktop--make-frame): On cl-delete-if call, check parameter name,
4964 not full parameter.
4965
4966 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4967
4968 * vc/vc.el (vc-ignore): New function.
4969
4970 * vc/vc-svn.el (vc-svn-ignore): New function.
4971
4972 * vc/vc-hg.el (vc-hg-ignore): New function.
4973
4974 * vc/vc-git.el (vc-git-ignore): New function.
4975
4976 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4977 (vc-dir-ignore): New function.
4978
4979 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4980 (cvs-append-to-ignore): Move here from pcvs.el.
4981
4982 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4983
4984 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4985
4986 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4987
4988 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4989 (desktop-restore-frames): Warn when deleting an existing frame failed.
4990
4991 2013-07-24 Glenn Morris <rgm@gnu.org>
4992
4993 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4994
4995 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4996
4997 * filenotify.el (file-notify-supported-p):
4998 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4999 Remove functions.
5000
5001 * autorevert.el (auto-revert-use-notify):
5002 (auto-revert-notify-add-watch):
5003 * net/tramp.el (tramp-file-name-for-operation):
5004 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5005 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5006 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5007 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5008 Remove `file-notify-supported-p' entry.
5009
5010 2013-07-24 Glenn Morris <rgm@gnu.org>
5011
5012 * printing.el: Replace all uses of deleted ps-windows-system,
5013 ps-lp-system, ps-flatten-list with lpr- versions.
5014
5015 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5016
5017 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5018 checked with memq (bug#14935).
5019
5020 * files.el (revert-buffer-function): Use a non-nil default.
5021 (revert-buffer-preserve-modes): Declare var to
5022 provide access to the `preserve-modes' argument.
5023 (revert-buffer): Let-bind it.
5024 (revert-buffer--default): New function, extracted from revert-buffer.
5025
5026 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5027
5028 * lpr.el: Signal print errors more prominently.
5029 (print-region-function): Don't default to nil.
5030 (lpr-print-region): New function, extracted from print-region-1.
5031 Check lpr's return value and signal an error in case of problem.
5032 (print-region-1): Use it.
5033 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5034 versions instead.
5035 (ps-printer-name): Default to nil.
5036 (ps-printer-name-option): Default to lpr-printer-switch.
5037 (ps-print-region-function): Don't default to nil.
5038 (ps-postscript-code-directory): Simplify default.
5039 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5040 (ps-string-list, ps-eval-switch, ps-flatten-list)
5041 (ps-flatten-list-1): Remove.
5042 (ps-multibyte-buffer): Avoid setq.
5043 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5044 (print-region-function, ps-print-region-function): Don't set them here.
5045
5046 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5047
5048 * ido.el (ido-fractionp):
5049 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5050 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5051 (ido-max-directory-size, ido-max-dir-file-cache)
5052 (ido-decorations): Doc fix.
5053
5054 * ansi-color.el: Fix old URL.
5055
5056 2013-07-23 Michael R. Mauger <michael@mauger.com>
5057
5058 * progmodes/sql.el: Version 3.3
5059 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5060 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5061 (sql-interactive-remove-continuation-prompt): Rewrite, use
5062 functions above. Fix continuation prompt and complete output line
5063 handling.
5064 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5065 redirected output buffer.
5066 (sql-mode): Restore deleted code (Bug#13591).
5067
5068 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5069
5070 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5071
5072 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5073
5074 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5075
5076 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5077 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5078 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5079
5080 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5081
5082 * desktop.el (desktop-clear): Simplify; remove useless checks
5083 against invalid buffer names.
5084 (desktop-list*): Use cl-list*.
5085 (desktop-buffer-info, desktop-create-buffer): Simplify.
5086
5087 2013-07-23 Leo Liu <sdl.web@gmail.com>
5088
5089 * bookmark.el (bookmark-make-record): Restore NAME as a default
5090 value. (Bug#14933)
5091
5092 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5093
5094 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5095 extracted from autoload--insert-text.
5096 (autoload--insert-text): Remove.
5097 (autoload--print-cookie-text): New function, extracted from
5098 autoload--insert-cookie-text.
5099 (autoload--insert-cookie-text): Remove.
5100 (autoload-generate-file-autoloads): Adjust calls accordingly.
5101
5102 * winner.el (winner-hook-installed-p): Remove.
5103 (winner-mode): Simplify accordingly.
5104
5105 * subr.el (add-to-list): Fix compiler-macro when `append' is
5106 not constant. Don't use `cl-member' for the base case.
5107
5108 * progmodes/subword.el: Fix boundary case (bug#13758).
5109 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5110 own group.
5111 (subword-backward-regexp): Make it a constant.
5112 (subword-forward-internal): Don't treat a trailing capital as the
5113 beginning of a word.
5114
5115 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5116
5117 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5118 global value of tabulated-list-revert-hook (bug#14930).
5119
5120 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5121
5122 * desktop.el: Require 'cl-lib.
5123 (desktop-before-saving-frames-functions): New hook.
5124 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5125 for frames being saved. Rename from desktop--save-minibuffer-frames.
5126 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5127 Do not save frames with non-nil `desktop-dont-save' parameter.
5128 Filter out deleted frames.
5129 (desktop--find-frame): Use cl-find-if.
5130 (desktop--select-frame): Use cl-(first|second|third) to access values
5131 of desktop-mini.
5132 (desktop--make-frame): Use cl-delete-if.
5133 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5134 (desktop-restore-frames): Use cl-(first|second|third) to access values
5135 of desktop-mini. Look for visible frame at the end, not while
5136 restoring frames.
5137
5138 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5139 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5140 Use string-match-p, looking-at-p (bug#14927).
5141
5142 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5143
5144 * desktop.el (desktop-saved-frame-states):
5145 Rename from desktop--saved-states; all users changed.
5146 (desktop-save-frames): Rename from desktop--save-frames.
5147 Do not save state to desktop file.
5148 (desktop-save): Save desktop-saved-frame-states to desktop file
5149 and reset to nil.
5150 (desktop-restoring-frames-p): New function.
5151 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5152 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5153 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5154
5155 * desktop.el: Correctly restore iconified frames.
5156 (desktop--filter-iconified-position): New function.
5157 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5158
5159 2013-07-20 Glenn Morris <rgm@gnu.org>
5160
5161 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5162 Let `message' do the formatting.
5163 (def-gdb-preempt-display-buffer): Add explicit format.
5164
5165 * image-dired.el (image-dired-track-original-file):
5166 Use with-current-buffer.
5167 (image-dired-track-thumbnail): Use with-current-buffer.
5168 Avoid changing point of wrong window.
5169
5170 * image-dired.el (image-dired-track-original-file):
5171 Avoid changing point of wrong window. (Bug#14909)
5172
5173 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5174
5175 * progmodes/gdb-mi.el (gdb-done-or-error):
5176 Guard against "%" in gdb output. (Bug#14127)
5177
5178 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5179
5180 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5181 (Bug#14826)
5182
5183 * international/mule.el (coding-system-iso-2022-flags): Fix last
5184 change.
5185
5186 2013-07-20 Kenichi Handa <handa@gnu.org>
5187
5188 * international/mule.el (coding-system-iso-2022-flags):
5189 Add `8-bit-level-4'. (Bug#8522)
5190
5191 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5192
5193 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5194 (bug#14815).
5195
5196 * net/eww.el (eww-process-text-input): Allow inputting when the
5197 point is at the start of the line, as the properties aren't
5198 front-sticky.
5199
5200 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5201 degenerate widths.
5202
5203 2013-07-19 Richard Stallman <rms@gnu.org>
5204
5205 * epa.el (epa-popup-info-window): Doc fix.
5206
5207 * subr.el (split-string): New arg TRIM.
5208
5209 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5210
5211 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5212 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5213
5214 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5215
5216 * filenotify.el (file-notify--library): Rename from
5217 `file-notify-support'. Do not autoload. Adapt all uses.
5218 (file-notify-supported-p): New defun.
5219
5220 * autorevert.el (auto-revert-use-notify):
5221 Use `file-notify-supported-p' instead of `file-notify-support'.
5222 Adapt docstring.
5223 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5224
5225 * net/tramp.el (tramp-file-name-for-operation):
5226 Add `file-notify-supported-p'.
5227
5228 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5229 New defun.
5230 (tramp-sh-file-name-handler-alist): Add it as handler for
5231 `file-notify-supported-p '.
5232
5233 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5234 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5235 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5236 Add `ignore' as handler for `file-notify-*' functions.
5237
5238 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5239
5240 * simple.el (line-move-partial, line-move): Don't start vscroll or
5241 scroll-up if the current line is not taller than the window.
5242 (Bug#14881)
5243
5244 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5245
5246 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5247 highlight question marks in the method names as strings.
5248 (ruby-block-beg-keywords): Inline.
5249 (ruby-font-lock-keyword-beg-re): Extract from
5250 `ruby-font-lock-keywords'.
5251
5252 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5253
5254 * frame.el (blink-cursor-blinks): New defcustom.
5255 (blink-cursor-blinks-done): New defvar.
5256 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5257 (blink-cursor-timer-function): Check if number of blinks has been
5258 done on X and NS.
5259 (blink-cursor-suspend, blink-cursor-check): New defuns.
5260
5261 2013-07-15 Glenn Morris <rgm@gnu.org>
5262
5263 * edmacro.el (edmacro-format-keys): Fix previous change.
5264
5265 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5266
5267 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5268 The hack didn't work outside English locales anyway.
5269
5270 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5271
5272 * simple.el (define-alternatives): Rename from alternatives-define,
5273 per RMS' suggestion.
5274
5275 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5276
5277 * desktop.el (desktop-restore-frames): Change default to t.
5278 (desktop-restore-in-current-display): Now offer more options.
5279 (desktop-restoring-reuses-frames): New customization option.
5280 (desktop--saved-states): Doc fix.
5281 (desktop-filter-parameters-alist): New variable, renamed and expanded
5282 from desktop--excluded-frame-parameters.
5283 (desktop--target-display): New variable.
5284 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5285 (desktop--filter-tty*, desktop--filter-*-color)
5286 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5287 (desktop--filter-save-desktop-parm)
5288 (desktop-restore-in-original-display-p): New functions.
5289 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5290 (desktop--save-minibuffer-frames): New function, inspired by a similar
5291 function from Martin Rudalics.
5292 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5293 (desktop--restore-in-this-display-p): Remove.
5294 (desktop--find-frame): Rename from desktop--find-frame-in-display
5295 and add predicate argument.
5296 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5297 (desktop--reuse-list): New variable.
5298 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5299 New functions.
5300 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5301
5302 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5303
5304 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5305
5306 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5307
5308 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5309 Highlight conversion methods on Kernel.
5310
5311 2013-07-13 Alan Mackenzie <acm@muc.de>
5312
5313 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5314 and comment it out. This out-commenting enables certain C++
5315 declarations to be parsed correctly.
5316
5317 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5318
5319 * international/mule.el (define-coding-system): Doc fix.
5320
5321 * simple.el (default-font-height): Don't call font-info if the
5322 frame's default font didn't change since the frame was created.
5323 (Bug#14838)
5324
5325 2013-07-13 Leo Liu <sdl.web@gmail.com>
5326
5327 * ido.el (ido-read-file-name): Guard against non-symbol value.
5328
5329 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5330
5331 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5332 in nested defuns.
5333
5334 2013-07-13 Leo Liu <sdl.web@gmail.com>
5335
5336 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5337 ido-set-matches call. (Bug#6852)
5338
5339 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5340
5341 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5342 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5343 Ruby 2.0.
5344 (ruby-font-lock-keywords): Distinguish calls to functions with
5345 module-like names from module references. Highlight character
5346 literals.
5347
5348 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5349
5350 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5351 (gdb-send): Handle continued commands. (Bug#14847)
5352
5353 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5354
5355 * desktop.el (desktop--v2s): Remove unused local variable.
5356 (desktop-save-buffer): Make defvar-local; adjust docstring.
5357 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5358 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5359
5360 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5361
5362 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5363
5364 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5365
5366 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5367 (Bug#14842)
5368
5369 2013-07-12 Glenn Morris <rgm@gnu.org>
5370
5371 * doc-view.el: Require cl-lib at runtime too.
5372 (doc-view-remove-if): Remove.
5373 (doc-view-search-next-match, doc-view-search-previous-match):
5374 Use cl-remove-if.
5375
5376 * edmacro.el: Require cl-lib at runtime too.
5377 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5378 (edmacro-mismatch, edmacro-subseq): Remove.
5379
5380 * shadowfile.el: Require cl-lib.
5381 (shadow-remove-if): Remove.
5382 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5383 Use cl-remove-if.
5384
5385 * wid-edit.el: Require cl-lib.
5386 (widget-choose): Use cl-remove-if.
5387 (widget-remove-if): Remove.
5388
5389 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5390 (ebrowse-delete-if-not): Remove.
5391 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5392 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5393 Use cl-delete-if-not.
5394
5395 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5396
5397 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5398 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5399
5400 2013-07-12 Leo Liu <sdl.web@gmail.com>
5401
5402 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5403
5404 2013-07-11 Glenn Morris <rgm@gnu.org>
5405
5406 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5407 (edebug-gensym-index, edebug-gensym):
5408 Remove reimplementation of cl-gensym.
5409 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5410
5411 * thumbs.el: Require cl-lib at run-time too.
5412 (thumbs-gensym-counter, thumbs-gensym):
5413 Remove reimplementation of cl-gensym.
5414 (thumbs-temp-file): Use cl-gensym.
5415
5416 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5417 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5418 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5419 (ert--union, ert--gensym-counter, ert--gensym-counter)
5420 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5421 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5422 (ert-make-test-unbound, ert--expand-should-1)
5423 (ert--expand-should, ert--should-error-handle-error)
5424 (should-error, ert--explain-equal-rec)
5425 (ert--plist-difference-explanation, ert-select-tests)
5426 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5427 Use cl-lib functions rather than reimplementations.
5428
5429 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5430
5431 * net/tramp.el (tramp-methods): Extend docstring.
5432 (tramp-connection-timeout): New defcustom.
5433 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5434 (with-tramp-progress-reporter): Simplify.
5435 (tramp-process-actions): Improve messages.
5436
5437 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5438 * net/tramp-sh.el (tramp-maybe-open-connection):
5439 Use `tramp-connection-timeout'.
5440 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5441 (Bug#14808)
5442
5443 2013-07-11 Leo Liu <sdl.web@gmail.com>
5444
5445 * ido.el (ido-read-file-name): Conform to the requirements of
5446 read-file-name. (Bug#11861)
5447 (ido-read-directory-name): Conform to the requirements of
5448 read-directory-name.
5449
5450 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5451
5452 * subr.el (delay-warning): New function.
5453
5454 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5455
5456 * simple.el (default-line-height): New function.
5457 (line-move-partial, line-move): Use it instead of computing the
5458 line height inline.
5459 (line-move-partial): Always compute ROWH. If the last line is
5460 partially-visible, but its text is completely visible, allow
5461 cursor to enter such a partially-visible line.
5462
5463 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5464
5465 Improve error messages. (Bug#14808)
5466
5467 * net/tramp.el (tramp-current-connection): New defvar, moved from
5468 tramp-sh.el.
5469 (tramp-message-show-progress-reporter-message): Remove, not
5470 needed anymore.
5471 (tramp-error-with-buffer): Show message in minibuffer.
5472 Discard input before waiting. Reset connection timestamp.
5473 (with-tramp-progress-reporter): Improve messages.
5474 (tramp-process-actions): Use progress reporter. Delete process in
5475 case of error. Improve messages.
5476
5477 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5478 Call `tramp-error-with-buffer' with vector and buffer.
5479 (tramp-current-connection): Remove.
5480 (tramp-maybe-open-connection): The car of
5481 `tramp-current-connection' are the first 3 slots of the vector.
5482
5483 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5484
5485 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5486 inside continued strings.
5487
5488 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5489
5490 Timestamp fixes for undo (Bug#14824).
5491 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5492
5493 2013-07-10 Leo Liu <sdl.web@gmail.com>
5494
5495 * files.el (require-final-newline): Allow safe local value.
5496 (Bug#14834)
5497
5498 2013-07-09 Leo Liu <sdl.web@gmail.com>
5499
5500 * ido.el (ido-read-directory-name): Handle fallback.
5501 (ido-read-file-name): Update DIR to ido-current-directory.
5502 (Bug#1516)
5503 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5504
5505 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5506
5507 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5508 "autoload". Remove "warn lower camel case" section, previously
5509 commented out. Highlight negation char. Do not highlight the
5510 target in singleton method definitions.
5511
5512 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5513
5514 * faces.el (tty-setup-hook): Declare the hook.
5515
5516 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5517 and detect when a guard/pred depends on local vars (bug#14773).
5518 (pcase--u1): Adjust caller.
5519
5520 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5521
5522 * simple.el (line-move-partial, line-move): Account for
5523 line-spacing.
5524 (line-move-partial): Avoid setting vscroll when the last
5525 partially-visible line in window is of default height.
5526
5527 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5528
5529 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5530 been used a while.
5531
5532 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5533
5534 * subr.el (read-quoted-char): Remove unused local variable `char'.
5535
5536 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5537
5538 * ediff.el (ediff-version): Version update.
5539 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5540 (ediff-merge-with-ancestor-command, ediff-directories-command)
5541 (ediff-directories3-command, ediff-merge-directories-command)
5542 (ediff-merge-directories-with-ancestor-command): New functions.
5543 All are command-line interfaces to ediff: to facilitate calling
5544 Emacs with the appropriate ediff functions invoked.
5545
5546 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5547 (viper-save-kill-buffer): Check if buffer is modified.
5548
5549 * viper.el (viper-version): Version update.
5550 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5551
5552 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5553
5554 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5555 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5556 (viper-intercept-ESC-key): Simplify.
5557 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5558 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5559 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5560 (viper-setup-ESC-to-escape): New functions.
5561 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5562 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5563
5564 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5565
5566 * simple.el (default-font-height, window-screen-lines):
5567 New functions.
5568 (line-move, line-move-partial): Use them instead of
5569 frame-char-height and window-text-height. This makes scrolling
5570 text smoother when the buffer's default face uses a font that is
5571 different from the frame's default font.
5572
5573 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5574
5575 * files.el (write-file): Do not display confirm dialog for NS,
5576 it does its own dialog, which can't be cancelled (Bug#14578).
5577
5578 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5579
5580 * simple.el (line-move-partial): Adjust the row returned by
5581 posn-at-point for the current window-vscroll. (Bug#14567)
5582
5583 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5584
5585 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5586 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5587 spaces.
5588
5589 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5590
5591 * window.el (window-state-put-stale-windows): New variable.
5592 (window--state-put-2): Save list of windows without matching buffer.
5593 (window-state-put): Remove "bufferless" windows if possible.
5594
5595 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5596
5597 * simple.el (alternatives-define): Remove leftover :group keyword.
5598 Tweak docstring.
5599
5600 2013-07-06 Leo Liu <sdl.web@gmail.com>
5601
5602 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5603 (ido-enable-virtual-buffers): New variable.
5604 (ido-buffer-internal, ido-toggle-virtual-buffers)
5605 (ido-make-buffer-list): Use it.
5606 (ido-exhibit): Support turning on and off virtual buffers
5607 automatically.
5608
5609 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5610
5611 * simple.el (alternatives-define): New macro.
5612
5613 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 * subr.el (read-quoted-char): Use read-key.
5616 (sit-for): Let read-event decode tty input (bug#14782).
5617
5618 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5619
5620 * calendar/todo-mode.el: Add handling of file deletion, both by
5621 mode command and externally. Fix various related bugs.
5622 Clarify Commentary and improve some documentation strings and code.
5623 (todo-delete-file): New command.
5624 (todo-check-file): New function.
5625 (todo-show): Handle external deletion of the file we're trying to
5626 show (bug#14688). Replace called-interactively-p by an optional
5627 prefix argument to avoid problematic interaction with catch form
5628 when byte compiled (bug#14702).
5629 (todo-quit): Handle external deletion of the archive's todo file.
5630 Make sure the buffer that was visiting the archive file is still
5631 live before trying to bury it.
5632 (todo-category-completions): Handle external deletion of any
5633 category completion files.
5634 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5635 of todo files, in case of external deletion.
5636 (todo-add-file): Replace unnecessary setq by let-binding.
5637 (todo-find-archive): Check whether there are any archives.
5638 Replace unnecessary setq by let-binding.
5639 (todo-archive-done-item): Use find-file-noselect to get the
5640 archive buffer whether or not the archive already exists.
5641 Remove superfluous code. Use file size instead of buffer-file-name to
5642 check if the archive is new; if it is, update list of archives.
5643 (todo-default-todo-file): Allow nil to be a valid value for when
5644 there are no todo files.
5645 (todo-reevaluate-default-file-defcustom): Use corrected definition
5646 of todo-default-todo-file.
5647 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5648 (todo-delete-category, todo-show-categories-table)
5649 (todo-category-number): Clarify comment.
5650 (todo-filter-items): Clarify documentation string.
5651 (todo-show-current-file, todo-display-as-todo-file)
5652 (todo-reset-and-enable-done-separator): Tweak documentation string.
5653 (todo-done-separator): Make separator length window-width, since
5654 bug#2749 is now fixed.
5655
5656 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5657
5658 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5659 Support both "gvfs-monitor-dir" and "inotifywait".
5660 (tramp-sh-file-inotifywait-process-filter): Rename from
5661 `tramp-sh-file-notify-process-filter'.
5662 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5663 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5664
5665 2013-07-05 Leo Liu <sdl.web@gmail.com>
5666
5667 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5668
5669 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5670
5671 * frame.el (display-pixel-height, display-pixel-width)
5672 (display-mm-height, display-mm-width): Mention behavior on
5673 multi-monitor setups in docstrings.
5674 (w32-display-monitor-attributes-list): Declare function.
5675 (display-monitor-attributes-list): Use it.
5676
5677 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5678
5679 * filenotify.el: New package.
5680
5681 * autorevert.el (top): Require filenotify.el.
5682 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5683 instead.
5684 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5685 (auto-revert-notify-handler): Use `file-notify-*' functions.
5686
5687 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5688
5689 * net/tramp.el (tramp-file-name-for-operation):
5690 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5691
5692 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5693 for `file-notify-add-watch' and `file-notify-rm-watch'.
5694 (tramp-process-sentinel): Improve trace.
5695 (tramp-sh-handle-file-notify-add-watch)
5696 (tramp-sh-file-notify-process-filter)
5697 (tramp-sh-handle-file-notify-rm-watch)
5698 (tramp-get-remote-inotifywait): New defuns.
5699
5700 2013-07-03 Juri Linkov <juri@jurta.org>
5701
5702 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5703 call of `occur-read-primary-args' to interactive spec.
5704
5705 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5706 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5707
5708 2013-07-03 Matthias Meulien <orontee@gmail.com>
5709
5710 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5711 `Buffer-menu-multi-occur'. Add it to the menu.
5712 (Buffer-menu-mode): Document it in docstring.
5713 (Buffer-menu-multi-occur): New command. (Bug#14673)
5714
5715 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5716
5717 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5718 keywords and built-ins.
5719
5720 2013-07-03 Glenn Morris <rgm@gnu.org>
5721
5722 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5723
5724 Make info-xref checks case-sensitive by default
5725 * info.el (Info-find-node, Info-find-in-tag-table)
5726 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5727 Add option for exact case matching of nodes.
5728 * info-xref.el (info-xref): New custom group.
5729 (info-xref-case-fold): New option.
5730 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5731
5732 2013-07-03 Leo Liu <sdl.web@gmail.com>
5733
5734 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5735
5736 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5737
5738 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5739 middle of block statement initially, lower the depth. Remove
5740 FIXME comment, not longer valid. Remove middle of block statement
5741 detection, no need to do that anymore since we've been using
5742 `ruby-parse-region' here.
5743
5744 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5745
5746 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5747
5748 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5749
5750 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5751
5752 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5753
5754 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5755 (desktop-restore-in-current-display): New customization option.
5756 (desktop--excluded-frame-parameters): Add `font'.
5757 (desktop--save-frames): Rename from desktop--save-windows.
5758 (desktop--restore-in-this-display-p): New function.
5759 (desktop--make-full-frame): Remove unwanted width/height from
5760 full(width|height) frames.
5761 (desktop--restore-frames): Rename from desktop--restore-windows.
5762 Obey desktop-restore-current-display. Do not delete old frames or
5763 select a new frame unless we were able to restore at least one frame.
5764
5765 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5766
5767 * files.el (find-file-noselect): Simplify conditional expression.
5768
5769 * remember.el (remember-append-to-file):
5770 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5771
5772 Add `remember-notes' function to store random notes across Emacs
5773 restarts.
5774 * remember.el (remember-data-file): Add :set callback to affect
5775 notes buffer (if any).
5776 (remember-notes): New command.
5777 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5778 New defcustoms for the `remember-notes' function.
5779 (remember-notes-save-and-bury-buffer): New command.
5780 (remember-notes-mode-map): New variable.
5781 (remember-mode): New minor mode.
5782 (remember-notes--kill-buffer-query): New function.
5783 * startup.el (initial-buffer-choice): Add notes to custom type.
5784
5785 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5786
5787 * bindings.el (right-char, left-char): Don't call sit-for, this is
5788 no longer needed. Use arithmetic comparison only for numerical
5789 arguments.
5790
5791 * international/mule-cmds.el (select-safe-coding-system):
5792 Handle the case of FROM being a string correctly. (Bug#14755)
5793
5794 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5795
5796 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5797 progression on degenerate tables.
5798 (shr-rescale-image): ImageMagick animated images currently don't work.
5799
5800 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5801
5802 Some fixes and improvements for desktop frame restoration.
5803 It is still experimental and disabled by default.
5804 * desktop.el (desktop--save-windows): Put the selected frame at
5805 the head of the list.
5806 (desktop--make-full-frame): New function.
5807 (desktop--restore-windows): Try to re-select the frame that was
5808 selected upon saving. Do not abort if some frames fail to restore,
5809 just show an error message and continue. Set up maximized frames
5810 so they have default non-maximized dimensions.
5811
5812 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5813
5814 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5815 Don't start heredoc inside a string or comment.
5816
5817 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5818
5819 * bindings.el (visual-order-cursor-movement): New defcustom.
5820 (right-char, left-char): Provide visual-order cursor motion by
5821 calling move-point-visually. Update the doc strings.
5822
5823 2013-06-28 Kenichi Handa <handa@gnu.org>
5824
5825 * international/mule.el (define-coding-system): New coding system
5826 properties :inhibit-null-byte-detection,
5827 :inhibit-iso-escape-detection, and :prefer-utf-8.
5828 (set-buffer-file-coding-system): If :charset-list property of
5829 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5830 appropriate for setting.
5831
5832 * international/mule-cmds.el (select-safe-coding-system):
5833 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5834 multibyte characters, return utf-8 (or one of its siblings).
5835
5836 * international/mule-conf.el (prefer-utf-8): New coding system.
5837 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5838 files.
5839
5840 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5841
5842 * net/shr.el (shr-render-region): New function.
5843
5844 * net/eww.el: Autoload `eww-browse-url'.
5845
5846 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5847
5848 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5849 Adapt to `package-desc-version' being a list.
5850 Use `package--ac-desc-version' to retrieve version from a package
5851 archive element.
5852
5853 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5854
5855 New experimental feature to save&restore window and frame setup.
5856 * desktop.el (desktop-save-windows): New defcustom.
5857 (desktop--saved-states): New var.
5858 (desktop--excluded-frame-parameters): New defconst.
5859 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5860 (desktop--restore-windows, desktop--save-windows): New functions.
5861 (desktop-save): Call `desktop--save-windows'.
5862 (desktop-read): Call `desktop--restore-windows'.
5863
5864 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5865
5866 * net/shr.el (add-face-text-property): Remove compat definition.
5867
5868 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5869
5870 * info.el (Info-try-follow-nearest-node): Move search for footnote
5871 above search for node name to prevent missing a footnote (bug#14717).
5872
5873 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5874
5875 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5876
5877 2013-06-27 Leo Liu <sdl.web@gmail.com>
5878
5879 * net/eww.el (eww-read-bookmarks): Check file size.
5880
5881 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5882
5883 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5884 advice--pending if newdef is nil or an autoload (bug#13820).
5885 (advice-mapc): New function.
5886
5887 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5888
5889 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5890 probably.
5891 (eww-mode-map): Add a menu bar.
5892 (eww-add-bookmark): New command.
5893 (eww-bookmark-mode): New mode and commands.
5894 (eww-add-bookmark): Remove newlines from the title.
5895 (eww-bookmark-browse): Don't bug out if it's the only window.
5896
5897 2013-06-26 Glenn Morris <rgm@gnu.org>
5898
5899 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5900 (hfy-size): Handle ttys. (Bug#14668)
5901
5902 * info-xref.el: Update for Texinfo 5 change in *note format.
5903 (info-xref-node-re, info-xref-note-re): New constants.
5904 (info-xref-check-buffer): Use info-xref-note-re.
5905
5906 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5909
5910 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5911 nil terminate the loop (bug#14718).
5912
5913 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5914
5915 * net/eww.el: Rework history traversal. When going forward/back,
5916 put these actions into the history, too, so that they can be
5917 replayed.
5918 (eww-render): Move the history reset to the correct buffer.
5919
5920 2013-06-25 Juri Linkov <juri@jurta.org>
5921
5922 * files-x.el (modify-dir-local-variable): Change the header comment
5923 in the file with directory local variables. (Bug#14692)
5924
5925 * files-x.el (read-file-local-variable-value): Add `default'.
5926 (Bug#14710)
5927
5928 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5929
5930 * net/eww.el (eww-make-unique-file-name): Create a unique file
5931 name before saving to entering `y' accidentally asynchronously.
5932
5933 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5934
5935 * net/eww.el (eww-download): New command and keystroke.
5936
5937 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5938
5939 * net/eww.el (eww-copy-page-url): Change name of command.
5940
5941 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5942 be more consistent with Info and dired.
5943
5944 * net/eww.el (eww-mode-map): Ditto.
5945
5946 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5947
5948 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5949 packages from archives.
5950 (package-archive-contents): Change format; include obsolete packages.
5951 (package-desc): Use `dir' to mark builtin packages.
5952 (package--from-builtin): Set the `dir' field to `builtin'.
5953 (generated-autoload-file, version-control): Declare.
5954 (package-compute-transaction): Change first arg and return value to be
5955 lists of package-descs. Adjust to new package-archive-contents format.
5956 (package--add-to-archive-contents): Adjust to new
5957 package-archive-contents format.
5958 (package-download-transaction): Arg is now a list of package-descs.
5959 (package-install): If `pkg' is a package name, pass it as
5960 a requirement, so it is subject to the usual (e.g. disabled) checks.
5961 (describe-package): Accept package-desc as well.
5962 (describe-package-1): Describe a specific package-desc. Add links to
5963 other package-descs for the same package name.
5964 (package-menu-describe-package): Pass the actual package-desc.
5965 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5966 works correctly.
5967 (package-desc-status): New function.
5968 (package-menu--refresh): New function, extracted
5969 from package-menu--generate.
5970 (package-menu--generate): Use it.
5971 (package-delete): Update package-alist.
5972 (package-menu-execute): Don't call package-initialize.
5973
5974 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5975 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5976 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5977 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5978 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5979 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5980
5981 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5982
5983 * window.el (window--state-get-1): Workaround for bug#14527.
5984 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5985
5986 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5987
5988 * net/eww.el (eww-back-url): Implement the history by stashing all
5989 the data into a list.
5990 (eww-forward-url): Allow going forward in the history, too.
5991
5992 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5995 for values and use read--expression for expressions (bug#14710).
5996 (read-file-local-variable): Avoid setq.
5997 (read-file-local-variable-mode): Use minor-mode-list.
5998
5999 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6000
6001 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6002 for DOI URLs.
6003
6004 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6005
6006 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6007 Update imenu-support when dialect changes.
6008
6009 2013-06-25 Leo Liu <sdl.web@gmail.com>
6010
6011 * ido.el (ido-read-internal): Allow forward slash on windows.
6012
6013 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6014
6015 * net/eww.el (eww): Start of strings is \\`, not ^.
6016
6017 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6018
6019 * net/shr.el (shr-browse-url): Fix interactive spec.
6020
6021 * net/eww.el (eww): Add a trailing slash to domain names.
6022
6023 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6024
6025 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6026
6027 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6028
6029 * net/shr.el (shr-browse-url): Use an external browser if given a
6030 prefix.
6031
6032 * net/eww.el (eww-external-browser): Move to shr.
6033
6034 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6035
6036 * net/eww.el (eww): Work more correctly for file: URLs.
6037 (eww-detect-charset): Allow quoted charsets.
6038 (eww-yank-page-url): New command and keystroke.
6039
6040 2013-06-24 Daiki Ueno <ueno@gnu.org>
6041
6042 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6043 file name of gpg executable.
6044 (epg-context-program): New function.
6045 (epg-context-home-directory): New function.
6046 (epg-context-set-program): New function.
6047 (epg-context-set-home-directory): New function.
6048 (epg--start): Use `epg-context-program' instead of
6049 'epg-gpg-program'.
6050 (epg--list-keys-1): Likewise.
6051
6052 2013-06-24 Leo Liu <sdl.web@gmail.com>
6053
6054 * ido.el (ido-read-internal): Fix bug#14620.
6055
6056 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6057
6058 * faces.el (face-documentation): Simplify.
6059 (read-face-attribute, tty-find-type, x-resolve-font-name):
6060 Use `string-match-p'.
6061 (list-faces-display): Use `string-match-p'. Simplify.
6062 (face-spec-recalc): Check face to avoid face alias loops.
6063 (read-color): Use `string-match-p' and non-capturing parenthesis.
6064
6065 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6066
6067 * net/shr.el (shr-rescale-image): Use the new
6068 :max-width/:max-height functionality.
6069
6070 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6071
6072 * net/eww.el (eww-search-prefix): New variable.
6073 (eww): Use it.
6074 (eww-external-browser): New variable.
6075 (eww-mode-map): New keystroke.
6076 (eww-browse-with-external-browser): New command.
6077
6078 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6079
6080 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6081
6082 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6083 Don't skip aligning the next header field when padding is 0;
6084 otherwise, field width is not respected unless the title is as
6085 wide as the field.
6086
6087 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * emacs-lisp/package.el (package-el-version): Remove.
6090 (package-process-define-package): Fix inf-loop.
6091 (package-install): Allow symbols as arguments again.
6092
6093 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6094
6095 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6096 add some more keyword-like methods.
6097 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6098
6099 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6100
6101 * bs.el (bs-buffer-show-mark): Make defvar-local.
6102 (bs-mode): Use setq-local.
6103
6104 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6105 (emacs-lock--try-unlocking): Make defvar-local.
6106
6107 2013-06-22 Glenn Morris <rgm@gnu.org>
6108
6109 * play/cookie1.el (cookie-apropos): Minor simplification.
6110
6111 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6112
6113 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6114
6115 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6116 `regexp-opt', it breaks the build during dumping.
6117
6118 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6119
6120 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6121 Highlight keyword-like methods on Kernel and Module with
6122 font-lock-builtin-face.
6123 (auto-mode-alist): Consolidate different entries into one regexp
6124 and add more *file-s.
6125
6126 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6127
6128 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6129
6130 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6131 (diary-entry): Use it in the action of this button type instead of
6132 diary-goto-entry.
6133
6134 * calendar/todo-mode.el: New version.
6135 (todo-add-category): Append new category to end of file and give
6136 it the highest number, instead of putting it at the beginning and
6137 giving it 0. Incorporate noninteractive functionality.
6138 (todo-forward-category): Adapt to 1-based category numbering.
6139 Allow skipping over archived categories.
6140 (todo-backward-category): Derive from todo-forward-category.
6141 (todo-backward-item, todo-forward-item): Make noninteractive and
6142 delegate interactive part to new commands. Make sensitive to done items.
6143 (todo-categories): Make value an alist of category names and
6144 vectors of item counts.
6145 (todo-category-beg): Make a defconst.
6146 (todo-category-number): Use 1 instead of 0 as initial value.
6147 (todo-category-select): Make sensitive to overlays, optional item
6148 highlighting and done items.
6149 (todo-delete-item): Make sensitive to overlays and marked and done items.
6150 (todo-edit-item): Make sensitive to overlays and editing of
6151 date/time header optional. Add format checks.
6152 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6153 no-op if point is not on an item. Advertise using todo-edit-quit.
6154 (todo-edit-mode): Make sensitive to new format, font-locking, and
6155 multiple todo files.
6156 (todo-insert-item, todo-insert-item-here): Derive from
6157 todo-basic-insert-item and extend functionality.
6158 (todo-item-end, todo-item-start): Make sensitive to done items.
6159 (todo-item-string): Don't return text properties. Restore point.
6160 (todo-jump-to-category): Make sensitive to multiple todo files and
6161 todo archives. Use extended category completion.
6162 (todo-lower-item, todo-raise-item): Rename to *-priority and
6163 derive from todo-set-item-priority.
6164 (todo-mode): Derive from special-mode. Make sensitive to new
6165 format, font-locking and multiple todo files. Make read-only.
6166 (todo-mode-map): Don't suppress digit keys, so they can supply
6167 prefix arguments. Add many new key bindings.
6168 (todo-prefix): Insert as an overlay instead of file text.
6169 Change semantics from diary date expression to purely visual mark.
6170 (todo-print): Rename to todo-print-buffer. Make buffer display
6171 features printable. Remove option to restrict number of items
6172 printed. Add option to print to file.
6173 (todo-print-function): Rename to todo-print-buffer-function.
6174 (todo-quit): Extend to handle exiting new todo modes.
6175 (todo-remove-item): Make sensitive to overlays.
6176 (todo-save): Extend to buffers of filtered items.
6177 (todo-show): Make sensitive to done items, multiple todo files and
6178 new todo modes. Offer to convert legacy todo file before creating
6179 first new todo file.
6180 (todo-show-priorities): Rename to todo-top-priorities.
6181 Change semantics of value 0.
6182 (todo-top-priorities): Rename to todo-filter-top-priorities,
6183 derive from todo-filter-items and extend functionality.
6184 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6185 and extend functionality to other types of filtered items.
6186 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6187 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6188 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6189 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6190 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6191 (todo-edit-mode-hook, todo-entry-prefix-function)
6192 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6193 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6194 (todo-initials, todo-insert-threshold, todo-item-string-start)
6195 (todo-line-string, todo-menu, todo-mode-hook)
6196 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6197 (todo-print-priorities, todo-remove-separator)
6198 (todo-save-top-priorities-too, todo-string-count-lines)
6199 (todo-string-multiline-p, todo-time-string-format)
6200 (todo-tmp-buffer-name): Remove.
6201 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6202 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6203 (todo-edit-category-diary-inclusion)
6204 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6205 (todo-edit-file, todo-edit-item-date-day)
6206 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6207 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6208 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6209 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6210 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6211 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6212 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6213 (todo-filter-top-priorities-multifile, todo-find-archive)
6214 (todo-find-filtered-items-file, todo-go-to-source-item)
6215 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6216 (todo-jump-to-archive-category, todo-lower-category)
6217 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6218 (todo-move-category, todo-move-item, todo-next-button)
6219 (todo-next-item, todo-padded-string, todo-powerset)
6220 (todo-previous-button, todo-previous-item)
6221 (todo-print-buffer-to-file, todo-raise-category)
6222 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6223 (todo-set-category-number, todo-set-item-priority)
6224 (todo-set-top-priorities-in-category)
6225 (todo-set-top-priorities-in-file, todo-show-categories-table)
6226 (todo-sort-categories-alphabetically-or-numerically)
6227 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6228 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6229 (todo-toggle-item-header, todo-toggle-item-highlighting)
6230 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6231 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6232 (todo-unarchive-items, todo-unmark-category): New commands.
6233 (todo-absolute-file-name, todo-add-to-buffer-list)
6234 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6235 (todo-basic-insert-item, todo-category-completions)
6236 (todo-category-number, todo-category-string-matcher-1)
6237 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6238 (todo-check-format, todo-clear-matches)
6239 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6240 (todo-current-category, todo-date-string-matcher)
6241 (todo-define-insertion-command, todo-diary-expired-matcher)
6242 (todo-diary-goto-entry, todo-diary-item-p)
6243 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6244 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6245 (todo-done-item-section-p, todo-done-separator)
6246 (todo-done-string-matcher, todo-files, todo-filter-items)
6247 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6248 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6249 (todo-insert-category-line, todo-insert-item-from-calendar)
6250 (todo-insert-sort-button, todo-insert-with-overlays)
6251 (todo-insertion-command-name, todo-insertion-key-bindings)
6252 (todo-label-to-key, todo-longest-category-name-length)
6253 (todo-make-categories-list, todo-mode-external-set)
6254 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6255 (todo-modes-set-3, todo-multiple-filter-files)
6256 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6257 (todo-read-category, todo-read-date, todo-read-dayname)
6258 (todo-read-file-name, todo-read-time)
6259 (todo-reevaluate-category-completions-files-defcustom)
6260 (todo-reevaluate-default-file-defcustom)
6261 (todo-reevaluate-filelist-defcustoms)
6262 (todo-reevaluate-filter-files-defcustom)
6263 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6264 (todo-reset-done-separator, todo-reset-done-separator-string)
6265 (todo-reset-done-string, todo-reset-global-current-todo-file)
6266 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6267 (todo-reset-prefix, todo-set-categories)
6268 (todo-set-date-from-calendar, todo-set-show-current-file)
6269 (todo-set-top-priorities, todo-short-file-name)
6270 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6271 (todo-total-item-counts, todo-update-buffer-list)
6272 (todo-update-categories-display, todo-update-categories-sexp)
6273 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6274 New functions.
6275 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6276 New major modes.
6277 (todo-categories, todo-display, todo-edit, todo-faces)
6278 (todo-filtered): New defgroups.
6279 (todo-archived-only, todo-button, todo-category-string, todo-date)
6280 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6281 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6282 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6283 (todo-add-item-if-new-category, todo-always-add-time-string)
6284 (todo-categories-align, todo-categories-archived-label)
6285 (todo-categories-category-label, todo-categories-diary-label)
6286 (todo-categories-done-label, todo-categories-number-separator)
6287 (todo-categories-todo-label, todo-categories-totals-label)
6288 (todo-category-completions-files, todo-completion-ignore-case)
6289 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6290 (todo-done-separator-string, todo-done-string)
6291 (todo-files-function, todo-filter-done-items, todo-filter-files)
6292 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6293 (todo-initial-category, todo-initial-file, todo-item-mark)
6294 (todo-legacy-date-time-regexp, todo-mode-line-function)
6295 (todo-nondiary-marker, todo-number-prefix)
6296 (todo-print-buffer-function, todo-show-current-file)
6297 (todo-show-done-only, todo-show-first, todo-show-with-done)
6298 (todo-skip-archived-categories, todo-top-priorities-overrides)
6299 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6300 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6301 New defcustoms.
6302 (todo-category-done, todo-date-pattern, todo-date-string-start)
6303 (todo-diary-items-buffer, todo-done-string-start)
6304 (todo-filtered-items-buffer, todo-item-start)
6305 (todo-month-abbrev-array, todo-month-name-array)
6306 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6307 (todo-top-priorities-buffer): New defconsts.
6308 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6309 (todo-categories-with-marks, todo-category-string-face)
6310 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6311 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6312 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6313 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6314 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6315 (todo-font-lock-keywords, todo-global-current-todo-file)
6316 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6317 (todo-insertion-commands-args)
6318 (todo-insertion-commands-args-genlist)
6319 (todo-insertion-commands-names, todo-insertion-map)
6320 (todo-key-bindings-t, todo-key-bindings-t+a)
6321 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6322 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6323 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6324 (todo-visited): New variables.
6325
6326 2013-06-21 Glenn Morris <rgm@gnu.org>
6327
6328 * play/cookie1.el (cookie-apropos): Add optional display argument.
6329 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6330 (psychoanalyze-pinhead): Use cookie-doctor.
6331
6332 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6333
6334 * emacs-lisp/package.el (tar-get-file-descriptor)
6335 (tar--extract): Declare.
6336
6337 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6338
6339 Extend flymake's warning predicate to be a function (bug#14217).
6340 * progmodes/flymake.el (flymake-warning-predicate): New.
6341 (flymake-parse-line): Use it.
6342 (flymake-warning-re): Make obsolete alias to
6343 `flymake-warning-predicate'.
6344
6345 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6346
6347 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6348 (package-obsolete-list): Remove.
6349 (package-activate): Remove min-version argument. Add `force' argument.
6350 Adjust to new package-alist format.
6351 (package-mark-obsolete): Remove.
6352 (package-unpack): Force reload of the package's autoloads.
6353 (package-installed-p): Check builtins if the installed package is not
6354 recent enough.
6355 (package-initialize): Don't reset package-obsolete-list.
6356 Don't specify which package version to activate.
6357 (package-process-define-package, describe-package-1)
6358 (package-menu--generate): Adjust to new package-alist format.
6359
6360 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6361
6362 * allout-widgets.el (allout-widgets-mode-off)
6363 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6364 (allout-widgets-post-command-business)
6365 (allout-widgets-after-copy-or-kill-function)
6366 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6367 (allout-decorate-item-and-context)
6368 (allout-graphics-modification-handler): Fix typos in docstrings.
6369 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6370
6371 * cmuscheme.el (scheme-start-file): Doc fix.
6372 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6373 (scheme-input-filter): Use `string-match-p'.
6374
6375 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6376
6377 * dired-x.el: Use Dired consistently in docstrings.
6378
6379 * dired.el: Use Dired consistently in docstrings.
6380 (dired-readin, dired-mode): Use `setq-local'.
6381 (dired-switches-alist): Make defvar-local.
6382 (dired-buffers-for-dir): Use `zerop'.
6383 (dired-safe-switches-p, dired-switches-escape-p)
6384 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6385 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6386 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6387 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6388 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6389 (dired-toggle-marks, dired-mark-files-containing-regexp)
6390 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6391 (dired-flag-auto-save-files, dired-flag-backup-files):
6392 Use `looking-at-p'.
6393 (dired-mark-files-regexp, dired-build-subdir-alist):
6394 Use `string-match-p', `looking-at-p'.
6395
6396 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6397 (direct-print-region-helper): Use `string-match-p'.
6398
6399 2013-06-21 Leo Liu <sdl.web@gmail.com>
6400
6401 * comint.el (comint-redirect-results-list-from-process):
6402 Fix infinite loop.
6403
6404 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6405
6406 * net/eww.el (eww-update-header-line-format): Quote % characters.
6407
6408 2013-06-21 Glenn Morris <rgm@gnu.org>
6409
6410 * play/cookie1.el (cookie): New custom group.
6411 (cookie-file): New option.
6412 (cookie-check-file): New function.
6413 (cookie): Make it interactive. Make start and end messages optional.
6414 Interactively, display the result. Default to cookie-file.
6415 (cookie-insert): Default to cookie-file.
6416 (cookie-snarf): Make start and end messages optional.
6417 Default to cookie-file. Use with-temp-buffer.
6418 (cookie-read): Rename from read-cookie.
6419 Make start and end messages optional. Default to cookie-file.
6420 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6421 Do not autoload it.
6422 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6423 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6424
6425 2013-06-21 Leo Liu <sdl.web@gmail.com>
6426
6427 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6428
6429 2013-06-21 Glenn Morris <rgm@gnu.org>
6430
6431 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6432
6433 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6434 Daniel Hackney <dan@haxney.org>
6435
6436 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6437 Consolidate the single-file vs tarball code.
6438 (package-desc-suffix): New function.
6439 (package-desc-full-name): Don't bother inlining it.
6440 (package-load-descriptor): Return the new package-desc.
6441 (package-mark-obsolete): Remove unused arg `package'.
6442 (package-unpack): Make it work for single files as well.
6443 Make it update package-alist.
6444 (package--make-autoloads-and-stuff): Rename from
6445 package--make-autoloads-and-compile. Don't compile any more.
6446 (package--compile): New function.
6447 (package-generate-description-file): New function, extracted from
6448 package-unpack-single.
6449 (package-unpack-single): Remove.
6450 (package--with-work-buffer): Add indentation and debugging info.
6451 (package-download-single): Remove.
6452 (package-install-from-archive): Rename from package-download-tar, make
6453 it take a pkg-desc, and make it work for single files as well.
6454 (package-download-transaction): Simplify.
6455 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6456 external tar program.
6457 (package-install-from-buffer): Remove `pkg-desc' argument.
6458 Use package-tar-file-info for tar-mode buffers.
6459 (package-install-file): Simplify accordingly.
6460 (package-archive-base): Change to take a pkg-desc.
6461 * tar-mode.el (tar--check-descriptor): New function, extracted from
6462 tar-get-descriptor.
6463 (tar-get-descriptor): Use it.
6464 (tar-get-file-descriptor): New function.
6465 (tar--extract): New function, extracted from tar-extract.
6466 (tar--extract): Use it.
6467 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6468 case the summary uses non-ascii. Adjust to new calling convention of
6469 package-tar-file-info.
6470
6471 2013-06-21 Leo Liu <sdl.web@gmail.com>
6472
6473 * comint.el (comint-redirect-results-list-from-process):
6474 Fix random delay. (Bug#14681)
6475
6476 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6477
6478 * profiler.el (profiler-format-number): Use log, not log10.
6479
6480 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6481
6482 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6483
6484 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6485
6486 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6487 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6488 yet available.
6489 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6490 (AUTOGENEL): ... here.
6491 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6492 (cl--defsubst-expand): Use it.
6493
6494 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6495
6496 * subr.el (log10): Move here from C code, and declare as obsolete.
6497 All uses of (log10 X) replaced with (log X 10).
6498
6499 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6500
6501 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6502 Declare with `defvar-local'.
6503 (tabulated-list-use-header-line, tabulated-list-entries)
6504 (tabulated-list-padding, tabulated-list-printer)
6505 (tabulated-list-sort-key): Declare with `defvar-local'.
6506 (tabulated-list-init-header, tabulated-list-print-fake-header):
6507 Use `setq-local'.
6508
6509 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6510
6511 * arc-mode.el (archive-mode): Add `archive-write-file' to
6512 `write-contents-functions' also for remote files. (Bug#14652)
6513
6514 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6515
6516 * cus-edit.el (custom-commands): Fix typos.
6517 (custom-display): Fix tooltip text.
6518 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6519 Fix typos in docstrings.
6520 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6521 (custom-unlispify-menu-entry, custom-magic-value-create)
6522 (custom-add-see-also, custom-group-value-create): Use ?\s.
6523 (custom-guess-type, customize-apropos, editable-field)
6524 (custom-face-value-create): Use `string-match-p'.
6525 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6526
6527 * custom.el (custom-load-symbol): Use `string-match-p'.
6528
6529 * ansi-color.el: Convert to lexical binding.
6530 (ansi-colors): Fix URL.
6531 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6532 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6533 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6534
6535 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6536
6537 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6538
6539 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6540
6541 2013-06-19 Tom Tromey <tromey@redhat.com>
6542
6543 * net/eww.el (eww-top-url): Remove.
6544 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6545 (eww-render): Set new variables. Don't set eww-top-url.
6546 (eww-handle-link): Handle "prev", "home", and "contents".
6547 Downcase the rel text.
6548 (eww-top-url): Choose best top URL.
6549
6550 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6551
6552 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6553 relying in widget.el. Using widget.el leads to too many
6554 user interface inconsistencies.
6555 (eww-self-insert): Implement entering commands in text fields.
6556 (eww-process-text-input): New function to make text input field editing
6557 work.
6558 (eww-submit): Rewrite to use the new-style form methods.
6559 (eww-select-display): Display the correct selected item.
6560 (eww-change-select): Implement changing the select value.
6561 (eww-toggle-checkbox): Implement radio/checkboxes.
6562 (eww-update-field): Fix compilation error.
6563 (eww-tag-textarea): Implement <textarea>.
6564
6565 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6566 we don't shadow mode-specific bindings.
6567
6568 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6569 nothing to push.
6570
6571 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6572
6573 2013-06-19 Glenn Morris <rgm@gnu.org>
6574
6575 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6576
6577 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6578
6579 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6580 not needed.
6581
6582 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6583
6584 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6585
6586 * net/browse-url.el (browse-url-browser-function):
6587 `eww-browse-url' has the right calling signature, `eww' does not.
6588
6589 2013-06-19 Glenn Morris <rgm@gnu.org>
6590
6591 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6592 Only eval autoloaded macros.
6593 (byte-compile-autoload): Only give the macro warning for macros.
6594
6595 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6596 (ps-underlined-faces): Declare.
6597
6598 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6599 (speedbar-add-supported-extension): Declare.
6600
6601 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6602 Don't include a date stamp in the header of the generated file;
6603 it leads to needless differences between output files.
6604
6605 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6606
6607 * net/secrets.el (secrets-struct-secret-content-type):
6608 Replace check of introspection data by a test call of "CreateItem".
6609 Some servers do not offer introspection.
6610
6611 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * electric.el (electric-pair-mode): Improve interaction with
6614 electric-layout-mode.
6615 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6616 (electric-pair-syntax): Use text-mode-syntax-table in comments
6617 and strings.
6618 (electric-pair--insert): New function.
6619 (electric-pair-post-self-insert-function): Use it and
6620 electric--after-char-pos.
6621
6622 2013-06-19 Leo Liu <sdl.web@gmail.com>
6623
6624 * progmodes/octave.el (octave-help): Fix regexp.
6625
6626 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6627
6628 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6629 (shr-table-horizontal-line): Allow nil as a value, and change the
6630 default.
6631 (shr-insert-table-ruler): Respect the nil value.
6632
6633 2013-06-18 Tom Tromey <tromey@barimba>
6634
6635 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6636 New defvars.
6637 (eww-open-file): New defun.
6638 (eww-render): Initialize new variables.
6639 (eww-display-html): Handle "link" and "a".
6640 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6641 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6642 (eww-back-url): Rename from eww-previous-url.
6643 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6644 New defuns.
6645
6646 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6647
6648 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6649 Distinguish ternary operator tokens from slash symbol and slash
6650 char literal.
6651
6652 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6653
6654 Convert symbol prettification into minor mode and global minor mode.
6655
6656 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6657 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6658 (prettify-symbols--keywords): Rename from
6659 `prog-prettify-symbols-alist' and make a local defvar.
6660 (prettify-symbols--compose-symbol): Rename from
6661 `prog--prettify-font-lock-compose-symbol'.
6662 (prettify-symbols--make-keywords): Rename from
6663 `prog-prettify-font-lock-symbols-keywords' and simplify.
6664 (prog-prettify-install): Remove.
6665 (prettify-symbols-mode): New minor mode, based on
6666 `prog-prettify-install'.
6667 (turn-on-prettify-symbols-mode): New function.
6668 (global-prettify-symbols-mode): New globalized minor mode.
6669
6670 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6671 * progmodes/cfengine.el (cfengine3-mode):
6672 * progmodes/perl-mode.el (perl-mode): Don't call
6673 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6674
6675 2013-06-18 Juri Linkov <juri@jurta.org>
6676
6677 * files-x.el (modify-file-local-variable-message): New function.
6678 (modify-file-local-variable)
6679 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6680 and call `modify-file-local-variable-message' when it's non-nil.
6681 (add-file-local-variable, delete-file-local-variable)
6682 (add-file-local-variable-prop-line)
6683 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6684 and use it. (Bug#9820)
6685
6686 2013-06-18 Juri Linkov <juri@jurta.org>
6687
6688 * emulation/vi.el (vi-shell-op):
6689 * emulation/vip.el (vip-execute-com, ex-command):
6690 * emulation/viper-cmd.el (viper-exec-bang):
6691 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6692 the call of `shell-command-on-region'. (Bug#14637)
6693
6694 * simple.el (shell-command-on-region): Doc fix.
6695
6696 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6697
6698 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6699 (bug#14633).
6700
6701 2013-06-18 Glenn Morris <rgm@gnu.org>
6702
6703 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6704
6705 * newcomment.el (comment-search-forward, comment-search-backward):
6706 Doc fix. (Bug#14376)
6707
6708 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6709
6710 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6711 (buffer-face-mode-invoke): Doc fix.
6712
6713 2013-06-18 Matthias Meulien <orontee@gmail.com>
6714
6715 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6716 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6717
6718 2013-06-18 Glenn Morris <rgm@gnu.org>
6719
6720 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6721 Replace obsolete function generic-make-keywords with its expansion.
6722
6723 * progmodes/python.el (ffap-alist): Declare.
6724
6725 * textmodes/reftex.el (bibtex-mode-map): Declare.
6726
6727 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6728
6729 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6730 (package-unpack, package-unpack-single): Return the pkg-dir.
6731 (package-download-transaction): Use it to update package-alist.
6732
6733 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6734
6735 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6736 possible choice.
6737
6738 2013-06-17 Juri Linkov <juri@jurta.org>
6739
6740 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6741
6742 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6743
6744 * emacs-lisp/package.el (package-load-descriptor):
6745 Remove `with-syntax-table' call, `read' doesn't need it.
6746 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6747
6748 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6749
6750 * startup.el (command-line): Expand package name returned by
6751 `package--description-file' (bug#14639).
6752
6753 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6754
6755 * emacs-lisp/package.el (package-load-descriptor): Do not call
6756 `emacs-lisp-mode', just use its syntax table.
6757
6758 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6759
6760 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6761 `font-lock-extra-managed-props' if any prettifying keyword is added.
6762 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6763 (prog-mode): Use `setq-local'.
6764
6765 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6766
6767 * international/characters.el (standard-case-table): Set syntax of ?»
6768 and ?« to punctuation.
6769
6770 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6771
6772 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6773 Save relevant match data before calling `syntax-ppss' (bug#14595).
6774
6775 2013-06-15 Juri Linkov <juri@jurta.org>
6776
6777 * files-x.el (modify-file-local-variable-prop-line): Add local
6778 variables to the end of the existing comment on the first line.
6779 Use `file-auto-mode-skip' to skip interpreter magic line,
6780 and also skip XML declaration.
6781
6782 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * startup.el (package--builtin-versions): New var.
6785 (package-subdirectory-regexp): Remove.
6786 (package--description-file): Hard code its value instead.
6787
6788 * emacs-lisp/package.el: Don't activate packages older than builtin.
6789 (package-obsolete-list): Rename from package-obsolete-alist, and make
6790 it into a simple list of package-desc.
6791 (package-strip-version): Remove.
6792 (package-built-in-p): Use package--builtin-versions.
6793 (package-mark-obsolete): Simplify.
6794 (package-process-define-package): Mark it obsolete if older than the
6795 builtin version.
6796 (package-handle-response): Use line-end-position.
6797 (package-read-archive-contents, package--download-one-archive):
6798 Simplify.
6799 (package--add-to-archive-contents): Skip if older than the builtin or
6800 installed version.
6801 (package-menu-describe-package): Fix last change.
6802 (package-list-unversioned): New var.
6803 (package-menu--generate): Use it.
6804
6805 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6806 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6807 (autoload-builtin-package-versions): New variable.
6808 (autoload-generate-file-autoloads): Use them.
6809 Remove the list of autoloaded functions/macros from the
6810 (autoload...) comments.
6811
6812 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6813
6814 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6815
6816 * simple.el (line-move-partial): Don't jump to the next screen
6817 line as soon as it becomes visible. Instead, continue enlarging
6818 the vscroll until the portion of a tall screen line that's left on
6819 display is about the height of the frame's default font.
6820 (Bug#14567)
6821
6822 2013-06-15 Glenn Morris <rgm@gnu.org>
6823
6824 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6825 compilation-error-regexp-alist void, or local while let-bound.
6826
6827 * progmodes/make-mode.el (makefile-mode-syntax-table):
6828 Treat "=" as punctuation. (Bug#14614)
6829
6830 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6831
6832 * help-fns.el (describe-variable):
6833 Add extra line for permanent-local variables.
6834
6835 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6836
6837 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6838 Add export, import, library. (Bug#9164)
6839 (library): Set indent function.
6840
6841 2013-06-14 Glenn Morris <rgm@gnu.org>
6842
6843 * term/xterm.el (xterm--query):
6844 Stop after first matching handler. (Bug#14615)
6845
6846 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6847
6848 Add support for dired in saveplace.
6849 * dired.el (dired-initial-position-hook): New variable.
6850 (dired-initial-position): Call hook to place cursor position.
6851 * saveplace.el (save-place-to-alist): Add dired position.
6852 (save-place-dired-hook): New function.
6853
6854 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6855
6856 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6857 through a symbol rather than letrec.
6858
6859 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6860 (package-desc): Add `dir' field.
6861 (package-desc-full-name): New function.
6862 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6863 (package-maybe-load-descriptor): Remove.
6864 (package-load-all-descriptors): Just call package-load-descriptor.
6865 (package--disabled-p): New function.
6866 (package-desc-vers, package-desc-doc): Remove aliases.
6867 (package--dir): Remove function.
6868 (package-activate): Check if a package is disabled.
6869 (package-process-define-package): New function, extracted from
6870 define-package.
6871 (define-package): Turn into a place holder.
6872 (package-unpack-single, package-tar-file-info):
6873 Use package--description-file.
6874 (package-compute-transaction): Use package--disabled-p.
6875 (package-download-transaction): Don't call
6876 package-maybe-load-descriptor since they're all loaded anyway.
6877 (package-install): Change argument to be a pkg-desc.
6878 (package-delete): Use a single pkg-desc argument.
6879 (describe-package-1): Use package-desc-dir instead of package--dir.
6880 Use package-desc property instead of package-symbol.
6881 (package-install-button-action): Adjust accordingly.
6882 (package--push): Rewrite.
6883 (package-menu--print-info): Adjust accordingly. Change the ID format
6884 to be a pkg-desc.
6885 (package-menu-describe-package, package-menu-get-status)
6886 (package-menu--find-upgrades, package-menu-mark-upgrades)
6887 (package-menu-execute, package-menu--name-predicate):
6888 Adjust accordingly.
6889 * startup.el (package--description-file): New function.
6890 (command-line): Use it.
6891 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6892 Use package-desc-version.
6893
6894 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6895 (byte-compile-preprocess): Use it.
6896 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6897 can't quite recognize.
6898 (byte-compile-add-to-list): Remove.
6899 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6900 (cconv-closure-convert): Add assertion.
6901
6902 * emacs-lisp/map-ynp.el: Use lexical-binding.
6903 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6904 Factor out some repeated code.
6905
6906 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6907
6908 * subr.el (with-eval-after-load): New macro.
6909 (eval-after-load): Allow form to be a function.
6910 take advantage of lexical-binding.
6911 (do-after-load-evaluation): Use dolist and adjust to new format.
6912 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6913
6914 2013-06-13 Juri Linkov <juri@jurta.org>
6915
6916 * replace.el (perform-replace): Display "symbol " and other search
6917 modes from `isearch-message-prefix' in the *Help* buffer.
6918
6919 * isearch.el (isearch-query-replace): Add " symbol" and other
6920 possible search modes from `isearch-message-prefix' to the prompt.
6921 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6922 when reading a regexp to collect.
6923
6924 2013-06-13 Juri Linkov <juri@jurta.org>
6925
6926 * isearch.el (word-search-regexp): Match whitespace if the search
6927 string begins or ends in whitespace. The LAX arg is applied to
6928 both ends of the search string. Use `regexp-quote' and explicit
6929 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6930 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6931 boundaries are replaced with symbol boundaries, and characters
6932 between symbols match non-word non-symbol syntax. (Bug#14602)
6933
6934 2013-06-13 Juri Linkov <juri@jurta.org>
6935
6936 * isearch.el (isearch-del-char): Don't exceed the length of
6937 `isearch-string' by the prefix arg. (Bug#14563)
6938
6939 2013-06-13 Juri Linkov <juri@jurta.org>
6940
6941 * isearch.el (isearch-yank-word, isearch-yank-line)
6942 (isearch-char-by-name, isearch-quote-char)
6943 (isearch-printing-char, isearch-process-search-char):
6944 Add optional count prefix arg. (Bug#14563)
6945
6946 * international/isearch-x.el
6947 (isearch-process-search-multibyte-characters):
6948 Add optional count prefix arg.
6949
6950 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6951
6952 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6953 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6954 lexical-binding.
6955
6956 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6957
6958 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6959
6960 2013-06-13 Glenn Morris <rgm@gnu.org>
6961
6962 * startup.el (tty-handle-args):
6963 Don't just discard "--" and anything after. (Bug#14608)
6964
6965 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6966
6967 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6968
6969 Implement changes in Secret Service API. Make it backward compatible.
6970 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6971 (secrets-create-item): Use it. Prefix properties with interface.
6972
6973 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6974
6975 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6976 (term-emulate-terminal): Respect term-suppress-hard-newline.
6977
6978 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6979
6980 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6981 Only remove a `thumb-file' overlay. (Bug#14548)
6982
6983 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6984
6985 * mail/reporter.el (reporter-submit-bug-report):
6986 Handle missing package-name. (Bug#14600)
6987
6988 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6989
6990 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6991 (reftex-citation-prompt, reftex-default-bibliography)
6992 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6993 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6994 (reftex-bib-sort-author, reftex-bib-sort-year)
6995 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6996 (reftex-extract-bib-entries-from-thebibliography)
6997 (reftex-get-bibkey-default, reftex-get-bib-names)
6998 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6999 (reftex-format-bib-entry, reftex-parse-bibitem)
7000 (reftex-format-bibitem, reftex-do-citation)
7001 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7002 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7003 (reftex-insert-bib-matches, reftex-format-citation)
7004 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7005 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7006 existing comments into docstrings.
7007
7008 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7009
7010 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7011
7012 2013-06-12 Andreas Schwab <schwab@suse.de>
7013
7014 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7015 for auto-save files.
7016
7017 2013-06-12 Glenn Morris <rgm@gnu.org>
7018
7019 * ido.el (ido-delete-ignored-files): Remove.
7020 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7021 Go back to calling ido-ignore-item-p directly.
7022
7023 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7024
7025 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7026
7027 * ido.el (ido-delete-ignored-files): New function,
7028 split from ido-make-file-list-1.
7029 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7030 (ido-make-file-list-1): Use ido-delete-ignored-files.
7031
7032 2013-06-12 Leo Liu <sdl.web@gmail.com>
7033
7034 * progmodes/octave.el (inferior-octave-startup)
7035 (inferior-octave-completion-table)
7036 (inferior-octave-track-window-width-change)
7037 (octave-eldoc-function-signatures, octave-help)
7038 (octave-find-definition): Use single quoted strings.
7039 (inferior-octave-startup-args): Change default value.
7040 (inferior-octave-startup): Do not hard code "-i" and
7041 "--no-line-editing".
7042 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7043 (inferior-octave-directory-tracker): Use it.
7044 (octave-goto-function-definition): Robustify.
7045 (octave-help): Support highlighting operators in 'See also'.
7046 (octave-find-definition): Find subfunctions only in Octave mode.
7047
7048 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7049
7050 * help-fns.el (help-fns--compiler-macro): If the handler function is
7051 named, then put a link to it.
7052 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7053 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7054 (cl-typep): Use it.
7055 (cl-eval-when): Simplify debug spec.
7056 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7057 compiler-macro function instead of setting `compiler-macro-file'.
7058
7059 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7060
7061 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7062 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7063
7064 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7065 Daniel Hackney <dan@haxney.org>
7066
7067 First part of Daniel Hackney's patch to package.el.
7068 * emacs-lisp/package.el: Use defstruct.
7069 (package-desc): New, main struct.
7070 (package--bi-desc, package--ac-desc): New structs, used to describe the
7071 format in external files.
7072 (package-desc-vers): Replace with package-desc-version accessor.
7073 (package-desc-doc): Replace with package-desc-summary accessor.
7074 (package-activate-1): Remove `package' arg since the pkg-vec now
7075 includes the name.
7076 (define-package): Use package-desc-from-define.
7077 (package-unpack-single): Change file-name arg to be a symbol.
7078 (package--add-to-archive-contents): Use package-desc-create and new
7079 accessor functions to package--ac-desc.
7080 (package-buffer-info, package-tar-file-info): Return a package-desc.
7081 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7082 arg to be a package-desc.
7083 (package-install-file): Adjust accordingly. Use \' to match EOS.
7084 (package--from-builtin): New function.
7085 (describe-package-1, package-menu--generate): Use it.
7086 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7087 (package-generate-autoloads): Idem and return the name of the file.
7088 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7089 Change pkg-info arg to be a package-desc.
7090 Use package-make-ac-desc.
7091 (package-upload-file): Use \' to match EOS.
7092 * finder.el (finder-compile-keywords): Use package-make-builtin.
7093
7094 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7095
7096 * vc/vc.el (vc-deduce-fileset): Change error message.
7097 (vc-read-backend): New function.
7098 (vc-next-action): Use it.
7099
7100 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7101
7102 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7103 (prolog-font-lock-keywords): Use regexp-opt instead.
7104 Don't manually highlight strings.
7105 (prolog-mode-variables): Simplify comment-start-skip.
7106 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7107
7108 * emacs-lisp/generic.el (generic--normalise-comments)
7109 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7110 (generic-mode-set-comments): Use them.
7111 (generic-bracket-support): Use setq-local.
7112 (generic-make-keywords-list): Declare obsolete.
7113
7114 2013-06-11 Glenn Morris <rgm@gnu.org>
7115
7116 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7117 Prettify after setting font-lock-defaults. (Bug#14574)
7118
7119 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7120
7121 * replace.el (query-replace, occur-read-regexp-defaults-function)
7122 (replace-search):
7123 * subr.el (declare-function, number-sequence, local-set-key)
7124 (substitute-key-definition, locate-user-emacs-file)
7125 (with-silent-modifications, split-string, eval-after-load):
7126 Fix typos, remove unneeded backslashes and reflow some docstrings.
7127
7128 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7129
7130 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7131 default for Elisp files.
7132
7133 2013-06-11 Glenn Morris <rgm@gnu.org>
7134
7135 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7136 although define-derived-mode was doing this anyway. (Bug#14583)
7137
7138 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7139
7140 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7141 Fix make-variable-buffer-local call to refer to the correct variable.
7142
7143 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7144
7145 * eshell/em-term.el (eshell-visual-commands)
7146 (eshell-visual-subcommands, eshell-visual-options):
7147 Add summary line to docstrings. Add cross-references.
7148
7149 2013-06-10 Glenn Morris <rgm@gnu.org>
7150
7151 * epa.el (epa-read-file-name): New function. (Bug#14510)
7152 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7153
7154 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7155
7156 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7157 output redirection to be ignored with visual commands.
7158
7159 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7160
7161 * eshell/em-term.el (eshell-visual-command-p): New function.
7162 (eshell-term-initialize): Move long lambda to separate function
7163 eshell-visual-command-p.
7164 * eshell/em-dirs.el (eshell-dirs-initialise):
7165 * eshell/em-script.el (eshell-script-initialize):
7166 Add missing #' to lambda.
7167
7168 2013-06-08 Leo Liu <sdl.web@gmail.com>
7169
7170 * progmodes/octave.el (octave-add-log-current-defun): New function.
7171 (octave-mode): Set add-log-current-defun-function.
7172 (octave-goto-function-definition): Do not move point if not found.
7173 (octave-find-definition): Enhance to try subfunctions first.
7174
7175 2013-06-08 Glenn Morris <rgm@gnu.org>
7176
7177 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7178 (byte-compile-backward-char, byte-compile-backward-word):
7179 Improve previous change, to handle non-explicit nil.
7180
7181 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7182
7183 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7184 (smie--opener/closer-at-point): New function.
7185 (smie--matching-block-data): Use it. Don't match from right after an
7186 opener or right before a closer. Obey smie-blink-matching-inners.
7187 Don't signal a mismatch for repeated inners like "switch..case..case".
7188
7189 2013-06-07 Leo Liu <sdl.web@gmail.com>
7190
7191 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7192 to t. (Bug#14303)
7193 (octave-function-header-regexp): Fix. (Bug#14570)
7194 (octave-help-mode-finish-hook, octave-help-mode-finish):
7195 Remove. Just use temp-buffer-show-hook.
7196
7197 * newcomment.el (comment-search-backward): Revert last change.
7198 (Bug#14434)
7199
7200 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7201
7202 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7203
7204 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7205 through xargs, to avoid failure due to MS-Windows limitations on
7206 command-line length.
7207
7208 2013-06-06 Glenn Morris <rgm@gnu.org>
7209
7210 * font-lock.el (lisp-font-lock-keywords-2):
7211 Treat user-error like error.
7212
7213 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7214 (byte-compile-backward-char, byte-compile-backward-word):
7215 Handle explicit nil arguments. (Bug#14565)
7216
7217 2013-06-05 Alan Mackenzie <acm@muc.de>
7218
7219 * isearch.el (isearch-allow-prefix): New user option.
7220 (isearch-other-meta-char): Don't exit isearch when a prefix
7221 argument is typed whilst `isearch-allow-prefix' is non-nil.
7222 (Bug#9706)
7223
7224 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * autorevert.el (auto-revert-notify-handler): Use memq.
7227 Hide assertion failure.
7228
7229 * skeleton.el: Use cl-lib.
7230 (skeleton-further-elements): Use defvar-local.
7231 (skeleton-insert): Use cl-progv.
7232
7233 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7234
7235 * progmodes/prog-mode.el (prog-prettify-symbols)
7236 (prog-prettify-install): Update docstrings.
7237
7238 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7239
7240 * simple.el: Move all the prog-mode code to prog-mode.el.
7241 * progmodes/prog-mode.el: New file.
7242 * loadup.el: Add prog-mode.el.
7243
7244 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7245
7246 * simple.el (prog-prettify-symbols): Add version.
7247 (prog-prettify-install): Add convenience function to prettify symbols.
7248
7249 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7250 (perl--augmented-font-lock-keywords-1)
7251 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7252 variables and use it.
7253
7254 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7255 (cfengine3-mode): Remove unneeded variable and use it.
7256
7257 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7258 (lisp--augmented-font-lock-keywords-1)
7259 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7260 Remove unneeded variables and use it.
7261
7262 2013-06-05 João Távora <joaotavora@gmail.com>
7263
7264 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7265 to point when opening the connection. (Bug#14380)
7266
7267 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7268
7269 * subr.el (load-history-regexp, load-history-filename-element)
7270 (eval-after-load, after-load-functions, do-after-load-evaluation)
7271 (eval-next-after-load, display-delayed-warnings)
7272 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7273 definition of save-match-data.
7274 (overriding-local-map): Remove accidental obsolescence declaration.
7275
7276 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7277
7278 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7279
7280 Generalize symbol prettify support to prog-mode and implement it
7281 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7282 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7283 (prog--prettify-font-lock-compose-symbol)
7284 (prog-prettify-font-lock-symbols-keywords): New variables and
7285 functions to support symbol prettification.
7286 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7287 (lisp--augmented-font-lock-keywords-1)
7288 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7289 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7290 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7291 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7292 Implement prettify of -> => :: strings.
7293 * progmodes/perl-mode.el (perl-prettify-symbols)
7294 (perl--font-lock-compose-symbol)
7295 (perl--font-lock-symbols-keywords): Move to prog-mode.
7296 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7297 (perl-font-lock-keywords-1)
7298 (perl-font-lock-keywords-2): Remove explicit prettify support.
7299 (perl--augmented-font-lock-keywords)
7300 (perl--augmented-font-lock-keywords-1)
7301 (perl--augmented-font-lock-keywords-2, perl-mode):
7302 Implement prettify support.
7303
7304 2013-06-05 Leo Liu <sdl.web@gmail.com>
7305
7306 Re-implement smie matching block highlight using
7307 show-paren-data-function. (Bug#14395)
7308 * emacs-lisp/smie.el (smie-matching-block-highlight)
7309 (smie--highlight-matching-block-overlay)
7310 (smie--highlight-matching-block-lastpos)
7311 (smie-highlight-matching-block)
7312 (smie-highlight-matching-block-mode): Remove.
7313 (smie--matching-block-data-cache): New variable.
7314 (smie--matching-block-data): New function.
7315 (smie-setup): Use smie--matching-block-data for
7316 show-paren-data-function.
7317
7318 * progmodes/octave.el (octave-mode-menu): Fix.
7319 (octave-find-definition): Skip garbage lines.
7320
7321 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7322
7323 Fix compilation error with simultaneous dynamic+lexical scoping.
7324 Add warning when a defvar appears after the first let-binding.
7325 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7326 (byte-compile-close-variables): Initialize it.
7327 (byte-compile--declare-var): New function.
7328 (byte-compile-file-form-defvar)
7329 (byte-compile-file-form-define-abbrev-table)
7330 (byte-compile-file-form-custom-declare-variable): Use it.
7331 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7332 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7333 (byte-compile-bind): Handle dynamic bindings that shadow
7334 lexical bindings.
7335 (byte-compile-unbind): Make arg non-optional.
7336 (byte-compile-let): Simplify.
7337 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7338 (cconv--analyse-function, cconv-analyse-form): Populate it.
7339 Protect byte-compile-bound-variables to limit the scope of defvars.
7340 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7341 Remove unneeded rule for `declare'.
7342
7343 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7344 so as to avoid depending on cl-adjoin at run-time.
7345 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7346
7347 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7348 (macroexp--warn-and-return): Use it.
7349
7350 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * lisp/subr.el: Convert to lexical binding.
7353 (overriding-local-map): Make obsolete.
7354 (add-to-list): Doc fix. Add compiler macro.
7355 (read-key): Swap values of local maps.
7356
7357 2013-06-05 Leo Liu <sdl.web@gmail.com>
7358
7359 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7360
7361 2013-06-04 Leo Liu <sdl.web@gmail.com>
7362
7363 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7364 (compilation-auto-jump): Suppress the "Mark set" message to give
7365 way to exit message.
7366
7367 2013-06-04 Alan Mackenzie <acm@muc.de>
7368
7369 Remove faulty optimisation from indentation calculation.
7370 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7371 search limit based on 2000 characters back from indent-point.
7372
7373 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7374
7375 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7376
7377 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7378
7379 * emacs-lisp/lisp.el: Use lexical-binding.
7380 (lisp--local-variables-1, lisp--local-variables): New functions.
7381 (lisp--local-variables-completion-table): New var.
7382 (lisp-completion-at-point): Use it complete let-bound vars.
7383
7384 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7385 eagerly (bug#14422).
7386
7387 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7388
7389 * autorevert.el (auto-revert-notify-enabled)
7390 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7391 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7392 (auto-revert-notify-handler): Handle also gfilenotify.
7393
7394 * subr.el (file-notify-handle-event): New defun. Replacing ...
7395 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7396 Remove.
7397
7398 2013-06-03 Juri Linkov <juri@jurta.org>
7399
7400 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7401 `M-s h .'. (Bug#14427)
7402
7403 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7404 command `hi-lock-face-symbol-at-point'.
7405 (hi-lock-face-symbol-at-point): New command.
7406 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7407 (hi-lock-menu): Add `highlight-symbol-at-point'.
7408 (hi-lock-mode): Doc fix.
7409
7410 * isearch.el (isearch-forward-symbol-at-point): New command.
7411 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7412 (isearch-highlight-regexp): Add a regexp which matches
7413 words/symbols for word/symbol mode.
7414
7415 * subr.el (find-tag-default-bounds): New function with the body
7416 mostly moved from `find-tag-default'.
7417 (find-tag-default): Move most code to `find-tag-default-bounds',
7418 call it and apply `buffer-substring-no-properties' afterwards.
7419
7420 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7421
7422 * eshell/em-term.el (eshell-term-initialize):
7423 Use `cl-intersection' rather than `intersection'.
7424
7425 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7426
7427 * vc/log-view.el: Doc fix.
7428 (log-view-mode-map): Copy keymap from `special-mode-map'.
7429
7430 2013-06-02 Eric Ludlam <zappo@gnu.org>
7431
7432 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7433 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7434 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7435 (eieio-unbound, eieio-default-superclass)
7436 (eieio--define-field-accessors, method-static, method-before)
7437 (method-primary, method-after, method-num-lists)
7438 (method-generic-before, method-generic-primary)
7439 (method-generic-after, method-num-slots)
7440 (eieio-specialized-key-to-generic-key)
7441 (eieio--check-type, class-v, class-p)
7442 (eieio-class-name, define-obsolete-function-alias)
7443 (eieio-class-parents-fast, eieio-class-children-fast)
7444 (same-class-fast-p, class-constructor, generic-p)
7445 (generic-primary-only-p, generic-primary-only-one-p)
7446 (class-option-assoc, class-option, eieio-object-p)
7447 (class-abstract-p, class-method-invocation-order)
7448 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7449 (eieio-class-un-autoload, eieio-defclass)
7450 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7451 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7452 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7453 (eieio-defgeneric-reset-generic-form)
7454 (eieio-defgeneric-form-primary-only)
7455 (eieio-defgeneric-reset-generic-form-primary-only)
7456 (eieio-defgeneric-form-primary-only-one)
7457 (eieio-defgeneric-reset-generic-form-primary-only-one)
7458 (eieio-unbind-method-implementations)
7459 (eieio--defmethod, eieio--typep)
7460 (eieio-perform-slot-validation, eieio-validate-slot-value)
7461 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7462 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7463 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7464 (eieio-slot-name-index, eieio-class-slot-name-index)
7465 (eieio-set-defaults, eieio-initarg-to-attribute)
7466 (eieio-attribute-to-initarg, eieio-c3-candidate)
7467 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7468 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7469 (eieio-class-precedence-list, eieio-generic-call-methodname)
7470 (eieio-generic-call-arglst, eieio-generic-call-key)
7471 (eieio-generic-call-next-method-list)
7472 (eieio-pre-method-execution-functions, eieio-generic-call)
7473 (eieio-generic-call-primary-only, eieiomt-method-list)
7474 (eieiomt-optimizing-obarray, eieiomt-install)
7475 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7476 (eieio-generic-form, eieio-defmethod, make-obsolete)
7477 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7478 (defclass): Remove `eval-and-compile' from macro.
7479 (call-next-method, shared-initialize): Instead of using
7480 `scoped-class' variable, use new eieio--scoped-class, and
7481 eieio--with-scoped-class.
7482 (initialize-instance): Rename local variable 'scoped-class' to
7483 'this-class' to remove ambiguitity from old global.
7484
7485 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7486 eieio.el.
7487 (eieio--scoped-class-stack): New variable.
7488 (eieio--scoped-class): New fcn.
7489 (eieio--with-scoped-class): New scoping macro.
7490 (eieio-defclass): Use pushnew instead of add-to-list.
7491 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7492 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7493 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7494 `scoped-class' variable, use new eieio--scoped-class, and
7495 eieio--with-scoped-class.
7496
7497 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7498
7499 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7500
7501 * eshell/esh-ext.el (eshell-external-command): Pass args to
7502 `eshell-find-interpreter'.
7503 (eshell-find-interpreter): Add new second parameter ARGS.
7504
7505 * eshell/em-script.el (eshell-script-initialize): Add second arg
7506 to the function added as MATCH to `eshell-interpreter-alist'.
7507
7508 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7509 the function added as MATCH to `eshell-interpreter-alist'.
7510
7511 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7512 (eshell-visual-options): New defcustom.
7513 (eshell-escape-control-x): Adapt docstring.
7514 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7515 `eshell-visual-options' in addition to `eshell-visual-commands'.
7516 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7517
7518 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7519
7520 * progmodes/python.el (python-indent-block-enders): Add break,
7521 continue and raise keywords.
7522
7523 2013-06-01 Glenn Morris <rgm@gnu.org>
7524
7525 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7526
7527 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7528 * progmodes/cc-cmds.el (delete-forward-p):
7529 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7530 * progmodes/cc-engine.el (buffer-syntactic-context):
7531 * progmodes/cc-fonts.el (face-property-instance):
7532 * progmodes/cc-mode.el (set-keymap-parents):
7533 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7534 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7535 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7536 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7537 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7538
7539 * progmodes/cc-vars.el (other): Emacs has this widget since
7540 at least 21.1, so don't (re)define it.
7541
7542 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7543 Replace the obsolete alias pcomplete-arg-quote-list.
7544
7545 2013-06-01 Leo Liu <sdl.web@gmail.com>
7546
7547 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7548 punctuation syntax.
7549 (inferior-octave-minimal-columns)
7550 (inferior-octave-last-column-width): New variables.
7551 (inferior-octave-track-window-width-change): New function.
7552 (inferior-octave-mode): Adjust column width so that Octave output,
7553 for example from 'ls', can fit into the window nicely.
7554
7555 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7556
7557 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7558 Highlight expansions inside regexp literals.
7559
7560 2013-05-31 Glenn Morris <rgm@gnu.org>
7561
7562 * obsolete/sym-comp.el (symbol-complete):
7563 Replace obsolete completion-annotate-function.
7564
7565 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7566
7567 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7568
7569 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7570 New function, checks if point is inside a literal that allows
7571 expression expansion.
7572 (ruby-syntax-propertize-expansion): Use it.
7573 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7574 around the body.
7575
7576 2013-05-30 Juri Linkov <juri@jurta.org>
7577
7578 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7579 to "\M-si".
7580 (isearch-invisible): New variable.
7581 (isearch-forward): Doc fix.
7582 (isearch-mode): Set `isearch-invisible'
7583 to the value of `search-invisible'.
7584 (isearch-toggle-case-fold): Doc fix.
7585 (isearch-toggle-invisible): New command.
7586 (isearch-query-replace): Let-bind `search-invisible'
7587 to the value of `isearch-invisible'.
7588 (isearch-search): Use `isearch-invisible' instead of
7589 `search-invisible'. Let-bind `search-invisible'
7590 to the value of `isearch-invisible'. (Bug#11378)
7591
7592 2013-05-30 Juri Linkov <juri@jurta.org>
7593
7594 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7595 call when `query-flag' is nil and `search-invisible' is non-nil.
7596 (Bug#11746)
7597
7598 2013-05-30 Glenn Morris <rgm@gnu.org>
7599
7600 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7601
7602 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7603 (cc-require): Suppress spurious "noruntime" warnings.
7604 (cc-require-when-compile): Use fboundp, for sake of compiler.
7605
7606 * progmodes/cc-mode.el: Move load of cc-vars before that of
7607 cc-langs (which in turn loads cc-vars), to quieten compiler.
7608
7609 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7610
7611 * paren.el: Simplify the code.
7612 (show-paren-mode): Always start the timer.
7613 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7614 (show-paren--overlay, show-paren--overlay-1): Rename from
7615 show-paren-overlay and show-paren-overlay-1, and initialize to an
7616 overlay rather than to nil.
7617 (show-paren-function): Misc cleanup and simplifications.
7618
7619 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7620
7621 * paren.el (show-paren-data-function): New hook.
7622 (show-paren--default): New function, extracted from show-paren-function.
7623 (show-paren-function): Use show-paren-data-function.
7624
7625 2013-05-30 Glenn Morris <rgm@gnu.org>
7626
7627 * ielm.el (ielm-map, ielm-complete-symbol):
7628 Use completion-at-point rather than obsolete functions.
7629 (inferior-emacs-lisp-mode): Doc fix.
7630 Set completion-at-point-functions, rather than
7631 comint-dynamic-complete-functions.
7632
7633 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7634 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7635 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7636
7637 * image.el (image-animated-p): Tweak definition.
7638
7639 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7640 (rlogin-process-connection-type): Tweak default. Add set-after.
7641 (rlogin-host): Doc fix.
7642 (rlogin): Tweak prompt.
7643 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7644
7645 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7646 * progmodes/tcl.el (inferior-tcl-mode-map):
7647 Use completion-at-point rather than obsolete alias.
7648
7649 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7650
7651 * minibuffer.el (read-file-name-completion-ignore-case):
7652 Move before completion--in-region, for eager macro expansion.
7653
7654 2013-05-29 Juri Linkov <juri@jurta.org>
7655
7656 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7657 for total count of matching lines. Add `global-matches' for total
7658 count of matches. Rename `matches' to `lines' for count of
7659 matching lines. Add `matches' for count of matches.
7660 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7661 to `prev-line' for line number of prev match endpt.
7662 Increment `matches' for every match. Print the number of
7663 matching lines in the header.
7664 (occur-context-lines): Rename `lines' to `curr-line'.
7665 Rename `prev-lines' to `prev-line'. (Bug#14017)
7666
7667 2013-05-29 Juri Linkov <juri@jurta.org>
7668
7669 * replace.el (perform-replace): Add `skip-read-only-count',
7670 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7671 Increment them for corresponding conditions and report the number
7672 of skipped occurrences in the final message. (Bug#11746)
7673 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7674 (replace-string, replace-regexp): Doc fix.
7675
7676 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7677
7678 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7679
7680 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7681 prog-mode-map (bug#14504).
7682
7683 2013-05-29 Leo Liu <sdl.web@gmail.com>
7684
7685 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7686 (octave-help): Small simplification.
7687
7688 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7689 off the highlight first.
7690
7691 2013-05-29 Glenn Morris <rgm@gnu.org>
7692
7693 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7694 Handle idlwave-last-system-routine-info-cons-cell being nil.
7695
7696 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7697 (idlwave-write-paths): Simplify via with-temp-buffer.
7698
7699 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7700 * emulation/cua-rect.el: Also load cua-base at run time.
7701
7702 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7703 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7704 (cperl-imenu-on-info): Require imenu.
7705
7706 2013-05-28 Alan Mackenzie <acm@muc.de>
7707
7708 Handle "capitalised keywords" correctly.
7709 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7710
7711 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7712
7713 * eshell/em-unix.el: Add -r option to cp.
7714
7715 2013-05-28 Glenn Morris <rgm@gnu.org>
7716
7717 * vc/vc-arch.el (vc-exec-after): Declare.
7718 (vc-switches): Autoload.
7719 * vc/vc-bzr.el: No need to require vc when compiling.
7720 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7721 (vc-resynch-buffer, vc-dir-refresh): Declare.
7722 (vc-setup-buffer, vc-switches): Autoload.
7723 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7724 (vc-resynch-buffer): Declare.
7725 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7726 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7727 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7728 (grep-read-regexp, grep-read-files, grep-expand-template)
7729 (vc-dir-refresh): Declare.
7730 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7731 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7732 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7733 * vc/vc-mtn.el (vc-exec-after): Declare.
7734 (vc-switches): Autoload.
7735 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7736 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7737 (vc-file-tree-walk): Declare.
7738 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7739 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7740 (vc-tag-precondition, vc-rename-master): Autoload.
7741 * vc/vc-svn.el (vc-exec-after): Declare.
7742 (vc-switches, vc-setup-buffer): Autoload.
7743 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7744 Autoload.
7745 (vc-resynch-buffer): Declare.
7746
7747 * obsolete/fast-lock.el (byte-compile-warnings):
7748 Don't warn about obsolete features in this obsolete file.
7749
7750 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7751 Move definition before use.
7752
7753 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7754 (dun-unix-verbs): Remove dun-zippy.
7755 (dun-zippy): Remove function.
7756
7757 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7758
7759 2013-05-27 Juri Linkov <juri@jurta.org>
7760
7761 * replace.el (replace-search): New function with code moved out
7762 from `perform-replace'.
7763 (replace-highlight, replace-dehighlight): Move function definitions
7764 up closer to `replace-search'. (Bug#11746)
7765
7766 2013-05-27 Juri Linkov <juri@jurta.org>
7767
7768 * replace.el (perform-replace): Ignore invisible matches.
7769 In addition to checking `query-replace-skip-read-only', also
7770 filter out matches by calling `run-hook-with-args-until-failure'
7771 on `isearch-filter-predicates', and also check `search-invisible'
7772 for t or call `isearch-range-invisible'.
7773 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7774
7775 2013-05-27 Juri Linkov <juri@jurta.org>
7776
7777 * isearch.el (isearch-filter-predicates): Rename from
7778 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7779 (isearch-message-prefix): Display text from the property
7780 `isearch-message-prefix' of the currently active filters.
7781 (isearch-search): Don't compare `isearch-filter-predicate' with
7782 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7783 on `isearch-filter-predicates'. Also check `search-invisible' for t
7784 or call `isearch-range-invisible'.
7785 (isearch-filter-visible): Make obsolete.
7786 (isearch-lazy-highlight-search):
7787 Call `run-hook-with-args-until-failure' on
7788 `isearch-filter-predicates' and use `isearch-range-invisible'.
7789
7790 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7791 `isearch-filter-predicates' instead of `funcall'ing
7792 `isearch-filter-predicate'.
7793 (Info-mode): Set `Info-isearch-filter' to
7794 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7795
7796 * dired-aux.el (dired-isearch-filter-predicate-orig):
7797 Remove variable.
7798 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7799 (dired-isearch-filenames-end): Add and remove
7800 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7801 instead of changing the value of `isearch-filter-predicate'.
7802 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7803 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7804 Put property `isearch-message-prefix' to "filename " on
7805 `dired-isearch-filter-filenames'.
7806
7807 * wdired.el (wdired-change-to-wdired-mode):
7808 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7809 locally instead of changing `isearch-filter-predicate'.
7810 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7811
7812 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7813
7814 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7815 return the commit hash (Bug#14459). Also set the
7816 `vc-git-detached' property.
7817 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7818 (vc-git-mode-line-string): Use the same help-echo format whether
7819 in detached mode or not, because we know the actual revision now.
7820 When in detached mode, shorten the revision to 7 chars.
7821
7822 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7823
7824 * emacs-lisp/easy-mmode.el (define-minor-mode):
7825 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7826 mode hook and provide a docstring.
7827
7828 2013-05-27 Alan Mackenzie <acm@muc.de>
7829
7830 Remove spurious syntax-table text properties inserted by C-y.
7831 * progmodes/cc-mode.el (c-after-change): Also clear hard
7832 syntax-table property with value nil.
7833
7834 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7835
7836 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7837 when reading the events; the buffer layout shall not be changed.
7838
7839 2013-05-27 Leo Liu <sdl.web@gmail.com>
7840
7841 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7842 New variable.
7843 (inferior-octave-directory-tracker): Automatically re-sync
7844 default-directory.
7845 (octave-help): Improve handling of 'See also'.
7846
7847 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7848
7849 * doc-view.el: Minor naming convention tweaks.
7850 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7851
7852 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7853 even if there's no `display' property yet (bug#14435).
7854
7855 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7856
7857 * subr.el (unmsys--file-name): Rename from reveal-filename.
7858
7859 * Makefile.in (custom-deps, finder-data, autoloads)
7860 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7861 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7862 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7863
7864 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7865
7866 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7867 error-completion on the first 2 args of condition-case (bug#14446).
7868 Don't burp at EOB.
7869
7870 2013-05-25 Leo Liu <sdl.web@gmail.com>
7871
7872 * comint.el (comint-previous-matching-input): Do not flood the
7873 *Messages* buffer with trivial messages.
7874
7875 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7876
7877 * progmodes/flymake.el (flymake-nop): Don't return a string.
7878 (flymake-set-at): Fix typo.
7879
7880 * simple.el (read--expression): New function, extracted from
7881 eval-expression. Set completion-at-point-functions (bug#14465).
7882 (eval-expression, eval-minibuffer): Use it.
7883
7884 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7885
7886 * progmodes/flymake.el (flymake-save-buffer-in-file)
7887 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7888 (flymake-selected-frame, flymake-log, flymake-ins-after)
7889 (flymake-set-at, flymake-get-buildfile-from-cache)
7890 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7891 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7892 Refine the doc string.
7893 (flymake-get-file-name-mode-and-masks): Reformat.
7894 (flymake-get-real-file-name-function): Fix a minor bug.
7895
7896 2013-05-24 Juri Linkov <juri@jurta.org>
7897
7898 * progmodes/grep.el (grep-mode-font-lock-keywords):
7899 Support =linenumber= format used by git-grep for lines with
7900 function names. (Bug#13549)
7901
7902 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7903
7904 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7905 0 after a semi-colon; it works better for smie-auto-fill.
7906 (octave--indent-new-comment-line): New function.
7907 (octave-indent-new-comment-line): Use it (indirectly).
7908 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7909 modify comment-line-break-function.
7910
7911 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7912 (smie-setup): Use add-function to set it.
7913
7914 2013-05-24 Sam Steingold <sds@gnu.org>
7915
7916 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7917 argument (before the `interactive' argument).
7918
7919 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7920
7921 * image-mode.el (image-mode-winprops): Add winprops to
7922 image-mode-winprops-alist before running
7923 image-mode-new-window-functions.
7924 * doc-view.el (doc-view-new-window-function): Don't delay
7925 doc-view-goto-page via timers (bug#14435).
7926
7927 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7928
7929 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7930 (doc-view-desktop-save-buffer): New function.
7931 (doc-view-restore-desktop-buffer): New function.
7932 (desktop-buffer-mode-handlers):
7933 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7934 handler.
7935 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7936 `desktop-save-buffer' function.
7937
7938 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7939
7940 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7941 (tramp-gvfs-file-name-handler): Raise a user error when
7942 `tramp-gvfs-enabled' is nil.
7943 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7944 Do not raise a user error when loading package. (Bug#14447)
7945
7946 * net/xesam.el: Move to obsolete/.
7947
7948 2013-05-24 Glenn Morris <rgm@gnu.org>
7949
7950 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7951
7952 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7953
7954 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7955 (Info-find-node, Man-getpage-in-background): Declare.
7956
7957 * mail/unrmail.el (unrmail):
7958 Replace obsolete detect-coding-with-priority.
7959
7960 * net/socks.el (socks-split-string): Use this rather than split-string.
7961 (socks-nslookup-host): Update for above change.
7962 (dynamic-choice, s5-dynamic-choice-match)
7963 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7964 Comment out unused code.
7965
7966 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7967 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7968 (gud-tooltip-echo-area): Make obsolete.
7969 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7970
7971 * progmodes/js.el (js--optimize-arglist): Declare.
7972
7973 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7974
7975 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7976 (ediff-window-C): Declare.
7977
7978 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7979 Tweak requires to silence compiler.
7980
7981 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7982 (he-search-string, he-tried-table, he-expand-list)
7983 (he-init-string, he-string-member, he-substitute-string)
7984 (he-reset-string): Declare.
7985
7986 * obsolete/options.el (list-options): Use custom-variable-p,
7987 rather than obsolete alias.
7988
7989 2013-05-23 Sam Steingold <sds@gnu.org>
7990
7991 * simple.el (shell-command-on-region): Pass the `replace' argument
7992 down to `call-process-region' to comply with the doc as reported on
7993 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7994
7995 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7996
7997 * emacs-lisp/smie.el (smie-indent-forward-token)
7998 (smie-indent-backward-token): Handle string tokens (bug#14381).
7999
8000 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8001
8002 * ielm.el (ielm-menu): New menu.
8003 (inferior-emacs-lisp-mode): Set comment-start.
8004
8005 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8006
8007 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8008 Fix deactivate action.
8009
8010 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8011 Add cleveref macros.
8012
8013 * lisp/textmodes/reftex-parse.el
8014 (reftex-locate-bibliography-files): Accept options for
8015 bibliography commands.
8016 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8017 Add addbibresource. Basic Biblatex support.
8018
8019 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8020
8021 * net/tramp-gvfs.el (top):
8022 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8023 when loading package. (Bug#14447)
8024
8025 2013-05-23 Glenn Morris <rgm@gnu.org>
8026
8027 * progmodes/js.el: No need to load comint when compiling.
8028 (ring-insert, comint-send-string, comint-send-input)
8029 (comint-last-input-end, ido-chop): Declare.
8030
8031 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8032 * vc/ediff-mult.el: Adjust requires.
8033 (ediff-directories-internal, ediff-directory-revisions-internal)
8034 (ediff-patch-file-internal): Declare.
8035 * vc/ediff-ptch.el: Adjust requires.
8036 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8037 (ediff-find-file): Autoload.
8038 * vc/ediff-util.el: No need to load ediff when compiling.
8039 (ediff-regions-internal): Declare.
8040 * vc/ediff-wind.el: Adjust requires.
8041 (ediff-compute-toolbar-width): Define when compiling.
8042 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8043 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8044 (dired-get-filename, dired-get-marked-files)
8045 (ediff-last-dir-patch, ediff-patch-default-directory)
8046 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8047 (ediff-patch-buffer-internal): Declare.
8048
8049 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8050 (ispell-process, ispell-buffer-local-words, lm-summary)
8051 (lm-section-start, lm-section-end): Declare.
8052 (checkdoc-ispell-init): Simplify.
8053
8054 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8055 (he-string-member, he-reset-string, he-substitute-string): Declare.
8056
8057 * eshell/em-ls.el: Adjust requires.
8058 (eshell-glob-regexp): Declare.
8059 * eshell/em-tramp.el: Adjust requires.
8060 (eshell-parse-command): Autoload.
8061 * eshell/em-xtra.el: Adjust requires.
8062 (eshell-parse-command): Autoload.
8063 * eshell/esh-ext.el: Adjust requires.
8064 (eshell-parse-command, eshell-close-handles): Autoload.
8065 * eshell/esh-io.el: Adjust requires.
8066 (eshell-output-filter): Autoload.
8067 * eshell/esh-util.el: No need to load tramp when compiling.
8068 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8069 Declare.
8070 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8071 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8072 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8073 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8074 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8075 * eshell/esh-opt.el, eshell/esh-proc.el:
8076 * eshell/esh-var.el: Adjust requires.
8077 * eshell/eshell.el: Do not require esh-util twice.
8078 (eshell-add-input-to-history): Declare.
8079 (eshell-command): Check history module is active before using it.
8080
8081 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8082
8083 2013-05-22 Leo Liu <sdl.web@gmail.com>
8084
8085 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8086
8087 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8088
8089 * autorevert.el (auto-revert-notify-add-watch)
8090 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8091 it indicates changes in file modification time.
8092
8093 2013-05-22 Glenn Morris <rgm@gnu.org>
8094
8095 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8096 Always delete the autoloaded function from the noruntime and
8097 unresolved functions lists.
8098
8099 * allout.el: No need to load epa, epg, overlay when compiling.
8100 (epg-context-set-passphrase-callback, epg-list-keys)
8101 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8102 (epg-key-user-id-list): Declare.
8103
8104 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8105 (viper-set-parsing-style-toggling-macro)
8106 (viper-set-emacs-state-searchstyle-macros):
8107 Use called-interactively-p on Emacs.
8108 (viper-looking-back): Make it an obsolete alias. Update callers.
8109 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8110 Use looking-back rather than viper-looking-back.
8111 (viper-tmp-insert-at-eob, viper-enlarge-region)
8112 (viper-read-string-with-history, viper-register-to-point)
8113 (viper-append-to-register, viper-change-state-to-vi)
8114 (viper-backward-char-carefully, viper-forward-char-carefully)
8115 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8116 (viper-change-state-to-emacs): Declare.
8117 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8118 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8119 * emulation/viper-mous.el: Do not load viper-cmd.
8120 (viper-backward-char-carefully, viper-forward-char-carefully)
8121 (viper-forward-word, viper-adjust-window): Declare.
8122
8123 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8124
8125 * progmodes/idlw-help.el (idlwave-help-fontify):
8126 Use called-interactively-p.
8127
8128 * term/w32console.el (w32-get-console-codepage)
8129 (w32-get-console-output-codepage): Declare.
8130
8131 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8132 Remove unnecessary declarations.
8133 (dframe-message): Doc fix.
8134
8135 * info.el (dframe-select-attached-frame, dframe-current-frame):
8136 Declare.
8137
8138 * speedbar.el (speedbar-message): Make it an obsolete alias.
8139 Update all callers.
8140 (speedbar-with-attached-buffer)
8141 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8142 (speedbar-with-writable): Use backquote.
8143 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8144 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8145 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8146 rather than speedbar- aliases.
8147 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8148 (speedbar-make-specialized-keymap, speedbar-insert-button)
8149 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8150 (speedbar-do-function-pointer): Declare.
8151 (rmail-speedbar-button, rmail-speedbar-find-file)
8152 (rmail-speedbar-move-message):
8153 Use dframe-with-attached-buffer rather than speedbar- alias.
8154 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8155 (dframe-message, speedbar-make-specialized-keymap)
8156 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8157 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8158 (speedbar-insert-button, dframe-select-attached-frame)
8159 (dframe-maybee-jump-to-attached-frame)
8160 (speedbar-change-initial-expansion-list)
8161 (speedbar-previously-used-expansion-list-name): Declare.
8162 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8163 Use dframe-message, dframe-with-attached-buffer rather than
8164 speedbar- aliases.
8165 (gud-sentinel): Silence compiler.
8166 * progmodes/vhdl-mode.el (speedbar-refresh)
8167 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8168 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8169 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8170 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8171 (speedbar-file-lists, speedbar-make-tag-line)
8172 (speedbar-line-directory, speedbar-goto-this-file)
8173 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8174 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8175 (speedbar-make-button, speedbar-reset-scanners)
8176 (speedbar-files-item-info, speedbar-line-text)
8177 (speedbar-find-file-in-frame, speedbar-set-timer)
8178 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8179 (speedbar-with-writable): Do not (re)define it.
8180 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8181 rather than speedbar- alias.
8182
8183 2013-05-21 Leo Liu <sdl.web@gmail.com>
8184
8185 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8186 menu items.
8187 (octave-mode): Tweak fill-nobreak-predicate.
8188 (inferior-octave-startup): Check process to avoid infinite loop.
8189 (inferior-octave): Pop to buffer first to show abornmal process
8190 exit information.
8191
8192 2013-05-21 Glenn Morris <rgm@gnu.org>
8193
8194 * printing.el (pr-menu-bar): Define when compiling.
8195
8196 2013-05-21 Leo Liu <sdl.web@gmail.com>
8197
8198 * progmodes/octave.el (octave-auto-fill): Remove.
8199 (octave-indent-new-comment-line): Improve.
8200 (octave-mode): Use auto fill mode through
8201 comment-line-break-function and fill-nobreak-predicate.
8202 (octave-goto-function-definition): Support DEFUN_DLD.
8203 (octave-beginning-of-defun): Small tweak.
8204 (octave-help): Show parent directory.
8205
8206 2013-05-21 Glenn Morris <rgm@gnu.org>
8207
8208 * files.el (dired-unmark):
8209 * progmodes/gud.el (gdb-input): Update declarations.
8210
8211 * calculator.el (electric, ehelp): No need to load when compiling.
8212 (Electric-command-loop, electric-describe-mode): Declare.
8213
8214 * doc-view.el (doc-view-current-converter-processes): Move before use.
8215
8216 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8217 Move MODE-set-explicitly definition before use.
8218
8219 * international/mule-diag.el (mule-diag):
8220 Don't use obsolete window-system-version.
8221
8222 * mail/feedmail.el (smtpmail): No need to load when compiling.
8223 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8224
8225 * mail/mail-utils.el (rfc822): No need to load when compiling.
8226 (rfc822-addresses): Autoload it.
8227 (mail-strip-quoted-names): Trivial simplification.
8228
8229 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8230 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8231
8232 * net/snmp-mode.el (tempo): Don't duplicate requires.
8233
8234 * progmodes/prolog.el (info): No need to load when compiling.
8235 (comint): Require before shell requires it.
8236 (Info-goto-node): Autoload it.
8237 (Info-follow-nearest-node): Declare.
8238 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8239
8240 * textmodes/artist.el (picture-mode-exit): Declare.
8241
8242 * textmodes/reftex-parse.el (reftex-parse-from-file):
8243 Trivial rewrite so the compiler can parse it better.
8244
8245 2013-05-20 Leo Liu <sdl.web@gmail.com>
8246
8247 * progmodes/octave.el (octave-help-mode-map)
8248 (octave-help-mode-finish-hook): New variables.
8249 (octave-help-mode, octave-help-mode-finish): New functions.
8250 (octave-help): Use octave-help-mode.
8251
8252 2013-05-20 Glenn Morris <rgm@gnu.org>
8253
8254 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8255
8256 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8257
8258 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8259 start at point, so that expansion starting right after opening
8260 slash in a regexp is recognized.
8261 (ruby-syntax-before-regexp-re): New defvar, extracted from
8262 ruby-syntax-propertize-function. Since the value of this regexp
8263 is looked up at runtime now, we should be able to turn
8264 `ruby-syntax-methods-before-regexp' into a defcustom later.
8265 (ruby-syntax-propertize-function): Split regexp matching into two
8266 parts, for opening and closing slashes. That allows us to skip
8267 over string interpolations and support multiline regexps.
8268 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8269 for them, which calls `ruby-syntax-propertize-expansion'.
8270 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8271 call to `ruby-syntax-propertize-function'.
8272 (ruby-syntax-propertize-expansion): Extracted from
8273 `ruby-syntax-propertize-expansions'. Handles one expansion.
8274 (ruby-syntax-propertize-percent-literal): Leave point right after
8275 the percent symbol, so that the expression expansion rule can
8276 propertize the contents.
8277 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8278 heredoc openers.
8279 (ruby-syntax-propertize-expansions): Remove.
8280
8281 2013-05-18 Juri Linkov <juri@jurta.org>
8282
8283 * man.el (Man-default-man-entry): Remove `-' from the end
8284 of the default value. (Bug#14400)
8285
8286 2013-05-18 Glenn Morris <rgm@gnu.org>
8287
8288 * comint.el (comint-password-prompt-regexp):
8289 Allow "password for XXX" where XXX contains colons (eg https://...).
8290
8291 2013-05-18 Leo Liu <sdl.web@gmail.com>
8292
8293 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8294 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8295 (octave-source-directories): Don't check process.
8296 (octave-source-directories, octave-find-definition): Doc fix.
8297
8298 2013-05-18 Glenn Morris <rgm@gnu.org>
8299
8300 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8301 Remove backspace/delete bindings. (Bug#14392)
8302
8303 * cus-dep.el (custom-make-dependencies): Sort the output.
8304 (custom-versions-load-alist): Convert comment to doc.
8305
8306 2013-05-17 Leo Liu <sdl.web@gmail.com>
8307
8308 * newcomment.el (comment-search-backward): Stricter in finding
8309 comment start. (Bug#14303)
8310
8311 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8312 (octave-comment-start-skip): Properly anchored.
8313
8314 2013-05-17 Leo Liu <sdl.web@gmail.com>
8315
8316 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8317 Clean up when turned off. (Bug#14395)
8318 (smie--highlight-matching-block-overlay): No longer buffer-local.
8319 (smie-highlight-matching-block): Adjust.
8320
8321 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8322
8323 Doc string fix for "nanoseconds" (Bug#14406).
8324 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8325 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8326
8327 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8328
8329 * calc/calc-units.el (math-extract-units): Preserve powers
8330 of units.
8331
8332 2013-05-17 Leo Liu <sdl.web@gmail.com>
8333
8334 * subr.el (delete-consecutive-dups): New function.
8335 * ido.el (ido-set-matches-1): Use it.
8336 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8337 * ido.el (ido-remove-consecutive-dups): Remove.
8338
8339 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8340
8341 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8342 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8343 regexp-opt's `words'.
8344
8345 2013-05-16 Leo Liu <sdl.web@gmail.com>
8346
8347 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8348 (smie--highlight-matching-block-overlay)
8349 (smie--highlight-matching-block-lastpos)
8350 (smie--highlight-matching-block-timer): New variables.
8351 (smie-highlight-matching-block): New function.
8352 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8353 (smie-setup): Conditionally enable smie-blink-matching-open.
8354
8355 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8356
8357 Sync with upstream verilog-mode r840.
8358 * progmodes/verilog-mode.el (verilog-mode-version)
8359 (verilog-mode-release-date): Update.
8360 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8361 (verilog-sig-tieoff): Fix string error on
8362 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8363 (verilog-read-decls): Fix parameters confusing
8364 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8365
8366 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8367
8368 * subr.el (reveal-filename): New function.
8369
8370 * loadup.el: Compute Emacs executable versions on MS-Windows,
8371 where executables have the .exe extension. Add a hard link
8372 emacs-XX.YY.ZZ.exe on MS-Windows.
8373
8374 * Makefile.in (XARGS_LIMIT): New variable.
8375 (custom-deps, finder-data, autoloads)
8376 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8377 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8378 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8379 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8380
8381 2013-05-16 Leo Liu <sdl.web@gmail.com>
8382
8383 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8384 (octave-mode-menu, octave-mode-map): Remove its uses.
8385
8386 2013-05-16 Reto Zimmermann <reto@gnu.org>
8387
8388 Sync with upstream vhdl mode v3.34.2.
8389 * progmodes/vhdl-mode.el: Use `push' throughout.
8390 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8391 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8392 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8393 (vhdl-actual-generic-name): New option to derive actual generic name.
8394 (vhdl-port-paste-signals): Replace formal by actual generics.
8395 (vhdl-beautify): New name for old group vhdl-align. Update users.
8396 (vhdl-beautify-options): New option.
8397 (vhdl-last-input-event): New compat alias. Use throughout.
8398 (vhdl-goto-line): Replace user level function `goto-line'.
8399 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8400 vhdl-fix-statement-buffer.
8401 (vhdl-create-mode-menu): Add some entries.
8402 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8403 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8404 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8405 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8406 to force statements on one line.
8407 (vhdl-remove-trailing-spaces-region):
8408 New, split from vhdl-remove-trailing-spaces.
8409 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8410 Respect vhdl-beautify-options.
8411 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8412 (vhdl-update-sensitivity-list): Not add with index if exists without.
8413 Not include array index with signal. Ignore keywords in comments.
8414 (vhdl-get-visible-signals): Regexp tweaks.
8415 (vhdl-template-component-inst): Handle empty library.
8416 (vhdl-template-type): Add template for 'enum' type.
8417 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8418 Use vhdl-replace-string.
8419 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8420 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8421 (vhdl-speedbar-initialize): Update for above name change.
8422 (vhdl-compose-wire-components): Fix in handling of constants.
8423 (vhdl-error-regexp-emacs-alist): New variable.
8424 (vhdl-error-regexp-add-emacs): New function;
8425 adds support for new compile.el (Emacs 22+)
8426 (vhdl-generate-makefile-1): Change target order for single lib. units.
8427 Allow use of absolute file names.
8428
8429 2013-05-16 Leo Liu <sdl.web@gmail.com>
8430
8431 * simple.el (prog-indent-sexp): Indent enclosing defun.
8432
8433 2013-05-15 Glenn Morris <rgm@gnu.org>
8434
8435 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8436 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8437 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8438 (whitespace-highlight): Move to whitespace group.
8439
8440 * comint.el (comint-source):
8441 * pcmpl-linux.el (pcmpl-linux):
8442 * shell.el (shell-faces):
8443 * eshell/esh-opt.el (eshell-opt):
8444 * international/ccl.el (ccl): Remove empty custom groups.
8445
8446 * completion.el (dynamic-completion-mode):
8447 * jit-lock.el (jit-lock-debug-mode):
8448 * minibuffer.el (completion-in-region-mode):
8449 * type-break.el (type-break-mode-line-message-mode)
8450 (type-break-query-mode):
8451 * emulation/tpu-edt.el (tpu-edt-mode):
8452 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8453 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8454 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8455
8456 * term/xterm.el (xterm): Change parent group to terminals.
8457
8458 * master.el (master): Remove empty custom group.
8459 (master-mode): Remove unused :group argument.
8460 * textmodes/refill.el (refill): Remove empty custom group.
8461 (refill-mode): Remove unused :group argument.
8462
8463 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8464
8465 * cus-dep.el: Provide a feature.
8466 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8467 Don't mistakenly ignore files whose basenames match a basename
8468 from preloaded-file-list (eg cedet/ede/simple.el).
8469 Add a fallback method for getting :group.
8470
8471 2013-05-15 Juri Linkov <juri@jurta.org>
8472
8473 * isearch.el (isearch-char-by-name): Rename from
8474 `isearch-insert-char-by-name'. Doc fix.
8475 (isearch-forward): Mention `isearch-char-by-name' in
8476 the docstring. (Bug#13348)
8477
8478 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8479 `exit-minibuffer' instead of
8480 `isearch-nonincremental-exit-minibuffer'.
8481 (isearch-edit-string): Remove mention of
8482 `isearch-nonincremental-exit-minibuffer' from docstring.
8483 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8484 (isearch-forward-exit-minibuffer)
8485 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8486
8487 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8488
8489 * loadup.el: Just use unversioned DOC.
8490
8491 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8492 literals as extending to EOB.
8493 (nxml-last-fontify-end): Remove unused variable.
8494 (nxml-after-change1): Use with-silent-modifications.
8495 (nxml-extend-after-change-region): Simplify.
8496 (nxml-extend-after-change-region1): Remove function.
8497 (nxml-after-change1): Don't adjust for dependent regions.
8498 (nxml-fontify-matcher): Simplify.
8499 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8500 (xmltok-add-dependent): Remove function.
8501 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8502 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8503 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8504 unclosed <[[, <?, comment, and other literals as extending to EOB.
8505 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8506 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8507 Remove functions.
8508 (rng-do-some-validation-1): Don't mark dependent regions.
8509 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8510 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8511 (nxml-clear-dependent-regions): Remove functions.
8512 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8513 (nxml-ensure-scan-up-to-date):
8514 Don't clear&mark dependent regions.
8515
8516 2013-05-15 Leo Liu <sdl.web@gmail.com>
8517
8518 * progmodes/octave.el (octave-goto-function-definition):
8519 Improve and fix callers.
8520
8521 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8522
8523 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8524 the setter (bug#14387).
8525
8526 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8527 surrounding group (bug#14402).
8528
8529 2013-05-14 Juri Linkov <juri@jurta.org>
8530
8531 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8532 (Bug#14390)
8533
8534 2013-05-14 Glenn Morris <rgm@gnu.org>
8535
8536 * progmodes/f90.el (f90-imenu-generic-expression):
8537 Fix typo in 2013-05-08 change. (Bug#14402)
8538
8539 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8540
8541 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8542 Remove signals for which replies are never received.
8543
8544 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8545
8546 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8547 (gdb-handler-alist, gdb-handler-number): Remove variables.
8548 (gdb-handler-list): New variable.
8549 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8550 (gdb-pending-handler-p, gdb-handle-reply)
8551 (gdb-remove-all-pending-triggers): New functions.
8552 (gdb-discard-unordered-replies): New defcustom.
8553 (gdb-handler): New defstruct.
8554 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8555 instead of gdb-pending-triggers. Update docstring.
8556 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8557 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8558 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8559 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8560 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8561 (gdb-frame-handler): Pending triggers are now automatically managed.
8562 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8563 Remove argument.
8564 (gdb-input): Automatically handles pending triggers. Update docstring.
8565 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8566 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8567 Update comments.
8568 (gdb-done-or-error): Now use gdb-handle-reply.
8569
8570 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8571
8572 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8573 gdb-debug-log.
8574
8575 2013-05-14 Glenn Morris <rgm@gnu.org>
8576
8577 * subr.el (user-emacs-directory-warning): New option.
8578 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8579
8580 2013-05-14 Leo Liu <sdl.web@gmail.com>
8581
8582 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8583 during redisplay.
8584 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8585 (octave-font-lock-texinfo-comment): Fix invalid search bound
8586 error: wrong side of point.
8587
8588 2013-05-14 Glenn Morris <rgm@gnu.org>
8589
8590 * progmodes/flymake.el (flymake-xml-program): New option.
8591 (flymake-xml-init): Use it.
8592
8593 * term/xterm.el: Provide a feature.
8594
8595 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8596
8597 2013-05-13 Glenn Morris <rgm@gnu.org>
8598
8599 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8600 Add compat aliases as a hack workaround. (Bug#14384)
8601
8602 2013-05-13 Leo Liu <sdl.web@gmail.com>
8603
8604 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8605 ###, and %!.
8606 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8607 C-M-q.
8608 (octave-comment-start-skip): Include %!.
8609 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8610
8611 2013-05-12 Leo Liu <sdl.web@gmail.com>
8612
8613 * progmodes/octave.el (inferior-octave-startup): Store the value
8614 of __octave_srcdir__ for octave-source-directories.
8615 (inferior-octave-check-process): New function refactored out of
8616 inferior-octave-send-list-and-digest.
8617 (octave-source-directories)
8618 (octave-find-definition-filename-function): New variables.
8619 (octave-source-directories)
8620 (octave-find-definition-default-filename): New functions.
8621 (octave-find-definition): Improve to find functions implemented in C++.
8622
8623 2013-05-12 Glenn Morris <rgm@gnu.org>
8624
8625 * calendar/diary-lib.el (diary-outlook-format-1):
8626 Don't include dayname in the output. (Bug#14349)
8627
8628 2013-05-11 Glenn Morris <rgm@gnu.org>
8629
8630 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8631
8632 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8633 Treat cc-provide like provide.
8634
8635 2013-05-11 Kevin Ryde <user42@zip.com.au>
8636
8637 * cus-dep.el (custom-make-dependencies):
8638 Use generated-autoload-load-name for the sake of files such
8639 such cedet/semantic/bovine/c.el, where the base file name
8640 is not in load-path. (Bug#5277)
8641
8642 2013-05-11 Glenn Morris <rgm@gnu.org>
8643
8644 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8645 Provide features.
8646
8647 2013-05-11 Leo Liu <sdl.web@gmail.com>
8648
8649 * progmodes/octave.el (octave-indent-comment): Improve.
8650 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8651 (octave-eldoc-function-signatures, octave-eldoc-function):
8652 New functions.
8653 (octave-mode, inferior-octave-mode): Add eldoc support.
8654
8655 2013-05-11 Richard Stallman <rms@gnu.org>
8656
8657 * epa.el (epa-decrypt-file): Take output file name as argument
8658 and read it using `interactive'.
8659
8660 2013-05-11 Leo Liu <sdl.web@gmail.com>
8661
8662 * progmodes/octave.el (octave-beginning-of-line)
8663 (octave-end-of-line): Check before using up-list because it jumps
8664 out of more syntactic contructs since moving to smie.
8665 (octave-indent-comment): New function.
8666 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8667 (octave-begin-keywords, octave-end-keywords)
8668 (octave-reserved-words, octave-smie-bnf-table)
8669 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8670
8671 2013-05-11 Glenn Morris <rgm@gnu.org>
8672
8673 * faces.el (internal-face-x-get-resource):
8674 * frame.el (ns-display-monitor-attributes-list):
8675 * calc/calc-aent.el (math-to-radians-2):
8676 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8677 Fix declarations.
8678
8679 * calc/calc-menu.el: Make it loadable in isolation.
8680
8681 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8682 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8683 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8684 (eudc-bbdb-query-internal): Require 'bbdb.
8685
8686 * lpr.el (lpr-headers-switches):
8687 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8688
8689 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8690
8691 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8692
8693 * term.el (term-set-escape-char): Make it idempotent.
8694
8695 2013-05-10 Leo Liu <sdl.web@gmail.com>
8696
8697 * progmodes/octave.el (inferior-octave-completion-table):
8698 No longer a function and all uses changed. Use cache to speed up
8699 completion due to bug#11906.
8700 (octave-beginning-of-defun): Re-write to be more general.
8701
8702 2013-05-10 Glenn Morris <rgm@gnu.org>
8703
8704 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8705
8706 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8707
8708 * comint.el (comint-redirect-send-command-to-process): Use :around
8709 rather than :override for comint-redirect-filter.
8710 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8711 Call it instead of comint-redirect-original-filter-function (which
8712 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8713
8714 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8715
8716 * frame.el (display-monitor-attributes-list): Add NS case.
8717 (ns-display-monitor-attributes-list): Declare.
8718
8719 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8720
8721 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8722
8723 2013-05-09 Glenn Morris <rgm@gnu.org>
8724
8725 * international/fontset.el (vertical-centering-font-regexp):
8726 Set standard-value.
8727
8728 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8729
8730 * bookmark.el (bookmark-search-delay):
8731 * cus-start.el (vertical-centering-font-regexp):
8732 * ps-mule.el (ps-mule-font-info-database-default):
8733 * ps-print.el (ps-default-fg, ps-default-bg):
8734 * type-break.el (type-break-good-break-interval):
8735 * whitespace.el (whitespace-indentation-regexp)
8736 (whitespace-space-after-tab-regexp):
8737 * emacs-lisp/testcover.el (testcover-1value-functions)
8738 (testcover-noreturn-functions, testcover-progn-functions)
8739 (testcover-prog1-functions):
8740 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8741 * eshell/em-glob.el (eshell-glob-translate-alist):
8742 * play/tetris.el (tetris-tty-colors):
8743 * progmodes/cpp.el (cpp-face-default-list):
8744 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8745 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8746 (idlwave-help-browser-generic-args):
8747 * progmodes/make-mode.el (makefile-special-targets-list):
8748 * progmodes/python.el (python-shell-virtualenv-path):
8749 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8750 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8751 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8752 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8753 * textmodes/reftex-vars.el (reftex-format-label-function):
8754 * textmodes/remember.el (remember-diary-file): Fix custom types.
8755
8756 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8757 Add :version.
8758
8759 2013-05-09 Leo Liu <sdl.web@gmail.com>
8760
8761 * progmodes/octave.el (inferior-octave-completion-at-point):
8762 Restore file completion. (Bug#14300)
8763 (inferior-octave-startup): Fix incorrect highlighting for the
8764 first prompt.
8765
8766 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8767
8768 * progmodes/ruby-mode.el: First cut at SMIE support.
8769 (ruby-use-smie): New var.
8770 (ruby-smie-grammar): New constant.
8771 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8772 (ruby-smie--forward-token, ruby-smie--backward-token)
8773 (ruby-smie-rules): New functions.
8774 (ruby-mode-variables): Setup SMIE if applicable.
8775
8776 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8777
8778 * simple.el (line-move-visual): Signal beginning/end of buffer
8779 only if vertical-motion moved less than it was requested. Avoids
8780 silly incorrect error messages when there are display strings with
8781 multiple newlines at EOL.
8782
8783 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8786 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8787 (prolog-char-quote-workaround):
8788 * progmodes/cperl-mode.el (cperl-under-as-char):
8789 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8790 Mark as obsolete.
8791 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8792 their declaration.
8793 (vhdl-mode-syntax-table-init): Remove.
8794
8795 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8796 last change.
8797
8798 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8799 syntax for "_".
8800 (ld-script-font-lock-keywords):
8801 Change regexps to use things like \_< and \_>.
8802
8803 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8804 Change all regexps to use things like \_< and \_>.
8805
8806 * progmodes/autoconf.el (autoconf-definition-regexp)
8807 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8808 Handle a _ with symbol syntax.
8809 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8810
8811 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8812 Consolidate declaration.
8813 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8814 the declaration.
8815 (ada-create-syntax-table): Remove.
8816 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8817 already has the right syntax nowadays.
8818 (ada-goto-next-word): Don't change the syntax of "_".
8819
8820 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8821 with-wrapper-hook.
8822
8823 2013-05-08 Sam Steingold <sds@gnu.org>
8824
8825 * thingatpt.el (thing-at-point): Accept optional second argument
8826 NO-PROPERTIES to strip the text properties from the return value.
8827 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8828 to `thing-at-point' instead of stripping the properties ourselves.
8829 Also, when `thing-at-point' fails to find a url, prepend "http://"
8830 to the filename at point on the assumption that the user is
8831 pointing at something like gnu.org/gnu.
8832
8833 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8834
8835 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8836 * faces.el (crm-separator):
8837 Silence byte-compiler.
8838
8839 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8840 (tool-bar-map): Remove unneeded defvars.
8841
8842 2013-05-08 Leo Liu <sdl.web@gmail.com>
8843
8844 Re-work a fix for bug#10994 based on Le Wang's patch.
8845 * ido.el (ido-remove-consecutive-dups): New helper.
8846 (ido-completing-read): Use it.
8847 (ido-chop): Revert fix for bug#10994.
8848
8849 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8850
8851 * cus-edit.el (custom-save-variables):
8852 Pretty-print long values. (Bug#14187)
8853
8854 2013-05-08 Glenn Morris <rgm@gnu.org>
8855
8856 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8857 (m4-mode-syntax-table): Init in the defvar.
8858 (m4-mode-abbrev-table): Let define-derived-mode define it.
8859
8860 2013-05-08 Tom Tromey <tromey@redhat.com>
8861
8862 * progmodes/m4-mode.el (m4-mode-syntax-table):
8863 Do not treat "_" as word constituent. (Bug#14167)
8864
8865 2013-05-07 Glenn Morris <rgm@gnu.org>
8866
8867 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8868 Remove explicit eshell-isearch-cancel-map.
8869
8870 * progmodes/f90.el (f90-smart-end-names): New option.
8871 (f90-smart-end): Doc fix.
8872 (f90-end-block-optional-name): New constant.
8873 (f90-block-match): Respect f90-smart-end-names.
8874
8875 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8878 about implicit semi-colons (bug#14218).
8879
8880 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8881
8882 * frame.el (display-monitor-attributes-list)
8883 (frame-monitor-attributes): New functions.
8884
8885 2013-05-06 Leo Liu <sdl.web@gmail.com>
8886
8887 * progmodes/octave.el (octave-syntax-propertize-function): Change
8888 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8889 (octave-font-lock-keywords): Use octave-operator-regexp.
8890 (octave-completion-at-point): Rename from
8891 octave-completion-at-point-function.
8892 (inferior-octave-directory-tracker): Robustify.
8893 (octave-text-functions): Remove and fix its uses. No such things
8894 any more.
8895
8896 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8897
8898 * emacs-lisp/trace.el (trace--display-buffer): New function.
8899 (trace-make-advice): Use it.
8900
8901 2013-05-06 Juri Linkov <juri@jurta.org>
8902
8903 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8904 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8905 Doc fix.
8906 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8907 in the help string. (Bug#12985)
8908
8909 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8910
8911 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8912
8913 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8914
8915 * progmodes/perl-mode.el: Add support for here documents.
8916 (perl-syntax-propertize-function): Match here-doc markers.
8917 (perl-syntax-propertize-special-constructs): Find their end.
8918 (perl-imenu-generic-expression): Use [:alnum:].
8919
8920 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8921 (advice--add-function): Refresh the advice if already present
8922 (bug#14317).
8923
8924 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8925
8926 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8927
8928 2013-05-06 Glenn Morris <rgm@gnu.org>
8929
8930 * w32-fns.el (w32-charset-info-alist): Declare.
8931
8932 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8933 of its defcustom properties.
8934 (eshell-cmpl-initialize): No need to load pcomplete.
8935
8936 * generic-x.el: No need to require comint when compiling.
8937
8938 * net/eudc-export.el: Make it loadable without bbdb.
8939 (top-level): Use require rather than load-library.
8940 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8941 (eudc-batch-export-records-to-bbdb)
8942 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8943 Require bbdb.
8944
8945 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8946
8947 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8948 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8949 some tweaks, instead.
8950
8951 2013-05-05 Leo Liu <sdl.web@gmail.com>
8952
8953 * progmodes/octave.el (octave-font-lock-keywords)
8954 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8955 (inferior-octave-send-list-and-digest): Improve error message.
8956 (octave-mode, inferior-octave-mode): Use setq-local.
8957 (octave-help): Set info-lookup-mode.
8958
8959 2013-05-05 Richard Stallman <rms@gnu.org>
8960
8961 * vc/compare-w.el (compare-windows-whitespace):
8962 Treat no-break space as whitespace.
8963
8964 * mail/rmailsum.el (rmail-summary-rmail-update):
8965 Detect empty summary and don't change selected message.
8966 (rmail-summary-goto-msg): Likewise.
8967
8968 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8969 Doc fixes, rename args.
8970
8971 2013-05-05 Alan Mackenzie <acm@muc.de>
8972
8973 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8974
8975 2013-05-05 Juri Linkov <juri@jurta.org>
8976
8977 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8978 to not add the length of the summary segment to the return value.
8979 (Bug#14125)
8980
8981 2013-05-05 Leo Liu <sdl.web@gmail.com>
8982
8983 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8984 (inferior-octave-output-filter): Remove.
8985 (octave-send-region, inferior-octave-startup): Fix callers.
8986 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8987 (octave-binary-file-extensions): New user variable.
8988 (octave-find-definition): Confirm if opening binary files.
8989 (octave-help-file): Use octave-find-definition to get the binary
8990 confirmation.
8991 (octave-help): Adjust for octave-help-file change.
8992
8993 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8994
8995 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8996 Merge the two entries that handle function definitions.
8997 (pascal--syntax-propertize): New const.
8998 (pascal-mode): Use it. Use setq-local.
8999
9000 2013-05-04 Glenn Morris <rgm@gnu.org>
9001
9002 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9003 (diary-from-outlook): Respect diary-from-outlook-function.
9004
9005 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9006
9007 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9008 Move the declaration from C.
9009 (read-minibuffer, eval-minibuffer): Move from C.
9010 (completion-setup-function): Avoid minibuffer-completion-contents.
9011
9012 2013-05-03 Leo Liu <sdl.web@gmail.com>
9013
9014 * progmodes/octave.el (octave-font-lock-keywords): Do not
9015 dehighlight 'end' in comments or strings.
9016 (octave-completing-read, octave-goto-function-definition):
9017 New helpers.
9018 (octave-help-buffer): New user variable.
9019 (octave-help-file, octave-help-function): New button types.
9020 (octave-help): New command and bind it to C-h ;.
9021 (octave-find-definition): New command and bind it to M-.
9022 (user-error): Alias to error if not defined.
9023
9024 2013-05-02 Leo Liu <sdl.web@gmail.com>
9025
9026 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9027 for \. (bug#14332)
9028 (octave-font-lock-keywords): Include [ and {.
9029
9030 2013-05-02 Leo Liu <sdl.web@gmail.com>
9031
9032 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9033 (inferior-octave): Remove calling comint-mode and return the buffer.
9034 (inferior-octave-startup): Cosmetic changes.
9035
9036 2013-05-02 Leo Liu <sdl.web@gmail.com>
9037
9038 * progmodes/octave.el (octave-syntax-propertize-function):
9039 Include the case when ' is at line beginning. (Bug#14336)
9040
9041 2013-05-02 Glenn Morris <rgm@gnu.org>
9042
9043 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9044 * desktop.el (vc-dir-mode): Just autoload it here.
9045
9046 2013-05-02 Alan Mackenzie <acm@muc.de>
9047
9048 Eliminate variable c-standard-font-lock-fontify-region-function.
9049 * progmodes/cc-mode.el
9050 (c-standard-font-lock-fontify-region-function): Remove.
9051 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9052
9053 2013-05-01 Leo Liu <sdl.web@gmail.com>
9054
9055 * progmodes/octave.el: Compatible with older emacs-24 releases.
9056 (inferior-octave-has-built-in-variables): Remove. Built-in
9057 variables were removed from Octave in 2007.
9058 (inferior-octave-startup): Fix uses.
9059 (comint-line-beginning-position): Remove compatibility code for
9060 emacs 21.
9061
9062 2013-05-01 Juri Linkov <juri@jurta.org>
9063
9064 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9065
9066 2013-05-01 Juri Linkov <juri@jurta.org>
9067
9068 * comint.el (comint-previous-matching-input): Don't print message
9069 "History item: %d" when `isearch-mode' is active.
9070 (comint-history-isearch-message): Print message "History item: %d"
9071 when `comint-input-ring-index' is not empty and this function is
9072 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9073
9074 2013-05-01 Leo Liu <sdl.web@gmail.com>
9075
9076 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9077 definitions. Use completion-at-point to insert keywords.
9078 (octave-abbrev-start): Remove.
9079 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9080
9081 2013-04-30 Leo Liu <sdl.web@gmail.com>
9082
9083 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9084 change.
9085
9086 2013-04-30 Alan Mackenzie <acm@muc.de>
9087
9088 Handle arbitrarily long C++ member initialisation lists.
9089 * progmodes/cc-engine.el (c-back-over-member-initializers):
9090 new function.
9091 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9092 (most) member init lists.
9093
9094 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9095
9096 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9097 variable.
9098
9099 2013-04-30 Leo Liu <sdl.web@gmail.com>
9100
9101 * progmodes/octave.el (octave-variables): Remove. No builtin
9102 variables any more. All converted to functions.
9103 (octave-font-lock-keywords, octave-completion-at-point-function):
9104 Fix uses.
9105 (octave-font-lock-texinfo-comment): New user variable.
9106 (octave-texinfo-font-lock-keywords): New variable for texinfo
9107 comment block.
9108 (octave-function-comment-block): New face.
9109 (octave-font-lock-texinfo-comment): New function.
9110 (octave-mode): Font lock texinfo comment block.
9111
9112 2013-04-29 Leo Liu <sdl.web@gmail.com>
9113
9114 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9115 indexing expression.
9116 (octave-continuation-string): Do not use \.
9117 (inferior-octave-complete-impossible): Remove.
9118 (inferior-octave-completion-table)
9119 (inferior-octave-completion-at-point): Remove its uses.
9120 (inferior-octave-startup): completion_matches was introduced to
9121 Octave in 1996 so safe to assume it.
9122 (octave-function-file-comment): Improve to follow how Octave does it.
9123 (octave-update-function-file-comment): Tweak.
9124
9125 2013-04-29 Leo Liu <sdl.web@gmail.com>
9126
9127 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9128 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9129 (octave-function-file-comment): Fix typo.
9130 (octave-sync-function-file-names): Use read-char-choice.
9131
9132 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9133
9134 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9135 to t for the less important warnings.
9136
9137 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9138
9139 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9140
9141 2013-04-27 Glenn Morris <rgm@gnu.org>
9142
9143 * vc/log-view.el (log-view-current-entry):
9144 Treat "---" separator lines as part of the following rev. (Bug#14169)
9145
9146 2013-04-27 Juri Linkov <juri@jurta.org>
9147
9148 * subr.el (read-number): Doc fix about using it by interactive
9149 code letter `n'. (Bug#14254)
9150
9151 2013-04-27 Juri Linkov <juri@jurta.org>
9152
9153 * desktop.el (desktop-auto-save-timeout): New option.
9154 (desktop-file-checksum): New variable.
9155 (desktop-save): Add optional arg `auto-save' and don't auto-save
9156 if nothing changed.
9157 (desktop-auto-save-timer): New variable.
9158 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9159 (after-init-hook): Call `desktop-auto-save-set-timer'.
9160 Suggested by Reuben Thomas <rrt@sc3d.org> in
9161 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9162
9163 2013-04-27 Leo Liu <sdl.web@gmail.com>
9164
9165 * progmodes/octave.el (octave-function-file-p)
9166 (octave-skip-comment-forward, octave-function-file-comment)
9167 (octave-update-function-file-comment): New functions.
9168 (octave-mode-map): Bind C-c ; to
9169 octave-update-function-file-comment.
9170 (octave-mode-menu): Add octave-update-function-file-comment.
9171 (octave-mode, inferior-octave-mode): Fix doc-string.
9172 (octave-insert-defun): Conform to Octave's coding convention.
9173 (Bug#14285)
9174
9175 * files.el (basic-save-buffer): Don't let errors in
9176 before-save-hook prevent saving buffer.
9177
9178 2013-04-20 Roland Winkler <winkler@gnu.org>
9179
9180 * faces.el (read-face-name): Use completing-read if arg multiple
9181 is nil.
9182
9183 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9184
9185 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9186 displayed, move point to after the totals line.
9187 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9188 for the details.
9189
9190 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9191
9192 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9193 Add current dir to the load-path.
9194 (package-generate-autoloads): Don't rely on
9195 autoload-ensure-default-file.
9196
9197 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9198
9199 * textmodes/remember.el (remember-store-in-files): Document that
9200 the file name format is passed to `format-time-string'.
9201
9202 2013-04-26 Leo Liu <sdl.web@gmail.com>
9203
9204 * progmodes/octave.el (octave-sync-function-file-names): New function.
9205 (octave-mode): Use it in before-save-hook.
9206
9207 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9208
9209 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9210 (bug#14274).
9211
9212 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9213 \n and comment, even if it's not an implicit ; (bug#14218).
9214
9215 2013-04-26 Glenn Morris <rgm@gnu.org>
9216
9217 * subr.el (read-number): Once more use `read' rather than
9218 `string-to-number', to trap non-numeric input. (Bug#14254)
9219
9220 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9221
9222 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9223 Use `syntax-multiline' text property consistently instead of
9224 `font-lock-multiline'. (Bug#14237)
9225
9226 2013-04-26 Glenn Morris <rgm@gnu.org>
9227
9228 * emacs-lisp/shadow.el (list-load-path-shadows):
9229 No longer necessary to check for duplicate simple.el, since
9230 2012-07-07 change to init_lread to not include installation lisp
9231 directories in load-path when running uninstalled. (Bug#14270)
9232
9233 2013-04-26 Leo Liu <sdl.web@gmail.com>
9234
9235 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9236 (octave-mode, inferior-octave-mode): Use setq-local.
9237 (octave-not-in-string-or-comment-p): Rename to
9238 octave-in-string-or-comment-p.
9239 (octave-in-comment-p, octave-in-string-p)
9240 (octave-in-string-or-comment-p): Replace defsubst with defun.
9241
9242 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9243
9244 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9245
9246 2013-04-25 Bastien Guerry <bzg@gnu.org>
9247
9248 * textmodes/remember.el (remember-data-directory)
9249 (remember-directory-file-name-format): Fix custom types.
9250
9251 2013-04-25 Leo Liu <sdl.web@gmail.com>
9252
9253 * progmodes/octave.el (octave-completion-at-point-function):
9254 Make use of inferior octave process.
9255 (octave-initialize-completions): Remove.
9256 (inferior-octave-completion-table): New function.
9257 (inferior-octave-completion-at-point): Use it.
9258 (octave-completion-alist): Remove.
9259
9260 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9263 (opascal-mode-syntax-table): New var.
9264 (opascal-literal-kind, opascal-is-literal-end)
9265 (opascal-literal-token-at): Rewrite.
9266 (opascal--literal-start-re, opascal-font-lock-keywords)
9267 (opascal--syntax-propertize): New constants.
9268 (opascal-font-lock-defaults): Adjust.
9269 (opascal-mode): Use them. Set comment-<foo> variables as well.
9270 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9271 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9272 (delphi-other-face, opascal-other-face): Remove face variables.
9273 (opascal-save-state): Remove macro.
9274 (opascal-fontifying-progress-step): Remove constant.
9275 (opascal--ignore-changes): Remove var.
9276 (opascal-set-token-property, opascal-parse-next-literal)
9277 (opascal-is-stable-literal, opascal-complete-literal)
9278 (opascal-is-literal-start, opascal-face-of)
9279 (opascal-parse-region, opascal-parse-region-until-stable)
9280 (opascal-fontify-region, opascal-after-change)
9281 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9282 (opascal-debug-parse-region, opascal-debug-parse-window)
9283 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9284 (opascal-debug-fontify-buffer): Remove.
9285 (opascal-debug-mode-map): Adjust accordingly.
9286
9287 2013-04-25 Leo Liu <sdl.web@gmail.com>
9288
9289 Merge octave-mod.el and octave-inf.el into octave.el with some
9290 cleanups.
9291 * progmodes/octave.el: New file renamed from octave-mod.el.
9292 * progmodes/octave-inf.el: Merged into octave.el.
9293 * progmodes/octave-mod.el: Renamed to octave.el.
9294
9295 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9296
9297 * textmodes/reftex-vars.el
9298 (reftex-label-ignored-macros-and-environments): New defcustom.
9299
9300 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9301
9302 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9303
9304 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9305 (smie-indent-keyword): Improve the check to ensure that the next
9306 comment is really on the same line.
9307 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9308
9309 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9310 semi-colons if the line is not otherwise empty (bug#14218).
9311
9312 2013-04-25 Glenn Morris <rgm@gnu.org>
9313
9314 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9315
9316 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9317
9318 * progmodes/opascal.el (opascal-set-token-property): Rename from
9319 opascal-set-text-properties and only set `token' (bug#14134).
9320 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9321 (opascal-literal-text-properties): Remove.
9322 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9323 Adjust callers.
9324
9325 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9326
9327 * textmodes/remember.el (remember-handler-functions): Add an
9328 option for a new handler `remember-store-in-files'.
9329 (remember-data-directory, remember-directory-file-name-format):
9330 New options.
9331 (remember-store-in-files): New function to store remember notes
9332 as separate files within a directory.
9333
9334 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9335
9336 * progmodes/compile.el (compilation-next-error-function):
9337 Pass "formats" to compilation-find-file (bug#11777).
9338
9339 2013-04-24 Glenn Morris <rgm@gnu.org>
9340
9341 * vc/vc-bzr.el (vc-bzr-print-log):
9342 * vc/vc-hg.el (vc-hg-print-log):
9343 * vc/vc-svn.el (vc-svn-print-log):
9344 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9345
9346 * vc/vc-bzr.el (vc-bzr-print-log):
9347 * vc/vc-cvs.el (vc-cvs-print-log):
9348 * vc/vc-git.el (vc-git-print-log):
9349 * vc/vc-hg.el (vc-hg-print-log):
9350 * vc/vc-mtn.el (vc-mtn-print-log):
9351 * vc/vc-rcs.el (vc-rcs-print-log):
9352 * vc/vc-sccs.el (vc-sccs-print-log):
9353 * vc/vc-svn.el (vc-svn-print-log):
9354 * vc/vc.el (vc-print-log-internal): Doc fixes.
9355
9356 2013-04-23 Glenn Morris <rgm@gnu.org>
9357
9358 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9359 Remove venerable code attempting to avoid substitute-command-keys.
9360
9361 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9362
9363 * textmodes/reftex-vars.el (reftex-label-regexps):
9364 Call `reftex-compile-variables' after changes to this variable.
9365
9366 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9367
9368 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9369 Use lexical-binding.
9370 (jit-lock-force-redisplay): Use markers, check buffer's continued
9371 existence and beware narrowed buffers.
9372 (jit-lock-fontify-now): Adjust call accordingly.
9373
9374 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9375
9376 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9377 to avoid misleading the user.
9378
9379 2013-04-22 Leo Liu <sdl.web@gmail.com>
9380
9381 * info-look.el: Prefer latex2e.info. (Bug#14240)
9382
9383 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9384
9385 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9386
9387 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9388 * net/tramp.el (tramp-call-process): ... here.
9389 (tramp-set-completion-function, tramp-parse-putty):
9390 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9391 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9392 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9393 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9394 (tramp-call-local-coding-command): Use `tramp-call-process'
9395 instead of `tramp-compat-call-process'.
9396
9397 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9398 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9399 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9400 (tramp-find-inline-compress): Improve traces.
9401 (tramp-maybe-send-script): Check for Perl binary.
9402 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9403
9404 2013-04-22 Daiki Ueno <ueno@gnu.org>
9405
9406 * epg.el (epg-context-pinentry-mode): New function.
9407 (epg-context-set-pinentry-mode): New function.
9408 (epg--start): Pass --pinentry-mode option to gpg command.
9409
9410 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9411
9412 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9413 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9414 `completion-at-point'. (Bug#13774)
9415
9416 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9417 default key binding for `describe-distribution' has been moved to
9418 `C-h C-o'. (Bug#13970)
9419
9420 2013-04-21 Glenn Morris <rgm@gnu.org>
9421
9422 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9423 Add doc strings.
9424 (vc-print-log): Clarify interactive prompt.
9425
9426 2013-04-20 Glenn Morris <rgm@gnu.org>
9427
9428 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9429 No longer include timestamp etc information.
9430
9431 2013-04-20 Roland Winkler <winkler@gnu.org>
9432
9433 * faces.el (read-face-name): Bug fix, return just one face if arg
9434 multiple is nil. (Bug#14209)
9435
9436 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9437
9438 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9439 (remove-function): Autoload.
9440
9441 * comint.el (comint-redirect-original-filter-function): Remove.
9442 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9443 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9444 (vc-cvs-annotate-command):
9445 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9446 * progmodes/prolog.el (prolog-consult-compile):
9447 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9448 Use add/remove-function instead.
9449 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9450 (gud-tooltip-process-output, gud-tooltip-tips):
9451 Use add/remove-function instead.
9452 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9453 (scheme-interaction-mode, exit-scheme-interaction-mode):
9454 Use add/remove-function instead.
9455
9456 * vc/vc-dispatcher.el: Use lexical-binding.
9457 (vc--process-sentinel): Rename from vc-process-sentinel.
9458 Change last arg to be the code to run. Don't use vc-previous-sentinel
9459 and vc-sentinel-commands any more.
9460 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9461 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9462
9463 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9464
9465 * progmodes/sh-script.el (sh-imenu-generic-expression):
9466 Handle function names with a single character. (Bug#14111)
9467
9468 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9469
9470 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9471 for subroutines defined in an eval (bug#14182).
9472
9473 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9474
9475 * bookmark.el (bookmark-completing-read): Improve handling of empty
9476 string (bug#14176).
9477
9478 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9481
9482 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9483
9484 New faster Imenu implementation (bug#14058).
9485 * progmodes/python.el:
9486 (python-imenu-prev-index-position):
9487 (python-imenu-format-item-label-function)
9488 (python-imenu-format-parent-item-label-function)
9489 (python-imenu-format-parent-item-jump-label-function):
9490 New vars.
9491 (python-imenu-format-item-label)
9492 (python-imenu-format-parent-item-label)
9493 (python-imenu-format-parent-item-jump-label)
9494 (python-imenu--put-parent, python-imenu--build-tree)
9495 (python-imenu-create-index, python-imenu-create-flat-index)
9496 (python-util-popn): New functions.
9497 (python-mode): Set imenu-create-index-function to
9498 python-imenu-create-index.
9499
9500 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9501
9502 * winner.el (winner-active-region): Use region-active-p, activate-mark
9503 and deactivate-mark (bug#14225).
9504
9505 * simple.el (deactivate-mark): Don't inline it.
9506
9507 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9508
9509 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9510
9511 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9512
9513 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9514 file extensions from the archive-mode entry in order to prefer
9515 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9516
9517 2013-04-18 Leo Liu <sdl.web@gmail.com>
9518
9519 * bindings.el (help-event-list): Add ?\?.
9520
9521 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9522
9523 * subr.el (with-wrapper-hook): Declare obsolete.
9524 * simple.el (filter-buffer-substring-function): New hook.
9525 (filter-buffer-substring): Use it.
9526 (filter-buffer-substring-functions): Mark obsolete.
9527 * minibuffer.el (completion-in-region-function): New hook.
9528 (completion-in-region): Use it.
9529 (completion-in-region-functions): Mark obsolete.
9530 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9531 * abbrev.el (abbrev-expand-function): New hook.
9532 (expand-abbrev): Use it.
9533 (abbrev-expand-functions): Mark obsolete.
9534 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9535 and :filter-return.
9536
9537 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9538
9539 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9540 and do not care about match data.
9541
9542 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9543
9544 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9545 completion tables when completing error conditions and
9546 `declare' arguments.
9547 (lisp-complete-symbol, field-complete): Mark as obsolete.
9548 (check-parens): Unmatched parens are user errors.
9549 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9550
9551 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9552
9553 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9554 command changed buffer (ie. `flyspell-pre-buffer' is not current
9555 buffer), which prevents making decisions based on invalid value of
9556 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9557 cause an error when `flyspell-pre-point' was nil after switching
9558 buffers.
9559 (flyspell-post-command-hook): No longer needs to change buffers when
9560 checking pre-word. While at it remove unnecessary progn.
9561
9562 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9563
9564 * textmodes/ispell.el (ispell-add-per-file-word-list):
9565 Fix `flyspell-correct-word-before-point' error when accepting
9566 words and `coment-padding' is an integer by using
9567 `comment-normalize-vars' (Bug #14214).
9568
9569 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9570
9571 New defun movement commands.
9572 * progmodes/python.el (python-nav--syntactically)
9573 (python-nav--forward-defun, python-nav-backward-defun)
9574 (python-nav-forward-defun): New functions.
9575
9576 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9577
9578 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9579 (python-syntax-context): Use named compiler-macro for backwards
9580 compatibility with Emacs 24.x.
9581
9582 2013-04-17 Leo Liu <sdl.web@gmail.com>
9583
9584 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9585 octave-hide-process-buffer.
9586
9587 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9588
9589 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9590 (bug#14216).
9591
9592 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9593
9594 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9595 Fix adjustment of offset when receiving incomplete responses from GDB
9596 (bug#14129).
9597
9598 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9599
9600 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9601 python-mode-abbrev-table.
9602 (python-skeleton-define): Adjust accordingly.
9603 (python-mode-abbrev-table): New table that inherits from it so that
9604 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9605
9606 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9607 (abbrev-symbol): Use it.
9608 (abbrev--before-point): Use it since we already handle inheritance.
9609
9610 2013-04-16 Leo Liu <sdl.web@gmail.com>
9611
9612 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9613 binding to info-lookup-symbol.
9614
9615 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9616
9617 * minibuffer.el (completion--twq-all):
9618 * term/ns-win.el (ns-initialize-window-system):
9619 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9620
9621 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9622
9623 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9624 global bindings.
9625
9626 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9627
9628 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9629
9630 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9631 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9632 to nil.
9633 (ruby-end-of-defun): Remove the unused arg, change the docstring
9634 to reflect that this function is only used as the value of
9635 `end-of-defun-function'.
9636 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9637 to reflect an earlier change that beginning/end-of-defun functions
9638 jump between methods in a class definition, as well as top-level
9639 functions.
9640
9641 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9642
9643 * minibuffer.el (minibuffer-complete): Don't just scroll
9644 a *Completions* that's been iconified.
9645 (minibuffer-force-complete): Make sure repetitions do cycle when going
9646 through completion-in-region -> minibuffer-complete.
9647
9648 2013-04-15 Alan Mackenzie <acm@muc.de>
9649
9650 Correct the placement of c-cpp-delimiters when there're #s not at
9651 col 0.
9652
9653 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9654 place a submatch around the #.
9655 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9656 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9657 on the #, not BOL.
9658
9659 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9660
9661 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9662 (advice--member-p): New arg `name'.
9663 (advice--add-function, advice-member-p): Use it (bug#14202).
9664
9665 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9666
9667 Reformulate java imenu-generic-expression.
9668 The old expression contained ill formed regexps.
9669
9670 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9671 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9672 (cc-imenu-java-method-arg-regexp): New defconsts.
9673 (cc-imenu-java-build-type-args-regex): New defun.
9674 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9675 handling of spaces in the regexp.
9676
9677 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9678
9679 * textmodes/ispell.el (ispell-command-loop): Remove
9680 flyspell highlight of a word when ispell accepts it (bug #14178).
9681
9682 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9683
9684 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9685 uses code from the previous `ange-ftp-run-real-handler'.
9686 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9687 only in case that function exist. This is needed for proper
9688 unloading of Tramp.
9689
9690 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9691
9692 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9693
9694 * textmodes/reftex.el (reftex-compile-variables): Use it.
9695
9696 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9697
9698 * files.el (normal-mode): Only use default major-mode if no other mode
9699 was specified.
9700
9701 * emacs-lisp/trace.el (trace-values): New function.
9702
9703 * files.el: Allow : in local variables (bug#14089).
9704 (hack-local-variable-regexp): New var.
9705 (hack-local-variables-prop-line, hack-local-variables): Use it.
9706
9707 2013-04-13 Roland Winkler <winkler@gnu.org>
9708
9709 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9710 data before it gets modified by bibtex-beginning-of-entry.
9711
9712 2013-04-13 Roland Winkler <winkler@gnu.org>
9713
9714 * textmodes/bibtex.el (bibtex-url): Doc fix.
9715
9716 2013-04-13 Roland Winkler <winkler@gnu.org>
9717
9718 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9719 does not visit a BibTeX file, exclude it from the list of buffers
9720 returned by bibtex-initialize.
9721
9722 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9723
9724 * window.el (split-window): Remove interactive form, since as a
9725 command this function is a special case of split-window-below.
9726 Correct doc string.
9727
9728 2013-04-12 Roland Winkler <winkler@gnu.org>
9729
9730 * faces.el (read-face-name): Do not override value of arg default.
9731 Allow single faces and strings as default values. Remove those
9732 elements from return value that are not faces.
9733 (describe-face): Simplify.
9734 (face-at-point): New optional args thing and multiple so that this
9735 function can provide the same functionality previously provided by
9736 read-face-name.
9737 (make-face-bold, make-face-unbold, make-face-italic)
9738 (make-face-unitalic, make-face-bold-italic, invert-face)
9739 (modify-face, read-face-and-attribute): Use face-at-point.
9740
9741 * cus-edit.el (customize-face, customize-face-other-window)
9742 * cus-theme.el (custom-theme-add-face)
9743 * face-remap.el (buffer-face-set)
9744 * facemenu.el (facemenu-set-face): Use face-at-point.
9745
9746 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9747
9748 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9749
9750 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9751
9752 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9753 off leading { and trailing } from field values.
9754
9755 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9756
9757 * emacs-lisp/timer.el (timer--check): New function.
9758 (timer--time, timer-set-function, timer-event-handler): Use it.
9759 (timer-set-idle-time): Simplify.
9760 (timer--activate): CSE.
9761 (timer-event-handler): Give more info in error message.
9762 (internal-timer-start-idle): New function, moved from C.
9763
9764 * mpc.el (mpc-proc): Add `restart' argument.
9765 (mpc-proc-cmd): Use it.
9766 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9767 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9768 less often.
9769
9770 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9771
9772 * progmodes/sh-script.el: Implement `sh-mode' own
9773 `add-log-current-defun-function' (bug#14112).
9774 (sh-current-defun-name): New function.
9775 (sh-mode): Use the function.
9776
9777 2013-04-09 Bastien Guerry <bzg@gnu.org>
9778
9779 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9780
9781 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9782
9783 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9784
9785 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9786 timer (bug#14156).
9787
9788 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9789
9790 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9791 declaration.
9792
9793 2013-04-07 Leo Liu <sdl.web@gmail.com>
9794
9795 * pcmpl-x.el: New file.
9796
9797 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9798
9799 Do not set x-display-name until X connection is established.
9800 This is needed to prevent from weird situation described at
9801 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9802 * frame.el (make-frame): Set x-display-name after call to
9803 window system initialization function, not before.
9804 * term/x-win.el (x-initialize-window-system): Add optional
9805 display argument and use it.
9806 * term/w32-win.el (w32-initialize-window-system):
9807 * term/ns-win.el (ns-initialize-window-system):
9808 * term/pc-win.el (msdos-initialize-window-system):
9809 Add compatible optional display argument.
9810
9811 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9812
9813 * files.el (normal-backup-enable-predicate): On MS-Windows and
9814 MS-DOS compare truenames of temporary-file-directory and of the
9815 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9816 don't fail comparison by compare-strings. Also, compare file
9817 names case-insensitively on MS-Windows and MS-DOS.
9818
9819 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9820
9821 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9822 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9823
9824 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9825
9826 * whitespace.el (whitespace-color-on, whitespace-color-off):
9827 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9828
9829 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9830
9831 * ispell.el (ispell-set-spellchecker-params):
9832 Really set `ispell-args' for all equivs.
9833
9834 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9835
9836 * ido.el (ido-completions): Use extra elements of ido-decorations
9837 (bug#14143).
9838 (ido-decorations): Update docstring.
9839
9840 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9841
9842 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9843 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9844 nil during initialization, in order not to miss changes since the
9845 file was opened. (Bug#14140)
9846
9847 2013-04-05 Leo Liu <sdl.web@gmail.com>
9848
9849 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9850
9851 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9852
9853 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9854
9855 2013-04-04 Glenn Morris <rgm@gnu.org>
9856
9857 * electric.el (electric-pair-inhibit-predicate): Add :version.
9858
9859 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9860
9861 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9862 when a package is required several times (bug#14082).
9863
9864 2013-04-04 Roland Winkler <winkler@gnu.org>
9865
9866 * faces.el (read-face-name): Behave as promised by the docstring.
9867 Assume that arg default is a list of faces.
9868 (describe-face): Call read-face-name with list of default faces.
9869
9870 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9871
9872 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9873 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9874 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9875 the header.
9876 (bookmark-exit-hook-internal): Save even if list is empty.
9877
9878 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9879
9880 * emacs-lisp/package.el (package-pinned-packages): New var.
9881 (package--add-to-archive-contents): Obey it (bug#14118).
9882
9883 2013-04-03 Alan Mackenzie <acm@muc.de>
9884
9885 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9886 Also adapt to the new values of element 7 of a parse state.
9887
9888 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9889 parameter `not-in-delimiter'. Handle being inside comment opener.
9890 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9891 character in case we're typing a '*' after a '/'.
9892 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9893 instead by passing the parameter to c-state-pp-to-literal.
9894
9895 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9896 for elt. 7 of a parse state.
9897
9898 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9899
9900 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9901 * international/latin1-disp.el, international/mule-util.el:
9902 * language/cyril-util.el, language/european.el, language/ind-util.el:
9903 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9904 * language/tibetan.el, language/viet-util.el:
9905 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9906
9907 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9908
9909 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9910 (electric-pair-post-self-insert-function): Use it.
9911 (electric-pair-default-inhibit): New function, extracted from
9912 electric-pair-post-self-insert-function.
9913
9914 2013-03-31 Roland Winkler <winkler@gnu.org>
9915
9916 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9917
9918 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9919
9920 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9921
9922 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9923
9924 Un-indent after "pass" and "return" statements (Bug#13888)
9925 * progmodes/python.el (python-indent-block-enders): New var.
9926 (python-indent-calculate-indentation): Use it.
9927
9928 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9929
9930 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9931 defun. Defining it as defalias could introduce too eager
9932 byte-compiler optimization. (Bug#14030)
9933
9934 2013-03-30 Chong Yidong <cyd@gnu.org>
9935
9936 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9937
9938 2013-03-30 Leo Liu <sdl.web@gmail.com>
9939
9940 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9941 (kmacro-execute-from-register): Pass the keyboard macro to
9942 kmacro-call-macro or repeating won't work correctly.
9943
9944 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9945
9946 * progmodes/subword.el: Back to using `forward-symbol'.
9947
9948 * subr.el (forward-whitespace, forward-symbol)
9949 (forward-same-syntax): Move from thingatpt.el.
9950
9951 2013-03-29 Leo Liu <sdl.web@gmail.com>
9952
9953 * kmacro.el (kmacro-to-register): New command.
9954 (kmacro-execute-from-register): New function.
9955 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9956
9957 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9958
9959 * mpc.el: Use defvar-local and setq-local.
9960 (mpc--proc-connect): Connection failures are not bugs.
9961 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9962 (mpc-volume-map): Bind to the up-events.
9963
9964 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9965
9966 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9967 instead of `forward-symbol'.
9968
9969 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9970
9971 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9972 (edebug--recursive-edit): Use it.
9973 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9974 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9975
9976 2013-03-28 Leo Liu <sdl.web@gmail.com>
9977
9978 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9979
9980 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9981
9982 * facemenu.el (list-colors-callback): New defvar.
9983 (list-colors-redisplay): New function.
9984 (list-colors-display): Install list-colors-redisplay as the
9985 revert-buffer-function. (Bug#14063)
9986
9987 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9988
9989 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9990 and suffixes don't overlap (bug#14061).
9991
9992 * case-table.el: Use lexical-binding.
9993 (case-table-get-table): New function.
9994 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9995
9996 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9997
9998 * progmodes/subword.el: Add `superword-mode' to do word motion
9999 over symbol_words (parallels and leverages `subword-mode' which
10000 does word motion inside MixedCaseWords).
10001
10002 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10003
10004 * eshell/em-unix.el: Move su and sudo to...
10005 * eshell/em-tramp.el: ...Eshell tramp module.
10006
10007 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10008
10009 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10010 Change return value to be a sexp. Delay `get-buffer' to after
10011 restoring the desktop (bug#13951).
10012
10013 2013-03-26 Leo Liu <sdl.web@gmail.com>
10014
10015 * register.el: Move semantic tag handling back to
10016 cedet/semantic/senator.el. (Bug#14052)
10017
10018 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10019
10020 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10021 into the prompt either (bug#13963).
10022
10023 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10024
10025 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10026 part of "(error-foo)".
10027
10028 2013-03-24 Juri Linkov <juri@jurta.org>
10029
10030 * replace.el (list-matching-lines-prefix-face): New defcustom.
10031 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10032 `occur-engine' if `face-differs-from-default-p' returns t.
10033 (occur-engine): Add `,' inside backquote construct to evaluate
10034 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10035 Pass `prefix-face' to the functions `occur-context-lines' and
10036 `occur-engine-add-prefix'.
10037 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10038 `prefix-face' and propertize the prefix with `prefix-face'.
10039 (Bug#14017)
10040
10041 2013-03-24 Leo Liu <sdl.web@gmail.com>
10042
10043 * nxml/rng-valid.el (rng-validate-while-idle)
10044 (rng-validate-quick-while-idle): Guard against deleted buffer.
10045 (Bug#13999)
10046
10047 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10048 is the last entry in kill-buffer-hook.
10049
10050 * files.el (kill-buffer-hook): Doc fix.
10051
10052 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10053
10054 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10055 Make it safe-local.
10056
10057 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10058
10059 2013-03-23 Leo Liu <sdl.web@gmail.com>
10060
10061 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10062 Remove.
10063
10064 * nxml/rng-valid.el (rng-validate-mode)
10065 (rng-after-change-function, rng-do-some-validation):
10066 * nxml/rng-maint.el (rng-validate-buffer):
10067 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10068 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10069 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10070 (nxml-extend-after-change-region): Use with-silent-modifications.
10071
10072 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10073 timer-idle-list.
10074
10075 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10076 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10077 timer-idle-list. (Bug#13999)
10078
10079 2013-03-23 Juri Linkov <juri@jurta.org>
10080
10081 * info.el (info-index-match): New face.
10082 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10083 main pattern and add text properties with the new face to matches
10084 in index entries relative to the beginning of the index entry.
10085 (Bug#14015)
10086
10087 2013-03-21 Eric Ludlam <zappo@gnu.org>
10088
10089 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10090 Inhibit read only while inserting objects.
10091
10092 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10093
10094 * progmodes/cfengine.el: Update docs to mention
10095 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10096 symbol motion. Remove "_" from the word syntax.
10097
10098 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10099
10100 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10101 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10102
10103 2013-03-20 Juri Linkov <juri@jurta.org>
10104
10105 * info.el (Info-next-reference-or-link)
10106 (Info-prev-reference-or-link): New functions.
10107 (Info-next-reference, Info-prev-reference): Use them.
10108 (Info-try-follow-nearest-node): Handle footnote navigation.
10109 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10110
10111 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10112
10113 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10114 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10115
10116 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10117
10118 Suppress unnecessary non-ASCII chatter during build process.
10119 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10120 (batch-skkdic-convert): Suppress most of the chatter.
10121 It's not needed so much now that machines are faster,
10122 and its non-ASCII component was confusing; see Dmitry Gutov in
10123 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10124
10125 2013-03-20 Leo Liu <sdl.web@gmail.com>
10126
10127 * ido.el (ido-chop): Fix bug#10994.
10128
10129 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10130
10131 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10132 Remove vars.
10133 (whitespace-color-on, whitespace-color-off):
10134 Use `font-lock-fontify-buffer' (Bug#13817).
10135
10136 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10137
10138 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10139 remapping in mode-line.
10140 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10141
10142 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10143
10144 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10145 value for `whitespace-line' face (Bug#13875).
10146 (whitespace-font-lock-keywords): Change description.
10147 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10148 the constructed keywords instead.
10149 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10150
10151 2013-03-19 Leo Liu <sdl.web@gmail.com>
10152
10153 * progmodes/compile.el (compilation-display-error): New command.
10154 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10155 C-o. (Bug#13992)
10156
10157 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10158
10159 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10160
10161 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10162
10163 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10164
10165 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10166
10167 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10168
10169 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10170 * net/tramp-gvfs.el (top):
10171 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10172 (tramp-handle-shell-command): Use it.
10173 (tramp-dissect-file-name): Raise an error when hostname is a
10174 method name, and neither method nor user is specified.
10175
10176 * net/trampver.el: Update release number.
10177
10178 2013-03-18 Leo Liu <sdl.web@gmail.com>
10179
10180 Make sure eldoc can be turned off properly.
10181 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10182 eldoc-mode.
10183 (eldoc-display-message-p): Revert last change.
10184 (eldoc-display-message-no-interference-p)
10185 (eldoc-print-current-symbol-info): Tweak.
10186
10187 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10188
10189 * doc-view.el (doc-view-new-window-function): Check the new window
10190 overlay's display property instead the char property of the
10191 buffer's first char. Use `with-selected-window' instead of
10192 `save-window-excursion' with `select-window'.
10193 (doc-view-document->bitmap): Check the current doc-view overlay's
10194 display property instead the char property of the buffer's first char.
10195
10196 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10197
10198 Automate the build of ja-dic.el (Bug#13984).
10199 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10200 from the input, rather than assume that it's been done for us by the
10201 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10202 the current date into a ja-dic.el comment, as that complicates
10203 regression testing.
10204
10205 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10206
10207 * whitespace.el: Fix double evaluation.
10208 (whitespace-space, whitespace-hspace, whitespace-tab)
10209 (whitespace-newline, whitespace-trailing, whitespace-line)
10210 (whitespace-space-before-tab, whitespace-indentation)
10211 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10212 obsolete defvars.
10213 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10214 (whitespace-color-on): Use a single font-lock-add-keywords call.
10215 Fix double-evaluation of face variables.
10216
10217 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10218
10219 * net/tramp-adb.el (tramp-adb-parse-device-names):
10220 Use `start-process' instead of `call-process'. Otherwise, the
10221 function might be blocked under MS Windows. (Bug#13299)
10222
10223 2013-03-17 Leo Liu <sdl.web@gmail.com>
10224
10225 Extend eldoc to display info in the mode-line. (Bug#13978)
10226 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10227 (eldoc-mode-line-string): New variable.
10228 (eldoc-minibuffer-message): New function.
10229 (eldoc-message-function): New variable.
10230 (eldoc-message): Use it.
10231 (eldoc-display-message-p)
10232 (eldoc-display-message-no-interference-p):
10233 Support eldoc-post-insert-mode.
10234
10235 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10236 (eval-expression): Run it.
10237
10238 2013-03-17 Roland Winkler <winkler@gnu.org>
10239
10240 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10241 strings in the list of return values.
10242
10243 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10244
10245 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10246 radix before checking for HMS forms.
10247
10248 2013-03-16 Leo Liu <sdl.web@gmail.com>
10249
10250 * progmodes/scheme.el: Add indentation and font-locking for λ.
10251 (Bug#13975)
10252
10253 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10254
10255 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10256 token before point (bug#13942).
10257
10258 2013-03-16 Leo Liu <sdl.web@gmail.com>
10259
10260 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10261
10262 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10263
10264 * startup.el (command-line-normalize-file-name): Fix handling of
10265 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10266 <xfq.free@gmail.com> in
10267 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10268
10269 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10270
10271 Sync with Tramp 2.2.7.
10272
10273 * net/trampver.el: Update release number.
10274
10275 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10276
10277 * doc-view.el: Fix bug#13887.
10278 (doc-view-insert-image): Don't modify overlay associated to
10279 non-live windows, and implement horizontal centering of image in
10280 case it's smaller than the window.
10281 (doc-view-new-window-function): Force redisplay of new windows on
10282 doc-view buffers.
10283
10284 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10285
10286 * saveplace.el (save-place-alist-to-file): Don't sort
10287 `save-place-alist', just pretty-print it (bug#13882).
10288
10289 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10290
10291 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10292 Check whether `default-file-name-coding-system' is bound.
10293 It isn't in XEmacs.
10294
10295 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10296
10297 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10298 backquotes for `obsolete' (bug#13929).
10299
10300 * international/mule.el (find-auto-coding): Include file name in
10301 obsolescence warning (bug#13922).
10302
10303 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10304
10305 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10306 for CFEngine 3-specific indentation.
10307 (cfengine3-indent-line): Use it. Fix up category regex.
10308 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10309
10310 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10311
10312 * type-break.el (type-break-file-name):
10313 * textmodes/remember.el (remember-data-file):
10314 * strokes.el (strokes-file):
10315 * shadowfile.el (shadow-initialize):
10316 * saveplace.el (save-place-file):
10317 * ps-bdf.el (bdf-cache-file):
10318 * progmodes/idlwave.el (idlwave-config-directory):
10319 * net/quickurl.el (quickurl-url-file):
10320 * international/kkc.el (kkc-init-file-name):
10321 * ido.el (ido-save-directory-list-file):
10322 * emulation/viper.el (viper-custom-file-name):
10323 * emulation/vip.el (vip-startup-file):
10324 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10325 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10326
10327 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10328
10329 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10330 * language/thai-word.el: Switch to UTF-8.
10331
10332 See ChangeLog.16 for earlier changes.
10333
10334 ;; Local Variables:
10335 ;; coding: utf-8
10336 ;; End:
10337
10338 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10339
10340 This file is part of GNU Emacs.
10341
10342 GNU Emacs is free software: you can redistribute it and/or modify
10343 it under the terms of the GNU General Public License as published by
10344 the Free Software Foundation, either version 3 of the License, or
10345 (at your option) any later version.
10346
10347 GNU Emacs is distributed in the hope that it will be useful,
10348 but WITHOUT ANY WARRANTY; without even the implied warranty of
10349 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10350 GNU General Public License for more details.
10351
10352 You should have received a copy of the GNU General Public License
10353 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.