]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Update copyright year to 2014 by running admin/update-copyright.
[gnu-emacs] / lisp / ChangeLog
1 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2
3 * international/mule-conf.el: Unify the charset indian-is13194.
4 (indian-is13194): Specify unify-map.
5
6 2013-12-31 Leo Liu <sdl.web@gmail.com>
7
8 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
9
10 2013-12-30 Daniel Colascione <dancol@dancol.org>
11
12 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
13 of printing a useless when we resume from sleep.
14
15 * progmodes/sh-script.el
16 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
17 in indentation code. (Bug#16233)
18
19 2013-12-28 João Távora <joaotavora@gmail.com>
20
21 * elec-pair.el (electric-pair-post-self-insert-function): Don't
22 open extra newlines at beginning of buffer. (Bug#16272)
23
24 2013-12-28 Eli Zaretskii <eliz@gnu.org>
25
26 * frame.el (window-system-for-display): Don't allow to create a
27 GUI frame from a -nw session on MS-Windows. (Bug#14739)
28
29 2013-12-28 Glenn Morris <rgm@gnu.org>
30
31 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
32 Update callers.
33
34 * apropos.el (apropos-match-face):
35 * calculator.el (calculator-displayer):
36 * dabbrev.el (dabbrev-search-these-buffers-only):
37 * face-remap.el (buffer-face-mode-face):
38 * simple.el (yank-handled-properties):
39 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
40 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
41 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
42 (hashcash-double-spend-database):
43 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
44 (ruby-deep-indent-paren-style):
45 * textmodes/flyspell.el (flyspell-auto-correct-binding):
46 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
47 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
48 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
49 Specify custom types.
50
51 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
52 * bookmark.el (bookmark-bmenu-use-header-line):
53 * doc-view.el (doc-view-scale-internally):
54 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
55 * register.el (register-preview-delay):
56 * net/shr.el (shr-bullet):
57 * progmodes/cfengine.el (cfengine-cf-promises)
58 (cfengine-parameters-indent):
59 * progmodes/octave.el (inferior-octave-error-regexp-alist):
60 * textmodes/reftex-vars.el (reftex-label-regexps):
61 * vc/log-edit.el (log-edit-setup-add-author): Add version.
62
63 * net/tls.el (tls-certtool-program): Fix default value.
64
65 * desktop.el (desktop-restore-in-current-display):
66 * newcomment.el (comment-empty-lines):
67 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
68 (idlwave-pad-keyword):
69 * progmodes/tcl.el (tcl-tab-always-indent):
70 * textmodes/reftex-vars.el (reftex-index-default-tag):
71 * elec-pair.el (electric-pair-skip-whitespace):
72 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
73
74 * emacs-lisp/authors.el (authors-ignored-files)
75 (authors-valid-file-names, authors-renamed-files-alist): Additions.
76
77 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
78
79 * shell.el (shell-dynamic-complete-command): Doc fix.
80 (shell--command-completion-data): Shell completion now matches
81 executable filenames from the current buffer's directory, on
82 systems in which this behaviour is the default (windows-nt, ms-dos).
83
84 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
85
86 * net/shr.el (shr-insert): Don't infloop if the width is zero.
87
88 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
91 (bug#16251).
92
93 * electric.el: Move all electric-pair-* to elec-pair.el.
94 * elec-pair.el: New file, split from electric.el.
95
96 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
97
98 * net/shr.el (shr-find-fill-point): Don't try to fill if the
99 indentation level is larger than the width, because that will
100 infloop.
101 (shr-insert): Fill repeatedly long texts, so that Japanese is
102 formatted correctly (bug#16263).
103 (shr-find-fill-point): Off by one error in comparison with the
104 indentation.
105
106 2013-12-26 João Távora <joaotavora@gmail.com>
107
108 * electric.el (electric-pair-mode): More flexible engine for skip-
109 and inhibit predicates, new options for pairing-related functionality.
110 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
111 if that keeps or improves their balance in buffers.
112 (electric-pair-delete-adjacent-pairs): Delete the pair when
113 backspacing over adjacent matched delimiters.
114 (electric-pair-open-extra-newline): Open extra newline when
115 inserting newlines between adjacent matched delimiters.
116 (electric--sort-post-self-insertion-hook):
117 Sort post-self-insert-hook according to priority values when
118 minor-modes are activated.
119 * simple.el (newline-and-indent): Call newline with interactive
120 set to t.
121 (blink-paren-post-self-insert-function): Set priority to 100.
122 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
123 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
124 comments. Locally set electric-pair-skip-whitespace to 'chomp and
125 electric-pair-open-newline-between-pairs to nil.
126
127 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
128
129 * progmodes/python.el: Use lexical-binding.
130 (python-nav-beginning-of-defun): Stop searching ASAP.
131
132 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
133
134 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
135 Fix interactive spec. Doc fix. (Bug#15754)
136
137 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
138
139 * emacs-lisp/byte-run.el (eval-when-compile):
140 * progmodes/cc-defs.el (cc-eval-when-compile):
141 Fix edebug spec (bug#16184).
142
143 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
144
145 * net/shr.el (shr-visit-file): Remove debugging function.
146 (shr-insert): Don't infloop if we can't find a good place to break
147 the line (bug#16256).
148
149 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
150
151 * progmodes/python.el:
152 (python-nav--lisp-forward-sexp): New function.
153 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
154 python-nav-lisp-forward-sexp-safe.
155 (python-nav--forward-sexp): New argument SAFE allows switching
156 forward sexp movement behavior for parens.
157 (python-nav-forward-sexp): Throw errors on unterminated parens
158 (Bug#16191).
159 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
160 (python-nav-backward-sexp-safe): New functions.
161 (python-shell-buffer-substring):
162 Use `python-nav-forward-sexp-safe'.
163
164 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
165
166 * net/shr.el (shr-find-fill-point): Don't break lines before a
167 quotation mark.
168 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
169 (shr-find-fill-point): Remove the special checks for the quotation
170 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
171
172 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
173
174 * net/eww.el (eww-form-textarea): Use a different face for
175 textareas than text input since they have different keymaps
176 (bug#16142).
177
178 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
179
180 * progmodes/python.el (python-nav-beginning-of-statement):
181 Speed up (Bug#15295).
182
183 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
184
185 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
186 the window configuration.
187
188 2013-12-24 Eli Zaretskii <eliz@gnu.org>
189
190 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
191 we run on MS-Windows or MS-DOS.
192
193 2013-12-24 Martin Rudalics <rudalics@gmx.at>
194
195 * window.el (balance-windows-area): Call window-size instead of
196 window-height and window-width. Bug#16241.
197
198 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
199
200 * net/eww.el (eww-bookmark-quit): Remove.
201 (eww-bookmark-browse): Restore the window configuration when you
202 choose a bookmark (bug#16144).
203
204 2013-12-24 Daniel Colascione <dancol@dancol.org>
205
206 * icomplete.el: Remove redundant :group arguments to `defcustom'
207 throughout.
208 (icomplete-show-matches-on-no-input): New customizable variable.
209 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
210 we have something to show.
211 (icomplete-exhibit): Compute completions even if we have no user input.
212
213 2013-12-23 Daniel Colascione <dancol@dancol.org>
214
215 * icomplete.el: Move `provide' to end of file.
216
217 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
218
219 * net/gnutls.el (gnutls-verify-error): Add version tag.
220
221 2013-12-23 Chong Yidong <cyd@gnu.org>
222
223 * subr.el (set-transient-map): Rename from
224 set-temporary-overlay-map. Doc fix.
225
226 * face-remap.el (text-scale-adjust):
227 * indent.el (indent-rigidly):
228 * kmacro.el (kmacro-call-macro):
229 * minibuffer.el (minibuffer-force-complete):
230 * repeat.el (repeat):
231 * simple.el (universal-argument--mode):
232 * calendar/todo-mode.el (todo-insert-item--next-param):
233 * progmodes/f90.el (f90-abbrev-start): Callers changed.
234
235 * indent.el (indent-rigidly): Use substitute-command-keys.
236
237 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
238
239 * net/eww.el (eww-tag-select): Add text-property to jump to next
240 select field.
241 (eww): Add non-supported ftp error.
242
243 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
244
245 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
246 comments. Handle electric indent after typing `?' and `!'.
247
248 2013-12-22 Chong Yidong <cyd@gnu.org>
249
250 * faces.el (face-spec-recalc): If the theme specs are not
251 applicable to a frame, fall back on the defface spec.
252 This prevents themes from obliterating faces on low-color terminals.
253
254 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
255
256 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
257 after `{'. We need it after block openers, and it doesn't seem
258 to hurt after hash openers.
259
260 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
261
262 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
263 extracted from `ruby-smie-rules'.
264 (ruby--electric-indent-chars): New variable.
265 (ruby--electric-indent-p): New function.
266 (ruby-mode): Use `electric-indent-functions' instead of
267 `electric-indent-chars'.
268
269 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
270
271 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
272 docstring.
273 (ruby-smie-rules): Indent plus one level after `=>'.
274
275 2013-12-21 Richard Stallman <rms@gnu.org>
276
277 * simple.el (newline): Doc fix.
278
279 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
280
281 * net/eww.el (eww-list-histories, eww-list-histories)
282 (eww-history-browse, eww-history-quit, eww-history-kill)
283 (eww-history-mode-map, eww-history-mode): New command and
284 functions to list browser histories.
285 (eww-form-text): Support text form with disabled
286 and readonly attributes.
287 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
288
289 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
290
291 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
292 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
293 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
294 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
295 Use `user-error'.
296 (eww-bookmark-mode-map): Add menu.
297 (eww-render, eww-mode): Use `setq-local'.
298 (eww-tool-bar-map): New variable.
299 (eww-mode): Set `tool-bar-map'.
300 (eww-view-source): Check for `html-mode' with `fboundp'.
301
302 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
303
304 * net/shr.el (shr--extract-best-source): Don't bug out on audio
305 elements with text inside. Also remove debugging.
306
307 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
308
309 * cus-start.el (all): Add ns-use-srgb-colorspace.
310
311 2013-12-21 Chong Yidong <cyd@gnu.org>
312
313 * custom.el (custom-theme-recalc-face): Do nothing if the face is
314 undefined. Thus, theme settings for undefined faces do not take
315 effect until the faces are defined with defface, the same as with
316 theme variables.
317
318 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
319 (face-spec-reset-face): Don't assign extra properties in temacs.
320 (face-spec-recalc): Apply X resources too.
321
322 2013-12-21 Chong Yidong <cyd@gnu.org>
323
324 * faces.el (face-spec-set):
325 * cus-face.el (custom-theme-set-faces, custom-set-faces):
326 * custom.el (defface): Doc fixes (Bug#16203).
327
328 * indent.el (indent-rigidly-map): Add docstring, and move commands
329 into named functions.
330 (indent-rigidly-left, indent-rigidly-right)
331 (indent-rigidly-left-to-tab-stop)
332 (indent-rigidly-right-to-tab-stop): New functions. Decide on
333 indentation direction based on bidi direction, and accumulate
334 sequential commands in a single undo boundary.
335 (indent-rigidly--pop-undo): New utility function.
336
337 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
338
339 * faces.el (read-face-name): Require crm.el when using crm-separator.
340
341 2013-12-20 Daniel Colascione <dancol@dancol.org>
342
343 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
344 so that we don't reflow comments into the shebang line.
345
346 2013-12-20 Juri Linkov <juri@jurta.org>
347
348 * saveplace.el (save-place-to-alist): Add `dired-filename' as
349 a position when `dired-directory' is non-nil. Check integer
350 positions with `integerp'.
351 (toggle-save-place, save-places-to-alist): Add check for
352 `dired-directory'.
353 (save-place-find-file-hook): Check integer positions with
354 `integerp'.
355 (save-place-dired-hook): Use `dired-goto-file' when
356 `dired-filename' is found in the assoc list. Check integer
357 positions with `integerp'.
358 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
359
360 * dired.el (dired-initial-position-hook): Rename back from
361 `dired-initial-point-hook'.
362 (dired-initial-position): Rename `dired-initial-point-hook' to
363 `dired-initial-position-hook'.
364 (dired-file-name-at-point): Doc fix. (Bug#15329)
365
366 2013-12-20 Juri Linkov <juri@jurta.org>
367
368 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
369 (read-regexp-suggestions): New function.
370 (read-regexp): Use `read-regexp-defaults-function' to get default values.
371 Use `read-regexp-suggestions'. Add non-empty default to history
372 for empty input.
373 (occur-read-regexp-defaults-function): Remove function.
374 (occur-read-primary-args): Use `regexp-history-last' instead of
375 `occur-read-regexp-defaults-function'.
376
377 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
378 (hi-lock-line-face-buffer, hi-lock-face-buffer)
379 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
380 `hi-lock-read-regexp-defaults-function'. Doc fix.
381 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
382 with `find-tag-default-as-symbol-regexp'. Doc fix.
383 (hi-lock-read-regexp-defaults): Remove function.
384 (hi-lock-regexp-okay): Add check for null.
385
386 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
387 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
388
389 * subr.el (find-tag-default-as-symbol-regexp): New function.
390 (find-tag-default-as-regexp): Move symbol regexp formatting to
391 `find-tag-default-as-symbol-regexp'.
392
393 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
394
395 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
396 (Bug#14179)
397
398 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
399
400 * calendar/todo-mode.el: New implementation of item insertion
401 commands and key bindings.
402 (todo-key-prompt): New face.
403 (todo-insert-item): New command.
404 (todo-insert-item--parameters): New defconst, replacing defvar
405 todo-insertion-commands-args-genlist.
406 (todo-insert-item--param-key-alist): New defconst, replacing
407 defvar todo-insertion-commands-arg-key-list.
408 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
409 (todo-insert-item--argsleft, todo-insert-item--apply-args)
410 (todo-insert-item--next-param): New functions.
411 (todo-insert-item--args, todo-insert-item--argleft)
412 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
413 New variables.
414 (todo-key-bindings-t): Change binding of "i" from
415 todo-insertion-map to todo-insert-item.
416 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
417 (todo-insertion-command-name, todo-insertion-commands-names)
418 (todo-define-insertion-command, todo-insertion-commands)
419 (todo-insertion-key-bindings, todo-insertion-map): Remove.
420
421 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
422
423 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
424 (todo-toggle-item-highlighting): Use eval-and-compile instead of
425 eval-when-compile.
426 (todo-move-category): Allow choosing a non-existing todo file to
427 move the category to, and create that file.
428 (todo-default-priority): New user option.
429 (todo-set-item-priority): Use it.
430 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
431 (desktop-restore-file-buffer): Declare.
432 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
433 (todo-modes-set-2): Locally set desktop-save-buffer to
434 todo-desktop-save-buffer.
435 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
436 (auto-mode-alist): Add autoload cookie.
437
438 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
439
440 * emacs-lisp/subr-x.el: Renamed from helpers.el.
441 helpers.el was a poor choice of name.
442 (string-remove-prefix): New function.
443 (string-remove-suffix): New function.
444
445 2013-12-20 Martin Rudalics <rudalics@gmx.at>
446
447 Fix assignment for new window total sizes.
448 * window.el (window--pixel-to-size): Remove function.
449 (window--pixel-to-total-1, window--pixel-to-total):
450 Fix calculation of new total sizes.
451
452 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
453
454 * comint.el (comint-output-filter): Fix rear-nonsticky property
455 placement (Bug#16010).
456
457 2013-12-20 Chong Yidong <cyd@gnu.org>
458
459 * faces.el (read-color): Minor fix for completion function.
460
461 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
462
463 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
464 New option. (Bug#16182)
465 (ruby-smie--indent-to-stmt-p): Use it.
466 (ruby-smie-rules): Revert the logic in the handling of `when'.
467 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
468 (ruby-deep-arglist, ruby-deep-indent-paren)
469 (ruby-deep-indent-paren-style): Update docstrings to note that the
470 vars don't have any effect with SMIE.
471
472 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
473
474 * calc/calc.el (calc-enter, calc-pop): Use the variable
475 `calc-context-sensitive-enter'.
476
477 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
478
479 * net/shr.el (shr-insert): Protect against infloops in degenerate
480 tables.
481
482 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
483
484 * progmodes/octave.el (octave): Add link to manual and octave
485 homepage.
486 (octave-mode-menu): Link to octave-mode manual.
487
488 2013-12-20 Leo Liu <sdl.web@gmail.com>
489
490 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
491 insertion using skeleton-end-newline. (Bug#16138)
492
493 2013-12-20 Juri Linkov <juri@jurta.org>
494
495 * replace.el (occur-engine): Use `add-face-text-property'
496 to add the face property to matches and titles. (Bug#14645)
497
498 * hi-lock.el (hi-green): Use lighter color "light green" closer to
499 the palette of other hi-lock colors.
500 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
501
502 2013-12-19 Juri Linkov <juri@jurta.org>
503
504 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
505 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
506 (minibuffer-history-symbol): Move variable declaration closer to
507 its usage.
508
509 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
510 (Bug#14785)
511
512 2013-12-19 Juri Linkov <juri@jurta.org>
513
514 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
515 New function.
516 (log-edit-hook): Add it to :options. (Bug#16170)
517
518 2013-12-19 Juri Linkov <juri@jurta.org>
519
520 * simple.el (eval-expression-print-format): Don't check for
521 command names and the last command. Always display additional
522 formats of the integer result in the echo area, and insert them
523 to the current buffer only with a zero prefix arg.
524 Display character when char-displayable-p is non-nil.
525 (eval-expression): With a zero prefix arg, set `print-length' and
526 `print-level' to nil, and insert the integer values from
527 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
528
529 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
530 `eval-last-sexp-arg-internal'. Doc fix.
531 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
532 `eval-last-sexp-print-value'. Doc fix.
533 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
534 Set `print-length' and `print-level' to nil when arg is zero.
535 (eval-last-sexp): Doc fix.
536 (eval-defun-2): Print the integer values from
537 `eval-expression-print-format' at the end.
538
539 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
540 values from `eval-expression-print-format' at the end.
541
542 * ielm.el (ielm-eval-input): Print the integer
543 values from `eval-expression-print-format' at the end.
544
545 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
546
547 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
548 2013-12-11T19:01:44Z!tzz@lifelogs.com.
549
550 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
551
552 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
553 (hl-line-highlight, global-hl-line-highlight): Use it.
554 (hl-line-overlay): Use defvar-local.
555
556 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
557
558 * term/ns-win.el: Require dnd.
559 (global-map): Remove drag items.
560 (ns-insert-text, ns-set-foreground-at-mouse)
561 (ns-set-background-at-mouse):
562 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
563 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
564 New functions.
565
566 2013-12-19 Glenn Morris <rgm@gnu.org>
567
568 * emacs-lisp/ert.el (ert-select-tests):
569 Fix string/symbol mixup. (Bug#16121)
570
571 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
572
573 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
574 keywords to their parent.
575
576 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
577
578 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
579 first arg to be a string (fixed dead code), or an operator symbol.
580 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
581 operator symbols.
582 (ruby-smie-rules): Remove parent token check in the `.' clause, it
583 did nothing. Don't respond to `(:after ".")', it will be called
584 with :before anyway. Remove the ` @ ' rule, it didn't seem to
585 change anything. Only return indentation for binary operators
586 when they are hanging. De-dent opening paren when its parent is
587 `.', otherwise it looks bad when the dot is not at bol or eol
588 (bug#16182).
589
590 2013-12-19 Juri Linkov <juri@jurta.org>
591
592 * replace.el (query-replace-read-args): Split a non-negative arg
593 and a negative arg into separate elements.
594 (query-replace, query-replace-regexp, replace-string)
595 (replace-regexp): Add arg `backward'. Doc fix.
596 (replace-match-maybe-edit): When new arg `backward' is non-nil,
597 move point to the beginning of the match.
598 (replace-search, replace-highlight): Use new arg `backward'
599 to set the value of `isearch-forward'.
600 (perform-replace): Add arg `backward' and use it to perform
601 replacement backward. (Bug#14979)
602
603 * isearch.el (isearch-query-replace): Use a negative prefix arg
604 to call `perform-replace' with a non-nil arg `backward'.
605
606 2013-12-18 Juri Linkov <juri@jurta.org>
607
608 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
609 to the default list. Move `log-edit-show-files' to the end.
610 Add more available functions to options.
611 (log-edit): Move default specific settings to
612 `log-edit-insert-message-template'. Don't move point.
613 (log-edit-insert-message-template): New function.
614 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
615 (Bug#16170)
616
617 2013-12-18 Juri Linkov <juri@jurta.org>
618
619 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
620 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
621
622 2013-12-18 Leo Liu <sdl.web@gmail.com>
623
624 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
625 (Bug#16186)
626
627 2013-12-18 Eli Zaretskii <eliz@gnu.org>
628
629 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
630 formats for displaying file sizes when the -s switch is given.
631 Instead, compute a separate format for displaying the size in
632 blocks, which is displayed in addition to the "regular" size.
633 When -h is given in addition to -s, produce size in blocks in
634 human-readable form as well. (Bug#16179)
635
636 2013-12-18 Tassilo Horn <tsdh@gnu.org>
637
638 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
639 Reference tables with ~\ref{...} instead of only \ref{...}.
640
641 2013-12-18 Chong Yidong <cyd@gnu.org>
642
643 * cus-edit.el (custom-magic-alist): Fix "themed" description
644 (Bug#14348).
645
646 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
647 is non-nil, do not create a new entry in the symbol's theme-value
648 or theme-face property; update theme-settings only (Bug#14664).
649 (custom-available-themes): Doc fix.
650
651 * cus-theme.el (custom-new-theme-mode-map): Add bindings
652 (Bug#15674).
653
654 * replace.el (occur-engine): Avoid infloop (Bug#7593).
655
656 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
657
658 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
659 (Bug#13914).
660
661 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
662
663 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
664
665 2013-12-18 Glenn Morris <rgm@gnu.org>
666
667 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
668 * cus-start.el (load-prefer-newer): New option.
669
670 2013-12-18 Le Wang <l26wang@gmail.com>
671
672 * comint.el (comint-previous-matching-input-from-input):
673 Retain point (Bug#13404).
674
675 2013-12-18 Chong Yidong <cyd@gnu.org>
676
677 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
678
679 2013-12-18 Glenn Morris <rgm@gnu.org>
680
681 * mail/emacsbug.el (report-emacs-bug):
682 Only mention enable-multibyte-characters if non-standard.
683
684 2013-12-17 Juri Linkov <juri@jurta.org>
685
686 * arc-mode.el (archive-extract-by-file): Check if directory exists
687 before deletion to not show irrelevant errors if it doesn't exist.
688
689 2013-12-17 Juri Linkov <juri@jurta.org>
690
691 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
692 (Bug#14751)
693
694 * net/eww.el (browse-web): Add alias to `eww'.
695 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
696 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
697
698 * net/browse-url.el (browse-url-browser-function): Move `eww'
699 closer to similar functions.
700
701 * startup.el (fancy-startup-screen, fancy-about-screen):
702 Set browse-url-browser-function to eww-browse-url locally.
703 (Bug#14751)
704
705 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
706
707 * window.el (window--pixel-to-total): Remove unused `mini' var.
708 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
709 (split-window): Remove unused `new' var.
710 (window--display-buffer): Remove unused `frame' and `delta' vars.
711 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
712 and display-width'.
713
714 2013-12-17 Martin Rudalics <rudalics@gmx.at>
715
716 * dired.el (dired-mark-pop-up):
717 * register.el (register-preview): Don't bind
718 split-height-threshold here since it's now done in
719 display-buffer-below-selected.
720
721 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
722
723 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
724 xterm-rgb-convert-to-16bit.
725 (rxvt-register-default-colors): Standardize with
726 xterm-register-default-colors (Bug#14078).
727
728 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
729
730 * simple.el (kill-region): Pass mark first, then point, so that
731 kill-append works right (Bug#12819).
732 (copy-region-as-kill, kill-ring-save): Likewise.
733
734 2013-12-17 Leo Liu <sdl.web@gmail.com>
735
736 * net/rcirc.el (rcirc-add-face):
737 * eshell/em-prompt.el (eshell-emit-prompt):
738 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
739 (Bug#16167)
740
741 2013-12-17 Chong Yidong <cyd@gnu.org>
742
743 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
744 Suggested by Xue Fuqiao.
745
746 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
747
748 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
749
750 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
751
752 * net/shr.el (shr-insert-document): Remove unused var
753 `shr-preliminary-table-render'.
754 (shr-rescale-image): Remove unused arg `force'.
755 (shr-put-image): Update calls accordingly.
756 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
757
758 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
759
760 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
761 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
762 :close-all, to see which indentation method to use (Bug#16116).
763 (smie-rules-function): Document the method :close-all.
764
765 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
766
767 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
768
769 * net/eww.el (eww-display-html): If we can't find the anchor we're
770 looking for, then go to point-min.
771
772 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
773
774 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
775 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
776 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
777 Expand dir too, in case it's relative.
778
779 2013-12-16 Juri Linkov <juri@jurta.org>
780
781 * desktop.el (desktop-auto-save-timeout): Change default to
782 `auto-save-timeout'. Doc fix.
783 (desktop-save): Skip the timestamp in desktop-saved-frameset
784 when checking for auto-save changes.
785 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
786 `desktop-auto-save' is called repeatedly by the idle timer.
787 (desktop-auto-save-set-timer): Replace `run-with-timer' with
788 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
789 (Bug#15331)
790
791 2013-12-16 Juri Linkov <juri@jurta.org>
792
793 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
794 (Bug#16035)
795 (isearch-pre-command-hook): Check `this-command' for symbolp.
796
797 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
798
799 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
800
801 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
802
803 * progmodes/cfengine.el (cfengine3--current-word): Remove.
804 (cfengine3--current-function): Bring in the current-function
805 functionality from `cfengine3--current-word'.
806 (cfengine3-completion-function): Bring in the
807 bounds-of-current-word functionality from
808 `cfengine3--current-word'.
809
810 2013-12-16 Martin Rudalics <rudalics@gmx.at>
811
812 * window.el (display-buffer-below-selected):
813 Bind split-height-threshold to 0 as suggested by Juri Linkov.
814
815 2013-12-16 Leo Liu <sdl.web@gmail.com>
816
817 * progmodes/compile.el (compile-goto-error): Do not push-mark.
818 Remove NOMSG arg and all uses changed.
819
820 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
821
822 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
823 (cua--deactivate-rectangle): Don't deactivate the mark.
824 (cua-set-rectangle-mark): Don't set mark-active since
825 cua--activate-rectangle already does it for us.
826 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
827 non-rectangular region.
828
829 * emulation/cua-base.el (cua-repeat-replace-region):
830 Use with-current-buffer.
831
832 * net/gnutls.el: Use cl-lib.
833 (gnutls-negotiate): `mapcan' -> cl-mapcan.
834
835 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
836
837 * emacs-lisp/package.el (package-built-in-p): Support both
838 built-in and the package.el converted package descriptions.
839 (package-show-package-list): Allow keywords.
840 (package-keyword-button-action): Use it instead of
841 `finder-list-matches'.
842 (package-menu-filter-interactive): Interactive filtering (by
843 keyword) function.
844 (package-menu--generate): Support keywords and change keymappings
845 and headers when they are given.
846 (package--has-keyword-p): Helper function.
847 (package-menu--refresh): Use it.
848 (package--mapc): Helper function.
849 (package-all-keywords): Use it.
850 (package-menu-mode-map): Set up menu items and keybindings to
851 provide a filtering UI.
852
853 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
854
855 * net/gnutls.el (gnutls-verify-error): New defcustom to control
856 the behavior when a certificate fails validation. Defaults to
857 old behavior: never abort, just warn.
858 (gnutls-negotiate): Use it.
859
860 2013-12-14 Martin Rudalics <rudalics@gmx.at>
861
862 * window.el (display-buffer-below-selected): Never split window
863 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
864
865 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
866
867 * emacs-lisp/package.el (package--prepare-dependencies): New function.
868 (package-buffer-info): Use it (bug#15108).
869
870 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
871
872 * icomplete.el (icomplete-completions): Make sure the prefix is already
873 displayed elsewhere before hiding it (bug#16219).
874
875 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
876
877 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
878 open-paren tokens when preceded by a open-paren, too.
879 (ruby-smie-rules): Handle virtual indentation after open-paren
880 tokens specially. If there is code between it and eol, return the
881 column where is starts (Bug#16118).
882
883 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
884
885 * progmodes/cfengine.el: Fix `add-hook' doc.
886 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
887 (cfengine3--current-word): Fix parameters.
888 (cfengine3-make-syntax-cache): Simplify further.
889 (cfengine3-completion-function, cfengine3--current-function):
890 Use `assq' for symbols.
891 (cfengine3--current-function): Fix `cfengine3--current-word' call.
892
893 2013-12-13 Glenn Morris <rgm@gnu.org>
894
895 * loadup.el (load-path): Warn if site-load or site-init changes it.
896 No more need to reset it when bootstrapping.
897
898 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
899
900 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
901 locations for cf-promises.
902 (cfengine-mode-syntax-functions-regex): New caching variable.
903 (cfengine3-fallback-syntax): Fallback syntax for cases where
904 cf-promises doesn't run.
905 (cfengine3--current-word): Reimplement using
906 `cfengine-mode-syntax-functions-regex'.
907 (cfengine3-completion-function, cfengine3--current-function):
908 Use `cfengine3-make-syntax-cache' directly.
909 (cfengine3-clear-syntax-cache): New function.
910 (cfengine3-make-syntax-cache): Simplify and create
911 `cfengine-mode-syntax-functions-regex' on demand.
912 (cfengine3-format-function-docstring): Don't call
913 `cfengine3-make-syntax-cache' explicitly.
914
915 2013-12-13 Martin Rudalics <rudalics@gmx.at>
916
917 Fix windmove-find-other-window broken after pixelwise resizing
918 (Bug#16017).
919 * windmove.el (windmove-other-window-loc): Revert change from
920 2013-12-04.
921 (windmove-find-other-window): Call window-in-direction.
922 * window.el (window-in-direction): New arguments SIGN, WRAP and
923 MINI to emulate original windmove-find-other-window behavior.
924
925 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
926
927 * simple.el (blink-matching--overlay): New variable.
928 (blink-matching-open): Instead of moving point, highlight the
929 matching paren with an overlay
930 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
931
932 * faces.el (paren-showing-faces, show-paren-match)
933 (show-paren-mismatch): Move from paren.el.
934
935 2013-12-13 Leo Liu <sdl.web@gmail.com>
936
937 * indent.el (indent-region): Disable progress reporter in
938 minibuffer. (Bug#16108)
939
940 * bindings.el (visual-order-cursor-movement): Fix version.
941
942 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
943
944 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
945 Also match after beginning of line.
946 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
947 files. Thanks to Russell Sim. (Bug#15378)
948
949 2013-12-13 Juri Linkov <juri@jurta.org>
950
951 * simple.el <Keypad support>: Remove key bindings duplicated
952 with bindings.el. (Bug#14397)
953
954 2013-12-13 Juri Linkov <juri@jurta.org>
955
956 * comint.el (comint-mode-map): Replace `delete-char' with
957 `delete-forward-char'. (Bug#16109)
958
959 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
960
961 * progmodes/python.el (python-indent-calculate-indentation):
962 Fix de-denters cornercase. (Bug#15731)
963
964 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
967 (advice--make): Pay attention to `depth'.
968 (advice--make-1): Don't autoload commands eagerly.
969 * emacs-lisp/elp.el (elp-instrument-function):
970 * emacs-lisp/trace.el (trace-function-internal):
971 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
972
973 * iswitchb.el (iswitchb-mode): Don't belittle ido.
974
975 2013-12-12 Eli Zaretskii <eliz@gnu.org>
976
977 * term/w32-win.el (w32-handle-dropped-file):
978 * startup.el (normal-top-level):
979 * net/browse-url.el (browse-url-file-url):
980 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
981 decode file names using 'utf-8' rather than
982 file-name-coding-system.
983
984 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
985
986 * progmodes/python.el (python-indent-context)
987 (python-indent-calculate-indentation): Fix auto-identation
988 behavior for comment blocks. (Bug#15916)
989
990 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
991
992 * progmodes/python.el (python-indent-calculate-indentation):
993 When determining indentation, don't treat "return", "pass", etc., as
994 operators when they are just string constituents. (Bug#15812)
995
996 2013-12-12 Juri Linkov <juri@jurta.org>
997
998 * uniquify.el (uniquify-buffer-name-style): Change default to
999 `post-forward-angle-brackets'.
1000
1001 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1002 `uniquify'. Change default to `post-forward-angle-brackets'.
1003
1004 2013-12-11 Glenn Morris <rgm@gnu.org>
1005
1006 * emacs-lisp/package.el (finder-list-matches):
1007 Autoload rather than falsely declaring.
1008
1009 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1010
1011 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1012 (eww-mode-map): Use them.
1013
1014 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1015
1016 * window.el (display-buffer-in-side-window): Fix doc-string
1017 (Bug#16115).
1018
1019 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1020
1021 * vc/vc-git.el: Silence byte-compiler warnings.
1022 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1023 (log-edit-set-header): Declare.
1024
1025 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1026
1027 * Makefile.in (custom-deps, finder-data): Run output file names
1028 through unmsys--file-name. (Bug#16099)
1029
1030 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1031
1032 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1033 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1034
1035 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1036 instead of deleting the selection "by hand" (bug#16098).
1037 Rely on insert-for-yank to yank rectangles.
1038 (cua-highlight-region-shift-only): Mark obsolete.
1039 (cua-mode): Don't enable/disable transient-mark-mode,
1040 shift-select-mode (cua-mode works both with and without them), and
1041 pc-selection-mode (obsolete).
1042 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1043 (cua--deactivate-rectangle): Deactivate it.
1044
1045 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1046 (delete-selection-helper): Make sure yank starts at the top of the
1047 deleted region.
1048 (minibuffer-keyboard-quit): Use region-active-p.
1049
1050 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1051
1052 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1053 to `delete' (bug#16109).
1054
1055 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1056
1057 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1058 info manual and show keybindings and set `:group' keyword.
1059
1060 2013-12-11 Juri Linkov <juri@jurta.org>
1061
1062 * delsel.el (delete-active-region): Let-bind `this-command'
1063 to prevent `kill-region' from changing its original value.
1064 (delete-selection-helper): Handle `overwrite-mode' for the type
1065 `kill' exactly the same way as for the type `t'.
1066 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1067 Support more commands. (Bug#13312)
1068
1069 2013-12-11 Juri Linkov <juri@jurta.org>
1070
1071 * bindings.el: Map kp keys to non-kp keys systematically
1072 with basic modifiers control, meta and shift. (Bug#14397)
1073
1074 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1075
1076 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1077 "Close browser" menu items. Fix wrong function of "List
1078 bookmarks".
1079
1080 2013-12-11 Juri Linkov <juri@jurta.org>
1081
1082 * misearch.el (multi-isearch-buffers): Set the value of
1083 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1084 arg of isearch-forward to t.
1085 (multi-isearch-buffers-regexp): Set the value of
1086 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1087 arg of isearch-forward-regexp to t.
1088 (multi-isearch-files): Set the value of
1089 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1090 arg of isearch-forward to t.
1091 (multi-isearch-files-regexp): Set the value of
1092 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1093 arg of isearch-forward-regexp to t. (Bug#16035)
1094
1095 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1096 arg of isearch-forward to t.
1097 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1098 arg of isearch-forward-regexp to t.
1099 (dired-isearch-filter-filenames): Remove unnecessary check for
1100 `dired-isearch-filenames'.
1101
1102 * comint.el (comint-history-isearch-backward):
1103 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1104 (comint-history-isearch-backward-regexp):
1105 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1106
1107 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1108
1109 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1110 unmsys--file-name. (Bug#16099)
1111
1112 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1113
1114 * emacs-lisp/package.el (package-keyword-button-action):
1115 Remove finder.el require dependency.
1116
1117 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1118
1119 * emacs-lisp/package.el: Require finder.el.
1120 (describe-package-1): Add keyword buttons.
1121 (package-make-button): New convenience function.
1122 (package-keyword-button-action): Keyword button action using
1123 `finder-list-matches'.
1124
1125 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1126
1127 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1128 last commit.
1129
1130 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1131
1132 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1133 symlinked files.
1134
1135 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1136
1137 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1138 after the end of a percent literal.
1139
1140 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1141
1142 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1143 Handle caret-delimited strings (Bug#16079).
1144
1145 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1146
1147 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1148 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1149 `ruby-parse-partial' (Bug#16078).
1150
1151 2013-12-09 Leo Liu <sdl.web@gmail.com>
1152
1153 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1154
1155 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1156
1157 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1158 (js-switch-indent-offset): New option.
1159 (js--proper-indentation): Use it. And handle the case when
1160 "default" is actually a key in an object literal.
1161 (js--same-line): New function.
1162 (js--multi-line-declaration-indentation): Use it.
1163 (js--indent-in-array-comp, js--array-comp-indentation):
1164 New functions.
1165 (js--proper-indentation): Use them, to handle array comprehension
1166 continuations.
1167
1168 2013-12-08 Leo Liu <sdl.web@gmail.com>
1169
1170 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1171 (flymake-make-overlay): Remove arg MOUSE-FACE.
1172 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1173
1174 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1175
1176 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1177 New function.
1178 (redisplay-highlight-region-function): Use it.
1179
1180 * emulation/cua-base.el (cua--explicit-region-start)
1181 (cua--last-region-shifted): Remove.
1182 (cua--deactivate): Use deactivate-mark.
1183 (cua--pre-command-handler-1): Don't handle shift-selection.
1184 (cua--post-command-handler-1): Don't change transient-mark-mode.
1185 (cua--select-keymaps): Use region-active-p rather than
1186 cua--explicit-region-start or cua--last-region-shifted.
1187 (cua-mode): Enable shift-select-mode.
1188
1189 2013-12-08 Leo Liu <sdl.web@gmail.com>
1190
1191 * progmodes/flymake.el (flymake-popup-current-error-menu):
1192 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1193 (flymake-posn-at-point-as-event, flymake-popup-menu)
1194 (flymake-make-emacs-menu): Remove. (Bug#16077)
1195
1196 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1197
1198 * rect.el (rectangle-mark-mode): Activate mark even if
1199 transient-mark-mode is off (bug#16066).
1200 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1201 is > mark and at bolp.
1202
1203 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1204 (region-extract-function): Use it.
1205 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1206 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1207 Delete functions.
1208 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1209 kill-ring-save, kill-region, delete-char, delete-forward-char.
1210 Ignore self-insert-iso.
1211
1212 * emulation/cua-gmrk.el (cua--init-global-mark):
1213 Ignore `self-insert-iso'.
1214
1215 * emulation/cua-base.el (cua--prefix-copy-handler)
1216 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1217 checking cua--rectangle.
1218 (cua-delete-region): Use region-extract-function.
1219 (cua-replace-region): Delete function.
1220 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1221 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1222 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1223 (cua--init-keymaps): Don't remap delete-selection commands.
1224 (cua-mode): Use delete-selection-mode instead of rolling our own
1225 (bug#16085).
1226
1227 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1228 Obey region-extract-function.
1229
1230 Make registers and delete-selection-mode work on rectangles.
1231 * register.el (describe-register-1): Don't modify the register's value.
1232 (copy-to-register): Obey region-extract-function.
1233 * delsel.el (delete-active-region): Obey region-extract-function.
1234
1235 2013-12-08 Leo Liu <sdl.web@gmail.com>
1236
1237 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1238 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1239 (flymake-compilation-prevents-syntax-check)
1240 (flymake-start-syntax-check-on-newline)
1241 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1242 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1243 (flymake-xml-program, flymake-master-file-dirs)
1244 (flymake-master-file-count-limit)
1245 (flymake-allowed-file-name-masks): Relocate.
1246 (flymake-makehash, flymake-float-time)
1247 (flymake-replace-regexp-in-string, flymake-split-string)
1248 (flymake-get-temp-dir): Remove.
1249 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1250 (flymake-current-row, flymake-selected-frame)
1251 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1252 related functions. (Bug#16077)
1253
1254 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1255
1256 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1257
1258 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1259
1260 * help-fns.el (describe-function-1): Use new advice-* functions
1261 rather than old ad-* functions. Fix function type description and
1262 source links for advised functions and subrs.
1263
1264 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1265
1266 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1267
1268 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1269
1270 * progmodes/compile.el (compilation-start):
1271 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1272
1273 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1274 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1275
1276 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1277
1278 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1279 Touch up the last change.
1280
1281 2013-12-06 Leo Liu <sdl.web@gmail.com>
1282
1283 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1284 (inferior-octave-startup): Always use "octave> " for prompt.
1285 (octave-goto-function-definition)
1286 (octave-sync-function-file-names)
1287 (octave-find-definition-default-filename): Remove redundant backquotes.
1288
1289 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1290
1291 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1292 syntax for `?'.
1293 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1294 where appropriate already.
1295 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1296 end of method names (Bug#15874).
1297
1298 2013-12-06 Juri Linkov <juri@jurta.org>
1299
1300 * isearch.el (isearch--saved-overriding-local-map):
1301 New internal variable.
1302 (isearch-mode): Set it to the initial value of
1303 `overriding-terminal-local-map'.
1304 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1305 with `isearch--saved-overriding-local-map'. (Bug#16035)
1306
1307 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1308
1309 * progmodes/octave.el (inferior-octave-completion-table):
1310 Turn back into function, use `completion-table-with-cache'
1311 (Bug#11906). Update all references.
1312
1313 * minibuffer.el (completion-table-with-cache): New function.
1314
1315 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1316
1317 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1318
1319 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1320
1321 * net/eww.el (eww-current-source): New variable to store page
1322 source.
1323 (eww-display-html, eww-mode, eww-save-history)
1324 (eww-restore-history): Use it.
1325 (eww-view-source): New command to view page source.
1326 Opportunistically uses `html-mode' to highlight the buffer.
1327 (eww-mode-map): Install it.
1328
1329 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1330
1331 * net/dbus.el (dbus-unregister-service)
1332 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1333 Fix docstring.
1334 (dbus-unregister-service): Skip :serial entries in
1335 `dbus-registered-objects-table'.
1336 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1337
1338 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1339
1340 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1341 around keywords with extra `split-string' argument.
1342
1343 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1344
1345 * windmove.el (windmove-other-window-loc): Handle navigation
1346 between windows (excluding the minibuffer window - Bug#16017).
1347
1348 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1349
1350 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1351 in D-Bus type syntax.
1352 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1353 preserve unibyte strings. (Bug#16048)
1354
1355 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1356
1357 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1358 Call force-mode-line-update is the proper buffer (bug#16042).
1359
1360 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1361
1362 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1363 `log-edit-remember-comment', make argument optional. Adjust all
1364 callers.
1365 (log-edit-mode): Add `log-edit-remember-comment' to
1366 `kill-buffer-hook' locally.
1367 (log-edit-kill-buffer): Don't remember comment explicitly since
1368 the buffer is killed anyway.
1369
1370 2013-12-04 Juri Linkov <juri@jurta.org>
1371
1372 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1373 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1374
1375 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1376
1377 * notifications.el (notifications-close-notification): Call the
1378 D-Bus method with ID being a `:uint32'. (Bug#16030)
1379
1380 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1381
1382 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1383
1384 2013-12-03 Juri Linkov <juri@jurta.org>
1385
1386 * progmodes/compile.el (compilation-start): Rename window alist
1387 entry `no-display-ok' to `allow-no-window'.
1388
1389 * simple.el (shell-command): Add window alist entry
1390 `allow-no-window' to `display-buffer'.
1391 (async-shell-command): Doc fix.
1392
1393 * window.el (display-buffer-no-window): New action function.
1394 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1395
1396 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1397
1398 * vc/log-edit.el (log-edit-set-header): Extract from
1399 `log-edit-toggle-header'.
1400 (log-edit-extract-headers): Separate the summary, when extracted
1401 from header, from the rest of the message with an empty line.
1402
1403 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1404 line, if present, to the Summary header.
1405
1406 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1409 in current-buffer (bug#16029).
1410
1411 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1412
1413 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1414 (debugger-mode-map): Bind it.
1415 (debugger--backtrace-base): New function.
1416 (debugger-eval-expression): Use it.
1417 (debugger-frame-number): Skip local vars when present.
1418 (debugger--locals-visible-p, debugger--insert-locals)
1419 (debugger--show-locals, debugger--hide-locals): New functions.
1420
1421 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1422
1423 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1424 "LC_ALL".
1425 (tramp-get-remote-locale): New defun.
1426 (tramp-open-connection-setup-interactive-shell): Use it.
1427
1428 2013-12-02 Leo Liu <sdl.web@gmail.com>
1429
1430 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1431
1432 * progmodes/sh-script.el (sh-shell-process):
1433 * progmodes/octave.el (inferior-octave-process-live-p):
1434 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1435 (gdb-inferior-io-sentinel):
1436 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1437
1438 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1439
1440 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1441 `save-selected-window' to `log-edit-hide-buf'. This makes
1442 `log-edit-show-files' idempotent.
1443 (log-edit-show-files): Mark the new window as dedicated.
1444
1445 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1446
1447 * vc/log-edit.el (log-edit-mode-map): Add binding for
1448 `log-edit-kill-biffer'.
1449 (log-edit-hide-buf): Add a FIXME comment.
1450 (log-edit-add-new-comment): New function, extracted from
1451 `log-edit-done'.
1452 (log-edit-done, log-edit-add-to-changelog): Use it.
1453 (log-edit-kill-buffer): New command.
1454
1455 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1456
1457 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1458 instead of killing the buffer.
1459
1460 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1461
1462 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1463
1464 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1465
1466 * net/eww.el (eww-form-checkbox-selected-symbol)
1467 (eww-form-checkbox-symbol): New customizable variable.
1468 (eww-form-checkbox, eww-toggle-checkbox):
1469 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1470
1471 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1472 (shr--get-media-pref, shr--extract-best-source): New function.
1473 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1474 no :src tag was specified.
1475
1476 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1477 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1478 Use \\` to match beginning of string instead of ^.
1479 (eww-browse-with-external-browser): Provide optional URL parameter.
1480 (eww-render): Set `eww-current-title' back to "".
1481
1482 * net/shr.el (shr-tag-video): Display content for video if no
1483 poster is available.
1484 (shr-tag-audio): Add support for <audio> tag.
1485
1486 * net/eww.el (eww-text-input-types): New const.
1487 (eww-process-text-input): Treat input types in
1488 `eww-text-input-types' as text.
1489
1490 * net/shr.el (shr-tag-table): Fix comment typo.
1491
1492 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1493
1494 * net/eww.el (eww-follow-link): New command to avoid reloading
1495 pages when we follow #target links (bug#15243).
1496 (eww-quit): Special mode buffers shouldn't query before exiting.
1497
1498 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1499
1500 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1501 forms.
1502
1503 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1504
1505 * net/eww.el (eww-restore-history): Update the window title after
1506 moving in the history.
1507 (eww-current-dom): New variable used to save the current DOM.
1508
1509 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1510
1511 * vc/log-edit.el (log-edit-mode-map): Add binding for
1512 `log-edit-beginning-of-line'.
1513 (log-edit-setup-add-author): New user option.
1514 (log-edit-beginning-of-line): New command.
1515 (log-edit): Move major mode call above the contents setup so that
1516 the local variable values are already applied.
1517 (log-edit): Only insert "Author: " when
1518 `log-edit-setup-add-author' is non-nil.
1519 (log-edit): When SETUP is non-nil, position point after ": "
1520 instead of point-min.
1521
1522 2013-12-01 Glenn Morris <rgm@gnu.org>
1523
1524 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1525
1526 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1527
1528 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1529 redisplay to make sure the initial frame gets a chance to become
1530 visible. (Bug#16014)
1531
1532 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1533
1534 Support resizing frames and windows pixelwise.
1535 * cus-start.el (frame-resize-pixelwise)
1536 (window-resize-pixelwise): New entries.
1537 * emacs-lisp/debug.el (debug): Use window-total-height instead
1538 of window-total-size.
1539 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1540 * help.el (describe-bindings-internal): Call help-buffer
1541 (temp-buffer-max-width): New option.
1542 (resize-temp-buffer-window, help-window-setup)
1543 (with-help-window): Rewrite.
1544 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1545 dragging dividers.
1546 * window.el (frame-char-size, window-min-pixel-height)
1547 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1548 (window-min-pixel-width, window-safe-min-pixel-size)
1549 (window-combination-p, window-safe-min-size)
1550 (window-resizable-p, window--size-to-pixel)
1551 (window--pixel-to-size, window--resize-apply-p): New functions.
1552 (window-safe-min-height): Fix doc-string.
1553 (window-size, window-min-size, window--min-size-1)
1554 (window-sizable, window-sizable-p, window--min-delta-1)
1555 (window-min-delta, window--max-delta-1, window-max-delta)
1556 (window--resizable, window--resizable-p, window-resizable)
1557 (window-full-height-p, window-full-width-p, window-at-side-p)
1558 (window--in-direction-2, window-in-direction)
1559 (window--resize-reset-1, window--resize-mini-window)
1560 (window-resize, window-resize-no-error)
1561 (window--resize-child-windows-normal)
1562 (window--resize-child-windows, window--resize-siblings)
1563 (window--resize-this-window, window--resize-root-window)
1564 (window--resize-root-window-vertically)
1565 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1566 (maximize-window, minimize-window, delete-window)
1567 (quit-restore-window, window-split-min-size, split-window)
1568 (balance-windows-2, balance-windows)
1569 (balance-windows-area-adjust, balance-windows-area)
1570 (window--state-get-1, window-state-get, window--state-put-1)
1571 (window--state-put-2, window-state-put)
1572 (display-buffer-record-window, window--display-buffer):
1573 Make functions handle pixelwise sizing of windows.
1574 (display-buffer--action-function-custom-type)
1575 (display-buffer-fallback-action):
1576 Add display-buffer-in-previous-window.
1577 (display-buffer-use-some-window): Resize window to height it had
1578 before.
1579 (fit-window-to-buffer-horizontally): New option.
1580 (fit-frame-to-buffer): Describe new values.
1581 (fit-frame-to-buffer-bottom-margin): Replace with
1582 fit-frame-to-buffer-margins.
1583 (window--sanitize-margin): New function.
1584 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1585 using window-text-pixel-size.
1586
1587 2013-11-30 Glenn Morris <rgm@gnu.org>
1588
1589 * emacs-lisp/bytecomp.el (byte-compile-form):
1590 Make the `interactive-only' warning like the `obsolete' one.
1591 * comint.el (comint-run):
1592 * files.el (insert-file-literally, insert-file):
1593 * replace.el (replace-string, replace-regexp):
1594 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1595 (goto-line, insert-buffer, next-line, previous-line):
1596 Tweak `interactive-only' spec.
1597
1598 Stop keeping (most) generated cedet grammar files in the repository.
1599 * Makefile.in (semantic): New.
1600 (compile-main): Depend on semantic.
1601
1602 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1603
1604 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1605 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1606
1607 * uniquify.el (uniquify-buffer-name-style): Change default.
1608
1609 * loadup.el: Preload "uniquify".
1610
1611 * time.el (display-time-update): Update all mode lines (bug#15999).
1612
1613 * electric.el (electric-indent-mode): Enable by default.
1614 * loadup.el: Preload "electric".
1615
1616 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1617
1618 * emacs-lisp/helpers.el (string-empty-p): New function.
1619 (string-blank-p): New function.
1620
1621 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1622
1623 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1624 (Bug#14029).
1625
1626 2013-11-29 Andreas Politz <politza@fh-trier.de>
1627 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1628 allow non-lambda lists as functions.
1629 (imenu--in-alist): Don't recurse into non-subalists.
1630 (imenu): Don't pass function itself as an argument (Bug#14029).
1631
1632 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1633
1634 * progmodes/python.el (python-mode-map): Remove binding for ":".
1635 (python-indent-electric-colon): Remove command.
1636 (python-indent-post-self-insert-function): Integrate the previous code
1637 of python-indent-electric-colon. Make it conditional on
1638 electric-indent-mode.
1639 (python-mode): Add ?: to electric-indent-chars.
1640 Move python-indent-post-self-insert-function to the end of
1641 post-self-insert-hook.
1642
1643 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1644
1645 * doc-view.el (doc-view-goto-page): Update mode-line.
1646
1647 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1648
1649 2013-11-27 Glenn Morris <rgm@gnu.org>
1650
1651 * international/charprop.el, international/uni-bidi.el:
1652 * international/uni-category.el, international/uni-combining.el:
1653 * international/uni-comment.el, international/uni-decimal.el:
1654 * international/uni-decomposition.el, international/uni-digit.el:
1655 * international/uni-lowercase.el, international/uni-mirrored.el:
1656 * international/uni-name.el, international/uni-numeric.el:
1657 * international/uni-old-name.el, international/uni-titlecase.el:
1658 * international/uni-uppercase.el:
1659 Remove generated files from VCS repository.
1660
1661 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1662
1663 * filenotify.el (file-notify-add-watch): Don't special-case
1664 w32notify when computing the directory to watch.
1665
1666 2013-11-27 Glenn Morris <rgm@gnu.org>
1667
1668 Make bootstrap without generated uni-*.el files possible again.
1669 * loadup.el: Update command-line-args checking for unidata-gen.
1670 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1671 * composite.el, international/characters.el:
1672 Handle unicode tables being undefined.
1673
1674 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1675 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1676 (compile-main): Depend on leim rule.
1677 (leim): New rule.
1678 * loadup.el: Move leim-list.el to leim/ subdirectory.
1679 * startup.el (normal-top-level): No more leim directory.
1680 * international/ja-dic-cnv.el (skkdic-convert):
1681 Disable version-control and autoloads in output files.
1682 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1683 Disable version-control and autoloads in output files.
1684 * leim/quail: Move here from ../leim.
1685 * leim/quail/hangul.el (hangul-input-method-activate):
1686 Add autoload cookie.
1687 (generated-autoload-load-name): Set file-local value.
1688 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1689 (generated-autoload-load-name): Set file-local value.
1690
1691 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
1692
1693 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1694 (eww-add-bookmark): Ask confirmation when add to bookmarks.
1695 (eww-quit): Ask confirmation before quitting eww.
1696
1697 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1698
1699 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1700 reading output from Diff on MS-Windows and MS-DOS.
1701
1702 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1703
1704 * emacs-lisp/helpers.el (string-reverse): New function.
1705
1706 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1707
1708 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1709 names on MS Windows, like "/[::1]:".
1710
1711 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1712 SWITCHES.
1713
1714 2013-11-26 Glenn Morris <rgm@gnu.org>
1715
1716 * progmodes/python.el (python-indent-guess-indent-offset):
1717 Avoid corner-case error. (Bug#15975)
1718
1719 Preload leim-list.el. (Bug#4789)
1720 * loadup.el: Load leim-list.el when found.
1721 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1722
1723 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1724
1725 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1726
1727 * emacs-lisp/helpers.el (string-join): New function.
1728
1729 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1730
1731 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1732 Mark as obsolete and replace it with a symbol property.
1733 (byte-compile-form): Use new 'interactive-only property.
1734 * comint.el, files.el, replace.el, simple.el:
1735 Apply new 'interactive-only properly.
1736
1737 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1738
1739 * window.el (display-buffer-at-bottom): Make sure that
1740 split-window-sensibly creates the new window on bottom
1741 (Bug#15961).
1742
1743 2013-11-23 David Kastrup <dak@gnu.org>
1744
1745 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1746 on the conflict markers when available.
1747 (smerge--get-marker): New function.
1748 (smerge-end-re, smerge-base-re): Add subgroup.
1749
1750 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1751
1752 * frame.el (handle-focus-in, handle-focus-out): Add missing
1753 interactive spec.
1754
1755 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1756
1757 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1758 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1759
1760 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1761
1762 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1763 (gomoku--last-pos): New var.
1764 (gomoku--intangible-chars): New const.
1765 (gomoku--intangible): New function.
1766 (gomoku-mode): Use it. Derive from special-mode.
1767 (gomoku-move-up): Adjust line count.
1768 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1769 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1770 Simplify accordingly.
1771
1772 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1773 Remove blink-cursor code.
1774 (blink-cursor-timer-function, blink-cursor-suspend):
1775 Don't special-case GUIs.
1776 (blink-cursor-mode): Use focus-in/out-hook.
1777
1778 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1779
1780 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1781 work when annotation is invisible (Bug#13886).
1782
1783 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1784
1785 * json.el (json-alist-p): Only return non-nil if the alist has
1786 simple keys (Bug#13518).
1787
1788 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1789
1790 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1791 when control-statement is the first statement in a buffer (Bug#15956).
1792
1793 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1794
1795 * imenu.el (imenu-generic-skip-comments-and-strings):
1796 New option (Bug#15560).
1797 (imenu--generic-function): Use it.
1798
1799 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1800
1801 * minibuffer.el (completion--in-region-1): Scroll the correct window.
1802 (Bug#13898)
1803
1804 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1805
1806 * emacs-lisp/helpers.el: Add some string helpers.
1807 (string-trim-left): Removes leading whitespace.
1808 (string-trim-right): Removes trailing whitespace.
1809 (string-trim): Removes leading and trailing whitespace.
1810
1811 * subr.el (string-suffix-p): New function.
1812
1813 2013-11-23 Glenn Morris <rgm@gnu.org>
1814
1815 * progmodes/python.el (python-shell-send-file):
1816 Add option to delete file when done. (Bug#15647)
1817 (python-shell-send-string, python-shell-send-region): Use it.
1818
1819 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1820
1821 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1822 to set buffer-read-only to t, never to nil. (Bug#15938)
1823
1824 * textmodes/tex-mode.el (latex-noindent-environments):
1825 Add safe-local-variable property. (Bug#15936)
1826
1827 2013-11-23 Glenn Morris <rgm@gnu.org>
1828
1829 * textmodes/enriched.el (enriched-mode): Doc fix.
1830 * emacs-lisp/authors.el (authors-renamed-files-alist):
1831 Add enriched.doc -> enriched.txt.
1832
1833 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1834
1835 2013-11-22 Leo Liu <sdl.web@gmail.com>
1836
1837 * progmodes/octave.el (inferior-octave-startup): Spit out error
1838 message.
1839
1840 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1841
1842 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1843 Improve docstring.
1844 Add :version.
1845 (ruby-encoding-magic-comment-style): Add :version.
1846
1847 2013-11-22 Leo Liu <sdl.web@gmail.com>
1848
1849 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1850 (Bug#15076)
1851 (octave-help-mode): Adapt to change to help-mode-finish to use
1852 derived-mode-p on 2013-09-17.
1853 (inferior-octave-prompt): Also match octave-gui.
1854 (octave-kill-process): Don't ask twice. (Bug#10564)
1855
1856 2013-11-22 Leo Liu <sdl.web@gmail.com>
1857
1858 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1859 (inferior-octave-startup, inferior-octave-check-process)
1860 (inferior-octave-track-window-width-change)
1861 (octave-completion-at-point, octave-eldoc-function): Use it.
1862 (octave-kill-process): Provide confirmation. (Bug#10564)
1863
1864 2013-11-21 Leo Liu <sdl.web@gmail.com>
1865
1866 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1867 Fix obsolete variable comment-use-global-state.
1868
1869 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1870
1871 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1872 Add `octave-source-file'.
1873 (octave-source-file): New function. (Bug#15935)
1874
1875 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
1876
1877 * net/eww.el (eww-local-regex): New variable.
1878 (eww): Use it to detect localhost and similar.
1879
1880 2013-11-21 Leo Liu <sdl.web@gmail.com>
1881
1882 Add completion for command `ag'.
1883 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1884 (pcomplete/ag): New function.
1885 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1886
1887 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1888
1889 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1890 (bug#14646).
1891 (make-obsolete): Remove interactive spec.
1892
1893 2013-11-21 Glenn Morris <rgm@gnu.org>
1894
1895 * startup.el (command-line-1): Use path-separator with -L.
1896
1897 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1898
1899 * emacs-lisp/package.el (describe-package-1): Add package archive
1900 to shown fields.
1901
1902 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1903
1904 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1905 Change default to "# encoding: %s" to differentiate it from the
1906 default Ruby encoding comment template.
1907
1908 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1909
1910 * ses.el (ses-mode): Doc fix. (Bug#14748)
1911
1912 2013-11-20 Leo Liu <sdl.web@gmail.com>
1913
1914 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1915
1916 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1917
1918 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1919 when rebase or bisect are in progress.
1920
1921 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1922
1923 * filenotify.el (file-notify-add-watch): Doc fix.
1924
1925 2013-11-19 Leo Liu <sdl.web@gmail.com>
1926
1927 * obsolete/rcompile.el: Mark obsolete.
1928
1929 * progmodes/compile.el (compilation-start)
1930 (compilation-goto-locus, compilation-find-file):
1931 Pass no-display-ok and handle nil value from display-buffer.
1932 (Bug#13594)
1933
1934 * window.el (display-buffer-alist, display-buffer): Document the
1935 new parameter no-display-ok. Return either a window or nil
1936 but never a non-window value.
1937
1938 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1939
1940 * electric.el (electric-indent-mode-map): Remove.
1941 (electric-indent-mode): Change the global-map instead (bug#15915).
1942
1943 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1944 Use add-function.
1945
1946 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1947
1948 * emacs-lisp/nadvice.el (remove-function): Align with
1949 add-function's behavior.
1950
1951 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1952 (gdb--string-regexp): New constant.
1953 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1954 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1955 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1956 submatch 1.
1957 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1958 Adjust use accordingly.
1959 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1960
1961 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1962
1963 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1964 interpolation curlies (Bug#15914).
1965
1966 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1967
1968 * calc/calc.el (calc-context-sensitive-enter): New variable.
1969 (calc-enter): Use `calc-context-sensitive-enter'.
1970
1971 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1972
1973 * progmodes/cfengine.el: Version bump.
1974 (cfengine-cf-promises): New defcustom to locate cf-promises.
1975 (cfengine3-vartypes): Add new "data" type.
1976 (cfengine3--current-word): New function to get current name-like
1977 word or its bounds.
1978 (cfengine3--current-function): New function to look up a CFEngine
1979 function's definition.
1980 (cfengine3-format-function-docstring): New function.
1981 (cfengine3-make-syntax-cache): New function.
1982 (cfengine3-documentation-function): New function: ElDoc glue.
1983 (cfengine3-completion-function): New function: completion glue.
1984 (cfengine3-mode): Set `compile-command',
1985 `eldoc-documentation-function', and add to
1986 `completion-at-point-functions'.
1987
1988 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1989
1990 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1991 `tramp-current-connection'.
1992
1993 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1994
1995 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1996 nil/self/true/false with "end of symbol".
1997
1998 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1999
2000 * subr.el (version-regexp-alist): Fix a typo.
2001
2002 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2003
2004 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2005 "en_US.utf8" and "LC_CTYPE" to "".
2006 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2007 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2008
2009 2013-11-15 Leo Liu <sdl.web@gmail.com>
2010
2011 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2012
2013 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2014
2015 * progmodes/gud.el (ctl-x-map):
2016 Remove C-x SPC binding. (Bug#12342)
2017 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2018
2019 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2020
2021 * subr.el (version-regexp-alist):
2022 Recognize hg, svn and darcs versions as snapshot versions.
2023
2024 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2025 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2026 (ruby--encoding-comment-required-p): Extract from
2027 `ruby-mode-set-encoding'.
2028 (ruby-mode-set-encoding): Add the ability to always insert an
2029 utf-8 encoding comment. Fix and simplify coding comment update
2030 logic.
2031
2032 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2033
2034 * net/tramp-gvfs.el (top): Run init code only when
2035 `tramp-gvfs-enabled' is not nil.
2036 (tramp-gvfs-enabled): Check also :system bus.
2037
2038 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2039
2040 Sync with upstream verilog-mode revision 78e66ba.
2041 * progmodes/verilog-mode.el (verilog-end-of-defun)
2042 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2043 (verilog-get-end-of-defun): Remove unused argument.
2044 (verilog-comment-depth): Remove unused local `e'.
2045 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2046 Don't pass arg to verilog-get-end-of-defun.
2047
2048 2013-11-14 Glenn Morris <rgm@gnu.org>
2049
2050 * obsolete/assoc.el (aget): Prefix dynamic variable.
2051
2052 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2053
2054 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2055
2056 * widget.el, hfy-cmap.el: Remove bogus package version number.
2057
2058 2013-11-13 Glenn Morris <rgm@gnu.org>
2059
2060 * replace.el (replace-eval-replacement):
2061 Try to give more helpful error message. (Bug#15836)
2062
2063 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2064 (archive-7z-update): Avoid custom type mismatches.
2065
2066 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2067
2068 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2069
2070 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2071 address can be empty.
2072
2073 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2074 Accept nil SWITCHES.
2075 (tramp-gvfs-handle-write-region): Implement APPEND.
2076
2077 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2078
2079 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2080 binary "|" operator and closing block args delimiter.
2081 Remove FIXME comment referring to Ruby 1.8-only syntax.
2082 (ruby-smie--implicit-semi-p): Not after "|" operator.
2083 (ruby-smie--closing-pipe-p): New function.
2084 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2085 (ruby-smie-rules): Indent after "|".
2086
2087 2013-11-12 Glenn Morris <rgm@gnu.org>
2088
2089 * ps-print.el (ps-face-attribute-list):
2090 Handle anonymous faces. (Bug#15827)
2091
2092 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2093
2094 * window.el (display-buffer-other-frame): Fix doc-string.
2095 (Bug#15868)
2096
2097 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2100
2101 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2102
2103 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2104 (tramp-sh-handle-file-local-copy): Don't write a message when
2105 saving temporary files.
2106
2107 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2108 both directories are remote.
2109 (tramp-smb-handle-directory-files): Do not return double entries.
2110 Do not expand full file names.
2111 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2112 (tramp-smb-handle-write-region): Implement APPEND.
2113 (tramp-smb-get-stat-capability): Fix a stupid bug.
2114
2115 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2116
2117 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2118
2119 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2120
2121 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2122 throwing error over malformed let/let* (bug#15814).
2123
2124 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2125
2126 * iswitchb.el (iswitchb-mode): Mark obsolete.
2127
2128 2013-11-11 Glenn Morris <rgm@gnu.org>
2129
2130 * international/uni-bidi.el, international/uni-category.el:
2131 * international/uni-name.el, international/uni-numeric.el:
2132 Regenerate for Unicode 6.3.0.
2133
2134 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2135
2136 * net/tramp.el (tramp-methods):
2137 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2138 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2139
2140 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2141
2142 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2143 Force highlighting text after Summary keyword in doc face for rpm.
2144
2145 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2146
2147 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2148 available and the word has no wildcards, append one to the grep pattern.
2149 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2150 (ispell-complete-word): Call `ispell-lookup-words' with the value
2151 independent of `ispell-look-p'.
2152
2153 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2154
2155 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2156 Not after "||".
2157 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2158 their parent.
2159
2160 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2161
2162 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2163 (ruby-font-lock-keywords): Use backquote.
2164
2165 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2166
2167 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2168 (ruby-smie--backward-token): Only consider full-string matches.
2169
2170 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2171
2172 * faces.el (describe-face): Add distant-foreground.
2173
2174 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2175
2176 * progmodes/ruby-mode.el: Improve encoding comment handling.
2177 (ruby-encoding-magic-comment-style): New option.
2178 (ruby-custom-encoding-magic-comment-template): New option.
2179 (ruby--insert-coding-comment, ruby--detect-encoding):
2180 New functions extracted from `ruby-mode-set-encoding'.
2181 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2182 to control the style of the auto-inserted encoding comment.
2183
2184 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2185
2186 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2187 Use `smie-backward-sexp' with token argument.
2188
2189 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2190
2191 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2192 Remove instrumentation code.
2193
2194 2013-11-08 Glenn Morris <rgm@gnu.org>
2195
2196 * progmodes/autoconf.el (autoconf-mode):
2197 Tweak comment-start-skip. (Bug#15822)
2198
2199 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2200
2201 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2202 at bobp (bug#15826).
2203 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2204
2205 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2206
2207 * man.el (Man-start-calling): New macro, extracted from
2208 Man-getpage-in-background.
2209 (Man-getpage-in-background): Use it.
2210 (Man-update-manpage): New command.
2211 (Man-mode-map): Bind it.
2212
2213 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2214
2215 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2216 of "and", "or", "&&" and "||".
2217 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2218 argument. Prohibit opening curly brace because it could only be a
2219 block opener in that position.
2220 (ruby-smie--forward-token, ruby-smie--backward-token):
2221 Separate "|" from "&" or "*" going after it. That can happen in block
2222 arguments.
2223 (ruby-smie--indent-to-stmt): New function, seeks the end of
2224 previous statement or beginning of buffer.
2225 (ruby-smie-rules): Use it.
2226 (ruby-smie-rules): Check if there's a ":" before a curly block
2227 opener candidate; if there is, it's a hash.
2228
2229 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2232 (cl--block-wrapper): Fix last accidental change.
2233
2234 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2235
2236 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2237 Instrument, in order to hunt failure on hydra.
2238
2239 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2240
2241 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2242 malformed bindings form (bug#15814).
2243
2244 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2245
2246 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2247 "." compared to " @ ". This incidentally fixes some indentation
2248 examples with "do".
2249 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2250 (ruby-smie-grammar): New tokens: "and" and "or".
2251 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2252 Exclude "and" and "or". Remove "do" in order to work around token
2253 priorities.
2254 (ruby-smie-rules): Add all infix tokens. Handle the case of
2255 beginning-of-buffer.
2256
2257 2013-11-06 Glenn Morris <rgm@gnu.org>
2258
2259 * Makefile.in (setwins_almost, setwins_for_subdirs):
2260 Avoid accidental matches.
2261
2262 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2263
2264 * menu-bar.el (popup-menu): Use key-binding.
2265
2266 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2267
2268 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2269 menus, support also the menus produced by minor modes.
2270 (Bug#15817)
2271
2272 2013-11-06 Leo Liu <sdl.web@gmail.com>
2273
2274 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2275 DISTANCE to bound the search. All uses changed. (Bug#15808)
2276
2277 2013-11-06 Glenn Morris <rgm@gnu.org>
2278
2279 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2280 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2281 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2282
2283 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * electric.el (electric-indent-just-newline): New command.
2286 (electric-indent-mode-map): New keymap.
2287 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2288 Re-add :group which weren't redundant.
2289
2290 * electric.el (electric-indent-local-mode): New minor mode.
2291 (electric-indent-functions-without-reindent): New var.
2292 (electric-indent-post-self-insert-function): Use it.
2293 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2294
2295 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2296
2297 * international/quail.el (quail-help): Be more explicit about the
2298 meaning of the labels shown on the keys. (Bug#15800)
2299
2300 * startup.el (normal-top-level): Load the subdirs.el files before
2301 setting the locale environment. (Bug#15805)
2302
2303 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2306 via arguments so as to get the right ones (bug#15418).
2307
2308 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2309
2310 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2311
2312 Fix problems found while writing a test suite.
2313
2314 * net/tramp-compat.el (tramp-compat-load): New defun.
2315 * net/tramp.el (tramp-handle-load): Use it.
2316
2317 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2318 "(numberp ok-if-already-exists)" correctly.
2319
2320 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2321
2322 * international/characters.el (glyphless-char-display-control):
2323 Add usage note.
2324
2325 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2326
2327 * progmodes/python.el (python-mode):
2328 * progmodes/scheme.el (scheme-mode):
2329 * progmodes/prolog.el (prolog-mode):
2330 * progmodes/ruby-mode.el (ruby-mode):
2331 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2332 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2333
2334 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2335
2336 * rect.el (rectangle--highlight-for-redisplay):
2337 * emacs-lisp/smie.el (smie--next-indent-change):
2338 Use buffer-chars-modified-tick.
2339
2340 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2341
2342 * electric.el (electric-indent-post-self-insert-function):
2343 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2344
2345 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2346
2347 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2348
2349 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2350
2351 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2352 (bug#15786).
2353
2354 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2357
2358 * progmodes/python.el: Fix up last change.
2359 (python-shell--save-temp-file): New function.
2360 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2361 `string' comes from the current buffer.
2362 (python-shell-send-string-no-output): Remove `msg' arg.
2363 (python--use-fake-loc): New var.
2364 (python-shell-buffer-substring): Obey it. Try to compensate for the
2365 extra coding line added by python-shell--save-temp-file.
2366 (python-shell-send-region): Use python-shell--save-temp-file and
2367 python-shell-send-file directly. Add `nomain' argument.
2368 (python-shell-send-buffer): Use python-shell-send-region.
2369 (python-electric-pair-string-delimiter): New function.
2370 (python-mode): Use it.
2371
2372 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2373
2374 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2375 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2376 environment and decoding all of the default-directory's to here
2377 from command-line.
2378 (command-line): Decode also argv[0].
2379
2380 * loadup.el: Error out if default-directory is a multibyte string
2381 when we are dumping.
2382
2383 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2384
2385 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2386
2387 * emacs-lisp/package.el (package-menu-mode)
2388 (package-menu--print-info, package-menu--archive-predicate):
2389 Add Archive column to package list.
2390
2391 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2392
2393 Fix problems found while writing a test suite.
2394
2395 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2396 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2397 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2398 to nil when running original file name handler. Otherwise,
2399 there are problems with constructs like "$$FOO".
2400
2401 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2402 for `localname'.
2403
2404 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2405
2406 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2407
2408 * subr.el (version<, version<=, version=):
2409 Update docstrings with information for snapshot versions.
2410
2411 * helpers.el: New library for misc helper functions.
2412 (hash-table-keys): New function returning a list of hash keys.
2413 (hash-table-values): New function returning a list of hash values.
2414
2415 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2416
2417 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2418 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2419
2420 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2421
2422 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2423 checking whether point is after a 1-letter word.
2424
2425 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2426
2427 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2428 Don't infloop when expanding region over `multiline' syntax-type that
2429 begins a line (bug#15778).
2430
2431 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2432
2433 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2434 Make it into a proper minor mode.
2435 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2436 (rectangle-mark-mode-map): New keymap.
2437 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2438
2439 2013-11-04 Glenn Morris <rgm@gnu.org>
2440
2441 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2442
2443 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2444
2445 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2446 (ruby-smie-rules): Use smie-rule-parent instead.
2447
2448 * emacs-lisp/smie.el (smie-rule-parent): Always call
2449 smie-indent-virtual rather than only for hanging tokens.
2450 (smie--next-indent-change): New helper command.
2451
2452 2013-11-03 Glenn Morris <rgm@gnu.org>
2453
2454 * Makefile.in (abs_srcdir): Remove.
2455 (emacs): Unset EMACSLOADPATH.
2456
2457 2013-11-02 Glenn Morris <rgm@gnu.org>
2458
2459 * Makefile.in (EMACS): Use a relative filename.
2460 (abs_top_builddir): Remove.
2461 (custom-deps, finder-data, autoloads): Use --chdir.
2462
2463 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2464
2465 Use relative filenames in TAGS files.
2466 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2467 (lisptagsfiles4, TAGS): Use relative file names.
2468 (TAGS-LISP): Remove.
2469 (maintainer-clean): No more TAGS-LISP file.
2470
2471 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2472 (lisptagsfiles4): Use absolute filenames again.
2473 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2474 Remove all *loaddefs files, not just the first. Remove esh-groups.
2475 (maintainer-clean): Delete TAGS, TAGS-LISP.
2476
2477 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2478
2479 * emacs-lisp/package.el (package-version-join):
2480 Recognize snapshot versions.
2481
2482 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2483
2484 * subr.el (version-regexp-alist): Add support for snapshot versions.
2485
2486 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2487
2488 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2489 New function, replacement for `smie-rule-parent' for when we want to
2490 skip over our direct parent if it's an assignment token..
2491 (ruby-smie-rules): Use it.
2492
2493 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2494
2495 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2496 unconditionally. Remove now unnecessary forward declarations.
2497 Remove XEmacs-specific setup.
2498 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2499 (ruby-font-lock-syntactic-keywords)
2500 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2501 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2502 (ruby-here-doc-end-syntax): Remove.
2503 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2504 defined as function.
2505
2506 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2507
2508 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2509
2510 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2511
2512 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2513 table and abbrev table, `define-derived-mode' does that for us
2514 anyway.
2515
2516 2013-11-01 Glenn Morris <rgm@gnu.org>
2517
2518 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2519 files is atomic for some time, so no parallel compilation issues).
2520
2521 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2522
2523 * faces.el (face-x-resources): Add :distant-foreground.
2524 (region): Use :distant-foreground for gtk and ns.
2525
2526 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2527
2528 Allow multiple bibliographies when BibLaTeX is used rather than
2529 BibTeX.
2530 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2531 (reftex-locate-bibliography-files): Us it.
2532
2533 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2534
2535 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2536 allow comments in pbm files.
2537
2538 * term/w32-win.el (dynamic-library-alist): Support newer versions
2539 of libjpeg starting with v7: look only for the DLL from the
2540 version against which Emacs was built.
2541 Support versions of libpng beyond 1.4.x.
2542 Support libtiff v4.x.
2543
2544 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2545
2546 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2547 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2548 Add property :safe.
2549 (ruby-deep-arglist): Add property :type.
2550
2551 2013-10-31 Glenn Morris <rgm@gnu.org>
2552
2553 * Makefile.in (custom-deps, finder-data): No need to setq the target
2554 variables, we are in the right directory and the defaults work fine.
2555
2556 2013-10-30 Glenn Morris <rgm@gnu.org>
2557
2558 * Makefile.in (autoloads): Do not use abs_lisp.
2559
2560 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2561 `newline' does not respect `standard-output', so use `princ'.
2562
2563 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2564
2565 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2566 * buff-menu.el (Buffer-menu--unmark): New function.
2567 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2568
2569 2013-10-30 Glenn Morris <rgm@gnu.org>
2570
2571 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2572
2573 * emacs-lisp/package.el (lm-homepage): Declare.
2574
2575 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2576 Fix doc typos.
2577
2578 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2579
2580 * Makefile.in (finder-data, autoloads, update-subdirs)
2581 (compile-main, compile-clean, compile-always, bootstrap-clean):
2582 Check return value of cd.
2583 (compile-calc): Remove.
2584
2585 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2586
2587 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2588
2589 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2590 (byte-compile-and-folded): New function.
2591 (=, <, >, <=, >=): Use it.
2592
2593 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2594 (path-separator, null-device, buffer-file-coding-system)
2595 (lpr-headers-switches): Check system-type before modifying them.
2596 (find-buffer-file-type-coding-system): Mark obsolete.
2597 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2598 find-file-not-found-set-buffer-file-coding-system.
2599 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2600 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2601 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2602 (w32-direct-print-region-helper, w32-direct-print-region-function)
2603 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2604 * startup.el (normal-top-level-add-subdirs-to-load-path):
2605 * ps-print.el (ps-print-region-function):
2606 * lpr.el (print-region-function): Use new name.
2607
2608 * subr.el (custom-declare-variable-early): Remove function.
2609 (custom-declare-variable-list): Remove var.
2610 (error, user-error): Remove `while' loop.
2611 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2612 (user-emacs-directory-warning, locate-user-emacs-file):
2613 Move to files.el.
2614 * simple.el (read-quoted-char-radix, read-quoted-char):
2615 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2616 Move from subr.el.
2617 * custom.el (custom-declare-variable-list): Don't process
2618 custom-declare-variable-list.
2619
2620 * progmodes/python.el (python-shell-get-buffer): New function.
2621 (python-shell-get-process): Use it.
2622 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2623 Python which encoding was used. Don't split-string since we only care
2624 about the first line. Return the temp-file, if applicable.
2625 (python-shell-send-region): Tell compile.el how to turn locations in
2626 the temp-file into locations in the source buffer.
2627
2628 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * subr.el (undefined): Add missing behavior from the C code for
2631 unbound keys.
2632
2633 * rect.el: Use lexical-binding. Add new rectangular region support.
2634 (rectangle-mark): New command.
2635 (rectangle--region): New var.
2636 (deactivate-mark-hook): Reset rectangle--region.
2637 (rectangle--extract-region, rectangle--insert-for-yank)
2638 (rectangle--highlight-for-redisplay)
2639 (rectangle--unhighlight-for-redisplay): New functions.
2640 (region-extract-function, redisplay-unhighlight-region-function)
2641 (redisplay-highlight-region-function): Use them to handle
2642 rectangular region.
2643 * simple.el (region-extract-function): New var.
2644 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2645 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2646 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2647 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2648 (redisplay-unhighlight-region-function)
2649 (redisplay-highlight-region-function): New vars.
2650 (redisplay--update-region-highlight): New function.
2651 (pre-redisplay-function): Use it.
2652 (exchange-point-and-mark): Don't deactivate the mark before
2653 reactivate-it anyway.
2654 * comint.el (comint-kill-region): Remove yank-handler argument.
2655 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2656 (delete-char): Remove property, since it's now part of their
2657 default behavior.
2658 (self-insert-iso): Remove property since this command doesn't exist.
2659
2660 * emacs-lisp/package.el (package--download-one-archive)
2661 (describe-package-1): Don't query the user about final newline.
2662
2663 2013-10-29 Daniel Colascione <dancol@dancol.org>
2664
2665 * net/tramp.el (tramp-methods): Document new functionality.
2666 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2667 tramp-hostname-checker if method provides one instead of scanning
2668 argument list for "%h" to decide hostname acceptability.
2669
2670 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2671
2672 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2673 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2674 Handle COPY-CONTENTS. (Bug#15737)
2675
2676 2013-10-28 Daiki Ueno <ueno@gnu.org>
2677
2678 * epa-file.el
2679 (epa-file-cache-passphrase-for-symmetric-encryption):
2680 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2681
2682 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2683
2684 * image.el (defimage):
2685 (image-load-path): Doc fixes.
2686
2687 2013-10-27 Alan Mackenzie <acm@muc.de>
2688
2689 Indent statements in macros following "##" correctly.
2690 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2691 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2692
2693 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2694
2695 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2696
2697 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2698
2699 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2700 after `=' is probably a new expression.
2701
2702 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2703
2704 * man.el (man-imenu-title): New option.
2705 (Man-mode-map): Add menu. (Bug#15722)
2706 (Man-mode): Add imenu to menu.
2707
2708 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2709
2710 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2711 specific in what the first arg can be: a non-keyword word,
2712 string/regexp/percent literal opener, opening paren, or unary
2713 operator followed directly by word.
2714
2715 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2716
2717 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2718 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2719 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2720 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2721 Remove vars, they do not apply any more.
2722 (prolog-mode-abbrev-table): Remove redundant declaration.
2723 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2724 (prolog-use-smie): Remove.
2725 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2726 supported by prolog-electric-if-then-else-flag.
2727 (prolog-mode-variables, prolog-menu): Use setq-local.
2728 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2729 Remove binding to `Backspace' since this key doesn't exist anyway.
2730 Remove bindings for electric self-inserting keys.
2731 (prog-mode): Assume it's defined.
2732 (prolog-post-self-insert): New function.
2733 (prolog-mode): Use it.
2734 (prolog-indent-line, prolog-indent-level)
2735 (prolog-find-indent-of-matching-paren)
2736 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2737 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2738 (prolog-goto-next-paren, prolog-in-string-or-comment)
2739 (prolog-tokenize, prolog-inside-mline-comment)
2740 (prolog-find-start-of-mline-comment): Remove functions.
2741 (prolog-find-unmatched-paren, prolog-clause-end)
2742 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2743 (prolog-electric--if-then-else): Rename from
2744 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2745 (prolog-tokenize-searchkey): Remove const.
2746 (prolog-clause-info): Use forward-sexp.
2747 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2748 (prolog-electric-if-then-else): Remove commands.
2749 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2750 for use in post-self-insert-hook.
2751 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2752 for use in post-self-insert-hook.
2753 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2754 for use in post-self-insert-hook.
2755 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2756 adapt it for use in post-self-insert-hook.
2757
2758 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2759
2760 * emacs-lisp/ert.el (ert-run-tests-interactively):
2761 Use `completing-read'. (Bug#9756)
2762
2763 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2764
2765 * simple.el (line-move): Call line-move-1 instead of
2766 line-move-visual when the current window hscroll is zero, but
2767 temporary-goal-column indicates we will need to hscroll as result
2768 of the movement. (Bug#15712)
2769
2770 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2771
2772 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2773 capitalization. Use :visible instead of :active.
2774 Fix `ruby-indent-exp' reference. Add menu items for the generic
2775 commands that are used with SMIE.
2776 (ruby-do-end-to-brace): Insert space after `{'.
2777
2778 2013-10-25 John Anthony <john@jo.hnanthony.com>
2779
2780 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2781
2782 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2783
2784 2013-10-25 Glenn Morris <rgm@gnu.org>
2785
2786 * vc/vc.el (vc-print-log): Don't use a working revision unless
2787 one was explicitly specified. (Bug#15322)
2788
2789 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2790
2791 * subr.el (add-to-list): Preserve return value in compiler-macro
2792 (bug#15692).
2793
2794 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2795
2796 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2797 result. Ask user to retry using '-all' flag. (Bug#15701)
2798
2799 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2800
2801 * emacs-lisp/smie.el: New smie-config system.
2802 (smie-config): New defcustom.
2803 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2804 (smie-config-guess, smie-config-save): New commands.
2805 (smie-config--mode-local, smie-config--buffer-local)
2806 (smie-config--trace, smie-config--modefuns): New vars.
2807 (smie-config--advice, smie-config--mode-hook)
2808 (smie-config--setter, smie-config-local, smie-config--get-trace)
2809 (smie-config--guess-value, smie-config--guess): New functions.
2810 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2811 text properties. Treat "string fence" syntax like string syntax.
2812
2813 * progmodes/sh-script.el (sh-use-smie): Change default.
2814 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2815 (sh-var-value): Simplify by CSE.
2816 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2817 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2818 is used.
2819 (sh-guess-basic-offset): Use cl-incf.
2820 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2821
2822 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2823
2824 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2825 (bug#15699).
2826
2827 2013-10-24 Glenn Morris <rgm@gnu.org>
2828
2829 * Makefile.in (abs_top_srcdir): Remove.
2830 (update-subdirs): Use relative path to update-subdirs.
2831
2832 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2833
2834 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2835 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2836 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2837 Call unmsys--file-name before expand-file-name, not after it.
2838
2839 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2840
2841 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2842 (ert-test-skipped): New error.
2843 (ert-skip, ert-stats-skipped): New defuns.
2844 (ert--skip-unless): New macro.
2845 (ert-test-skipped): New struct.
2846 (ert--run-test-debugger, ert-test-result-type-p)
2847 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2848 (ert--stats-set-test-and-result, ert-char-for-test-result)
2849 (ert-string-for-test-result, ert-run-tests-batch)
2850 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2851 Handle skipped tests. (Bug#9803)
2852
2853 2013-10-24 Glenn Morris <rgm@gnu.org>
2854
2855 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2856
2857 * Makefile.in (abs_top_srcdir): New, set by configure.
2858 (update-subdirs): Correct build-aux location.
2859
2860 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2861
2862 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2863 value, whether we could auto-deduce `backend', or not.
2864
2865 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2866 with parameters" example. Simplify the "is it block or is it
2867 hash" check, but also make it more thorough.
2868
2869 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2870
2871 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2872
2873 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2874
2875 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2876 { if it is hanging.
2877
2878 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2879 :before ";".
2880
2881 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2882
2883 * progmodes/compile.el (compilation-directory-matcher)
2884 (compilation-page-delimiter):
2885 Support GNU Make-4.0 directory quoting. (Bug#15678)
2886
2887 2013-10-23 Leo Liu <sdl.web@gmail.com>
2888
2889 * ido.el (ido-tidy): Handle read-only text.
2890
2891 2013-10-23 Glenn Morris <rgm@gnu.org>
2892
2893 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2894 (emacs, compile, compile-always):
2895 Quote entities that might contain whitespace.
2896 (custom-deps, finder-data, autoloads): Use abs_lisp.
2897 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2898 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2899 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2900
2901 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2902
2903 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2904 Use `following-char'.
2905
2906 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2907
2908 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2909 * progmodes/ruby-mode.el (ruby-smie-rules):
2910 Remove corresponding workaround. Fix indentation rule of ";" so it
2911 also applies when ";" is the parent.
2912
2913 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2914
2915 * frame.el (display-screens, display-pixel-height)
2916 (display-pixel-width, display-mm-width, display-backing-store)
2917 (display-save-under, display-planes, display-color-cells)
2918 (display-visual-class, display-monitor-attributes-list):
2919 Mention the optional ‘display’ argument in doc strings.
2920
2921 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2922
2923 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2924 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2925
2926 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2927
2928 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2929 TODO. Add "." after " @ ".
2930 (ruby-smie--at-dot-call): New function. Checks if point at method
2931 call with explicit target.
2932 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2933 to the method name tokens when it precedes them.
2934 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2935 (ruby-smie-rules): Add rule for indentation before and after "."
2936 token.
2937
2938 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2939
2940 * textmodes/remember.el (remember-diary-extract-entries):
2941 Avoid add-to-list.
2942
2943 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2944 an instruction.
2945
2946 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2947
2948 * progmodes/ruby-mode.el (ruby-smie-grammar):
2949 Add (almost) all infix operators.
2950 (ruby-smie--implicit-semi-p): Add new operator chars.
2951
2952 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2953 `smie-down-list'.
2954 (ruby-smie--args-separator-p): Check that there's no newline
2955 between method call and its arguments.
2956
2957 2013-10-20 Alan Mackenzie <acm@muc.de>
2958
2959 Allow comma separated lists after Java "implements".
2960
2961 * progmodes/cc-engine.el (c-backward-over-enum-header):
2962 Parse commas.
2963 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2964 from a "disallowed" list in enum fontification.
2965
2966 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2967
2968 * startup.el (default-frame-background-mode): Remove unused defvar.
2969
2970 * progmodes/verilog-mode.el (verilog-mode): Don't set
2971 comment-indent-function globally.
2972
2973 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2974
2975 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2976 Move Info menu item creation to ns-win.el.
2977
2978 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2979 in menu bar.
2980
2981 * menu-bar.el: Move GNUStep specific menus...
2982
2983 * term/ns-win.el (ns-initialize-window-system): ... to here.
2984
2985 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2986
2987 * simple.el (newline): Only run post-self-insert-hook when
2988 called interactively.
2989
2990 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2991
2992 * icomplete.el (icomplete-with-completion-tables): Add :version.
2993
2994 2013-10-19 Alan Mackenzie <acm@muc.de>
2995
2996 Fix fontification bugs with constructors and const.
2997
2998 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2999 CASE 2) Remove the check for the absence of a suffix construct
3000 after a function declaration with only types (no identifiers) in
3001 the parentheses. Also, accept a function declaration with just a
3002 type inside the parentheses, if this type can be positively
3003 recognised as such, or if a prefix keyword like "explicit" nails
3004 down the construct as a declaration.
3005
3006 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3007
3008 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3009 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3010 the problem whereby selecting a menu item that leads to a
3011 minibuffer prompt moves the cursor out of the minibuffer window,
3012 making it hard to type at the prompt. Suggested by Stefan Monnier
3013 <monnier@iro.umontreal.ca>.
3014
3015 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3016
3017 * menu-bar.el: Don't make Services menu.
3018
3019 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3020
3021 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3022 (ffap-alist): Use ffap-c++-mode for c++-mode.
3023 (ffap-c++-path): New variable.
3024 (ffap-c++-mode): New function.
3025
3026 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3027
3028 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3029
3030 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3031
3032 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3033 introduced on 2013-09-08, which results in an infinite loop
3034 requesting a password.
3035
3036 2013-10-18 Glenn Morris <rgm@gnu.org>
3037
3038 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3039
3040 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3041
3042 Sync with upstream verilog-mode revision 1a6ecec7.
3043 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3044 (verilog-mode-release-date): Remove.
3045 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3046 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3047 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3048 (verilog-auto-tieoff-ignore-regexp)
3049 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3050 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3051 (verilog-signals-with, verilog-dir-cache-preserving)
3052 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3053 Doc fixes.
3054 (verilog-case-fold): New option, to control case folding in
3055 regexp searches, bug597.
3056 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3057 (verilog-string-match-fold, verilog-in-paren-count)
3058 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3059 (verilog-at-close-struct-p): New functions.
3060 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3061 (verilog-forward-sexp, verilog-set-auto-endcomments):
3062 (verilog-leap-to-case-head): Handle "unique0" case.
3063 (verilog-in-constraint-re): New constant.
3064 (verilog-keywords, verilog-type-font-keywords):
3065 Add some SystemVerilog 1800-2012 keywords.
3066 (verilog-label-be): Remove unimplemented argument, bug669.
3067 (verilog-batch-execute-func): When batch expanding clear
3068 create-lockfiles to prevent spurious user locks when a file ends
3069 up not changing.
3070 (verilog-calculate-indent, verilog-calc-1)
3071 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3072 (verilog-do-indent): Fix indentation of nested constraints
3073 and structures.
3074 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3075 (verilog-auto-inst-param): Use verilog-string-match-fold.
3076 (verilog-read-inst-module-matcher):
3077 Fix AUTOINST on gate primitives with #1.
3078 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3079 Reads all user-defined typed variables.
3080 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3081 (verilog-signals-matching-regexp)
3082 (verilog-signals-not-matching-regexp, verilog-auto):
3083 Respect verilog-case-fold.
3084 (verilog-diff-report): Fix line count.
3085 (verilog-auto-assign-modport): Remove unused local `modi'.
3086 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3087 better handle multidimensional arrays.
3088 Fix packed array ports misadding bit index in AUTOINST, bug637.
3089 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3090 to not double-declare existing outputs and inputs, respectively.
3091 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3092 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3093 (verilog-sk-uvm-component): New skeleton.
3094 (verilog-submit-bug-report): Add verilog-case-fold,
3095 remove verilog-mode-release-date.
3096
3097 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3098
3099 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3100 as before.
3101
3102 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3103
3104 * textmodes/remember.el (remember): Set buffer-offer-save in
3105 remember buffers (bug#13566).
3106
3107 2013-10-18 Daniel Colascione <dancol@dancol.org>
3108
3109 When evaluating forms in ielm, direct standard output to ielm
3110 buffer. Add new ielm-return-for-effect command. Remove trailing
3111 whitespace throughout.
3112
3113 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3114 (ielm-return-for-effect): New command.
3115 (ielm-send-input): Accept optional `for-effect' parameter.
3116 (ielm-eval-input): Accept optional `for-effect' parameter.
3117 Bind `standard-output' to stream we create using
3118 `ielm-standard-output-impl'. Suppress printing result when
3119 `for-effect'.
3120 (ielm-standard-output-impl): New function.
3121 (inferior-emacs-lisp-mode): Explain new features in documentation.
3122
3123 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3124
3125 Code cleanup.
3126
3127 * net/tramp.el (tramp-debug-message): Do not check for connection
3128 buffer.
3129 (tramp-message): Use "vector" connection property.
3130
3131 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3132 (tramp-equal-remote, tramp-eshell-directory-change)
3133 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3134 (tramp-adb-handle-rename-file)
3135 * net/tramp-cmds.el (tramp-list-remote-buffers)
3136 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3137 * net/tramp-compat.el (tramp-compat-process-running-p)
3138 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3139 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3140 (tramp-gvfs-handle-rename-file)
3141 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3142 (tramp-set-file-uid-gid)
3143 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3144 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3145 of `file-remote-p'.
3146
3147 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3148 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3149 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3150 (tramp-gw-open-network-stream): Suppress unrelated traces.
3151
3152 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3153 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3154 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3155 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3156 connection property.
3157
3158 * net/tramp-cache.el (top): Suppress traces when reading
3159 persistency file.
3160
3161 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3162 Refactor common code. Improve debug message.
3163 (tramp-maybe-open-connection)
3164 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3165 connection buffer too early.
3166
3167 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3168 from `tramp-smb-actions-with-acl'.
3169 (tramp-smb-actions-set-acl): New defconst.
3170 (tramp-smb-handle-copy-directory)
3171 (tramp-smb-action-get-acl): New defun, renamed from
3172 `tramp-smb-action-with-acl'.
3173 (tramp-smb-action-set-acl): New defun.
3174 (tramp-smb-handle-set-file-acl): Rewrite.
3175
3176 2013-10-17 Glenn Morris <rgm@gnu.org>
3177
3178 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3179
3180 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3181
3182 * skeleton.el (skeleton-newline): Remove.
3183 (skeleton-internal-1): Use (insert "\n") instead.
3184
3185 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3186 let-bindings.
3187
3188 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3189 forward-sexp-function while we redo its job (bug#15613).
3190
3191 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3192
3193 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3194 represented by lists.
3195
3196 2013-10-16 Glenn Morris <rgm@gnu.org>
3197
3198 * tmm.el (tmm--history): New dynamic variable.
3199 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3200
3201 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3202
3203 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3204 (tramp-smb-errors): Add error messages.
3205 (tramp-smb-actions-with-acl): New defconst.
3206 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3207 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3208 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3209 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3210 (tramp-smb-get-stat-capability): Fix tests.
3211
3212 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3213
3214 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3215 (bug#15580).
3216
3217 2013-10-16 Glenn Morris <rgm@gnu.org>
3218
3219 * ansi-color.el (ansi-color-drop-regexp):
3220 Add 1J, 1K, 2K. (Bug#15617)
3221
3222 * files.el (hack-local-variables--warned-lexical): New.
3223 (hack-local-variables):
3224 Warn about misplaced lexical-binding. (Bug#15616)
3225
3226 * net/eww.el (eww-render): Always set eww-current-url,
3227 and update header line. (Bug#15622)
3228 (eww-display-html): ... Rather than just doing it here.
3229
3230 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3231
3232 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3233 menu navigations commands.
3234
3235 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3236
3237 * progmodes/subword.el (subword-capitalize): Be careful when
3238 the search for [[:alpha:]] fails (bug#15580).
3239
3240 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3241
3242 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3243 to commands that scroll the menu.
3244
3245 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3246
3247 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3248 Handle methods ending with `?' and `!'.
3249
3250 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3251
3252 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3253 `japanese-cp932' to `cp932' to fix the problem where saving a
3254 source file written in Shift_JIS twice would end up having
3255 `coding: japanese-cp932' which Ruby could not recognize.
3256 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3257 in `ruby-encoding-map'.
3258 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3259 doesn't need to be explicitly declared in magic comment.
3260 (ruby-encoding-map): Add type declaration for better customize UI.
3261
3262 2013-10-13 Glenn Morris <rgm@gnu.org>
3263
3264 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3265 Occur buffers are read-only. http://bugs.debian.org/720775
3266
3267 * emacs-lisp/authors.el (authors-fixed-entries):
3268 Comment out old alpha stuff.
3269
3270 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3271
3272 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3273 to `after-save-hook' instead of `before-save-hook'.
3274 (ruby-mode-set-encoding): Use the value of coding system used to
3275 write the file. Call `basic-save-buffer-1' after modifying the
3276 buffer.
3277
3278 2013-10-13 Alan Mackenzie <acm@muc.de>
3279
3280 Fix indentation/fontification of Java enum with
3281 "implements"/generic.
3282
3283 * progmodes/cc-engine.el (c-backward-over-enum-header):
3284 Extracted from the three other places and enhanced to handle generics.
3285 (c-inside-bracelist-p): Uses new function above.
3286 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3287 function above.
3288 (c-font-lock-enum-tail): Uses new function above.
3289
3290 2013-10-13 Kenichi Handa <handa@gnu.org>
3291
3292 * international/mule-cmds.el (select-safe-coding-system): Remove a
3293 superfluous condition in chekcing whether a coding system is safe
3294 or not.
3295
3296 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3297
3298 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3299
3300 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3301
3302 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3303
3304 2013-10-13 Glenn Morris <rgm@gnu.org>
3305
3306 * menu-bar.el (menu-bar-update-buffers):
3307 Unify Buffers menu prompt string. (Bug#15576)
3308
3309 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3310
3311 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3312 Add some entries.
3313 (authors-fixed-entries): Use accented form of name.
3314
3315 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3316
3317 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3318 method calls (bug#15594).
3319 (ruby-smie--args-separator-p): New function.
3320 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3321 recognize paren-free method calls.
3322
3323 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3324 internals of universal-argument.
3325
3326 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3327
3328 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3329 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3330 dropped menu on second mouse click on the menu bar.
3331
3332 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3333
3334 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3335 (explicit-shell-file-name): Declare.
3336 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3337 (sh-completion-at-point-function): New function.
3338 (sh-mode): Use it.
3339 (sh-smie--keyword-p): Remove unused argument.
3340 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3341 vars.
3342 (sh-set-shell): Always setup SMIE, even if we use the
3343 old indentation code.
3344
3345 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3346
3347 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3348 cases of ? and =.
3349 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3350 predicate would return nil are almost non-existent.
3351 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3352
3353 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3354 cache also after commands that modify the buffer but don't move
3355 point.
3356
3357 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3358
3359 * env.el (substitute-env-in-file-name): New function.
3360 (substitute-env-vars): Extend the meaning of the optional arg.
3361
3362 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3363
3364 * term/w32-win.el (dynamic-library-alist): Define separate lists
3365 of GIF DLLs for versions before and after 5.0.0 of giflib.
3366 (Bug#15531)
3367
3368 2013-10-10 João Távora <joaotavora@gmail.com>
3369
3370 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3371 not locked, use last revision and current source as
3372 defaults. (Bug#15569)
3373
3374 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3375
3376 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3377 menu-bar is hidden.
3378
3379 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3380
3381 * window.el (pop-to-buffer-same-window): Fix doc-string.
3382 (Bug#15492)
3383
3384 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3385
3386 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3387
3388 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3389
3390 * calendar/icalendar.el (icalendar-import-file):
3391 Fix interactive spec. (Bug#15482)
3392
3393 2013-10-10 Glenn Morris <rgm@gnu.org>
3394
3395 * desktop.el (desktop-save): Default to saving in .emacs.d,
3396 since PWD is no longer in desktop-path by default. (Bug#15319)
3397
3398 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3399 now that text mode has a menu with the same entry.
3400 (menu-bar-text-mode-auto-fill): Remove now unused func.
3401 * textmodes/text-mode.el (text-mode-map):
3402 Use auto-fill help text from menu-bar.el.
3403
3404 2013-10-10 John Anthony <john@jo.hnanthony.com>
3405
3406 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3407
3408 2013-10-09 Juri Linkov <juri@jurta.org>
3409
3410 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3411 instead of this-command-keys. Add universal-argument-more and
3412 universal-argument-minus to the list of prefix commands. (Bug#15568)
3413
3414 2013-10-09 Glenn Morris <rgm@gnu.org>
3415
3416 * vc/vc-svn.el (vc-svn-create-repo):
3417 Expand paths in file://... url. (Bug#15446)
3418
3419 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3420 Add some entries.
3421 (authors): Remove unused local variables.
3422
3423 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3424
3425 * profiler.el: Create a more coherent calltree from partial backtraces.
3426 (profiler-format): Hide the tail with `invisible' so that C-s can still
3427 find the hidden elements.
3428 (profiler-calltree-depth): Don't recurse so enthusiastically.
3429 (profiler-function-equal): New hash-table-test.
3430 (profiler-calltree-build-unified): New function.
3431 (profiler-calltree-build): Use it.
3432 (profiler-report-make-name-part): Indent the calltree less.
3433 (profiler-report-mode): Add visibility specs for profiler-format.
3434 (profiler-report-expand-entry, profiler-report-toggle-entry):
3435 Expand the whole subtree when provided with a prefix arg.
3436
3437 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3438
3439 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3440 iuwu-mod token.
3441 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3442 hanging iuwu-mod token.
3443 (ruby-smie--forward-token): Do not include a dot after a token in
3444 that token.
3445 (ruby-smie--backward-token): Likewise.
3446
3447 2013-10-08 Juri Linkov <juri@jurta.org>
3448
3449 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3450 to isearch-other-control-char.
3451 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3452 and isearch-post-command-hook to post-command-hook.
3453 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3454 and isearch-post-command-hook from post-command-hook.
3455 (isearch-unread-key-sequence)
3456 (isearch-reread-key-sequence-naturally)
3457 (isearch-lookup-scroll-key, isearch-other-control-char)
3458 (isearch-other-meta-char): Remove functions.
3459 (isearch-pre-command-hook, isearch-post-command-hook):
3460 New functions based on isearch-other-meta-char rewritten
3461 relying on the new behavior of overriding-terminal-local-map
3462 that does not replace the local keymaps any more. (Bug#15200)
3463
3464 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3465
3466 Support menus on text-mode terminals.
3467 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3468 functionality.
3469
3470 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3471
3472 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3473 Move here from mouse.el.
3474 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3475 and arrow keys.
3476 (tty-menu-navigation-map): New map for TTY menu navigation.
3477
3478 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3479
3480 * frame.el (display-mouse-p): Report text-mode mouse as available
3481 on w32.
3482 (display-popup-menus-p): Report availability if mouse is
3483 available; don't condition on window-system.
3484
3485 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3486 (tty-menu-selected-face): New faces.
3487
3488 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3489
3490 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3491 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3492 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3493 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3494 New constants.
3495 (lisp-mode-variables): New `elisp' argument.
3496 (emacs-lisp-mode): Use it.
3497 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3498 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3499
3500 * indent.el: Use lexical-binding.
3501 (indent-region): Add progress reporter.
3502 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3503 last step.
3504 (indent--next-tab-stop): New function to implement this behavior.
3505 (tab-to-tab-stop, move-to-tab-stop): Use it.
3506
3507 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3508
3509 * indent.el (indent-rigidly--current-indentation): New function.
3510 (indent-rigidly-map): New var.
3511 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3512
3513 2013-10-08 Bastien Guerry <bzg@gnu.org>
3514
3515 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3516
3517 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3518
3519 * progmodes/perl-mode.el: Use lexical-binding.
3520 Remove redundant :group args.
3521 (perl-nochange): Change default to be closer to other major modes's
3522 standard behavior.
3523 (perl-indent-line): Don't consider text on current line as a
3524 valid beginning of function from which to indent.
3525
3526 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3527 with more than one argument (bug#15538).
3528
3529 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3530
3531 * vc/pcvs.el: Use lexical-binding.
3532 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3533 environment of `eval'.
3534 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3535 than a list of expressions. Adjust callers.
3536 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3537
3538 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3539
3540 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3541 case of the dot in a chained method call being on the following line.
3542
3543 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3544
3545 * electric.el (electric-indent-inhibit): New var.
3546 (electric-indent-post-self-insert-function): Use it.
3547 * progmodes/python.el (python-mode): Set it.
3548
3549 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3550 open braces.
3551
3552 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3553
3554 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3555 (css-mode): Use electric-indent-chars.
3556
3557 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3558 (font-lock-beg, font-lock-end): Move before first use.
3559 (nxml-mode): Use syntax-propertize-function.
3560 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3561 (nxml-extend-after-change-region): Remove.
3562 * nxml/xmltok.el: Use lexical-binding.
3563 (xmltok-save): Use `declare'.
3564 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3565 * nxml/nxml-util.el: Use lexical-binding.
3566 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3567 Use `declare'.
3568 * nxml/nxml-ns.el: Use lexical-binding.
3569 (nxml-ns-save): Use `declare'.
3570 (nxml-ns-prefixes-for): Avoid add-to-list.
3571 * nxml/rng-match.el: Use lexical-binding.
3572 (rng--ipattern): Use cl-defstruct.
3573 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3574 (rng-cons-group-after, rng-subst-group-after)
3575 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3576 Use closures instead of `(lambda...).
3577
3578 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3579
3580 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3581 of BEG and END.
3582
3583 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3584 Use `tramp-handle-insert-file-contents'.
3585 (tramp-gvfs-handle-insert-file-contents): Remove function.
3586
3587 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3588 Use `save-restriction' in order to keep markers.
3589
3590 * net/trampver.el: Update release number.
3591
3592 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3593
3594 * progmodes/compile.el (compilation-parse-errors):
3595 Use compilation--put-prop.
3596 (compilation--ensure-parse): Check compilation-multiline.
3597
3598 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3599
3600 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3601 lexical-binding.
3602
3603 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3604
3605 * progmodes/ruby-mode.el: Fix recently added tests.
3606 (ruby-smie-grammar): Add - and +.
3607 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3608 (ruby-smie--backward-id): New functions.
3609 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3610 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3611 any more.
3612
3613 2013-10-07 Leo Liu <sdl.web@gmail.com>
3614
3615 * register.el (register-preview-delay)
3616 (register-preview-functions): New variables.
3617 (register-read-with-preview, register-preview)
3618 (register-describe-oneline): New functions.
3619 (point-to-register, window-configuration-to-register)
3620 (frame-configuration-to-register, jump-to-register)
3621 (number-to-register, view-register, insert-register)
3622 (copy-to-register, append-to-register, prepend-to-register)
3623 (copy-rectangle-to-register): Use register-read-with-preview to
3624 read register. (Bug#15525)
3625
3626 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3627
3628 * net/network-stream.el (network-stream-open-starttls): Don't add
3629 --insecure if it's already present, because that gnutls-cli
3630 rejects getting that parameter twice.
3631
3632 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3633
3634 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3635 keyword, too.
3636
3637 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3638
3639 * newcomment.el (comment-use-global-state): Change default value
3640 to t, mark obsolete (Bug#15251).
3641 (comment-beginning): In addition to `comment-to-syntax', check the
3642 value of `comment-use-global-state'.
3643
3644 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3645
3646 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3647 (ruby-comment-column): Follow the global default, by default.
3648 (ruby-smie-grammar): Add assignment syntax.
3649 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3650 open-paren, a comma, or a \.
3651 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3652 and line continuations.
3653 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3654 followed by implicit semi-colons. Add rule for string concatenation
3655 and for indentation at BOB.
3656 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3657
3658 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3659 calling next-sexp, since next-token may have skipped chars which
3660 next-sexp doesn't know should be skipped!
3661
3662 2013-10-05 Leo Liu <sdl.web@gmail.com>
3663
3664 * progmodes/octave.el (octave-send-region):
3665 Call compilation-forget-errors.
3666
3667 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3668
3669 * vc/vc-svn.el (vc-svn-find-admin-dir):
3670 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3671 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3672 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3673 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3674
3675 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3676
3677 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3678
3679 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3680
3681 * subr.el (read-passwd): Hide chars even when called within a context
3682 where after-change-functions is disabled (bug#15501).
3683 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3684 until we removed ourself from overriding-terminal-local-map.
3685
3686 2013-10-04 Leo Liu <sdl.web@gmail.com>
3687
3688 * progmodes/octave.el (inferior-octave-mode):
3689 Call compilation-forget-errors.
3690
3691 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3692
3693 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3694
3695 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3696
3697 * net/secrets.el (secrets-create-collection): Add optional
3698 argument ALIAS. Use proper Label keyword. Append ALIAS as
3699 dbus-call-method argument. (Bug#15516)
3700
3701 2013-10-04 Leo Liu <sdl.web@gmail.com>
3702
3703 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3704 (inferior-octave-compilation-font-lock-keywords): New variables.
3705 (compilation-error-regexp-alist)
3706 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3707 (inferior-octave-mode): Use compilation-shell-minor-mode.
3708
3709 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3710
3711 * minibuffer.el (completion--replace): Be careful that `end' might be
3712 a marker.
3713
3714 2013-10-03 Daiki Ueno <ueno@gnu.org>
3715
3716 Add support for package signature checking.
3717 * emacs-lisp/package.el (url-http-file-exists-p)
3718 (epg-make-context, epg-context-set-home-directory)
3719 (epg-verify-string, epg-context-result-for)
3720 (epg-signature-status, epg-signature-to-string)
3721 (epg-check-configuration, epg-configuration)
3722 (epg-import-keys-from-file): Declare.
3723 (package-check-signature): New user option.
3724 (package-unsigned-archives): New user option.
3725 (package-desc): Add `signed' field.
3726 (package-load-descriptor): Set `signed' field if .signed file exists.
3727 (package--archive-file-exists-p): New function.
3728 (package--check-signature): New function.
3729 (package-install-from-archive): Check package signature.
3730 (package--download-one-archive): Check archive signature.
3731 (package-delete): Remove .signed file.
3732 (package-import-keyring): New command.
3733 (package-refresh-contents): Import default keyring.
3734 (package-desc-status): Add "unsigned" status.
3735 (describe-package-1, package-menu--print-info)
3736 (package-menu-mark-delete, package-menu--find-upgrades)
3737 (package-menu--status-predicate): Support "unsigned" status.
3738
3739 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3740
3741 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3742 the new compilation scheme using the new byte-codes.
3743
3744 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3745 (byte-pophandler): New byte codes.
3746 (byte-goto-ops): Adjust accordingly.
3747 (byte-compile--use-old-handlers): New var.
3748 (byte-compile-catch): Use new byte codes depending on
3749 byte-compile--use-old-handlers.
3750 (byte-compile-condition-case--old): Rename from
3751 byte-compile-condition-case.
3752 (byte-compile-condition-case--new): New function.
3753 (byte-compile-condition-case): New function that dispatches depending
3754 on byte-compile--use-old-handlers.
3755 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3756 when we can.
3757
3758 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3759 Optimize under `condition-case' and `catch' if
3760 byte-compile--use-old-handlers is nil.
3761 (disassemble-offset): Handle new bytecodes.
3762
3763 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3764
3765 * subr.el (error): Use `declare'.
3766 (decode-char, encode-char): Use advertised-calling-convention instead
3767 of the docstring to discourage use of the `restriction' arg.
3768
3769 2013-10-03 Daiki Ueno <ueno@gnu.org>
3770
3771 * epg.el (epg-verify-file): Add a comment saying that it does not
3772 notify verification error as a return value nor a signal.
3773 (epg-verify-string): Ditto.
3774
3775 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3776
3777 * progmodes/compile.el (compilation-start): Try globbing the arg to
3778 `cd' (bug#15417).
3779
3780 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3781
3782 Sync with Tramp 2.2.8.
3783
3784 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3785 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3786 * net/trampver.el: Update release number.
3787
3788 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3789
3790 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3791 and default-process-coding-system for darwin only.
3792
3793 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3794
3795 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3796
3797 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3798
3799 * vc/vc-git.el (vc-git-grep): Disable pager.
3800
3801 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3802
3803 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3804 Use :url instead of :homepage, as per
3805 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3806
3807 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3808 non-nil, use `syntax-ppss' (Bug#15251).
3809
3810 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3811
3812 * progmodes/octave.el (inferior-octave-startup-file):
3813 Prefer ~/.emacs.d/init_octave.m.
3814
3815 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3816
3817 * emacs-lisp/package.el (package-desc-from-define):
3818 Accept additional arguments as plist, convert them to an alist and store
3819 them in the `extras' slot.
3820 (package-generate-description-file): Convert extras alist back to
3821 plist and append to the `define-package' form arguments.
3822 (package--alist-to-plist): New function.
3823 (package--ac-desc): Add `extras' slot.
3824 (package--add-to-archive-contents): Check if the archive-contents
3825 vector is long enough, and if it is, pass its `extras' slot value
3826 to `package-desc-create'.
3827 (package-buffer-info): Call `lm-homepage', pass the returned value
3828 to `package-desc-from-define'.
3829 (describe-package-1): Render the homepage button (Bug#13291).
3830
3831 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3832 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3833
3834 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3835
3836 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3837 and default-process-coding-system to utf-8-unix (Bug#15402).
3838
3839 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3840
3841 * subr.el (looking-back): Do not recommend using looking-back.
3842
3843 2013-09-28 Alan Mackenzie <acm@muc.de>
3844
3845 Fix indentation/fontification of Java enum with "implements".
3846
3847 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3848 regexp which matches "implements", etc., in Java.
3849 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3850 specifier clauses coming after "enum".
3851 * progmodes/cc-fonts.el (c-font-lock-declarations)
3852 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3853 after "enum".
3854
3855 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3856
3857 * faces.el (region): Change ns_selection_color to
3858 ns_selection_fg_color, add ns_selection_bg_color.
3859
3860 2013-09-28 Leo Liu <sdl.web@gmail.com>
3861
3862 * progmodes/octave.el (inferior-octave-completion-table)
3863 (inferior-octave-completion-at-point): Minor tweaks.
3864
3865 * textmodes/ispell.el (ispell-lookup-words): Rename from
3866 lookup-words. (Bug#15460)
3867 (lookup-words): Obsolete.
3868 (ispell-complete-word, ispell-command-loop): All uses changed.
3869
3870 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3871
3872 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3873 (octave-mode-menu): Add octave-send-buffer.
3874 (octave-send-buffer): New function.
3875
3876 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3877
3878 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3879 octave-lookfor.
3880 (octave-mode-menu): Add octave-lookfor.
3881 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3882 octave-lookfor.
3883 (octave-lookfor): New function.
3884
3885 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3886
3887 * emacs-lisp/cl-macs.el:
3888 (cl--loop-destr-temps): Remove.
3889 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3890 its convention.
3891 (cl--loop-set-iterator-function): New function.
3892 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3893 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3894 Bind `it' with `let' instead of substituting it with `cl-subst'.
3895 (cl--unused-var-p): New function.
3896 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3897 Eliminate some unused variable warnings (bug#15326).
3898
3899 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3900
3901 * doc-view.el (doc-view-scale-reset): Rename from
3902 `doc-view-reset-zoom-level'.
3903 (doc-view-scale-adjust): New command.
3904 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3905 `doc-view-scale-adjust'.
3906
3907 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3908
3909 * doc-view.el (doc-view-reset-zoom-level): New command.
3910 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3911 zoom commands (bug#15466).
3912
3913 2013-09-26 Kenichi Handa <handa@gnu.org>
3914
3915 * international/quail.el (quail-help): Make it not a command.
3916
3917 2013-09-26 Leo Liu <sdl.web@gmail.com>
3918
3919 * minibuffer.el (completion-all-sorted-completions): Make args
3920 optional as they are.
3921
3922 2013-09-25 Daniel Colascione <dancol@dancol.org>
3923
3924 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3925 specs are and that they're not evaluated.
3926
3927 2013-09-24 Sam Steingold <sds@gnu.org>
3928
3929 * midnight.el (clean-buffer-list-kill-regexps)
3930 (clean-buffer-list-kill-buffer-names): Update for the new Man
3931 buffer naming which includes the object name.
3932
3933 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3934
3935 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3936 (eshell-parse-command, eshell-parse-pipeline): Use it since
3937 eshell-separate-commands requires a dynamic scoped var.
3938 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3939
3940 2013-09-23 Leo Liu <sdl.web@gmail.com>
3941
3942 * autoinsert.el (auto-insert-alist): Make the value of
3943 lexical-binding match its file setting.
3944
3945 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3946
3947 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3948
3949 * autoarg.el (autoarg-kp-digit-argument):
3950 * electric.el (Electric-command-loop):
3951 * kmacro.el (kmacro-step-edit-insert):
3952 Do not set universal-argument-num-events.
3953
3954 2013-09-22 Leo Liu <sdl.web@gmail.com>
3955
3956 * files.el (interpreter-mode-alist): Add octave.
3957
3958 2013-09-21 Alan Mackenzie <acm@muc.de>
3959
3960 C++: fontify identifier in declaration following "public:" correctly.
3961 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3962 to match "public", etc.
3963 (c-decl-prefix-re): Add ":" into the C++ value.
3964 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3965 bit. Add a check for a ":" preceded by "public", etc.
3966
3967 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3968
3969 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3970 recognized by GDB 7.5 and later.
3971
3972 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3973
3974 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3975
3976 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3977
3978 * subr.el (internal--call-interactively): New const.
3979 (called-interactively-p): Use it (bug#3984).
3980
3981 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3982
3983 * vc/pcvs.el (cvs-mode-ignore):
3984 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3985 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3986
3987 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3988
3989 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3990 (eshell-ls-orig-insert-directory): Remove.
3991 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3992 (eshell-ls-use-in-dired): Use advice-add/remove.
3993 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3994 Add `orig-fun' arg for use in :around advice.
3995 Make it check (redundantly) eshell-ls-use-in-dired.
3996
3997 2013-09-19 Glenn Morris <rgm@gnu.org>
3998
3999 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4000
4001 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4002
4003 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4004
4005 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4006
4007 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4008 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4009 (tramp-get-remote-python): New defuns.
4010 (tramp-get-remote-uid-with-perl)
4011 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4012 contributed by yary <not.com@gmail.com> (tiny change).
4013 (tramp-get-remote-uid-with-python)
4014 (tramp-get-remote-gid-with-python): New defuns. Python code
4015 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4016 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4017
4018 2013-09-19 Glenn Morris <rgm@gnu.org>
4019
4020 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4021
4022 * eshell/em-unix.el (eshell-remove-entries):
4023 Rename argument to avoid name-clash with global `top-level'.
4024
4025 * eshell/esh-proc.el (eshell-kill-process-function):
4026 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4027 (eshell-reset-after-proc): Remove unused arg `proc'.
4028
4029 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4030 (directory-files-and-attributes): Mark unused arg.
4031
4032 * eshell/em-unix.el (eshell-remove-entries):
4033 Remove unused arg `path'. Update callers.
4034
4035 * eshell/em-hist.el (eshell-hist-parse-arguments):
4036 Remove unused arg `silent'. Update callers.
4037
4038 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4039 Fix (f)boundp mix-up.
4040
4041 * eshell/em-smart.el (eshell-smart-scroll-window)
4042 (eshell-disable-after-change):
4043 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4044
4045 2013-09-18 Alan Mackenzie <acm@muc.de>
4046
4047 Fix fontification of type when followed by "const".
4048 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4049 "known" types from fontification.
4050
4051 2013-09-18 Glenn Morris <rgm@gnu.org>
4052
4053 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4054 (chart-face-list): Drop Emacsen without display-color-p.
4055
4056 * net/eww.el (libxml-parse-html-region): Declare.
4057 (eww-display-html): Explicit error if no libxml2 support.
4058
4059 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4060
4061 * image.el (image-type-from-buffer, image-multi-frame-p):
4062 Remove --without-x warning/error.
4063
4064 * mouse.el (mouse-yank-primary):
4065 * term.el (term-mouse-paste):
4066 Reorder to silence --without-x compilation.
4067
4068 * mpc.el (doc-view-mode): Silence --without-x compilation.
4069
4070 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4071 Silence --without-x compilation.
4072
4073 * progmodes/gud.el (gud-find-file, gud-mode):
4074 Silence --without-x compilation.
4075 (tooltip-mode): Declare.
4076
4077 * wdired.el (dired-backup-overwrite): Remove declaration.
4078 (wdired-mode-map): Add doc string.
4079
4080 * custom.el (x-get-resource): Declare.
4081
4082 * eshell/em-glob.el (ange-cache):
4083 * eshell/em-unix.el (ange-cache): Declare.
4084
4085 * faces.el (x-display-list, x-open-connection, x-get-resource):
4086 Declare.
4087
4088 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4089 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4090 Declare.
4091
4092 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4093
4094 * net/gnutls.el (gnutls-log-level): Declare.
4095
4096 * net/shr.el (image-size, image-animate): Declare.
4097
4098 * simple.el (font-info): Declare.
4099
4100 * subr.el (x-popup-dialog): Declare.
4101
4102 * term/common-win.el (x-select-enable-primary)
4103 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4104 Declare.
4105
4106 * term/ns-win.el (x-handle-args): Declare.
4107
4108 * term/x-win.el (x-select-enable-clipboard): Declare.
4109
4110 * term/w32-win.el (create-default-fontset): Declare.
4111
4112 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4113 Declare.
4114
4115 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4116 (fit-frame-to-buffer): Explicit error if --without-x.
4117 (mouse-autoselect-window-select): Silence compiler.
4118
4119 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4120
4121 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4122 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4123 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4124 * eshell/esh-util.el (eshell-sublist):
4125 Remove unused local variables.
4126
4127 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4128
4129 * textmodes/two-column.el: Make 2C-split work for --without-x.
4130 (scroll-bar-columns): Autoload.
4131 (top-level): Require fringe when compiling.
4132
4133 2013-09-18 Leo Liu <sdl.web@gmail.com>
4134
4135 * subr.el (add-hook): Robustify to handle closure as well.
4136
4137 2013-09-17 Glenn Morris <rgm@gnu.org>
4138
4139 * simple.el (messages-buffer-mode-map): Unbind "g".
4140
4141 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4142
4143 * help-mode.el (help-mode-finish): Use derived-mode-p.
4144 Remove obsolete highlighting.
4145
4146 * play/life.el (life-mode): Use define-derived-mode. Derive from
4147 special-mode.
4148 (life): Let-bind inhibit-read-only.
4149 (life-setup): Avoid `setq'. Use `life-mode'.
4150
4151 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4152 which should not be needed any more.
4153 (package-menu-refresh, package-menu-describe-package): Use user-error.
4154
4155 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4156 (eshell-post-rewrite-command-hook): Make obsolete.
4157 (eshell-parse-command): Simplify.
4158 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4159 (eshell--cmd): Declare.
4160 (eshell-parse-pipeline): Remove unused var `final-p'.
4161 Pass a dynvar to eshell-post-rewrite-command-hook.
4162 Implement the new eshell-post-rewrite-command-function.
4163 (eshell-invoke-directly): Remove unused arg `input'.
4164 * eshell/esh-io.el (eshell-io-initialize):
4165 Use eshell-post-rewrite-command-function (bug#15399).
4166 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4167 adjust to new calling convention.
4168 (eshell-create-handles): Rename args to avoid clashing with dynvar
4169 `standard-output'.
4170
4171 2013-09-17 Glenn Morris <rgm@gnu.org>
4172
4173 * simple.el (messages-buffer-mode): New major mode.
4174 (messages-buffer): New function.
4175 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4176 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4177 (ert-run-test): Use `messages-buffer' function.
4178 (ert--force-message-log-buffer-truncation): Ignore read-only.
4179 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4180 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4181
4182 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4183
4184 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4185
4186 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4187
4188 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4189
4190 * icomplete.el (icomplete-in-buffer): New var.
4191 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4192 vars and replace them with functions.
4193 (icomplete-minibuffer-setup): Adjust accordingly.
4194 (icomplete--completion-table, icomplete--completion-predicate)
4195 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4196 New functions.
4197 (icomplete-forward-completions, icomplete-backward-completions)
4198 (icomplete-simple-completing-p, icomplete-exhibit)
4199 (icomplete-completions): Use them.
4200 (icomplete--in-region-buffer): New var.
4201 (icomplete--in-region-setup): New function.
4202 (icomplete-mode): Use it.
4203
4204 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4205 (bug#15379).
4206 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4207 return args and options.
4208 (eshell-eval-using-options): Use the new return value of
4209 eshell--do-opts to set the options's vars in their scope.
4210 (eshell--set-option): Rename from eshell-set-option.
4211 Add arg `opt-vals'.
4212 (eshell--process-option): Rename from eshell-process-option.
4213 Add arg `opt-vals'.
4214 (eshell--process-args): Use an `opt-vals' alist to store the options's
4215 values during their processing and return them additionally to the
4216 remaining args.
4217
4218 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4219
4220 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4221 continuation character an operator, as far as indentation is
4222 concerned (Bug#15369).
4223
4224 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4225
4226 * window.el (window--state-put-2): Don't process buffer state
4227 when buffer doesn't exist any more (Bug#15382).
4228
4229 2013-09-15 Glenn Morris <rgm@gnu.org>
4230
4231 * eshell/em-unix.el (eshell/rm):
4232 Make -f ignore missing files. (Bug#15373)
4233
4234 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4235 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4236 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4237
4238 2013-09-14 Glenn Morris <rgm@gnu.org>
4239
4240 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4241
4242 2013-09-13 Glenn Morris <rgm@gnu.org>
4243
4244 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4245 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4246
4247 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4248
4249 * frame.el (x-focus-frame): Mark as declared in frame.c.
4250
4251 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4252
4253 * ls-lisp.el: Use advice-add.
4254 (original-insert-directory): Remove.
4255 (ls-lisp--insert-directory): Rename from insert-directory; add
4256 `orig-fun' argument.
4257 (insert-directory): Advise.
4258
4259 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4260
4261 * term.el (term-emulate-terminal): Decode the command string
4262 before passing it to term-command-hook. (Bug#15337)
4263
4264 2013-09-13 Glenn Morris <rgm@gnu.org>
4265
4266 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4267
4268 * eshell/esh-ext.el (eshell-search-path): Declare.
4269
4270 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4271 Otherwise an error occurs if eshell-dirs module not loaded.
4272
4273 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4274
4275 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4276
4277 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4278 `tramp-check-proper-host'. Check for a valid method name.
4279
4280 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4281 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4282 * net/tramp-sh.el (tramp-maybe-open-connection):
4283 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4284
4285 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4286 also for hash values.
4287
4288 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4289
4290 * term/ns-win.el (parameters): Don't declare as dynamic.
4291 (before-make-frame-hook): Don't add ineffective function.
4292
4293 * eshell/*.el: Use lexical-binding (bug#15231).
4294
4295 2013-09-12 Kenichi Handa <handa@gnu.org>
4296
4297 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4298
4299 2013-09-12 Glenn Morris <rgm@gnu.org>
4300
4301 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4302 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4303
4304 * subr.el (do-after-load-evaluation): Also give compiler warnings
4305 when obsolete files are used (except by obsolete files).
4306
4307 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4308 in the status output, assume `filename' is the first. (Bug#15322)
4309
4310 * vc/vc.el (vc-deduce-fileset): Doc fix.
4311
4312 * calc/calc-help.el (Info-goto-node):
4313 * progmodes/cperl-mode.el (Info-find-node):
4314 * vc/ediff.el (Info-goto-node): Update declarations.
4315
4316 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4317
4318 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4319 (vc-bzr-pull): Require vc-dispatcher.
4320 * vc/vc-git.el (vc-compilation-mode): Declare.
4321 (vc-git-pull): Require vc-dispatcher.
4322
4323 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4324
4325 * progmodes/octave.el (help-button-action): Declare.
4326
4327 * shell.el (shell-directory-tracker): Output error as a message
4328 rather than just returning it as a string.
4329 (shell-process-pushd): Remove useless use of message.
4330
4331 * dframe.el (dframe-timer-fn):
4332 * files.el (dir-locals-read-from-file):
4333 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4334 (mpc-format):
4335 * reveal.el (reveal-post-command):
4336 * saveplace.el (load-save-place-alist-from-file):
4337 * shell.el (shell-resync-dirs):
4338 * w32-common-fns.el (x-get-selection-value):
4339 * emacs-lisp/copyright.el (copyright-find-copyright):
4340 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4341 * emulation/tpu-edt.el (tpu-copy-keyfile):
4342 * play/bubbles.el (bubbles--mark-neighbourhood):
4343 * progmodes/executable.el
4344 (executable-make-buffer-file-executable-if-script-p):
4345 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4346
4347 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4348
4349 Cleanup Eshell to rely less on dynamic scoping.
4350 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4351 last-value, and ext-command here. Bind `args' closer to `body'.
4352 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4353 (eshell--args): Declare new dynamic var.
4354 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4355 last-value, and ext-command. Pass `args' to `body'.
4356 (eshell-process-args): Bind eshell--args.
4357 (eshell-set-option): Use eshell--args.
4358 * eshell/eshell.el (eshell): Use derived-mode-p.
4359 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4360 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4361 (eshell-glob-function): Declare.
4362 * eshell/esh-util.el: Require cl-lib.
4363 (eshell-read-hosts-file): Avoid add-to-list.
4364 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4365 `err'.
4366 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4367 Declare.
4368 (eshell/diff): Remove unused var `err'.
4369 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4370 `killflag'.
4371 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4372 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4373 first use.
4374 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4375 Move declaration before first use.
4376 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4377 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4378 rely on cl-return.
4379
4380 2013-09-12 Glenn Morris <rgm@gnu.org>
4381
4382 * term/ns-win.el (global-map): Remove binding for ispell-next,
4383 deleted 1999-05-29. (Bug#15357)
4384
4385 2013-09-11 Glenn Morris <rgm@gnu.org>
4386
4387 * echistory.el (electric-command-history): Remove call to deleted func.
4388
4389 * play/landmark.el (landmark-mode): Fix typos.
4390
4391 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4392 Check cvs-sort-ignore-file is bound.
4393
4394 * savehist.el: No need for cl when compiling on Emacs.
4395
4396 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4397
4398 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4399 (bug#15338).
4400 (eshell-self-insert-command, eshell-send-invisible):
4401 Remove unused argument.
4402 (eshell-handle-control-codes): Remove unused var `orig'.
4403 Avoid delete-backward-char.
4404
4405 * files.el (set-auto-mode): Simplify a bit further.
4406
4407 2013-09-11 Glenn Morris <rgm@gnu.org>
4408
4409 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4410 (set-auto-mode): Don't regexp-quote elements.
4411 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4412 * progmodes/cc-mode.el (interpreter-mode-alist):
4413 * progmodes/ruby-mode.el (interpreter-mode-alist):
4414 Revert previous change.
4415
4416 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * play/snake.el (snake-mode):
4419 * play/mpuz.el (mpuz-mode):
4420 * play/landmark.el (lm-mode):
4421 * play/blackbox.el (blackbox-mode):
4422 * play/5x5.el (5x5-mode):
4423 * obsolete/options.el (Edit-options-mode):
4424 * net/quickurl.el (quickurl-list-mode):
4425 * net/newst-treeview.el (newsticker-treeview-mode):
4426 * mail/rmailsum.el (rmail-summary-mode):
4427 * mail/mspools.el (mspools-mode):
4428 * locate.el (locate-mode):
4429 * ibuffer.el (ibuffer-mode):
4430 * emulation/ws-mode.el (wordstar-mode):
4431 * emacs-lisp/debug.el (debugger-mode):
4432 * array.el (array-mode):
4433 * net/eudc.el (eudc-mode): Use define-derived-mode.
4434 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4435 Move initialization into declaration.
4436 (mairix-searches-mode): Use define-derived-mode.
4437 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4438 (eudc-edit-hotlist): Use dolist.
4439 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4440 (Man-mode): Use define-derived-mode.
4441 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4442 (Info-edit-mode): Use define-derived-mode.
4443 (Info-cease-edit): Use Info-mode.
4444 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4445 into declaration.
4446 (eshell-mode): Use define-derived-mode.
4447 * chistory.el (command-history-mode-map): Rename from
4448 command-history-map.
4449 (command-history-mode): Use define-derived-mode.
4450 (Command-history-setup): Remove function.
4451 * calc/calc.el (calc-trail-mode-map): New var.
4452 (calc-trail-mode): Use define-derived-mode.
4453 (calc-trail-buffer): Set calc-main-buffer manually.
4454 * bookmark.el (bookmark-insert-annotation): New function.
4455 (bookmark-edit-annotation): Use it.
4456 (bookmark-edit-annotation-mode): Make it a proper major mode.
4457 (bookmark-send-edited-annotation): Use derived-mode-p.
4458 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4459 closer to its ideal place. Use \' to match EOS.
4460
4461 * profiler.el (profiler-calltree-find): Use function-equal.
4462
4463 2013-09-10 Glenn Morris <rgm@gnu.org>
4464
4465 * files.el (interpreter-mode-alist): Convert to regexps.
4466 (set-auto-mode): Adapt for this. (Bug#15306)
4467 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4468 Comment out unused variable.
4469 * progmodes/cc-mode.el (interpreter-mode-alist):
4470 * progmodes/python.el (interpreter-mode-alist):
4471 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4472 * progmodes/sh-script.el (sh-set-shell):
4473 No longer use interpreter-mode-alist to get list of shells.
4474
4475 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4476
4477 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4478
4479 * simple.el: Use set-temporary-overlay-map for universal-argument.
4480 (universal-argument-map): Don't use default-bindings (bug#15317).
4481 Bind switch-frame explicitly. Replace universal-argument-minus with
4482 a conditional binding.
4483 (universal-argument-num-events, saved-overriding-map): Remove.
4484 (restore-overriding-map): Remove.
4485 (universal-argument--mode): Rename from save&set-overriding-map,
4486 and rewrite.
4487 (universal-argument, universal-argument-more, negative-argument)
4488 (digit-argument): Adjust accordingly.
4489 (universal-argument-minus): Remove.
4490 (universal-argument-other-key): Remove.
4491
4492 * subr.el (with-demoted-errors): Add `format' argument.
4493
4494 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4495
4496 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4497 `tramp-cleanup-connection'.
4498
4499 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4500 parameters KEEP-DEBUG and KEEP-PASSWORD.
4501
4502 * net/tramp.el (tramp-file-name-handler):
4503 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4504 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4505 (tramp-maybe-open-connection):
4506 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4507 Use `tramp-cleanup-connection'.
4508
4509 * net/tramp-sh.el (tramp-maybe-open-connection):
4510 Catch 'uname-changed inside the progress reporter.
4511
4512 2013-09-10 Glenn Morris <rgm@gnu.org>
4513
4514 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4515
4516 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4517 returns "alternate access method" in mode (eg "-rw-r--r--.").
4518
4519 2013-09-08 Glenn Morris <rgm@gnu.org>
4520
4521 * saveplace.el (load-save-place-alist-from-file):
4522 Demote errors. (Bug#15305)
4523
4524 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4525
4526 Improve compatibility with older Emacsen, and XEmacs.
4527
4528 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4529 only if it is bound. It isn't for XEmacs.
4530 (with-tramp-progress-reporter): Do not let-bind `result'.
4531 This yields to scoping errors in XEmacs.
4532 (tramp-handle-make-auto-save-file-name): New function, moved from
4533 tramp-sh.el.
4534
4535 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4536 for `make-auto-save-file-name'.
4537 (tramp-adb--gnu-switches-to-ash):
4538 Use `tramp-compat-replace-regexp-in-string'.
4539
4540 * net/tramp-cache.el (tramp-cache-print): Call
4541 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4542
4543 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4544 bound. It isn't for XEmacs.
4545
4546 * net/tramp-compat.el (tramp-compat-copy-file):
4547 Catch `wrong-number-of-arguments' error.
4548 (tramp-compat-replace-regexp-in-string): New defun.
4549
4550 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4551 for `make-auto-save-file-name'.
4552 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4553 `copy-file'.
4554 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4555 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4556 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4557
4558 * net/tramp-gw.el (tramp-gw-open-network-stream):
4559 Use `tramp-compat-replace-regexp-in-string'.
4560
4561 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4562 Call `tramp-handle-make-auto-save-file-name'.
4563 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4564 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4565 (tramp-sh-file-inotifywait-process-filter):
4566 Use `tramp-compat-replace-regexp-in-string'.
4567 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4568
4569 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4570 for `make-auto-save-file-name'.
4571 (tramp-smb-handle-copy-directory):
4572 Call `tramp-compat-replace-regexp-in-string'.
4573 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4574 (tramp-smb-handle-copy-file): Improve error message.
4575 (tramp-smb-handle-rename-file): Rename directly only in case
4576 `newname' does not exist yet. This is a restriction of smbclient.
4577 (tramp-smb-maybe-open-connection): Rerun the function only when
4578 `auth-sources' is non-nil.
4579
4580 2013-09-08 Kenichi Handa <handa@gnu.org>
4581
4582 * international/characters.el: Set category "^" (Combining) for
4583 more characters.
4584
4585 2013-09-07 Alan Mackenzie <acm@muc.de>
4586
4587 Correctly fontify Java class constructors.
4588 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4589 in Java Mode.
4590 (c-recognize-typeless-decls): Set the Java value to t.
4591 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4592 While handling a "(", add a check for, effectively, Java, and handle a
4593 "typeless" declaration there.
4594
4595 2013-09-07 Roland Winkler <winkler@gnu.org>
4596
4597 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4598 field subtitle for entry type book.
4599
4600 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4601
4602 * minibuffer.el: Make minibuffer-complete call completion-in-region
4603 rather than other way around.
4604 (completion--some, completion-pcm--find-all-completions):
4605 Don't delay signals when debugging.
4606 (minibuffer-completion-contents): Beware fields within the
4607 minibuffer contents.
4608 (completion-all-sorted-completions): Use defvar-local.
4609 (completion--do-completion, completion--cache-all-sorted-completions)
4610 (completion-all-sorted-completions, minibuffer-force-complete):
4611 Add args `beg' and `end'.
4612 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4613 (minibuffer-complete): Use completion-in-region.
4614 (completion-complete-and-exit): New fun, extracted from
4615 minibuffer-complete-and-exit.
4616 (minibuffer-complete-and-exit): Use it.
4617 (completion--complete-and-exit): Rename from
4618 minibuffer--complete-and-exit.
4619 (completion-in-region--single-word): New function, extracted from
4620 minibuffer-complete-word.
4621 (minibuffer-complete-word): Use it.
4622 (display-completion-list): Make `common-substring' argument obsolete.
4623 (completion--in-region): Call completion--in-region-1 instead of
4624 minibuffer-complete.
4625 (completion-help-at-point): Pass boundaries to
4626 minibuffer-completion-help as args rather than via an overlay.
4627 (completion-pcm--string->pattern): Use `any-delim'.
4628 (completion-pcm--optimize-pattern): New function.
4629 (completion-pcm--pattern->regex): Handle `any-delim'.
4630 * icomplete.el (icomplete-forward-completions)
4631 (icomplete-backward-completions, icomplete-completions):
4632 Adjust calls to completion-all-sorted-completions and
4633 completion--cache-all-sorted-completions.
4634 (icomplete-with-completion-tables): Default to t.
4635 * emacs-lisp/crm.el (crm--current-element): Rename from
4636 crm--select-current-element. Don't put an overlay but return the
4637 boundaries instead.
4638 (crm--completion-command): Take two new args to bind to the boundaries.
4639 (crm-completion-help): Adjust accordingly.
4640 (crm-complete): Use completion-in-region.
4641 (crm-complete-word): Use completion-in-region--single-word.
4642 (crm-complete-and-exit): Use completion-complete-and-exit.
4643
4644 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4645
4646 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4647 than dynamically.
4648
4649 2013-09-06 Juri Linkov <juri@jurta.org>
4650
4651 * info.el (Info-display-images-node): When image file doesn't exist
4652 display text version of the image if it's provided in the Info file.
4653 Otherwise, display the location of missing image from SRC attribute.
4654 Add help-echo text property from ALT attribute. (Bug#15279)
4655
4656 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4657
4658 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4659 (edit-abbrevs-mode): Use define-derived-mode.
4660
4661 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4662 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4663 that it's defined.
4664 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4665 Use define-derived-mode.
4666
4667 * epg.el (epg-start-encrypt): Minor CSE simplification.
4668
4669 2013-09-06 William Xu <william.xwl@gmail.com>
4670
4671 * arc-mode.el: Add support for 7za (bug#15264).
4672 (archive-7z-program): New var.
4673 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4674 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4675 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4676
4677 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4678
4679 Remove URL syntax.
4680
4681 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4682 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4683 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4684 (tramp-postfix-host-format, tramp-file-name-regexp)
4685 (tramp-completion-file-name-regexp)
4686 (tramp-completion-dissect-file-name)
4687 (tramp-handle-substitute-in-file-name): Remove 'url case.
4688 (tramp-file-name-regexp-url)
4689 (tramp-completion-file-name-regexp-url): Remove constants.
4690
4691 2013-09-06 Glenn Morris <rgm@gnu.org>
4692
4693 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4694
4695 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4696
4697 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4698 keywords" below "here-doc beginnings" (Bug#15270).
4699
4700 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4701
4702 * subr.el (pop): Use `car-safe'.
4703 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4704 to detect unused `pop' return value.
4705
4706 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4707 var `block-regexp'.
4708 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4709 (python-fill-string): Remove unused var `marker'.
4710 (python-skeleton-add-menu-items): Remove unused var `items'.
4711
4712 * international/mule-cmds.el: Require CL.
4713 (find-coding-systems-for-charsets): Avoid add-to-list.
4714 (sanitize-coding-system-list): New function, extracted from
4715 select-safe-coding-system-interactively.
4716 (select-safe-coding-system-interactively): Use it.
4717 (read-input-method-name): Accept symbols for `default'.
4718
4719 * emacs-lisp/advice.el (defadvice): Add indent rule.
4720
4721 2013-09-05 Daniel Hackney <dan@haxney.org>
4722
4723 * dired-x.el:
4724 * net/ange-ftp.el:
4725 * net/browse-url.el:
4726 * net/dbus.el:
4727 * net/eudc.el:
4728 * net/eudcb-ldap.el:
4729 * net/eww.el:
4730 * net/imap.el:
4731 * printing.el:
4732 * vc/ediff-diff.el:
4733 * vc/ediff-init.el:
4734 * vc/ediff-merg.el:
4735 * vc/ediff-mult.el:
4736 * vc/ediff-util.el:
4737 * vc/ediff-wind.el:
4738 * vc/ediff.el:
4739 * vc/emerge.el:
4740 * vc/pcvs.el:
4741 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4742 byte compiler. Remove some unused let-bound variables.
4743
4744 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4745
4746 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4747 a "ref-cell", since it gets better optimized (bug#14883).
4748
4749 2013-09-05 Glenn Morris <rgm@gnu.org>
4750
4751 * progmodes/cc-awk.el (c-forward-sws): Declare.
4752
4753 2013-09-04 Glenn Morris <rgm@gnu.org>
4754
4755 * generic-x.el [rul-generic-mode]: Require cc-mode.
4756 (c++-mode-syntax-table): Declare.
4757 (rul-generic-mode-syntax-table): Init in the defvar.
4758
4759 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4760
4761 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4762 (vc-do-command, vc-set-async-update):
4763 * vc/vc-mtn.el (vc-mtn-dir-status):
4764 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4765 (vc-hg-pull, vc-hg-merge-branch):
4766 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4767 (vc-git-merge-branch):
4768 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4769 (vc-cvs-dir-status-files):
4770 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4771 (vc-bzr-dir-status-files):
4772 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4773 * vc/vc-annotate.el: Use lexical-binding.
4774 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4775 (vc-sentinel-movepoint): Declare.
4776 (vc-annotate): Don't use `goto-line'.
4777 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4778 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4779 (vc-sentinel-movepoint): Declare.
4780 * vc/vc-svn.el: Use lexical-binding.
4781 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4782 * vc/vc-sccs.el:
4783 * vc/vc-rcs.el: Use lexical-binding.
4784
4785 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4786 `deleted'. Don't drop errors silently.
4787
4788 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4789
4790 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4791
4792 * vc/vc.el (vc-ignore): Rewrite.
4793 (vc-default-ignore): New function.
4794 (vc-default-ignore-completion-table): Use find-ignore-file.
4795
4796 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4797 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4798 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4799 Remove. Most code moved to vc.el.
4800
4801 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4802
4803 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4804 * net/tramp-smb.el (tramp-smb-get-file-entries):
4805 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4806 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4807
4808 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4809 Update call to it.
4810 (eww-change-select): Remove unused var `properties'.
4811 (eww-make-unique-file-name): Remove unused var `base'.
4812
4813 * finder.el (finder-compile-keywords): Don't mess with windows.
4814
4815 * calculator.el (calculator-funcall): Fix typo in last change.
4816
4817 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4818
4819 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4820 <pkg>-autoloads.el file stop us.
4821
4822 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4823 warnings, and factor out common code.
4824
4825 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4826
4827 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4828 two-character operators and whether the character preceding them
4829 changes their meaning (Bug#15208).
4830
4831 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4832
4833 Format code sent to Python shell for robustness.
4834 * progmodes/python.el (python-shell-buffer-substring):
4835 New function.
4836 (python-shell-send-region, python-shell-send-buffer): Use it.
4837
4838 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4839
4840 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4841 * net/tramp.el (tramp-user-error): ... here.
4842 (tramp-find-method, tramp-check-proper-host)
4843 (tramp-dissect-file-name, tramp-debug-message)
4844 (tramp-handle-shell-command):
4845 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4846 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4847
4848 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4849
4850 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4851
4852 * avoid.el (mouse-avoidance-point-position)
4853 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4854 returns nil.
4855
4856 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4857
4858 * progmodes/python.el (python-shell-completion-get-completions):
4859 Drop use of deleted `comint-last-prompt-overlay'.
4860 (python-nav-if-name-main): New command.
4861
4862 2013-09-01 Glenn Morris <rgm@gnu.org>
4863
4864 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4865 Avoid leading space in $wins. Otherwise the sed command used by
4866 eg compile-main ends up containing "/*.el". (Bug#15170)
4867
4868 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4869
4870 2013-08-30 Glenn Morris <rgm@gnu.org>
4871
4872 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4873 Fix is-this-a-directory logic. (Bug#15220)
4874
4875 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4876
4877 * textmodes/css-mode.el: Use SMIE.
4878 (css-smie-grammar): New var.
4879 (css-smie--forward-token, css-smie--backward-token)
4880 (css-smie-rules): New functions.
4881 (css-mode): Use them.
4882 (css-navigation-syntax-table): Remove var.
4883 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4884 (css-indent-calculate, css-indent-line): Remove functions.
4885
4886 Misc changes to reduce use of `(lambda...); and other cleanups.
4887 * cus-edit.el: Use lexical-binding.
4888 (customize-push-and-save, customize-apropos)
4889 (custom-buffer-create-internal): Use closures.
4890 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4891 * progmodes/ada-xref.el: Use setq.
4892 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4893 * dframe.el: Use lexical-binding.
4894 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4895 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4896 * descr-text.el: Use lexical-binding.
4897 (describe-text-widget, describe-text-sexp, describe-property-list):
4898 Use closures.
4899 * comint.el (comint-history-isearch-push-state): Use a closure.
4900 * calculator.el: Use lexical-binding.
4901 (calculator-number-to-string): Make it work with lexical-binding.
4902 (calculator-funcall): Same and use cl-letf.
4903
4904 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4905 (lisp--company-doc-string, lisp--company-location): New functions.
4906 (lisp-completion-at-point): Use them to improve Company support.
4907
4908 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4909 params of lambda expressions.
4910 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4911 (ruby-smie--opening-pipe-p): New function.
4912 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4913 symbols and matched |...| for formal params.
4914 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4915 from being treated as hanging. Handle "rescue".
4916
4917 2013-08-29 Glenn Morris <rgm@gnu.org>
4918
4919 * progmodes/cc-engine.el (c-pull-open-brace):
4920 Move definition before use.
4921
4922 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4923
4924 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4925 are immutable. Don't use `unsafe' any more.
4926 (cl--defsubst-expand): Don't substitute at the same time as keeping
4927 a residual unused let-binding. Don't use `unsafe' any more.
4928
4929 2013-08-29 Glenn Morris <rgm@gnu.org>
4930
4931 * calendar/cal-china.el (calendar-chinese-year-cache):
4932 Recenter on 2015.
4933
4934 * nxml/nxml-util.el (nxml-debug-clear-inside):
4935 Use cl-loop rather than loop.
4936
4937 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4938
4939 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4940
4941 2013-08-28 Glenn Morris <rgm@gnu.org>
4942
4943 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4944
4945 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4946
4947 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4948
4949 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4950
4951 * simple.el (repeat-complex-command--called-interactively-skip):
4952 New function.
4953 (repeat-complex-command): Use it (bug#14136).
4954
4955 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4956 (c-define-abbrev-table): Add `doc' argument.
4957 (c-mode-abbrev-table, c++-mode-abbrev-table)
4958 (objc-mode-abbrev-table, java-mode-abbrev-table)
4959 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4960 (awk-mode-abbrev-table): Use it.
4961 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4962 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4963 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4964 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4965 Move initialization into the declaration; and remove any
4966 autoload cookie.
4967
4968 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4969 and dynamic let binding.
4970
4971 * vc/smerge-mode.el: Remove redundant :group args.
4972
4973 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4974 to load-path.
4975
4976 2013-08-28 Juri Linkov <juri@jurta.org>
4977
4978 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4979 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4980 (isearch-other-meta-char): Handle an undefined shifted printing
4981 character by downshifting it. (Bug#15200)
4982
4983 2013-08-28 Juri Linkov <juri@jurta.org>
4984
4985 * isearch.el (isearch-search): Change regexp error message for
4986 non-regexp searches. (Bug#15166)
4987
4988 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4989
4990 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4991 for portability to hosts where /bin/sh has problems.
4992
4993 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4994
4995 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4996
4997 2013-08-27 Juri Linkov <juri@jurta.org>
4998
4999 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5000 in the keyboard macro. (Bug#15126)
5001
5002 2013-08-27 Juri Linkov <juri@jurta.org>
5003
5004 * isearch.el (isearch-quote-char): Comment out converting unibyte
5005 to multibyte, thus syncing with its `quoted-insert' counterpart.
5006 (Bug#15166)
5007
5008 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5009
5010 * window.el (display-buffer-use-some-window): Add missing
5011 argument in call of get-largest-window (Bug#15185).
5012 Reported by Stephen Leake.
5013
5014 2013-08-27 Glenn Morris <rgm@gnu.org>
5015
5016 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5017
5018 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5019
5020 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5021 from a matcher-function unless there's no more matches (bug#15161).
5022
5023 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5024
5025 * minibuffer.el: Revert change from 2013-08-20.
5026
5027 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5028 with text property `tramp-default', if appropriate.
5029 (tramp-check-proper-host): New defun.
5030 (tramp-dissect-file-name): Do not check hostname. Revert change
5031 of 2013-03-18.
5032 (tramp-backtrace): Make VEC-OR-PROC optional.
5033
5034 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5035 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5036 * net/tramp-sh.el (tramp-maybe-open-connection):
5037 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5038 Apply `tramp-check-proper-host'.
5039
5040 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5041
5042 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5043 lambda expression in order to have `describe-variable' display it.
5044
5045 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5046
5047 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5048 BUF can be optional. (Bug#15186)
5049
5050 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5051
5052 * progmodes/flymake.el (flymake-get-real-file-name-function):
5053 Fix broken customization. (Bug#15184)
5054
5055 2013-08-25 Alan Mackenzie <acm@muc.de>
5056
5057 Improve indentation of bracelists defined by macros (without "=").
5058
5059 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5060 expansion begins with "{", regard it as bracelist when it doesn't
5061 contain a ";".
5062
5063 Parse C++ inher-intro when there's a template split over 2 lines.
5064
5065 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5066 rigorously the search for "class" etc. followed by ":".
5067
5068 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5069 random languages a regexp which never matches rather than nil.
5070
5071 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5072
5073 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5074 (c-awk-regexp-one-line-possibly-open-char-list-re)
5075 (c-awk-one-line-possibly-open-regexp-re)
5076 (c-awk-one-line-non-syn-ws*-re): Remove.
5077 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5078 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5079 (c-awk-space*-unclosed-regexp-/-re): New constants.
5080 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5081 aren't regexp delimiters.
5082
5083 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5084 handling for a rare situation in AWK Mode involving unterminated
5085 strings/regexps.
5086
5087 2013-08-23 Glenn Morris <rgm@gnu.org>
5088
5089 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5090
5091 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5092
5093 * files.el (create-file-buffer): If the result would begin with
5094 spaces, prepend a "|" instead of removing them. (Bug#15162)
5095
5096 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5097
5098 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5099 text-properties (bug#15155).
5100
5101 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5102 exist any more.
5103 (calc-keypad-redraw): Remove unused var `pad'.
5104 (calc-keypad-press): Remove unused var `menu'.
5105
5106 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5107
5108 * window.el (display-buffer-pop-up-frame):
5109 Call pop-up-frame-function with BUFFER current so `make-frame' will
5110 use it as the new frame's buffer (Bug#15133).
5111
5112 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5113
5114 * calendar/timeclock.el: Minor cleanups.
5115 (timeclock-ask-before-exiting, timeclock-use-display-time):
5116 Use `symbol'.
5117 (timeclock-modeline-display): Define as alias before the
5118 actual definition.
5119 (timeclock-mode-line-display): Use define-minor-mode.
5120 (timeclock-day-list-template): Make it a function, add an argument.
5121 (timeclock-day-list-required, timeclock-day-list-length)
5122 (timeclock-day-list-debt, timeclock-day-list-span)
5123 (timeclock-day-list-break): Adjust calls accordingly.
5124
5125 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5128 Use read--expression so that completion works again.
5129
5130 2013-08-21 Sam Steingold <sds@gnu.org>
5131
5132 Add rudimentary inferior shell interaction
5133 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5134 (sh-set-shell): Reset it.
5135 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5136 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5137
5138 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * align.el: Use lexical-binding.
5141 (align-region): Simplify accordingly.
5142
5143 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5144
5145 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5146
5147 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5148 `non-essential' up.
5149
5150 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5151
5152 * net/tramp.el:
5153 * net/tramp-adb.el:
5154 * net/tramp-cmds.el:
5155 * net/tramp-ftp.el:
5156 * net/tramp-gvfs.el:
5157 * net/tramp-gw.el:
5158 * net/tramp-sh.el: Don't wrap external variable declarations by
5159 `eval-when-compile'.
5160
5161 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5162
5163 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5164 now that Emacs supports ImageMagick animations.
5165
5166 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5167
5168 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5169 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5170
5171 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5172
5173 * window.el (mouse-autoselect-window-select): Do autoselect when
5174 mouse pointer is on margin.
5175
5176 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5177
5178 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5179
5180 2013-08-16 Glenn Morris <rgm@gnu.org>
5181
5182 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5183 Handle "Remote Directory" response of some clients. (Bug#15058)
5184
5185 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5186 Tweak warning. (Bug#14926)
5187
5188 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5189 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5190
5191 * image-mode.el (image-mode-map): Add menu items to reverse,
5192 increase, decrease, reset animation speed.
5193 (image--set-speed, image-increase-speed, image-decrease-speed)
5194 (image-reverse-speed, image-reset-speed): New functions.
5195 (image-mode-map): Add bindings for speed commands.
5196
5197 * image.el (image-animate-get-speed, image-animate-set-speed):
5198 New functions.
5199 (image-animate-timeout): Respect image :speed property.
5200
5201 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5202
5203 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5204 previous line (bug#15101).
5205 (debugger-eval-expression, debugger-record-expression):
5206 Use read--expression (bug#15102).
5207
5208 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5209
5210 Remove byte compiler warnings, visible when compiling with
5211 `byte-compile-force-lexical-warnings' set to t.
5212
5213 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5214 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5215 (tramp-handle-unhandled-file-name-directory)
5216 (tramp-handle-file-notify-add-watch, tramp-action-login)
5217 (tramp-action-succeed, tramp-action-permission-denied)
5218 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5219 arguments with "_".
5220
5221 * net/tramp-adb.el (tramp-adb-parse-device-names)
5222 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5223 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5224 (tramp-adb-handle-file-truename): Remove unused arguments.
5225
5226 * net/tramp-cache.el (tramp-flush-directory-property)
5227 (tramp-flush-connection-property, tramp-list-connections)
5228 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5229
5230 * net/tramp-compat.el (tramp-compat-make-temp-file):
5231 Rename FILENAME to F.
5232
5233 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5234 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5235 (tramp-zeroconf-parse-workstation-device-names)
5236 (tramp-zeroconf-parse-webdav-device-names)
5237 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5238
5239 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5240 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5241
5242 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5243 arguments.
5244 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5245 (tramp-sh-handle-insert-file-contents-literally)
5246 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5247 with "_".
5248 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5249 Remove unused variables.
5250
5251 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5252 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5253 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5254
5255 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5256 Make them a defconst.
5257 (tramp-uuencode-region): Remove unused variable.
5258
5259 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5260
5261 * frameset.el (frameset--prop-setter): New function.
5262 (frameset-prop): Add gv-setter declaration.
5263 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5264 parameter was already set in FILTERED. Doc fix.
5265 (frameset--record-minibuffer-relationships): Allow saving a
5266 minibufferless frame without its corresponding minibuffer frame.
5267 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5268 frame, if the frame id matches.
5269 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5270 frames before orphaned ones.
5271 (frameset-restore): Warn about orphaned windows, instead of error out.
5272
5273 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5274
5275 * window.el (window-make-atom): Don't overwrite parameter
5276 already present.
5277 (display-buffer-in-atom-window): Handle special case where we
5278 split an already atomic window.
5279 (window--major-non-side-window, display-buffer-in-side-window)
5280 (window--side-check): Ignore minibuffer window when walking
5281 window tree.
5282 (window-deletable-p): Return 'frame only if no other frame uses
5283 our minibuffer window.
5284 (record-window-buffer): Run buffer-list-update-hook.
5285 (split-window): Make sure window--check-frame won't destroy an
5286 existing atomic window in case the new window gets nested
5287 inside.
5288 (display-buffer-at-bottom): Ignore minibuffer window when
5289 walking window tree. Don't split a side window.
5290 (pop-to-buffer): Don't set-buffer here, the select-window call
5291 should do that.
5292 (mouse-autoselect-window-select): Autoselect only if we are in the
5293 text portion of the window.
5294
5295 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5296
5297 * net/shr.el (shr-parse-image-data): New function to grab both the
5298 data itself and the Content-Type.
5299 (shr-put-image): Use it.
5300
5301 * net/eww.el (eww-display-image): Ditto.
5302
5303 * image.el (image-content-type-suffixes): New variable.
5304
5305 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5306
5307 * progmodes/python.el (python-imenu--build-tree)
5308 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5309
5310 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5311
5312 * simple.el (backward-word): Mention the optional argument.
5313
5314 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5315
5316 * frameset.el (frameset--make): Rename constructor from make-frameset.
5317 (frameset-p, frameset-valid-p): Don't autoload.
5318 (frameset-valid-p): Use normal accessors.
5319
5320 2013-08-13 Glenn Morris <rgm@gnu.org>
5321
5322 * progmodes/compile.el (compile-command): Tweak example in doc.
5323 * obsolete/scribe.el (scribe-mode):
5324 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5325
5326 * mail/feedmail.el (feedmail-confirm-outgoing)
5327 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5328
5329 * cus-start.el (truncate-partial-width-windows): Fix type.
5330
5331 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5332
5333 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5334
5335 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5336
5337 * emacs-lisp/timer.el (timer--time-setter): New function.
5338 (timer--time): Use it as gv-setter.
5339
5340 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5341 setter is not a symbol.
5342
5343 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5344
5345 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5346 if sending fails. This makes debugging easier.
5347
5348 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5349
5350 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5351 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5352 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5353
5354 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5355
5356 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5357
5358 2013-08-12 Glenn Morris <rgm@gnu.org>
5359
5360 * format.el (format-annotate-function):
5361 Handle read-only text properties in the source. (Bug#14887)
5362
5363 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5364
5365 * net/eww.el (eww-display-html): Ignore coding system errors.
5366 One web site uses "utf-8lias" as the coding system.
5367
5368 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5369
5370 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5371
5372 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5373
5374 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5375 (tutorial--detailed-help): Remove unused local variables.
5376 (tutorial--save-tutorial-to): Use ignore-errors.
5377 (help-with-tutorial): Use looking-at-p.
5378
5379 * view.el (view-buffer-other-window, view-buffer-other-frame):
5380 Mark unused arguments.
5381
5382 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5383 (woman-select-symbol-fonts, woman, woman-find-file)
5384 (woman-insert-file-contents, woman-non-underline-faces):
5385 Use string-match-p.
5386 (woman1-unquote): Move declaration.
5387
5388 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5389 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5390 argument. Remove unused local variable.
5391 (xml-parse-elem-type): Use string-match-p.
5392 (xml-substitute-numeric-entities): Use ignore-errors.
5393
5394 * calculator.el (calculator): Mark unused argument.
5395 (calculator-paste, calculator-quit, calculator-integer-p):
5396 Use ignore-errors.
5397 (calculator-string-to-number, calculator-decimal, calculator-exp)
5398 (calculator-op-or-exp): Use string-match-p.
5399
5400 * dired.el (dired-buffer-more-recently-used-p): Declare.
5401 (dired-insert-set-properties, dired-insert-old-subdirs):
5402 Use ignore-errors.
5403
5404 * dired-aux.el (dired-compress): Use ignore-errors.
5405 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5406 (dired-do-async-shell-command, dired-do-shell-command)
5407 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5408 (dired-insert-subdir-validate): Use string-match-p.
5409 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5410 (dired-add-entry): Use string-match-p, looking-at-p.
5411 (dired-insert-subdir-newpos): Remove unused local variable.
5412
5413 * filenotify.el (file-notify-callback): Remove unused local variable.
5414
5415 * filesets.el (filesets-error): Mark unused argument.
5416 (filesets-which-command-p, filesets-filter-dir-names)
5417 (filesets-directory-files, filesets-get-external-viewer)
5418 (filesets-ingroup-get-data): Use string-match-p.
5419
5420 * find-file.el (ff-other-file-name, ff-other-file-name)
5421 (ff-find-the-other-file, ff-cc-hh-converter):
5422 Remove unused local variables.
5423 (ff-get-file-name): Use string-match-p.
5424 (ff-all-dirs-under): Use ignore-errors.
5425
5426 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5427 (follow-select-if-visible): Remove unused local variable.
5428
5429 * forms.el (read-file-filter): Move declaration.
5430 (forms--make-format, forms--make-parser, forms-insert-record):
5431 Quote function with #'.
5432 (forms--update): Use string-match-p. Quote function with #'.
5433
5434 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5435 (help-make-xrefs): Use looking-at-p.
5436 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5437
5438 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5439 (ibuffer-confirm-operation-on): Use string-match-p.
5440
5441 * msb.el (msb-item-handler, msb-dired-item-handler):
5442 Mark unused arguments.
5443
5444 * ses.el (ses-decode-cell-symbol)
5445 (ses-kill-override): Remove unused local variable.
5446 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5447 (ses-load): Use ignore-errors, looking-at-p.
5448 (ses-jump-safe): Use ignore-errors.
5449 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5450
5451 * tabify.el (untabify, tabify): Mark unused arguments.
5452
5453 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5454 Mark unused argument.
5455 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5456 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5457
5458 * emacs-lisp/timer.el (timer--time): Define setter with
5459 gv-define-setter to avoid deprecation warning.
5460
5461 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5462 (*record-cmpl-statistics-p*): Remove (was commented out).
5463 (cmpl-statistics-block): Remove (body was commented out).
5464 All callers changed.
5465 (add-completions-from-buffer, load-completions-from-file):
5466 Remove unused variables.
5467
5468 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5469
5470 * filecache.el (file-cache-delete-file-list):
5471 Print message only when told so.
5472 (file-cache-files-matching): Use #' in mapconcat argument.
5473
5474 * ffap.el (ffap-url-at-point): Fix reference to variable
5475 thing-at-point-default-mail-uri-scheme.
5476
5477 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 * subr.el (define-error): New function.
5480 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5481 error-file-not-found and define with define-error.
5482 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5483 and define with define-error.
5484 * userlock.el (file-locked, file-supersession):
5485 * simple.el (mark-inactive):
5486 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5487 * progmodes/ada-mode.el (ada-mode-errors):
5488 * play/life.el (life-extinct):
5489 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5490 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5491 * nxml/rng-util.el (rng-error):
5492 * nxml/rng-uri.el (rng-uri-error):
5493 * nxml/rng-match.el (rng-compile-error):
5494 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5495 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5496 * nxml/nxml-rap.el (nxml-scan-error):
5497 * nxml/nxml-outln.el (nxml-outline-error):
5498 * net/soap-client.el (soap-error):
5499 * net/gnutls.el (gnutls-error):
5500 * net/ange-ftp.el (ftp-error):
5501 * mpc.el (mpc-proc-error):
5502 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5503 (json-number-format, json-string-escape, json-string-format)
5504 (json-key-format, json-object-format):
5505 * jka-compr.el (compression-error):
5506 * international/quail.el (quail-error):
5507 * international/kkc.el (kkc-error):
5508 * emacs-lisp/ert.el (ert-test-failed):
5509 * calc/calc.el (calc-error, inexact-result, math-overflow)
5510 (math-underflow):
5511 * bookmark.el (bookmark-error-no-filename):
5512 * epg.el (epg-error): Define with define-error.
5513
5514 * time.el (display-time-event-handler)
5515 (display-time-next-load-average): Don't call sit-for since it seems
5516 unnecessary (bug#15045).
5517
5518 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5519 Use #' instead of ' to quote functions.
5520 (checkdoc-output-mode): Use setq-local.
5521 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5522 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5523 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5524 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5525 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5526 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5527 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5528 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5529
5530 * ido.el (ido-completion-help): Fix up compiler warning.
5531
5532 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5533
5534 * frameset.el (frameset-p): Add autoload cookie.
5535 (frameset--jump-to-register): New function, based on code moved from
5536 register.el.
5537 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5538
5539 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5540 (frameset-restore, frameset-save, frameset-session-filter-alist):
5541 Remove declarations.
5542 (register-alist): Doc fix.
5543 (frameset-to-register): Move to frameset.el.
5544 (jump-to-register, describe-register-1): Remove frameset-specific code.
5545
5546 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5547
5548 * allout-widgets.el (allout-widgets-pre-command-business)
5549 (allout-widgets-post-command-business)
5550 (allout-widgets-after-change-handler)
5551 (allout-decorate-item-and-context, allout-set-boundary-marker)
5552 (allout-body-modification-handler)
5553 (allout-graphics-modification-handler): Mark ignored arguments.
5554 (allout-widgets-post-command-business)
5555 (allout-widgets-exposure-change-processor)
5556 (allout-widgets-exposure-undo-processor)
5557 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5558 (allout-parse-item-at-point, allout-decorate-item-guides)
5559 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5560 * allout.el (epa-passphrase-callback-function): Declare.
5561 (allout-overlay-insert-in-front-handler)
5562 (allout-overlay-interior-modification-handler)
5563 (allout-isearch-end-handler, allout-chart-siblings)
5564 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5565 (allout-yank-processing, allout-process-exposed)
5566 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5567 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5568 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5569 (lisp-indent-defform): Mark ignored arguments.
5570 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5571 (calculate-lisp-indent): Remove unused variables.
5572 * international/characters.el (indian-2-column, arabic-2-column)
5573 (tibetan): Mark ignored arguments.
5574 (use-cjk-char-width-table): Mark ignored arguments.
5575 Remove unused variables.
5576 * international/fontset.el (build-default-fontset-data)
5577 (x-compose-font-name, create-fontset-from-fontset-spec):
5578 Mark ignored arguments.
5579 (fontset-plain-name): Remove unused variables.
5580 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5581 (keyboard-coding-system): Mark ignored arguments.
5582 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5583 * help.el (resize-temp-buffer-window):
5584 * window.el (display-buffer-in-major-side-window)
5585 (display-buffer-in-side-window, display-buffer-in-previous-window):
5586 Remove unused variables.
5587 * isearch.el (isearch-forward-symbol):
5588 * version.el (emacs-bzr-version-bzr):
5589 * international/mule-cmds.el (current-language-environment):
5590 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5591 (x-handle-display):
5592 * term/pc-win.el (x-list-fonts, x-display-planes)
5593 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5594 (x-server-version, x-display-screens, x-display-mm-height)
5595 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5596 (x-selection-owner-p, x-own-selection-internal)
5597 (x-disown-selection-internal, x-get-selection-internal)
5598 (msdos-initialize-window-system):
5599 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5600 * term/x-win.el (x-handle-no-bitmap-icon):
5601 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5602 (vc-default-find-file-hook, vc-default-extra-menu):
5603 Mark ignored arguments.
5604
5605 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5606
5607 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5608 break-condition in the context of the debugged code (bug#12685).
5609
5610 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5611
5612 * comint.el:
5613 Do not use an overlay to highlight the last prompt. (Bug#14744)
5614 (comint-mode): Make comint-last-prompt buffer local.
5615 (comint-last-prompt): New variable.
5616 (comint-last-prompt-overlay): Remove. Superseded by
5617 comint-last-prompt.
5618 (comint-snapshot-last-prompt, comint-output-filter):
5619 Use comint-last-prompt.
5620
5621 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5622
5623 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5624 (frameset-save): Check validity of the resulting frameset.
5625
5626 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5627
5628 * ido.el (ido-record-command): Add doc string.
5629
5630 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5631
5632 * frameset.el (frameset): Do not disable creation of the default
5633 frameset-p predicate. Doc fix.
5634 (frameset-valid-p): New function, copied from the old predicate-p.
5635 Add additional checks.
5636 (frameset-restore): Check with frameset-valid-p.
5637 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5638 (frameset-name, frameset-description, frameset-properties)
5639 (frameset-states): Add docstring.
5640 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5641 (frameset-filter-alist): Doc fixes.
5642
5643 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5644
5645 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5646
5647 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5648
5649 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5650 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5651 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5652 (byte-compile-normal-call): Remove obsolescence check.
5653
5654 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5655
5656 * frameset.el (frameset-restore): Doc fix.
5657
5658 * register.el (frameset-frame-id, frameset-frame-with-id)
5659 (frameset-p, frameset-restore, frameset-save): Declare.
5660 (register-alist): Document framesets.
5661 (frameset-session-filter-alist): Declare.
5662 (frameset-to-register): New function.
5663 (jump-to-register): Implement jumping to framesets. Doc fix.
5664 (describe-register-1): Describe framesets.
5665
5666 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5667
5668 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5669
5670 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5671 Use lexical-binding.
5672
5673 * frameset.el (frameset): Use type vector, not list (incompatible
5674 change). Do not declare a new constructor, use the default one.
5675 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5676 `name' and `description', respectively, and add read-only slot
5677 `timestamp'. Doc fixes.
5678 (frameset-copy, frameset-persistent-filter-alist)
5679 (frameset-filter-alist, frameset-switch-to-gui-p)
5680 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5681 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5682 (frameset-filter-iconified, frameset-keep-original-display-p):
5683 Doc fixes.
5684 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5685 Rename from frameset-filter-(save|restore)-param. All callers changed.
5686 Doc fix.
5687 (frameset-p): Adapt to change to vector and be more thorough.
5688 Change arg name to OBJECT. Doc fix.
5689 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5690 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5691 All callers changed.
5692 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5693 All callers changed.
5694 (frameset--record-minibuffer-relationships): Rename from
5695 frameset--process-minibuffer-frames. All callers changed.
5696 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5697 Use new default constructor (again). Doc fix.
5698 (frameset--find-frame-if): Rename from `frameset--find-frame.
5699 All callers changed.
5700 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5701 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5702 Doc fix.
5703 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5704 PARAMETERS and WINDOW-STATE, respectively.
5705 (frameset-restore): Add new keyword argument PREDICATE.
5706 Reset frameset--target-display to nil. Doc fix.
5707
5708 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5710 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5711 (bat-mode): Use it.
5712 (bat-mode-syntax-table): Mark \n as end-of-comment.
5713 (bat-font-lock-keywords): Remove comment rule.
5714
5715 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5716 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5717
5718 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5719 (byte-compile-callargs-warn): Use `push'.
5720 (byte-compile-arglist-warn): Ignore higher-order "calls".
5721 (byte-compile-file-form-autoload): Use `pcase'.
5722 (byte-compile-function-form): If quoting a symbol, check that it exists.
5723
5724 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5725
5726 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5727 and add a few popular commands found in batch files.
5728 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5729 (dos-mode): Doc fixes.
5730
5731 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5732
5733 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5734 (dos-mode): Use setq-local. Add space after "rem".
5735 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5736 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5737
5738 2013-08-07 Arni Magnusson <arnima@hafro.is>
5739
5740 * progmodes/dos.el: New file.
5741 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5742 dos-mode.
5743
5744 2013-08-06 Glenn Morris <rgm@gnu.org>
5745
5746 * calendar/calendar.el: Add new faces, and day-header-array.
5747 (calendar-weekday-header, calendar-weekend-header)
5748 (calendar-month-header): New faces.
5749 (calendar-day-header-construct): New function.
5750 (calendar-day-header-width): Also :set calendar-day-header-array.
5751 (calendar-american-month-header, calendar-european-month-header)
5752 (calendar-iso-month-header): Use calendar- faces.
5753 (calendar-generate-month):
5754 Use calendar-day-header-array for day headers; apply faces to them.
5755 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5756 (calendar-abbrev-construct): Add optional maxlen argument.
5757 (calendar-day-name-array): Doc fix.
5758 (calendar-day-name-array, calendar-abbrev-length)
5759 (calendar-day-abbrev-array):
5760 Also :set calendar-day-header-array, and maybe redraw.
5761 (calendar-day-header-array): New option. (Bug#15007)
5762 (calendar-font-lock-keywords): Set to nil and make obsolete.
5763 (calendar-day-name): Add option to use header array.
5764
5765 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5766
5767 * net/shr.el (shr-render-td): Remove debugging.
5768 (shr-render-td): Make width computation consistent by defaulting
5769 all zero-width columns to 10 characters. This may not be optimal,
5770 but it's at least consistent.
5771 (shr-make-table-1): Redo last change to fix the real problem in
5772 colspan handling.
5773
5774 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5775
5776 * files.el (cache-long-line-scans):
5777 Make obsolete alias to `cache-long-scans'.
5778
5779 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5780
5781 * frameset.el (frameset, frameset-filter-alist)
5782 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5783 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5784 (frameset-compute-pos): Rename from frameset--compute-pos,
5785 and add docstring.
5786 (frameset-move-onscreen): Use frameset-compute-pos.
5787 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5788
5789 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5790 Fix typos in docstrings.
5791
5792 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5793
5794 * frame.el (get-other-frame): Tiny cleanup.
5795
5796 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5797
5798 * vc/vc.el (vc-default-ignore-completion-table):
5799 Silence byte-compiler warning.
5800
5801 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5802 slot , which can indeed be nil.
5803 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5804 Move entry for `left' from persistent to live filter alist.
5805 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5806 Doc fixes.
5807 (frameset-filter-params): When restoring a frame, copy items added to
5808 `filtered', to avoid unwittingly modifying the original parameters.
5809 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5810 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5811
5812 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5813 to use looking-at-p instead of looking-at. (Bug#15028)
5814
5815 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5816
5817 Revert introduction of isearch-filter-predicates (bug#14714).
5818 Rely on add-function instead.
5819 * isearch.el (isearch-filter-predicates): Rename it back to
5820 isearch-filter-predicate.
5821 (isearch-message-prefix): Use advice-function-mapc and advice
5822 properties to get the isearch-message-prefix.
5823 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5824 instead of run-hook-with-args-until-failure.
5825 (isearch-filter-visible): Not obsolete any more.
5826 * loadup.el: Preload nadvice.
5827 * replace.el (perform-replace): Revert to funcall
5828 instead of run-hook-with-args-until-failure.
5829 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5830 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5831 dired-isearch-filenames-toggle; make it into a proper minor mode.
5832 Use add/remove-function.
5833 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5834 Call the minor-mode rather than add/remove-hook.
5835 (dired-isearch-filter-filenames):
5836 Remove isearch-message-prefix property.
5837 * info.el (Info--search-loop): New function, extracted from Info-search.
5838 Funcall isearch-filter-predicate instead of
5839 run-hook-with-args-until-failure isearch-filter-predicates.
5840 (Info-search): Use it.
5841 (Info-mode): Use isearch-filter-predicate instead of
5842 isearch-filter-predicates.
5843
5844 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5845
5846 Do not call to `selected-window' where it is assumed by default.
5847 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5848 `window-hscroll', `window-width', `window-height', `window-buffer',
5849 `window-frame', `window-start', `window-point', `next-window'
5850 and `window-display-table'.
5851 * abbrev.el (abbrev--default-expand):
5852 * bs.el (bs--show-with-configuration):
5853 * buff-menu.el (Buffer-menu-mouse-select):
5854 * calc/calc.el (calc):
5855 * calendar/calendar.el (calendar-generate-window):
5856 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5857 (diary-make-entry):
5858 * comint.el (send-invisible, comint-dynamic-complete-filename)
5859 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5860 * completion.el (complete):
5861 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5862 * disp-table.el (describe-current-display-table):
5863 * doc-view.el (doc-view-insert-image):
5864 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5865 * ehelp.el (with-electric-help):
5866 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5867 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5868 * emacs-lisp/helper.el (Helper-help-scroller):
5869 * emulation/cua-base.el (cua--post-command-handler-1):
5870 * eshell/esh-mode.el (eshell-output-filter):
5871 * ffap.el (ffap-gnus-wrapper):
5872 * help-macro.el (make-help-screen):
5873 * hilit-chg.el (highlight-compare-buffers):
5874 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5875 * hl-line.el (global-hl-line-highlight):
5876 * icomplete.el (icomplete-simple-completing-p):
5877 * isearch.el (isearch-done):
5878 * jit-lock.el (jit-lock-stealth-fontify):
5879 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5880 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5881 * mpc.el (mpc-tagbrowser, mpc):
5882 * net/rcirc.el (rcirc-any-buffer):
5883 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5884 * play/landmark.el (landmark-max-width, landmark-max-height):
5885 * play/zone.el (zone):
5886 * progmodes/compile.el (compilation-goto-locus):
5887 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5888 * progmodes/etags.el (find-tag-other-window):
5889 * progmodes/fortran.el (fortran-column-ruler):
5890 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5891 * progmodes/verilog-mode.el (verilog-point-text):
5892 * reposition.el (reposition-window):
5893 * rot13.el (toggle-rot13-mode):
5894 * server.el (server-switch-buffer):
5895 * shell.el (shell-dynamic-complete-command)
5896 (shell-dynamic-complete-environment-variable):
5897 * simple.el (insert-buffer, set-selective-display)
5898 (delete-completion-window):
5899 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5900 (speedbar-recenter):
5901 * startup.el (fancy-splash-head):
5902 * textmodes/ispell.el (ispell-command-loop):
5903 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5904 * tutorial.el (help-with-tutorial):
5905 * vc/add-log.el (add-change-log-entry):
5906 * vc/compare-w.el (compare-windows):
5907 * vc/ediff-help.el (ediff-indent-help-message):
5908 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5909 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5910 (ediff-setup-control-frame):
5911 * vc/emerge.el (emerge-position-region):
5912 * vc/pcvs-util.el (cvs-bury-buffer):
5913 * window.el (walk-windows, mouse-autoselect-window-select):
5914 * winner.el (winner-set-conf, winner-undo): Related users changed.
5915
5916 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5917
5918 * frameset.el (frameset--set-id): Doc fix.
5919 (frameset-frame-id, frameset-frame-id-equal-p)
5920 (frameset-locate-frame-id): New functions.
5921 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5922 (frameset-restore): Use them.
5923
5924 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5925
5926 Do not call to `selected-frame' where it is assumed by default.
5927 Affected functions are `raise-frame', `redraw-frame',
5928 `frame-first-window', `frame-terminal' and `delete-frame'.
5929 * calendar/appt.el (appt-disp-window):
5930 * epg.el (epg-wait-for-completion):
5931 * follow.el (follow-delete-other-windows-and-split)
5932 (follow-avoid-tail-recenter):
5933 * international/mule.el (set-terminal-coding-system):
5934 * mail/rmail.el (rmail-mail-return):
5935 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5936 * progmodes/f90.el (f90-add-imenu-menu):
5937 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5938 * server.el (server-switch-buffer):
5939 * simple.el (delete-completion-window):
5940 * talk.el (talk):
5941 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5942 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5943 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5944 * vc/ediff.el (ediff-documentation): Related users changed.
5945 * frame.el (selected-terminal): Remove the leftover.
5946
5947 2013-08-05 Glenn Morris <rgm@gnu.org>
5948
5949 * calendar/calendar.el (calendar-generate-month):
5950 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5951 (calendar-generate-month, calendar-font-lock-keywords):
5952 Fix for calendar-day-header-width > length of any day name.
5953
5954 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5955
5956 * desktop.el (desktop-clear): Use new name of sort predicate.
5957
5958 * frameset.el (frameset): Add docstring. Move :version property to its
5959 own `version' slot.
5960 (frameset-copy): Rename from copy-frameset.
5961 (frameset-p): Check more thoroughly.
5962 (frameset-prop): Do not check for :version, which is no longer a prop.
5963 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5964 Use new :never value instead of t.
5965 (frameset-filter-alist): Expand and clarify docstring.
5966 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5967 (frameset-filter-minibuffer, frameset-filter-save-param)
5968 (frameset-filter-restore-param, frameset-filter-iconified):
5969 Add pointer to docstring of frameset-filter-alist.
5970 (frameset-filter-params): Rename filter values to be more meaningful:
5971 :never instead of t, and reverse the meanings of :save and :restore.
5972 (frameset--process-minibuffer-frames): Clarify error message.
5973 (frameset-save): Avoid unnecessary and confusing call to framep.
5974 Use new BOA constructor for framesets.
5975 (frameset--reuse-list): Doc fix.
5976 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5977 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5978 (frameset-minibufferless-first-p): Doc fix.
5979 Rename from frameset-sort-frames-for-deletion.
5980 (frameset-restore): Doc fixes. Use new function names.
5981 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5982
5983 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5984
5985 * desktop.el (desktop-restore-forces-onscreen)
5986 (desktop-restore-reuses-frames): Document :keyword constant values.
5987 (desktop-filter-parameters-alist): Remove, now identical to
5988 frameset-filter-alist.
5989 (desktop--filter-tty*): Remove, moved to frameset.el.
5990 (desktop-save-frameset, desktop-restore-frameset):
5991 Do not pass :filters argument.
5992
5993 * frameset.el (frameset-live-filter-alist)
5994 (frameset-persistent-filter-alist): New variables.
5995 (frameset-filter-alist): Use them. Add autoload cookie.
5996 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5997 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5998 `frameset--id' (it's supposed to be internal to frameset.el).
5999 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6000 (frameset--initial-params): New function.
6001 (frameset--get-frame): Use it. Doc fix.
6002 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6003 Accept :all, not 'all.
6004 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6005 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6006 with fbound symbols. Fix frame id matching, and remove matching ids if
6007 the frame being restored is deleted. Obey :delete.
6008
6009 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6010
6011 * subr.el (macrop): New function.
6012 (text-clone--maintaining): New var.
6013 (text-clone--maintain): Rename from text-clone-maintain. Use it
6014 instead of inhibit-modification-hooks.
6015
6016 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6017 a proxy, so as handle autoloads and redefinitions of the target.
6018 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6019
6020 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6021 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6022 (pcase--mutually-exclusive-p): New function.
6023 (pcase--split-consp): Use it.
6024 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6025 mutually exclusive with the current predicate.
6026
6027 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6028 (edebug-macrop): Remove. Use `macrop' instead.
6029 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6030 (ad-macro-p):
6031 * eshell/esh-cmd.el (eshell-macrop):
6032 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6033
6034 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6035
6036 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6037 (advice-mapc): New function, using it.
6038 (advice-function-member-p): New function.
6039 (advice--normalize): Store the cdr in advice--saved-rewrite since
6040 that's the part that will be changed.
6041 (advice--symbol-function): New function.
6042 (advice-remove): Handle removal before the function is defined.
6043 Adjust to new advice--saved-rewrite.
6044 (advice-member-p): Use advice-function-member-p and
6045 advice--symbol-function.
6046
6047 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6048
6049 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6050 (frameset-filter-minibuffer): Doc fix.
6051 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6052 (frameset--set-id, frameset--process-minibuffer-frames)
6053 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6054 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6055
6056 * desktop.el (desktop-clear): Only delete frames when called
6057 interactively and desktop-restore-frames is non-nil. Doc fix.
6058 (desktop-read): Set desktop-saved-frameset to nil.
6059
6060 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6061
6062 * vc/vc.el (vc-ignore): Rewrite.
6063 (vc-default-ignore-completion-table):
6064 (vc--read-lines):
6065 (vc--add-line, vc--remove-regexp): New functions.
6066
6067 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6068 (vc-svn-ignore-completion-table): New function.
6069
6070 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6071 (vc-hg-ignore-completion-table):
6072 (vc-hg-find-ignore-file): New functions.
6073
6074 * vc/vc-git.el (vc-git-ignore): Rewrite.
6075 (vc-git-ignore-completion-table):
6076 (vc-git-find-ignore-file): New functions.
6077
6078 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6079
6080 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6081 (vc-bzr-ignore-completion-table):
6082 (vc-bzr-find-ignore-file): New functions.
6083
6084 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6085
6086 * frameset.el (frameset-prop): New function and setter.
6087 (frameset-save): Do not modify frame list passed by the caller.
6088
6089 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6090
6091 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6092
6093 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6094
6095 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6096 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6097
6098 * custom.el (custom-initialize-default, custom-initialize-set)
6099 (custom-initialize-reset, custom-initialize-changed): Affect the
6100 toplevel-default-value (bug#6275, bug#14586).
6101 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6102 for bug#6275.
6103
6104 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6105
6106 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6107 Add cl-def* expressions.
6108
6109 * frameset.el (frameset-filter-params): Fix order of arguments.
6110
6111 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6112
6113 Move code related to saving frames to frameset.el.
6114 * desktop.el: Require frameset.
6115 (desktop-restore-frames): Doc fix.
6116 (desktop-restore-reuses-frames): Rename from
6117 desktop-restoring-reuses-frames.
6118 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6119 (desktop-clear): Clear frames too.
6120 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6121 (desktop--filter-tty*, desktop-save, desktop-read):
6122 Use frameset functions.
6123 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6124 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6125 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6126 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6127 (desktop--process-minibuffer-frames, desktop-save-frames)
6128 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6129 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6130 (desktop--sort-states, desktop-restoring-frames-p)
6131 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6132 (desktop-restoring-frameset-p, desktop-restore-frameset)
6133 (desktop--check-dont-save, desktop-save-frameset): New functions.
6134 (desktop--app-id): New constant.
6135 (desktop-first-buffer, desktop-buffer-ok-count)
6136 (desktop-buffer-fail-count): Move before first use.
6137 * frameset.el: New file.
6138
6139 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6140
6141 * files.el: Use lexical-binding.
6142 (dir-locals-read-from-file): Remove unused `err' variable.
6143 (hack-dir-local-variables--warned-coding): New var.
6144 (hack-dir-local-variables): Use it to avoid repeated warnings.
6145 (make-backup-file-name--default-function): New function.
6146 (make-backup-file-name-function): Use it as default.
6147 (buffer-stale--default-function): New function.
6148 (buffer-stale-function): Use it as default.
6149 (revert-buffer-insert-file-contents--default-function): New function.
6150 (revert-buffer-insert-file-contents-function): Use it as default.
6151 (insert-directory): Avoid add-to-list.
6152
6153 * autorevert.el (auto-revert-handler): Simplify.
6154 Use buffer-stale--default-function.
6155
6156 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6157
6158 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6159
6160 * whitespace.el (whitespace-ensure-local-variables): New function.
6161 (whitespace-cleanup-region): Call it.
6162 (whitespace-turn-on): Call it.
6163
6164 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6165
6166 Complete file name handlers.
6167
6168 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6169 (tramp-handle-verify-visited-file-modtime)
6170 (tramp-handle-file-notify-rm-watch): New functions.
6171 (tramp-call-process): Do not bind `default-directory'.
6172
6173 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6174 Order alphabetically.
6175 [access-file, add-name-to-file, dired-call-process]:
6176 [dired-compress-file, file-acl, file-notify-rm-watch]:
6177 [file-ownership-preserved-p, file-selinux-context]:
6178 [make-directory-internal, make-symbolic-link, set-file-acl]:
6179 [set-file-selinux-context, set-visited-file-modtime]:
6180 [verify-visited-file-modtime]: Add handler.
6181 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6182
6183 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6184 [file-notify-add-watch, file-notify-rm-watch]:
6185 [set-file-times, set-visited-file-modtime]:
6186 [verify-visited-file-modtime]: Add handler.
6187 (with-tramp-gvfs-error-message)
6188 (tramp-gvfs-handle-set-visited-file-modtime)
6189 (tramp-gvfs-fuse-file-name): Remove.
6190 (tramp-gvfs-handle-file-notify-add-watch)
6191 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6192 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6193
6194 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6195 Order alphabetically.
6196 [file-notify-rm-watch ]: Use default Tramp handler.
6197 [executable-find]: Remove private handler.
6198 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6199 `default-directory'.
6200 (tramp-sh-handle-executable-find)
6201 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6202 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6203 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6204 Do not use `format' in `tramp-message'.
6205
6206 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6207 [file-notify-rm-watch, set-visited-file-modtime]:
6208 [verify-visited-file-modtime]: Add handler.
6209 (tramp-smb-call-winexe): Do not bind `default-directory'.
6210
6211 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6212
6213 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6214
6215 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6216
6217 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6218 use it.
6219 (log-view-diff-changeset): Same.
6220 (log-view-diff-common): Call backend command `previous-revision'
6221 to find out the previous revision, in both cases. Swap the
6222 variables `to' and `fr', so that `fr' usually refers to the
6223 earlier revision (Bug#14989).
6224
6225 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6226
6227 * ibuf-ext.el (ibuffer-filter-by-filename):
6228 Make it work with dired buffers too.
6229
6230 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6231
6232 * emacs-lisp/re-builder.el (reb-color-display-p):
6233 * files.el (save-buffers-kill-terminal):
6234 * net/browse-url.el (browse-url):
6235 * server.el (server-save-buffers-kill-terminal):
6236 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6237 Prefer nil to selected-frame for the first arg of frame-parameter.
6238
6239 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6240
6241 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6242
6243 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6244
6245 * minibuffer.el (completion--twq-all): Try and preserve each
6246 completion's case choice (bug#14907).
6247
6248 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6249
6250 * net/network-stream.el (open-network-stream): Mention the new
6251 :nogreeting parameter.
6252 (network-stream-open-starttls): Use the :nogreeting parameter
6253 (bug#14938).
6254
6255 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6256
6257 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6258 more natural than popping.
6259
6260 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6261 (shr-urlify): Highlight under mouse.
6262
6263 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6264
6265 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6266
6267 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6268
6269 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6270 buffer for output.
6271
6272 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6273 point-min==1. Fix search string. Fix parentheses missing.
6274
6275 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6276 assume point-min==1. Fix search string. Fix parentheses missing.
6277
6278 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6279
6280 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6281 buffer for output.
6282
6283 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6284
6285 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6286 initial frame is minibuffer-less. (Bug#14841)
6287
6288 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6289
6290 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6291 option.
6292
6293 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6294 (tramp-maybe-open-connection): Use it.
6295
6296 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6297
6298 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6299 minimal set of parameters passed when creating a frame, because
6300 the minibuffer status of a frame cannot be changed later.
6301
6302 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6303
6304 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6305 replace-regexp-in-string and inadvertent omissions in previous change.
6306 (todo-filter-items): Ensure only file names are comma-separated in
6307 name of filtered items buffer.
6308
6309 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6310
6311 * desktop.el: Optionally force offscreen frames back onscreen.
6312 (desktop-restoring-reuses-frames): New option.
6313 (desktop--compute-pos, desktop--move-onscreen): New functions.
6314 (desktop--make-frame): Use desktop--move-onscreen.
6315
6316 2013-07-27 Alan Mackenzie <acm@muc.de>
6317
6318 Fontify a Java generic method as a function.
6319 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6320 value to t.
6321
6322 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6323
6324 * calendar/todo-mode.el: Add command to rename todo files.
6325 (todo-rename-file): New command.
6326 (todo-key-bindings-t): Add key binding for it. Change the
6327 bindings of todo-filter-regexp-items(-multifile) to use `x'
6328 instead of `r', since the latter is better suited to the new
6329 renaming command.
6330
6331 2013-07-27 Alan Mackenzie <acm@muc.de>
6332
6333 Make Java try-with-resources statement parse properly.
6334 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6335 (c-block-stmt-1-2-key): New language constants/variables.
6336 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6337 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6338 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6339 with c-block-stmt-1-2-key.
6340
6341 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6342
6343 * desktop.el (desktop--make-frame): Apply most frame parameters after
6344 creating the frame to force (partially or totally) offscreen frames to
6345 be restored as such.
6346
6347 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6348
6349 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6350 (Bug#14948)
6351
6352 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6353
6354 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6355 `base' arg of backtrace-frame.
6356
6357 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6358
6359 * simple.el (list-processes): Doc fix.
6360
6361 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6362
6363 * desktop.el (desktop--select-frame):
6364 Try harder to reuse existing frames.
6365
6366 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6367
6368 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6369 (edebug-eval): Use backtrace-eval.
6370 (edebug--display, edebug--recursive-edit): Don't let-bind the
6371 edebug-outer-* vars that keep track of variables we locally let-bind.
6372 (edebug-outside-excursion): Don't restore outside values of locally
6373 let-bound vars.
6374 (edebug--display): Use user-error.
6375 (cl-lexical-debug, cl-debug-env): Remove.
6376
6377 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6378
6379 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6380 are restored to be sure that they are visible before deleting any
6381 remaining ones.
6382
6383 2013-07-26 Matthias Meulien <orontee@gmail.com>
6384
6385 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6386 vc-print-root-log. (Bug#14948)
6387
6388 2013-07-26 Richard Stallman <rms@gnu.org>
6389
6390 Add aliases for encrypting mail.
6391 * epa.el (epa-mail-aliases): New option.
6392 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6393 Bind inhibit-read-only so read-only text doesn't ruin everything.
6394 (epa-mail-default-recipients): New subroutine broken out.
6395 Handle epa-mail-aliases.
6396
6397 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6398
6399 Add support for lexical variables to the debugger's `e' command.
6400 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6401 vars, except for debugger-outer-match-data.
6402 (debugger-frame-number): Move check for "on a function call" from
6403 callers into it. Add `skip-base' argument.
6404 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6405 (debugger-env-macro): Only reset the state stored in non-variables,
6406 i.e. current-buffer and match-data.
6407 (debugger-eval-expression): Rewrite using backtrace-eval.
6408 * subr.el (internal--called-interactively-p--get-frame): Remove.
6409 (called-interactively-p):
6410 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6411 `base' arg of backtrace-frame instead.
6412
6413 2013-07-26 Glenn Morris <rgm@gnu.org>
6414
6415 * align.el (align-regexp): Doc fix. (Bug#14857)
6416 (align-region): Explicit error if subexpression missing/does not match.
6417
6418 * simple.el (global-visual-line-mode):
6419 Do not duplicate the mode lighter. (Bug#14858)
6420
6421 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6422
6423 * window.el (display-buffer): In display-buffer bind
6424 split-window-keep-point to t, bug#14829.
6425
6426 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6427
6428 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6429 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6430 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6431 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6432 Change accordingly.
6433 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6434 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6435
6436 2013-07-25 Glenn Morris <rgm@gnu.org>
6437
6438 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6439
6440 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6441
6442 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6443 parameter to modify-frame-parameters if the value has not changed;
6444 this is a workaround for bug#14949.
6445 (desktop--make-frame): On cl-delete-if call, check parameter name,
6446 not full parameter.
6447
6448 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6449
6450 * vc/vc.el (vc-ignore): New function.
6451
6452 * vc/vc-svn.el (vc-svn-ignore): New function.
6453
6454 * vc/vc-hg.el (vc-hg-ignore): New function.
6455
6456 * vc/vc-git.el (vc-git-ignore): New function.
6457
6458 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6459 (vc-dir-ignore): New function.
6460
6461 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6462 (cvs-append-to-ignore): Move here from pcvs.el.
6463
6464 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6465
6466 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6467
6468 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6469
6470 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6471 (desktop-restore-frames): Warn when deleting an existing frame failed.
6472
6473 2013-07-24 Glenn Morris <rgm@gnu.org>
6474
6475 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6476
6477 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6478
6479 * filenotify.el (file-notify-supported-p):
6480 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6481 Remove functions.
6482
6483 * autorevert.el (auto-revert-use-notify):
6484 (auto-revert-notify-add-watch):
6485 * net/tramp.el (tramp-file-name-for-operation):
6486 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6487 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6488 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6489 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6490 Remove `file-notify-supported-p' entry.
6491
6492 2013-07-24 Glenn Morris <rgm@gnu.org>
6493
6494 * printing.el: Replace all uses of deleted ps-windows-system,
6495 ps-lp-system, ps-flatten-list with lpr- versions.
6496
6497 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6498
6499 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6500 checked with memq (bug#14935).
6501
6502 * files.el (revert-buffer-function): Use a non-nil default.
6503 (revert-buffer-preserve-modes): Declare var to
6504 provide access to the `preserve-modes' argument.
6505 (revert-buffer): Let-bind it.
6506 (revert-buffer--default): New function, extracted from revert-buffer.
6507
6508 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * lpr.el: Signal print errors more prominently.
6511 (print-region-function): Don't default to nil.
6512 (lpr-print-region): New function, extracted from print-region-1.
6513 Check lpr's return value and signal an error in case of problem.
6514 (print-region-1): Use it.
6515 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6516 versions instead.
6517 (ps-printer-name): Default to nil.
6518 (ps-printer-name-option): Default to lpr-printer-switch.
6519 (ps-print-region-function): Don't default to nil.
6520 (ps-postscript-code-directory): Simplify default.
6521 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6522 (ps-string-list, ps-eval-switch, ps-flatten-list)
6523 (ps-flatten-list-1): Remove.
6524 (ps-multibyte-buffer): Avoid setq.
6525 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6526 (print-region-function, ps-print-region-function): Don't set them here.
6527
6528 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6529
6530 * ido.el (ido-fractionp):
6531 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6532 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6533 (ido-max-directory-size, ido-max-dir-file-cache)
6534 (ido-decorations): Doc fix.
6535
6536 * ansi-color.el: Fix old URL.
6537
6538 2013-07-23 Michael R. Mauger <michael@mauger.com>
6539
6540 * progmodes/sql.el: Version 3.3
6541 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6542 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6543 (sql-interactive-remove-continuation-prompt): Rewrite, use
6544 functions above. Fix continuation prompt and complete output line
6545 handling.
6546 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6547 redirected output buffer.
6548 (sql-mode): Restore deleted code (Bug#13591).
6549
6550 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6551
6552 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6553
6554 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6555
6556 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6557
6558 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6559 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6560 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6561
6562 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6563
6564 * desktop.el (desktop-clear): Simplify; remove useless checks
6565 against invalid buffer names.
6566 (desktop-list*): Use cl-list*.
6567 (desktop-buffer-info, desktop-create-buffer): Simplify.
6568
6569 2013-07-23 Leo Liu <sdl.web@gmail.com>
6570
6571 * bookmark.el (bookmark-make-record): Restore NAME as a default
6572 value. (Bug#14933)
6573
6574 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6575
6576 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6577 extracted from autoload--insert-text.
6578 (autoload--insert-text): Remove.
6579 (autoload--print-cookie-text): New function, extracted from
6580 autoload--insert-cookie-text.
6581 (autoload--insert-cookie-text): Remove.
6582 (autoload-generate-file-autoloads): Adjust calls accordingly.
6583
6584 * winner.el (winner-hook-installed-p): Remove.
6585 (winner-mode): Simplify accordingly.
6586
6587 * subr.el (add-to-list): Fix compiler-macro when `append' is
6588 not constant. Don't use `cl-member' for the base case.
6589
6590 * progmodes/subword.el: Fix boundary case (bug#13758).
6591 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6592 own group.
6593 (subword-backward-regexp): Make it a constant.
6594 (subword-forward-internal): Don't treat a trailing capital as the
6595 beginning of a word.
6596
6597 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6598
6599 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6600 global value of tabulated-list-revert-hook (bug#14930).
6601
6602 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6603
6604 * desktop.el: Require 'cl-lib.
6605 (desktop-before-saving-frames-functions): New hook.
6606 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6607 for frames being saved. Rename from desktop--save-minibuffer-frames.
6608 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6609 Do not save frames with non-nil `desktop-dont-save' parameter.
6610 Filter out deleted frames.
6611 (desktop--find-frame): Use cl-find-if.
6612 (desktop--select-frame): Use cl-(first|second|third) to access values
6613 of desktop-mini.
6614 (desktop--make-frame): Use cl-delete-if.
6615 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6616 (desktop-restore-frames): Use cl-(first|second|third) to access values
6617 of desktop-mini. Look for visible frame at the end, not while
6618 restoring frames.
6619
6620 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6621 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6622 Use string-match-p, looking-at-p (bug#14927).
6623
6624 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6625
6626 * desktop.el (desktop-saved-frame-states):
6627 Rename from desktop--saved-states; all users changed.
6628 (desktop-save-frames): Rename from desktop--save-frames.
6629 Do not save state to desktop file.
6630 (desktop-save): Save desktop-saved-frame-states to desktop file
6631 and reset to nil.
6632 (desktop-restoring-frames-p): New function.
6633 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6634 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6635 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6636
6637 * desktop.el: Correctly restore iconified frames.
6638 (desktop--filter-iconified-position): New function.
6639 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6640
6641 2013-07-20 Glenn Morris <rgm@gnu.org>
6642
6643 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6644 Let `message' do the formatting.
6645 (def-gdb-preempt-display-buffer): Add explicit format.
6646
6647 * image-dired.el (image-dired-track-original-file):
6648 Use with-current-buffer.
6649 (image-dired-track-thumbnail): Use with-current-buffer.
6650 Avoid changing point of wrong window.
6651
6652 * image-dired.el (image-dired-track-original-file):
6653 Avoid changing point of wrong window. (Bug#14909)
6654
6655 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6656
6657 * progmodes/gdb-mi.el (gdb-done-or-error):
6658 Guard against "%" in gdb output. (Bug#14127)
6659
6660 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6661
6662 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6663 (Bug#14826)
6664
6665 * international/mule.el (coding-system-iso-2022-flags): Fix last
6666 change.
6667
6668 2013-07-20 Kenichi Handa <handa@gnu.org>
6669
6670 * international/mule.el (coding-system-iso-2022-flags):
6671 Add `8-bit-level-4'. (Bug#8522)
6672
6673 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6674
6675 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6676 (bug#14815).
6677
6678 * net/eww.el (eww-process-text-input): Allow inputting when the
6679 point is at the start of the line, as the properties aren't
6680 front-sticky.
6681
6682 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6683 degenerate widths.
6684
6685 2013-07-19 Richard Stallman <rms@gnu.org>
6686
6687 * epa.el (epa-popup-info-window): Doc fix.
6688
6689 * subr.el (split-string): New arg TRIM.
6690
6691 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6692
6693 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6694 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6695
6696 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6697
6698 * filenotify.el (file-notify--library): Rename from
6699 `file-notify-support'. Do not autoload. Adapt all uses.
6700 (file-notify-supported-p): New defun.
6701
6702 * autorevert.el (auto-revert-use-notify):
6703 Use `file-notify-supported-p' instead of `file-notify-support'.
6704 Adapt docstring.
6705 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6706
6707 * net/tramp.el (tramp-file-name-for-operation):
6708 Add `file-notify-supported-p'.
6709
6710 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6711 New defun.
6712 (tramp-sh-file-name-handler-alist): Add it as handler for
6713 `file-notify-supported-p '.
6714
6715 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6716 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6717 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6718 Add `ignore' as handler for `file-notify-*' functions.
6719
6720 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6721
6722 * simple.el (line-move-partial, line-move): Don't start vscroll or
6723 scroll-up if the current line is not taller than the window.
6724 (Bug#14881)
6725
6726 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6727
6728 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6729 highlight question marks in the method names as strings.
6730 (ruby-block-beg-keywords): Inline.
6731 (ruby-font-lock-keyword-beg-re): Extract from
6732 `ruby-font-lock-keywords'.
6733
6734 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6735
6736 * frame.el (blink-cursor-blinks): New defcustom.
6737 (blink-cursor-blinks-done): New defvar.
6738 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6739 (blink-cursor-timer-function): Check if number of blinks has been
6740 done on X and NS.
6741 (blink-cursor-suspend, blink-cursor-check): New defuns.
6742
6743 2013-07-15 Glenn Morris <rgm@gnu.org>
6744
6745 * edmacro.el (edmacro-format-keys): Fix previous change.
6746
6747 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6748
6749 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6750 The hack didn't work outside English locales anyway.
6751
6752 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6753
6754 * simple.el (define-alternatives): Rename from alternatives-define,
6755 per RMS' suggestion.
6756
6757 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6758
6759 * desktop.el (desktop-restore-frames): Change default to t.
6760 (desktop-restore-in-current-display): Now offer more options.
6761 (desktop-restoring-reuses-frames): New customization option.
6762 (desktop--saved-states): Doc fix.
6763 (desktop-filter-parameters-alist): New variable, renamed and expanded
6764 from desktop--excluded-frame-parameters.
6765 (desktop--target-display): New variable.
6766 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6767 (desktop--filter-tty*, desktop--filter-*-color)
6768 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6769 (desktop--filter-save-desktop-parm)
6770 (desktop-restore-in-original-display-p): New functions.
6771 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6772 (desktop--save-minibuffer-frames): New function, inspired by a similar
6773 function from Martin Rudalics.
6774 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6775 (desktop--restore-in-this-display-p): Remove.
6776 (desktop--find-frame): Rename from desktop--find-frame-in-display
6777 and add predicate argument.
6778 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6779 (desktop--reuse-list): New variable.
6780 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6781 New functions.
6782 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6783
6784 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6785
6786 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6787
6788 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6789
6790 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6791 Highlight conversion methods on Kernel.
6792
6793 2013-07-13 Alan Mackenzie <acm@muc.de>
6794
6795 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6796 and comment it out. This out-commenting enables certain C++
6797 declarations to be parsed correctly.
6798
6799 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6800
6801 * international/mule.el (define-coding-system): Doc fix.
6802
6803 * simple.el (default-font-height): Don't call font-info if the
6804 frame's default font didn't change since the frame was created.
6805 (Bug#14838)
6806
6807 2013-07-13 Leo Liu <sdl.web@gmail.com>
6808
6809 * ido.el (ido-read-file-name): Guard against non-symbol value.
6810
6811 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6812
6813 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6814 in nested defuns.
6815
6816 2013-07-13 Leo Liu <sdl.web@gmail.com>
6817
6818 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6819 ido-set-matches call. (Bug#6852)
6820
6821 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6822
6823 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6824 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6825 Ruby 2.0.
6826 (ruby-font-lock-keywords): Distinguish calls to functions with
6827 module-like names from module references. Highlight character
6828 literals.
6829
6830 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6831
6832 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6833 (gdb-send): Handle continued commands. (Bug#14847)
6834
6835 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6836
6837 * desktop.el (desktop--v2s): Remove unused local variable.
6838 (desktop-save-buffer): Make defvar-local; adjust docstring.
6839 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6840 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6841
6842 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6843
6844 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6845
6846 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6847
6848 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6849 (Bug#14842)
6850
6851 2013-07-12 Glenn Morris <rgm@gnu.org>
6852
6853 * doc-view.el: Require cl-lib at runtime too.
6854 (doc-view-remove-if): Remove.
6855 (doc-view-search-next-match, doc-view-search-previous-match):
6856 Use cl-remove-if.
6857
6858 * edmacro.el: Require cl-lib at runtime too.
6859 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6860 (edmacro-mismatch, edmacro-subseq): Remove.
6861
6862 * shadowfile.el: Require cl-lib.
6863 (shadow-remove-if): Remove.
6864 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6865 Use cl-remove-if.
6866
6867 * wid-edit.el: Require cl-lib.
6868 (widget-choose): Use cl-remove-if.
6869 (widget-remove-if): Remove.
6870
6871 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6872 (ebrowse-delete-if-not): Remove.
6873 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6874 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6875 Use cl-delete-if-not.
6876
6877 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6878
6879 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6880 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6881
6882 2013-07-12 Leo Liu <sdl.web@gmail.com>
6883
6884 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6885
6886 2013-07-11 Glenn Morris <rgm@gnu.org>
6887
6888 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6889 (edebug-gensym-index, edebug-gensym):
6890 Remove reimplementation of cl-gensym.
6891 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6892
6893 * thumbs.el: Require cl-lib at run-time too.
6894 (thumbs-gensym-counter, thumbs-gensym):
6895 Remove reimplementation of cl-gensym.
6896 (thumbs-temp-file): Use cl-gensym.
6897
6898 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6899 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6900 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6901 (ert--union, ert--gensym-counter, ert--gensym-counter)
6902 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6903 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6904 (ert-make-test-unbound, ert--expand-should-1)
6905 (ert--expand-should, ert--should-error-handle-error)
6906 (should-error, ert--explain-equal-rec)
6907 (ert--plist-difference-explanation, ert-select-tests)
6908 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6909 Use cl-lib functions rather than reimplementations.
6910
6911 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6912
6913 * net/tramp.el (tramp-methods): Extend docstring.
6914 (tramp-connection-timeout): New defcustom.
6915 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6916 (with-tramp-progress-reporter): Simplify.
6917 (tramp-process-actions): Improve messages.
6918
6919 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6920 * net/tramp-sh.el (tramp-maybe-open-connection):
6921 Use `tramp-connection-timeout'.
6922 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6923 (Bug#14808)
6924
6925 2013-07-11 Leo Liu <sdl.web@gmail.com>
6926
6927 * ido.el (ido-read-file-name): Conform to the requirements of
6928 read-file-name. (Bug#11861)
6929 (ido-read-directory-name): Conform to the requirements of
6930 read-directory-name.
6931
6932 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6933
6934 * subr.el (delay-warning): New function.
6935
6936 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6937
6938 * simple.el (default-line-height): New function.
6939 (line-move-partial, line-move): Use it instead of computing the
6940 line height inline.
6941 (line-move-partial): Always compute ROWH. If the last line is
6942 partially-visible, but its text is completely visible, allow
6943 cursor to enter such a partially-visible line.
6944
6945 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6946
6947 Improve error messages. (Bug#14808)
6948
6949 * net/tramp.el (tramp-current-connection): New defvar, moved from
6950 tramp-sh.el.
6951 (tramp-message-show-progress-reporter-message): Remove, not
6952 needed anymore.
6953 (tramp-error-with-buffer): Show message in minibuffer.
6954 Discard input before waiting. Reset connection timestamp.
6955 (with-tramp-progress-reporter): Improve messages.
6956 (tramp-process-actions): Use progress reporter. Delete process in
6957 case of error. Improve messages.
6958
6959 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6960 Call `tramp-error-with-buffer' with vector and buffer.
6961 (tramp-current-connection): Remove.
6962 (tramp-maybe-open-connection): The car of
6963 `tramp-current-connection' are the first 3 slots of the vector.
6964
6965 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6966
6967 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6968 inside continued strings.
6969
6970 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6971
6972 Timestamp fixes for undo (Bug#14824).
6973 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6974
6975 2013-07-10 Leo Liu <sdl.web@gmail.com>
6976
6977 * files.el (require-final-newline): Allow safe local value.
6978 (Bug#14834)
6979
6980 2013-07-09 Leo Liu <sdl.web@gmail.com>
6981
6982 * ido.el (ido-read-directory-name): Handle fallback.
6983 (ido-read-file-name): Update DIR to ido-current-directory.
6984 (Bug#1516)
6985 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6986
6987 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6988
6989 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6990 "autoload". Remove "warn lower camel case" section, previously
6991 commented out. Highlight negation char. Do not highlight the
6992 target in singleton method definitions.
6993
6994 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6995
6996 * faces.el (tty-setup-hook): Declare the hook.
6997
6998 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6999 and detect when a guard/pred depends on local vars (bug#14773).
7000 (pcase--u1): Adjust caller.
7001
7002 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7003
7004 * simple.el (line-move-partial, line-move): Account for
7005 line-spacing.
7006 (line-move-partial): Avoid setting vscroll when the last
7007 partially-visible line in window is of default height.
7008
7009 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7010
7011 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7012 been used a while.
7013
7014 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7015
7016 * subr.el (read-quoted-char): Remove unused local variable `char'.
7017
7018 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7019
7020 * ediff.el (ediff-version): Version update.
7021 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7022 (ediff-merge-with-ancestor-command, ediff-directories-command)
7023 (ediff-directories3-command, ediff-merge-directories-command)
7024 (ediff-merge-directories-with-ancestor-command): New functions.
7025 All are command-line interfaces to ediff: to facilitate calling
7026 Emacs with the appropriate ediff functions invoked.
7027
7028 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7029 (viper-save-kill-buffer): Check if buffer is modified.
7030
7031 * viper.el (viper-version): Version update.
7032 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7033
7034 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7037 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7038 (viper-intercept-ESC-key): Simplify.
7039 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7040 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7041 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7042 (viper-setup-ESC-to-escape): New functions.
7043 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7044 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7045
7046 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7047
7048 * simple.el (default-font-height, window-screen-lines):
7049 New functions.
7050 (line-move, line-move-partial): Use them instead of
7051 frame-char-height and window-text-height. This makes scrolling
7052 text smoother when the buffer's default face uses a font that is
7053 different from the frame's default font.
7054
7055 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7056
7057 * files.el (write-file): Do not display confirm dialog for NS,
7058 it does its own dialog, which can't be cancelled (Bug#14578).
7059
7060 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7061
7062 * simple.el (line-move-partial): Adjust the row returned by
7063 posn-at-point for the current window-vscroll. (Bug#14567)
7064
7065 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7066
7067 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7068 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7069 spaces.
7070
7071 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7072
7073 * window.el (window-state-put-stale-windows): New variable.
7074 (window--state-put-2): Save list of windows without matching buffer.
7075 (window-state-put): Remove "bufferless" windows if possible.
7076
7077 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7078
7079 * simple.el (alternatives-define): Remove leftover :group keyword.
7080 Tweak docstring.
7081
7082 2013-07-06 Leo Liu <sdl.web@gmail.com>
7083
7084 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7085 (ido-enable-virtual-buffers): New variable.
7086 (ido-buffer-internal, ido-toggle-virtual-buffers)
7087 (ido-make-buffer-list): Use it.
7088 (ido-exhibit): Support turning on and off virtual buffers
7089 automatically.
7090
7091 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7092
7093 * simple.el (alternatives-define): New macro.
7094
7095 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7096
7097 * subr.el (read-quoted-char): Use read-key.
7098 (sit-for): Let read-event decode tty input (bug#14782).
7099
7100 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7101
7102 * calendar/todo-mode.el: Add handling of file deletion, both by
7103 mode command and externally. Fix various related bugs.
7104 Clarify Commentary and improve some documentation strings and code.
7105 (todo-delete-file): New command.
7106 (todo-check-file): New function.
7107 (todo-show): Handle external deletion of the file we're trying to
7108 show (bug#14688). Replace called-interactively-p by an optional
7109 prefix argument to avoid problematic interaction with catch form
7110 when byte compiled (bug#14702).
7111 (todo-quit): Handle external deletion of the archive's todo file.
7112 Make sure the buffer that was visiting the archive file is still
7113 live before trying to bury it.
7114 (todo-category-completions): Handle external deletion of any
7115 category completion files.
7116 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7117 of todo files, in case of external deletion.
7118 (todo-add-file): Replace unnecessary setq by let-binding.
7119 (todo-find-archive): Check whether there are any archives.
7120 Replace unnecessary setq by let-binding.
7121 (todo-archive-done-item): Use find-file-noselect to get the
7122 archive buffer whether or not the archive already exists.
7123 Remove superfluous code. Use file size instead of buffer-file-name to
7124 check if the archive is new; if it is, update list of archives.
7125 (todo-default-todo-file): Allow nil to be a valid value for when
7126 there are no todo files.
7127 (todo-reevaluate-default-file-defcustom): Use corrected definition
7128 of todo-default-todo-file.
7129 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7130 (todo-delete-category, todo-show-categories-table)
7131 (todo-category-number): Clarify comment.
7132 (todo-filter-items): Clarify documentation string.
7133 (todo-show-current-file, todo-display-as-todo-file)
7134 (todo-reset-and-enable-done-separator): Tweak documentation string.
7135 (todo-done-separator): Make separator length window-width, since
7136 bug#2749 is now fixed.
7137
7138 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7139
7140 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7141 Support both "gvfs-monitor-dir" and "inotifywait".
7142 (tramp-sh-file-inotifywait-process-filter): Rename from
7143 `tramp-sh-file-notify-process-filter'.
7144 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7145 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7146
7147 2013-07-05 Leo Liu <sdl.web@gmail.com>
7148
7149 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7150
7151 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7152
7153 * frame.el (display-pixel-height, display-pixel-width)
7154 (display-mm-height, display-mm-width): Mention behavior on
7155 multi-monitor setups in docstrings.
7156 (w32-display-monitor-attributes-list): Declare function.
7157 (display-monitor-attributes-list): Use it.
7158
7159 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7160
7161 * filenotify.el: New package.
7162
7163 * autorevert.el (top): Require filenotify.el.
7164 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7165 instead.
7166 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7167 (auto-revert-notify-handler): Use `file-notify-*' functions.
7168
7169 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7170
7171 * net/tramp.el (tramp-file-name-for-operation):
7172 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7173
7174 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7175 for `file-notify-add-watch' and `file-notify-rm-watch'.
7176 (tramp-process-sentinel): Improve trace.
7177 (tramp-sh-handle-file-notify-add-watch)
7178 (tramp-sh-file-notify-process-filter)
7179 (tramp-sh-handle-file-notify-rm-watch)
7180 (tramp-get-remote-inotifywait): New defuns.
7181
7182 2013-07-03 Juri Linkov <juri@jurta.org>
7183
7184 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7185 call of `occur-read-primary-args' to interactive spec.
7186
7187 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7188 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7189
7190 2013-07-03 Matthias Meulien <orontee@gmail.com>
7191
7192 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7193 `Buffer-menu-multi-occur'. Add it to the menu.
7194 (Buffer-menu-mode): Document it in docstring.
7195 (Buffer-menu-multi-occur): New command. (Bug#14673)
7196
7197 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7198
7199 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7200 keywords and built-ins.
7201
7202 2013-07-03 Glenn Morris <rgm@gnu.org>
7203
7204 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7205
7206 Make info-xref checks case-sensitive by default
7207 * info.el (Info-find-node, Info-find-in-tag-table)
7208 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7209 Add option for exact case matching of nodes.
7210 * info-xref.el (info-xref): New custom group.
7211 (info-xref-case-fold): New option.
7212 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7213
7214 2013-07-03 Leo Liu <sdl.web@gmail.com>
7215
7216 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7217
7218 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7219
7220 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7221 middle of block statement initially, lower the depth. Remove
7222 FIXME comment, not longer valid. Remove middle of block statement
7223 detection, no need to do that anymore since we've been using
7224 `ruby-parse-region' here.
7225
7226 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7227
7228 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7229
7230 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7231
7232 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7233
7234 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7235
7236 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7237 (desktop-restore-in-current-display): New customization option.
7238 (desktop--excluded-frame-parameters): Add `font'.
7239 (desktop--save-frames): Rename from desktop--save-windows.
7240 (desktop--restore-in-this-display-p): New function.
7241 (desktop--make-full-frame): Remove unwanted width/height from
7242 full(width|height) frames.
7243 (desktop--restore-frames): Rename from desktop--restore-windows.
7244 Obey desktop-restore-current-display. Do not delete old frames or
7245 select a new frame unless we were able to restore at least one frame.
7246
7247 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7248
7249 * files.el (find-file-noselect): Simplify conditional expression.
7250
7251 * remember.el (remember-append-to-file):
7252 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7253
7254 Add `remember-notes' function to store random notes across Emacs
7255 restarts.
7256 * remember.el (remember-data-file): Add :set callback to affect
7257 notes buffer (if any).
7258 (remember-notes): New command.
7259 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7260 New defcustoms for the `remember-notes' function.
7261 (remember-notes-save-and-bury-buffer): New command.
7262 (remember-notes-mode-map): New variable.
7263 (remember-mode): New minor mode.
7264 (remember-notes--kill-buffer-query): New function.
7265 * startup.el (initial-buffer-choice): Add notes to custom type.
7266
7267 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7268
7269 * bindings.el (right-char, left-char): Don't call sit-for, this is
7270 no longer needed. Use arithmetic comparison only for numerical
7271 arguments.
7272
7273 * international/mule-cmds.el (select-safe-coding-system):
7274 Handle the case of FROM being a string correctly. (Bug#14755)
7275
7276 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7277
7278 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7279 progression on degenerate tables.
7280 (shr-rescale-image): ImageMagick animated images currently don't work.
7281
7282 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7283
7284 Some fixes and improvements for desktop frame restoration.
7285 It is still experimental and disabled by default.
7286 * desktop.el (desktop--save-windows): Put the selected frame at
7287 the head of the list.
7288 (desktop--make-full-frame): New function.
7289 (desktop--restore-windows): Try to re-select the frame that was
7290 selected upon saving. Do not abort if some frames fail to restore,
7291 just show an error message and continue. Set up maximized frames
7292 so they have default non-maximized dimensions.
7293
7294 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7295
7296 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7297 Don't start heredoc inside a string or comment.
7298
7299 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7300
7301 * bindings.el (visual-order-cursor-movement): New defcustom.
7302 (right-char, left-char): Provide visual-order cursor motion by
7303 calling move-point-visually. Update the doc strings.
7304
7305 2013-06-28 Kenichi Handa <handa@gnu.org>
7306
7307 * international/mule.el (define-coding-system): New coding system
7308 properties :inhibit-null-byte-detection,
7309 :inhibit-iso-escape-detection, and :prefer-utf-8.
7310 (set-buffer-file-coding-system): If :charset-list property of
7311 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7312 appropriate for setting.
7313
7314 * international/mule-cmds.el (select-safe-coding-system):
7315 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7316 multibyte characters, return utf-8 (or one of its siblings).
7317
7318 * international/mule-conf.el (prefer-utf-8): New coding system.
7319 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7320 files.
7321
7322 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7323
7324 * net/shr.el (shr-render-region): New function.
7325
7326 * net/eww.el: Autoload `eww-browse-url'.
7327
7328 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7329
7330 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7331 Adapt to `package-desc-version' being a list.
7332 Use `package--ac-desc-version' to retrieve version from a package
7333 archive element.
7334
7335 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7336
7337 New experimental feature to save&restore window and frame setup.
7338 * desktop.el (desktop-save-windows): New defcustom.
7339 (desktop--saved-states): New var.
7340 (desktop--excluded-frame-parameters): New defconst.
7341 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7342 (desktop--restore-windows, desktop--save-windows): New functions.
7343 (desktop-save): Call `desktop--save-windows'.
7344 (desktop-read): Call `desktop--restore-windows'.
7345
7346 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7347
7348 * net/shr.el (add-face-text-property): Remove compat definition.
7349
7350 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7351
7352 * info.el (Info-try-follow-nearest-node): Move search for footnote
7353 above search for node name to prevent missing a footnote (bug#14717).
7354
7355 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7356
7357 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7358
7359 2013-06-27 Leo Liu <sdl.web@gmail.com>
7360
7361 * net/eww.el (eww-read-bookmarks): Check file size.
7362
7363 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7366 advice--pending if newdef is nil or an autoload (bug#13820).
7367 (advice-mapc): New function.
7368
7369 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7370
7371 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7372 probably.
7373 (eww-mode-map): Add a menu bar.
7374 (eww-add-bookmark): New command.
7375 (eww-bookmark-mode): New mode and commands.
7376 (eww-add-bookmark): Remove newlines from the title.
7377 (eww-bookmark-browse): Don't bug out if it's the only window.
7378
7379 2013-06-26 Glenn Morris <rgm@gnu.org>
7380
7381 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7382 (hfy-size): Handle ttys. (Bug#14668)
7383
7384 * info-xref.el: Update for Texinfo 5 change in *note format.
7385 (info-xref-node-re, info-xref-note-re): New constants.
7386 (info-xref-check-buffer): Use info-xref-note-re.
7387
7388 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7389
7390 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7391
7392 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7393 nil terminate the loop (bug#14718).
7394
7395 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7396
7397 * net/eww.el: Rework history traversal. When going forward/back,
7398 put these actions into the history, too, so that they can be
7399 replayed.
7400 (eww-render): Move the history reset to the correct buffer.
7401
7402 2013-06-25 Juri Linkov <juri@jurta.org>
7403
7404 * files-x.el (modify-dir-local-variable): Change the header comment
7405 in the file with directory local variables. (Bug#14692)
7406
7407 * files-x.el (read-file-local-variable-value): Add `default'.
7408 (Bug#14710)
7409
7410 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7411
7412 * net/eww.el (eww-make-unique-file-name): Create a unique file
7413 name before saving to entering `y' accidentally asynchronously.
7414
7415 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7416
7417 * net/eww.el (eww-download): New command and keystroke.
7418
7419 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7420
7421 * net/eww.el (eww-copy-page-url): Change name of command.
7422
7423 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7424 be more consistent with Info and dired.
7425
7426 * net/eww.el (eww-mode-map): Ditto.
7427
7428 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7431 packages from archives.
7432 (package-archive-contents): Change format; include obsolete packages.
7433 (package-desc): Use `dir' to mark builtin packages.
7434 (package--from-builtin): Set the `dir' field to `builtin'.
7435 (generated-autoload-file, version-control): Declare.
7436 (package-compute-transaction): Change first arg and return value to be
7437 lists of package-descs. Adjust to new package-archive-contents format.
7438 (package--add-to-archive-contents): Adjust to new
7439 package-archive-contents format.
7440 (package-download-transaction): Arg is now a list of package-descs.
7441 (package-install): If `pkg' is a package name, pass it as
7442 a requirement, so it is subject to the usual (e.g. disabled) checks.
7443 (describe-package): Accept package-desc as well.
7444 (describe-package-1): Describe a specific package-desc. Add links to
7445 other package-descs for the same package name.
7446 (package-menu-describe-package): Pass the actual package-desc.
7447 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7448 works correctly.
7449 (package-desc-status): New function.
7450 (package-menu--refresh): New function, extracted
7451 from package-menu--generate.
7452 (package-menu--generate): Use it.
7453 (package-delete): Update package-alist.
7454 (package-menu-execute): Don't call package-initialize.
7455
7456 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7457 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7458 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7459 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7460 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7461 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7462
7463 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7464
7465 * window.el (window--state-get-1): Workaround for bug#14527.
7466 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7467
7468 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7469
7470 * net/eww.el (eww-back-url): Implement the history by stashing all
7471 the data into a list.
7472 (eww-forward-url): Allow going forward in the history, too.
7473
7474 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7477 for values and use read--expression for expressions (bug#14710).
7478 (read-file-local-variable): Avoid setq.
7479 (read-file-local-variable-mode): Use minor-mode-list.
7480
7481 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7482
7483 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7484 for DOI URLs.
7485
7486 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7487
7488 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7489 Update imenu-support when dialect changes.
7490
7491 2013-06-25 Leo Liu <sdl.web@gmail.com>
7492
7493 * ido.el (ido-read-internal): Allow forward slash on windows.
7494
7495 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7496
7497 * net/eww.el (eww): Start of strings is \\`, not ^.
7498
7499 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7500
7501 * net/shr.el (shr-browse-url): Fix interactive spec.
7502
7503 * net/eww.el (eww): Add a trailing slash to domain names.
7504
7505 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7506
7507 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7508
7509 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7510
7511 * net/shr.el (shr-browse-url): Use an external browser if given a
7512 prefix.
7513
7514 * net/eww.el (eww-external-browser): Move to shr.
7515
7516 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7517
7518 * net/eww.el (eww): Work more correctly for file: URLs.
7519 (eww-detect-charset): Allow quoted charsets.
7520 (eww-yank-page-url): New command and keystroke.
7521
7522 2013-06-24 Daiki Ueno <ueno@gnu.org>
7523
7524 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7525 file name of gpg executable.
7526 (epg-context-program): New function.
7527 (epg-context-home-directory): New function.
7528 (epg-context-set-program): New function.
7529 (epg-context-set-home-directory): New function.
7530 (epg--start): Use `epg-context-program' instead of
7531 'epg-gpg-program'.
7532 (epg--list-keys-1): Likewise.
7533
7534 2013-06-24 Leo Liu <sdl.web@gmail.com>
7535
7536 * ido.el (ido-read-internal): Fix bug#14620.
7537
7538 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7539
7540 * faces.el (face-documentation): Simplify.
7541 (read-face-attribute, tty-find-type, x-resolve-font-name):
7542 Use `string-match-p'.
7543 (list-faces-display): Use `string-match-p'. Simplify.
7544 (face-spec-recalc): Check face to avoid face alias loops.
7545 (read-color): Use `string-match-p' and non-capturing parenthesis.
7546
7547 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7548
7549 * net/shr.el (shr-rescale-image): Use the new
7550 :max-width/:max-height functionality.
7551
7552 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7553
7554 * net/eww.el (eww-search-prefix): New variable.
7555 (eww): Use it.
7556 (eww-external-browser): New variable.
7557 (eww-mode-map): New keystroke.
7558 (eww-browse-with-external-browser): New command.
7559
7560 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7561
7562 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7563
7564 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7565 Don't skip aligning the next header field when padding is 0;
7566 otherwise, field width is not respected unless the title is as
7567 wide as the field.
7568
7569 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7570
7571 * emacs-lisp/package.el (package-el-version): Remove.
7572 (package-process-define-package): Fix inf-loop.
7573 (package-install): Allow symbols as arguments again.
7574
7575 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7576
7577 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7578 add some more keyword-like methods.
7579 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7580
7581 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7582
7583 * bs.el (bs-buffer-show-mark): Make defvar-local.
7584 (bs-mode): Use setq-local.
7585
7586 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7587 (emacs-lock--try-unlocking): Make defvar-local.
7588
7589 2013-06-22 Glenn Morris <rgm@gnu.org>
7590
7591 * play/cookie1.el (cookie-apropos): Minor simplification.
7592
7593 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7594
7595 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7596
7597 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7598 `regexp-opt', it breaks the build during dumping.
7599
7600 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7601
7602 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7603 Highlight keyword-like methods on Kernel and Module with
7604 font-lock-builtin-face.
7605 (auto-mode-alist): Consolidate different entries into one regexp
7606 and add more *file-s.
7607
7608 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7609
7610 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7611
7612 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7613 (diary-entry): Use it in the action of this button type instead of
7614 diary-goto-entry.
7615
7616 * calendar/todo-mode.el: New version.
7617 (todo-add-category): Append new category to end of file and give
7618 it the highest number, instead of putting it at the beginning and
7619 giving it 0. Incorporate noninteractive functionality.
7620 (todo-forward-category): Adapt to 1-based category numbering.
7621 Allow skipping over archived categories.
7622 (todo-backward-category): Derive from todo-forward-category.
7623 (todo-backward-item, todo-forward-item): Make noninteractive and
7624 delegate interactive part to new commands. Make sensitive to done items.
7625 (todo-categories): Make value an alist of category names and
7626 vectors of item counts.
7627 (todo-category-beg): Make a defconst.
7628 (todo-category-number): Use 1 instead of 0 as initial value.
7629 (todo-category-select): Make sensitive to overlays, optional item
7630 highlighting and done items.
7631 (todo-delete-item): Make sensitive to overlays and marked and done items.
7632 (todo-edit-item): Make sensitive to overlays and editing of
7633 date/time header optional. Add format checks.
7634 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7635 no-op if point is not on an item. Advertise using todo-edit-quit.
7636 (todo-edit-mode): Make sensitive to new format, font-locking, and
7637 multiple todo files.
7638 (todo-insert-item, todo-insert-item-here): Derive from
7639 todo-basic-insert-item and extend functionality.
7640 (todo-item-end, todo-item-start): Make sensitive to done items.
7641 (todo-item-string): Don't return text properties. Restore point.
7642 (todo-jump-to-category): Make sensitive to multiple todo files and
7643 todo archives. Use extended category completion.
7644 (todo-lower-item, todo-raise-item): Rename to *-priority and
7645 derive from todo-set-item-priority.
7646 (todo-mode): Derive from special-mode. Make sensitive to new
7647 format, font-locking and multiple todo files. Make read-only.
7648 (todo-mode-map): Don't suppress digit keys, so they can supply
7649 prefix arguments. Add many new key bindings.
7650 (todo-prefix): Insert as an overlay instead of file text.
7651 Change semantics from diary date expression to purely visual mark.
7652 (todo-print): Rename to todo-print-buffer. Make buffer display
7653 features printable. Remove option to restrict number of items
7654 printed. Add option to print to file.
7655 (todo-print-function): Rename to todo-print-buffer-function.
7656 (todo-quit): Extend to handle exiting new todo modes.
7657 (todo-remove-item): Make sensitive to overlays.
7658 (todo-save): Extend to buffers of filtered items.
7659 (todo-show): Make sensitive to done items, multiple todo files and
7660 new todo modes. Offer to convert legacy todo file before creating
7661 first new todo file.
7662 (todo-show-priorities): Rename to todo-top-priorities.
7663 Change semantics of value 0.
7664 (todo-top-priorities): Rename to todo-filter-top-priorities,
7665 derive from todo-filter-items and extend functionality.
7666 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7667 and extend functionality to other types of filtered items.
7668 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7669 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7670 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7671 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7672 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7673 (todo-edit-mode-hook, todo-entry-prefix-function)
7674 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7675 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7676 (todo-initials, todo-insert-threshold, todo-item-string-start)
7677 (todo-line-string, todo-menu, todo-mode-hook)
7678 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7679 (todo-print-priorities, todo-remove-separator)
7680 (todo-save-top-priorities-too, todo-string-count-lines)
7681 (todo-string-multiline-p, todo-time-string-format)
7682 (todo-tmp-buffer-name): Remove.
7683 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7684 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7685 (todo-edit-category-diary-inclusion)
7686 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7687 (todo-edit-file, todo-edit-item-date-day)
7688 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7689 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7690 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7691 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7692 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7693 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7694 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7695 (todo-filter-top-priorities-multifile, todo-find-archive)
7696 (todo-find-filtered-items-file, todo-go-to-source-item)
7697 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7698 (todo-jump-to-archive-category, todo-lower-category)
7699 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7700 (todo-move-category, todo-move-item, todo-next-button)
7701 (todo-next-item, todo-padded-string, todo-powerset)
7702 (todo-previous-button, todo-previous-item)
7703 (todo-print-buffer-to-file, todo-raise-category)
7704 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7705 (todo-set-category-number, todo-set-item-priority)
7706 (todo-set-top-priorities-in-category)
7707 (todo-set-top-priorities-in-file, todo-show-categories-table)
7708 (todo-sort-categories-alphabetically-or-numerically)
7709 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7710 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7711 (todo-toggle-item-header, todo-toggle-item-highlighting)
7712 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7713 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7714 (todo-unarchive-items, todo-unmark-category): New commands.
7715 (todo-absolute-file-name, todo-add-to-buffer-list)
7716 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7717 (todo-basic-insert-item, todo-category-completions)
7718 (todo-category-number, todo-category-string-matcher-1)
7719 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7720 (todo-check-format, todo-clear-matches)
7721 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7722 (todo-current-category, todo-date-string-matcher)
7723 (todo-define-insertion-command, todo-diary-expired-matcher)
7724 (todo-diary-goto-entry, todo-diary-item-p)
7725 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7726 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7727 (todo-done-item-section-p, todo-done-separator)
7728 (todo-done-string-matcher, todo-files, todo-filter-items)
7729 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7730 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7731 (todo-insert-category-line, todo-insert-item-from-calendar)
7732 (todo-insert-sort-button, todo-insert-with-overlays)
7733 (todo-insertion-command-name, todo-insertion-key-bindings)
7734 (todo-label-to-key, todo-longest-category-name-length)
7735 (todo-make-categories-list, todo-mode-external-set)
7736 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7737 (todo-modes-set-3, todo-multiple-filter-files)
7738 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7739 (todo-read-category, todo-read-date, todo-read-dayname)
7740 (todo-read-file-name, todo-read-time)
7741 (todo-reevaluate-category-completions-files-defcustom)
7742 (todo-reevaluate-default-file-defcustom)
7743 (todo-reevaluate-filelist-defcustoms)
7744 (todo-reevaluate-filter-files-defcustom)
7745 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7746 (todo-reset-done-separator, todo-reset-done-separator-string)
7747 (todo-reset-done-string, todo-reset-global-current-todo-file)
7748 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7749 (todo-reset-prefix, todo-set-categories)
7750 (todo-set-date-from-calendar, todo-set-show-current-file)
7751 (todo-set-top-priorities, todo-short-file-name)
7752 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7753 (todo-total-item-counts, todo-update-buffer-list)
7754 (todo-update-categories-display, todo-update-categories-sexp)
7755 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7756 New functions.
7757 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7758 New major modes.
7759 (todo-categories, todo-display, todo-edit, todo-faces)
7760 (todo-filtered): New defgroups.
7761 (todo-archived-only, todo-button, todo-category-string, todo-date)
7762 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7763 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7764 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7765 (todo-add-item-if-new-category, todo-always-add-time-string)
7766 (todo-categories-align, todo-categories-archived-label)
7767 (todo-categories-category-label, todo-categories-diary-label)
7768 (todo-categories-done-label, todo-categories-number-separator)
7769 (todo-categories-todo-label, todo-categories-totals-label)
7770 (todo-category-completions-files, todo-completion-ignore-case)
7771 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7772 (todo-done-separator-string, todo-done-string)
7773 (todo-files-function, todo-filter-done-items, todo-filter-files)
7774 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7775 (todo-initial-category, todo-initial-file, todo-item-mark)
7776 (todo-legacy-date-time-regexp, todo-mode-line-function)
7777 (todo-nondiary-marker, todo-number-prefix)
7778 (todo-print-buffer-function, todo-show-current-file)
7779 (todo-show-done-only, todo-show-first, todo-show-with-done)
7780 (todo-skip-archived-categories, todo-top-priorities-overrides)
7781 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7782 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7783 New defcustoms.
7784 (todo-category-done, todo-date-pattern, todo-date-string-start)
7785 (todo-diary-items-buffer, todo-done-string-start)
7786 (todo-filtered-items-buffer, todo-item-start)
7787 (todo-month-abbrev-array, todo-month-name-array)
7788 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7789 (todo-top-priorities-buffer): New defconsts.
7790 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7791 (todo-categories-with-marks, todo-category-string-face)
7792 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7793 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7794 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7795 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7796 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7797 (todo-font-lock-keywords, todo-global-current-todo-file)
7798 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7799 (todo-insertion-commands-args)
7800 (todo-insertion-commands-args-genlist)
7801 (todo-insertion-commands-names, todo-insertion-map)
7802 (todo-key-bindings-t, todo-key-bindings-t+a)
7803 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7804 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7805 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7806 (todo-visited): New variables.
7807
7808 2013-06-21 Glenn Morris <rgm@gnu.org>
7809
7810 * play/cookie1.el (cookie-apropos): Add optional display argument.
7811 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7812 (psychoanalyze-pinhead): Use cookie-doctor.
7813
7814 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7815
7816 * emacs-lisp/package.el (tar-get-file-descriptor)
7817 (tar--extract): Declare.
7818
7819 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7820
7821 Extend flymake's warning predicate to be a function (bug#14217).
7822 * progmodes/flymake.el (flymake-warning-predicate): New.
7823 (flymake-parse-line): Use it.
7824 (flymake-warning-re): Make obsolete alias to
7825 `flymake-warning-predicate'.
7826
7827 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7828
7829 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7830 (package-obsolete-list): Remove.
7831 (package-activate): Remove min-version argument. Add `force' argument.
7832 Adjust to new package-alist format.
7833 (package-mark-obsolete): Remove.
7834 (package-unpack): Force reload of the package's autoloads.
7835 (package-installed-p): Check builtins if the installed package is not
7836 recent enough.
7837 (package-initialize): Don't reset package-obsolete-list.
7838 Don't specify which package version to activate.
7839 (package-process-define-package, describe-package-1)
7840 (package-menu--generate): Adjust to new package-alist format.
7841
7842 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7843
7844 * allout-widgets.el (allout-widgets-mode-off)
7845 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7846 (allout-widgets-post-command-business)
7847 (allout-widgets-after-copy-or-kill-function)
7848 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7849 (allout-decorate-item-and-context)
7850 (allout-graphics-modification-handler): Fix typos in docstrings.
7851 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7852
7853 * cmuscheme.el (scheme-start-file): Doc fix.
7854 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7855 (scheme-input-filter): Use `string-match-p'.
7856
7857 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7858
7859 * dired-x.el: Use Dired consistently in docstrings.
7860
7861 * dired.el: Use Dired consistently in docstrings.
7862 (dired-readin, dired-mode): Use `setq-local'.
7863 (dired-switches-alist): Make defvar-local.
7864 (dired-buffers-for-dir): Use `zerop'.
7865 (dired-safe-switches-p, dired-switches-escape-p)
7866 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7867 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7868 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7869 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7870 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7871 (dired-toggle-marks, dired-mark-files-containing-regexp)
7872 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7873 (dired-flag-auto-save-files, dired-flag-backup-files):
7874 Use `looking-at-p'.
7875 (dired-mark-files-regexp, dired-build-subdir-alist):
7876 Use `string-match-p', `looking-at-p'.
7877
7878 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7879 (direct-print-region-helper): Use `string-match-p'.
7880
7881 2013-06-21 Leo Liu <sdl.web@gmail.com>
7882
7883 * comint.el (comint-redirect-results-list-from-process):
7884 Fix infinite loop.
7885
7886 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7887
7888 * net/eww.el (eww-update-header-line-format): Quote % characters.
7889
7890 2013-06-21 Glenn Morris <rgm@gnu.org>
7891
7892 * play/cookie1.el (cookie): New custom group.
7893 (cookie-file): New option.
7894 (cookie-check-file): New function.
7895 (cookie): Make it interactive. Make start and end messages optional.
7896 Interactively, display the result. Default to cookie-file.
7897 (cookie-insert): Default to cookie-file.
7898 (cookie-snarf): Make start and end messages optional.
7899 Default to cookie-file. Use with-temp-buffer.
7900 (cookie-read): Rename from read-cookie.
7901 Make start and end messages optional. Default to cookie-file.
7902 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7903 Do not autoload it.
7904 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7905 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7906
7907 2013-06-21 Leo Liu <sdl.web@gmail.com>
7908
7909 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7910
7911 2013-06-21 Glenn Morris <rgm@gnu.org>
7912
7913 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7914
7915 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7916 Daniel Hackney <dan@haxney.org>
7917
7918 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7919 Consolidate the single-file vs tarball code.
7920 (package-desc-suffix): New function.
7921 (package-desc-full-name): Don't bother inlining it.
7922 (package-load-descriptor): Return the new package-desc.
7923 (package-mark-obsolete): Remove unused arg `package'.
7924 (package-unpack): Make it work for single files as well.
7925 Make it update package-alist.
7926 (package--make-autoloads-and-stuff): Rename from
7927 package--make-autoloads-and-compile. Don't compile any more.
7928 (package--compile): New function.
7929 (package-generate-description-file): New function, extracted from
7930 package-unpack-single.
7931 (package-unpack-single): Remove.
7932 (package--with-work-buffer): Add indentation and debugging info.
7933 (package-download-single): Remove.
7934 (package-install-from-archive): Rename from package-download-tar, make
7935 it take a pkg-desc, and make it work for single files as well.
7936 (package-download-transaction): Simplify.
7937 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7938 external tar program.
7939 (package-install-from-buffer): Remove `pkg-desc' argument.
7940 Use package-tar-file-info for tar-mode buffers.
7941 (package-install-file): Simplify accordingly.
7942 (package-archive-base): Change to take a pkg-desc.
7943 * tar-mode.el (tar--check-descriptor): New function, extracted from
7944 tar-get-descriptor.
7945 (tar-get-descriptor): Use it.
7946 (tar-get-file-descriptor): New function.
7947 (tar--extract): New function, extracted from tar-extract.
7948 (tar--extract): Use it.
7949 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7950 case the summary uses non-ascii. Adjust to new calling convention of
7951 package-tar-file-info.
7952
7953 2013-06-21 Leo Liu <sdl.web@gmail.com>
7954
7955 * comint.el (comint-redirect-results-list-from-process):
7956 Fix random delay. (Bug#14681)
7957
7958 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7959
7960 * profiler.el (profiler-format-number): Use log, not log10.
7961
7962 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7963
7964 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7965
7966 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7967
7968 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7969 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7970 yet available.
7971 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7972 (AUTOGENEL): ... here.
7973 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7974 (cl--defsubst-expand): Use it.
7975
7976 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7977
7978 * subr.el (log10): Move here from C code, and declare as obsolete.
7979 All uses of (log10 X) replaced with (log X 10).
7980
7981 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7982
7983 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7984 Declare with `defvar-local'.
7985 (tabulated-list-use-header-line, tabulated-list-entries)
7986 (tabulated-list-padding, tabulated-list-printer)
7987 (tabulated-list-sort-key): Declare with `defvar-local'.
7988 (tabulated-list-init-header, tabulated-list-print-fake-header):
7989 Use `setq-local'.
7990
7991 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7992
7993 * arc-mode.el (archive-mode): Add `archive-write-file' to
7994 `write-contents-functions' also for remote files. (Bug#14652)
7995
7996 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7997
7998 * cus-edit.el (custom-commands): Fix typos.
7999 (custom-display): Fix tooltip text.
8000 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8001 Fix typos in docstrings.
8002 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8003 (custom-unlispify-menu-entry, custom-magic-value-create)
8004 (custom-add-see-also, custom-group-value-create): Use ?\s.
8005 (custom-guess-type, customize-apropos, editable-field)
8006 (custom-face-value-create): Use `string-match-p'.
8007 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8008
8009 * custom.el (custom-load-symbol): Use `string-match-p'.
8010
8011 * ansi-color.el: Convert to lexical binding.
8012 (ansi-colors): Fix URL.
8013 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8014 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8015 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8016
8017 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8018
8019 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8020
8021 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8022
8023 2013-06-19 Tom Tromey <tromey@redhat.com>
8024
8025 * net/eww.el (eww-top-url): Remove.
8026 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8027 (eww-render): Set new variables. Don't set eww-top-url.
8028 (eww-handle-link): Handle "prev", "home", and "contents".
8029 Downcase the rel text.
8030 (eww-top-url): Choose best top URL.
8031
8032 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8033
8034 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8035 relying in widget.el. Using widget.el leads to too many
8036 user interface inconsistencies.
8037 (eww-self-insert): Implement entering commands in text fields.
8038 (eww-process-text-input): New function to make text input field editing
8039 work.
8040 (eww-submit): Rewrite to use the new-style form methods.
8041 (eww-select-display): Display the correct selected item.
8042 (eww-change-select): Implement changing the select value.
8043 (eww-toggle-checkbox): Implement radio/checkboxes.
8044 (eww-update-field): Fix compilation error.
8045 (eww-tag-textarea): Implement <textarea>.
8046
8047 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8048 we don't shadow mode-specific bindings.
8049
8050 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8051 nothing to push.
8052
8053 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8054
8055 2013-06-19 Glenn Morris <rgm@gnu.org>
8056
8057 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8058
8059 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8060
8061 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8062 not needed.
8063
8064 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8065
8066 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8067
8068 * net/browse-url.el (browse-url-browser-function):
8069 `eww-browse-url' has the right calling signature, `eww' does not.
8070
8071 2013-06-19 Glenn Morris <rgm@gnu.org>
8072
8073 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8074 Only eval autoloaded macros.
8075 (byte-compile-autoload): Only give the macro warning for macros.
8076
8077 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8078 (ps-underlined-faces): Declare.
8079
8080 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8081 (speedbar-add-supported-extension): Declare.
8082
8083 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8084 Don't include a date stamp in the header of the generated file;
8085 it leads to needless differences between output files.
8086
8087 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8088
8089 * net/secrets.el (secrets-struct-secret-content-type):
8090 Replace check of introspection data by a test call of "CreateItem".
8091 Some servers do not offer introspection.
8092
8093 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8094
8095 * electric.el (electric-pair-mode): Improve interaction with
8096 electric-layout-mode.
8097 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8098 (electric-pair-syntax): Use text-mode-syntax-table in comments
8099 and strings.
8100 (electric-pair--insert): New function.
8101 (electric-pair-post-self-insert-function): Use it and
8102 electric--after-char-pos.
8103
8104 2013-06-19 Leo Liu <sdl.web@gmail.com>
8105
8106 * progmodes/octave.el (octave-help): Fix regexp.
8107
8108 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8109
8110 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8111 (shr-table-horizontal-line): Allow nil as a value, and change the
8112 default.
8113 (shr-insert-table-ruler): Respect the nil value.
8114
8115 2013-06-18 Tom Tromey <tromey@barimba>
8116
8117 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8118 New defvars.
8119 (eww-open-file): New defun.
8120 (eww-render): Initialize new variables.
8121 (eww-display-html): Handle "link" and "a".
8122 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8123 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8124 (eww-back-url): Rename from eww-previous-url.
8125 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8126 New defuns.
8127
8128 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8129
8130 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8131 Distinguish ternary operator tokens from slash symbol and slash
8132 char literal.
8133
8134 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8135
8136 Convert symbol prettification into minor mode and global minor mode.
8137
8138 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8139 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8140 (prettify-symbols--keywords): Rename from
8141 `prog-prettify-symbols-alist' and make a local defvar.
8142 (prettify-symbols--compose-symbol): Rename from
8143 `prog--prettify-font-lock-compose-symbol'.
8144 (prettify-symbols--make-keywords): Rename from
8145 `prog-prettify-font-lock-symbols-keywords' and simplify.
8146 (prog-prettify-install): Remove.
8147 (prettify-symbols-mode): New minor mode, based on
8148 `prog-prettify-install'.
8149 (turn-on-prettify-symbols-mode): New function.
8150 (global-prettify-symbols-mode): New globalized minor mode.
8151
8152 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8153 * progmodes/cfengine.el (cfengine3-mode):
8154 * progmodes/perl-mode.el (perl-mode): Don't call
8155 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8156
8157 2013-06-18 Juri Linkov <juri@jurta.org>
8158
8159 * files-x.el (modify-file-local-variable-message): New function.
8160 (modify-file-local-variable)
8161 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8162 and call `modify-file-local-variable-message' when it's non-nil.
8163 (add-file-local-variable, delete-file-local-variable)
8164 (add-file-local-variable-prop-line)
8165 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8166 and use it. (Bug#9820)
8167
8168 2013-06-18 Juri Linkov <juri@jurta.org>
8169
8170 * emulation/vi.el (vi-shell-op):
8171 * emulation/vip.el (vip-execute-com, ex-command):
8172 * emulation/viper-cmd.el (viper-exec-bang):
8173 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8174 the call of `shell-command-on-region'. (Bug#14637)
8175
8176 * simple.el (shell-command-on-region): Doc fix.
8177
8178 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8179
8180 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8181 (bug#14633).
8182
8183 2013-06-18 Glenn Morris <rgm@gnu.org>
8184
8185 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8186
8187 * newcomment.el (comment-search-forward, comment-search-backward):
8188 Doc fix. (Bug#14376)
8189
8190 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8191
8192 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8193 (buffer-face-mode-invoke): Doc fix.
8194
8195 2013-06-18 Matthias Meulien <orontee@gmail.com>
8196
8197 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8198 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8199
8200 2013-06-18 Glenn Morris <rgm@gnu.org>
8201
8202 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8203 Replace obsolete function generic-make-keywords with its expansion.
8204
8205 * progmodes/python.el (ffap-alist): Declare.
8206
8207 * textmodes/reftex.el (bibtex-mode-map): Declare.
8208
8209 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8210
8211 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8212 (package-unpack, package-unpack-single): Return the pkg-dir.
8213 (package-download-transaction): Use it to update package-alist.
8214
8215 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8216
8217 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8218 possible choice.
8219
8220 2013-06-17 Juri Linkov <juri@jurta.org>
8221
8222 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8223
8224 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8225
8226 * emacs-lisp/package.el (package-load-descriptor):
8227 Remove `with-syntax-table' call, `read' doesn't need it.
8228 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8229
8230 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8231
8232 * startup.el (command-line): Expand package name returned by
8233 `package--description-file' (bug#14639).
8234
8235 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8236
8237 * emacs-lisp/package.el (package-load-descriptor): Do not call
8238 `emacs-lisp-mode', just use its syntax table.
8239
8240 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8241
8242 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8243 `font-lock-extra-managed-props' if any prettifying keyword is added.
8244 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8245 (prog-mode): Use `setq-local'.
8246
8247 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8248
8249 * international/characters.el (standard-case-table): Set syntax of ?»
8250 and ?« to punctuation.
8251
8252 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8253
8254 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8255 Save relevant match data before calling `syntax-ppss' (bug#14595).
8256
8257 2013-06-15 Juri Linkov <juri@jurta.org>
8258
8259 * files-x.el (modify-file-local-variable-prop-line): Add local
8260 variables to the end of the existing comment on the first line.
8261 Use `file-auto-mode-skip' to skip interpreter magic line,
8262 and also skip XML declaration.
8263
8264 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8265
8266 * startup.el (package--builtin-versions): New var.
8267 (package-subdirectory-regexp): Remove.
8268 (package--description-file): Hard code its value instead.
8269
8270 * emacs-lisp/package.el: Don't activate packages older than builtin.
8271 (package-obsolete-list): Rename from package-obsolete-alist, and make
8272 it into a simple list of package-desc.
8273 (package-strip-version): Remove.
8274 (package-built-in-p): Use package--builtin-versions.
8275 (package-mark-obsolete): Simplify.
8276 (package-process-define-package): Mark it obsolete if older than the
8277 builtin version.
8278 (package-handle-response): Use line-end-position.
8279 (package-read-archive-contents, package--download-one-archive):
8280 Simplify.
8281 (package--add-to-archive-contents): Skip if older than the builtin or
8282 installed version.
8283 (package-menu-describe-package): Fix last change.
8284 (package-list-unversioned): New var.
8285 (package-menu--generate): Use it.
8286
8287 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8288 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8289 (autoload-builtin-package-versions): New variable.
8290 (autoload-generate-file-autoloads): Use them.
8291 Remove the list of autoloaded functions/macros from the
8292 (autoload...) comments.
8293
8294 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8295
8296 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8297
8298 * simple.el (line-move-partial): Don't jump to the next screen
8299 line as soon as it becomes visible. Instead, continue enlarging
8300 the vscroll until the portion of a tall screen line that's left on
8301 display is about the height of the frame's default font.
8302 (Bug#14567)
8303
8304 2013-06-15 Glenn Morris <rgm@gnu.org>
8305
8306 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8307 compilation-error-regexp-alist void, or local while let-bound.
8308
8309 * progmodes/make-mode.el (makefile-mode-syntax-table):
8310 Treat "=" as punctuation. (Bug#14614)
8311
8312 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8313
8314 * help-fns.el (describe-variable):
8315 Add extra line for permanent-local variables.
8316
8317 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8318
8319 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8320 Add export, import, library. (Bug#9164)
8321 (library): Set indent function.
8322
8323 2013-06-14 Glenn Morris <rgm@gnu.org>
8324
8325 * term/xterm.el (xterm--query):
8326 Stop after first matching handler. (Bug#14615)
8327
8328 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8329
8330 Add support for dired in saveplace.
8331 * dired.el (dired-initial-position-hook): New variable.
8332 (dired-initial-position): Call hook to place cursor position.
8333 * saveplace.el (save-place-to-alist): Add dired position.
8334 (save-place-dired-hook): New function.
8335
8336 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8337
8338 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8339 through a symbol rather than letrec.
8340
8341 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8342 (package-desc): Add `dir' field.
8343 (package-desc-full-name): New function.
8344 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8345 (package-maybe-load-descriptor): Remove.
8346 (package-load-all-descriptors): Just call package-load-descriptor.
8347 (package--disabled-p): New function.
8348 (package-desc-vers, package-desc-doc): Remove aliases.
8349 (package--dir): Remove function.
8350 (package-activate): Check if a package is disabled.
8351 (package-process-define-package): New function, extracted from
8352 define-package.
8353 (define-package): Turn into a place holder.
8354 (package-unpack-single, package-tar-file-info):
8355 Use package--description-file.
8356 (package-compute-transaction): Use package--disabled-p.
8357 (package-download-transaction): Don't call
8358 package-maybe-load-descriptor since they're all loaded anyway.
8359 (package-install): Change argument to be a pkg-desc.
8360 (package-delete): Use a single pkg-desc argument.
8361 (describe-package-1): Use package-desc-dir instead of package--dir.
8362 Use package-desc property instead of package-symbol.
8363 (package-install-button-action): Adjust accordingly.
8364 (package--push): Rewrite.
8365 (package-menu--print-info): Adjust accordingly. Change the ID format
8366 to be a pkg-desc.
8367 (package-menu-describe-package, package-menu-get-status)
8368 (package-menu--find-upgrades, package-menu-mark-upgrades)
8369 (package-menu-execute, package-menu--name-predicate):
8370 Adjust accordingly.
8371 * startup.el (package--description-file): New function.
8372 (command-line): Use it.
8373 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8374 Use package-desc-version.
8375
8376 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8377 (byte-compile-preprocess): Use it.
8378 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8379 can't quite recognize.
8380 (byte-compile-add-to-list): Remove.
8381 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8382 (cconv-closure-convert): Add assertion.
8383
8384 * emacs-lisp/map-ynp.el: Use lexical-binding.
8385 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8386 Factor out some repeated code.
8387
8388 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8389
8390 * subr.el (with-eval-after-load): New macro.
8391 (eval-after-load): Allow form to be a function.
8392 take advantage of lexical-binding.
8393 (do-after-load-evaluation): Use dolist and adjust to new format.
8394 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8395
8396 2013-06-13 Juri Linkov <juri@jurta.org>
8397
8398 * replace.el (perform-replace): Display "symbol " and other search
8399 modes from `isearch-message-prefix' in the *Help* buffer.
8400
8401 * isearch.el (isearch-query-replace): Add " symbol" and other
8402 possible search modes from `isearch-message-prefix' to the prompt.
8403 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8404 when reading a regexp to collect.
8405
8406 2013-06-13 Juri Linkov <juri@jurta.org>
8407
8408 * isearch.el (word-search-regexp): Match whitespace if the search
8409 string begins or ends in whitespace. The LAX arg is applied to
8410 both ends of the search string. Use `regexp-quote' and explicit
8411 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8412 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8413 boundaries are replaced with symbol boundaries, and characters
8414 between symbols match non-word non-symbol syntax. (Bug#14602)
8415
8416 2013-06-13 Juri Linkov <juri@jurta.org>
8417
8418 * isearch.el (isearch-del-char): Don't exceed the length of
8419 `isearch-string' by the prefix arg. (Bug#14563)
8420
8421 2013-06-13 Juri Linkov <juri@jurta.org>
8422
8423 * isearch.el (isearch-yank-word, isearch-yank-line)
8424 (isearch-char-by-name, isearch-quote-char)
8425 (isearch-printing-char, isearch-process-search-char):
8426 Add optional count prefix arg. (Bug#14563)
8427
8428 * international/isearch-x.el
8429 (isearch-process-search-multibyte-characters):
8430 Add optional count prefix arg.
8431
8432 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8433
8434 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8435 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8436 lexical-binding.
8437
8438 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8439
8440 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8441
8442 2013-06-13 Glenn Morris <rgm@gnu.org>
8443
8444 * startup.el (tty-handle-args):
8445 Don't just discard "--" and anything after. (Bug#14608)
8446
8447 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8448
8449 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8450
8451 Implement changes in Secret Service API. Make it backward compatible.
8452 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8453 (secrets-create-item): Use it. Prefix properties with interface.
8454
8455 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8456
8457 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8458 (term-emulate-terminal): Respect term-suppress-hard-newline.
8459
8460 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8461
8462 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8463 Only remove a `thumb-file' overlay. (Bug#14548)
8464
8465 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8466
8467 * mail/reporter.el (reporter-submit-bug-report):
8468 Handle missing package-name. (Bug#14600)
8469
8470 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8471
8472 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8473 (reftex-citation-prompt, reftex-default-bibliography)
8474 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8475 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8476 (reftex-bib-sort-author, reftex-bib-sort-year)
8477 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8478 (reftex-extract-bib-entries-from-thebibliography)
8479 (reftex-get-bibkey-default, reftex-get-bib-names)
8480 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8481 (reftex-format-bib-entry, reftex-parse-bibitem)
8482 (reftex-format-bibitem, reftex-do-citation)
8483 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8484 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8485 (reftex-insert-bib-matches, reftex-format-citation)
8486 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8487 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8488 existing comments into docstrings.
8489
8490 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8491
8492 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8493
8494 2013-06-12 Andreas Schwab <schwab@suse.de>
8495
8496 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8497 for auto-save files.
8498
8499 2013-06-12 Glenn Morris <rgm@gnu.org>
8500
8501 * ido.el (ido-delete-ignored-files): Remove.
8502 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8503 Go back to calling ido-ignore-item-p directly.
8504
8505 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8506
8507 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8508
8509 * ido.el (ido-delete-ignored-files): New function,
8510 split from ido-make-file-list-1.
8511 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8512 (ido-make-file-list-1): Use ido-delete-ignored-files.
8513
8514 2013-06-12 Leo Liu <sdl.web@gmail.com>
8515
8516 * progmodes/octave.el (inferior-octave-startup)
8517 (inferior-octave-completion-table)
8518 (inferior-octave-track-window-width-change)
8519 (octave-eldoc-function-signatures, octave-help)
8520 (octave-find-definition): Use single quoted strings.
8521 (inferior-octave-startup-args): Change default value.
8522 (inferior-octave-startup): Do not hard code "-i" and
8523 "--no-line-editing".
8524 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8525 (inferior-octave-directory-tracker): Use it.
8526 (octave-goto-function-definition): Robustify.
8527 (octave-help): Support highlighting operators in 'See also'.
8528 (octave-find-definition): Find subfunctions only in Octave mode.
8529
8530 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * help-fns.el (help-fns--compiler-macro): If the handler function is
8533 named, then put a link to it.
8534 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8535 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8536 (cl-typep): Use it.
8537 (cl-eval-when): Simplify debug spec.
8538 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8539 compiler-macro function instead of setting `compiler-macro-file'.
8540
8541 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8542
8543 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8544 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8545
8546 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8547 Daniel Hackney <dan@haxney.org>
8548
8549 First part of Daniel Hackney's patch to package.el.
8550 * emacs-lisp/package.el: Use defstruct.
8551 (package-desc): New, main struct.
8552 (package--bi-desc, package--ac-desc): New structs, used to describe the
8553 format in external files.
8554 (package-desc-vers): Replace with package-desc-version accessor.
8555 (package-desc-doc): Replace with package-desc-summary accessor.
8556 (package-activate-1): Remove `package' arg since the pkg-vec now
8557 includes the name.
8558 (define-package): Use package-desc-from-define.
8559 (package-unpack-single): Change file-name arg to be a symbol.
8560 (package--add-to-archive-contents): Use package-desc-create and new
8561 accessor functions to package--ac-desc.
8562 (package-buffer-info, package-tar-file-info): Return a package-desc.
8563 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8564 arg to be a package-desc.
8565 (package-install-file): Adjust accordingly. Use \' to match EOS.
8566 (package--from-builtin): New function.
8567 (describe-package-1, package-menu--generate): Use it.
8568 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8569 (package-generate-autoloads): Idem and return the name of the file.
8570 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8571 Change pkg-info arg to be a package-desc.
8572 Use package-make-ac-desc.
8573 (package-upload-file): Use \' to match EOS.
8574 * finder.el (finder-compile-keywords): Use package-make-builtin.
8575
8576 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8577
8578 * vc/vc.el (vc-deduce-fileset): Change error message.
8579 (vc-read-backend): New function.
8580 (vc-next-action): Use it.
8581
8582 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8583
8584 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8585 (prolog-font-lock-keywords): Use regexp-opt instead.
8586 Don't manually highlight strings.
8587 (prolog-mode-variables): Simplify comment-start-skip.
8588 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8589
8590 * emacs-lisp/generic.el (generic--normalise-comments)
8591 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8592 (generic-mode-set-comments): Use them.
8593 (generic-bracket-support): Use setq-local.
8594 (generic-make-keywords-list): Declare obsolete.
8595
8596 2013-06-11 Glenn Morris <rgm@gnu.org>
8597
8598 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8599 Prettify after setting font-lock-defaults. (Bug#14574)
8600
8601 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8602
8603 * replace.el (query-replace, occur-read-regexp-defaults-function)
8604 (replace-search):
8605 * subr.el (declare-function, number-sequence, local-set-key)
8606 (substitute-key-definition, locate-user-emacs-file)
8607 (with-silent-modifications, split-string, eval-after-load):
8608 Fix typos, remove unneeded backslashes and reflow some docstrings.
8609
8610 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8611
8612 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8613 default for Elisp files.
8614
8615 2013-06-11 Glenn Morris <rgm@gnu.org>
8616
8617 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8618 although define-derived-mode was doing this anyway. (Bug#14583)
8619
8620 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8621
8622 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8623 Fix make-variable-buffer-local call to refer to the correct variable.
8624
8625 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8626
8627 * eshell/em-term.el (eshell-visual-commands)
8628 (eshell-visual-subcommands, eshell-visual-options):
8629 Add summary line to docstrings. Add cross-references.
8630
8631 2013-06-10 Glenn Morris <rgm@gnu.org>
8632
8633 * epa.el (epa-read-file-name): New function. (Bug#14510)
8634 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8635
8636 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8637
8638 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8639 output redirection to be ignored with visual commands.
8640
8641 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8642
8643 * eshell/em-term.el (eshell-visual-command-p): New function.
8644 (eshell-term-initialize): Move long lambda to separate function
8645 eshell-visual-command-p.
8646 * eshell/em-dirs.el (eshell-dirs-initialise):
8647 * eshell/em-script.el (eshell-script-initialize):
8648 Add missing #' to lambda.
8649
8650 2013-06-08 Leo Liu <sdl.web@gmail.com>
8651
8652 * progmodes/octave.el (octave-add-log-current-defun): New function.
8653 (octave-mode): Set add-log-current-defun-function.
8654 (octave-goto-function-definition): Do not move point if not found.
8655 (octave-find-definition): Enhance to try subfunctions first.
8656
8657 2013-06-08 Glenn Morris <rgm@gnu.org>
8658
8659 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8660 (byte-compile-backward-char, byte-compile-backward-word):
8661 Improve previous change, to handle non-explicit nil.
8662
8663 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8666 (smie--opener/closer-at-point): New function.
8667 (smie--matching-block-data): Use it. Don't match from right after an
8668 opener or right before a closer. Obey smie-blink-matching-inners.
8669 Don't signal a mismatch for repeated inners like "switch..case..case".
8670
8671 2013-06-07 Leo Liu <sdl.web@gmail.com>
8672
8673 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8674 to t. (Bug#14303)
8675 (octave-function-header-regexp): Fix. (Bug#14570)
8676 (octave-help-mode-finish-hook, octave-help-mode-finish):
8677 Remove. Just use temp-buffer-show-hook.
8678
8679 * newcomment.el (comment-search-backward): Revert last change.
8680 (Bug#14434)
8681
8682 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8683
8684 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8685
8686 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8687 through xargs, to avoid failure due to MS-Windows limitations on
8688 command-line length.
8689
8690 2013-06-06 Glenn Morris <rgm@gnu.org>
8691
8692 * font-lock.el (lisp-font-lock-keywords-2):
8693 Treat user-error like error.
8694
8695 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8696 (byte-compile-backward-char, byte-compile-backward-word):
8697 Handle explicit nil arguments. (Bug#14565)
8698
8699 2013-06-05 Alan Mackenzie <acm@muc.de>
8700
8701 * isearch.el (isearch-allow-prefix): New user option.
8702 (isearch-other-meta-char): Don't exit isearch when a prefix
8703 argument is typed whilst `isearch-allow-prefix' is non-nil.
8704 (Bug#9706)
8705
8706 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8707
8708 * autorevert.el (auto-revert-notify-handler): Use memq.
8709 Hide assertion failure.
8710
8711 * skeleton.el: Use cl-lib.
8712 (skeleton-further-elements): Use defvar-local.
8713 (skeleton-insert): Use cl-progv.
8714
8715 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8716
8717 * progmodes/prog-mode.el (prog-prettify-symbols)
8718 (prog-prettify-install): Update docstrings.
8719
8720 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8721
8722 * simple.el: Move all the prog-mode code to prog-mode.el.
8723 * progmodes/prog-mode.el: New file.
8724 * loadup.el: Add prog-mode.el.
8725
8726 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8727
8728 * simple.el (prog-prettify-symbols): Add version.
8729 (prog-prettify-install): Add convenience function to prettify symbols.
8730
8731 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8732 (perl--augmented-font-lock-keywords-1)
8733 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8734 variables and use it.
8735
8736 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8737 (cfengine3-mode): Remove unneeded variable and use it.
8738
8739 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8740 (lisp--augmented-font-lock-keywords-1)
8741 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8742 Remove unneeded variables and use it.
8743
8744 2013-06-05 João Távora <joaotavora@gmail.com>
8745
8746 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8747 to point when opening the connection. (Bug#14380)
8748
8749 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8750
8751 * subr.el (load-history-regexp, load-history-filename-element)
8752 (eval-after-load, after-load-functions, do-after-load-evaluation)
8753 (eval-next-after-load, display-delayed-warnings)
8754 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8755 definition of save-match-data.
8756 (overriding-local-map): Remove accidental obsolescence declaration.
8757
8758 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8759
8760 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8761
8762 Generalize symbol prettify support to prog-mode and implement it
8763 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8764 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8765 (prog--prettify-font-lock-compose-symbol)
8766 (prog-prettify-font-lock-symbols-keywords): New variables and
8767 functions to support symbol prettification.
8768 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8769 (lisp--augmented-font-lock-keywords-1)
8770 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8771 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8772 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8773 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8774 Implement prettify of -> => :: strings.
8775 * progmodes/perl-mode.el (perl-prettify-symbols)
8776 (perl--font-lock-compose-symbol)
8777 (perl--font-lock-symbols-keywords): Move to prog-mode.
8778 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8779 (perl-font-lock-keywords-1)
8780 (perl-font-lock-keywords-2): Remove explicit prettify support.
8781 (perl--augmented-font-lock-keywords)
8782 (perl--augmented-font-lock-keywords-1)
8783 (perl--augmented-font-lock-keywords-2, perl-mode):
8784 Implement prettify support.
8785
8786 2013-06-05 Leo Liu <sdl.web@gmail.com>
8787
8788 Re-implement smie matching block highlight using
8789 show-paren-data-function. (Bug#14395)
8790 * emacs-lisp/smie.el (smie-matching-block-highlight)
8791 (smie--highlight-matching-block-overlay)
8792 (smie--highlight-matching-block-lastpos)
8793 (smie-highlight-matching-block)
8794 (smie-highlight-matching-block-mode): Remove.
8795 (smie--matching-block-data-cache): New variable.
8796 (smie--matching-block-data): New function.
8797 (smie-setup): Use smie--matching-block-data for
8798 show-paren-data-function.
8799
8800 * progmodes/octave.el (octave-mode-menu): Fix.
8801 (octave-find-definition): Skip garbage lines.
8802
8803 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8804
8805 Fix compilation error with simultaneous dynamic+lexical scoping.
8806 Add warning when a defvar appears after the first let-binding.
8807 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8808 (byte-compile-close-variables): Initialize it.
8809 (byte-compile--declare-var): New function.
8810 (byte-compile-file-form-defvar)
8811 (byte-compile-file-form-define-abbrev-table)
8812 (byte-compile-file-form-custom-declare-variable): Use it.
8813 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8814 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8815 (byte-compile-bind): Handle dynamic bindings that shadow
8816 lexical bindings.
8817 (byte-compile-unbind): Make arg non-optional.
8818 (byte-compile-let): Simplify.
8819 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8820 (cconv--analyse-function, cconv-analyse-form): Populate it.
8821 Protect byte-compile-bound-variables to limit the scope of defvars.
8822 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8823 Remove unneeded rule for `declare'.
8824
8825 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8826 so as to avoid depending on cl-adjoin at run-time.
8827 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8828
8829 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8830 (macroexp--warn-and-return): Use it.
8831
8832 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8833
8834 * lisp/subr.el: Convert to lexical binding.
8835 (overriding-local-map): Make obsolete.
8836 (add-to-list): Doc fix. Add compiler macro.
8837 (read-key): Swap values of local maps.
8838
8839 2013-06-05 Leo Liu <sdl.web@gmail.com>
8840
8841 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8842
8843 2013-06-04 Leo Liu <sdl.web@gmail.com>
8844
8845 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8846 (compilation-auto-jump): Suppress the "Mark set" message to give
8847 way to exit message.
8848
8849 2013-06-04 Alan Mackenzie <acm@muc.de>
8850
8851 Remove faulty optimisation from indentation calculation.
8852 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8853 search limit based on 2000 characters back from indent-point.
8854
8855 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8856
8857 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8858
8859 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8860
8861 * emacs-lisp/lisp.el: Use lexical-binding.
8862 (lisp--local-variables-1, lisp--local-variables): New functions.
8863 (lisp--local-variables-completion-table): New var.
8864 (lisp-completion-at-point): Use it complete let-bound vars.
8865
8866 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8867 eagerly (bug#14422).
8868
8869 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8870
8871 * autorevert.el (auto-revert-notify-enabled)
8872 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8873 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8874 (auto-revert-notify-handler): Handle also gfilenotify.
8875
8876 * subr.el (file-notify-handle-event): New defun. Replacing ...
8877 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8878 Remove.
8879
8880 2013-06-03 Juri Linkov <juri@jurta.org>
8881
8882 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8883 `M-s h .'. (Bug#14427)
8884
8885 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8886 command `hi-lock-face-symbol-at-point'.
8887 (hi-lock-face-symbol-at-point): New command.
8888 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8889 (hi-lock-menu): Add `highlight-symbol-at-point'.
8890 (hi-lock-mode): Doc fix.
8891
8892 * isearch.el (isearch-forward-symbol-at-point): New command.
8893 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8894 (isearch-highlight-regexp): Add a regexp which matches
8895 words/symbols for word/symbol mode.
8896
8897 * subr.el (find-tag-default-bounds): New function with the body
8898 mostly moved from `find-tag-default'.
8899 (find-tag-default): Move most code to `find-tag-default-bounds',
8900 call it and apply `buffer-substring-no-properties' afterwards.
8901
8902 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8903
8904 * eshell/em-term.el (eshell-term-initialize):
8905 Use `cl-intersection' rather than `intersection'.
8906
8907 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8908
8909 * vc/log-view.el: Doc fix.
8910 (log-view-mode-map): Copy keymap from `special-mode-map'.
8911
8912 2013-06-02 Eric Ludlam <zappo@gnu.org>
8913
8914 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8915 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8916 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8917 (eieio-unbound, eieio-default-superclass)
8918 (eieio--define-field-accessors, method-static, method-before)
8919 (method-primary, method-after, method-num-lists)
8920 (method-generic-before, method-generic-primary)
8921 (method-generic-after, method-num-slots)
8922 (eieio-specialized-key-to-generic-key)
8923 (eieio--check-type, class-v, class-p)
8924 (eieio-class-name, define-obsolete-function-alias)
8925 (eieio-class-parents-fast, eieio-class-children-fast)
8926 (same-class-fast-p, class-constructor, generic-p)
8927 (generic-primary-only-p, generic-primary-only-one-p)
8928 (class-option-assoc, class-option, eieio-object-p)
8929 (class-abstract-p, class-method-invocation-order)
8930 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8931 (eieio-class-un-autoload, eieio-defclass)
8932 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8933 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8934 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8935 (eieio-defgeneric-reset-generic-form)
8936 (eieio-defgeneric-form-primary-only)
8937 (eieio-defgeneric-reset-generic-form-primary-only)
8938 (eieio-defgeneric-form-primary-only-one)
8939 (eieio-defgeneric-reset-generic-form-primary-only-one)
8940 (eieio-unbind-method-implementations)
8941 (eieio--defmethod, eieio--typep)
8942 (eieio-perform-slot-validation, eieio-validate-slot-value)
8943 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8944 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8945 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8946 (eieio-slot-name-index, eieio-class-slot-name-index)
8947 (eieio-set-defaults, eieio-initarg-to-attribute)
8948 (eieio-attribute-to-initarg, eieio-c3-candidate)
8949 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8950 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8951 (eieio-class-precedence-list, eieio-generic-call-methodname)
8952 (eieio-generic-call-arglst, eieio-generic-call-key)
8953 (eieio-generic-call-next-method-list)
8954 (eieio-pre-method-execution-functions, eieio-generic-call)
8955 (eieio-generic-call-primary-only, eieiomt-method-list)
8956 (eieiomt-optimizing-obarray, eieiomt-install)
8957 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8958 (eieio-generic-form, eieio-defmethod, make-obsolete)
8959 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8960 (defclass): Remove `eval-and-compile' from macro.
8961 (call-next-method, shared-initialize): Instead of using
8962 `scoped-class' variable, use new eieio--scoped-class, and
8963 eieio--with-scoped-class.
8964 (initialize-instance): Rename local variable 'scoped-class' to
8965 'this-class' to remove ambiguitity from old global.
8966
8967 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8968 eieio.el.
8969 (eieio--scoped-class-stack): New variable.
8970 (eieio--scoped-class): New fcn.
8971 (eieio--with-scoped-class): New scoping macro.
8972 (eieio-defclass): Use pushnew instead of add-to-list.
8973 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8974 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8975 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8976 `scoped-class' variable, use new eieio--scoped-class, and
8977 eieio--with-scoped-class.
8978
8979 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8980
8981 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8982
8983 * eshell/esh-ext.el (eshell-external-command): Pass args to
8984 `eshell-find-interpreter'.
8985 (eshell-find-interpreter): Add new second parameter ARGS.
8986
8987 * eshell/em-script.el (eshell-script-initialize): Add second arg
8988 to the function added as MATCH to `eshell-interpreter-alist'.
8989
8990 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8991 the function added as MATCH to `eshell-interpreter-alist'.
8992
8993 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8994 (eshell-visual-options): New defcustom.
8995 (eshell-escape-control-x): Adapt docstring.
8996 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8997 `eshell-visual-options' in addition to `eshell-visual-commands'.
8998 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8999
9000 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9001
9002 * progmodes/python.el (python-indent-block-enders): Add break,
9003 continue and raise keywords.
9004
9005 2013-06-01 Glenn Morris <rgm@gnu.org>
9006
9007 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9008
9009 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9010 * progmodes/cc-cmds.el (delete-forward-p):
9011 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9012 * progmodes/cc-engine.el (buffer-syntactic-context):
9013 * progmodes/cc-fonts.el (face-property-instance):
9014 * progmodes/cc-mode.el (set-keymap-parents):
9015 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9016 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9017 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9018 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9019 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9020
9021 * progmodes/cc-vars.el (other): Emacs has this widget since
9022 at least 21.1, so don't (re)define it.
9023
9024 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9025 Replace the obsolete alias pcomplete-arg-quote-list.
9026
9027 2013-06-01 Leo Liu <sdl.web@gmail.com>
9028
9029 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9030 punctuation syntax.
9031 (inferior-octave-minimal-columns)
9032 (inferior-octave-last-column-width): New variables.
9033 (inferior-octave-track-window-width-change): New function.
9034 (inferior-octave-mode): Adjust column width so that Octave output,
9035 for example from 'ls', can fit into the window nicely.
9036
9037 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9038
9039 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9040 Highlight expansions inside regexp literals.
9041
9042 2013-05-31 Glenn Morris <rgm@gnu.org>
9043
9044 * obsolete/sym-comp.el (symbol-complete):
9045 Replace obsolete completion-annotate-function.
9046
9047 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9048
9049 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9050
9051 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9052 New function, checks if point is inside a literal that allows
9053 expression expansion.
9054 (ruby-syntax-propertize-expansion): Use it.
9055 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9056 around the body.
9057
9058 2013-05-30 Juri Linkov <juri@jurta.org>
9059
9060 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9061 to "\M-si".
9062 (isearch-invisible): New variable.
9063 (isearch-forward): Doc fix.
9064 (isearch-mode): Set `isearch-invisible'
9065 to the value of `search-invisible'.
9066 (isearch-toggle-case-fold): Doc fix.
9067 (isearch-toggle-invisible): New command.
9068 (isearch-query-replace): Let-bind `search-invisible'
9069 to the value of `isearch-invisible'.
9070 (isearch-search): Use `isearch-invisible' instead of
9071 `search-invisible'. Let-bind `search-invisible'
9072 to the value of `isearch-invisible'. (Bug#11378)
9073
9074 2013-05-30 Juri Linkov <juri@jurta.org>
9075
9076 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9077 call when `query-flag' is nil and `search-invisible' is non-nil.
9078 (Bug#11746)
9079
9080 2013-05-30 Glenn Morris <rgm@gnu.org>
9081
9082 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9083
9084 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9085 (cc-require): Suppress spurious "noruntime" warnings.
9086 (cc-require-when-compile): Use fboundp, for sake of compiler.
9087
9088 * progmodes/cc-mode.el: Move load of cc-vars before that of
9089 cc-langs (which in turn loads cc-vars), to quieten compiler.
9090
9091 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9092
9093 * paren.el: Simplify the code.
9094 (show-paren-mode): Always start the timer.
9095 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9096 (show-paren--overlay, show-paren--overlay-1): Rename from
9097 show-paren-overlay and show-paren-overlay-1, and initialize to an
9098 overlay rather than to nil.
9099 (show-paren-function): Misc cleanup and simplifications.
9100
9101 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9102
9103 * paren.el (show-paren-data-function): New hook.
9104 (show-paren--default): New function, extracted from show-paren-function.
9105 (show-paren-function): Use show-paren-data-function.
9106
9107 2013-05-30 Glenn Morris <rgm@gnu.org>
9108
9109 * ielm.el (ielm-map, ielm-complete-symbol):
9110 Use completion-at-point rather than obsolete functions.
9111 (inferior-emacs-lisp-mode): Doc fix.
9112 Set completion-at-point-functions, rather than
9113 comint-dynamic-complete-functions.
9114
9115 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9116 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9117 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9118
9119 * image.el (image-animated-p): Tweak definition.
9120
9121 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9122 (rlogin-process-connection-type): Tweak default. Add set-after.
9123 (rlogin-host): Doc fix.
9124 (rlogin): Tweak prompt.
9125 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9126
9127 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9128 * progmodes/tcl.el (inferior-tcl-mode-map):
9129 Use completion-at-point rather than obsolete alias.
9130
9131 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9132
9133 * minibuffer.el (read-file-name-completion-ignore-case):
9134 Move before completion--in-region, for eager macro expansion.
9135
9136 2013-05-29 Juri Linkov <juri@jurta.org>
9137
9138 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9139 for total count of matching lines. Add `global-matches' for total
9140 count of matches. Rename `matches' to `lines' for count of
9141 matching lines. Add `matches' for count of matches.
9142 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9143 to `prev-line' for line number of prev match endpt.
9144 Increment `matches' for every match. Print the number of
9145 matching lines in the header.
9146 (occur-context-lines): Rename `lines' to `curr-line'.
9147 Rename `prev-lines' to `prev-line'. (Bug#14017)
9148
9149 2013-05-29 Juri Linkov <juri@jurta.org>
9150
9151 * replace.el (perform-replace): Add `skip-read-only-count',
9152 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9153 Increment them for corresponding conditions and report the number
9154 of skipped occurrences in the final message. (Bug#11746)
9155 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9156 (replace-string, replace-regexp): Doc fix.
9157
9158 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9159
9160 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9161
9162 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9163 prog-mode-map (bug#14504).
9164
9165 2013-05-29 Leo Liu <sdl.web@gmail.com>
9166
9167 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9168 (octave-help): Small simplification.
9169
9170 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9171 off the highlight first.
9172
9173 2013-05-29 Glenn Morris <rgm@gnu.org>
9174
9175 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9176 Handle idlwave-last-system-routine-info-cons-cell being nil.
9177
9178 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9179 (idlwave-write-paths): Simplify via with-temp-buffer.
9180
9181 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9182 * emulation/cua-rect.el: Also load cua-base at run time.
9183
9184 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9185 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9186 (cperl-imenu-on-info): Require imenu.
9187
9188 2013-05-28 Alan Mackenzie <acm@muc.de>
9189
9190 Handle "capitalised keywords" correctly.
9191 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9192
9193 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9194
9195 * eshell/em-unix.el: Add -r option to cp.
9196
9197 2013-05-28 Glenn Morris <rgm@gnu.org>
9198
9199 * vc/vc-arch.el (vc-exec-after): Declare.
9200 (vc-switches): Autoload.
9201 * vc/vc-bzr.el: No need to require vc when compiling.
9202 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9203 (vc-resynch-buffer, vc-dir-refresh): Declare.
9204 (vc-setup-buffer, vc-switches): Autoload.
9205 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9206 (vc-resynch-buffer): Declare.
9207 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9208 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9209 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9210 (grep-read-regexp, grep-read-files, grep-expand-template)
9211 (vc-dir-refresh): Declare.
9212 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9213 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9214 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9215 * vc/vc-mtn.el (vc-exec-after): Declare.
9216 (vc-switches): Autoload.
9217 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9218 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9219 (vc-file-tree-walk): Declare.
9220 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9221 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9222 (vc-tag-precondition, vc-rename-master): Autoload.
9223 * vc/vc-svn.el (vc-exec-after): Declare.
9224 (vc-switches, vc-setup-buffer): Autoload.
9225 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9226 Autoload.
9227 (vc-resynch-buffer): Declare.
9228
9229 * obsolete/fast-lock.el (byte-compile-warnings):
9230 Don't warn about obsolete features in this obsolete file.
9231
9232 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9233 Move definition before use.
9234
9235 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9236 (dun-unix-verbs): Remove dun-zippy.
9237 (dun-zippy): Remove function.
9238
9239 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9240
9241 2013-05-27 Juri Linkov <juri@jurta.org>
9242
9243 * replace.el (replace-search): New function with code moved out
9244 from `perform-replace'.
9245 (replace-highlight, replace-dehighlight): Move function definitions
9246 up closer to `replace-search'. (Bug#11746)
9247
9248 2013-05-27 Juri Linkov <juri@jurta.org>
9249
9250 * replace.el (perform-replace): Ignore invisible matches.
9251 In addition to checking `query-replace-skip-read-only', also
9252 filter out matches by calling `run-hook-with-args-until-failure'
9253 on `isearch-filter-predicates', and also check `search-invisible'
9254 for t or call `isearch-range-invisible'.
9255 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9256
9257 2013-05-27 Juri Linkov <juri@jurta.org>
9258
9259 * isearch.el (isearch-filter-predicates): Rename from
9260 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9261 (isearch-message-prefix): Display text from the property
9262 `isearch-message-prefix' of the currently active filters.
9263 (isearch-search): Don't compare `isearch-filter-predicate' with
9264 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9265 on `isearch-filter-predicates'. Also check `search-invisible' for t
9266 or call `isearch-range-invisible'.
9267 (isearch-filter-visible): Make obsolete.
9268 (isearch-lazy-highlight-search):
9269 Call `run-hook-with-args-until-failure' on
9270 `isearch-filter-predicates' and use `isearch-range-invisible'.
9271
9272 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9273 `isearch-filter-predicates' instead of `funcall'ing
9274 `isearch-filter-predicate'.
9275 (Info-mode): Set `Info-isearch-filter' to
9276 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9277
9278 * dired-aux.el (dired-isearch-filter-predicate-orig):
9279 Remove variable.
9280 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9281 (dired-isearch-filenames-end): Add and remove
9282 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9283 instead of changing the value of `isearch-filter-predicate'.
9284 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9285 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9286 Put property `isearch-message-prefix' to "filename " on
9287 `dired-isearch-filter-filenames'.
9288
9289 * wdired.el (wdired-change-to-wdired-mode):
9290 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9291 locally instead of changing `isearch-filter-predicate'.
9292 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9293
9294 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9295
9296 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9297 return the commit hash (Bug#14459). Also set the
9298 `vc-git-detached' property.
9299 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9300 (vc-git-mode-line-string): Use the same help-echo format whether
9301 in detached mode or not, because we know the actual revision now.
9302 When in detached mode, shorten the revision to 7 chars.
9303
9304 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9305
9306 * emacs-lisp/easy-mmode.el (define-minor-mode):
9307 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9308 mode hook and provide a docstring.
9309
9310 2013-05-27 Alan Mackenzie <acm@muc.de>
9311
9312 Remove spurious syntax-table text properties inserted by C-y.
9313 * progmodes/cc-mode.el (c-after-change): Also clear hard
9314 syntax-table property with value nil.
9315
9316 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9317
9318 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9319 when reading the events; the buffer layout shall not be changed.
9320
9321 2013-05-27 Leo Liu <sdl.web@gmail.com>
9322
9323 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9324 New variable.
9325 (inferior-octave-directory-tracker): Automatically re-sync
9326 default-directory.
9327 (octave-help): Improve handling of 'See also'.
9328
9329 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9330
9331 * doc-view.el: Minor naming convention tweaks.
9332 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9333
9334 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9335 even if there's no `display' property yet (bug#14435).
9336
9337 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9338
9339 * subr.el (unmsys--file-name): Rename from reveal-filename.
9340
9341 * Makefile.in (custom-deps, finder-data, autoloads)
9342 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9343 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9344 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9345
9346 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9347
9348 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9349 error-completion on the first 2 args of condition-case (bug#14446).
9350 Don't burp at EOB.
9351
9352 2013-05-25 Leo Liu <sdl.web@gmail.com>
9353
9354 * comint.el (comint-previous-matching-input): Do not flood the
9355 *Messages* buffer with trivial messages.
9356
9357 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9358
9359 * progmodes/flymake.el (flymake-nop): Don't return a string.
9360 (flymake-set-at): Fix typo.
9361
9362 * simple.el (read--expression): New function, extracted from
9363 eval-expression. Set completion-at-point-functions (bug#14465).
9364 (eval-expression, eval-minibuffer): Use it.
9365
9366 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9367
9368 * progmodes/flymake.el (flymake-save-buffer-in-file)
9369 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9370 (flymake-selected-frame, flymake-log, flymake-ins-after)
9371 (flymake-set-at, flymake-get-buildfile-from-cache)
9372 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9373 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9374 Refine the doc string.
9375 (flymake-get-file-name-mode-and-masks): Reformat.
9376 (flymake-get-real-file-name-function): Fix a minor bug.
9377
9378 2013-05-24 Juri Linkov <juri@jurta.org>
9379
9380 * progmodes/grep.el (grep-mode-font-lock-keywords):
9381 Support =linenumber= format used by git-grep for lines with
9382 function names. (Bug#13549)
9383
9384 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9385
9386 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9387 0 after a semi-colon; it works better for smie-auto-fill.
9388 (octave--indent-new-comment-line): New function.
9389 (octave-indent-new-comment-line): Use it (indirectly).
9390 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9391 modify comment-line-break-function.
9392
9393 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9394 (smie-setup): Use add-function to set it.
9395
9396 2013-05-24 Sam Steingold <sds@gnu.org>
9397
9398 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9399 argument (before the `interactive' argument).
9400
9401 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9402
9403 * image-mode.el (image-mode-winprops): Add winprops to
9404 image-mode-winprops-alist before running
9405 image-mode-new-window-functions.
9406 * doc-view.el (doc-view-new-window-function): Don't delay
9407 doc-view-goto-page via timers (bug#14435).
9408
9409 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9410
9411 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9412 (doc-view-desktop-save-buffer): New function.
9413 (doc-view-restore-desktop-buffer): New function.
9414 (desktop-buffer-mode-handlers):
9415 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9416 handler.
9417 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9418 `desktop-save-buffer' function.
9419
9420 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9421
9422 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9423 (tramp-gvfs-file-name-handler): Raise a user error when
9424 `tramp-gvfs-enabled' is nil.
9425 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9426 Do not raise a user error when loading package. (Bug#14447)
9427
9428 * net/xesam.el: Move to obsolete/.
9429
9430 2013-05-24 Glenn Morris <rgm@gnu.org>
9431
9432 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9433
9434 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9435
9436 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9437 (Info-find-node, Man-getpage-in-background): Declare.
9438
9439 * mail/unrmail.el (unrmail):
9440 Replace obsolete detect-coding-with-priority.
9441
9442 * net/socks.el (socks-split-string): Use this rather than split-string.
9443 (socks-nslookup-host): Update for above change.
9444 (dynamic-choice, s5-dynamic-choice-match)
9445 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9446 Comment out unused code.
9447
9448 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9449 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9450 (gud-tooltip-echo-area): Make obsolete.
9451 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9452
9453 * progmodes/js.el (js--optimize-arglist): Declare.
9454
9455 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9456
9457 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9458 (ediff-window-C): Declare.
9459
9460 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9461 Tweak requires to silence compiler.
9462
9463 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9464 (he-search-string, he-tried-table, he-expand-list)
9465 (he-init-string, he-string-member, he-substitute-string)
9466 (he-reset-string): Declare.
9467
9468 * obsolete/options.el (list-options): Use custom-variable-p,
9469 rather than obsolete alias.
9470
9471 2013-05-23 Sam Steingold <sds@gnu.org>
9472
9473 * simple.el (shell-command-on-region): Pass the `replace' argument
9474 down to `call-process-region' to comply with the doc as reported on
9475 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9476
9477 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9478
9479 * emacs-lisp/smie.el (smie-indent-forward-token)
9480 (smie-indent-backward-token): Handle string tokens (bug#14381).
9481
9482 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9483
9484 * ielm.el (ielm-menu): New menu.
9485 (inferior-emacs-lisp-mode): Set comment-start.
9486
9487 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9488
9489 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9490 Fix deactivate action.
9491
9492 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9493 Add cleveref macros.
9494
9495 * lisp/textmodes/reftex-parse.el
9496 (reftex-locate-bibliography-files): Accept options for
9497 bibliography commands.
9498 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9499 Add addbibresource. Basic Biblatex support.
9500
9501 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9502
9503 * net/tramp-gvfs.el (top):
9504 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9505 when loading package. (Bug#14447)
9506
9507 2013-05-23 Glenn Morris <rgm@gnu.org>
9508
9509 * progmodes/js.el: No need to load comint when compiling.
9510 (ring-insert, comint-send-string, comint-send-input)
9511 (comint-last-input-end, ido-chop): Declare.
9512
9513 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9514 * vc/ediff-mult.el: Adjust requires.
9515 (ediff-directories-internal, ediff-directory-revisions-internal)
9516 (ediff-patch-file-internal): Declare.
9517 * vc/ediff-ptch.el: Adjust requires.
9518 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9519 (ediff-find-file): Autoload.
9520 * vc/ediff-util.el: No need to load ediff when compiling.
9521 (ediff-regions-internal): Declare.
9522 * vc/ediff-wind.el: Adjust requires.
9523 (ediff-compute-toolbar-width): Define when compiling.
9524 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9525 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9526 (dired-get-filename, dired-get-marked-files)
9527 (ediff-last-dir-patch, ediff-patch-default-directory)
9528 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9529 (ediff-patch-buffer-internal): Declare.
9530
9531 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9532 (ispell-process, ispell-buffer-local-words, lm-summary)
9533 (lm-section-start, lm-section-end): Declare.
9534 (checkdoc-ispell-init): Simplify.
9535
9536 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9537 (he-string-member, he-reset-string, he-substitute-string): Declare.
9538
9539 * eshell/em-ls.el: Adjust requires.
9540 (eshell-glob-regexp): Declare.
9541 * eshell/em-tramp.el: Adjust requires.
9542 (eshell-parse-command): Autoload.
9543 * eshell/em-xtra.el: Adjust requires.
9544 (eshell-parse-command): Autoload.
9545 * eshell/esh-ext.el: Adjust requires.
9546 (eshell-parse-command, eshell-close-handles): Autoload.
9547 * eshell/esh-io.el: Adjust requires.
9548 (eshell-output-filter): Autoload.
9549 * eshell/esh-util.el: No need to load tramp when compiling.
9550 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9551 Declare.
9552 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9553 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9554 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9555 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9556 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9557 * eshell/esh-opt.el, eshell/esh-proc.el:
9558 * eshell/esh-var.el: Adjust requires.
9559 * eshell/eshell.el: Do not require esh-util twice.
9560 (eshell-add-input-to-history): Declare.
9561 (eshell-command): Check history module is active before using it.
9562
9563 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9564
9565 2013-05-22 Leo Liu <sdl.web@gmail.com>
9566
9567 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9568
9569 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9570
9571 * autorevert.el (auto-revert-notify-add-watch)
9572 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9573 it indicates changes in file modification time.
9574
9575 2013-05-22 Glenn Morris <rgm@gnu.org>
9576
9577 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9578 Always delete the autoloaded function from the noruntime and
9579 unresolved functions lists.
9580
9581 * allout.el: No need to load epa, epg, overlay when compiling.
9582 (epg-context-set-passphrase-callback, epg-list-keys)
9583 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9584 (epg-key-user-id-list): Declare.
9585
9586 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9587 (viper-set-parsing-style-toggling-macro)
9588 (viper-set-emacs-state-searchstyle-macros):
9589 Use called-interactively-p on Emacs.
9590 (viper-looking-back): Make it an obsolete alias. Update callers.
9591 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9592 Use looking-back rather than viper-looking-back.
9593 (viper-tmp-insert-at-eob, viper-enlarge-region)
9594 (viper-read-string-with-history, viper-register-to-point)
9595 (viper-append-to-register, viper-change-state-to-vi)
9596 (viper-backward-char-carefully, viper-forward-char-carefully)
9597 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9598 (viper-change-state-to-emacs): Declare.
9599 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9600 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9601 * emulation/viper-mous.el: Do not load viper-cmd.
9602 (viper-backward-char-carefully, viper-forward-char-carefully)
9603 (viper-forward-word, viper-adjust-window): Declare.
9604
9605 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9606
9607 * progmodes/idlw-help.el (idlwave-help-fontify):
9608 Use called-interactively-p.
9609
9610 * term/w32console.el (w32-get-console-codepage)
9611 (w32-get-console-output-codepage): Declare.
9612
9613 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9614 Remove unnecessary declarations.
9615 (dframe-message): Doc fix.
9616
9617 * info.el (dframe-select-attached-frame, dframe-current-frame):
9618 Declare.
9619
9620 * speedbar.el (speedbar-message): Make it an obsolete alias.
9621 Update all callers.
9622 (speedbar-with-attached-buffer)
9623 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9624 (speedbar-with-writable): Use backquote.
9625 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9626 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9627 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9628 rather than speedbar- aliases.
9629 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9630 (speedbar-make-specialized-keymap, speedbar-insert-button)
9631 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9632 (speedbar-do-function-pointer): Declare.
9633 (rmail-speedbar-button, rmail-speedbar-find-file)
9634 (rmail-speedbar-move-message):
9635 Use dframe-with-attached-buffer rather than speedbar- alias.
9636 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9637 (dframe-message, speedbar-make-specialized-keymap)
9638 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9639 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9640 (speedbar-insert-button, dframe-select-attached-frame)
9641 (dframe-maybee-jump-to-attached-frame)
9642 (speedbar-change-initial-expansion-list)
9643 (speedbar-previously-used-expansion-list-name): Declare.
9644 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9645 Use dframe-message, dframe-with-attached-buffer rather than
9646 speedbar- aliases.
9647 (gud-sentinel): Silence compiler.
9648 * progmodes/vhdl-mode.el (speedbar-refresh)
9649 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9650 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9651 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9652 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9653 (speedbar-file-lists, speedbar-make-tag-line)
9654 (speedbar-line-directory, speedbar-goto-this-file)
9655 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9656 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9657 (speedbar-make-button, speedbar-reset-scanners)
9658 (speedbar-files-item-info, speedbar-line-text)
9659 (speedbar-find-file-in-frame, speedbar-set-timer)
9660 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9661 (speedbar-with-writable): Do not (re)define it.
9662 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9663 rather than speedbar- alias.
9664
9665 2013-05-21 Leo Liu <sdl.web@gmail.com>
9666
9667 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9668 menu items.
9669 (octave-mode): Tweak fill-nobreak-predicate.
9670 (inferior-octave-startup): Check process to avoid infinite loop.
9671 (inferior-octave): Pop to buffer first to show abornmal process
9672 exit information.
9673
9674 2013-05-21 Glenn Morris <rgm@gnu.org>
9675
9676 * printing.el (pr-menu-bar): Define when compiling.
9677
9678 2013-05-21 Leo Liu <sdl.web@gmail.com>
9679
9680 * progmodes/octave.el (octave-auto-fill): Remove.
9681 (octave-indent-new-comment-line): Improve.
9682 (octave-mode): Use auto fill mode through
9683 comment-line-break-function and fill-nobreak-predicate.
9684 (octave-goto-function-definition): Support DEFUN_DLD.
9685 (octave-beginning-of-defun): Small tweak.
9686 (octave-help): Show parent directory.
9687
9688 2013-05-21 Glenn Morris <rgm@gnu.org>
9689
9690 * files.el (dired-unmark):
9691 * progmodes/gud.el (gdb-input): Update declarations.
9692
9693 * calculator.el (electric, ehelp): No need to load when compiling.
9694 (Electric-command-loop, electric-describe-mode): Declare.
9695
9696 * doc-view.el (doc-view-current-converter-processes): Move before use.
9697
9698 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9699 Move MODE-set-explicitly definition before use.
9700
9701 * international/mule-diag.el (mule-diag):
9702 Don't use obsolete window-system-version.
9703
9704 * mail/feedmail.el (smtpmail): No need to load when compiling.
9705 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9706
9707 * mail/mail-utils.el (rfc822): No need to load when compiling.
9708 (rfc822-addresses): Autoload it.
9709 (mail-strip-quoted-names): Trivial simplification.
9710
9711 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9712 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9713
9714 * net/snmp-mode.el (tempo): Don't duplicate requires.
9715
9716 * progmodes/prolog.el (info): No need to load when compiling.
9717 (comint): Require before shell requires it.
9718 (Info-goto-node): Autoload it.
9719 (Info-follow-nearest-node): Declare.
9720 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9721
9722 * textmodes/artist.el (picture-mode-exit): Declare.
9723
9724 * textmodes/reftex-parse.el (reftex-parse-from-file):
9725 Trivial rewrite so the compiler can parse it better.
9726
9727 2013-05-20 Leo Liu <sdl.web@gmail.com>
9728
9729 * progmodes/octave.el (octave-help-mode-map)
9730 (octave-help-mode-finish-hook): New variables.
9731 (octave-help-mode, octave-help-mode-finish): New functions.
9732 (octave-help): Use octave-help-mode.
9733
9734 2013-05-20 Glenn Morris <rgm@gnu.org>
9735
9736 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9737
9738 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9739
9740 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9741 start at point, so that expansion starting right after opening
9742 slash in a regexp is recognized.
9743 (ruby-syntax-before-regexp-re): New defvar, extracted from
9744 ruby-syntax-propertize-function. Since the value of this regexp
9745 is looked up at runtime now, we should be able to turn
9746 `ruby-syntax-methods-before-regexp' into a defcustom later.
9747 (ruby-syntax-propertize-function): Split regexp matching into two
9748 parts, for opening and closing slashes. That allows us to skip
9749 over string interpolations and support multiline regexps.
9750 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9751 for them, which calls `ruby-syntax-propertize-expansion'.
9752 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9753 call to `ruby-syntax-propertize-function'.
9754 (ruby-syntax-propertize-expansion): Extracted from
9755 `ruby-syntax-propertize-expansions'. Handles one expansion.
9756 (ruby-syntax-propertize-percent-literal): Leave point right after
9757 the percent symbol, so that the expression expansion rule can
9758 propertize the contents.
9759 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9760 heredoc openers.
9761 (ruby-syntax-propertize-expansions): Remove.
9762
9763 2013-05-18 Juri Linkov <juri@jurta.org>
9764
9765 * man.el (Man-default-man-entry): Remove `-' from the end
9766 of the default value. (Bug#14400)
9767
9768 2013-05-18 Glenn Morris <rgm@gnu.org>
9769
9770 * comint.el (comint-password-prompt-regexp):
9771 Allow "password for XXX" where XXX contains colons (eg https://...).
9772
9773 2013-05-18 Leo Liu <sdl.web@gmail.com>
9774
9775 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9776 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9777 (octave-source-directories): Don't check process.
9778 (octave-source-directories, octave-find-definition): Doc fix.
9779
9780 2013-05-18 Glenn Morris <rgm@gnu.org>
9781
9782 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9783 Remove backspace/delete bindings. (Bug#14392)
9784
9785 * cus-dep.el (custom-make-dependencies): Sort the output.
9786 (custom-versions-load-alist): Convert comment to doc.
9787
9788 2013-05-17 Leo Liu <sdl.web@gmail.com>
9789
9790 * newcomment.el (comment-search-backward): Stricter in finding
9791 comment start. (Bug#14303)
9792
9793 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9794 (octave-comment-start-skip): Properly anchored.
9795
9796 2013-05-17 Leo Liu <sdl.web@gmail.com>
9797
9798 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9799 Clean up when turned off. (Bug#14395)
9800 (smie--highlight-matching-block-overlay): No longer buffer-local.
9801 (smie-highlight-matching-block): Adjust.
9802
9803 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9804
9805 Doc string fix for "nanoseconds" (Bug#14406).
9806 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9807 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9808
9809 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9810
9811 * calc/calc-units.el (math-extract-units): Preserve powers
9812 of units.
9813
9814 2013-05-17 Leo Liu <sdl.web@gmail.com>
9815
9816 * subr.el (delete-consecutive-dups): New function.
9817 * ido.el (ido-set-matches-1): Use it.
9818 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9819 * ido.el (ido-remove-consecutive-dups): Remove.
9820
9821 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9822
9823 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9824 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9825 regexp-opt's `words'.
9826
9827 2013-05-16 Leo Liu <sdl.web@gmail.com>
9828
9829 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9830 (smie--highlight-matching-block-overlay)
9831 (smie--highlight-matching-block-lastpos)
9832 (smie--highlight-matching-block-timer): New variables.
9833 (smie-highlight-matching-block): New function.
9834 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9835 (smie-setup): Conditionally enable smie-blink-matching-open.
9836
9837 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9838
9839 Sync with upstream verilog-mode r840.
9840 * progmodes/verilog-mode.el (verilog-mode-version)
9841 (verilog-mode-release-date): Update.
9842 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9843 (verilog-sig-tieoff): Fix string error on
9844 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9845 (verilog-read-decls): Fix parameters confusing
9846 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9847
9848 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9849
9850 * subr.el (reveal-filename): New function.
9851
9852 * loadup.el: Compute Emacs executable versions on MS-Windows,
9853 where executables have the .exe extension. Add a hard link
9854 emacs-XX.YY.ZZ.exe on MS-Windows.
9855
9856 * Makefile.in (XARGS_LIMIT): New variable.
9857 (custom-deps, finder-data, autoloads)
9858 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9859 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9860 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9861 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9862
9863 2013-05-16 Leo Liu <sdl.web@gmail.com>
9864
9865 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9866 (octave-mode-menu, octave-mode-map): Remove its uses.
9867
9868 2013-05-16 Reto Zimmermann <reto@gnu.org>
9869
9870 Sync with upstream vhdl mode v3.34.2.
9871 * progmodes/vhdl-mode.el: Use `push' throughout.
9872 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9873 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9874 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9875 (vhdl-actual-generic-name): New option to derive actual generic name.
9876 (vhdl-port-paste-signals): Replace formal by actual generics.
9877 (vhdl-beautify): New name for old group vhdl-align. Update users.
9878 (vhdl-beautify-options): New option.
9879 (vhdl-last-input-event): New compat alias. Use throughout.
9880 (vhdl-goto-line): Replace user level function `goto-line'.
9881 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9882 vhdl-fix-statement-buffer.
9883 (vhdl-create-mode-menu): Add some entries.
9884 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9885 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9886 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9887 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9888 to force statements on one line.
9889 (vhdl-remove-trailing-spaces-region):
9890 New, split from vhdl-remove-trailing-spaces.
9891 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9892 Respect vhdl-beautify-options.
9893 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9894 (vhdl-update-sensitivity-list): Not add with index if exists without.
9895 Not include array index with signal. Ignore keywords in comments.
9896 (vhdl-get-visible-signals): Regexp tweaks.
9897 (vhdl-template-component-inst): Handle empty library.
9898 (vhdl-template-type): Add template for 'enum' type.
9899 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9900 Use vhdl-replace-string.
9901 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9902 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9903 (vhdl-speedbar-initialize): Update for above name change.
9904 (vhdl-compose-wire-components): Fix in handling of constants.
9905 (vhdl-error-regexp-emacs-alist): New variable.
9906 (vhdl-error-regexp-add-emacs): New function;
9907 adds support for new compile.el (Emacs 22+)
9908 (vhdl-generate-makefile-1): Change target order for single lib. units.
9909 Allow use of absolute file names.
9910
9911 2013-05-16 Leo Liu <sdl.web@gmail.com>
9912
9913 * simple.el (prog-indent-sexp): Indent enclosing defun.
9914
9915 2013-05-15 Glenn Morris <rgm@gnu.org>
9916
9917 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9918 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9919 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9920 (whitespace-highlight): Move to whitespace group.
9921
9922 * comint.el (comint-source):
9923 * pcmpl-linux.el (pcmpl-linux):
9924 * shell.el (shell-faces):
9925 * eshell/esh-opt.el (eshell-opt):
9926 * international/ccl.el (ccl): Remove empty custom groups.
9927
9928 * completion.el (dynamic-completion-mode):
9929 * jit-lock.el (jit-lock-debug-mode):
9930 * minibuffer.el (completion-in-region-mode):
9931 * type-break.el (type-break-mode-line-message-mode)
9932 (type-break-query-mode):
9933 * emulation/tpu-edt.el (tpu-edt-mode):
9934 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9935 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9936 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9937
9938 * term/xterm.el (xterm): Change parent group to terminals.
9939
9940 * master.el (master): Remove empty custom group.
9941 (master-mode): Remove unused :group argument.
9942 * textmodes/refill.el (refill): Remove empty custom group.
9943 (refill-mode): Remove unused :group argument.
9944
9945 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9946
9947 * cus-dep.el: Provide a feature.
9948 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9949 Don't mistakenly ignore files whose basenames match a basename
9950 from preloaded-file-list (eg cedet/ede/simple.el).
9951 Add a fallback method for getting :group.
9952
9953 2013-05-15 Juri Linkov <juri@jurta.org>
9954
9955 * isearch.el (isearch-char-by-name): Rename from
9956 `isearch-insert-char-by-name'. Doc fix.
9957 (isearch-forward): Mention `isearch-char-by-name' in
9958 the docstring. (Bug#13348)
9959
9960 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9961 `exit-minibuffer' instead of
9962 `isearch-nonincremental-exit-minibuffer'.
9963 (isearch-edit-string): Remove mention of
9964 `isearch-nonincremental-exit-minibuffer' from docstring.
9965 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9966 (isearch-forward-exit-minibuffer)
9967 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9968
9969 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9970
9971 * loadup.el: Just use unversioned DOC.
9972
9973 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9974 literals as extending to EOB.
9975 (nxml-last-fontify-end): Remove unused variable.
9976 (nxml-after-change1): Use with-silent-modifications.
9977 (nxml-extend-after-change-region): Simplify.
9978 (nxml-extend-after-change-region1): Remove function.
9979 (nxml-after-change1): Don't adjust for dependent regions.
9980 (nxml-fontify-matcher): Simplify.
9981 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9982 (xmltok-add-dependent): Remove function.
9983 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9984 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9985 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9986 unclosed <[[, <?, comment, and other literals as extending to EOB.
9987 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9988 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9989 Remove functions.
9990 (rng-do-some-validation-1): Don't mark dependent regions.
9991 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9992 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9993 (nxml-clear-dependent-regions): Remove functions.
9994 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9995 (nxml-ensure-scan-up-to-date):
9996 Don't clear&mark dependent regions.
9997
9998 2013-05-15 Leo Liu <sdl.web@gmail.com>
9999
10000 * progmodes/octave.el (octave-goto-function-definition):
10001 Improve and fix callers.
10002
10003 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10004
10005 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10006 the setter (bug#14387).
10007
10008 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10009 surrounding group (bug#14402).
10010
10011 2013-05-14 Juri Linkov <juri@jurta.org>
10012
10013 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10014 (Bug#14390)
10015
10016 2013-05-14 Glenn Morris <rgm@gnu.org>
10017
10018 * progmodes/f90.el (f90-imenu-generic-expression):
10019 Fix typo in 2013-05-08 change. (Bug#14402)
10020
10021 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10022
10023 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10024 Remove signals for which replies are never received.
10025
10026 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10027
10028 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10029 (gdb-handler-alist, gdb-handler-number): Remove variables.
10030 (gdb-handler-list): New variable.
10031 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10032 (gdb-pending-handler-p, gdb-handle-reply)
10033 (gdb-remove-all-pending-triggers): New functions.
10034 (gdb-discard-unordered-replies): New defcustom.
10035 (gdb-handler): New defstruct.
10036 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10037 instead of gdb-pending-triggers. Update docstring.
10038 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10039 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10040 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10041 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10042 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10043 (gdb-frame-handler): Pending triggers are now automatically managed.
10044 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10045 Remove argument.
10046 (gdb-input): Automatically handles pending triggers. Update docstring.
10047 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10048 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10049 Update comments.
10050 (gdb-done-or-error): Now use gdb-handle-reply.
10051
10052 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10053
10054 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10055 gdb-debug-log.
10056
10057 2013-05-14 Glenn Morris <rgm@gnu.org>
10058
10059 * subr.el (user-emacs-directory-warning): New option.
10060 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10061
10062 2013-05-14 Leo Liu <sdl.web@gmail.com>
10063
10064 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10065 during redisplay.
10066 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10067 (octave-font-lock-texinfo-comment): Fix invalid search bound
10068 error: wrong side of point.
10069
10070 2013-05-14 Glenn Morris <rgm@gnu.org>
10071
10072 * progmodes/flymake.el (flymake-xml-program): New option.
10073 (flymake-xml-init): Use it.
10074
10075 * term/xterm.el: Provide a feature.
10076
10077 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10078
10079 2013-05-13 Glenn Morris <rgm@gnu.org>
10080
10081 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10082 Add compat aliases as a hack workaround. (Bug#14384)
10083
10084 2013-05-13 Leo Liu <sdl.web@gmail.com>
10085
10086 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10087 ###, and %!.
10088 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10089 C-M-q.
10090 (octave-comment-start-skip): Include %!.
10091 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10092
10093 2013-05-12 Leo Liu <sdl.web@gmail.com>
10094
10095 * progmodes/octave.el (inferior-octave-startup): Store the value
10096 of __octave_srcdir__ for octave-source-directories.
10097 (inferior-octave-check-process): New function refactored out of
10098 inferior-octave-send-list-and-digest.
10099 (octave-source-directories)
10100 (octave-find-definition-filename-function): New variables.
10101 (octave-source-directories)
10102 (octave-find-definition-default-filename): New functions.
10103 (octave-find-definition): Improve to find functions implemented in C++.
10104
10105 2013-05-12 Glenn Morris <rgm@gnu.org>
10106
10107 * calendar/diary-lib.el (diary-outlook-format-1):
10108 Don't include dayname in the output. (Bug#14349)
10109
10110 2013-05-11 Glenn Morris <rgm@gnu.org>
10111
10112 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10113
10114 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10115 Treat cc-provide like provide.
10116
10117 2013-05-11 Kevin Ryde <user42@zip.com.au>
10118
10119 * cus-dep.el (custom-make-dependencies):
10120 Use generated-autoload-load-name for the sake of files such
10121 such cedet/semantic/bovine/c.el, where the base file name
10122 is not in load-path. (Bug#5277)
10123
10124 2013-05-11 Glenn Morris <rgm@gnu.org>
10125
10126 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10127 Provide features.
10128
10129 2013-05-11 Leo Liu <sdl.web@gmail.com>
10130
10131 * progmodes/octave.el (octave-indent-comment): Improve.
10132 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10133 (octave-eldoc-function-signatures, octave-eldoc-function):
10134 New functions.
10135 (octave-mode, inferior-octave-mode): Add eldoc support.
10136
10137 2013-05-11 Richard Stallman <rms@gnu.org>
10138
10139 * epa.el (epa-decrypt-file): Take output file name as argument
10140 and read it using `interactive'.
10141
10142 2013-05-11 Leo Liu <sdl.web@gmail.com>
10143
10144 * progmodes/octave.el (octave-beginning-of-line)
10145 (octave-end-of-line): Check before using up-list because it jumps
10146 out of more syntactic contructs since moving to smie.
10147 (octave-indent-comment): New function.
10148 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10149 (octave-begin-keywords, octave-end-keywords)
10150 (octave-reserved-words, octave-smie-bnf-table)
10151 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10152
10153 2013-05-11 Glenn Morris <rgm@gnu.org>
10154
10155 * faces.el (internal-face-x-get-resource):
10156 * frame.el (ns-display-monitor-attributes-list):
10157 * calc/calc-aent.el (math-to-radians-2):
10158 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10159 Fix declarations.
10160
10161 * calc/calc-menu.el: Make it loadable in isolation.
10162
10163 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10164 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10165 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10166 (eudc-bbdb-query-internal): Require 'bbdb.
10167
10168 * lpr.el (lpr-headers-switches):
10169 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10170
10171 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10172
10173 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10174
10175 * term.el (term-set-escape-char): Make it idempotent.
10176
10177 2013-05-10 Leo Liu <sdl.web@gmail.com>
10178
10179 * progmodes/octave.el (inferior-octave-completion-table):
10180 No longer a function and all uses changed. Use cache to speed up
10181 completion due to bug#11906.
10182 (octave-beginning-of-defun): Re-write to be more general.
10183
10184 2013-05-10 Glenn Morris <rgm@gnu.org>
10185
10186 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10187
10188 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10189
10190 * comint.el (comint-redirect-send-command-to-process): Use :around
10191 rather than :override for comint-redirect-filter.
10192 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10193 Call it instead of comint-redirect-original-filter-function (which
10194 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10195
10196 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10197
10198 * frame.el (display-monitor-attributes-list): Add NS case.
10199 (ns-display-monitor-attributes-list): Declare.
10200
10201 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10202
10203 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10204
10205 2013-05-09 Glenn Morris <rgm@gnu.org>
10206
10207 * international/fontset.el (vertical-centering-font-regexp):
10208 Set standard-value.
10209
10210 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10211
10212 * bookmark.el (bookmark-search-delay):
10213 * cus-start.el (vertical-centering-font-regexp):
10214 * ps-mule.el (ps-mule-font-info-database-default):
10215 * ps-print.el (ps-default-fg, ps-default-bg):
10216 * type-break.el (type-break-good-break-interval):
10217 * whitespace.el (whitespace-indentation-regexp)
10218 (whitespace-space-after-tab-regexp):
10219 * emacs-lisp/testcover.el (testcover-1value-functions)
10220 (testcover-noreturn-functions, testcover-progn-functions)
10221 (testcover-prog1-functions):
10222 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10223 * eshell/em-glob.el (eshell-glob-translate-alist):
10224 * play/tetris.el (tetris-tty-colors):
10225 * progmodes/cpp.el (cpp-face-default-list):
10226 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10227 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10228 (idlwave-help-browser-generic-args):
10229 * progmodes/make-mode.el (makefile-special-targets-list):
10230 * progmodes/python.el (python-shell-virtualenv-path):
10231 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10232 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10233 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10234 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10235 * textmodes/reftex-vars.el (reftex-format-label-function):
10236 * textmodes/remember.el (remember-diary-file): Fix custom types.
10237
10238 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10239 Add :version.
10240
10241 2013-05-09 Leo Liu <sdl.web@gmail.com>
10242
10243 * progmodes/octave.el (inferior-octave-completion-at-point):
10244 Restore file completion. (Bug#14300)
10245 (inferior-octave-startup): Fix incorrect highlighting for the
10246 first prompt.
10247
10248 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10249
10250 * progmodes/ruby-mode.el: First cut at SMIE support.
10251 (ruby-use-smie): New var.
10252 (ruby-smie-grammar): New constant.
10253 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10254 (ruby-smie--forward-token, ruby-smie--backward-token)
10255 (ruby-smie-rules): New functions.
10256 (ruby-mode-variables): Setup SMIE if applicable.
10257
10258 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10259
10260 * simple.el (line-move-visual): Signal beginning/end of buffer
10261 only if vertical-motion moved less than it was requested. Avoids
10262 silly incorrect error messages when there are display strings with
10263 multiple newlines at EOL.
10264
10265 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10266
10267 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10268 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10269 (prolog-char-quote-workaround):
10270 * progmodes/cperl-mode.el (cperl-under-as-char):
10271 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10272 Mark as obsolete.
10273 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10274 their declaration.
10275 (vhdl-mode-syntax-table-init): Remove.
10276
10277 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10278 last change.
10279
10280 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10281 syntax for "_".
10282 (ld-script-font-lock-keywords):
10283 Change regexps to use things like \_< and \_>.
10284
10285 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10286 Change all regexps to use things like \_< and \_>.
10287
10288 * progmodes/autoconf.el (autoconf-definition-regexp)
10289 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10290 Handle a _ with symbol syntax.
10291 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10292
10293 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10294 Consolidate declaration.
10295 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10296 the declaration.
10297 (ada-create-syntax-table): Remove.
10298 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10299 already has the right syntax nowadays.
10300 (ada-goto-next-word): Don't change the syntax of "_".
10301
10302 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10303 with-wrapper-hook.
10304
10305 2013-05-08 Sam Steingold <sds@gnu.org>
10306
10307 * thingatpt.el (thing-at-point): Accept optional second argument
10308 NO-PROPERTIES to strip the text properties from the return value.
10309 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10310 to `thing-at-point' instead of stripping the properties ourselves.
10311 Also, when `thing-at-point' fails to find a url, prepend "http://"
10312 to the filename at point on the assumption that the user is
10313 pointing at something like gnu.org/gnu.
10314
10315 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10316
10317 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10318 * faces.el (crm-separator):
10319 Silence byte-compiler.
10320
10321 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10322 (tool-bar-map): Remove unneeded defvars.
10323
10324 2013-05-08 Leo Liu <sdl.web@gmail.com>
10325
10326 Re-work a fix for bug#10994 based on Le Wang's patch.
10327 * ido.el (ido-remove-consecutive-dups): New helper.
10328 (ido-completing-read): Use it.
10329 (ido-chop): Revert fix for bug#10994.
10330
10331 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10332
10333 * cus-edit.el (custom-save-variables):
10334 Pretty-print long values. (Bug#14187)
10335
10336 2013-05-08 Glenn Morris <rgm@gnu.org>
10337
10338 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10339 (m4-mode-syntax-table): Init in the defvar.
10340 (m4-mode-abbrev-table): Let define-derived-mode define it.
10341
10342 2013-05-08 Tom Tromey <tromey@redhat.com>
10343
10344 * progmodes/m4-mode.el (m4-mode-syntax-table):
10345 Do not treat "_" as word constituent. (Bug#14167)
10346
10347 2013-05-07 Glenn Morris <rgm@gnu.org>
10348
10349 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10350 Remove explicit eshell-isearch-cancel-map.
10351
10352 * progmodes/f90.el (f90-smart-end-names): New option.
10353 (f90-smart-end): Doc fix.
10354 (f90-end-block-optional-name): New constant.
10355 (f90-block-match): Respect f90-smart-end-names.
10356
10357 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10358
10359 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10360 about implicit semi-colons (bug#14218).
10361
10362 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10363
10364 * frame.el (display-monitor-attributes-list)
10365 (frame-monitor-attributes): New functions.
10366
10367 2013-05-06 Leo Liu <sdl.web@gmail.com>
10368
10369 * progmodes/octave.el (octave-syntax-propertize-function): Change
10370 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10371 (octave-font-lock-keywords): Use octave-operator-regexp.
10372 (octave-completion-at-point): Rename from
10373 octave-completion-at-point-function.
10374 (inferior-octave-directory-tracker): Robustify.
10375 (octave-text-functions): Remove and fix its uses. No such things
10376 any more.
10377
10378 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10379
10380 * emacs-lisp/trace.el (trace--display-buffer): New function.
10381 (trace-make-advice): Use it.
10382
10383 2013-05-06 Juri Linkov <juri@jurta.org>
10384
10385 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10386 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10387 Doc fix.
10388 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10389 in the help string. (Bug#12985)
10390
10391 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10392
10393 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10394
10395 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10396
10397 * progmodes/perl-mode.el: Add support for here documents.
10398 (perl-syntax-propertize-function): Match here-doc markers.
10399 (perl-syntax-propertize-special-constructs): Find their end.
10400 (perl-imenu-generic-expression): Use [:alnum:].
10401
10402 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10403 (advice--add-function): Refresh the advice if already present
10404 (bug#14317).
10405
10406 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10407
10408 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10409
10410 2013-05-06 Glenn Morris <rgm@gnu.org>
10411
10412 * w32-fns.el (w32-charset-info-alist): Declare.
10413
10414 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10415 of its defcustom properties.
10416 (eshell-cmpl-initialize): No need to load pcomplete.
10417
10418 * generic-x.el: No need to require comint when compiling.
10419
10420 * net/eudc-export.el: Make it loadable without bbdb.
10421 (top-level): Use require rather than load-library.
10422 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10423 (eudc-batch-export-records-to-bbdb)
10424 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10425 Require bbdb.
10426
10427 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10428
10429 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10430 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10431 some tweaks, instead.
10432
10433 2013-05-05 Leo Liu <sdl.web@gmail.com>
10434
10435 * progmodes/octave.el (octave-font-lock-keywords)
10436 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10437 (inferior-octave-send-list-and-digest): Improve error message.
10438 (octave-mode, inferior-octave-mode): Use setq-local.
10439 (octave-help): Set info-lookup-mode.
10440
10441 2013-05-05 Richard Stallman <rms@gnu.org>
10442
10443 * vc/compare-w.el (compare-windows-whitespace):
10444 Treat no-break space as whitespace.
10445
10446 * mail/rmailsum.el (rmail-summary-rmail-update):
10447 Detect empty summary and don't change selected message.
10448 (rmail-summary-goto-msg): Likewise.
10449
10450 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10451 Doc fixes, rename args.
10452
10453 2013-05-05 Alan Mackenzie <acm@muc.de>
10454
10455 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10456
10457 2013-05-05 Juri Linkov <juri@jurta.org>
10458
10459 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10460 to not add the length of the summary segment to the return value.
10461 (Bug#14125)
10462
10463 2013-05-05 Leo Liu <sdl.web@gmail.com>
10464
10465 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10466 (inferior-octave-output-filter): Remove.
10467 (octave-send-region, inferior-octave-startup): Fix callers.
10468 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10469 (octave-binary-file-extensions): New user variable.
10470 (octave-find-definition): Confirm if opening binary files.
10471 (octave-help-file): Use octave-find-definition to get the binary
10472 confirmation.
10473 (octave-help): Adjust for octave-help-file change.
10474
10475 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10478 Merge the two entries that handle function definitions.
10479 (pascal--syntax-propertize): New const.
10480 (pascal-mode): Use it. Use setq-local.
10481
10482 2013-05-04 Glenn Morris <rgm@gnu.org>
10483
10484 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10485 (diary-from-outlook): Respect diary-from-outlook-function.
10486
10487 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10488
10489 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10490 Move the declaration from C.
10491 (read-minibuffer, eval-minibuffer): Move from C.
10492 (completion-setup-function): Avoid minibuffer-completion-contents.
10493
10494 2013-05-03 Leo Liu <sdl.web@gmail.com>
10495
10496 * progmodes/octave.el (octave-font-lock-keywords): Do not
10497 dehighlight 'end' in comments or strings.
10498 (octave-completing-read, octave-goto-function-definition):
10499 New helpers.
10500 (octave-help-buffer): New user variable.
10501 (octave-help-file, octave-help-function): New button types.
10502 (octave-help): New command and bind it to C-h ;.
10503 (octave-find-definition): New command and bind it to M-.
10504 (user-error): Alias to error if not defined.
10505
10506 2013-05-02 Leo Liu <sdl.web@gmail.com>
10507
10508 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10509 for \. (bug#14332)
10510 (octave-font-lock-keywords): Include [ and {.
10511
10512 2013-05-02 Leo Liu <sdl.web@gmail.com>
10513
10514 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10515 (inferior-octave): Remove calling comint-mode and return the buffer.
10516 (inferior-octave-startup): Cosmetic changes.
10517
10518 2013-05-02 Leo Liu <sdl.web@gmail.com>
10519
10520 * progmodes/octave.el (octave-syntax-propertize-function):
10521 Include the case when ' is at line beginning. (Bug#14336)
10522
10523 2013-05-02 Glenn Morris <rgm@gnu.org>
10524
10525 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10526 * desktop.el (vc-dir-mode): Just autoload it here.
10527
10528 2013-05-02 Alan Mackenzie <acm@muc.de>
10529
10530 Eliminate variable c-standard-font-lock-fontify-region-function.
10531 * progmodes/cc-mode.el
10532 (c-standard-font-lock-fontify-region-function): Remove.
10533 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10534
10535 2013-05-01 Leo Liu <sdl.web@gmail.com>
10536
10537 * progmodes/octave.el: Compatible with older emacs-24 releases.
10538 (inferior-octave-has-built-in-variables): Remove. Built-in
10539 variables were removed from Octave in 2007.
10540 (inferior-octave-startup): Fix uses.
10541 (comint-line-beginning-position): Remove compatibility code for
10542 emacs 21.
10543
10544 2013-05-01 Juri Linkov <juri@jurta.org>
10545
10546 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10547
10548 2013-05-01 Juri Linkov <juri@jurta.org>
10549
10550 * comint.el (comint-previous-matching-input): Don't print message
10551 "History item: %d" when `isearch-mode' is active.
10552 (comint-history-isearch-message): Print message "History item: %d"
10553 when `comint-input-ring-index' is not empty and this function is
10554 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10555
10556 2013-05-01 Leo Liu <sdl.web@gmail.com>
10557
10558 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10559 definitions. Use completion-at-point to insert keywords.
10560 (octave-abbrev-start): Remove.
10561 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10562
10563 2013-04-30 Leo Liu <sdl.web@gmail.com>
10564
10565 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10566 change.
10567
10568 2013-04-30 Alan Mackenzie <acm@muc.de>
10569
10570 Handle arbitrarily long C++ member initialisation lists.
10571 * progmodes/cc-engine.el (c-back-over-member-initializers):
10572 new function.
10573 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10574 (most) member init lists.
10575
10576 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10577
10578 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10579 variable.
10580
10581 2013-04-30 Leo Liu <sdl.web@gmail.com>
10582
10583 * progmodes/octave.el (octave-variables): Remove. No builtin
10584 variables any more. All converted to functions.
10585 (octave-font-lock-keywords, octave-completion-at-point-function):
10586 Fix uses.
10587 (octave-font-lock-texinfo-comment): New user variable.
10588 (octave-texinfo-font-lock-keywords): New variable for texinfo
10589 comment block.
10590 (octave-function-comment-block): New face.
10591 (octave-font-lock-texinfo-comment): New function.
10592 (octave-mode): Font lock texinfo comment block.
10593
10594 2013-04-29 Leo Liu <sdl.web@gmail.com>
10595
10596 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10597 indexing expression.
10598 (octave-continuation-string): Do not use \.
10599 (inferior-octave-complete-impossible): Remove.
10600 (inferior-octave-completion-table)
10601 (inferior-octave-completion-at-point): Remove its uses.
10602 (inferior-octave-startup): completion_matches was introduced to
10603 Octave in 1996 so safe to assume it.
10604 (octave-function-file-comment): Improve to follow how Octave does it.
10605 (octave-update-function-file-comment): Tweak.
10606
10607 2013-04-29 Leo Liu <sdl.web@gmail.com>
10608
10609 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10610 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10611 (octave-function-file-comment): Fix typo.
10612 (octave-sync-function-file-names): Use read-char-choice.
10613
10614 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10615
10616 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10617 to t for the less important warnings.
10618
10619 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10620
10621 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10622
10623 2013-04-27 Glenn Morris <rgm@gnu.org>
10624
10625 * vc/log-view.el (log-view-current-entry):
10626 Treat "---" separator lines as part of the following rev. (Bug#14169)
10627
10628 2013-04-27 Juri Linkov <juri@jurta.org>
10629
10630 * subr.el (read-number): Doc fix about using it by interactive
10631 code letter `n'. (Bug#14254)
10632
10633 2013-04-27 Juri Linkov <juri@jurta.org>
10634
10635 * desktop.el (desktop-auto-save-timeout): New option.
10636 (desktop-file-checksum): New variable.
10637 (desktop-save): Add optional arg `auto-save' and don't auto-save
10638 if nothing changed.
10639 (desktop-auto-save-timer): New variable.
10640 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10641 (after-init-hook): Call `desktop-auto-save-set-timer'.
10642 Suggested by Reuben Thomas <rrt@sc3d.org> in
10643 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10644
10645 2013-04-27 Leo Liu <sdl.web@gmail.com>
10646
10647 * progmodes/octave.el (octave-function-file-p)
10648 (octave-skip-comment-forward, octave-function-file-comment)
10649 (octave-update-function-file-comment): New functions.
10650 (octave-mode-map): Bind C-c ; to
10651 octave-update-function-file-comment.
10652 (octave-mode-menu): Add octave-update-function-file-comment.
10653 (octave-mode, inferior-octave-mode): Fix doc-string.
10654 (octave-insert-defun): Conform to Octave's coding convention.
10655 (Bug#14285)
10656
10657 * files.el (basic-save-buffer): Don't let errors in
10658 before-save-hook prevent saving buffer.
10659
10660 2013-04-20 Roland Winkler <winkler@gnu.org>
10661
10662 * faces.el (read-face-name): Use completing-read if arg multiple
10663 is nil.
10664
10665 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10666
10667 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10668 displayed, move point to after the totals line.
10669 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10670 for the details.
10671
10672 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10673
10674 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10675 Add current dir to the load-path.
10676 (package-generate-autoloads): Don't rely on
10677 autoload-ensure-default-file.
10678
10679 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10680
10681 * textmodes/remember.el (remember-store-in-files): Document that
10682 the file name format is passed to `format-time-string'.
10683
10684 2013-04-26 Leo Liu <sdl.web@gmail.com>
10685
10686 * progmodes/octave.el (octave-sync-function-file-names): New function.
10687 (octave-mode): Use it in before-save-hook.
10688
10689 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10690
10691 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10692 (bug#14274).
10693
10694 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10695 \n and comment, even if it's not an implicit ; (bug#14218).
10696
10697 2013-04-26 Glenn Morris <rgm@gnu.org>
10698
10699 * subr.el (read-number): Once more use `read' rather than
10700 `string-to-number', to trap non-numeric input. (Bug#14254)
10701
10702 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10703
10704 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10705 Use `syntax-multiline' text property consistently instead of
10706 `font-lock-multiline'. (Bug#14237)
10707
10708 2013-04-26 Glenn Morris <rgm@gnu.org>
10709
10710 * emacs-lisp/shadow.el (list-load-path-shadows):
10711 No longer necessary to check for duplicate simple.el, since
10712 2012-07-07 change to init_lread to not include installation lisp
10713 directories in load-path when running uninstalled. (Bug#14270)
10714
10715 2013-04-26 Leo Liu <sdl.web@gmail.com>
10716
10717 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10718 (octave-mode, inferior-octave-mode): Use setq-local.
10719 (octave-not-in-string-or-comment-p): Rename to
10720 octave-in-string-or-comment-p.
10721 (octave-in-comment-p, octave-in-string-p)
10722 (octave-in-string-or-comment-p): Replace defsubst with defun.
10723
10724 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10725
10726 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10727
10728 2013-04-25 Bastien Guerry <bzg@gnu.org>
10729
10730 * textmodes/remember.el (remember-data-directory)
10731 (remember-directory-file-name-format): Fix custom types.
10732
10733 2013-04-25 Leo Liu <sdl.web@gmail.com>
10734
10735 * progmodes/octave.el (octave-completion-at-point-function):
10736 Make use of inferior octave process.
10737 (octave-initialize-completions): Remove.
10738 (inferior-octave-completion-table): New function.
10739 (inferior-octave-completion-at-point): Use it.
10740 (octave-completion-alist): Remove.
10741
10742 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10743
10744 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10745 (opascal-mode-syntax-table): New var.
10746 (opascal-literal-kind, opascal-is-literal-end)
10747 (opascal-literal-token-at): Rewrite.
10748 (opascal--literal-start-re, opascal-font-lock-keywords)
10749 (opascal--syntax-propertize): New constants.
10750 (opascal-font-lock-defaults): Adjust.
10751 (opascal-mode): Use them. Set comment-<foo> variables as well.
10752 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10753 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10754 (delphi-other-face, opascal-other-face): Remove face variables.
10755 (opascal-save-state): Remove macro.
10756 (opascal-fontifying-progress-step): Remove constant.
10757 (opascal--ignore-changes): Remove var.
10758 (opascal-set-token-property, opascal-parse-next-literal)
10759 (opascal-is-stable-literal, opascal-complete-literal)
10760 (opascal-is-literal-start, opascal-face-of)
10761 (opascal-parse-region, opascal-parse-region-until-stable)
10762 (opascal-fontify-region, opascal-after-change)
10763 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10764 (opascal-debug-parse-region, opascal-debug-parse-window)
10765 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10766 (opascal-debug-fontify-buffer): Remove.
10767 (opascal-debug-mode-map): Adjust accordingly.
10768
10769 2013-04-25 Leo Liu <sdl.web@gmail.com>
10770
10771 Merge octave-mod.el and octave-inf.el into octave.el with some
10772 cleanups.
10773 * progmodes/octave.el: New file renamed from octave-mod.el.
10774 * progmodes/octave-inf.el: Merged into octave.el.
10775 * progmodes/octave-mod.el: Renamed to octave.el.
10776
10777 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10778
10779 * textmodes/reftex-vars.el
10780 (reftex-label-ignored-macros-and-environments): New defcustom.
10781
10782 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10783
10784 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10785
10786 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10787 (smie-indent-keyword): Improve the check to ensure that the next
10788 comment is really on the same line.
10789 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10790
10791 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10792 semi-colons if the line is not otherwise empty (bug#14218).
10793
10794 2013-04-25 Glenn Morris <rgm@gnu.org>
10795
10796 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10797
10798 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10799
10800 * progmodes/opascal.el (opascal-set-token-property): Rename from
10801 opascal-set-text-properties and only set `token' (bug#14134).
10802 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10803 (opascal-literal-text-properties): Remove.
10804 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10805 Adjust callers.
10806
10807 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10808
10809 * textmodes/remember.el (remember-handler-functions): Add an
10810 option for a new handler `remember-store-in-files'.
10811 (remember-data-directory, remember-directory-file-name-format):
10812 New options.
10813 (remember-store-in-files): New function to store remember notes
10814 as separate files within a directory.
10815
10816 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10817
10818 * progmodes/compile.el (compilation-next-error-function):
10819 Pass "formats" to compilation-find-file (bug#11777).
10820
10821 2013-04-24 Glenn Morris <rgm@gnu.org>
10822
10823 * vc/vc-bzr.el (vc-bzr-print-log):
10824 * vc/vc-hg.el (vc-hg-print-log):
10825 * vc/vc-svn.el (vc-svn-print-log):
10826 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10827
10828 * vc/vc-bzr.el (vc-bzr-print-log):
10829 * vc/vc-cvs.el (vc-cvs-print-log):
10830 * vc/vc-git.el (vc-git-print-log):
10831 * vc/vc-hg.el (vc-hg-print-log):
10832 * vc/vc-mtn.el (vc-mtn-print-log):
10833 * vc/vc-rcs.el (vc-rcs-print-log):
10834 * vc/vc-sccs.el (vc-sccs-print-log):
10835 * vc/vc-svn.el (vc-svn-print-log):
10836 * vc/vc.el (vc-print-log-internal): Doc fixes.
10837
10838 2013-04-23 Glenn Morris <rgm@gnu.org>
10839
10840 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10841 Remove venerable code attempting to avoid substitute-command-keys.
10842
10843 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10844
10845 * textmodes/reftex-vars.el (reftex-label-regexps):
10846 Call `reftex-compile-variables' after changes to this variable.
10847
10848 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10849
10850 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10851 Use lexical-binding.
10852 (jit-lock-force-redisplay): Use markers, check buffer's continued
10853 existence and beware narrowed buffers.
10854 (jit-lock-fontify-now): Adjust call accordingly.
10855
10856 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10857
10858 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10859 to avoid misleading the user.
10860
10861 2013-04-22 Leo Liu <sdl.web@gmail.com>
10862
10863 * info-look.el: Prefer latex2e.info. (Bug#14240)
10864
10865 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10866
10867 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10868
10869 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10870 * net/tramp.el (tramp-call-process): ... here.
10871 (tramp-set-completion-function, tramp-parse-putty):
10872 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10873 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10874 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10875 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10876 (tramp-call-local-coding-command): Use `tramp-call-process'
10877 instead of `tramp-compat-call-process'.
10878
10879 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10880 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10881 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10882 (tramp-find-inline-compress): Improve traces.
10883 (tramp-maybe-send-script): Check for Perl binary.
10884 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10885
10886 2013-04-22 Daiki Ueno <ueno@gnu.org>
10887
10888 * epg.el (epg-context-pinentry-mode): New function.
10889 (epg-context-set-pinentry-mode): New function.
10890 (epg--start): Pass --pinentry-mode option to gpg command.
10891
10892 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10893
10894 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10895 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10896 `completion-at-point'. (Bug#13774)
10897
10898 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10899 default key binding for `describe-distribution' has been moved to
10900 `C-h C-o'. (Bug#13970)
10901
10902 2013-04-21 Glenn Morris <rgm@gnu.org>
10903
10904 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10905 Add doc strings.
10906 (vc-print-log): Clarify interactive prompt.
10907
10908 2013-04-20 Glenn Morris <rgm@gnu.org>
10909
10910 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10911 No longer include timestamp etc information.
10912
10913 2013-04-20 Roland Winkler <winkler@gnu.org>
10914
10915 * faces.el (read-face-name): Bug fix, return just one face if arg
10916 multiple is nil. (Bug#14209)
10917
10918 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10919
10920 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10921 (remove-function): Autoload.
10922
10923 * comint.el (comint-redirect-original-filter-function): Remove.
10924 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10925 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10926 (vc-cvs-annotate-command):
10927 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10928 * progmodes/prolog.el (prolog-consult-compile):
10929 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10930 Use add/remove-function instead.
10931 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10932 (gud-tooltip-process-output, gud-tooltip-tips):
10933 Use add/remove-function instead.
10934 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10935 (scheme-interaction-mode, exit-scheme-interaction-mode):
10936 Use add/remove-function instead.
10937
10938 * vc/vc-dispatcher.el: Use lexical-binding.
10939 (vc--process-sentinel): Rename from vc-process-sentinel.
10940 Change last arg to be the code to run. Don't use vc-previous-sentinel
10941 and vc-sentinel-commands any more.
10942 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10943 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10944
10945 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10946
10947 * progmodes/sh-script.el (sh-imenu-generic-expression):
10948 Handle function names with a single character. (Bug#14111)
10949
10950 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10951
10952 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10953 for subroutines defined in an eval (bug#14182).
10954
10955 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10956
10957 * bookmark.el (bookmark-completing-read): Improve handling of empty
10958 string (bug#14176).
10959
10960 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10961
10962 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10963
10964 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10965
10966 New faster Imenu implementation (bug#14058).
10967 * progmodes/python.el:
10968 (python-imenu-prev-index-position):
10969 (python-imenu-format-item-label-function)
10970 (python-imenu-format-parent-item-label-function)
10971 (python-imenu-format-parent-item-jump-label-function):
10972 New vars.
10973 (python-imenu-format-item-label)
10974 (python-imenu-format-parent-item-label)
10975 (python-imenu-format-parent-item-jump-label)
10976 (python-imenu--put-parent, python-imenu--build-tree)
10977 (python-imenu-create-index, python-imenu-create-flat-index)
10978 (python-util-popn): New functions.
10979 (python-mode): Set imenu-create-index-function to
10980 python-imenu-create-index.
10981
10982 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10983
10984 * winner.el (winner-active-region): Use region-active-p, activate-mark
10985 and deactivate-mark (bug#14225).
10986
10987 * simple.el (deactivate-mark): Don't inline it.
10988
10989 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10990
10991 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10992
10993 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10994
10995 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10996 file extensions from the archive-mode entry in order to prefer
10997 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10998
10999 2013-04-18 Leo Liu <sdl.web@gmail.com>
11000
11001 * bindings.el (help-event-list): Add ?\?.
11002
11003 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11004
11005 * subr.el (with-wrapper-hook): Declare obsolete.
11006 * simple.el (filter-buffer-substring-function): New hook.
11007 (filter-buffer-substring): Use it.
11008 (filter-buffer-substring-functions): Mark obsolete.
11009 * minibuffer.el (completion-in-region-function): New hook.
11010 (completion-in-region): Use it.
11011 (completion-in-region-functions): Mark obsolete.
11012 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11013 * abbrev.el (abbrev-expand-function): New hook.
11014 (expand-abbrev): Use it.
11015 (abbrev-expand-functions): Mark obsolete.
11016 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11017 and :filter-return.
11018
11019 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11020
11021 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11022 and do not care about match data.
11023
11024 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11025
11026 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11027 completion tables when completing error conditions and
11028 `declare' arguments.
11029 (lisp-complete-symbol, field-complete): Mark as obsolete.
11030 (check-parens): Unmatched parens are user errors.
11031 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11032
11033 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11034
11035 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11036 command changed buffer (ie. `flyspell-pre-buffer' is not current
11037 buffer), which prevents making decisions based on invalid value of
11038 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11039 cause an error when `flyspell-pre-point' was nil after switching
11040 buffers.
11041 (flyspell-post-command-hook): No longer needs to change buffers when
11042 checking pre-word. While at it remove unnecessary progn.
11043
11044 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11045
11046 * textmodes/ispell.el (ispell-add-per-file-word-list):
11047 Fix `flyspell-correct-word-before-point' error when accepting
11048 words and `coment-padding' is an integer by using
11049 `comment-normalize-vars' (Bug #14214).
11050
11051 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11052
11053 New defun movement commands.
11054 * progmodes/python.el (python-nav--syntactically)
11055 (python-nav--forward-defun, python-nav-backward-defun)
11056 (python-nav-forward-defun): New functions.
11057
11058 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11059
11060 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11061 (python-syntax-context): Use named compiler-macro for backwards
11062 compatibility with Emacs 24.x.
11063
11064 2013-04-17 Leo Liu <sdl.web@gmail.com>
11065
11066 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11067 octave-hide-process-buffer.
11068
11069 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11070
11071 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11072 (bug#14216).
11073
11074 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11075
11076 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11077 Fix adjustment of offset when receiving incomplete responses from GDB
11078 (bug#14129).
11079
11080 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11081
11082 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11083 python-mode-abbrev-table.
11084 (python-skeleton-define): Adjust accordingly.
11085 (python-mode-abbrev-table): New table that inherits from it so that
11086 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11087
11088 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11089 (abbrev-symbol): Use it.
11090 (abbrev--before-point): Use it since we already handle inheritance.
11091
11092 2013-04-16 Leo Liu <sdl.web@gmail.com>
11093
11094 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11095 binding to info-lookup-symbol.
11096
11097 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11098
11099 * minibuffer.el (completion--twq-all):
11100 * term/ns-win.el (ns-initialize-window-system):
11101 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11102
11103 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11104
11105 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11106 global bindings.
11107
11108 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11109
11110 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11111
11112 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11113 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11114 to nil.
11115 (ruby-end-of-defun): Remove the unused arg, change the docstring
11116 to reflect that this function is only used as the value of
11117 `end-of-defun-function'.
11118 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11119 to reflect an earlier change that beginning/end-of-defun functions
11120 jump between methods in a class definition, as well as top-level
11121 functions.
11122
11123 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11124
11125 * minibuffer.el (minibuffer-complete): Don't just scroll
11126 a *Completions* that's been iconified.
11127 (minibuffer-force-complete): Make sure repetitions do cycle when going
11128 through completion-in-region -> minibuffer-complete.
11129
11130 2013-04-15 Alan Mackenzie <acm@muc.de>
11131
11132 Correct the placement of c-cpp-delimiters when there're #s not at
11133 col 0.
11134
11135 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11136 place a submatch around the #.
11137 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11138 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11139 on the #, not BOL.
11140
11141 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11142
11143 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11144 (advice--member-p): New arg `name'.
11145 (advice--add-function, advice-member-p): Use it (bug#14202).
11146
11147 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11148
11149 Reformulate java imenu-generic-expression.
11150 The old expression contained ill formed regexps.
11151
11152 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11153 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11154 (cc-imenu-java-method-arg-regexp): New defconsts.
11155 (cc-imenu-java-build-type-args-regex): New defun.
11156 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11157 handling of spaces in the regexp.
11158
11159 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11160
11161 * textmodes/ispell.el (ispell-command-loop): Remove
11162 flyspell highlight of a word when ispell accepts it (bug #14178).
11163
11164 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11165
11166 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11167 uses code from the previous `ange-ftp-run-real-handler'.
11168 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11169 only in case that function exist. This is needed for proper
11170 unloading of Tramp.
11171
11172 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11173
11174 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11175
11176 * textmodes/reftex.el (reftex-compile-variables): Use it.
11177
11178 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11179
11180 * files.el (normal-mode): Only use default major-mode if no other mode
11181 was specified.
11182
11183 * emacs-lisp/trace.el (trace-values): New function.
11184
11185 * files.el: Allow : in local variables (bug#14089).
11186 (hack-local-variable-regexp): New var.
11187 (hack-local-variables-prop-line, hack-local-variables): Use it.
11188
11189 2013-04-13 Roland Winkler <winkler@gnu.org>
11190
11191 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11192 data before it gets modified by bibtex-beginning-of-entry.
11193
11194 2013-04-13 Roland Winkler <winkler@gnu.org>
11195
11196 * textmodes/bibtex.el (bibtex-url): Doc fix.
11197
11198 2013-04-13 Roland Winkler <winkler@gnu.org>
11199
11200 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11201 does not visit a BibTeX file, exclude it from the list of buffers
11202 returned by bibtex-initialize.
11203
11204 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11205
11206 * window.el (split-window): Remove interactive form, since as a
11207 command this function is a special case of split-window-below.
11208 Correct doc string.
11209
11210 2013-04-12 Roland Winkler <winkler@gnu.org>
11211
11212 * faces.el (read-face-name): Do not override value of arg default.
11213 Allow single faces and strings as default values. Remove those
11214 elements from return value that are not faces.
11215 (describe-face): Simplify.
11216 (face-at-point): New optional args thing and multiple so that this
11217 function can provide the same functionality previously provided by
11218 read-face-name.
11219 (make-face-bold, make-face-unbold, make-face-italic)
11220 (make-face-unitalic, make-face-bold-italic, invert-face)
11221 (modify-face, read-face-and-attribute): Use face-at-point.
11222
11223 * cus-edit.el (customize-face, customize-face-other-window)
11224 * cus-theme.el (custom-theme-add-face)
11225 * face-remap.el (buffer-face-set)
11226 * facemenu.el (facemenu-set-face): Use face-at-point.
11227
11228 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11229
11230 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11231
11232 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11233
11234 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11235 off leading { and trailing } from field values.
11236
11237 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11238
11239 * emacs-lisp/timer.el (timer--check): New function.
11240 (timer--time, timer-set-function, timer-event-handler): Use it.
11241 (timer-set-idle-time): Simplify.
11242 (timer--activate): CSE.
11243 (timer-event-handler): Give more info in error message.
11244 (internal-timer-start-idle): New function, moved from C.
11245
11246 * mpc.el (mpc-proc): Add `restart' argument.
11247 (mpc-proc-cmd): Use it.
11248 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11249 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11250 less often.
11251
11252 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11253
11254 * progmodes/sh-script.el: Implement `sh-mode' own
11255 `add-log-current-defun-function' (bug#14112).
11256 (sh-current-defun-name): New function.
11257 (sh-mode): Use the function.
11258
11259 2013-04-09 Bastien Guerry <bzg@gnu.org>
11260
11261 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11262
11263 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11264
11265 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11266
11267 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11268 timer (bug#14156).
11269
11270 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11271
11272 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11273 declaration.
11274
11275 2013-04-07 Leo Liu <sdl.web@gmail.com>
11276
11277 * pcmpl-x.el: New file.
11278
11279 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11280
11281 Do not set x-display-name until X connection is established.
11282 This is needed to prevent from weird situation described at
11283 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11284 * frame.el (make-frame): Set x-display-name after call to
11285 window system initialization function, not before.
11286 * term/x-win.el (x-initialize-window-system): Add optional
11287 display argument and use it.
11288 * term/w32-win.el (w32-initialize-window-system):
11289 * term/ns-win.el (ns-initialize-window-system):
11290 * term/pc-win.el (msdos-initialize-window-system):
11291 Add compatible optional display argument.
11292
11293 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11294
11295 * files.el (normal-backup-enable-predicate): On MS-Windows and
11296 MS-DOS compare truenames of temporary-file-directory and of the
11297 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11298 don't fail comparison by compare-strings. Also, compare file
11299 names case-insensitively on MS-Windows and MS-DOS.
11300
11301 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11302
11303 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11304 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11305
11306 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11307
11308 * whitespace.el (whitespace-color-on, whitespace-color-off):
11309 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11310
11311 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11312
11313 * ispell.el (ispell-set-spellchecker-params):
11314 Really set `ispell-args' for all equivs.
11315
11316 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11317
11318 * ido.el (ido-completions): Use extra elements of ido-decorations
11319 (bug#14143).
11320 (ido-decorations): Update docstring.
11321
11322 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11323
11324 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11325 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11326 nil during initialization, in order not to miss changes since the
11327 file was opened. (Bug#14140)
11328
11329 2013-04-05 Leo Liu <sdl.web@gmail.com>
11330
11331 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11332
11333 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11334
11335 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11336
11337 2013-04-04 Glenn Morris <rgm@gnu.org>
11338
11339 * electric.el (electric-pair-inhibit-predicate): Add :version.
11340
11341 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11342
11343 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11344 when a package is required several times (bug#14082).
11345
11346 2013-04-04 Roland Winkler <winkler@gnu.org>
11347
11348 * faces.el (read-face-name): Behave as promised by the docstring.
11349 Assume that arg default is a list of faces.
11350 (describe-face): Call read-face-name with list of default faces.
11351
11352 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11353
11354 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11355 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11356 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11357 the header.
11358 (bookmark-exit-hook-internal): Save even if list is empty.
11359
11360 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11361
11362 * emacs-lisp/package.el (package-pinned-packages): New var.
11363 (package--add-to-archive-contents): Obey it (bug#14118).
11364
11365 2013-04-03 Alan Mackenzie <acm@muc.de>
11366
11367 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11368 Also adapt to the new values of element 7 of a parse state.
11369
11370 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11371 parameter `not-in-delimiter'. Handle being inside comment opener.
11372 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11373 character in case we're typing a '*' after a '/'.
11374 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11375 instead by passing the parameter to c-state-pp-to-literal.
11376
11377 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11378 for elt. 7 of a parse state.
11379
11380 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11381
11382 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11383 * international/latin1-disp.el, international/mule-util.el:
11384 * language/cyril-util.el, language/european.el, language/ind-util.el:
11385 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11386 * language/tibetan.el, language/viet-util.el:
11387 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11388
11389 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11390
11391 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11392 (electric-pair-post-self-insert-function): Use it.
11393 (electric-pair-default-inhibit): New function, extracted from
11394 electric-pair-post-self-insert-function.
11395
11396 2013-03-31 Roland Winkler <winkler@gnu.org>
11397
11398 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11399
11400 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11401
11402 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11403
11404 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11405
11406 Un-indent after "pass" and "return" statements (Bug#13888)
11407 * progmodes/python.el (python-indent-block-enders): New var.
11408 (python-indent-calculate-indentation): Use it.
11409
11410 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11411
11412 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11413 defun. Defining it as defalias could introduce too eager
11414 byte-compiler optimization. (Bug#14030)
11415
11416 2013-03-30 Chong Yidong <cyd@gnu.org>
11417
11418 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11419
11420 2013-03-30 Leo Liu <sdl.web@gmail.com>
11421
11422 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11423 (kmacro-execute-from-register): Pass the keyboard macro to
11424 kmacro-call-macro or repeating won't work correctly.
11425
11426 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11427
11428 * progmodes/subword.el: Back to using `forward-symbol'.
11429
11430 * subr.el (forward-whitespace, forward-symbol)
11431 (forward-same-syntax): Move from thingatpt.el.
11432
11433 2013-03-29 Leo Liu <sdl.web@gmail.com>
11434
11435 * kmacro.el (kmacro-to-register): New command.
11436 (kmacro-execute-from-register): New function.
11437 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11438
11439 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11440
11441 * mpc.el: Use defvar-local and setq-local.
11442 (mpc--proc-connect): Connection failures are not bugs.
11443 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11444 (mpc-volume-map): Bind to the up-events.
11445
11446 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11447
11448 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11449 instead of `forward-symbol'.
11450
11451 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11452
11453 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11454 (edebug--recursive-edit): Use it.
11455 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11456 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11457
11458 2013-03-28 Leo Liu <sdl.web@gmail.com>
11459
11460 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11461
11462 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11463
11464 * facemenu.el (list-colors-callback): New defvar.
11465 (list-colors-redisplay): New function.
11466 (list-colors-display): Install list-colors-redisplay as the
11467 revert-buffer-function. (Bug#14063)
11468
11469 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11470
11471 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11472 and suffixes don't overlap (bug#14061).
11473
11474 * case-table.el: Use lexical-binding.
11475 (case-table-get-table): New function.
11476 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11477
11478 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11479
11480 * progmodes/subword.el: Add `superword-mode' to do word motion
11481 over symbol_words (parallels and leverages `subword-mode' which
11482 does word motion inside MixedCaseWords).
11483
11484 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11485
11486 * eshell/em-unix.el: Move su and sudo to...
11487 * eshell/em-tramp.el: ...Eshell tramp module.
11488
11489 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11490
11491 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11492 Change return value to be a sexp. Delay `get-buffer' to after
11493 restoring the desktop (bug#13951).
11494
11495 2013-03-26 Leo Liu <sdl.web@gmail.com>
11496
11497 * register.el: Move semantic tag handling back to
11498 cedet/semantic/senator.el. (Bug#14052)
11499
11500 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11501
11502 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11503 into the prompt either (bug#13963).
11504
11505 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11506
11507 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11508 part of "(error-foo)".
11509
11510 2013-03-24 Juri Linkov <juri@jurta.org>
11511
11512 * replace.el (list-matching-lines-prefix-face): New defcustom.
11513 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11514 `occur-engine' if `face-differs-from-default-p' returns t.
11515 (occur-engine): Add `,' inside backquote construct to evaluate
11516 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11517 Pass `prefix-face' to the functions `occur-context-lines' and
11518 `occur-engine-add-prefix'.
11519 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11520 `prefix-face' and propertize the prefix with `prefix-face'.
11521 (Bug#14017)
11522
11523 2013-03-24 Leo Liu <sdl.web@gmail.com>
11524
11525 * nxml/rng-valid.el (rng-validate-while-idle)
11526 (rng-validate-quick-while-idle): Guard against deleted buffer.
11527 (Bug#13999)
11528
11529 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11530 is the last entry in kill-buffer-hook.
11531
11532 * files.el (kill-buffer-hook): Doc fix.
11533
11534 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11535
11536 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11537 Make it safe-local.
11538
11539 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11540
11541 2013-03-23 Leo Liu <sdl.web@gmail.com>
11542
11543 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11544 Remove.
11545
11546 * nxml/rng-valid.el (rng-validate-mode)
11547 (rng-after-change-function, rng-do-some-validation):
11548 * nxml/rng-maint.el (rng-validate-buffer):
11549 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11550 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11551 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11552 (nxml-extend-after-change-region): Use with-silent-modifications.
11553
11554 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11555 timer-idle-list.
11556
11557 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11558 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11559 timer-idle-list. (Bug#13999)
11560
11561 2013-03-23 Juri Linkov <juri@jurta.org>
11562
11563 * info.el (info-index-match): New face.
11564 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11565 main pattern and add text properties with the new face to matches
11566 in index entries relative to the beginning of the index entry.
11567 (Bug#14015)
11568
11569 2013-03-21 Eric Ludlam <zappo@gnu.org>
11570
11571 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11572 Inhibit read only while inserting objects.
11573
11574 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11575
11576 * progmodes/cfengine.el: Update docs to mention
11577 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11578 symbol motion. Remove "_" from the word syntax.
11579
11580 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11581
11582 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11583 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11584
11585 2013-03-20 Juri Linkov <juri@jurta.org>
11586
11587 * info.el (Info-next-reference-or-link)
11588 (Info-prev-reference-or-link): New functions.
11589 (Info-next-reference, Info-prev-reference): Use them.
11590 (Info-try-follow-nearest-node): Handle footnote navigation.
11591 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11592
11593 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11594
11595 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11596 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11597
11598 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11599
11600 Suppress unnecessary non-ASCII chatter during build process.
11601 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11602 (batch-skkdic-convert): Suppress most of the chatter.
11603 It's not needed so much now that machines are faster,
11604 and its non-ASCII component was confusing; see Dmitry Gutov in
11605 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11606
11607 2013-03-20 Leo Liu <sdl.web@gmail.com>
11608
11609 * ido.el (ido-chop): Fix bug#10994.
11610
11611 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11612
11613 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11614 Remove vars.
11615 (whitespace-color-on, whitespace-color-off):
11616 Use `font-lock-fontify-buffer' (Bug#13817).
11617
11618 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11619
11620 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11621 remapping in mode-line.
11622 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11623
11624 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11625
11626 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11627 value for `whitespace-line' face (Bug#13875).
11628 (whitespace-font-lock-keywords): Change description.
11629 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11630 the constructed keywords instead.
11631 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11632
11633 2013-03-19 Leo Liu <sdl.web@gmail.com>
11634
11635 * progmodes/compile.el (compilation-display-error): New command.
11636 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11637 C-o. (Bug#13992)
11638
11639 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11640
11641 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11642
11643 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11644
11645 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11646
11647 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11648
11649 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11650
11651 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11652 * net/tramp-gvfs.el (top):
11653 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11654 (tramp-handle-shell-command): Use it.
11655 (tramp-dissect-file-name): Raise an error when hostname is a
11656 method name, and neither method nor user is specified.
11657
11658 * net/trampver.el: Update release number.
11659
11660 2013-03-18 Leo Liu <sdl.web@gmail.com>
11661
11662 Make sure eldoc can be turned off properly.
11663 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11664 eldoc-mode.
11665 (eldoc-display-message-p): Revert last change.
11666 (eldoc-display-message-no-interference-p)
11667 (eldoc-print-current-symbol-info): Tweak.
11668
11669 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11670
11671 * doc-view.el (doc-view-new-window-function): Check the new window
11672 overlay's display property instead the char property of the
11673 buffer's first char. Use `with-selected-window' instead of
11674 `save-window-excursion' with `select-window'.
11675 (doc-view-document->bitmap): Check the current doc-view overlay's
11676 display property instead the char property of the buffer's first char.
11677
11678 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11679
11680 Automate the build of ja-dic.el (Bug#13984).
11681 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11682 from the input, rather than assume that it's been done for us by the
11683 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11684 the current date into a ja-dic.el comment, as that complicates
11685 regression testing.
11686
11687 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11688
11689 * whitespace.el: Fix double evaluation.
11690 (whitespace-space, whitespace-hspace, whitespace-tab)
11691 (whitespace-newline, whitespace-trailing, whitespace-line)
11692 (whitespace-space-before-tab, whitespace-indentation)
11693 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11694 obsolete defvars.
11695 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11696 (whitespace-color-on): Use a single font-lock-add-keywords call.
11697 Fix double-evaluation of face variables.
11698
11699 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11700
11701 * net/tramp-adb.el (tramp-adb-parse-device-names):
11702 Use `start-process' instead of `call-process'. Otherwise, the
11703 function might be blocked under MS Windows. (Bug#13299)
11704
11705 2013-03-17 Leo Liu <sdl.web@gmail.com>
11706
11707 Extend eldoc to display info in the mode-line. (Bug#13978)
11708 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11709 (eldoc-mode-line-string): New variable.
11710 (eldoc-minibuffer-message): New function.
11711 (eldoc-message-function): New variable.
11712 (eldoc-message): Use it.
11713 (eldoc-display-message-p)
11714 (eldoc-display-message-no-interference-p):
11715 Support eldoc-post-insert-mode.
11716
11717 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11718 (eval-expression): Run it.
11719
11720 2013-03-17 Roland Winkler <winkler@gnu.org>
11721
11722 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11723 strings in the list of return values.
11724
11725 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11726
11727 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11728 radix before checking for HMS forms.
11729
11730 2013-03-16 Leo Liu <sdl.web@gmail.com>
11731
11732 * progmodes/scheme.el: Add indentation and font-locking for λ.
11733 (Bug#13975)
11734
11735 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11736
11737 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11738 token before point (bug#13942).
11739
11740 2013-03-16 Leo Liu <sdl.web@gmail.com>
11741
11742 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11743
11744 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11745
11746 * startup.el (command-line-normalize-file-name): Fix handling of
11747 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11748 <xfq.free@gmail.com> in
11749 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11750
11751 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11752
11753 Sync with Tramp 2.2.7.
11754
11755 * net/trampver.el: Update release number.
11756
11757 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11758
11759 * doc-view.el: Fix bug#13887.
11760 (doc-view-insert-image): Don't modify overlay associated to
11761 non-live windows, and implement horizontal centering of image in
11762 case it's smaller than the window.
11763 (doc-view-new-window-function): Force redisplay of new windows on
11764 doc-view buffers.
11765
11766 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11767
11768 * saveplace.el (save-place-alist-to-file): Don't sort
11769 `save-place-alist', just pretty-print it (bug#13882).
11770
11771 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11772
11773 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11774 Check whether `default-file-name-coding-system' is bound.
11775 It isn't in XEmacs.
11776
11777 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11778
11779 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11780 backquotes for `obsolete' (bug#13929).
11781
11782 * international/mule.el (find-auto-coding): Include file name in
11783 obsolescence warning (bug#13922).
11784
11785 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11786
11787 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11788 for CFEngine 3-specific indentation.
11789 (cfengine3-indent-line): Use it. Fix up category regex.
11790 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11791
11792 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11793
11794 * type-break.el (type-break-file-name):
11795 * textmodes/remember.el (remember-data-file):
11796 * strokes.el (strokes-file):
11797 * shadowfile.el (shadow-initialize):
11798 * saveplace.el (save-place-file):
11799 * ps-bdf.el (bdf-cache-file):
11800 * progmodes/idlwave.el (idlwave-config-directory):
11801 * net/quickurl.el (quickurl-url-file):
11802 * international/kkc.el (kkc-init-file-name):
11803 * ido.el (ido-save-directory-list-file):
11804 * emulation/viper.el (viper-custom-file-name):
11805 * emulation/vip.el (vip-startup-file):
11806 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11807 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11808
11809 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11810
11811 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11812 * language/thai-word.el: Switch to UTF-8.
11813
11814 See ChangeLog.16 for earlier changes.
11815
11816 ;; Local Variables:
11817 ;; coding: utf-8
11818 ;; End:
11819
11820 Copyright (C) 2011-2014 Free Software Foundation, Inc.
11821
11822 This file is part of GNU Emacs.
11823
11824 GNU Emacs is free software: you can redistribute it and/or modify
11825 it under the terms of the GNU General Public License as published by
11826 the Free Software Foundation, either version 3 of the License, or
11827 (at your option) any later version.
11828
11829 GNU Emacs is distributed in the hope that it will be useful,
11830 but WITHOUT ANY WARRANTY; without even the implied warranty of
11831 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11832 GNU General Public License for more details.
11833
11834 You should have received a copy of the GNU General Public License
11835 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.