* lisp/simple.el (newline): Mention `electric-indent-mode'.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4
5 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6
7 * net/eww.el (eww-form-checkbox-selected-symbol)
8 (eww-form-checkbox-symbol): New customizable variable.
9 (eww-form-checkbox, eww-toggle-checkbox):
10 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
11
12 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
13 (shr--get-media-pref, shr--extract-best-source): New function.
14 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15 no :src tag was specified.
16
17 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
18 (eww-render): Handle `eww-use-external-browser-for-content-type'.
19 Use \\` to match beginning of string instead of ^.
20 (eww-browse-with-external-browser): Provide optional URL parameter.
21 (eww-render): Set `eww-current-title' back to "".
22
23 * net/shr.el (shr-tag-video): Display content for video if no
24 poster is available.
25 (shr-tag-audio): Add support for <audio> tag.
26
27 * net/eww.el (eww-text-input-types): : New const.
28 (eww-process-text-input): Treat input types in
29 `eww-text-input-types' as text.
30
31 * net/shr.el (shr-tag-table): Fix comment typo.
32
33 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
34
35 * net/eww.el (eww-follow-link): New command to avoid reloading
36 pages when we follow #target links (bug#15243).
37 (eww-quit): Special mode buffers shouldn't query before exiting.
38
39 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
40
41 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
42 forms.
43
44 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
45
46 * net/eww.el (eww-restore-history): Update the window title after
47 moving in the history.
48 (eww-current-dom): New variable used to save the current DOM.
49
50 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
51
52 * vc/log-edit.el (log-edit-mode-map): Add binding for
53 `log-edit-beginning-of-line'.
54 (log-edit-setup-add-author): New user option.
55 (log-edit-beginning-of-line): New command.
56 (log-edit): Move major mode call above the contents setup so that
57 the local variable values are already applied.
58 (log-edit): Only insert "Author: " when
59 `log-edit-setup-add-author' is non-nil.
60 (log-edit): When SETUP is non-nil, position point after ": "
61 instead of point-min.
62
63 2013-12-01 Glenn Morris <rgm@gnu.org>
64
65 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
66
67 2013-11-30 Eli Zaretskii <eliz@gnu.org>
68
69 * startup.el (fancy-splash-frame): On MS-Windows, trigger
70 redisplay to make sure the initial frame gets a chance to become
71 visible. (Bug#16014)
72
73 2013-11-30 Martin Rudalics <rudalics@gmx.at>
74
75 Support resizing frames and windows pixelwise.
76 * cus-start.el (frame-resize-pixelwise)
77 (window-resize-pixelwise): New entries.
78 * emacs-lisp/debug.el (debug): Use window-total-height instead
79 of window-total-size.
80 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
81 * help.el (describe-bindings-internal): Call help-buffer
82 (temp-buffer-max-width): New option.
83 (resize-temp-buffer-window, help-window-setup)
84 (with-help-window): Rewrite.
85 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
86 dragging dividers.
87 * window.el (frame-char-size, window-min-pixel-height)
88 (window-safe-min-pixel-height, window-safe-min-pixel-width)
89 (window-min-pixel-width, window-safe-min-pixel-size)
90 (window-combination-p, window-safe-min-size)
91 (window-resizable-p, window--size-to-pixel)
92 (window--pixel-to-size, window--resize-apply-p): New functions.
93 (window-safe-min-height): Fix doc-string.
94 (window-size, window-min-size, window--min-size-1)
95 (window-sizable, window-sizable-p, window--min-delta-1)
96 (window-min-delta, window--max-delta-1, window-max-delta)
97 (window--resizable, window--resizable-p, window-resizable)
98 (window-full-height-p, window-full-width-p, window-at-side-p)
99 (window--in-direction-2, window-in-direction)
100 (window--resize-reset-1, window--resize-mini-window)
101 (window-resize, window-resize-no-error)
102 (window--resize-child-windows-normal)
103 (window--resize-child-windows, window--resize-siblings)
104 (window--resize-this-window, window--resize-root-window)
105 (window--resize-root-window-vertically)
106 (adjust-window-trailing-edge, enlarge-window, shrink-window)
107 (maximize-window, minimize-window, delete-window)
108 (quit-restore-window, window-split-min-size, split-window)
109 (balance-windows-2, balance-windows)
110 (balance-windows-area-adjust, balance-windows-area)
111 (window--state-get-1, window-state-get, window--state-put-1)
112 (window--state-put-2, window-state-put)
113 (display-buffer-record-window, window--display-buffer):
114 Make functions handle pixelwise sizing of windows.
115 (display-buffer--action-function-custom-type)
116 (display-buffer-fallback-action):
117 Add display-buffer-in-previous-window.
118 (display-buffer-use-some-window): Resize window to height it had
119 before.
120 (fit-window-to-buffer-horizontally): New option.
121 (fit-frame-to-buffer): Describe new values.
122 (fit-frame-to-buffer-bottom-margin): Replace with
123 fit-frame-to-buffer-margins.
124 (window--sanitize-margin): New function.
125 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
126 using window-text-pixel-size.
127
128 2013-11-30 Glenn Morris <rgm@gnu.org>
129
130 * emacs-lisp/bytecomp.el (byte-compile-form):
131 Make the `interactive-only' warning like the `obsolete' one.
132 * comint.el (comint-run):
133 * files.el (insert-file-literally, insert-file):
134 * replace.el (replace-string, replace-regexp):
135 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
136 (goto-line, insert-buffer, next-line, previous-line):
137 Tweak `interactive-only' spec.
138
139 Stop keeping (most) generated cedet grammar files in the repository.
140 * Makefile.in (semantic): New.
141 (compile-main): Depend on semantic.
142
143 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
146 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
147
148 * uniquify.el (uniquify-buffer-name-style): Change default.
149
150 * loadup.el: Preload "uniquify".
151
152 * time.el (display-time-update): Update all mode lines (bug#15999).
153
154 * electric.el (electric-indent-mode): Enable by default.
155 * loadup.el: Preload "electric".
156
157 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
158
159 * emacs-lisp/helpers.el (string-empty-p): New function.
160 (string-blank-p): New function.
161
162 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
163
164 * imenu.el (imenu--index-alist): Add missing dot to the docstring
165 (Bug#14029).
166
167 2013-11-29 Andreas Politz <politza@fh-trier.de>
168 * imenu.el (imenu--subalist-p): Don't error on non-conses and
169 allow non-lambda lists as functions.
170 (imenu--in-alist): Don't recurse into non-subalists.
171 (imenu): Don't pass function itself as an argument (Bug#14029).
172
173 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * progmodes/python.el (python-mode-map): Remove binding for ":".
176 (python-indent-electric-colon): Remove command.
177 (python-indent-post-self-insert-function): Integrate the previous code
178 of python-indent-electric-colon. Make it conditional on
179 electric-indent-mode.
180 (python-mode): Add ?: to electric-indent-chars.
181 Move python-indent-post-self-insert-function to the end of
182 post-self-insert-hook.
183
184 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
185
186 * doc-view.el (doc-view-goto-page): Update mode-line.
187
188 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
189
190 2013-11-27 Glenn Morris <rgm@gnu.org>
191
192 * international/charprop.el, international/uni-bidi.el:
193 * international/uni-category.el, international/uni-combining.el:
194 * international/uni-comment.el, international/uni-decimal.el:
195 * international/uni-decomposition.el, international/uni-digit.el:
196 * international/uni-lowercase.el, international/uni-mirrored.el:
197 * international/uni-name.el, international/uni-numeric.el:
198 * international/uni-old-name.el, international/uni-titlecase.el:
199 * international/uni-uppercase.el:
200 Remove generated files from VCS repository.
201
202 2013-11-27 Eli Zaretskii <eliz@gnu.org>
203
204 * filenotify.el (file-notify-add-watch): Don't special-case
205 w32notify when computing the directory to watch.
206
207 2013-11-27 Glenn Morris <rgm@gnu.org>
208
209 Make bootstrap without generated uni-*.el files possible again.
210 * loadup.el: Update command-line-args checking for unidata-gen.
211 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
212 * composite.el, international/characters.el:
213 Handle unicode tables being undefined.
214
215 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
216 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
217 (compile-main): Depend on leim rule.
218 (leim): New rule.
219 * loadup.el: Move leim-list.el to leim/ subdirectory.
220 * startup.el (normal-top-level): No more leim directory.
221 * international/ja-dic-cnv.el (skkdic-convert):
222 Disable version-control and autoloads in output files.
223 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
224 Disable version-control and autoloads in output files.
225 * leim/quail: Move here from ../leim.
226 * leim/quail/hangul.el (hangul-input-method-activate):
227 Add autoload cookie.
228 (generated-autoload-load-name): Set file-local value.
229 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
230 (generated-autoload-load-name): Set file-local value.
231
232 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
233
234 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
235 (eww-add-bookmark): ask confirmation when add to bookmarks
236 (eww-quit): ask confirmation before quitting eww
237
238 2013-11-26 Eli Zaretskii <eliz@gnu.org>
239
240 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
241 reading output from Diff on MS-Windows and MS-DOS.
242
243 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
244
245 * emacs-lisp/helpers.el (string-reverse): New function.
246
247 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
248
249 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
250 names on MS Windows, like "/[::1]:".
251
252 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
253 SWITCHES.
254
255 2013-11-26 Glenn Morris <rgm@gnu.org>
256
257 * progmodes/python.el (python-indent-guess-indent-offset):
258 Avoid corner-case error. (Bug#15975)
259
260 Preload leim-list.el. (Bug#4789)
261 * loadup.el: Load leim-list.el when found.
262 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
263
264 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
265
266 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
267
268 * emacs-lisp/helpers.el (string-join): New function.
269
270 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
271
272 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
273 Mark as obsolete and replace it with a symbol property.
274 (byte-compile-form): Use new 'interactive-only property.
275 * comint.el, files.el, replace.el, simple.el:
276 Apply new 'interactive-only properly.
277
278 2013-11-25 Martin Rudalics <rudalics@gmx.at>
279
280 * window.el (display-buffer-at-bottom): Make sure that
281 split-window-sensibly creates the new window on bottom
282 (Bug#15961).
283
284 2013-11-23 David Kastrup <dak@gnu.org>
285
286 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
287 on the conflict markers when available.
288 (smerge--get-marker): New function.
289 (smerge-end-re, smerge-base-re): Add subgroup.
290
291 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
292
293 * frame.el (handle-focus-in, handle-focus-out): Add missing
294 interactive spec.
295
296 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
297
298 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
299 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
300
301 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
302
303 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
304 (gomoku--last-pos): New var.
305 (gomoku--intangible-chars): New const.
306 (gomoku--intangible): New function.
307 (gomoku-mode): Use it. Derive from special-mode.
308 (gomoku-move-up): Adjust line count.
309 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
310 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
311 Simplify accordingly.
312
313 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
314 Remove blink-cursor code.
315 (blink-cursor-timer-function, blink-cursor-suspend):
316 Don't special-case GUIs.
317 (blink-cursor-mode): Use focus-in/out-hook.
318
319 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
320
321 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
322 work when annotation is invisible (Bug#13886).
323
324 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
325
326 * json.el (json-alist-p): Only return non-nil if the alist has
327 simple keys (Bug#13518).
328
329 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
330
331 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
332 when control-statement is the first statement in a buffer (Bug#15956).
333
334 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
335
336 * imenu.el (imenu-generic-skip-comments-and-strings):
337 New option (Bug#15560).
338 (imenu--generic-function): Use it.
339
340 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
341
342 * minibuffer.el (completion--in-region-1): Scroll the correct
343 window. (Bug#13898)
344
345 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
346
347 * emacs-lisp/helpers.el: Add some string helpers.
348 (string-trim-left): Removes leading whitespace.
349 (string-trim-right): Removes trailing whitespace.
350 (string-trim): Removes leading and trailing whitespace.
351
352 * subr.el (string-suffix-p): New function.
353
354 2013-11-23 Glenn Morris <rgm@gnu.org>
355
356 * progmodes/python.el (python-shell-send-file):
357 Add option to delete file when done. (Bug#15647)
358 (python-shell-send-string, python-shell-send-region): Use it.
359
360 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
361
362 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
363 to set buffer-read-only to t, never to nil. (Bug#15938)
364
365 * textmodes/tex-mode.el (latex-noindent-environments):
366 Add safe-local-variable property. (Bug#15936)
367
368 2013-11-23 Glenn Morris <rgm@gnu.org>
369
370 * textmodes/enriched.el (enriched-mode): Doc fix.
371 * emacs-lisp/authors.el (authors-renamed-files-alist):
372 Add enriched.doc -> enriched.txt.
373
374 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
375
376 2013-11-22 Leo Liu <sdl.web@gmail.com>
377
378 * progmodes/octave.el (inferior-octave-startup): Spit out error
379 message.
380
381 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
382
383 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
384 Improve docstring.
385 Add :version.
386 (ruby-encoding-magic-comment-style): Add :version.
387
388 2013-11-22 Leo Liu <sdl.web@gmail.com>
389
390 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
391 (Bug#15076)
392 (octave-help-mode): Adapt to change to help-mode-finish to use
393 derived-mode-p on 2013-09-17.
394 (inferior-octave-prompt): Also match octave-gui.
395 (octave-kill-process): Don't ask twice. (Bug#10564)
396
397 2013-11-22 Leo Liu <sdl.web@gmail.com>
398
399 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
400 (inferior-octave-startup, inferior-octave-check-process)
401 (inferior-octave-track-window-width-change)
402 (octave-completion-at-point, octave-eldoc-function): Use it.
403 (octave-kill-process): Provide confirmation. (Bug#10564)
404
405 2013-11-21 Leo Liu <sdl.web@gmail.com>
406
407 * progmodes/octave.el (octave-mode, inferior-octave-mode):
408 Fix obsolete variable comment-use-global-state.
409
410 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
411
412 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
413 Add `octave-source-file'.
414 (octave-source-file): New function. (Bug#15935)
415
416 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
417
418 * net/eww.el (eww-local-regex): New variable.
419 (eww): Use it to detect localhost and similar.
420
421 2013-11-21 Leo Liu <sdl.web@gmail.com>
422
423 Add completion for command `ag'.
424 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
425 (pcomplete/ag): New function.
426 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
427
428 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
429
430 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
431 (bug#14646).
432 (make-obsolete): Remove interactive spec.
433
434 2013-11-21 Glenn Morris <rgm@gnu.org>
435
436 * startup.el (command-line-1): Use path-separator with -L.
437
438 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
439
440 * emacs-lisp/package.el (describe-package-1): Add package archive
441 to shown fields.
442
443 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
444
445 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
446 Change default to "# encoding: %s" to differentiate it from the
447 default Ruby encoding comment template.
448
449 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
450
451 * ses.el (ses-mode): Doc fix. (Bug#14748)
452
453 2013-11-20 Leo Liu <sdl.web@gmail.com>
454
455 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
456
457 2013-11-19 Dan Nicolaescu <dann@gnu.org>
458
459 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
460 when rebase or bisect are in progress.
461
462 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
463
464 * filenotify.el (file-notify-add-watch): Doc fix.
465
466 2013-11-19 Leo Liu <sdl.web@gmail.com>
467
468 * obsolete/rcompile.el: Mark obsolete.
469
470 * progmodes/compile.el (compilation-start)
471 (compilation-goto-locus, compilation-find-file):
472 Pass no-display-ok and handle nil value from display-buffer.
473 (Bug#13594)
474
475 * window.el (display-buffer-alist, display-buffer): Document the
476 new parameter no-display-ok.
477
478 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * electric.el (electric-indent-mode-map): Remove.
481 (electric-indent-mode): Change the global-map instead (bug#15915).
482
483 * textmodes/text-mode.el (paragraph-indent-minor-mode):
484 Use add-function.
485
486 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
487
488 * emacs-lisp/nadvice.el (remove-function): Align with
489 add-function's behavior.
490
491 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
492 (gdb--string-regexp): New constant.
493 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
494 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
495 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
496 submatch 1.
497 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
498 Adjust use accordingly.
499 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
500
501 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
502
503 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
504 interpolation curlies (Bug#15914).
505
506 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
507
508 * calc/calc.el (calc-context-sensitive-enter): New variable.
509 (calc-enter): Use `calc-context-sensitive-enter'.
510
511 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
512
513 * progmodes/cfengine.el: Version bump.
514 (cfengine-cf-promises): New defcustom to locate cf-promises.
515 (cfengine3-vartypes): Add new "data" type.
516 (cfengine3--current-word): New function to get current name-like
517 word or its bounds.
518 (cfengine3--current-function): New function to look up a CFEngine
519 function's definition.
520 (cfengine3-format-function-docstring): New function.
521 (cfengine3-make-syntax-cache): New function.
522 (cfengine3-documentation-function): New function: ElDoc glue.
523 (cfengine3-completion-function): New function: completion glue.
524 (cfengine3-mode): Set `compile-command',
525 `eldoc-documentation-function', and add to
526 `completion-at-point-functions'.
527
528 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
529
530 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
531 `tramp-current-connection'.
532
533 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
534
535 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
536 nil/self/true/false with "end of symbol".
537
538 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
539
540 * subr.el (version-regexp-alist): Fix a typo.
541
542 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
543
544 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
545 "en_US.utf8" and "LC_CTYPE" to "".
546 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
547 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
548
549 2013-11-15 Leo Liu <sdl.web@gmail.com>
550
551 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
552
553 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * progmodes/gud.el (ctl-x-map):
556 Remove C-x SPC binding. (Bug#12342)
557 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
558
559 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
560
561 * subr.el (version-regexp-alist):
562 Recognize hg, svn and darcs versions as snapshot versions.
563
564 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
565 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
566 (ruby--encoding-comment-required-p): Extract from
567 `ruby-mode-set-encoding'.
568 (ruby-mode-set-encoding): Add the ability to always insert an
569 utf-8 encoding comment. Fix and simplify coding comment update
570 logic.
571
572 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
573
574 * net/tramp-gvfs.el (top): Run init code only when
575 `tramp-gvfs-enabled' is not nil.
576 (tramp-gvfs-enabled): Check also :system bus.
577
578 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
579
580 Sync with upstream verilog-mode revision 78e66ba.
581 * progmodes/verilog-mode.el (verilog-end-of-defun)
582 (verilog-type-completion, verilog-get-list): Remove unused funcs.
583 (verilog-get-end-of-defun): Remove unused argument.
584 (verilog-comment-depth): Remove unused local `e'.
585 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
586 Don't pass arg to verilog-get-end-of-defun.
587
588 2013-11-14 Glenn Morris <rgm@gnu.org>
589
590 * obsolete/assoc.el (aget): Prefix dynamic variable.
591
592 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
593
594 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
595
596 * widget.el, hfy-cmap.el: Remove bogus package version number.
597
598 2013-11-13 Glenn Morris <rgm@gnu.org>
599
600 * replace.el (replace-eval-replacement):
601 Try to give more helpful error message. (Bug#15836)
602
603 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
604 (archive-7z-update): Avoid custom type mismatches.
605
606 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
607
608 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
609
610 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
611 address can be empty.
612
613 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
614 Accept nil SWITCHES.
615 (tramp-gvfs-handle-write-region): Implement APPEND.
616
617 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
618
619 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
620 binary "|" operator and closing block args delimiter.
621 Remove FIXME comment referring to Ruby 1.8-only syntax.
622 (ruby-smie--implicit-semi-p): Not after "|" operator.
623 (ruby-smie--closing-pipe-p): New function.
624 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
625 (ruby-smie-rules): Indent after "|".
626
627 2013-11-12 Glenn Morris <rgm@gnu.org>
628
629 * ps-print.el (ps-face-attribute-list):
630 Handle anonymous faces. (Bug#15827)
631
632 2013-11-12 Martin Rudalics <rudalics@gmx.at>
633
634 * window.el (display-buffer-other-frame): Fix doc-string.
635 (Bug#15868)
636
637 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
638
639 * subr.el (force-mode-line-update): Delete, move to buffer.c.
640
641 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
642
643 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
644 (tramp-sh-handle-file-local-copy): Don't write a message when
645 saving temporary files.
646
647 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
648 both directories are remote.
649 (tramp-smb-handle-directory-files): Do not return double entries.
650 Do not expand full file names.
651 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
652 (tramp-smb-handle-write-region): Implement APPEND.
653 (tramp-smb-get-stat-capability): Fix a stupid bug.
654
655 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
656
657 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
658
659 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
660
661 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
662 throwing error over malformed let/let* (bug#15814).
663
664 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
665
666 * iswitchb.el (iswitchb-mode): Mark obsolete.
667
668 2013-11-11 Glenn Morris <rgm@gnu.org>
669
670 * international/uni-bidi.el, international/uni-category.el:
671 * international/uni-name.el, international/uni-numeric.el:
672 Regenerate for Unicode 6.3.0.
673
674 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
675
676 * net/tramp.el (tramp-methods):
677 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
678 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
679
680 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
681
682 * progmodes/sh-script.el (sh-font-lock-keywords-var):
683 Force highlighting text after Summary keyword in doc face for rpm.
684
685 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
686
687 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
688 available and the word has no wildcards, append one to the grep pattern.
689 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
690 (ispell-complete-word): Call `ispell-lookup-words' with the value
691 independent of `ispell-look-p'.
692
693 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
694
695 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
696 Not after "||".
697 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
698 their parent.
699
700 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
701
702 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
703 (ruby-font-lock-keywords): Use backquote.
704
705 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
706
707 * progmodes/ruby-mode.el (ruby-smie--forward-token)
708 (ruby-smie--backward-token): Only consider full-string matches.
709
710 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
711
712 * faces.el (describe-face): Add distant-foreground.
713
714 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
715
716 * progmodes/ruby-mode.el: Improve encoding comment handling.
717 (ruby-encoding-magic-comment-style): New option.
718 (ruby-custom-encoding-magic-comment-template): New option.
719 (ruby--insert-coding-comment, ruby--detect-encoding):
720 New functions extracted from `ruby-mode-set-encoding'.
721 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
722 to control the style of the auto-inserted encoding comment.
723
724 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
725
726 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
727 Use `smie-backward-sexp' with token argument.
728
729 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
730
731 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
732 Remove instrumentation code.
733
734 2013-11-08 Glenn Morris <rgm@gnu.org>
735
736 * progmodes/autoconf.el (autoconf-mode):
737 Tweak comment-start-skip. (Bug#15822)
738
739 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
742 at bobp (bug#15826).
743 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
744
745 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
746
747 * man.el (Man-start-calling): New macro, extracted from
748 Man-getpage-in-background.
749 (Man-getpage-in-background): Use it.
750 (Man-update-manpage): New command.
751 (Man-mode-map): Bind it.
752
753 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
754
755 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
756 of "and", "or", "&&" and "||".
757 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
758 argument. Prohibit opening curly brace because it could only be a
759 block opener in that position.
760 (ruby-smie--forward-token, ruby-smie--backward-token):
761 Separate "|" from "&" or "*" going after it. That can happen in block
762 arguments.
763 (ruby-smie--indent-to-stmt): New function, seeks the end of
764 previous statement or beginning of buffer.
765 (ruby-smie-rules): Use it.
766 (ruby-smie-rules): Check if there's a ":" before a curly block
767 opener candidate; if there is, it's a hash.
768
769 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
770
771 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
772 (cl--block-wrapper): Fix last accidental change.
773
774 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
775
776 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
777 Instrument, in order to hunt failure on hydra.
778
779 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
780
781 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
782 malformed bindings form (bug#15814).
783
784 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
785
786 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
787 "." compared to " @ ". This incidentally fixes some indentation
788 examples with "do".
789 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
790 (ruby-smie-grammar): New tokens: "and" and "or".
791 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
792 Exclude "and" and "or". Remove "do" in order to work around token
793 priorities.
794 (ruby-smie-rules): Add all infix tokens. Handle the case of
795 beginning-of-buffer.
796
797 2013-11-06 Glenn Morris <rgm@gnu.org>
798
799 * Makefile.in (setwins_almost, setwins_for_subdirs):
800 Avoid accidental matches.
801
802 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * menu-bar.el (popup-menu): Use key-binding.
805
806 2013-11-06 Eli Zaretskii <eliz@gnu.org>
807
808 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
809 menus, support also the menus produced by minor modes.
810 (Bug#15817)
811
812 2013-11-06 Leo Liu <sdl.web@gmail.com>
813
814 * thingatpt.el (thing-at-point-looking-at): Add optional arg
815 DISTANCE to bound the search. All uses changed. (Bug#15808)
816
817 2013-11-06 Glenn Morris <rgm@gnu.org>
818
819 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
820 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
821 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
822
823 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * electric.el (electric-indent-just-newline): New command.
826 (electric-indent-mode-map): New keymap.
827 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
828 Re-add :group which weren't redundant.
829
830 * electric.el (electric-indent-local-mode): New minor mode.
831 (electric-indent-functions-without-reindent): New var.
832 (electric-indent-post-self-insert-function): Use it.
833 * emacs-lisp/gv.el (buffer-local-value): Add setter.
834
835 2013-11-05 Eli Zaretskii <eliz@gnu.org>
836
837 * international/quail.el (quail-help): Be more explicit about the
838 meaning of the labels shown on the keys. (Bug#15800)
839
840 * startup.el (normal-top-level): Load the subdirs.el files before
841 setting the locale environment. (Bug#15805)
842
843 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
844
845 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
846 via arguments so as to get the right ones (bug#15418).
847
848 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
849
850 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
851
852 Fix problems found while writing a test suite.
853
854 * net/tramp-compat.el (tramp-compat-load): New defun.
855 * net/tramp.el (tramp-handle-load): Use it.
856
857 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
858 "(numberp ok-if-already-exists)" correctly.
859
860 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
861
862 * international/characters.el (glyphless-char-display-control):
863 Add usage note.
864
865 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
866
867 * progmodes/python.el (python-mode):
868 * progmodes/scheme.el (scheme-mode):
869 * progmodes/prolog.el (prolog-mode):
870 * progmodes/ruby-mode.el (ruby-mode):
871 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
872 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
873
874 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
875
876 * rect.el (rectangle--highlight-for-redisplay):
877 * emacs-lisp/smie.el (smie--next-indent-change):
878 Use buffer-chars-modified-tick.
879
880 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
881
882 * electric.el (electric-indent-post-self-insert-function):
883 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
884
885 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
886
887 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
888
889 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
890
891 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
892 (bug#15786).
893
894 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
895
896 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
897
898 * progmodes/python.el: Fix up last change.
899 (python-shell--save-temp-file): New function.
900 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
901 `string' comes from the current buffer.
902 (python-shell-send-string-no-output): Remove `msg' arg.
903 (python--use-fake-loc): New var.
904 (python-shell-buffer-substring): Obey it. Try to compensate for the
905 extra coding line added by python-shell--save-temp-file.
906 (python-shell-send-region): Use python-shell--save-temp-file and
907 python-shell-send-file directly. Add `nomain' argument.
908 (python-shell-send-buffer): Use python-shell-send-region.
909 (python-electric-pair-string-delimiter): New function.
910 (python-mode): Use it.
911
912 2013-11-04 Eli Zaretskii <eliz@gnu.org>
913
914 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
915 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
916 environment and decoding all of the default-directory's to here
917 from command-line.
918 (command-line): Decode also argv[0].
919
920 * loadup.el: Error out if default-directory is a multibyte string
921 when we are dumping.
922
923 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
924
925 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
926
927 * emacs-lisp/package.el (package-menu-mode)
928 (package-menu--print-info, package-menu--archive-predicate):
929 Add Archive column to package list.
930
931 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
932
933 Fix problems found while writing a test suite.
934
935 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
936 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
937 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
938 to nil when running original file name handler. Otherwise,
939 there are problems with constructs like "$$FOO".
940
941 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
942 for `localname'.
943
944 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
945
946 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
947
948 * subr.el (version<, version<=, version=):
949 Update docstrings with information for snapshot versions.
950
951 * helpers.el: New library for misc helper functions.
952 (hash-table-keys): New function returning a list of hash keys.
953 (hash-table-values): New function returning a list of hash values.
954
955 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
956
957 * progmodes/ruby-mode.el (ruby-smie--forward-token)
958 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
959
960 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
961
962 * textmodes/fill.el (fill-single-char-nobreak-p): New function
963 checking whether point is after a 1-letter word.
964
965 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
966
967 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
968 Don't infloop when expanding region over `multiline' syntax-type that
969 begins a line (bug#15778).
970
971 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
972
973 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
974 Make it into a proper minor mode.
975 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
976 (rectangle-mark-mode-map): New keymap.
977 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
978
979 2013-11-04 Glenn Morris <rgm@gnu.org>
980
981 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
982
983 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
984
985 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
986 (ruby-smie-rules): Use smie-rule-parent instead.
987
988 * emacs-lisp/smie.el (smie-rule-parent): Always call
989 smie-indent-virtual rather than only for hanging tokens.
990 (smie--next-indent-change): New helper command.
991
992 2013-11-03 Glenn Morris <rgm@gnu.org>
993
994 * Makefile.in (abs_srcdir): Remove.
995 (emacs): Unset EMACSLOADPATH.
996
997 2013-11-02 Glenn Morris <rgm@gnu.org>
998
999 * Makefile.in (EMACS): Use a relative filename.
1000 (abs_top_builddir): Remove.
1001 (custom-deps, finder-data, autoloads): Use --chdir.
1002
1003 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1004
1005 Use relative filenames in TAGS files.
1006 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1007 (lisptagsfiles4, TAGS): Use relative file names.
1008 (TAGS-LISP): Remove.
1009 (maintainer-clean): No more TAGS-LISP file.
1010
1011 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1012 (lisptagsfiles4): Use absolute filenames again.
1013 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1014 Remove all *loaddefs files, not just the first. Remove esh-groups.
1015 (maintainer-clean): Delete TAGS, TAGS-LISP.
1016
1017 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1018
1019 * emacs-lisp/package.el (package-version-join):
1020 Recognize snapshot versions.
1021
1022 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1023
1024 * subr.el (version-regexp-alist): Add support for snapshot versions.
1025
1026 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1027
1028 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1029 New function, replacement for `smie-rule-parent' for when we want to
1030 skip over our direct parent if it's an assignment token..
1031 (ruby-smie-rules): Use it.
1032
1033 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1034
1035 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1036 unconditionally. Remove now unnecessary forward declarations.
1037 Remove XEmacs-specific setup.
1038 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1039 (ruby-font-lock-syntactic-keywords)
1040 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1041 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1042 (ruby-here-doc-end-syntax): Remove.
1043 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1044 defined as function.
1045
1046 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1047
1048 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1049
1050 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1051
1052 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1053 table and abbrev table, `define-derived-mode' does that for us
1054 anyway.
1055
1056 2013-11-01 Glenn Morris <rgm@gnu.org>
1057
1058 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1059 files is atomic for some time, so no parallel compilation issues).
1060
1061 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1062
1063 * faces.el (face-x-resources): Add :distant-foreground.
1064 (region): Use :distant-foreground for gtk and ns.
1065
1066 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1067
1068 Allow multiple bibliographies when BibLaTeX is used rather than
1069 BibTeX.
1070 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1071 (reftex-locate-bibliography-files): Us it.
1072
1073 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1074
1075 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1076 allow comments in pbm files.
1077
1078 * term/w32-win.el (dynamic-library-alist): Support newer versions
1079 of libjpeg starting with v7: look only for the DLL from the
1080 version against which Emacs was built.
1081 Support versions of libpng beyond 1.4.x.
1082 Support libtiff v4.x.
1083
1084 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1085
1086 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1087 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1088 Add property :safe.
1089 (ruby-deep-arglist): Add property :type.
1090
1091 2013-10-31 Glenn Morris <rgm@gnu.org>
1092
1093 * Makefile.in (custom-deps, finder-data): No need to setq the target
1094 variables, we are in the right directory and the defaults work fine.
1095
1096 2013-10-30 Glenn Morris <rgm@gnu.org>
1097
1098 * Makefile.in (autoloads): Do not use abs_lisp.
1099
1100 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1101 `newline' does not respect `standard-output', so use `princ'.
1102
1103 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1104
1105 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1106 * buff-menu.el (Buffer-menu--unmark): New function.
1107 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1108
1109 2013-10-30 Glenn Morris <rgm@gnu.org>
1110
1111 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1112
1113 * emacs-lisp/package.el (lm-homepage): Declare.
1114
1115 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1116 Fix doc typos.
1117
1118 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1119
1120 * Makefile.in (finder-data, autoloads, update-subdirs)
1121 (compile-main, compile-clean, compile-always, bootstrap-clean):
1122 Check return value of cd.
1123 (compile-calc): Remove.
1124
1125 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1126
1127 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1128
1129 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1130 (byte-compile-and-folded): New function.
1131 (=, <, >, <=, >=): Use it.
1132
1133 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1134 (path-separator, null-device, buffer-file-coding-system)
1135 (lpr-headers-switches): Check system-type before modifying them.
1136 (find-buffer-file-type-coding-system): Mark obsolete.
1137 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1138 find-file-not-found-set-buffer-file-coding-system.
1139 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1140 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1141 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1142 (w32-direct-print-region-helper, w32-direct-print-region-function)
1143 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1144 * startup.el (normal-top-level-add-subdirs-to-load-path):
1145 * ps-print.el (ps-print-region-function):
1146 * lpr.el (print-region-function): Use new name.
1147
1148 * subr.el (custom-declare-variable-early): Remove function.
1149 (custom-declare-variable-list): Remove var.
1150 (error, user-error): Remove `while' loop.
1151 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1152 (user-emacs-directory-warning, locate-user-emacs-file):
1153 Move to files.el.
1154 * simple.el (read-quoted-char-radix, read-quoted-char):
1155 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1156 Move from subr.el.
1157 * custom.el (custom-declare-variable-list): Don't process
1158 custom-declare-variable-list.
1159
1160 * progmodes/python.el (python-shell-get-buffer): New function.
1161 (python-shell-get-process): Use it.
1162 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1163 Python which encoding was used. Don't split-string since we only care
1164 about the first line. Return the temp-file, if applicable.
1165 (python-shell-send-region): Tell compile.el how to turn locations in
1166 the temp-file into locations in the source buffer.
1167
1168 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1169
1170 * subr.el (undefined): Add missing behavior from the C code for
1171 unbound keys.
1172
1173 * rect.el: Use lexical-binding. Add new rectangular region support.
1174 (rectangle-mark): New command.
1175 (rectangle--region): New var.
1176 (deactivate-mark-hook): Reset rectangle--region.
1177 (rectangle--extract-region, rectangle--insert-for-yank)
1178 (rectangle--highlight-for-redisplay)
1179 (rectangle--unhighlight-for-redisplay): New functions.
1180 (region-extract-function, redisplay-unhighlight-region-function)
1181 (redisplay-highlight-region-function): Use them to handle
1182 rectangular region.
1183 * simple.el (region-extract-function): New var.
1184 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1185 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1186 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1187 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1188 (redisplay-unhighlight-region-function)
1189 (redisplay-highlight-region-function): New vars.
1190 (redisplay--update-region-highlight): New function.
1191 (pre-redisplay-function): Use it.
1192 (exchange-point-and-mark): Don't deactivate the mark before
1193 reactivate-it anyway.
1194 * comint.el (comint-kill-region): Remove yank-handler argument.
1195 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1196 (delete-char): Remove property, since it's now part of their
1197 default behavior.
1198 (self-insert-iso): Remove property since this command doesn't exist.
1199
1200 * emacs-lisp/package.el (package--download-one-archive)
1201 (describe-package-1): Don't query the user about final newline.
1202
1203 2013-10-29 Daniel Colascione <dancol@dancol.org>
1204
1205 * net/tramp.el (tramp-methods): Document new functionality.
1206 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1207 tramp-hostname-checker if method provides one instead of scanning
1208 argument list for "%h" to decide hostname acceptability.
1209
1210 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1211
1212 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1213 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1214 Handle COPY-CONTENTS. (Bug#15737)
1215
1216 2013-10-28 Daiki Ueno <ueno@gnu.org>
1217
1218 * epa-file.el
1219 (epa-file-cache-passphrase-for-symmetric-encryption):
1220 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1221
1222 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1223
1224 * image.el (defimage):
1225 (image-load-path): Doc fixes.
1226
1227 2013-10-27 Alan Mackenzie <acm@muc.de>
1228
1229 Indent statements in macros following "##" correctly.
1230 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1231 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1232
1233 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1234
1235 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1236
1237 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1238
1239 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1240 after `=' is probably a new expression.
1241
1242 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1243
1244 * man.el (man-imenu-title): New option.
1245 (Man-mode-map): Add menu. (Bug#15722)
1246 (Man-mode): Add imenu to menu.
1247
1248 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1249
1250 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1251 specific in what the first arg can be: a non-keyword word,
1252 string/regexp/percent literal opener, opening paren, or unary
1253 operator followed directly by word.
1254
1255 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1258 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1259 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1260 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1261 Remove vars, they do not apply any more.
1262 (prolog-mode-abbrev-table): Remove redundant declaration.
1263 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1264 (prolog-use-smie): Remove.
1265 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1266 supported by prolog-electric-if-then-else-flag.
1267 (prolog-mode-variables, prolog-menu): Use setq-local.
1268 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1269 Remove binding to `Backspace' since this key doesn't exist anyway.
1270 Remove bindings for electric self-inserting keys.
1271 (prog-mode): Assume it's defined.
1272 (prolog-post-self-insert): New function.
1273 (prolog-mode): Use it.
1274 (prolog-indent-line, prolog-indent-level)
1275 (prolog-find-indent-of-matching-paren)
1276 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1277 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1278 (prolog-goto-next-paren, prolog-in-string-or-comment)
1279 (prolog-tokenize, prolog-inside-mline-comment)
1280 (prolog-find-start-of-mline-comment): Remove functions.
1281 (prolog-find-unmatched-paren, prolog-clause-end)
1282 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1283 (prolog-electric--if-then-else): Rename from
1284 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1285 (prolog-tokenize-searchkey): Remove const.
1286 (prolog-clause-info): Use forward-sexp.
1287 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1288 (prolog-electric-if-then-else): Remove commands.
1289 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1290 for use in post-self-insert-hook.
1291 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1292 for use in post-self-insert-hook.
1293 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1294 for use in post-self-insert-hook.
1295 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1296 adapt it for use in post-self-insert-hook.
1297
1298 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1299
1300 * emacs-lisp/ert.el (ert-run-tests-interactively):
1301 Use `completing-read'. (Bug#9756)
1302
1303 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1304
1305 * simple.el (line-move): Call line-move-1 instead of
1306 line-move-visual when the current window hscroll is zero, but
1307 temporary-goal-column indicates we will need to hscroll as result
1308 of the movement. (Bug#15712)
1309
1310 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1311
1312 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1313 capitalization. Use :visible instead of :active.
1314 Fix `ruby-indent-exp' reference. Add menu items for the generic
1315 commands that are used with SMIE.
1316 (ruby-do-end-to-brace): Insert space after `{'.
1317
1318 2013-10-25 John Anthony <john@jo.hnanthony.com>
1319
1320 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1321
1322 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1323
1324 2013-10-25 Glenn Morris <rgm@gnu.org>
1325
1326 * vc/vc.el (vc-print-log): Don't use a working revision unless
1327 one was explicitly specified. (Bug#15322)
1328
1329 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1330
1331 * subr.el (add-to-list): Preserve return value in compiler-macro
1332 (bug#15692).
1333
1334 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1335
1336 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1337 result. Ask user to retry using '-all' flag. (Bug#15701)
1338
1339 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 * emacs-lisp/smie.el: New smie-config system.
1342 (smie-config): New defcustom.
1343 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1344 (smie-config-guess, smie-config-save): New commands.
1345 (smie-config--mode-local, smie-config--buffer-local)
1346 (smie-config--trace, smie-config--modefuns): New vars.
1347 (smie-config--advice, smie-config--mode-hook)
1348 (smie-config--setter, smie-config-local, smie-config--get-trace)
1349 (smie-config--guess-value, smie-config--guess): New functions.
1350 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1351 text properties. Treat "string fence" syntax like string syntax.
1352
1353 * progmodes/sh-script.el (sh-use-smie): Change default.
1354 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1355 (sh-var-value): Simplify by CSE.
1356 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1357 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1358 is used.
1359 (sh-guess-basic-offset): Use cl-incf.
1360 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1361
1362 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1363
1364 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1365 (bug#15699).
1366
1367 2013-10-24 Glenn Morris <rgm@gnu.org>
1368
1369 * Makefile.in (abs_top_srcdir): Remove.
1370 (update-subdirs): Use relative path to update-subdirs.
1371
1372 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1373
1374 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1375 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1376 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1377 Call unmsys--file-name before expand-file-name, not after it.
1378
1379 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1380
1381 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1382 (ert-test-skipped): New error.
1383 (ert-skip, ert-stats-skipped): New defuns.
1384 (ert--skip-unless): New macro.
1385 (ert-test-skipped): New struct.
1386 (ert--run-test-debugger, ert-test-result-type-p)
1387 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1388 (ert--stats-set-test-and-result, ert-char-for-test-result)
1389 (ert-string-for-test-result, ert-run-tests-batch)
1390 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1391 Handle skipped tests. (Bug#9803)
1392
1393 2013-10-24 Glenn Morris <rgm@gnu.org>
1394
1395 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1396
1397 * Makefile.in (abs_top_srcdir): New, set by configure.
1398 (update-subdirs): Correct build-aux location.
1399
1400 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1401
1402 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1403 value, whether we could auto-deduce `backend', or not.
1404
1405 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1406 with parameters" example. Simplify the "is it block or is it
1407 hash" check, but also make it more thorough.
1408
1409 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1410
1411 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1412
1413 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1414
1415 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1416 { if it is hanging.
1417
1418 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1419 :before ";".
1420
1421 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1422
1423 * progmodes/compile.el (compilation-directory-matcher)
1424 (compilation-page-delimiter):
1425 Support GNU Make-4.0 directory quoting. (Bug#15678)
1426
1427 2013-10-23 Leo Liu <sdl.web@gmail.com>
1428
1429 * ido.el (ido-tidy): Handle read-only text.
1430
1431 2013-10-23 Glenn Morris <rgm@gnu.org>
1432
1433 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1434 (emacs, compile, compile-always):
1435 Quote entities that might contain whitespace.
1436 (custom-deps, finder-data, autoloads): Use abs_lisp.
1437 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1438 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1439 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1440
1441 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1442
1443 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1444 Use `following-char'.
1445
1446 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1449 * progmodes/ruby-mode.el (ruby-smie-rules):
1450 Remove corresponding workaround. Fix indentation rule of ";" so it
1451 also applies when ";" is the parent.
1452
1453 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1454
1455 * frame.el (display-screens, display-pixel-height)
1456 (display-pixel-width, display-mm-width, display-backing-store)
1457 (display-save-under, display-planes, display-color-cells)
1458 (display-visual-class, display-monitor-attributes-list):
1459 Mention the optional ‘display’ argument in doc strings.
1460
1461 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1462
1463 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1464 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1465
1466 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1467
1468 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1469 TODO. Add "." after " @ ".
1470 (ruby-smie--at-dot-call): New function. Checks if point at method
1471 call with explicit target.
1472 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1473 to the method name tokens when it precedes them.
1474 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1475 (ruby-smie-rules): Add rule for indentation before and after "."
1476 token.
1477
1478 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1479
1480 * textmodes/remember.el (remember-diary-extract-entries):
1481 Avoid add-to-list.
1482
1483 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1484 an instruction.
1485
1486 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1487
1488 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1489 (ruby-smie--implicit-semi-p): Add new operator chars.
1490
1491 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1492 `smie-down-list'.
1493 (ruby-smie--args-separator-p): Check that there's no newline
1494 between method call and its arguments.
1495
1496 2013-10-20 Alan Mackenzie <acm@muc.de>
1497
1498 Allow comma separated lists after Java "implements".
1499
1500 * progmodes/cc-engine.el (c-backward-over-enum-header):
1501 Parse commas.
1502 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1503 from a "disallowed" list in enum fontification.
1504
1505 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1506
1507 * startup.el (default-frame-background-mode): Remove unused defvar.
1508
1509 * progmodes/verilog-mode.el (verilog-mode): Don't set
1510 comment-indent-function globally.
1511
1512 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1513
1514 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1515 Move Info menu item creation to ns-win.el.
1516
1517 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1518 in menu bar.
1519
1520 * menu-bar.el: Move GNUStep specific menus...
1521
1522 * term/ns-win.el (ns-initialize-window-system): ... to here.
1523
1524 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * simple.el (newline): Only run post-self-insert-hook when
1527 called interactively.
1528
1529 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1530
1531 * icomplete.el (icomplete-with-completion-tables): Add :version.
1532
1533 2013-10-19 Alan Mackenzie <acm@muc.de>
1534
1535 Fix fontification bugs with constructors and const.
1536
1537 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1538 CASE 2) Remove the check for the absence of a suffix construct
1539 after a function declaration with only types (no identifiers) in
1540 the parentheses. Also, accept a function declaration with just a
1541 type inside the parentheses, if this type can be positively
1542 recognised as such, or if a prefix keyword like "explicit" nails
1543 down the construct as a declaration.
1544
1545 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1546
1547 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1548 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1549 the problem whereby selecting a menu item that leads to a
1550 minibuffer prompt moves the cursor out of the minibuffer window,
1551 making it hard to type at the prompt. Suggested by Stefan Monnier
1552 <monnier@iro.umontreal.ca>.
1553
1554 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1555
1556 * menu-bar.el: Don't make Services menu.
1557
1558 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1559
1560 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1561 (ffap-alist): Use ffap-c++-mode for c++-mode.
1562 (ffap-c++-path): New variable.
1563 (ffap-c++-mode): New function.
1564
1565 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1566
1567 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1568
1569 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1570
1571 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1572 introduced on 2013-09-08, which results in an infinite loop
1573 requesting a password.
1574
1575 2013-10-18 Glenn Morris <rgm@gnu.org>
1576
1577 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1578
1579 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1580
1581 Sync with upstream verilog-mode revision 1a6ecec7.
1582 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1583 (verilog-mode-release-date): Remove.
1584 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1585 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1586 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1587 (verilog-auto-tieoff-ignore-regexp)
1588 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1589 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1590 (verilog-signals-with, verilog-dir-cache-preserving)
1591 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1592 Doc fixes.
1593 (verilog-case-fold): New option, to control case folding in
1594 regexp searches, bug597.
1595 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1596 (verilog-string-match-fold, verilog-in-paren-count)
1597 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1598 (verilog-at-close-struct-p): New functions.
1599 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1600 (verilog-forward-sexp, verilog-set-auto-endcomments):
1601 (verilog-leap-to-case-head): Handle "unique0" case.
1602 (verilog-in-constraint-re): New constant.
1603 (verilog-keywords, verilog-type-font-keywords):
1604 Add some SystemVerilog 1800-2012 keywords.
1605 (verilog-label-be): Remove unimplemented argument, bug669.
1606 (verilog-batch-execute-func): When batch expanding clear
1607 create-lockfiles to prevent spurious user locks when a file ends
1608 up not changing.
1609 (verilog-calculate-indent, verilog-calc-1)
1610 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1611 (verilog-do-indent): Fix indentation of nested constraints
1612 and structures.
1613 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1614 (verilog-auto-inst-param): Use verilog-string-match-fold.
1615 (verilog-read-inst-module-matcher):
1616 Fix AUTOINST on gate primitives with #1.
1617 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1618 Reads all user-defined typed variables.
1619 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1620 (verilog-signals-matching-regexp)
1621 (verilog-signals-not-matching-regexp, verilog-auto):
1622 Respect verilog-case-fold.
1623 (verilog-diff-report): Fix line count.
1624 (verilog-auto-assign-modport): Remove unused local `modi'.
1625 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1626 better handle multidimensional arrays.
1627 Fix packed array ports misadding bit index in AUTOINST, bug637.
1628 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1629 to not double-declare existing outputs and inputs, respectively.
1630 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1631 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1632 (verilog-sk-uvm-component): New skeleton.
1633 (verilog-submit-bug-report): Add verilog-case-fold,
1634 remove verilog-mode-release-date.
1635
1636 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1637
1638 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1639 as before.
1640
1641 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1642
1643 * textmodes/remember.el (remember): set buffer-offer-save in
1644 remember buffers (bug#13566).
1645
1646 2013-10-18 Daniel Colascione <dancol@dancol.org>
1647
1648 When evaluating forms in ielm, direct standard output to ielm
1649 buffer. Add new ielm-return-for-effect command. Remove trailing
1650 whitespace throughout.
1651
1652 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1653 (ielm-return-for-effect): New command.
1654 (ielm-send-input): Accept optional `for-effect' parameter.
1655 (ielm-eval-input): Accept optional `for-effect' parameter.
1656 Bind `standard-output' to stream we create using
1657 `ielm-standard-output-impl'. Suppress printing result when
1658 `for-effect'.
1659 (ielm-standard-output-impl): New function.
1660 (inferior-emacs-lisp-mode): Explain new features in documentation.
1661
1662 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1663
1664 Code cleanup.
1665
1666 * net/tramp.el (tramp-debug-message): Do not check for connection
1667 buffer.
1668 (tramp-message): Use "vector" connection property.
1669
1670 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1671 (tramp-equal-remote, tramp-eshell-directory-change)
1672 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1673 (tramp-adb-handle-rename-file)
1674 * net/tramp-cmds.el (tramp-list-remote-buffers)
1675 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1676 * net/tramp-compat.el (tramp-compat-process-running-p)
1677 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1678 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1679 (tramp-gvfs-handle-rename-file)
1680 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1681 (tramp-set-file-uid-gid)
1682 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1683 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1684 of `file-remote-p'.
1685
1686 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1687 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1688 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1689 (tramp-gw-open-network-stream): Suppress unrelated traces.
1690
1691 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1692 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1693 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1694 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1695 connection property.
1696
1697 * net/tramp-cache.el (top): Suppress traces when reading
1698 persistency file.
1699
1700 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1701 Refactor common code. Improve debug message.
1702 (tramp-maybe-open-connection)
1703 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1704 connection buffer too early.
1705
1706 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1707 from `tramp-smb-actions-with-acl'.
1708 (tramp-smb-actions-set-acl): New defconst.
1709 (tramp-smb-handle-copy-directory)
1710 (tramp-smb-action-get-acl): New defun, renamed from
1711 `tramp-smb-action-with-acl'.
1712 (tramp-smb-action-set-acl): New defun.
1713 (tramp-smb-handle-set-file-acl): Rewrite.
1714
1715 2013-10-17 Glenn Morris <rgm@gnu.org>
1716
1717 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1718
1719 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1721 * skeleton.el (skeleton-newline): Remove.
1722 (skeleton-internal-1): Use (insert "\n") instead.
1723
1724 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1725 let-bindings.
1726
1727 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1728 forward-sexp-function while we redo its job (bug#15613).
1729
1730 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1731
1732 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1733 represented by lists.
1734
1735 2013-10-16 Glenn Morris <rgm@gnu.org>
1736
1737 * tmm.el (tmm--history): New dynamic variable.
1738 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1739
1740 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1741
1742 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1743 (tramp-smb-errors): Add error messages.
1744 (tramp-smb-actions-with-acl): New defconst.
1745 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1746 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1747 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1748 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1749 (tramp-smb-get-stat-capability): Fix tests.
1750
1751 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1752
1753 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1754 (bug#15580).
1755
1756 2013-10-16 Glenn Morris <rgm@gnu.org>
1757
1758 * ansi-color.el (ansi-color-drop-regexp):
1759 Add 1J, 1K, 2K. (Bug#15617)
1760
1761 * files.el (hack-local-variables--warned-lexical): New.
1762 (hack-local-variables):
1763 Warn about misplaced lexical-binding. (Bug#15616)
1764
1765 * net/eww.el (eww-render): Always set eww-current-url,
1766 and update header line. (Bug#15622)
1767 (eww-display-html): ... Rather than just doing it here.
1768
1769 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1770
1771 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1772 menu navigations commands.
1773
1774 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1775
1776 * progmodes/subword.el (subword-capitalize): Be careful when
1777 the search for [[:alpha:]] fails (bug#15580).
1778
1779 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1780
1781 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1782 to commands that scroll the menu.
1783
1784 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1785
1786 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1787 Handle methods ending with `?' and `!'.
1788
1789 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1790
1791 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1792 `japanese-cp932' to `cp932' to fix the problem where saving a
1793 source file written in Shift_JIS twice would end up having
1794 `coding: japanese-cp932' which Ruby could not recognize.
1795 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1796 in `ruby-encoding-map'.
1797 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1798 doesn't need to be explicitly declared in magic comment.
1799 (ruby-encoding-map): Add type declaration for better customize UI.
1800
1801 2013-10-13 Glenn Morris <rgm@gnu.org>
1802
1803 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1804 Occur buffers are read-only. http://bugs.debian.org/720775
1805
1806 * emacs-lisp/authors.el (authors-fixed-entries):
1807 Comment out old alpha stuff.
1808
1809 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1810
1811 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1812 to `after-save-hook' instead of `before-save-hook'.
1813 (ruby-mode-set-encoding): Use the value of coding system used to
1814 write the file. Call `basic-save-buffer-1' after modifying the
1815 buffer.
1816
1817 2013-10-13 Alan Mackenzie <acm@muc.de>
1818
1819 Fix indentation/fontification of Java enum with
1820 "implements"/generic.
1821
1822 * progmodes/cc-engine.el (c-backward-over-enum-header):
1823 Extracted from the three other places and enhanced to handle generics.
1824 (c-inside-bracelist-p): Uses new function above.
1825 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1826 function above.
1827 (c-font-lock-enum-tail): Uses new function above.
1828
1829 2013-10-13 Kenichi Handa <handa@gnu.org>
1830
1831 * international/mule-cmds.el (select-safe-coding-system): Remove a
1832 superfluous condition in chekcing whether a coding system is safe
1833 or not.
1834
1835 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1836
1837 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1838
1839 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1840
1841 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1842
1843 2013-10-13 Glenn Morris <rgm@gnu.org>
1844
1845 * menu-bar.el (menu-bar-update-buffers):
1846 Unify Buffers menu prompt string. (Bug#15576)
1847
1848 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1849
1850 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1851 Add some entries.
1852 (authors-fixed-entries): Use accented form of name.
1853
1854 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1855
1856 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1857 method calls (bug#15594).
1858 (ruby-smie--args-separator-p): New function.
1859 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1860 recognize paren-free method calls.
1861
1862 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1863 internals of universal-argument.
1864
1865 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1866
1867 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1868 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1869 dropped menu on second mouse click on the menu bar.
1870
1871 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1872
1873 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1874 (explicit-shell-file-name): Declare.
1875 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1876 (sh-completion-at-point-function): New function.
1877 (sh-mode): Use it.
1878 (sh-smie--keyword-p): Remove unused argument.
1879 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1880 vars.
1881 (sh-set-shell): Always setup SMIE, even if we use the
1882 old indentation code.
1883
1884 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1885
1886 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1887 cases of ? and =.
1888 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1889 predicate would return nil are almost non-existent.
1890 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1891
1892 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1893 cache also after commands that modify the buffer but don't move
1894 point.
1895
1896 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1897
1898 * env.el (substitute-env-in-file-name): New function.
1899 (substitute-env-vars): Extend the meaning of the optional arg.
1900
1901 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1902
1903 * term/w32-win.el (dynamic-library-alist): Define separate lists
1904 of GIF DLLs for versions before and after 5.0.0 of giflib.
1905 (Bug#15531)
1906
1907 2013-10-10 João Távora <joaotavora@gmail.com>
1908
1909 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1910 not locked, use last revision and current source as
1911 defaults. (Bug#15569)
1912
1913 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1914
1915 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1916 menu-bar is hidden.
1917
1918 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1919
1920 * window.el (pop-to-buffer-same-window): Fix doc-string.
1921 (Bug#15492)
1922
1923 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1926
1927 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1928
1929 * calendar/icalendar.el (icalendar-import-file):
1930 Fix interactive spec. (Bug#15482)
1931
1932 2013-10-10 Glenn Morris <rgm@gnu.org>
1933
1934 * desktop.el (desktop-save): Default to saving in .emacs.d,
1935 since PWD is no longer in desktop-path by default. (Bug#15319)
1936
1937 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1938 now that text mode has a menu with the same entry.
1939 (menu-bar-text-mode-auto-fill): Remove now unused func.
1940 * textmodes/text-mode.el (text-mode-map):
1941 Use auto-fill help text from menu-bar.el.
1942
1943 2013-10-10 John Anthony <john@jo.hnanthony.com>
1944
1945 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1946
1947 2013-10-09 Juri Linkov <juri@jurta.org>
1948
1949 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1950 instead of this-command-keys. Add universal-argument-more and
1951 universal-argument-minus to the list of prefix commands. (Bug#15568)
1952
1953 2013-10-09 Glenn Morris <rgm@gnu.org>
1954
1955 * vc/vc-svn.el (vc-svn-create-repo):
1956 Expand paths in file://... url. (Bug#15446)
1957
1958 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1959 Add some entries.
1960 (authors): Remove unused local variables.
1961
1962 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * profiler.el: Create a more coherent calltree from partial backtraces.
1965 (profiler-format): Hide the tail with `invisible' so that C-s can still
1966 find the hidden elements.
1967 (profiler-calltree-depth): Don't recurse so enthusiastically.
1968 (profiler-function-equal): New hash-table-test.
1969 (profiler-calltree-build-unified): New function.
1970 (profiler-calltree-build): Use it.
1971 (profiler-report-make-name-part): Indent the calltree less.
1972 (profiler-report-mode): Add visibility specs for profiler-format.
1973 (profiler-report-expand-entry, profiler-report-toggle-entry):
1974 Expand the whole subtree when provided with a prefix arg.
1975
1976 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1977
1978 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1979 iuwu-mod token.
1980 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1981 hanging iuwu-mod token.
1982 (ruby-smie--forward-token): Do not include a dot after a token in
1983 that token.
1984 (ruby-smie--backward-token): Likewise.
1985
1986 2013-10-08 Juri Linkov <juri@jurta.org>
1987
1988 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1989 to isearch-other-control-char.
1990 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1991 and isearch-post-command-hook to post-command-hook.
1992 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1993 and isearch-post-command-hook from post-command-hook.
1994 (isearch-unread-key-sequence)
1995 (isearch-reread-key-sequence-naturally)
1996 (isearch-lookup-scroll-key, isearch-other-control-char)
1997 (isearch-other-meta-char): Remove functions.
1998 (isearch-pre-command-hook, isearch-post-command-hook):
1999 New functions based on isearch-other-meta-char rewritten
2000 relying on the new behavior of overriding-terminal-local-map
2001 that does not replace the local keymaps any more. (Bug#15200)
2002
2003 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2004
2005 Support menus on text-mode terminals.
2006 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2007 functionality.
2008
2009 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2010
2011 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2012 Move here from mouse.el.
2013 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2014 and arrow keys.
2015 (tty-menu-navigation-map): New map for TTY menu navigation.
2016
2017 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2018
2019 * frame.el (display-mouse-p): Report text-mode mouse as available
2020 on w32.
2021 (display-popup-menus-p): Report availability if mouse is
2022 available; don't condition on window-system.
2023
2024 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2025 (tty-menu-selected-face): New faces.
2026
2027 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2028
2029 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2030 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2031 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2032 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2033 New constants.
2034 (lisp-mode-variables): New `elisp' argument.
2035 (emacs-lisp-mode): Use it.
2036 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2037 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2038
2039 * indent.el: Use lexical-binding.
2040 (indent-region): Add progress reporter.
2041 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2042 last step.
2043 (indent--next-tab-stop): New function to implement this behavior.
2044 (tab-to-tab-stop, move-to-tab-stop): Use it.
2045
2046 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2047
2048 * indent.el (indent-rigidly--current-indentation): New function.
2049 (indent-rigidly-map): New var.
2050 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2051
2052 2013-10-08 Bastien Guerry <bzg@gnu.org>
2053
2054 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2055
2056 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2057
2058 * progmodes/perl-mode.el: Use lexical-binding.
2059 Remove redundant :group args.
2060 (perl-nochange): Change default to be closer to other major modes's
2061 standard behavior.
2062 (perl-indent-line): Don't consider text on current line as a
2063 valid beginning of function from which to indent.
2064
2065 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2066 with more than one argument (bug#15538).
2067
2068 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2069
2070 * vc/pcvs.el: Use lexical-binding.
2071 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2072 environment of `eval'.
2073 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2074 than a list of expressions. Adjust callers.
2075 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2076
2077 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2078
2079 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2080 case of the dot in a chained method call being on the following line.
2081
2082 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2083
2084 * electric.el (electric-indent-inhibit): New var.
2085 (electric-indent-post-self-insert-function): Use it.
2086 * progmodes/python.el (python-mode): Set it.
2087
2088 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2089 open braces.
2090
2091 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2092
2093 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2094 (css-mode): Use electric-indent-chars.
2095
2096 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2097 (font-lock-beg, font-lock-end): Move before first use.
2098 (nxml-mode): Use syntax-propertize-function.
2099 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2100 (nxml-extend-after-change-region): Remove.
2101 * nxml/xmltok.el: Use lexical-binding.
2102 (xmltok-save): Use `declare'.
2103 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2104 * nxml/nxml-util.el: Use lexical-binding.
2105 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2106 Use `declare'.
2107 * nxml/nxml-ns.el: Use lexical-binding.
2108 (nxml-ns-save): Use `declare'.
2109 (nxml-ns-prefixes-for): Avoid add-to-list.
2110 * nxml/rng-match.el: Use lexical-binding.
2111 (rng--ipattern): Use cl-defstruct.
2112 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2113 (rng-cons-group-after, rng-subst-group-after)
2114 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2115 Use closures instead of `(lambda...).
2116
2117 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2118
2119 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2120 of BEG and END.
2121
2122 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2123 Use `tramp-handle-insert-file-contents'.
2124 (tramp-gvfs-handle-insert-file-contents): Remove function.
2125
2126 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2127 Use `save-restriction' in order to keep markers.
2128
2129 * net/trampver.el: Update release number.
2130
2131 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2133 * progmodes/compile.el (compilation-parse-errors):
2134 Use compilation--put-prop.
2135 (compilation--ensure-parse): Check compilation-multiline.
2136
2137 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2138
2139 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2140 lexical-binding.
2141
2142 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2143
2144 * progmodes/ruby-mode.el: Fix recently added tests.
2145 (ruby-smie-grammar): Add - and +.
2146 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2147 (ruby-smie--backward-id): New functions.
2148 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2149 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2150 any more.
2151
2152 2013-10-07 Leo Liu <sdl.web@gmail.com>
2153
2154 * register.el (register-preview-delay)
2155 (register-preview-functions): New variables.
2156 (register-read-with-preview, register-preview)
2157 (register-describe-oneline): New functions.
2158 (point-to-register, window-configuration-to-register)
2159 (frame-configuration-to-register, jump-to-register)
2160 (number-to-register, view-register, insert-register)
2161 (copy-to-register, append-to-register, prepend-to-register)
2162 (copy-rectangle-to-register): Use register-read-with-preview to
2163 read register. (Bug#15525)
2164
2165 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2166
2167 * net/network-stream.el (network-stream-open-starttls): Don't add
2168 --insecure if it's already present, because that gnutls-cli
2169 rejects getting that parameter twice.
2170
2171 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2172
2173 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2174 keyword, too.
2175
2176 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2177
2178 * newcomment.el (comment-use-global-state): Change default value
2179 to t, mark obsolete (Bug#15251).
2180 (comment-beginning): In addition to `comment-to-syntax', check the
2181 value of `comment-use-global-state'.
2182
2183 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2184
2185 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2186 (ruby-comment-column): Follow the global default, by default.
2187 (ruby-smie-grammar): Add assignment syntax.
2188 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2189 open-paren, a comma, or a \.
2190 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2191 and line continuations.
2192 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2193 followed by implicit semi-colons. Add rule for string concatenation
2194 and for indentation at BOB.
2195 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2196
2197 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2198 calling next-sexp, since next-token may have skipped chars which
2199 next-sexp doesn't know should be skipped!
2200
2201 2013-10-05 Leo Liu <sdl.web@gmail.com>
2202
2203 * progmodes/octave.el (octave-send-region):
2204 Call compilation-forget-errors.
2205
2206 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2207
2208 * vc/vc-svn.el (vc-svn-find-admin-dir):
2209 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2210 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2211 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2212 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2213
2214 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2215
2216 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2217
2218 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * subr.el (read-passwd): Hide chars even when called within a context
2221 where after-change-functions is disabled (bug#15501).
2222 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2223 until we removed ourself from overriding-terminal-local-map.
2224
2225 2013-10-04 Leo Liu <sdl.web@gmail.com>
2226
2227 * progmodes/octave.el (inferior-octave-mode):
2228 Call compilation-forget-errors.
2229
2230 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2231
2232 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2233
2234 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2235
2236 * net/secrets.el (secrets-create-collection): Add optional
2237 argument ALIAS. Use proper Label keyword. Append ALIAS as
2238 dbus-call-method argument. (Bug#15516)
2239
2240 2013-10-04 Leo Liu <sdl.web@gmail.com>
2241
2242 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2243 (inferior-octave-compilation-font-lock-keywords): New variables.
2244 (compilation-error-regexp-alist)
2245 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2246 (inferior-octave-mode): Use compilation-shell-minor-mode.
2247
2248 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2249
2250 * minibuffer.el (completion--replace): Be careful that `end' might be
2251 a marker.
2252
2253 2013-10-03 Daiki Ueno <ueno@gnu.org>
2254
2255 Add support for package signature checking.
2256 * emacs-lisp/package.el (url-http-file-exists-p)
2257 (epg-make-context, epg-context-set-home-directory)
2258 (epg-verify-string, epg-context-result-for)
2259 (epg-signature-status, epg-signature-to-string)
2260 (epg-check-configuration, epg-configuration)
2261 (epg-import-keys-from-file): Declare.
2262 (package-check-signature): New user option.
2263 (package-unsigned-archives): New user option.
2264 (package-desc): Add `signed' field.
2265 (package-load-descriptor): Set `signed' field if .signed file exists.
2266 (package--archive-file-exists-p): New function.
2267 (package--check-signature): New function.
2268 (package-install-from-archive): Check package signature.
2269 (package--download-one-archive): Check archive signature.
2270 (package-delete): Remove .signed file.
2271 (package-import-keyring): New command.
2272 (package-refresh-contents): Import default keyring.
2273 (package-desc-status): Add "unsigned" status.
2274 (describe-package-1, package-menu--print-info)
2275 (package-menu-mark-delete, package-menu--find-upgrades)
2276 (package-menu--status-predicate): Support "unsigned" status.
2277
2278 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2281 the new compilation scheme using the new byte-codes.
2282
2283 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2284 (byte-pophandler): New byte codes.
2285 (byte-goto-ops): Adjust accordingly.
2286 (byte-compile--use-old-handlers): New var.
2287 (byte-compile-catch): Use new byte codes depending on
2288 byte-compile--use-old-handlers.
2289 (byte-compile-condition-case--old): Rename from
2290 byte-compile-condition-case.
2291 (byte-compile-condition-case--new): New function.
2292 (byte-compile-condition-case): New function that dispatches depending
2293 on byte-compile--use-old-handlers.
2294 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2295 when we can.
2296
2297 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2298 Optimize under `condition-case' and `catch' if
2299 byte-compile--use-old-handlers is nil.
2300 (disassemble-offset): Handle new bytecodes.
2301
2302 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2303
2304 * subr.el (error): Use `declare'.
2305 (decode-char, encode-char): Use advertised-calling-convention instead
2306 of the docstring to discourage use of the `restriction' arg.
2307
2308 2013-10-03 Daiki Ueno <ueno@gnu.org>
2309
2310 * epg.el (epg-verify-file): Add a comment saying that it does not
2311 notify verification error as a return value nor a signal.
2312 (epg-verify-string): Ditto.
2313
2314 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2315
2316 * progmodes/compile.el (compilation-start): Try globbing the arg to
2317 `cd' (bug#15417).
2318
2319 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2320
2321 Sync with Tramp 2.2.8.
2322
2323 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2324 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2325 * net/trampver.el: Update release number.
2326
2327 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2328
2329 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2330 and default-process-coding-system for darwin only.
2331
2332 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2333
2334 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2335
2336 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2337
2338 * vc/vc-git.el (vc-git-grep): Disable pager.
2339
2340 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2341
2342 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2343 Use :url instead of :homepage, as per
2344 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2345
2346 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2347 non-nil, use `syntax-ppss' (Bug#15251).
2348
2349 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2350
2351 * progmodes/octave.el (inferior-octave-startup-file):
2352 Prefer ~/.emacs.d/init_octave.m.
2353
2354 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2355
2356 * emacs-lisp/package.el (package-desc-from-define):
2357 Accept additional arguments as plist, convert them to an alist and store
2358 them in the `extras' slot.
2359 (package-generate-description-file): Convert extras alist back to
2360 plist and append to the `define-package' form arguments.
2361 (package--alist-to-plist): New function.
2362 (package--ac-desc): Add `extras' slot.
2363 (package--add-to-archive-contents): Check if the archive-contents
2364 vector is long enough, and if it is, pass its `extras' slot value
2365 to `package-desc-create'.
2366 (package-buffer-info): Call `lm-homepage', pass the returned value
2367 to `package-desc-from-define'.
2368 (describe-package-1): Render the homepage button (Bug#13291).
2369
2370 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2371 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2372
2373 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2374
2375 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2376 and default-process-coding-system to utf-8-unix (Bug#15402).
2377
2378 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2379
2380 * subr.el (looking-back): Do not recommend using looking-back.
2381
2382 2013-09-28 Alan Mackenzie <acm@muc.de>
2383
2384 Fix indentation/fontification of Java enum with "implements".
2385
2386 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2387 regexp which matches "implements", etc., in Java.
2388 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2389 specifier clauses coming after "enum".
2390 * progmodes/cc-fonts.el (c-font-lock-declarations)
2391 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2392 after "enum".
2393
2394 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2395
2396 * faces.el (region): Change ns_selection_color to
2397 ns_selection_fg_color, add ns_selection_bg_color.
2398
2399 2013-09-28 Leo Liu <sdl.web@gmail.com>
2400
2401 * progmodes/octave.el (inferior-octave-completion-table)
2402 (inferior-octave-completion-at-point): Minor tweaks.
2403
2404 * textmodes/ispell.el (ispell-lookup-words): Rename from
2405 lookup-words. (Bug#15460)
2406 (lookup-words): Obsolete.
2407 (ispell-complete-word, ispell-command-loop): All uses changed.
2408
2409 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2410
2411 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2412 (octave-mode-menu): Add octave-send-buffer.
2413 (octave-send-buffer): New function.
2414
2415 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2416
2417 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2418 octave-lookfor.
2419 (octave-mode-menu): Add octave-lookfor.
2420 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2421 octave-lookfor.
2422 (octave-lookfor): New function.
2423
2424 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2425
2426 * emacs-lisp/cl-macs.el:
2427 (cl--loop-destr-temps): Remove.
2428 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2429 its convention.
2430 (cl--loop-set-iterator-function): New function.
2431 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2432 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2433 Bind `it' with `let' instead of substituting it with `cl-subst'.
2434 (cl--unused-var-p): New function.
2435 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2436 Eliminate some unused variable warnings (bug#15326).
2437
2438 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2439
2440 * doc-view.el (doc-view-scale-reset): Rename from
2441 `doc-view-reset-zoom-level'.
2442 (doc-view-scale-adjust): New command.
2443 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2444 `doc-view-scale-adjust'.
2445
2446 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2447
2448 * doc-view.el (doc-view-reset-zoom-level): New command.
2449 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2450 zoom commands (bug#15466).
2451
2452 2013-09-26 Kenichi Handa <handa@gnu.org>
2453
2454 * international/quail.el (quail-help): Make it not a command.
2455
2456 2013-09-26 Leo Liu <sdl.web@gmail.com>
2457
2458 * minibuffer.el (completion-all-sorted-completions): Make args
2459 optional as they are.
2460
2461 2013-09-25 Daniel Colascione <dancol@dancol.org>
2462
2463 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2464 specs are and that they're not evaluated.
2465
2466 2013-09-24 Sam Steingold <sds@gnu.org>
2467
2468 * midnight.el (clean-buffer-list-kill-regexps)
2469 (clean-buffer-list-kill-buffer-names): Update for the new Man
2470 buffer naming which includes the object name.
2471
2472 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2475 (eshell-parse-command, eshell-parse-pipeline): Use it since
2476 eshell-separate-commands requires a dynamic scoped var.
2477 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2478
2479 2013-09-23 Leo Liu <sdl.web@gmail.com>
2480
2481 * autoinsert.el (auto-insert-alist): Make the value of
2482 lexical-binding match its file setting.
2483
2484 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2485
2486 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2487
2488 * autoarg.el (autoarg-kp-digit-argument):
2489 * electric.el (Electric-command-loop):
2490 * kmacro.el (kmacro-step-edit-insert):
2491 Do not set universal-argument-num-events.
2492
2493 2013-09-22 Leo Liu <sdl.web@gmail.com>
2494
2495 * files.el (interpreter-mode-alist): Add octave.
2496
2497 2013-09-21 Alan Mackenzie <acm@muc.de>
2498
2499 C++: fontify identifier in declaration following "public:" correctly.
2500 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2501 to match "public", etc.
2502 (c-decl-prefix-re): Add ":" into the C++ value.
2503 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2504 bit. Add a check for a ":" preceded by "public", etc.
2505
2506 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2507
2508 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2509 recognized by GDB 7.5 and later.
2510
2511 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2512
2513 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2514
2515 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * subr.el (internal--call-interactively): New const.
2518 (called-interactively-p): Use it (bug#3984).
2519
2520 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2521
2522 * vc/pcvs.el (cvs-mode-ignore):
2523 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2524 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2525
2526 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2529 (eshell-ls-orig-insert-directory): Remove.
2530 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2531 (eshell-ls-use-in-dired): Use advice-add/remove.
2532 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2533 Add `orig-fun' arg for use in :around advice.
2534 Make it check (redundantly) eshell-ls-use-in-dired.
2535
2536 2013-09-19 Glenn Morris <rgm@gnu.org>
2537
2538 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2539
2540 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2541
2542 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2543
2544 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2545
2546 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2547 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2548 (tramp-get-remote-python): New defuns.
2549 (tramp-get-remote-uid-with-perl)
2550 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2551 contributed by yary <not.com@gmail.com> (tiny change).
2552 (tramp-get-remote-uid-with-python)
2553 (tramp-get-remote-gid-with-python): New defuns. Python code
2554 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2555 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2556
2557 2013-09-19 Glenn Morris <rgm@gnu.org>
2558
2559 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2560
2561 * eshell/em-unix.el (eshell-remove-entries):
2562 Rename argument to avoid name-clash with global `top-level'.
2563
2564 * eshell/esh-proc.el (eshell-kill-process-function):
2565 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2566 (eshell-reset-after-proc): Remove unused arg `proc'.
2567
2568 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2569 (directory-files-and-attributes): Mark unused arg.
2570
2571 * eshell/em-unix.el (eshell-remove-entries):
2572 Remove unused arg `path'. Update callers.
2573
2574 * eshell/em-hist.el (eshell-hist-parse-arguments):
2575 Remove unused arg `silent'. Update callers.
2576
2577 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2578 Fix (f)boundp mix-up.
2579
2580 * eshell/em-smart.el (eshell-smart-scroll-window)
2581 (eshell-disable-after-change):
2582 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2583
2584 2013-09-18 Alan Mackenzie <acm@muc.de>
2585
2586 Fix fontification of type when followed by "const".
2587 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2588 "known" types from fontification.
2589
2590 2013-09-18 Glenn Morris <rgm@gnu.org>
2591
2592 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2593 (chart-face-list): Drop Emacsen without display-color-p.
2594
2595 * net/eww.el (libxml-parse-html-region): Declare.
2596 (eww-display-html): Explicit error if no libxml2 support.
2597
2598 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2599
2600 * image.el (image-type-from-buffer, image-multi-frame-p):
2601 Remove --without-x warning/error.
2602
2603 * mouse.el (mouse-yank-primary):
2604 * term.el (term-mouse-paste):
2605 Reorder to silence --without-x compilation.
2606
2607 * mpc.el (doc-view-mode): Silence --without-x compilation.
2608
2609 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2610 Silence --without-x compilation.
2611
2612 * progmodes/gud.el (gud-find-file, gud-mode):
2613 Silence --without-x compilation.
2614 (tooltip-mode): Declare.
2615
2616 * wdired.el (dired-backup-overwrite): Remove declaration.
2617 (wdired-mode-map): Add doc string.
2618
2619 * custom.el (x-get-resource): Declare.
2620
2621 * eshell/em-glob.el (ange-cache):
2622 * eshell/em-unix.el (ange-cache): Declare.
2623
2624 * faces.el (x-display-list, x-open-connection, x-get-resource):
2625 Declare.
2626
2627 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2628 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2629 Declare.
2630
2631 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2632
2633 * net/gnutls.el (gnutls-log-level): Declare.
2634
2635 * net/shr.el (image-size, image-animate): Declare.
2636
2637 * simple.el (font-info): Declare.
2638
2639 * subr.el (x-popup-dialog): Declare.
2640
2641 * term/common-win.el (x-select-enable-primary)
2642 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2643 Declare.
2644
2645 * term/ns-win.el (x-handle-args): Declare.
2646
2647 * term/x-win.el (x-select-enable-clipboard): Declare.
2648
2649 * term/w32-win.el (create-default-fontset): Declare.
2650
2651 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2652 Declare.
2653
2654 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2655 (fit-frame-to-buffer): Explicit error if --without-x.
2656 (mouse-autoselect-window-select): Silence compiler.
2657
2658 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2659
2660 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2661 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2662 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2663 * eshell/esh-util.el (eshell-sublist):
2664 Remove unused local variables.
2665
2666 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2667
2668 * textmodes/two-column.el: Make 2C-split work for --without-x.
2669 (scroll-bar-columns): Autoload.
2670 (top-level): Require fringe when compiling.
2671
2672 2013-09-18 Leo Liu <sdl.web@gmail.com>
2673
2674 * subr.el (add-hook): Robustify to handle closure as well.
2675
2676 2013-09-17 Glenn Morris <rgm@gnu.org>
2677
2678 * simple.el (messages-buffer-mode-map): Unbind "g".
2679
2680 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2681
2682 * help-mode.el (help-mode-finish): Use derived-mode-p.
2683 Remove obsolete highlighting.
2684
2685 * play/life.el (life-mode): Use define-derived-mode. Derive from
2686 special-mode.
2687 (life): Let-bind inhibit-read-only.
2688 (life-setup): Avoid `setq'. Use `life-mode'.
2689
2690 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2691 which should not be needed any more.
2692 (package-menu-refresh, package-menu-describe-package): Use user-error.
2693
2694 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2695 (eshell-post-rewrite-command-hook): Make obsolete.
2696 (eshell-parse-command): Simplify.
2697 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2698 (eshell--cmd): Declare.
2699 (eshell-parse-pipeline): Remove unused var `final-p'.
2700 Pass a dynvar to eshell-post-rewrite-command-hook.
2701 Implement the new eshell-post-rewrite-command-function.
2702 (eshell-invoke-directly): Remove unused arg `input'.
2703 * eshell/esh-io.el (eshell-io-initialize):
2704 Use eshell-post-rewrite-command-function (bug#15399).
2705 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2706 adjust to new calling convention.
2707 (eshell-create-handles): Rename args to avoid clashing with dynvar
2708 `standard-output'.
2709
2710 2013-09-17 Glenn Morris <rgm@gnu.org>
2711
2712 * simple.el (messages-buffer-mode): New major mode.
2713 (messages-buffer): New function.
2714 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2715 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2716 (ert-run-test): Use `messages-buffer' function.
2717 (ert--force-message-log-buffer-truncation): Ignore read-only.
2718 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2719 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2720
2721 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2722
2723 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2724
2725 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2726
2727 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2728
2729 * icomplete.el (icomplete-in-buffer): New var.
2730 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2731 vars and replace them with functions.
2732 (icomplete-minibuffer-setup): Adjust accordingly.
2733 (icomplete--completion-table, icomplete--completion-predicate)
2734 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2735 New functions.
2736 (icomplete-forward-completions, icomplete-backward-completions)
2737 (icomplete-simple-completing-p, icomplete-exhibit)
2738 (icomplete-completions): Use them.
2739 (icomplete--in-region-buffer): New var.
2740 (icomplete--in-region-setup): New function.
2741 (icomplete-mode): Use it.
2742
2743 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2744 (bug#15379).
2745 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2746 return args and options.
2747 (eshell-eval-using-options): Use the new return value of
2748 eshell--do-opts to set the options's vars in their scope.
2749 (eshell--set-option): Rename from eshell-set-option.
2750 Add arg `opt-vals'.
2751 (eshell--process-option): Rename from eshell-process-option.
2752 Add arg `opt-vals'.
2753 (eshell--process-args): Use an `opt-vals' alist to store the options's
2754 values during their processing and return them additionally to the
2755 remaining args.
2756
2757 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2758
2759 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2760 continuation character an operator, as far as indentation is
2761 concerned (Bug#15369).
2762
2763 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2764
2765 * window.el (window--state-put-2): Don't process buffer state
2766 when buffer doesn't exist any more (Bug#15382).
2767
2768 2013-09-15 Glenn Morris <rgm@gnu.org>
2769
2770 * eshell/em-unix.el (eshell/rm):
2771 Make -f ignore missing files. (Bug#15373)
2772
2773 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2774 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2775 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2776
2777 2013-09-14 Glenn Morris <rgm@gnu.org>
2778
2779 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2780
2781 2013-09-13 Glenn Morris <rgm@gnu.org>
2782
2783 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2784 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2785
2786 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2787
2788 * frame.el (x-focus-frame): Mark as declared in frame.c.
2789
2790 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2791
2792 * ls-lisp.el: Use advice-add.
2793 (original-insert-directory): Remove.
2794 (ls-lisp--insert-directory): Rename from insert-directory; add
2795 `orig-fun' argument.
2796 (insert-directory): Advise.
2797
2798 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2799
2800 * term.el (term-emulate-terminal): Decode the command string
2801 before passing it to term-command-hook. (Bug#15337)
2802
2803 2013-09-13 Glenn Morris <rgm@gnu.org>
2804
2805 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2806
2807 * eshell/esh-ext.el (eshell-search-path): Declare.
2808
2809 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2810 Otherwise an error occurs if eshell-dirs module not loaded.
2811
2812 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2813
2814 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2815
2816 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2817 `tramp-check-proper-host'. Check for a valid method name.
2818
2819 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2820 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2821 * net/tramp-sh.el (tramp-maybe-open-connection):
2822 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2823
2824 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2825 also for hash values.
2826
2827 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2828
2829 * term/ns-win.el (parameters): Don't declare as dynamic.
2830 (before-make-frame-hook): Don't add ineffective function.
2831
2832 * eshell/*.el: Use lexical-binding (bug#15231).
2833
2834 2013-09-12 Kenichi Handa <handa@gnu.org>
2835
2836 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2837
2838 2013-09-12 Glenn Morris <rgm@gnu.org>
2839
2840 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2841 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2842
2843 * subr.el (do-after-load-evaluation): Also give compiler warnings
2844 when obsolete files are used (except by obsolete files).
2845
2846 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2847 in the status output, assume `filename' is the first. (Bug#15322)
2848
2849 * vc/vc.el (vc-deduce-fileset): Doc fix.
2850
2851 * calc/calc-help.el (Info-goto-node):
2852 * progmodes/cperl-mode.el (Info-find-node):
2853 * vc/ediff.el (Info-goto-node): Update declarations.
2854
2855 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2856
2857 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2858 (vc-bzr-pull): Require vc-dispatcher.
2859 * vc/vc-git.el (vc-compilation-mode): Declare.
2860 (vc-git-pull): Require vc-dispatcher.
2861
2862 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2863
2864 * progmodes/octave.el (help-button-action): Declare.
2865
2866 * shell.el (shell-directory-tracker): Output error as a message
2867 rather than just returning it as a string.
2868 (shell-process-pushd): Remove useless use of message.
2869
2870 * dframe.el (dframe-timer-fn):
2871 * files.el (dir-locals-read-from-file):
2872 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2873 (mpc-format):
2874 * reveal.el (reveal-post-command):
2875 * saveplace.el (load-save-place-alist-from-file):
2876 * shell.el (shell-resync-dirs):
2877 * w32-common-fns.el (x-get-selection-value):
2878 * emacs-lisp/copyright.el (copyright-find-copyright):
2879 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2880 * emulation/tpu-edt.el (tpu-copy-keyfile):
2881 * play/bubbles.el (bubbles--mark-neighbourhood):
2882 * progmodes/executable.el
2883 (executable-make-buffer-file-executable-if-script-p):
2884 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2885
2886 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2887
2888 Cleanup Eshell to rely less on dynamic scoping.
2889 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2890 last-value, and ext-command here. Bind `args' closer to `body'.
2891 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2892 (eshell--args): Declare new dynamic var.
2893 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2894 last-value, and ext-command. Pass `args' to `body'.
2895 (eshell-process-args): Bind eshell--args.
2896 (eshell-set-option): Use eshell--args.
2897 * eshell/eshell.el (eshell): Use derived-mode-p.
2898 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2899 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2900 (eshell-glob-function): Declare.
2901 * eshell/esh-util.el: Require cl-lib.
2902 (eshell-read-hosts-file): Avoid add-to-list.
2903 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2904 `err'.
2905 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2906 Declare.
2907 (eshell/diff): Remove unused var `err'.
2908 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2909 `killflag'.
2910 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2911 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2912 first use.
2913 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2914 Move declaration before first use.
2915 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2916 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2917 rely on cl-return.
2918
2919 2013-09-12 Glenn Morris <rgm@gnu.org>
2920
2921 * term/ns-win.el (global-map): Remove binding for ispell-next,
2922 deleted 1999-05-29. (Bug#15357)
2923
2924 2013-09-11 Glenn Morris <rgm@gnu.org>
2925
2926 * echistory.el (electric-command-history): Remove call to deleted func.
2927
2928 * play/landmark.el (landmark-mode): Fix typos.
2929
2930 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2931 Check cvs-sort-ignore-file is bound.
2932
2933 * savehist.el: No need for cl when compiling on Emacs.
2934
2935 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2936
2937 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2938 (bug#15338).
2939 (eshell-self-insert-command, eshell-send-invisible):
2940 Remove unused argument.
2941 (eshell-handle-control-codes): Remove unused var `orig'.
2942 Avoid delete-backward-char.
2943
2944 * files.el (set-auto-mode): Simplify a bit further.
2945
2946 2013-09-11 Glenn Morris <rgm@gnu.org>
2947
2948 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2949 (set-auto-mode): Don't regexp-quote elements.
2950 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2951 * progmodes/cc-mode.el (interpreter-mode-alist):
2952 * progmodes/ruby-mode.el (interpreter-mode-alist):
2953 Revert previous change.
2954
2955 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2956
2957 * play/snake.el (snake-mode):
2958 * play/mpuz.el (mpuz-mode):
2959 * play/landmark.el (lm-mode):
2960 * play/blackbox.el (blackbox-mode):
2961 * play/5x5.el (5x5-mode):
2962 * obsolete/options.el (Edit-options-mode):
2963 * net/quickurl.el (quickurl-list-mode):
2964 * net/newst-treeview.el (newsticker-treeview-mode):
2965 * mail/rmailsum.el (rmail-summary-mode):
2966 * mail/mspools.el (mspools-mode):
2967 * locate.el (locate-mode):
2968 * ibuffer.el (ibuffer-mode):
2969 * emulation/ws-mode.el (wordstar-mode):
2970 * emacs-lisp/debug.el (debugger-mode):
2971 * array.el (array-mode):
2972 * net/eudc.el (eudc-mode): Use define-derived-mode.
2973 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2974 Move initialization into declaration.
2975 (mairix-searches-mode): Use define-derived-mode.
2976 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2977 (eudc-edit-hotlist): Use dolist.
2978 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2979 (Man-mode): Use define-derived-mode.
2980 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2981 (Info-edit-mode): Use define-derived-mode.
2982 (Info-cease-edit): Use Info-mode.
2983 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2984 into declaration.
2985 (eshell-mode): Use define-derived-mode.
2986 * chistory.el (command-history-mode-map): Rename from
2987 command-history-map.
2988 (command-history-mode): Use define-derived-mode.
2989 (Command-history-setup): Remove function.
2990 * calc/calc.el (calc-trail-mode-map): New var.
2991 (calc-trail-mode): Use define-derived-mode.
2992 (calc-trail-buffer): Set calc-main-buffer manually.
2993 * bookmark.el (bookmark-insert-annotation): New function.
2994 (bookmark-edit-annotation): Use it.
2995 (bookmark-edit-annotation-mode): Make it a proper major mode.
2996 (bookmark-send-edited-annotation): Use derived-mode-p.
2997 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2998 closer to its ideal place. Use \' to match EOS.
2999
3000 * profiler.el (profiler-calltree-find): Use function-equal.
3001
3002 2013-09-10 Glenn Morris <rgm@gnu.org>
3003
3004 * files.el (interpreter-mode-alist): Convert to regexps.
3005 (set-auto-mode): Adapt for this. (Bug#15306)
3006 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3007 Comment out unused variable.
3008 * progmodes/cc-mode.el (interpreter-mode-alist):
3009 * progmodes/python.el (interpreter-mode-alist):
3010 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3011 * progmodes/sh-script.el (sh-set-shell):
3012 No longer use interpreter-mode-alist to get list of shells.
3013
3014 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3015
3016 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * simple.el: Use set-temporary-overlay-map for universal-argument.
3019 (universal-argument-map): Don't use default-bindings (bug#15317).
3020 Bind switch-frame explicitly. Replace universal-argument-minus with
3021 a conditional binding.
3022 (universal-argument-num-events, saved-overriding-map): Remove.
3023 (restore-overriding-map): Remove.
3024 (universal-argument--mode): Rename from save&set-overriding-map,
3025 and rewrite.
3026 (universal-argument, universal-argument-more, negative-argument)
3027 (digit-argument): Adjust accordingly.
3028 (universal-argument-minus): Remove.
3029 (universal-argument-other-key): Remove.
3030
3031 * subr.el (with-demoted-errors): Add `format' argument.
3032
3033 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3034
3035 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3036 `tramp-cleanup-connection'.
3037
3038 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3039 parameters KEEP-DEBUG and KEEP-PASSWORD.
3040
3041 * net/tramp.el (tramp-file-name-handler):
3042 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3043 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3044 (tramp-maybe-open-connection):
3045 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3046 Use `tramp-cleanup-connection'.
3047
3048 * net/tramp-sh.el (tramp-maybe-open-connection):
3049 Catch 'uname-changed inside the progress reporter.
3050
3051 2013-09-10 Glenn Morris <rgm@gnu.org>
3052
3053 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3054
3055 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3056 returns "alternate access method" in mode (eg "-rw-r--r--.").
3057
3058 2013-09-08 Glenn Morris <rgm@gnu.org>
3059
3060 * saveplace.el (load-save-place-alist-from-file):
3061 Demote errors. (Bug#15305)
3062
3063 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3064
3065 Improve compatibility with older Emacsen, and XEmacs.
3066
3067 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3068 only if it is bound. It isn't for XEmacs.
3069 (with-tramp-progress-reporter): Do not let-bind `result'.
3070 This yields to scoping errors in XEmacs.
3071 (tramp-handle-make-auto-save-file-name): New function, moved from
3072 tramp-sh.el.
3073
3074 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3075 for `make-auto-save-file-name'.
3076 (tramp-adb--gnu-switches-to-ash):
3077 Use `tramp-compat-replace-regexp-in-string'.
3078
3079 * net/tramp-cache.el (tramp-cache-print): Call
3080 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3081
3082 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3083 bound. It isn't for XEmacs.
3084
3085 * net/tramp-compat.el (tramp-compat-copy-file):
3086 Catch `wrong-number-of-arguments' error.
3087 (tramp-compat-replace-regexp-in-string): New defun.
3088
3089 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3090 for `make-auto-save-file-name'.
3091 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3092 `copy-file'.
3093 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3094 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3095 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3096
3097 * net/tramp-gw.el (tramp-gw-open-network-stream):
3098 Use `tramp-compat-replace-regexp-in-string'.
3099
3100 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3101 Call `tramp-handle-make-auto-save-file-name'.
3102 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3103 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3104 (tramp-sh-file-inotifywait-process-filter):
3105 Use `tramp-compat-replace-regexp-in-string'.
3106 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3107
3108 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3109 for `make-auto-save-file-name'.
3110 (tramp-smb-handle-copy-directory):
3111 Call `tramp-compat-replace-regexp-in-string'.
3112 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3113 (tramp-smb-handle-copy-file): Improve error message.
3114 (tramp-smb-handle-rename-file): Rename directly only in case
3115 `newname' does not exist yet. This is a restriction of smbclient.
3116 (tramp-smb-maybe-open-connection): Rerun the function only when
3117 `auth-sources' is non-nil.
3118
3119 2013-09-08 Kenichi Handa <handa@gnu.org>
3120
3121 * international/characters.el: Set category "^" (Combining) for
3122 more characters.
3123
3124 2013-09-07 Alan Mackenzie <acm@muc.de>
3125
3126 Correctly fontify Java class constructors.
3127 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3128 in Java Mode.
3129 (c-recognize-typeless-decls): Set the Java value to t.
3130 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3131 While handling a "(", add a check for, effectively, Java, and handle a
3132 "typeless" declaration there.
3133
3134 2013-09-07 Roland Winkler <winkler@gnu.org>
3135
3136 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3137 field subtitle for entry type book.
3138
3139 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3140
3141 * minibuffer.el: Make minibuffer-complete call completion-in-region
3142 rather than other way around.
3143 (completion--some, completion-pcm--find-all-completions):
3144 Don't delay signals when debugging.
3145 (minibuffer-completion-contents): Beware fields within the
3146 minibuffer contents.
3147 (completion-all-sorted-completions): Use defvar-local.
3148 (completion--do-completion, completion--cache-all-sorted-completions)
3149 (completion-all-sorted-completions, minibuffer-force-complete):
3150 Add args `beg' and `end'.
3151 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3152 (minibuffer-complete): Use completion-in-region.
3153 (completion-complete-and-exit): New fun, extracted from
3154 minibuffer-complete-and-exit.
3155 (minibuffer-complete-and-exit): Use it.
3156 (completion--complete-and-exit): Rename from
3157 minibuffer--complete-and-exit.
3158 (completion-in-region--single-word): New function, extracted from
3159 minibuffer-complete-word.
3160 (minibuffer-complete-word): Use it.
3161 (display-completion-list): Make `common-substring' argument obsolete.
3162 (completion--in-region): Call completion--in-region-1 instead of
3163 minibuffer-complete.
3164 (completion-help-at-point): Pass boundaries to
3165 minibuffer-completion-help as args rather than via an overlay.
3166 (completion-pcm--string->pattern): Use `any-delim'.
3167 (completion-pcm--optimize-pattern): New function.
3168 (completion-pcm--pattern->regex): Handle `any-delim'.
3169 * icomplete.el (icomplete-forward-completions)
3170 (icomplete-backward-completions, icomplete-completions):
3171 Adjust calls to completion-all-sorted-completions and
3172 completion--cache-all-sorted-completions.
3173 (icomplete-with-completion-tables): Default to t.
3174 * emacs-lisp/crm.el (crm--current-element): Rename from
3175 crm--select-current-element. Don't put an overlay but return the
3176 boundaries instead.
3177 (crm--completion-command): Take two new args to bind to the boundaries.
3178 (crm-completion-help): Adjust accordingly.
3179 (crm-complete): Use completion-in-region.
3180 (crm-complete-word): Use completion-in-region--single-word.
3181 (crm-complete-and-exit): Use completion-complete-and-exit.
3182
3183 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3184
3185 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3186 than dynamically.
3187
3188 2013-09-06 Juri Linkov <juri@jurta.org>
3189
3190 * info.el (Info-display-images-node): When image file doesn't exist
3191 display text version of the image if it's provided in the Info file.
3192 Otherwise, display the location of missing image from SRC attribute.
3193 Add help-echo text property from ALT attribute. (Bug#15279)
3194
3195 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3198 (edit-abbrevs-mode): Use define-derived-mode.
3199
3200 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3201 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3202 that it's defined.
3203 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3204 Use define-derived-mode.
3205
3206 * epg.el (epg-start-encrypt): Minor CSE simplification.
3207
3208 2013-09-06 William Xu <william.xwl@gmail.com>
3209
3210 * arc-mode.el: Add support for 7za (bug#15264).
3211 (archive-7z-program): New var.
3212 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3213 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3214 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3215
3216 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3217
3218 Remove URL syntax.
3219
3220 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3221 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3222 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3223 (tramp-postfix-host-format, tramp-file-name-regexp)
3224 (tramp-completion-file-name-regexp)
3225 (tramp-completion-dissect-file-name)
3226 (tramp-handle-substitute-in-file-name): Remove 'url case.
3227 (tramp-file-name-regexp-url)
3228 (tramp-completion-file-name-regexp-url): Remove constants.
3229
3230 2013-09-06 Glenn Morris <rgm@gnu.org>
3231
3232 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3233
3234 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3235
3236 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3237 keywords" below "here-doc beginnings" (Bug#15270).
3238
3239 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * subr.el (pop): Use `car-safe'.
3242 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3243 to detect unused `pop' return value.
3244
3245 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3246 var `block-regexp'.
3247 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3248 (python-fill-string): Remove unused var `marker'.
3249 (python-skeleton-add-menu-items): Remove unused var `items'.
3250
3251 * international/mule-cmds.el: Require CL.
3252 (find-coding-systems-for-charsets): Avoid add-to-list.
3253 (sanitize-coding-system-list): New function, extracted from
3254 select-safe-coding-system-interactively.
3255 (select-safe-coding-system-interactively): Use it.
3256 (read-input-method-name): Accept symbols for `default'.
3257
3258 * emacs-lisp/advice.el (defadvice): Add indent rule.
3259
3260 2013-09-05 Daniel Hackney <dan@haxney.org>
3261
3262 * dired-x.el:
3263 * net/ange-ftp.el:
3264 * net/browse-url.el:
3265 * net/dbus.el:
3266 * net/eudc.el:
3267 * net/eudcb-ldap.el:
3268 * net/eww.el:
3269 * net/imap.el:
3270 * printing.el:
3271 * vc/ediff-diff.el:
3272 * vc/ediff-init.el:
3273 * vc/ediff-merg.el:
3274 * vc/ediff-mult.el:
3275 * vc/ediff-util.el:
3276 * vc/ediff-wind.el:
3277 * vc/ediff.el:
3278 * vc/emerge.el:
3279 * vc/pcvs.el:
3280 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3281 byte compiler. Remove some unused let-bound variables.
3282
3283 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3284
3285 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3286 a "ref-cell", since it gets better optimized (bug#14883).
3287
3288 2013-09-05 Glenn Morris <rgm@gnu.org>
3289
3290 * progmodes/cc-awk.el (c-forward-sws): Declare.
3291
3292 2013-09-04 Glenn Morris <rgm@gnu.org>
3293
3294 * generic-x.el [rul-generic-mode]: Require cc-mode.
3295 (c++-mode-syntax-table): Declare.
3296 (rul-generic-mode-syntax-table): Init in the defvar.
3297
3298 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3299
3300 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3301 (vc-do-command, vc-set-async-update):
3302 * vc/vc-mtn.el (vc-mtn-dir-status):
3303 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3304 (vc-hg-pull, vc-hg-merge-branch):
3305 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3306 (vc-git-merge-branch):
3307 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3308 (vc-cvs-dir-status-files):
3309 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3310 (vc-bzr-dir-status-files):
3311 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3312 * vc/vc-annotate.el: Use lexical-binding.
3313 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3314 (vc-sentinel-movepoint): Declare.
3315 (vc-annotate): Don't use `goto-line'.
3316 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3317 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3318 (vc-sentinel-movepoint): Declare.
3319 * vc/vc-svn.el: Use lexical-binding.
3320 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3321 * vc/vc-sccs.el:
3322 * vc/vc-rcs.el: Use lexical-binding.
3323
3324 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3325 `deleted'. Don't drop errors silently.
3326
3327 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3328
3329 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3330
3331 * vc/vc.el (vc-ignore): Rewrite.
3332 (vc-default-ignore): New function.
3333 (vc-default-ignore-completion-table): Use find-ignore-file.
3334
3335 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3336 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3337 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3338 Remove. Most code moved to vc.el.
3339
3340 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3343 * net/tramp-smb.el (tramp-smb-get-file-entries):
3344 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3345 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3346
3347 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3348 Update call to it.
3349 (eww-change-select): Remove unused var `properties'.
3350 (eww-make-unique-file-name): Remove unused var `base'.
3351
3352 * finder.el (finder-compile-keywords): Don't mess with windows.
3353
3354 * calculator.el (calculator-funcall): Fix typo in last change.
3355
3356 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3357
3358 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3359 <pkg>-autoloads.el file stop us.
3360
3361 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3362 warnings, and factor out common code.
3363
3364 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3365
3366 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3367 two-character operators and whether the character preceding them
3368 changes their meaning (Bug#15208).
3369
3370 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3371
3372 Format code sent to Python shell for robustness.
3373 * progmodes/python.el (python-shell-buffer-substring):
3374 New function.
3375 (python-shell-send-region, python-shell-send-buffer): Use it.
3376
3377 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3378
3379 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3380 * net/tramp.el (tramp-user-error): ... here.
3381 (tramp-find-method, tramp-check-proper-host)
3382 (tramp-dissect-file-name, tramp-debug-message)
3383 (tramp-handle-shell-command):
3384 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3385 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3386
3387 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3388
3389 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3390
3391 * avoid.el (mouse-avoidance-point-position)
3392 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3393 returns nil.
3394
3395 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3396
3397 * progmodes/python.el (python-shell-completion-get-completions):
3398 Drop use of deleted `comint-last-prompt-overlay'.
3399 (python-nav-if-name-main): New command.
3400
3401 2013-09-01 Glenn Morris <rgm@gnu.org>
3402
3403 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3404 Avoid leading space in $wins. Otherwise the sed command used by
3405 eg compile-main ends up containing "/*.el". (Bug#15170)
3406
3407 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3408
3409 2013-08-30 Glenn Morris <rgm@gnu.org>
3410
3411 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3412 Fix is-this-a-directory logic. (Bug#15220)
3413
3414 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3415
3416 * textmodes/css-mode.el: Use SMIE.
3417 (css-smie-grammar): New var.
3418 (css-smie--forward-token, css-smie--backward-token)
3419 (css-smie-rules): New functions.
3420 (css-mode): Use them.
3421 (css-navigation-syntax-table): Remove var.
3422 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3423 (css-indent-calculate, css-indent-line): Remove functions.
3424
3425 Misc changes to reduce use of `(lambda...); and other cleanups.
3426 * cus-edit.el: Use lexical-binding.
3427 (customize-push-and-save, customize-apropos)
3428 (custom-buffer-create-internal): Use closures.
3429 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3430 * progmodes/ada-xref.el: Use setq.
3431 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3432 * dframe.el: Use lexical-binding.
3433 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3434 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3435 * descr-text.el: Use lexical-binding.
3436 (describe-text-widget, describe-text-sexp, describe-property-list):
3437 Use closures.
3438 * comint.el (comint-history-isearch-push-state): Use a closure.
3439 * calculator.el: Use lexical-binding.
3440 (calculator-number-to-string): Make it work with lexical-binding.
3441 (calculator-funcall): Same and use cl-letf.
3442
3443 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3444 (lisp--company-doc-string, lisp--company-location): New functions.
3445 (lisp-completion-at-point): Use them to improve Company support.
3446
3447 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3448 params of lambda expressions.
3449 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3450 (ruby-smie--opening-pipe-p): New function.
3451 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3452 symbols and matched |...| for formal params.
3453 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3454 from being treated as hanging. Handle "rescue".
3455
3456 2013-08-29 Glenn Morris <rgm@gnu.org>
3457
3458 * progmodes/cc-engine.el (c-pull-open-brace):
3459 Move definition before use.
3460
3461 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3462
3463 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3464 are immutable. Don't use `unsafe' any more.
3465 (cl--defsubst-expand): Don't substitute at the same time as keeping
3466 a residual unused let-binding. Don't use `unsafe' any more.
3467
3468 2013-08-29 Glenn Morris <rgm@gnu.org>
3469
3470 * calendar/cal-china.el (calendar-chinese-year-cache):
3471 Recenter on 2015.
3472
3473 * nxml/nxml-util.el (nxml-debug-clear-inside):
3474 Use cl-loop rather than loop.
3475
3476 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3477
3478 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3479
3480 2013-08-28 Glenn Morris <rgm@gnu.org>
3481
3482 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3483
3484 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3485
3486 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3487
3488 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3489
3490 * simple.el (repeat-complex-command--called-interactively-skip):
3491 New function.
3492 (repeat-complex-command): Use it (bug#14136).
3493
3494 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3495 (c-define-abbrev-table): Add `doc' argument.
3496 (c-mode-abbrev-table, c++-mode-abbrev-table)
3497 (objc-mode-abbrev-table, java-mode-abbrev-table)
3498 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3499 (awk-mode-abbrev-table): Use it.
3500 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3501 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3502 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3503 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3504 Move initialization into the declaration; and remove any
3505 autoload cookie.
3506
3507 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3508 and dynamic let binding.
3509
3510 * vc/smerge-mode.el: Remove redundant :group args.
3511
3512 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3513 to load-path.
3514
3515 2013-08-28 Juri Linkov <juri@jurta.org>
3516
3517 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3518 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3519 (isearch-other-meta-char): Handle an undefined shifted printing
3520 character by downshifting it. (Bug#15200)
3521
3522 2013-08-28 Juri Linkov <juri@jurta.org>
3523
3524 * isearch.el (isearch-search): Change regexp error message for
3525 non-regexp searches. (Bug#15166)
3526
3527 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3528
3529 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3530 for portability to hosts where /bin/sh has problems.
3531
3532 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3535
3536 2013-08-27 Juri Linkov <juri@jurta.org>
3537
3538 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3539 in the keyboard macro. (Bug#15126)
3540
3541 2013-08-27 Juri Linkov <juri@jurta.org>
3542
3543 * isearch.el (isearch-quote-char): Comment out converting unibyte
3544 to multibyte, thus syncing with its `quoted-insert' counterpart.
3545 (Bug#15166)
3546
3547 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3548
3549 * window.el (display-buffer-use-some-window): Add missing
3550 argument in call of get-largest-window (Bug#15185).
3551 Reported by Stephen Leake.
3552
3553 2013-08-27 Glenn Morris <rgm@gnu.org>
3554
3555 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3556
3557 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3560 from a matcher-function unless there's no more matches (bug#15161).
3561
3562 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3563
3564 * minibuffer.el: Revert change from 2013-08-20.
3565
3566 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3567 with text property `tramp-default', if appropriate.
3568 (tramp-check-proper-host): New defun.
3569 (tramp-dissect-file-name): Do not check hostname. Revert change
3570 of 2013-03-18.
3571 (tramp-backtrace): Make VEC-OR-PROC optional.
3572
3573 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3574 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3575 * net/tramp-sh.el (tramp-maybe-open-connection):
3576 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3577 Apply `tramp-check-proper-host'.
3578
3579 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3580
3581 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3582 lambda expression in order to have `describe-variable' display it.
3583
3584 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3585
3586 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3587 BUF can be optional. (Bug#15186)
3588
3589 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3590
3591 * progmodes/flymake.el (flymake-get-real-file-name-function):
3592 Fix broken customization. (Bug#15184)
3593
3594 2013-08-25 Alan Mackenzie <acm@muc.de>
3595
3596 Improve indentation of bracelists defined by macros (without "=").
3597
3598 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3599 expansion begins with "{", regard it as bracelist when it doesn't
3600 contain a ";".
3601
3602 Parse C++ inher-intro when there's a template split over 2 lines.
3603
3604 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3605 rigorously the search for "class" etc. followed by ":".
3606
3607 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3608 random languages a regexp which never matches rather than nil.
3609
3610 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3611
3612 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3613 (c-awk-regexp-one-line-possibly-open-char-list-re)
3614 (c-awk-one-line-possibly-open-regexp-re)
3615 (c-awk-one-line-non-syn-ws*-re): Remove.
3616 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3617 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3618 (c-awk-space*-unclosed-regexp-/-re): New constants.
3619 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3620 aren't regexp delimiters.
3621
3622 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3623 handling for a rare situation in AWK Mode involving unterminated
3624 strings/regexps.
3625
3626 2013-08-23 Glenn Morris <rgm@gnu.org>
3627
3628 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3629
3630 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3631
3632 * files.el (create-file-buffer): If the result would begin with
3633 spaces, prepend a "|" instead of removing them. (Bug#15162)
3634
3635 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3636
3637 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3638 text-properties (bug#15155).
3639
3640 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3641 exist any more.
3642 (calc-keypad-redraw): Remove unused var `pad'.
3643 (calc-keypad-press): Remove unused var `menu'.
3644
3645 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3646
3647 * window.el (display-buffer-pop-up-frame):
3648 Call pop-up-frame-function with BUFFER current so `make-frame' will
3649 use it as the new frame's buffer (Bug#15133).
3650
3651 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3652
3653 * calendar/timeclock.el: Minor cleanups.
3654 (timeclock-ask-before-exiting, timeclock-use-display-time):
3655 Use `symbol'.
3656 (timeclock-modeline-display): Define as alias before the
3657 actual definition.
3658 (timeclock-mode-line-display): Use define-minor-mode.
3659 (timeclock-day-list-template): Make it a function, add an argument.
3660 (timeclock-day-list-required, timeclock-day-list-length)
3661 (timeclock-day-list-debt, timeclock-day-list-span)
3662 (timeclock-day-list-break): Adjust calls accordingly.
3663
3664 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3665
3666 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3667 Use read--expression so that completion works again.
3668
3669 2013-08-21 Sam Steingold <sds@gnu.org>
3670
3671 Add rudimentary inferior shell interaction
3672 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3673 (sh-set-shell): Reset it.
3674 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3675 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3676
3677 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3678
3679 * align.el: Use lexical-binding.
3680 (align-region): Simplify accordingly.
3681
3682 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3683
3684 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3685
3686 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3687 `non-essential' up.
3688
3689 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3690
3691 * net/tramp.el:
3692 * net/tramp-adb.el:
3693 * net/tramp-cmds.el:
3694 * net/tramp-ftp.el:
3695 * net/tramp-gvfs.el:
3696 * net/tramp-gw.el:
3697 * net/tramp-sh.el: Don't wrap external variable declarations by
3698 `eval-when-compile'.
3699
3700 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3701
3702 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3703 now that Emacs supports ImageMagick animations.
3704
3705 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3706
3707 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3708 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3709
3710 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3711
3712 * window.el (mouse-autoselect-window-select): Do autoselect when
3713 mouse pointer is on margin.
3714
3715 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3716
3717 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3718
3719 2013-08-16 Glenn Morris <rgm@gnu.org>
3720
3721 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3722 Handle "Remote Directory" response of some clients. (Bug#15058)
3723
3724 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3725 Tweak warning. (Bug#14926)
3726
3727 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3728 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3729
3730 * image-mode.el (image-mode-map): Add menu items to reverse,
3731 increase, decrease, reset animation speed.
3732 (image--set-speed, image-increase-speed, image-decrease-speed)
3733 (image-reverse-speed, image-reset-speed): New functions.
3734 (image-mode-map): Add bindings for speed commands.
3735
3736 * image.el (image-animate-get-speed, image-animate-set-speed):
3737 New functions.
3738 (image-animate-timeout): Respect image :speed property.
3739
3740 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3741
3742 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3743 previous line (bug#15101).
3744 (debugger-eval-expression, debugger-record-expression):
3745 Use read--expression (bug#15102).
3746
3747 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3748
3749 Remove byte compiler warnings, visible when compiling with
3750 `byte-compile-force-lexical-warnings' set to t.
3751
3752 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3753 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3754 (tramp-handle-unhandled-file-name-directory)
3755 (tramp-handle-file-notify-add-watch, tramp-action-login)
3756 (tramp-action-succeed, tramp-action-permission-denied)
3757 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3758 arguments with "_".
3759
3760 * net/tramp-adb.el (tramp-adb-parse-device-names)
3761 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3762 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3763 (tramp-adb-handle-file-truename): Remove unused arguments.
3764
3765 * net/tramp-cache.el (tramp-flush-directory-property)
3766 (tramp-flush-connection-property, tramp-list-connections)
3767 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3768
3769 * net/tramp-compat.el (tramp-compat-make-temp-file):
3770 Rename FILENAME to F.
3771
3772 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3773 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3774 (tramp-zeroconf-parse-workstation-device-names)
3775 (tramp-zeroconf-parse-webdav-device-names)
3776 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3777
3778 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3779 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3780
3781 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3782 arguments.
3783 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3784 (tramp-sh-handle-insert-file-contents-literally)
3785 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3786 with "_".
3787 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3788 Remove unused variables.
3789
3790 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3791 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3792 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3793
3794 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3795 Make them a defconst.
3796 (tramp-uuencode-region): Remove unused variable.
3797
3798 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3799
3800 * frameset.el (frameset--prop-setter): New function.
3801 (frameset-prop): Add gv-setter declaration.
3802 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3803 parameter was already set in FILTERED. Doc fix.
3804 (frameset--record-minibuffer-relationships): Allow saving a
3805 minibufferless frame without its corresponding minibuffer frame.
3806 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3807 frame, if the frame id matches.
3808 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3809 frames before orphaned ones.
3810 (frameset-restore): Warn about orphaned windows, instead of error out.
3811
3812 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3813
3814 * window.el (window-make-atom): Don't overwrite parameter
3815 already present.
3816 (display-buffer-in-atom-window): Handle special case where we
3817 split an already atomic window.
3818 (window--major-non-side-window, display-buffer-in-side-window)
3819 (window--side-check): Ignore minibuffer window when walking
3820 window tree.
3821 (window-deletable-p): Return 'frame only if no other frame uses
3822 our minibuffer window.
3823 (record-window-buffer): Run buffer-list-update-hook.
3824 (split-window): Make sure window--check-frame won't destroy an
3825 existing atomic window in case the new window gets nested
3826 inside.
3827 (display-buffer-at-bottom): Ignore minibuffer window when
3828 walking window tree. Don't split a side window.
3829 (pop-to-buffer): Don't set-buffer here, the select-window call
3830 should do that.
3831 (mouse-autoselect-window-select): Autoselect only if we are in the
3832 text portion of the window.
3833
3834 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3835
3836 * net/shr.el (shr-parse-image-data): New function to grab both the
3837 data itself and the Content-Type.
3838 (shr-put-image): Use it.
3839
3840 * net/eww.el (eww-display-image): Ditto.
3841
3842 * image.el (image-content-type-suffixes): New variable.
3843
3844 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3845
3846 * progmodes/python.el (python-imenu--build-tree)
3847 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3848
3849 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3850
3851 * simple.el (backward-word): Mention the optional argument.
3852
3853 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 * frameset.el (frameset--make): Rename constructor from make-frameset.
3856 (frameset-p, frameset-valid-p): Don't autoload.
3857 (frameset-valid-p): Use normal accessors.
3858
3859 2013-08-13 Glenn Morris <rgm@gnu.org>
3860
3861 * progmodes/compile.el (compile-command): Tweak example in doc.
3862 * obsolete/scribe.el (scribe-mode):
3863 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3864
3865 * mail/feedmail.el (feedmail-confirm-outgoing)
3866 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3867
3868 * cus-start.el (truncate-partial-width-windows): Fix type.
3869
3870 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3871
3872 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3873
3874 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3875
3876 * emacs-lisp/timer.el (timer--time-setter): New function.
3877 (timer--time): Use it as gv-setter.
3878
3879 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3880 setter is not a symbol.
3881
3882 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3883
3884 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3885 if sending fails. This makes debugging easier.
3886
3887 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3888
3889 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3890 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3891 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3892
3893 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3894
3895 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3896
3897 2013-08-12 Glenn Morris <rgm@gnu.org>
3898
3899 * format.el (format-annotate-function):
3900 Handle read-only text properties in the source. (Bug#14887)
3901
3902 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3903
3904 * net/eww.el (eww-display-html): Ignore coding system errors.
3905 One web site uses "utf-8lias" as the coding system.
3906
3907 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3908
3909 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3910
3911 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3912
3913 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3914 (tutorial--detailed-help): Remove unused local variables.
3915 (tutorial--save-tutorial-to): Use ignore-errors.
3916 (help-with-tutorial): Use looking-at-p.
3917
3918 * view.el (view-buffer-other-window, view-buffer-other-frame):
3919 Mark unused arguments.
3920
3921 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3922 (woman-select-symbol-fonts, woman, woman-find-file)
3923 (woman-insert-file-contents, woman-non-underline-faces):
3924 Use string-match-p.
3925 (woman1-unquote): Move declaration.
3926
3927 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3928 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3929 argument. Remove unused local variable.
3930 (xml-parse-elem-type): Use string-match-p.
3931 (xml-substitute-numeric-entities): Use ignore-errors.
3932
3933 * calculator.el (calculator): Mark unused argument.
3934 (calculator-paste, calculator-quit, calculator-integer-p):
3935 Use ignore-errors.
3936 (calculator-string-to-number, calculator-decimal, calculator-exp)
3937 (calculator-op-or-exp): Use string-match-p.
3938
3939 * dired.el (dired-buffer-more-recently-used-p): Declare.
3940 (dired-insert-set-properties, dired-insert-old-subdirs):
3941 Use ignore-errors.
3942
3943 * dired-aux.el (dired-compress): Use ignore-errors.
3944 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3945 (dired-do-async-shell-command, dired-do-shell-command)
3946 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3947 (dired-insert-subdir-validate): Use string-match-p.
3948 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3949 (dired-add-entry): Use string-match-p, looking-at-p.
3950 (dired-insert-subdir-newpos): Remove unused local variable.
3951
3952 * filenotify.el (file-notify-callback): Remove unused local variable.
3953
3954 * filesets.el (filesets-error): Mark unused argument.
3955 (filesets-which-command-p, filesets-filter-dir-names)
3956 (filesets-directory-files, filesets-get-external-viewer)
3957 (filesets-ingroup-get-data): Use string-match-p.
3958
3959 * find-file.el (ff-other-file-name, ff-other-file-name)
3960 (ff-find-the-other-file, ff-cc-hh-converter):
3961 Remove unused local variables.
3962 (ff-get-file-name): Use string-match-p.
3963 (ff-all-dirs-under): Use ignore-errors.
3964
3965 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3966 (follow-select-if-visible): Remove unused local variable.
3967
3968 * forms.el (read-file-filter): Move declaration.
3969 (forms--make-format, forms--make-parser, forms-insert-record):
3970 Quote function with #'.
3971 (forms--update): Use string-match-p. Quote function with #'.
3972
3973 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3974 (help-make-xrefs): Use looking-at-p.
3975 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3976
3977 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3978 (ibuffer-confirm-operation-on): Use string-match-p.
3979
3980 * msb.el (msb-item-handler, msb-dired-item-handler):
3981 Mark unused arguments.
3982
3983 * ses.el (ses-decode-cell-symbol)
3984 (ses-kill-override): Remove unused local variable.
3985 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3986 (ses-load): Use ignore-errors, looking-at-p.
3987 (ses-jump-safe): Use ignore-errors.
3988 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3989
3990 * tabify.el (untabify, tabify): Mark unused arguments.
3991
3992 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3993 Mark unused argument.
3994 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3995 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3996
3997 * emacs-lisp/timer.el (timer--time): Define setter with
3998 gv-define-setter to avoid deprecation warning.
3999
4000 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4001 (*record-cmpl-statistics-p*): Remove (was commented out).
4002 (cmpl-statistics-block): Remove (body was commented out).
4003 All callers changed.
4004 (add-completions-from-buffer, load-completions-from-file):
4005 Remove unused variables.
4006
4007 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4008
4009 * filecache.el (file-cache-delete-file-list):
4010 Print message only when told so.
4011 (file-cache-files-matching): Use #' in mapconcat argument.
4012
4013 * ffap.el (ffap-url-at-point): Fix reference to variable
4014 thing-at-point-default-mail-uri-scheme.
4015
4016 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4017
4018 * subr.el (define-error): New function.
4019 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4020 error-file-not-found and define with define-error.
4021 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4022 and define with define-error.
4023 * userlock.el (file-locked, file-supersession):
4024 * simple.el (mark-inactive):
4025 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4026 * progmodes/ada-mode.el (ada-mode-errors):
4027 * play/life.el (life-extinct):
4028 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4029 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4030 * nxml/rng-util.el (rng-error):
4031 * nxml/rng-uri.el (rng-uri-error):
4032 * nxml/rng-match.el (rng-compile-error):
4033 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4034 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4035 * nxml/nxml-rap.el (nxml-scan-error):
4036 * nxml/nxml-outln.el (nxml-outline-error):
4037 * net/soap-client.el (soap-error):
4038 * net/gnutls.el (gnutls-error):
4039 * net/ange-ftp.el (ftp-error):
4040 * mpc.el (mpc-proc-error):
4041 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4042 (json-number-format, json-string-escape, json-string-format)
4043 (json-key-format, json-object-format):
4044 * jka-compr.el (compression-error):
4045 * international/quail.el (quail-error):
4046 * international/kkc.el (kkc-error):
4047 * emacs-lisp/ert.el (ert-test-failed):
4048 * calc/calc.el (calc-error, inexact-result, math-overflow)
4049 (math-underflow):
4050 * bookmark.el (bookmark-error-no-filename):
4051 * epg.el (epg-error): Define with define-error.
4052
4053 * time.el (display-time-event-handler)
4054 (display-time-next-load-average): Don't call sit-for since it seems
4055 unnecessary (bug#15045).
4056
4057 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4058 Use #' instead of ' to quote functions.
4059 (checkdoc-output-mode): Use setq-local.
4060 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4061 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4062 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4063 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4064 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4065 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4066 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4067 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4068
4069 * ido.el (ido-completion-help): Fix up compiler warning.
4070
4071 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4072
4073 * frameset.el (frameset-p): Add autoload cookie.
4074 (frameset--jump-to-register): New function, based on code moved from
4075 register.el.
4076 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4077
4078 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4079 (frameset-restore, frameset-save, frameset-session-filter-alist):
4080 Remove declarations.
4081 (register-alist): Doc fix.
4082 (frameset-to-register): Move to frameset.el.
4083 (jump-to-register, describe-register-1): Remove frameset-specific code.
4084
4085 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4086
4087 * allout-widgets.el (allout-widgets-pre-command-business)
4088 (allout-widgets-post-command-business)
4089 (allout-widgets-after-change-handler)
4090 (allout-decorate-item-and-context, allout-set-boundary-marker)
4091 (allout-body-modification-handler)
4092 (allout-graphics-modification-handler): Mark ignored arguments.
4093 (allout-widgets-post-command-business)
4094 (allout-widgets-exposure-change-processor)
4095 (allout-widgets-exposure-undo-processor)
4096 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4097 (allout-parse-item-at-point, allout-decorate-item-guides)
4098 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4099 * allout.el (epa-passphrase-callback-function): Declare.
4100 (allout-overlay-insert-in-front-handler)
4101 (allout-overlay-interior-modification-handler)
4102 (allout-isearch-end-handler, allout-chart-siblings)
4103 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4104 (allout-yank-processing, allout-process-exposed)
4105 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4106 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4107 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4108 (lisp-indent-defform): Mark ignored arguments.
4109 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4110 (calculate-lisp-indent): Remove unused variables.
4111 * international/characters.el (indian-2-column, arabic-2-column)
4112 (tibetan): Mark ignored arguments.
4113 (use-cjk-char-width-table): Mark ignored arguments.
4114 Remove unused variables.
4115 * international/fontset.el (build-default-fontset-data)
4116 (x-compose-font-name, create-fontset-from-fontset-spec):
4117 Mark ignored arguments.
4118 (fontset-plain-name): Remove unused variables.
4119 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4120 (keyboard-coding-system): Mark ignored arguments.
4121 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4122 * help.el (resize-temp-buffer-window):
4123 * window.el (display-buffer-in-major-side-window)
4124 (display-buffer-in-side-window, display-buffer-in-previous-window):
4125 Remove unused variables.
4126 * isearch.el (isearch-forward-symbol):
4127 * version.el (emacs-bzr-version-bzr):
4128 * international/mule-cmds.el (current-language-environment):
4129 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4130 (x-handle-display):
4131 * term/pc-win.el (x-list-fonts, x-display-planes)
4132 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4133 (x-server-version, x-display-screens, x-display-mm-height)
4134 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4135 (x-selection-owner-p, x-own-selection-internal)
4136 (x-disown-selection-internal, x-get-selection-internal)
4137 (msdos-initialize-window-system):
4138 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4139 * term/x-win.el (x-handle-no-bitmap-icon):
4140 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4141 (vc-default-find-file-hook, vc-default-extra-menu):
4142 Mark ignored arguments.
4143
4144 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4145
4146 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4147 break-condition in the context of the debugged code (bug#12685).
4148
4149 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4150
4151 * comint.el:
4152 Do not use an overlay to highlight the last prompt. (Bug#14744)
4153 (comint-mode): Make comint-last-prompt buffer local.
4154 (comint-last-prompt): New variable.
4155 (comint-last-prompt-overlay): Remove. Superseded by
4156 comint-last-prompt.
4157 (comint-snapshot-last-prompt, comint-output-filter):
4158 Use comint-last-prompt.
4159
4160 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4161
4162 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4163 (frameset-save): Check validity of the resulting frameset.
4164
4165 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4166
4167 * ido.el (ido-record-command): Add doc string.
4168
4169 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4170
4171 * frameset.el (frameset): Do not disable creation of the default
4172 frameset-p predicate. Doc fix.
4173 (frameset-valid-p): New function, copied from the old predicate-p.
4174 Add additional checks.
4175 (frameset-restore): Check with frameset-valid-p.
4176 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4177 (frameset-name, frameset-description, frameset-properties)
4178 (frameset-states): Add docstring.
4179 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4180 (frameset-filter-alist): Doc fixes.
4181
4182 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4183
4184 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4185
4186 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4187
4188 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4189 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4190 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4191 (byte-compile-normal-call): Remove obsolescence check.
4192
4193 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4194
4195 * frameset.el (frameset-restore): Doc fix.
4196
4197 * register.el (frameset-frame-id, frameset-frame-with-id)
4198 (frameset-p, frameset-restore, frameset-save): Declare.
4199 (register-alist): Document framesets.
4200 (frameset-session-filter-alist): Declare.
4201 (frameset-to-register): New function.
4202 (jump-to-register): Implement jumping to framesets. Doc fix.
4203 (describe-register-1): Describe framesets.
4204
4205 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4206
4207 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4208
4209 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4210 Use lexical-binding.
4211
4212 * frameset.el (frameset): Use type vector, not list (incompatible
4213 change). Do not declare a new constructor, use the default one.
4214 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4215 `name' and `description', respectively, and add read-only slot
4216 `timestamp'. Doc fixes.
4217 (frameset-copy, frameset-persistent-filter-alist)
4218 (frameset-filter-alist, frameset-switch-to-gui-p)
4219 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4220 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4221 (frameset-filter-iconified, frameset-keep-original-display-p):
4222 Doc fixes.
4223 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4224 Rename from frameset-filter-(save|restore)-param. All callers changed.
4225 Doc fix.
4226 (frameset-p): Adapt to change to vector and be more thorough.
4227 Change arg name to OBJECT. Doc fix.
4228 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4229 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4230 All callers changed.
4231 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4232 All callers changed.
4233 (frameset--record-minibuffer-relationships): Rename from
4234 frameset--process-minibuffer-frames. All callers changed.
4235 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4236 Use new default constructor (again). Doc fix.
4237 (frameset--find-frame-if): Rename from `frameset--find-frame.
4238 All callers changed.
4239 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4240 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4241 Doc fix.
4242 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4243 PARAMETERS and WINDOW-STATE, respectively.
4244 (frameset-restore): Add new keyword argument PREDICATE.
4245 Reset frameset--target-display to nil. Doc fix.
4246
4247 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4248
4249 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4250 (bat-mode): Use it.
4251 (bat-mode-syntax-table): Mark \n as end-of-comment.
4252 (bat-font-lock-keywords): Remove comment rule.
4253
4254 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4255 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4256
4257 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4258 (byte-compile-callargs-warn): Use `push'.
4259 (byte-compile-arglist-warn): Ignore higher-order "calls".
4260 (byte-compile-file-form-autoload): Use `pcase'.
4261 (byte-compile-function-form): If quoting a symbol, check that it exists.
4262
4263 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4264
4265 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4266 and add a few popular commands found in batch files.
4267 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4268 (dos-mode): Doc fixes.
4269
4270 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4271
4272 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4273 (dos-mode): Use setq-local. Add space after "rem".
4274 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4275 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4276
4277 2013-08-07 Arni Magnusson <arnima@hafro.is>
4278
4279 * progmodes/dos.el: New file.
4280 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4281 dos-mode.
4282
4283 2013-08-06 Glenn Morris <rgm@gnu.org>
4284
4285 * calendar/calendar.el: Add new faces, and day-header-array.
4286 (calendar-weekday-header, calendar-weekend-header)
4287 (calendar-month-header): New faces.
4288 (calendar-day-header-construct): New function.
4289 (calendar-day-header-width): Also :set calendar-day-header-array.
4290 (calendar-american-month-header, calendar-european-month-header)
4291 (calendar-iso-month-header): Use calendar- faces.
4292 (calendar-generate-month):
4293 Use calendar-day-header-array for day headers; apply faces to them.
4294 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4295 (calendar-abbrev-construct): Add optional maxlen argument.
4296 (calendar-day-name-array): Doc fix.
4297 (calendar-day-name-array, calendar-abbrev-length)
4298 (calendar-day-abbrev-array):
4299 Also :set calendar-day-header-array, and maybe redraw.
4300 (calendar-day-header-array): New option. (Bug#15007)
4301 (calendar-font-lock-keywords): Set to nil and make obsolete.
4302 (calendar-day-name): Add option to use header array.
4303
4304 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4305
4306 * net/shr.el (shr-render-td): Remove debugging.
4307 (shr-render-td): Make width computation consistent by defaulting
4308 all zero-width columns to 10 characters. This may not be optimal,
4309 but it's at least consistent.
4310 (shr-make-table-1): Redo last change to fix the real problem in
4311 colspan handling.
4312
4313 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4314
4315 * files.el (cache-long-line-scans):
4316 Make obsolete alias to `cache-long-scans'.
4317
4318 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4319
4320 * frameset.el (frameset, frameset-filter-alist)
4321 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4322 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4323 (frameset-compute-pos): Rename from frameset--compute-pos,
4324 and add docstring.
4325 (frameset-move-onscreen): Use frameset-compute-pos.
4326 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4327
4328 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4329 Fix typos in docstrings.
4330
4331 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4332
4333 * frame.el (get-other-frame): Tiny cleanup.
4334
4335 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4336
4337 * vc/vc.el (vc-default-ignore-completion-table):
4338 Silence byte-compiler warning.
4339
4340 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4341 slot , which can indeed be nil.
4342 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4343 Move entry for `left' from persistent to live filter alist.
4344 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4345 Doc fixes.
4346 (frameset-filter-params): When restoring a frame, copy items added to
4347 `filtered', to avoid unwittingly modifying the original parameters.
4348 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4349 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4350
4351 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4352 to use looking-at-p instead of looking-at. (Bug#15028)
4353
4354 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 Revert introduction of isearch-filter-predicates (bug#14714).
4357 Rely on add-function instead.
4358 * isearch.el (isearch-filter-predicates): Rename it back to
4359 isearch-filter-predicate.
4360 (isearch-message-prefix): Use advice-function-mapc and advice
4361 properties to get the isearch-message-prefix.
4362 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4363 instead of run-hook-with-args-until-failure.
4364 (isearch-filter-visible): Not obsolete any more.
4365 * loadup.el: Preload nadvice.
4366 * replace.el (perform-replace): Revert to funcall
4367 instead of run-hook-with-args-until-failure.
4368 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4369 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4370 dired-isearch-filenames-toggle; make it into a proper minor mode.
4371 Use add/remove-function.
4372 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4373 Call the minor-mode rather than add/remove-hook.
4374 (dired-isearch-filter-filenames):
4375 Remove isearch-message-prefix property.
4376 * info.el (Info--search-loop): New function, extracted from Info-search.
4377 Funcall isearch-filter-predicate instead of
4378 run-hook-with-args-until-failure isearch-filter-predicates.
4379 (Info-search): Use it.
4380 (Info-mode): Use isearch-filter-predicate instead of
4381 isearch-filter-predicates.
4382
4383 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4384
4385 Do not call to `selected-window' where it is assumed by default.
4386 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4387 `window-hscroll', `window-width', `window-height', `window-buffer',
4388 `window-frame', `window-start', `window-point', `next-window'
4389 and `window-display-table'.
4390 * abbrev.el (abbrev--default-expand):
4391 * bs.el (bs--show-with-configuration):
4392 * buff-menu.el (Buffer-menu-mouse-select):
4393 * calc/calc.el (calc):
4394 * calendar/calendar.el (calendar-generate-window):
4395 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4396 (diary-make-entry):
4397 * comint.el (send-invisible, comint-dynamic-complete-filename)
4398 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4399 * completion.el (complete):
4400 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4401 * disp-table.el (describe-current-display-table):
4402 * doc-view.el (doc-view-insert-image):
4403 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4404 * ehelp.el (with-electric-help):
4405 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4406 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4407 * emacs-lisp/helper.el (Helper-help-scroller):
4408 * emulation/cua-base.el (cua--post-command-handler-1):
4409 * eshell/esh-mode.el (eshell-output-filter):
4410 * ffap.el (ffap-gnus-wrapper):
4411 * help-macro.el (make-help-screen):
4412 * hilit-chg.el (highlight-compare-buffers):
4413 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4414 * hl-line.el (global-hl-line-highlight):
4415 * icomplete.el (icomplete-simple-completing-p):
4416 * isearch.el (isearch-done):
4417 * jit-lock.el (jit-lock-stealth-fontify):
4418 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4419 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4420 * mpc.el (mpc-tagbrowser, mpc):
4421 * net/rcirc.el (rcirc-any-buffer):
4422 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4423 * play/landmark.el (landmark-max-width, landmark-max-height):
4424 * play/zone.el (zone):
4425 * progmodes/compile.el (compilation-goto-locus):
4426 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4427 * progmodes/etags.el (find-tag-other-window):
4428 * progmodes/fortran.el (fortran-column-ruler):
4429 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4430 * progmodes/verilog-mode.el (verilog-point-text):
4431 * reposition.el (reposition-window):
4432 * rot13.el (toggle-rot13-mode):
4433 * server.el (server-switch-buffer):
4434 * shell.el (shell-dynamic-complete-command)
4435 (shell-dynamic-complete-environment-variable):
4436 * simple.el (insert-buffer, set-selective-display)
4437 (delete-completion-window):
4438 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4439 (speedbar-recenter):
4440 * startup.el (fancy-splash-head):
4441 * textmodes/ispell.el (ispell-command-loop):
4442 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4443 * tutorial.el (help-with-tutorial):
4444 * vc/add-log.el (add-change-log-entry):
4445 * vc/compare-w.el (compare-windows):
4446 * vc/ediff-help.el (ediff-indent-help-message):
4447 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4448 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4449 (ediff-setup-control-frame):
4450 * vc/emerge.el (emerge-position-region):
4451 * vc/pcvs-util.el (cvs-bury-buffer):
4452 * window.el (walk-windows, mouse-autoselect-window-select):
4453 * winner.el (winner-set-conf, winner-undo): Related users changed.
4454
4455 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4456
4457 * frameset.el (frameset--set-id): Doc fix.
4458 (frameset-frame-id, frameset-frame-id-equal-p)
4459 (frameset-locate-frame-id): New functions.
4460 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4461 (frameset-restore): Use them.
4462
4463 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4464
4465 Do not call to `selected-frame' where it is assumed by default.
4466 Affected functions are `raise-frame', `redraw-frame',
4467 `frame-first-window', `frame-terminal' and `delete-frame'.
4468 * calendar/appt.el (appt-disp-window):
4469 * epg.el (epg-wait-for-completion):
4470 * follow.el (follow-delete-other-windows-and-split)
4471 (follow-avoid-tail-recenter):
4472 * international/mule.el (set-terminal-coding-system):
4473 * mail/rmail.el (rmail-mail-return):
4474 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4475 * progmodes/f90.el (f90-add-imenu-menu):
4476 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4477 * server.el (server-switch-buffer):
4478 * simple.el (delete-completion-window):
4479 * talk.el (talk):
4480 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4481 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4482 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4483 * vc/ediff.el (ediff-documentation): Related users changed.
4484 * frame.el (selected-terminal): Remove the leftover.
4485
4486 2013-08-05 Glenn Morris <rgm@gnu.org>
4487
4488 * calendar/calendar.el (calendar-generate-month):
4489 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4490 (calendar-generate-month, calendar-font-lock-keywords):
4491 Fix for calendar-day-header-width > length of any day name.
4492
4493 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4494
4495 * desktop.el (desktop-clear): Use new name of sort predicate.
4496
4497 * frameset.el (frameset): Add docstring. Move :version property to its
4498 own `version' slot.
4499 (frameset-copy): Rename from copy-frameset.
4500 (frameset-p): Check more thoroughly.
4501 (frameset-prop): Do not check for :version, which is no longer a prop.
4502 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4503 Use new :never value instead of t.
4504 (frameset-filter-alist): Expand and clarify docstring.
4505 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4506 (frameset-filter-minibuffer, frameset-filter-save-param)
4507 (frameset-filter-restore-param, frameset-filter-iconified):
4508 Add pointer to docstring of frameset-filter-alist.
4509 (frameset-filter-params): Rename filter values to be more meaningful:
4510 :never instead of t, and reverse the meanings of :save and :restore.
4511 (frameset--process-minibuffer-frames): Clarify error message.
4512 (frameset-save): Avoid unnecessary and confusing call to framep.
4513 Use new BOA constructor for framesets.
4514 (frameset--reuse-list): Doc fix.
4515 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4516 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4517 (frameset-minibufferless-first-p): Doc fix.
4518 Rename from frameset-sort-frames-for-deletion.
4519 (frameset-restore): Doc fixes. Use new function names.
4520 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4521
4522 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4523
4524 * desktop.el (desktop-restore-forces-onscreen)
4525 (desktop-restore-reuses-frames): Document :keyword constant values.
4526 (desktop-filter-parameters-alist): Remove, now identical to
4527 frameset-filter-alist.
4528 (desktop--filter-tty*): Remove, moved to frameset.el.
4529 (desktop-save-frameset, desktop-restore-frameset):
4530 Do not pass :filters argument.
4531
4532 * frameset.el (frameset-live-filter-alist)
4533 (frameset-persistent-filter-alist): New variables.
4534 (frameset-filter-alist): Use them. Add autoload cookie.
4535 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4536 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4537 `frameset--id' (it's supposed to be internal to frameset.el).
4538 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4539 (frameset--initial-params): New function.
4540 (frameset--get-frame): Use it. Doc fix.
4541 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4542 Accept :all, not 'all.
4543 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4544 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4545 with fbound symbols. Fix frame id matching, and remove matching ids if
4546 the frame being restored is deleted. Obey :delete.
4547
4548 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4549
4550 * subr.el (macrop): New function.
4551 (text-clone--maintaining): New var.
4552 (text-clone--maintain): Rename from text-clone-maintain. Use it
4553 instead of inhibit-modification-hooks.
4554
4555 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4556 a proxy, so as handle autoloads and redefinitions of the target.
4557 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4558
4559 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4560 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4561 (pcase--mutually-exclusive-p): New function.
4562 (pcase--split-consp): Use it.
4563 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4564 mutually exclusive with the current predicate.
4565
4566 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4567 (edebug-macrop): Remove. Use `macrop' instead.
4568 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4569 (ad-macro-p):
4570 * eshell/esh-cmd.el (eshell-macrop):
4571 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4572
4573 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4574
4575 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4576 (advice-mapc): New function, using it.
4577 (advice-function-member-p): New function.
4578 (advice--normalize): Store the cdr in advice--saved-rewrite since
4579 that's the part that will be changed.
4580 (advice--symbol-function): New function.
4581 (advice-remove): Handle removal before the function is defined.
4582 Adjust to new advice--saved-rewrite.
4583 (advice-member-p): Use advice-function-member-p and
4584 advice--symbol-function.
4585
4586 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4587
4588 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4589 (frameset-filter-minibuffer): Doc fix.
4590 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4591 (frameset--set-id, frameset--process-minibuffer-frames)
4592 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4593 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4594
4595 * desktop.el (desktop-clear): Only delete frames when called
4596 interactively and desktop-restore-frames is non-nil. Doc fix.
4597 (desktop-read): Set desktop-saved-frameset to nil.
4598
4599 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4600
4601 * vc/vc.el (vc-ignore): Rewrite.
4602 (vc-default-ignore-completion-table):
4603 (vc--read-lines):
4604 (vc--add-line, vc--remove-regexp): New functions.
4605
4606 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4607 (vc-svn-ignore-completion-table): New function.
4608
4609 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4610 (vc-hg-ignore-completion-table):
4611 (vc-hg-find-ignore-file): New functions.
4612
4613 * vc/vc-git.el (vc-git-ignore): Rewrite.
4614 (vc-git-ignore-completion-table):
4615 (vc-git-find-ignore-file): New functions.
4616
4617 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4618
4619 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4620 (vc-bzr-ignore-completion-table):
4621 (vc-bzr-find-ignore-file): New functions.
4622
4623 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4624
4625 * frameset.el (frameset-prop): New function and setter.
4626 (frameset-save): Do not modify frame list passed by the caller.
4627
4628 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4629
4630 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4631
4632 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4633
4634 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4635 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4636
4637 * custom.el (custom-initialize-default, custom-initialize-set)
4638 (custom-initialize-reset, custom-initialize-changed): Affect the
4639 toplevel-default-value (bug#6275, bug#14586).
4640 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4641 for bug#6275.
4642
4643 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4644
4645 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4646 Add cl-def* expressions.
4647
4648 * frameset.el (frameset-filter-params): Fix order of arguments.
4649
4650 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4651
4652 Move code related to saving frames to frameset.el.
4653 * desktop.el: Require frameset.
4654 (desktop-restore-frames): Doc fix.
4655 (desktop-restore-reuses-frames): Rename from
4656 desktop-restoring-reuses-frames.
4657 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4658 (desktop-clear): Clear frames too.
4659 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4660 (desktop--filter-tty*, desktop-save, desktop-read):
4661 Use frameset functions.
4662 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4663 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4664 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4665 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4666 (desktop--process-minibuffer-frames, desktop-save-frames)
4667 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4668 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4669 (desktop--sort-states, desktop-restoring-frames-p)
4670 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4671 (desktop-restoring-frameset-p, desktop-restore-frameset)
4672 (desktop--check-dont-save, desktop-save-frameset): New functions.
4673 (desktop--app-id): New constant.
4674 (desktop-first-buffer, desktop-buffer-ok-count)
4675 (desktop-buffer-fail-count): Move before first use.
4676 * frameset.el: New file.
4677
4678 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4679
4680 * files.el: Use lexical-binding.
4681 (dir-locals-read-from-file): Remove unused `err' variable.
4682 (hack-dir-local-variables--warned-coding): New var.
4683 (hack-dir-local-variables): Use it to avoid repeated warnings.
4684 (make-backup-file-name--default-function): New function.
4685 (make-backup-file-name-function): Use it as default.
4686 (buffer-stale--default-function): New function.
4687 (buffer-stale-function): Use it as default.
4688 (revert-buffer-insert-file-contents--default-function): New function.
4689 (revert-buffer-insert-file-contents-function): Use it as default.
4690 (insert-directory): Avoid add-to-list.
4691
4692 * autorevert.el (auto-revert-handler): Simplify.
4693 Use buffer-stale--default-function.
4694
4695 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4696
4697 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4698
4699 * whitespace.el (whitespace-ensure-local-variables): New function.
4700 (whitespace-cleanup-region): Call it.
4701 (whitespace-turn-on): Call it.
4702
4703 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4704
4705 Complete file name handlers.
4706
4707 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4708 (tramp-handle-verify-visited-file-modtime)
4709 (tramp-handle-file-notify-rm-watch): New functions.
4710 (tramp-call-process): Do not bind `default-directory'.
4711
4712 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4713 Order alphabetically.
4714 [access-file, add-name-to-file, dired-call-process]:
4715 [dired-compress-file, file-acl, file-notify-rm-watch]:
4716 [file-ownership-preserved-p, file-selinux-context]:
4717 [make-directory-internal, make-symbolic-link, set-file-acl]:
4718 [set-file-selinux-context, set-visited-file-modtime]:
4719 [verify-visited-file-modtime]: Add handler.
4720 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4721
4722 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4723 [file-notify-add-watch, file-notify-rm-watch]:
4724 [set-file-times, set-visited-file-modtime]:
4725 [verify-visited-file-modtime]: Add handler.
4726 (with-tramp-gvfs-error-message)
4727 (tramp-gvfs-handle-set-visited-file-modtime)
4728 (tramp-gvfs-fuse-file-name): Remove.
4729 (tramp-gvfs-handle-file-notify-add-watch)
4730 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4731 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4732
4733 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4734 Order alphabetically.
4735 [file-notify-rm-watch ]: Use default Tramp handler.
4736 [executable-find]: Remove private handler.
4737 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4738 `default-directory'.
4739 (tramp-sh-handle-executable-find)
4740 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4741 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4742 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4743 Do not use `format' in `tramp-message'.
4744
4745 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4746 [file-notify-rm-watch, set-visited-file-modtime]:
4747 [verify-visited-file-modtime]: Add handler.
4748 (tramp-smb-call-winexe): Do not bind `default-directory'.
4749
4750 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4751
4752 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4753
4754 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4755
4756 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4757 use it.
4758 (log-view-diff-changeset): Same.
4759 (log-view-diff-common): Call backend command `previous-revision'
4760 to find out the previous revision, in both cases. Swap the
4761 variables `to' and `fr', so that `fr' usually refers to the
4762 earlier revision (Bug#14989).
4763
4764 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4765
4766 * ibuf-ext.el (ibuffer-filter-by-filename):
4767 Make it work with dired buffers too.
4768
4769 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4770
4771 * emacs-lisp/re-builder.el (reb-color-display-p):
4772 * files.el (save-buffers-kill-terminal):
4773 * net/browse-url.el (browse-url):
4774 * server.el (server-save-buffers-kill-terminal):
4775 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4776 Prefer nil to selected-frame for the first arg of frame-parameter.
4777
4778 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4779
4780 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4781
4782 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4783
4784 * minibuffer.el (completion--twq-all): Try and preserve each
4785 completion's case choice (bug#14907).
4786
4787 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4788
4789 * net/network-stream.el (open-network-stream): Mention the new
4790 :nogreeting parameter.
4791 (network-stream-open-starttls): Use the :nogreeting parameter
4792 (bug#14938).
4793
4794 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4795
4796 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4797 more natural than popping.
4798
4799 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4800 (shr-urlify): Highlight under mouse.
4801
4802 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4803
4804 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4805
4806 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4807
4808 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4809 buffer for output.
4810
4811 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4812 point-min==1. Fix search string. Fix parentheses missing.
4813
4814 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4815 assume point-min==1. Fix search string. Fix parentheses missing.
4816
4817 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4818
4819 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4820 buffer for output.
4821
4822 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4823
4824 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4825 initial frame is minibuffer-less. (Bug#14841)
4826
4827 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4828
4829 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4830 option.
4831
4832 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4833 (tramp-maybe-open-connection): Use it.
4834
4835 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4836
4837 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4838 minimal set of parameters passed when creating a frame, because
4839 the minibuffer status of a frame cannot be changed later.
4840
4841 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4842
4843 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4844 replace-regexp-in-string and inadvertent omissions in previous change.
4845 (todo-filter-items): Ensure only file names are comma-separated in
4846 name of filtered items buffer.
4847
4848 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4849
4850 * desktop.el: Optionally force offscreen frames back onscreen.
4851 (desktop-restoring-reuses-frames): New option.
4852 (desktop--compute-pos, desktop--move-onscreen): New functions.
4853 (desktop--make-frame): Use desktop--move-onscreen.
4854
4855 2013-07-27 Alan Mackenzie <acm@muc.de>
4856
4857 Fontify a Java generic method as a function.
4858 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4859 value to t.
4860
4861 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4862
4863 * calendar/todo-mode.el: Add command to rename todo files.
4864 (todo-rename-file): New command.
4865 (todo-key-bindings-t): Add key binding for it. Change the
4866 bindings of todo-filter-regexp-items(-multifile) to use `x'
4867 instead of `r', since the latter is better suited to the new
4868 renaming command.
4869
4870 2013-07-27 Alan Mackenzie <acm@muc.de>
4871
4872 Make Java try-with-resources statement parse properly.
4873 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4874 (c-block-stmt-1-2-key): New language constants/variables.
4875 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4876 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4877 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4878 with c-block-stmt-1-2-key.
4879
4880 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4881
4882 * desktop.el (desktop--make-frame): Apply most frame parameters after
4883 creating the frame to force (partially or totally) offscreen frames to
4884 be restored as such.
4885
4886 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4887
4888 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4889 (Bug#14948)
4890
4891 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4892
4893 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4894 `base' arg of backtrace-frame.
4895
4896 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4897
4898 * simple.el (list-processes): Doc fix.
4899
4900 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4901
4902 * desktop.el (desktop--select-frame):
4903 Try harder to reuse existing frames.
4904
4905 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4906
4907 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4908 (edebug-eval): Use backtrace-eval.
4909 (edebug--display, edebug--recursive-edit): Don't let-bind the
4910 edebug-outer-* vars that keep track of variables we locally let-bind.
4911 (edebug-outside-excursion): Don't restore outside values of locally
4912 let-bound vars.
4913 (edebug--display): Use user-error.
4914 (cl-lexical-debug, cl-debug-env): Remove.
4915
4916 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4917
4918 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4919 are restored to be sure that they are visible before deleting any
4920 remaining ones.
4921
4922 2013-07-26 Matthias Meulien <orontee@gmail.com>
4923
4924 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4925 vc-print-root-log. (Bug#14948)
4926
4927 2013-07-26 Richard Stallman <rms@gnu.org>
4928
4929 Add aliases for encrypting mail.
4930 * epa.el (epa-mail-aliases): New option.
4931 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4932 Bind inhibit-read-only so read-only text doesn't ruin everything.
4933 (epa-mail-default-recipients): New subroutine broken out.
4934 Handle epa-mail-aliases.
4935
4936 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4937
4938 Add support for lexical variables to the debugger's `e' command.
4939 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4940 vars, except for debugger-outer-match-data.
4941 (debugger-frame-number): Move check for "on a function call" from
4942 callers into it. Add `skip-base' argument.
4943 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4944 (debugger-env-macro): Only reset the state stored in non-variables,
4945 i.e. current-buffer and match-data.
4946 (debugger-eval-expression): Rewrite using backtrace-eval.
4947 * subr.el (internal--called-interactively-p--get-frame): Remove.
4948 (called-interactively-p):
4949 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4950 `base' arg of backtrace-frame instead.
4951
4952 2013-07-26 Glenn Morris <rgm@gnu.org>
4953
4954 * align.el (align-regexp): Doc fix. (Bug#14857)
4955 (align-region): Explicit error if subexpression missing/does not match.
4956
4957 * simple.el (global-visual-line-mode):
4958 Do not duplicate the mode lighter. (Bug#14858)
4959
4960 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4961
4962 * window.el (display-buffer): In display-buffer bind
4963 split-window-keep-point to t, bug#14829.
4964
4965 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4966
4967 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4968 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4969 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4970 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4971 Change accordingly.
4972 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4973 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4974
4975 2013-07-25 Glenn Morris <rgm@gnu.org>
4976
4977 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4978
4979 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4980
4981 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4982 parameter to modify-frame-parameters if the value has not changed;
4983 this is a workaround for bug#14949.
4984 (desktop--make-frame): On cl-delete-if call, check parameter name,
4985 not full parameter.
4986
4987 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4988
4989 * vc/vc.el (vc-ignore): New function.
4990
4991 * vc/vc-svn.el (vc-svn-ignore): New function.
4992
4993 * vc/vc-hg.el (vc-hg-ignore): New function.
4994
4995 * vc/vc-git.el (vc-git-ignore): New function.
4996
4997 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4998 (vc-dir-ignore): New function.
4999
5000 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5001 (cvs-append-to-ignore): Move here from pcvs.el.
5002
5003 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5004
5005 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5006
5007 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5008
5009 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5010 (desktop-restore-frames): Warn when deleting an existing frame failed.
5011
5012 2013-07-24 Glenn Morris <rgm@gnu.org>
5013
5014 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5015
5016 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5017
5018 * filenotify.el (file-notify-supported-p):
5019 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5020 Remove functions.
5021
5022 * autorevert.el (auto-revert-use-notify):
5023 (auto-revert-notify-add-watch):
5024 * net/tramp.el (tramp-file-name-for-operation):
5025 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5026 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5027 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5028 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5029 Remove `file-notify-supported-p' entry.
5030
5031 2013-07-24 Glenn Morris <rgm@gnu.org>
5032
5033 * printing.el: Replace all uses of deleted ps-windows-system,
5034 ps-lp-system, ps-flatten-list with lpr- versions.
5035
5036 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5037
5038 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5039 checked with memq (bug#14935).
5040
5041 * files.el (revert-buffer-function): Use a non-nil default.
5042 (revert-buffer-preserve-modes): Declare var to
5043 provide access to the `preserve-modes' argument.
5044 (revert-buffer): Let-bind it.
5045 (revert-buffer--default): New function, extracted from revert-buffer.
5046
5047 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5048
5049 * lpr.el: Signal print errors more prominently.
5050 (print-region-function): Don't default to nil.
5051 (lpr-print-region): New function, extracted from print-region-1.
5052 Check lpr's return value and signal an error in case of problem.
5053 (print-region-1): Use it.
5054 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5055 versions instead.
5056 (ps-printer-name): Default to nil.
5057 (ps-printer-name-option): Default to lpr-printer-switch.
5058 (ps-print-region-function): Don't default to nil.
5059 (ps-postscript-code-directory): Simplify default.
5060 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5061 (ps-string-list, ps-eval-switch, ps-flatten-list)
5062 (ps-flatten-list-1): Remove.
5063 (ps-multibyte-buffer): Avoid setq.
5064 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5065 (print-region-function, ps-print-region-function): Don't set them here.
5066
5067 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5068
5069 * ido.el (ido-fractionp):
5070 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5071 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5072 (ido-max-directory-size, ido-max-dir-file-cache)
5073 (ido-decorations): Doc fix.
5074
5075 * ansi-color.el: Fix old URL.
5076
5077 2013-07-23 Michael R. Mauger <michael@mauger.com>
5078
5079 * progmodes/sql.el: Version 3.3
5080 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5081 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5082 (sql-interactive-remove-continuation-prompt): Rewrite, use
5083 functions above. Fix continuation prompt and complete output line
5084 handling.
5085 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5086 redirected output buffer.
5087 (sql-mode): Restore deleted code (Bug#13591).
5088
5089 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5090
5091 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5092
5093 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5094
5095 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5096
5097 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5098 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5099 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5100
5101 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5102
5103 * desktop.el (desktop-clear): Simplify; remove useless checks
5104 against invalid buffer names.
5105 (desktop-list*): Use cl-list*.
5106 (desktop-buffer-info, desktop-create-buffer): Simplify.
5107
5108 2013-07-23 Leo Liu <sdl.web@gmail.com>
5109
5110 * bookmark.el (bookmark-make-record): Restore NAME as a default
5111 value. (Bug#14933)
5112
5113 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5114
5115 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5116 extracted from autoload--insert-text.
5117 (autoload--insert-text): Remove.
5118 (autoload--print-cookie-text): New function, extracted from
5119 autoload--insert-cookie-text.
5120 (autoload--insert-cookie-text): Remove.
5121 (autoload-generate-file-autoloads): Adjust calls accordingly.
5122
5123 * winner.el (winner-hook-installed-p): Remove.
5124 (winner-mode): Simplify accordingly.
5125
5126 * subr.el (add-to-list): Fix compiler-macro when `append' is
5127 not constant. Don't use `cl-member' for the base case.
5128
5129 * progmodes/subword.el: Fix boundary case (bug#13758).
5130 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5131 own group.
5132 (subword-backward-regexp): Make it a constant.
5133 (subword-forward-internal): Don't treat a trailing capital as the
5134 beginning of a word.
5135
5136 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5137
5138 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5139 global value of tabulated-list-revert-hook (bug#14930).
5140
5141 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5142
5143 * desktop.el: Require 'cl-lib.
5144 (desktop-before-saving-frames-functions): New hook.
5145 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5146 for frames being saved. Rename from desktop--save-minibuffer-frames.
5147 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5148 Do not save frames with non-nil `desktop-dont-save' parameter.
5149 Filter out deleted frames.
5150 (desktop--find-frame): Use cl-find-if.
5151 (desktop--select-frame): Use cl-(first|second|third) to access values
5152 of desktop-mini.
5153 (desktop--make-frame): Use cl-delete-if.
5154 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5155 (desktop-restore-frames): Use cl-(first|second|third) to access values
5156 of desktop-mini. Look for visible frame at the end, not while
5157 restoring frames.
5158
5159 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5160 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5161 Use string-match-p, looking-at-p (bug#14927).
5162
5163 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5164
5165 * desktop.el (desktop-saved-frame-states):
5166 Rename from desktop--saved-states; all users changed.
5167 (desktop-save-frames): Rename from desktop--save-frames.
5168 Do not save state to desktop file.
5169 (desktop-save): Save desktop-saved-frame-states to desktop file
5170 and reset to nil.
5171 (desktop-restoring-frames-p): New function.
5172 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5173 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5174 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5175
5176 * desktop.el: Correctly restore iconified frames.
5177 (desktop--filter-iconified-position): New function.
5178 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5179
5180 2013-07-20 Glenn Morris <rgm@gnu.org>
5181
5182 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5183 Let `message' do the formatting.
5184 (def-gdb-preempt-display-buffer): Add explicit format.
5185
5186 * image-dired.el (image-dired-track-original-file):
5187 Use with-current-buffer.
5188 (image-dired-track-thumbnail): Use with-current-buffer.
5189 Avoid changing point of wrong window.
5190
5191 * image-dired.el (image-dired-track-original-file):
5192 Avoid changing point of wrong window. (Bug#14909)
5193
5194 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5195
5196 * progmodes/gdb-mi.el (gdb-done-or-error):
5197 Guard against "%" in gdb output. (Bug#14127)
5198
5199 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5200
5201 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5202 (Bug#14826)
5203
5204 * international/mule.el (coding-system-iso-2022-flags): Fix last
5205 change.
5206
5207 2013-07-20 Kenichi Handa <handa@gnu.org>
5208
5209 * international/mule.el (coding-system-iso-2022-flags):
5210 Add `8-bit-level-4'. (Bug#8522)
5211
5212 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5213
5214 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5215 (bug#14815).
5216
5217 * net/eww.el (eww-process-text-input): Allow inputting when the
5218 point is at the start of the line, as the properties aren't
5219 front-sticky.
5220
5221 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5222 degenerate widths.
5223
5224 2013-07-19 Richard Stallman <rms@gnu.org>
5225
5226 * epa.el (epa-popup-info-window): Doc fix.
5227
5228 * subr.el (split-string): New arg TRIM.
5229
5230 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5231
5232 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5233 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5234
5235 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5236
5237 * filenotify.el (file-notify--library): Rename from
5238 `file-notify-support'. Do not autoload. Adapt all uses.
5239 (file-notify-supported-p): New defun.
5240
5241 * autorevert.el (auto-revert-use-notify):
5242 Use `file-notify-supported-p' instead of `file-notify-support'.
5243 Adapt docstring.
5244 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5245
5246 * net/tramp.el (tramp-file-name-for-operation):
5247 Add `file-notify-supported-p'.
5248
5249 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5250 New defun.
5251 (tramp-sh-file-name-handler-alist): Add it as handler for
5252 `file-notify-supported-p '.
5253
5254 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5255 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5256 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5257 Add `ignore' as handler for `file-notify-*' functions.
5258
5259 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5260
5261 * simple.el (line-move-partial, line-move): Don't start vscroll or
5262 scroll-up if the current line is not taller than the window.
5263 (Bug#14881)
5264
5265 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5266
5267 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5268 highlight question marks in the method names as strings.
5269 (ruby-block-beg-keywords): Inline.
5270 (ruby-font-lock-keyword-beg-re): Extract from
5271 `ruby-font-lock-keywords'.
5272
5273 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5274
5275 * frame.el (blink-cursor-blinks): New defcustom.
5276 (blink-cursor-blinks-done): New defvar.
5277 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5278 (blink-cursor-timer-function): Check if number of blinks has been
5279 done on X and NS.
5280 (blink-cursor-suspend, blink-cursor-check): New defuns.
5281
5282 2013-07-15 Glenn Morris <rgm@gnu.org>
5283
5284 * edmacro.el (edmacro-format-keys): Fix previous change.
5285
5286 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5287
5288 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5289 The hack didn't work outside English locales anyway.
5290
5291 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5292
5293 * simple.el (define-alternatives): Rename from alternatives-define,
5294 per RMS' suggestion.
5295
5296 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5297
5298 * desktop.el (desktop-restore-frames): Change default to t.
5299 (desktop-restore-in-current-display): Now offer more options.
5300 (desktop-restoring-reuses-frames): New customization option.
5301 (desktop--saved-states): Doc fix.
5302 (desktop-filter-parameters-alist): New variable, renamed and expanded
5303 from desktop--excluded-frame-parameters.
5304 (desktop--target-display): New variable.
5305 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5306 (desktop--filter-tty*, desktop--filter-*-color)
5307 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5308 (desktop--filter-save-desktop-parm)
5309 (desktop-restore-in-original-display-p): New functions.
5310 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5311 (desktop--save-minibuffer-frames): New function, inspired by a similar
5312 function from Martin Rudalics.
5313 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5314 (desktop--restore-in-this-display-p): Remove.
5315 (desktop--find-frame): Rename from desktop--find-frame-in-display
5316 and add predicate argument.
5317 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5318 (desktop--reuse-list): New variable.
5319 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5320 New functions.
5321 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5322
5323 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5324
5325 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5326
5327 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5328
5329 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5330 Highlight conversion methods on Kernel.
5331
5332 2013-07-13 Alan Mackenzie <acm@muc.de>
5333
5334 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5335 and comment it out. This out-commenting enables certain C++
5336 declarations to be parsed correctly.
5337
5338 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5339
5340 * international/mule.el (define-coding-system): Doc fix.
5341
5342 * simple.el (default-font-height): Don't call font-info if the
5343 frame's default font didn't change since the frame was created.
5344 (Bug#14838)
5345
5346 2013-07-13 Leo Liu <sdl.web@gmail.com>
5347
5348 * ido.el (ido-read-file-name): Guard against non-symbol value.
5349
5350 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5351
5352 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5353 in nested defuns.
5354
5355 2013-07-13 Leo Liu <sdl.web@gmail.com>
5356
5357 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5358 ido-set-matches call. (Bug#6852)
5359
5360 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5361
5362 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5363 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5364 Ruby 2.0.
5365 (ruby-font-lock-keywords): Distinguish calls to functions with
5366 module-like names from module references. Highlight character
5367 literals.
5368
5369 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5370
5371 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5372 (gdb-send): Handle continued commands. (Bug#14847)
5373
5374 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5375
5376 * desktop.el (desktop--v2s): Remove unused local variable.
5377 (desktop-save-buffer): Make defvar-local; adjust docstring.
5378 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5379 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5380
5381 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5382
5383 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5384
5385 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5386
5387 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5388 (Bug#14842)
5389
5390 2013-07-12 Glenn Morris <rgm@gnu.org>
5391
5392 * doc-view.el: Require cl-lib at runtime too.
5393 (doc-view-remove-if): Remove.
5394 (doc-view-search-next-match, doc-view-search-previous-match):
5395 Use cl-remove-if.
5396
5397 * edmacro.el: Require cl-lib at runtime too.
5398 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5399 (edmacro-mismatch, edmacro-subseq): Remove.
5400
5401 * shadowfile.el: Require cl-lib.
5402 (shadow-remove-if): Remove.
5403 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5404 Use cl-remove-if.
5405
5406 * wid-edit.el: Require cl-lib.
5407 (widget-choose): Use cl-remove-if.
5408 (widget-remove-if): Remove.
5409
5410 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5411 (ebrowse-delete-if-not): Remove.
5412 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5413 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5414 Use cl-delete-if-not.
5415
5416 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5417
5418 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5419 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5420
5421 2013-07-12 Leo Liu <sdl.web@gmail.com>
5422
5423 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5424
5425 2013-07-11 Glenn Morris <rgm@gnu.org>
5426
5427 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5428 (edebug-gensym-index, edebug-gensym):
5429 Remove reimplementation of cl-gensym.
5430 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5431
5432 * thumbs.el: Require cl-lib at run-time too.
5433 (thumbs-gensym-counter, thumbs-gensym):
5434 Remove reimplementation of cl-gensym.
5435 (thumbs-temp-file): Use cl-gensym.
5436
5437 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5438 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5439 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5440 (ert--union, ert--gensym-counter, ert--gensym-counter)
5441 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5442 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5443 (ert-make-test-unbound, ert--expand-should-1)
5444 (ert--expand-should, ert--should-error-handle-error)
5445 (should-error, ert--explain-equal-rec)
5446 (ert--plist-difference-explanation, ert-select-tests)
5447 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5448 Use cl-lib functions rather than reimplementations.
5449
5450 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5451
5452 * net/tramp.el (tramp-methods): Extend docstring.
5453 (tramp-connection-timeout): New defcustom.
5454 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5455 (with-tramp-progress-reporter): Simplify.
5456 (tramp-process-actions): Improve messages.
5457
5458 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5459 * net/tramp-sh.el (tramp-maybe-open-connection):
5460 Use `tramp-connection-timeout'.
5461 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5462 (Bug#14808)
5463
5464 2013-07-11 Leo Liu <sdl.web@gmail.com>
5465
5466 * ido.el (ido-read-file-name): Conform to the requirements of
5467 read-file-name. (Bug#11861)
5468 (ido-read-directory-name): Conform to the requirements of
5469 read-directory-name.
5470
5471 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5472
5473 * subr.el (delay-warning): New function.
5474
5475 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5476
5477 * simple.el (default-line-height): New function.
5478 (line-move-partial, line-move): Use it instead of computing the
5479 line height inline.
5480 (line-move-partial): Always compute ROWH. If the last line is
5481 partially-visible, but its text is completely visible, allow
5482 cursor to enter such a partially-visible line.
5483
5484 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5485
5486 Improve error messages. (Bug#14808)
5487
5488 * net/tramp.el (tramp-current-connection): New defvar, moved from
5489 tramp-sh.el.
5490 (tramp-message-show-progress-reporter-message): Remove, not
5491 needed anymore.
5492 (tramp-error-with-buffer): Show message in minibuffer.
5493 Discard input before waiting. Reset connection timestamp.
5494 (with-tramp-progress-reporter): Improve messages.
5495 (tramp-process-actions): Use progress reporter. Delete process in
5496 case of error. Improve messages.
5497
5498 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5499 Call `tramp-error-with-buffer' with vector and buffer.
5500 (tramp-current-connection): Remove.
5501 (tramp-maybe-open-connection): The car of
5502 `tramp-current-connection' are the first 3 slots of the vector.
5503
5504 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5505
5506 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5507 inside continued strings.
5508
5509 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5510
5511 Timestamp fixes for undo (Bug#14824).
5512 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5513
5514 2013-07-10 Leo Liu <sdl.web@gmail.com>
5515
5516 * files.el (require-final-newline): Allow safe local value.
5517 (Bug#14834)
5518
5519 2013-07-09 Leo Liu <sdl.web@gmail.com>
5520
5521 * ido.el (ido-read-directory-name): Handle fallback.
5522 (ido-read-file-name): Update DIR to ido-current-directory.
5523 (Bug#1516)
5524 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5525
5526 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5527
5528 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5529 "autoload". Remove "warn lower camel case" section, previously
5530 commented out. Highlight negation char. Do not highlight the
5531 target in singleton method definitions.
5532
5533 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5534
5535 * faces.el (tty-setup-hook): Declare the hook.
5536
5537 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5538 and detect when a guard/pred depends on local vars (bug#14773).
5539 (pcase--u1): Adjust caller.
5540
5541 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5542
5543 * simple.el (line-move-partial, line-move): Account for
5544 line-spacing.
5545 (line-move-partial): Avoid setting vscroll when the last
5546 partially-visible line in window is of default height.
5547
5548 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5549
5550 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5551 been used a while.
5552
5553 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5554
5555 * subr.el (read-quoted-char): Remove unused local variable `char'.
5556
5557 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5558
5559 * ediff.el (ediff-version): Version update.
5560 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5561 (ediff-merge-with-ancestor-command, ediff-directories-command)
5562 (ediff-directories3-command, ediff-merge-directories-command)
5563 (ediff-merge-directories-with-ancestor-command): New functions.
5564 All are command-line interfaces to ediff: to facilitate calling
5565 Emacs with the appropriate ediff functions invoked.
5566
5567 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5568 (viper-save-kill-buffer): Check if buffer is modified.
5569
5570 * viper.el (viper-version): Version update.
5571 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5572
5573 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5574
5575 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5576 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5577 (viper-intercept-ESC-key): Simplify.
5578 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5579 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5580 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5581 (viper-setup-ESC-to-escape): New functions.
5582 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5583 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5584
5585 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5586
5587 * simple.el (default-font-height, window-screen-lines):
5588 New functions.
5589 (line-move, line-move-partial): Use them instead of
5590 frame-char-height and window-text-height. This makes scrolling
5591 text smoother when the buffer's default face uses a font that is
5592 different from the frame's default font.
5593
5594 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5595
5596 * files.el (write-file): Do not display confirm dialog for NS,
5597 it does its own dialog, which can't be cancelled (Bug#14578).
5598
5599 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5600
5601 * simple.el (line-move-partial): Adjust the row returned by
5602 posn-at-point for the current window-vscroll. (Bug#14567)
5603
5604 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5605
5606 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5607 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5608 spaces.
5609
5610 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5611
5612 * window.el (window-state-put-stale-windows): New variable.
5613 (window--state-put-2): Save list of windows without matching buffer.
5614 (window-state-put): Remove "bufferless" windows if possible.
5615
5616 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5617
5618 * simple.el (alternatives-define): Remove leftover :group keyword.
5619 Tweak docstring.
5620
5621 2013-07-06 Leo Liu <sdl.web@gmail.com>
5622
5623 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5624 (ido-enable-virtual-buffers): New variable.
5625 (ido-buffer-internal, ido-toggle-virtual-buffers)
5626 (ido-make-buffer-list): Use it.
5627 (ido-exhibit): Support turning on and off virtual buffers
5628 automatically.
5629
5630 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5631
5632 * simple.el (alternatives-define): New macro.
5633
5634 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * subr.el (read-quoted-char): Use read-key.
5637 (sit-for): Let read-event decode tty input (bug#14782).
5638
5639 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5640
5641 * calendar/todo-mode.el: Add handling of file deletion, both by
5642 mode command and externally. Fix various related bugs.
5643 Clarify Commentary and improve some documentation strings and code.
5644 (todo-delete-file): New command.
5645 (todo-check-file): New function.
5646 (todo-show): Handle external deletion of the file we're trying to
5647 show (bug#14688). Replace called-interactively-p by an optional
5648 prefix argument to avoid problematic interaction with catch form
5649 when byte compiled (bug#14702).
5650 (todo-quit): Handle external deletion of the archive's todo file.
5651 Make sure the buffer that was visiting the archive file is still
5652 live before trying to bury it.
5653 (todo-category-completions): Handle external deletion of any
5654 category completion files.
5655 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5656 of todo files, in case of external deletion.
5657 (todo-add-file): Replace unnecessary setq by let-binding.
5658 (todo-find-archive): Check whether there are any archives.
5659 Replace unnecessary setq by let-binding.
5660 (todo-archive-done-item): Use find-file-noselect to get the
5661 archive buffer whether or not the archive already exists.
5662 Remove superfluous code. Use file size instead of buffer-file-name to
5663 check if the archive is new; if it is, update list of archives.
5664 (todo-default-todo-file): Allow nil to be a valid value for when
5665 there are no todo files.
5666 (todo-reevaluate-default-file-defcustom): Use corrected definition
5667 of todo-default-todo-file.
5668 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5669 (todo-delete-category, todo-show-categories-table)
5670 (todo-category-number): Clarify comment.
5671 (todo-filter-items): Clarify documentation string.
5672 (todo-show-current-file, todo-display-as-todo-file)
5673 (todo-reset-and-enable-done-separator): Tweak documentation string.
5674 (todo-done-separator): Make separator length window-width, since
5675 bug#2749 is now fixed.
5676
5677 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5678
5679 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5680 Support both "gvfs-monitor-dir" and "inotifywait".
5681 (tramp-sh-file-inotifywait-process-filter): Rename from
5682 `tramp-sh-file-notify-process-filter'.
5683 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5684 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5685
5686 2013-07-05 Leo Liu <sdl.web@gmail.com>
5687
5688 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5689
5690 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5691
5692 * frame.el (display-pixel-height, display-pixel-width)
5693 (display-mm-height, display-mm-width): Mention behavior on
5694 multi-monitor setups in docstrings.
5695 (w32-display-monitor-attributes-list): Declare function.
5696 (display-monitor-attributes-list): Use it.
5697
5698 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5699
5700 * filenotify.el: New package.
5701
5702 * autorevert.el (top): Require filenotify.el.
5703 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5704 instead.
5705 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5706 (auto-revert-notify-handler): Use `file-notify-*' functions.
5707
5708 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5709
5710 * net/tramp.el (tramp-file-name-for-operation):
5711 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5712
5713 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5714 for `file-notify-add-watch' and `file-notify-rm-watch'.
5715 (tramp-process-sentinel): Improve trace.
5716 (tramp-sh-handle-file-notify-add-watch)
5717 (tramp-sh-file-notify-process-filter)
5718 (tramp-sh-handle-file-notify-rm-watch)
5719 (tramp-get-remote-inotifywait): New defuns.
5720
5721 2013-07-03 Juri Linkov <juri@jurta.org>
5722
5723 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5724 call of `occur-read-primary-args' to interactive spec.
5725
5726 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5727 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5728
5729 2013-07-03 Matthias Meulien <orontee@gmail.com>
5730
5731 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5732 `Buffer-menu-multi-occur'. Add it to the menu.
5733 (Buffer-menu-mode): Document it in docstring.
5734 (Buffer-menu-multi-occur): New command. (Bug#14673)
5735
5736 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5737
5738 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5739 keywords and built-ins.
5740
5741 2013-07-03 Glenn Morris <rgm@gnu.org>
5742
5743 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5744
5745 Make info-xref checks case-sensitive by default
5746 * info.el (Info-find-node, Info-find-in-tag-table)
5747 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5748 Add option for exact case matching of nodes.
5749 * info-xref.el (info-xref): New custom group.
5750 (info-xref-case-fold): New option.
5751 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5752
5753 2013-07-03 Leo Liu <sdl.web@gmail.com>
5754
5755 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5756
5757 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5758
5759 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5760 middle of block statement initially, lower the depth. Remove
5761 FIXME comment, not longer valid. Remove middle of block statement
5762 detection, no need to do that anymore since we've been using
5763 `ruby-parse-region' here.
5764
5765 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5766
5767 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5768
5769 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5770
5771 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5772
5773 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5774
5775 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5776 (desktop-restore-in-current-display): New customization option.
5777 (desktop--excluded-frame-parameters): Add `font'.
5778 (desktop--save-frames): Rename from desktop--save-windows.
5779 (desktop--restore-in-this-display-p): New function.
5780 (desktop--make-full-frame): Remove unwanted width/height from
5781 full(width|height) frames.
5782 (desktop--restore-frames): Rename from desktop--restore-windows.
5783 Obey desktop-restore-current-display. Do not delete old frames or
5784 select a new frame unless we were able to restore at least one frame.
5785
5786 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5787
5788 * files.el (find-file-noselect): Simplify conditional expression.
5789
5790 * remember.el (remember-append-to-file):
5791 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5792
5793 Add `remember-notes' function to store random notes across Emacs
5794 restarts.
5795 * remember.el (remember-data-file): Add :set callback to affect
5796 notes buffer (if any).
5797 (remember-notes): New command.
5798 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5799 New defcustoms for the `remember-notes' function.
5800 (remember-notes-save-and-bury-buffer): New command.
5801 (remember-notes-mode-map): New variable.
5802 (remember-mode): New minor mode.
5803 (remember-notes--kill-buffer-query): New function.
5804 * startup.el (initial-buffer-choice): Add notes to custom type.
5805
5806 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5807
5808 * bindings.el (right-char, left-char): Don't call sit-for, this is
5809 no longer needed. Use arithmetic comparison only for numerical
5810 arguments.
5811
5812 * international/mule-cmds.el (select-safe-coding-system):
5813 Handle the case of FROM being a string correctly. (Bug#14755)
5814
5815 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5816
5817 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5818 progression on degenerate tables.
5819 (shr-rescale-image): ImageMagick animated images currently don't work.
5820
5821 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5822
5823 Some fixes and improvements for desktop frame restoration.
5824 It is still experimental and disabled by default.
5825 * desktop.el (desktop--save-windows): Put the selected frame at
5826 the head of the list.
5827 (desktop--make-full-frame): New function.
5828 (desktop--restore-windows): Try to re-select the frame that was
5829 selected upon saving. Do not abort if some frames fail to restore,
5830 just show an error message and continue. Set up maximized frames
5831 so they have default non-maximized dimensions.
5832
5833 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5834
5835 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5836 Don't start heredoc inside a string or comment.
5837
5838 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5839
5840 * bindings.el (visual-order-cursor-movement): New defcustom.
5841 (right-char, left-char): Provide visual-order cursor motion by
5842 calling move-point-visually. Update the doc strings.
5843
5844 2013-06-28 Kenichi Handa <handa@gnu.org>
5845
5846 * international/mule.el (define-coding-system): New coding system
5847 properties :inhibit-null-byte-detection,
5848 :inhibit-iso-escape-detection, and :prefer-utf-8.
5849 (set-buffer-file-coding-system): If :charset-list property of
5850 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5851 appropriate for setting.
5852
5853 * international/mule-cmds.el (select-safe-coding-system):
5854 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5855 multibyte characters, return utf-8 (or one of its siblings).
5856
5857 * international/mule-conf.el (prefer-utf-8): New coding system.
5858 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5859 files.
5860
5861 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5862
5863 * net/shr.el (shr-render-region): New function.
5864
5865 * net/eww.el: Autoload `eww-browse-url'.
5866
5867 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5868
5869 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5870 Adapt to `package-desc-version' being a list.
5871 Use `package--ac-desc-version' to retrieve version from a package
5872 archive element.
5873
5874 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5875
5876 New experimental feature to save&restore window and frame setup.
5877 * desktop.el (desktop-save-windows): New defcustom.
5878 (desktop--saved-states): New var.
5879 (desktop--excluded-frame-parameters): New defconst.
5880 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5881 (desktop--restore-windows, desktop--save-windows): New functions.
5882 (desktop-save): Call `desktop--save-windows'.
5883 (desktop-read): Call `desktop--restore-windows'.
5884
5885 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5886
5887 * net/shr.el (add-face-text-property): Remove compat definition.
5888
5889 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5890
5891 * info.el (Info-try-follow-nearest-node): Move search for footnote
5892 above search for node name to prevent missing a footnote (bug#14717).
5893
5894 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5895
5896 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5897
5898 2013-06-27 Leo Liu <sdl.web@gmail.com>
5899
5900 * net/eww.el (eww-read-bookmarks): Check file size.
5901
5902 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5905 advice--pending if newdef is nil or an autoload (bug#13820).
5906 (advice-mapc): New function.
5907
5908 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5909
5910 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5911 probably.
5912 (eww-mode-map): Add a menu bar.
5913 (eww-add-bookmark): New command.
5914 (eww-bookmark-mode): New mode and commands.
5915 (eww-add-bookmark): Remove newlines from the title.
5916 (eww-bookmark-browse): Don't bug out if it's the only window.
5917
5918 2013-06-26 Glenn Morris <rgm@gnu.org>
5919
5920 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5921 (hfy-size): Handle ttys. (Bug#14668)
5922
5923 * info-xref.el: Update for Texinfo 5 change in *note format.
5924 (info-xref-node-re, info-xref-note-re): New constants.
5925 (info-xref-check-buffer): Use info-xref-note-re.
5926
5927 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5928
5929 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5930
5931 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5932 nil terminate the loop (bug#14718).
5933
5934 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5935
5936 * net/eww.el: Rework history traversal. When going forward/back,
5937 put these actions into the history, too, so that they can be
5938 replayed.
5939 (eww-render): Move the history reset to the correct buffer.
5940
5941 2013-06-25 Juri Linkov <juri@jurta.org>
5942
5943 * files-x.el (modify-dir-local-variable): Change the header comment
5944 in the file with directory local variables. (Bug#14692)
5945
5946 * files-x.el (read-file-local-variable-value): Add `default'.
5947 (Bug#14710)
5948
5949 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5950
5951 * net/eww.el (eww-make-unique-file-name): Create a unique file
5952 name before saving to entering `y' accidentally asynchronously.
5953
5954 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5955
5956 * net/eww.el (eww-download): New command and keystroke.
5957
5958 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5959
5960 * net/eww.el (eww-copy-page-url): Change name of command.
5961
5962 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5963 be more consistent with Info and dired.
5964
5965 * net/eww.el (eww-mode-map): Ditto.
5966
5967 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5968
5969 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5970 packages from archives.
5971 (package-archive-contents): Change format; include obsolete packages.
5972 (package-desc): Use `dir' to mark builtin packages.
5973 (package--from-builtin): Set the `dir' field to `builtin'.
5974 (generated-autoload-file, version-control): Declare.
5975 (package-compute-transaction): Change first arg and return value to be
5976 lists of package-descs. Adjust to new package-archive-contents format.
5977 (package--add-to-archive-contents): Adjust to new
5978 package-archive-contents format.
5979 (package-download-transaction): Arg is now a list of package-descs.
5980 (package-install): If `pkg' is a package name, pass it as
5981 a requirement, so it is subject to the usual (e.g. disabled) checks.
5982 (describe-package): Accept package-desc as well.
5983 (describe-package-1): Describe a specific package-desc. Add links to
5984 other package-descs for the same package name.
5985 (package-menu-describe-package): Pass the actual package-desc.
5986 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5987 works correctly.
5988 (package-desc-status): New function.
5989 (package-menu--refresh): New function, extracted
5990 from package-menu--generate.
5991 (package-menu--generate): Use it.
5992 (package-delete): Update package-alist.
5993 (package-menu-execute): Don't call package-initialize.
5994
5995 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5996 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5997 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5998 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5999 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6000 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6001
6002 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6003
6004 * window.el (window--state-get-1): Workaround for bug#14527.
6005 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6006
6007 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6008
6009 * net/eww.el (eww-back-url): Implement the history by stashing all
6010 the data into a list.
6011 (eww-forward-url): Allow going forward in the history, too.
6012
6013 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6014
6015 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6016 for values and use read--expression for expressions (bug#14710).
6017 (read-file-local-variable): Avoid setq.
6018 (read-file-local-variable-mode): Use minor-mode-list.
6019
6020 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6021
6022 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6023 for DOI URLs.
6024
6025 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6026
6027 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6028 Update imenu-support when dialect changes.
6029
6030 2013-06-25 Leo Liu <sdl.web@gmail.com>
6031
6032 * ido.el (ido-read-internal): Allow forward slash on windows.
6033
6034 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6035
6036 * net/eww.el (eww): Start of strings is \\`, not ^.
6037
6038 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6039
6040 * net/shr.el (shr-browse-url): Fix interactive spec.
6041
6042 * net/eww.el (eww): Add a trailing slash to domain names.
6043
6044 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6045
6046 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6047
6048 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6049
6050 * net/shr.el (shr-browse-url): Use an external browser if given a
6051 prefix.
6052
6053 * net/eww.el (eww-external-browser): Move to shr.
6054
6055 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6056
6057 * net/eww.el (eww): Work more correctly for file: URLs.
6058 (eww-detect-charset): Allow quoted charsets.
6059 (eww-yank-page-url): New command and keystroke.
6060
6061 2013-06-24 Daiki Ueno <ueno@gnu.org>
6062
6063 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6064 file name of gpg executable.
6065 (epg-context-program): New function.
6066 (epg-context-home-directory): New function.
6067 (epg-context-set-program): New function.
6068 (epg-context-set-home-directory): New function.
6069 (epg--start): Use `epg-context-program' instead of
6070 'epg-gpg-program'.
6071 (epg--list-keys-1): Likewise.
6072
6073 2013-06-24 Leo Liu <sdl.web@gmail.com>
6074
6075 * ido.el (ido-read-internal): Fix bug#14620.
6076
6077 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6078
6079 * faces.el (face-documentation): Simplify.
6080 (read-face-attribute, tty-find-type, x-resolve-font-name):
6081 Use `string-match-p'.
6082 (list-faces-display): Use `string-match-p'. Simplify.
6083 (face-spec-recalc): Check face to avoid face alias loops.
6084 (read-color): Use `string-match-p' and non-capturing parenthesis.
6085
6086 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6087
6088 * net/shr.el (shr-rescale-image): Use the new
6089 :max-width/:max-height functionality.
6090
6091 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6092
6093 * net/eww.el (eww-search-prefix): New variable.
6094 (eww): Use it.
6095 (eww-external-browser): New variable.
6096 (eww-mode-map): New keystroke.
6097 (eww-browse-with-external-browser): New command.
6098
6099 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6100
6101 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6102
6103 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6104 Don't skip aligning the next header field when padding is 0;
6105 otherwise, field width is not respected unless the title is as
6106 wide as the field.
6107
6108 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6109
6110 * emacs-lisp/package.el (package-el-version): Remove.
6111 (package-process-define-package): Fix inf-loop.
6112 (package-install): Allow symbols as arguments again.
6113
6114 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6115
6116 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6117 add some more keyword-like methods.
6118 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6119
6120 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6121
6122 * bs.el (bs-buffer-show-mark): Make defvar-local.
6123 (bs-mode): Use setq-local.
6124
6125 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6126 (emacs-lock--try-unlocking): Make defvar-local.
6127
6128 2013-06-22 Glenn Morris <rgm@gnu.org>
6129
6130 * play/cookie1.el (cookie-apropos): Minor simplification.
6131
6132 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6133
6134 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6135
6136 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6137 `regexp-opt', it breaks the build during dumping.
6138
6139 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6140
6141 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6142 Highlight keyword-like methods on Kernel and Module with
6143 font-lock-builtin-face.
6144 (auto-mode-alist): Consolidate different entries into one regexp
6145 and add more *file-s.
6146
6147 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6148
6149 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6150
6151 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6152 (diary-entry): Use it in the action of this button type instead of
6153 diary-goto-entry.
6154
6155 * calendar/todo-mode.el: New version.
6156 (todo-add-category): Append new category to end of file and give
6157 it the highest number, instead of putting it at the beginning and
6158 giving it 0. Incorporate noninteractive functionality.
6159 (todo-forward-category): Adapt to 1-based category numbering.
6160 Allow skipping over archived categories.
6161 (todo-backward-category): Derive from todo-forward-category.
6162 (todo-backward-item, todo-forward-item): Make noninteractive and
6163 delegate interactive part to new commands. Make sensitive to done items.
6164 (todo-categories): Make value an alist of category names and
6165 vectors of item counts.
6166 (todo-category-beg): Make a defconst.
6167 (todo-category-number): Use 1 instead of 0 as initial value.
6168 (todo-category-select): Make sensitive to overlays, optional item
6169 highlighting and done items.
6170 (todo-delete-item): Make sensitive to overlays and marked and done items.
6171 (todo-edit-item): Make sensitive to overlays and editing of
6172 date/time header optional. Add format checks.
6173 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6174 no-op if point is not on an item. Advertise using todo-edit-quit.
6175 (todo-edit-mode): Make sensitive to new format, font-locking, and
6176 multiple todo files.
6177 (todo-insert-item, todo-insert-item-here): Derive from
6178 todo-basic-insert-item and extend functionality.
6179 (todo-item-end, todo-item-start): Make sensitive to done items.
6180 (todo-item-string): Don't return text properties. Restore point.
6181 (todo-jump-to-category): Make sensitive to multiple todo files and
6182 todo archives. Use extended category completion.
6183 (todo-lower-item, todo-raise-item): Rename to *-priority and
6184 derive from todo-set-item-priority.
6185 (todo-mode): Derive from special-mode. Make sensitive to new
6186 format, font-locking and multiple todo files. Make read-only.
6187 (todo-mode-map): Don't suppress digit keys, so they can supply
6188 prefix arguments. Add many new key bindings.
6189 (todo-prefix): Insert as an overlay instead of file text.
6190 Change semantics from diary date expression to purely visual mark.
6191 (todo-print): Rename to todo-print-buffer. Make buffer display
6192 features printable. Remove option to restrict number of items
6193 printed. Add option to print to file.
6194 (todo-print-function): Rename to todo-print-buffer-function.
6195 (todo-quit): Extend to handle exiting new todo modes.
6196 (todo-remove-item): Make sensitive to overlays.
6197 (todo-save): Extend to buffers of filtered items.
6198 (todo-show): Make sensitive to done items, multiple todo files and
6199 new todo modes. Offer to convert legacy todo file before creating
6200 first new todo file.
6201 (todo-show-priorities): Rename to todo-top-priorities.
6202 Change semantics of value 0.
6203 (todo-top-priorities): Rename to todo-filter-top-priorities,
6204 derive from todo-filter-items and extend functionality.
6205 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6206 and extend functionality to other types of filtered items.
6207 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6208 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6209 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6210 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6211 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6212 (todo-edit-mode-hook, todo-entry-prefix-function)
6213 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6214 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6215 (todo-initials, todo-insert-threshold, todo-item-string-start)
6216 (todo-line-string, todo-menu, todo-mode-hook)
6217 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6218 (todo-print-priorities, todo-remove-separator)
6219 (todo-save-top-priorities-too, todo-string-count-lines)
6220 (todo-string-multiline-p, todo-time-string-format)
6221 (todo-tmp-buffer-name): Remove.
6222 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6223 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6224 (todo-edit-category-diary-inclusion)
6225 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6226 (todo-edit-file, todo-edit-item-date-day)
6227 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6228 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6229 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6230 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6231 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6232 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6233 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6234 (todo-filter-top-priorities-multifile, todo-find-archive)
6235 (todo-find-filtered-items-file, todo-go-to-source-item)
6236 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6237 (todo-jump-to-archive-category, todo-lower-category)
6238 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6239 (todo-move-category, todo-move-item, todo-next-button)
6240 (todo-next-item, todo-padded-string, todo-powerset)
6241 (todo-previous-button, todo-previous-item)
6242 (todo-print-buffer-to-file, todo-raise-category)
6243 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6244 (todo-set-category-number, todo-set-item-priority)
6245 (todo-set-top-priorities-in-category)
6246 (todo-set-top-priorities-in-file, todo-show-categories-table)
6247 (todo-sort-categories-alphabetically-or-numerically)
6248 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6249 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6250 (todo-toggle-item-header, todo-toggle-item-highlighting)
6251 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6252 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6253 (todo-unarchive-items, todo-unmark-category): New commands.
6254 (todo-absolute-file-name, todo-add-to-buffer-list)
6255 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6256 (todo-basic-insert-item, todo-category-completions)
6257 (todo-category-number, todo-category-string-matcher-1)
6258 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6259 (todo-check-format, todo-clear-matches)
6260 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6261 (todo-current-category, todo-date-string-matcher)
6262 (todo-define-insertion-command, todo-diary-expired-matcher)
6263 (todo-diary-goto-entry, todo-diary-item-p)
6264 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6265 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6266 (todo-done-item-section-p, todo-done-separator)
6267 (todo-done-string-matcher, todo-files, todo-filter-items)
6268 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6269 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6270 (todo-insert-category-line, todo-insert-item-from-calendar)
6271 (todo-insert-sort-button, todo-insert-with-overlays)
6272 (todo-insertion-command-name, todo-insertion-key-bindings)
6273 (todo-label-to-key, todo-longest-category-name-length)
6274 (todo-make-categories-list, todo-mode-external-set)
6275 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6276 (todo-modes-set-3, todo-multiple-filter-files)
6277 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6278 (todo-read-category, todo-read-date, todo-read-dayname)
6279 (todo-read-file-name, todo-read-time)
6280 (todo-reevaluate-category-completions-files-defcustom)
6281 (todo-reevaluate-default-file-defcustom)
6282 (todo-reevaluate-filelist-defcustoms)
6283 (todo-reevaluate-filter-files-defcustom)
6284 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6285 (todo-reset-done-separator, todo-reset-done-separator-string)
6286 (todo-reset-done-string, todo-reset-global-current-todo-file)
6287 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6288 (todo-reset-prefix, todo-set-categories)
6289 (todo-set-date-from-calendar, todo-set-show-current-file)
6290 (todo-set-top-priorities, todo-short-file-name)
6291 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6292 (todo-total-item-counts, todo-update-buffer-list)
6293 (todo-update-categories-display, todo-update-categories-sexp)
6294 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6295 New functions.
6296 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6297 New major modes.
6298 (todo-categories, todo-display, todo-edit, todo-faces)
6299 (todo-filtered): New defgroups.
6300 (todo-archived-only, todo-button, todo-category-string, todo-date)
6301 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6302 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6303 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6304 (todo-add-item-if-new-category, todo-always-add-time-string)
6305 (todo-categories-align, todo-categories-archived-label)
6306 (todo-categories-category-label, todo-categories-diary-label)
6307 (todo-categories-done-label, todo-categories-number-separator)
6308 (todo-categories-todo-label, todo-categories-totals-label)
6309 (todo-category-completions-files, todo-completion-ignore-case)
6310 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6311 (todo-done-separator-string, todo-done-string)
6312 (todo-files-function, todo-filter-done-items, todo-filter-files)
6313 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6314 (todo-initial-category, todo-initial-file, todo-item-mark)
6315 (todo-legacy-date-time-regexp, todo-mode-line-function)
6316 (todo-nondiary-marker, todo-number-prefix)
6317 (todo-print-buffer-function, todo-show-current-file)
6318 (todo-show-done-only, todo-show-first, todo-show-with-done)
6319 (todo-skip-archived-categories, todo-top-priorities-overrides)
6320 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6321 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6322 New defcustoms.
6323 (todo-category-done, todo-date-pattern, todo-date-string-start)
6324 (todo-diary-items-buffer, todo-done-string-start)
6325 (todo-filtered-items-buffer, todo-item-start)
6326 (todo-month-abbrev-array, todo-month-name-array)
6327 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6328 (todo-top-priorities-buffer): New defconsts.
6329 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6330 (todo-categories-with-marks, todo-category-string-face)
6331 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6332 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6333 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6334 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6335 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6336 (todo-font-lock-keywords, todo-global-current-todo-file)
6337 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6338 (todo-insertion-commands-args)
6339 (todo-insertion-commands-args-genlist)
6340 (todo-insertion-commands-names, todo-insertion-map)
6341 (todo-key-bindings-t, todo-key-bindings-t+a)
6342 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6343 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6344 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6345 (todo-visited): New variables.
6346
6347 2013-06-21 Glenn Morris <rgm@gnu.org>
6348
6349 * play/cookie1.el (cookie-apropos): Add optional display argument.
6350 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6351 (psychoanalyze-pinhead): Use cookie-doctor.
6352
6353 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6354
6355 * emacs-lisp/package.el (tar-get-file-descriptor)
6356 (tar--extract): Declare.
6357
6358 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6359
6360 Extend flymake's warning predicate to be a function (bug#14217).
6361 * progmodes/flymake.el (flymake-warning-predicate): New.
6362 (flymake-parse-line): Use it.
6363 (flymake-warning-re): Make obsolete alias to
6364 `flymake-warning-predicate'.
6365
6366 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6367
6368 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6369 (package-obsolete-list): Remove.
6370 (package-activate): Remove min-version argument. Add `force' argument.
6371 Adjust to new package-alist format.
6372 (package-mark-obsolete): Remove.
6373 (package-unpack): Force reload of the package's autoloads.
6374 (package-installed-p): Check builtins if the installed package is not
6375 recent enough.
6376 (package-initialize): Don't reset package-obsolete-list.
6377 Don't specify which package version to activate.
6378 (package-process-define-package, describe-package-1)
6379 (package-menu--generate): Adjust to new package-alist format.
6380
6381 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6382
6383 * allout-widgets.el (allout-widgets-mode-off)
6384 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6385 (allout-widgets-post-command-business)
6386 (allout-widgets-after-copy-or-kill-function)
6387 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6388 (allout-decorate-item-and-context)
6389 (allout-graphics-modification-handler): Fix typos in docstrings.
6390 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6391
6392 * cmuscheme.el (scheme-start-file): Doc fix.
6393 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6394 (scheme-input-filter): Use `string-match-p'.
6395
6396 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6397
6398 * dired-x.el: Use Dired consistently in docstrings.
6399
6400 * dired.el: Use Dired consistently in docstrings.
6401 (dired-readin, dired-mode): Use `setq-local'.
6402 (dired-switches-alist): Make defvar-local.
6403 (dired-buffers-for-dir): Use `zerop'.
6404 (dired-safe-switches-p, dired-switches-escape-p)
6405 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6406 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6407 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6408 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6409 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6410 (dired-toggle-marks, dired-mark-files-containing-regexp)
6411 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6412 (dired-flag-auto-save-files, dired-flag-backup-files):
6413 Use `looking-at-p'.
6414 (dired-mark-files-regexp, dired-build-subdir-alist):
6415 Use `string-match-p', `looking-at-p'.
6416
6417 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6418 (direct-print-region-helper): Use `string-match-p'.
6419
6420 2013-06-21 Leo Liu <sdl.web@gmail.com>
6421
6422 * comint.el (comint-redirect-results-list-from-process):
6423 Fix infinite loop.
6424
6425 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6426
6427 * net/eww.el (eww-update-header-line-format): Quote % characters.
6428
6429 2013-06-21 Glenn Morris <rgm@gnu.org>
6430
6431 * play/cookie1.el (cookie): New custom group.
6432 (cookie-file): New option.
6433 (cookie-check-file): New function.
6434 (cookie): Make it interactive. Make start and end messages optional.
6435 Interactively, display the result. Default to cookie-file.
6436 (cookie-insert): Default to cookie-file.
6437 (cookie-snarf): Make start and end messages optional.
6438 Default to cookie-file. Use with-temp-buffer.
6439 (cookie-read): Rename from read-cookie.
6440 Make start and end messages optional. Default to cookie-file.
6441 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6442 Do not autoload it.
6443 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6444 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6445
6446 2013-06-21 Leo Liu <sdl.web@gmail.com>
6447
6448 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6449
6450 2013-06-21 Glenn Morris <rgm@gnu.org>
6451
6452 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6453
6454 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6455 Daniel Hackney <dan@haxney.org>
6456
6457 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6458 Consolidate the single-file vs tarball code.
6459 (package-desc-suffix): New function.
6460 (package-desc-full-name): Don't bother inlining it.
6461 (package-load-descriptor): Return the new package-desc.
6462 (package-mark-obsolete): Remove unused arg `package'.
6463 (package-unpack): Make it work for single files as well.
6464 Make it update package-alist.
6465 (package--make-autoloads-and-stuff): Rename from
6466 package--make-autoloads-and-compile. Don't compile any more.
6467 (package--compile): New function.
6468 (package-generate-description-file): New function, extracted from
6469 package-unpack-single.
6470 (package-unpack-single): Remove.
6471 (package--with-work-buffer): Add indentation and debugging info.
6472 (package-download-single): Remove.
6473 (package-install-from-archive): Rename from package-download-tar, make
6474 it take a pkg-desc, and make it work for single files as well.
6475 (package-download-transaction): Simplify.
6476 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6477 external tar program.
6478 (package-install-from-buffer): Remove `pkg-desc' argument.
6479 Use package-tar-file-info for tar-mode buffers.
6480 (package-install-file): Simplify accordingly.
6481 (package-archive-base): Change to take a pkg-desc.
6482 * tar-mode.el (tar--check-descriptor): New function, extracted from
6483 tar-get-descriptor.
6484 (tar-get-descriptor): Use it.
6485 (tar-get-file-descriptor): New function.
6486 (tar--extract): New function, extracted from tar-extract.
6487 (tar--extract): Use it.
6488 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6489 case the summary uses non-ascii. Adjust to new calling convention of
6490 package-tar-file-info.
6491
6492 2013-06-21 Leo Liu <sdl.web@gmail.com>
6493
6494 * comint.el (comint-redirect-results-list-from-process):
6495 Fix random delay. (Bug#14681)
6496
6497 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6498
6499 * profiler.el (profiler-format-number): Use log, not log10.
6500
6501 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6502
6503 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6504
6505 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6506
6507 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6508 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6509 yet available.
6510 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6511 (AUTOGENEL): ... here.
6512 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6513 (cl--defsubst-expand): Use it.
6514
6515 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6516
6517 * subr.el (log10): Move here from C code, and declare as obsolete.
6518 All uses of (log10 X) replaced with (log X 10).
6519
6520 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6521
6522 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6523 Declare with `defvar-local'.
6524 (tabulated-list-use-header-line, tabulated-list-entries)
6525 (tabulated-list-padding, tabulated-list-printer)
6526 (tabulated-list-sort-key): Declare with `defvar-local'.
6527 (tabulated-list-init-header, tabulated-list-print-fake-header):
6528 Use `setq-local'.
6529
6530 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6531
6532 * arc-mode.el (archive-mode): Add `archive-write-file' to
6533 `write-contents-functions' also for remote files. (Bug#14652)
6534
6535 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6536
6537 * cus-edit.el (custom-commands): Fix typos.
6538 (custom-display): Fix tooltip text.
6539 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6540 Fix typos in docstrings.
6541 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6542 (custom-unlispify-menu-entry, custom-magic-value-create)
6543 (custom-add-see-also, custom-group-value-create): Use ?\s.
6544 (custom-guess-type, customize-apropos, editable-field)
6545 (custom-face-value-create): Use `string-match-p'.
6546 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6547
6548 * custom.el (custom-load-symbol): Use `string-match-p'.
6549
6550 * ansi-color.el: Convert to lexical binding.
6551 (ansi-colors): Fix URL.
6552 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6553 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6554 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6555
6556 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6557
6558 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6559
6560 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6561
6562 2013-06-19 Tom Tromey <tromey@redhat.com>
6563
6564 * net/eww.el (eww-top-url): Remove.
6565 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6566 (eww-render): Set new variables. Don't set eww-top-url.
6567 (eww-handle-link): Handle "prev", "home", and "contents".
6568 Downcase the rel text.
6569 (eww-top-url): Choose best top URL.
6570
6571 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6572
6573 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6574 relying in widget.el. Using widget.el leads to too many
6575 user interface inconsistencies.
6576 (eww-self-insert): Implement entering commands in text fields.
6577 (eww-process-text-input): New function to make text input field editing
6578 work.
6579 (eww-submit): Rewrite to use the new-style form methods.
6580 (eww-select-display): Display the correct selected item.
6581 (eww-change-select): Implement changing the select value.
6582 (eww-toggle-checkbox): Implement radio/checkboxes.
6583 (eww-update-field): Fix compilation error.
6584 (eww-tag-textarea): Implement <textarea>.
6585
6586 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6587 we don't shadow mode-specific bindings.
6588
6589 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6590 nothing to push.
6591
6592 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6593
6594 2013-06-19 Glenn Morris <rgm@gnu.org>
6595
6596 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6597
6598 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6599
6600 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6601 not needed.
6602
6603 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6604
6605 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6606
6607 * net/browse-url.el (browse-url-browser-function):
6608 `eww-browse-url' has the right calling signature, `eww' does not.
6609
6610 2013-06-19 Glenn Morris <rgm@gnu.org>
6611
6612 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6613 Only eval autoloaded macros.
6614 (byte-compile-autoload): Only give the macro warning for macros.
6615
6616 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6617 (ps-underlined-faces): Declare.
6618
6619 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6620 (speedbar-add-supported-extension): Declare.
6621
6622 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6623 Don't include a date stamp in the header of the generated file;
6624 it leads to needless differences between output files.
6625
6626 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6627
6628 * net/secrets.el (secrets-struct-secret-content-type):
6629 Replace check of introspection data by a test call of "CreateItem".
6630 Some servers do not offer introspection.
6631
6632 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6633
6634 * electric.el (electric-pair-mode): Improve interaction with
6635 electric-layout-mode.
6636 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6637 (electric-pair-syntax): Use text-mode-syntax-table in comments
6638 and strings.
6639 (electric-pair--insert): New function.
6640 (electric-pair-post-self-insert-function): Use it and
6641 electric--after-char-pos.
6642
6643 2013-06-19 Leo Liu <sdl.web@gmail.com>
6644
6645 * progmodes/octave.el (octave-help): Fix regexp.
6646
6647 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6648
6649 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6650 (shr-table-horizontal-line): Allow nil as a value, and change the
6651 default.
6652 (shr-insert-table-ruler): Respect the nil value.
6653
6654 2013-06-18 Tom Tromey <tromey@barimba>
6655
6656 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6657 New defvars.
6658 (eww-open-file): New defun.
6659 (eww-render): Initialize new variables.
6660 (eww-display-html): Handle "link" and "a".
6661 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6662 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6663 (eww-back-url): Rename from eww-previous-url.
6664 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6665 New defuns.
6666
6667 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6668
6669 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6670 Distinguish ternary operator tokens from slash symbol and slash
6671 char literal.
6672
6673 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6674
6675 Convert symbol prettification into minor mode and global minor mode.
6676
6677 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6678 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6679 (prettify-symbols--keywords): Rename from
6680 `prog-prettify-symbols-alist' and make a local defvar.
6681 (prettify-symbols--compose-symbol): Rename from
6682 `prog--prettify-font-lock-compose-symbol'.
6683 (prettify-symbols--make-keywords): Rename from
6684 `prog-prettify-font-lock-symbols-keywords' and simplify.
6685 (prog-prettify-install): Remove.
6686 (prettify-symbols-mode): New minor mode, based on
6687 `prog-prettify-install'.
6688 (turn-on-prettify-symbols-mode): New function.
6689 (global-prettify-symbols-mode): New globalized minor mode.
6690
6691 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6692 * progmodes/cfengine.el (cfengine3-mode):
6693 * progmodes/perl-mode.el (perl-mode): Don't call
6694 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6695
6696 2013-06-18 Juri Linkov <juri@jurta.org>
6697
6698 * files-x.el (modify-file-local-variable-message): New function.
6699 (modify-file-local-variable)
6700 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6701 and call `modify-file-local-variable-message' when it's non-nil.
6702 (add-file-local-variable, delete-file-local-variable)
6703 (add-file-local-variable-prop-line)
6704 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6705 and use it. (Bug#9820)
6706
6707 2013-06-18 Juri Linkov <juri@jurta.org>
6708
6709 * emulation/vi.el (vi-shell-op):
6710 * emulation/vip.el (vip-execute-com, ex-command):
6711 * emulation/viper-cmd.el (viper-exec-bang):
6712 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6713 the call of `shell-command-on-region'. (Bug#14637)
6714
6715 * simple.el (shell-command-on-region): Doc fix.
6716
6717 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6718
6719 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6720 (bug#14633).
6721
6722 2013-06-18 Glenn Morris <rgm@gnu.org>
6723
6724 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6725
6726 * newcomment.el (comment-search-forward, comment-search-backward):
6727 Doc fix. (Bug#14376)
6728
6729 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6730
6731 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6732 (buffer-face-mode-invoke): Doc fix.
6733
6734 2013-06-18 Matthias Meulien <orontee@gmail.com>
6735
6736 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6737 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6738
6739 2013-06-18 Glenn Morris <rgm@gnu.org>
6740
6741 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6742 Replace obsolete function generic-make-keywords with its expansion.
6743
6744 * progmodes/python.el (ffap-alist): Declare.
6745
6746 * textmodes/reftex.el (bibtex-mode-map): Declare.
6747
6748 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6749
6750 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6751 (package-unpack, package-unpack-single): Return the pkg-dir.
6752 (package-download-transaction): Use it to update package-alist.
6753
6754 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6755
6756 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6757 possible choice.
6758
6759 2013-06-17 Juri Linkov <juri@jurta.org>
6760
6761 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6762
6763 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6764
6765 * emacs-lisp/package.el (package-load-descriptor):
6766 Remove `with-syntax-table' call, `read' doesn't need it.
6767 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6768
6769 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6770
6771 * startup.el (command-line): Expand package name returned by
6772 `package--description-file' (bug#14639).
6773
6774 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6775
6776 * emacs-lisp/package.el (package-load-descriptor): Do not call
6777 `emacs-lisp-mode', just use its syntax table.
6778
6779 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6780
6781 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6782 `font-lock-extra-managed-props' if any prettifying keyword is added.
6783 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6784 (prog-mode): Use `setq-local'.
6785
6786 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6787
6788 * international/characters.el (standard-case-table): Set syntax of ?»
6789 and ?« to punctuation.
6790
6791 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6792
6793 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6794 Save relevant match data before calling `syntax-ppss' (bug#14595).
6795
6796 2013-06-15 Juri Linkov <juri@jurta.org>
6797
6798 * files-x.el (modify-file-local-variable-prop-line): Add local
6799 variables to the end of the existing comment on the first line.
6800 Use `file-auto-mode-skip' to skip interpreter magic line,
6801 and also skip XML declaration.
6802
6803 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * startup.el (package--builtin-versions): New var.
6806 (package-subdirectory-regexp): Remove.
6807 (package--description-file): Hard code its value instead.
6808
6809 * emacs-lisp/package.el: Don't activate packages older than builtin.
6810 (package-obsolete-list): Rename from package-obsolete-alist, and make
6811 it into a simple list of package-desc.
6812 (package-strip-version): Remove.
6813 (package-built-in-p): Use package--builtin-versions.
6814 (package-mark-obsolete): Simplify.
6815 (package-process-define-package): Mark it obsolete if older than the
6816 builtin version.
6817 (package-handle-response): Use line-end-position.
6818 (package-read-archive-contents, package--download-one-archive):
6819 Simplify.
6820 (package--add-to-archive-contents): Skip if older than the builtin or
6821 installed version.
6822 (package-menu-describe-package): Fix last change.
6823 (package-list-unversioned): New var.
6824 (package-menu--generate): Use it.
6825
6826 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6827 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6828 (autoload-builtin-package-versions): New variable.
6829 (autoload-generate-file-autoloads): Use them.
6830 Remove the list of autoloaded functions/macros from the
6831 (autoload...) comments.
6832
6833 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6834
6835 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6836
6837 * simple.el (line-move-partial): Don't jump to the next screen
6838 line as soon as it becomes visible. Instead, continue enlarging
6839 the vscroll until the portion of a tall screen line that's left on
6840 display is about the height of the frame's default font.
6841 (Bug#14567)
6842
6843 2013-06-15 Glenn Morris <rgm@gnu.org>
6844
6845 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6846 compilation-error-regexp-alist void, or local while let-bound.
6847
6848 * progmodes/make-mode.el (makefile-mode-syntax-table):
6849 Treat "=" as punctuation. (Bug#14614)
6850
6851 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6852
6853 * help-fns.el (describe-variable):
6854 Add extra line for permanent-local variables.
6855
6856 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6857
6858 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6859 Add export, import, library. (Bug#9164)
6860 (library): Set indent function.
6861
6862 2013-06-14 Glenn Morris <rgm@gnu.org>
6863
6864 * term/xterm.el (xterm--query):
6865 Stop after first matching handler. (Bug#14615)
6866
6867 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6868
6869 Add support for dired in saveplace.
6870 * dired.el (dired-initial-position-hook): New variable.
6871 (dired-initial-position): Call hook to place cursor position.
6872 * saveplace.el (save-place-to-alist): Add dired position.
6873 (save-place-dired-hook): New function.
6874
6875 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6876
6877 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6878 through a symbol rather than letrec.
6879
6880 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6881 (package-desc): Add `dir' field.
6882 (package-desc-full-name): New function.
6883 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6884 (package-maybe-load-descriptor): Remove.
6885 (package-load-all-descriptors): Just call package-load-descriptor.
6886 (package--disabled-p): New function.
6887 (package-desc-vers, package-desc-doc): Remove aliases.
6888 (package--dir): Remove function.
6889 (package-activate): Check if a package is disabled.
6890 (package-process-define-package): New function, extracted from
6891 define-package.
6892 (define-package): Turn into a place holder.
6893 (package-unpack-single, package-tar-file-info):
6894 Use package--description-file.
6895 (package-compute-transaction): Use package--disabled-p.
6896 (package-download-transaction): Don't call
6897 package-maybe-load-descriptor since they're all loaded anyway.
6898 (package-install): Change argument to be a pkg-desc.
6899 (package-delete): Use a single pkg-desc argument.
6900 (describe-package-1): Use package-desc-dir instead of package--dir.
6901 Use package-desc property instead of package-symbol.
6902 (package-install-button-action): Adjust accordingly.
6903 (package--push): Rewrite.
6904 (package-menu--print-info): Adjust accordingly. Change the ID format
6905 to be a pkg-desc.
6906 (package-menu-describe-package, package-menu-get-status)
6907 (package-menu--find-upgrades, package-menu-mark-upgrades)
6908 (package-menu-execute, package-menu--name-predicate):
6909 Adjust accordingly.
6910 * startup.el (package--description-file): New function.
6911 (command-line): Use it.
6912 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6913 Use package-desc-version.
6914
6915 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6916 (byte-compile-preprocess): Use it.
6917 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6918 can't quite recognize.
6919 (byte-compile-add-to-list): Remove.
6920 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6921 (cconv-closure-convert): Add assertion.
6922
6923 * emacs-lisp/map-ynp.el: Use lexical-binding.
6924 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6925 Factor out some repeated code.
6926
6927 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6928
6929 * subr.el (with-eval-after-load): New macro.
6930 (eval-after-load): Allow form to be a function.
6931 take advantage of lexical-binding.
6932 (do-after-load-evaluation): Use dolist and adjust to new format.
6933 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6934
6935 2013-06-13 Juri Linkov <juri@jurta.org>
6936
6937 * replace.el (perform-replace): Display "symbol " and other search
6938 modes from `isearch-message-prefix' in the *Help* buffer.
6939
6940 * isearch.el (isearch-query-replace): Add " symbol" and other
6941 possible search modes from `isearch-message-prefix' to the prompt.
6942 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6943 when reading a regexp to collect.
6944
6945 2013-06-13 Juri Linkov <juri@jurta.org>
6946
6947 * isearch.el (word-search-regexp): Match whitespace if the search
6948 string begins or ends in whitespace. The LAX arg is applied to
6949 both ends of the search string. Use `regexp-quote' and explicit
6950 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6951 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6952 boundaries are replaced with symbol boundaries, and characters
6953 between symbols match non-word non-symbol syntax. (Bug#14602)
6954
6955 2013-06-13 Juri Linkov <juri@jurta.org>
6956
6957 * isearch.el (isearch-del-char): Don't exceed the length of
6958 `isearch-string' by the prefix arg. (Bug#14563)
6959
6960 2013-06-13 Juri Linkov <juri@jurta.org>
6961
6962 * isearch.el (isearch-yank-word, isearch-yank-line)
6963 (isearch-char-by-name, isearch-quote-char)
6964 (isearch-printing-char, isearch-process-search-char):
6965 Add optional count prefix arg. (Bug#14563)
6966
6967 * international/isearch-x.el
6968 (isearch-process-search-multibyte-characters):
6969 Add optional count prefix arg.
6970
6971 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6972
6973 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6974 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6975 lexical-binding.
6976
6977 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6978
6979 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6980
6981 2013-06-13 Glenn Morris <rgm@gnu.org>
6982
6983 * startup.el (tty-handle-args):
6984 Don't just discard "--" and anything after. (Bug#14608)
6985
6986 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6987
6988 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6989
6990 Implement changes in Secret Service API. Make it backward compatible.
6991 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6992 (secrets-create-item): Use it. Prefix properties with interface.
6993
6994 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6995
6996 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6997 (term-emulate-terminal): Respect term-suppress-hard-newline.
6998
6999 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7000
7001 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7002 Only remove a `thumb-file' overlay. (Bug#14548)
7003
7004 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7005
7006 * mail/reporter.el (reporter-submit-bug-report):
7007 Handle missing package-name. (Bug#14600)
7008
7009 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7010
7011 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7012 (reftex-citation-prompt, reftex-default-bibliography)
7013 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7014 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7015 (reftex-bib-sort-author, reftex-bib-sort-year)
7016 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7017 (reftex-extract-bib-entries-from-thebibliography)
7018 (reftex-get-bibkey-default, reftex-get-bib-names)
7019 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7020 (reftex-format-bib-entry, reftex-parse-bibitem)
7021 (reftex-format-bibitem, reftex-do-citation)
7022 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7023 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7024 (reftex-insert-bib-matches, reftex-format-citation)
7025 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7026 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7027 existing comments into docstrings.
7028
7029 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7030
7031 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7032
7033 2013-06-12 Andreas Schwab <schwab@suse.de>
7034
7035 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7036 for auto-save files.
7037
7038 2013-06-12 Glenn Morris <rgm@gnu.org>
7039
7040 * ido.el (ido-delete-ignored-files): Remove.
7041 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7042 Go back to calling ido-ignore-item-p directly.
7043
7044 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7045
7046 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7047
7048 * ido.el (ido-delete-ignored-files): New function,
7049 split from ido-make-file-list-1.
7050 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7051 (ido-make-file-list-1): Use ido-delete-ignored-files.
7052
7053 2013-06-12 Leo Liu <sdl.web@gmail.com>
7054
7055 * progmodes/octave.el (inferior-octave-startup)
7056 (inferior-octave-completion-table)
7057 (inferior-octave-track-window-width-change)
7058 (octave-eldoc-function-signatures, octave-help)
7059 (octave-find-definition): Use single quoted strings.
7060 (inferior-octave-startup-args): Change default value.
7061 (inferior-octave-startup): Do not hard code "-i" and
7062 "--no-line-editing".
7063 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7064 (inferior-octave-directory-tracker): Use it.
7065 (octave-goto-function-definition): Robustify.
7066 (octave-help): Support highlighting operators in 'See also'.
7067 (octave-find-definition): Find subfunctions only in Octave mode.
7068
7069 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * help-fns.el (help-fns--compiler-macro): If the handler function is
7072 named, then put a link to it.
7073 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7074 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7075 (cl-typep): Use it.
7076 (cl-eval-when): Simplify debug spec.
7077 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7078 compiler-macro function instead of setting `compiler-macro-file'.
7079
7080 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7081
7082 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7083 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7084
7085 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7086 Daniel Hackney <dan@haxney.org>
7087
7088 First part of Daniel Hackney's patch to package.el.
7089 * emacs-lisp/package.el: Use defstruct.
7090 (package-desc): New, main struct.
7091 (package--bi-desc, package--ac-desc): New structs, used to describe the
7092 format in external files.
7093 (package-desc-vers): Replace with package-desc-version accessor.
7094 (package-desc-doc): Replace with package-desc-summary accessor.
7095 (package-activate-1): Remove `package' arg since the pkg-vec now
7096 includes the name.
7097 (define-package): Use package-desc-from-define.
7098 (package-unpack-single): Change file-name arg to be a symbol.
7099 (package--add-to-archive-contents): Use package-desc-create and new
7100 accessor functions to package--ac-desc.
7101 (package-buffer-info, package-tar-file-info): Return a package-desc.
7102 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7103 arg to be a package-desc.
7104 (package-install-file): Adjust accordingly. Use \' to match EOS.
7105 (package--from-builtin): New function.
7106 (describe-package-1, package-menu--generate): Use it.
7107 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7108 (package-generate-autoloads): Idem and return the name of the file.
7109 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7110 Change pkg-info arg to be a package-desc.
7111 Use package-make-ac-desc.
7112 (package-upload-file): Use \' to match EOS.
7113 * finder.el (finder-compile-keywords): Use package-make-builtin.
7114
7115 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7116
7117 * vc/vc.el (vc-deduce-fileset): Change error message.
7118 (vc-read-backend): New function.
7119 (vc-next-action): Use it.
7120
7121 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7122
7123 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7124 (prolog-font-lock-keywords): Use regexp-opt instead.
7125 Don't manually highlight strings.
7126 (prolog-mode-variables): Simplify comment-start-skip.
7127 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7128
7129 * emacs-lisp/generic.el (generic--normalise-comments)
7130 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7131 (generic-mode-set-comments): Use them.
7132 (generic-bracket-support): Use setq-local.
7133 (generic-make-keywords-list): Declare obsolete.
7134
7135 2013-06-11 Glenn Morris <rgm@gnu.org>
7136
7137 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7138 Prettify after setting font-lock-defaults. (Bug#14574)
7139
7140 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7141
7142 * replace.el (query-replace, occur-read-regexp-defaults-function)
7143 (replace-search):
7144 * subr.el (declare-function, number-sequence, local-set-key)
7145 (substitute-key-definition, locate-user-emacs-file)
7146 (with-silent-modifications, split-string, eval-after-load):
7147 Fix typos, remove unneeded backslashes and reflow some docstrings.
7148
7149 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7150
7151 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7152 default for Elisp files.
7153
7154 2013-06-11 Glenn Morris <rgm@gnu.org>
7155
7156 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7157 although define-derived-mode was doing this anyway. (Bug#14583)
7158
7159 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7160
7161 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7162 Fix make-variable-buffer-local call to refer to the correct variable.
7163
7164 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7165
7166 * eshell/em-term.el (eshell-visual-commands)
7167 (eshell-visual-subcommands, eshell-visual-options):
7168 Add summary line to docstrings. Add cross-references.
7169
7170 2013-06-10 Glenn Morris <rgm@gnu.org>
7171
7172 * epa.el (epa-read-file-name): New function. (Bug#14510)
7173 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7174
7175 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7176
7177 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7178 output redirection to be ignored with visual commands.
7179
7180 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7181
7182 * eshell/em-term.el (eshell-visual-command-p): New function.
7183 (eshell-term-initialize): Move long lambda to separate function
7184 eshell-visual-command-p.
7185 * eshell/em-dirs.el (eshell-dirs-initialise):
7186 * eshell/em-script.el (eshell-script-initialize):
7187 Add missing #' to lambda.
7188
7189 2013-06-08 Leo Liu <sdl.web@gmail.com>
7190
7191 * progmodes/octave.el (octave-add-log-current-defun): New function.
7192 (octave-mode): Set add-log-current-defun-function.
7193 (octave-goto-function-definition): Do not move point if not found.
7194 (octave-find-definition): Enhance to try subfunctions first.
7195
7196 2013-06-08 Glenn Morris <rgm@gnu.org>
7197
7198 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7199 (byte-compile-backward-char, byte-compile-backward-word):
7200 Improve previous change, to handle non-explicit nil.
7201
7202 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7203
7204 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7205 (smie--opener/closer-at-point): New function.
7206 (smie--matching-block-data): Use it. Don't match from right after an
7207 opener or right before a closer. Obey smie-blink-matching-inners.
7208 Don't signal a mismatch for repeated inners like "switch..case..case".
7209
7210 2013-06-07 Leo Liu <sdl.web@gmail.com>
7211
7212 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7213 to t. (Bug#14303)
7214 (octave-function-header-regexp): Fix. (Bug#14570)
7215 (octave-help-mode-finish-hook, octave-help-mode-finish):
7216 Remove. Just use temp-buffer-show-hook.
7217
7218 * newcomment.el (comment-search-backward): Revert last change.
7219 (Bug#14434)
7220
7221 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7222
7223 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7224
7225 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7226 through xargs, to avoid failure due to MS-Windows limitations on
7227 command-line length.
7228
7229 2013-06-06 Glenn Morris <rgm@gnu.org>
7230
7231 * font-lock.el (lisp-font-lock-keywords-2):
7232 Treat user-error like error.
7233
7234 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7235 (byte-compile-backward-char, byte-compile-backward-word):
7236 Handle explicit nil arguments. (Bug#14565)
7237
7238 2013-06-05 Alan Mackenzie <acm@muc.de>
7239
7240 * isearch.el (isearch-allow-prefix): New user option.
7241 (isearch-other-meta-char): Don't exit isearch when a prefix
7242 argument is typed whilst `isearch-allow-prefix' is non-nil.
7243 (Bug#9706)
7244
7245 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7246
7247 * autorevert.el (auto-revert-notify-handler): Use memq.
7248 Hide assertion failure.
7249
7250 * skeleton.el: Use cl-lib.
7251 (skeleton-further-elements): Use defvar-local.
7252 (skeleton-insert): Use cl-progv.
7253
7254 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7255
7256 * progmodes/prog-mode.el (prog-prettify-symbols)
7257 (prog-prettify-install): Update docstrings.
7258
7259 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * simple.el: Move all the prog-mode code to prog-mode.el.
7262 * progmodes/prog-mode.el: New file.
7263 * loadup.el: Add prog-mode.el.
7264
7265 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7266
7267 * simple.el (prog-prettify-symbols): Add version.
7268 (prog-prettify-install): Add convenience function to prettify symbols.
7269
7270 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7271 (perl--augmented-font-lock-keywords-1)
7272 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7273 variables and use it.
7274
7275 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7276 (cfengine3-mode): Remove unneeded variable and use it.
7277
7278 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7279 (lisp--augmented-font-lock-keywords-1)
7280 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7281 Remove unneeded variables and use it.
7282
7283 2013-06-05 João Távora <joaotavora@gmail.com>
7284
7285 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7286 to point when opening the connection. (Bug#14380)
7287
7288 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7289
7290 * subr.el (load-history-regexp, load-history-filename-element)
7291 (eval-after-load, after-load-functions, do-after-load-evaluation)
7292 (eval-next-after-load, display-delayed-warnings)
7293 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7294 definition of save-match-data.
7295 (overriding-local-map): Remove accidental obsolescence declaration.
7296
7297 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7298
7299 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7300
7301 Generalize symbol prettify support to prog-mode and implement it
7302 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7303 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7304 (prog--prettify-font-lock-compose-symbol)
7305 (prog-prettify-font-lock-symbols-keywords): New variables and
7306 functions to support symbol prettification.
7307 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7308 (lisp--augmented-font-lock-keywords-1)
7309 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7310 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7311 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7312 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7313 Implement prettify of -> => :: strings.
7314 * progmodes/perl-mode.el (perl-prettify-symbols)
7315 (perl--font-lock-compose-symbol)
7316 (perl--font-lock-symbols-keywords): Move to prog-mode.
7317 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7318 (perl-font-lock-keywords-1)
7319 (perl-font-lock-keywords-2): Remove explicit prettify support.
7320 (perl--augmented-font-lock-keywords)
7321 (perl--augmented-font-lock-keywords-1)
7322 (perl--augmented-font-lock-keywords-2, perl-mode):
7323 Implement prettify support.
7324
7325 2013-06-05 Leo Liu <sdl.web@gmail.com>
7326
7327 Re-implement smie matching block highlight using
7328 show-paren-data-function. (Bug#14395)
7329 * emacs-lisp/smie.el (smie-matching-block-highlight)
7330 (smie--highlight-matching-block-overlay)
7331 (smie--highlight-matching-block-lastpos)
7332 (smie-highlight-matching-block)
7333 (smie-highlight-matching-block-mode): Remove.
7334 (smie--matching-block-data-cache): New variable.
7335 (smie--matching-block-data): New function.
7336 (smie-setup): Use smie--matching-block-data for
7337 show-paren-data-function.
7338
7339 * progmodes/octave.el (octave-mode-menu): Fix.
7340 (octave-find-definition): Skip garbage lines.
7341
7342 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7343
7344 Fix compilation error with simultaneous dynamic+lexical scoping.
7345 Add warning when a defvar appears after the first let-binding.
7346 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7347 (byte-compile-close-variables): Initialize it.
7348 (byte-compile--declare-var): New function.
7349 (byte-compile-file-form-defvar)
7350 (byte-compile-file-form-define-abbrev-table)
7351 (byte-compile-file-form-custom-declare-variable): Use it.
7352 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7353 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7354 (byte-compile-bind): Handle dynamic bindings that shadow
7355 lexical bindings.
7356 (byte-compile-unbind): Make arg non-optional.
7357 (byte-compile-let): Simplify.
7358 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7359 (cconv--analyse-function, cconv-analyse-form): Populate it.
7360 Protect byte-compile-bound-variables to limit the scope of defvars.
7361 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7362 Remove unneeded rule for `declare'.
7363
7364 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7365 so as to avoid depending on cl-adjoin at run-time.
7366 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7367
7368 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7369 (macroexp--warn-and-return): Use it.
7370
7371 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 * lisp/subr.el: Convert to lexical binding.
7374 (overriding-local-map): Make obsolete.
7375 (add-to-list): Doc fix. Add compiler macro.
7376 (read-key): Swap values of local maps.
7377
7378 2013-06-05 Leo Liu <sdl.web@gmail.com>
7379
7380 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7381
7382 2013-06-04 Leo Liu <sdl.web@gmail.com>
7383
7384 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7385 (compilation-auto-jump): Suppress the "Mark set" message to give
7386 way to exit message.
7387
7388 2013-06-04 Alan Mackenzie <acm@muc.de>
7389
7390 Remove faulty optimisation from indentation calculation.
7391 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7392 search limit based on 2000 characters back from indent-point.
7393
7394 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7395
7396 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7397
7398 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7399
7400 * emacs-lisp/lisp.el: Use lexical-binding.
7401 (lisp--local-variables-1, lisp--local-variables): New functions.
7402 (lisp--local-variables-completion-table): New var.
7403 (lisp-completion-at-point): Use it complete let-bound vars.
7404
7405 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7406 eagerly (bug#14422).
7407
7408 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7409
7410 * autorevert.el (auto-revert-notify-enabled)
7411 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7412 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7413 (auto-revert-notify-handler): Handle also gfilenotify.
7414
7415 * subr.el (file-notify-handle-event): New defun. Replacing ...
7416 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7417 Remove.
7418
7419 2013-06-03 Juri Linkov <juri@jurta.org>
7420
7421 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7422 `M-s h .'. (Bug#14427)
7423
7424 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7425 command `hi-lock-face-symbol-at-point'.
7426 (hi-lock-face-symbol-at-point): New command.
7427 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7428 (hi-lock-menu): Add `highlight-symbol-at-point'.
7429 (hi-lock-mode): Doc fix.
7430
7431 * isearch.el (isearch-forward-symbol-at-point): New command.
7432 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7433 (isearch-highlight-regexp): Add a regexp which matches
7434 words/symbols for word/symbol mode.
7435
7436 * subr.el (find-tag-default-bounds): New function with the body
7437 mostly moved from `find-tag-default'.
7438 (find-tag-default): Move most code to `find-tag-default-bounds',
7439 call it and apply `buffer-substring-no-properties' afterwards.
7440
7441 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7442
7443 * eshell/em-term.el (eshell-term-initialize):
7444 Use `cl-intersection' rather than `intersection'.
7445
7446 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7447
7448 * vc/log-view.el: Doc fix.
7449 (log-view-mode-map): Copy keymap from `special-mode-map'.
7450
7451 2013-06-02 Eric Ludlam <zappo@gnu.org>
7452
7453 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7454 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7455 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7456 (eieio-unbound, eieio-default-superclass)
7457 (eieio--define-field-accessors, method-static, method-before)
7458 (method-primary, method-after, method-num-lists)
7459 (method-generic-before, method-generic-primary)
7460 (method-generic-after, method-num-slots)
7461 (eieio-specialized-key-to-generic-key)
7462 (eieio--check-type, class-v, class-p)
7463 (eieio-class-name, define-obsolete-function-alias)
7464 (eieio-class-parents-fast, eieio-class-children-fast)
7465 (same-class-fast-p, class-constructor, generic-p)
7466 (generic-primary-only-p, generic-primary-only-one-p)
7467 (class-option-assoc, class-option, eieio-object-p)
7468 (class-abstract-p, class-method-invocation-order)
7469 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7470 (eieio-class-un-autoload, eieio-defclass)
7471 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7472 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7473 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7474 (eieio-defgeneric-reset-generic-form)
7475 (eieio-defgeneric-form-primary-only)
7476 (eieio-defgeneric-reset-generic-form-primary-only)
7477 (eieio-defgeneric-form-primary-only-one)
7478 (eieio-defgeneric-reset-generic-form-primary-only-one)
7479 (eieio-unbind-method-implementations)
7480 (eieio--defmethod, eieio--typep)
7481 (eieio-perform-slot-validation, eieio-validate-slot-value)
7482 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7483 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7484 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7485 (eieio-slot-name-index, eieio-class-slot-name-index)
7486 (eieio-set-defaults, eieio-initarg-to-attribute)
7487 (eieio-attribute-to-initarg, eieio-c3-candidate)
7488 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7489 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7490 (eieio-class-precedence-list, eieio-generic-call-methodname)
7491 (eieio-generic-call-arglst, eieio-generic-call-key)
7492 (eieio-generic-call-next-method-list)
7493 (eieio-pre-method-execution-functions, eieio-generic-call)
7494 (eieio-generic-call-primary-only, eieiomt-method-list)
7495 (eieiomt-optimizing-obarray, eieiomt-install)
7496 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7497 (eieio-generic-form, eieio-defmethod, make-obsolete)
7498 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7499 (defclass): Remove `eval-and-compile' from macro.
7500 (call-next-method, shared-initialize): Instead of using
7501 `scoped-class' variable, use new eieio--scoped-class, and
7502 eieio--with-scoped-class.
7503 (initialize-instance): Rename local variable 'scoped-class' to
7504 'this-class' to remove ambiguitity from old global.
7505
7506 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7507 eieio.el.
7508 (eieio--scoped-class-stack): New variable.
7509 (eieio--scoped-class): New fcn.
7510 (eieio--with-scoped-class): New scoping macro.
7511 (eieio-defclass): Use pushnew instead of add-to-list.
7512 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7513 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7514 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7515 `scoped-class' variable, use new eieio--scoped-class, and
7516 eieio--with-scoped-class.
7517
7518 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7519
7520 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7521
7522 * eshell/esh-ext.el (eshell-external-command): Pass args to
7523 `eshell-find-interpreter'.
7524 (eshell-find-interpreter): Add new second parameter ARGS.
7525
7526 * eshell/em-script.el (eshell-script-initialize): Add second arg
7527 to the function added as MATCH to `eshell-interpreter-alist'.
7528
7529 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7530 the function added as MATCH to `eshell-interpreter-alist'.
7531
7532 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7533 (eshell-visual-options): New defcustom.
7534 (eshell-escape-control-x): Adapt docstring.
7535 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7536 `eshell-visual-options' in addition to `eshell-visual-commands'.
7537 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7538
7539 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7540
7541 * progmodes/python.el (python-indent-block-enders): Add break,
7542 continue and raise keywords.
7543
7544 2013-06-01 Glenn Morris <rgm@gnu.org>
7545
7546 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7547
7548 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7549 * progmodes/cc-cmds.el (delete-forward-p):
7550 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7551 * progmodes/cc-engine.el (buffer-syntactic-context):
7552 * progmodes/cc-fonts.el (face-property-instance):
7553 * progmodes/cc-mode.el (set-keymap-parents):
7554 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7555 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7556 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7557 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7558 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7559
7560 * progmodes/cc-vars.el (other): Emacs has this widget since
7561 at least 21.1, so don't (re)define it.
7562
7563 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7564 Replace the obsolete alias pcomplete-arg-quote-list.
7565
7566 2013-06-01 Leo Liu <sdl.web@gmail.com>
7567
7568 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7569 punctuation syntax.
7570 (inferior-octave-minimal-columns)
7571 (inferior-octave-last-column-width): New variables.
7572 (inferior-octave-track-window-width-change): New function.
7573 (inferior-octave-mode): Adjust column width so that Octave output,
7574 for example from 'ls', can fit into the window nicely.
7575
7576 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7577
7578 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7579 Highlight expansions inside regexp literals.
7580
7581 2013-05-31 Glenn Morris <rgm@gnu.org>
7582
7583 * obsolete/sym-comp.el (symbol-complete):
7584 Replace obsolete completion-annotate-function.
7585
7586 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7587
7588 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7589
7590 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7591 New function, checks if point is inside a literal that allows
7592 expression expansion.
7593 (ruby-syntax-propertize-expansion): Use it.
7594 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7595 around the body.
7596
7597 2013-05-30 Juri Linkov <juri@jurta.org>
7598
7599 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7600 to "\M-si".
7601 (isearch-invisible): New variable.
7602 (isearch-forward): Doc fix.
7603 (isearch-mode): Set `isearch-invisible'
7604 to the value of `search-invisible'.
7605 (isearch-toggle-case-fold): Doc fix.
7606 (isearch-toggle-invisible): New command.
7607 (isearch-query-replace): Let-bind `search-invisible'
7608 to the value of `isearch-invisible'.
7609 (isearch-search): Use `isearch-invisible' instead of
7610 `search-invisible'. Let-bind `search-invisible'
7611 to the value of `isearch-invisible'. (Bug#11378)
7612
7613 2013-05-30 Juri Linkov <juri@jurta.org>
7614
7615 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7616 call when `query-flag' is nil and `search-invisible' is non-nil.
7617 (Bug#11746)
7618
7619 2013-05-30 Glenn Morris <rgm@gnu.org>
7620
7621 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7622
7623 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7624 (cc-require): Suppress spurious "noruntime" warnings.
7625 (cc-require-when-compile): Use fboundp, for sake of compiler.
7626
7627 * progmodes/cc-mode.el: Move load of cc-vars before that of
7628 cc-langs (which in turn loads cc-vars), to quieten compiler.
7629
7630 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7631
7632 * paren.el: Simplify the code.
7633 (show-paren-mode): Always start the timer.
7634 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7635 (show-paren--overlay, show-paren--overlay-1): Rename from
7636 show-paren-overlay and show-paren-overlay-1, and initialize to an
7637 overlay rather than to nil.
7638 (show-paren-function): Misc cleanup and simplifications.
7639
7640 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7641
7642 * paren.el (show-paren-data-function): New hook.
7643 (show-paren--default): New function, extracted from show-paren-function.
7644 (show-paren-function): Use show-paren-data-function.
7645
7646 2013-05-30 Glenn Morris <rgm@gnu.org>
7647
7648 * ielm.el (ielm-map, ielm-complete-symbol):
7649 Use completion-at-point rather than obsolete functions.
7650 (inferior-emacs-lisp-mode): Doc fix.
7651 Set completion-at-point-functions, rather than
7652 comint-dynamic-complete-functions.
7653
7654 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7655 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7656 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7657
7658 * image.el (image-animated-p): Tweak definition.
7659
7660 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7661 (rlogin-process-connection-type): Tweak default. Add set-after.
7662 (rlogin-host): Doc fix.
7663 (rlogin): Tweak prompt.
7664 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7665
7666 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7667 * progmodes/tcl.el (inferior-tcl-mode-map):
7668 Use completion-at-point rather than obsolete alias.
7669
7670 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7671
7672 * minibuffer.el (read-file-name-completion-ignore-case):
7673 Move before completion--in-region, for eager macro expansion.
7674
7675 2013-05-29 Juri Linkov <juri@jurta.org>
7676
7677 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7678 for total count of matching lines. Add `global-matches' for total
7679 count of matches. Rename `matches' to `lines' for count of
7680 matching lines. Add `matches' for count of matches.
7681 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7682 to `prev-line' for line number of prev match endpt.
7683 Increment `matches' for every match. Print the number of
7684 matching lines in the header.
7685 (occur-context-lines): Rename `lines' to `curr-line'.
7686 Rename `prev-lines' to `prev-line'. (Bug#14017)
7687
7688 2013-05-29 Juri Linkov <juri@jurta.org>
7689
7690 * replace.el (perform-replace): Add `skip-read-only-count',
7691 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7692 Increment them for corresponding conditions and report the number
7693 of skipped occurrences in the final message. (Bug#11746)
7694 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7695 (replace-string, replace-regexp): Doc fix.
7696
7697 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7698
7699 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7700
7701 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7702 prog-mode-map (bug#14504).
7703
7704 2013-05-29 Leo Liu <sdl.web@gmail.com>
7705
7706 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7707 (octave-help): Small simplification.
7708
7709 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7710 off the highlight first.
7711
7712 2013-05-29 Glenn Morris <rgm@gnu.org>
7713
7714 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7715 Handle idlwave-last-system-routine-info-cons-cell being nil.
7716
7717 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7718 (idlwave-write-paths): Simplify via with-temp-buffer.
7719
7720 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7721 * emulation/cua-rect.el: Also load cua-base at run time.
7722
7723 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7724 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7725 (cperl-imenu-on-info): Require imenu.
7726
7727 2013-05-28 Alan Mackenzie <acm@muc.de>
7728
7729 Handle "capitalised keywords" correctly.
7730 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7731
7732 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7733
7734 * eshell/em-unix.el: Add -r option to cp.
7735
7736 2013-05-28 Glenn Morris <rgm@gnu.org>
7737
7738 * vc/vc-arch.el (vc-exec-after): Declare.
7739 (vc-switches): Autoload.
7740 * vc/vc-bzr.el: No need to require vc when compiling.
7741 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7742 (vc-resynch-buffer, vc-dir-refresh): Declare.
7743 (vc-setup-buffer, vc-switches): Autoload.
7744 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7745 (vc-resynch-buffer): Declare.
7746 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7747 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7748 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7749 (grep-read-regexp, grep-read-files, grep-expand-template)
7750 (vc-dir-refresh): Declare.
7751 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7752 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7753 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7754 * vc/vc-mtn.el (vc-exec-after): Declare.
7755 (vc-switches): Autoload.
7756 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7757 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7758 (vc-file-tree-walk): Declare.
7759 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7760 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7761 (vc-tag-precondition, vc-rename-master): Autoload.
7762 * vc/vc-svn.el (vc-exec-after): Declare.
7763 (vc-switches, vc-setup-buffer): Autoload.
7764 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7765 Autoload.
7766 (vc-resynch-buffer): Declare.
7767
7768 * obsolete/fast-lock.el (byte-compile-warnings):
7769 Don't warn about obsolete features in this obsolete file.
7770
7771 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7772 Move definition before use.
7773
7774 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7775 (dun-unix-verbs): Remove dun-zippy.
7776 (dun-zippy): Remove function.
7777
7778 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7779
7780 2013-05-27 Juri Linkov <juri@jurta.org>
7781
7782 * replace.el (replace-search): New function with code moved out
7783 from `perform-replace'.
7784 (replace-highlight, replace-dehighlight): Move function definitions
7785 up closer to `replace-search'. (Bug#11746)
7786
7787 2013-05-27 Juri Linkov <juri@jurta.org>
7788
7789 * replace.el (perform-replace): Ignore invisible matches.
7790 In addition to checking `query-replace-skip-read-only', also
7791 filter out matches by calling `run-hook-with-args-until-failure'
7792 on `isearch-filter-predicates', and also check `search-invisible'
7793 for t or call `isearch-range-invisible'.
7794 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7795
7796 2013-05-27 Juri Linkov <juri@jurta.org>
7797
7798 * isearch.el (isearch-filter-predicates): Rename from
7799 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7800 (isearch-message-prefix): Display text from the property
7801 `isearch-message-prefix' of the currently active filters.
7802 (isearch-search): Don't compare `isearch-filter-predicate' with
7803 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7804 on `isearch-filter-predicates'. Also check `search-invisible' for t
7805 or call `isearch-range-invisible'.
7806 (isearch-filter-visible): Make obsolete.
7807 (isearch-lazy-highlight-search):
7808 Call `run-hook-with-args-until-failure' on
7809 `isearch-filter-predicates' and use `isearch-range-invisible'.
7810
7811 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7812 `isearch-filter-predicates' instead of `funcall'ing
7813 `isearch-filter-predicate'.
7814 (Info-mode): Set `Info-isearch-filter' to
7815 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7816
7817 * dired-aux.el (dired-isearch-filter-predicate-orig):
7818 Remove variable.
7819 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7820 (dired-isearch-filenames-end): Add and remove
7821 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7822 instead of changing the value of `isearch-filter-predicate'.
7823 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7824 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7825 Put property `isearch-message-prefix' to "filename " on
7826 `dired-isearch-filter-filenames'.
7827
7828 * wdired.el (wdired-change-to-wdired-mode):
7829 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7830 locally instead of changing `isearch-filter-predicate'.
7831 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7832
7833 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7834
7835 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7836 return the commit hash (Bug#14459). Also set the
7837 `vc-git-detached' property.
7838 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7839 (vc-git-mode-line-string): Use the same help-echo format whether
7840 in detached mode or not, because we know the actual revision now.
7841 When in detached mode, shorten the revision to 7 chars.
7842
7843 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7844
7845 * emacs-lisp/easy-mmode.el (define-minor-mode):
7846 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7847 mode hook and provide a docstring.
7848
7849 2013-05-27 Alan Mackenzie <acm@muc.de>
7850
7851 Remove spurious syntax-table text properties inserted by C-y.
7852 * progmodes/cc-mode.el (c-after-change): Also clear hard
7853 syntax-table property with value nil.
7854
7855 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7856
7857 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7858 when reading the events; the buffer layout shall not be changed.
7859
7860 2013-05-27 Leo Liu <sdl.web@gmail.com>
7861
7862 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7863 New variable.
7864 (inferior-octave-directory-tracker): Automatically re-sync
7865 default-directory.
7866 (octave-help): Improve handling of 'See also'.
7867
7868 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7869
7870 * doc-view.el: Minor naming convention tweaks.
7871 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7872
7873 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7874 even if there's no `display' property yet (bug#14435).
7875
7876 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7877
7878 * subr.el (unmsys--file-name): Rename from reveal-filename.
7879
7880 * Makefile.in (custom-deps, finder-data, autoloads)
7881 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7882 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7883 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7884
7885 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7886
7887 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7888 error-completion on the first 2 args of condition-case (bug#14446).
7889 Don't burp at EOB.
7890
7891 2013-05-25 Leo Liu <sdl.web@gmail.com>
7892
7893 * comint.el (comint-previous-matching-input): Do not flood the
7894 *Messages* buffer with trivial messages.
7895
7896 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * progmodes/flymake.el (flymake-nop): Don't return a string.
7899 (flymake-set-at): Fix typo.
7900
7901 * simple.el (read--expression): New function, extracted from
7902 eval-expression. Set completion-at-point-functions (bug#14465).
7903 (eval-expression, eval-minibuffer): Use it.
7904
7905 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7906
7907 * progmodes/flymake.el (flymake-save-buffer-in-file)
7908 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7909 (flymake-selected-frame, flymake-log, flymake-ins-after)
7910 (flymake-set-at, flymake-get-buildfile-from-cache)
7911 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7912 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7913 Refine the doc string.
7914 (flymake-get-file-name-mode-and-masks): Reformat.
7915 (flymake-get-real-file-name-function): Fix a minor bug.
7916
7917 2013-05-24 Juri Linkov <juri@jurta.org>
7918
7919 * progmodes/grep.el (grep-mode-font-lock-keywords):
7920 Support =linenumber= format used by git-grep for lines with
7921 function names. (Bug#13549)
7922
7923 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7924
7925 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7926 0 after a semi-colon; it works better for smie-auto-fill.
7927 (octave--indent-new-comment-line): New function.
7928 (octave-indent-new-comment-line): Use it (indirectly).
7929 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7930 modify comment-line-break-function.
7931
7932 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7933 (smie-setup): Use add-function to set it.
7934
7935 2013-05-24 Sam Steingold <sds@gnu.org>
7936
7937 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7938 argument (before the `interactive' argument).
7939
7940 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7941
7942 * image-mode.el (image-mode-winprops): Add winprops to
7943 image-mode-winprops-alist before running
7944 image-mode-new-window-functions.
7945 * doc-view.el (doc-view-new-window-function): Don't delay
7946 doc-view-goto-page via timers (bug#14435).
7947
7948 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7949
7950 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7951 (doc-view-desktop-save-buffer): New function.
7952 (doc-view-restore-desktop-buffer): New function.
7953 (desktop-buffer-mode-handlers):
7954 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7955 handler.
7956 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7957 `desktop-save-buffer' function.
7958
7959 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7960
7961 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7962 (tramp-gvfs-file-name-handler): Raise a user error when
7963 `tramp-gvfs-enabled' is nil.
7964 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7965 Do not raise a user error when loading package. (Bug#14447)
7966
7967 * net/xesam.el: Move to obsolete/.
7968
7969 2013-05-24 Glenn Morris <rgm@gnu.org>
7970
7971 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7972
7973 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7974
7975 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7976 (Info-find-node, Man-getpage-in-background): Declare.
7977
7978 * mail/unrmail.el (unrmail):
7979 Replace obsolete detect-coding-with-priority.
7980
7981 * net/socks.el (socks-split-string): Use this rather than split-string.
7982 (socks-nslookup-host): Update for above change.
7983 (dynamic-choice, s5-dynamic-choice-match)
7984 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7985 Comment out unused code.
7986
7987 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7988 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7989 (gud-tooltip-echo-area): Make obsolete.
7990 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7991
7992 * progmodes/js.el (js--optimize-arglist): Declare.
7993
7994 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7995
7996 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7997 (ediff-window-C): Declare.
7998
7999 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8000 Tweak requires to silence compiler.
8001
8002 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8003 (he-search-string, he-tried-table, he-expand-list)
8004 (he-init-string, he-string-member, he-substitute-string)
8005 (he-reset-string): Declare.
8006
8007 * obsolete/options.el (list-options): Use custom-variable-p,
8008 rather than obsolete alias.
8009
8010 2013-05-23 Sam Steingold <sds@gnu.org>
8011
8012 * simple.el (shell-command-on-region): Pass the `replace' argument
8013 down to `call-process-region' to comply with the doc as reported on
8014 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8015
8016 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8017
8018 * emacs-lisp/smie.el (smie-indent-forward-token)
8019 (smie-indent-backward-token): Handle string tokens (bug#14381).
8020
8021 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8022
8023 * ielm.el (ielm-menu): New menu.
8024 (inferior-emacs-lisp-mode): Set comment-start.
8025
8026 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8027
8028 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8029 Fix deactivate action.
8030
8031 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8032 Add cleveref macros.
8033
8034 * lisp/textmodes/reftex-parse.el
8035 (reftex-locate-bibliography-files): Accept options for
8036 bibliography commands.
8037 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8038 Add addbibresource. Basic Biblatex support.
8039
8040 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8041
8042 * net/tramp-gvfs.el (top):
8043 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8044 when loading package. (Bug#14447)
8045
8046 2013-05-23 Glenn Morris <rgm@gnu.org>
8047
8048 * progmodes/js.el: No need to load comint when compiling.
8049 (ring-insert, comint-send-string, comint-send-input)
8050 (comint-last-input-end, ido-chop): Declare.
8051
8052 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8053 * vc/ediff-mult.el: Adjust requires.
8054 (ediff-directories-internal, ediff-directory-revisions-internal)
8055 (ediff-patch-file-internal): Declare.
8056 * vc/ediff-ptch.el: Adjust requires.
8057 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8058 (ediff-find-file): Autoload.
8059 * vc/ediff-util.el: No need to load ediff when compiling.
8060 (ediff-regions-internal): Declare.
8061 * vc/ediff-wind.el: Adjust requires.
8062 (ediff-compute-toolbar-width): Define when compiling.
8063 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8064 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8065 (dired-get-filename, dired-get-marked-files)
8066 (ediff-last-dir-patch, ediff-patch-default-directory)
8067 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8068 (ediff-patch-buffer-internal): Declare.
8069
8070 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8071 (ispell-process, ispell-buffer-local-words, lm-summary)
8072 (lm-section-start, lm-section-end): Declare.
8073 (checkdoc-ispell-init): Simplify.
8074
8075 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8076 (he-string-member, he-reset-string, he-substitute-string): Declare.
8077
8078 * eshell/em-ls.el: Adjust requires.
8079 (eshell-glob-regexp): Declare.
8080 * eshell/em-tramp.el: Adjust requires.
8081 (eshell-parse-command): Autoload.
8082 * eshell/em-xtra.el: Adjust requires.
8083 (eshell-parse-command): Autoload.
8084 * eshell/esh-ext.el: Adjust requires.
8085 (eshell-parse-command, eshell-close-handles): Autoload.
8086 * eshell/esh-io.el: Adjust requires.
8087 (eshell-output-filter): Autoload.
8088 * eshell/esh-util.el: No need to load tramp when compiling.
8089 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8090 Declare.
8091 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8092 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8093 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8094 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8095 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8096 * eshell/esh-opt.el, eshell/esh-proc.el:
8097 * eshell/esh-var.el: Adjust requires.
8098 * eshell/eshell.el: Do not require esh-util twice.
8099 (eshell-add-input-to-history): Declare.
8100 (eshell-command): Check history module is active before using it.
8101
8102 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8103
8104 2013-05-22 Leo Liu <sdl.web@gmail.com>
8105
8106 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8107
8108 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8109
8110 * autorevert.el (auto-revert-notify-add-watch)
8111 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8112 it indicates changes in file modification time.
8113
8114 2013-05-22 Glenn Morris <rgm@gnu.org>
8115
8116 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8117 Always delete the autoloaded function from the noruntime and
8118 unresolved functions lists.
8119
8120 * allout.el: No need to load epa, epg, overlay when compiling.
8121 (epg-context-set-passphrase-callback, epg-list-keys)
8122 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8123 (epg-key-user-id-list): Declare.
8124
8125 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8126 (viper-set-parsing-style-toggling-macro)
8127 (viper-set-emacs-state-searchstyle-macros):
8128 Use called-interactively-p on Emacs.
8129 (viper-looking-back): Make it an obsolete alias. Update callers.
8130 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8131 Use looking-back rather than viper-looking-back.
8132 (viper-tmp-insert-at-eob, viper-enlarge-region)
8133 (viper-read-string-with-history, viper-register-to-point)
8134 (viper-append-to-register, viper-change-state-to-vi)
8135 (viper-backward-char-carefully, viper-forward-char-carefully)
8136 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8137 (viper-change-state-to-emacs): Declare.
8138 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8139 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8140 * emulation/viper-mous.el: Do not load viper-cmd.
8141 (viper-backward-char-carefully, viper-forward-char-carefully)
8142 (viper-forward-word, viper-adjust-window): Declare.
8143
8144 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8145
8146 * progmodes/idlw-help.el (idlwave-help-fontify):
8147 Use called-interactively-p.
8148
8149 * term/w32console.el (w32-get-console-codepage)
8150 (w32-get-console-output-codepage): Declare.
8151
8152 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8153 Remove unnecessary declarations.
8154 (dframe-message): Doc fix.
8155
8156 * info.el (dframe-select-attached-frame, dframe-current-frame):
8157 Declare.
8158
8159 * speedbar.el (speedbar-message): Make it an obsolete alias.
8160 Update all callers.
8161 (speedbar-with-attached-buffer)
8162 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8163 (speedbar-with-writable): Use backquote.
8164 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8165 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8166 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8167 rather than speedbar- aliases.
8168 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8169 (speedbar-make-specialized-keymap, speedbar-insert-button)
8170 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8171 (speedbar-do-function-pointer): Declare.
8172 (rmail-speedbar-button, rmail-speedbar-find-file)
8173 (rmail-speedbar-move-message):
8174 Use dframe-with-attached-buffer rather than speedbar- alias.
8175 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8176 (dframe-message, speedbar-make-specialized-keymap)
8177 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8178 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8179 (speedbar-insert-button, dframe-select-attached-frame)
8180 (dframe-maybee-jump-to-attached-frame)
8181 (speedbar-change-initial-expansion-list)
8182 (speedbar-previously-used-expansion-list-name): Declare.
8183 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8184 Use dframe-message, dframe-with-attached-buffer rather than
8185 speedbar- aliases.
8186 (gud-sentinel): Silence compiler.
8187 * progmodes/vhdl-mode.el (speedbar-refresh)
8188 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8189 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8190 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8191 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8192 (speedbar-file-lists, speedbar-make-tag-line)
8193 (speedbar-line-directory, speedbar-goto-this-file)
8194 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8195 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8196 (speedbar-make-button, speedbar-reset-scanners)
8197 (speedbar-files-item-info, speedbar-line-text)
8198 (speedbar-find-file-in-frame, speedbar-set-timer)
8199 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8200 (speedbar-with-writable): Do not (re)define it.
8201 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8202 rather than speedbar- alias.
8203
8204 2013-05-21 Leo Liu <sdl.web@gmail.com>
8205
8206 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8207 menu items.
8208 (octave-mode): Tweak fill-nobreak-predicate.
8209 (inferior-octave-startup): Check process to avoid infinite loop.
8210 (inferior-octave): Pop to buffer first to show abornmal process
8211 exit information.
8212
8213 2013-05-21 Glenn Morris <rgm@gnu.org>
8214
8215 * printing.el (pr-menu-bar): Define when compiling.
8216
8217 2013-05-21 Leo Liu <sdl.web@gmail.com>
8218
8219 * progmodes/octave.el (octave-auto-fill): Remove.
8220 (octave-indent-new-comment-line): Improve.
8221 (octave-mode): Use auto fill mode through
8222 comment-line-break-function and fill-nobreak-predicate.
8223 (octave-goto-function-definition): Support DEFUN_DLD.
8224 (octave-beginning-of-defun): Small tweak.
8225 (octave-help): Show parent directory.
8226
8227 2013-05-21 Glenn Morris <rgm@gnu.org>
8228
8229 * files.el (dired-unmark):
8230 * progmodes/gud.el (gdb-input): Update declarations.
8231
8232 * calculator.el (electric, ehelp): No need to load when compiling.
8233 (Electric-command-loop, electric-describe-mode): Declare.
8234
8235 * doc-view.el (doc-view-current-converter-processes): Move before use.
8236
8237 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8238 Move MODE-set-explicitly definition before use.
8239
8240 * international/mule-diag.el (mule-diag):
8241 Don't use obsolete window-system-version.
8242
8243 * mail/feedmail.el (smtpmail): No need to load when compiling.
8244 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8245
8246 * mail/mail-utils.el (rfc822): No need to load when compiling.
8247 (rfc822-addresses): Autoload it.
8248 (mail-strip-quoted-names): Trivial simplification.
8249
8250 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8251 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8252
8253 * net/snmp-mode.el (tempo): Don't duplicate requires.
8254
8255 * progmodes/prolog.el (info): No need to load when compiling.
8256 (comint): Require before shell requires it.
8257 (Info-goto-node): Autoload it.
8258 (Info-follow-nearest-node): Declare.
8259 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8260
8261 * textmodes/artist.el (picture-mode-exit): Declare.
8262
8263 * textmodes/reftex-parse.el (reftex-parse-from-file):
8264 Trivial rewrite so the compiler can parse it better.
8265
8266 2013-05-20 Leo Liu <sdl.web@gmail.com>
8267
8268 * progmodes/octave.el (octave-help-mode-map)
8269 (octave-help-mode-finish-hook): New variables.
8270 (octave-help-mode, octave-help-mode-finish): New functions.
8271 (octave-help): Use octave-help-mode.
8272
8273 2013-05-20 Glenn Morris <rgm@gnu.org>
8274
8275 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8276
8277 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8278
8279 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8280 start at point, so that expansion starting right after opening
8281 slash in a regexp is recognized.
8282 (ruby-syntax-before-regexp-re): New defvar, extracted from
8283 ruby-syntax-propertize-function. Since the value of this regexp
8284 is looked up at runtime now, we should be able to turn
8285 `ruby-syntax-methods-before-regexp' into a defcustom later.
8286 (ruby-syntax-propertize-function): Split regexp matching into two
8287 parts, for opening and closing slashes. That allows us to skip
8288 over string interpolations and support multiline regexps.
8289 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8290 for them, which calls `ruby-syntax-propertize-expansion'.
8291 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8292 call to `ruby-syntax-propertize-function'.
8293 (ruby-syntax-propertize-expansion): Extracted from
8294 `ruby-syntax-propertize-expansions'. Handles one expansion.
8295 (ruby-syntax-propertize-percent-literal): Leave point right after
8296 the percent symbol, so that the expression expansion rule can
8297 propertize the contents.
8298 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8299 heredoc openers.
8300 (ruby-syntax-propertize-expansions): Remove.
8301
8302 2013-05-18 Juri Linkov <juri@jurta.org>
8303
8304 * man.el (Man-default-man-entry): Remove `-' from the end
8305 of the default value. (Bug#14400)
8306
8307 2013-05-18 Glenn Morris <rgm@gnu.org>
8308
8309 * comint.el (comint-password-prompt-regexp):
8310 Allow "password for XXX" where XXX contains colons (eg https://...).
8311
8312 2013-05-18 Leo Liu <sdl.web@gmail.com>
8313
8314 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8315 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8316 (octave-source-directories): Don't check process.
8317 (octave-source-directories, octave-find-definition): Doc fix.
8318
8319 2013-05-18 Glenn Morris <rgm@gnu.org>
8320
8321 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8322 Remove backspace/delete bindings. (Bug#14392)
8323
8324 * cus-dep.el (custom-make-dependencies): Sort the output.
8325 (custom-versions-load-alist): Convert comment to doc.
8326
8327 2013-05-17 Leo Liu <sdl.web@gmail.com>
8328
8329 * newcomment.el (comment-search-backward): Stricter in finding
8330 comment start. (Bug#14303)
8331
8332 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8333 (octave-comment-start-skip): Properly anchored.
8334
8335 2013-05-17 Leo Liu <sdl.web@gmail.com>
8336
8337 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8338 Clean up when turned off. (Bug#14395)
8339 (smie--highlight-matching-block-overlay): No longer buffer-local.
8340 (smie-highlight-matching-block): Adjust.
8341
8342 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8343
8344 Doc string fix for "nanoseconds" (Bug#14406).
8345 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8346 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8347
8348 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8349
8350 * calc/calc-units.el (math-extract-units): Preserve powers
8351 of units.
8352
8353 2013-05-17 Leo Liu <sdl.web@gmail.com>
8354
8355 * subr.el (delete-consecutive-dups): New function.
8356 * ido.el (ido-set-matches-1): Use it.
8357 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8358 * ido.el (ido-remove-consecutive-dups): Remove.
8359
8360 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8361
8362 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8363 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8364 regexp-opt's `words'.
8365
8366 2013-05-16 Leo Liu <sdl.web@gmail.com>
8367
8368 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8369 (smie--highlight-matching-block-overlay)
8370 (smie--highlight-matching-block-lastpos)
8371 (smie--highlight-matching-block-timer): New variables.
8372 (smie-highlight-matching-block): New function.
8373 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8374 (smie-setup): Conditionally enable smie-blink-matching-open.
8375
8376 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8377
8378 Sync with upstream verilog-mode r840.
8379 * progmodes/verilog-mode.el (verilog-mode-version)
8380 (verilog-mode-release-date): Update.
8381 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8382 (verilog-sig-tieoff): Fix string error on
8383 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8384 (verilog-read-decls): Fix parameters confusing
8385 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8386
8387 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8388
8389 * subr.el (reveal-filename): New function.
8390
8391 * loadup.el: Compute Emacs executable versions on MS-Windows,
8392 where executables have the .exe extension. Add a hard link
8393 emacs-XX.YY.ZZ.exe on MS-Windows.
8394
8395 * Makefile.in (XARGS_LIMIT): New variable.
8396 (custom-deps, finder-data, autoloads)
8397 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8398 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8399 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8400 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8401
8402 2013-05-16 Leo Liu <sdl.web@gmail.com>
8403
8404 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8405 (octave-mode-menu, octave-mode-map): Remove its uses.
8406
8407 2013-05-16 Reto Zimmermann <reto@gnu.org>
8408
8409 Sync with upstream vhdl mode v3.34.2.
8410 * progmodes/vhdl-mode.el: Use `push' throughout.
8411 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8412 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8413 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8414 (vhdl-actual-generic-name): New option to derive actual generic name.
8415 (vhdl-port-paste-signals): Replace formal by actual generics.
8416 (vhdl-beautify): New name for old group vhdl-align. Update users.
8417 (vhdl-beautify-options): New option.
8418 (vhdl-last-input-event): New compat alias. Use throughout.
8419 (vhdl-goto-line): Replace user level function `goto-line'.
8420 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8421 vhdl-fix-statement-buffer.
8422 (vhdl-create-mode-menu): Add some entries.
8423 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8424 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8425 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8426 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8427 to force statements on one line.
8428 (vhdl-remove-trailing-spaces-region):
8429 New, split from vhdl-remove-trailing-spaces.
8430 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8431 Respect vhdl-beautify-options.
8432 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8433 (vhdl-update-sensitivity-list): Not add with index if exists without.
8434 Not include array index with signal. Ignore keywords in comments.
8435 (vhdl-get-visible-signals): Regexp tweaks.
8436 (vhdl-template-component-inst): Handle empty library.
8437 (vhdl-template-type): Add template for 'enum' type.
8438 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8439 Use vhdl-replace-string.
8440 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8441 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8442 (vhdl-speedbar-initialize): Update for above name change.
8443 (vhdl-compose-wire-components): Fix in handling of constants.
8444 (vhdl-error-regexp-emacs-alist): New variable.
8445 (vhdl-error-regexp-add-emacs): New function;
8446 adds support for new compile.el (Emacs 22+)
8447 (vhdl-generate-makefile-1): Change target order for single lib. units.
8448 Allow use of absolute file names.
8449
8450 2013-05-16 Leo Liu <sdl.web@gmail.com>
8451
8452 * simple.el (prog-indent-sexp): Indent enclosing defun.
8453
8454 2013-05-15 Glenn Morris <rgm@gnu.org>
8455
8456 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8457 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8458 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8459 (whitespace-highlight): Move to whitespace group.
8460
8461 * comint.el (comint-source):
8462 * pcmpl-linux.el (pcmpl-linux):
8463 * shell.el (shell-faces):
8464 * eshell/esh-opt.el (eshell-opt):
8465 * international/ccl.el (ccl): Remove empty custom groups.
8466
8467 * completion.el (dynamic-completion-mode):
8468 * jit-lock.el (jit-lock-debug-mode):
8469 * minibuffer.el (completion-in-region-mode):
8470 * type-break.el (type-break-mode-line-message-mode)
8471 (type-break-query-mode):
8472 * emulation/tpu-edt.el (tpu-edt-mode):
8473 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8474 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8475 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8476
8477 * term/xterm.el (xterm): Change parent group to terminals.
8478
8479 * master.el (master): Remove empty custom group.
8480 (master-mode): Remove unused :group argument.
8481 * textmodes/refill.el (refill): Remove empty custom group.
8482 (refill-mode): Remove unused :group argument.
8483
8484 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8485
8486 * cus-dep.el: Provide a feature.
8487 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8488 Don't mistakenly ignore files whose basenames match a basename
8489 from preloaded-file-list (eg cedet/ede/simple.el).
8490 Add a fallback method for getting :group.
8491
8492 2013-05-15 Juri Linkov <juri@jurta.org>
8493
8494 * isearch.el (isearch-char-by-name): Rename from
8495 `isearch-insert-char-by-name'. Doc fix.
8496 (isearch-forward): Mention `isearch-char-by-name' in
8497 the docstring. (Bug#13348)
8498
8499 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8500 `exit-minibuffer' instead of
8501 `isearch-nonincremental-exit-minibuffer'.
8502 (isearch-edit-string): Remove mention of
8503 `isearch-nonincremental-exit-minibuffer' from docstring.
8504 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8505 (isearch-forward-exit-minibuffer)
8506 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8507
8508 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8509
8510 * loadup.el: Just use unversioned DOC.
8511
8512 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8513 literals as extending to EOB.
8514 (nxml-last-fontify-end): Remove unused variable.
8515 (nxml-after-change1): Use with-silent-modifications.
8516 (nxml-extend-after-change-region): Simplify.
8517 (nxml-extend-after-change-region1): Remove function.
8518 (nxml-after-change1): Don't adjust for dependent regions.
8519 (nxml-fontify-matcher): Simplify.
8520 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8521 (xmltok-add-dependent): Remove function.
8522 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8523 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8524 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8525 unclosed <[[, <?, comment, and other literals as extending to EOB.
8526 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8527 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8528 Remove functions.
8529 (rng-do-some-validation-1): Don't mark dependent regions.
8530 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8531 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8532 (nxml-clear-dependent-regions): Remove functions.
8533 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8534 (nxml-ensure-scan-up-to-date):
8535 Don't clear&mark dependent regions.
8536
8537 2013-05-15 Leo Liu <sdl.web@gmail.com>
8538
8539 * progmodes/octave.el (octave-goto-function-definition):
8540 Improve and fix callers.
8541
8542 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8543
8544 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8545 the setter (bug#14387).
8546
8547 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8548 surrounding group (bug#14402).
8549
8550 2013-05-14 Juri Linkov <juri@jurta.org>
8551
8552 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8553 (Bug#14390)
8554
8555 2013-05-14 Glenn Morris <rgm@gnu.org>
8556
8557 * progmodes/f90.el (f90-imenu-generic-expression):
8558 Fix typo in 2013-05-08 change. (Bug#14402)
8559
8560 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8561
8562 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8563 Remove signals for which replies are never received.
8564
8565 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8566
8567 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8568 (gdb-handler-alist, gdb-handler-number): Remove variables.
8569 (gdb-handler-list): New variable.
8570 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8571 (gdb-pending-handler-p, gdb-handle-reply)
8572 (gdb-remove-all-pending-triggers): New functions.
8573 (gdb-discard-unordered-replies): New defcustom.
8574 (gdb-handler): New defstruct.
8575 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8576 instead of gdb-pending-triggers. Update docstring.
8577 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8578 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8579 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8580 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8581 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8582 (gdb-frame-handler): Pending triggers are now automatically managed.
8583 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8584 Remove argument.
8585 (gdb-input): Automatically handles pending triggers. Update docstring.
8586 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8587 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8588 Update comments.
8589 (gdb-done-or-error): Now use gdb-handle-reply.
8590
8591 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8592
8593 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8594 gdb-debug-log.
8595
8596 2013-05-14 Glenn Morris <rgm@gnu.org>
8597
8598 * subr.el (user-emacs-directory-warning): New option.
8599 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8600
8601 2013-05-14 Leo Liu <sdl.web@gmail.com>
8602
8603 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8604 during redisplay.
8605 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8606 (octave-font-lock-texinfo-comment): Fix invalid search bound
8607 error: wrong side of point.
8608
8609 2013-05-14 Glenn Morris <rgm@gnu.org>
8610
8611 * progmodes/flymake.el (flymake-xml-program): New option.
8612 (flymake-xml-init): Use it.
8613
8614 * term/xterm.el: Provide a feature.
8615
8616 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8617
8618 2013-05-13 Glenn Morris <rgm@gnu.org>
8619
8620 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8621 Add compat aliases as a hack workaround. (Bug#14384)
8622
8623 2013-05-13 Leo Liu <sdl.web@gmail.com>
8624
8625 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8626 ###, and %!.
8627 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8628 C-M-q.
8629 (octave-comment-start-skip): Include %!.
8630 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8631
8632 2013-05-12 Leo Liu <sdl.web@gmail.com>
8633
8634 * progmodes/octave.el (inferior-octave-startup): Store the value
8635 of __octave_srcdir__ for octave-source-directories.
8636 (inferior-octave-check-process): New function refactored out of
8637 inferior-octave-send-list-and-digest.
8638 (octave-source-directories)
8639 (octave-find-definition-filename-function): New variables.
8640 (octave-source-directories)
8641 (octave-find-definition-default-filename): New functions.
8642 (octave-find-definition): Improve to find functions implemented in C++.
8643
8644 2013-05-12 Glenn Morris <rgm@gnu.org>
8645
8646 * calendar/diary-lib.el (diary-outlook-format-1):
8647 Don't include dayname in the output. (Bug#14349)
8648
8649 2013-05-11 Glenn Morris <rgm@gnu.org>
8650
8651 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8652
8653 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8654 Treat cc-provide like provide.
8655
8656 2013-05-11 Kevin Ryde <user42@zip.com.au>
8657
8658 * cus-dep.el (custom-make-dependencies):
8659 Use generated-autoload-load-name for the sake of files such
8660 such cedet/semantic/bovine/c.el, where the base file name
8661 is not in load-path. (Bug#5277)
8662
8663 2013-05-11 Glenn Morris <rgm@gnu.org>
8664
8665 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8666 Provide features.
8667
8668 2013-05-11 Leo Liu <sdl.web@gmail.com>
8669
8670 * progmodes/octave.el (octave-indent-comment): Improve.
8671 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8672 (octave-eldoc-function-signatures, octave-eldoc-function):
8673 New functions.
8674 (octave-mode, inferior-octave-mode): Add eldoc support.
8675
8676 2013-05-11 Richard Stallman <rms@gnu.org>
8677
8678 * epa.el (epa-decrypt-file): Take output file name as argument
8679 and read it using `interactive'.
8680
8681 2013-05-11 Leo Liu <sdl.web@gmail.com>
8682
8683 * progmodes/octave.el (octave-beginning-of-line)
8684 (octave-end-of-line): Check before using up-list because it jumps
8685 out of more syntactic contructs since moving to smie.
8686 (octave-indent-comment): New function.
8687 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8688 (octave-begin-keywords, octave-end-keywords)
8689 (octave-reserved-words, octave-smie-bnf-table)
8690 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8691
8692 2013-05-11 Glenn Morris <rgm@gnu.org>
8693
8694 * faces.el (internal-face-x-get-resource):
8695 * frame.el (ns-display-monitor-attributes-list):
8696 * calc/calc-aent.el (math-to-radians-2):
8697 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8698 Fix declarations.
8699
8700 * calc/calc-menu.el: Make it loadable in isolation.
8701
8702 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8703 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8704 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8705 (eudc-bbdb-query-internal): Require 'bbdb.
8706
8707 * lpr.el (lpr-headers-switches):
8708 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8709
8710 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8711
8712 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8713
8714 * term.el (term-set-escape-char): Make it idempotent.
8715
8716 2013-05-10 Leo Liu <sdl.web@gmail.com>
8717
8718 * progmodes/octave.el (inferior-octave-completion-table):
8719 No longer a function and all uses changed. Use cache to speed up
8720 completion due to bug#11906.
8721 (octave-beginning-of-defun): Re-write to be more general.
8722
8723 2013-05-10 Glenn Morris <rgm@gnu.org>
8724
8725 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8726
8727 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8728
8729 * comint.el (comint-redirect-send-command-to-process): Use :around
8730 rather than :override for comint-redirect-filter.
8731 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8732 Call it instead of comint-redirect-original-filter-function (which
8733 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8734
8735 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8736
8737 * frame.el (display-monitor-attributes-list): Add NS case.
8738 (ns-display-monitor-attributes-list): Declare.
8739
8740 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8741
8742 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8743
8744 2013-05-09 Glenn Morris <rgm@gnu.org>
8745
8746 * international/fontset.el (vertical-centering-font-regexp):
8747 Set standard-value.
8748
8749 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8750
8751 * bookmark.el (bookmark-search-delay):
8752 * cus-start.el (vertical-centering-font-regexp):
8753 * ps-mule.el (ps-mule-font-info-database-default):
8754 * ps-print.el (ps-default-fg, ps-default-bg):
8755 * type-break.el (type-break-good-break-interval):
8756 * whitespace.el (whitespace-indentation-regexp)
8757 (whitespace-space-after-tab-regexp):
8758 * emacs-lisp/testcover.el (testcover-1value-functions)
8759 (testcover-noreturn-functions, testcover-progn-functions)
8760 (testcover-prog1-functions):
8761 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8762 * eshell/em-glob.el (eshell-glob-translate-alist):
8763 * play/tetris.el (tetris-tty-colors):
8764 * progmodes/cpp.el (cpp-face-default-list):
8765 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8766 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8767 (idlwave-help-browser-generic-args):
8768 * progmodes/make-mode.el (makefile-special-targets-list):
8769 * progmodes/python.el (python-shell-virtualenv-path):
8770 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8771 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8772 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8773 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8774 * textmodes/reftex-vars.el (reftex-format-label-function):
8775 * textmodes/remember.el (remember-diary-file): Fix custom types.
8776
8777 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8778 Add :version.
8779
8780 2013-05-09 Leo Liu <sdl.web@gmail.com>
8781
8782 * progmodes/octave.el (inferior-octave-completion-at-point):
8783 Restore file completion. (Bug#14300)
8784 (inferior-octave-startup): Fix incorrect highlighting for the
8785 first prompt.
8786
8787 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8788
8789 * progmodes/ruby-mode.el: First cut at SMIE support.
8790 (ruby-use-smie): New var.
8791 (ruby-smie-grammar): New constant.
8792 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8793 (ruby-smie--forward-token, ruby-smie--backward-token)
8794 (ruby-smie-rules): New functions.
8795 (ruby-mode-variables): Setup SMIE if applicable.
8796
8797 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8798
8799 * simple.el (line-move-visual): Signal beginning/end of buffer
8800 only if vertical-motion moved less than it was requested. Avoids
8801 silly incorrect error messages when there are display strings with
8802 multiple newlines at EOL.
8803
8804 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8805
8806 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8807 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8808 (prolog-char-quote-workaround):
8809 * progmodes/cperl-mode.el (cperl-under-as-char):
8810 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8811 Mark as obsolete.
8812 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8813 their declaration.
8814 (vhdl-mode-syntax-table-init): Remove.
8815
8816 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8817 last change.
8818
8819 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8820 syntax for "_".
8821 (ld-script-font-lock-keywords):
8822 Change regexps to use things like \_< and \_>.
8823
8824 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8825 Change all regexps to use things like \_< and \_>.
8826
8827 * progmodes/autoconf.el (autoconf-definition-regexp)
8828 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8829 Handle a _ with symbol syntax.
8830 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8831
8832 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8833 Consolidate declaration.
8834 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8835 the declaration.
8836 (ada-create-syntax-table): Remove.
8837 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8838 already has the right syntax nowadays.
8839 (ada-goto-next-word): Don't change the syntax of "_".
8840
8841 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8842 with-wrapper-hook.
8843
8844 2013-05-08 Sam Steingold <sds@gnu.org>
8845
8846 * thingatpt.el (thing-at-point): Accept optional second argument
8847 NO-PROPERTIES to strip the text properties from the return value.
8848 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8849 to `thing-at-point' instead of stripping the properties ourselves.
8850 Also, when `thing-at-point' fails to find a url, prepend "http://"
8851 to the filename at point on the assumption that the user is
8852 pointing at something like gnu.org/gnu.
8853
8854 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8855
8856 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8857 * faces.el (crm-separator):
8858 Silence byte-compiler.
8859
8860 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8861 (tool-bar-map): Remove unneeded defvars.
8862
8863 2013-05-08 Leo Liu <sdl.web@gmail.com>
8864
8865 Re-work a fix for bug#10994 based on Le Wang's patch.
8866 * ido.el (ido-remove-consecutive-dups): New helper.
8867 (ido-completing-read): Use it.
8868 (ido-chop): Revert fix for bug#10994.
8869
8870 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8871
8872 * cus-edit.el (custom-save-variables):
8873 Pretty-print long values. (Bug#14187)
8874
8875 2013-05-08 Glenn Morris <rgm@gnu.org>
8876
8877 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8878 (m4-mode-syntax-table): Init in the defvar.
8879 (m4-mode-abbrev-table): Let define-derived-mode define it.
8880
8881 2013-05-08 Tom Tromey <tromey@redhat.com>
8882
8883 * progmodes/m4-mode.el (m4-mode-syntax-table):
8884 Do not treat "_" as word constituent. (Bug#14167)
8885
8886 2013-05-07 Glenn Morris <rgm@gnu.org>
8887
8888 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8889 Remove explicit eshell-isearch-cancel-map.
8890
8891 * progmodes/f90.el (f90-smart-end-names): New option.
8892 (f90-smart-end): Doc fix.
8893 (f90-end-block-optional-name): New constant.
8894 (f90-block-match): Respect f90-smart-end-names.
8895
8896 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8897
8898 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8899 about implicit semi-colons (bug#14218).
8900
8901 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8902
8903 * frame.el (display-monitor-attributes-list)
8904 (frame-monitor-attributes): New functions.
8905
8906 2013-05-06 Leo Liu <sdl.web@gmail.com>
8907
8908 * progmodes/octave.el (octave-syntax-propertize-function): Change
8909 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8910 (octave-font-lock-keywords): Use octave-operator-regexp.
8911 (octave-completion-at-point): Rename from
8912 octave-completion-at-point-function.
8913 (inferior-octave-directory-tracker): Robustify.
8914 (octave-text-functions): Remove and fix its uses. No such things
8915 any more.
8916
8917 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8918
8919 * emacs-lisp/trace.el (trace--display-buffer): New function.
8920 (trace-make-advice): Use it.
8921
8922 2013-05-06 Juri Linkov <juri@jurta.org>
8923
8924 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8925 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8926 Doc fix.
8927 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8928 in the help string. (Bug#12985)
8929
8930 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8931
8932 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8933
8934 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8935
8936 * progmodes/perl-mode.el: Add support for here documents.
8937 (perl-syntax-propertize-function): Match here-doc markers.
8938 (perl-syntax-propertize-special-constructs): Find their end.
8939 (perl-imenu-generic-expression): Use [:alnum:].
8940
8941 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8942 (advice--add-function): Refresh the advice if already present
8943 (bug#14317).
8944
8945 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8946
8947 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8948
8949 2013-05-06 Glenn Morris <rgm@gnu.org>
8950
8951 * w32-fns.el (w32-charset-info-alist): Declare.
8952
8953 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8954 of its defcustom properties.
8955 (eshell-cmpl-initialize): No need to load pcomplete.
8956
8957 * generic-x.el: No need to require comint when compiling.
8958
8959 * net/eudc-export.el: Make it loadable without bbdb.
8960 (top-level): Use require rather than load-library.
8961 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8962 (eudc-batch-export-records-to-bbdb)
8963 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8964 Require bbdb.
8965
8966 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8969 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8970 some tweaks, instead.
8971
8972 2013-05-05 Leo Liu <sdl.web@gmail.com>
8973
8974 * progmodes/octave.el (octave-font-lock-keywords)
8975 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8976 (inferior-octave-send-list-and-digest): Improve error message.
8977 (octave-mode, inferior-octave-mode): Use setq-local.
8978 (octave-help): Set info-lookup-mode.
8979
8980 2013-05-05 Richard Stallman <rms@gnu.org>
8981
8982 * vc/compare-w.el (compare-windows-whitespace):
8983 Treat no-break space as whitespace.
8984
8985 * mail/rmailsum.el (rmail-summary-rmail-update):
8986 Detect empty summary and don't change selected message.
8987 (rmail-summary-goto-msg): Likewise.
8988
8989 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8990 Doc fixes, rename args.
8991
8992 2013-05-05 Alan Mackenzie <acm@muc.de>
8993
8994 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8995
8996 2013-05-05 Juri Linkov <juri@jurta.org>
8997
8998 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8999 to not add the length of the summary segment to the return value.
9000 (Bug#14125)
9001
9002 2013-05-05 Leo Liu <sdl.web@gmail.com>
9003
9004 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9005 (inferior-octave-output-filter): Remove.
9006 (octave-send-region, inferior-octave-startup): Fix callers.
9007 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9008 (octave-binary-file-extensions): New user variable.
9009 (octave-find-definition): Confirm if opening binary files.
9010 (octave-help-file): Use octave-find-definition to get the binary
9011 confirmation.
9012 (octave-help): Adjust for octave-help-file change.
9013
9014 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9015
9016 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9017 Merge the two entries that handle function definitions.
9018 (pascal--syntax-propertize): New const.
9019 (pascal-mode): Use it. Use setq-local.
9020
9021 2013-05-04 Glenn Morris <rgm@gnu.org>
9022
9023 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9024 (diary-from-outlook): Respect diary-from-outlook-function.
9025
9026 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9027
9028 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9029 Move the declaration from C.
9030 (read-minibuffer, eval-minibuffer): Move from C.
9031 (completion-setup-function): Avoid minibuffer-completion-contents.
9032
9033 2013-05-03 Leo Liu <sdl.web@gmail.com>
9034
9035 * progmodes/octave.el (octave-font-lock-keywords): Do not
9036 dehighlight 'end' in comments or strings.
9037 (octave-completing-read, octave-goto-function-definition):
9038 New helpers.
9039 (octave-help-buffer): New user variable.
9040 (octave-help-file, octave-help-function): New button types.
9041 (octave-help): New command and bind it to C-h ;.
9042 (octave-find-definition): New command and bind it to M-.
9043 (user-error): Alias to error if not defined.
9044
9045 2013-05-02 Leo Liu <sdl.web@gmail.com>
9046
9047 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9048 for \. (bug#14332)
9049 (octave-font-lock-keywords): Include [ and {.
9050
9051 2013-05-02 Leo Liu <sdl.web@gmail.com>
9052
9053 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9054 (inferior-octave): Remove calling comint-mode and return the buffer.
9055 (inferior-octave-startup): Cosmetic changes.
9056
9057 2013-05-02 Leo Liu <sdl.web@gmail.com>
9058
9059 * progmodes/octave.el (octave-syntax-propertize-function):
9060 Include the case when ' is at line beginning. (Bug#14336)
9061
9062 2013-05-02 Glenn Morris <rgm@gnu.org>
9063
9064 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9065 * desktop.el (vc-dir-mode): Just autoload it here.
9066
9067 2013-05-02 Alan Mackenzie <acm@muc.de>
9068
9069 Eliminate variable c-standard-font-lock-fontify-region-function.
9070 * progmodes/cc-mode.el
9071 (c-standard-font-lock-fontify-region-function): Remove.
9072 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9073
9074 2013-05-01 Leo Liu <sdl.web@gmail.com>
9075
9076 * progmodes/octave.el: Compatible with older emacs-24 releases.
9077 (inferior-octave-has-built-in-variables): Remove. Built-in
9078 variables were removed from Octave in 2007.
9079 (inferior-octave-startup): Fix uses.
9080 (comint-line-beginning-position): Remove compatibility code for
9081 emacs 21.
9082
9083 2013-05-01 Juri Linkov <juri@jurta.org>
9084
9085 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9086
9087 2013-05-01 Juri Linkov <juri@jurta.org>
9088
9089 * comint.el (comint-previous-matching-input): Don't print message
9090 "History item: %d" when `isearch-mode' is active.
9091 (comint-history-isearch-message): Print message "History item: %d"
9092 when `comint-input-ring-index' is not empty and this function is
9093 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9094
9095 2013-05-01 Leo Liu <sdl.web@gmail.com>
9096
9097 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9098 definitions. Use completion-at-point to insert keywords.
9099 (octave-abbrev-start): Remove.
9100 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9101
9102 2013-04-30 Leo Liu <sdl.web@gmail.com>
9103
9104 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9105 change.
9106
9107 2013-04-30 Alan Mackenzie <acm@muc.de>
9108
9109 Handle arbitrarily long C++ member initialisation lists.
9110 * progmodes/cc-engine.el (c-back-over-member-initializers):
9111 new function.
9112 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9113 (most) member init lists.
9114
9115 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9116
9117 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9118 variable.
9119
9120 2013-04-30 Leo Liu <sdl.web@gmail.com>
9121
9122 * progmodes/octave.el (octave-variables): Remove. No builtin
9123 variables any more. All converted to functions.
9124 (octave-font-lock-keywords, octave-completion-at-point-function):
9125 Fix uses.
9126 (octave-font-lock-texinfo-comment): New user variable.
9127 (octave-texinfo-font-lock-keywords): New variable for texinfo
9128 comment block.
9129 (octave-function-comment-block): New face.
9130 (octave-font-lock-texinfo-comment): New function.
9131 (octave-mode): Font lock texinfo comment block.
9132
9133 2013-04-29 Leo Liu <sdl.web@gmail.com>
9134
9135 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9136 indexing expression.
9137 (octave-continuation-string): Do not use \.
9138 (inferior-octave-complete-impossible): Remove.
9139 (inferior-octave-completion-table)
9140 (inferior-octave-completion-at-point): Remove its uses.
9141 (inferior-octave-startup): completion_matches was introduced to
9142 Octave in 1996 so safe to assume it.
9143 (octave-function-file-comment): Improve to follow how Octave does it.
9144 (octave-update-function-file-comment): Tweak.
9145
9146 2013-04-29 Leo Liu <sdl.web@gmail.com>
9147
9148 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9149 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9150 (octave-function-file-comment): Fix typo.
9151 (octave-sync-function-file-names): Use read-char-choice.
9152
9153 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9154
9155 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9156 to t for the less important warnings.
9157
9158 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9159
9160 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9161
9162 2013-04-27 Glenn Morris <rgm@gnu.org>
9163
9164 * vc/log-view.el (log-view-current-entry):
9165 Treat "---" separator lines as part of the following rev. (Bug#14169)
9166
9167 2013-04-27 Juri Linkov <juri@jurta.org>
9168
9169 * subr.el (read-number): Doc fix about using it by interactive
9170 code letter `n'. (Bug#14254)
9171
9172 2013-04-27 Juri Linkov <juri@jurta.org>
9173
9174 * desktop.el (desktop-auto-save-timeout): New option.
9175 (desktop-file-checksum): New variable.
9176 (desktop-save): Add optional arg `auto-save' and don't auto-save
9177 if nothing changed.
9178 (desktop-auto-save-timer): New variable.
9179 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9180 (after-init-hook): Call `desktop-auto-save-set-timer'.
9181 Suggested by Reuben Thomas <rrt@sc3d.org> in
9182 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9183
9184 2013-04-27 Leo Liu <sdl.web@gmail.com>
9185
9186 * progmodes/octave.el (octave-function-file-p)
9187 (octave-skip-comment-forward, octave-function-file-comment)
9188 (octave-update-function-file-comment): New functions.
9189 (octave-mode-map): Bind C-c ; to
9190 octave-update-function-file-comment.
9191 (octave-mode-menu): Add octave-update-function-file-comment.
9192 (octave-mode, inferior-octave-mode): Fix doc-string.
9193 (octave-insert-defun): Conform to Octave's coding convention.
9194 (Bug#14285)
9195
9196 * files.el (basic-save-buffer): Don't let errors in
9197 before-save-hook prevent saving buffer.
9198
9199 2013-04-20 Roland Winkler <winkler@gnu.org>
9200
9201 * faces.el (read-face-name): Use completing-read if arg multiple
9202 is nil.
9203
9204 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9205
9206 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9207 displayed, move point to after the totals line.
9208 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9209 for the details.
9210
9211 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9212
9213 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9214 Add current dir to the load-path.
9215 (package-generate-autoloads): Don't rely on
9216 autoload-ensure-default-file.
9217
9218 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9219
9220 * textmodes/remember.el (remember-store-in-files): Document that
9221 the file name format is passed to `format-time-string'.
9222
9223 2013-04-26 Leo Liu <sdl.web@gmail.com>
9224
9225 * progmodes/octave.el (octave-sync-function-file-names): New function.
9226 (octave-mode): Use it in before-save-hook.
9227
9228 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9229
9230 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9231 (bug#14274).
9232
9233 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9234 \n and comment, even if it's not an implicit ; (bug#14218).
9235
9236 2013-04-26 Glenn Morris <rgm@gnu.org>
9237
9238 * subr.el (read-number): Once more use `read' rather than
9239 `string-to-number', to trap non-numeric input. (Bug#14254)
9240
9241 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9242
9243 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9244 Use `syntax-multiline' text property consistently instead of
9245 `font-lock-multiline'. (Bug#14237)
9246
9247 2013-04-26 Glenn Morris <rgm@gnu.org>
9248
9249 * emacs-lisp/shadow.el (list-load-path-shadows):
9250 No longer necessary to check for duplicate simple.el, since
9251 2012-07-07 change to init_lread to not include installation lisp
9252 directories in load-path when running uninstalled. (Bug#14270)
9253
9254 2013-04-26 Leo Liu <sdl.web@gmail.com>
9255
9256 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9257 (octave-mode, inferior-octave-mode): Use setq-local.
9258 (octave-not-in-string-or-comment-p): Rename to
9259 octave-in-string-or-comment-p.
9260 (octave-in-comment-p, octave-in-string-p)
9261 (octave-in-string-or-comment-p): Replace defsubst with defun.
9262
9263 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9264
9265 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9266
9267 2013-04-25 Bastien Guerry <bzg@gnu.org>
9268
9269 * textmodes/remember.el (remember-data-directory)
9270 (remember-directory-file-name-format): Fix custom types.
9271
9272 2013-04-25 Leo Liu <sdl.web@gmail.com>
9273
9274 * progmodes/octave.el (octave-completion-at-point-function):
9275 Make use of inferior octave process.
9276 (octave-initialize-completions): Remove.
9277 (inferior-octave-completion-table): New function.
9278 (inferior-octave-completion-at-point): Use it.
9279 (octave-completion-alist): Remove.
9280
9281 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9282
9283 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9284 (opascal-mode-syntax-table): New var.
9285 (opascal-literal-kind, opascal-is-literal-end)
9286 (opascal-literal-token-at): Rewrite.
9287 (opascal--literal-start-re, opascal-font-lock-keywords)
9288 (opascal--syntax-propertize): New constants.
9289 (opascal-font-lock-defaults): Adjust.
9290 (opascal-mode): Use them. Set comment-<foo> variables as well.
9291 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9292 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9293 (delphi-other-face, opascal-other-face): Remove face variables.
9294 (opascal-save-state): Remove macro.
9295 (opascal-fontifying-progress-step): Remove constant.
9296 (opascal--ignore-changes): Remove var.
9297 (opascal-set-token-property, opascal-parse-next-literal)
9298 (opascal-is-stable-literal, opascal-complete-literal)
9299 (opascal-is-literal-start, opascal-face-of)
9300 (opascal-parse-region, opascal-parse-region-until-stable)
9301 (opascal-fontify-region, opascal-after-change)
9302 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9303 (opascal-debug-parse-region, opascal-debug-parse-window)
9304 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9305 (opascal-debug-fontify-buffer): Remove.
9306 (opascal-debug-mode-map): Adjust accordingly.
9307
9308 2013-04-25 Leo Liu <sdl.web@gmail.com>
9309
9310 Merge octave-mod.el and octave-inf.el into octave.el with some
9311 cleanups.
9312 * progmodes/octave.el: New file renamed from octave-mod.el.
9313 * progmodes/octave-inf.el: Merged into octave.el.
9314 * progmodes/octave-mod.el: Renamed to octave.el.
9315
9316 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9317
9318 * textmodes/reftex-vars.el
9319 (reftex-label-ignored-macros-and-environments): New defcustom.
9320
9321 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9322
9323 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9324
9325 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9326 (smie-indent-keyword): Improve the check to ensure that the next
9327 comment is really on the same line.
9328 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9329
9330 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9331 semi-colons if the line is not otherwise empty (bug#14218).
9332
9333 2013-04-25 Glenn Morris <rgm@gnu.org>
9334
9335 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9336
9337 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9338
9339 * progmodes/opascal.el (opascal-set-token-property): Rename from
9340 opascal-set-text-properties and only set `token' (bug#14134).
9341 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9342 (opascal-literal-text-properties): Remove.
9343 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9344 Adjust callers.
9345
9346 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9347
9348 * textmodes/remember.el (remember-handler-functions): Add an
9349 option for a new handler `remember-store-in-files'.
9350 (remember-data-directory, remember-directory-file-name-format):
9351 New options.
9352 (remember-store-in-files): New function to store remember notes
9353 as separate files within a directory.
9354
9355 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9356
9357 * progmodes/compile.el (compilation-next-error-function):
9358 Pass "formats" to compilation-find-file (bug#11777).
9359
9360 2013-04-24 Glenn Morris <rgm@gnu.org>
9361
9362 * vc/vc-bzr.el (vc-bzr-print-log):
9363 * vc/vc-hg.el (vc-hg-print-log):
9364 * vc/vc-svn.el (vc-svn-print-log):
9365 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9366
9367 * vc/vc-bzr.el (vc-bzr-print-log):
9368 * vc/vc-cvs.el (vc-cvs-print-log):
9369 * vc/vc-git.el (vc-git-print-log):
9370 * vc/vc-hg.el (vc-hg-print-log):
9371 * vc/vc-mtn.el (vc-mtn-print-log):
9372 * vc/vc-rcs.el (vc-rcs-print-log):
9373 * vc/vc-sccs.el (vc-sccs-print-log):
9374 * vc/vc-svn.el (vc-svn-print-log):
9375 * vc/vc.el (vc-print-log-internal): Doc fixes.
9376
9377 2013-04-23 Glenn Morris <rgm@gnu.org>
9378
9379 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9380 Remove venerable code attempting to avoid substitute-command-keys.
9381
9382 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9383
9384 * textmodes/reftex-vars.el (reftex-label-regexps):
9385 Call `reftex-compile-variables' after changes to this variable.
9386
9387 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9388
9389 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9390 Use lexical-binding.
9391 (jit-lock-force-redisplay): Use markers, check buffer's continued
9392 existence and beware narrowed buffers.
9393 (jit-lock-fontify-now): Adjust call accordingly.
9394
9395 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9396
9397 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9398 to avoid misleading the user.
9399
9400 2013-04-22 Leo Liu <sdl.web@gmail.com>
9401
9402 * info-look.el: Prefer latex2e.info. (Bug#14240)
9403
9404 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9405
9406 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9407
9408 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9409 * net/tramp.el (tramp-call-process): ... here.
9410 (tramp-set-completion-function, tramp-parse-putty):
9411 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9412 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9413 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9414 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9415 (tramp-call-local-coding-command): Use `tramp-call-process'
9416 instead of `tramp-compat-call-process'.
9417
9418 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9419 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9420 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9421 (tramp-find-inline-compress): Improve traces.
9422 (tramp-maybe-send-script): Check for Perl binary.
9423 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9424
9425 2013-04-22 Daiki Ueno <ueno@gnu.org>
9426
9427 * epg.el (epg-context-pinentry-mode): New function.
9428 (epg-context-set-pinentry-mode): New function.
9429 (epg--start): Pass --pinentry-mode option to gpg command.
9430
9431 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9432
9433 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9434 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9435 `completion-at-point'. (Bug#13774)
9436
9437 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9438 default key binding for `describe-distribution' has been moved to
9439 `C-h C-o'. (Bug#13970)
9440
9441 2013-04-21 Glenn Morris <rgm@gnu.org>
9442
9443 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9444 Add doc strings.
9445 (vc-print-log): Clarify interactive prompt.
9446
9447 2013-04-20 Glenn Morris <rgm@gnu.org>
9448
9449 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9450 No longer include timestamp etc information.
9451
9452 2013-04-20 Roland Winkler <winkler@gnu.org>
9453
9454 * faces.el (read-face-name): Bug fix, return just one face if arg
9455 multiple is nil. (Bug#14209)
9456
9457 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9460 (remove-function): Autoload.
9461
9462 * comint.el (comint-redirect-original-filter-function): Remove.
9463 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9464 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9465 (vc-cvs-annotate-command):
9466 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9467 * progmodes/prolog.el (prolog-consult-compile):
9468 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9469 Use add/remove-function instead.
9470 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9471 (gud-tooltip-process-output, gud-tooltip-tips):
9472 Use add/remove-function instead.
9473 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9474 (scheme-interaction-mode, exit-scheme-interaction-mode):
9475 Use add/remove-function instead.
9476
9477 * vc/vc-dispatcher.el: Use lexical-binding.
9478 (vc--process-sentinel): Rename from vc-process-sentinel.
9479 Change last arg to be the code to run. Don't use vc-previous-sentinel
9480 and vc-sentinel-commands any more.
9481 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9482 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9483
9484 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9485
9486 * progmodes/sh-script.el (sh-imenu-generic-expression):
9487 Handle function names with a single character. (Bug#14111)
9488
9489 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9490
9491 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9492 for subroutines defined in an eval (bug#14182).
9493
9494 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9495
9496 * bookmark.el (bookmark-completing-read): Improve handling of empty
9497 string (bug#14176).
9498
9499 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9502
9503 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9504
9505 New faster Imenu implementation (bug#14058).
9506 * progmodes/python.el:
9507 (python-imenu-prev-index-position):
9508 (python-imenu-format-item-label-function)
9509 (python-imenu-format-parent-item-label-function)
9510 (python-imenu-format-parent-item-jump-label-function):
9511 New vars.
9512 (python-imenu-format-item-label)
9513 (python-imenu-format-parent-item-label)
9514 (python-imenu-format-parent-item-jump-label)
9515 (python-imenu--put-parent, python-imenu--build-tree)
9516 (python-imenu-create-index, python-imenu-create-flat-index)
9517 (python-util-popn): New functions.
9518 (python-mode): Set imenu-create-index-function to
9519 python-imenu-create-index.
9520
9521 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9522
9523 * winner.el (winner-active-region): Use region-active-p, activate-mark
9524 and deactivate-mark (bug#14225).
9525
9526 * simple.el (deactivate-mark): Don't inline it.
9527
9528 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9529
9530 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9531
9532 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9533
9534 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9535 file extensions from the archive-mode entry in order to prefer
9536 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9537
9538 2013-04-18 Leo Liu <sdl.web@gmail.com>
9539
9540 * bindings.el (help-event-list): Add ?\?.
9541
9542 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9543
9544 * subr.el (with-wrapper-hook): Declare obsolete.
9545 * simple.el (filter-buffer-substring-function): New hook.
9546 (filter-buffer-substring): Use it.
9547 (filter-buffer-substring-functions): Mark obsolete.
9548 * minibuffer.el (completion-in-region-function): New hook.
9549 (completion-in-region): Use it.
9550 (completion-in-region-functions): Mark obsolete.
9551 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9552 * abbrev.el (abbrev-expand-function): New hook.
9553 (expand-abbrev): Use it.
9554 (abbrev-expand-functions): Mark obsolete.
9555 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9556 and :filter-return.
9557
9558 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9559
9560 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9561 and do not care about match data.
9562
9563 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9564
9565 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9566 completion tables when completing error conditions and
9567 `declare' arguments.
9568 (lisp-complete-symbol, field-complete): Mark as obsolete.
9569 (check-parens): Unmatched parens are user errors.
9570 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9571
9572 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9573
9574 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9575 command changed buffer (ie. `flyspell-pre-buffer' is not current
9576 buffer), which prevents making decisions based on invalid value of
9577 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9578 cause an error when `flyspell-pre-point' was nil after switching
9579 buffers.
9580 (flyspell-post-command-hook): No longer needs to change buffers when
9581 checking pre-word. While at it remove unnecessary progn.
9582
9583 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9584
9585 * textmodes/ispell.el (ispell-add-per-file-word-list):
9586 Fix `flyspell-correct-word-before-point' error when accepting
9587 words and `coment-padding' is an integer by using
9588 `comment-normalize-vars' (Bug #14214).
9589
9590 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9591
9592 New defun movement commands.
9593 * progmodes/python.el (python-nav--syntactically)
9594 (python-nav--forward-defun, python-nav-backward-defun)
9595 (python-nav-forward-defun): New functions.
9596
9597 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9598
9599 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9600 (python-syntax-context): Use named compiler-macro for backwards
9601 compatibility with Emacs 24.x.
9602
9603 2013-04-17 Leo Liu <sdl.web@gmail.com>
9604
9605 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9606 octave-hide-process-buffer.
9607
9608 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9609
9610 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9611 (bug#14216).
9612
9613 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9614
9615 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9616 Fix adjustment of offset when receiving incomplete responses from GDB
9617 (bug#14129).
9618
9619 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9620
9621 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9622 python-mode-abbrev-table.
9623 (python-skeleton-define): Adjust accordingly.
9624 (python-mode-abbrev-table): New table that inherits from it so that
9625 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9626
9627 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9628 (abbrev-symbol): Use it.
9629 (abbrev--before-point): Use it since we already handle inheritance.
9630
9631 2013-04-16 Leo Liu <sdl.web@gmail.com>
9632
9633 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9634 binding to info-lookup-symbol.
9635
9636 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9637
9638 * minibuffer.el (completion--twq-all):
9639 * term/ns-win.el (ns-initialize-window-system):
9640 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9641
9642 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9643
9644 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9645 global bindings.
9646
9647 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9648
9649 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9650
9651 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9652 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9653 to nil.
9654 (ruby-end-of-defun): Remove the unused arg, change the docstring
9655 to reflect that this function is only used as the value of
9656 `end-of-defun-function'.
9657 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9658 to reflect an earlier change that beginning/end-of-defun functions
9659 jump between methods in a class definition, as well as top-level
9660 functions.
9661
9662 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9663
9664 * minibuffer.el (minibuffer-complete): Don't just scroll
9665 a *Completions* that's been iconified.
9666 (minibuffer-force-complete): Make sure repetitions do cycle when going
9667 through completion-in-region -> minibuffer-complete.
9668
9669 2013-04-15 Alan Mackenzie <acm@muc.de>
9670
9671 Correct the placement of c-cpp-delimiters when there're #s not at
9672 col 0.
9673
9674 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9675 place a submatch around the #.
9676 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9677 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9678 on the #, not BOL.
9679
9680 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9681
9682 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9683 (advice--member-p): New arg `name'.
9684 (advice--add-function, advice-member-p): Use it (bug#14202).
9685
9686 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9687
9688 Reformulate java imenu-generic-expression.
9689 The old expression contained ill formed regexps.
9690
9691 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9692 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9693 (cc-imenu-java-method-arg-regexp): New defconsts.
9694 (cc-imenu-java-build-type-args-regex): New defun.
9695 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9696 handling of spaces in the regexp.
9697
9698 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9699
9700 * textmodes/ispell.el (ispell-command-loop): Remove
9701 flyspell highlight of a word when ispell accepts it (bug #14178).
9702
9703 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9704
9705 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9706 uses code from the previous `ange-ftp-run-real-handler'.
9707 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9708 only in case that function exist. This is needed for proper
9709 unloading of Tramp.
9710
9711 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9712
9713 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9714
9715 * textmodes/reftex.el (reftex-compile-variables): Use it.
9716
9717 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9718
9719 * files.el (normal-mode): Only use default major-mode if no other mode
9720 was specified.
9721
9722 * emacs-lisp/trace.el (trace-values): New function.
9723
9724 * files.el: Allow : in local variables (bug#14089).
9725 (hack-local-variable-regexp): New var.
9726 (hack-local-variables-prop-line, hack-local-variables): Use it.
9727
9728 2013-04-13 Roland Winkler <winkler@gnu.org>
9729
9730 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9731 data before it gets modified by bibtex-beginning-of-entry.
9732
9733 2013-04-13 Roland Winkler <winkler@gnu.org>
9734
9735 * textmodes/bibtex.el (bibtex-url): Doc fix.
9736
9737 2013-04-13 Roland Winkler <winkler@gnu.org>
9738
9739 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9740 does not visit a BibTeX file, exclude it from the list of buffers
9741 returned by bibtex-initialize.
9742
9743 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9744
9745 * window.el (split-window): Remove interactive form, since as a
9746 command this function is a special case of split-window-below.
9747 Correct doc string.
9748
9749 2013-04-12 Roland Winkler <winkler@gnu.org>
9750
9751 * faces.el (read-face-name): Do not override value of arg default.
9752 Allow single faces and strings as default values. Remove those
9753 elements from return value that are not faces.
9754 (describe-face): Simplify.
9755 (face-at-point): New optional args thing and multiple so that this
9756 function can provide the same functionality previously provided by
9757 read-face-name.
9758 (make-face-bold, make-face-unbold, make-face-italic)
9759 (make-face-unitalic, make-face-bold-italic, invert-face)
9760 (modify-face, read-face-and-attribute): Use face-at-point.
9761
9762 * cus-edit.el (customize-face, customize-face-other-window)
9763 * cus-theme.el (custom-theme-add-face)
9764 * face-remap.el (buffer-face-set)
9765 * facemenu.el (facemenu-set-face): Use face-at-point.
9766
9767 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9768
9769 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9770
9771 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9772
9773 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9774 off leading { and trailing } from field values.
9775
9776 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9777
9778 * emacs-lisp/timer.el (timer--check): New function.
9779 (timer--time, timer-set-function, timer-event-handler): Use it.
9780 (timer-set-idle-time): Simplify.
9781 (timer--activate): CSE.
9782 (timer-event-handler): Give more info in error message.
9783 (internal-timer-start-idle): New function, moved from C.
9784
9785 * mpc.el (mpc-proc): Add `restart' argument.
9786 (mpc-proc-cmd): Use it.
9787 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9788 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9789 less often.
9790
9791 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9792
9793 * progmodes/sh-script.el: Implement `sh-mode' own
9794 `add-log-current-defun-function' (bug#14112).
9795 (sh-current-defun-name): New function.
9796 (sh-mode): Use the function.
9797
9798 2013-04-09 Bastien Guerry <bzg@gnu.org>
9799
9800 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9801
9802 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9803
9804 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9805
9806 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9807 timer (bug#14156).
9808
9809 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9810
9811 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9812 declaration.
9813
9814 2013-04-07 Leo Liu <sdl.web@gmail.com>
9815
9816 * pcmpl-x.el: New file.
9817
9818 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9819
9820 Do not set x-display-name until X connection is established.
9821 This is needed to prevent from weird situation described at
9822 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9823 * frame.el (make-frame): Set x-display-name after call to
9824 window system initialization function, not before.
9825 * term/x-win.el (x-initialize-window-system): Add optional
9826 display argument and use it.
9827 * term/w32-win.el (w32-initialize-window-system):
9828 * term/ns-win.el (ns-initialize-window-system):
9829 * term/pc-win.el (msdos-initialize-window-system):
9830 Add compatible optional display argument.
9831
9832 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9833
9834 * files.el (normal-backup-enable-predicate): On MS-Windows and
9835 MS-DOS compare truenames of temporary-file-directory and of the
9836 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9837 don't fail comparison by compare-strings. Also, compare file
9838 names case-insensitively on MS-Windows and MS-DOS.
9839
9840 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9841
9842 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9843 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9844
9845 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9846
9847 * whitespace.el (whitespace-color-on, whitespace-color-off):
9848 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9849
9850 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9851
9852 * ispell.el (ispell-set-spellchecker-params):
9853 Really set `ispell-args' for all equivs.
9854
9855 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9856
9857 * ido.el (ido-completions): Use extra elements of ido-decorations
9858 (bug#14143).
9859 (ido-decorations): Update docstring.
9860
9861 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9862
9863 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9864 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9865 nil during initialization, in order not to miss changes since the
9866 file was opened. (Bug#14140)
9867
9868 2013-04-05 Leo Liu <sdl.web@gmail.com>
9869
9870 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9871
9872 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9873
9874 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9875
9876 2013-04-04 Glenn Morris <rgm@gnu.org>
9877
9878 * electric.el (electric-pair-inhibit-predicate): Add :version.
9879
9880 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9883 when a package is required several times (bug#14082).
9884
9885 2013-04-04 Roland Winkler <winkler@gnu.org>
9886
9887 * faces.el (read-face-name): Behave as promised by the docstring.
9888 Assume that arg default is a list of faces.
9889 (describe-face): Call read-face-name with list of default faces.
9890
9891 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9892
9893 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9894 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9895 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9896 the header.
9897 (bookmark-exit-hook-internal): Save even if list is empty.
9898
9899 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9900
9901 * emacs-lisp/package.el (package-pinned-packages): New var.
9902 (package--add-to-archive-contents): Obey it (bug#14118).
9903
9904 2013-04-03 Alan Mackenzie <acm@muc.de>
9905
9906 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9907 Also adapt to the new values of element 7 of a parse state.
9908
9909 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9910 parameter `not-in-delimiter'. Handle being inside comment opener.
9911 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9912 character in case we're typing a '*' after a '/'.
9913 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9914 instead by passing the parameter to c-state-pp-to-literal.
9915
9916 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9917 for elt. 7 of a parse state.
9918
9919 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9920
9921 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9922 * international/latin1-disp.el, international/mule-util.el:
9923 * language/cyril-util.el, language/european.el, language/ind-util.el:
9924 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9925 * language/tibetan.el, language/viet-util.el:
9926 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9927
9928 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9929
9930 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9931 (electric-pair-post-self-insert-function): Use it.
9932 (electric-pair-default-inhibit): New function, extracted from
9933 electric-pair-post-self-insert-function.
9934
9935 2013-03-31 Roland Winkler <winkler@gnu.org>
9936
9937 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9938
9939 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9940
9941 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9942
9943 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9944
9945 Un-indent after "pass" and "return" statements (Bug#13888)
9946 * progmodes/python.el (python-indent-block-enders): New var.
9947 (python-indent-calculate-indentation): Use it.
9948
9949 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9950
9951 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9952 defun. Defining it as defalias could introduce too eager
9953 byte-compiler optimization. (Bug#14030)
9954
9955 2013-03-30 Chong Yidong <cyd@gnu.org>
9956
9957 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9958
9959 2013-03-30 Leo Liu <sdl.web@gmail.com>
9960
9961 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9962 (kmacro-execute-from-register): Pass the keyboard macro to
9963 kmacro-call-macro or repeating won't work correctly.
9964
9965 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9966
9967 * progmodes/subword.el: Back to using `forward-symbol'.
9968
9969 * subr.el (forward-whitespace, forward-symbol)
9970 (forward-same-syntax): Move from thingatpt.el.
9971
9972 2013-03-29 Leo Liu <sdl.web@gmail.com>
9973
9974 * kmacro.el (kmacro-to-register): New command.
9975 (kmacro-execute-from-register): New function.
9976 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9977
9978 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9979
9980 * mpc.el: Use defvar-local and setq-local.
9981 (mpc--proc-connect): Connection failures are not bugs.
9982 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9983 (mpc-volume-map): Bind to the up-events.
9984
9985 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9986
9987 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9988 instead of `forward-symbol'.
9989
9990 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9991
9992 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9993 (edebug--recursive-edit): Use it.
9994 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9995 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9996
9997 2013-03-28 Leo Liu <sdl.web@gmail.com>
9998
9999 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10000
10001 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10002
10003 * facemenu.el (list-colors-callback): New defvar.
10004 (list-colors-redisplay): New function.
10005 (list-colors-display): Install list-colors-redisplay as the
10006 revert-buffer-function. (Bug#14063)
10007
10008 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10009
10010 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10011 and suffixes don't overlap (bug#14061).
10012
10013 * case-table.el: Use lexical-binding.
10014 (case-table-get-table): New function.
10015 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10016
10017 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10018
10019 * progmodes/subword.el: Add `superword-mode' to do word motion
10020 over symbol_words (parallels and leverages `subword-mode' which
10021 does word motion inside MixedCaseWords).
10022
10023 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10024
10025 * eshell/em-unix.el: Move su and sudo to...
10026 * eshell/em-tramp.el: ...Eshell tramp module.
10027
10028 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10029
10030 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10031 Change return value to be a sexp. Delay `get-buffer' to after
10032 restoring the desktop (bug#13951).
10033
10034 2013-03-26 Leo Liu <sdl.web@gmail.com>
10035
10036 * register.el: Move semantic tag handling back to
10037 cedet/semantic/senator.el. (Bug#14052)
10038
10039 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10040
10041 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10042 into the prompt either (bug#13963).
10043
10044 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10045
10046 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10047 part of "(error-foo)".
10048
10049 2013-03-24 Juri Linkov <juri@jurta.org>
10050
10051 * replace.el (list-matching-lines-prefix-face): New defcustom.
10052 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10053 `occur-engine' if `face-differs-from-default-p' returns t.
10054 (occur-engine): Add `,' inside backquote construct to evaluate
10055 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10056 Pass `prefix-face' to the functions `occur-context-lines' and
10057 `occur-engine-add-prefix'.
10058 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10059 `prefix-face' and propertize the prefix with `prefix-face'.
10060 (Bug#14017)
10061
10062 2013-03-24 Leo Liu <sdl.web@gmail.com>
10063
10064 * nxml/rng-valid.el (rng-validate-while-idle)
10065 (rng-validate-quick-while-idle): Guard against deleted buffer.
10066 (Bug#13999)
10067
10068 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10069 is the last entry in kill-buffer-hook.
10070
10071 * files.el (kill-buffer-hook): Doc fix.
10072
10073 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10074
10075 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10076 Make it safe-local.
10077
10078 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10079
10080 2013-03-23 Leo Liu <sdl.web@gmail.com>
10081
10082 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10083 Remove.
10084
10085 * nxml/rng-valid.el (rng-validate-mode)
10086 (rng-after-change-function, rng-do-some-validation):
10087 * nxml/rng-maint.el (rng-validate-buffer):
10088 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10089 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10090 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10091 (nxml-extend-after-change-region): Use with-silent-modifications.
10092
10093 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10094 timer-idle-list.
10095
10096 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10097 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10098 timer-idle-list. (Bug#13999)
10099
10100 2013-03-23 Juri Linkov <juri@jurta.org>
10101
10102 * info.el (info-index-match): New face.
10103 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10104 main pattern and add text properties with the new face to matches
10105 in index entries relative to the beginning of the index entry.
10106 (Bug#14015)
10107
10108 2013-03-21 Eric Ludlam <zappo@gnu.org>
10109
10110 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10111 Inhibit read only while inserting objects.
10112
10113 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10114
10115 * progmodes/cfengine.el: Update docs to mention
10116 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10117 symbol motion. Remove "_" from the word syntax.
10118
10119 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10120
10121 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10122 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10123
10124 2013-03-20 Juri Linkov <juri@jurta.org>
10125
10126 * info.el (Info-next-reference-or-link)
10127 (Info-prev-reference-or-link): New functions.
10128 (Info-next-reference, Info-prev-reference): Use them.
10129 (Info-try-follow-nearest-node): Handle footnote navigation.
10130 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10131
10132 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10133
10134 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10135 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10136
10137 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10138
10139 Suppress unnecessary non-ASCII chatter during build process.
10140 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10141 (batch-skkdic-convert): Suppress most of the chatter.
10142 It's not needed so much now that machines are faster,
10143 and its non-ASCII component was confusing; see Dmitry Gutov in
10144 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10145
10146 2013-03-20 Leo Liu <sdl.web@gmail.com>
10147
10148 * ido.el (ido-chop): Fix bug#10994.
10149
10150 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10151
10152 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10153 Remove vars.
10154 (whitespace-color-on, whitespace-color-off):
10155 Use `font-lock-fontify-buffer' (Bug#13817).
10156
10157 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10160 remapping in mode-line.
10161 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10162
10163 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10164
10165 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10166 value for `whitespace-line' face (Bug#13875).
10167 (whitespace-font-lock-keywords): Change description.
10168 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10169 the constructed keywords instead.
10170 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10171
10172 2013-03-19 Leo Liu <sdl.web@gmail.com>
10173
10174 * progmodes/compile.el (compilation-display-error): New command.
10175 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10176 C-o. (Bug#13992)
10177
10178 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10179
10180 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10181
10182 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10183
10184 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10185
10186 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10187
10188 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10189
10190 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10191 * net/tramp-gvfs.el (top):
10192 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10193 (tramp-handle-shell-command): Use it.
10194 (tramp-dissect-file-name): Raise an error when hostname is a
10195 method name, and neither method nor user is specified.
10196
10197 * net/trampver.el: Update release number.
10198
10199 2013-03-18 Leo Liu <sdl.web@gmail.com>
10200
10201 Make sure eldoc can be turned off properly.
10202 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10203 eldoc-mode.
10204 (eldoc-display-message-p): Revert last change.
10205 (eldoc-display-message-no-interference-p)
10206 (eldoc-print-current-symbol-info): Tweak.
10207
10208 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10209
10210 * doc-view.el (doc-view-new-window-function): Check the new window
10211 overlay's display property instead the char property of the
10212 buffer's first char. Use `with-selected-window' instead of
10213 `save-window-excursion' with `select-window'.
10214 (doc-view-document->bitmap): Check the current doc-view overlay's
10215 display property instead the char property of the buffer's first char.
10216
10217 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10218
10219 Automate the build of ja-dic.el (Bug#13984).
10220 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10221 from the input, rather than assume that it's been done for us by the
10222 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10223 the current date into a ja-dic.el comment, as that complicates
10224 regression testing.
10225
10226 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10227
10228 * whitespace.el: Fix double evaluation.
10229 (whitespace-space, whitespace-hspace, whitespace-tab)
10230 (whitespace-newline, whitespace-trailing, whitespace-line)
10231 (whitespace-space-before-tab, whitespace-indentation)
10232 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10233 obsolete defvars.
10234 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10235 (whitespace-color-on): Use a single font-lock-add-keywords call.
10236 Fix double-evaluation of face variables.
10237
10238 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10239
10240 * net/tramp-adb.el (tramp-adb-parse-device-names):
10241 Use `start-process' instead of `call-process'. Otherwise, the
10242 function might be blocked under MS Windows. (Bug#13299)
10243
10244 2013-03-17 Leo Liu <sdl.web@gmail.com>
10245
10246 Extend eldoc to display info in the mode-line. (Bug#13978)
10247 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10248 (eldoc-mode-line-string): New variable.
10249 (eldoc-minibuffer-message): New function.
10250 (eldoc-message-function): New variable.
10251 (eldoc-message): Use it.
10252 (eldoc-display-message-p)
10253 (eldoc-display-message-no-interference-p):
10254 Support eldoc-post-insert-mode.
10255
10256 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10257 (eval-expression): Run it.
10258
10259 2013-03-17 Roland Winkler <winkler@gnu.org>
10260
10261 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10262 strings in the list of return values.
10263
10264 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10265
10266 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10267 radix before checking for HMS forms.
10268
10269 2013-03-16 Leo Liu <sdl.web@gmail.com>
10270
10271 * progmodes/scheme.el: Add indentation and font-locking for λ.
10272 (Bug#13975)
10273
10274 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10275
10276 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10277 token before point (bug#13942).
10278
10279 2013-03-16 Leo Liu <sdl.web@gmail.com>
10280
10281 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10282
10283 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10284
10285 * startup.el (command-line-normalize-file-name): Fix handling of
10286 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10287 <xfq.free@gmail.com> in
10288 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10289
10290 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10291
10292 Sync with Tramp 2.2.7.
10293
10294 * net/trampver.el: Update release number.
10295
10296 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10297
10298 * doc-view.el: Fix bug#13887.
10299 (doc-view-insert-image): Don't modify overlay associated to
10300 non-live windows, and implement horizontal centering of image in
10301 case it's smaller than the window.
10302 (doc-view-new-window-function): Force redisplay of new windows on
10303 doc-view buffers.
10304
10305 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10306
10307 * saveplace.el (save-place-alist-to-file): Don't sort
10308 `save-place-alist', just pretty-print it (bug#13882).
10309
10310 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10311
10312 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10313 Check whether `default-file-name-coding-system' is bound.
10314 It isn't in XEmacs.
10315
10316 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10317
10318 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10319 backquotes for `obsolete' (bug#13929).
10320
10321 * international/mule.el (find-auto-coding): Include file name in
10322 obsolescence warning (bug#13922).
10323
10324 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10325
10326 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10327 for CFEngine 3-specific indentation.
10328 (cfengine3-indent-line): Use it. Fix up category regex.
10329 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10330
10331 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10332
10333 * type-break.el (type-break-file-name):
10334 * textmodes/remember.el (remember-data-file):
10335 * strokes.el (strokes-file):
10336 * shadowfile.el (shadow-initialize):
10337 * saveplace.el (save-place-file):
10338 * ps-bdf.el (bdf-cache-file):
10339 * progmodes/idlwave.el (idlwave-config-directory):
10340 * net/quickurl.el (quickurl-url-file):
10341 * international/kkc.el (kkc-init-file-name):
10342 * ido.el (ido-save-directory-list-file):
10343 * emulation/viper.el (viper-custom-file-name):
10344 * emulation/vip.el (vip-startup-file):
10345 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10346 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10347
10348 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10349
10350 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10351 * language/thai-word.el: Switch to UTF-8.
10352
10353 See ChangeLog.16 for earlier changes.
10354
10355 ;; Local Variables:
10356 ;; coding: utf-8
10357 ;; End:
10358
10359 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10360
10361 This file is part of GNU Emacs.
10362
10363 GNU Emacs is free software: you can redistribute it and/or modify
10364 it under the terms of the GNU General Public License as published by
10365 the Free Software Foundation, either version 3 of the License, or
10366 (at your option) any later version.
10367
10368 GNU Emacs is distributed in the hope that it will be useful,
10369 but WITHOUT ANY WARRANTY; without even the implied warranty of
10370 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10371 GNU General Public License for more details.
10372
10373 You should have received a copy of the GNU General Public License
10374 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.