Bug#16045
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2
3 * progmodes/compile.el (compilation-start):
4 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5
6 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
8
9 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10
11 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Touch
12 up the last change.
13
14 2013-12-06 Leo Liu <sdl.web@gmail.com>
15
16 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
17 (inferior-octave-startup): Always use "octave> " for prompt.
18 (octave-goto-function-definition)
19 (octave-sync-function-file-names)
20 (octave-find-definition-default-filename): Remove redundant backquotes.
21
22 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
23
24 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
25 syntax for `?'.
26 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
27 where appropriate already.
28 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
29 end of method names (Bug#15874).
30
31 2013-12-06 Juri Linkov <juri@jurta.org>
32
33 * isearch.el (isearch--saved-overriding-local-map):
34 New internal variable.
35 (isearch-mode): Set it to the initial value of
36 `overriding-terminal-local-map'.
37 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
38 with `isearch--saved-overriding-local-map'. (Bug#16035)
39
40 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
41
42 * progmodes/octave.el (inferior-octave-completion-table): Turn
43 back into function, use `completion-table-with-cache'
44 (Bug#11906). Update all references.
45
46 * minibuffer.el (completion-table-with-cache): New function.
47
48 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
49
50 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
51
52 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
53
54 * net/eww.el (eww-current-source): New variable to store page
55 source.
56 (eww-display-html, eww-mode, eww-save-history)
57 (eww-restore-history): Use it.
58 (eww-view-source): New command to view page source.
59 Opportunistically uses `html-mode' to highlight the buffer.
60 (eww-mode-map): Install it.
61
62 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
63
64 * net/dbus.el (dbus-unregister-service)
65 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
66 Fix docstring.
67 (dbus-unregister-service): Skip :serial entries in
68 `dbus-registered-objects-table'.
69 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
70
71 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
72
73 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
74 around keywords with extra `split-string' argument.
75
76 2013-12-04 Martin Rudalics <rudalics@gmx.at>
77
78 * windmove.el (windmove-other-window-loc): Handle navigation
79 between windows (excluding the minibuffer window - Bug#16017).
80
81 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
82
83 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
84 in D-Bus type syntax.
85 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
86 preserve unibyte strings. (Bug#16048)
87
88 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
91 Call force-mode-line-update is the proper buffer (bug#16042).
92
93 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
94
95 * vc/log-edit.el (log-edit-add-new-comment): Rename to
96 `log-edit-remember-comment', make argument optional. Adjust all
97 callers.
98 (log-edit-mode): Add `log-edit-remember-comment' to
99 `kill-buffer-hook' locally.
100 (log-edit-kill-buffer): Don't remember comment explicitly since
101 the buffer is killed anyway.
102
103 2013-12-04 Juri Linkov <juri@jurta.org>
104
105 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
106 add-hook and remove-hook for multi-buffer search. (Bug#16035)
107
108 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
109
110 * notifications.el (notifications-close-notification): Call the
111 D-Bus method with ID being a `:uint32'. (Bug#16030)
112
113 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
114
115 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
116
117 2013-12-03 Juri Linkov <juri@jurta.org>
118
119 * progmodes/compile.el (compilation-start): Rename window alist
120 entry `no-display-ok' to `allow-no-window'.
121
122 * simple.el (shell-command): Add window alist entry
123 `allow-no-window' to `display-buffer'.
124 (async-shell-command): Doc fix.
125
126 * window.el (display-buffer-no-window): New action function.
127 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
128
129 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
130
131 * vc/log-edit.el (log-edit-set-header): Extract from
132 `log-edit-toggle-header'.
133 (log-edit-extract-headers): Separate the summary, when extracted
134 from header, from the rest of the message with an empty line.
135
136 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
137 line, if present, to the Summary header.
138
139 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
142 in current-buffer (bug#16029).
143
144 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
145
146 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
147 (debugger-mode-map): Bind it.
148 (debugger--backtrace-base): New function.
149 (debugger-eval-expression): Use it.
150 (debugger-frame-number): Skip local vars when present.
151 (debugger--locals-visible-p, debugger--insert-locals)
152 (debugger--show-locals, debugger--hide-locals): New functions.
153
154 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
155
156 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
157 "LC_ALL".
158 (tramp-get-remote-locale): New defun.
159 (tramp-open-connection-setup-interactive-shell): Use it.
160
161 2013-12-02 Leo Liu <sdl.web@gmail.com>
162
163 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
164
165 * progmodes/sh-script.el (sh-shell-process):
166 * progmodes/octave.el (inferior-octave-process-live-p):
167 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
168 (gdb-inferior-io-sentinel):
169 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
170
171 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
172
173 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
174 `save-selected-window' to `log-edit-hide-buf'. This makes
175 `log-edit-show-files' idempotent.
176 (log-edit-show-files): Mark the new window as dedicated.
177
178 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
179
180 * vc/log-edit.el (log-edit-mode-map): Add binding for
181 `log-edit-kill-biffer'.
182 (log-edit-hide-buf): Add a FIXME comment.
183 (log-edit-add-new-comment): New function, extracted from
184 `log-edit-done'.
185 (log-edit-done, log-edit-add-to-changelog): Use it.
186 (log-edit-kill-buffer): New command.
187
188 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
189
190 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
191 instead of killing the buffer.
192
193 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
196
197 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
198
199 * net/eww.el (eww-form-checkbox-selected-symbol)
200 (eww-form-checkbox-symbol): New customizable variable.
201 (eww-form-checkbox, eww-toggle-checkbox):
202 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
203
204 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
205 (shr--get-media-pref, shr--extract-best-source): New function.
206 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
207 no :src tag was specified.
208
209 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
210 (eww-render): Handle `eww-use-external-browser-for-content-type'.
211 Use \\` to match beginning of string instead of ^.
212 (eww-browse-with-external-browser): Provide optional URL parameter.
213 (eww-render): Set `eww-current-title' back to "".
214
215 * net/shr.el (shr-tag-video): Display content for video if no
216 poster is available.
217 (shr-tag-audio): Add support for <audio> tag.
218
219 * net/eww.el (eww-text-input-types): : New const.
220 (eww-process-text-input): Treat input types in
221 `eww-text-input-types' as text.
222
223 * net/shr.el (shr-tag-table): Fix comment typo.
224
225 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
226
227 * net/eww.el (eww-follow-link): New command to avoid reloading
228 pages when we follow #target links (bug#15243).
229 (eww-quit): Special mode buffers shouldn't query before exiting.
230
231 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
232
233 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
234 forms.
235
236 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
237
238 * net/eww.el (eww-restore-history): Update the window title after
239 moving in the history.
240 (eww-current-dom): New variable used to save the current DOM.
241
242 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
243
244 * vc/log-edit.el (log-edit-mode-map): Add binding for
245 `log-edit-beginning-of-line'.
246 (log-edit-setup-add-author): New user option.
247 (log-edit-beginning-of-line): New command.
248 (log-edit): Move major mode call above the contents setup so that
249 the local variable values are already applied.
250 (log-edit): Only insert "Author: " when
251 `log-edit-setup-add-author' is non-nil.
252 (log-edit): When SETUP is non-nil, position point after ": "
253 instead of point-min.
254
255 2013-12-01 Glenn Morris <rgm@gnu.org>
256
257 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
258
259 2013-11-30 Eli Zaretskii <eliz@gnu.org>
260
261 * startup.el (fancy-splash-frame): On MS-Windows, trigger
262 redisplay to make sure the initial frame gets a chance to become
263 visible. (Bug#16014)
264
265 2013-11-30 Martin Rudalics <rudalics@gmx.at>
266
267 Support resizing frames and windows pixelwise.
268 * cus-start.el (frame-resize-pixelwise)
269 (window-resize-pixelwise): New entries.
270 * emacs-lisp/debug.el (debug): Use window-total-height instead
271 of window-total-size.
272 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
273 * help.el (describe-bindings-internal): Call help-buffer
274 (temp-buffer-max-width): New option.
275 (resize-temp-buffer-window, help-window-setup)
276 (with-help-window): Rewrite.
277 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
278 dragging dividers.
279 * window.el (frame-char-size, window-min-pixel-height)
280 (window-safe-min-pixel-height, window-safe-min-pixel-width)
281 (window-min-pixel-width, window-safe-min-pixel-size)
282 (window-combination-p, window-safe-min-size)
283 (window-resizable-p, window--size-to-pixel)
284 (window--pixel-to-size, window--resize-apply-p): New functions.
285 (window-safe-min-height): Fix doc-string.
286 (window-size, window-min-size, window--min-size-1)
287 (window-sizable, window-sizable-p, window--min-delta-1)
288 (window-min-delta, window--max-delta-1, window-max-delta)
289 (window--resizable, window--resizable-p, window-resizable)
290 (window-full-height-p, window-full-width-p, window-at-side-p)
291 (window--in-direction-2, window-in-direction)
292 (window--resize-reset-1, window--resize-mini-window)
293 (window-resize, window-resize-no-error)
294 (window--resize-child-windows-normal)
295 (window--resize-child-windows, window--resize-siblings)
296 (window--resize-this-window, window--resize-root-window)
297 (window--resize-root-window-vertically)
298 (adjust-window-trailing-edge, enlarge-window, shrink-window)
299 (maximize-window, minimize-window, delete-window)
300 (quit-restore-window, window-split-min-size, split-window)
301 (balance-windows-2, balance-windows)
302 (balance-windows-area-adjust, balance-windows-area)
303 (window--state-get-1, window-state-get, window--state-put-1)
304 (window--state-put-2, window-state-put)
305 (display-buffer-record-window, window--display-buffer):
306 Make functions handle pixelwise sizing of windows.
307 (display-buffer--action-function-custom-type)
308 (display-buffer-fallback-action):
309 Add display-buffer-in-previous-window.
310 (display-buffer-use-some-window): Resize window to height it had
311 before.
312 (fit-window-to-buffer-horizontally): New option.
313 (fit-frame-to-buffer): Describe new values.
314 (fit-frame-to-buffer-bottom-margin): Replace with
315 fit-frame-to-buffer-margins.
316 (window--sanitize-margin): New function.
317 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
318 using window-text-pixel-size.
319
320 2013-11-30 Glenn Morris <rgm@gnu.org>
321
322 * emacs-lisp/bytecomp.el (byte-compile-form):
323 Make the `interactive-only' warning like the `obsolete' one.
324 * comint.el (comint-run):
325 * files.el (insert-file-literally, insert-file):
326 * replace.el (replace-string, replace-regexp):
327 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
328 (goto-line, insert-buffer, next-line, previous-line):
329 Tweak `interactive-only' spec.
330
331 Stop keeping (most) generated cedet grammar files in the repository.
332 * Makefile.in (semantic): New.
333 (compile-main): Depend on semantic.
334
335 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
338 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
339
340 * uniquify.el (uniquify-buffer-name-style): Change default.
341
342 * loadup.el: Preload "uniquify".
343
344 * time.el (display-time-update): Update all mode lines (bug#15999).
345
346 * electric.el (electric-indent-mode): Enable by default.
347 * loadup.el: Preload "electric".
348
349 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
350
351 * emacs-lisp/helpers.el (string-empty-p): New function.
352 (string-blank-p): New function.
353
354 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
355
356 * imenu.el (imenu--index-alist): Add missing dot to the docstring
357 (Bug#14029).
358
359 2013-11-29 Andreas Politz <politza@fh-trier.de>
360 * imenu.el (imenu--subalist-p): Don't error on non-conses and
361 allow non-lambda lists as functions.
362 (imenu--in-alist): Don't recurse into non-subalists.
363 (imenu): Don't pass function itself as an argument (Bug#14029).
364
365 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
366
367 * progmodes/python.el (python-mode-map): Remove binding for ":".
368 (python-indent-electric-colon): Remove command.
369 (python-indent-post-self-insert-function): Integrate the previous code
370 of python-indent-electric-colon. Make it conditional on
371 electric-indent-mode.
372 (python-mode): Add ?: to electric-indent-chars.
373 Move python-indent-post-self-insert-function to the end of
374 post-self-insert-hook.
375
376 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * doc-view.el (doc-view-goto-page): Update mode-line.
379
380 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
381
382 2013-11-27 Glenn Morris <rgm@gnu.org>
383
384 * international/charprop.el, international/uni-bidi.el:
385 * international/uni-category.el, international/uni-combining.el:
386 * international/uni-comment.el, international/uni-decimal.el:
387 * international/uni-decomposition.el, international/uni-digit.el:
388 * international/uni-lowercase.el, international/uni-mirrored.el:
389 * international/uni-name.el, international/uni-numeric.el:
390 * international/uni-old-name.el, international/uni-titlecase.el:
391 * international/uni-uppercase.el:
392 Remove generated files from VCS repository.
393
394 2013-11-27 Eli Zaretskii <eliz@gnu.org>
395
396 * filenotify.el (file-notify-add-watch): Don't special-case
397 w32notify when computing the directory to watch.
398
399 2013-11-27 Glenn Morris <rgm@gnu.org>
400
401 Make bootstrap without generated uni-*.el files possible again.
402 * loadup.el: Update command-line-args checking for unidata-gen.
403 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
404 * composite.el, international/characters.el:
405 Handle unicode tables being undefined.
406
407 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
408 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
409 (compile-main): Depend on leim rule.
410 (leim): New rule.
411 * loadup.el: Move leim-list.el to leim/ subdirectory.
412 * startup.el (normal-top-level): No more leim directory.
413 * international/ja-dic-cnv.el (skkdic-convert):
414 Disable version-control and autoloads in output files.
415 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
416 Disable version-control and autoloads in output files.
417 * leim/quail: Move here from ../leim.
418 * leim/quail/hangul.el (hangul-input-method-activate):
419 Add autoload cookie.
420 (generated-autoload-load-name): Set file-local value.
421 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
422 (generated-autoload-load-name): Set file-local value.
423
424 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
425
426 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
427 (eww-add-bookmark): ask confirmation when add to bookmarks
428 (eww-quit): ask confirmation before quitting eww
429
430 2013-11-26 Eli Zaretskii <eliz@gnu.org>
431
432 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
433 reading output from Diff on MS-Windows and MS-DOS.
434
435 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
436
437 * emacs-lisp/helpers.el (string-reverse): New function.
438
439 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
440
441 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
442 names on MS Windows, like "/[::1]:".
443
444 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
445 SWITCHES.
446
447 2013-11-26 Glenn Morris <rgm@gnu.org>
448
449 * progmodes/python.el (python-indent-guess-indent-offset):
450 Avoid corner-case error. (Bug#15975)
451
452 Preload leim-list.el. (Bug#4789)
453 * loadup.el: Load leim-list.el when found.
454 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
455
456 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
457
458 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
459
460 * emacs-lisp/helpers.el (string-join): New function.
461
462 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
463
464 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
465 Mark as obsolete and replace it with a symbol property.
466 (byte-compile-form): Use new 'interactive-only property.
467 * comint.el, files.el, replace.el, simple.el:
468 Apply new 'interactive-only properly.
469
470 2013-11-25 Martin Rudalics <rudalics@gmx.at>
471
472 * window.el (display-buffer-at-bottom): Make sure that
473 split-window-sensibly creates the new window on bottom
474 (Bug#15961).
475
476 2013-11-23 David Kastrup <dak@gnu.org>
477
478 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
479 on the conflict markers when available.
480 (smerge--get-marker): New function.
481 (smerge-end-re, smerge-base-re): Add subgroup.
482
483 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
484
485 * frame.el (handle-focus-in, handle-focus-out): Add missing
486 interactive spec.
487
488 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
489
490 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
491 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
492
493 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
496 (gomoku--last-pos): New var.
497 (gomoku--intangible-chars): New const.
498 (gomoku--intangible): New function.
499 (gomoku-mode): Use it. Derive from special-mode.
500 (gomoku-move-up): Adjust line count.
501 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
502 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
503 Simplify accordingly.
504
505 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
506 Remove blink-cursor code.
507 (blink-cursor-timer-function, blink-cursor-suspend):
508 Don't special-case GUIs.
509 (blink-cursor-mode): Use focus-in/out-hook.
510
511 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
512
513 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
514 work when annotation is invisible (Bug#13886).
515
516 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
517
518 * json.el (json-alist-p): Only return non-nil if the alist has
519 simple keys (Bug#13518).
520
521 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
522
523 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
524 when control-statement is the first statement in a buffer (Bug#15956).
525
526 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
527
528 * imenu.el (imenu-generic-skip-comments-and-strings):
529 New option (Bug#15560).
530 (imenu--generic-function): Use it.
531
532 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
533
534 * minibuffer.el (completion--in-region-1): Scroll the correct
535 window. (Bug#13898)
536
537 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
538
539 * emacs-lisp/helpers.el: Add some string helpers.
540 (string-trim-left): Removes leading whitespace.
541 (string-trim-right): Removes trailing whitespace.
542 (string-trim): Removes leading and trailing whitespace.
543
544 * subr.el (string-suffix-p): New function.
545
546 2013-11-23 Glenn Morris <rgm@gnu.org>
547
548 * progmodes/python.el (python-shell-send-file):
549 Add option to delete file when done. (Bug#15647)
550 (python-shell-send-string, python-shell-send-region): Use it.
551
552 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
553
554 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
555 to set buffer-read-only to t, never to nil. (Bug#15938)
556
557 * textmodes/tex-mode.el (latex-noindent-environments):
558 Add safe-local-variable property. (Bug#15936)
559
560 2013-11-23 Glenn Morris <rgm@gnu.org>
561
562 * textmodes/enriched.el (enriched-mode): Doc fix.
563 * emacs-lisp/authors.el (authors-renamed-files-alist):
564 Add enriched.doc -> enriched.txt.
565
566 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
567
568 2013-11-22 Leo Liu <sdl.web@gmail.com>
569
570 * progmodes/octave.el (inferior-octave-startup): Spit out error
571 message.
572
573 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
574
575 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
576 Improve docstring.
577 Add :version.
578 (ruby-encoding-magic-comment-style): Add :version.
579
580 2013-11-22 Leo Liu <sdl.web@gmail.com>
581
582 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
583 (Bug#15076)
584 (octave-help-mode): Adapt to change to help-mode-finish to use
585 derived-mode-p on 2013-09-17.
586 (inferior-octave-prompt): Also match octave-gui.
587 (octave-kill-process): Don't ask twice. (Bug#10564)
588
589 2013-11-22 Leo Liu <sdl.web@gmail.com>
590
591 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
592 (inferior-octave-startup, inferior-octave-check-process)
593 (inferior-octave-track-window-width-change)
594 (octave-completion-at-point, octave-eldoc-function): Use it.
595 (octave-kill-process): Provide confirmation. (Bug#10564)
596
597 2013-11-21 Leo Liu <sdl.web@gmail.com>
598
599 * progmodes/octave.el (octave-mode, inferior-octave-mode):
600 Fix obsolete variable comment-use-global-state.
601
602 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
603
604 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
605 Add `octave-source-file'.
606 (octave-source-file): New function. (Bug#15935)
607
608 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
609
610 * net/eww.el (eww-local-regex): New variable.
611 (eww): Use it to detect localhost and similar.
612
613 2013-11-21 Leo Liu <sdl.web@gmail.com>
614
615 Add completion for command `ag'.
616 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
617 (pcomplete/ag): New function.
618 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
619
620 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
621
622 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
623 (bug#14646).
624 (make-obsolete): Remove interactive spec.
625
626 2013-11-21 Glenn Morris <rgm@gnu.org>
627
628 * startup.el (command-line-1): Use path-separator with -L.
629
630 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
631
632 * emacs-lisp/package.el (describe-package-1): Add package archive
633 to shown fields.
634
635 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
636
637 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
638 Change default to "# encoding: %s" to differentiate it from the
639 default Ruby encoding comment template.
640
641 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
642
643 * ses.el (ses-mode): Doc fix. (Bug#14748)
644
645 2013-11-20 Leo Liu <sdl.web@gmail.com>
646
647 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
648
649 2013-11-19 Dan Nicolaescu <dann@gnu.org>
650
651 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
652 when rebase or bisect are in progress.
653
654 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
655
656 * filenotify.el (file-notify-add-watch): Doc fix.
657
658 2013-11-19 Leo Liu <sdl.web@gmail.com>
659
660 * obsolete/rcompile.el: Mark obsolete.
661
662 * progmodes/compile.el (compilation-start)
663 (compilation-goto-locus, compilation-find-file):
664 Pass no-display-ok and handle nil value from display-buffer.
665 (Bug#13594)
666
667 * window.el (display-buffer-alist, display-buffer): Document the
668 new parameter no-display-ok. Return either a window or nil
669 but never a non-window value.
670
671 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
672
673 * electric.el (electric-indent-mode-map): Remove.
674 (electric-indent-mode): Change the global-map instead (bug#15915).
675
676 * textmodes/text-mode.el (paragraph-indent-minor-mode):
677 Use add-function.
678
679 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
680
681 * emacs-lisp/nadvice.el (remove-function): Align with
682 add-function's behavior.
683
684 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
685 (gdb--string-regexp): New constant.
686 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
687 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
688 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
689 submatch 1.
690 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
691 Adjust use accordingly.
692 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
693
694 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
695
696 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
697 interpolation curlies (Bug#15914).
698
699 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
700
701 * calc/calc.el (calc-context-sensitive-enter): New variable.
702 (calc-enter): Use `calc-context-sensitive-enter'.
703
704 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
705
706 * progmodes/cfengine.el: Version bump.
707 (cfengine-cf-promises): New defcustom to locate cf-promises.
708 (cfengine3-vartypes): Add new "data" type.
709 (cfengine3--current-word): New function to get current name-like
710 word or its bounds.
711 (cfengine3--current-function): New function to look up a CFEngine
712 function's definition.
713 (cfengine3-format-function-docstring): New function.
714 (cfengine3-make-syntax-cache): New function.
715 (cfengine3-documentation-function): New function: ElDoc glue.
716 (cfengine3-completion-function): New function: completion glue.
717 (cfengine3-mode): Set `compile-command',
718 `eldoc-documentation-function', and add to
719 `completion-at-point-functions'.
720
721 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
722
723 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
724 `tramp-current-connection'.
725
726 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
727
728 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
729 nil/self/true/false with "end of symbol".
730
731 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
732
733 * subr.el (version-regexp-alist): Fix a typo.
734
735 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
736
737 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
738 "en_US.utf8" and "LC_CTYPE" to "".
739 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
740 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
741
742 2013-11-15 Leo Liu <sdl.web@gmail.com>
743
744 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
745
746 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 * progmodes/gud.el (ctl-x-map):
749 Remove C-x SPC binding. (Bug#12342)
750 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
751
752 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
753
754 * subr.el (version-regexp-alist):
755 Recognize hg, svn and darcs versions as snapshot versions.
756
757 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
758 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
759 (ruby--encoding-comment-required-p): Extract from
760 `ruby-mode-set-encoding'.
761 (ruby-mode-set-encoding): Add the ability to always insert an
762 utf-8 encoding comment. Fix and simplify coding comment update
763 logic.
764
765 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
766
767 * net/tramp-gvfs.el (top): Run init code only when
768 `tramp-gvfs-enabled' is not nil.
769 (tramp-gvfs-enabled): Check also :system bus.
770
771 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
772
773 Sync with upstream verilog-mode revision 78e66ba.
774 * progmodes/verilog-mode.el (verilog-end-of-defun)
775 (verilog-type-completion, verilog-get-list): Remove unused funcs.
776 (verilog-get-end-of-defun): Remove unused argument.
777 (verilog-comment-depth): Remove unused local `e'.
778 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
779 Don't pass arg to verilog-get-end-of-defun.
780
781 2013-11-14 Glenn Morris <rgm@gnu.org>
782
783 * obsolete/assoc.el (aget): Prefix dynamic variable.
784
785 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
786
787 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * widget.el, hfy-cmap.el: Remove bogus package version number.
790
791 2013-11-13 Glenn Morris <rgm@gnu.org>
792
793 * replace.el (replace-eval-replacement):
794 Try to give more helpful error message. (Bug#15836)
795
796 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
797 (archive-7z-update): Avoid custom type mismatches.
798
799 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
800
801 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
802
803 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
804 address can be empty.
805
806 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
807 Accept nil SWITCHES.
808 (tramp-gvfs-handle-write-region): Implement APPEND.
809
810 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
811
812 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
813 binary "|" operator and closing block args delimiter.
814 Remove FIXME comment referring to Ruby 1.8-only syntax.
815 (ruby-smie--implicit-semi-p): Not after "|" operator.
816 (ruby-smie--closing-pipe-p): New function.
817 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
818 (ruby-smie-rules): Indent after "|".
819
820 2013-11-12 Glenn Morris <rgm@gnu.org>
821
822 * ps-print.el (ps-face-attribute-list):
823 Handle anonymous faces. (Bug#15827)
824
825 2013-11-12 Martin Rudalics <rudalics@gmx.at>
826
827 * window.el (display-buffer-other-frame): Fix doc-string.
828 (Bug#15868)
829
830 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * subr.el (force-mode-line-update): Delete, move to buffer.c.
833
834 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
835
836 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
837 (tramp-sh-handle-file-local-copy): Don't write a message when
838 saving temporary files.
839
840 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
841 both directories are remote.
842 (tramp-smb-handle-directory-files): Do not return double entries.
843 Do not expand full file names.
844 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
845 (tramp-smb-handle-write-region): Implement APPEND.
846 (tramp-smb-get-stat-capability): Fix a stupid bug.
847
848 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
849
850 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
851
852 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
853
854 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
855 throwing error over malformed let/let* (bug#15814).
856
857 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
858
859 * iswitchb.el (iswitchb-mode): Mark obsolete.
860
861 2013-11-11 Glenn Morris <rgm@gnu.org>
862
863 * international/uni-bidi.el, international/uni-category.el:
864 * international/uni-name.el, international/uni-numeric.el:
865 Regenerate for Unicode 6.3.0.
866
867 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
868
869 * net/tramp.el (tramp-methods):
870 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
871 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
872
873 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
874
875 * progmodes/sh-script.el (sh-font-lock-keywords-var):
876 Force highlighting text after Summary keyword in doc face for rpm.
877
878 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
879
880 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
881 available and the word has no wildcards, append one to the grep pattern.
882 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
883 (ispell-complete-word): Call `ispell-lookup-words' with the value
884 independent of `ispell-look-p'.
885
886 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
887
888 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
889 Not after "||".
890 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
891 their parent.
892
893 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
894
895 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
896 (ruby-font-lock-keywords): Use backquote.
897
898 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
899
900 * progmodes/ruby-mode.el (ruby-smie--forward-token)
901 (ruby-smie--backward-token): Only consider full-string matches.
902
903 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
904
905 * faces.el (describe-face): Add distant-foreground.
906
907 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
908
909 * progmodes/ruby-mode.el: Improve encoding comment handling.
910 (ruby-encoding-magic-comment-style): New option.
911 (ruby-custom-encoding-magic-comment-template): New option.
912 (ruby--insert-coding-comment, ruby--detect-encoding):
913 New functions extracted from `ruby-mode-set-encoding'.
914 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
915 to control the style of the auto-inserted encoding comment.
916
917 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
918
919 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
920 Use `smie-backward-sexp' with token argument.
921
922 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
923
924 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
925 Remove instrumentation code.
926
927 2013-11-08 Glenn Morris <rgm@gnu.org>
928
929 * progmodes/autoconf.el (autoconf-mode):
930 Tweak comment-start-skip. (Bug#15822)
931
932 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
935 at bobp (bug#15826).
936 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
937
938 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
939
940 * man.el (Man-start-calling): New macro, extracted from
941 Man-getpage-in-background.
942 (Man-getpage-in-background): Use it.
943 (Man-update-manpage): New command.
944 (Man-mode-map): Bind it.
945
946 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
947
948 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
949 of "and", "or", "&&" and "||".
950 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
951 argument. Prohibit opening curly brace because it could only be a
952 block opener in that position.
953 (ruby-smie--forward-token, ruby-smie--backward-token):
954 Separate "|" from "&" or "*" going after it. That can happen in block
955 arguments.
956 (ruby-smie--indent-to-stmt): New function, seeks the end of
957 previous statement or beginning of buffer.
958 (ruby-smie-rules): Use it.
959 (ruby-smie-rules): Check if there's a ":" before a curly block
960 opener candidate; if there is, it's a hash.
961
962 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
963
964 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
965 (cl--block-wrapper): Fix last accidental change.
966
967 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
968
969 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
970 Instrument, in order to hunt failure on hydra.
971
972 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
973
974 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
975 malformed bindings form (bug#15814).
976
977 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
978
979 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
980 "." compared to " @ ". This incidentally fixes some indentation
981 examples with "do".
982 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
983 (ruby-smie-grammar): New tokens: "and" and "or".
984 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
985 Exclude "and" and "or". Remove "do" in order to work around token
986 priorities.
987 (ruby-smie-rules): Add all infix tokens. Handle the case of
988 beginning-of-buffer.
989
990 2013-11-06 Glenn Morris <rgm@gnu.org>
991
992 * Makefile.in (setwins_almost, setwins_for_subdirs):
993 Avoid accidental matches.
994
995 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
996
997 * menu-bar.el (popup-menu): Use key-binding.
998
999 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1000
1001 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1002 menus, support also the menus produced by minor modes.
1003 (Bug#15817)
1004
1005 2013-11-06 Leo Liu <sdl.web@gmail.com>
1006
1007 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1008 DISTANCE to bound the search. All uses changed. (Bug#15808)
1009
1010 2013-11-06 Glenn Morris <rgm@gnu.org>
1011
1012 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1013 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1014 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1015
1016 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * electric.el (electric-indent-just-newline): New command.
1019 (electric-indent-mode-map): New keymap.
1020 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1021 Re-add :group which weren't redundant.
1022
1023 * electric.el (electric-indent-local-mode): New minor mode.
1024 (electric-indent-functions-without-reindent): New var.
1025 (electric-indent-post-self-insert-function): Use it.
1026 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1027
1028 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1029
1030 * international/quail.el (quail-help): Be more explicit about the
1031 meaning of the labels shown on the keys. (Bug#15800)
1032
1033 * startup.el (normal-top-level): Load the subdirs.el files before
1034 setting the locale environment. (Bug#15805)
1035
1036 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1037
1038 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1039 via arguments so as to get the right ones (bug#15418).
1040
1041 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1042
1043 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1044
1045 Fix problems found while writing a test suite.
1046
1047 * net/tramp-compat.el (tramp-compat-load): New defun.
1048 * net/tramp.el (tramp-handle-load): Use it.
1049
1050 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1051 "(numberp ok-if-already-exists)" correctly.
1052
1053 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1054
1055 * international/characters.el (glyphless-char-display-control):
1056 Add usage note.
1057
1058 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1059
1060 * progmodes/python.el (python-mode):
1061 * progmodes/scheme.el (scheme-mode):
1062 * progmodes/prolog.el (prolog-mode):
1063 * progmodes/ruby-mode.el (ruby-mode):
1064 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1065 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1066
1067 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * rect.el (rectangle--highlight-for-redisplay):
1070 * emacs-lisp/smie.el (smie--next-indent-change):
1071 Use buffer-chars-modified-tick.
1072
1073 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1074
1075 * electric.el (electric-indent-post-self-insert-function):
1076 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1077
1078 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1079
1080 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1081
1082 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1083
1084 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1085 (bug#15786).
1086
1087 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1088
1089 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1090
1091 * progmodes/python.el: Fix up last change.
1092 (python-shell--save-temp-file): New function.
1093 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1094 `string' comes from the current buffer.
1095 (python-shell-send-string-no-output): Remove `msg' arg.
1096 (python--use-fake-loc): New var.
1097 (python-shell-buffer-substring): Obey it. Try to compensate for the
1098 extra coding line added by python-shell--save-temp-file.
1099 (python-shell-send-region): Use python-shell--save-temp-file and
1100 python-shell-send-file directly. Add `nomain' argument.
1101 (python-shell-send-buffer): Use python-shell-send-region.
1102 (python-electric-pair-string-delimiter): New function.
1103 (python-mode): Use it.
1104
1105 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1106
1107 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1108 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1109 environment and decoding all of the default-directory's to here
1110 from command-line.
1111 (command-line): Decode also argv[0].
1112
1113 * loadup.el: Error out if default-directory is a multibyte string
1114 when we are dumping.
1115
1116 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1117
1118 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1119
1120 * emacs-lisp/package.el (package-menu-mode)
1121 (package-menu--print-info, package-menu--archive-predicate):
1122 Add Archive column to package list.
1123
1124 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1125
1126 Fix problems found while writing a test suite.
1127
1128 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1129 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1130 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1131 to nil when running original file name handler. Otherwise,
1132 there are problems with constructs like "$$FOO".
1133
1134 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1135 for `localname'.
1136
1137 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1138
1139 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1140
1141 * subr.el (version<, version<=, version=):
1142 Update docstrings with information for snapshot versions.
1143
1144 * helpers.el: New library for misc helper functions.
1145 (hash-table-keys): New function returning a list of hash keys.
1146 (hash-table-values): New function returning a list of hash values.
1147
1148 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1149
1150 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1151 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1152
1153 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1154
1155 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1156 checking whether point is after a 1-letter word.
1157
1158 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1159
1160 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1161 Don't infloop when expanding region over `multiline' syntax-type that
1162 begins a line (bug#15778).
1163
1164 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1165
1166 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1167 Make it into a proper minor mode.
1168 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1169 (rectangle-mark-mode-map): New keymap.
1170 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1171
1172 2013-11-04 Glenn Morris <rgm@gnu.org>
1173
1174 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1175
1176 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1177
1178 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1179 (ruby-smie-rules): Use smie-rule-parent instead.
1180
1181 * emacs-lisp/smie.el (smie-rule-parent): Always call
1182 smie-indent-virtual rather than only for hanging tokens.
1183 (smie--next-indent-change): New helper command.
1184
1185 2013-11-03 Glenn Morris <rgm@gnu.org>
1186
1187 * Makefile.in (abs_srcdir): Remove.
1188 (emacs): Unset EMACSLOADPATH.
1189
1190 2013-11-02 Glenn Morris <rgm@gnu.org>
1191
1192 * Makefile.in (EMACS): Use a relative filename.
1193 (abs_top_builddir): Remove.
1194 (custom-deps, finder-data, autoloads): Use --chdir.
1195
1196 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1197
1198 Use relative filenames in TAGS files.
1199 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1200 (lisptagsfiles4, TAGS): Use relative file names.
1201 (TAGS-LISP): Remove.
1202 (maintainer-clean): No more TAGS-LISP file.
1203
1204 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1205 (lisptagsfiles4): Use absolute filenames again.
1206 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1207 Remove all *loaddefs files, not just the first. Remove esh-groups.
1208 (maintainer-clean): Delete TAGS, TAGS-LISP.
1209
1210 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1211
1212 * emacs-lisp/package.el (package-version-join):
1213 Recognize snapshot versions.
1214
1215 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1216
1217 * subr.el (version-regexp-alist): Add support for snapshot versions.
1218
1219 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1220
1221 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1222 New function, replacement for `smie-rule-parent' for when we want to
1223 skip over our direct parent if it's an assignment token..
1224 (ruby-smie-rules): Use it.
1225
1226 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1227
1228 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1229 unconditionally. Remove now unnecessary forward declarations.
1230 Remove XEmacs-specific setup.
1231 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1232 (ruby-font-lock-syntactic-keywords)
1233 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1234 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1235 (ruby-here-doc-end-syntax): Remove.
1236 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1237 defined as function.
1238
1239 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1240
1241 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1242
1243 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1244
1245 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1246 table and abbrev table, `define-derived-mode' does that for us
1247 anyway.
1248
1249 2013-11-01 Glenn Morris <rgm@gnu.org>
1250
1251 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1252 files is atomic for some time, so no parallel compilation issues).
1253
1254 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1255
1256 * faces.el (face-x-resources): Add :distant-foreground.
1257 (region): Use :distant-foreground for gtk and ns.
1258
1259 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1260
1261 Allow multiple bibliographies when BibLaTeX is used rather than
1262 BibTeX.
1263 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1264 (reftex-locate-bibliography-files): Us it.
1265
1266 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1267
1268 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1269 allow comments in pbm files.
1270
1271 * term/w32-win.el (dynamic-library-alist): Support newer versions
1272 of libjpeg starting with v7: look only for the DLL from the
1273 version against which Emacs was built.
1274 Support versions of libpng beyond 1.4.x.
1275 Support libtiff v4.x.
1276
1277 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1278
1279 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1280 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1281 Add property :safe.
1282 (ruby-deep-arglist): Add property :type.
1283
1284 2013-10-31 Glenn Morris <rgm@gnu.org>
1285
1286 * Makefile.in (custom-deps, finder-data): No need to setq the target
1287 variables, we are in the right directory and the defaults work fine.
1288
1289 2013-10-30 Glenn Morris <rgm@gnu.org>
1290
1291 * Makefile.in (autoloads): Do not use abs_lisp.
1292
1293 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1294 `newline' does not respect `standard-output', so use `princ'.
1295
1296 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1297
1298 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1299 * buff-menu.el (Buffer-menu--unmark): New function.
1300 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1301
1302 2013-10-30 Glenn Morris <rgm@gnu.org>
1303
1304 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1305
1306 * emacs-lisp/package.el (lm-homepage): Declare.
1307
1308 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1309 Fix doc typos.
1310
1311 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1312
1313 * Makefile.in (finder-data, autoloads, update-subdirs)
1314 (compile-main, compile-clean, compile-always, bootstrap-clean):
1315 Check return value of cd.
1316 (compile-calc): Remove.
1317
1318 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1321
1322 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1323 (byte-compile-and-folded): New function.
1324 (=, <, >, <=, >=): Use it.
1325
1326 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1327 (path-separator, null-device, buffer-file-coding-system)
1328 (lpr-headers-switches): Check system-type before modifying them.
1329 (find-buffer-file-type-coding-system): Mark obsolete.
1330 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1331 find-file-not-found-set-buffer-file-coding-system.
1332 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1333 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1334 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1335 (w32-direct-print-region-helper, w32-direct-print-region-function)
1336 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1337 * startup.el (normal-top-level-add-subdirs-to-load-path):
1338 * ps-print.el (ps-print-region-function):
1339 * lpr.el (print-region-function): Use new name.
1340
1341 * subr.el (custom-declare-variable-early): Remove function.
1342 (custom-declare-variable-list): Remove var.
1343 (error, user-error): Remove `while' loop.
1344 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1345 (user-emacs-directory-warning, locate-user-emacs-file):
1346 Move to files.el.
1347 * simple.el (read-quoted-char-radix, read-quoted-char):
1348 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1349 Move from subr.el.
1350 * custom.el (custom-declare-variable-list): Don't process
1351 custom-declare-variable-list.
1352
1353 * progmodes/python.el (python-shell-get-buffer): New function.
1354 (python-shell-get-process): Use it.
1355 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1356 Python which encoding was used. Don't split-string since we only care
1357 about the first line. Return the temp-file, if applicable.
1358 (python-shell-send-region): Tell compile.el how to turn locations in
1359 the temp-file into locations in the source buffer.
1360
1361 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1362
1363 * subr.el (undefined): Add missing behavior from the C code for
1364 unbound keys.
1365
1366 * rect.el: Use lexical-binding. Add new rectangular region support.
1367 (rectangle-mark): New command.
1368 (rectangle--region): New var.
1369 (deactivate-mark-hook): Reset rectangle--region.
1370 (rectangle--extract-region, rectangle--insert-for-yank)
1371 (rectangle--highlight-for-redisplay)
1372 (rectangle--unhighlight-for-redisplay): New functions.
1373 (region-extract-function, redisplay-unhighlight-region-function)
1374 (redisplay-highlight-region-function): Use them to handle
1375 rectangular region.
1376 * simple.el (region-extract-function): New var.
1377 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1378 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1379 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1380 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1381 (redisplay-unhighlight-region-function)
1382 (redisplay-highlight-region-function): New vars.
1383 (redisplay--update-region-highlight): New function.
1384 (pre-redisplay-function): Use it.
1385 (exchange-point-and-mark): Don't deactivate the mark before
1386 reactivate-it anyway.
1387 * comint.el (comint-kill-region): Remove yank-handler argument.
1388 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1389 (delete-char): Remove property, since it's now part of their
1390 default behavior.
1391 (self-insert-iso): Remove property since this command doesn't exist.
1392
1393 * emacs-lisp/package.el (package--download-one-archive)
1394 (describe-package-1): Don't query the user about final newline.
1395
1396 2013-10-29 Daniel Colascione <dancol@dancol.org>
1397
1398 * net/tramp.el (tramp-methods): Document new functionality.
1399 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1400 tramp-hostname-checker if method provides one instead of scanning
1401 argument list for "%h" to decide hostname acceptability.
1402
1403 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1404
1405 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1406 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1407 Handle COPY-CONTENTS. (Bug#15737)
1408
1409 2013-10-28 Daiki Ueno <ueno@gnu.org>
1410
1411 * epa-file.el
1412 (epa-file-cache-passphrase-for-symmetric-encryption):
1413 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1414
1415 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1416
1417 * image.el (defimage):
1418 (image-load-path): Doc fixes.
1419
1420 2013-10-27 Alan Mackenzie <acm@muc.de>
1421
1422 Indent statements in macros following "##" correctly.
1423 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1424 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1425
1426 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1427
1428 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1429
1430 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1431
1432 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1433 after `=' is probably a new expression.
1434
1435 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1436
1437 * man.el (man-imenu-title): New option.
1438 (Man-mode-map): Add menu. (Bug#15722)
1439 (Man-mode): Add imenu to menu.
1440
1441 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1442
1443 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1444 specific in what the first arg can be: a non-keyword word,
1445 string/regexp/percent literal opener, opening paren, or unary
1446 operator followed directly by word.
1447
1448 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1449
1450 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1451 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1452 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1453 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1454 Remove vars, they do not apply any more.
1455 (prolog-mode-abbrev-table): Remove redundant declaration.
1456 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1457 (prolog-use-smie): Remove.
1458 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1459 supported by prolog-electric-if-then-else-flag.
1460 (prolog-mode-variables, prolog-menu): Use setq-local.
1461 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1462 Remove binding to `Backspace' since this key doesn't exist anyway.
1463 Remove bindings for electric self-inserting keys.
1464 (prog-mode): Assume it's defined.
1465 (prolog-post-self-insert): New function.
1466 (prolog-mode): Use it.
1467 (prolog-indent-line, prolog-indent-level)
1468 (prolog-find-indent-of-matching-paren)
1469 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1470 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1471 (prolog-goto-next-paren, prolog-in-string-or-comment)
1472 (prolog-tokenize, prolog-inside-mline-comment)
1473 (prolog-find-start-of-mline-comment): Remove functions.
1474 (prolog-find-unmatched-paren, prolog-clause-end)
1475 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1476 (prolog-electric--if-then-else): Rename from
1477 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1478 (prolog-tokenize-searchkey): Remove const.
1479 (prolog-clause-info): Use forward-sexp.
1480 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1481 (prolog-electric-if-then-else): Remove commands.
1482 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1483 for use in post-self-insert-hook.
1484 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1485 for use in post-self-insert-hook.
1486 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1487 for use in post-self-insert-hook.
1488 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1489 adapt it for use in post-self-insert-hook.
1490
1491 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1492
1493 * emacs-lisp/ert.el (ert-run-tests-interactively):
1494 Use `completing-read'. (Bug#9756)
1495
1496 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1497
1498 * simple.el (line-move): Call line-move-1 instead of
1499 line-move-visual when the current window hscroll is zero, but
1500 temporary-goal-column indicates we will need to hscroll as result
1501 of the movement. (Bug#15712)
1502
1503 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1504
1505 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1506 capitalization. Use :visible instead of :active.
1507 Fix `ruby-indent-exp' reference. Add menu items for the generic
1508 commands that are used with SMIE.
1509 (ruby-do-end-to-brace): Insert space after `{'.
1510
1511 2013-10-25 John Anthony <john@jo.hnanthony.com>
1512
1513 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1514
1515 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1516
1517 2013-10-25 Glenn Morris <rgm@gnu.org>
1518
1519 * vc/vc.el (vc-print-log): Don't use a working revision unless
1520 one was explicitly specified. (Bug#15322)
1521
1522 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1523
1524 * subr.el (add-to-list): Preserve return value in compiler-macro
1525 (bug#15692).
1526
1527 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1528
1529 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1530 result. Ask user to retry using '-all' flag. (Bug#15701)
1531
1532 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1533
1534 * emacs-lisp/smie.el: New smie-config system.
1535 (smie-config): New defcustom.
1536 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1537 (smie-config-guess, smie-config-save): New commands.
1538 (smie-config--mode-local, smie-config--buffer-local)
1539 (smie-config--trace, smie-config--modefuns): New vars.
1540 (smie-config--advice, smie-config--mode-hook)
1541 (smie-config--setter, smie-config-local, smie-config--get-trace)
1542 (smie-config--guess-value, smie-config--guess): New functions.
1543 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1544 text properties. Treat "string fence" syntax like string syntax.
1545
1546 * progmodes/sh-script.el (sh-use-smie): Change default.
1547 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1548 (sh-var-value): Simplify by CSE.
1549 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1550 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1551 is used.
1552 (sh-guess-basic-offset): Use cl-incf.
1553 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1554
1555 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1556
1557 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1558 (bug#15699).
1559
1560 2013-10-24 Glenn Morris <rgm@gnu.org>
1561
1562 * Makefile.in (abs_top_srcdir): Remove.
1563 (update-subdirs): Use relative path to update-subdirs.
1564
1565 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1566
1567 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1568 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1569 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1570 Call unmsys--file-name before expand-file-name, not after it.
1571
1572 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1573
1574 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1575 (ert-test-skipped): New error.
1576 (ert-skip, ert-stats-skipped): New defuns.
1577 (ert--skip-unless): New macro.
1578 (ert-test-skipped): New struct.
1579 (ert--run-test-debugger, ert-test-result-type-p)
1580 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1581 (ert--stats-set-test-and-result, ert-char-for-test-result)
1582 (ert-string-for-test-result, ert-run-tests-batch)
1583 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1584 Handle skipped tests. (Bug#9803)
1585
1586 2013-10-24 Glenn Morris <rgm@gnu.org>
1587
1588 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1589
1590 * Makefile.in (abs_top_srcdir): New, set by configure.
1591 (update-subdirs): Correct build-aux location.
1592
1593 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1594
1595 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1596 value, whether we could auto-deduce `backend', or not.
1597
1598 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1599 with parameters" example. Simplify the "is it block or is it
1600 hash" check, but also make it more thorough.
1601
1602 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1603
1604 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1605
1606 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1609 { if it is hanging.
1610
1611 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1612 :before ";".
1613
1614 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1615
1616 * progmodes/compile.el (compilation-directory-matcher)
1617 (compilation-page-delimiter):
1618 Support GNU Make-4.0 directory quoting. (Bug#15678)
1619
1620 2013-10-23 Leo Liu <sdl.web@gmail.com>
1621
1622 * ido.el (ido-tidy): Handle read-only text.
1623
1624 2013-10-23 Glenn Morris <rgm@gnu.org>
1625
1626 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1627 (emacs, compile, compile-always):
1628 Quote entities that might contain whitespace.
1629 (custom-deps, finder-data, autoloads): Use abs_lisp.
1630 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1631 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1632 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1633
1634 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1635
1636 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1637 Use `following-char'.
1638
1639 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1640
1641 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1642 * progmodes/ruby-mode.el (ruby-smie-rules):
1643 Remove corresponding workaround. Fix indentation rule of ";" so it
1644 also applies when ";" is the parent.
1645
1646 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1647
1648 * frame.el (display-screens, display-pixel-height)
1649 (display-pixel-width, display-mm-width, display-backing-store)
1650 (display-save-under, display-planes, display-color-cells)
1651 (display-visual-class, display-monitor-attributes-list):
1652 Mention the optional ‘display’ argument in doc strings.
1653
1654 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1655
1656 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1657 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1658
1659 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1660
1661 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1662 TODO. Add "." after " @ ".
1663 (ruby-smie--at-dot-call): New function. Checks if point at method
1664 call with explicit target.
1665 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1666 to the method name tokens when it precedes them.
1667 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1668 (ruby-smie-rules): Add rule for indentation before and after "."
1669 token.
1670
1671 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1672
1673 * textmodes/remember.el (remember-diary-extract-entries):
1674 Avoid add-to-list.
1675
1676 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1677 an instruction.
1678
1679 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1680
1681 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1682 (ruby-smie--implicit-semi-p): Add new operator chars.
1683
1684 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1685 `smie-down-list'.
1686 (ruby-smie--args-separator-p): Check that there's no newline
1687 between method call and its arguments.
1688
1689 2013-10-20 Alan Mackenzie <acm@muc.de>
1690
1691 Allow comma separated lists after Java "implements".
1692
1693 * progmodes/cc-engine.el (c-backward-over-enum-header):
1694 Parse commas.
1695 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1696 from a "disallowed" list in enum fontification.
1697
1698 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1699
1700 * startup.el (default-frame-background-mode): Remove unused defvar.
1701
1702 * progmodes/verilog-mode.el (verilog-mode): Don't set
1703 comment-indent-function globally.
1704
1705 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1706
1707 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1708 Move Info menu item creation to ns-win.el.
1709
1710 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1711 in menu bar.
1712
1713 * menu-bar.el: Move GNUStep specific menus...
1714
1715 * term/ns-win.el (ns-initialize-window-system): ... to here.
1716
1717 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1718
1719 * simple.el (newline): Only run post-self-insert-hook when
1720 called interactively.
1721
1722 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1723
1724 * icomplete.el (icomplete-with-completion-tables): Add :version.
1725
1726 2013-10-19 Alan Mackenzie <acm@muc.de>
1727
1728 Fix fontification bugs with constructors and const.
1729
1730 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1731 CASE 2) Remove the check for the absence of a suffix construct
1732 after a function declaration with only types (no identifiers) in
1733 the parentheses. Also, accept a function declaration with just a
1734 type inside the parentheses, if this type can be positively
1735 recognised as such, or if a prefix keyword like "explicit" nails
1736 down the construct as a declaration.
1737
1738 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1739
1740 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1741 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1742 the problem whereby selecting a menu item that leads to a
1743 minibuffer prompt moves the cursor out of the minibuffer window,
1744 making it hard to type at the prompt. Suggested by Stefan Monnier
1745 <monnier@iro.umontreal.ca>.
1746
1747 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1748
1749 * menu-bar.el: Don't make Services menu.
1750
1751 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1752
1753 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1754 (ffap-alist): Use ffap-c++-mode for c++-mode.
1755 (ffap-c++-path): New variable.
1756 (ffap-c++-mode): New function.
1757
1758 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1759
1760 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1761
1762 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1763
1764 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1765 introduced on 2013-09-08, which results in an infinite loop
1766 requesting a password.
1767
1768 2013-10-18 Glenn Morris <rgm@gnu.org>
1769
1770 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1771
1772 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1773
1774 Sync with upstream verilog-mode revision 1a6ecec7.
1775 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1776 (verilog-mode-release-date): Remove.
1777 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1778 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1779 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1780 (verilog-auto-tieoff-ignore-regexp)
1781 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1782 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1783 (verilog-signals-with, verilog-dir-cache-preserving)
1784 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1785 Doc fixes.
1786 (verilog-case-fold): New option, to control case folding in
1787 regexp searches, bug597.
1788 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1789 (verilog-string-match-fold, verilog-in-paren-count)
1790 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1791 (verilog-at-close-struct-p): New functions.
1792 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1793 (verilog-forward-sexp, verilog-set-auto-endcomments):
1794 (verilog-leap-to-case-head): Handle "unique0" case.
1795 (verilog-in-constraint-re): New constant.
1796 (verilog-keywords, verilog-type-font-keywords):
1797 Add some SystemVerilog 1800-2012 keywords.
1798 (verilog-label-be): Remove unimplemented argument, bug669.
1799 (verilog-batch-execute-func): When batch expanding clear
1800 create-lockfiles to prevent spurious user locks when a file ends
1801 up not changing.
1802 (verilog-calculate-indent, verilog-calc-1)
1803 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1804 (verilog-do-indent): Fix indentation of nested constraints
1805 and structures.
1806 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1807 (verilog-auto-inst-param): Use verilog-string-match-fold.
1808 (verilog-read-inst-module-matcher):
1809 Fix AUTOINST on gate primitives with #1.
1810 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1811 Reads all user-defined typed variables.
1812 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1813 (verilog-signals-matching-regexp)
1814 (verilog-signals-not-matching-regexp, verilog-auto):
1815 Respect verilog-case-fold.
1816 (verilog-diff-report): Fix line count.
1817 (verilog-auto-assign-modport): Remove unused local `modi'.
1818 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1819 better handle multidimensional arrays.
1820 Fix packed array ports misadding bit index in AUTOINST, bug637.
1821 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1822 to not double-declare existing outputs and inputs, respectively.
1823 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1824 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1825 (verilog-sk-uvm-component): New skeleton.
1826 (verilog-submit-bug-report): Add verilog-case-fold,
1827 remove verilog-mode-release-date.
1828
1829 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1830
1831 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1832 as before.
1833
1834 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1835
1836 * textmodes/remember.el (remember): set buffer-offer-save in
1837 remember buffers (bug#13566).
1838
1839 2013-10-18 Daniel Colascione <dancol@dancol.org>
1840
1841 When evaluating forms in ielm, direct standard output to ielm
1842 buffer. Add new ielm-return-for-effect command. Remove trailing
1843 whitespace throughout.
1844
1845 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1846 (ielm-return-for-effect): New command.
1847 (ielm-send-input): Accept optional `for-effect' parameter.
1848 (ielm-eval-input): Accept optional `for-effect' parameter.
1849 Bind `standard-output' to stream we create using
1850 `ielm-standard-output-impl'. Suppress printing result when
1851 `for-effect'.
1852 (ielm-standard-output-impl): New function.
1853 (inferior-emacs-lisp-mode): Explain new features in documentation.
1854
1855 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1856
1857 Code cleanup.
1858
1859 * net/tramp.el (tramp-debug-message): Do not check for connection
1860 buffer.
1861 (tramp-message): Use "vector" connection property.
1862
1863 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1864 (tramp-equal-remote, tramp-eshell-directory-change)
1865 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1866 (tramp-adb-handle-rename-file)
1867 * net/tramp-cmds.el (tramp-list-remote-buffers)
1868 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1869 * net/tramp-compat.el (tramp-compat-process-running-p)
1870 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1871 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1872 (tramp-gvfs-handle-rename-file)
1873 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1874 (tramp-set-file-uid-gid)
1875 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1876 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1877 of `file-remote-p'.
1878
1879 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1880 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1881 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1882 (tramp-gw-open-network-stream): Suppress unrelated traces.
1883
1884 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1885 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1886 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1887 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1888 connection property.
1889
1890 * net/tramp-cache.el (top): Suppress traces when reading
1891 persistency file.
1892
1893 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1894 Refactor common code. Improve debug message.
1895 (tramp-maybe-open-connection)
1896 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1897 connection buffer too early.
1898
1899 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1900 from `tramp-smb-actions-with-acl'.
1901 (tramp-smb-actions-set-acl): New defconst.
1902 (tramp-smb-handle-copy-directory)
1903 (tramp-smb-action-get-acl): New defun, renamed from
1904 `tramp-smb-action-with-acl'.
1905 (tramp-smb-action-set-acl): New defun.
1906 (tramp-smb-handle-set-file-acl): Rewrite.
1907
1908 2013-10-17 Glenn Morris <rgm@gnu.org>
1909
1910 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1911
1912 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1913
1914 * skeleton.el (skeleton-newline): Remove.
1915 (skeleton-internal-1): Use (insert "\n") instead.
1916
1917 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1918 let-bindings.
1919
1920 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1921 forward-sexp-function while we redo its job (bug#15613).
1922
1923 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1924
1925 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1926 represented by lists.
1927
1928 2013-10-16 Glenn Morris <rgm@gnu.org>
1929
1930 * tmm.el (tmm--history): New dynamic variable.
1931 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1932
1933 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1934
1935 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1936 (tramp-smb-errors): Add error messages.
1937 (tramp-smb-actions-with-acl): New defconst.
1938 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1939 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1940 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1941 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1942 (tramp-smb-get-stat-capability): Fix tests.
1943
1944 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1945
1946 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1947 (bug#15580).
1948
1949 2013-10-16 Glenn Morris <rgm@gnu.org>
1950
1951 * ansi-color.el (ansi-color-drop-regexp):
1952 Add 1J, 1K, 2K. (Bug#15617)
1953
1954 * files.el (hack-local-variables--warned-lexical): New.
1955 (hack-local-variables):
1956 Warn about misplaced lexical-binding. (Bug#15616)
1957
1958 * net/eww.el (eww-render): Always set eww-current-url,
1959 and update header line. (Bug#15622)
1960 (eww-display-html): ... Rather than just doing it here.
1961
1962 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1963
1964 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1965 menu navigations commands.
1966
1967 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1968
1969 * progmodes/subword.el (subword-capitalize): Be careful when
1970 the search for [[:alpha:]] fails (bug#15580).
1971
1972 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1973
1974 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1975 to commands that scroll the menu.
1976
1977 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1978
1979 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1980 Handle methods ending with `?' and `!'.
1981
1982 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1983
1984 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1985 `japanese-cp932' to `cp932' to fix the problem where saving a
1986 source file written in Shift_JIS twice would end up having
1987 `coding: japanese-cp932' which Ruby could not recognize.
1988 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1989 in `ruby-encoding-map'.
1990 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1991 doesn't need to be explicitly declared in magic comment.
1992 (ruby-encoding-map): Add type declaration for better customize UI.
1993
1994 2013-10-13 Glenn Morris <rgm@gnu.org>
1995
1996 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1997 Occur buffers are read-only. http://bugs.debian.org/720775
1998
1999 * emacs-lisp/authors.el (authors-fixed-entries):
2000 Comment out old alpha stuff.
2001
2002 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2003
2004 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2005 to `after-save-hook' instead of `before-save-hook'.
2006 (ruby-mode-set-encoding): Use the value of coding system used to
2007 write the file. Call `basic-save-buffer-1' after modifying the
2008 buffer.
2009
2010 2013-10-13 Alan Mackenzie <acm@muc.de>
2011
2012 Fix indentation/fontification of Java enum with
2013 "implements"/generic.
2014
2015 * progmodes/cc-engine.el (c-backward-over-enum-header):
2016 Extracted from the three other places and enhanced to handle generics.
2017 (c-inside-bracelist-p): Uses new function above.
2018 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2019 function above.
2020 (c-font-lock-enum-tail): Uses new function above.
2021
2022 2013-10-13 Kenichi Handa <handa@gnu.org>
2023
2024 * international/mule-cmds.el (select-safe-coding-system): Remove a
2025 superfluous condition in chekcing whether a coding system is safe
2026 or not.
2027
2028 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2029
2030 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2031
2032 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2033
2034 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2035
2036 2013-10-13 Glenn Morris <rgm@gnu.org>
2037
2038 * menu-bar.el (menu-bar-update-buffers):
2039 Unify Buffers menu prompt string. (Bug#15576)
2040
2041 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2042
2043 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2044 Add some entries.
2045 (authors-fixed-entries): Use accented form of name.
2046
2047 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2050 method calls (bug#15594).
2051 (ruby-smie--args-separator-p): New function.
2052 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2053 recognize paren-free method calls.
2054
2055 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2056 internals of universal-argument.
2057
2058 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2059
2060 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2061 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2062 dropped menu on second mouse click on the menu bar.
2063
2064 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2065
2066 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2067 (explicit-shell-file-name): Declare.
2068 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2069 (sh-completion-at-point-function): New function.
2070 (sh-mode): Use it.
2071 (sh-smie--keyword-p): Remove unused argument.
2072 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2073 vars.
2074 (sh-set-shell): Always setup SMIE, even if we use the
2075 old indentation code.
2076
2077 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2078
2079 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2080 cases of ? and =.
2081 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2082 predicate would return nil are almost non-existent.
2083 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2084
2085 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2086 cache also after commands that modify the buffer but don't move
2087 point.
2088
2089 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2090
2091 * env.el (substitute-env-in-file-name): New function.
2092 (substitute-env-vars): Extend the meaning of the optional arg.
2093
2094 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2095
2096 * term/w32-win.el (dynamic-library-alist): Define separate lists
2097 of GIF DLLs for versions before and after 5.0.0 of giflib.
2098 (Bug#15531)
2099
2100 2013-10-10 João Távora <joaotavora@gmail.com>
2101
2102 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2103 not locked, use last revision and current source as
2104 defaults. (Bug#15569)
2105
2106 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2107
2108 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2109 menu-bar is hidden.
2110
2111 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2112
2113 * window.el (pop-to-buffer-same-window): Fix doc-string.
2114 (Bug#15492)
2115
2116 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2117
2118 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2119
2120 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2121
2122 * calendar/icalendar.el (icalendar-import-file):
2123 Fix interactive spec. (Bug#15482)
2124
2125 2013-10-10 Glenn Morris <rgm@gnu.org>
2126
2127 * desktop.el (desktop-save): Default to saving in .emacs.d,
2128 since PWD is no longer in desktop-path by default. (Bug#15319)
2129
2130 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2131 now that text mode has a menu with the same entry.
2132 (menu-bar-text-mode-auto-fill): Remove now unused func.
2133 * textmodes/text-mode.el (text-mode-map):
2134 Use auto-fill help text from menu-bar.el.
2135
2136 2013-10-10 John Anthony <john@jo.hnanthony.com>
2137
2138 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2139
2140 2013-10-09 Juri Linkov <juri@jurta.org>
2141
2142 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2143 instead of this-command-keys. Add universal-argument-more and
2144 universal-argument-minus to the list of prefix commands. (Bug#15568)
2145
2146 2013-10-09 Glenn Morris <rgm@gnu.org>
2147
2148 * vc/vc-svn.el (vc-svn-create-repo):
2149 Expand paths in file://... url. (Bug#15446)
2150
2151 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2152 Add some entries.
2153 (authors): Remove unused local variables.
2154
2155 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2156
2157 * profiler.el: Create a more coherent calltree from partial backtraces.
2158 (profiler-format): Hide the tail with `invisible' so that C-s can still
2159 find the hidden elements.
2160 (profiler-calltree-depth): Don't recurse so enthusiastically.
2161 (profiler-function-equal): New hash-table-test.
2162 (profiler-calltree-build-unified): New function.
2163 (profiler-calltree-build): Use it.
2164 (profiler-report-make-name-part): Indent the calltree less.
2165 (profiler-report-mode): Add visibility specs for profiler-format.
2166 (profiler-report-expand-entry, profiler-report-toggle-entry):
2167 Expand the whole subtree when provided with a prefix arg.
2168
2169 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2170
2171 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2172 iuwu-mod token.
2173 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2174 hanging iuwu-mod token.
2175 (ruby-smie--forward-token): Do not include a dot after a token in
2176 that token.
2177 (ruby-smie--backward-token): Likewise.
2178
2179 2013-10-08 Juri Linkov <juri@jurta.org>
2180
2181 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2182 to isearch-other-control-char.
2183 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2184 and isearch-post-command-hook to post-command-hook.
2185 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2186 and isearch-post-command-hook from post-command-hook.
2187 (isearch-unread-key-sequence)
2188 (isearch-reread-key-sequence-naturally)
2189 (isearch-lookup-scroll-key, isearch-other-control-char)
2190 (isearch-other-meta-char): Remove functions.
2191 (isearch-pre-command-hook, isearch-post-command-hook):
2192 New functions based on isearch-other-meta-char rewritten
2193 relying on the new behavior of overriding-terminal-local-map
2194 that does not replace the local keymaps any more. (Bug#15200)
2195
2196 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2197
2198 Support menus on text-mode terminals.
2199 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2200 functionality.
2201
2202 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2203
2204 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2205 Move here from mouse.el.
2206 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2207 and arrow keys.
2208 (tty-menu-navigation-map): New map for TTY menu navigation.
2209
2210 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2211
2212 * frame.el (display-mouse-p): Report text-mode mouse as available
2213 on w32.
2214 (display-popup-menus-p): Report availability if mouse is
2215 available; don't condition on window-system.
2216
2217 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2218 (tty-menu-selected-face): New faces.
2219
2220 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2221
2222 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2223 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2224 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2225 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2226 New constants.
2227 (lisp-mode-variables): New `elisp' argument.
2228 (emacs-lisp-mode): Use it.
2229 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2230 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2231
2232 * indent.el: Use lexical-binding.
2233 (indent-region): Add progress reporter.
2234 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2235 last step.
2236 (indent--next-tab-stop): New function to implement this behavior.
2237 (tab-to-tab-stop, move-to-tab-stop): Use it.
2238
2239 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2240
2241 * indent.el (indent-rigidly--current-indentation): New function.
2242 (indent-rigidly-map): New var.
2243 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2244
2245 2013-10-08 Bastien Guerry <bzg@gnu.org>
2246
2247 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2248
2249 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2250
2251 * progmodes/perl-mode.el: Use lexical-binding.
2252 Remove redundant :group args.
2253 (perl-nochange): Change default to be closer to other major modes's
2254 standard behavior.
2255 (perl-indent-line): Don't consider text on current line as a
2256 valid beginning of function from which to indent.
2257
2258 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2259 with more than one argument (bug#15538).
2260
2261 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2262
2263 * vc/pcvs.el: Use lexical-binding.
2264 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2265 environment of `eval'.
2266 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2267 than a list of expressions. Adjust callers.
2268 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2269
2270 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2271
2272 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2273 case of the dot in a chained method call being on the following line.
2274
2275 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2276
2277 * electric.el (electric-indent-inhibit): New var.
2278 (electric-indent-post-self-insert-function): Use it.
2279 * progmodes/python.el (python-mode): Set it.
2280
2281 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2282 open braces.
2283
2284 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2285
2286 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2287 (css-mode): Use electric-indent-chars.
2288
2289 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2290 (font-lock-beg, font-lock-end): Move before first use.
2291 (nxml-mode): Use syntax-propertize-function.
2292 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2293 (nxml-extend-after-change-region): Remove.
2294 * nxml/xmltok.el: Use lexical-binding.
2295 (xmltok-save): Use `declare'.
2296 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2297 * nxml/nxml-util.el: Use lexical-binding.
2298 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2299 Use `declare'.
2300 * nxml/nxml-ns.el: Use lexical-binding.
2301 (nxml-ns-save): Use `declare'.
2302 (nxml-ns-prefixes-for): Avoid add-to-list.
2303 * nxml/rng-match.el: Use lexical-binding.
2304 (rng--ipattern): Use cl-defstruct.
2305 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2306 (rng-cons-group-after, rng-subst-group-after)
2307 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2308 Use closures instead of `(lambda...).
2309
2310 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2311
2312 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2313 of BEG and END.
2314
2315 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2316 Use `tramp-handle-insert-file-contents'.
2317 (tramp-gvfs-handle-insert-file-contents): Remove function.
2318
2319 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2320 Use `save-restriction' in order to keep markers.
2321
2322 * net/trampver.el: Update release number.
2323
2324 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2325
2326 * progmodes/compile.el (compilation-parse-errors):
2327 Use compilation--put-prop.
2328 (compilation--ensure-parse): Check compilation-multiline.
2329
2330 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2331
2332 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2333 lexical-binding.
2334
2335 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2336
2337 * progmodes/ruby-mode.el: Fix recently added tests.
2338 (ruby-smie-grammar): Add - and +.
2339 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2340 (ruby-smie--backward-id): New functions.
2341 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2342 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2343 any more.
2344
2345 2013-10-07 Leo Liu <sdl.web@gmail.com>
2346
2347 * register.el (register-preview-delay)
2348 (register-preview-functions): New variables.
2349 (register-read-with-preview, register-preview)
2350 (register-describe-oneline): New functions.
2351 (point-to-register, window-configuration-to-register)
2352 (frame-configuration-to-register, jump-to-register)
2353 (number-to-register, view-register, insert-register)
2354 (copy-to-register, append-to-register, prepend-to-register)
2355 (copy-rectangle-to-register): Use register-read-with-preview to
2356 read register. (Bug#15525)
2357
2358 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2359
2360 * net/network-stream.el (network-stream-open-starttls): Don't add
2361 --insecure if it's already present, because that gnutls-cli
2362 rejects getting that parameter twice.
2363
2364 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2365
2366 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2367 keyword, too.
2368
2369 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2370
2371 * newcomment.el (comment-use-global-state): Change default value
2372 to t, mark obsolete (Bug#15251).
2373 (comment-beginning): In addition to `comment-to-syntax', check the
2374 value of `comment-use-global-state'.
2375
2376 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2377
2378 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2379 (ruby-comment-column): Follow the global default, by default.
2380 (ruby-smie-grammar): Add assignment syntax.
2381 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2382 open-paren, a comma, or a \.
2383 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2384 and line continuations.
2385 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2386 followed by implicit semi-colons. Add rule for string concatenation
2387 and for indentation at BOB.
2388 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2389
2390 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2391 calling next-sexp, since next-token may have skipped chars which
2392 next-sexp doesn't know should be skipped!
2393
2394 2013-10-05 Leo Liu <sdl.web@gmail.com>
2395
2396 * progmodes/octave.el (octave-send-region):
2397 Call compilation-forget-errors.
2398
2399 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2400
2401 * vc/vc-svn.el (vc-svn-find-admin-dir):
2402 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2403 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2404 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2405 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2406
2407 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2408
2409 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2410
2411 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2412
2413 * subr.el (read-passwd): Hide chars even when called within a context
2414 where after-change-functions is disabled (bug#15501).
2415 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2416 until we removed ourself from overriding-terminal-local-map.
2417
2418 2013-10-04 Leo Liu <sdl.web@gmail.com>
2419
2420 * progmodes/octave.el (inferior-octave-mode):
2421 Call compilation-forget-errors.
2422
2423 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2424
2425 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2426
2427 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2428
2429 * net/secrets.el (secrets-create-collection): Add optional
2430 argument ALIAS. Use proper Label keyword. Append ALIAS as
2431 dbus-call-method argument. (Bug#15516)
2432
2433 2013-10-04 Leo Liu <sdl.web@gmail.com>
2434
2435 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2436 (inferior-octave-compilation-font-lock-keywords): New variables.
2437 (compilation-error-regexp-alist)
2438 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2439 (inferior-octave-mode): Use compilation-shell-minor-mode.
2440
2441 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2442
2443 * minibuffer.el (completion--replace): Be careful that `end' might be
2444 a marker.
2445
2446 2013-10-03 Daiki Ueno <ueno@gnu.org>
2447
2448 Add support for package signature checking.
2449 * emacs-lisp/package.el (url-http-file-exists-p)
2450 (epg-make-context, epg-context-set-home-directory)
2451 (epg-verify-string, epg-context-result-for)
2452 (epg-signature-status, epg-signature-to-string)
2453 (epg-check-configuration, epg-configuration)
2454 (epg-import-keys-from-file): Declare.
2455 (package-check-signature): New user option.
2456 (package-unsigned-archives): New user option.
2457 (package-desc): Add `signed' field.
2458 (package-load-descriptor): Set `signed' field if .signed file exists.
2459 (package--archive-file-exists-p): New function.
2460 (package--check-signature): New function.
2461 (package-install-from-archive): Check package signature.
2462 (package--download-one-archive): Check archive signature.
2463 (package-delete): Remove .signed file.
2464 (package-import-keyring): New command.
2465 (package-refresh-contents): Import default keyring.
2466 (package-desc-status): Add "unsigned" status.
2467 (describe-package-1, package-menu--print-info)
2468 (package-menu-mark-delete, package-menu--find-upgrades)
2469 (package-menu--status-predicate): Support "unsigned" status.
2470
2471 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2472
2473 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2474 the new compilation scheme using the new byte-codes.
2475
2476 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2477 (byte-pophandler): New byte codes.
2478 (byte-goto-ops): Adjust accordingly.
2479 (byte-compile--use-old-handlers): New var.
2480 (byte-compile-catch): Use new byte codes depending on
2481 byte-compile--use-old-handlers.
2482 (byte-compile-condition-case--old): Rename from
2483 byte-compile-condition-case.
2484 (byte-compile-condition-case--new): New function.
2485 (byte-compile-condition-case): New function that dispatches depending
2486 on byte-compile--use-old-handlers.
2487 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2488 when we can.
2489
2490 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2491 Optimize under `condition-case' and `catch' if
2492 byte-compile--use-old-handlers is nil.
2493 (disassemble-offset): Handle new bytecodes.
2494
2495 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2496
2497 * subr.el (error): Use `declare'.
2498 (decode-char, encode-char): Use advertised-calling-convention instead
2499 of the docstring to discourage use of the `restriction' arg.
2500
2501 2013-10-03 Daiki Ueno <ueno@gnu.org>
2502
2503 * epg.el (epg-verify-file): Add a comment saying that it does not
2504 notify verification error as a return value nor a signal.
2505 (epg-verify-string): Ditto.
2506
2507 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2508
2509 * progmodes/compile.el (compilation-start): Try globbing the arg to
2510 `cd' (bug#15417).
2511
2512 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2513
2514 Sync with Tramp 2.2.8.
2515
2516 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2517 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2518 * net/trampver.el: Update release number.
2519
2520 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2521
2522 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2523 and default-process-coding-system for darwin only.
2524
2525 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2526
2527 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2528
2529 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2530
2531 * vc/vc-git.el (vc-git-grep): Disable pager.
2532
2533 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2534
2535 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2536 Use :url instead of :homepage, as per
2537 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2538
2539 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2540 non-nil, use `syntax-ppss' (Bug#15251).
2541
2542 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2543
2544 * progmodes/octave.el (inferior-octave-startup-file):
2545 Prefer ~/.emacs.d/init_octave.m.
2546
2547 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2548
2549 * emacs-lisp/package.el (package-desc-from-define):
2550 Accept additional arguments as plist, convert them to an alist and store
2551 them in the `extras' slot.
2552 (package-generate-description-file): Convert extras alist back to
2553 plist and append to the `define-package' form arguments.
2554 (package--alist-to-plist): New function.
2555 (package--ac-desc): Add `extras' slot.
2556 (package--add-to-archive-contents): Check if the archive-contents
2557 vector is long enough, and if it is, pass its `extras' slot value
2558 to `package-desc-create'.
2559 (package-buffer-info): Call `lm-homepage', pass the returned value
2560 to `package-desc-from-define'.
2561 (describe-package-1): Render the homepage button (Bug#13291).
2562
2563 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2564 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2565
2566 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2567
2568 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2569 and default-process-coding-system to utf-8-unix (Bug#15402).
2570
2571 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2572
2573 * subr.el (looking-back): Do not recommend using looking-back.
2574
2575 2013-09-28 Alan Mackenzie <acm@muc.de>
2576
2577 Fix indentation/fontification of Java enum with "implements".
2578
2579 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2580 regexp which matches "implements", etc., in Java.
2581 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2582 specifier clauses coming after "enum".
2583 * progmodes/cc-fonts.el (c-font-lock-declarations)
2584 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2585 after "enum".
2586
2587 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2588
2589 * faces.el (region): Change ns_selection_color to
2590 ns_selection_fg_color, add ns_selection_bg_color.
2591
2592 2013-09-28 Leo Liu <sdl.web@gmail.com>
2593
2594 * progmodes/octave.el (inferior-octave-completion-table)
2595 (inferior-octave-completion-at-point): Minor tweaks.
2596
2597 * textmodes/ispell.el (ispell-lookup-words): Rename from
2598 lookup-words. (Bug#15460)
2599 (lookup-words): Obsolete.
2600 (ispell-complete-word, ispell-command-loop): All uses changed.
2601
2602 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2603
2604 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2605 (octave-mode-menu): Add octave-send-buffer.
2606 (octave-send-buffer): New function.
2607
2608 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2609
2610 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2611 octave-lookfor.
2612 (octave-mode-menu): Add octave-lookfor.
2613 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2614 octave-lookfor.
2615 (octave-lookfor): New function.
2616
2617 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * emacs-lisp/cl-macs.el:
2620 (cl--loop-destr-temps): Remove.
2621 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2622 its convention.
2623 (cl--loop-set-iterator-function): New function.
2624 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2625 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2626 Bind `it' with `let' instead of substituting it with `cl-subst'.
2627 (cl--unused-var-p): New function.
2628 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2629 Eliminate some unused variable warnings (bug#15326).
2630
2631 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2632
2633 * doc-view.el (doc-view-scale-reset): Rename from
2634 `doc-view-reset-zoom-level'.
2635 (doc-view-scale-adjust): New command.
2636 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2637 `doc-view-scale-adjust'.
2638
2639 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2640
2641 * doc-view.el (doc-view-reset-zoom-level): New command.
2642 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2643 zoom commands (bug#15466).
2644
2645 2013-09-26 Kenichi Handa <handa@gnu.org>
2646
2647 * international/quail.el (quail-help): Make it not a command.
2648
2649 2013-09-26 Leo Liu <sdl.web@gmail.com>
2650
2651 * minibuffer.el (completion-all-sorted-completions): Make args
2652 optional as they are.
2653
2654 2013-09-25 Daniel Colascione <dancol@dancol.org>
2655
2656 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2657 specs are and that they're not evaluated.
2658
2659 2013-09-24 Sam Steingold <sds@gnu.org>
2660
2661 * midnight.el (clean-buffer-list-kill-regexps)
2662 (clean-buffer-list-kill-buffer-names): Update for the new Man
2663 buffer naming which includes the object name.
2664
2665 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2666
2667 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2668 (eshell-parse-command, eshell-parse-pipeline): Use it since
2669 eshell-separate-commands requires a dynamic scoped var.
2670 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2671
2672 2013-09-23 Leo Liu <sdl.web@gmail.com>
2673
2674 * autoinsert.el (auto-insert-alist): Make the value of
2675 lexical-binding match its file setting.
2676
2677 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2678
2679 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2680
2681 * autoarg.el (autoarg-kp-digit-argument):
2682 * electric.el (Electric-command-loop):
2683 * kmacro.el (kmacro-step-edit-insert):
2684 Do not set universal-argument-num-events.
2685
2686 2013-09-22 Leo Liu <sdl.web@gmail.com>
2687
2688 * files.el (interpreter-mode-alist): Add octave.
2689
2690 2013-09-21 Alan Mackenzie <acm@muc.de>
2691
2692 C++: fontify identifier in declaration following "public:" correctly.
2693 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2694 to match "public", etc.
2695 (c-decl-prefix-re): Add ":" into the C++ value.
2696 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2697 bit. Add a check for a ":" preceded by "public", etc.
2698
2699 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2700
2701 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2702 recognized by GDB 7.5 and later.
2703
2704 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2705
2706 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2707
2708 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2709
2710 * subr.el (internal--call-interactively): New const.
2711 (called-interactively-p): Use it (bug#3984).
2712
2713 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2714
2715 * vc/pcvs.el (cvs-mode-ignore):
2716 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2717 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2718
2719 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2720
2721 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2722 (eshell-ls-orig-insert-directory): Remove.
2723 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2724 (eshell-ls-use-in-dired): Use advice-add/remove.
2725 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2726 Add `orig-fun' arg for use in :around advice.
2727 Make it check (redundantly) eshell-ls-use-in-dired.
2728
2729 2013-09-19 Glenn Morris <rgm@gnu.org>
2730
2731 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2732
2733 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2734
2735 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2736
2737 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2738
2739 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2740 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2741 (tramp-get-remote-python): New defuns.
2742 (tramp-get-remote-uid-with-perl)
2743 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2744 contributed by yary <not.com@gmail.com> (tiny change).
2745 (tramp-get-remote-uid-with-python)
2746 (tramp-get-remote-gid-with-python): New defuns. Python code
2747 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2748 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2749
2750 2013-09-19 Glenn Morris <rgm@gnu.org>
2751
2752 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2753
2754 * eshell/em-unix.el (eshell-remove-entries):
2755 Rename argument to avoid name-clash with global `top-level'.
2756
2757 * eshell/esh-proc.el (eshell-kill-process-function):
2758 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2759 (eshell-reset-after-proc): Remove unused arg `proc'.
2760
2761 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2762 (directory-files-and-attributes): Mark unused arg.
2763
2764 * eshell/em-unix.el (eshell-remove-entries):
2765 Remove unused arg `path'. Update callers.
2766
2767 * eshell/em-hist.el (eshell-hist-parse-arguments):
2768 Remove unused arg `silent'. Update callers.
2769
2770 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2771 Fix (f)boundp mix-up.
2772
2773 * eshell/em-smart.el (eshell-smart-scroll-window)
2774 (eshell-disable-after-change):
2775 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2776
2777 2013-09-18 Alan Mackenzie <acm@muc.de>
2778
2779 Fix fontification of type when followed by "const".
2780 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2781 "known" types from fontification.
2782
2783 2013-09-18 Glenn Morris <rgm@gnu.org>
2784
2785 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2786 (chart-face-list): Drop Emacsen without display-color-p.
2787
2788 * net/eww.el (libxml-parse-html-region): Declare.
2789 (eww-display-html): Explicit error if no libxml2 support.
2790
2791 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2792
2793 * image.el (image-type-from-buffer, image-multi-frame-p):
2794 Remove --without-x warning/error.
2795
2796 * mouse.el (mouse-yank-primary):
2797 * term.el (term-mouse-paste):
2798 Reorder to silence --without-x compilation.
2799
2800 * mpc.el (doc-view-mode): Silence --without-x compilation.
2801
2802 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2803 Silence --without-x compilation.
2804
2805 * progmodes/gud.el (gud-find-file, gud-mode):
2806 Silence --without-x compilation.
2807 (tooltip-mode): Declare.
2808
2809 * wdired.el (dired-backup-overwrite): Remove declaration.
2810 (wdired-mode-map): Add doc string.
2811
2812 * custom.el (x-get-resource): Declare.
2813
2814 * eshell/em-glob.el (ange-cache):
2815 * eshell/em-unix.el (ange-cache): Declare.
2816
2817 * faces.el (x-display-list, x-open-connection, x-get-resource):
2818 Declare.
2819
2820 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2821 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2822 Declare.
2823
2824 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2825
2826 * net/gnutls.el (gnutls-log-level): Declare.
2827
2828 * net/shr.el (image-size, image-animate): Declare.
2829
2830 * simple.el (font-info): Declare.
2831
2832 * subr.el (x-popup-dialog): Declare.
2833
2834 * term/common-win.el (x-select-enable-primary)
2835 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2836 Declare.
2837
2838 * term/ns-win.el (x-handle-args): Declare.
2839
2840 * term/x-win.el (x-select-enable-clipboard): Declare.
2841
2842 * term/w32-win.el (create-default-fontset): Declare.
2843
2844 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2845 Declare.
2846
2847 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2848 (fit-frame-to-buffer): Explicit error if --without-x.
2849 (mouse-autoselect-window-select): Silence compiler.
2850
2851 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2852
2853 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2854 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2855 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2856 * eshell/esh-util.el (eshell-sublist):
2857 Remove unused local variables.
2858
2859 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2860
2861 * textmodes/two-column.el: Make 2C-split work for --without-x.
2862 (scroll-bar-columns): Autoload.
2863 (top-level): Require fringe when compiling.
2864
2865 2013-09-18 Leo Liu <sdl.web@gmail.com>
2866
2867 * subr.el (add-hook): Robustify to handle closure as well.
2868
2869 2013-09-17 Glenn Morris <rgm@gnu.org>
2870
2871 * simple.el (messages-buffer-mode-map): Unbind "g".
2872
2873 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2874
2875 * help-mode.el (help-mode-finish): Use derived-mode-p.
2876 Remove obsolete highlighting.
2877
2878 * play/life.el (life-mode): Use define-derived-mode. Derive from
2879 special-mode.
2880 (life): Let-bind inhibit-read-only.
2881 (life-setup): Avoid `setq'. Use `life-mode'.
2882
2883 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2884 which should not be needed any more.
2885 (package-menu-refresh, package-menu-describe-package): Use user-error.
2886
2887 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2888 (eshell-post-rewrite-command-hook): Make obsolete.
2889 (eshell-parse-command): Simplify.
2890 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2891 (eshell--cmd): Declare.
2892 (eshell-parse-pipeline): Remove unused var `final-p'.
2893 Pass a dynvar to eshell-post-rewrite-command-hook.
2894 Implement the new eshell-post-rewrite-command-function.
2895 (eshell-invoke-directly): Remove unused arg `input'.
2896 * eshell/esh-io.el (eshell-io-initialize):
2897 Use eshell-post-rewrite-command-function (bug#15399).
2898 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2899 adjust to new calling convention.
2900 (eshell-create-handles): Rename args to avoid clashing with dynvar
2901 `standard-output'.
2902
2903 2013-09-17 Glenn Morris <rgm@gnu.org>
2904
2905 * simple.el (messages-buffer-mode): New major mode.
2906 (messages-buffer): New function.
2907 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2908 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2909 (ert-run-test): Use `messages-buffer' function.
2910 (ert--force-message-log-buffer-truncation): Ignore read-only.
2911 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2912 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2913
2914 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2915
2916 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2917
2918 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2919
2920 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2921
2922 * icomplete.el (icomplete-in-buffer): New var.
2923 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2924 vars and replace them with functions.
2925 (icomplete-minibuffer-setup): Adjust accordingly.
2926 (icomplete--completion-table, icomplete--completion-predicate)
2927 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2928 New functions.
2929 (icomplete-forward-completions, icomplete-backward-completions)
2930 (icomplete-simple-completing-p, icomplete-exhibit)
2931 (icomplete-completions): Use them.
2932 (icomplete--in-region-buffer): New var.
2933 (icomplete--in-region-setup): New function.
2934 (icomplete-mode): Use it.
2935
2936 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2937 (bug#15379).
2938 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2939 return args and options.
2940 (eshell-eval-using-options): Use the new return value of
2941 eshell--do-opts to set the options's vars in their scope.
2942 (eshell--set-option): Rename from eshell-set-option.
2943 Add arg `opt-vals'.
2944 (eshell--process-option): Rename from eshell-process-option.
2945 Add arg `opt-vals'.
2946 (eshell--process-args): Use an `opt-vals' alist to store the options's
2947 values during their processing and return them additionally to the
2948 remaining args.
2949
2950 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2951
2952 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2953 continuation character an operator, as far as indentation is
2954 concerned (Bug#15369).
2955
2956 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2957
2958 * window.el (window--state-put-2): Don't process buffer state
2959 when buffer doesn't exist any more (Bug#15382).
2960
2961 2013-09-15 Glenn Morris <rgm@gnu.org>
2962
2963 * eshell/em-unix.el (eshell/rm):
2964 Make -f ignore missing files. (Bug#15373)
2965
2966 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2967 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2968 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2969
2970 2013-09-14 Glenn Morris <rgm@gnu.org>
2971
2972 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2973
2974 2013-09-13 Glenn Morris <rgm@gnu.org>
2975
2976 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2977 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2978
2979 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2980
2981 * frame.el (x-focus-frame): Mark as declared in frame.c.
2982
2983 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2984
2985 * ls-lisp.el: Use advice-add.
2986 (original-insert-directory): Remove.
2987 (ls-lisp--insert-directory): Rename from insert-directory; add
2988 `orig-fun' argument.
2989 (insert-directory): Advise.
2990
2991 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2992
2993 * term.el (term-emulate-terminal): Decode the command string
2994 before passing it to term-command-hook. (Bug#15337)
2995
2996 2013-09-13 Glenn Morris <rgm@gnu.org>
2997
2998 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2999
3000 * eshell/esh-ext.el (eshell-search-path): Declare.
3001
3002 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3003 Otherwise an error occurs if eshell-dirs module not loaded.
3004
3005 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3006
3007 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3008
3009 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3010 `tramp-check-proper-host'. Check for a valid method name.
3011
3012 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3013 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3014 * net/tramp-sh.el (tramp-maybe-open-connection):
3015 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3016
3017 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3018 also for hash values.
3019
3020 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3021
3022 * term/ns-win.el (parameters): Don't declare as dynamic.
3023 (before-make-frame-hook): Don't add ineffective function.
3024
3025 * eshell/*.el: Use lexical-binding (bug#15231).
3026
3027 2013-09-12 Kenichi Handa <handa@gnu.org>
3028
3029 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3030
3031 2013-09-12 Glenn Morris <rgm@gnu.org>
3032
3033 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3034 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3035
3036 * subr.el (do-after-load-evaluation): Also give compiler warnings
3037 when obsolete files are used (except by obsolete files).
3038
3039 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3040 in the status output, assume `filename' is the first. (Bug#15322)
3041
3042 * vc/vc.el (vc-deduce-fileset): Doc fix.
3043
3044 * calc/calc-help.el (Info-goto-node):
3045 * progmodes/cperl-mode.el (Info-find-node):
3046 * vc/ediff.el (Info-goto-node): Update declarations.
3047
3048 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3049
3050 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3051 (vc-bzr-pull): Require vc-dispatcher.
3052 * vc/vc-git.el (vc-compilation-mode): Declare.
3053 (vc-git-pull): Require vc-dispatcher.
3054
3055 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3056
3057 * progmodes/octave.el (help-button-action): Declare.
3058
3059 * shell.el (shell-directory-tracker): Output error as a message
3060 rather than just returning it as a string.
3061 (shell-process-pushd): Remove useless use of message.
3062
3063 * dframe.el (dframe-timer-fn):
3064 * files.el (dir-locals-read-from-file):
3065 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3066 (mpc-format):
3067 * reveal.el (reveal-post-command):
3068 * saveplace.el (load-save-place-alist-from-file):
3069 * shell.el (shell-resync-dirs):
3070 * w32-common-fns.el (x-get-selection-value):
3071 * emacs-lisp/copyright.el (copyright-find-copyright):
3072 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3073 * emulation/tpu-edt.el (tpu-copy-keyfile):
3074 * play/bubbles.el (bubbles--mark-neighbourhood):
3075 * progmodes/executable.el
3076 (executable-make-buffer-file-executable-if-script-p):
3077 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3078
3079 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3081 Cleanup Eshell to rely less on dynamic scoping.
3082 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3083 last-value, and ext-command here. Bind `args' closer to `body'.
3084 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3085 (eshell--args): Declare new dynamic var.
3086 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3087 last-value, and ext-command. Pass `args' to `body'.
3088 (eshell-process-args): Bind eshell--args.
3089 (eshell-set-option): Use eshell--args.
3090 * eshell/eshell.el (eshell): Use derived-mode-p.
3091 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3092 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3093 (eshell-glob-function): Declare.
3094 * eshell/esh-util.el: Require cl-lib.
3095 (eshell-read-hosts-file): Avoid add-to-list.
3096 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3097 `err'.
3098 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3099 Declare.
3100 (eshell/diff): Remove unused var `err'.
3101 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3102 `killflag'.
3103 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3104 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3105 first use.
3106 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3107 Move declaration before first use.
3108 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3109 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3110 rely on cl-return.
3111
3112 2013-09-12 Glenn Morris <rgm@gnu.org>
3113
3114 * term/ns-win.el (global-map): Remove binding for ispell-next,
3115 deleted 1999-05-29. (Bug#15357)
3116
3117 2013-09-11 Glenn Morris <rgm@gnu.org>
3118
3119 * echistory.el (electric-command-history): Remove call to deleted func.
3120
3121 * play/landmark.el (landmark-mode): Fix typos.
3122
3123 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3124 Check cvs-sort-ignore-file is bound.
3125
3126 * savehist.el: No need for cl when compiling on Emacs.
3127
3128 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3129
3130 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3131 (bug#15338).
3132 (eshell-self-insert-command, eshell-send-invisible):
3133 Remove unused argument.
3134 (eshell-handle-control-codes): Remove unused var `orig'.
3135 Avoid delete-backward-char.
3136
3137 * files.el (set-auto-mode): Simplify a bit further.
3138
3139 2013-09-11 Glenn Morris <rgm@gnu.org>
3140
3141 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3142 (set-auto-mode): Don't regexp-quote elements.
3143 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3144 * progmodes/cc-mode.el (interpreter-mode-alist):
3145 * progmodes/ruby-mode.el (interpreter-mode-alist):
3146 Revert previous change.
3147
3148 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * play/snake.el (snake-mode):
3151 * play/mpuz.el (mpuz-mode):
3152 * play/landmark.el (lm-mode):
3153 * play/blackbox.el (blackbox-mode):
3154 * play/5x5.el (5x5-mode):
3155 * obsolete/options.el (Edit-options-mode):
3156 * net/quickurl.el (quickurl-list-mode):
3157 * net/newst-treeview.el (newsticker-treeview-mode):
3158 * mail/rmailsum.el (rmail-summary-mode):
3159 * mail/mspools.el (mspools-mode):
3160 * locate.el (locate-mode):
3161 * ibuffer.el (ibuffer-mode):
3162 * emulation/ws-mode.el (wordstar-mode):
3163 * emacs-lisp/debug.el (debugger-mode):
3164 * array.el (array-mode):
3165 * net/eudc.el (eudc-mode): Use define-derived-mode.
3166 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3167 Move initialization into declaration.
3168 (mairix-searches-mode): Use define-derived-mode.
3169 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3170 (eudc-edit-hotlist): Use dolist.
3171 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3172 (Man-mode): Use define-derived-mode.
3173 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3174 (Info-edit-mode): Use define-derived-mode.
3175 (Info-cease-edit): Use Info-mode.
3176 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3177 into declaration.
3178 (eshell-mode): Use define-derived-mode.
3179 * chistory.el (command-history-mode-map): Rename from
3180 command-history-map.
3181 (command-history-mode): Use define-derived-mode.
3182 (Command-history-setup): Remove function.
3183 * calc/calc.el (calc-trail-mode-map): New var.
3184 (calc-trail-mode): Use define-derived-mode.
3185 (calc-trail-buffer): Set calc-main-buffer manually.
3186 * bookmark.el (bookmark-insert-annotation): New function.
3187 (bookmark-edit-annotation): Use it.
3188 (bookmark-edit-annotation-mode): Make it a proper major mode.
3189 (bookmark-send-edited-annotation): Use derived-mode-p.
3190 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3191 closer to its ideal place. Use \' to match EOS.
3192
3193 * profiler.el (profiler-calltree-find): Use function-equal.
3194
3195 2013-09-10 Glenn Morris <rgm@gnu.org>
3196
3197 * files.el (interpreter-mode-alist): Convert to regexps.
3198 (set-auto-mode): Adapt for this. (Bug#15306)
3199 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3200 Comment out unused variable.
3201 * progmodes/cc-mode.el (interpreter-mode-alist):
3202 * progmodes/python.el (interpreter-mode-alist):
3203 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3204 * progmodes/sh-script.el (sh-set-shell):
3205 No longer use interpreter-mode-alist to get list of shells.
3206
3207 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3208
3209 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3210
3211 * simple.el: Use set-temporary-overlay-map for universal-argument.
3212 (universal-argument-map): Don't use default-bindings (bug#15317).
3213 Bind switch-frame explicitly. Replace universal-argument-minus with
3214 a conditional binding.
3215 (universal-argument-num-events, saved-overriding-map): Remove.
3216 (restore-overriding-map): Remove.
3217 (universal-argument--mode): Rename from save&set-overriding-map,
3218 and rewrite.
3219 (universal-argument, universal-argument-more, negative-argument)
3220 (digit-argument): Adjust accordingly.
3221 (universal-argument-minus): Remove.
3222 (universal-argument-other-key): Remove.
3223
3224 * subr.el (with-demoted-errors): Add `format' argument.
3225
3226 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3227
3228 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3229 `tramp-cleanup-connection'.
3230
3231 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3232 parameters KEEP-DEBUG and KEEP-PASSWORD.
3233
3234 * net/tramp.el (tramp-file-name-handler):
3235 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3236 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3237 (tramp-maybe-open-connection):
3238 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3239 Use `tramp-cleanup-connection'.
3240
3241 * net/tramp-sh.el (tramp-maybe-open-connection):
3242 Catch 'uname-changed inside the progress reporter.
3243
3244 2013-09-10 Glenn Morris <rgm@gnu.org>
3245
3246 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3247
3248 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3249 returns "alternate access method" in mode (eg "-rw-r--r--.").
3250
3251 2013-09-08 Glenn Morris <rgm@gnu.org>
3252
3253 * saveplace.el (load-save-place-alist-from-file):
3254 Demote errors. (Bug#15305)
3255
3256 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3257
3258 Improve compatibility with older Emacsen, and XEmacs.
3259
3260 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3261 only if it is bound. It isn't for XEmacs.
3262 (with-tramp-progress-reporter): Do not let-bind `result'.
3263 This yields to scoping errors in XEmacs.
3264 (tramp-handle-make-auto-save-file-name): New function, moved from
3265 tramp-sh.el.
3266
3267 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3268 for `make-auto-save-file-name'.
3269 (tramp-adb--gnu-switches-to-ash):
3270 Use `tramp-compat-replace-regexp-in-string'.
3271
3272 * net/tramp-cache.el (tramp-cache-print): Call
3273 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3274
3275 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3276 bound. It isn't for XEmacs.
3277
3278 * net/tramp-compat.el (tramp-compat-copy-file):
3279 Catch `wrong-number-of-arguments' error.
3280 (tramp-compat-replace-regexp-in-string): New defun.
3281
3282 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3283 for `make-auto-save-file-name'.
3284 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3285 `copy-file'.
3286 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3287 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3288 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3289
3290 * net/tramp-gw.el (tramp-gw-open-network-stream):
3291 Use `tramp-compat-replace-regexp-in-string'.
3292
3293 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3294 Call `tramp-handle-make-auto-save-file-name'.
3295 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3296 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3297 (tramp-sh-file-inotifywait-process-filter):
3298 Use `tramp-compat-replace-regexp-in-string'.
3299 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3300
3301 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3302 for `make-auto-save-file-name'.
3303 (tramp-smb-handle-copy-directory):
3304 Call `tramp-compat-replace-regexp-in-string'.
3305 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3306 (tramp-smb-handle-copy-file): Improve error message.
3307 (tramp-smb-handle-rename-file): Rename directly only in case
3308 `newname' does not exist yet. This is a restriction of smbclient.
3309 (tramp-smb-maybe-open-connection): Rerun the function only when
3310 `auth-sources' is non-nil.
3311
3312 2013-09-08 Kenichi Handa <handa@gnu.org>
3313
3314 * international/characters.el: Set category "^" (Combining) for
3315 more characters.
3316
3317 2013-09-07 Alan Mackenzie <acm@muc.de>
3318
3319 Correctly fontify Java class constructors.
3320 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3321 in Java Mode.
3322 (c-recognize-typeless-decls): Set the Java value to t.
3323 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3324 While handling a "(", add a check for, effectively, Java, and handle a
3325 "typeless" declaration there.
3326
3327 2013-09-07 Roland Winkler <winkler@gnu.org>
3328
3329 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3330 field subtitle for entry type book.
3331
3332 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3333
3334 * minibuffer.el: Make minibuffer-complete call completion-in-region
3335 rather than other way around.
3336 (completion--some, completion-pcm--find-all-completions):
3337 Don't delay signals when debugging.
3338 (minibuffer-completion-contents): Beware fields within the
3339 minibuffer contents.
3340 (completion-all-sorted-completions): Use defvar-local.
3341 (completion--do-completion, completion--cache-all-sorted-completions)
3342 (completion-all-sorted-completions, minibuffer-force-complete):
3343 Add args `beg' and `end'.
3344 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3345 (minibuffer-complete): Use completion-in-region.
3346 (completion-complete-and-exit): New fun, extracted from
3347 minibuffer-complete-and-exit.
3348 (minibuffer-complete-and-exit): Use it.
3349 (completion--complete-and-exit): Rename from
3350 minibuffer--complete-and-exit.
3351 (completion-in-region--single-word): New function, extracted from
3352 minibuffer-complete-word.
3353 (minibuffer-complete-word): Use it.
3354 (display-completion-list): Make `common-substring' argument obsolete.
3355 (completion--in-region): Call completion--in-region-1 instead of
3356 minibuffer-complete.
3357 (completion-help-at-point): Pass boundaries to
3358 minibuffer-completion-help as args rather than via an overlay.
3359 (completion-pcm--string->pattern): Use `any-delim'.
3360 (completion-pcm--optimize-pattern): New function.
3361 (completion-pcm--pattern->regex): Handle `any-delim'.
3362 * icomplete.el (icomplete-forward-completions)
3363 (icomplete-backward-completions, icomplete-completions):
3364 Adjust calls to completion-all-sorted-completions and
3365 completion--cache-all-sorted-completions.
3366 (icomplete-with-completion-tables): Default to t.
3367 * emacs-lisp/crm.el (crm--current-element): Rename from
3368 crm--select-current-element. Don't put an overlay but return the
3369 boundaries instead.
3370 (crm--completion-command): Take two new args to bind to the boundaries.
3371 (crm-completion-help): Adjust accordingly.
3372 (crm-complete): Use completion-in-region.
3373 (crm-complete-word): Use completion-in-region--single-word.
3374 (crm-complete-and-exit): Use completion-complete-and-exit.
3375
3376 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3377
3378 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3379 than dynamically.
3380
3381 2013-09-06 Juri Linkov <juri@jurta.org>
3382
3383 * info.el (Info-display-images-node): When image file doesn't exist
3384 display text version of the image if it's provided in the Info file.
3385 Otherwise, display the location of missing image from SRC attribute.
3386 Add help-echo text property from ALT attribute. (Bug#15279)
3387
3388 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3389
3390 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3391 (edit-abbrevs-mode): Use define-derived-mode.
3392
3393 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3394 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3395 that it's defined.
3396 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3397 Use define-derived-mode.
3398
3399 * epg.el (epg-start-encrypt): Minor CSE simplification.
3400
3401 2013-09-06 William Xu <william.xwl@gmail.com>
3402
3403 * arc-mode.el: Add support for 7za (bug#15264).
3404 (archive-7z-program): New var.
3405 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3406 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3407 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3408
3409 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3410
3411 Remove URL syntax.
3412
3413 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3414 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3415 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3416 (tramp-postfix-host-format, tramp-file-name-regexp)
3417 (tramp-completion-file-name-regexp)
3418 (tramp-completion-dissect-file-name)
3419 (tramp-handle-substitute-in-file-name): Remove 'url case.
3420 (tramp-file-name-regexp-url)
3421 (tramp-completion-file-name-regexp-url): Remove constants.
3422
3423 2013-09-06 Glenn Morris <rgm@gnu.org>
3424
3425 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3426
3427 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3428
3429 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3430 keywords" below "here-doc beginnings" (Bug#15270).
3431
3432 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3433
3434 * subr.el (pop): Use `car-safe'.
3435 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3436 to detect unused `pop' return value.
3437
3438 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3439 var `block-regexp'.
3440 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3441 (python-fill-string): Remove unused var `marker'.
3442 (python-skeleton-add-menu-items): Remove unused var `items'.
3443
3444 * international/mule-cmds.el: Require CL.
3445 (find-coding-systems-for-charsets): Avoid add-to-list.
3446 (sanitize-coding-system-list): New function, extracted from
3447 select-safe-coding-system-interactively.
3448 (select-safe-coding-system-interactively): Use it.
3449 (read-input-method-name): Accept symbols for `default'.
3450
3451 * emacs-lisp/advice.el (defadvice): Add indent rule.
3452
3453 2013-09-05 Daniel Hackney <dan@haxney.org>
3454
3455 * dired-x.el:
3456 * net/ange-ftp.el:
3457 * net/browse-url.el:
3458 * net/dbus.el:
3459 * net/eudc.el:
3460 * net/eudcb-ldap.el:
3461 * net/eww.el:
3462 * net/imap.el:
3463 * printing.el:
3464 * vc/ediff-diff.el:
3465 * vc/ediff-init.el:
3466 * vc/ediff-merg.el:
3467 * vc/ediff-mult.el:
3468 * vc/ediff-util.el:
3469 * vc/ediff-wind.el:
3470 * vc/ediff.el:
3471 * vc/emerge.el:
3472 * vc/pcvs.el:
3473 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3474 byte compiler. Remove some unused let-bound variables.
3475
3476 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3477
3478 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3479 a "ref-cell", since it gets better optimized (bug#14883).
3480
3481 2013-09-05 Glenn Morris <rgm@gnu.org>
3482
3483 * progmodes/cc-awk.el (c-forward-sws): Declare.
3484
3485 2013-09-04 Glenn Morris <rgm@gnu.org>
3486
3487 * generic-x.el [rul-generic-mode]: Require cc-mode.
3488 (c++-mode-syntax-table): Declare.
3489 (rul-generic-mode-syntax-table): Init in the defvar.
3490
3491 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3492
3493 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3494 (vc-do-command, vc-set-async-update):
3495 * vc/vc-mtn.el (vc-mtn-dir-status):
3496 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3497 (vc-hg-pull, vc-hg-merge-branch):
3498 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3499 (vc-git-merge-branch):
3500 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3501 (vc-cvs-dir-status-files):
3502 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3503 (vc-bzr-dir-status-files):
3504 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3505 * vc/vc-annotate.el: Use lexical-binding.
3506 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3507 (vc-sentinel-movepoint): Declare.
3508 (vc-annotate): Don't use `goto-line'.
3509 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3510 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3511 (vc-sentinel-movepoint): Declare.
3512 * vc/vc-svn.el: Use lexical-binding.
3513 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3514 * vc/vc-sccs.el:
3515 * vc/vc-rcs.el: Use lexical-binding.
3516
3517 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3518 `deleted'. Don't drop errors silently.
3519
3520 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3521
3522 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3523
3524 * vc/vc.el (vc-ignore): Rewrite.
3525 (vc-default-ignore): New function.
3526 (vc-default-ignore-completion-table): Use find-ignore-file.
3527
3528 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3529 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3530 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3531 Remove. Most code moved to vc.el.
3532
3533 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3534
3535 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3536 * net/tramp-smb.el (tramp-smb-get-file-entries):
3537 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3538 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3539
3540 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3541 Update call to it.
3542 (eww-change-select): Remove unused var `properties'.
3543 (eww-make-unique-file-name): Remove unused var `base'.
3544
3545 * finder.el (finder-compile-keywords): Don't mess with windows.
3546
3547 * calculator.el (calculator-funcall): Fix typo in last change.
3548
3549 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3550
3551 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3552 <pkg>-autoloads.el file stop us.
3553
3554 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3555 warnings, and factor out common code.
3556
3557 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3558
3559 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3560 two-character operators and whether the character preceding them
3561 changes their meaning (Bug#15208).
3562
3563 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3564
3565 Format code sent to Python shell for robustness.
3566 * progmodes/python.el (python-shell-buffer-substring):
3567 New function.
3568 (python-shell-send-region, python-shell-send-buffer): Use it.
3569
3570 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3571
3572 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3573 * net/tramp.el (tramp-user-error): ... here.
3574 (tramp-find-method, tramp-check-proper-host)
3575 (tramp-dissect-file-name, tramp-debug-message)
3576 (tramp-handle-shell-command):
3577 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3578 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3579
3580 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3581
3582 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3583
3584 * avoid.el (mouse-avoidance-point-position)
3585 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3586 returns nil.
3587
3588 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3589
3590 * progmodes/python.el (python-shell-completion-get-completions):
3591 Drop use of deleted `comint-last-prompt-overlay'.
3592 (python-nav-if-name-main): New command.
3593
3594 2013-09-01 Glenn Morris <rgm@gnu.org>
3595
3596 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3597 Avoid leading space in $wins. Otherwise the sed command used by
3598 eg compile-main ends up containing "/*.el". (Bug#15170)
3599
3600 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3601
3602 2013-08-30 Glenn Morris <rgm@gnu.org>
3603
3604 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3605 Fix is-this-a-directory logic. (Bug#15220)
3606
3607 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3608
3609 * textmodes/css-mode.el: Use SMIE.
3610 (css-smie-grammar): New var.
3611 (css-smie--forward-token, css-smie--backward-token)
3612 (css-smie-rules): New functions.
3613 (css-mode): Use them.
3614 (css-navigation-syntax-table): Remove var.
3615 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3616 (css-indent-calculate, css-indent-line): Remove functions.
3617
3618 Misc changes to reduce use of `(lambda...); and other cleanups.
3619 * cus-edit.el: Use lexical-binding.
3620 (customize-push-and-save, customize-apropos)
3621 (custom-buffer-create-internal): Use closures.
3622 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3623 * progmodes/ada-xref.el: Use setq.
3624 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3625 * dframe.el: Use lexical-binding.
3626 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3627 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3628 * descr-text.el: Use lexical-binding.
3629 (describe-text-widget, describe-text-sexp, describe-property-list):
3630 Use closures.
3631 * comint.el (comint-history-isearch-push-state): Use a closure.
3632 * calculator.el: Use lexical-binding.
3633 (calculator-number-to-string): Make it work with lexical-binding.
3634 (calculator-funcall): Same and use cl-letf.
3635
3636 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3637 (lisp--company-doc-string, lisp--company-location): New functions.
3638 (lisp-completion-at-point): Use them to improve Company support.
3639
3640 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3641 params of lambda expressions.
3642 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3643 (ruby-smie--opening-pipe-p): New function.
3644 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3645 symbols and matched |...| for formal params.
3646 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3647 from being treated as hanging. Handle "rescue".
3648
3649 2013-08-29 Glenn Morris <rgm@gnu.org>
3650
3651 * progmodes/cc-engine.el (c-pull-open-brace):
3652 Move definition before use.
3653
3654 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3655
3656 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3657 are immutable. Don't use `unsafe' any more.
3658 (cl--defsubst-expand): Don't substitute at the same time as keeping
3659 a residual unused let-binding. Don't use `unsafe' any more.
3660
3661 2013-08-29 Glenn Morris <rgm@gnu.org>
3662
3663 * calendar/cal-china.el (calendar-chinese-year-cache):
3664 Recenter on 2015.
3665
3666 * nxml/nxml-util.el (nxml-debug-clear-inside):
3667 Use cl-loop rather than loop.
3668
3669 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3670
3671 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3672
3673 2013-08-28 Glenn Morris <rgm@gnu.org>
3674
3675 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3676
3677 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3678
3679 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3680
3681 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3682
3683 * simple.el (repeat-complex-command--called-interactively-skip):
3684 New function.
3685 (repeat-complex-command): Use it (bug#14136).
3686
3687 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3688 (c-define-abbrev-table): Add `doc' argument.
3689 (c-mode-abbrev-table, c++-mode-abbrev-table)
3690 (objc-mode-abbrev-table, java-mode-abbrev-table)
3691 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3692 (awk-mode-abbrev-table): Use it.
3693 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3694 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3695 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3696 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3697 Move initialization into the declaration; and remove any
3698 autoload cookie.
3699
3700 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3701 and dynamic let binding.
3702
3703 * vc/smerge-mode.el: Remove redundant :group args.
3704
3705 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3706 to load-path.
3707
3708 2013-08-28 Juri Linkov <juri@jurta.org>
3709
3710 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3711 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3712 (isearch-other-meta-char): Handle an undefined shifted printing
3713 character by downshifting it. (Bug#15200)
3714
3715 2013-08-28 Juri Linkov <juri@jurta.org>
3716
3717 * isearch.el (isearch-search): Change regexp error message for
3718 non-regexp searches. (Bug#15166)
3719
3720 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3721
3722 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3723 for portability to hosts where /bin/sh has problems.
3724
3725 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3726
3727 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3728
3729 2013-08-27 Juri Linkov <juri@jurta.org>
3730
3731 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3732 in the keyboard macro. (Bug#15126)
3733
3734 2013-08-27 Juri Linkov <juri@jurta.org>
3735
3736 * isearch.el (isearch-quote-char): Comment out converting unibyte
3737 to multibyte, thus syncing with its `quoted-insert' counterpart.
3738 (Bug#15166)
3739
3740 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3741
3742 * window.el (display-buffer-use-some-window): Add missing
3743 argument in call of get-largest-window (Bug#15185).
3744 Reported by Stephen Leake.
3745
3746 2013-08-27 Glenn Morris <rgm@gnu.org>
3747
3748 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3749
3750 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3753 from a matcher-function unless there's no more matches (bug#15161).
3754
3755 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3756
3757 * minibuffer.el: Revert change from 2013-08-20.
3758
3759 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3760 with text property `tramp-default', if appropriate.
3761 (tramp-check-proper-host): New defun.
3762 (tramp-dissect-file-name): Do not check hostname. Revert change
3763 of 2013-03-18.
3764 (tramp-backtrace): Make VEC-OR-PROC optional.
3765
3766 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3767 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3768 * net/tramp-sh.el (tramp-maybe-open-connection):
3769 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3770 Apply `tramp-check-proper-host'.
3771
3772 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3773
3774 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3775 lambda expression in order to have `describe-variable' display it.
3776
3777 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3778
3779 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3780 BUF can be optional. (Bug#15186)
3781
3782 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3783
3784 * progmodes/flymake.el (flymake-get-real-file-name-function):
3785 Fix broken customization. (Bug#15184)
3786
3787 2013-08-25 Alan Mackenzie <acm@muc.de>
3788
3789 Improve indentation of bracelists defined by macros (without "=").
3790
3791 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3792 expansion begins with "{", regard it as bracelist when it doesn't
3793 contain a ";".
3794
3795 Parse C++ inher-intro when there's a template split over 2 lines.
3796
3797 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3798 rigorously the search for "class" etc. followed by ":".
3799
3800 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3801 random languages a regexp which never matches rather than nil.
3802
3803 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3804
3805 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3806 (c-awk-regexp-one-line-possibly-open-char-list-re)
3807 (c-awk-one-line-possibly-open-regexp-re)
3808 (c-awk-one-line-non-syn-ws*-re): Remove.
3809 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3810 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3811 (c-awk-space*-unclosed-regexp-/-re): New constants.
3812 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3813 aren't regexp delimiters.
3814
3815 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3816 handling for a rare situation in AWK Mode involving unterminated
3817 strings/regexps.
3818
3819 2013-08-23 Glenn Morris <rgm@gnu.org>
3820
3821 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3822
3823 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3824
3825 * files.el (create-file-buffer): If the result would begin with
3826 spaces, prepend a "|" instead of removing them. (Bug#15162)
3827
3828 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3829
3830 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3831 text-properties (bug#15155).
3832
3833 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3834 exist any more.
3835 (calc-keypad-redraw): Remove unused var `pad'.
3836 (calc-keypad-press): Remove unused var `menu'.
3837
3838 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3839
3840 * window.el (display-buffer-pop-up-frame):
3841 Call pop-up-frame-function with BUFFER current so `make-frame' will
3842 use it as the new frame's buffer (Bug#15133).
3843
3844 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3845
3846 * calendar/timeclock.el: Minor cleanups.
3847 (timeclock-ask-before-exiting, timeclock-use-display-time):
3848 Use `symbol'.
3849 (timeclock-modeline-display): Define as alias before the
3850 actual definition.
3851 (timeclock-mode-line-display): Use define-minor-mode.
3852 (timeclock-day-list-template): Make it a function, add an argument.
3853 (timeclock-day-list-required, timeclock-day-list-length)
3854 (timeclock-day-list-debt, timeclock-day-list-span)
3855 (timeclock-day-list-break): Adjust calls accordingly.
3856
3857 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3858
3859 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3860 Use read--expression so that completion works again.
3861
3862 2013-08-21 Sam Steingold <sds@gnu.org>
3863
3864 Add rudimentary inferior shell interaction
3865 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3866 (sh-set-shell): Reset it.
3867 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3868 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3869
3870 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3871
3872 * align.el: Use lexical-binding.
3873 (align-region): Simplify accordingly.
3874
3875 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3876
3877 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3878
3879 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3880 `non-essential' up.
3881
3882 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3883
3884 * net/tramp.el:
3885 * net/tramp-adb.el:
3886 * net/tramp-cmds.el:
3887 * net/tramp-ftp.el:
3888 * net/tramp-gvfs.el:
3889 * net/tramp-gw.el:
3890 * net/tramp-sh.el: Don't wrap external variable declarations by
3891 `eval-when-compile'.
3892
3893 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3894
3895 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3896 now that Emacs supports ImageMagick animations.
3897
3898 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3899
3900 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3901 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3902
3903 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3904
3905 * window.el (mouse-autoselect-window-select): Do autoselect when
3906 mouse pointer is on margin.
3907
3908 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3909
3910 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3911
3912 2013-08-16 Glenn Morris <rgm@gnu.org>
3913
3914 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3915 Handle "Remote Directory" response of some clients. (Bug#15058)
3916
3917 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3918 Tweak warning. (Bug#14926)
3919
3920 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3921 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3922
3923 * image-mode.el (image-mode-map): Add menu items to reverse,
3924 increase, decrease, reset animation speed.
3925 (image--set-speed, image-increase-speed, image-decrease-speed)
3926 (image-reverse-speed, image-reset-speed): New functions.
3927 (image-mode-map): Add bindings for speed commands.
3928
3929 * image.el (image-animate-get-speed, image-animate-set-speed):
3930 New functions.
3931 (image-animate-timeout): Respect image :speed property.
3932
3933 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3934
3935 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3936 previous line (bug#15101).
3937 (debugger-eval-expression, debugger-record-expression):
3938 Use read--expression (bug#15102).
3939
3940 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3941
3942 Remove byte compiler warnings, visible when compiling with
3943 `byte-compile-force-lexical-warnings' set to t.
3944
3945 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3946 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3947 (tramp-handle-unhandled-file-name-directory)
3948 (tramp-handle-file-notify-add-watch, tramp-action-login)
3949 (tramp-action-succeed, tramp-action-permission-denied)
3950 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3951 arguments with "_".
3952
3953 * net/tramp-adb.el (tramp-adb-parse-device-names)
3954 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3955 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3956 (tramp-adb-handle-file-truename): Remove unused arguments.
3957
3958 * net/tramp-cache.el (tramp-flush-directory-property)
3959 (tramp-flush-connection-property, tramp-list-connections)
3960 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3961
3962 * net/tramp-compat.el (tramp-compat-make-temp-file):
3963 Rename FILENAME to F.
3964
3965 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3966 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3967 (tramp-zeroconf-parse-workstation-device-names)
3968 (tramp-zeroconf-parse-webdav-device-names)
3969 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3970
3971 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3972 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3973
3974 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3975 arguments.
3976 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3977 (tramp-sh-handle-insert-file-contents-literally)
3978 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3979 with "_".
3980 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3981 Remove unused variables.
3982
3983 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3984 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3985 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3986
3987 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3988 Make them a defconst.
3989 (tramp-uuencode-region): Remove unused variable.
3990
3991 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3992
3993 * frameset.el (frameset--prop-setter): New function.
3994 (frameset-prop): Add gv-setter declaration.
3995 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3996 parameter was already set in FILTERED. Doc fix.
3997 (frameset--record-minibuffer-relationships): Allow saving a
3998 minibufferless frame without its corresponding minibuffer frame.
3999 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4000 frame, if the frame id matches.
4001 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4002 frames before orphaned ones.
4003 (frameset-restore): Warn about orphaned windows, instead of error out.
4004
4005 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4006
4007 * window.el (window-make-atom): Don't overwrite parameter
4008 already present.
4009 (display-buffer-in-atom-window): Handle special case where we
4010 split an already atomic window.
4011 (window--major-non-side-window, display-buffer-in-side-window)
4012 (window--side-check): Ignore minibuffer window when walking
4013 window tree.
4014 (window-deletable-p): Return 'frame only if no other frame uses
4015 our minibuffer window.
4016 (record-window-buffer): Run buffer-list-update-hook.
4017 (split-window): Make sure window--check-frame won't destroy an
4018 existing atomic window in case the new window gets nested
4019 inside.
4020 (display-buffer-at-bottom): Ignore minibuffer window when
4021 walking window tree. Don't split a side window.
4022 (pop-to-buffer): Don't set-buffer here, the select-window call
4023 should do that.
4024 (mouse-autoselect-window-select): Autoselect only if we are in the
4025 text portion of the window.
4026
4027 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4028
4029 * net/shr.el (shr-parse-image-data): New function to grab both the
4030 data itself and the Content-Type.
4031 (shr-put-image): Use it.
4032
4033 * net/eww.el (eww-display-image): Ditto.
4034
4035 * image.el (image-content-type-suffixes): New variable.
4036
4037 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4038
4039 * progmodes/python.el (python-imenu--build-tree)
4040 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4041
4042 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4043
4044 * simple.el (backward-word): Mention the optional argument.
4045
4046 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4047
4048 * frameset.el (frameset--make): Rename constructor from make-frameset.
4049 (frameset-p, frameset-valid-p): Don't autoload.
4050 (frameset-valid-p): Use normal accessors.
4051
4052 2013-08-13 Glenn Morris <rgm@gnu.org>
4053
4054 * progmodes/compile.el (compile-command): Tweak example in doc.
4055 * obsolete/scribe.el (scribe-mode):
4056 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4057
4058 * mail/feedmail.el (feedmail-confirm-outgoing)
4059 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4060
4061 * cus-start.el (truncate-partial-width-windows): Fix type.
4062
4063 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4064
4065 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4066
4067 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4068
4069 * emacs-lisp/timer.el (timer--time-setter): New function.
4070 (timer--time): Use it as gv-setter.
4071
4072 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4073 setter is not a symbol.
4074
4075 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4076
4077 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4078 if sending fails. This makes debugging easier.
4079
4080 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4081
4082 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4083 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4084 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4085
4086 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4087
4088 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4089
4090 2013-08-12 Glenn Morris <rgm@gnu.org>
4091
4092 * format.el (format-annotate-function):
4093 Handle read-only text properties in the source. (Bug#14887)
4094
4095 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4096
4097 * net/eww.el (eww-display-html): Ignore coding system errors.
4098 One web site uses "utf-8lias" as the coding system.
4099
4100 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4101
4102 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4103
4104 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4105
4106 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4107 (tutorial--detailed-help): Remove unused local variables.
4108 (tutorial--save-tutorial-to): Use ignore-errors.
4109 (help-with-tutorial): Use looking-at-p.
4110
4111 * view.el (view-buffer-other-window, view-buffer-other-frame):
4112 Mark unused arguments.
4113
4114 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4115 (woman-select-symbol-fonts, woman, woman-find-file)
4116 (woman-insert-file-contents, woman-non-underline-faces):
4117 Use string-match-p.
4118 (woman1-unquote): Move declaration.
4119
4120 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4121 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4122 argument. Remove unused local variable.
4123 (xml-parse-elem-type): Use string-match-p.
4124 (xml-substitute-numeric-entities): Use ignore-errors.
4125
4126 * calculator.el (calculator): Mark unused argument.
4127 (calculator-paste, calculator-quit, calculator-integer-p):
4128 Use ignore-errors.
4129 (calculator-string-to-number, calculator-decimal, calculator-exp)
4130 (calculator-op-or-exp): Use string-match-p.
4131
4132 * dired.el (dired-buffer-more-recently-used-p): Declare.
4133 (dired-insert-set-properties, dired-insert-old-subdirs):
4134 Use ignore-errors.
4135
4136 * dired-aux.el (dired-compress): Use ignore-errors.
4137 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4138 (dired-do-async-shell-command, dired-do-shell-command)
4139 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4140 (dired-insert-subdir-validate): Use string-match-p.
4141 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4142 (dired-add-entry): Use string-match-p, looking-at-p.
4143 (dired-insert-subdir-newpos): Remove unused local variable.
4144
4145 * filenotify.el (file-notify-callback): Remove unused local variable.
4146
4147 * filesets.el (filesets-error): Mark unused argument.
4148 (filesets-which-command-p, filesets-filter-dir-names)
4149 (filesets-directory-files, filesets-get-external-viewer)
4150 (filesets-ingroup-get-data): Use string-match-p.
4151
4152 * find-file.el (ff-other-file-name, ff-other-file-name)
4153 (ff-find-the-other-file, ff-cc-hh-converter):
4154 Remove unused local variables.
4155 (ff-get-file-name): Use string-match-p.
4156 (ff-all-dirs-under): Use ignore-errors.
4157
4158 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4159 (follow-select-if-visible): Remove unused local variable.
4160
4161 * forms.el (read-file-filter): Move declaration.
4162 (forms--make-format, forms--make-parser, forms-insert-record):
4163 Quote function with #'.
4164 (forms--update): Use string-match-p. Quote function with #'.
4165
4166 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4167 (help-make-xrefs): Use looking-at-p.
4168 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4169
4170 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4171 (ibuffer-confirm-operation-on): Use string-match-p.
4172
4173 * msb.el (msb-item-handler, msb-dired-item-handler):
4174 Mark unused arguments.
4175
4176 * ses.el (ses-decode-cell-symbol)
4177 (ses-kill-override): Remove unused local variable.
4178 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4179 (ses-load): Use ignore-errors, looking-at-p.
4180 (ses-jump-safe): Use ignore-errors.
4181 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4182
4183 * tabify.el (untabify, tabify): Mark unused arguments.
4184
4185 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4186 Mark unused argument.
4187 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4188 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4189
4190 * emacs-lisp/timer.el (timer--time): Define setter with
4191 gv-define-setter to avoid deprecation warning.
4192
4193 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4194 (*record-cmpl-statistics-p*): Remove (was commented out).
4195 (cmpl-statistics-block): Remove (body was commented out).
4196 All callers changed.
4197 (add-completions-from-buffer, load-completions-from-file):
4198 Remove unused variables.
4199
4200 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4201
4202 * filecache.el (file-cache-delete-file-list):
4203 Print message only when told so.
4204 (file-cache-files-matching): Use #' in mapconcat argument.
4205
4206 * ffap.el (ffap-url-at-point): Fix reference to variable
4207 thing-at-point-default-mail-uri-scheme.
4208
4209 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4210
4211 * subr.el (define-error): New function.
4212 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4213 error-file-not-found and define with define-error.
4214 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4215 and define with define-error.
4216 * userlock.el (file-locked, file-supersession):
4217 * simple.el (mark-inactive):
4218 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4219 * progmodes/ada-mode.el (ada-mode-errors):
4220 * play/life.el (life-extinct):
4221 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4222 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4223 * nxml/rng-util.el (rng-error):
4224 * nxml/rng-uri.el (rng-uri-error):
4225 * nxml/rng-match.el (rng-compile-error):
4226 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4227 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4228 * nxml/nxml-rap.el (nxml-scan-error):
4229 * nxml/nxml-outln.el (nxml-outline-error):
4230 * net/soap-client.el (soap-error):
4231 * net/gnutls.el (gnutls-error):
4232 * net/ange-ftp.el (ftp-error):
4233 * mpc.el (mpc-proc-error):
4234 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4235 (json-number-format, json-string-escape, json-string-format)
4236 (json-key-format, json-object-format):
4237 * jka-compr.el (compression-error):
4238 * international/quail.el (quail-error):
4239 * international/kkc.el (kkc-error):
4240 * emacs-lisp/ert.el (ert-test-failed):
4241 * calc/calc.el (calc-error, inexact-result, math-overflow)
4242 (math-underflow):
4243 * bookmark.el (bookmark-error-no-filename):
4244 * epg.el (epg-error): Define with define-error.
4245
4246 * time.el (display-time-event-handler)
4247 (display-time-next-load-average): Don't call sit-for since it seems
4248 unnecessary (bug#15045).
4249
4250 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4251 Use #' instead of ' to quote functions.
4252 (checkdoc-output-mode): Use setq-local.
4253 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4254 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4255 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4256 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4257 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4258 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4259 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4260 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4261
4262 * ido.el (ido-completion-help): Fix up compiler warning.
4263
4264 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4265
4266 * frameset.el (frameset-p): Add autoload cookie.
4267 (frameset--jump-to-register): New function, based on code moved from
4268 register.el.
4269 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4270
4271 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4272 (frameset-restore, frameset-save, frameset-session-filter-alist):
4273 Remove declarations.
4274 (register-alist): Doc fix.
4275 (frameset-to-register): Move to frameset.el.
4276 (jump-to-register, describe-register-1): Remove frameset-specific code.
4277
4278 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4279
4280 * allout-widgets.el (allout-widgets-pre-command-business)
4281 (allout-widgets-post-command-business)
4282 (allout-widgets-after-change-handler)
4283 (allout-decorate-item-and-context, allout-set-boundary-marker)
4284 (allout-body-modification-handler)
4285 (allout-graphics-modification-handler): Mark ignored arguments.
4286 (allout-widgets-post-command-business)
4287 (allout-widgets-exposure-change-processor)
4288 (allout-widgets-exposure-undo-processor)
4289 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4290 (allout-parse-item-at-point, allout-decorate-item-guides)
4291 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4292 * allout.el (epa-passphrase-callback-function): Declare.
4293 (allout-overlay-insert-in-front-handler)
4294 (allout-overlay-interior-modification-handler)
4295 (allout-isearch-end-handler, allout-chart-siblings)
4296 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4297 (allout-yank-processing, allout-process-exposed)
4298 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4299 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4300 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4301 (lisp-indent-defform): Mark ignored arguments.
4302 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4303 (calculate-lisp-indent): Remove unused variables.
4304 * international/characters.el (indian-2-column, arabic-2-column)
4305 (tibetan): Mark ignored arguments.
4306 (use-cjk-char-width-table): Mark ignored arguments.
4307 Remove unused variables.
4308 * international/fontset.el (build-default-fontset-data)
4309 (x-compose-font-name, create-fontset-from-fontset-spec):
4310 Mark ignored arguments.
4311 (fontset-plain-name): Remove unused variables.
4312 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4313 (keyboard-coding-system): Mark ignored arguments.
4314 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4315 * help.el (resize-temp-buffer-window):
4316 * window.el (display-buffer-in-major-side-window)
4317 (display-buffer-in-side-window, display-buffer-in-previous-window):
4318 Remove unused variables.
4319 * isearch.el (isearch-forward-symbol):
4320 * version.el (emacs-bzr-version-bzr):
4321 * international/mule-cmds.el (current-language-environment):
4322 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4323 (x-handle-display):
4324 * term/pc-win.el (x-list-fonts, x-display-planes)
4325 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4326 (x-server-version, x-display-screens, x-display-mm-height)
4327 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4328 (x-selection-owner-p, x-own-selection-internal)
4329 (x-disown-selection-internal, x-get-selection-internal)
4330 (msdos-initialize-window-system):
4331 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4332 * term/x-win.el (x-handle-no-bitmap-icon):
4333 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4334 (vc-default-find-file-hook, vc-default-extra-menu):
4335 Mark ignored arguments.
4336
4337 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4340 break-condition in the context of the debugged code (bug#12685).
4341
4342 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4343
4344 * comint.el:
4345 Do not use an overlay to highlight the last prompt. (Bug#14744)
4346 (comint-mode): Make comint-last-prompt buffer local.
4347 (comint-last-prompt): New variable.
4348 (comint-last-prompt-overlay): Remove. Superseded by
4349 comint-last-prompt.
4350 (comint-snapshot-last-prompt, comint-output-filter):
4351 Use comint-last-prompt.
4352
4353 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4354
4355 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4356 (frameset-save): Check validity of the resulting frameset.
4357
4358 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4359
4360 * ido.el (ido-record-command): Add doc string.
4361
4362 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4363
4364 * frameset.el (frameset): Do not disable creation of the default
4365 frameset-p predicate. Doc fix.
4366 (frameset-valid-p): New function, copied from the old predicate-p.
4367 Add additional checks.
4368 (frameset-restore): Check with frameset-valid-p.
4369 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4370 (frameset-name, frameset-description, frameset-properties)
4371 (frameset-states): Add docstring.
4372 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4373 (frameset-filter-alist): Doc fixes.
4374
4375 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4376
4377 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4378
4379 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4382 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4383 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4384 (byte-compile-normal-call): Remove obsolescence check.
4385
4386 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4387
4388 * frameset.el (frameset-restore): Doc fix.
4389
4390 * register.el (frameset-frame-id, frameset-frame-with-id)
4391 (frameset-p, frameset-restore, frameset-save): Declare.
4392 (register-alist): Document framesets.
4393 (frameset-session-filter-alist): Declare.
4394 (frameset-to-register): New function.
4395 (jump-to-register): Implement jumping to framesets. Doc fix.
4396 (describe-register-1): Describe framesets.
4397
4398 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4399
4400 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4401
4402 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4403 Use lexical-binding.
4404
4405 * frameset.el (frameset): Use type vector, not list (incompatible
4406 change). Do not declare a new constructor, use the default one.
4407 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4408 `name' and `description', respectively, and add read-only slot
4409 `timestamp'. Doc fixes.
4410 (frameset-copy, frameset-persistent-filter-alist)
4411 (frameset-filter-alist, frameset-switch-to-gui-p)
4412 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4413 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4414 (frameset-filter-iconified, frameset-keep-original-display-p):
4415 Doc fixes.
4416 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4417 Rename from frameset-filter-(save|restore)-param. All callers changed.
4418 Doc fix.
4419 (frameset-p): Adapt to change to vector and be more thorough.
4420 Change arg name to OBJECT. Doc fix.
4421 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4422 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4423 All callers changed.
4424 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4425 All callers changed.
4426 (frameset--record-minibuffer-relationships): Rename from
4427 frameset--process-minibuffer-frames. All callers changed.
4428 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4429 Use new default constructor (again). Doc fix.
4430 (frameset--find-frame-if): Rename from `frameset--find-frame.
4431 All callers changed.
4432 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4433 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4434 Doc fix.
4435 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4436 PARAMETERS and WINDOW-STATE, respectively.
4437 (frameset-restore): Add new keyword argument PREDICATE.
4438 Reset frameset--target-display to nil. Doc fix.
4439
4440 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4441
4442 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4443 (bat-mode): Use it.
4444 (bat-mode-syntax-table): Mark \n as end-of-comment.
4445 (bat-font-lock-keywords): Remove comment rule.
4446
4447 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4448 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4449
4450 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4451 (byte-compile-callargs-warn): Use `push'.
4452 (byte-compile-arglist-warn): Ignore higher-order "calls".
4453 (byte-compile-file-form-autoload): Use `pcase'.
4454 (byte-compile-function-form): If quoting a symbol, check that it exists.
4455
4456 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4457
4458 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4459 and add a few popular commands found in batch files.
4460 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4461 (dos-mode): Doc fixes.
4462
4463 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4464
4465 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4466 (dos-mode): Use setq-local. Add space after "rem".
4467 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4468 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4469
4470 2013-08-07 Arni Magnusson <arnima@hafro.is>
4471
4472 * progmodes/dos.el: New file.
4473 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4474 dos-mode.
4475
4476 2013-08-06 Glenn Morris <rgm@gnu.org>
4477
4478 * calendar/calendar.el: Add new faces, and day-header-array.
4479 (calendar-weekday-header, calendar-weekend-header)
4480 (calendar-month-header): New faces.
4481 (calendar-day-header-construct): New function.
4482 (calendar-day-header-width): Also :set calendar-day-header-array.
4483 (calendar-american-month-header, calendar-european-month-header)
4484 (calendar-iso-month-header): Use calendar- faces.
4485 (calendar-generate-month):
4486 Use calendar-day-header-array for day headers; apply faces to them.
4487 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4488 (calendar-abbrev-construct): Add optional maxlen argument.
4489 (calendar-day-name-array): Doc fix.
4490 (calendar-day-name-array, calendar-abbrev-length)
4491 (calendar-day-abbrev-array):
4492 Also :set calendar-day-header-array, and maybe redraw.
4493 (calendar-day-header-array): New option. (Bug#15007)
4494 (calendar-font-lock-keywords): Set to nil and make obsolete.
4495 (calendar-day-name): Add option to use header array.
4496
4497 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4498
4499 * net/shr.el (shr-render-td): Remove debugging.
4500 (shr-render-td): Make width computation consistent by defaulting
4501 all zero-width columns to 10 characters. This may not be optimal,
4502 but it's at least consistent.
4503 (shr-make-table-1): Redo last change to fix the real problem in
4504 colspan handling.
4505
4506 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4507
4508 * files.el (cache-long-line-scans):
4509 Make obsolete alias to `cache-long-scans'.
4510
4511 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4512
4513 * frameset.el (frameset, frameset-filter-alist)
4514 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4515 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4516 (frameset-compute-pos): Rename from frameset--compute-pos,
4517 and add docstring.
4518 (frameset-move-onscreen): Use frameset-compute-pos.
4519 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4520
4521 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4522 Fix typos in docstrings.
4523
4524 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4525
4526 * frame.el (get-other-frame): Tiny cleanup.
4527
4528 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4529
4530 * vc/vc.el (vc-default-ignore-completion-table):
4531 Silence byte-compiler warning.
4532
4533 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4534 slot , which can indeed be nil.
4535 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4536 Move entry for `left' from persistent to live filter alist.
4537 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4538 Doc fixes.
4539 (frameset-filter-params): When restoring a frame, copy items added to
4540 `filtered', to avoid unwittingly modifying the original parameters.
4541 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4542 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4543
4544 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4545 to use looking-at-p instead of looking-at. (Bug#15028)
4546
4547 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4548
4549 Revert introduction of isearch-filter-predicates (bug#14714).
4550 Rely on add-function instead.
4551 * isearch.el (isearch-filter-predicates): Rename it back to
4552 isearch-filter-predicate.
4553 (isearch-message-prefix): Use advice-function-mapc and advice
4554 properties to get the isearch-message-prefix.
4555 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4556 instead of run-hook-with-args-until-failure.
4557 (isearch-filter-visible): Not obsolete any more.
4558 * loadup.el: Preload nadvice.
4559 * replace.el (perform-replace): Revert to funcall
4560 instead of run-hook-with-args-until-failure.
4561 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4562 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4563 dired-isearch-filenames-toggle; make it into a proper minor mode.
4564 Use add/remove-function.
4565 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4566 Call the minor-mode rather than add/remove-hook.
4567 (dired-isearch-filter-filenames):
4568 Remove isearch-message-prefix property.
4569 * info.el (Info--search-loop): New function, extracted from Info-search.
4570 Funcall isearch-filter-predicate instead of
4571 run-hook-with-args-until-failure isearch-filter-predicates.
4572 (Info-search): Use it.
4573 (Info-mode): Use isearch-filter-predicate instead of
4574 isearch-filter-predicates.
4575
4576 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4577
4578 Do not call to `selected-window' where it is assumed by default.
4579 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4580 `window-hscroll', `window-width', `window-height', `window-buffer',
4581 `window-frame', `window-start', `window-point', `next-window'
4582 and `window-display-table'.
4583 * abbrev.el (abbrev--default-expand):
4584 * bs.el (bs--show-with-configuration):
4585 * buff-menu.el (Buffer-menu-mouse-select):
4586 * calc/calc.el (calc):
4587 * calendar/calendar.el (calendar-generate-window):
4588 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4589 (diary-make-entry):
4590 * comint.el (send-invisible, comint-dynamic-complete-filename)
4591 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4592 * completion.el (complete):
4593 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4594 * disp-table.el (describe-current-display-table):
4595 * doc-view.el (doc-view-insert-image):
4596 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4597 * ehelp.el (with-electric-help):
4598 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4599 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4600 * emacs-lisp/helper.el (Helper-help-scroller):
4601 * emulation/cua-base.el (cua--post-command-handler-1):
4602 * eshell/esh-mode.el (eshell-output-filter):
4603 * ffap.el (ffap-gnus-wrapper):
4604 * help-macro.el (make-help-screen):
4605 * hilit-chg.el (highlight-compare-buffers):
4606 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4607 * hl-line.el (global-hl-line-highlight):
4608 * icomplete.el (icomplete-simple-completing-p):
4609 * isearch.el (isearch-done):
4610 * jit-lock.el (jit-lock-stealth-fontify):
4611 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4612 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4613 * mpc.el (mpc-tagbrowser, mpc):
4614 * net/rcirc.el (rcirc-any-buffer):
4615 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4616 * play/landmark.el (landmark-max-width, landmark-max-height):
4617 * play/zone.el (zone):
4618 * progmodes/compile.el (compilation-goto-locus):
4619 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4620 * progmodes/etags.el (find-tag-other-window):
4621 * progmodes/fortran.el (fortran-column-ruler):
4622 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4623 * progmodes/verilog-mode.el (verilog-point-text):
4624 * reposition.el (reposition-window):
4625 * rot13.el (toggle-rot13-mode):
4626 * server.el (server-switch-buffer):
4627 * shell.el (shell-dynamic-complete-command)
4628 (shell-dynamic-complete-environment-variable):
4629 * simple.el (insert-buffer, set-selective-display)
4630 (delete-completion-window):
4631 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4632 (speedbar-recenter):
4633 * startup.el (fancy-splash-head):
4634 * textmodes/ispell.el (ispell-command-loop):
4635 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4636 * tutorial.el (help-with-tutorial):
4637 * vc/add-log.el (add-change-log-entry):
4638 * vc/compare-w.el (compare-windows):
4639 * vc/ediff-help.el (ediff-indent-help-message):
4640 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4641 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4642 (ediff-setup-control-frame):
4643 * vc/emerge.el (emerge-position-region):
4644 * vc/pcvs-util.el (cvs-bury-buffer):
4645 * window.el (walk-windows, mouse-autoselect-window-select):
4646 * winner.el (winner-set-conf, winner-undo): Related users changed.
4647
4648 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4649
4650 * frameset.el (frameset--set-id): Doc fix.
4651 (frameset-frame-id, frameset-frame-id-equal-p)
4652 (frameset-locate-frame-id): New functions.
4653 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4654 (frameset-restore): Use them.
4655
4656 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4657
4658 Do not call to `selected-frame' where it is assumed by default.
4659 Affected functions are `raise-frame', `redraw-frame',
4660 `frame-first-window', `frame-terminal' and `delete-frame'.
4661 * calendar/appt.el (appt-disp-window):
4662 * epg.el (epg-wait-for-completion):
4663 * follow.el (follow-delete-other-windows-and-split)
4664 (follow-avoid-tail-recenter):
4665 * international/mule.el (set-terminal-coding-system):
4666 * mail/rmail.el (rmail-mail-return):
4667 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4668 * progmodes/f90.el (f90-add-imenu-menu):
4669 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4670 * server.el (server-switch-buffer):
4671 * simple.el (delete-completion-window):
4672 * talk.el (talk):
4673 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4674 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4675 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4676 * vc/ediff.el (ediff-documentation): Related users changed.
4677 * frame.el (selected-terminal): Remove the leftover.
4678
4679 2013-08-05 Glenn Morris <rgm@gnu.org>
4680
4681 * calendar/calendar.el (calendar-generate-month):
4682 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4683 (calendar-generate-month, calendar-font-lock-keywords):
4684 Fix for calendar-day-header-width > length of any day name.
4685
4686 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4687
4688 * desktop.el (desktop-clear): Use new name of sort predicate.
4689
4690 * frameset.el (frameset): Add docstring. Move :version property to its
4691 own `version' slot.
4692 (frameset-copy): Rename from copy-frameset.
4693 (frameset-p): Check more thoroughly.
4694 (frameset-prop): Do not check for :version, which is no longer a prop.
4695 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4696 Use new :never value instead of t.
4697 (frameset-filter-alist): Expand and clarify docstring.
4698 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4699 (frameset-filter-minibuffer, frameset-filter-save-param)
4700 (frameset-filter-restore-param, frameset-filter-iconified):
4701 Add pointer to docstring of frameset-filter-alist.
4702 (frameset-filter-params): Rename filter values to be more meaningful:
4703 :never instead of t, and reverse the meanings of :save and :restore.
4704 (frameset--process-minibuffer-frames): Clarify error message.
4705 (frameset-save): Avoid unnecessary and confusing call to framep.
4706 Use new BOA constructor for framesets.
4707 (frameset--reuse-list): Doc fix.
4708 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4709 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4710 (frameset-minibufferless-first-p): Doc fix.
4711 Rename from frameset-sort-frames-for-deletion.
4712 (frameset-restore): Doc fixes. Use new function names.
4713 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4714
4715 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4716
4717 * desktop.el (desktop-restore-forces-onscreen)
4718 (desktop-restore-reuses-frames): Document :keyword constant values.
4719 (desktop-filter-parameters-alist): Remove, now identical to
4720 frameset-filter-alist.
4721 (desktop--filter-tty*): Remove, moved to frameset.el.
4722 (desktop-save-frameset, desktop-restore-frameset):
4723 Do not pass :filters argument.
4724
4725 * frameset.el (frameset-live-filter-alist)
4726 (frameset-persistent-filter-alist): New variables.
4727 (frameset-filter-alist): Use them. Add autoload cookie.
4728 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4729 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4730 `frameset--id' (it's supposed to be internal to frameset.el).
4731 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4732 (frameset--initial-params): New function.
4733 (frameset--get-frame): Use it. Doc fix.
4734 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4735 Accept :all, not 'all.
4736 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4737 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4738 with fbound symbols. Fix frame id matching, and remove matching ids if
4739 the frame being restored is deleted. Obey :delete.
4740
4741 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4742
4743 * subr.el (macrop): New function.
4744 (text-clone--maintaining): New var.
4745 (text-clone--maintain): Rename from text-clone-maintain. Use it
4746 instead of inhibit-modification-hooks.
4747
4748 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4749 a proxy, so as handle autoloads and redefinitions of the target.
4750 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4751
4752 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4753 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4754 (pcase--mutually-exclusive-p): New function.
4755 (pcase--split-consp): Use it.
4756 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4757 mutually exclusive with the current predicate.
4758
4759 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4760 (edebug-macrop): Remove. Use `macrop' instead.
4761 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4762 (ad-macro-p):
4763 * eshell/esh-cmd.el (eshell-macrop):
4764 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4765
4766 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4767
4768 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4769 (advice-mapc): New function, using it.
4770 (advice-function-member-p): New function.
4771 (advice--normalize): Store the cdr in advice--saved-rewrite since
4772 that's the part that will be changed.
4773 (advice--symbol-function): New function.
4774 (advice-remove): Handle removal before the function is defined.
4775 Adjust to new advice--saved-rewrite.
4776 (advice-member-p): Use advice-function-member-p and
4777 advice--symbol-function.
4778
4779 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4780
4781 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4782 (frameset-filter-minibuffer): Doc fix.
4783 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4784 (frameset--set-id, frameset--process-minibuffer-frames)
4785 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4786 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4787
4788 * desktop.el (desktop-clear): Only delete frames when called
4789 interactively and desktop-restore-frames is non-nil. Doc fix.
4790 (desktop-read): Set desktop-saved-frameset to nil.
4791
4792 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4793
4794 * vc/vc.el (vc-ignore): Rewrite.
4795 (vc-default-ignore-completion-table):
4796 (vc--read-lines):
4797 (vc--add-line, vc--remove-regexp): New functions.
4798
4799 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4800 (vc-svn-ignore-completion-table): New function.
4801
4802 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4803 (vc-hg-ignore-completion-table):
4804 (vc-hg-find-ignore-file): New functions.
4805
4806 * vc/vc-git.el (vc-git-ignore): Rewrite.
4807 (vc-git-ignore-completion-table):
4808 (vc-git-find-ignore-file): New functions.
4809
4810 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4811
4812 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4813 (vc-bzr-ignore-completion-table):
4814 (vc-bzr-find-ignore-file): New functions.
4815
4816 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4817
4818 * frameset.el (frameset-prop): New function and setter.
4819 (frameset-save): Do not modify frame list passed by the caller.
4820
4821 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4822
4823 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4824
4825 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4826
4827 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4828 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4829
4830 * custom.el (custom-initialize-default, custom-initialize-set)
4831 (custom-initialize-reset, custom-initialize-changed): Affect the
4832 toplevel-default-value (bug#6275, bug#14586).
4833 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4834 for bug#6275.
4835
4836 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4837
4838 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4839 Add cl-def* expressions.
4840
4841 * frameset.el (frameset-filter-params): Fix order of arguments.
4842
4843 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4844
4845 Move code related to saving frames to frameset.el.
4846 * desktop.el: Require frameset.
4847 (desktop-restore-frames): Doc fix.
4848 (desktop-restore-reuses-frames): Rename from
4849 desktop-restoring-reuses-frames.
4850 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4851 (desktop-clear): Clear frames too.
4852 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4853 (desktop--filter-tty*, desktop-save, desktop-read):
4854 Use frameset functions.
4855 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4856 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4857 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4858 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4859 (desktop--process-minibuffer-frames, desktop-save-frames)
4860 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4861 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4862 (desktop--sort-states, desktop-restoring-frames-p)
4863 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4864 (desktop-restoring-frameset-p, desktop-restore-frameset)
4865 (desktop--check-dont-save, desktop-save-frameset): New functions.
4866 (desktop--app-id): New constant.
4867 (desktop-first-buffer, desktop-buffer-ok-count)
4868 (desktop-buffer-fail-count): Move before first use.
4869 * frameset.el: New file.
4870
4871 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4872
4873 * files.el: Use lexical-binding.
4874 (dir-locals-read-from-file): Remove unused `err' variable.
4875 (hack-dir-local-variables--warned-coding): New var.
4876 (hack-dir-local-variables): Use it to avoid repeated warnings.
4877 (make-backup-file-name--default-function): New function.
4878 (make-backup-file-name-function): Use it as default.
4879 (buffer-stale--default-function): New function.
4880 (buffer-stale-function): Use it as default.
4881 (revert-buffer-insert-file-contents--default-function): New function.
4882 (revert-buffer-insert-file-contents-function): Use it as default.
4883 (insert-directory): Avoid add-to-list.
4884
4885 * autorevert.el (auto-revert-handler): Simplify.
4886 Use buffer-stale--default-function.
4887
4888 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4889
4890 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4891
4892 * whitespace.el (whitespace-ensure-local-variables): New function.
4893 (whitespace-cleanup-region): Call it.
4894 (whitespace-turn-on): Call it.
4895
4896 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4897
4898 Complete file name handlers.
4899
4900 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4901 (tramp-handle-verify-visited-file-modtime)
4902 (tramp-handle-file-notify-rm-watch): New functions.
4903 (tramp-call-process): Do not bind `default-directory'.
4904
4905 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4906 Order alphabetically.
4907 [access-file, add-name-to-file, dired-call-process]:
4908 [dired-compress-file, file-acl, file-notify-rm-watch]:
4909 [file-ownership-preserved-p, file-selinux-context]:
4910 [make-directory-internal, make-symbolic-link, set-file-acl]:
4911 [set-file-selinux-context, set-visited-file-modtime]:
4912 [verify-visited-file-modtime]: Add handler.
4913 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4914
4915 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4916 [file-notify-add-watch, file-notify-rm-watch]:
4917 [set-file-times, set-visited-file-modtime]:
4918 [verify-visited-file-modtime]: Add handler.
4919 (with-tramp-gvfs-error-message)
4920 (tramp-gvfs-handle-set-visited-file-modtime)
4921 (tramp-gvfs-fuse-file-name): Remove.
4922 (tramp-gvfs-handle-file-notify-add-watch)
4923 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4924 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4925
4926 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4927 Order alphabetically.
4928 [file-notify-rm-watch ]: Use default Tramp handler.
4929 [executable-find]: Remove private handler.
4930 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4931 `default-directory'.
4932 (tramp-sh-handle-executable-find)
4933 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4934 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4935 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4936 Do not use `format' in `tramp-message'.
4937
4938 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4939 [file-notify-rm-watch, set-visited-file-modtime]:
4940 [verify-visited-file-modtime]: Add handler.
4941 (tramp-smb-call-winexe): Do not bind `default-directory'.
4942
4943 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4944
4945 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4946
4947 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4948
4949 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4950 use it.
4951 (log-view-diff-changeset): Same.
4952 (log-view-diff-common): Call backend command `previous-revision'
4953 to find out the previous revision, in both cases. Swap the
4954 variables `to' and `fr', so that `fr' usually refers to the
4955 earlier revision (Bug#14989).
4956
4957 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4958
4959 * ibuf-ext.el (ibuffer-filter-by-filename):
4960 Make it work with dired buffers too.
4961
4962 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4963
4964 * emacs-lisp/re-builder.el (reb-color-display-p):
4965 * files.el (save-buffers-kill-terminal):
4966 * net/browse-url.el (browse-url):
4967 * server.el (server-save-buffers-kill-terminal):
4968 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4969 Prefer nil to selected-frame for the first arg of frame-parameter.
4970
4971 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4972
4973 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4974
4975 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4976
4977 * minibuffer.el (completion--twq-all): Try and preserve each
4978 completion's case choice (bug#14907).
4979
4980 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4981
4982 * net/network-stream.el (open-network-stream): Mention the new
4983 :nogreeting parameter.
4984 (network-stream-open-starttls): Use the :nogreeting parameter
4985 (bug#14938).
4986
4987 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4988
4989 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4990 more natural than popping.
4991
4992 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4993 (shr-urlify): Highlight under mouse.
4994
4995 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4996
4997 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4998
4999 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5000
5001 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5002 buffer for output.
5003
5004 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5005 point-min==1. Fix search string. Fix parentheses missing.
5006
5007 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5008 assume point-min==1. Fix search string. Fix parentheses missing.
5009
5010 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5011
5012 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5013 buffer for output.
5014
5015 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5016
5017 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5018 initial frame is minibuffer-less. (Bug#14841)
5019
5020 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5021
5022 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5023 option.
5024
5025 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5026 (tramp-maybe-open-connection): Use it.
5027
5028 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5029
5030 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5031 minimal set of parameters passed when creating a frame, because
5032 the minibuffer status of a frame cannot be changed later.
5033
5034 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5035
5036 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5037 replace-regexp-in-string and inadvertent omissions in previous change.
5038 (todo-filter-items): Ensure only file names are comma-separated in
5039 name of filtered items buffer.
5040
5041 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5042
5043 * desktop.el: Optionally force offscreen frames back onscreen.
5044 (desktop-restoring-reuses-frames): New option.
5045 (desktop--compute-pos, desktop--move-onscreen): New functions.
5046 (desktop--make-frame): Use desktop--move-onscreen.
5047
5048 2013-07-27 Alan Mackenzie <acm@muc.de>
5049
5050 Fontify a Java generic method as a function.
5051 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5052 value to t.
5053
5054 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5055
5056 * calendar/todo-mode.el: Add command to rename todo files.
5057 (todo-rename-file): New command.
5058 (todo-key-bindings-t): Add key binding for it. Change the
5059 bindings of todo-filter-regexp-items(-multifile) to use `x'
5060 instead of `r', since the latter is better suited to the new
5061 renaming command.
5062
5063 2013-07-27 Alan Mackenzie <acm@muc.de>
5064
5065 Make Java try-with-resources statement parse properly.
5066 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5067 (c-block-stmt-1-2-key): New language constants/variables.
5068 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5069 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5070 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5071 with c-block-stmt-1-2-key.
5072
5073 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5074
5075 * desktop.el (desktop--make-frame): Apply most frame parameters after
5076 creating the frame to force (partially or totally) offscreen frames to
5077 be restored as such.
5078
5079 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5080
5081 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5082 (Bug#14948)
5083
5084 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5087 `base' arg of backtrace-frame.
5088
5089 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5090
5091 * simple.el (list-processes): Doc fix.
5092
5093 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5094
5095 * desktop.el (desktop--select-frame):
5096 Try harder to reuse existing frames.
5097
5098 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5099
5100 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5101 (edebug-eval): Use backtrace-eval.
5102 (edebug--display, edebug--recursive-edit): Don't let-bind the
5103 edebug-outer-* vars that keep track of variables we locally let-bind.
5104 (edebug-outside-excursion): Don't restore outside values of locally
5105 let-bound vars.
5106 (edebug--display): Use user-error.
5107 (cl-lexical-debug, cl-debug-env): Remove.
5108
5109 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5110
5111 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5112 are restored to be sure that they are visible before deleting any
5113 remaining ones.
5114
5115 2013-07-26 Matthias Meulien <orontee@gmail.com>
5116
5117 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5118 vc-print-root-log. (Bug#14948)
5119
5120 2013-07-26 Richard Stallman <rms@gnu.org>
5121
5122 Add aliases for encrypting mail.
5123 * epa.el (epa-mail-aliases): New option.
5124 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5125 Bind inhibit-read-only so read-only text doesn't ruin everything.
5126 (epa-mail-default-recipients): New subroutine broken out.
5127 Handle epa-mail-aliases.
5128
5129 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5130
5131 Add support for lexical variables to the debugger's `e' command.
5132 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5133 vars, except for debugger-outer-match-data.
5134 (debugger-frame-number): Move check for "on a function call" from
5135 callers into it. Add `skip-base' argument.
5136 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5137 (debugger-env-macro): Only reset the state stored in non-variables,
5138 i.e. current-buffer and match-data.
5139 (debugger-eval-expression): Rewrite using backtrace-eval.
5140 * subr.el (internal--called-interactively-p--get-frame): Remove.
5141 (called-interactively-p):
5142 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5143 `base' arg of backtrace-frame instead.
5144
5145 2013-07-26 Glenn Morris <rgm@gnu.org>
5146
5147 * align.el (align-regexp): Doc fix. (Bug#14857)
5148 (align-region): Explicit error if subexpression missing/does not match.
5149
5150 * simple.el (global-visual-line-mode):
5151 Do not duplicate the mode lighter. (Bug#14858)
5152
5153 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5154
5155 * window.el (display-buffer): In display-buffer bind
5156 split-window-keep-point to t, bug#14829.
5157
5158 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5159
5160 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5161 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5162 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5163 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5164 Change accordingly.
5165 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5166 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5167
5168 2013-07-25 Glenn Morris <rgm@gnu.org>
5169
5170 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5171
5172 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5173
5174 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5175 parameter to modify-frame-parameters if the value has not changed;
5176 this is a workaround for bug#14949.
5177 (desktop--make-frame): On cl-delete-if call, check parameter name,
5178 not full parameter.
5179
5180 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5181
5182 * vc/vc.el (vc-ignore): New function.
5183
5184 * vc/vc-svn.el (vc-svn-ignore): New function.
5185
5186 * vc/vc-hg.el (vc-hg-ignore): New function.
5187
5188 * vc/vc-git.el (vc-git-ignore): New function.
5189
5190 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5191 (vc-dir-ignore): New function.
5192
5193 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5194 (cvs-append-to-ignore): Move here from pcvs.el.
5195
5196 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5197
5198 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5199
5200 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5201
5202 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5203 (desktop-restore-frames): Warn when deleting an existing frame failed.
5204
5205 2013-07-24 Glenn Morris <rgm@gnu.org>
5206
5207 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5208
5209 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5210
5211 * filenotify.el (file-notify-supported-p):
5212 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5213 Remove functions.
5214
5215 * autorevert.el (auto-revert-use-notify):
5216 (auto-revert-notify-add-watch):
5217 * net/tramp.el (tramp-file-name-for-operation):
5218 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5219 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5220 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5221 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5222 Remove `file-notify-supported-p' entry.
5223
5224 2013-07-24 Glenn Morris <rgm@gnu.org>
5225
5226 * printing.el: Replace all uses of deleted ps-windows-system,
5227 ps-lp-system, ps-flatten-list with lpr- versions.
5228
5229 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5230
5231 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5232 checked with memq (bug#14935).
5233
5234 * files.el (revert-buffer-function): Use a non-nil default.
5235 (revert-buffer-preserve-modes): Declare var to
5236 provide access to the `preserve-modes' argument.
5237 (revert-buffer): Let-bind it.
5238 (revert-buffer--default): New function, extracted from revert-buffer.
5239
5240 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5241
5242 * lpr.el: Signal print errors more prominently.
5243 (print-region-function): Don't default to nil.
5244 (lpr-print-region): New function, extracted from print-region-1.
5245 Check lpr's return value and signal an error in case of problem.
5246 (print-region-1): Use it.
5247 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5248 versions instead.
5249 (ps-printer-name): Default to nil.
5250 (ps-printer-name-option): Default to lpr-printer-switch.
5251 (ps-print-region-function): Don't default to nil.
5252 (ps-postscript-code-directory): Simplify default.
5253 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5254 (ps-string-list, ps-eval-switch, ps-flatten-list)
5255 (ps-flatten-list-1): Remove.
5256 (ps-multibyte-buffer): Avoid setq.
5257 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5258 (print-region-function, ps-print-region-function): Don't set them here.
5259
5260 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5261
5262 * ido.el (ido-fractionp):
5263 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5264 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5265 (ido-max-directory-size, ido-max-dir-file-cache)
5266 (ido-decorations): Doc fix.
5267
5268 * ansi-color.el: Fix old URL.
5269
5270 2013-07-23 Michael R. Mauger <michael@mauger.com>
5271
5272 * progmodes/sql.el: Version 3.3
5273 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5274 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5275 (sql-interactive-remove-continuation-prompt): Rewrite, use
5276 functions above. Fix continuation prompt and complete output line
5277 handling.
5278 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5279 redirected output buffer.
5280 (sql-mode): Restore deleted code (Bug#13591).
5281
5282 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5283
5284 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5285
5286 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5287
5288 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5289
5290 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5291 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5292 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5293
5294 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5295
5296 * desktop.el (desktop-clear): Simplify; remove useless checks
5297 against invalid buffer names.
5298 (desktop-list*): Use cl-list*.
5299 (desktop-buffer-info, desktop-create-buffer): Simplify.
5300
5301 2013-07-23 Leo Liu <sdl.web@gmail.com>
5302
5303 * bookmark.el (bookmark-make-record): Restore NAME as a default
5304 value. (Bug#14933)
5305
5306 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5307
5308 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5309 extracted from autoload--insert-text.
5310 (autoload--insert-text): Remove.
5311 (autoload--print-cookie-text): New function, extracted from
5312 autoload--insert-cookie-text.
5313 (autoload--insert-cookie-text): Remove.
5314 (autoload-generate-file-autoloads): Adjust calls accordingly.
5315
5316 * winner.el (winner-hook-installed-p): Remove.
5317 (winner-mode): Simplify accordingly.
5318
5319 * subr.el (add-to-list): Fix compiler-macro when `append' is
5320 not constant. Don't use `cl-member' for the base case.
5321
5322 * progmodes/subword.el: Fix boundary case (bug#13758).
5323 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5324 own group.
5325 (subword-backward-regexp): Make it a constant.
5326 (subword-forward-internal): Don't treat a trailing capital as the
5327 beginning of a word.
5328
5329 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5330
5331 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5332 global value of tabulated-list-revert-hook (bug#14930).
5333
5334 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5335
5336 * desktop.el: Require 'cl-lib.
5337 (desktop-before-saving-frames-functions): New hook.
5338 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5339 for frames being saved. Rename from desktop--save-minibuffer-frames.
5340 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5341 Do not save frames with non-nil `desktop-dont-save' parameter.
5342 Filter out deleted frames.
5343 (desktop--find-frame): Use cl-find-if.
5344 (desktop--select-frame): Use cl-(first|second|third) to access values
5345 of desktop-mini.
5346 (desktop--make-frame): Use cl-delete-if.
5347 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5348 (desktop-restore-frames): Use cl-(first|second|third) to access values
5349 of desktop-mini. Look for visible frame at the end, not while
5350 restoring frames.
5351
5352 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5353 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5354 Use string-match-p, looking-at-p (bug#14927).
5355
5356 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5357
5358 * desktop.el (desktop-saved-frame-states):
5359 Rename from desktop--saved-states; all users changed.
5360 (desktop-save-frames): Rename from desktop--save-frames.
5361 Do not save state to desktop file.
5362 (desktop-save): Save desktop-saved-frame-states to desktop file
5363 and reset to nil.
5364 (desktop-restoring-frames-p): New function.
5365 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5366 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5367 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5368
5369 * desktop.el: Correctly restore iconified frames.
5370 (desktop--filter-iconified-position): New function.
5371 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5372
5373 2013-07-20 Glenn Morris <rgm@gnu.org>
5374
5375 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5376 Let `message' do the formatting.
5377 (def-gdb-preempt-display-buffer): Add explicit format.
5378
5379 * image-dired.el (image-dired-track-original-file):
5380 Use with-current-buffer.
5381 (image-dired-track-thumbnail): Use with-current-buffer.
5382 Avoid changing point of wrong window.
5383
5384 * image-dired.el (image-dired-track-original-file):
5385 Avoid changing point of wrong window. (Bug#14909)
5386
5387 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5388
5389 * progmodes/gdb-mi.el (gdb-done-or-error):
5390 Guard against "%" in gdb output. (Bug#14127)
5391
5392 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5393
5394 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5395 (Bug#14826)
5396
5397 * international/mule.el (coding-system-iso-2022-flags): Fix last
5398 change.
5399
5400 2013-07-20 Kenichi Handa <handa@gnu.org>
5401
5402 * international/mule.el (coding-system-iso-2022-flags):
5403 Add `8-bit-level-4'. (Bug#8522)
5404
5405 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5406
5407 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5408 (bug#14815).
5409
5410 * net/eww.el (eww-process-text-input): Allow inputting when the
5411 point is at the start of the line, as the properties aren't
5412 front-sticky.
5413
5414 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5415 degenerate widths.
5416
5417 2013-07-19 Richard Stallman <rms@gnu.org>
5418
5419 * epa.el (epa-popup-info-window): Doc fix.
5420
5421 * subr.el (split-string): New arg TRIM.
5422
5423 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5424
5425 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5426 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5427
5428 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5429
5430 * filenotify.el (file-notify--library): Rename from
5431 `file-notify-support'. Do not autoload. Adapt all uses.
5432 (file-notify-supported-p): New defun.
5433
5434 * autorevert.el (auto-revert-use-notify):
5435 Use `file-notify-supported-p' instead of `file-notify-support'.
5436 Adapt docstring.
5437 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5438
5439 * net/tramp.el (tramp-file-name-for-operation):
5440 Add `file-notify-supported-p'.
5441
5442 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5443 New defun.
5444 (tramp-sh-file-name-handler-alist): Add it as handler for
5445 `file-notify-supported-p '.
5446
5447 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5448 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5449 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5450 Add `ignore' as handler for `file-notify-*' functions.
5451
5452 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5453
5454 * simple.el (line-move-partial, line-move): Don't start vscroll or
5455 scroll-up if the current line is not taller than the window.
5456 (Bug#14881)
5457
5458 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5459
5460 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5461 highlight question marks in the method names as strings.
5462 (ruby-block-beg-keywords): Inline.
5463 (ruby-font-lock-keyword-beg-re): Extract from
5464 `ruby-font-lock-keywords'.
5465
5466 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5467
5468 * frame.el (blink-cursor-blinks): New defcustom.
5469 (blink-cursor-blinks-done): New defvar.
5470 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5471 (blink-cursor-timer-function): Check if number of blinks has been
5472 done on X and NS.
5473 (blink-cursor-suspend, blink-cursor-check): New defuns.
5474
5475 2013-07-15 Glenn Morris <rgm@gnu.org>
5476
5477 * edmacro.el (edmacro-format-keys): Fix previous change.
5478
5479 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5480
5481 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5482 The hack didn't work outside English locales anyway.
5483
5484 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5485
5486 * simple.el (define-alternatives): Rename from alternatives-define,
5487 per RMS' suggestion.
5488
5489 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5490
5491 * desktop.el (desktop-restore-frames): Change default to t.
5492 (desktop-restore-in-current-display): Now offer more options.
5493 (desktop-restoring-reuses-frames): New customization option.
5494 (desktop--saved-states): Doc fix.
5495 (desktop-filter-parameters-alist): New variable, renamed and expanded
5496 from desktop--excluded-frame-parameters.
5497 (desktop--target-display): New variable.
5498 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5499 (desktop--filter-tty*, desktop--filter-*-color)
5500 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5501 (desktop--filter-save-desktop-parm)
5502 (desktop-restore-in-original-display-p): New functions.
5503 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5504 (desktop--save-minibuffer-frames): New function, inspired by a similar
5505 function from Martin Rudalics.
5506 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5507 (desktop--restore-in-this-display-p): Remove.
5508 (desktop--find-frame): Rename from desktop--find-frame-in-display
5509 and add predicate argument.
5510 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5511 (desktop--reuse-list): New variable.
5512 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5513 New functions.
5514 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5515
5516 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5517
5518 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5519
5520 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5521
5522 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5523 Highlight conversion methods on Kernel.
5524
5525 2013-07-13 Alan Mackenzie <acm@muc.de>
5526
5527 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5528 and comment it out. This out-commenting enables certain C++
5529 declarations to be parsed correctly.
5530
5531 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5532
5533 * international/mule.el (define-coding-system): Doc fix.
5534
5535 * simple.el (default-font-height): Don't call font-info if the
5536 frame's default font didn't change since the frame was created.
5537 (Bug#14838)
5538
5539 2013-07-13 Leo Liu <sdl.web@gmail.com>
5540
5541 * ido.el (ido-read-file-name): Guard against non-symbol value.
5542
5543 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5544
5545 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5546 in nested defuns.
5547
5548 2013-07-13 Leo Liu <sdl.web@gmail.com>
5549
5550 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5551 ido-set-matches call. (Bug#6852)
5552
5553 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5554
5555 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5556 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5557 Ruby 2.0.
5558 (ruby-font-lock-keywords): Distinguish calls to functions with
5559 module-like names from module references. Highlight character
5560 literals.
5561
5562 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5563
5564 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5565 (gdb-send): Handle continued commands. (Bug#14847)
5566
5567 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5568
5569 * desktop.el (desktop--v2s): Remove unused local variable.
5570 (desktop-save-buffer): Make defvar-local; adjust docstring.
5571 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5572 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5573
5574 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5575
5576 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5577
5578 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5579
5580 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5581 (Bug#14842)
5582
5583 2013-07-12 Glenn Morris <rgm@gnu.org>
5584
5585 * doc-view.el: Require cl-lib at runtime too.
5586 (doc-view-remove-if): Remove.
5587 (doc-view-search-next-match, doc-view-search-previous-match):
5588 Use cl-remove-if.
5589
5590 * edmacro.el: Require cl-lib at runtime too.
5591 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5592 (edmacro-mismatch, edmacro-subseq): Remove.
5593
5594 * shadowfile.el: Require cl-lib.
5595 (shadow-remove-if): Remove.
5596 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5597 Use cl-remove-if.
5598
5599 * wid-edit.el: Require cl-lib.
5600 (widget-choose): Use cl-remove-if.
5601 (widget-remove-if): Remove.
5602
5603 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5604 (ebrowse-delete-if-not): Remove.
5605 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5606 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5607 Use cl-delete-if-not.
5608
5609 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5610
5611 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5612 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5613
5614 2013-07-12 Leo Liu <sdl.web@gmail.com>
5615
5616 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5617
5618 2013-07-11 Glenn Morris <rgm@gnu.org>
5619
5620 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5621 (edebug-gensym-index, edebug-gensym):
5622 Remove reimplementation of cl-gensym.
5623 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5624
5625 * thumbs.el: Require cl-lib at run-time too.
5626 (thumbs-gensym-counter, thumbs-gensym):
5627 Remove reimplementation of cl-gensym.
5628 (thumbs-temp-file): Use cl-gensym.
5629
5630 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5631 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5632 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5633 (ert--union, ert--gensym-counter, ert--gensym-counter)
5634 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5635 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5636 (ert-make-test-unbound, ert--expand-should-1)
5637 (ert--expand-should, ert--should-error-handle-error)
5638 (should-error, ert--explain-equal-rec)
5639 (ert--plist-difference-explanation, ert-select-tests)
5640 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5641 Use cl-lib functions rather than reimplementations.
5642
5643 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5644
5645 * net/tramp.el (tramp-methods): Extend docstring.
5646 (tramp-connection-timeout): New defcustom.
5647 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5648 (with-tramp-progress-reporter): Simplify.
5649 (tramp-process-actions): Improve messages.
5650
5651 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5652 * net/tramp-sh.el (tramp-maybe-open-connection):
5653 Use `tramp-connection-timeout'.
5654 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5655 (Bug#14808)
5656
5657 2013-07-11 Leo Liu <sdl.web@gmail.com>
5658
5659 * ido.el (ido-read-file-name): Conform to the requirements of
5660 read-file-name. (Bug#11861)
5661 (ido-read-directory-name): Conform to the requirements of
5662 read-directory-name.
5663
5664 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5665
5666 * subr.el (delay-warning): New function.
5667
5668 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5669
5670 * simple.el (default-line-height): New function.
5671 (line-move-partial, line-move): Use it instead of computing the
5672 line height inline.
5673 (line-move-partial): Always compute ROWH. If the last line is
5674 partially-visible, but its text is completely visible, allow
5675 cursor to enter such a partially-visible line.
5676
5677 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5678
5679 Improve error messages. (Bug#14808)
5680
5681 * net/tramp.el (tramp-current-connection): New defvar, moved from
5682 tramp-sh.el.
5683 (tramp-message-show-progress-reporter-message): Remove, not
5684 needed anymore.
5685 (tramp-error-with-buffer): Show message in minibuffer.
5686 Discard input before waiting. Reset connection timestamp.
5687 (with-tramp-progress-reporter): Improve messages.
5688 (tramp-process-actions): Use progress reporter. Delete process in
5689 case of error. Improve messages.
5690
5691 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5692 Call `tramp-error-with-buffer' with vector and buffer.
5693 (tramp-current-connection): Remove.
5694 (tramp-maybe-open-connection): The car of
5695 `tramp-current-connection' are the first 3 slots of the vector.
5696
5697 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5698
5699 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5700 inside continued strings.
5701
5702 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5703
5704 Timestamp fixes for undo (Bug#14824).
5705 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5706
5707 2013-07-10 Leo Liu <sdl.web@gmail.com>
5708
5709 * files.el (require-final-newline): Allow safe local value.
5710 (Bug#14834)
5711
5712 2013-07-09 Leo Liu <sdl.web@gmail.com>
5713
5714 * ido.el (ido-read-directory-name): Handle fallback.
5715 (ido-read-file-name): Update DIR to ido-current-directory.
5716 (Bug#1516)
5717 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5718
5719 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5720
5721 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5722 "autoload". Remove "warn lower camel case" section, previously
5723 commented out. Highlight negation char. Do not highlight the
5724 target in singleton method definitions.
5725
5726 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5727
5728 * faces.el (tty-setup-hook): Declare the hook.
5729
5730 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5731 and detect when a guard/pred depends on local vars (bug#14773).
5732 (pcase--u1): Adjust caller.
5733
5734 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5735
5736 * simple.el (line-move-partial, line-move): Account for
5737 line-spacing.
5738 (line-move-partial): Avoid setting vscroll when the last
5739 partially-visible line in window is of default height.
5740
5741 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5742
5743 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5744 been used a while.
5745
5746 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5747
5748 * subr.el (read-quoted-char): Remove unused local variable `char'.
5749
5750 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5751
5752 * ediff.el (ediff-version): Version update.
5753 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5754 (ediff-merge-with-ancestor-command, ediff-directories-command)
5755 (ediff-directories3-command, ediff-merge-directories-command)
5756 (ediff-merge-directories-with-ancestor-command): New functions.
5757 All are command-line interfaces to ediff: to facilitate calling
5758 Emacs with the appropriate ediff functions invoked.
5759
5760 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5761 (viper-save-kill-buffer): Check if buffer is modified.
5762
5763 * viper.el (viper-version): Version update.
5764 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5765
5766 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5769 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5770 (viper-intercept-ESC-key): Simplify.
5771 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5772 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5773 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5774 (viper-setup-ESC-to-escape): New functions.
5775 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5776 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5777
5778 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5779
5780 * simple.el (default-font-height, window-screen-lines):
5781 New functions.
5782 (line-move, line-move-partial): Use them instead of
5783 frame-char-height and window-text-height. This makes scrolling
5784 text smoother when the buffer's default face uses a font that is
5785 different from the frame's default font.
5786
5787 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5788
5789 * files.el (write-file): Do not display confirm dialog for NS,
5790 it does its own dialog, which can't be cancelled (Bug#14578).
5791
5792 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5793
5794 * simple.el (line-move-partial): Adjust the row returned by
5795 posn-at-point for the current window-vscroll. (Bug#14567)
5796
5797 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5798
5799 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5800 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5801 spaces.
5802
5803 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5804
5805 * window.el (window-state-put-stale-windows): New variable.
5806 (window--state-put-2): Save list of windows without matching buffer.
5807 (window-state-put): Remove "bufferless" windows if possible.
5808
5809 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5810
5811 * simple.el (alternatives-define): Remove leftover :group keyword.
5812 Tweak docstring.
5813
5814 2013-07-06 Leo Liu <sdl.web@gmail.com>
5815
5816 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5817 (ido-enable-virtual-buffers): New variable.
5818 (ido-buffer-internal, ido-toggle-virtual-buffers)
5819 (ido-make-buffer-list): Use it.
5820 (ido-exhibit): Support turning on and off virtual buffers
5821 automatically.
5822
5823 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5824
5825 * simple.el (alternatives-define): New macro.
5826
5827 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * subr.el (read-quoted-char): Use read-key.
5830 (sit-for): Let read-event decode tty input (bug#14782).
5831
5832 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5833
5834 * calendar/todo-mode.el: Add handling of file deletion, both by
5835 mode command and externally. Fix various related bugs.
5836 Clarify Commentary and improve some documentation strings and code.
5837 (todo-delete-file): New command.
5838 (todo-check-file): New function.
5839 (todo-show): Handle external deletion of the file we're trying to
5840 show (bug#14688). Replace called-interactively-p by an optional
5841 prefix argument to avoid problematic interaction with catch form
5842 when byte compiled (bug#14702).
5843 (todo-quit): Handle external deletion of the archive's todo file.
5844 Make sure the buffer that was visiting the archive file is still
5845 live before trying to bury it.
5846 (todo-category-completions): Handle external deletion of any
5847 category completion files.
5848 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5849 of todo files, in case of external deletion.
5850 (todo-add-file): Replace unnecessary setq by let-binding.
5851 (todo-find-archive): Check whether there are any archives.
5852 Replace unnecessary setq by let-binding.
5853 (todo-archive-done-item): Use find-file-noselect to get the
5854 archive buffer whether or not the archive already exists.
5855 Remove superfluous code. Use file size instead of buffer-file-name to
5856 check if the archive is new; if it is, update list of archives.
5857 (todo-default-todo-file): Allow nil to be a valid value for when
5858 there are no todo files.
5859 (todo-reevaluate-default-file-defcustom): Use corrected definition
5860 of todo-default-todo-file.
5861 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5862 (todo-delete-category, todo-show-categories-table)
5863 (todo-category-number): Clarify comment.
5864 (todo-filter-items): Clarify documentation string.
5865 (todo-show-current-file, todo-display-as-todo-file)
5866 (todo-reset-and-enable-done-separator): Tweak documentation string.
5867 (todo-done-separator): Make separator length window-width, since
5868 bug#2749 is now fixed.
5869
5870 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5871
5872 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5873 Support both "gvfs-monitor-dir" and "inotifywait".
5874 (tramp-sh-file-inotifywait-process-filter): Rename from
5875 `tramp-sh-file-notify-process-filter'.
5876 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5877 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5878
5879 2013-07-05 Leo Liu <sdl.web@gmail.com>
5880
5881 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5882
5883 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5884
5885 * frame.el (display-pixel-height, display-pixel-width)
5886 (display-mm-height, display-mm-width): Mention behavior on
5887 multi-monitor setups in docstrings.
5888 (w32-display-monitor-attributes-list): Declare function.
5889 (display-monitor-attributes-list): Use it.
5890
5891 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5892
5893 * filenotify.el: New package.
5894
5895 * autorevert.el (top): Require filenotify.el.
5896 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5897 instead.
5898 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5899 (auto-revert-notify-handler): Use `file-notify-*' functions.
5900
5901 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5902
5903 * net/tramp.el (tramp-file-name-for-operation):
5904 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5905
5906 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5907 for `file-notify-add-watch' and `file-notify-rm-watch'.
5908 (tramp-process-sentinel): Improve trace.
5909 (tramp-sh-handle-file-notify-add-watch)
5910 (tramp-sh-file-notify-process-filter)
5911 (tramp-sh-handle-file-notify-rm-watch)
5912 (tramp-get-remote-inotifywait): New defuns.
5913
5914 2013-07-03 Juri Linkov <juri@jurta.org>
5915
5916 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5917 call of `occur-read-primary-args' to interactive spec.
5918
5919 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5920 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5921
5922 2013-07-03 Matthias Meulien <orontee@gmail.com>
5923
5924 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5925 `Buffer-menu-multi-occur'. Add it to the menu.
5926 (Buffer-menu-mode): Document it in docstring.
5927 (Buffer-menu-multi-occur): New command. (Bug#14673)
5928
5929 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5930
5931 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5932 keywords and built-ins.
5933
5934 2013-07-03 Glenn Morris <rgm@gnu.org>
5935
5936 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5937
5938 Make info-xref checks case-sensitive by default
5939 * info.el (Info-find-node, Info-find-in-tag-table)
5940 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5941 Add option for exact case matching of nodes.
5942 * info-xref.el (info-xref): New custom group.
5943 (info-xref-case-fold): New option.
5944 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5945
5946 2013-07-03 Leo Liu <sdl.web@gmail.com>
5947
5948 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5949
5950 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5951
5952 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5953 middle of block statement initially, lower the depth. Remove
5954 FIXME comment, not longer valid. Remove middle of block statement
5955 detection, no need to do that anymore since we've been using
5956 `ruby-parse-region' here.
5957
5958 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5959
5960 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5961
5962 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5963
5964 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5965
5966 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5967
5968 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5969 (desktop-restore-in-current-display): New customization option.
5970 (desktop--excluded-frame-parameters): Add `font'.
5971 (desktop--save-frames): Rename from desktop--save-windows.
5972 (desktop--restore-in-this-display-p): New function.
5973 (desktop--make-full-frame): Remove unwanted width/height from
5974 full(width|height) frames.
5975 (desktop--restore-frames): Rename from desktop--restore-windows.
5976 Obey desktop-restore-current-display. Do not delete old frames or
5977 select a new frame unless we were able to restore at least one frame.
5978
5979 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5980
5981 * files.el (find-file-noselect): Simplify conditional expression.
5982
5983 * remember.el (remember-append-to-file):
5984 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5985
5986 Add `remember-notes' function to store random notes across Emacs
5987 restarts.
5988 * remember.el (remember-data-file): Add :set callback to affect
5989 notes buffer (if any).
5990 (remember-notes): New command.
5991 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5992 New defcustoms for the `remember-notes' function.
5993 (remember-notes-save-and-bury-buffer): New command.
5994 (remember-notes-mode-map): New variable.
5995 (remember-mode): New minor mode.
5996 (remember-notes--kill-buffer-query): New function.
5997 * startup.el (initial-buffer-choice): Add notes to custom type.
5998
5999 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6000
6001 * bindings.el (right-char, left-char): Don't call sit-for, this is
6002 no longer needed. Use arithmetic comparison only for numerical
6003 arguments.
6004
6005 * international/mule-cmds.el (select-safe-coding-system):
6006 Handle the case of FROM being a string correctly. (Bug#14755)
6007
6008 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6009
6010 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6011 progression on degenerate tables.
6012 (shr-rescale-image): ImageMagick animated images currently don't work.
6013
6014 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6015
6016 Some fixes and improvements for desktop frame restoration.
6017 It is still experimental and disabled by default.
6018 * desktop.el (desktop--save-windows): Put the selected frame at
6019 the head of the list.
6020 (desktop--make-full-frame): New function.
6021 (desktop--restore-windows): Try to re-select the frame that was
6022 selected upon saving. Do not abort if some frames fail to restore,
6023 just show an error message and continue. Set up maximized frames
6024 so they have default non-maximized dimensions.
6025
6026 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6027
6028 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6029 Don't start heredoc inside a string or comment.
6030
6031 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6032
6033 * bindings.el (visual-order-cursor-movement): New defcustom.
6034 (right-char, left-char): Provide visual-order cursor motion by
6035 calling move-point-visually. Update the doc strings.
6036
6037 2013-06-28 Kenichi Handa <handa@gnu.org>
6038
6039 * international/mule.el (define-coding-system): New coding system
6040 properties :inhibit-null-byte-detection,
6041 :inhibit-iso-escape-detection, and :prefer-utf-8.
6042 (set-buffer-file-coding-system): If :charset-list property of
6043 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6044 appropriate for setting.
6045
6046 * international/mule-cmds.el (select-safe-coding-system):
6047 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6048 multibyte characters, return utf-8 (or one of its siblings).
6049
6050 * international/mule-conf.el (prefer-utf-8): New coding system.
6051 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6052 files.
6053
6054 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6055
6056 * net/shr.el (shr-render-region): New function.
6057
6058 * net/eww.el: Autoload `eww-browse-url'.
6059
6060 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6061
6062 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6063 Adapt to `package-desc-version' being a list.
6064 Use `package--ac-desc-version' to retrieve version from a package
6065 archive element.
6066
6067 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6068
6069 New experimental feature to save&restore window and frame setup.
6070 * desktop.el (desktop-save-windows): New defcustom.
6071 (desktop--saved-states): New var.
6072 (desktop--excluded-frame-parameters): New defconst.
6073 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6074 (desktop--restore-windows, desktop--save-windows): New functions.
6075 (desktop-save): Call `desktop--save-windows'.
6076 (desktop-read): Call `desktop--restore-windows'.
6077
6078 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6079
6080 * net/shr.el (add-face-text-property): Remove compat definition.
6081
6082 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6083
6084 * info.el (Info-try-follow-nearest-node): Move search for footnote
6085 above search for node name to prevent missing a footnote (bug#14717).
6086
6087 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6088
6089 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6090
6091 2013-06-27 Leo Liu <sdl.web@gmail.com>
6092
6093 * net/eww.el (eww-read-bookmarks): Check file size.
6094
6095 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6096
6097 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6098 advice--pending if newdef is nil or an autoload (bug#13820).
6099 (advice-mapc): New function.
6100
6101 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6102
6103 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6104 probably.
6105 (eww-mode-map): Add a menu bar.
6106 (eww-add-bookmark): New command.
6107 (eww-bookmark-mode): New mode and commands.
6108 (eww-add-bookmark): Remove newlines from the title.
6109 (eww-bookmark-browse): Don't bug out if it's the only window.
6110
6111 2013-06-26 Glenn Morris <rgm@gnu.org>
6112
6113 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6114 (hfy-size): Handle ttys. (Bug#14668)
6115
6116 * info-xref.el: Update for Texinfo 5 change in *note format.
6117 (info-xref-node-re, info-xref-note-re): New constants.
6118 (info-xref-check-buffer): Use info-xref-note-re.
6119
6120 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6121
6122 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6123
6124 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6125 nil terminate the loop (bug#14718).
6126
6127 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6128
6129 * net/eww.el: Rework history traversal. When going forward/back,
6130 put these actions into the history, too, so that they can be
6131 replayed.
6132 (eww-render): Move the history reset to the correct buffer.
6133
6134 2013-06-25 Juri Linkov <juri@jurta.org>
6135
6136 * files-x.el (modify-dir-local-variable): Change the header comment
6137 in the file with directory local variables. (Bug#14692)
6138
6139 * files-x.el (read-file-local-variable-value): Add `default'.
6140 (Bug#14710)
6141
6142 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6143
6144 * net/eww.el (eww-make-unique-file-name): Create a unique file
6145 name before saving to entering `y' accidentally asynchronously.
6146
6147 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6148
6149 * net/eww.el (eww-download): New command and keystroke.
6150
6151 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6152
6153 * net/eww.el (eww-copy-page-url): Change name of command.
6154
6155 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6156 be more consistent with Info and dired.
6157
6158 * net/eww.el (eww-mode-map): Ditto.
6159
6160 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6161
6162 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6163 packages from archives.
6164 (package-archive-contents): Change format; include obsolete packages.
6165 (package-desc): Use `dir' to mark builtin packages.
6166 (package--from-builtin): Set the `dir' field to `builtin'.
6167 (generated-autoload-file, version-control): Declare.
6168 (package-compute-transaction): Change first arg and return value to be
6169 lists of package-descs. Adjust to new package-archive-contents format.
6170 (package--add-to-archive-contents): Adjust to new
6171 package-archive-contents format.
6172 (package-download-transaction): Arg is now a list of package-descs.
6173 (package-install): If `pkg' is a package name, pass it as
6174 a requirement, so it is subject to the usual (e.g. disabled) checks.
6175 (describe-package): Accept package-desc as well.
6176 (describe-package-1): Describe a specific package-desc. Add links to
6177 other package-descs for the same package name.
6178 (package-menu-describe-package): Pass the actual package-desc.
6179 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6180 works correctly.
6181 (package-desc-status): New function.
6182 (package-menu--refresh): New function, extracted
6183 from package-menu--generate.
6184 (package-menu--generate): Use it.
6185 (package-delete): Update package-alist.
6186 (package-menu-execute): Don't call package-initialize.
6187
6188 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6189 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6190 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6191 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6192 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6193 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6194
6195 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6196
6197 * window.el (window--state-get-1): Workaround for bug#14527.
6198 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6199
6200 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6201
6202 * net/eww.el (eww-back-url): Implement the history by stashing all
6203 the data into a list.
6204 (eww-forward-url): Allow going forward in the history, too.
6205
6206 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6209 for values and use read--expression for expressions (bug#14710).
6210 (read-file-local-variable): Avoid setq.
6211 (read-file-local-variable-mode): Use minor-mode-list.
6212
6213 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6214
6215 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6216 for DOI URLs.
6217
6218 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6219
6220 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6221 Update imenu-support when dialect changes.
6222
6223 2013-06-25 Leo Liu <sdl.web@gmail.com>
6224
6225 * ido.el (ido-read-internal): Allow forward slash on windows.
6226
6227 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6228
6229 * net/eww.el (eww): Start of strings is \\`, not ^.
6230
6231 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6232
6233 * net/shr.el (shr-browse-url): Fix interactive spec.
6234
6235 * net/eww.el (eww): Add a trailing slash to domain names.
6236
6237 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6238
6239 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6240
6241 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6242
6243 * net/shr.el (shr-browse-url): Use an external browser if given a
6244 prefix.
6245
6246 * net/eww.el (eww-external-browser): Move to shr.
6247
6248 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6249
6250 * net/eww.el (eww): Work more correctly for file: URLs.
6251 (eww-detect-charset): Allow quoted charsets.
6252 (eww-yank-page-url): New command and keystroke.
6253
6254 2013-06-24 Daiki Ueno <ueno@gnu.org>
6255
6256 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6257 file name of gpg executable.
6258 (epg-context-program): New function.
6259 (epg-context-home-directory): New function.
6260 (epg-context-set-program): New function.
6261 (epg-context-set-home-directory): New function.
6262 (epg--start): Use `epg-context-program' instead of
6263 'epg-gpg-program'.
6264 (epg--list-keys-1): Likewise.
6265
6266 2013-06-24 Leo Liu <sdl.web@gmail.com>
6267
6268 * ido.el (ido-read-internal): Fix bug#14620.
6269
6270 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6271
6272 * faces.el (face-documentation): Simplify.
6273 (read-face-attribute, tty-find-type, x-resolve-font-name):
6274 Use `string-match-p'.
6275 (list-faces-display): Use `string-match-p'. Simplify.
6276 (face-spec-recalc): Check face to avoid face alias loops.
6277 (read-color): Use `string-match-p' and non-capturing parenthesis.
6278
6279 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6280
6281 * net/shr.el (shr-rescale-image): Use the new
6282 :max-width/:max-height functionality.
6283
6284 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6285
6286 * net/eww.el (eww-search-prefix): New variable.
6287 (eww): Use it.
6288 (eww-external-browser): New variable.
6289 (eww-mode-map): New keystroke.
6290 (eww-browse-with-external-browser): New command.
6291
6292 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6293
6294 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6295
6296 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6297 Don't skip aligning the next header field when padding is 0;
6298 otherwise, field width is not respected unless the title is as
6299 wide as the field.
6300
6301 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * emacs-lisp/package.el (package-el-version): Remove.
6304 (package-process-define-package): Fix inf-loop.
6305 (package-install): Allow symbols as arguments again.
6306
6307 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6308
6309 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6310 add some more keyword-like methods.
6311 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6312
6313 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6314
6315 * bs.el (bs-buffer-show-mark): Make defvar-local.
6316 (bs-mode): Use setq-local.
6317
6318 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6319 (emacs-lock--try-unlocking): Make defvar-local.
6320
6321 2013-06-22 Glenn Morris <rgm@gnu.org>
6322
6323 * play/cookie1.el (cookie-apropos): Minor simplification.
6324
6325 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6326
6327 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6328
6329 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6330 `regexp-opt', it breaks the build during dumping.
6331
6332 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6333
6334 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6335 Highlight keyword-like methods on Kernel and Module with
6336 font-lock-builtin-face.
6337 (auto-mode-alist): Consolidate different entries into one regexp
6338 and add more *file-s.
6339
6340 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6341
6342 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6343
6344 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6345 (diary-entry): Use it in the action of this button type instead of
6346 diary-goto-entry.
6347
6348 * calendar/todo-mode.el: New version.
6349 (todo-add-category): Append new category to end of file and give
6350 it the highest number, instead of putting it at the beginning and
6351 giving it 0. Incorporate noninteractive functionality.
6352 (todo-forward-category): Adapt to 1-based category numbering.
6353 Allow skipping over archived categories.
6354 (todo-backward-category): Derive from todo-forward-category.
6355 (todo-backward-item, todo-forward-item): Make noninteractive and
6356 delegate interactive part to new commands. Make sensitive to done items.
6357 (todo-categories): Make value an alist of category names and
6358 vectors of item counts.
6359 (todo-category-beg): Make a defconst.
6360 (todo-category-number): Use 1 instead of 0 as initial value.
6361 (todo-category-select): Make sensitive to overlays, optional item
6362 highlighting and done items.
6363 (todo-delete-item): Make sensitive to overlays and marked and done items.
6364 (todo-edit-item): Make sensitive to overlays and editing of
6365 date/time header optional. Add format checks.
6366 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6367 no-op if point is not on an item. Advertise using todo-edit-quit.
6368 (todo-edit-mode): Make sensitive to new format, font-locking, and
6369 multiple todo files.
6370 (todo-insert-item, todo-insert-item-here): Derive from
6371 todo-basic-insert-item and extend functionality.
6372 (todo-item-end, todo-item-start): Make sensitive to done items.
6373 (todo-item-string): Don't return text properties. Restore point.
6374 (todo-jump-to-category): Make sensitive to multiple todo files and
6375 todo archives. Use extended category completion.
6376 (todo-lower-item, todo-raise-item): Rename to *-priority and
6377 derive from todo-set-item-priority.
6378 (todo-mode): Derive from special-mode. Make sensitive to new
6379 format, font-locking and multiple todo files. Make read-only.
6380 (todo-mode-map): Don't suppress digit keys, so they can supply
6381 prefix arguments. Add many new key bindings.
6382 (todo-prefix): Insert as an overlay instead of file text.
6383 Change semantics from diary date expression to purely visual mark.
6384 (todo-print): Rename to todo-print-buffer. Make buffer display
6385 features printable. Remove option to restrict number of items
6386 printed. Add option to print to file.
6387 (todo-print-function): Rename to todo-print-buffer-function.
6388 (todo-quit): Extend to handle exiting new todo modes.
6389 (todo-remove-item): Make sensitive to overlays.
6390 (todo-save): Extend to buffers of filtered items.
6391 (todo-show): Make sensitive to done items, multiple todo files and
6392 new todo modes. Offer to convert legacy todo file before creating
6393 first new todo file.
6394 (todo-show-priorities): Rename to todo-top-priorities.
6395 Change semantics of value 0.
6396 (todo-top-priorities): Rename to todo-filter-top-priorities,
6397 derive from todo-filter-items and extend functionality.
6398 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6399 and extend functionality to other types of filtered items.
6400 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6401 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6402 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6403 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6404 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6405 (todo-edit-mode-hook, todo-entry-prefix-function)
6406 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6407 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6408 (todo-initials, todo-insert-threshold, todo-item-string-start)
6409 (todo-line-string, todo-menu, todo-mode-hook)
6410 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6411 (todo-print-priorities, todo-remove-separator)
6412 (todo-save-top-priorities-too, todo-string-count-lines)
6413 (todo-string-multiline-p, todo-time-string-format)
6414 (todo-tmp-buffer-name): Remove.
6415 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6416 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6417 (todo-edit-category-diary-inclusion)
6418 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6419 (todo-edit-file, todo-edit-item-date-day)
6420 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6421 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6422 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6423 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6424 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6425 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6426 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6427 (todo-filter-top-priorities-multifile, todo-find-archive)
6428 (todo-find-filtered-items-file, todo-go-to-source-item)
6429 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6430 (todo-jump-to-archive-category, todo-lower-category)
6431 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6432 (todo-move-category, todo-move-item, todo-next-button)
6433 (todo-next-item, todo-padded-string, todo-powerset)
6434 (todo-previous-button, todo-previous-item)
6435 (todo-print-buffer-to-file, todo-raise-category)
6436 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6437 (todo-set-category-number, todo-set-item-priority)
6438 (todo-set-top-priorities-in-category)
6439 (todo-set-top-priorities-in-file, todo-show-categories-table)
6440 (todo-sort-categories-alphabetically-or-numerically)
6441 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6442 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6443 (todo-toggle-item-header, todo-toggle-item-highlighting)
6444 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6445 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6446 (todo-unarchive-items, todo-unmark-category): New commands.
6447 (todo-absolute-file-name, todo-add-to-buffer-list)
6448 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6449 (todo-basic-insert-item, todo-category-completions)
6450 (todo-category-number, todo-category-string-matcher-1)
6451 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6452 (todo-check-format, todo-clear-matches)
6453 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6454 (todo-current-category, todo-date-string-matcher)
6455 (todo-define-insertion-command, todo-diary-expired-matcher)
6456 (todo-diary-goto-entry, todo-diary-item-p)
6457 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6458 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6459 (todo-done-item-section-p, todo-done-separator)
6460 (todo-done-string-matcher, todo-files, todo-filter-items)
6461 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6462 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6463 (todo-insert-category-line, todo-insert-item-from-calendar)
6464 (todo-insert-sort-button, todo-insert-with-overlays)
6465 (todo-insertion-command-name, todo-insertion-key-bindings)
6466 (todo-label-to-key, todo-longest-category-name-length)
6467 (todo-make-categories-list, todo-mode-external-set)
6468 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6469 (todo-modes-set-3, todo-multiple-filter-files)
6470 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6471 (todo-read-category, todo-read-date, todo-read-dayname)
6472 (todo-read-file-name, todo-read-time)
6473 (todo-reevaluate-category-completions-files-defcustom)
6474 (todo-reevaluate-default-file-defcustom)
6475 (todo-reevaluate-filelist-defcustoms)
6476 (todo-reevaluate-filter-files-defcustom)
6477 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6478 (todo-reset-done-separator, todo-reset-done-separator-string)
6479 (todo-reset-done-string, todo-reset-global-current-todo-file)
6480 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6481 (todo-reset-prefix, todo-set-categories)
6482 (todo-set-date-from-calendar, todo-set-show-current-file)
6483 (todo-set-top-priorities, todo-short-file-name)
6484 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6485 (todo-total-item-counts, todo-update-buffer-list)
6486 (todo-update-categories-display, todo-update-categories-sexp)
6487 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6488 New functions.
6489 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6490 New major modes.
6491 (todo-categories, todo-display, todo-edit, todo-faces)
6492 (todo-filtered): New defgroups.
6493 (todo-archived-only, todo-button, todo-category-string, todo-date)
6494 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6495 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6496 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6497 (todo-add-item-if-new-category, todo-always-add-time-string)
6498 (todo-categories-align, todo-categories-archived-label)
6499 (todo-categories-category-label, todo-categories-diary-label)
6500 (todo-categories-done-label, todo-categories-number-separator)
6501 (todo-categories-todo-label, todo-categories-totals-label)
6502 (todo-category-completions-files, todo-completion-ignore-case)
6503 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6504 (todo-done-separator-string, todo-done-string)
6505 (todo-files-function, todo-filter-done-items, todo-filter-files)
6506 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6507 (todo-initial-category, todo-initial-file, todo-item-mark)
6508 (todo-legacy-date-time-regexp, todo-mode-line-function)
6509 (todo-nondiary-marker, todo-number-prefix)
6510 (todo-print-buffer-function, todo-show-current-file)
6511 (todo-show-done-only, todo-show-first, todo-show-with-done)
6512 (todo-skip-archived-categories, todo-top-priorities-overrides)
6513 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6514 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6515 New defcustoms.
6516 (todo-category-done, todo-date-pattern, todo-date-string-start)
6517 (todo-diary-items-buffer, todo-done-string-start)
6518 (todo-filtered-items-buffer, todo-item-start)
6519 (todo-month-abbrev-array, todo-month-name-array)
6520 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6521 (todo-top-priorities-buffer): New defconsts.
6522 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6523 (todo-categories-with-marks, todo-category-string-face)
6524 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6525 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6526 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6527 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6528 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6529 (todo-font-lock-keywords, todo-global-current-todo-file)
6530 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6531 (todo-insertion-commands-args)
6532 (todo-insertion-commands-args-genlist)
6533 (todo-insertion-commands-names, todo-insertion-map)
6534 (todo-key-bindings-t, todo-key-bindings-t+a)
6535 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6536 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6537 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6538 (todo-visited): New variables.
6539
6540 2013-06-21 Glenn Morris <rgm@gnu.org>
6541
6542 * play/cookie1.el (cookie-apropos): Add optional display argument.
6543 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6544 (psychoanalyze-pinhead): Use cookie-doctor.
6545
6546 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6547
6548 * emacs-lisp/package.el (tar-get-file-descriptor)
6549 (tar--extract): Declare.
6550
6551 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6552
6553 Extend flymake's warning predicate to be a function (bug#14217).
6554 * progmodes/flymake.el (flymake-warning-predicate): New.
6555 (flymake-parse-line): Use it.
6556 (flymake-warning-re): Make obsolete alias to
6557 `flymake-warning-predicate'.
6558
6559 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6560
6561 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6562 (package-obsolete-list): Remove.
6563 (package-activate): Remove min-version argument. Add `force' argument.
6564 Adjust to new package-alist format.
6565 (package-mark-obsolete): Remove.
6566 (package-unpack): Force reload of the package's autoloads.
6567 (package-installed-p): Check builtins if the installed package is not
6568 recent enough.
6569 (package-initialize): Don't reset package-obsolete-list.
6570 Don't specify which package version to activate.
6571 (package-process-define-package, describe-package-1)
6572 (package-menu--generate): Adjust to new package-alist format.
6573
6574 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6575
6576 * allout-widgets.el (allout-widgets-mode-off)
6577 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6578 (allout-widgets-post-command-business)
6579 (allout-widgets-after-copy-or-kill-function)
6580 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6581 (allout-decorate-item-and-context)
6582 (allout-graphics-modification-handler): Fix typos in docstrings.
6583 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6584
6585 * cmuscheme.el (scheme-start-file): Doc fix.
6586 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6587 (scheme-input-filter): Use `string-match-p'.
6588
6589 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6590
6591 * dired-x.el: Use Dired consistently in docstrings.
6592
6593 * dired.el: Use Dired consistently in docstrings.
6594 (dired-readin, dired-mode): Use `setq-local'.
6595 (dired-switches-alist): Make defvar-local.
6596 (dired-buffers-for-dir): Use `zerop'.
6597 (dired-safe-switches-p, dired-switches-escape-p)
6598 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6599 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6600 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6601 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6602 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6603 (dired-toggle-marks, dired-mark-files-containing-regexp)
6604 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6605 (dired-flag-auto-save-files, dired-flag-backup-files):
6606 Use `looking-at-p'.
6607 (dired-mark-files-regexp, dired-build-subdir-alist):
6608 Use `string-match-p', `looking-at-p'.
6609
6610 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6611 (direct-print-region-helper): Use `string-match-p'.
6612
6613 2013-06-21 Leo Liu <sdl.web@gmail.com>
6614
6615 * comint.el (comint-redirect-results-list-from-process):
6616 Fix infinite loop.
6617
6618 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6619
6620 * net/eww.el (eww-update-header-line-format): Quote % characters.
6621
6622 2013-06-21 Glenn Morris <rgm@gnu.org>
6623
6624 * play/cookie1.el (cookie): New custom group.
6625 (cookie-file): New option.
6626 (cookie-check-file): New function.
6627 (cookie): Make it interactive. Make start and end messages optional.
6628 Interactively, display the result. Default to cookie-file.
6629 (cookie-insert): Default to cookie-file.
6630 (cookie-snarf): Make start and end messages optional.
6631 Default to cookie-file. Use with-temp-buffer.
6632 (cookie-read): Rename from read-cookie.
6633 Make start and end messages optional. Default to cookie-file.
6634 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6635 Do not autoload it.
6636 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6637 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6638
6639 2013-06-21 Leo Liu <sdl.web@gmail.com>
6640
6641 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6642
6643 2013-06-21 Glenn Morris <rgm@gnu.org>
6644
6645 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6646
6647 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6648 Daniel Hackney <dan@haxney.org>
6649
6650 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6651 Consolidate the single-file vs tarball code.
6652 (package-desc-suffix): New function.
6653 (package-desc-full-name): Don't bother inlining it.
6654 (package-load-descriptor): Return the new package-desc.
6655 (package-mark-obsolete): Remove unused arg `package'.
6656 (package-unpack): Make it work for single files as well.
6657 Make it update package-alist.
6658 (package--make-autoloads-and-stuff): Rename from
6659 package--make-autoloads-and-compile. Don't compile any more.
6660 (package--compile): New function.
6661 (package-generate-description-file): New function, extracted from
6662 package-unpack-single.
6663 (package-unpack-single): Remove.
6664 (package--with-work-buffer): Add indentation and debugging info.
6665 (package-download-single): Remove.
6666 (package-install-from-archive): Rename from package-download-tar, make
6667 it take a pkg-desc, and make it work for single files as well.
6668 (package-download-transaction): Simplify.
6669 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6670 external tar program.
6671 (package-install-from-buffer): Remove `pkg-desc' argument.
6672 Use package-tar-file-info for tar-mode buffers.
6673 (package-install-file): Simplify accordingly.
6674 (package-archive-base): Change to take a pkg-desc.
6675 * tar-mode.el (tar--check-descriptor): New function, extracted from
6676 tar-get-descriptor.
6677 (tar-get-descriptor): Use it.
6678 (tar-get-file-descriptor): New function.
6679 (tar--extract): New function, extracted from tar-extract.
6680 (tar--extract): Use it.
6681 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6682 case the summary uses non-ascii. Adjust to new calling convention of
6683 package-tar-file-info.
6684
6685 2013-06-21 Leo Liu <sdl.web@gmail.com>
6686
6687 * comint.el (comint-redirect-results-list-from-process):
6688 Fix random delay. (Bug#14681)
6689
6690 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6691
6692 * profiler.el (profiler-format-number): Use log, not log10.
6693
6694 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6695
6696 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6697
6698 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6701 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6702 yet available.
6703 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6704 (AUTOGENEL): ... here.
6705 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6706 (cl--defsubst-expand): Use it.
6707
6708 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6709
6710 * subr.el (log10): Move here from C code, and declare as obsolete.
6711 All uses of (log10 X) replaced with (log X 10).
6712
6713 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6714
6715 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6716 Declare with `defvar-local'.
6717 (tabulated-list-use-header-line, tabulated-list-entries)
6718 (tabulated-list-padding, tabulated-list-printer)
6719 (tabulated-list-sort-key): Declare with `defvar-local'.
6720 (tabulated-list-init-header, tabulated-list-print-fake-header):
6721 Use `setq-local'.
6722
6723 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6724
6725 * arc-mode.el (archive-mode): Add `archive-write-file' to
6726 `write-contents-functions' also for remote files. (Bug#14652)
6727
6728 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6729
6730 * cus-edit.el (custom-commands): Fix typos.
6731 (custom-display): Fix tooltip text.
6732 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6733 Fix typos in docstrings.
6734 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6735 (custom-unlispify-menu-entry, custom-magic-value-create)
6736 (custom-add-see-also, custom-group-value-create): Use ?\s.
6737 (custom-guess-type, customize-apropos, editable-field)
6738 (custom-face-value-create): Use `string-match-p'.
6739 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6740
6741 * custom.el (custom-load-symbol): Use `string-match-p'.
6742
6743 * ansi-color.el: Convert to lexical binding.
6744 (ansi-colors): Fix URL.
6745 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6746 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6747 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6748
6749 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6750
6751 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6752
6753 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6754
6755 2013-06-19 Tom Tromey <tromey@redhat.com>
6756
6757 * net/eww.el (eww-top-url): Remove.
6758 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6759 (eww-render): Set new variables. Don't set eww-top-url.
6760 (eww-handle-link): Handle "prev", "home", and "contents".
6761 Downcase the rel text.
6762 (eww-top-url): Choose best top URL.
6763
6764 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6765
6766 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6767 relying in widget.el. Using widget.el leads to too many
6768 user interface inconsistencies.
6769 (eww-self-insert): Implement entering commands in text fields.
6770 (eww-process-text-input): New function to make text input field editing
6771 work.
6772 (eww-submit): Rewrite to use the new-style form methods.
6773 (eww-select-display): Display the correct selected item.
6774 (eww-change-select): Implement changing the select value.
6775 (eww-toggle-checkbox): Implement radio/checkboxes.
6776 (eww-update-field): Fix compilation error.
6777 (eww-tag-textarea): Implement <textarea>.
6778
6779 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6780 we don't shadow mode-specific bindings.
6781
6782 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6783 nothing to push.
6784
6785 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6786
6787 2013-06-19 Glenn Morris <rgm@gnu.org>
6788
6789 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6790
6791 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6792
6793 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6794 not needed.
6795
6796 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6797
6798 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6799
6800 * net/browse-url.el (browse-url-browser-function):
6801 `eww-browse-url' has the right calling signature, `eww' does not.
6802
6803 2013-06-19 Glenn Morris <rgm@gnu.org>
6804
6805 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6806 Only eval autoloaded macros.
6807 (byte-compile-autoload): Only give the macro warning for macros.
6808
6809 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6810 (ps-underlined-faces): Declare.
6811
6812 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6813 (speedbar-add-supported-extension): Declare.
6814
6815 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6816 Don't include a date stamp in the header of the generated file;
6817 it leads to needless differences between output files.
6818
6819 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6820
6821 * net/secrets.el (secrets-struct-secret-content-type):
6822 Replace check of introspection data by a test call of "CreateItem".
6823 Some servers do not offer introspection.
6824
6825 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6826
6827 * electric.el (electric-pair-mode): Improve interaction with
6828 electric-layout-mode.
6829 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6830 (electric-pair-syntax): Use text-mode-syntax-table in comments
6831 and strings.
6832 (electric-pair--insert): New function.
6833 (electric-pair-post-self-insert-function): Use it and
6834 electric--after-char-pos.
6835
6836 2013-06-19 Leo Liu <sdl.web@gmail.com>
6837
6838 * progmodes/octave.el (octave-help): Fix regexp.
6839
6840 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6841
6842 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6843 (shr-table-horizontal-line): Allow nil as a value, and change the
6844 default.
6845 (shr-insert-table-ruler): Respect the nil value.
6846
6847 2013-06-18 Tom Tromey <tromey@barimba>
6848
6849 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6850 New defvars.
6851 (eww-open-file): New defun.
6852 (eww-render): Initialize new variables.
6853 (eww-display-html): Handle "link" and "a".
6854 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6855 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6856 (eww-back-url): Rename from eww-previous-url.
6857 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6858 New defuns.
6859
6860 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6861
6862 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6863 Distinguish ternary operator tokens from slash symbol and slash
6864 char literal.
6865
6866 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6867
6868 Convert symbol prettification into minor mode and global minor mode.
6869
6870 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6871 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6872 (prettify-symbols--keywords): Rename from
6873 `prog-prettify-symbols-alist' and make a local defvar.
6874 (prettify-symbols--compose-symbol): Rename from
6875 `prog--prettify-font-lock-compose-symbol'.
6876 (prettify-symbols--make-keywords): Rename from
6877 `prog-prettify-font-lock-symbols-keywords' and simplify.
6878 (prog-prettify-install): Remove.
6879 (prettify-symbols-mode): New minor mode, based on
6880 `prog-prettify-install'.
6881 (turn-on-prettify-symbols-mode): New function.
6882 (global-prettify-symbols-mode): New globalized minor mode.
6883
6884 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6885 * progmodes/cfengine.el (cfengine3-mode):
6886 * progmodes/perl-mode.el (perl-mode): Don't call
6887 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6888
6889 2013-06-18 Juri Linkov <juri@jurta.org>
6890
6891 * files-x.el (modify-file-local-variable-message): New function.
6892 (modify-file-local-variable)
6893 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6894 and call `modify-file-local-variable-message' when it's non-nil.
6895 (add-file-local-variable, delete-file-local-variable)
6896 (add-file-local-variable-prop-line)
6897 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6898 and use it. (Bug#9820)
6899
6900 2013-06-18 Juri Linkov <juri@jurta.org>
6901
6902 * emulation/vi.el (vi-shell-op):
6903 * emulation/vip.el (vip-execute-com, ex-command):
6904 * emulation/viper-cmd.el (viper-exec-bang):
6905 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6906 the call of `shell-command-on-region'. (Bug#14637)
6907
6908 * simple.el (shell-command-on-region): Doc fix.
6909
6910 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6911
6912 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6913 (bug#14633).
6914
6915 2013-06-18 Glenn Morris <rgm@gnu.org>
6916
6917 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6918
6919 * newcomment.el (comment-search-forward, comment-search-backward):
6920 Doc fix. (Bug#14376)
6921
6922 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6923
6924 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6925 (buffer-face-mode-invoke): Doc fix.
6926
6927 2013-06-18 Matthias Meulien <orontee@gmail.com>
6928
6929 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6930 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6931
6932 2013-06-18 Glenn Morris <rgm@gnu.org>
6933
6934 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6935 Replace obsolete function generic-make-keywords with its expansion.
6936
6937 * progmodes/python.el (ffap-alist): Declare.
6938
6939 * textmodes/reftex.el (bibtex-mode-map): Declare.
6940
6941 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6942
6943 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6944 (package-unpack, package-unpack-single): Return the pkg-dir.
6945 (package-download-transaction): Use it to update package-alist.
6946
6947 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6948
6949 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6950 possible choice.
6951
6952 2013-06-17 Juri Linkov <juri@jurta.org>
6953
6954 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6955
6956 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6957
6958 * emacs-lisp/package.el (package-load-descriptor):
6959 Remove `with-syntax-table' call, `read' doesn't need it.
6960 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6961
6962 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6963
6964 * startup.el (command-line): Expand package name returned by
6965 `package--description-file' (bug#14639).
6966
6967 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6968
6969 * emacs-lisp/package.el (package-load-descriptor): Do not call
6970 `emacs-lisp-mode', just use its syntax table.
6971
6972 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6973
6974 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6975 `font-lock-extra-managed-props' if any prettifying keyword is added.
6976 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6977 (prog-mode): Use `setq-local'.
6978
6979 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6980
6981 * international/characters.el (standard-case-table): Set syntax of ?»
6982 and ?« to punctuation.
6983
6984 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6985
6986 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6987 Save relevant match data before calling `syntax-ppss' (bug#14595).
6988
6989 2013-06-15 Juri Linkov <juri@jurta.org>
6990
6991 * files-x.el (modify-file-local-variable-prop-line): Add local
6992 variables to the end of the existing comment on the first line.
6993 Use `file-auto-mode-skip' to skip interpreter magic line,
6994 and also skip XML declaration.
6995
6996 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6997
6998 * startup.el (package--builtin-versions): New var.
6999 (package-subdirectory-regexp): Remove.
7000 (package--description-file): Hard code its value instead.
7001
7002 * emacs-lisp/package.el: Don't activate packages older than builtin.
7003 (package-obsolete-list): Rename from package-obsolete-alist, and make
7004 it into a simple list of package-desc.
7005 (package-strip-version): Remove.
7006 (package-built-in-p): Use package--builtin-versions.
7007 (package-mark-obsolete): Simplify.
7008 (package-process-define-package): Mark it obsolete if older than the
7009 builtin version.
7010 (package-handle-response): Use line-end-position.
7011 (package-read-archive-contents, package--download-one-archive):
7012 Simplify.
7013 (package--add-to-archive-contents): Skip if older than the builtin or
7014 installed version.
7015 (package-menu-describe-package): Fix last change.
7016 (package-list-unversioned): New var.
7017 (package-menu--generate): Use it.
7018
7019 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7020 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7021 (autoload-builtin-package-versions): New variable.
7022 (autoload-generate-file-autoloads): Use them.
7023 Remove the list of autoloaded functions/macros from the
7024 (autoload...) comments.
7025
7026 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7027
7028 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7029
7030 * simple.el (line-move-partial): Don't jump to the next screen
7031 line as soon as it becomes visible. Instead, continue enlarging
7032 the vscroll until the portion of a tall screen line that's left on
7033 display is about the height of the frame's default font.
7034 (Bug#14567)
7035
7036 2013-06-15 Glenn Morris <rgm@gnu.org>
7037
7038 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7039 compilation-error-regexp-alist void, or local while let-bound.
7040
7041 * progmodes/make-mode.el (makefile-mode-syntax-table):
7042 Treat "=" as punctuation. (Bug#14614)
7043
7044 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7045
7046 * help-fns.el (describe-variable):
7047 Add extra line for permanent-local variables.
7048
7049 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7050
7051 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7052 Add export, import, library. (Bug#9164)
7053 (library): Set indent function.
7054
7055 2013-06-14 Glenn Morris <rgm@gnu.org>
7056
7057 * term/xterm.el (xterm--query):
7058 Stop after first matching handler. (Bug#14615)
7059
7060 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7061
7062 Add support for dired in saveplace.
7063 * dired.el (dired-initial-position-hook): New variable.
7064 (dired-initial-position): Call hook to place cursor position.
7065 * saveplace.el (save-place-to-alist): Add dired position.
7066 (save-place-dired-hook): New function.
7067
7068 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7069
7070 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7071 through a symbol rather than letrec.
7072
7073 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7074 (package-desc): Add `dir' field.
7075 (package-desc-full-name): New function.
7076 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7077 (package-maybe-load-descriptor): Remove.
7078 (package-load-all-descriptors): Just call package-load-descriptor.
7079 (package--disabled-p): New function.
7080 (package-desc-vers, package-desc-doc): Remove aliases.
7081 (package--dir): Remove function.
7082 (package-activate): Check if a package is disabled.
7083 (package-process-define-package): New function, extracted from
7084 define-package.
7085 (define-package): Turn into a place holder.
7086 (package-unpack-single, package-tar-file-info):
7087 Use package--description-file.
7088 (package-compute-transaction): Use package--disabled-p.
7089 (package-download-transaction): Don't call
7090 package-maybe-load-descriptor since they're all loaded anyway.
7091 (package-install): Change argument to be a pkg-desc.
7092 (package-delete): Use a single pkg-desc argument.
7093 (describe-package-1): Use package-desc-dir instead of package--dir.
7094 Use package-desc property instead of package-symbol.
7095 (package-install-button-action): Adjust accordingly.
7096 (package--push): Rewrite.
7097 (package-menu--print-info): Adjust accordingly. Change the ID format
7098 to be a pkg-desc.
7099 (package-menu-describe-package, package-menu-get-status)
7100 (package-menu--find-upgrades, package-menu-mark-upgrades)
7101 (package-menu-execute, package-menu--name-predicate):
7102 Adjust accordingly.
7103 * startup.el (package--description-file): New function.
7104 (command-line): Use it.
7105 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7106 Use package-desc-version.
7107
7108 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7109 (byte-compile-preprocess): Use it.
7110 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7111 can't quite recognize.
7112 (byte-compile-add-to-list): Remove.
7113 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7114 (cconv-closure-convert): Add assertion.
7115
7116 * emacs-lisp/map-ynp.el: Use lexical-binding.
7117 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7118 Factor out some repeated code.
7119
7120 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7121
7122 * subr.el (with-eval-after-load): New macro.
7123 (eval-after-load): Allow form to be a function.
7124 take advantage of lexical-binding.
7125 (do-after-load-evaluation): Use dolist and adjust to new format.
7126 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7127
7128 2013-06-13 Juri Linkov <juri@jurta.org>
7129
7130 * replace.el (perform-replace): Display "symbol " and other search
7131 modes from `isearch-message-prefix' in the *Help* buffer.
7132
7133 * isearch.el (isearch-query-replace): Add " symbol" and other
7134 possible search modes from `isearch-message-prefix' to the prompt.
7135 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7136 when reading a regexp to collect.
7137
7138 2013-06-13 Juri Linkov <juri@jurta.org>
7139
7140 * isearch.el (word-search-regexp): Match whitespace if the search
7141 string begins or ends in whitespace. The LAX arg is applied to
7142 both ends of the search string. Use `regexp-quote' and explicit
7143 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7144 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7145 boundaries are replaced with symbol boundaries, and characters
7146 between symbols match non-word non-symbol syntax. (Bug#14602)
7147
7148 2013-06-13 Juri Linkov <juri@jurta.org>
7149
7150 * isearch.el (isearch-del-char): Don't exceed the length of
7151 `isearch-string' by the prefix arg. (Bug#14563)
7152
7153 2013-06-13 Juri Linkov <juri@jurta.org>
7154
7155 * isearch.el (isearch-yank-word, isearch-yank-line)
7156 (isearch-char-by-name, isearch-quote-char)
7157 (isearch-printing-char, isearch-process-search-char):
7158 Add optional count prefix arg. (Bug#14563)
7159
7160 * international/isearch-x.el
7161 (isearch-process-search-multibyte-characters):
7162 Add optional count prefix arg.
7163
7164 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7165
7166 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7167 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7168 lexical-binding.
7169
7170 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7171
7172 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7173
7174 2013-06-13 Glenn Morris <rgm@gnu.org>
7175
7176 * startup.el (tty-handle-args):
7177 Don't just discard "--" and anything after. (Bug#14608)
7178
7179 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7180
7181 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7182
7183 Implement changes in Secret Service API. Make it backward compatible.
7184 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7185 (secrets-create-item): Use it. Prefix properties with interface.
7186
7187 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7188
7189 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7190 (term-emulate-terminal): Respect term-suppress-hard-newline.
7191
7192 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7193
7194 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7195 Only remove a `thumb-file' overlay. (Bug#14548)
7196
7197 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7198
7199 * mail/reporter.el (reporter-submit-bug-report):
7200 Handle missing package-name. (Bug#14600)
7201
7202 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7203
7204 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7205 (reftex-citation-prompt, reftex-default-bibliography)
7206 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7207 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7208 (reftex-bib-sort-author, reftex-bib-sort-year)
7209 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7210 (reftex-extract-bib-entries-from-thebibliography)
7211 (reftex-get-bibkey-default, reftex-get-bib-names)
7212 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7213 (reftex-format-bib-entry, reftex-parse-bibitem)
7214 (reftex-format-bibitem, reftex-do-citation)
7215 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7216 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7217 (reftex-insert-bib-matches, reftex-format-citation)
7218 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7219 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7220 existing comments into docstrings.
7221
7222 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7223
7224 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7225
7226 2013-06-12 Andreas Schwab <schwab@suse.de>
7227
7228 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7229 for auto-save files.
7230
7231 2013-06-12 Glenn Morris <rgm@gnu.org>
7232
7233 * ido.el (ido-delete-ignored-files): Remove.
7234 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7235 Go back to calling ido-ignore-item-p directly.
7236
7237 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7238
7239 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7240
7241 * ido.el (ido-delete-ignored-files): New function,
7242 split from ido-make-file-list-1.
7243 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7244 (ido-make-file-list-1): Use ido-delete-ignored-files.
7245
7246 2013-06-12 Leo Liu <sdl.web@gmail.com>
7247
7248 * progmodes/octave.el (inferior-octave-startup)
7249 (inferior-octave-completion-table)
7250 (inferior-octave-track-window-width-change)
7251 (octave-eldoc-function-signatures, octave-help)
7252 (octave-find-definition): Use single quoted strings.
7253 (inferior-octave-startup-args): Change default value.
7254 (inferior-octave-startup): Do not hard code "-i" and
7255 "--no-line-editing".
7256 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7257 (inferior-octave-directory-tracker): Use it.
7258 (octave-goto-function-definition): Robustify.
7259 (octave-help): Support highlighting operators in 'See also'.
7260 (octave-find-definition): Find subfunctions only in Octave mode.
7261
7262 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7263
7264 * help-fns.el (help-fns--compiler-macro): If the handler function is
7265 named, then put a link to it.
7266 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7267 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7268 (cl-typep): Use it.
7269 (cl-eval-when): Simplify debug spec.
7270 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7271 compiler-macro function instead of setting `compiler-macro-file'.
7272
7273 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7274
7275 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7276 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7277
7278 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7279 Daniel Hackney <dan@haxney.org>
7280
7281 First part of Daniel Hackney's patch to package.el.
7282 * emacs-lisp/package.el: Use defstruct.
7283 (package-desc): New, main struct.
7284 (package--bi-desc, package--ac-desc): New structs, used to describe the
7285 format in external files.
7286 (package-desc-vers): Replace with package-desc-version accessor.
7287 (package-desc-doc): Replace with package-desc-summary accessor.
7288 (package-activate-1): Remove `package' arg since the pkg-vec now
7289 includes the name.
7290 (define-package): Use package-desc-from-define.
7291 (package-unpack-single): Change file-name arg to be a symbol.
7292 (package--add-to-archive-contents): Use package-desc-create and new
7293 accessor functions to package--ac-desc.
7294 (package-buffer-info, package-tar-file-info): Return a package-desc.
7295 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7296 arg to be a package-desc.
7297 (package-install-file): Adjust accordingly. Use \' to match EOS.
7298 (package--from-builtin): New function.
7299 (describe-package-1, package-menu--generate): Use it.
7300 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7301 (package-generate-autoloads): Idem and return the name of the file.
7302 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7303 Change pkg-info arg to be a package-desc.
7304 Use package-make-ac-desc.
7305 (package-upload-file): Use \' to match EOS.
7306 * finder.el (finder-compile-keywords): Use package-make-builtin.
7307
7308 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7309
7310 * vc/vc.el (vc-deduce-fileset): Change error message.
7311 (vc-read-backend): New function.
7312 (vc-next-action): Use it.
7313
7314 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7315
7316 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7317 (prolog-font-lock-keywords): Use regexp-opt instead.
7318 Don't manually highlight strings.
7319 (prolog-mode-variables): Simplify comment-start-skip.
7320 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7321
7322 * emacs-lisp/generic.el (generic--normalise-comments)
7323 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7324 (generic-mode-set-comments): Use them.
7325 (generic-bracket-support): Use setq-local.
7326 (generic-make-keywords-list): Declare obsolete.
7327
7328 2013-06-11 Glenn Morris <rgm@gnu.org>
7329
7330 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7331 Prettify after setting font-lock-defaults. (Bug#14574)
7332
7333 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7334
7335 * replace.el (query-replace, occur-read-regexp-defaults-function)
7336 (replace-search):
7337 * subr.el (declare-function, number-sequence, local-set-key)
7338 (substitute-key-definition, locate-user-emacs-file)
7339 (with-silent-modifications, split-string, eval-after-load):
7340 Fix typos, remove unneeded backslashes and reflow some docstrings.
7341
7342 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7343
7344 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7345 default for Elisp files.
7346
7347 2013-06-11 Glenn Morris <rgm@gnu.org>
7348
7349 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7350 although define-derived-mode was doing this anyway. (Bug#14583)
7351
7352 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7353
7354 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7355 Fix make-variable-buffer-local call to refer to the correct variable.
7356
7357 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7358
7359 * eshell/em-term.el (eshell-visual-commands)
7360 (eshell-visual-subcommands, eshell-visual-options):
7361 Add summary line to docstrings. Add cross-references.
7362
7363 2013-06-10 Glenn Morris <rgm@gnu.org>
7364
7365 * epa.el (epa-read-file-name): New function. (Bug#14510)
7366 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7367
7368 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7369
7370 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7371 output redirection to be ignored with visual commands.
7372
7373 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7374
7375 * eshell/em-term.el (eshell-visual-command-p): New function.
7376 (eshell-term-initialize): Move long lambda to separate function
7377 eshell-visual-command-p.
7378 * eshell/em-dirs.el (eshell-dirs-initialise):
7379 * eshell/em-script.el (eshell-script-initialize):
7380 Add missing #' to lambda.
7381
7382 2013-06-08 Leo Liu <sdl.web@gmail.com>
7383
7384 * progmodes/octave.el (octave-add-log-current-defun): New function.
7385 (octave-mode): Set add-log-current-defun-function.
7386 (octave-goto-function-definition): Do not move point if not found.
7387 (octave-find-definition): Enhance to try subfunctions first.
7388
7389 2013-06-08 Glenn Morris <rgm@gnu.org>
7390
7391 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7392 (byte-compile-backward-char, byte-compile-backward-word):
7393 Improve previous change, to handle non-explicit nil.
7394
7395 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7396
7397 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7398 (smie--opener/closer-at-point): New function.
7399 (smie--matching-block-data): Use it. Don't match from right after an
7400 opener or right before a closer. Obey smie-blink-matching-inners.
7401 Don't signal a mismatch for repeated inners like "switch..case..case".
7402
7403 2013-06-07 Leo Liu <sdl.web@gmail.com>
7404
7405 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7406 to t. (Bug#14303)
7407 (octave-function-header-regexp): Fix. (Bug#14570)
7408 (octave-help-mode-finish-hook, octave-help-mode-finish):
7409 Remove. Just use temp-buffer-show-hook.
7410
7411 * newcomment.el (comment-search-backward): Revert last change.
7412 (Bug#14434)
7413
7414 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7415
7416 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7417
7418 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7419 through xargs, to avoid failure due to MS-Windows limitations on
7420 command-line length.
7421
7422 2013-06-06 Glenn Morris <rgm@gnu.org>
7423
7424 * font-lock.el (lisp-font-lock-keywords-2):
7425 Treat user-error like error.
7426
7427 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7428 (byte-compile-backward-char, byte-compile-backward-word):
7429 Handle explicit nil arguments. (Bug#14565)
7430
7431 2013-06-05 Alan Mackenzie <acm@muc.de>
7432
7433 * isearch.el (isearch-allow-prefix): New user option.
7434 (isearch-other-meta-char): Don't exit isearch when a prefix
7435 argument is typed whilst `isearch-allow-prefix' is non-nil.
7436 (Bug#9706)
7437
7438 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7439
7440 * autorevert.el (auto-revert-notify-handler): Use memq.
7441 Hide assertion failure.
7442
7443 * skeleton.el: Use cl-lib.
7444 (skeleton-further-elements): Use defvar-local.
7445 (skeleton-insert): Use cl-progv.
7446
7447 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7448
7449 * progmodes/prog-mode.el (prog-prettify-symbols)
7450 (prog-prettify-install): Update docstrings.
7451
7452 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7453
7454 * simple.el: Move all the prog-mode code to prog-mode.el.
7455 * progmodes/prog-mode.el: New file.
7456 * loadup.el: Add prog-mode.el.
7457
7458 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7459
7460 * simple.el (prog-prettify-symbols): Add version.
7461 (prog-prettify-install): Add convenience function to prettify symbols.
7462
7463 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7464 (perl--augmented-font-lock-keywords-1)
7465 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7466 variables and use it.
7467
7468 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7469 (cfengine3-mode): Remove unneeded variable and use it.
7470
7471 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7472 (lisp--augmented-font-lock-keywords-1)
7473 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7474 Remove unneeded variables and use it.
7475
7476 2013-06-05 João Távora <joaotavora@gmail.com>
7477
7478 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7479 to point when opening the connection. (Bug#14380)
7480
7481 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7482
7483 * subr.el (load-history-regexp, load-history-filename-element)
7484 (eval-after-load, after-load-functions, do-after-load-evaluation)
7485 (eval-next-after-load, display-delayed-warnings)
7486 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7487 definition of save-match-data.
7488 (overriding-local-map): Remove accidental obsolescence declaration.
7489
7490 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7491
7492 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7493
7494 Generalize symbol prettify support to prog-mode and implement it
7495 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7496 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7497 (prog--prettify-font-lock-compose-symbol)
7498 (prog-prettify-font-lock-symbols-keywords): New variables and
7499 functions to support symbol prettification.
7500 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7501 (lisp--augmented-font-lock-keywords-1)
7502 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7503 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7504 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7505 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7506 Implement prettify of -> => :: strings.
7507 * progmodes/perl-mode.el (perl-prettify-symbols)
7508 (perl--font-lock-compose-symbol)
7509 (perl--font-lock-symbols-keywords): Move to prog-mode.
7510 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7511 (perl-font-lock-keywords-1)
7512 (perl-font-lock-keywords-2): Remove explicit prettify support.
7513 (perl--augmented-font-lock-keywords)
7514 (perl--augmented-font-lock-keywords-1)
7515 (perl--augmented-font-lock-keywords-2, perl-mode):
7516 Implement prettify support.
7517
7518 2013-06-05 Leo Liu <sdl.web@gmail.com>
7519
7520 Re-implement smie matching block highlight using
7521 show-paren-data-function. (Bug#14395)
7522 * emacs-lisp/smie.el (smie-matching-block-highlight)
7523 (smie--highlight-matching-block-overlay)
7524 (smie--highlight-matching-block-lastpos)
7525 (smie-highlight-matching-block)
7526 (smie-highlight-matching-block-mode): Remove.
7527 (smie--matching-block-data-cache): New variable.
7528 (smie--matching-block-data): New function.
7529 (smie-setup): Use smie--matching-block-data for
7530 show-paren-data-function.
7531
7532 * progmodes/octave.el (octave-mode-menu): Fix.
7533 (octave-find-definition): Skip garbage lines.
7534
7535 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7536
7537 Fix compilation error with simultaneous dynamic+lexical scoping.
7538 Add warning when a defvar appears after the first let-binding.
7539 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7540 (byte-compile-close-variables): Initialize it.
7541 (byte-compile--declare-var): New function.
7542 (byte-compile-file-form-defvar)
7543 (byte-compile-file-form-define-abbrev-table)
7544 (byte-compile-file-form-custom-declare-variable): Use it.
7545 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7546 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7547 (byte-compile-bind): Handle dynamic bindings that shadow
7548 lexical bindings.
7549 (byte-compile-unbind): Make arg non-optional.
7550 (byte-compile-let): Simplify.
7551 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7552 (cconv--analyse-function, cconv-analyse-form): Populate it.
7553 Protect byte-compile-bound-variables to limit the scope of defvars.
7554 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7555 Remove unneeded rule for `declare'.
7556
7557 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7558 so as to avoid depending on cl-adjoin at run-time.
7559 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7560
7561 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7562 (macroexp--warn-and-return): Use it.
7563
7564 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7565
7566 * lisp/subr.el: Convert to lexical binding.
7567 (overriding-local-map): Make obsolete.
7568 (add-to-list): Doc fix. Add compiler macro.
7569 (read-key): Swap values of local maps.
7570
7571 2013-06-05 Leo Liu <sdl.web@gmail.com>
7572
7573 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7574
7575 2013-06-04 Leo Liu <sdl.web@gmail.com>
7576
7577 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7578 (compilation-auto-jump): Suppress the "Mark set" message to give
7579 way to exit message.
7580
7581 2013-06-04 Alan Mackenzie <acm@muc.de>
7582
7583 Remove faulty optimisation from indentation calculation.
7584 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7585 search limit based on 2000 characters back from indent-point.
7586
7587 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7588
7589 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7590
7591 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7592
7593 * emacs-lisp/lisp.el: Use lexical-binding.
7594 (lisp--local-variables-1, lisp--local-variables): New functions.
7595 (lisp--local-variables-completion-table): New var.
7596 (lisp-completion-at-point): Use it complete let-bound vars.
7597
7598 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7599 eagerly (bug#14422).
7600
7601 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7602
7603 * autorevert.el (auto-revert-notify-enabled)
7604 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7605 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7606 (auto-revert-notify-handler): Handle also gfilenotify.
7607
7608 * subr.el (file-notify-handle-event): New defun. Replacing ...
7609 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7610 Remove.
7611
7612 2013-06-03 Juri Linkov <juri@jurta.org>
7613
7614 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7615 `M-s h .'. (Bug#14427)
7616
7617 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7618 command `hi-lock-face-symbol-at-point'.
7619 (hi-lock-face-symbol-at-point): New command.
7620 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7621 (hi-lock-menu): Add `highlight-symbol-at-point'.
7622 (hi-lock-mode): Doc fix.
7623
7624 * isearch.el (isearch-forward-symbol-at-point): New command.
7625 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7626 (isearch-highlight-regexp): Add a regexp which matches
7627 words/symbols for word/symbol mode.
7628
7629 * subr.el (find-tag-default-bounds): New function with the body
7630 mostly moved from `find-tag-default'.
7631 (find-tag-default): Move most code to `find-tag-default-bounds',
7632 call it and apply `buffer-substring-no-properties' afterwards.
7633
7634 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7635
7636 * eshell/em-term.el (eshell-term-initialize):
7637 Use `cl-intersection' rather than `intersection'.
7638
7639 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7640
7641 * vc/log-view.el: Doc fix.
7642 (log-view-mode-map): Copy keymap from `special-mode-map'.
7643
7644 2013-06-02 Eric Ludlam <zappo@gnu.org>
7645
7646 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7647 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7648 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7649 (eieio-unbound, eieio-default-superclass)
7650 (eieio--define-field-accessors, method-static, method-before)
7651 (method-primary, method-after, method-num-lists)
7652 (method-generic-before, method-generic-primary)
7653 (method-generic-after, method-num-slots)
7654 (eieio-specialized-key-to-generic-key)
7655 (eieio--check-type, class-v, class-p)
7656 (eieio-class-name, define-obsolete-function-alias)
7657 (eieio-class-parents-fast, eieio-class-children-fast)
7658 (same-class-fast-p, class-constructor, generic-p)
7659 (generic-primary-only-p, generic-primary-only-one-p)
7660 (class-option-assoc, class-option, eieio-object-p)
7661 (class-abstract-p, class-method-invocation-order)
7662 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7663 (eieio-class-un-autoload, eieio-defclass)
7664 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7665 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7666 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7667 (eieio-defgeneric-reset-generic-form)
7668 (eieio-defgeneric-form-primary-only)
7669 (eieio-defgeneric-reset-generic-form-primary-only)
7670 (eieio-defgeneric-form-primary-only-one)
7671 (eieio-defgeneric-reset-generic-form-primary-only-one)
7672 (eieio-unbind-method-implementations)
7673 (eieio--defmethod, eieio--typep)
7674 (eieio-perform-slot-validation, eieio-validate-slot-value)
7675 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7676 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7677 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7678 (eieio-slot-name-index, eieio-class-slot-name-index)
7679 (eieio-set-defaults, eieio-initarg-to-attribute)
7680 (eieio-attribute-to-initarg, eieio-c3-candidate)
7681 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7682 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7683 (eieio-class-precedence-list, eieio-generic-call-methodname)
7684 (eieio-generic-call-arglst, eieio-generic-call-key)
7685 (eieio-generic-call-next-method-list)
7686 (eieio-pre-method-execution-functions, eieio-generic-call)
7687 (eieio-generic-call-primary-only, eieiomt-method-list)
7688 (eieiomt-optimizing-obarray, eieiomt-install)
7689 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7690 (eieio-generic-form, eieio-defmethod, make-obsolete)
7691 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7692 (defclass): Remove `eval-and-compile' from macro.
7693 (call-next-method, shared-initialize): Instead of using
7694 `scoped-class' variable, use new eieio--scoped-class, and
7695 eieio--with-scoped-class.
7696 (initialize-instance): Rename local variable 'scoped-class' to
7697 'this-class' to remove ambiguitity from old global.
7698
7699 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7700 eieio.el.
7701 (eieio--scoped-class-stack): New variable.
7702 (eieio--scoped-class): New fcn.
7703 (eieio--with-scoped-class): New scoping macro.
7704 (eieio-defclass): Use pushnew instead of add-to-list.
7705 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7706 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7707 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7708 `scoped-class' variable, use new eieio--scoped-class, and
7709 eieio--with-scoped-class.
7710
7711 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7712
7713 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7714
7715 * eshell/esh-ext.el (eshell-external-command): Pass args to
7716 `eshell-find-interpreter'.
7717 (eshell-find-interpreter): Add new second parameter ARGS.
7718
7719 * eshell/em-script.el (eshell-script-initialize): Add second arg
7720 to the function added as MATCH to `eshell-interpreter-alist'.
7721
7722 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7723 the function added as MATCH to `eshell-interpreter-alist'.
7724
7725 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7726 (eshell-visual-options): New defcustom.
7727 (eshell-escape-control-x): Adapt docstring.
7728 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7729 `eshell-visual-options' in addition to `eshell-visual-commands'.
7730 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7731
7732 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7733
7734 * progmodes/python.el (python-indent-block-enders): Add break,
7735 continue and raise keywords.
7736
7737 2013-06-01 Glenn Morris <rgm@gnu.org>
7738
7739 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7740
7741 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7742 * progmodes/cc-cmds.el (delete-forward-p):
7743 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7744 * progmodes/cc-engine.el (buffer-syntactic-context):
7745 * progmodes/cc-fonts.el (face-property-instance):
7746 * progmodes/cc-mode.el (set-keymap-parents):
7747 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7748 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7749 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7750 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7751 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7752
7753 * progmodes/cc-vars.el (other): Emacs has this widget since
7754 at least 21.1, so don't (re)define it.
7755
7756 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7757 Replace the obsolete alias pcomplete-arg-quote-list.
7758
7759 2013-06-01 Leo Liu <sdl.web@gmail.com>
7760
7761 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7762 punctuation syntax.
7763 (inferior-octave-minimal-columns)
7764 (inferior-octave-last-column-width): New variables.
7765 (inferior-octave-track-window-width-change): New function.
7766 (inferior-octave-mode): Adjust column width so that Octave output,
7767 for example from 'ls', can fit into the window nicely.
7768
7769 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7770
7771 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7772 Highlight expansions inside regexp literals.
7773
7774 2013-05-31 Glenn Morris <rgm@gnu.org>
7775
7776 * obsolete/sym-comp.el (symbol-complete):
7777 Replace obsolete completion-annotate-function.
7778
7779 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7780
7781 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7782
7783 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7784 New function, checks if point is inside a literal that allows
7785 expression expansion.
7786 (ruby-syntax-propertize-expansion): Use it.
7787 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7788 around the body.
7789
7790 2013-05-30 Juri Linkov <juri@jurta.org>
7791
7792 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7793 to "\M-si".
7794 (isearch-invisible): New variable.
7795 (isearch-forward): Doc fix.
7796 (isearch-mode): Set `isearch-invisible'
7797 to the value of `search-invisible'.
7798 (isearch-toggle-case-fold): Doc fix.
7799 (isearch-toggle-invisible): New command.
7800 (isearch-query-replace): Let-bind `search-invisible'
7801 to the value of `isearch-invisible'.
7802 (isearch-search): Use `isearch-invisible' instead of
7803 `search-invisible'. Let-bind `search-invisible'
7804 to the value of `isearch-invisible'. (Bug#11378)
7805
7806 2013-05-30 Juri Linkov <juri@jurta.org>
7807
7808 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7809 call when `query-flag' is nil and `search-invisible' is non-nil.
7810 (Bug#11746)
7811
7812 2013-05-30 Glenn Morris <rgm@gnu.org>
7813
7814 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7815
7816 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7817 (cc-require): Suppress spurious "noruntime" warnings.
7818 (cc-require-when-compile): Use fboundp, for sake of compiler.
7819
7820 * progmodes/cc-mode.el: Move load of cc-vars before that of
7821 cc-langs (which in turn loads cc-vars), to quieten compiler.
7822
7823 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7824
7825 * paren.el: Simplify the code.
7826 (show-paren-mode): Always start the timer.
7827 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7828 (show-paren--overlay, show-paren--overlay-1): Rename from
7829 show-paren-overlay and show-paren-overlay-1, and initialize to an
7830 overlay rather than to nil.
7831 (show-paren-function): Misc cleanup and simplifications.
7832
7833 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7834
7835 * paren.el (show-paren-data-function): New hook.
7836 (show-paren--default): New function, extracted from show-paren-function.
7837 (show-paren-function): Use show-paren-data-function.
7838
7839 2013-05-30 Glenn Morris <rgm@gnu.org>
7840
7841 * ielm.el (ielm-map, ielm-complete-symbol):
7842 Use completion-at-point rather than obsolete functions.
7843 (inferior-emacs-lisp-mode): Doc fix.
7844 Set completion-at-point-functions, rather than
7845 comint-dynamic-complete-functions.
7846
7847 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7848 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7849 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7850
7851 * image.el (image-animated-p): Tweak definition.
7852
7853 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7854 (rlogin-process-connection-type): Tweak default. Add set-after.
7855 (rlogin-host): Doc fix.
7856 (rlogin): Tweak prompt.
7857 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7858
7859 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7860 * progmodes/tcl.el (inferior-tcl-mode-map):
7861 Use completion-at-point rather than obsolete alias.
7862
7863 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7864
7865 * minibuffer.el (read-file-name-completion-ignore-case):
7866 Move before completion--in-region, for eager macro expansion.
7867
7868 2013-05-29 Juri Linkov <juri@jurta.org>
7869
7870 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7871 for total count of matching lines. Add `global-matches' for total
7872 count of matches. Rename `matches' to `lines' for count of
7873 matching lines. Add `matches' for count of matches.
7874 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7875 to `prev-line' for line number of prev match endpt.
7876 Increment `matches' for every match. Print the number of
7877 matching lines in the header.
7878 (occur-context-lines): Rename `lines' to `curr-line'.
7879 Rename `prev-lines' to `prev-line'. (Bug#14017)
7880
7881 2013-05-29 Juri Linkov <juri@jurta.org>
7882
7883 * replace.el (perform-replace): Add `skip-read-only-count',
7884 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7885 Increment them for corresponding conditions and report the number
7886 of skipped occurrences in the final message. (Bug#11746)
7887 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7888 (replace-string, replace-regexp): Doc fix.
7889
7890 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7891
7892 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7893
7894 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7895 prog-mode-map (bug#14504).
7896
7897 2013-05-29 Leo Liu <sdl.web@gmail.com>
7898
7899 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7900 (octave-help): Small simplification.
7901
7902 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7903 off the highlight first.
7904
7905 2013-05-29 Glenn Morris <rgm@gnu.org>
7906
7907 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7908 Handle idlwave-last-system-routine-info-cons-cell being nil.
7909
7910 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7911 (idlwave-write-paths): Simplify via with-temp-buffer.
7912
7913 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7914 * emulation/cua-rect.el: Also load cua-base at run time.
7915
7916 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7917 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7918 (cperl-imenu-on-info): Require imenu.
7919
7920 2013-05-28 Alan Mackenzie <acm@muc.de>
7921
7922 Handle "capitalised keywords" correctly.
7923 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7924
7925 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7926
7927 * eshell/em-unix.el: Add -r option to cp.
7928
7929 2013-05-28 Glenn Morris <rgm@gnu.org>
7930
7931 * vc/vc-arch.el (vc-exec-after): Declare.
7932 (vc-switches): Autoload.
7933 * vc/vc-bzr.el: No need to require vc when compiling.
7934 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7935 (vc-resynch-buffer, vc-dir-refresh): Declare.
7936 (vc-setup-buffer, vc-switches): Autoload.
7937 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7938 (vc-resynch-buffer): Declare.
7939 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7940 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7941 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7942 (grep-read-regexp, grep-read-files, grep-expand-template)
7943 (vc-dir-refresh): Declare.
7944 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7945 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7946 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7947 * vc/vc-mtn.el (vc-exec-after): Declare.
7948 (vc-switches): Autoload.
7949 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7950 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7951 (vc-file-tree-walk): Declare.
7952 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7953 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7954 (vc-tag-precondition, vc-rename-master): Autoload.
7955 * vc/vc-svn.el (vc-exec-after): Declare.
7956 (vc-switches, vc-setup-buffer): Autoload.
7957 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7958 Autoload.
7959 (vc-resynch-buffer): Declare.
7960
7961 * obsolete/fast-lock.el (byte-compile-warnings):
7962 Don't warn about obsolete features in this obsolete file.
7963
7964 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7965 Move definition before use.
7966
7967 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7968 (dun-unix-verbs): Remove dun-zippy.
7969 (dun-zippy): Remove function.
7970
7971 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7972
7973 2013-05-27 Juri Linkov <juri@jurta.org>
7974
7975 * replace.el (replace-search): New function with code moved out
7976 from `perform-replace'.
7977 (replace-highlight, replace-dehighlight): Move function definitions
7978 up closer to `replace-search'. (Bug#11746)
7979
7980 2013-05-27 Juri Linkov <juri@jurta.org>
7981
7982 * replace.el (perform-replace): Ignore invisible matches.
7983 In addition to checking `query-replace-skip-read-only', also
7984 filter out matches by calling `run-hook-with-args-until-failure'
7985 on `isearch-filter-predicates', and also check `search-invisible'
7986 for t or call `isearch-range-invisible'.
7987 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7988
7989 2013-05-27 Juri Linkov <juri@jurta.org>
7990
7991 * isearch.el (isearch-filter-predicates): Rename from
7992 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7993 (isearch-message-prefix): Display text from the property
7994 `isearch-message-prefix' of the currently active filters.
7995 (isearch-search): Don't compare `isearch-filter-predicate' with
7996 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7997 on `isearch-filter-predicates'. Also check `search-invisible' for t
7998 or call `isearch-range-invisible'.
7999 (isearch-filter-visible): Make obsolete.
8000 (isearch-lazy-highlight-search):
8001 Call `run-hook-with-args-until-failure' on
8002 `isearch-filter-predicates' and use `isearch-range-invisible'.
8003
8004 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8005 `isearch-filter-predicates' instead of `funcall'ing
8006 `isearch-filter-predicate'.
8007 (Info-mode): Set `Info-isearch-filter' to
8008 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8009
8010 * dired-aux.el (dired-isearch-filter-predicate-orig):
8011 Remove variable.
8012 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8013 (dired-isearch-filenames-end): Add and remove
8014 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8015 instead of changing the value of `isearch-filter-predicate'.
8016 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8017 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8018 Put property `isearch-message-prefix' to "filename " on
8019 `dired-isearch-filter-filenames'.
8020
8021 * wdired.el (wdired-change-to-wdired-mode):
8022 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8023 locally instead of changing `isearch-filter-predicate'.
8024 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8025
8026 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8027
8028 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8029 return the commit hash (Bug#14459). Also set the
8030 `vc-git-detached' property.
8031 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8032 (vc-git-mode-line-string): Use the same help-echo format whether
8033 in detached mode or not, because we know the actual revision now.
8034 When in detached mode, shorten the revision to 7 chars.
8035
8036 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8037
8038 * emacs-lisp/easy-mmode.el (define-minor-mode):
8039 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8040 mode hook and provide a docstring.
8041
8042 2013-05-27 Alan Mackenzie <acm@muc.de>
8043
8044 Remove spurious syntax-table text properties inserted by C-y.
8045 * progmodes/cc-mode.el (c-after-change): Also clear hard
8046 syntax-table property with value nil.
8047
8048 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8049
8050 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8051 when reading the events; the buffer layout shall not be changed.
8052
8053 2013-05-27 Leo Liu <sdl.web@gmail.com>
8054
8055 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8056 New variable.
8057 (inferior-octave-directory-tracker): Automatically re-sync
8058 default-directory.
8059 (octave-help): Improve handling of 'See also'.
8060
8061 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8062
8063 * doc-view.el: Minor naming convention tweaks.
8064 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8065
8066 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8067 even if there's no `display' property yet (bug#14435).
8068
8069 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8070
8071 * subr.el (unmsys--file-name): Rename from reveal-filename.
8072
8073 * Makefile.in (custom-deps, finder-data, autoloads)
8074 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8075 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8076 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8077
8078 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8081 error-completion on the first 2 args of condition-case (bug#14446).
8082 Don't burp at EOB.
8083
8084 2013-05-25 Leo Liu <sdl.web@gmail.com>
8085
8086 * comint.el (comint-previous-matching-input): Do not flood the
8087 *Messages* buffer with trivial messages.
8088
8089 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8090
8091 * progmodes/flymake.el (flymake-nop): Don't return a string.
8092 (flymake-set-at): Fix typo.
8093
8094 * simple.el (read--expression): New function, extracted from
8095 eval-expression. Set completion-at-point-functions (bug#14465).
8096 (eval-expression, eval-minibuffer): Use it.
8097
8098 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8099
8100 * progmodes/flymake.el (flymake-save-buffer-in-file)
8101 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8102 (flymake-selected-frame, flymake-log, flymake-ins-after)
8103 (flymake-set-at, flymake-get-buildfile-from-cache)
8104 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8105 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8106 Refine the doc string.
8107 (flymake-get-file-name-mode-and-masks): Reformat.
8108 (flymake-get-real-file-name-function): Fix a minor bug.
8109
8110 2013-05-24 Juri Linkov <juri@jurta.org>
8111
8112 * progmodes/grep.el (grep-mode-font-lock-keywords):
8113 Support =linenumber= format used by git-grep for lines with
8114 function names. (Bug#13549)
8115
8116 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8119 0 after a semi-colon; it works better for smie-auto-fill.
8120 (octave--indent-new-comment-line): New function.
8121 (octave-indent-new-comment-line): Use it (indirectly).
8122 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8123 modify comment-line-break-function.
8124
8125 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8126 (smie-setup): Use add-function to set it.
8127
8128 2013-05-24 Sam Steingold <sds@gnu.org>
8129
8130 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8131 argument (before the `interactive' argument).
8132
8133 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8134
8135 * image-mode.el (image-mode-winprops): Add winprops to
8136 image-mode-winprops-alist before running
8137 image-mode-new-window-functions.
8138 * doc-view.el (doc-view-new-window-function): Don't delay
8139 doc-view-goto-page via timers (bug#14435).
8140
8141 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8142
8143 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8144 (doc-view-desktop-save-buffer): New function.
8145 (doc-view-restore-desktop-buffer): New function.
8146 (desktop-buffer-mode-handlers):
8147 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8148 handler.
8149 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8150 `desktop-save-buffer' function.
8151
8152 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8153
8154 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8155 (tramp-gvfs-file-name-handler): Raise a user error when
8156 `tramp-gvfs-enabled' is nil.
8157 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8158 Do not raise a user error when loading package. (Bug#14447)
8159
8160 * net/xesam.el: Move to obsolete/.
8161
8162 2013-05-24 Glenn Morris <rgm@gnu.org>
8163
8164 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8165
8166 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8167
8168 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8169 (Info-find-node, Man-getpage-in-background): Declare.
8170
8171 * mail/unrmail.el (unrmail):
8172 Replace obsolete detect-coding-with-priority.
8173
8174 * net/socks.el (socks-split-string): Use this rather than split-string.
8175 (socks-nslookup-host): Update for above change.
8176 (dynamic-choice, s5-dynamic-choice-match)
8177 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8178 Comment out unused code.
8179
8180 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8181 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8182 (gud-tooltip-echo-area): Make obsolete.
8183 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8184
8185 * progmodes/js.el (js--optimize-arglist): Declare.
8186
8187 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8188
8189 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8190 (ediff-window-C): Declare.
8191
8192 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8193 Tweak requires to silence compiler.
8194
8195 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8196 (he-search-string, he-tried-table, he-expand-list)
8197 (he-init-string, he-string-member, he-substitute-string)
8198 (he-reset-string): Declare.
8199
8200 * obsolete/options.el (list-options): Use custom-variable-p,
8201 rather than obsolete alias.
8202
8203 2013-05-23 Sam Steingold <sds@gnu.org>
8204
8205 * simple.el (shell-command-on-region): Pass the `replace' argument
8206 down to `call-process-region' to comply with the doc as reported on
8207 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8208
8209 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8210
8211 * emacs-lisp/smie.el (smie-indent-forward-token)
8212 (smie-indent-backward-token): Handle string tokens (bug#14381).
8213
8214 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8215
8216 * ielm.el (ielm-menu): New menu.
8217 (inferior-emacs-lisp-mode): Set comment-start.
8218
8219 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8220
8221 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8222 Fix deactivate action.
8223
8224 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8225 Add cleveref macros.
8226
8227 * lisp/textmodes/reftex-parse.el
8228 (reftex-locate-bibliography-files): Accept options for
8229 bibliography commands.
8230 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8231 Add addbibresource. Basic Biblatex support.
8232
8233 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8234
8235 * net/tramp-gvfs.el (top):
8236 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8237 when loading package. (Bug#14447)
8238
8239 2013-05-23 Glenn Morris <rgm@gnu.org>
8240
8241 * progmodes/js.el: No need to load comint when compiling.
8242 (ring-insert, comint-send-string, comint-send-input)
8243 (comint-last-input-end, ido-chop): Declare.
8244
8245 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8246 * vc/ediff-mult.el: Adjust requires.
8247 (ediff-directories-internal, ediff-directory-revisions-internal)
8248 (ediff-patch-file-internal): Declare.
8249 * vc/ediff-ptch.el: Adjust requires.
8250 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8251 (ediff-find-file): Autoload.
8252 * vc/ediff-util.el: No need to load ediff when compiling.
8253 (ediff-regions-internal): Declare.
8254 * vc/ediff-wind.el: Adjust requires.
8255 (ediff-compute-toolbar-width): Define when compiling.
8256 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8257 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8258 (dired-get-filename, dired-get-marked-files)
8259 (ediff-last-dir-patch, ediff-patch-default-directory)
8260 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8261 (ediff-patch-buffer-internal): Declare.
8262
8263 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8264 (ispell-process, ispell-buffer-local-words, lm-summary)
8265 (lm-section-start, lm-section-end): Declare.
8266 (checkdoc-ispell-init): Simplify.
8267
8268 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8269 (he-string-member, he-reset-string, he-substitute-string): Declare.
8270
8271 * eshell/em-ls.el: Adjust requires.
8272 (eshell-glob-regexp): Declare.
8273 * eshell/em-tramp.el: Adjust requires.
8274 (eshell-parse-command): Autoload.
8275 * eshell/em-xtra.el: Adjust requires.
8276 (eshell-parse-command): Autoload.
8277 * eshell/esh-ext.el: Adjust requires.
8278 (eshell-parse-command, eshell-close-handles): Autoload.
8279 * eshell/esh-io.el: Adjust requires.
8280 (eshell-output-filter): Autoload.
8281 * eshell/esh-util.el: No need to load tramp when compiling.
8282 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8283 Declare.
8284 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8285 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8286 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8287 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8288 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8289 * eshell/esh-opt.el, eshell/esh-proc.el:
8290 * eshell/esh-var.el: Adjust requires.
8291 * eshell/eshell.el: Do not require esh-util twice.
8292 (eshell-add-input-to-history): Declare.
8293 (eshell-command): Check history module is active before using it.
8294
8295 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8296
8297 2013-05-22 Leo Liu <sdl.web@gmail.com>
8298
8299 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8300
8301 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8302
8303 * autorevert.el (auto-revert-notify-add-watch)
8304 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8305 it indicates changes in file modification time.
8306
8307 2013-05-22 Glenn Morris <rgm@gnu.org>
8308
8309 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8310 Always delete the autoloaded function from the noruntime and
8311 unresolved functions lists.
8312
8313 * allout.el: No need to load epa, epg, overlay when compiling.
8314 (epg-context-set-passphrase-callback, epg-list-keys)
8315 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8316 (epg-key-user-id-list): Declare.
8317
8318 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8319 (viper-set-parsing-style-toggling-macro)
8320 (viper-set-emacs-state-searchstyle-macros):
8321 Use called-interactively-p on Emacs.
8322 (viper-looking-back): Make it an obsolete alias. Update callers.
8323 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8324 Use looking-back rather than viper-looking-back.
8325 (viper-tmp-insert-at-eob, viper-enlarge-region)
8326 (viper-read-string-with-history, viper-register-to-point)
8327 (viper-append-to-register, viper-change-state-to-vi)
8328 (viper-backward-char-carefully, viper-forward-char-carefully)
8329 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8330 (viper-change-state-to-emacs): Declare.
8331 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8332 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8333 * emulation/viper-mous.el: Do not load viper-cmd.
8334 (viper-backward-char-carefully, viper-forward-char-carefully)
8335 (viper-forward-word, viper-adjust-window): Declare.
8336
8337 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8338
8339 * progmodes/idlw-help.el (idlwave-help-fontify):
8340 Use called-interactively-p.
8341
8342 * term/w32console.el (w32-get-console-codepage)
8343 (w32-get-console-output-codepage): Declare.
8344
8345 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8346 Remove unnecessary declarations.
8347 (dframe-message): Doc fix.
8348
8349 * info.el (dframe-select-attached-frame, dframe-current-frame):
8350 Declare.
8351
8352 * speedbar.el (speedbar-message): Make it an obsolete alias.
8353 Update all callers.
8354 (speedbar-with-attached-buffer)
8355 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8356 (speedbar-with-writable): Use backquote.
8357 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8358 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8359 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8360 rather than speedbar- aliases.
8361 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8362 (speedbar-make-specialized-keymap, speedbar-insert-button)
8363 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8364 (speedbar-do-function-pointer): Declare.
8365 (rmail-speedbar-button, rmail-speedbar-find-file)
8366 (rmail-speedbar-move-message):
8367 Use dframe-with-attached-buffer rather than speedbar- alias.
8368 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8369 (dframe-message, speedbar-make-specialized-keymap)
8370 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8371 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8372 (speedbar-insert-button, dframe-select-attached-frame)
8373 (dframe-maybee-jump-to-attached-frame)
8374 (speedbar-change-initial-expansion-list)
8375 (speedbar-previously-used-expansion-list-name): Declare.
8376 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8377 Use dframe-message, dframe-with-attached-buffer rather than
8378 speedbar- aliases.
8379 (gud-sentinel): Silence compiler.
8380 * progmodes/vhdl-mode.el (speedbar-refresh)
8381 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8382 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8383 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8384 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8385 (speedbar-file-lists, speedbar-make-tag-line)
8386 (speedbar-line-directory, speedbar-goto-this-file)
8387 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8388 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8389 (speedbar-make-button, speedbar-reset-scanners)
8390 (speedbar-files-item-info, speedbar-line-text)
8391 (speedbar-find-file-in-frame, speedbar-set-timer)
8392 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8393 (speedbar-with-writable): Do not (re)define it.
8394 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8395 rather than speedbar- alias.
8396
8397 2013-05-21 Leo Liu <sdl.web@gmail.com>
8398
8399 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8400 menu items.
8401 (octave-mode): Tweak fill-nobreak-predicate.
8402 (inferior-octave-startup): Check process to avoid infinite loop.
8403 (inferior-octave): Pop to buffer first to show abornmal process
8404 exit information.
8405
8406 2013-05-21 Glenn Morris <rgm@gnu.org>
8407
8408 * printing.el (pr-menu-bar): Define when compiling.
8409
8410 2013-05-21 Leo Liu <sdl.web@gmail.com>
8411
8412 * progmodes/octave.el (octave-auto-fill): Remove.
8413 (octave-indent-new-comment-line): Improve.
8414 (octave-mode): Use auto fill mode through
8415 comment-line-break-function and fill-nobreak-predicate.
8416 (octave-goto-function-definition): Support DEFUN_DLD.
8417 (octave-beginning-of-defun): Small tweak.
8418 (octave-help): Show parent directory.
8419
8420 2013-05-21 Glenn Morris <rgm@gnu.org>
8421
8422 * files.el (dired-unmark):
8423 * progmodes/gud.el (gdb-input): Update declarations.
8424
8425 * calculator.el (electric, ehelp): No need to load when compiling.
8426 (Electric-command-loop, electric-describe-mode): Declare.
8427
8428 * doc-view.el (doc-view-current-converter-processes): Move before use.
8429
8430 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8431 Move MODE-set-explicitly definition before use.
8432
8433 * international/mule-diag.el (mule-diag):
8434 Don't use obsolete window-system-version.
8435
8436 * mail/feedmail.el (smtpmail): No need to load when compiling.
8437 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8438
8439 * mail/mail-utils.el (rfc822): No need to load when compiling.
8440 (rfc822-addresses): Autoload it.
8441 (mail-strip-quoted-names): Trivial simplification.
8442
8443 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8444 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8445
8446 * net/snmp-mode.el (tempo): Don't duplicate requires.
8447
8448 * progmodes/prolog.el (info): No need to load when compiling.
8449 (comint): Require before shell requires it.
8450 (Info-goto-node): Autoload it.
8451 (Info-follow-nearest-node): Declare.
8452 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8453
8454 * textmodes/artist.el (picture-mode-exit): Declare.
8455
8456 * textmodes/reftex-parse.el (reftex-parse-from-file):
8457 Trivial rewrite so the compiler can parse it better.
8458
8459 2013-05-20 Leo Liu <sdl.web@gmail.com>
8460
8461 * progmodes/octave.el (octave-help-mode-map)
8462 (octave-help-mode-finish-hook): New variables.
8463 (octave-help-mode, octave-help-mode-finish): New functions.
8464 (octave-help): Use octave-help-mode.
8465
8466 2013-05-20 Glenn Morris <rgm@gnu.org>
8467
8468 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8469
8470 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8471
8472 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8473 start at point, so that expansion starting right after opening
8474 slash in a regexp is recognized.
8475 (ruby-syntax-before-regexp-re): New defvar, extracted from
8476 ruby-syntax-propertize-function. Since the value of this regexp
8477 is looked up at runtime now, we should be able to turn
8478 `ruby-syntax-methods-before-regexp' into a defcustom later.
8479 (ruby-syntax-propertize-function): Split regexp matching into two
8480 parts, for opening and closing slashes. That allows us to skip
8481 over string interpolations and support multiline regexps.
8482 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8483 for them, which calls `ruby-syntax-propertize-expansion'.
8484 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8485 call to `ruby-syntax-propertize-function'.
8486 (ruby-syntax-propertize-expansion): Extracted from
8487 `ruby-syntax-propertize-expansions'. Handles one expansion.
8488 (ruby-syntax-propertize-percent-literal): Leave point right after
8489 the percent symbol, so that the expression expansion rule can
8490 propertize the contents.
8491 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8492 heredoc openers.
8493 (ruby-syntax-propertize-expansions): Remove.
8494
8495 2013-05-18 Juri Linkov <juri@jurta.org>
8496
8497 * man.el (Man-default-man-entry): Remove `-' from the end
8498 of the default value. (Bug#14400)
8499
8500 2013-05-18 Glenn Morris <rgm@gnu.org>
8501
8502 * comint.el (comint-password-prompt-regexp):
8503 Allow "password for XXX" where XXX contains colons (eg https://...).
8504
8505 2013-05-18 Leo Liu <sdl.web@gmail.com>
8506
8507 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8508 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8509 (octave-source-directories): Don't check process.
8510 (octave-source-directories, octave-find-definition): Doc fix.
8511
8512 2013-05-18 Glenn Morris <rgm@gnu.org>
8513
8514 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8515 Remove backspace/delete bindings. (Bug#14392)
8516
8517 * cus-dep.el (custom-make-dependencies): Sort the output.
8518 (custom-versions-load-alist): Convert comment to doc.
8519
8520 2013-05-17 Leo Liu <sdl.web@gmail.com>
8521
8522 * newcomment.el (comment-search-backward): Stricter in finding
8523 comment start. (Bug#14303)
8524
8525 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8526 (octave-comment-start-skip): Properly anchored.
8527
8528 2013-05-17 Leo Liu <sdl.web@gmail.com>
8529
8530 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8531 Clean up when turned off. (Bug#14395)
8532 (smie--highlight-matching-block-overlay): No longer buffer-local.
8533 (smie-highlight-matching-block): Adjust.
8534
8535 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8536
8537 Doc string fix for "nanoseconds" (Bug#14406).
8538 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8539 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8540
8541 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8542
8543 * calc/calc-units.el (math-extract-units): Preserve powers
8544 of units.
8545
8546 2013-05-17 Leo Liu <sdl.web@gmail.com>
8547
8548 * subr.el (delete-consecutive-dups): New function.
8549 * ido.el (ido-set-matches-1): Use it.
8550 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8551 * ido.el (ido-remove-consecutive-dups): Remove.
8552
8553 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8554
8555 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8556 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8557 regexp-opt's `words'.
8558
8559 2013-05-16 Leo Liu <sdl.web@gmail.com>
8560
8561 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8562 (smie--highlight-matching-block-overlay)
8563 (smie--highlight-matching-block-lastpos)
8564 (smie--highlight-matching-block-timer): New variables.
8565 (smie-highlight-matching-block): New function.
8566 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8567 (smie-setup): Conditionally enable smie-blink-matching-open.
8568
8569 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8570
8571 Sync with upstream verilog-mode r840.
8572 * progmodes/verilog-mode.el (verilog-mode-version)
8573 (verilog-mode-release-date): Update.
8574 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8575 (verilog-sig-tieoff): Fix string error on
8576 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8577 (verilog-read-decls): Fix parameters confusing
8578 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8579
8580 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8581
8582 * subr.el (reveal-filename): New function.
8583
8584 * loadup.el: Compute Emacs executable versions on MS-Windows,
8585 where executables have the .exe extension. Add a hard link
8586 emacs-XX.YY.ZZ.exe on MS-Windows.
8587
8588 * Makefile.in (XARGS_LIMIT): New variable.
8589 (custom-deps, finder-data, autoloads)
8590 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8591 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8592 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8593 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8594
8595 2013-05-16 Leo Liu <sdl.web@gmail.com>
8596
8597 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8598 (octave-mode-menu, octave-mode-map): Remove its uses.
8599
8600 2013-05-16 Reto Zimmermann <reto@gnu.org>
8601
8602 Sync with upstream vhdl mode v3.34.2.
8603 * progmodes/vhdl-mode.el: Use `push' throughout.
8604 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8605 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8606 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8607 (vhdl-actual-generic-name): New option to derive actual generic name.
8608 (vhdl-port-paste-signals): Replace formal by actual generics.
8609 (vhdl-beautify): New name for old group vhdl-align. Update users.
8610 (vhdl-beautify-options): New option.
8611 (vhdl-last-input-event): New compat alias. Use throughout.
8612 (vhdl-goto-line): Replace user level function `goto-line'.
8613 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8614 vhdl-fix-statement-buffer.
8615 (vhdl-create-mode-menu): Add some entries.
8616 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8617 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8618 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8619 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8620 to force statements on one line.
8621 (vhdl-remove-trailing-spaces-region):
8622 New, split from vhdl-remove-trailing-spaces.
8623 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8624 Respect vhdl-beautify-options.
8625 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8626 (vhdl-update-sensitivity-list): Not add with index if exists without.
8627 Not include array index with signal. Ignore keywords in comments.
8628 (vhdl-get-visible-signals): Regexp tweaks.
8629 (vhdl-template-component-inst): Handle empty library.
8630 (vhdl-template-type): Add template for 'enum' type.
8631 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8632 Use vhdl-replace-string.
8633 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8634 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8635 (vhdl-speedbar-initialize): Update for above name change.
8636 (vhdl-compose-wire-components): Fix in handling of constants.
8637 (vhdl-error-regexp-emacs-alist): New variable.
8638 (vhdl-error-regexp-add-emacs): New function;
8639 adds support for new compile.el (Emacs 22+)
8640 (vhdl-generate-makefile-1): Change target order for single lib. units.
8641 Allow use of absolute file names.
8642
8643 2013-05-16 Leo Liu <sdl.web@gmail.com>
8644
8645 * simple.el (prog-indent-sexp): Indent enclosing defun.
8646
8647 2013-05-15 Glenn Morris <rgm@gnu.org>
8648
8649 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8650 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8651 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8652 (whitespace-highlight): Move to whitespace group.
8653
8654 * comint.el (comint-source):
8655 * pcmpl-linux.el (pcmpl-linux):
8656 * shell.el (shell-faces):
8657 * eshell/esh-opt.el (eshell-opt):
8658 * international/ccl.el (ccl): Remove empty custom groups.
8659
8660 * completion.el (dynamic-completion-mode):
8661 * jit-lock.el (jit-lock-debug-mode):
8662 * minibuffer.el (completion-in-region-mode):
8663 * type-break.el (type-break-mode-line-message-mode)
8664 (type-break-query-mode):
8665 * emulation/tpu-edt.el (tpu-edt-mode):
8666 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8667 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8668 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8669
8670 * term/xterm.el (xterm): Change parent group to terminals.
8671
8672 * master.el (master): Remove empty custom group.
8673 (master-mode): Remove unused :group argument.
8674 * textmodes/refill.el (refill): Remove empty custom group.
8675 (refill-mode): Remove unused :group argument.
8676
8677 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8678
8679 * cus-dep.el: Provide a feature.
8680 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8681 Don't mistakenly ignore files whose basenames match a basename
8682 from preloaded-file-list (eg cedet/ede/simple.el).
8683 Add a fallback method for getting :group.
8684
8685 2013-05-15 Juri Linkov <juri@jurta.org>
8686
8687 * isearch.el (isearch-char-by-name): Rename from
8688 `isearch-insert-char-by-name'. Doc fix.
8689 (isearch-forward): Mention `isearch-char-by-name' in
8690 the docstring. (Bug#13348)
8691
8692 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8693 `exit-minibuffer' instead of
8694 `isearch-nonincremental-exit-minibuffer'.
8695 (isearch-edit-string): Remove mention of
8696 `isearch-nonincremental-exit-minibuffer' from docstring.
8697 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8698 (isearch-forward-exit-minibuffer)
8699 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8700
8701 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8702
8703 * loadup.el: Just use unversioned DOC.
8704
8705 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8706 literals as extending to EOB.
8707 (nxml-last-fontify-end): Remove unused variable.
8708 (nxml-after-change1): Use with-silent-modifications.
8709 (nxml-extend-after-change-region): Simplify.
8710 (nxml-extend-after-change-region1): Remove function.
8711 (nxml-after-change1): Don't adjust for dependent regions.
8712 (nxml-fontify-matcher): Simplify.
8713 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8714 (xmltok-add-dependent): Remove function.
8715 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8716 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8717 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8718 unclosed <[[, <?, comment, and other literals as extending to EOB.
8719 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8720 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8721 Remove functions.
8722 (rng-do-some-validation-1): Don't mark dependent regions.
8723 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8724 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8725 (nxml-clear-dependent-regions): Remove functions.
8726 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8727 (nxml-ensure-scan-up-to-date):
8728 Don't clear&mark dependent regions.
8729
8730 2013-05-15 Leo Liu <sdl.web@gmail.com>
8731
8732 * progmodes/octave.el (octave-goto-function-definition):
8733 Improve and fix callers.
8734
8735 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8736
8737 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8738 the setter (bug#14387).
8739
8740 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8741 surrounding group (bug#14402).
8742
8743 2013-05-14 Juri Linkov <juri@jurta.org>
8744
8745 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8746 (Bug#14390)
8747
8748 2013-05-14 Glenn Morris <rgm@gnu.org>
8749
8750 * progmodes/f90.el (f90-imenu-generic-expression):
8751 Fix typo in 2013-05-08 change. (Bug#14402)
8752
8753 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8754
8755 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8756 Remove signals for which replies are never received.
8757
8758 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8759
8760 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8761 (gdb-handler-alist, gdb-handler-number): Remove variables.
8762 (gdb-handler-list): New variable.
8763 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8764 (gdb-pending-handler-p, gdb-handle-reply)
8765 (gdb-remove-all-pending-triggers): New functions.
8766 (gdb-discard-unordered-replies): New defcustom.
8767 (gdb-handler): New defstruct.
8768 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8769 instead of gdb-pending-triggers. Update docstring.
8770 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8771 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8772 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8773 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8774 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8775 (gdb-frame-handler): Pending triggers are now automatically managed.
8776 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8777 Remove argument.
8778 (gdb-input): Automatically handles pending triggers. Update docstring.
8779 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8780 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8781 Update comments.
8782 (gdb-done-or-error): Now use gdb-handle-reply.
8783
8784 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8785
8786 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8787 gdb-debug-log.
8788
8789 2013-05-14 Glenn Morris <rgm@gnu.org>
8790
8791 * subr.el (user-emacs-directory-warning): New option.
8792 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8793
8794 2013-05-14 Leo Liu <sdl.web@gmail.com>
8795
8796 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8797 during redisplay.
8798 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8799 (octave-font-lock-texinfo-comment): Fix invalid search bound
8800 error: wrong side of point.
8801
8802 2013-05-14 Glenn Morris <rgm@gnu.org>
8803
8804 * progmodes/flymake.el (flymake-xml-program): New option.
8805 (flymake-xml-init): Use it.
8806
8807 * term/xterm.el: Provide a feature.
8808
8809 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8810
8811 2013-05-13 Glenn Morris <rgm@gnu.org>
8812
8813 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8814 Add compat aliases as a hack workaround. (Bug#14384)
8815
8816 2013-05-13 Leo Liu <sdl.web@gmail.com>
8817
8818 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8819 ###, and %!.
8820 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8821 C-M-q.
8822 (octave-comment-start-skip): Include %!.
8823 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8824
8825 2013-05-12 Leo Liu <sdl.web@gmail.com>
8826
8827 * progmodes/octave.el (inferior-octave-startup): Store the value
8828 of __octave_srcdir__ for octave-source-directories.
8829 (inferior-octave-check-process): New function refactored out of
8830 inferior-octave-send-list-and-digest.
8831 (octave-source-directories)
8832 (octave-find-definition-filename-function): New variables.
8833 (octave-source-directories)
8834 (octave-find-definition-default-filename): New functions.
8835 (octave-find-definition): Improve to find functions implemented in C++.
8836
8837 2013-05-12 Glenn Morris <rgm@gnu.org>
8838
8839 * calendar/diary-lib.el (diary-outlook-format-1):
8840 Don't include dayname in the output. (Bug#14349)
8841
8842 2013-05-11 Glenn Morris <rgm@gnu.org>
8843
8844 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8845
8846 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8847 Treat cc-provide like provide.
8848
8849 2013-05-11 Kevin Ryde <user42@zip.com.au>
8850
8851 * cus-dep.el (custom-make-dependencies):
8852 Use generated-autoload-load-name for the sake of files such
8853 such cedet/semantic/bovine/c.el, where the base file name
8854 is not in load-path. (Bug#5277)
8855
8856 2013-05-11 Glenn Morris <rgm@gnu.org>
8857
8858 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8859 Provide features.
8860
8861 2013-05-11 Leo Liu <sdl.web@gmail.com>
8862
8863 * progmodes/octave.el (octave-indent-comment): Improve.
8864 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8865 (octave-eldoc-function-signatures, octave-eldoc-function):
8866 New functions.
8867 (octave-mode, inferior-octave-mode): Add eldoc support.
8868
8869 2013-05-11 Richard Stallman <rms@gnu.org>
8870
8871 * epa.el (epa-decrypt-file): Take output file name as argument
8872 and read it using `interactive'.
8873
8874 2013-05-11 Leo Liu <sdl.web@gmail.com>
8875
8876 * progmodes/octave.el (octave-beginning-of-line)
8877 (octave-end-of-line): Check before using up-list because it jumps
8878 out of more syntactic contructs since moving to smie.
8879 (octave-indent-comment): New function.
8880 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8881 (octave-begin-keywords, octave-end-keywords)
8882 (octave-reserved-words, octave-smie-bnf-table)
8883 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8884
8885 2013-05-11 Glenn Morris <rgm@gnu.org>
8886
8887 * faces.el (internal-face-x-get-resource):
8888 * frame.el (ns-display-monitor-attributes-list):
8889 * calc/calc-aent.el (math-to-radians-2):
8890 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8891 Fix declarations.
8892
8893 * calc/calc-menu.el: Make it loadable in isolation.
8894
8895 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8896 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8897 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8898 (eudc-bbdb-query-internal): Require 'bbdb.
8899
8900 * lpr.el (lpr-headers-switches):
8901 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8902
8903 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8904
8905 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8906
8907 * term.el (term-set-escape-char): Make it idempotent.
8908
8909 2013-05-10 Leo Liu <sdl.web@gmail.com>
8910
8911 * progmodes/octave.el (inferior-octave-completion-table):
8912 No longer a function and all uses changed. Use cache to speed up
8913 completion due to bug#11906.
8914 (octave-beginning-of-defun): Re-write to be more general.
8915
8916 2013-05-10 Glenn Morris <rgm@gnu.org>
8917
8918 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8919
8920 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8921
8922 * comint.el (comint-redirect-send-command-to-process): Use :around
8923 rather than :override for comint-redirect-filter.
8924 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8925 Call it instead of comint-redirect-original-filter-function (which
8926 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8927
8928 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8929
8930 * frame.el (display-monitor-attributes-list): Add NS case.
8931 (ns-display-monitor-attributes-list): Declare.
8932
8933 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8934
8935 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8936
8937 2013-05-09 Glenn Morris <rgm@gnu.org>
8938
8939 * international/fontset.el (vertical-centering-font-regexp):
8940 Set standard-value.
8941
8942 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8943
8944 * bookmark.el (bookmark-search-delay):
8945 * cus-start.el (vertical-centering-font-regexp):
8946 * ps-mule.el (ps-mule-font-info-database-default):
8947 * ps-print.el (ps-default-fg, ps-default-bg):
8948 * type-break.el (type-break-good-break-interval):
8949 * whitespace.el (whitespace-indentation-regexp)
8950 (whitespace-space-after-tab-regexp):
8951 * emacs-lisp/testcover.el (testcover-1value-functions)
8952 (testcover-noreturn-functions, testcover-progn-functions)
8953 (testcover-prog1-functions):
8954 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8955 * eshell/em-glob.el (eshell-glob-translate-alist):
8956 * play/tetris.el (tetris-tty-colors):
8957 * progmodes/cpp.el (cpp-face-default-list):
8958 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8959 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8960 (idlwave-help-browser-generic-args):
8961 * progmodes/make-mode.el (makefile-special-targets-list):
8962 * progmodes/python.el (python-shell-virtualenv-path):
8963 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8964 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8965 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8966 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8967 * textmodes/reftex-vars.el (reftex-format-label-function):
8968 * textmodes/remember.el (remember-diary-file): Fix custom types.
8969
8970 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8971 Add :version.
8972
8973 2013-05-09 Leo Liu <sdl.web@gmail.com>
8974
8975 * progmodes/octave.el (inferior-octave-completion-at-point):
8976 Restore file completion. (Bug#14300)
8977 (inferior-octave-startup): Fix incorrect highlighting for the
8978 first prompt.
8979
8980 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * progmodes/ruby-mode.el: First cut at SMIE support.
8983 (ruby-use-smie): New var.
8984 (ruby-smie-grammar): New constant.
8985 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8986 (ruby-smie--forward-token, ruby-smie--backward-token)
8987 (ruby-smie-rules): New functions.
8988 (ruby-mode-variables): Setup SMIE if applicable.
8989
8990 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8991
8992 * simple.el (line-move-visual): Signal beginning/end of buffer
8993 only if vertical-motion moved less than it was requested. Avoids
8994 silly incorrect error messages when there are display strings with
8995 multiple newlines at EOL.
8996
8997 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9000 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9001 (prolog-char-quote-workaround):
9002 * progmodes/cperl-mode.el (cperl-under-as-char):
9003 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9004 Mark as obsolete.
9005 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9006 their declaration.
9007 (vhdl-mode-syntax-table-init): Remove.
9008
9009 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9010 last change.
9011
9012 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9013 syntax for "_".
9014 (ld-script-font-lock-keywords):
9015 Change regexps to use things like \_< and \_>.
9016
9017 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9018 Change all regexps to use things like \_< and \_>.
9019
9020 * progmodes/autoconf.el (autoconf-definition-regexp)
9021 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9022 Handle a _ with symbol syntax.
9023 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9024
9025 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9026 Consolidate declaration.
9027 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9028 the declaration.
9029 (ada-create-syntax-table): Remove.
9030 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9031 already has the right syntax nowadays.
9032 (ada-goto-next-word): Don't change the syntax of "_".
9033
9034 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9035 with-wrapper-hook.
9036
9037 2013-05-08 Sam Steingold <sds@gnu.org>
9038
9039 * thingatpt.el (thing-at-point): Accept optional second argument
9040 NO-PROPERTIES to strip the text properties from the return value.
9041 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9042 to `thing-at-point' instead of stripping the properties ourselves.
9043 Also, when `thing-at-point' fails to find a url, prepend "http://"
9044 to the filename at point on the assumption that the user is
9045 pointing at something like gnu.org/gnu.
9046
9047 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9048
9049 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9050 * faces.el (crm-separator):
9051 Silence byte-compiler.
9052
9053 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9054 (tool-bar-map): Remove unneeded defvars.
9055
9056 2013-05-08 Leo Liu <sdl.web@gmail.com>
9057
9058 Re-work a fix for bug#10994 based on Le Wang's patch.
9059 * ido.el (ido-remove-consecutive-dups): New helper.
9060 (ido-completing-read): Use it.
9061 (ido-chop): Revert fix for bug#10994.
9062
9063 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9064
9065 * cus-edit.el (custom-save-variables):
9066 Pretty-print long values. (Bug#14187)
9067
9068 2013-05-08 Glenn Morris <rgm@gnu.org>
9069
9070 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9071 (m4-mode-syntax-table): Init in the defvar.
9072 (m4-mode-abbrev-table): Let define-derived-mode define it.
9073
9074 2013-05-08 Tom Tromey <tromey@redhat.com>
9075
9076 * progmodes/m4-mode.el (m4-mode-syntax-table):
9077 Do not treat "_" as word constituent. (Bug#14167)
9078
9079 2013-05-07 Glenn Morris <rgm@gnu.org>
9080
9081 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9082 Remove explicit eshell-isearch-cancel-map.
9083
9084 * progmodes/f90.el (f90-smart-end-names): New option.
9085 (f90-smart-end): Doc fix.
9086 (f90-end-block-optional-name): New constant.
9087 (f90-block-match): Respect f90-smart-end-names.
9088
9089 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9092 about implicit semi-colons (bug#14218).
9093
9094 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9095
9096 * frame.el (display-monitor-attributes-list)
9097 (frame-monitor-attributes): New functions.
9098
9099 2013-05-06 Leo Liu <sdl.web@gmail.com>
9100
9101 * progmodes/octave.el (octave-syntax-propertize-function): Change
9102 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9103 (octave-font-lock-keywords): Use octave-operator-regexp.
9104 (octave-completion-at-point): Rename from
9105 octave-completion-at-point-function.
9106 (inferior-octave-directory-tracker): Robustify.
9107 (octave-text-functions): Remove and fix its uses. No such things
9108 any more.
9109
9110 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * emacs-lisp/trace.el (trace--display-buffer): New function.
9113 (trace-make-advice): Use it.
9114
9115 2013-05-06 Juri Linkov <juri@jurta.org>
9116
9117 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9118 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9119 Doc fix.
9120 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9121 in the help string. (Bug#12985)
9122
9123 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9124
9125 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9126
9127 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9128
9129 * progmodes/perl-mode.el: Add support for here documents.
9130 (perl-syntax-propertize-function): Match here-doc markers.
9131 (perl-syntax-propertize-special-constructs): Find their end.
9132 (perl-imenu-generic-expression): Use [:alnum:].
9133
9134 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9135 (advice--add-function): Refresh the advice if already present
9136 (bug#14317).
9137
9138 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9139
9140 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9141
9142 2013-05-06 Glenn Morris <rgm@gnu.org>
9143
9144 * w32-fns.el (w32-charset-info-alist): Declare.
9145
9146 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9147 of its defcustom properties.
9148 (eshell-cmpl-initialize): No need to load pcomplete.
9149
9150 * generic-x.el: No need to require comint when compiling.
9151
9152 * net/eudc-export.el: Make it loadable without bbdb.
9153 (top-level): Use require rather than load-library.
9154 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9155 (eudc-batch-export-records-to-bbdb)
9156 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9157 Require bbdb.
9158
9159 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9160
9161 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9162 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9163 some tweaks, instead.
9164
9165 2013-05-05 Leo Liu <sdl.web@gmail.com>
9166
9167 * progmodes/octave.el (octave-font-lock-keywords)
9168 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9169 (inferior-octave-send-list-and-digest): Improve error message.
9170 (octave-mode, inferior-octave-mode): Use setq-local.
9171 (octave-help): Set info-lookup-mode.
9172
9173 2013-05-05 Richard Stallman <rms@gnu.org>
9174
9175 * vc/compare-w.el (compare-windows-whitespace):
9176 Treat no-break space as whitespace.
9177
9178 * mail/rmailsum.el (rmail-summary-rmail-update):
9179 Detect empty summary and don't change selected message.
9180 (rmail-summary-goto-msg): Likewise.
9181
9182 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9183 Doc fixes, rename args.
9184
9185 2013-05-05 Alan Mackenzie <acm@muc.de>
9186
9187 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9188
9189 2013-05-05 Juri Linkov <juri@jurta.org>
9190
9191 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9192 to not add the length of the summary segment to the return value.
9193 (Bug#14125)
9194
9195 2013-05-05 Leo Liu <sdl.web@gmail.com>
9196
9197 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9198 (inferior-octave-output-filter): Remove.
9199 (octave-send-region, inferior-octave-startup): Fix callers.
9200 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9201 (octave-binary-file-extensions): New user variable.
9202 (octave-find-definition): Confirm if opening binary files.
9203 (octave-help-file): Use octave-find-definition to get the binary
9204 confirmation.
9205 (octave-help): Adjust for octave-help-file change.
9206
9207 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9208
9209 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9210 Merge the two entries that handle function definitions.
9211 (pascal--syntax-propertize): New const.
9212 (pascal-mode): Use it. Use setq-local.
9213
9214 2013-05-04 Glenn Morris <rgm@gnu.org>
9215
9216 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9217 (diary-from-outlook): Respect diary-from-outlook-function.
9218
9219 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9220
9221 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9222 Move the declaration from C.
9223 (read-minibuffer, eval-minibuffer): Move from C.
9224 (completion-setup-function): Avoid minibuffer-completion-contents.
9225
9226 2013-05-03 Leo Liu <sdl.web@gmail.com>
9227
9228 * progmodes/octave.el (octave-font-lock-keywords): Do not
9229 dehighlight 'end' in comments or strings.
9230 (octave-completing-read, octave-goto-function-definition):
9231 New helpers.
9232 (octave-help-buffer): New user variable.
9233 (octave-help-file, octave-help-function): New button types.
9234 (octave-help): New command and bind it to C-h ;.
9235 (octave-find-definition): New command and bind it to M-.
9236 (user-error): Alias to error if not defined.
9237
9238 2013-05-02 Leo Liu <sdl.web@gmail.com>
9239
9240 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9241 for \. (bug#14332)
9242 (octave-font-lock-keywords): Include [ and {.
9243
9244 2013-05-02 Leo Liu <sdl.web@gmail.com>
9245
9246 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9247 (inferior-octave): Remove calling comint-mode and return the buffer.
9248 (inferior-octave-startup): Cosmetic changes.
9249
9250 2013-05-02 Leo Liu <sdl.web@gmail.com>
9251
9252 * progmodes/octave.el (octave-syntax-propertize-function):
9253 Include the case when ' is at line beginning. (Bug#14336)
9254
9255 2013-05-02 Glenn Morris <rgm@gnu.org>
9256
9257 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9258 * desktop.el (vc-dir-mode): Just autoload it here.
9259
9260 2013-05-02 Alan Mackenzie <acm@muc.de>
9261
9262 Eliminate variable c-standard-font-lock-fontify-region-function.
9263 * progmodes/cc-mode.el
9264 (c-standard-font-lock-fontify-region-function): Remove.
9265 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9266
9267 2013-05-01 Leo Liu <sdl.web@gmail.com>
9268
9269 * progmodes/octave.el: Compatible with older emacs-24 releases.
9270 (inferior-octave-has-built-in-variables): Remove. Built-in
9271 variables were removed from Octave in 2007.
9272 (inferior-octave-startup): Fix uses.
9273 (comint-line-beginning-position): Remove compatibility code for
9274 emacs 21.
9275
9276 2013-05-01 Juri Linkov <juri@jurta.org>
9277
9278 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9279
9280 2013-05-01 Juri Linkov <juri@jurta.org>
9281
9282 * comint.el (comint-previous-matching-input): Don't print message
9283 "History item: %d" when `isearch-mode' is active.
9284 (comint-history-isearch-message): Print message "History item: %d"
9285 when `comint-input-ring-index' is not empty and this function is
9286 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9287
9288 2013-05-01 Leo Liu <sdl.web@gmail.com>
9289
9290 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9291 definitions. Use completion-at-point to insert keywords.
9292 (octave-abbrev-start): Remove.
9293 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9294
9295 2013-04-30 Leo Liu <sdl.web@gmail.com>
9296
9297 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9298 change.
9299
9300 2013-04-30 Alan Mackenzie <acm@muc.de>
9301
9302 Handle arbitrarily long C++ member initialisation lists.
9303 * progmodes/cc-engine.el (c-back-over-member-initializers):
9304 new function.
9305 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9306 (most) member init lists.
9307
9308 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9309
9310 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9311 variable.
9312
9313 2013-04-30 Leo Liu <sdl.web@gmail.com>
9314
9315 * progmodes/octave.el (octave-variables): Remove. No builtin
9316 variables any more. All converted to functions.
9317 (octave-font-lock-keywords, octave-completion-at-point-function):
9318 Fix uses.
9319 (octave-font-lock-texinfo-comment): New user variable.
9320 (octave-texinfo-font-lock-keywords): New variable for texinfo
9321 comment block.
9322 (octave-function-comment-block): New face.
9323 (octave-font-lock-texinfo-comment): New function.
9324 (octave-mode): Font lock texinfo comment block.
9325
9326 2013-04-29 Leo Liu <sdl.web@gmail.com>
9327
9328 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9329 indexing expression.
9330 (octave-continuation-string): Do not use \.
9331 (inferior-octave-complete-impossible): Remove.
9332 (inferior-octave-completion-table)
9333 (inferior-octave-completion-at-point): Remove its uses.
9334 (inferior-octave-startup): completion_matches was introduced to
9335 Octave in 1996 so safe to assume it.
9336 (octave-function-file-comment): Improve to follow how Octave does it.
9337 (octave-update-function-file-comment): Tweak.
9338
9339 2013-04-29 Leo Liu <sdl.web@gmail.com>
9340
9341 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9342 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9343 (octave-function-file-comment): Fix typo.
9344 (octave-sync-function-file-names): Use read-char-choice.
9345
9346 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9347
9348 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9349 to t for the less important warnings.
9350
9351 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9352
9353 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9354
9355 2013-04-27 Glenn Morris <rgm@gnu.org>
9356
9357 * vc/log-view.el (log-view-current-entry):
9358 Treat "---" separator lines as part of the following rev. (Bug#14169)
9359
9360 2013-04-27 Juri Linkov <juri@jurta.org>
9361
9362 * subr.el (read-number): Doc fix about using it by interactive
9363 code letter `n'. (Bug#14254)
9364
9365 2013-04-27 Juri Linkov <juri@jurta.org>
9366
9367 * desktop.el (desktop-auto-save-timeout): New option.
9368 (desktop-file-checksum): New variable.
9369 (desktop-save): Add optional arg `auto-save' and don't auto-save
9370 if nothing changed.
9371 (desktop-auto-save-timer): New variable.
9372 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9373 (after-init-hook): Call `desktop-auto-save-set-timer'.
9374 Suggested by Reuben Thomas <rrt@sc3d.org> in
9375 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9376
9377 2013-04-27 Leo Liu <sdl.web@gmail.com>
9378
9379 * progmodes/octave.el (octave-function-file-p)
9380 (octave-skip-comment-forward, octave-function-file-comment)
9381 (octave-update-function-file-comment): New functions.
9382 (octave-mode-map): Bind C-c ; to
9383 octave-update-function-file-comment.
9384 (octave-mode-menu): Add octave-update-function-file-comment.
9385 (octave-mode, inferior-octave-mode): Fix doc-string.
9386 (octave-insert-defun): Conform to Octave's coding convention.
9387 (Bug#14285)
9388
9389 * files.el (basic-save-buffer): Don't let errors in
9390 before-save-hook prevent saving buffer.
9391
9392 2013-04-20 Roland Winkler <winkler@gnu.org>
9393
9394 * faces.el (read-face-name): Use completing-read if arg multiple
9395 is nil.
9396
9397 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9398
9399 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9400 displayed, move point to after the totals line.
9401 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9402 for the details.
9403
9404 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9405
9406 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9407 Add current dir to the load-path.
9408 (package-generate-autoloads): Don't rely on
9409 autoload-ensure-default-file.
9410
9411 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9412
9413 * textmodes/remember.el (remember-store-in-files): Document that
9414 the file name format is passed to `format-time-string'.
9415
9416 2013-04-26 Leo Liu <sdl.web@gmail.com>
9417
9418 * progmodes/octave.el (octave-sync-function-file-names): New function.
9419 (octave-mode): Use it in before-save-hook.
9420
9421 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9422
9423 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9424 (bug#14274).
9425
9426 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9427 \n and comment, even if it's not an implicit ; (bug#14218).
9428
9429 2013-04-26 Glenn Morris <rgm@gnu.org>
9430
9431 * subr.el (read-number): Once more use `read' rather than
9432 `string-to-number', to trap non-numeric input. (Bug#14254)
9433
9434 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9435
9436 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9437 Use `syntax-multiline' text property consistently instead of
9438 `font-lock-multiline'. (Bug#14237)
9439
9440 2013-04-26 Glenn Morris <rgm@gnu.org>
9441
9442 * emacs-lisp/shadow.el (list-load-path-shadows):
9443 No longer necessary to check for duplicate simple.el, since
9444 2012-07-07 change to init_lread to not include installation lisp
9445 directories in load-path when running uninstalled. (Bug#14270)
9446
9447 2013-04-26 Leo Liu <sdl.web@gmail.com>
9448
9449 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9450 (octave-mode, inferior-octave-mode): Use setq-local.
9451 (octave-not-in-string-or-comment-p): Rename to
9452 octave-in-string-or-comment-p.
9453 (octave-in-comment-p, octave-in-string-p)
9454 (octave-in-string-or-comment-p): Replace defsubst with defun.
9455
9456 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9457
9458 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9459
9460 2013-04-25 Bastien Guerry <bzg@gnu.org>
9461
9462 * textmodes/remember.el (remember-data-directory)
9463 (remember-directory-file-name-format): Fix custom types.
9464
9465 2013-04-25 Leo Liu <sdl.web@gmail.com>
9466
9467 * progmodes/octave.el (octave-completion-at-point-function):
9468 Make use of inferior octave process.
9469 (octave-initialize-completions): Remove.
9470 (inferior-octave-completion-table): New function.
9471 (inferior-octave-completion-at-point): Use it.
9472 (octave-completion-alist): Remove.
9473
9474 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9475
9476 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9477 (opascal-mode-syntax-table): New var.
9478 (opascal-literal-kind, opascal-is-literal-end)
9479 (opascal-literal-token-at): Rewrite.
9480 (opascal--literal-start-re, opascal-font-lock-keywords)
9481 (opascal--syntax-propertize): New constants.
9482 (opascal-font-lock-defaults): Adjust.
9483 (opascal-mode): Use them. Set comment-<foo> variables as well.
9484 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9485 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9486 (delphi-other-face, opascal-other-face): Remove face variables.
9487 (opascal-save-state): Remove macro.
9488 (opascal-fontifying-progress-step): Remove constant.
9489 (opascal--ignore-changes): Remove var.
9490 (opascal-set-token-property, opascal-parse-next-literal)
9491 (opascal-is-stable-literal, opascal-complete-literal)
9492 (opascal-is-literal-start, opascal-face-of)
9493 (opascal-parse-region, opascal-parse-region-until-stable)
9494 (opascal-fontify-region, opascal-after-change)
9495 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9496 (opascal-debug-parse-region, opascal-debug-parse-window)
9497 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9498 (opascal-debug-fontify-buffer): Remove.
9499 (opascal-debug-mode-map): Adjust accordingly.
9500
9501 2013-04-25 Leo Liu <sdl.web@gmail.com>
9502
9503 Merge octave-mod.el and octave-inf.el into octave.el with some
9504 cleanups.
9505 * progmodes/octave.el: New file renamed from octave-mod.el.
9506 * progmodes/octave-inf.el: Merged into octave.el.
9507 * progmodes/octave-mod.el: Renamed to octave.el.
9508
9509 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9510
9511 * textmodes/reftex-vars.el
9512 (reftex-label-ignored-macros-and-environments): New defcustom.
9513
9514 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9515
9516 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9517
9518 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9519 (smie-indent-keyword): Improve the check to ensure that the next
9520 comment is really on the same line.
9521 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9522
9523 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9524 semi-colons if the line is not otherwise empty (bug#14218).
9525
9526 2013-04-25 Glenn Morris <rgm@gnu.org>
9527
9528 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9529
9530 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9531
9532 * progmodes/opascal.el (opascal-set-token-property): Rename from
9533 opascal-set-text-properties and only set `token' (bug#14134).
9534 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9535 (opascal-literal-text-properties): Remove.
9536 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9537 Adjust callers.
9538
9539 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9540
9541 * textmodes/remember.el (remember-handler-functions): Add an
9542 option for a new handler `remember-store-in-files'.
9543 (remember-data-directory, remember-directory-file-name-format):
9544 New options.
9545 (remember-store-in-files): New function to store remember notes
9546 as separate files within a directory.
9547
9548 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9549
9550 * progmodes/compile.el (compilation-next-error-function):
9551 Pass "formats" to compilation-find-file (bug#11777).
9552
9553 2013-04-24 Glenn Morris <rgm@gnu.org>
9554
9555 * vc/vc-bzr.el (vc-bzr-print-log):
9556 * vc/vc-hg.el (vc-hg-print-log):
9557 * vc/vc-svn.el (vc-svn-print-log):
9558 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9559
9560 * vc/vc-bzr.el (vc-bzr-print-log):
9561 * vc/vc-cvs.el (vc-cvs-print-log):
9562 * vc/vc-git.el (vc-git-print-log):
9563 * vc/vc-hg.el (vc-hg-print-log):
9564 * vc/vc-mtn.el (vc-mtn-print-log):
9565 * vc/vc-rcs.el (vc-rcs-print-log):
9566 * vc/vc-sccs.el (vc-sccs-print-log):
9567 * vc/vc-svn.el (vc-svn-print-log):
9568 * vc/vc.el (vc-print-log-internal): Doc fixes.
9569
9570 2013-04-23 Glenn Morris <rgm@gnu.org>
9571
9572 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9573 Remove venerable code attempting to avoid substitute-command-keys.
9574
9575 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9576
9577 * textmodes/reftex-vars.el (reftex-label-regexps):
9578 Call `reftex-compile-variables' after changes to this variable.
9579
9580 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9581
9582 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9583 Use lexical-binding.
9584 (jit-lock-force-redisplay): Use markers, check buffer's continued
9585 existence and beware narrowed buffers.
9586 (jit-lock-fontify-now): Adjust call accordingly.
9587
9588 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9589
9590 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9591 to avoid misleading the user.
9592
9593 2013-04-22 Leo Liu <sdl.web@gmail.com>
9594
9595 * info-look.el: Prefer latex2e.info. (Bug#14240)
9596
9597 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9598
9599 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9600
9601 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9602 * net/tramp.el (tramp-call-process): ... here.
9603 (tramp-set-completion-function, tramp-parse-putty):
9604 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9605 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9606 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9607 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9608 (tramp-call-local-coding-command): Use `tramp-call-process'
9609 instead of `tramp-compat-call-process'.
9610
9611 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9612 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9613 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9614 (tramp-find-inline-compress): Improve traces.
9615 (tramp-maybe-send-script): Check for Perl binary.
9616 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9617
9618 2013-04-22 Daiki Ueno <ueno@gnu.org>
9619
9620 * epg.el (epg-context-pinentry-mode): New function.
9621 (epg-context-set-pinentry-mode): New function.
9622 (epg--start): Pass --pinentry-mode option to gpg command.
9623
9624 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9625
9626 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9627 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9628 `completion-at-point'. (Bug#13774)
9629
9630 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9631 default key binding for `describe-distribution' has been moved to
9632 `C-h C-o'. (Bug#13970)
9633
9634 2013-04-21 Glenn Morris <rgm@gnu.org>
9635
9636 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9637 Add doc strings.
9638 (vc-print-log): Clarify interactive prompt.
9639
9640 2013-04-20 Glenn Morris <rgm@gnu.org>
9641
9642 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9643 No longer include timestamp etc information.
9644
9645 2013-04-20 Roland Winkler <winkler@gnu.org>
9646
9647 * faces.el (read-face-name): Bug fix, return just one face if arg
9648 multiple is nil. (Bug#14209)
9649
9650 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9651
9652 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9653 (remove-function): Autoload.
9654
9655 * comint.el (comint-redirect-original-filter-function): Remove.
9656 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9657 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9658 (vc-cvs-annotate-command):
9659 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9660 * progmodes/prolog.el (prolog-consult-compile):
9661 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9662 Use add/remove-function instead.
9663 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9664 (gud-tooltip-process-output, gud-tooltip-tips):
9665 Use add/remove-function instead.
9666 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9667 (scheme-interaction-mode, exit-scheme-interaction-mode):
9668 Use add/remove-function instead.
9669
9670 * vc/vc-dispatcher.el: Use lexical-binding.
9671 (vc--process-sentinel): Rename from vc-process-sentinel.
9672 Change last arg to be the code to run. Don't use vc-previous-sentinel
9673 and vc-sentinel-commands any more.
9674 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9675 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9676
9677 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9678
9679 * progmodes/sh-script.el (sh-imenu-generic-expression):
9680 Handle function names with a single character. (Bug#14111)
9681
9682 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9683
9684 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9685 for subroutines defined in an eval (bug#14182).
9686
9687 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9688
9689 * bookmark.el (bookmark-completing-read): Improve handling of empty
9690 string (bug#14176).
9691
9692 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9693
9694 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9695
9696 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9697
9698 New faster Imenu implementation (bug#14058).
9699 * progmodes/python.el:
9700 (python-imenu-prev-index-position):
9701 (python-imenu-format-item-label-function)
9702 (python-imenu-format-parent-item-label-function)
9703 (python-imenu-format-parent-item-jump-label-function):
9704 New vars.
9705 (python-imenu-format-item-label)
9706 (python-imenu-format-parent-item-label)
9707 (python-imenu-format-parent-item-jump-label)
9708 (python-imenu--put-parent, python-imenu--build-tree)
9709 (python-imenu-create-index, python-imenu-create-flat-index)
9710 (python-util-popn): New functions.
9711 (python-mode): Set imenu-create-index-function to
9712 python-imenu-create-index.
9713
9714 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9715
9716 * winner.el (winner-active-region): Use region-active-p, activate-mark
9717 and deactivate-mark (bug#14225).
9718
9719 * simple.el (deactivate-mark): Don't inline it.
9720
9721 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9722
9723 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9724
9725 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9726
9727 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9728 file extensions from the archive-mode entry in order to prefer
9729 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9730
9731 2013-04-18 Leo Liu <sdl.web@gmail.com>
9732
9733 * bindings.el (help-event-list): Add ?\?.
9734
9735 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9736
9737 * subr.el (with-wrapper-hook): Declare obsolete.
9738 * simple.el (filter-buffer-substring-function): New hook.
9739 (filter-buffer-substring): Use it.
9740 (filter-buffer-substring-functions): Mark obsolete.
9741 * minibuffer.el (completion-in-region-function): New hook.
9742 (completion-in-region): Use it.
9743 (completion-in-region-functions): Mark obsolete.
9744 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9745 * abbrev.el (abbrev-expand-function): New hook.
9746 (expand-abbrev): Use it.
9747 (abbrev-expand-functions): Mark obsolete.
9748 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9749 and :filter-return.
9750
9751 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9752
9753 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9754 and do not care about match data.
9755
9756 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9757
9758 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9759 completion tables when completing error conditions and
9760 `declare' arguments.
9761 (lisp-complete-symbol, field-complete): Mark as obsolete.
9762 (check-parens): Unmatched parens are user errors.
9763 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9764
9765 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9766
9767 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9768 command changed buffer (ie. `flyspell-pre-buffer' is not current
9769 buffer), which prevents making decisions based on invalid value of
9770 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9771 cause an error when `flyspell-pre-point' was nil after switching
9772 buffers.
9773 (flyspell-post-command-hook): No longer needs to change buffers when
9774 checking pre-word. While at it remove unnecessary progn.
9775
9776 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9777
9778 * textmodes/ispell.el (ispell-add-per-file-word-list):
9779 Fix `flyspell-correct-word-before-point' error when accepting
9780 words and `coment-padding' is an integer by using
9781 `comment-normalize-vars' (Bug #14214).
9782
9783 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9784
9785 New defun movement commands.
9786 * progmodes/python.el (python-nav--syntactically)
9787 (python-nav--forward-defun, python-nav-backward-defun)
9788 (python-nav-forward-defun): New functions.
9789
9790 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9791
9792 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9793 (python-syntax-context): Use named compiler-macro for backwards
9794 compatibility with Emacs 24.x.
9795
9796 2013-04-17 Leo Liu <sdl.web@gmail.com>
9797
9798 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9799 octave-hide-process-buffer.
9800
9801 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9802
9803 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9804 (bug#14216).
9805
9806 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9807
9808 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9809 Fix adjustment of offset when receiving incomplete responses from GDB
9810 (bug#14129).
9811
9812 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9815 python-mode-abbrev-table.
9816 (python-skeleton-define): Adjust accordingly.
9817 (python-mode-abbrev-table): New table that inherits from it so that
9818 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9819
9820 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9821 (abbrev-symbol): Use it.
9822 (abbrev--before-point): Use it since we already handle inheritance.
9823
9824 2013-04-16 Leo Liu <sdl.web@gmail.com>
9825
9826 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9827 binding to info-lookup-symbol.
9828
9829 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9830
9831 * minibuffer.el (completion--twq-all):
9832 * term/ns-win.el (ns-initialize-window-system):
9833 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9834
9835 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9836
9837 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9838 global bindings.
9839
9840 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9841
9842 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9843
9844 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9845 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9846 to nil.
9847 (ruby-end-of-defun): Remove the unused arg, change the docstring
9848 to reflect that this function is only used as the value of
9849 `end-of-defun-function'.
9850 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9851 to reflect an earlier change that beginning/end-of-defun functions
9852 jump between methods in a class definition, as well as top-level
9853 functions.
9854
9855 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9856
9857 * minibuffer.el (minibuffer-complete): Don't just scroll
9858 a *Completions* that's been iconified.
9859 (minibuffer-force-complete): Make sure repetitions do cycle when going
9860 through completion-in-region -> minibuffer-complete.
9861
9862 2013-04-15 Alan Mackenzie <acm@muc.de>
9863
9864 Correct the placement of c-cpp-delimiters when there're #s not at
9865 col 0.
9866
9867 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9868 place a submatch around the #.
9869 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9870 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9871 on the #, not BOL.
9872
9873 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9876 (advice--member-p): New arg `name'.
9877 (advice--add-function, advice-member-p): Use it (bug#14202).
9878
9879 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9880
9881 Reformulate java imenu-generic-expression.
9882 The old expression contained ill formed regexps.
9883
9884 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9885 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9886 (cc-imenu-java-method-arg-regexp): New defconsts.
9887 (cc-imenu-java-build-type-args-regex): New defun.
9888 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9889 handling of spaces in the regexp.
9890
9891 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9892
9893 * textmodes/ispell.el (ispell-command-loop): Remove
9894 flyspell highlight of a word when ispell accepts it (bug #14178).
9895
9896 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9897
9898 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9899 uses code from the previous `ange-ftp-run-real-handler'.
9900 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9901 only in case that function exist. This is needed for proper
9902 unloading of Tramp.
9903
9904 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9905
9906 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9907
9908 * textmodes/reftex.el (reftex-compile-variables): Use it.
9909
9910 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * files.el (normal-mode): Only use default major-mode if no other mode
9913 was specified.
9914
9915 * emacs-lisp/trace.el (trace-values): New function.
9916
9917 * files.el: Allow : in local variables (bug#14089).
9918 (hack-local-variable-regexp): New var.
9919 (hack-local-variables-prop-line, hack-local-variables): Use it.
9920
9921 2013-04-13 Roland Winkler <winkler@gnu.org>
9922
9923 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9924 data before it gets modified by bibtex-beginning-of-entry.
9925
9926 2013-04-13 Roland Winkler <winkler@gnu.org>
9927
9928 * textmodes/bibtex.el (bibtex-url): Doc fix.
9929
9930 2013-04-13 Roland Winkler <winkler@gnu.org>
9931
9932 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9933 does not visit a BibTeX file, exclude it from the list of buffers
9934 returned by bibtex-initialize.
9935
9936 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9937
9938 * window.el (split-window): Remove interactive form, since as a
9939 command this function is a special case of split-window-below.
9940 Correct doc string.
9941
9942 2013-04-12 Roland Winkler <winkler@gnu.org>
9943
9944 * faces.el (read-face-name): Do not override value of arg default.
9945 Allow single faces and strings as default values. Remove those
9946 elements from return value that are not faces.
9947 (describe-face): Simplify.
9948 (face-at-point): New optional args thing and multiple so that this
9949 function can provide the same functionality previously provided by
9950 read-face-name.
9951 (make-face-bold, make-face-unbold, make-face-italic)
9952 (make-face-unitalic, make-face-bold-italic, invert-face)
9953 (modify-face, read-face-and-attribute): Use face-at-point.
9954
9955 * cus-edit.el (customize-face, customize-face-other-window)
9956 * cus-theme.el (custom-theme-add-face)
9957 * face-remap.el (buffer-face-set)
9958 * facemenu.el (facemenu-set-face): Use face-at-point.
9959
9960 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9961
9962 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9963
9964 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9965
9966 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9967 off leading { and trailing } from field values.
9968
9969 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9970
9971 * emacs-lisp/timer.el (timer--check): New function.
9972 (timer--time, timer-set-function, timer-event-handler): Use it.
9973 (timer-set-idle-time): Simplify.
9974 (timer--activate): CSE.
9975 (timer-event-handler): Give more info in error message.
9976 (internal-timer-start-idle): New function, moved from C.
9977
9978 * mpc.el (mpc-proc): Add `restart' argument.
9979 (mpc-proc-cmd): Use it.
9980 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9981 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9982 less often.
9983
9984 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9985
9986 * progmodes/sh-script.el: Implement `sh-mode' own
9987 `add-log-current-defun-function' (bug#14112).
9988 (sh-current-defun-name): New function.
9989 (sh-mode): Use the function.
9990
9991 2013-04-09 Bastien Guerry <bzg@gnu.org>
9992
9993 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9994
9995 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9996
9997 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9998
9999 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10000 timer (bug#14156).
10001
10002 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10003
10004 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10005 declaration.
10006
10007 2013-04-07 Leo Liu <sdl.web@gmail.com>
10008
10009 * pcmpl-x.el: New file.
10010
10011 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10012
10013 Do not set x-display-name until X connection is established.
10014 This is needed to prevent from weird situation described at
10015 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10016 * frame.el (make-frame): Set x-display-name after call to
10017 window system initialization function, not before.
10018 * term/x-win.el (x-initialize-window-system): Add optional
10019 display argument and use it.
10020 * term/w32-win.el (w32-initialize-window-system):
10021 * term/ns-win.el (ns-initialize-window-system):
10022 * term/pc-win.el (msdos-initialize-window-system):
10023 Add compatible optional display argument.
10024
10025 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10026
10027 * files.el (normal-backup-enable-predicate): On MS-Windows and
10028 MS-DOS compare truenames of temporary-file-directory and of the
10029 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10030 don't fail comparison by compare-strings. Also, compare file
10031 names case-insensitively on MS-Windows and MS-DOS.
10032
10033 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10034
10035 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10036 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10037
10038 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10039
10040 * whitespace.el (whitespace-color-on, whitespace-color-off):
10041 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10042
10043 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10044
10045 * ispell.el (ispell-set-spellchecker-params):
10046 Really set `ispell-args' for all equivs.
10047
10048 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10049
10050 * ido.el (ido-completions): Use extra elements of ido-decorations
10051 (bug#14143).
10052 (ido-decorations): Update docstring.
10053
10054 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10055
10056 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10057 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10058 nil during initialization, in order not to miss changes since the
10059 file was opened. (Bug#14140)
10060
10061 2013-04-05 Leo Liu <sdl.web@gmail.com>
10062
10063 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10064
10065 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10066
10067 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10068
10069 2013-04-04 Glenn Morris <rgm@gnu.org>
10070
10071 * electric.el (electric-pair-inhibit-predicate): Add :version.
10072
10073 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10074
10075 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10076 when a package is required several times (bug#14082).
10077
10078 2013-04-04 Roland Winkler <winkler@gnu.org>
10079
10080 * faces.el (read-face-name): Behave as promised by the docstring.
10081 Assume that arg default is a list of faces.
10082 (describe-face): Call read-face-name with list of default faces.
10083
10084 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10085
10086 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10087 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10088 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10089 the header.
10090 (bookmark-exit-hook-internal): Save even if list is empty.
10091
10092 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10093
10094 * emacs-lisp/package.el (package-pinned-packages): New var.
10095 (package--add-to-archive-contents): Obey it (bug#14118).
10096
10097 2013-04-03 Alan Mackenzie <acm@muc.de>
10098
10099 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10100 Also adapt to the new values of element 7 of a parse state.
10101
10102 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10103 parameter `not-in-delimiter'. Handle being inside comment opener.
10104 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10105 character in case we're typing a '*' after a '/'.
10106 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10107 instead by passing the parameter to c-state-pp-to-literal.
10108
10109 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10110 for elt. 7 of a parse state.
10111
10112 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10113
10114 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10115 * international/latin1-disp.el, international/mule-util.el:
10116 * language/cyril-util.el, language/european.el, language/ind-util.el:
10117 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10118 * language/tibetan.el, language/viet-util.el:
10119 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10120
10121 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10122
10123 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10124 (electric-pair-post-self-insert-function): Use it.
10125 (electric-pair-default-inhibit): New function, extracted from
10126 electric-pair-post-self-insert-function.
10127
10128 2013-03-31 Roland Winkler <winkler@gnu.org>
10129
10130 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10131
10132 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10133
10134 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10135
10136 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10137
10138 Un-indent after "pass" and "return" statements (Bug#13888)
10139 * progmodes/python.el (python-indent-block-enders): New var.
10140 (python-indent-calculate-indentation): Use it.
10141
10142 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10143
10144 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10145 defun. Defining it as defalias could introduce too eager
10146 byte-compiler optimization. (Bug#14030)
10147
10148 2013-03-30 Chong Yidong <cyd@gnu.org>
10149
10150 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10151
10152 2013-03-30 Leo Liu <sdl.web@gmail.com>
10153
10154 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10155 (kmacro-execute-from-register): Pass the keyboard macro to
10156 kmacro-call-macro or repeating won't work correctly.
10157
10158 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10159
10160 * progmodes/subword.el: Back to using `forward-symbol'.
10161
10162 * subr.el (forward-whitespace, forward-symbol)
10163 (forward-same-syntax): Move from thingatpt.el.
10164
10165 2013-03-29 Leo Liu <sdl.web@gmail.com>
10166
10167 * kmacro.el (kmacro-to-register): New command.
10168 (kmacro-execute-from-register): New function.
10169 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10170
10171 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 * mpc.el: Use defvar-local and setq-local.
10174 (mpc--proc-connect): Connection failures are not bugs.
10175 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10176 (mpc-volume-map): Bind to the up-events.
10177
10178 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10179
10180 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10181 instead of `forward-symbol'.
10182
10183 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10184
10185 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10186 (edebug--recursive-edit): Use it.
10187 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10188 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10189
10190 2013-03-28 Leo Liu <sdl.web@gmail.com>
10191
10192 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10193
10194 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10195
10196 * facemenu.el (list-colors-callback): New defvar.
10197 (list-colors-redisplay): New function.
10198 (list-colors-display): Install list-colors-redisplay as the
10199 revert-buffer-function. (Bug#14063)
10200
10201 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10202
10203 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10204 and suffixes don't overlap (bug#14061).
10205
10206 * case-table.el: Use lexical-binding.
10207 (case-table-get-table): New function.
10208 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10209
10210 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10211
10212 * progmodes/subword.el: Add `superword-mode' to do word motion
10213 over symbol_words (parallels and leverages `subword-mode' which
10214 does word motion inside MixedCaseWords).
10215
10216 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10217
10218 * eshell/em-unix.el: Move su and sudo to...
10219 * eshell/em-tramp.el: ...Eshell tramp module.
10220
10221 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10222
10223 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10224 Change return value to be a sexp. Delay `get-buffer' to after
10225 restoring the desktop (bug#13951).
10226
10227 2013-03-26 Leo Liu <sdl.web@gmail.com>
10228
10229 * register.el: Move semantic tag handling back to
10230 cedet/semantic/senator.el. (Bug#14052)
10231
10232 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10233
10234 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10235 into the prompt either (bug#13963).
10236
10237 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10238
10239 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10240 part of "(error-foo)".
10241
10242 2013-03-24 Juri Linkov <juri@jurta.org>
10243
10244 * replace.el (list-matching-lines-prefix-face): New defcustom.
10245 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10246 `occur-engine' if `face-differs-from-default-p' returns t.
10247 (occur-engine): Add `,' inside backquote construct to evaluate
10248 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10249 Pass `prefix-face' to the functions `occur-context-lines' and
10250 `occur-engine-add-prefix'.
10251 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10252 `prefix-face' and propertize the prefix with `prefix-face'.
10253 (Bug#14017)
10254
10255 2013-03-24 Leo Liu <sdl.web@gmail.com>
10256
10257 * nxml/rng-valid.el (rng-validate-while-idle)
10258 (rng-validate-quick-while-idle): Guard against deleted buffer.
10259 (Bug#13999)
10260
10261 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10262 is the last entry in kill-buffer-hook.
10263
10264 * files.el (kill-buffer-hook): Doc fix.
10265
10266 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10267
10268 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10269 Make it safe-local.
10270
10271 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10272
10273 2013-03-23 Leo Liu <sdl.web@gmail.com>
10274
10275 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10276 Remove.
10277
10278 * nxml/rng-valid.el (rng-validate-mode)
10279 (rng-after-change-function, rng-do-some-validation):
10280 * nxml/rng-maint.el (rng-validate-buffer):
10281 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10282 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10283 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10284 (nxml-extend-after-change-region): Use with-silent-modifications.
10285
10286 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10287 timer-idle-list.
10288
10289 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10290 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10291 timer-idle-list. (Bug#13999)
10292
10293 2013-03-23 Juri Linkov <juri@jurta.org>
10294
10295 * info.el (info-index-match): New face.
10296 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10297 main pattern and add text properties with the new face to matches
10298 in index entries relative to the beginning of the index entry.
10299 (Bug#14015)
10300
10301 2013-03-21 Eric Ludlam <zappo@gnu.org>
10302
10303 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10304 Inhibit read only while inserting objects.
10305
10306 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10307
10308 * progmodes/cfengine.el: Update docs to mention
10309 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10310 symbol motion. Remove "_" from the word syntax.
10311
10312 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10313
10314 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10315 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10316
10317 2013-03-20 Juri Linkov <juri@jurta.org>
10318
10319 * info.el (Info-next-reference-or-link)
10320 (Info-prev-reference-or-link): New functions.
10321 (Info-next-reference, Info-prev-reference): Use them.
10322 (Info-try-follow-nearest-node): Handle footnote navigation.
10323 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10324
10325 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10326
10327 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10328 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10329
10330 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10331
10332 Suppress unnecessary non-ASCII chatter during build process.
10333 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10334 (batch-skkdic-convert): Suppress most of the chatter.
10335 It's not needed so much now that machines are faster,
10336 and its non-ASCII component was confusing; see Dmitry Gutov in
10337 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10338
10339 2013-03-20 Leo Liu <sdl.web@gmail.com>
10340
10341 * ido.el (ido-chop): Fix bug#10994.
10342
10343 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10344
10345 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10346 Remove vars.
10347 (whitespace-color-on, whitespace-color-off):
10348 Use `font-lock-fontify-buffer' (Bug#13817).
10349
10350 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10351
10352 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10353 remapping in mode-line.
10354 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10355
10356 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10357
10358 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10359 value for `whitespace-line' face (Bug#13875).
10360 (whitespace-font-lock-keywords): Change description.
10361 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10362 the constructed keywords instead.
10363 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10364
10365 2013-03-19 Leo Liu <sdl.web@gmail.com>
10366
10367 * progmodes/compile.el (compilation-display-error): New command.
10368 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10369 C-o. (Bug#13992)
10370
10371 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10372
10373 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10374
10375 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10376
10377 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10378
10379 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10380
10381 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10382
10383 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10384 * net/tramp-gvfs.el (top):
10385 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10386 (tramp-handle-shell-command): Use it.
10387 (tramp-dissect-file-name): Raise an error when hostname is a
10388 method name, and neither method nor user is specified.
10389
10390 * net/trampver.el: Update release number.
10391
10392 2013-03-18 Leo Liu <sdl.web@gmail.com>
10393
10394 Make sure eldoc can be turned off properly.
10395 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10396 eldoc-mode.
10397 (eldoc-display-message-p): Revert last change.
10398 (eldoc-display-message-no-interference-p)
10399 (eldoc-print-current-symbol-info): Tweak.
10400
10401 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10402
10403 * doc-view.el (doc-view-new-window-function): Check the new window
10404 overlay's display property instead the char property of the
10405 buffer's first char. Use `with-selected-window' instead of
10406 `save-window-excursion' with `select-window'.
10407 (doc-view-document->bitmap): Check the current doc-view overlay's
10408 display property instead the char property of the buffer's first char.
10409
10410 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10411
10412 Automate the build of ja-dic.el (Bug#13984).
10413 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10414 from the input, rather than assume that it's been done for us by the
10415 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10416 the current date into a ja-dic.el comment, as that complicates
10417 regression testing.
10418
10419 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10420
10421 * whitespace.el: Fix double evaluation.
10422 (whitespace-space, whitespace-hspace, whitespace-tab)
10423 (whitespace-newline, whitespace-trailing, whitespace-line)
10424 (whitespace-space-before-tab, whitespace-indentation)
10425 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10426 obsolete defvars.
10427 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10428 (whitespace-color-on): Use a single font-lock-add-keywords call.
10429 Fix double-evaluation of face variables.
10430
10431 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10432
10433 * net/tramp-adb.el (tramp-adb-parse-device-names):
10434 Use `start-process' instead of `call-process'. Otherwise, the
10435 function might be blocked under MS Windows. (Bug#13299)
10436
10437 2013-03-17 Leo Liu <sdl.web@gmail.com>
10438
10439 Extend eldoc to display info in the mode-line. (Bug#13978)
10440 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10441 (eldoc-mode-line-string): New variable.
10442 (eldoc-minibuffer-message): New function.
10443 (eldoc-message-function): New variable.
10444 (eldoc-message): Use it.
10445 (eldoc-display-message-p)
10446 (eldoc-display-message-no-interference-p):
10447 Support eldoc-post-insert-mode.
10448
10449 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10450 (eval-expression): Run it.
10451
10452 2013-03-17 Roland Winkler <winkler@gnu.org>
10453
10454 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10455 strings in the list of return values.
10456
10457 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10458
10459 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10460 radix before checking for HMS forms.
10461
10462 2013-03-16 Leo Liu <sdl.web@gmail.com>
10463
10464 * progmodes/scheme.el: Add indentation and font-locking for λ.
10465 (Bug#13975)
10466
10467 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10468
10469 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10470 token before point (bug#13942).
10471
10472 2013-03-16 Leo Liu <sdl.web@gmail.com>
10473
10474 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10475
10476 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10477
10478 * startup.el (command-line-normalize-file-name): Fix handling of
10479 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10480 <xfq.free@gmail.com> in
10481 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10482
10483 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10484
10485 Sync with Tramp 2.2.7.
10486
10487 * net/trampver.el: Update release number.
10488
10489 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10490
10491 * doc-view.el: Fix bug#13887.
10492 (doc-view-insert-image): Don't modify overlay associated to
10493 non-live windows, and implement horizontal centering of image in
10494 case it's smaller than the window.
10495 (doc-view-new-window-function): Force redisplay of new windows on
10496 doc-view buffers.
10497
10498 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10499
10500 * saveplace.el (save-place-alist-to-file): Don't sort
10501 `save-place-alist', just pretty-print it (bug#13882).
10502
10503 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10504
10505 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10506 Check whether `default-file-name-coding-system' is bound.
10507 It isn't in XEmacs.
10508
10509 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10510
10511 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10512 backquotes for `obsolete' (bug#13929).
10513
10514 * international/mule.el (find-auto-coding): Include file name in
10515 obsolescence warning (bug#13922).
10516
10517 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10518
10519 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10520 for CFEngine 3-specific indentation.
10521 (cfengine3-indent-line): Use it. Fix up category regex.
10522 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10523
10524 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10525
10526 * type-break.el (type-break-file-name):
10527 * textmodes/remember.el (remember-data-file):
10528 * strokes.el (strokes-file):
10529 * shadowfile.el (shadow-initialize):
10530 * saveplace.el (save-place-file):
10531 * ps-bdf.el (bdf-cache-file):
10532 * progmodes/idlwave.el (idlwave-config-directory):
10533 * net/quickurl.el (quickurl-url-file):
10534 * international/kkc.el (kkc-init-file-name):
10535 * ido.el (ido-save-directory-list-file):
10536 * emulation/viper.el (viper-custom-file-name):
10537 * emulation/vip.el (vip-startup-file):
10538 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10539 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10540
10541 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10542
10543 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10544 * language/thai-word.el: Switch to UTF-8.
10545
10546 See ChangeLog.16 for earlier changes.
10547
10548 ;; Local Variables:
10549 ;; coding: utf-8
10550 ;; End:
10551
10552 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10553
10554 This file is part of GNU Emacs.
10555
10556 GNU Emacs is free software: you can redistribute it and/or modify
10557 it under the terms of the GNU General Public License as published by
10558 the Free Software Foundation, either version 3 of the License, or
10559 (at your option) any later version.
10560
10561 GNU Emacs is distributed in the hope that it will be useful,
10562 but WITHOUT ANY WARRANTY; without even the implied warranty of
10563 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10564 GNU General Public License for more details.
10565
10566 You should have received a copy of the GNU General Public License
10567 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.