]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Fix infloop in indentation code
[gnu-emacs] / lisp / ChangeLog
1 2013-12-30 Daniel Colascione <dancol@dancol.org>
2
3 * progmodes/sh-script.el
4 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
5 in indentation code. (Bug#16233)
6
7 2013-12-28 João Távora <joaotavora@gmail.com>
8
9 * elec-pair.el (electric-pair-post-self-insert-function): Don't
10 open extra newlines at beginning of buffer. (Bug#16272)
11
12 2013-12-28 Eli Zaretskii <eliz@gnu.org>
13
14 * frame.el (window-system-for-display): Don't allow to create a
15 GUI frame from a -nw session on MS-Windows. (Bug#14739)
16
17 2013-12-28 Glenn Morris <rgm@gnu.org>
18
19 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
20 Update callers.
21
22 * apropos.el (apropos-match-face):
23 * calculator.el (calculator-displayer):
24 * dabbrev.el (dabbrev-search-these-buffers-only):
25 * face-remap.el (buffer-face-mode-face):
26 * simple.el (yank-handled-properties):
27 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
28 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
29 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
30 (hashcash-double-spend-database):
31 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
32 (ruby-deep-indent-paren-style):
33 * textmodes/flyspell.el (flyspell-auto-correct-binding):
34 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
35 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
36 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
37 Specify custom types.
38
39 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
40 * bookmark.el (bookmark-bmenu-use-header-line):
41 * doc-view.el (doc-view-scale-internally):
42 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
43 * register.el (register-preview-delay):
44 * net/shr.el (shr-bullet):
45 * progmodes/cfengine.el (cfengine-cf-promises)
46 (cfengine-parameters-indent):
47 * progmodes/octave.el (inferior-octave-error-regexp-alist):
48 * textmodes/reftex-vars.el (reftex-label-regexps):
49 * vc/log-edit.el (log-edit-setup-add-author): Add version.
50
51 * net/tls.el (tls-certtool-program): Fix default value.
52
53 * desktop.el (desktop-restore-in-current-display):
54 * newcomment.el (comment-empty-lines):
55 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
56 (idlwave-pad-keyword):
57 * progmodes/tcl.el (tcl-tab-always-indent):
58 * textmodes/reftex-vars.el (reftex-index-default-tag):
59 * elec-pair.el (electric-pair-skip-whitespace):
60 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
61
62 * emacs-lisp/authors.el (authors-ignored-files)
63 (authors-valid-file-names, authors-renamed-files-alist): Additions.
64
65 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
66
67 * shell.el (shell-dynamic-complete-command): Doc fix.
68 (shell--command-completion-data): Shell completion now matches
69 executable filenames from the current buffer's directory, on
70 systems in which this behaviour is the default (windows-nt, ms-dos).
71
72 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
73
74 * net/shr.el (shr-insert): Don't infloop if the width is zero.
75
76 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
77
78 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
79 (bug#16251).
80
81 * electric.el: Move all electric-pair-* to elec-pair.el.
82 * elec-pair.el: New file, split from electric.el.
83
84 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
85
86 * net/shr.el (shr-find-fill-point): Don't try to fill if the
87 indentation level is larger than the width, because that will
88 infloop.
89 (shr-insert): Fill repeatedly long texts, so that Japanese is
90 formatted correctly (bug#16263).
91 (shr-find-fill-point): Off by one error in comparison with the
92 indentation.
93
94 2013-12-26 João Távora <joaotavora@gmail.com>
95
96 * electric.el (electric-pair-mode): More flexible engine for skip-
97 and inhibit predicates, new options for pairing-related functionality.
98 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
99 if that keeps or improves their balance in buffers.
100 (electric-pair-delete-adjacent-pairs): Delete the pair when
101 backspacing over adjacent matched delimiters.
102 (electric-pair-open-extra-newline): Open extra newline when
103 inserting newlines between adjacent matched delimiters.
104 (electric--sort-post-self-insertion-hook):
105 Sort post-self-insert-hook according to priority values when
106 minor-modes are activated.
107 * simple.el (newline-and-indent): Call newline with interactive
108 set to t.
109 (blink-paren-post-self-insert-function): Set priority to 100.
110 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
111 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
112 comments. Locally set electric-pair-skip-whitespace to 'chomp and
113 electric-pair-open-newline-between-pairs to nil.
114
115 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
116
117 * progmodes/python.el: Use lexical-binding.
118 (python-nav-beginning-of-defun): Stop searching ASAP.
119
120 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
121
122 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
123 Fix interactive spec. Doc fix. (Bug#15754)
124
125 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
126
127 * emacs-lisp/byte-run.el (eval-when-compile):
128 * progmodes/cc-defs.el (cc-eval-when-compile):
129 Fix edebug spec (bug#16184).
130
131 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
132
133 * net/shr.el (shr-visit-file): Remove debugging function.
134 (shr-insert): Don't infloop if we can't find a good place to break
135 the line (bug#16256).
136
137 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
138
139 * progmodes/python.el:
140 (python-nav--lisp-forward-sexp): New function.
141 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
142 python-nav-lisp-forward-sexp-safe.
143 (python-nav--forward-sexp): New argument SAFE allows switching
144 forward sexp movement behavior for parens.
145 (python-nav-forward-sexp): Throw errors on unterminated parens
146 (Bug#16191).
147 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
148 (python-nav-backward-sexp-safe): New functions.
149 (python-shell-buffer-substring):
150 Use `python-nav-forward-sexp-safe'.
151
152 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
153
154 * net/shr.el (shr-find-fill-point): Don't break lines before a
155 quotation mark.
156 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
157 (shr-find-fill-point): Remove the special checks for the quotation
158 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
159
160 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
161
162 * net/eww.el (eww-form-textarea): Use a different face for
163 textareas than text input since they have different keymaps
164 (bug#16142).
165
166 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
167
168 * progmodes/python.el (python-nav-beginning-of-statement):
169 Speed up (Bug#15295).
170
171 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
172
173 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
174 the window configuration.
175
176 2013-12-24 Eli Zaretskii <eliz@gnu.org>
177
178 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
179 we run on MS-Windows or MS-DOS.
180
181 2013-12-24 Martin Rudalics <rudalics@gmx.at>
182
183 * window.el (balance-windows-area): Call window-size instead of
184 window-height and window-width. Bug#16241.
185
186 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
187
188 * net/eww.el (eww-bookmark-quit): Remove.
189 (eww-bookmark-browse): Restore the window configuration when you
190 choose a bookmark (bug#16144).
191
192 2013-12-24 Daniel Colascione <dancol@dancol.org>
193
194 * icomplete.el: Remove redundant :group arguments to `defcustom'
195 throughout.
196 (icomplete-show-matches-on-no-input): New customizable variable.
197 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
198 we have something to show.
199 (icomplete-exhibit): Compute completions even if we have no user input.
200
201 2013-12-23 Daniel Colascione <dancol@dancol.org>
202
203 * icomplete.el: Move `provide' to end of file.
204
205 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
206
207 * net/gnutls.el (gnutls-verify-error): Add version tag.
208
209 2013-12-23 Chong Yidong <cyd@gnu.org>
210
211 * subr.el (set-transient-map): Rename from
212 set-temporary-overlay-map. Doc fix.
213
214 * face-remap.el (text-scale-adjust):
215 * indent.el (indent-rigidly):
216 * kmacro.el (kmacro-call-macro):
217 * minibuffer.el (minibuffer-force-complete):
218 * repeat.el (repeat):
219 * simple.el (universal-argument--mode):
220 * calendar/todo-mode.el (todo-insert-item--next-param):
221 * progmodes/f90.el (f90-abbrev-start): Callers changed.
222
223 * indent.el (indent-rigidly): Use substitute-command-keys.
224
225 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
226
227 * net/eww.el (eww-tag-select): Add text-property to jump to next
228 select field.
229 (eww): Add non-supported ftp error.
230
231 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
232
233 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
234 comments. Handle electric indent after typing `?' and `!'.
235
236 2013-12-22 Chong Yidong <cyd@gnu.org>
237
238 * faces.el (face-spec-recalc): If the theme specs are not
239 applicable to a frame, fall back on the defface spec.
240 This prevents themes from obliterating faces on low-color terminals.
241
242 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
243
244 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
245 after `{'. We need it after block openers, and it doesn't seem
246 to hurt after hash openers.
247
248 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
249
250 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
251 extracted from `ruby-smie-rules'.
252 (ruby--electric-indent-chars): New variable.
253 (ruby--electric-indent-p): New function.
254 (ruby-mode): Use `electric-indent-functions' instead of
255 `electric-indent-chars'.
256
257 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
258
259 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
260 docstring.
261 (ruby-smie-rules): Indent plus one level after `=>'.
262
263 2013-12-21 Richard Stallman <rms@gnu.org>
264
265 * simple.el (newline): Doc fix.
266
267 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
268
269 * net/eww.el (eww-list-histories, eww-list-histories)
270 (eww-history-browse, eww-history-quit, eww-history-kill)
271 (eww-history-mode-map, eww-history-mode): New command and
272 functions to list browser histories.
273 (eww-form-text): Support text form with disabled
274 and readonly attributes.
275 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
276
277 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
278
279 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
280 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
281 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
282 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
283 Use `user-error'.
284 (eww-bookmark-mode-map): Add menu.
285 (eww-render, eww-mode): Use `setq-local'.
286 (eww-tool-bar-map): New variable.
287 (eww-mode): Set `tool-bar-map'.
288 (eww-view-source): Check for `html-mode' with `fboundp'.
289
290 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
291
292 * net/shr.el (shr--extract-best-source): Don't bug out on audio
293 elements with text inside. Also remove debugging.
294
295 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
296
297 * cus-start.el (all): Add ns-use-srgb-colorspace.
298
299 2013-12-21 Chong Yidong <cyd@gnu.org>
300
301 * custom.el (custom-theme-recalc-face): Do nothing if the face is
302 undefined. Thus, theme settings for undefined faces do not take
303 effect until the faces are defined with defface, the same as with
304 theme variables.
305
306 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
307 (face-spec-reset-face): Don't assign extra properties in temacs.
308 (face-spec-recalc): Apply X resources too.
309
310 2013-12-21 Chong Yidong <cyd@gnu.org>
311
312 * faces.el (face-spec-set):
313 * cus-face.el (custom-theme-set-faces, custom-set-faces):
314 * custom.el (defface): Doc fixes (Bug#16203).
315
316 * indent.el (indent-rigidly-map): Add docstring, and move commands
317 into named functions.
318 (indent-rigidly-left, indent-rigidly-right)
319 (indent-rigidly-left-to-tab-stop)
320 (indent-rigidly-right-to-tab-stop): New functions. Decide on
321 indentation direction based on bidi direction, and accumulate
322 sequential commands in a single undo boundary.
323 (indent-rigidly--pop-undo): New utility function.
324
325 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
326
327 * faces.el (read-face-name): Require crm.el when using crm-separator.
328
329 2013-12-20 Daniel Colascione <dancol@dancol.org>
330
331 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
332 so that we don't reflow comments into the shebang line.
333
334 2013-12-20 Juri Linkov <juri@jurta.org>
335
336 * saveplace.el (save-place-to-alist): Add `dired-filename' as
337 a position when `dired-directory' is non-nil. Check integer
338 positions with `integerp'.
339 (toggle-save-place, save-places-to-alist): Add check for
340 `dired-directory'.
341 (save-place-find-file-hook): Check integer positions with
342 `integerp'.
343 (save-place-dired-hook): Use `dired-goto-file' when
344 `dired-filename' is found in the assoc list. Check integer
345 positions with `integerp'.
346 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
347
348 * dired.el (dired-initial-position-hook): Rename back from
349 `dired-initial-point-hook'.
350 (dired-initial-position): Rename `dired-initial-point-hook' to
351 `dired-initial-position-hook'.
352 (dired-file-name-at-point): Doc fix. (Bug#15329)
353
354 2013-12-20 Juri Linkov <juri@jurta.org>
355
356 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
357 (read-regexp-suggestions): New function.
358 (read-regexp): Use `read-regexp-defaults-function' to get default values.
359 Use `read-regexp-suggestions'. Add non-empty default to history
360 for empty input.
361 (occur-read-regexp-defaults-function): Remove function.
362 (occur-read-primary-args): Use `regexp-history-last' instead of
363 `occur-read-regexp-defaults-function'.
364
365 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
366 (hi-lock-line-face-buffer, hi-lock-face-buffer)
367 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
368 `hi-lock-read-regexp-defaults-function'. Doc fix.
369 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
370 with `find-tag-default-as-symbol-regexp'. Doc fix.
371 (hi-lock-read-regexp-defaults): Remove function.
372 (hi-lock-regexp-okay): Add check for null.
373
374 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
375 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
376
377 * subr.el (find-tag-default-as-symbol-regexp): New function.
378 (find-tag-default-as-regexp): Move symbol regexp formatting to
379 `find-tag-default-as-symbol-regexp'.
380
381 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
382
383 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
384 (Bug#14179)
385
386 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
387
388 * calendar/todo-mode.el: New implementation of item insertion
389 commands and key bindings.
390 (todo-key-prompt): New face.
391 (todo-insert-item): New command.
392 (todo-insert-item--parameters): New defconst, replacing defvar
393 todo-insertion-commands-args-genlist.
394 (todo-insert-item--param-key-alist): New defconst, replacing
395 defvar todo-insertion-commands-arg-key-list.
396 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
397 (todo-insert-item--argsleft, todo-insert-item--apply-args)
398 (todo-insert-item--next-param): New functions.
399 (todo-insert-item--args, todo-insert-item--argleft)
400 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
401 New variables.
402 (todo-key-bindings-t): Change binding of "i" from
403 todo-insertion-map to todo-insert-item.
404 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
405 (todo-insertion-command-name, todo-insertion-commands-names)
406 (todo-define-insertion-command, todo-insertion-commands)
407 (todo-insertion-key-bindings, todo-insertion-map): Remove.
408
409 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
410
411 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
412 (todo-toggle-item-highlighting): Use eval-and-compile instead of
413 eval-when-compile.
414 (todo-move-category): Allow choosing a non-existing todo file to
415 move the category to, and create that file.
416 (todo-default-priority): New user option.
417 (todo-set-item-priority): Use it.
418 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
419 (desktop-restore-file-buffer): Declare.
420 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
421 (todo-modes-set-2): Locally set desktop-save-buffer to
422 todo-desktop-save-buffer.
423 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
424 (auto-mode-alist): Add autoload cookie.
425
426 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
427
428 * emacs-lisp/subr-x.el: Renamed from helpers.el.
429 helpers.el was a poor choice of name.
430 (string-remove-prefix): New function.
431 (string-remove-suffix): New function.
432
433 2013-12-20 Martin Rudalics <rudalics@gmx.at>
434
435 Fix assignment for new window total sizes.
436 * window.el (window--pixel-to-size): Remove function.
437 (window--pixel-to-total-1, window--pixel-to-total):
438 Fix calculation of new total sizes.
439
440 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
441
442 * comint.el (comint-output-filter): Fix rear-nonsticky property
443 placement (Bug#16010).
444
445 2013-12-20 Chong Yidong <cyd@gnu.org>
446
447 * faces.el (read-color): Minor fix for completion function.
448
449 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
450
451 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
452 New option. (Bug#16182)
453 (ruby-smie--indent-to-stmt-p): Use it.
454 (ruby-smie-rules): Revert the logic in the handling of `when'.
455 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
456 (ruby-deep-arglist, ruby-deep-indent-paren)
457 (ruby-deep-indent-paren-style): Update docstrings to note that the
458 vars don't have any effect with SMIE.
459
460 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
461
462 * calc/calc.el (calc-enter, calc-pop): Use the variable
463 `calc-context-sensitive-enter'.
464
465 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
466
467 * net/shr.el (shr-insert): Protect against infloops in degenerate
468 tables.
469
470 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
471
472 * progmodes/octave.el (octave): Add link to manual and octave
473 homepage.
474 (octave-mode-menu): Link to octave-mode manual.
475
476 2013-12-20 Leo Liu <sdl.web@gmail.com>
477
478 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
479 insertion using skeleton-end-newline. (Bug#16138)
480
481 2013-12-20 Juri Linkov <juri@jurta.org>
482
483 * replace.el (occur-engine): Use `add-face-text-property'
484 to add the face property to matches and titles. (Bug#14645)
485
486 * hi-lock.el (hi-green): Use lighter color "light green" closer to
487 the palette of other hi-lock colors.
488 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
489
490 2013-12-19 Juri Linkov <juri@jurta.org>
491
492 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
493 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
494 (minibuffer-history-symbol): Move variable declaration closer to
495 its usage.
496
497 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
498 (Bug#14785)
499
500 2013-12-19 Juri Linkov <juri@jurta.org>
501
502 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
503 New function.
504 (log-edit-hook): Add it to :options. (Bug#16170)
505
506 2013-12-19 Juri Linkov <juri@jurta.org>
507
508 * simple.el (eval-expression-print-format): Don't check for
509 command names and the last command. Always display additional
510 formats of the integer result in the echo area, and insert them
511 to the current buffer only with a zero prefix arg.
512 Display character when char-displayable-p is non-nil.
513 (eval-expression): With a zero prefix arg, set `print-length' and
514 `print-level' to nil, and insert the integer values from
515 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
516
517 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
518 `eval-last-sexp-arg-internal'. Doc fix.
519 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
520 `eval-last-sexp-print-value'. Doc fix.
521 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
522 Set `print-length' and `print-level' to nil when arg is zero.
523 (eval-last-sexp): Doc fix.
524 (eval-defun-2): Print the integer values from
525 `eval-expression-print-format' at the end.
526
527 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
528 values from `eval-expression-print-format' at the end.
529
530 * ielm.el (ielm-eval-input): Print the integer
531 values from `eval-expression-print-format' at the end.
532
533 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
534
535 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
536 2013-12-11T19:01:44Z!tzz@lifelogs.com.
537
538 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
541 (hl-line-highlight, global-hl-line-highlight): Use it.
542 (hl-line-overlay): Use defvar-local.
543
544 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
545
546 * term/ns-win.el: Require dnd.
547 (global-map): Remove drag items.
548 (ns-insert-text, ns-set-foreground-at-mouse)
549 (ns-set-background-at-mouse):
550 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
551 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
552 New functions.
553
554 2013-12-19 Glenn Morris <rgm@gnu.org>
555
556 * emacs-lisp/ert.el (ert-select-tests):
557 Fix string/symbol mixup. (Bug#16121)
558
559 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
560
561 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
562 keywords to their parent.
563
564 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
565
566 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
567 first arg to be a string (fixed dead code), or an operator symbol.
568 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
569 operator symbols.
570 (ruby-smie-rules): Remove parent token check in the `.' clause, it
571 did nothing. Don't respond to `(:after ".")', it will be called
572 with :before anyway. Remove the ` @ ' rule, it didn't seem to
573 change anything. Only return indentation for binary operators
574 when they are hanging. De-dent opening paren when its parent is
575 `.', otherwise it looks bad when the dot is not at bol or eol
576 (bug#16182).
577
578 2013-12-19 Juri Linkov <juri@jurta.org>
579
580 * replace.el (query-replace-read-args): Split a non-negative arg
581 and a negative arg into separate elements.
582 (query-replace, query-replace-regexp, replace-string)
583 (replace-regexp): Add arg `backward'. Doc fix.
584 (replace-match-maybe-edit): When new arg `backward' is non-nil,
585 move point to the beginning of the match.
586 (replace-search, replace-highlight): Use new arg `backward'
587 to set the value of `isearch-forward'.
588 (perform-replace): Add arg `backward' and use it to perform
589 replacement backward. (Bug#14979)
590
591 * isearch.el (isearch-query-replace): Use a negative prefix arg
592 to call `perform-replace' with a non-nil arg `backward'.
593
594 2013-12-18 Juri Linkov <juri@jurta.org>
595
596 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
597 to the default list. Move `log-edit-show-files' to the end.
598 Add more available functions to options.
599 (log-edit): Move default specific settings to
600 `log-edit-insert-message-template'. Don't move point.
601 (log-edit-insert-message-template): New function.
602 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
603 (Bug#16170)
604
605 2013-12-18 Juri Linkov <juri@jurta.org>
606
607 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
608 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
609
610 2013-12-18 Leo Liu <sdl.web@gmail.com>
611
612 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
613 (Bug#16186)
614
615 2013-12-18 Eli Zaretskii <eliz@gnu.org>
616
617 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
618 formats for displaying file sizes when the -s switch is given.
619 Instead, compute a separate format for displaying the size in
620 blocks, which is displayed in addition to the "regular" size.
621 When -h is given in addition to -s, produce size in blocks in
622 human-readable form as well. (Bug#16179)
623
624 2013-12-18 Tassilo Horn <tsdh@gnu.org>
625
626 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
627 Reference tables with ~\ref{...} instead of only \ref{...}.
628
629 2013-12-18 Chong Yidong <cyd@gnu.org>
630
631 * cus-edit.el (custom-magic-alist): Fix "themed" description
632 (Bug#14348).
633
634 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
635 is non-nil, do not create a new entry in the symbol's theme-value
636 or theme-face property; update theme-settings only (Bug#14664).
637 (custom-available-themes): Doc fix.
638
639 * cus-theme.el (custom-new-theme-mode-map): Add bindings
640 (Bug#15674).
641
642 * replace.el (occur-engine): Avoid infloop (Bug#7593).
643
644 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
645
646 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
647 (Bug#13914).
648
649 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
650
651 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
652
653 2013-12-18 Glenn Morris <rgm@gnu.org>
654
655 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
656 * cus-start.el (load-prefer-newer): New option.
657
658 2013-12-18 Le Wang <l26wang@gmail.com>
659
660 * comint.el (comint-previous-matching-input-from-input):
661 Retain point (Bug#13404).
662
663 2013-12-18 Chong Yidong <cyd@gnu.org>
664
665 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
666
667 2013-12-18 Glenn Morris <rgm@gnu.org>
668
669 * mail/emacsbug.el (report-emacs-bug):
670 Only mention enable-multibyte-characters if non-standard.
671
672 2013-12-17 Juri Linkov <juri@jurta.org>
673
674 * arc-mode.el (archive-extract-by-file): Check if directory exists
675 before deletion to not show irrelevant errors if it doesn't exist.
676
677 2013-12-17 Juri Linkov <juri@jurta.org>
678
679 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
680 (Bug#14751)
681
682 * net/eww.el (browse-web): Add alias to `eww'.
683 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
684 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
685
686 * net/browse-url.el (browse-url-browser-function): Move `eww'
687 closer to similar functions.
688
689 * startup.el (fancy-startup-screen, fancy-about-screen):
690 Set browse-url-browser-function to eww-browse-url locally.
691 (Bug#14751)
692
693 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
694
695 * window.el (window--pixel-to-total): Remove unused `mini' var.
696 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
697 (split-window): Remove unused `new' var.
698 (window--display-buffer): Remove unused `frame' and `delta' vars.
699 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
700 and display-width'.
701
702 2013-12-17 Martin Rudalics <rudalics@gmx.at>
703
704 * dired.el (dired-mark-pop-up):
705 * register.el (register-preview): Don't bind
706 split-height-threshold here since it's now done in
707 display-buffer-below-selected.
708
709 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
710
711 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
712 xterm-rgb-convert-to-16bit.
713 (rxvt-register-default-colors): Standardize with
714 xterm-register-default-colors (Bug#14078).
715
716 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
717
718 * simple.el (kill-region): Pass mark first, then point, so that
719 kill-append works right (Bug#12819).
720 (copy-region-as-kill, kill-ring-save): Likewise.
721
722 2013-12-17 Leo Liu <sdl.web@gmail.com>
723
724 * net/rcirc.el (rcirc-add-face):
725 * eshell/em-prompt.el (eshell-emit-prompt):
726 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
727 (Bug#16167)
728
729 2013-12-17 Chong Yidong <cyd@gnu.org>
730
731 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
732 Suggested by Xue Fuqiao.
733
734 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
735
736 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
737
738 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
739
740 * net/shr.el (shr-insert-document): Remove unused var
741 `shr-preliminary-table-render'.
742 (shr-rescale-image): Remove unused arg `force'.
743 (shr-put-image): Update calls accordingly.
744 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
745
746 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
747
748 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
749 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
750 :close-all, to see which indentation method to use (Bug#16116).
751 (smie-rules-function): Document the method :close-all.
752
753 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
754
755 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
756
757 * net/eww.el (eww-display-html): If we can't find the anchor we're
758 looking for, then go to point-min.
759
760 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
761
762 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
763 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
764 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
765 Expand dir too, in case it's relative.
766
767 2013-12-16 Juri Linkov <juri@jurta.org>
768
769 * desktop.el (desktop-auto-save-timeout): Change default to
770 `auto-save-timeout'. Doc fix.
771 (desktop-save): Skip the timestamp in desktop-saved-frameset
772 when checking for auto-save changes.
773 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
774 `desktop-auto-save' is called repeatedly by the idle timer.
775 (desktop-auto-save-set-timer): Replace `run-with-timer' with
776 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
777 (Bug#15331)
778
779 2013-12-16 Juri Linkov <juri@jurta.org>
780
781 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
782 (Bug#16035)
783 (isearch-pre-command-hook): Check `this-command' for symbolp.
784
785 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
788
789 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
790
791 * progmodes/cfengine.el (cfengine3--current-word): Remove.
792 (cfengine3--current-function): Bring in the current-function
793 functionality from `cfengine3--current-word'.
794 (cfengine3-completion-function): Bring in the
795 bounds-of-current-word functionality from
796 `cfengine3--current-word'.
797
798 2013-12-16 Martin Rudalics <rudalics@gmx.at>
799
800 * window.el (display-buffer-below-selected):
801 Bind split-height-threshold to 0 as suggested by Juri Linkov.
802
803 2013-12-16 Leo Liu <sdl.web@gmail.com>
804
805 * progmodes/compile.el (compile-goto-error): Do not push-mark.
806 Remove NOMSG arg and all uses changed.
807
808 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
809
810 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
811 (cua--deactivate-rectangle): Don't deactivate the mark.
812 (cua-set-rectangle-mark): Don't set mark-active since
813 cua--activate-rectangle already does it for us.
814 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
815 non-rectangular region.
816
817 * emulation/cua-base.el (cua-repeat-replace-region):
818 Use with-current-buffer.
819
820 * net/gnutls.el: Use cl-lib.
821 (gnutls-negotiate): `mapcan' -> cl-mapcan.
822
823 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
824
825 * emacs-lisp/package.el (package-built-in-p): Support both
826 built-in and the package.el converted package descriptions.
827 (package-show-package-list): Allow keywords.
828 (package-keyword-button-action): Use it instead of
829 `finder-list-matches'.
830 (package-menu-filter-interactive): Interactive filtering (by
831 keyword) function.
832 (package-menu--generate): Support keywords and change keymappings
833 and headers when they are given.
834 (package--has-keyword-p): Helper function.
835 (package-menu--refresh): Use it.
836 (package--mapc): Helper function.
837 (package-all-keywords): Use it.
838 (package-menu-mode-map): Set up menu items and keybindings to
839 provide a filtering UI.
840
841 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
842
843 * net/gnutls.el (gnutls-verify-error): New defcustom to control
844 the behavior when a certificate fails validation. Defaults to
845 old behavior: never abort, just warn.
846 (gnutls-negotiate): Use it.
847
848 2013-12-14 Martin Rudalics <rudalics@gmx.at>
849
850 * window.el (display-buffer-below-selected): Never split window
851 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
852
853 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
854
855 * emacs-lisp/package.el (package--prepare-dependencies): New function.
856 (package-buffer-info): Use it (bug#15108).
857
858 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
859
860 * icomplete.el (icomplete-completions): Make sure the prefix is already
861 displayed elsewhere before hiding it (bug#16219).
862
863 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
864
865 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
866 open-paren tokens when preceded by a open-paren, too.
867 (ruby-smie-rules): Handle virtual indentation after open-paren
868 tokens specially. If there is code between it and eol, return the
869 column where is starts (Bug#16118).
870
871 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
872
873 * progmodes/cfengine.el: Fix `add-hook' doc.
874 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
875 (cfengine3--current-word): Fix parameters.
876 (cfengine3-make-syntax-cache): Simplify further.
877 (cfengine3-completion-function, cfengine3--current-function):
878 Use `assq' for symbols.
879 (cfengine3--current-function): Fix `cfengine3--current-word' call.
880
881 2013-12-13 Glenn Morris <rgm@gnu.org>
882
883 * loadup.el (load-path): Warn if site-load or site-init changes it.
884 No more need to reset it when bootstrapping.
885
886 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
887
888 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
889 locations for cf-promises.
890 (cfengine-mode-syntax-functions-regex): New caching variable.
891 (cfengine3-fallback-syntax): Fallback syntax for cases where
892 cf-promises doesn't run.
893 (cfengine3--current-word): Reimplement using
894 `cfengine-mode-syntax-functions-regex'.
895 (cfengine3-completion-function, cfengine3--current-function):
896 Use `cfengine3-make-syntax-cache' directly.
897 (cfengine3-clear-syntax-cache): New function.
898 (cfengine3-make-syntax-cache): Simplify and create
899 `cfengine-mode-syntax-functions-regex' on demand.
900 (cfengine3-format-function-docstring): Don't call
901 `cfengine3-make-syntax-cache' explicitly.
902
903 2013-12-13 Martin Rudalics <rudalics@gmx.at>
904
905 Fix windmove-find-other-window broken after pixelwise resizing
906 (Bug#16017).
907 * windmove.el (windmove-other-window-loc): Revert change from
908 2013-12-04.
909 (windmove-find-other-window): Call window-in-direction.
910 * window.el (window-in-direction): New arguments SIGN, WRAP and
911 MINI to emulate original windmove-find-other-window behavior.
912
913 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
914
915 * simple.el (blink-matching--overlay): New variable.
916 (blink-matching-open): Instead of moving point, highlight the
917 matching paren with an overlay
918 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
919
920 * faces.el (paren-showing-faces, show-paren-match)
921 (show-paren-mismatch): Move from paren.el.
922
923 2013-12-13 Leo Liu <sdl.web@gmail.com>
924
925 * indent.el (indent-region): Disable progress reporter in
926 minibuffer. (Bug#16108)
927
928 * bindings.el (visual-order-cursor-movement): Fix version.
929
930 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
931
932 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
933 Also match after beginning of line.
934 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
935 files. Thanks to Russell Sim. (Bug#15378)
936
937 2013-12-13 Juri Linkov <juri@jurta.org>
938
939 * simple.el <Keypad support>: Remove key bindings duplicated
940 with bindings.el. (Bug#14397)
941
942 2013-12-13 Juri Linkov <juri@jurta.org>
943
944 * comint.el (comint-mode-map): Replace `delete-char' with
945 `delete-forward-char'. (Bug#16109)
946
947 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
948
949 * progmodes/python.el (python-indent-calculate-indentation):
950 Fix de-denters cornercase. (Bug#15731)
951
952 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
955 (advice--make): Pay attention to `depth'.
956 (advice--make-1): Don't autoload commands eagerly.
957 * emacs-lisp/elp.el (elp-instrument-function):
958 * emacs-lisp/trace.el (trace-function-internal):
959 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
960
961 * iswitchb.el (iswitchb-mode): Don't belittle ido.
962
963 2013-12-12 Eli Zaretskii <eliz@gnu.org>
964
965 * term/w32-win.el (w32-handle-dropped-file):
966 * startup.el (normal-top-level):
967 * net/browse-url.el (browse-url-file-url):
968 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
969 decode file names using 'utf-8' rather than
970 file-name-coding-system.
971
972 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
973
974 * progmodes/python.el (python-indent-context)
975 (python-indent-calculate-indentation): Fix auto-identation
976 behavior for comment blocks. (Bug#15916)
977
978 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
979
980 * progmodes/python.el (python-indent-calculate-indentation):
981 When determining indentation, don't treat "return", "pass", etc., as
982 operators when they are just string constituents. (Bug#15812)
983
984 2013-12-12 Juri Linkov <juri@jurta.org>
985
986 * uniquify.el (uniquify-buffer-name-style): Change default to
987 `post-forward-angle-brackets'.
988
989 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
990 `uniquify'. Change default to `post-forward-angle-brackets'.
991
992 2013-12-11 Glenn Morris <rgm@gnu.org>
993
994 * emacs-lisp/package.el (finder-list-matches):
995 Autoload rather than falsely declaring.
996
997 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
998
999 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1000 (eww-mode-map): Use them.
1001
1002 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1003
1004 * window.el (display-buffer-in-side-window): Fix doc-string
1005 (Bug#16115).
1006
1007 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1008
1009 * vc/vc-git.el: Silence byte-compiler warnings.
1010 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1011 (log-edit-set-header): Declare.
1012
1013 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1014
1015 * Makefile.in (custom-deps, finder-data): Run output file names
1016 through unmsys--file-name. (Bug#16099)
1017
1018 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1019
1020 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1021 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1022
1023 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1024 instead of deleting the selection "by hand" (bug#16098).
1025 Rely on insert-for-yank to yank rectangles.
1026 (cua-highlight-region-shift-only): Mark obsolete.
1027 (cua-mode): Don't enable/disable transient-mark-mode,
1028 shift-select-mode (cua-mode works both with and without them), and
1029 pc-selection-mode (obsolete).
1030 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1031 (cua--deactivate-rectangle): Deactivate it.
1032
1033 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1034 (delete-selection-helper): Make sure yank starts at the top of the
1035 deleted region.
1036 (minibuffer-keyboard-quit): Use region-active-p.
1037
1038 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1039
1040 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1041 to `delete' (bug#16109).
1042
1043 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1044
1045 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1046 info manual and show keybindings and set `:group' keyword.
1047
1048 2013-12-11 Juri Linkov <juri@jurta.org>
1049
1050 * delsel.el (delete-active-region): Let-bind `this-command'
1051 to prevent `kill-region' from changing its original value.
1052 (delete-selection-helper): Handle `overwrite-mode' for the type
1053 `kill' exactly the same way as for the type `t'.
1054 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1055 Support more commands. (Bug#13312)
1056
1057 2013-12-11 Juri Linkov <juri@jurta.org>
1058
1059 * bindings.el: Map kp keys to non-kp keys systematically
1060 with basic modifiers control, meta and shift. (Bug#14397)
1061
1062 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1063
1064 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1065 "Close browser" menu items. Fix wrong function of "List
1066 bookmarks".
1067
1068 2013-12-11 Juri Linkov <juri@jurta.org>
1069
1070 * misearch.el (multi-isearch-buffers): Set the value of
1071 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1072 arg of isearch-forward to t.
1073 (multi-isearch-buffers-regexp): Set the value of
1074 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1075 arg of isearch-forward-regexp to t.
1076 (multi-isearch-files): Set the value of
1077 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1078 arg of isearch-forward to t.
1079 (multi-isearch-files-regexp): Set the value of
1080 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1081 arg of isearch-forward-regexp to t. (Bug#16035)
1082
1083 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1084 arg of isearch-forward to t.
1085 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1086 arg of isearch-forward-regexp to t.
1087 (dired-isearch-filter-filenames): Remove unnecessary check for
1088 `dired-isearch-filenames'.
1089
1090 * comint.el (comint-history-isearch-backward):
1091 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1092 (comint-history-isearch-backward-regexp):
1093 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1094
1095 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1096
1097 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1098 unmsys--file-name. (Bug#16099)
1099
1100 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1101
1102 * emacs-lisp/package.el (package-keyword-button-action):
1103 Remove finder.el require dependency.
1104
1105 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1106
1107 * emacs-lisp/package.el: Require finder.el.
1108 (describe-package-1): Add keyword buttons.
1109 (package-make-button): New convenience function.
1110 (package-keyword-button-action): Keyword button action using
1111 `finder-list-matches'.
1112
1113 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1114
1115 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1116 last commit.
1117
1118 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1119
1120 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1121 symlinked files.
1122
1123 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1124
1125 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1126 after the end of a percent literal.
1127
1128 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1129
1130 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1131 Handle caret-delimited strings (Bug#16079).
1132
1133 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1134
1135 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1136 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1137 `ruby-parse-partial' (Bug#16078).
1138
1139 2013-12-09 Leo Liu <sdl.web@gmail.com>
1140
1141 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1142
1143 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1144
1145 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1146 (js-switch-indent-offset): New option.
1147 (js--proper-indentation): Use it. And handle the case when
1148 "default" is actually a key in an object literal.
1149 (js--same-line): New function.
1150 (js--multi-line-declaration-indentation): Use it.
1151 (js--indent-in-array-comp, js--array-comp-indentation):
1152 New functions.
1153 (js--proper-indentation): Use them, to handle array comprehension
1154 continuations.
1155
1156 2013-12-08 Leo Liu <sdl.web@gmail.com>
1157
1158 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1159 (flymake-make-overlay): Remove arg MOUSE-FACE.
1160 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1161
1162 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1163
1164 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1165 New function.
1166 (redisplay-highlight-region-function): Use it.
1167
1168 * emulation/cua-base.el (cua--explicit-region-start)
1169 (cua--last-region-shifted): Remove.
1170 (cua--deactivate): Use deactivate-mark.
1171 (cua--pre-command-handler-1): Don't handle shift-selection.
1172 (cua--post-command-handler-1): Don't change transient-mark-mode.
1173 (cua--select-keymaps): Use region-active-p rather than
1174 cua--explicit-region-start or cua--last-region-shifted.
1175 (cua-mode): Enable shift-select-mode.
1176
1177 2013-12-08 Leo Liu <sdl.web@gmail.com>
1178
1179 * progmodes/flymake.el (flymake-popup-current-error-menu):
1180 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1181 (flymake-posn-at-point-as-event, flymake-popup-menu)
1182 (flymake-make-emacs-menu): Remove. (Bug#16077)
1183
1184 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1185
1186 * rect.el (rectangle-mark-mode): Activate mark even if
1187 transient-mark-mode is off (bug#16066).
1188 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1189 is > mark and at bolp.
1190
1191 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1192 (region-extract-function): Use it.
1193 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1194 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1195 Delete functions.
1196 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1197 kill-ring-save, kill-region, delete-char, delete-forward-char.
1198 Ignore self-insert-iso.
1199
1200 * emulation/cua-gmrk.el (cua--init-global-mark):
1201 Ignore `self-insert-iso'.
1202
1203 * emulation/cua-base.el (cua--prefix-copy-handler)
1204 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1205 checking cua--rectangle.
1206 (cua-delete-region): Use region-extract-function.
1207 (cua-replace-region): Delete function.
1208 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1209 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1210 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1211 (cua--init-keymaps): Don't remap delete-selection commands.
1212 (cua-mode): Use delete-selection-mode instead of rolling our own
1213 (bug#16085).
1214
1215 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1216 Obey region-extract-function.
1217
1218 Make registers and delete-selection-mode work on rectangles.
1219 * register.el (describe-register-1): Don't modify the register's value.
1220 (copy-to-register): Obey region-extract-function.
1221 * delsel.el (delete-active-region): Obey region-extract-function.
1222
1223 2013-12-08 Leo Liu <sdl.web@gmail.com>
1224
1225 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1226 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1227 (flymake-compilation-prevents-syntax-check)
1228 (flymake-start-syntax-check-on-newline)
1229 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1230 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1231 (flymake-xml-program, flymake-master-file-dirs)
1232 (flymake-master-file-count-limit)
1233 (flymake-allowed-file-name-masks): Relocate.
1234 (flymake-makehash, flymake-float-time)
1235 (flymake-replace-regexp-in-string, flymake-split-string)
1236 (flymake-get-temp-dir): Remove.
1237 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1238 (flymake-current-row, flymake-selected-frame)
1239 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1240 related functions. (Bug#16077)
1241
1242 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1243
1244 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1245
1246 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1247
1248 * help-fns.el (describe-function-1): Use new advice-* functions
1249 rather than old ad-* functions. Fix function type description and
1250 source links for advised functions and subrs.
1251
1252 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1253
1254 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1255
1256 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1257
1258 * progmodes/compile.el (compilation-start):
1259 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1260
1261 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1262 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1263
1264 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1265
1266 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1267 Touch up the last change.
1268
1269 2013-12-06 Leo Liu <sdl.web@gmail.com>
1270
1271 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1272 (inferior-octave-startup): Always use "octave> " for prompt.
1273 (octave-goto-function-definition)
1274 (octave-sync-function-file-names)
1275 (octave-find-definition-default-filename): Remove redundant backquotes.
1276
1277 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1278
1279 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1280 syntax for `?'.
1281 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1282 where appropriate already.
1283 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1284 end of method names (Bug#15874).
1285
1286 2013-12-06 Juri Linkov <juri@jurta.org>
1287
1288 * isearch.el (isearch--saved-overriding-local-map):
1289 New internal variable.
1290 (isearch-mode): Set it to the initial value of
1291 `overriding-terminal-local-map'.
1292 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1293 with `isearch--saved-overriding-local-map'. (Bug#16035)
1294
1295 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1296
1297 * progmodes/octave.el (inferior-octave-completion-table):
1298 Turn back into function, use `completion-table-with-cache'
1299 (Bug#11906). Update all references.
1300
1301 * minibuffer.el (completion-table-with-cache): New function.
1302
1303 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1304
1305 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1306
1307 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1308
1309 * net/eww.el (eww-current-source): New variable to store page
1310 source.
1311 (eww-display-html, eww-mode, eww-save-history)
1312 (eww-restore-history): Use it.
1313 (eww-view-source): New command to view page source.
1314 Opportunistically uses `html-mode' to highlight the buffer.
1315 (eww-mode-map): Install it.
1316
1317 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1318
1319 * net/dbus.el (dbus-unregister-service)
1320 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1321 Fix docstring.
1322 (dbus-unregister-service): Skip :serial entries in
1323 `dbus-registered-objects-table'.
1324 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1325
1326 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1327
1328 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1329 around keywords with extra `split-string' argument.
1330
1331 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1332
1333 * windmove.el (windmove-other-window-loc): Handle navigation
1334 between windows (excluding the minibuffer window - Bug#16017).
1335
1336 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1337
1338 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1339 in D-Bus type syntax.
1340 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1341 preserve unibyte strings. (Bug#16048)
1342
1343 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1344
1345 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1346 Call force-mode-line-update is the proper buffer (bug#16042).
1347
1348 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1349
1350 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1351 `log-edit-remember-comment', make argument optional. Adjust all
1352 callers.
1353 (log-edit-mode): Add `log-edit-remember-comment' to
1354 `kill-buffer-hook' locally.
1355 (log-edit-kill-buffer): Don't remember comment explicitly since
1356 the buffer is killed anyway.
1357
1358 2013-12-04 Juri Linkov <juri@jurta.org>
1359
1360 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1361 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1362
1363 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1364
1365 * notifications.el (notifications-close-notification): Call the
1366 D-Bus method with ID being a `:uint32'. (Bug#16030)
1367
1368 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1369
1370 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1371
1372 2013-12-03 Juri Linkov <juri@jurta.org>
1373
1374 * progmodes/compile.el (compilation-start): Rename window alist
1375 entry `no-display-ok' to `allow-no-window'.
1376
1377 * simple.el (shell-command): Add window alist entry
1378 `allow-no-window' to `display-buffer'.
1379 (async-shell-command): Doc fix.
1380
1381 * window.el (display-buffer-no-window): New action function.
1382 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1383
1384 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1385
1386 * vc/log-edit.el (log-edit-set-header): Extract from
1387 `log-edit-toggle-header'.
1388 (log-edit-extract-headers): Separate the summary, when extracted
1389 from header, from the rest of the message with an empty line.
1390
1391 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1392 line, if present, to the Summary header.
1393
1394 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1395
1396 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1397 in current-buffer (bug#16029).
1398
1399 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1400
1401 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1402 (debugger-mode-map): Bind it.
1403 (debugger--backtrace-base): New function.
1404 (debugger-eval-expression): Use it.
1405 (debugger-frame-number): Skip local vars when present.
1406 (debugger--locals-visible-p, debugger--insert-locals)
1407 (debugger--show-locals, debugger--hide-locals): New functions.
1408
1409 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1410
1411 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1412 "LC_ALL".
1413 (tramp-get-remote-locale): New defun.
1414 (tramp-open-connection-setup-interactive-shell): Use it.
1415
1416 2013-12-02 Leo Liu <sdl.web@gmail.com>
1417
1418 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1419
1420 * progmodes/sh-script.el (sh-shell-process):
1421 * progmodes/octave.el (inferior-octave-process-live-p):
1422 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1423 (gdb-inferior-io-sentinel):
1424 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1425
1426 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1427
1428 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1429 `save-selected-window' to `log-edit-hide-buf'. This makes
1430 `log-edit-show-files' idempotent.
1431 (log-edit-show-files): Mark the new window as dedicated.
1432
1433 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1434
1435 * vc/log-edit.el (log-edit-mode-map): Add binding for
1436 `log-edit-kill-biffer'.
1437 (log-edit-hide-buf): Add a FIXME comment.
1438 (log-edit-add-new-comment): New function, extracted from
1439 `log-edit-done'.
1440 (log-edit-done, log-edit-add-to-changelog): Use it.
1441 (log-edit-kill-buffer): New command.
1442
1443 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1444
1445 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1446 instead of killing the buffer.
1447
1448 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1449
1450 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1451
1452 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1453
1454 * net/eww.el (eww-form-checkbox-selected-symbol)
1455 (eww-form-checkbox-symbol): New customizable variable.
1456 (eww-form-checkbox, eww-toggle-checkbox):
1457 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1458
1459 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1460 (shr--get-media-pref, shr--extract-best-source): New function.
1461 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1462 no :src tag was specified.
1463
1464 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1465 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1466 Use \\` to match beginning of string instead of ^.
1467 (eww-browse-with-external-browser): Provide optional URL parameter.
1468 (eww-render): Set `eww-current-title' back to "".
1469
1470 * net/shr.el (shr-tag-video): Display content for video if no
1471 poster is available.
1472 (shr-tag-audio): Add support for <audio> tag.
1473
1474 * net/eww.el (eww-text-input-types): New const.
1475 (eww-process-text-input): Treat input types in
1476 `eww-text-input-types' as text.
1477
1478 * net/shr.el (shr-tag-table): Fix comment typo.
1479
1480 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1481
1482 * net/eww.el (eww-follow-link): New command to avoid reloading
1483 pages when we follow #target links (bug#15243).
1484 (eww-quit): Special mode buffers shouldn't query before exiting.
1485
1486 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1487
1488 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1489 forms.
1490
1491 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1492
1493 * net/eww.el (eww-restore-history): Update the window title after
1494 moving in the history.
1495 (eww-current-dom): New variable used to save the current DOM.
1496
1497 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1498
1499 * vc/log-edit.el (log-edit-mode-map): Add binding for
1500 `log-edit-beginning-of-line'.
1501 (log-edit-setup-add-author): New user option.
1502 (log-edit-beginning-of-line): New command.
1503 (log-edit): Move major mode call above the contents setup so that
1504 the local variable values are already applied.
1505 (log-edit): Only insert "Author: " when
1506 `log-edit-setup-add-author' is non-nil.
1507 (log-edit): When SETUP is non-nil, position point after ": "
1508 instead of point-min.
1509
1510 2013-12-01 Glenn Morris <rgm@gnu.org>
1511
1512 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1513
1514 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1515
1516 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1517 redisplay to make sure the initial frame gets a chance to become
1518 visible. (Bug#16014)
1519
1520 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1521
1522 Support resizing frames and windows pixelwise.
1523 * cus-start.el (frame-resize-pixelwise)
1524 (window-resize-pixelwise): New entries.
1525 * emacs-lisp/debug.el (debug): Use window-total-height instead
1526 of window-total-size.
1527 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1528 * help.el (describe-bindings-internal): Call help-buffer
1529 (temp-buffer-max-width): New option.
1530 (resize-temp-buffer-window, help-window-setup)
1531 (with-help-window): Rewrite.
1532 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1533 dragging dividers.
1534 * window.el (frame-char-size, window-min-pixel-height)
1535 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1536 (window-min-pixel-width, window-safe-min-pixel-size)
1537 (window-combination-p, window-safe-min-size)
1538 (window-resizable-p, window--size-to-pixel)
1539 (window--pixel-to-size, window--resize-apply-p): New functions.
1540 (window-safe-min-height): Fix doc-string.
1541 (window-size, window-min-size, window--min-size-1)
1542 (window-sizable, window-sizable-p, window--min-delta-1)
1543 (window-min-delta, window--max-delta-1, window-max-delta)
1544 (window--resizable, window--resizable-p, window-resizable)
1545 (window-full-height-p, window-full-width-p, window-at-side-p)
1546 (window--in-direction-2, window-in-direction)
1547 (window--resize-reset-1, window--resize-mini-window)
1548 (window-resize, window-resize-no-error)
1549 (window--resize-child-windows-normal)
1550 (window--resize-child-windows, window--resize-siblings)
1551 (window--resize-this-window, window--resize-root-window)
1552 (window--resize-root-window-vertically)
1553 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1554 (maximize-window, minimize-window, delete-window)
1555 (quit-restore-window, window-split-min-size, split-window)
1556 (balance-windows-2, balance-windows)
1557 (balance-windows-area-adjust, balance-windows-area)
1558 (window--state-get-1, window-state-get, window--state-put-1)
1559 (window--state-put-2, window-state-put)
1560 (display-buffer-record-window, window--display-buffer):
1561 Make functions handle pixelwise sizing of windows.
1562 (display-buffer--action-function-custom-type)
1563 (display-buffer-fallback-action):
1564 Add display-buffer-in-previous-window.
1565 (display-buffer-use-some-window): Resize window to height it had
1566 before.
1567 (fit-window-to-buffer-horizontally): New option.
1568 (fit-frame-to-buffer): Describe new values.
1569 (fit-frame-to-buffer-bottom-margin): Replace with
1570 fit-frame-to-buffer-margins.
1571 (window--sanitize-margin): New function.
1572 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1573 using window-text-pixel-size.
1574
1575 2013-11-30 Glenn Morris <rgm@gnu.org>
1576
1577 * emacs-lisp/bytecomp.el (byte-compile-form):
1578 Make the `interactive-only' warning like the `obsolete' one.
1579 * comint.el (comint-run):
1580 * files.el (insert-file-literally, insert-file):
1581 * replace.el (replace-string, replace-regexp):
1582 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1583 (goto-line, insert-buffer, next-line, previous-line):
1584 Tweak `interactive-only' spec.
1585
1586 Stop keeping (most) generated cedet grammar files in the repository.
1587 * Makefile.in (semantic): New.
1588 (compile-main): Depend on semantic.
1589
1590 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1591
1592 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1593 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1594
1595 * uniquify.el (uniquify-buffer-name-style): Change default.
1596
1597 * loadup.el: Preload "uniquify".
1598
1599 * time.el (display-time-update): Update all mode lines (bug#15999).
1600
1601 * electric.el (electric-indent-mode): Enable by default.
1602 * loadup.el: Preload "electric".
1603
1604 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1605
1606 * emacs-lisp/helpers.el (string-empty-p): New function.
1607 (string-blank-p): New function.
1608
1609 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1610
1611 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1612 (Bug#14029).
1613
1614 2013-11-29 Andreas Politz <politza@fh-trier.de>
1615 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1616 allow non-lambda lists as functions.
1617 (imenu--in-alist): Don't recurse into non-subalists.
1618 (imenu): Don't pass function itself as an argument (Bug#14029).
1619
1620 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1621
1622 * progmodes/python.el (python-mode-map): Remove binding for ":".
1623 (python-indent-electric-colon): Remove command.
1624 (python-indent-post-self-insert-function): Integrate the previous code
1625 of python-indent-electric-colon. Make it conditional on
1626 electric-indent-mode.
1627 (python-mode): Add ?: to electric-indent-chars.
1628 Move python-indent-post-self-insert-function to the end of
1629 post-self-insert-hook.
1630
1631 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1632
1633 * doc-view.el (doc-view-goto-page): Update mode-line.
1634
1635 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1636
1637 2013-11-27 Glenn Morris <rgm@gnu.org>
1638
1639 * international/charprop.el, international/uni-bidi.el:
1640 * international/uni-category.el, international/uni-combining.el:
1641 * international/uni-comment.el, international/uni-decimal.el:
1642 * international/uni-decomposition.el, international/uni-digit.el:
1643 * international/uni-lowercase.el, international/uni-mirrored.el:
1644 * international/uni-name.el, international/uni-numeric.el:
1645 * international/uni-old-name.el, international/uni-titlecase.el:
1646 * international/uni-uppercase.el:
1647 Remove generated files from VCS repository.
1648
1649 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1650
1651 * filenotify.el (file-notify-add-watch): Don't special-case
1652 w32notify when computing the directory to watch.
1653
1654 2013-11-27 Glenn Morris <rgm@gnu.org>
1655
1656 Make bootstrap without generated uni-*.el files possible again.
1657 * loadup.el: Update command-line-args checking for unidata-gen.
1658 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1659 * composite.el, international/characters.el:
1660 Handle unicode tables being undefined.
1661
1662 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1663 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1664 (compile-main): Depend on leim rule.
1665 (leim): New rule.
1666 * loadup.el: Move leim-list.el to leim/ subdirectory.
1667 * startup.el (normal-top-level): No more leim directory.
1668 * international/ja-dic-cnv.el (skkdic-convert):
1669 Disable version-control and autoloads in output files.
1670 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1671 Disable version-control and autoloads in output files.
1672 * leim/quail: Move here from ../leim.
1673 * leim/quail/hangul.el (hangul-input-method-activate):
1674 Add autoload cookie.
1675 (generated-autoload-load-name): Set file-local value.
1676 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1677 (generated-autoload-load-name): Set file-local value.
1678
1679 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
1680
1681 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1682 (eww-add-bookmark): Ask confirmation when add to bookmarks.
1683 (eww-quit): Ask confirmation before quitting eww.
1684
1685 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1686
1687 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1688 reading output from Diff on MS-Windows and MS-DOS.
1689
1690 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1691
1692 * emacs-lisp/helpers.el (string-reverse): New function.
1693
1694 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1695
1696 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1697 names on MS Windows, like "/[::1]:".
1698
1699 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1700 SWITCHES.
1701
1702 2013-11-26 Glenn Morris <rgm@gnu.org>
1703
1704 * progmodes/python.el (python-indent-guess-indent-offset):
1705 Avoid corner-case error. (Bug#15975)
1706
1707 Preload leim-list.el. (Bug#4789)
1708 * loadup.el: Load leim-list.el when found.
1709 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1710
1711 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1712
1713 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1714
1715 * emacs-lisp/helpers.el (string-join): New function.
1716
1717 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1718
1719 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1720 Mark as obsolete and replace it with a symbol property.
1721 (byte-compile-form): Use new 'interactive-only property.
1722 * comint.el, files.el, replace.el, simple.el:
1723 Apply new 'interactive-only properly.
1724
1725 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1726
1727 * window.el (display-buffer-at-bottom): Make sure that
1728 split-window-sensibly creates the new window on bottom
1729 (Bug#15961).
1730
1731 2013-11-23 David Kastrup <dak@gnu.org>
1732
1733 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1734 on the conflict markers when available.
1735 (smerge--get-marker): New function.
1736 (smerge-end-re, smerge-base-re): Add subgroup.
1737
1738 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1739
1740 * frame.el (handle-focus-in, handle-focus-out): Add missing
1741 interactive spec.
1742
1743 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1744
1745 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1746 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1747
1748 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1749
1750 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1751 (gomoku--last-pos): New var.
1752 (gomoku--intangible-chars): New const.
1753 (gomoku--intangible): New function.
1754 (gomoku-mode): Use it. Derive from special-mode.
1755 (gomoku-move-up): Adjust line count.
1756 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1757 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1758 Simplify accordingly.
1759
1760 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1761 Remove blink-cursor code.
1762 (blink-cursor-timer-function, blink-cursor-suspend):
1763 Don't special-case GUIs.
1764 (blink-cursor-mode): Use focus-in/out-hook.
1765
1766 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1767
1768 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1769 work when annotation is invisible (Bug#13886).
1770
1771 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1772
1773 * json.el (json-alist-p): Only return non-nil if the alist has
1774 simple keys (Bug#13518).
1775
1776 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1777
1778 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1779 when control-statement is the first statement in a buffer (Bug#15956).
1780
1781 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1782
1783 * imenu.el (imenu-generic-skip-comments-and-strings):
1784 New option (Bug#15560).
1785 (imenu--generic-function): Use it.
1786
1787 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1788
1789 * minibuffer.el (completion--in-region-1): Scroll the correct window.
1790 (Bug#13898)
1791
1792 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1793
1794 * emacs-lisp/helpers.el: Add some string helpers.
1795 (string-trim-left): Removes leading whitespace.
1796 (string-trim-right): Removes trailing whitespace.
1797 (string-trim): Removes leading and trailing whitespace.
1798
1799 * subr.el (string-suffix-p): New function.
1800
1801 2013-11-23 Glenn Morris <rgm@gnu.org>
1802
1803 * progmodes/python.el (python-shell-send-file):
1804 Add option to delete file when done. (Bug#15647)
1805 (python-shell-send-string, python-shell-send-region): Use it.
1806
1807 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1808
1809 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1810 to set buffer-read-only to t, never to nil. (Bug#15938)
1811
1812 * textmodes/tex-mode.el (latex-noindent-environments):
1813 Add safe-local-variable property. (Bug#15936)
1814
1815 2013-11-23 Glenn Morris <rgm@gnu.org>
1816
1817 * textmodes/enriched.el (enriched-mode): Doc fix.
1818 * emacs-lisp/authors.el (authors-renamed-files-alist):
1819 Add enriched.doc -> enriched.txt.
1820
1821 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1822
1823 2013-11-22 Leo Liu <sdl.web@gmail.com>
1824
1825 * progmodes/octave.el (inferior-octave-startup): Spit out error
1826 message.
1827
1828 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1829
1830 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1831 Improve docstring.
1832 Add :version.
1833 (ruby-encoding-magic-comment-style): Add :version.
1834
1835 2013-11-22 Leo Liu <sdl.web@gmail.com>
1836
1837 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1838 (Bug#15076)
1839 (octave-help-mode): Adapt to change to help-mode-finish to use
1840 derived-mode-p on 2013-09-17.
1841 (inferior-octave-prompt): Also match octave-gui.
1842 (octave-kill-process): Don't ask twice. (Bug#10564)
1843
1844 2013-11-22 Leo Liu <sdl.web@gmail.com>
1845
1846 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1847 (inferior-octave-startup, inferior-octave-check-process)
1848 (inferior-octave-track-window-width-change)
1849 (octave-completion-at-point, octave-eldoc-function): Use it.
1850 (octave-kill-process): Provide confirmation. (Bug#10564)
1851
1852 2013-11-21 Leo Liu <sdl.web@gmail.com>
1853
1854 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1855 Fix obsolete variable comment-use-global-state.
1856
1857 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1858
1859 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1860 Add `octave-source-file'.
1861 (octave-source-file): New function. (Bug#15935)
1862
1863 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
1864
1865 * net/eww.el (eww-local-regex): New variable.
1866 (eww): Use it to detect localhost and similar.
1867
1868 2013-11-21 Leo Liu <sdl.web@gmail.com>
1869
1870 Add completion for command `ag'.
1871 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1872 (pcomplete/ag): New function.
1873 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1874
1875 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1878 (bug#14646).
1879 (make-obsolete): Remove interactive spec.
1880
1881 2013-11-21 Glenn Morris <rgm@gnu.org>
1882
1883 * startup.el (command-line-1): Use path-separator with -L.
1884
1885 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1886
1887 * emacs-lisp/package.el (describe-package-1): Add package archive
1888 to shown fields.
1889
1890 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1891
1892 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1893 Change default to "# encoding: %s" to differentiate it from the
1894 default Ruby encoding comment template.
1895
1896 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1897
1898 * ses.el (ses-mode): Doc fix. (Bug#14748)
1899
1900 2013-11-20 Leo Liu <sdl.web@gmail.com>
1901
1902 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1903
1904 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1905
1906 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1907 when rebase or bisect are in progress.
1908
1909 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1910
1911 * filenotify.el (file-notify-add-watch): Doc fix.
1912
1913 2013-11-19 Leo Liu <sdl.web@gmail.com>
1914
1915 * obsolete/rcompile.el: Mark obsolete.
1916
1917 * progmodes/compile.el (compilation-start)
1918 (compilation-goto-locus, compilation-find-file):
1919 Pass no-display-ok and handle nil value from display-buffer.
1920 (Bug#13594)
1921
1922 * window.el (display-buffer-alist, display-buffer): Document the
1923 new parameter no-display-ok. Return either a window or nil
1924 but never a non-window value.
1925
1926 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1927
1928 * electric.el (electric-indent-mode-map): Remove.
1929 (electric-indent-mode): Change the global-map instead (bug#15915).
1930
1931 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1932 Use add-function.
1933
1934 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1935
1936 * emacs-lisp/nadvice.el (remove-function): Align with
1937 add-function's behavior.
1938
1939 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1940 (gdb--string-regexp): New constant.
1941 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1942 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1943 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1944 submatch 1.
1945 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1946 Adjust use accordingly.
1947 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1948
1949 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1950
1951 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1952 interpolation curlies (Bug#15914).
1953
1954 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1955
1956 * calc/calc.el (calc-context-sensitive-enter): New variable.
1957 (calc-enter): Use `calc-context-sensitive-enter'.
1958
1959 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1960
1961 * progmodes/cfengine.el: Version bump.
1962 (cfengine-cf-promises): New defcustom to locate cf-promises.
1963 (cfengine3-vartypes): Add new "data" type.
1964 (cfengine3--current-word): New function to get current name-like
1965 word or its bounds.
1966 (cfengine3--current-function): New function to look up a CFEngine
1967 function's definition.
1968 (cfengine3-format-function-docstring): New function.
1969 (cfengine3-make-syntax-cache): New function.
1970 (cfengine3-documentation-function): New function: ElDoc glue.
1971 (cfengine3-completion-function): New function: completion glue.
1972 (cfengine3-mode): Set `compile-command',
1973 `eldoc-documentation-function', and add to
1974 `completion-at-point-functions'.
1975
1976 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1977
1978 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1979 `tramp-current-connection'.
1980
1981 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1982
1983 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1984 nil/self/true/false with "end of symbol".
1985
1986 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1987
1988 * subr.el (version-regexp-alist): Fix a typo.
1989
1990 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1991
1992 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1993 "en_US.utf8" and "LC_CTYPE" to "".
1994 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1995 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1996
1997 2013-11-15 Leo Liu <sdl.web@gmail.com>
1998
1999 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2000
2001 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2002
2003 * progmodes/gud.el (ctl-x-map):
2004 Remove C-x SPC binding. (Bug#12342)
2005 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2006
2007 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2008
2009 * subr.el (version-regexp-alist):
2010 Recognize hg, svn and darcs versions as snapshot versions.
2011
2012 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2013 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2014 (ruby--encoding-comment-required-p): Extract from
2015 `ruby-mode-set-encoding'.
2016 (ruby-mode-set-encoding): Add the ability to always insert an
2017 utf-8 encoding comment. Fix and simplify coding comment update
2018 logic.
2019
2020 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2021
2022 * net/tramp-gvfs.el (top): Run init code only when
2023 `tramp-gvfs-enabled' is not nil.
2024 (tramp-gvfs-enabled): Check also :system bus.
2025
2026 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2027
2028 Sync with upstream verilog-mode revision 78e66ba.
2029 * progmodes/verilog-mode.el (verilog-end-of-defun)
2030 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2031 (verilog-get-end-of-defun): Remove unused argument.
2032 (verilog-comment-depth): Remove unused local `e'.
2033 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2034 Don't pass arg to verilog-get-end-of-defun.
2035
2036 2013-11-14 Glenn Morris <rgm@gnu.org>
2037
2038 * obsolete/assoc.el (aget): Prefix dynamic variable.
2039
2040 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2041
2042 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2043
2044 * widget.el, hfy-cmap.el: Remove bogus package version number.
2045
2046 2013-11-13 Glenn Morris <rgm@gnu.org>
2047
2048 * replace.el (replace-eval-replacement):
2049 Try to give more helpful error message. (Bug#15836)
2050
2051 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2052 (archive-7z-update): Avoid custom type mismatches.
2053
2054 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2055
2056 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2057
2058 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2059 address can be empty.
2060
2061 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2062 Accept nil SWITCHES.
2063 (tramp-gvfs-handle-write-region): Implement APPEND.
2064
2065 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2066
2067 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2068 binary "|" operator and closing block args delimiter.
2069 Remove FIXME comment referring to Ruby 1.8-only syntax.
2070 (ruby-smie--implicit-semi-p): Not after "|" operator.
2071 (ruby-smie--closing-pipe-p): New function.
2072 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2073 (ruby-smie-rules): Indent after "|".
2074
2075 2013-11-12 Glenn Morris <rgm@gnu.org>
2076
2077 * ps-print.el (ps-face-attribute-list):
2078 Handle anonymous faces. (Bug#15827)
2079
2080 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2081
2082 * window.el (display-buffer-other-frame): Fix doc-string.
2083 (Bug#15868)
2084
2085 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2088
2089 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2090
2091 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2092 (tramp-sh-handle-file-local-copy): Don't write a message when
2093 saving temporary files.
2094
2095 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2096 both directories are remote.
2097 (tramp-smb-handle-directory-files): Do not return double entries.
2098 Do not expand full file names.
2099 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2100 (tramp-smb-handle-write-region): Implement APPEND.
2101 (tramp-smb-get-stat-capability): Fix a stupid bug.
2102
2103 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2104
2105 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2106
2107 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2108
2109 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2110 throwing error over malformed let/let* (bug#15814).
2111
2112 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2113
2114 * iswitchb.el (iswitchb-mode): Mark obsolete.
2115
2116 2013-11-11 Glenn Morris <rgm@gnu.org>
2117
2118 * international/uni-bidi.el, international/uni-category.el:
2119 * international/uni-name.el, international/uni-numeric.el:
2120 Regenerate for Unicode 6.3.0.
2121
2122 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2123
2124 * net/tramp.el (tramp-methods):
2125 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2126 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2127
2128 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2129
2130 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2131 Force highlighting text after Summary keyword in doc face for rpm.
2132
2133 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2134
2135 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2136 available and the word has no wildcards, append one to the grep pattern.
2137 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2138 (ispell-complete-word): Call `ispell-lookup-words' with the value
2139 independent of `ispell-look-p'.
2140
2141 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2142
2143 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2144 Not after "||".
2145 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2146 their parent.
2147
2148 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2151 (ruby-font-lock-keywords): Use backquote.
2152
2153 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2154
2155 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2156 (ruby-smie--backward-token): Only consider full-string matches.
2157
2158 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2159
2160 * faces.el (describe-face): Add distant-foreground.
2161
2162 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2163
2164 * progmodes/ruby-mode.el: Improve encoding comment handling.
2165 (ruby-encoding-magic-comment-style): New option.
2166 (ruby-custom-encoding-magic-comment-template): New option.
2167 (ruby--insert-coding-comment, ruby--detect-encoding):
2168 New functions extracted from `ruby-mode-set-encoding'.
2169 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2170 to control the style of the auto-inserted encoding comment.
2171
2172 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2173
2174 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2175 Use `smie-backward-sexp' with token argument.
2176
2177 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2178
2179 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2180 Remove instrumentation code.
2181
2182 2013-11-08 Glenn Morris <rgm@gnu.org>
2183
2184 * progmodes/autoconf.el (autoconf-mode):
2185 Tweak comment-start-skip. (Bug#15822)
2186
2187 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2188
2189 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2190 at bobp (bug#15826).
2191 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2192
2193 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2194
2195 * man.el (Man-start-calling): New macro, extracted from
2196 Man-getpage-in-background.
2197 (Man-getpage-in-background): Use it.
2198 (Man-update-manpage): New command.
2199 (Man-mode-map): Bind it.
2200
2201 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2202
2203 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2204 of "and", "or", "&&" and "||".
2205 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2206 argument. Prohibit opening curly brace because it could only be a
2207 block opener in that position.
2208 (ruby-smie--forward-token, ruby-smie--backward-token):
2209 Separate "|" from "&" or "*" going after it. That can happen in block
2210 arguments.
2211 (ruby-smie--indent-to-stmt): New function, seeks the end of
2212 previous statement or beginning of buffer.
2213 (ruby-smie-rules): Use it.
2214 (ruby-smie-rules): Check if there's a ":" before a curly block
2215 opener candidate; if there is, it's a hash.
2216
2217 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2220 (cl--block-wrapper): Fix last accidental change.
2221
2222 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2223
2224 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2225 Instrument, in order to hunt failure on hydra.
2226
2227 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2228
2229 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2230 malformed bindings form (bug#15814).
2231
2232 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2233
2234 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2235 "." compared to " @ ". This incidentally fixes some indentation
2236 examples with "do".
2237 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2238 (ruby-smie-grammar): New tokens: "and" and "or".
2239 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2240 Exclude "and" and "or". Remove "do" in order to work around token
2241 priorities.
2242 (ruby-smie-rules): Add all infix tokens. Handle the case of
2243 beginning-of-buffer.
2244
2245 2013-11-06 Glenn Morris <rgm@gnu.org>
2246
2247 * Makefile.in (setwins_almost, setwins_for_subdirs):
2248 Avoid accidental matches.
2249
2250 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2251
2252 * menu-bar.el (popup-menu): Use key-binding.
2253
2254 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2255
2256 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2257 menus, support also the menus produced by minor modes.
2258 (Bug#15817)
2259
2260 2013-11-06 Leo Liu <sdl.web@gmail.com>
2261
2262 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2263 DISTANCE to bound the search. All uses changed. (Bug#15808)
2264
2265 2013-11-06 Glenn Morris <rgm@gnu.org>
2266
2267 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2268 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2269 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2270
2271 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2272
2273 * electric.el (electric-indent-just-newline): New command.
2274 (electric-indent-mode-map): New keymap.
2275 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2276 Re-add :group which weren't redundant.
2277
2278 * electric.el (electric-indent-local-mode): New minor mode.
2279 (electric-indent-functions-without-reindent): New var.
2280 (electric-indent-post-self-insert-function): Use it.
2281 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2282
2283 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2284
2285 * international/quail.el (quail-help): Be more explicit about the
2286 meaning of the labels shown on the keys. (Bug#15800)
2287
2288 * startup.el (normal-top-level): Load the subdirs.el files before
2289 setting the locale environment. (Bug#15805)
2290
2291 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2292
2293 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2294 via arguments so as to get the right ones (bug#15418).
2295
2296 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2297
2298 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2299
2300 Fix problems found while writing a test suite.
2301
2302 * net/tramp-compat.el (tramp-compat-load): New defun.
2303 * net/tramp.el (tramp-handle-load): Use it.
2304
2305 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2306 "(numberp ok-if-already-exists)" correctly.
2307
2308 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2309
2310 * international/characters.el (glyphless-char-display-control):
2311 Add usage note.
2312
2313 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2314
2315 * progmodes/python.el (python-mode):
2316 * progmodes/scheme.el (scheme-mode):
2317 * progmodes/prolog.el (prolog-mode):
2318 * progmodes/ruby-mode.el (ruby-mode):
2319 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2320 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2321
2322 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2323
2324 * rect.el (rectangle--highlight-for-redisplay):
2325 * emacs-lisp/smie.el (smie--next-indent-change):
2326 Use buffer-chars-modified-tick.
2327
2328 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2329
2330 * electric.el (electric-indent-post-self-insert-function):
2331 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2332
2333 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2334
2335 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2336
2337 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2338
2339 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2340 (bug#15786).
2341
2342 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2343
2344 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2345
2346 * progmodes/python.el: Fix up last change.
2347 (python-shell--save-temp-file): New function.
2348 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2349 `string' comes from the current buffer.
2350 (python-shell-send-string-no-output): Remove `msg' arg.
2351 (python--use-fake-loc): New var.
2352 (python-shell-buffer-substring): Obey it. Try to compensate for the
2353 extra coding line added by python-shell--save-temp-file.
2354 (python-shell-send-region): Use python-shell--save-temp-file and
2355 python-shell-send-file directly. Add `nomain' argument.
2356 (python-shell-send-buffer): Use python-shell-send-region.
2357 (python-electric-pair-string-delimiter): New function.
2358 (python-mode): Use it.
2359
2360 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2361
2362 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2363 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2364 environment and decoding all of the default-directory's to here
2365 from command-line.
2366 (command-line): Decode also argv[0].
2367
2368 * loadup.el: Error out if default-directory is a multibyte string
2369 when we are dumping.
2370
2371 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2372
2373 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2374
2375 * emacs-lisp/package.el (package-menu-mode)
2376 (package-menu--print-info, package-menu--archive-predicate):
2377 Add Archive column to package list.
2378
2379 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2380
2381 Fix problems found while writing a test suite.
2382
2383 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2384 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2385 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2386 to nil when running original file name handler. Otherwise,
2387 there are problems with constructs like "$$FOO".
2388
2389 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2390 for `localname'.
2391
2392 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2393
2394 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2395
2396 * subr.el (version<, version<=, version=):
2397 Update docstrings with information for snapshot versions.
2398
2399 * helpers.el: New library for misc helper functions.
2400 (hash-table-keys): New function returning a list of hash keys.
2401 (hash-table-values): New function returning a list of hash values.
2402
2403 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2404
2405 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2406 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2407
2408 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2409
2410 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2411 checking whether point is after a 1-letter word.
2412
2413 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2414
2415 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2416 Don't infloop when expanding region over `multiline' syntax-type that
2417 begins a line (bug#15778).
2418
2419 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2420
2421 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2422 Make it into a proper minor mode.
2423 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2424 (rectangle-mark-mode-map): New keymap.
2425 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2426
2427 2013-11-04 Glenn Morris <rgm@gnu.org>
2428
2429 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2430
2431 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2432
2433 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2434 (ruby-smie-rules): Use smie-rule-parent instead.
2435
2436 * emacs-lisp/smie.el (smie-rule-parent): Always call
2437 smie-indent-virtual rather than only for hanging tokens.
2438 (smie--next-indent-change): New helper command.
2439
2440 2013-11-03 Glenn Morris <rgm@gnu.org>
2441
2442 * Makefile.in (abs_srcdir): Remove.
2443 (emacs): Unset EMACSLOADPATH.
2444
2445 2013-11-02 Glenn Morris <rgm@gnu.org>
2446
2447 * Makefile.in (EMACS): Use a relative filename.
2448 (abs_top_builddir): Remove.
2449 (custom-deps, finder-data, autoloads): Use --chdir.
2450
2451 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2452
2453 Use relative filenames in TAGS files.
2454 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2455 (lisptagsfiles4, TAGS): Use relative file names.
2456 (TAGS-LISP): Remove.
2457 (maintainer-clean): No more TAGS-LISP file.
2458
2459 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2460 (lisptagsfiles4): Use absolute filenames again.
2461 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2462 Remove all *loaddefs files, not just the first. Remove esh-groups.
2463 (maintainer-clean): Delete TAGS, TAGS-LISP.
2464
2465 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2466
2467 * emacs-lisp/package.el (package-version-join):
2468 Recognize snapshot versions.
2469
2470 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2471
2472 * subr.el (version-regexp-alist): Add support for snapshot versions.
2473
2474 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2475
2476 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2477 New function, replacement for `smie-rule-parent' for when we want to
2478 skip over our direct parent if it's an assignment token..
2479 (ruby-smie-rules): Use it.
2480
2481 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2482
2483 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2484 unconditionally. Remove now unnecessary forward declarations.
2485 Remove XEmacs-specific setup.
2486 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2487 (ruby-font-lock-syntactic-keywords)
2488 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2489 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2490 (ruby-here-doc-end-syntax): Remove.
2491 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2492 defined as function.
2493
2494 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2495
2496 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2497
2498 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2499
2500 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2501 table and abbrev table, `define-derived-mode' does that for us
2502 anyway.
2503
2504 2013-11-01 Glenn Morris <rgm@gnu.org>
2505
2506 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2507 files is atomic for some time, so no parallel compilation issues).
2508
2509 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2510
2511 * faces.el (face-x-resources): Add :distant-foreground.
2512 (region): Use :distant-foreground for gtk and ns.
2513
2514 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2515
2516 Allow multiple bibliographies when BibLaTeX is used rather than
2517 BibTeX.
2518 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2519 (reftex-locate-bibliography-files): Us it.
2520
2521 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2522
2523 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2524 allow comments in pbm files.
2525
2526 * term/w32-win.el (dynamic-library-alist): Support newer versions
2527 of libjpeg starting with v7: look only for the DLL from the
2528 version against which Emacs was built.
2529 Support versions of libpng beyond 1.4.x.
2530 Support libtiff v4.x.
2531
2532 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2533
2534 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2535 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2536 Add property :safe.
2537 (ruby-deep-arglist): Add property :type.
2538
2539 2013-10-31 Glenn Morris <rgm@gnu.org>
2540
2541 * Makefile.in (custom-deps, finder-data): No need to setq the target
2542 variables, we are in the right directory and the defaults work fine.
2543
2544 2013-10-30 Glenn Morris <rgm@gnu.org>
2545
2546 * Makefile.in (autoloads): Do not use abs_lisp.
2547
2548 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2549 `newline' does not respect `standard-output', so use `princ'.
2550
2551 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2552
2553 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2554 * buff-menu.el (Buffer-menu--unmark): New function.
2555 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2556
2557 2013-10-30 Glenn Morris <rgm@gnu.org>
2558
2559 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2560
2561 * emacs-lisp/package.el (lm-homepage): Declare.
2562
2563 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2564 Fix doc typos.
2565
2566 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2567
2568 * Makefile.in (finder-data, autoloads, update-subdirs)
2569 (compile-main, compile-clean, compile-always, bootstrap-clean):
2570 Check return value of cd.
2571 (compile-calc): Remove.
2572
2573 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2574
2575 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2576
2577 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2578 (byte-compile-and-folded): New function.
2579 (=, <, >, <=, >=): Use it.
2580
2581 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2582 (path-separator, null-device, buffer-file-coding-system)
2583 (lpr-headers-switches): Check system-type before modifying them.
2584 (find-buffer-file-type-coding-system): Mark obsolete.
2585 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2586 find-file-not-found-set-buffer-file-coding-system.
2587 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2588 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2589 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2590 (w32-direct-print-region-helper, w32-direct-print-region-function)
2591 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2592 * startup.el (normal-top-level-add-subdirs-to-load-path):
2593 * ps-print.el (ps-print-region-function):
2594 * lpr.el (print-region-function): Use new name.
2595
2596 * subr.el (custom-declare-variable-early): Remove function.
2597 (custom-declare-variable-list): Remove var.
2598 (error, user-error): Remove `while' loop.
2599 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2600 (user-emacs-directory-warning, locate-user-emacs-file):
2601 Move to files.el.
2602 * simple.el (read-quoted-char-radix, read-quoted-char):
2603 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2604 Move from subr.el.
2605 * custom.el (custom-declare-variable-list): Don't process
2606 custom-declare-variable-list.
2607
2608 * progmodes/python.el (python-shell-get-buffer): New function.
2609 (python-shell-get-process): Use it.
2610 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2611 Python which encoding was used. Don't split-string since we only care
2612 about the first line. Return the temp-file, if applicable.
2613 (python-shell-send-region): Tell compile.el how to turn locations in
2614 the temp-file into locations in the source buffer.
2615
2616 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2617
2618 * subr.el (undefined): Add missing behavior from the C code for
2619 unbound keys.
2620
2621 * rect.el: Use lexical-binding. Add new rectangular region support.
2622 (rectangle-mark): New command.
2623 (rectangle--region): New var.
2624 (deactivate-mark-hook): Reset rectangle--region.
2625 (rectangle--extract-region, rectangle--insert-for-yank)
2626 (rectangle--highlight-for-redisplay)
2627 (rectangle--unhighlight-for-redisplay): New functions.
2628 (region-extract-function, redisplay-unhighlight-region-function)
2629 (redisplay-highlight-region-function): Use them to handle
2630 rectangular region.
2631 * simple.el (region-extract-function): New var.
2632 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2633 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2634 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2635 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2636 (redisplay-unhighlight-region-function)
2637 (redisplay-highlight-region-function): New vars.
2638 (redisplay--update-region-highlight): New function.
2639 (pre-redisplay-function): Use it.
2640 (exchange-point-and-mark): Don't deactivate the mark before
2641 reactivate-it anyway.
2642 * comint.el (comint-kill-region): Remove yank-handler argument.
2643 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2644 (delete-char): Remove property, since it's now part of their
2645 default behavior.
2646 (self-insert-iso): Remove property since this command doesn't exist.
2647
2648 * emacs-lisp/package.el (package--download-one-archive)
2649 (describe-package-1): Don't query the user about final newline.
2650
2651 2013-10-29 Daniel Colascione <dancol@dancol.org>
2652
2653 * net/tramp.el (tramp-methods): Document new functionality.
2654 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2655 tramp-hostname-checker if method provides one instead of scanning
2656 argument list for "%h" to decide hostname acceptability.
2657
2658 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2659
2660 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2661 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2662 Handle COPY-CONTENTS. (Bug#15737)
2663
2664 2013-10-28 Daiki Ueno <ueno@gnu.org>
2665
2666 * epa-file.el
2667 (epa-file-cache-passphrase-for-symmetric-encryption):
2668 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2669
2670 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2671
2672 * image.el (defimage):
2673 (image-load-path): Doc fixes.
2674
2675 2013-10-27 Alan Mackenzie <acm@muc.de>
2676
2677 Indent statements in macros following "##" correctly.
2678 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2679 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2680
2681 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2682
2683 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2684
2685 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2686
2687 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2688 after `=' is probably a new expression.
2689
2690 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2691
2692 * man.el (man-imenu-title): New option.
2693 (Man-mode-map): Add menu. (Bug#15722)
2694 (Man-mode): Add imenu to menu.
2695
2696 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2697
2698 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2699 specific in what the first arg can be: a non-keyword word,
2700 string/regexp/percent literal opener, opening paren, or unary
2701 operator followed directly by word.
2702
2703 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2704
2705 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2706 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2707 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2708 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2709 Remove vars, they do not apply any more.
2710 (prolog-mode-abbrev-table): Remove redundant declaration.
2711 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2712 (prolog-use-smie): Remove.
2713 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2714 supported by prolog-electric-if-then-else-flag.
2715 (prolog-mode-variables, prolog-menu): Use setq-local.
2716 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2717 Remove binding to `Backspace' since this key doesn't exist anyway.
2718 Remove bindings for electric self-inserting keys.
2719 (prog-mode): Assume it's defined.
2720 (prolog-post-self-insert): New function.
2721 (prolog-mode): Use it.
2722 (prolog-indent-line, prolog-indent-level)
2723 (prolog-find-indent-of-matching-paren)
2724 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2725 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2726 (prolog-goto-next-paren, prolog-in-string-or-comment)
2727 (prolog-tokenize, prolog-inside-mline-comment)
2728 (prolog-find-start-of-mline-comment): Remove functions.
2729 (prolog-find-unmatched-paren, prolog-clause-end)
2730 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2731 (prolog-electric--if-then-else): Rename from
2732 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2733 (prolog-tokenize-searchkey): Remove const.
2734 (prolog-clause-info): Use forward-sexp.
2735 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2736 (prolog-electric-if-then-else): Remove commands.
2737 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2738 for use in post-self-insert-hook.
2739 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2740 for use in post-self-insert-hook.
2741 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2742 for use in post-self-insert-hook.
2743 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2744 adapt it for use in post-self-insert-hook.
2745
2746 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2747
2748 * emacs-lisp/ert.el (ert-run-tests-interactively):
2749 Use `completing-read'. (Bug#9756)
2750
2751 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2752
2753 * simple.el (line-move): Call line-move-1 instead of
2754 line-move-visual when the current window hscroll is zero, but
2755 temporary-goal-column indicates we will need to hscroll as result
2756 of the movement. (Bug#15712)
2757
2758 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2759
2760 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2761 capitalization. Use :visible instead of :active.
2762 Fix `ruby-indent-exp' reference. Add menu items for the generic
2763 commands that are used with SMIE.
2764 (ruby-do-end-to-brace): Insert space after `{'.
2765
2766 2013-10-25 John Anthony <john@jo.hnanthony.com>
2767
2768 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2769
2770 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2771
2772 2013-10-25 Glenn Morris <rgm@gnu.org>
2773
2774 * vc/vc.el (vc-print-log): Don't use a working revision unless
2775 one was explicitly specified. (Bug#15322)
2776
2777 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2778
2779 * subr.el (add-to-list): Preserve return value in compiler-macro
2780 (bug#15692).
2781
2782 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2783
2784 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2785 result. Ask user to retry using '-all' flag. (Bug#15701)
2786
2787 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2788
2789 * emacs-lisp/smie.el: New smie-config system.
2790 (smie-config): New defcustom.
2791 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2792 (smie-config-guess, smie-config-save): New commands.
2793 (smie-config--mode-local, smie-config--buffer-local)
2794 (smie-config--trace, smie-config--modefuns): New vars.
2795 (smie-config--advice, smie-config--mode-hook)
2796 (smie-config--setter, smie-config-local, smie-config--get-trace)
2797 (smie-config--guess-value, smie-config--guess): New functions.
2798 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2799 text properties. Treat "string fence" syntax like string syntax.
2800
2801 * progmodes/sh-script.el (sh-use-smie): Change default.
2802 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2803 (sh-var-value): Simplify by CSE.
2804 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2805 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2806 is used.
2807 (sh-guess-basic-offset): Use cl-incf.
2808 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2809
2810 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2811
2812 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2813 (bug#15699).
2814
2815 2013-10-24 Glenn Morris <rgm@gnu.org>
2816
2817 * Makefile.in (abs_top_srcdir): Remove.
2818 (update-subdirs): Use relative path to update-subdirs.
2819
2820 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2821
2822 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2823 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2824 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2825 Call unmsys--file-name before expand-file-name, not after it.
2826
2827 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2828
2829 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2830 (ert-test-skipped): New error.
2831 (ert-skip, ert-stats-skipped): New defuns.
2832 (ert--skip-unless): New macro.
2833 (ert-test-skipped): New struct.
2834 (ert--run-test-debugger, ert-test-result-type-p)
2835 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2836 (ert--stats-set-test-and-result, ert-char-for-test-result)
2837 (ert-string-for-test-result, ert-run-tests-batch)
2838 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2839 Handle skipped tests. (Bug#9803)
2840
2841 2013-10-24 Glenn Morris <rgm@gnu.org>
2842
2843 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2844
2845 * Makefile.in (abs_top_srcdir): New, set by configure.
2846 (update-subdirs): Correct build-aux location.
2847
2848 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2849
2850 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2851 value, whether we could auto-deduce `backend', or not.
2852
2853 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2854 with parameters" example. Simplify the "is it block or is it
2855 hash" check, but also make it more thorough.
2856
2857 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2858
2859 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2860
2861 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2862
2863 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2864 { if it is hanging.
2865
2866 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2867 :before ";".
2868
2869 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2870
2871 * progmodes/compile.el (compilation-directory-matcher)
2872 (compilation-page-delimiter):
2873 Support GNU Make-4.0 directory quoting. (Bug#15678)
2874
2875 2013-10-23 Leo Liu <sdl.web@gmail.com>
2876
2877 * ido.el (ido-tidy): Handle read-only text.
2878
2879 2013-10-23 Glenn Morris <rgm@gnu.org>
2880
2881 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2882 (emacs, compile, compile-always):
2883 Quote entities that might contain whitespace.
2884 (custom-deps, finder-data, autoloads): Use abs_lisp.
2885 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2886 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2887 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2888
2889 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2890
2891 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2892 Use `following-char'.
2893
2894 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2895
2896 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2897 * progmodes/ruby-mode.el (ruby-smie-rules):
2898 Remove corresponding workaround. Fix indentation rule of ";" so it
2899 also applies when ";" is the parent.
2900
2901 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2902
2903 * frame.el (display-screens, display-pixel-height)
2904 (display-pixel-width, display-mm-width, display-backing-store)
2905 (display-save-under, display-planes, display-color-cells)
2906 (display-visual-class, display-monitor-attributes-list):
2907 Mention the optional ‘display’ argument in doc strings.
2908
2909 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2910
2911 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2912 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2913
2914 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2915
2916 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2917 TODO. Add "." after " @ ".
2918 (ruby-smie--at-dot-call): New function. Checks if point at method
2919 call with explicit target.
2920 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2921 to the method name tokens when it precedes them.
2922 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2923 (ruby-smie-rules): Add rule for indentation before and after "."
2924 token.
2925
2926 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * textmodes/remember.el (remember-diary-extract-entries):
2929 Avoid add-to-list.
2930
2931 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2932 an instruction.
2933
2934 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2935
2936 * progmodes/ruby-mode.el (ruby-smie-grammar):
2937 Add (almost) all infix operators.
2938 (ruby-smie--implicit-semi-p): Add new operator chars.
2939
2940 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2941 `smie-down-list'.
2942 (ruby-smie--args-separator-p): Check that there's no newline
2943 between method call and its arguments.
2944
2945 2013-10-20 Alan Mackenzie <acm@muc.de>
2946
2947 Allow comma separated lists after Java "implements".
2948
2949 * progmodes/cc-engine.el (c-backward-over-enum-header):
2950 Parse commas.
2951 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2952 from a "disallowed" list in enum fontification.
2953
2954 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2955
2956 * startup.el (default-frame-background-mode): Remove unused defvar.
2957
2958 * progmodes/verilog-mode.el (verilog-mode): Don't set
2959 comment-indent-function globally.
2960
2961 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2962
2963 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2964 Move Info menu item creation to ns-win.el.
2965
2966 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2967 in menu bar.
2968
2969 * menu-bar.el: Move GNUStep specific menus...
2970
2971 * term/ns-win.el (ns-initialize-window-system): ... to here.
2972
2973 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2974
2975 * simple.el (newline): Only run post-self-insert-hook when
2976 called interactively.
2977
2978 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2979
2980 * icomplete.el (icomplete-with-completion-tables): Add :version.
2981
2982 2013-10-19 Alan Mackenzie <acm@muc.de>
2983
2984 Fix fontification bugs with constructors and const.
2985
2986 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2987 CASE 2) Remove the check for the absence of a suffix construct
2988 after a function declaration with only types (no identifiers) in
2989 the parentheses. Also, accept a function declaration with just a
2990 type inside the parentheses, if this type can be positively
2991 recognised as such, or if a prefix keyword like "explicit" nails
2992 down the construct as a declaration.
2993
2994 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2995
2996 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2997 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2998 the problem whereby selecting a menu item that leads to a
2999 minibuffer prompt moves the cursor out of the minibuffer window,
3000 making it hard to type at the prompt. Suggested by Stefan Monnier
3001 <monnier@iro.umontreal.ca>.
3002
3003 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3004
3005 * menu-bar.el: Don't make Services menu.
3006
3007 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3008
3009 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3010 (ffap-alist): Use ffap-c++-mode for c++-mode.
3011 (ffap-c++-path): New variable.
3012 (ffap-c++-mode): New function.
3013
3014 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3015
3016 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3017
3018 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3019
3020 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3021 introduced on 2013-09-08, which results in an infinite loop
3022 requesting a password.
3023
3024 2013-10-18 Glenn Morris <rgm@gnu.org>
3025
3026 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3027
3028 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3029
3030 Sync with upstream verilog-mode revision 1a6ecec7.
3031 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3032 (verilog-mode-release-date): Remove.
3033 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3034 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3035 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3036 (verilog-auto-tieoff-ignore-regexp)
3037 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3038 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3039 (verilog-signals-with, verilog-dir-cache-preserving)
3040 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3041 Doc fixes.
3042 (verilog-case-fold): New option, to control case folding in
3043 regexp searches, bug597.
3044 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3045 (verilog-string-match-fold, verilog-in-paren-count)
3046 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3047 (verilog-at-close-struct-p): New functions.
3048 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3049 (verilog-forward-sexp, verilog-set-auto-endcomments):
3050 (verilog-leap-to-case-head): Handle "unique0" case.
3051 (verilog-in-constraint-re): New constant.
3052 (verilog-keywords, verilog-type-font-keywords):
3053 Add some SystemVerilog 1800-2012 keywords.
3054 (verilog-label-be): Remove unimplemented argument, bug669.
3055 (verilog-batch-execute-func): When batch expanding clear
3056 create-lockfiles to prevent spurious user locks when a file ends
3057 up not changing.
3058 (verilog-calculate-indent, verilog-calc-1)
3059 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3060 (verilog-do-indent): Fix indentation of nested constraints
3061 and structures.
3062 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3063 (verilog-auto-inst-param): Use verilog-string-match-fold.
3064 (verilog-read-inst-module-matcher):
3065 Fix AUTOINST on gate primitives with #1.
3066 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3067 Reads all user-defined typed variables.
3068 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3069 (verilog-signals-matching-regexp)
3070 (verilog-signals-not-matching-regexp, verilog-auto):
3071 Respect verilog-case-fold.
3072 (verilog-diff-report): Fix line count.
3073 (verilog-auto-assign-modport): Remove unused local `modi'.
3074 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3075 better handle multidimensional arrays.
3076 Fix packed array ports misadding bit index in AUTOINST, bug637.
3077 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3078 to not double-declare existing outputs and inputs, respectively.
3079 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3080 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3081 (verilog-sk-uvm-component): New skeleton.
3082 (verilog-submit-bug-report): Add verilog-case-fold,
3083 remove verilog-mode-release-date.
3084
3085 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3086
3087 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3088 as before.
3089
3090 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3091
3092 * textmodes/remember.el (remember): Set buffer-offer-save in
3093 remember buffers (bug#13566).
3094
3095 2013-10-18 Daniel Colascione <dancol@dancol.org>
3096
3097 When evaluating forms in ielm, direct standard output to ielm
3098 buffer. Add new ielm-return-for-effect command. Remove trailing
3099 whitespace throughout.
3100
3101 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3102 (ielm-return-for-effect): New command.
3103 (ielm-send-input): Accept optional `for-effect' parameter.
3104 (ielm-eval-input): Accept optional `for-effect' parameter.
3105 Bind `standard-output' to stream we create using
3106 `ielm-standard-output-impl'. Suppress printing result when
3107 `for-effect'.
3108 (ielm-standard-output-impl): New function.
3109 (inferior-emacs-lisp-mode): Explain new features in documentation.
3110
3111 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3112
3113 Code cleanup.
3114
3115 * net/tramp.el (tramp-debug-message): Do not check for connection
3116 buffer.
3117 (tramp-message): Use "vector" connection property.
3118
3119 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3120 (tramp-equal-remote, tramp-eshell-directory-change)
3121 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3122 (tramp-adb-handle-rename-file)
3123 * net/tramp-cmds.el (tramp-list-remote-buffers)
3124 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3125 * net/tramp-compat.el (tramp-compat-process-running-p)
3126 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3127 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3128 (tramp-gvfs-handle-rename-file)
3129 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3130 (tramp-set-file-uid-gid)
3131 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3132 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3133 of `file-remote-p'.
3134
3135 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3136 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3137 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3138 (tramp-gw-open-network-stream): Suppress unrelated traces.
3139
3140 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3141 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3142 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3143 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3144 connection property.
3145
3146 * net/tramp-cache.el (top): Suppress traces when reading
3147 persistency file.
3148
3149 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3150 Refactor common code. Improve debug message.
3151 (tramp-maybe-open-connection)
3152 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3153 connection buffer too early.
3154
3155 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3156 from `tramp-smb-actions-with-acl'.
3157 (tramp-smb-actions-set-acl): New defconst.
3158 (tramp-smb-handle-copy-directory)
3159 (tramp-smb-action-get-acl): New defun, renamed from
3160 `tramp-smb-action-with-acl'.
3161 (tramp-smb-action-set-acl): New defun.
3162 (tramp-smb-handle-set-file-acl): Rewrite.
3163
3164 2013-10-17 Glenn Morris <rgm@gnu.org>
3165
3166 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3167
3168 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3169
3170 * skeleton.el (skeleton-newline): Remove.
3171 (skeleton-internal-1): Use (insert "\n") instead.
3172
3173 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3174 let-bindings.
3175
3176 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3177 forward-sexp-function while we redo its job (bug#15613).
3178
3179 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3180
3181 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3182 represented by lists.
3183
3184 2013-10-16 Glenn Morris <rgm@gnu.org>
3185
3186 * tmm.el (tmm--history): New dynamic variable.
3187 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3188
3189 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3190
3191 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3192 (tramp-smb-errors): Add error messages.
3193 (tramp-smb-actions-with-acl): New defconst.
3194 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3195 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3196 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3197 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3198 (tramp-smb-get-stat-capability): Fix tests.
3199
3200 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3201
3202 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3203 (bug#15580).
3204
3205 2013-10-16 Glenn Morris <rgm@gnu.org>
3206
3207 * ansi-color.el (ansi-color-drop-regexp):
3208 Add 1J, 1K, 2K. (Bug#15617)
3209
3210 * files.el (hack-local-variables--warned-lexical): New.
3211 (hack-local-variables):
3212 Warn about misplaced lexical-binding. (Bug#15616)
3213
3214 * net/eww.el (eww-render): Always set eww-current-url,
3215 and update header line. (Bug#15622)
3216 (eww-display-html): ... Rather than just doing it here.
3217
3218 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3219
3220 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3221 menu navigations commands.
3222
3223 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3224
3225 * progmodes/subword.el (subword-capitalize): Be careful when
3226 the search for [[:alpha:]] fails (bug#15580).
3227
3228 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3229
3230 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3231 to commands that scroll the menu.
3232
3233 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3234
3235 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3236 Handle methods ending with `?' and `!'.
3237
3238 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3239
3240 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3241 `japanese-cp932' to `cp932' to fix the problem where saving a
3242 source file written in Shift_JIS twice would end up having
3243 `coding: japanese-cp932' which Ruby could not recognize.
3244 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3245 in `ruby-encoding-map'.
3246 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3247 doesn't need to be explicitly declared in magic comment.
3248 (ruby-encoding-map): Add type declaration for better customize UI.
3249
3250 2013-10-13 Glenn Morris <rgm@gnu.org>
3251
3252 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3253 Occur buffers are read-only. http://bugs.debian.org/720775
3254
3255 * emacs-lisp/authors.el (authors-fixed-entries):
3256 Comment out old alpha stuff.
3257
3258 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3259
3260 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3261 to `after-save-hook' instead of `before-save-hook'.
3262 (ruby-mode-set-encoding): Use the value of coding system used to
3263 write the file. Call `basic-save-buffer-1' after modifying the
3264 buffer.
3265
3266 2013-10-13 Alan Mackenzie <acm@muc.de>
3267
3268 Fix indentation/fontification of Java enum with
3269 "implements"/generic.
3270
3271 * progmodes/cc-engine.el (c-backward-over-enum-header):
3272 Extracted from the three other places and enhanced to handle generics.
3273 (c-inside-bracelist-p): Uses new function above.
3274 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3275 function above.
3276 (c-font-lock-enum-tail): Uses new function above.
3277
3278 2013-10-13 Kenichi Handa <handa@gnu.org>
3279
3280 * international/mule-cmds.el (select-safe-coding-system): Remove a
3281 superfluous condition in chekcing whether a coding system is safe
3282 or not.
3283
3284 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3285
3286 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3287
3288 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3289
3290 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3291
3292 2013-10-13 Glenn Morris <rgm@gnu.org>
3293
3294 * menu-bar.el (menu-bar-update-buffers):
3295 Unify Buffers menu prompt string. (Bug#15576)
3296
3297 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3298
3299 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3300 Add some entries.
3301 (authors-fixed-entries): Use accented form of name.
3302
3303 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3304
3305 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3306 method calls (bug#15594).
3307 (ruby-smie--args-separator-p): New function.
3308 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3309 recognize paren-free method calls.
3310
3311 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3312 internals of universal-argument.
3313
3314 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3315
3316 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3317 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3318 dropped menu on second mouse click on the menu bar.
3319
3320 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3323 (explicit-shell-file-name): Declare.
3324 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3325 (sh-completion-at-point-function): New function.
3326 (sh-mode): Use it.
3327 (sh-smie--keyword-p): Remove unused argument.
3328 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3329 vars.
3330 (sh-set-shell): Always setup SMIE, even if we use the
3331 old indentation code.
3332
3333 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3334
3335 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3336 cases of ? and =.
3337 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3338 predicate would return nil are almost non-existent.
3339 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3340
3341 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3342 cache also after commands that modify the buffer but don't move
3343 point.
3344
3345 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3346
3347 * env.el (substitute-env-in-file-name): New function.
3348 (substitute-env-vars): Extend the meaning of the optional arg.
3349
3350 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3351
3352 * term/w32-win.el (dynamic-library-alist): Define separate lists
3353 of GIF DLLs for versions before and after 5.0.0 of giflib.
3354 (Bug#15531)
3355
3356 2013-10-10 João Távora <joaotavora@gmail.com>
3357
3358 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3359 not locked, use last revision and current source as
3360 defaults. (Bug#15569)
3361
3362 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3363
3364 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3365 menu-bar is hidden.
3366
3367 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3368
3369 * window.el (pop-to-buffer-same-window): Fix doc-string.
3370 (Bug#15492)
3371
3372 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3373
3374 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3375
3376 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3377
3378 * calendar/icalendar.el (icalendar-import-file):
3379 Fix interactive spec. (Bug#15482)
3380
3381 2013-10-10 Glenn Morris <rgm@gnu.org>
3382
3383 * desktop.el (desktop-save): Default to saving in .emacs.d,
3384 since PWD is no longer in desktop-path by default. (Bug#15319)
3385
3386 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3387 now that text mode has a menu with the same entry.
3388 (menu-bar-text-mode-auto-fill): Remove now unused func.
3389 * textmodes/text-mode.el (text-mode-map):
3390 Use auto-fill help text from menu-bar.el.
3391
3392 2013-10-10 John Anthony <john@jo.hnanthony.com>
3393
3394 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3395
3396 2013-10-09 Juri Linkov <juri@jurta.org>
3397
3398 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3399 instead of this-command-keys. Add universal-argument-more and
3400 universal-argument-minus to the list of prefix commands. (Bug#15568)
3401
3402 2013-10-09 Glenn Morris <rgm@gnu.org>
3403
3404 * vc/vc-svn.el (vc-svn-create-repo):
3405 Expand paths in file://... url. (Bug#15446)
3406
3407 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3408 Add some entries.
3409 (authors): Remove unused local variables.
3410
3411 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3412
3413 * profiler.el: Create a more coherent calltree from partial backtraces.
3414 (profiler-format): Hide the tail with `invisible' so that C-s can still
3415 find the hidden elements.
3416 (profiler-calltree-depth): Don't recurse so enthusiastically.
3417 (profiler-function-equal): New hash-table-test.
3418 (profiler-calltree-build-unified): New function.
3419 (profiler-calltree-build): Use it.
3420 (profiler-report-make-name-part): Indent the calltree less.
3421 (profiler-report-mode): Add visibility specs for profiler-format.
3422 (profiler-report-expand-entry, profiler-report-toggle-entry):
3423 Expand the whole subtree when provided with a prefix arg.
3424
3425 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3426
3427 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3428 iuwu-mod token.
3429 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3430 hanging iuwu-mod token.
3431 (ruby-smie--forward-token): Do not include a dot after a token in
3432 that token.
3433 (ruby-smie--backward-token): Likewise.
3434
3435 2013-10-08 Juri Linkov <juri@jurta.org>
3436
3437 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3438 to isearch-other-control-char.
3439 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3440 and isearch-post-command-hook to post-command-hook.
3441 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3442 and isearch-post-command-hook from post-command-hook.
3443 (isearch-unread-key-sequence)
3444 (isearch-reread-key-sequence-naturally)
3445 (isearch-lookup-scroll-key, isearch-other-control-char)
3446 (isearch-other-meta-char): Remove functions.
3447 (isearch-pre-command-hook, isearch-post-command-hook):
3448 New functions based on isearch-other-meta-char rewritten
3449 relying on the new behavior of overriding-terminal-local-map
3450 that does not replace the local keymaps any more. (Bug#15200)
3451
3452 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3453
3454 Support menus on text-mode terminals.
3455 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3456 functionality.
3457
3458 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3459
3460 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3461 Move here from mouse.el.
3462 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3463 and arrow keys.
3464 (tty-menu-navigation-map): New map for TTY menu navigation.
3465
3466 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3467
3468 * frame.el (display-mouse-p): Report text-mode mouse as available
3469 on w32.
3470 (display-popup-menus-p): Report availability if mouse is
3471 available; don't condition on window-system.
3472
3473 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3474 (tty-menu-selected-face): New faces.
3475
3476 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3477
3478 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3479 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3480 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3481 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3482 New constants.
3483 (lisp-mode-variables): New `elisp' argument.
3484 (emacs-lisp-mode): Use it.
3485 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3486 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3487
3488 * indent.el: Use lexical-binding.
3489 (indent-region): Add progress reporter.
3490 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3491 last step.
3492 (indent--next-tab-stop): New function to implement this behavior.
3493 (tab-to-tab-stop, move-to-tab-stop): Use it.
3494
3495 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3496
3497 * indent.el (indent-rigidly--current-indentation): New function.
3498 (indent-rigidly-map): New var.
3499 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3500
3501 2013-10-08 Bastien Guerry <bzg@gnu.org>
3502
3503 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3504
3505 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3506
3507 * progmodes/perl-mode.el: Use lexical-binding.
3508 Remove redundant :group args.
3509 (perl-nochange): Change default to be closer to other major modes's
3510 standard behavior.
3511 (perl-indent-line): Don't consider text on current line as a
3512 valid beginning of function from which to indent.
3513
3514 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3515 with more than one argument (bug#15538).
3516
3517 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3518
3519 * vc/pcvs.el: Use lexical-binding.
3520 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3521 environment of `eval'.
3522 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3523 than a list of expressions. Adjust callers.
3524 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3525
3526 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3527
3528 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3529 case of the dot in a chained method call being on the following line.
3530
3531 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3532
3533 * electric.el (electric-indent-inhibit): New var.
3534 (electric-indent-post-self-insert-function): Use it.
3535 * progmodes/python.el (python-mode): Set it.
3536
3537 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3538 open braces.
3539
3540 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3541
3542 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3543 (css-mode): Use electric-indent-chars.
3544
3545 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3546 (font-lock-beg, font-lock-end): Move before first use.
3547 (nxml-mode): Use syntax-propertize-function.
3548 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3549 (nxml-extend-after-change-region): Remove.
3550 * nxml/xmltok.el: Use lexical-binding.
3551 (xmltok-save): Use `declare'.
3552 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3553 * nxml/nxml-util.el: Use lexical-binding.
3554 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3555 Use `declare'.
3556 * nxml/nxml-ns.el: Use lexical-binding.
3557 (nxml-ns-save): Use `declare'.
3558 (nxml-ns-prefixes-for): Avoid add-to-list.
3559 * nxml/rng-match.el: Use lexical-binding.
3560 (rng--ipattern): Use cl-defstruct.
3561 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3562 (rng-cons-group-after, rng-subst-group-after)
3563 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3564 Use closures instead of `(lambda...).
3565
3566 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3567
3568 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3569 of BEG and END.
3570
3571 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3572 Use `tramp-handle-insert-file-contents'.
3573 (tramp-gvfs-handle-insert-file-contents): Remove function.
3574
3575 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3576 Use `save-restriction' in order to keep markers.
3577
3578 * net/trampver.el: Update release number.
3579
3580 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3581
3582 * progmodes/compile.el (compilation-parse-errors):
3583 Use compilation--put-prop.
3584 (compilation--ensure-parse): Check compilation-multiline.
3585
3586 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3587
3588 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3589 lexical-binding.
3590
3591 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3592
3593 * progmodes/ruby-mode.el: Fix recently added tests.
3594 (ruby-smie-grammar): Add - and +.
3595 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3596 (ruby-smie--backward-id): New functions.
3597 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3598 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3599 any more.
3600
3601 2013-10-07 Leo Liu <sdl.web@gmail.com>
3602
3603 * register.el (register-preview-delay)
3604 (register-preview-functions): New variables.
3605 (register-read-with-preview, register-preview)
3606 (register-describe-oneline): New functions.
3607 (point-to-register, window-configuration-to-register)
3608 (frame-configuration-to-register, jump-to-register)
3609 (number-to-register, view-register, insert-register)
3610 (copy-to-register, append-to-register, prepend-to-register)
3611 (copy-rectangle-to-register): Use register-read-with-preview to
3612 read register. (Bug#15525)
3613
3614 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3615
3616 * net/network-stream.el (network-stream-open-starttls): Don't add
3617 --insecure if it's already present, because that gnutls-cli
3618 rejects getting that parameter twice.
3619
3620 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3621
3622 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3623 keyword, too.
3624
3625 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3626
3627 * newcomment.el (comment-use-global-state): Change default value
3628 to t, mark obsolete (Bug#15251).
3629 (comment-beginning): In addition to `comment-to-syntax', check the
3630 value of `comment-use-global-state'.
3631
3632 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3635 (ruby-comment-column): Follow the global default, by default.
3636 (ruby-smie-grammar): Add assignment syntax.
3637 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3638 open-paren, a comma, or a \.
3639 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3640 and line continuations.
3641 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3642 followed by implicit semi-colons. Add rule for string concatenation
3643 and for indentation at BOB.
3644 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3645
3646 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3647 calling next-sexp, since next-token may have skipped chars which
3648 next-sexp doesn't know should be skipped!
3649
3650 2013-10-05 Leo Liu <sdl.web@gmail.com>
3651
3652 * progmodes/octave.el (octave-send-region):
3653 Call compilation-forget-errors.
3654
3655 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3656
3657 * vc/vc-svn.el (vc-svn-find-admin-dir):
3658 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3659 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3660 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3661 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3662
3663 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3664
3665 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3666
3667 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3668
3669 * subr.el (read-passwd): Hide chars even when called within a context
3670 where after-change-functions is disabled (bug#15501).
3671 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3672 until we removed ourself from overriding-terminal-local-map.
3673
3674 2013-10-04 Leo Liu <sdl.web@gmail.com>
3675
3676 * progmodes/octave.el (inferior-octave-mode):
3677 Call compilation-forget-errors.
3678
3679 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3680
3681 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3682
3683 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3684
3685 * net/secrets.el (secrets-create-collection): Add optional
3686 argument ALIAS. Use proper Label keyword. Append ALIAS as
3687 dbus-call-method argument. (Bug#15516)
3688
3689 2013-10-04 Leo Liu <sdl.web@gmail.com>
3690
3691 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3692 (inferior-octave-compilation-font-lock-keywords): New variables.
3693 (compilation-error-regexp-alist)
3694 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3695 (inferior-octave-mode): Use compilation-shell-minor-mode.
3696
3697 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3698
3699 * minibuffer.el (completion--replace): Be careful that `end' might be
3700 a marker.
3701
3702 2013-10-03 Daiki Ueno <ueno@gnu.org>
3703
3704 Add support for package signature checking.
3705 * emacs-lisp/package.el (url-http-file-exists-p)
3706 (epg-make-context, epg-context-set-home-directory)
3707 (epg-verify-string, epg-context-result-for)
3708 (epg-signature-status, epg-signature-to-string)
3709 (epg-check-configuration, epg-configuration)
3710 (epg-import-keys-from-file): Declare.
3711 (package-check-signature): New user option.
3712 (package-unsigned-archives): New user option.
3713 (package-desc): Add `signed' field.
3714 (package-load-descriptor): Set `signed' field if .signed file exists.
3715 (package--archive-file-exists-p): New function.
3716 (package--check-signature): New function.
3717 (package-install-from-archive): Check package signature.
3718 (package--download-one-archive): Check archive signature.
3719 (package-delete): Remove .signed file.
3720 (package-import-keyring): New command.
3721 (package-refresh-contents): Import default keyring.
3722 (package-desc-status): Add "unsigned" status.
3723 (describe-package-1, package-menu--print-info)
3724 (package-menu-mark-delete, package-menu--find-upgrades)
3725 (package-menu--status-predicate): Support "unsigned" status.
3726
3727 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3729 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3730 the new compilation scheme using the new byte-codes.
3731
3732 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3733 (byte-pophandler): New byte codes.
3734 (byte-goto-ops): Adjust accordingly.
3735 (byte-compile--use-old-handlers): New var.
3736 (byte-compile-catch): Use new byte codes depending on
3737 byte-compile--use-old-handlers.
3738 (byte-compile-condition-case--old): Rename from
3739 byte-compile-condition-case.
3740 (byte-compile-condition-case--new): New function.
3741 (byte-compile-condition-case): New function that dispatches depending
3742 on byte-compile--use-old-handlers.
3743 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3744 when we can.
3745
3746 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3747 Optimize under `condition-case' and `catch' if
3748 byte-compile--use-old-handlers is nil.
3749 (disassemble-offset): Handle new bytecodes.
3750
3751 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3752
3753 * subr.el (error): Use `declare'.
3754 (decode-char, encode-char): Use advertised-calling-convention instead
3755 of the docstring to discourage use of the `restriction' arg.
3756
3757 2013-10-03 Daiki Ueno <ueno@gnu.org>
3758
3759 * epg.el (epg-verify-file): Add a comment saying that it does not
3760 notify verification error as a return value nor a signal.
3761 (epg-verify-string): Ditto.
3762
3763 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3764
3765 * progmodes/compile.el (compilation-start): Try globbing the arg to
3766 `cd' (bug#15417).
3767
3768 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3769
3770 Sync with Tramp 2.2.8.
3771
3772 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3773 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3774 * net/trampver.el: Update release number.
3775
3776 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3777
3778 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3779 and default-process-coding-system for darwin only.
3780
3781 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3784
3785 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3786
3787 * vc/vc-git.el (vc-git-grep): Disable pager.
3788
3789 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3790
3791 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3792 Use :url instead of :homepage, as per
3793 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3794
3795 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3796 non-nil, use `syntax-ppss' (Bug#15251).
3797
3798 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3799
3800 * progmodes/octave.el (inferior-octave-startup-file):
3801 Prefer ~/.emacs.d/init_octave.m.
3802
3803 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3804
3805 * emacs-lisp/package.el (package-desc-from-define):
3806 Accept additional arguments as plist, convert them to an alist and store
3807 them in the `extras' slot.
3808 (package-generate-description-file): Convert extras alist back to
3809 plist and append to the `define-package' form arguments.
3810 (package--alist-to-plist): New function.
3811 (package--ac-desc): Add `extras' slot.
3812 (package--add-to-archive-contents): Check if the archive-contents
3813 vector is long enough, and if it is, pass its `extras' slot value
3814 to `package-desc-create'.
3815 (package-buffer-info): Call `lm-homepage', pass the returned value
3816 to `package-desc-from-define'.
3817 (describe-package-1): Render the homepage button (Bug#13291).
3818
3819 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3820 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3821
3822 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3823
3824 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3825 and default-process-coding-system to utf-8-unix (Bug#15402).
3826
3827 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3828
3829 * subr.el (looking-back): Do not recommend using looking-back.
3830
3831 2013-09-28 Alan Mackenzie <acm@muc.de>
3832
3833 Fix indentation/fontification of Java enum with "implements".
3834
3835 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3836 regexp which matches "implements", etc., in Java.
3837 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3838 specifier clauses coming after "enum".
3839 * progmodes/cc-fonts.el (c-font-lock-declarations)
3840 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3841 after "enum".
3842
3843 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3844
3845 * faces.el (region): Change ns_selection_color to
3846 ns_selection_fg_color, add ns_selection_bg_color.
3847
3848 2013-09-28 Leo Liu <sdl.web@gmail.com>
3849
3850 * progmodes/octave.el (inferior-octave-completion-table)
3851 (inferior-octave-completion-at-point): Minor tweaks.
3852
3853 * textmodes/ispell.el (ispell-lookup-words): Rename from
3854 lookup-words. (Bug#15460)
3855 (lookup-words): Obsolete.
3856 (ispell-complete-word, ispell-command-loop): All uses changed.
3857
3858 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3859
3860 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3861 (octave-mode-menu): Add octave-send-buffer.
3862 (octave-send-buffer): New function.
3863
3864 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3865
3866 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3867 octave-lookfor.
3868 (octave-mode-menu): Add octave-lookfor.
3869 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3870 octave-lookfor.
3871 (octave-lookfor): New function.
3872
3873 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3874
3875 * emacs-lisp/cl-macs.el:
3876 (cl--loop-destr-temps): Remove.
3877 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3878 its convention.
3879 (cl--loop-set-iterator-function): New function.
3880 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3881 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3882 Bind `it' with `let' instead of substituting it with `cl-subst'.
3883 (cl--unused-var-p): New function.
3884 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3885 Eliminate some unused variable warnings (bug#15326).
3886
3887 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3888
3889 * doc-view.el (doc-view-scale-reset): Rename from
3890 `doc-view-reset-zoom-level'.
3891 (doc-view-scale-adjust): New command.
3892 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3893 `doc-view-scale-adjust'.
3894
3895 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3896
3897 * doc-view.el (doc-view-reset-zoom-level): New command.
3898 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3899 zoom commands (bug#15466).
3900
3901 2013-09-26 Kenichi Handa <handa@gnu.org>
3902
3903 * international/quail.el (quail-help): Make it not a command.
3904
3905 2013-09-26 Leo Liu <sdl.web@gmail.com>
3906
3907 * minibuffer.el (completion-all-sorted-completions): Make args
3908 optional as they are.
3909
3910 2013-09-25 Daniel Colascione <dancol@dancol.org>
3911
3912 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3913 specs are and that they're not evaluated.
3914
3915 2013-09-24 Sam Steingold <sds@gnu.org>
3916
3917 * midnight.el (clean-buffer-list-kill-regexps)
3918 (clean-buffer-list-kill-buffer-names): Update for the new Man
3919 buffer naming which includes the object name.
3920
3921 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3924 (eshell-parse-command, eshell-parse-pipeline): Use it since
3925 eshell-separate-commands requires a dynamic scoped var.
3926 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3927
3928 2013-09-23 Leo Liu <sdl.web@gmail.com>
3929
3930 * autoinsert.el (auto-insert-alist): Make the value of
3931 lexical-binding match its file setting.
3932
3933 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3934
3935 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3936
3937 * autoarg.el (autoarg-kp-digit-argument):
3938 * electric.el (Electric-command-loop):
3939 * kmacro.el (kmacro-step-edit-insert):
3940 Do not set universal-argument-num-events.
3941
3942 2013-09-22 Leo Liu <sdl.web@gmail.com>
3943
3944 * files.el (interpreter-mode-alist): Add octave.
3945
3946 2013-09-21 Alan Mackenzie <acm@muc.de>
3947
3948 C++: fontify identifier in declaration following "public:" correctly.
3949 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3950 to match "public", etc.
3951 (c-decl-prefix-re): Add ":" into the C++ value.
3952 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3953 bit. Add a check for a ":" preceded by "public", etc.
3954
3955 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3956
3957 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3958 recognized by GDB 7.5 and later.
3959
3960 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3961
3962 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3963
3964 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3965
3966 * subr.el (internal--call-interactively): New const.
3967 (called-interactively-p): Use it (bug#3984).
3968
3969 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3970
3971 * vc/pcvs.el (cvs-mode-ignore):
3972 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3973 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3974
3975 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3976
3977 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3978 (eshell-ls-orig-insert-directory): Remove.
3979 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3980 (eshell-ls-use-in-dired): Use advice-add/remove.
3981 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3982 Add `orig-fun' arg for use in :around advice.
3983 Make it check (redundantly) eshell-ls-use-in-dired.
3984
3985 2013-09-19 Glenn Morris <rgm@gnu.org>
3986
3987 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3988
3989 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3990
3991 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3992
3993 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3994
3995 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3996 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3997 (tramp-get-remote-python): New defuns.
3998 (tramp-get-remote-uid-with-perl)
3999 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4000 contributed by yary <not.com@gmail.com> (tiny change).
4001 (tramp-get-remote-uid-with-python)
4002 (tramp-get-remote-gid-with-python): New defuns. Python code
4003 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4004 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4005
4006 2013-09-19 Glenn Morris <rgm@gnu.org>
4007
4008 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4009
4010 * eshell/em-unix.el (eshell-remove-entries):
4011 Rename argument to avoid name-clash with global `top-level'.
4012
4013 * eshell/esh-proc.el (eshell-kill-process-function):
4014 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4015 (eshell-reset-after-proc): Remove unused arg `proc'.
4016
4017 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4018 (directory-files-and-attributes): Mark unused arg.
4019
4020 * eshell/em-unix.el (eshell-remove-entries):
4021 Remove unused arg `path'. Update callers.
4022
4023 * eshell/em-hist.el (eshell-hist-parse-arguments):
4024 Remove unused arg `silent'. Update callers.
4025
4026 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4027 Fix (f)boundp mix-up.
4028
4029 * eshell/em-smart.el (eshell-smart-scroll-window)
4030 (eshell-disable-after-change):
4031 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4032
4033 2013-09-18 Alan Mackenzie <acm@muc.de>
4034
4035 Fix fontification of type when followed by "const".
4036 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4037 "known" types from fontification.
4038
4039 2013-09-18 Glenn Morris <rgm@gnu.org>
4040
4041 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4042 (chart-face-list): Drop Emacsen without display-color-p.
4043
4044 * net/eww.el (libxml-parse-html-region): Declare.
4045 (eww-display-html): Explicit error if no libxml2 support.
4046
4047 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4048
4049 * image.el (image-type-from-buffer, image-multi-frame-p):
4050 Remove --without-x warning/error.
4051
4052 * mouse.el (mouse-yank-primary):
4053 * term.el (term-mouse-paste):
4054 Reorder to silence --without-x compilation.
4055
4056 * mpc.el (doc-view-mode): Silence --without-x compilation.
4057
4058 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4059 Silence --without-x compilation.
4060
4061 * progmodes/gud.el (gud-find-file, gud-mode):
4062 Silence --without-x compilation.
4063 (tooltip-mode): Declare.
4064
4065 * wdired.el (dired-backup-overwrite): Remove declaration.
4066 (wdired-mode-map): Add doc string.
4067
4068 * custom.el (x-get-resource): Declare.
4069
4070 * eshell/em-glob.el (ange-cache):
4071 * eshell/em-unix.el (ange-cache): Declare.
4072
4073 * faces.el (x-display-list, x-open-connection, x-get-resource):
4074 Declare.
4075
4076 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4077 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4078 Declare.
4079
4080 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4081
4082 * net/gnutls.el (gnutls-log-level): Declare.
4083
4084 * net/shr.el (image-size, image-animate): Declare.
4085
4086 * simple.el (font-info): Declare.
4087
4088 * subr.el (x-popup-dialog): Declare.
4089
4090 * term/common-win.el (x-select-enable-primary)
4091 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4092 Declare.
4093
4094 * term/ns-win.el (x-handle-args): Declare.
4095
4096 * term/x-win.el (x-select-enable-clipboard): Declare.
4097
4098 * term/w32-win.el (create-default-fontset): Declare.
4099
4100 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4101 Declare.
4102
4103 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4104 (fit-frame-to-buffer): Explicit error if --without-x.
4105 (mouse-autoselect-window-select): Silence compiler.
4106
4107 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4108
4109 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4110 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4111 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4112 * eshell/esh-util.el (eshell-sublist):
4113 Remove unused local variables.
4114
4115 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4116
4117 * textmodes/two-column.el: Make 2C-split work for --without-x.
4118 (scroll-bar-columns): Autoload.
4119 (top-level): Require fringe when compiling.
4120
4121 2013-09-18 Leo Liu <sdl.web@gmail.com>
4122
4123 * subr.el (add-hook): Robustify to handle closure as well.
4124
4125 2013-09-17 Glenn Morris <rgm@gnu.org>
4126
4127 * simple.el (messages-buffer-mode-map): Unbind "g".
4128
4129 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4130
4131 * help-mode.el (help-mode-finish): Use derived-mode-p.
4132 Remove obsolete highlighting.
4133
4134 * play/life.el (life-mode): Use define-derived-mode. Derive from
4135 special-mode.
4136 (life): Let-bind inhibit-read-only.
4137 (life-setup): Avoid `setq'. Use `life-mode'.
4138
4139 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4140 which should not be needed any more.
4141 (package-menu-refresh, package-menu-describe-package): Use user-error.
4142
4143 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4144 (eshell-post-rewrite-command-hook): Make obsolete.
4145 (eshell-parse-command): Simplify.
4146 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4147 (eshell--cmd): Declare.
4148 (eshell-parse-pipeline): Remove unused var `final-p'.
4149 Pass a dynvar to eshell-post-rewrite-command-hook.
4150 Implement the new eshell-post-rewrite-command-function.
4151 (eshell-invoke-directly): Remove unused arg `input'.
4152 * eshell/esh-io.el (eshell-io-initialize):
4153 Use eshell-post-rewrite-command-function (bug#15399).
4154 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4155 adjust to new calling convention.
4156 (eshell-create-handles): Rename args to avoid clashing with dynvar
4157 `standard-output'.
4158
4159 2013-09-17 Glenn Morris <rgm@gnu.org>
4160
4161 * simple.el (messages-buffer-mode): New major mode.
4162 (messages-buffer): New function.
4163 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4164 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4165 (ert-run-test): Use `messages-buffer' function.
4166 (ert--force-message-log-buffer-truncation): Ignore read-only.
4167 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4168 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4169
4170 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4173
4174 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4175
4176 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4177
4178 * icomplete.el (icomplete-in-buffer): New var.
4179 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4180 vars and replace them with functions.
4181 (icomplete-minibuffer-setup): Adjust accordingly.
4182 (icomplete--completion-table, icomplete--completion-predicate)
4183 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4184 New functions.
4185 (icomplete-forward-completions, icomplete-backward-completions)
4186 (icomplete-simple-completing-p, icomplete-exhibit)
4187 (icomplete-completions): Use them.
4188 (icomplete--in-region-buffer): New var.
4189 (icomplete--in-region-setup): New function.
4190 (icomplete-mode): Use it.
4191
4192 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4193 (bug#15379).
4194 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4195 return args and options.
4196 (eshell-eval-using-options): Use the new return value of
4197 eshell--do-opts to set the options's vars in their scope.
4198 (eshell--set-option): Rename from eshell-set-option.
4199 Add arg `opt-vals'.
4200 (eshell--process-option): Rename from eshell-process-option.
4201 Add arg `opt-vals'.
4202 (eshell--process-args): Use an `opt-vals' alist to store the options's
4203 values during their processing and return them additionally to the
4204 remaining args.
4205
4206 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4207
4208 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4209 continuation character an operator, as far as indentation is
4210 concerned (Bug#15369).
4211
4212 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4213
4214 * window.el (window--state-put-2): Don't process buffer state
4215 when buffer doesn't exist any more (Bug#15382).
4216
4217 2013-09-15 Glenn Morris <rgm@gnu.org>
4218
4219 * eshell/em-unix.el (eshell/rm):
4220 Make -f ignore missing files. (Bug#15373)
4221
4222 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4223 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4224 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4225
4226 2013-09-14 Glenn Morris <rgm@gnu.org>
4227
4228 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4229
4230 2013-09-13 Glenn Morris <rgm@gnu.org>
4231
4232 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4233 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4234
4235 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4236
4237 * frame.el (x-focus-frame): Mark as declared in frame.c.
4238
4239 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4240
4241 * ls-lisp.el: Use advice-add.
4242 (original-insert-directory): Remove.
4243 (ls-lisp--insert-directory): Rename from insert-directory; add
4244 `orig-fun' argument.
4245 (insert-directory): Advise.
4246
4247 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4248
4249 * term.el (term-emulate-terminal): Decode the command string
4250 before passing it to term-command-hook. (Bug#15337)
4251
4252 2013-09-13 Glenn Morris <rgm@gnu.org>
4253
4254 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4255
4256 * eshell/esh-ext.el (eshell-search-path): Declare.
4257
4258 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4259 Otherwise an error occurs if eshell-dirs module not loaded.
4260
4261 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4262
4263 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4264
4265 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4266 `tramp-check-proper-host'. Check for a valid method name.
4267
4268 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4269 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4270 * net/tramp-sh.el (tramp-maybe-open-connection):
4271 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4272
4273 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4274 also for hash values.
4275
4276 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4277
4278 * term/ns-win.el (parameters): Don't declare as dynamic.
4279 (before-make-frame-hook): Don't add ineffective function.
4280
4281 * eshell/*.el: Use lexical-binding (bug#15231).
4282
4283 2013-09-12 Kenichi Handa <handa@gnu.org>
4284
4285 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4286
4287 2013-09-12 Glenn Morris <rgm@gnu.org>
4288
4289 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4290 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4291
4292 * subr.el (do-after-load-evaluation): Also give compiler warnings
4293 when obsolete files are used (except by obsolete files).
4294
4295 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4296 in the status output, assume `filename' is the first. (Bug#15322)
4297
4298 * vc/vc.el (vc-deduce-fileset): Doc fix.
4299
4300 * calc/calc-help.el (Info-goto-node):
4301 * progmodes/cperl-mode.el (Info-find-node):
4302 * vc/ediff.el (Info-goto-node): Update declarations.
4303
4304 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4305
4306 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4307 (vc-bzr-pull): Require vc-dispatcher.
4308 * vc/vc-git.el (vc-compilation-mode): Declare.
4309 (vc-git-pull): Require vc-dispatcher.
4310
4311 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4312
4313 * progmodes/octave.el (help-button-action): Declare.
4314
4315 * shell.el (shell-directory-tracker): Output error as a message
4316 rather than just returning it as a string.
4317 (shell-process-pushd): Remove useless use of message.
4318
4319 * dframe.el (dframe-timer-fn):
4320 * files.el (dir-locals-read-from-file):
4321 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4322 (mpc-format):
4323 * reveal.el (reveal-post-command):
4324 * saveplace.el (load-save-place-alist-from-file):
4325 * shell.el (shell-resync-dirs):
4326 * w32-common-fns.el (x-get-selection-value):
4327 * emacs-lisp/copyright.el (copyright-find-copyright):
4328 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4329 * emulation/tpu-edt.el (tpu-copy-keyfile):
4330 * play/bubbles.el (bubbles--mark-neighbourhood):
4331 * progmodes/executable.el
4332 (executable-make-buffer-file-executable-if-script-p):
4333 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4334
4335 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4336
4337 Cleanup Eshell to rely less on dynamic scoping.
4338 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4339 last-value, and ext-command here. Bind `args' closer to `body'.
4340 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4341 (eshell--args): Declare new dynamic var.
4342 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4343 last-value, and ext-command. Pass `args' to `body'.
4344 (eshell-process-args): Bind eshell--args.
4345 (eshell-set-option): Use eshell--args.
4346 * eshell/eshell.el (eshell): Use derived-mode-p.
4347 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4348 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4349 (eshell-glob-function): Declare.
4350 * eshell/esh-util.el: Require cl-lib.
4351 (eshell-read-hosts-file): Avoid add-to-list.
4352 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4353 `err'.
4354 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4355 Declare.
4356 (eshell/diff): Remove unused var `err'.
4357 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4358 `killflag'.
4359 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4360 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4361 first use.
4362 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4363 Move declaration before first use.
4364 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4365 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4366 rely on cl-return.
4367
4368 2013-09-12 Glenn Morris <rgm@gnu.org>
4369
4370 * term/ns-win.el (global-map): Remove binding for ispell-next,
4371 deleted 1999-05-29. (Bug#15357)
4372
4373 2013-09-11 Glenn Morris <rgm@gnu.org>
4374
4375 * echistory.el (electric-command-history): Remove call to deleted func.
4376
4377 * play/landmark.el (landmark-mode): Fix typos.
4378
4379 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4380 Check cvs-sort-ignore-file is bound.
4381
4382 * savehist.el: No need for cl when compiling on Emacs.
4383
4384 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4387 (bug#15338).
4388 (eshell-self-insert-command, eshell-send-invisible):
4389 Remove unused argument.
4390 (eshell-handle-control-codes): Remove unused var `orig'.
4391 Avoid delete-backward-char.
4392
4393 * files.el (set-auto-mode): Simplify a bit further.
4394
4395 2013-09-11 Glenn Morris <rgm@gnu.org>
4396
4397 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4398 (set-auto-mode): Don't regexp-quote elements.
4399 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4400 * progmodes/cc-mode.el (interpreter-mode-alist):
4401 * progmodes/ruby-mode.el (interpreter-mode-alist):
4402 Revert previous change.
4403
4404 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4405
4406 * play/snake.el (snake-mode):
4407 * play/mpuz.el (mpuz-mode):
4408 * play/landmark.el (lm-mode):
4409 * play/blackbox.el (blackbox-mode):
4410 * play/5x5.el (5x5-mode):
4411 * obsolete/options.el (Edit-options-mode):
4412 * net/quickurl.el (quickurl-list-mode):
4413 * net/newst-treeview.el (newsticker-treeview-mode):
4414 * mail/rmailsum.el (rmail-summary-mode):
4415 * mail/mspools.el (mspools-mode):
4416 * locate.el (locate-mode):
4417 * ibuffer.el (ibuffer-mode):
4418 * emulation/ws-mode.el (wordstar-mode):
4419 * emacs-lisp/debug.el (debugger-mode):
4420 * array.el (array-mode):
4421 * net/eudc.el (eudc-mode): Use define-derived-mode.
4422 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4423 Move initialization into declaration.
4424 (mairix-searches-mode): Use define-derived-mode.
4425 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4426 (eudc-edit-hotlist): Use dolist.
4427 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4428 (Man-mode): Use define-derived-mode.
4429 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4430 (Info-edit-mode): Use define-derived-mode.
4431 (Info-cease-edit): Use Info-mode.
4432 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4433 into declaration.
4434 (eshell-mode): Use define-derived-mode.
4435 * chistory.el (command-history-mode-map): Rename from
4436 command-history-map.
4437 (command-history-mode): Use define-derived-mode.
4438 (Command-history-setup): Remove function.
4439 * calc/calc.el (calc-trail-mode-map): New var.
4440 (calc-trail-mode): Use define-derived-mode.
4441 (calc-trail-buffer): Set calc-main-buffer manually.
4442 * bookmark.el (bookmark-insert-annotation): New function.
4443 (bookmark-edit-annotation): Use it.
4444 (bookmark-edit-annotation-mode): Make it a proper major mode.
4445 (bookmark-send-edited-annotation): Use derived-mode-p.
4446 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4447 closer to its ideal place. Use \' to match EOS.
4448
4449 * profiler.el (profiler-calltree-find): Use function-equal.
4450
4451 2013-09-10 Glenn Morris <rgm@gnu.org>
4452
4453 * files.el (interpreter-mode-alist): Convert to regexps.
4454 (set-auto-mode): Adapt for this. (Bug#15306)
4455 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4456 Comment out unused variable.
4457 * progmodes/cc-mode.el (interpreter-mode-alist):
4458 * progmodes/python.el (interpreter-mode-alist):
4459 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4460 * progmodes/sh-script.el (sh-set-shell):
4461 No longer use interpreter-mode-alist to get list of shells.
4462
4463 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4464
4465 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4466
4467 * simple.el: Use set-temporary-overlay-map for universal-argument.
4468 (universal-argument-map): Don't use default-bindings (bug#15317).
4469 Bind switch-frame explicitly. Replace universal-argument-minus with
4470 a conditional binding.
4471 (universal-argument-num-events, saved-overriding-map): Remove.
4472 (restore-overriding-map): Remove.
4473 (universal-argument--mode): Rename from save&set-overriding-map,
4474 and rewrite.
4475 (universal-argument, universal-argument-more, negative-argument)
4476 (digit-argument): Adjust accordingly.
4477 (universal-argument-minus): Remove.
4478 (universal-argument-other-key): Remove.
4479
4480 * subr.el (with-demoted-errors): Add `format' argument.
4481
4482 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4483
4484 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4485 `tramp-cleanup-connection'.
4486
4487 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4488 parameters KEEP-DEBUG and KEEP-PASSWORD.
4489
4490 * net/tramp.el (tramp-file-name-handler):
4491 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4492 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4493 (tramp-maybe-open-connection):
4494 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4495 Use `tramp-cleanup-connection'.
4496
4497 * net/tramp-sh.el (tramp-maybe-open-connection):
4498 Catch 'uname-changed inside the progress reporter.
4499
4500 2013-09-10 Glenn Morris <rgm@gnu.org>
4501
4502 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4503
4504 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4505 returns "alternate access method" in mode (eg "-rw-r--r--.").
4506
4507 2013-09-08 Glenn Morris <rgm@gnu.org>
4508
4509 * saveplace.el (load-save-place-alist-from-file):
4510 Demote errors. (Bug#15305)
4511
4512 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4513
4514 Improve compatibility with older Emacsen, and XEmacs.
4515
4516 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4517 only if it is bound. It isn't for XEmacs.
4518 (with-tramp-progress-reporter): Do not let-bind `result'.
4519 This yields to scoping errors in XEmacs.
4520 (tramp-handle-make-auto-save-file-name): New function, moved from
4521 tramp-sh.el.
4522
4523 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4524 for `make-auto-save-file-name'.
4525 (tramp-adb--gnu-switches-to-ash):
4526 Use `tramp-compat-replace-regexp-in-string'.
4527
4528 * net/tramp-cache.el (tramp-cache-print): Call
4529 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4530
4531 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4532 bound. It isn't for XEmacs.
4533
4534 * net/tramp-compat.el (tramp-compat-copy-file):
4535 Catch `wrong-number-of-arguments' error.
4536 (tramp-compat-replace-regexp-in-string): New defun.
4537
4538 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4539 for `make-auto-save-file-name'.
4540 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4541 `copy-file'.
4542 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4543 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4544 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4545
4546 * net/tramp-gw.el (tramp-gw-open-network-stream):
4547 Use `tramp-compat-replace-regexp-in-string'.
4548
4549 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4550 Call `tramp-handle-make-auto-save-file-name'.
4551 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4552 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4553 (tramp-sh-file-inotifywait-process-filter):
4554 Use `tramp-compat-replace-regexp-in-string'.
4555 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4556
4557 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4558 for `make-auto-save-file-name'.
4559 (tramp-smb-handle-copy-directory):
4560 Call `tramp-compat-replace-regexp-in-string'.
4561 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4562 (tramp-smb-handle-copy-file): Improve error message.
4563 (tramp-smb-handle-rename-file): Rename directly only in case
4564 `newname' does not exist yet. This is a restriction of smbclient.
4565 (tramp-smb-maybe-open-connection): Rerun the function only when
4566 `auth-sources' is non-nil.
4567
4568 2013-09-08 Kenichi Handa <handa@gnu.org>
4569
4570 * international/characters.el: Set category "^" (Combining) for
4571 more characters.
4572
4573 2013-09-07 Alan Mackenzie <acm@muc.de>
4574
4575 Correctly fontify Java class constructors.
4576 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4577 in Java Mode.
4578 (c-recognize-typeless-decls): Set the Java value to t.
4579 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4580 While handling a "(", add a check for, effectively, Java, and handle a
4581 "typeless" declaration there.
4582
4583 2013-09-07 Roland Winkler <winkler@gnu.org>
4584
4585 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4586 field subtitle for entry type book.
4587
4588 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4589
4590 * minibuffer.el: Make minibuffer-complete call completion-in-region
4591 rather than other way around.
4592 (completion--some, completion-pcm--find-all-completions):
4593 Don't delay signals when debugging.
4594 (minibuffer-completion-contents): Beware fields within the
4595 minibuffer contents.
4596 (completion-all-sorted-completions): Use defvar-local.
4597 (completion--do-completion, completion--cache-all-sorted-completions)
4598 (completion-all-sorted-completions, minibuffer-force-complete):
4599 Add args `beg' and `end'.
4600 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4601 (minibuffer-complete): Use completion-in-region.
4602 (completion-complete-and-exit): New fun, extracted from
4603 minibuffer-complete-and-exit.
4604 (minibuffer-complete-and-exit): Use it.
4605 (completion--complete-and-exit): Rename from
4606 minibuffer--complete-and-exit.
4607 (completion-in-region--single-word): New function, extracted from
4608 minibuffer-complete-word.
4609 (minibuffer-complete-word): Use it.
4610 (display-completion-list): Make `common-substring' argument obsolete.
4611 (completion--in-region): Call completion--in-region-1 instead of
4612 minibuffer-complete.
4613 (completion-help-at-point): Pass boundaries to
4614 minibuffer-completion-help as args rather than via an overlay.
4615 (completion-pcm--string->pattern): Use `any-delim'.
4616 (completion-pcm--optimize-pattern): New function.
4617 (completion-pcm--pattern->regex): Handle `any-delim'.
4618 * icomplete.el (icomplete-forward-completions)
4619 (icomplete-backward-completions, icomplete-completions):
4620 Adjust calls to completion-all-sorted-completions and
4621 completion--cache-all-sorted-completions.
4622 (icomplete-with-completion-tables): Default to t.
4623 * emacs-lisp/crm.el (crm--current-element): Rename from
4624 crm--select-current-element. Don't put an overlay but return the
4625 boundaries instead.
4626 (crm--completion-command): Take two new args to bind to the boundaries.
4627 (crm-completion-help): Adjust accordingly.
4628 (crm-complete): Use completion-in-region.
4629 (crm-complete-word): Use completion-in-region--single-word.
4630 (crm-complete-and-exit): Use completion-complete-and-exit.
4631
4632 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4633
4634 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4635 than dynamically.
4636
4637 2013-09-06 Juri Linkov <juri@jurta.org>
4638
4639 * info.el (Info-display-images-node): When image file doesn't exist
4640 display text version of the image if it's provided in the Info file.
4641 Otherwise, display the location of missing image from SRC attribute.
4642 Add help-echo text property from ALT attribute. (Bug#15279)
4643
4644 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4645
4646 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4647 (edit-abbrevs-mode): Use define-derived-mode.
4648
4649 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4650 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4651 that it's defined.
4652 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4653 Use define-derived-mode.
4654
4655 * epg.el (epg-start-encrypt): Minor CSE simplification.
4656
4657 2013-09-06 William Xu <william.xwl@gmail.com>
4658
4659 * arc-mode.el: Add support for 7za (bug#15264).
4660 (archive-7z-program): New var.
4661 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4662 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4663 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4664
4665 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4666
4667 Remove URL syntax.
4668
4669 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4670 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4671 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4672 (tramp-postfix-host-format, tramp-file-name-regexp)
4673 (tramp-completion-file-name-regexp)
4674 (tramp-completion-dissect-file-name)
4675 (tramp-handle-substitute-in-file-name): Remove 'url case.
4676 (tramp-file-name-regexp-url)
4677 (tramp-completion-file-name-regexp-url): Remove constants.
4678
4679 2013-09-06 Glenn Morris <rgm@gnu.org>
4680
4681 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4682
4683 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4684
4685 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4686 keywords" below "here-doc beginnings" (Bug#15270).
4687
4688 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4689
4690 * subr.el (pop): Use `car-safe'.
4691 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4692 to detect unused `pop' return value.
4693
4694 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4695 var `block-regexp'.
4696 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4697 (python-fill-string): Remove unused var `marker'.
4698 (python-skeleton-add-menu-items): Remove unused var `items'.
4699
4700 * international/mule-cmds.el: Require CL.
4701 (find-coding-systems-for-charsets): Avoid add-to-list.
4702 (sanitize-coding-system-list): New function, extracted from
4703 select-safe-coding-system-interactively.
4704 (select-safe-coding-system-interactively): Use it.
4705 (read-input-method-name): Accept symbols for `default'.
4706
4707 * emacs-lisp/advice.el (defadvice): Add indent rule.
4708
4709 2013-09-05 Daniel Hackney <dan@haxney.org>
4710
4711 * dired-x.el:
4712 * net/ange-ftp.el:
4713 * net/browse-url.el:
4714 * net/dbus.el:
4715 * net/eudc.el:
4716 * net/eudcb-ldap.el:
4717 * net/eww.el:
4718 * net/imap.el:
4719 * printing.el:
4720 * vc/ediff-diff.el:
4721 * vc/ediff-init.el:
4722 * vc/ediff-merg.el:
4723 * vc/ediff-mult.el:
4724 * vc/ediff-util.el:
4725 * vc/ediff-wind.el:
4726 * vc/ediff.el:
4727 * vc/emerge.el:
4728 * vc/pcvs.el:
4729 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4730 byte compiler. Remove some unused let-bound variables.
4731
4732 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4735 a "ref-cell", since it gets better optimized (bug#14883).
4736
4737 2013-09-05 Glenn Morris <rgm@gnu.org>
4738
4739 * progmodes/cc-awk.el (c-forward-sws): Declare.
4740
4741 2013-09-04 Glenn Morris <rgm@gnu.org>
4742
4743 * generic-x.el [rul-generic-mode]: Require cc-mode.
4744 (c++-mode-syntax-table): Declare.
4745 (rul-generic-mode-syntax-table): Init in the defvar.
4746
4747 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4748
4749 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4750 (vc-do-command, vc-set-async-update):
4751 * vc/vc-mtn.el (vc-mtn-dir-status):
4752 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4753 (vc-hg-pull, vc-hg-merge-branch):
4754 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4755 (vc-git-merge-branch):
4756 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4757 (vc-cvs-dir-status-files):
4758 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4759 (vc-bzr-dir-status-files):
4760 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4761 * vc/vc-annotate.el: Use lexical-binding.
4762 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4763 (vc-sentinel-movepoint): Declare.
4764 (vc-annotate): Don't use `goto-line'.
4765 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4766 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4767 (vc-sentinel-movepoint): Declare.
4768 * vc/vc-svn.el: Use lexical-binding.
4769 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4770 * vc/vc-sccs.el:
4771 * vc/vc-rcs.el: Use lexical-binding.
4772
4773 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4774 `deleted'. Don't drop errors silently.
4775
4776 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4777
4778 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4779
4780 * vc/vc.el (vc-ignore): Rewrite.
4781 (vc-default-ignore): New function.
4782 (vc-default-ignore-completion-table): Use find-ignore-file.
4783
4784 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4785 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4786 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4787 Remove. Most code moved to vc.el.
4788
4789 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4790
4791 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4792 * net/tramp-smb.el (tramp-smb-get-file-entries):
4793 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4794 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4795
4796 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4797 Update call to it.
4798 (eww-change-select): Remove unused var `properties'.
4799 (eww-make-unique-file-name): Remove unused var `base'.
4800
4801 * finder.el (finder-compile-keywords): Don't mess with windows.
4802
4803 * calculator.el (calculator-funcall): Fix typo in last change.
4804
4805 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4806
4807 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4808 <pkg>-autoloads.el file stop us.
4809
4810 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4811 warnings, and factor out common code.
4812
4813 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4814
4815 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4816 two-character operators and whether the character preceding them
4817 changes their meaning (Bug#15208).
4818
4819 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4820
4821 Format code sent to Python shell for robustness.
4822 * progmodes/python.el (python-shell-buffer-substring):
4823 New function.
4824 (python-shell-send-region, python-shell-send-buffer): Use it.
4825
4826 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4827
4828 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4829 * net/tramp.el (tramp-user-error): ... here.
4830 (tramp-find-method, tramp-check-proper-host)
4831 (tramp-dissect-file-name, tramp-debug-message)
4832 (tramp-handle-shell-command):
4833 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4834 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4835
4836 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4837
4838 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4839
4840 * avoid.el (mouse-avoidance-point-position)
4841 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4842 returns nil.
4843
4844 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4845
4846 * progmodes/python.el (python-shell-completion-get-completions):
4847 Drop use of deleted `comint-last-prompt-overlay'.
4848 (python-nav-if-name-main): New command.
4849
4850 2013-09-01 Glenn Morris <rgm@gnu.org>
4851
4852 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4853 Avoid leading space in $wins. Otherwise the sed command used by
4854 eg compile-main ends up containing "/*.el". (Bug#15170)
4855
4856 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4857
4858 2013-08-30 Glenn Morris <rgm@gnu.org>
4859
4860 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4861 Fix is-this-a-directory logic. (Bug#15220)
4862
4863 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4864
4865 * textmodes/css-mode.el: Use SMIE.
4866 (css-smie-grammar): New var.
4867 (css-smie--forward-token, css-smie--backward-token)
4868 (css-smie-rules): New functions.
4869 (css-mode): Use them.
4870 (css-navigation-syntax-table): Remove var.
4871 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4872 (css-indent-calculate, css-indent-line): Remove functions.
4873
4874 Misc changes to reduce use of `(lambda...); and other cleanups.
4875 * cus-edit.el: Use lexical-binding.
4876 (customize-push-and-save, customize-apropos)
4877 (custom-buffer-create-internal): Use closures.
4878 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4879 * progmodes/ada-xref.el: Use setq.
4880 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4881 * dframe.el: Use lexical-binding.
4882 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4883 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4884 * descr-text.el: Use lexical-binding.
4885 (describe-text-widget, describe-text-sexp, describe-property-list):
4886 Use closures.
4887 * comint.el (comint-history-isearch-push-state): Use a closure.
4888 * calculator.el: Use lexical-binding.
4889 (calculator-number-to-string): Make it work with lexical-binding.
4890 (calculator-funcall): Same and use cl-letf.
4891
4892 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4893 (lisp--company-doc-string, lisp--company-location): New functions.
4894 (lisp-completion-at-point): Use them to improve Company support.
4895
4896 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4897 params of lambda expressions.
4898 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4899 (ruby-smie--opening-pipe-p): New function.
4900 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4901 symbols and matched |...| for formal params.
4902 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4903 from being treated as hanging. Handle "rescue".
4904
4905 2013-08-29 Glenn Morris <rgm@gnu.org>
4906
4907 * progmodes/cc-engine.el (c-pull-open-brace):
4908 Move definition before use.
4909
4910 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4913 are immutable. Don't use `unsafe' any more.
4914 (cl--defsubst-expand): Don't substitute at the same time as keeping
4915 a residual unused let-binding. Don't use `unsafe' any more.
4916
4917 2013-08-29 Glenn Morris <rgm@gnu.org>
4918
4919 * calendar/cal-china.el (calendar-chinese-year-cache):
4920 Recenter on 2015.
4921
4922 * nxml/nxml-util.el (nxml-debug-clear-inside):
4923 Use cl-loop rather than loop.
4924
4925 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4926
4927 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4928
4929 2013-08-28 Glenn Morris <rgm@gnu.org>
4930
4931 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4932
4933 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4934
4935 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4936
4937 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4938
4939 * simple.el (repeat-complex-command--called-interactively-skip):
4940 New function.
4941 (repeat-complex-command): Use it (bug#14136).
4942
4943 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4944 (c-define-abbrev-table): Add `doc' argument.
4945 (c-mode-abbrev-table, c++-mode-abbrev-table)
4946 (objc-mode-abbrev-table, java-mode-abbrev-table)
4947 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4948 (awk-mode-abbrev-table): Use it.
4949 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4950 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4951 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4952 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4953 Move initialization into the declaration; and remove any
4954 autoload cookie.
4955
4956 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4957 and dynamic let binding.
4958
4959 * vc/smerge-mode.el: Remove redundant :group args.
4960
4961 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4962 to load-path.
4963
4964 2013-08-28 Juri Linkov <juri@jurta.org>
4965
4966 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4967 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4968 (isearch-other-meta-char): Handle an undefined shifted printing
4969 character by downshifting it. (Bug#15200)
4970
4971 2013-08-28 Juri Linkov <juri@jurta.org>
4972
4973 * isearch.el (isearch-search): Change regexp error message for
4974 non-regexp searches. (Bug#15166)
4975
4976 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4977
4978 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4979 for portability to hosts where /bin/sh has problems.
4980
4981 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4982
4983 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4984
4985 2013-08-27 Juri Linkov <juri@jurta.org>
4986
4987 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4988 in the keyboard macro. (Bug#15126)
4989
4990 2013-08-27 Juri Linkov <juri@jurta.org>
4991
4992 * isearch.el (isearch-quote-char): Comment out converting unibyte
4993 to multibyte, thus syncing with its `quoted-insert' counterpart.
4994 (Bug#15166)
4995
4996 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4997
4998 * window.el (display-buffer-use-some-window): Add missing
4999 argument in call of get-largest-window (Bug#15185).
5000 Reported by Stephen Leake.
5001
5002 2013-08-27 Glenn Morris <rgm@gnu.org>
5003
5004 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5005
5006 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5007
5008 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5009 from a matcher-function unless there's no more matches (bug#15161).
5010
5011 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5012
5013 * minibuffer.el: Revert change from 2013-08-20.
5014
5015 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5016 with text property `tramp-default', if appropriate.
5017 (tramp-check-proper-host): New defun.
5018 (tramp-dissect-file-name): Do not check hostname. Revert change
5019 of 2013-03-18.
5020 (tramp-backtrace): Make VEC-OR-PROC optional.
5021
5022 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5023 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5024 * net/tramp-sh.el (tramp-maybe-open-connection):
5025 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5026 Apply `tramp-check-proper-host'.
5027
5028 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5029
5030 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5031 lambda expression in order to have `describe-variable' display it.
5032
5033 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5034
5035 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5036 BUF can be optional. (Bug#15186)
5037
5038 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5039
5040 * progmodes/flymake.el (flymake-get-real-file-name-function):
5041 Fix broken customization. (Bug#15184)
5042
5043 2013-08-25 Alan Mackenzie <acm@muc.de>
5044
5045 Improve indentation of bracelists defined by macros (without "=").
5046
5047 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5048 expansion begins with "{", regard it as bracelist when it doesn't
5049 contain a ";".
5050
5051 Parse C++ inher-intro when there's a template split over 2 lines.
5052
5053 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5054 rigorously the search for "class" etc. followed by ":".
5055
5056 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5057 random languages a regexp which never matches rather than nil.
5058
5059 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5060
5061 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5062 (c-awk-regexp-one-line-possibly-open-char-list-re)
5063 (c-awk-one-line-possibly-open-regexp-re)
5064 (c-awk-one-line-non-syn-ws*-re): Remove.
5065 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5066 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5067 (c-awk-space*-unclosed-regexp-/-re): New constants.
5068 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5069 aren't regexp delimiters.
5070
5071 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5072 handling for a rare situation in AWK Mode involving unterminated
5073 strings/regexps.
5074
5075 2013-08-23 Glenn Morris <rgm@gnu.org>
5076
5077 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5078
5079 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5080
5081 * files.el (create-file-buffer): If the result would begin with
5082 spaces, prepend a "|" instead of removing them. (Bug#15162)
5083
5084 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5087 text-properties (bug#15155).
5088
5089 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5090 exist any more.
5091 (calc-keypad-redraw): Remove unused var `pad'.
5092 (calc-keypad-press): Remove unused var `menu'.
5093
5094 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5095
5096 * window.el (display-buffer-pop-up-frame):
5097 Call pop-up-frame-function with BUFFER current so `make-frame' will
5098 use it as the new frame's buffer (Bug#15133).
5099
5100 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5101
5102 * calendar/timeclock.el: Minor cleanups.
5103 (timeclock-ask-before-exiting, timeclock-use-display-time):
5104 Use `symbol'.
5105 (timeclock-modeline-display): Define as alias before the
5106 actual definition.
5107 (timeclock-mode-line-display): Use define-minor-mode.
5108 (timeclock-day-list-template): Make it a function, add an argument.
5109 (timeclock-day-list-required, timeclock-day-list-length)
5110 (timeclock-day-list-debt, timeclock-day-list-span)
5111 (timeclock-day-list-break): Adjust calls accordingly.
5112
5113 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5114
5115 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5116 Use read--expression so that completion works again.
5117
5118 2013-08-21 Sam Steingold <sds@gnu.org>
5119
5120 Add rudimentary inferior shell interaction
5121 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5122 (sh-set-shell): Reset it.
5123 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5124 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5125
5126 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5127
5128 * align.el: Use lexical-binding.
5129 (align-region): Simplify accordingly.
5130
5131 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5132
5133 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5134
5135 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5136 `non-essential' up.
5137
5138 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5139
5140 * net/tramp.el:
5141 * net/tramp-adb.el:
5142 * net/tramp-cmds.el:
5143 * net/tramp-ftp.el:
5144 * net/tramp-gvfs.el:
5145 * net/tramp-gw.el:
5146 * net/tramp-sh.el: Don't wrap external variable declarations by
5147 `eval-when-compile'.
5148
5149 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5150
5151 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5152 now that Emacs supports ImageMagick animations.
5153
5154 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5155
5156 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5157 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5158
5159 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5160
5161 * window.el (mouse-autoselect-window-select): Do autoselect when
5162 mouse pointer is on margin.
5163
5164 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5165
5166 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5167
5168 2013-08-16 Glenn Morris <rgm@gnu.org>
5169
5170 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5171 Handle "Remote Directory" response of some clients. (Bug#15058)
5172
5173 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5174 Tweak warning. (Bug#14926)
5175
5176 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5177 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5178
5179 * image-mode.el (image-mode-map): Add menu items to reverse,
5180 increase, decrease, reset animation speed.
5181 (image--set-speed, image-increase-speed, image-decrease-speed)
5182 (image-reverse-speed, image-reset-speed): New functions.
5183 (image-mode-map): Add bindings for speed commands.
5184
5185 * image.el (image-animate-get-speed, image-animate-set-speed):
5186 New functions.
5187 (image-animate-timeout): Respect image :speed property.
5188
5189 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5192 previous line (bug#15101).
5193 (debugger-eval-expression, debugger-record-expression):
5194 Use read--expression (bug#15102).
5195
5196 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5197
5198 Remove byte compiler warnings, visible when compiling with
5199 `byte-compile-force-lexical-warnings' set to t.
5200
5201 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5202 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5203 (tramp-handle-unhandled-file-name-directory)
5204 (tramp-handle-file-notify-add-watch, tramp-action-login)
5205 (tramp-action-succeed, tramp-action-permission-denied)
5206 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5207 arguments with "_".
5208
5209 * net/tramp-adb.el (tramp-adb-parse-device-names)
5210 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5211 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5212 (tramp-adb-handle-file-truename): Remove unused arguments.
5213
5214 * net/tramp-cache.el (tramp-flush-directory-property)
5215 (tramp-flush-connection-property, tramp-list-connections)
5216 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5217
5218 * net/tramp-compat.el (tramp-compat-make-temp-file):
5219 Rename FILENAME to F.
5220
5221 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5222 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5223 (tramp-zeroconf-parse-workstation-device-names)
5224 (tramp-zeroconf-parse-webdav-device-names)
5225 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5226
5227 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5228 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5229
5230 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5231 arguments.
5232 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5233 (tramp-sh-handle-insert-file-contents-literally)
5234 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5235 with "_".
5236 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5237 Remove unused variables.
5238
5239 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5240 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5241 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5242
5243 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5244 Make them a defconst.
5245 (tramp-uuencode-region): Remove unused variable.
5246
5247 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5248
5249 * frameset.el (frameset--prop-setter): New function.
5250 (frameset-prop): Add gv-setter declaration.
5251 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5252 parameter was already set in FILTERED. Doc fix.
5253 (frameset--record-minibuffer-relationships): Allow saving a
5254 minibufferless frame without its corresponding minibuffer frame.
5255 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5256 frame, if the frame id matches.
5257 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5258 frames before orphaned ones.
5259 (frameset-restore): Warn about orphaned windows, instead of error out.
5260
5261 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5262
5263 * window.el (window-make-atom): Don't overwrite parameter
5264 already present.
5265 (display-buffer-in-atom-window): Handle special case where we
5266 split an already atomic window.
5267 (window--major-non-side-window, display-buffer-in-side-window)
5268 (window--side-check): Ignore minibuffer window when walking
5269 window tree.
5270 (window-deletable-p): Return 'frame only if no other frame uses
5271 our minibuffer window.
5272 (record-window-buffer): Run buffer-list-update-hook.
5273 (split-window): Make sure window--check-frame won't destroy an
5274 existing atomic window in case the new window gets nested
5275 inside.
5276 (display-buffer-at-bottom): Ignore minibuffer window when
5277 walking window tree. Don't split a side window.
5278 (pop-to-buffer): Don't set-buffer here, the select-window call
5279 should do that.
5280 (mouse-autoselect-window-select): Autoselect only if we are in the
5281 text portion of the window.
5282
5283 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5284
5285 * net/shr.el (shr-parse-image-data): New function to grab both the
5286 data itself and the Content-Type.
5287 (shr-put-image): Use it.
5288
5289 * net/eww.el (eww-display-image): Ditto.
5290
5291 * image.el (image-content-type-suffixes): New variable.
5292
5293 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5294
5295 * progmodes/python.el (python-imenu--build-tree)
5296 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5297
5298 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5299
5300 * simple.el (backward-word): Mention the optional argument.
5301
5302 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5303
5304 * frameset.el (frameset--make): Rename constructor from make-frameset.
5305 (frameset-p, frameset-valid-p): Don't autoload.
5306 (frameset-valid-p): Use normal accessors.
5307
5308 2013-08-13 Glenn Morris <rgm@gnu.org>
5309
5310 * progmodes/compile.el (compile-command): Tweak example in doc.
5311 * obsolete/scribe.el (scribe-mode):
5312 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5313
5314 * mail/feedmail.el (feedmail-confirm-outgoing)
5315 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5316
5317 * cus-start.el (truncate-partial-width-windows): Fix type.
5318
5319 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5320
5321 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5322
5323 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5324
5325 * emacs-lisp/timer.el (timer--time-setter): New function.
5326 (timer--time): Use it as gv-setter.
5327
5328 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5329 setter is not a symbol.
5330
5331 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5332
5333 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5334 if sending fails. This makes debugging easier.
5335
5336 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5337
5338 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5339 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5340 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5341
5342 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5343
5344 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5345
5346 2013-08-12 Glenn Morris <rgm@gnu.org>
5347
5348 * format.el (format-annotate-function):
5349 Handle read-only text properties in the source. (Bug#14887)
5350
5351 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5352
5353 * net/eww.el (eww-display-html): Ignore coding system errors.
5354 One web site uses "utf-8lias" as the coding system.
5355
5356 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5357
5358 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5359
5360 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5361
5362 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5363 (tutorial--detailed-help): Remove unused local variables.
5364 (tutorial--save-tutorial-to): Use ignore-errors.
5365 (help-with-tutorial): Use looking-at-p.
5366
5367 * view.el (view-buffer-other-window, view-buffer-other-frame):
5368 Mark unused arguments.
5369
5370 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5371 (woman-select-symbol-fonts, woman, woman-find-file)
5372 (woman-insert-file-contents, woman-non-underline-faces):
5373 Use string-match-p.
5374 (woman1-unquote): Move declaration.
5375
5376 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5377 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5378 argument. Remove unused local variable.
5379 (xml-parse-elem-type): Use string-match-p.
5380 (xml-substitute-numeric-entities): Use ignore-errors.
5381
5382 * calculator.el (calculator): Mark unused argument.
5383 (calculator-paste, calculator-quit, calculator-integer-p):
5384 Use ignore-errors.
5385 (calculator-string-to-number, calculator-decimal, calculator-exp)
5386 (calculator-op-or-exp): Use string-match-p.
5387
5388 * dired.el (dired-buffer-more-recently-used-p): Declare.
5389 (dired-insert-set-properties, dired-insert-old-subdirs):
5390 Use ignore-errors.
5391
5392 * dired-aux.el (dired-compress): Use ignore-errors.
5393 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5394 (dired-do-async-shell-command, dired-do-shell-command)
5395 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5396 (dired-insert-subdir-validate): Use string-match-p.
5397 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5398 (dired-add-entry): Use string-match-p, looking-at-p.
5399 (dired-insert-subdir-newpos): Remove unused local variable.
5400
5401 * filenotify.el (file-notify-callback): Remove unused local variable.
5402
5403 * filesets.el (filesets-error): Mark unused argument.
5404 (filesets-which-command-p, filesets-filter-dir-names)
5405 (filesets-directory-files, filesets-get-external-viewer)
5406 (filesets-ingroup-get-data): Use string-match-p.
5407
5408 * find-file.el (ff-other-file-name, ff-other-file-name)
5409 (ff-find-the-other-file, ff-cc-hh-converter):
5410 Remove unused local variables.
5411 (ff-get-file-name): Use string-match-p.
5412 (ff-all-dirs-under): Use ignore-errors.
5413
5414 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5415 (follow-select-if-visible): Remove unused local variable.
5416
5417 * forms.el (read-file-filter): Move declaration.
5418 (forms--make-format, forms--make-parser, forms-insert-record):
5419 Quote function with #'.
5420 (forms--update): Use string-match-p. Quote function with #'.
5421
5422 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5423 (help-make-xrefs): Use looking-at-p.
5424 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5425
5426 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5427 (ibuffer-confirm-operation-on): Use string-match-p.
5428
5429 * msb.el (msb-item-handler, msb-dired-item-handler):
5430 Mark unused arguments.
5431
5432 * ses.el (ses-decode-cell-symbol)
5433 (ses-kill-override): Remove unused local variable.
5434 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5435 (ses-load): Use ignore-errors, looking-at-p.
5436 (ses-jump-safe): Use ignore-errors.
5437 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5438
5439 * tabify.el (untabify, tabify): Mark unused arguments.
5440
5441 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5442 Mark unused argument.
5443 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5444 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5445
5446 * emacs-lisp/timer.el (timer--time): Define setter with
5447 gv-define-setter to avoid deprecation warning.
5448
5449 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5450 (*record-cmpl-statistics-p*): Remove (was commented out).
5451 (cmpl-statistics-block): Remove (body was commented out).
5452 All callers changed.
5453 (add-completions-from-buffer, load-completions-from-file):
5454 Remove unused variables.
5455
5456 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5457
5458 * filecache.el (file-cache-delete-file-list):
5459 Print message only when told so.
5460 (file-cache-files-matching): Use #' in mapconcat argument.
5461
5462 * ffap.el (ffap-url-at-point): Fix reference to variable
5463 thing-at-point-default-mail-uri-scheme.
5464
5465 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5466
5467 * subr.el (define-error): New function.
5468 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5469 error-file-not-found and define with define-error.
5470 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5471 and define with define-error.
5472 * userlock.el (file-locked, file-supersession):
5473 * simple.el (mark-inactive):
5474 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5475 * progmodes/ada-mode.el (ada-mode-errors):
5476 * play/life.el (life-extinct):
5477 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5478 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5479 * nxml/rng-util.el (rng-error):
5480 * nxml/rng-uri.el (rng-uri-error):
5481 * nxml/rng-match.el (rng-compile-error):
5482 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5483 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5484 * nxml/nxml-rap.el (nxml-scan-error):
5485 * nxml/nxml-outln.el (nxml-outline-error):
5486 * net/soap-client.el (soap-error):
5487 * net/gnutls.el (gnutls-error):
5488 * net/ange-ftp.el (ftp-error):
5489 * mpc.el (mpc-proc-error):
5490 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5491 (json-number-format, json-string-escape, json-string-format)
5492 (json-key-format, json-object-format):
5493 * jka-compr.el (compression-error):
5494 * international/quail.el (quail-error):
5495 * international/kkc.el (kkc-error):
5496 * emacs-lisp/ert.el (ert-test-failed):
5497 * calc/calc.el (calc-error, inexact-result, math-overflow)
5498 (math-underflow):
5499 * bookmark.el (bookmark-error-no-filename):
5500 * epg.el (epg-error): Define with define-error.
5501
5502 * time.el (display-time-event-handler)
5503 (display-time-next-load-average): Don't call sit-for since it seems
5504 unnecessary (bug#15045).
5505
5506 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5507 Use #' instead of ' to quote functions.
5508 (checkdoc-output-mode): Use setq-local.
5509 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5510 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5511 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5512 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5513 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5514 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5515 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5516 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5517
5518 * ido.el (ido-completion-help): Fix up compiler warning.
5519
5520 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5521
5522 * frameset.el (frameset-p): Add autoload cookie.
5523 (frameset--jump-to-register): New function, based on code moved from
5524 register.el.
5525 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5526
5527 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5528 (frameset-restore, frameset-save, frameset-session-filter-alist):
5529 Remove declarations.
5530 (register-alist): Doc fix.
5531 (frameset-to-register): Move to frameset.el.
5532 (jump-to-register, describe-register-1): Remove frameset-specific code.
5533
5534 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5535
5536 * allout-widgets.el (allout-widgets-pre-command-business)
5537 (allout-widgets-post-command-business)
5538 (allout-widgets-after-change-handler)
5539 (allout-decorate-item-and-context, allout-set-boundary-marker)
5540 (allout-body-modification-handler)
5541 (allout-graphics-modification-handler): Mark ignored arguments.
5542 (allout-widgets-post-command-business)
5543 (allout-widgets-exposure-change-processor)
5544 (allout-widgets-exposure-undo-processor)
5545 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5546 (allout-parse-item-at-point, allout-decorate-item-guides)
5547 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5548 * allout.el (epa-passphrase-callback-function): Declare.
5549 (allout-overlay-insert-in-front-handler)
5550 (allout-overlay-interior-modification-handler)
5551 (allout-isearch-end-handler, allout-chart-siblings)
5552 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5553 (allout-yank-processing, allout-process-exposed)
5554 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5555 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5556 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5557 (lisp-indent-defform): Mark ignored arguments.
5558 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5559 (calculate-lisp-indent): Remove unused variables.
5560 * international/characters.el (indian-2-column, arabic-2-column)
5561 (tibetan): Mark ignored arguments.
5562 (use-cjk-char-width-table): Mark ignored arguments.
5563 Remove unused variables.
5564 * international/fontset.el (build-default-fontset-data)
5565 (x-compose-font-name, create-fontset-from-fontset-spec):
5566 Mark ignored arguments.
5567 (fontset-plain-name): Remove unused variables.
5568 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5569 (keyboard-coding-system): Mark ignored arguments.
5570 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5571 * help.el (resize-temp-buffer-window):
5572 * window.el (display-buffer-in-major-side-window)
5573 (display-buffer-in-side-window, display-buffer-in-previous-window):
5574 Remove unused variables.
5575 * isearch.el (isearch-forward-symbol):
5576 * version.el (emacs-bzr-version-bzr):
5577 * international/mule-cmds.el (current-language-environment):
5578 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5579 (x-handle-display):
5580 * term/pc-win.el (x-list-fonts, x-display-planes)
5581 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5582 (x-server-version, x-display-screens, x-display-mm-height)
5583 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5584 (x-selection-owner-p, x-own-selection-internal)
5585 (x-disown-selection-internal, x-get-selection-internal)
5586 (msdos-initialize-window-system):
5587 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5588 * term/x-win.el (x-handle-no-bitmap-icon):
5589 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5590 (vc-default-find-file-hook, vc-default-extra-menu):
5591 Mark ignored arguments.
5592
5593 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5594
5595 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5596 break-condition in the context of the debugged code (bug#12685).
5597
5598 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5599
5600 * comint.el:
5601 Do not use an overlay to highlight the last prompt. (Bug#14744)
5602 (comint-mode): Make comint-last-prompt buffer local.
5603 (comint-last-prompt): New variable.
5604 (comint-last-prompt-overlay): Remove. Superseded by
5605 comint-last-prompt.
5606 (comint-snapshot-last-prompt, comint-output-filter):
5607 Use comint-last-prompt.
5608
5609 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5610
5611 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5612 (frameset-save): Check validity of the resulting frameset.
5613
5614 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5615
5616 * ido.el (ido-record-command): Add doc string.
5617
5618 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5619
5620 * frameset.el (frameset): Do not disable creation of the default
5621 frameset-p predicate. Doc fix.
5622 (frameset-valid-p): New function, copied from the old predicate-p.
5623 Add additional checks.
5624 (frameset-restore): Check with frameset-valid-p.
5625 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5626 (frameset-name, frameset-description, frameset-properties)
5627 (frameset-states): Add docstring.
5628 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5629 (frameset-filter-alist): Doc fixes.
5630
5631 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5632
5633 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5634
5635 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5636
5637 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5638 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5639 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5640 (byte-compile-normal-call): Remove obsolescence check.
5641
5642 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5643
5644 * frameset.el (frameset-restore): Doc fix.
5645
5646 * register.el (frameset-frame-id, frameset-frame-with-id)
5647 (frameset-p, frameset-restore, frameset-save): Declare.
5648 (register-alist): Document framesets.
5649 (frameset-session-filter-alist): Declare.
5650 (frameset-to-register): New function.
5651 (jump-to-register): Implement jumping to framesets. Doc fix.
5652 (describe-register-1): Describe framesets.
5653
5654 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5655
5656 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5657
5658 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5659 Use lexical-binding.
5660
5661 * frameset.el (frameset): Use type vector, not list (incompatible
5662 change). Do not declare a new constructor, use the default one.
5663 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5664 `name' and `description', respectively, and add read-only slot
5665 `timestamp'. Doc fixes.
5666 (frameset-copy, frameset-persistent-filter-alist)
5667 (frameset-filter-alist, frameset-switch-to-gui-p)
5668 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5669 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5670 (frameset-filter-iconified, frameset-keep-original-display-p):
5671 Doc fixes.
5672 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5673 Rename from frameset-filter-(save|restore)-param. All callers changed.
5674 Doc fix.
5675 (frameset-p): Adapt to change to vector and be more thorough.
5676 Change arg name to OBJECT. Doc fix.
5677 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5678 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5679 All callers changed.
5680 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5681 All callers changed.
5682 (frameset--record-minibuffer-relationships): Rename from
5683 frameset--process-minibuffer-frames. All callers changed.
5684 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5685 Use new default constructor (again). Doc fix.
5686 (frameset--find-frame-if): Rename from `frameset--find-frame.
5687 All callers changed.
5688 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5689 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5690 Doc fix.
5691 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5692 PARAMETERS and WINDOW-STATE, respectively.
5693 (frameset-restore): Add new keyword argument PREDICATE.
5694 Reset frameset--target-display to nil. Doc fix.
5695
5696 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5697
5698 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5699 (bat-mode): Use it.
5700 (bat-mode-syntax-table): Mark \n as end-of-comment.
5701 (bat-font-lock-keywords): Remove comment rule.
5702
5703 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5704 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5705
5706 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5707 (byte-compile-callargs-warn): Use `push'.
5708 (byte-compile-arglist-warn): Ignore higher-order "calls".
5709 (byte-compile-file-form-autoload): Use `pcase'.
5710 (byte-compile-function-form): If quoting a symbol, check that it exists.
5711
5712 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5713
5714 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5715 and add a few popular commands found in batch files.
5716 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5717 (dos-mode): Doc fixes.
5718
5719 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5720
5721 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5722 (dos-mode): Use setq-local. Add space after "rem".
5723 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5724 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5725
5726 2013-08-07 Arni Magnusson <arnima@hafro.is>
5727
5728 * progmodes/dos.el: New file.
5729 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5730 dos-mode.
5731
5732 2013-08-06 Glenn Morris <rgm@gnu.org>
5733
5734 * calendar/calendar.el: Add new faces, and day-header-array.
5735 (calendar-weekday-header, calendar-weekend-header)
5736 (calendar-month-header): New faces.
5737 (calendar-day-header-construct): New function.
5738 (calendar-day-header-width): Also :set calendar-day-header-array.
5739 (calendar-american-month-header, calendar-european-month-header)
5740 (calendar-iso-month-header): Use calendar- faces.
5741 (calendar-generate-month):
5742 Use calendar-day-header-array for day headers; apply faces to them.
5743 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5744 (calendar-abbrev-construct): Add optional maxlen argument.
5745 (calendar-day-name-array): Doc fix.
5746 (calendar-day-name-array, calendar-abbrev-length)
5747 (calendar-day-abbrev-array):
5748 Also :set calendar-day-header-array, and maybe redraw.
5749 (calendar-day-header-array): New option. (Bug#15007)
5750 (calendar-font-lock-keywords): Set to nil and make obsolete.
5751 (calendar-day-name): Add option to use header array.
5752
5753 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5754
5755 * net/shr.el (shr-render-td): Remove debugging.
5756 (shr-render-td): Make width computation consistent by defaulting
5757 all zero-width columns to 10 characters. This may not be optimal,
5758 but it's at least consistent.
5759 (shr-make-table-1): Redo last change to fix the real problem in
5760 colspan handling.
5761
5762 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5763
5764 * files.el (cache-long-line-scans):
5765 Make obsolete alias to `cache-long-scans'.
5766
5767 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5768
5769 * frameset.el (frameset, frameset-filter-alist)
5770 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5771 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5772 (frameset-compute-pos): Rename from frameset--compute-pos,
5773 and add docstring.
5774 (frameset-move-onscreen): Use frameset-compute-pos.
5775 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5776
5777 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5778 Fix typos in docstrings.
5779
5780 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5781
5782 * frame.el (get-other-frame): Tiny cleanup.
5783
5784 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5785
5786 * vc/vc.el (vc-default-ignore-completion-table):
5787 Silence byte-compiler warning.
5788
5789 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5790 slot , which can indeed be nil.
5791 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5792 Move entry for `left' from persistent to live filter alist.
5793 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5794 Doc fixes.
5795 (frameset-filter-params): When restoring a frame, copy items added to
5796 `filtered', to avoid unwittingly modifying the original parameters.
5797 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5798 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5799
5800 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5801 to use looking-at-p instead of looking-at. (Bug#15028)
5802
5803 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5804
5805 Revert introduction of isearch-filter-predicates (bug#14714).
5806 Rely on add-function instead.
5807 * isearch.el (isearch-filter-predicates): Rename it back to
5808 isearch-filter-predicate.
5809 (isearch-message-prefix): Use advice-function-mapc and advice
5810 properties to get the isearch-message-prefix.
5811 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5812 instead of run-hook-with-args-until-failure.
5813 (isearch-filter-visible): Not obsolete any more.
5814 * loadup.el: Preload nadvice.
5815 * replace.el (perform-replace): Revert to funcall
5816 instead of run-hook-with-args-until-failure.
5817 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5818 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5819 dired-isearch-filenames-toggle; make it into a proper minor mode.
5820 Use add/remove-function.
5821 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5822 Call the minor-mode rather than add/remove-hook.
5823 (dired-isearch-filter-filenames):
5824 Remove isearch-message-prefix property.
5825 * info.el (Info--search-loop): New function, extracted from Info-search.
5826 Funcall isearch-filter-predicate instead of
5827 run-hook-with-args-until-failure isearch-filter-predicates.
5828 (Info-search): Use it.
5829 (Info-mode): Use isearch-filter-predicate instead of
5830 isearch-filter-predicates.
5831
5832 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5833
5834 Do not call to `selected-window' where it is assumed by default.
5835 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5836 `window-hscroll', `window-width', `window-height', `window-buffer',
5837 `window-frame', `window-start', `window-point', `next-window'
5838 and `window-display-table'.
5839 * abbrev.el (abbrev--default-expand):
5840 * bs.el (bs--show-with-configuration):
5841 * buff-menu.el (Buffer-menu-mouse-select):
5842 * calc/calc.el (calc):
5843 * calendar/calendar.el (calendar-generate-window):
5844 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5845 (diary-make-entry):
5846 * comint.el (send-invisible, comint-dynamic-complete-filename)
5847 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5848 * completion.el (complete):
5849 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5850 * disp-table.el (describe-current-display-table):
5851 * doc-view.el (doc-view-insert-image):
5852 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5853 * ehelp.el (with-electric-help):
5854 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5855 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5856 * emacs-lisp/helper.el (Helper-help-scroller):
5857 * emulation/cua-base.el (cua--post-command-handler-1):
5858 * eshell/esh-mode.el (eshell-output-filter):
5859 * ffap.el (ffap-gnus-wrapper):
5860 * help-macro.el (make-help-screen):
5861 * hilit-chg.el (highlight-compare-buffers):
5862 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5863 * hl-line.el (global-hl-line-highlight):
5864 * icomplete.el (icomplete-simple-completing-p):
5865 * isearch.el (isearch-done):
5866 * jit-lock.el (jit-lock-stealth-fontify):
5867 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5868 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5869 * mpc.el (mpc-tagbrowser, mpc):
5870 * net/rcirc.el (rcirc-any-buffer):
5871 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5872 * play/landmark.el (landmark-max-width, landmark-max-height):
5873 * play/zone.el (zone):
5874 * progmodes/compile.el (compilation-goto-locus):
5875 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5876 * progmodes/etags.el (find-tag-other-window):
5877 * progmodes/fortran.el (fortran-column-ruler):
5878 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5879 * progmodes/verilog-mode.el (verilog-point-text):
5880 * reposition.el (reposition-window):
5881 * rot13.el (toggle-rot13-mode):
5882 * server.el (server-switch-buffer):
5883 * shell.el (shell-dynamic-complete-command)
5884 (shell-dynamic-complete-environment-variable):
5885 * simple.el (insert-buffer, set-selective-display)
5886 (delete-completion-window):
5887 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5888 (speedbar-recenter):
5889 * startup.el (fancy-splash-head):
5890 * textmodes/ispell.el (ispell-command-loop):
5891 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5892 * tutorial.el (help-with-tutorial):
5893 * vc/add-log.el (add-change-log-entry):
5894 * vc/compare-w.el (compare-windows):
5895 * vc/ediff-help.el (ediff-indent-help-message):
5896 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5897 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5898 (ediff-setup-control-frame):
5899 * vc/emerge.el (emerge-position-region):
5900 * vc/pcvs-util.el (cvs-bury-buffer):
5901 * window.el (walk-windows, mouse-autoselect-window-select):
5902 * winner.el (winner-set-conf, winner-undo): Related users changed.
5903
5904 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5905
5906 * frameset.el (frameset--set-id): Doc fix.
5907 (frameset-frame-id, frameset-frame-id-equal-p)
5908 (frameset-locate-frame-id): New functions.
5909 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5910 (frameset-restore): Use them.
5911
5912 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5913
5914 Do not call to `selected-frame' where it is assumed by default.
5915 Affected functions are `raise-frame', `redraw-frame',
5916 `frame-first-window', `frame-terminal' and `delete-frame'.
5917 * calendar/appt.el (appt-disp-window):
5918 * epg.el (epg-wait-for-completion):
5919 * follow.el (follow-delete-other-windows-and-split)
5920 (follow-avoid-tail-recenter):
5921 * international/mule.el (set-terminal-coding-system):
5922 * mail/rmail.el (rmail-mail-return):
5923 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5924 * progmodes/f90.el (f90-add-imenu-menu):
5925 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5926 * server.el (server-switch-buffer):
5927 * simple.el (delete-completion-window):
5928 * talk.el (talk):
5929 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5930 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5931 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5932 * vc/ediff.el (ediff-documentation): Related users changed.
5933 * frame.el (selected-terminal): Remove the leftover.
5934
5935 2013-08-05 Glenn Morris <rgm@gnu.org>
5936
5937 * calendar/calendar.el (calendar-generate-month):
5938 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5939 (calendar-generate-month, calendar-font-lock-keywords):
5940 Fix for calendar-day-header-width > length of any day name.
5941
5942 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5943
5944 * desktop.el (desktop-clear): Use new name of sort predicate.
5945
5946 * frameset.el (frameset): Add docstring. Move :version property to its
5947 own `version' slot.
5948 (frameset-copy): Rename from copy-frameset.
5949 (frameset-p): Check more thoroughly.
5950 (frameset-prop): Do not check for :version, which is no longer a prop.
5951 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5952 Use new :never value instead of t.
5953 (frameset-filter-alist): Expand and clarify docstring.
5954 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5955 (frameset-filter-minibuffer, frameset-filter-save-param)
5956 (frameset-filter-restore-param, frameset-filter-iconified):
5957 Add pointer to docstring of frameset-filter-alist.
5958 (frameset-filter-params): Rename filter values to be more meaningful:
5959 :never instead of t, and reverse the meanings of :save and :restore.
5960 (frameset--process-minibuffer-frames): Clarify error message.
5961 (frameset-save): Avoid unnecessary and confusing call to framep.
5962 Use new BOA constructor for framesets.
5963 (frameset--reuse-list): Doc fix.
5964 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5965 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5966 (frameset-minibufferless-first-p): Doc fix.
5967 Rename from frameset-sort-frames-for-deletion.
5968 (frameset-restore): Doc fixes. Use new function names.
5969 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5970
5971 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5972
5973 * desktop.el (desktop-restore-forces-onscreen)
5974 (desktop-restore-reuses-frames): Document :keyword constant values.
5975 (desktop-filter-parameters-alist): Remove, now identical to
5976 frameset-filter-alist.
5977 (desktop--filter-tty*): Remove, moved to frameset.el.
5978 (desktop-save-frameset, desktop-restore-frameset):
5979 Do not pass :filters argument.
5980
5981 * frameset.el (frameset-live-filter-alist)
5982 (frameset-persistent-filter-alist): New variables.
5983 (frameset-filter-alist): Use them. Add autoload cookie.
5984 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5985 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5986 `frameset--id' (it's supposed to be internal to frameset.el).
5987 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5988 (frameset--initial-params): New function.
5989 (frameset--get-frame): Use it. Doc fix.
5990 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5991 Accept :all, not 'all.
5992 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5993 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5994 with fbound symbols. Fix frame id matching, and remove matching ids if
5995 the frame being restored is deleted. Obey :delete.
5996
5997 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * subr.el (macrop): New function.
6000 (text-clone--maintaining): New var.
6001 (text-clone--maintain): Rename from text-clone-maintain. Use it
6002 instead of inhibit-modification-hooks.
6003
6004 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6005 a proxy, so as handle autoloads and redefinitions of the target.
6006 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6007
6008 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6009 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6010 (pcase--mutually-exclusive-p): New function.
6011 (pcase--split-consp): Use it.
6012 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6013 mutually exclusive with the current predicate.
6014
6015 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6016 (edebug-macrop): Remove. Use `macrop' instead.
6017 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6018 (ad-macro-p):
6019 * eshell/esh-cmd.el (eshell-macrop):
6020 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6021
6022 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6023
6024 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6025 (advice-mapc): New function, using it.
6026 (advice-function-member-p): New function.
6027 (advice--normalize): Store the cdr in advice--saved-rewrite since
6028 that's the part that will be changed.
6029 (advice--symbol-function): New function.
6030 (advice-remove): Handle removal before the function is defined.
6031 Adjust to new advice--saved-rewrite.
6032 (advice-member-p): Use advice-function-member-p and
6033 advice--symbol-function.
6034
6035 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6036
6037 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6038 (frameset-filter-minibuffer): Doc fix.
6039 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6040 (frameset--set-id, frameset--process-minibuffer-frames)
6041 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6042 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6043
6044 * desktop.el (desktop-clear): Only delete frames when called
6045 interactively and desktop-restore-frames is non-nil. Doc fix.
6046 (desktop-read): Set desktop-saved-frameset to nil.
6047
6048 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6049
6050 * vc/vc.el (vc-ignore): Rewrite.
6051 (vc-default-ignore-completion-table):
6052 (vc--read-lines):
6053 (vc--add-line, vc--remove-regexp): New functions.
6054
6055 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6056 (vc-svn-ignore-completion-table): New function.
6057
6058 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6059 (vc-hg-ignore-completion-table):
6060 (vc-hg-find-ignore-file): New functions.
6061
6062 * vc/vc-git.el (vc-git-ignore): Rewrite.
6063 (vc-git-ignore-completion-table):
6064 (vc-git-find-ignore-file): New functions.
6065
6066 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6067
6068 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6069 (vc-bzr-ignore-completion-table):
6070 (vc-bzr-find-ignore-file): New functions.
6071
6072 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6073
6074 * frameset.el (frameset-prop): New function and setter.
6075 (frameset-save): Do not modify frame list passed by the caller.
6076
6077 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6080
6081 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6082
6083 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6084 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6085
6086 * custom.el (custom-initialize-default, custom-initialize-set)
6087 (custom-initialize-reset, custom-initialize-changed): Affect the
6088 toplevel-default-value (bug#6275, bug#14586).
6089 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6090 for bug#6275.
6091
6092 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6093
6094 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6095 Add cl-def* expressions.
6096
6097 * frameset.el (frameset-filter-params): Fix order of arguments.
6098
6099 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6100
6101 Move code related to saving frames to frameset.el.
6102 * desktop.el: Require frameset.
6103 (desktop-restore-frames): Doc fix.
6104 (desktop-restore-reuses-frames): Rename from
6105 desktop-restoring-reuses-frames.
6106 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6107 (desktop-clear): Clear frames too.
6108 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6109 (desktop--filter-tty*, desktop-save, desktop-read):
6110 Use frameset functions.
6111 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6112 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6113 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6114 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6115 (desktop--process-minibuffer-frames, desktop-save-frames)
6116 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6117 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6118 (desktop--sort-states, desktop-restoring-frames-p)
6119 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6120 (desktop-restoring-frameset-p, desktop-restore-frameset)
6121 (desktop--check-dont-save, desktop-save-frameset): New functions.
6122 (desktop--app-id): New constant.
6123 (desktop-first-buffer, desktop-buffer-ok-count)
6124 (desktop-buffer-fail-count): Move before first use.
6125 * frameset.el: New file.
6126
6127 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6128
6129 * files.el: Use lexical-binding.
6130 (dir-locals-read-from-file): Remove unused `err' variable.
6131 (hack-dir-local-variables--warned-coding): New var.
6132 (hack-dir-local-variables): Use it to avoid repeated warnings.
6133 (make-backup-file-name--default-function): New function.
6134 (make-backup-file-name-function): Use it as default.
6135 (buffer-stale--default-function): New function.
6136 (buffer-stale-function): Use it as default.
6137 (revert-buffer-insert-file-contents--default-function): New function.
6138 (revert-buffer-insert-file-contents-function): Use it as default.
6139 (insert-directory): Avoid add-to-list.
6140
6141 * autorevert.el (auto-revert-handler): Simplify.
6142 Use buffer-stale--default-function.
6143
6144 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6145
6146 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6147
6148 * whitespace.el (whitespace-ensure-local-variables): New function.
6149 (whitespace-cleanup-region): Call it.
6150 (whitespace-turn-on): Call it.
6151
6152 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6153
6154 Complete file name handlers.
6155
6156 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6157 (tramp-handle-verify-visited-file-modtime)
6158 (tramp-handle-file-notify-rm-watch): New functions.
6159 (tramp-call-process): Do not bind `default-directory'.
6160
6161 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6162 Order alphabetically.
6163 [access-file, add-name-to-file, dired-call-process]:
6164 [dired-compress-file, file-acl, file-notify-rm-watch]:
6165 [file-ownership-preserved-p, file-selinux-context]:
6166 [make-directory-internal, make-symbolic-link, set-file-acl]:
6167 [set-file-selinux-context, set-visited-file-modtime]:
6168 [verify-visited-file-modtime]: Add handler.
6169 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6170
6171 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6172 [file-notify-add-watch, file-notify-rm-watch]:
6173 [set-file-times, set-visited-file-modtime]:
6174 [verify-visited-file-modtime]: Add handler.
6175 (with-tramp-gvfs-error-message)
6176 (tramp-gvfs-handle-set-visited-file-modtime)
6177 (tramp-gvfs-fuse-file-name): Remove.
6178 (tramp-gvfs-handle-file-notify-add-watch)
6179 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6180 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6181
6182 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6183 Order alphabetically.
6184 [file-notify-rm-watch ]: Use default Tramp handler.
6185 [executable-find]: Remove private handler.
6186 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6187 `default-directory'.
6188 (tramp-sh-handle-executable-find)
6189 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6190 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6191 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6192 Do not use `format' in `tramp-message'.
6193
6194 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6195 [file-notify-rm-watch, set-visited-file-modtime]:
6196 [verify-visited-file-modtime]: Add handler.
6197 (tramp-smb-call-winexe): Do not bind `default-directory'.
6198
6199 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6200
6201 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6202
6203 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6204
6205 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6206 use it.
6207 (log-view-diff-changeset): Same.
6208 (log-view-diff-common): Call backend command `previous-revision'
6209 to find out the previous revision, in both cases. Swap the
6210 variables `to' and `fr', so that `fr' usually refers to the
6211 earlier revision (Bug#14989).
6212
6213 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6214
6215 * ibuf-ext.el (ibuffer-filter-by-filename):
6216 Make it work with dired buffers too.
6217
6218 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6219
6220 * emacs-lisp/re-builder.el (reb-color-display-p):
6221 * files.el (save-buffers-kill-terminal):
6222 * net/browse-url.el (browse-url):
6223 * server.el (server-save-buffers-kill-terminal):
6224 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6225 Prefer nil to selected-frame for the first arg of frame-parameter.
6226
6227 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6228
6229 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6230
6231 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6232
6233 * minibuffer.el (completion--twq-all): Try and preserve each
6234 completion's case choice (bug#14907).
6235
6236 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6237
6238 * net/network-stream.el (open-network-stream): Mention the new
6239 :nogreeting parameter.
6240 (network-stream-open-starttls): Use the :nogreeting parameter
6241 (bug#14938).
6242
6243 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6244
6245 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6246 more natural than popping.
6247
6248 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6249 (shr-urlify): Highlight under mouse.
6250
6251 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6252
6253 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6254
6255 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6256
6257 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6258 buffer for output.
6259
6260 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6261 point-min==1. Fix search string. Fix parentheses missing.
6262
6263 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6264 assume point-min==1. Fix search string. Fix parentheses missing.
6265
6266 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6267
6268 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6269 buffer for output.
6270
6271 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6272
6273 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6274 initial frame is minibuffer-less. (Bug#14841)
6275
6276 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6277
6278 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6279 option.
6280
6281 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6282 (tramp-maybe-open-connection): Use it.
6283
6284 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6285
6286 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6287 minimal set of parameters passed when creating a frame, because
6288 the minibuffer status of a frame cannot be changed later.
6289
6290 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6291
6292 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6293 replace-regexp-in-string and inadvertent omissions in previous change.
6294 (todo-filter-items): Ensure only file names are comma-separated in
6295 name of filtered items buffer.
6296
6297 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6298
6299 * desktop.el: Optionally force offscreen frames back onscreen.
6300 (desktop-restoring-reuses-frames): New option.
6301 (desktop--compute-pos, desktop--move-onscreen): New functions.
6302 (desktop--make-frame): Use desktop--move-onscreen.
6303
6304 2013-07-27 Alan Mackenzie <acm@muc.de>
6305
6306 Fontify a Java generic method as a function.
6307 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6308 value to t.
6309
6310 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6311
6312 * calendar/todo-mode.el: Add command to rename todo files.
6313 (todo-rename-file): New command.
6314 (todo-key-bindings-t): Add key binding for it. Change the
6315 bindings of todo-filter-regexp-items(-multifile) to use `x'
6316 instead of `r', since the latter is better suited to the new
6317 renaming command.
6318
6319 2013-07-27 Alan Mackenzie <acm@muc.de>
6320
6321 Make Java try-with-resources statement parse properly.
6322 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6323 (c-block-stmt-1-2-key): New language constants/variables.
6324 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6325 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6326 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6327 with c-block-stmt-1-2-key.
6328
6329 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6330
6331 * desktop.el (desktop--make-frame): Apply most frame parameters after
6332 creating the frame to force (partially or totally) offscreen frames to
6333 be restored as such.
6334
6335 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6336
6337 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6338 (Bug#14948)
6339
6340 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6341
6342 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6343 `base' arg of backtrace-frame.
6344
6345 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6346
6347 * simple.el (list-processes): Doc fix.
6348
6349 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6350
6351 * desktop.el (desktop--select-frame):
6352 Try harder to reuse existing frames.
6353
6354 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6357 (edebug-eval): Use backtrace-eval.
6358 (edebug--display, edebug--recursive-edit): Don't let-bind the
6359 edebug-outer-* vars that keep track of variables we locally let-bind.
6360 (edebug-outside-excursion): Don't restore outside values of locally
6361 let-bound vars.
6362 (edebug--display): Use user-error.
6363 (cl-lexical-debug, cl-debug-env): Remove.
6364
6365 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6366
6367 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6368 are restored to be sure that they are visible before deleting any
6369 remaining ones.
6370
6371 2013-07-26 Matthias Meulien <orontee@gmail.com>
6372
6373 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6374 vc-print-root-log. (Bug#14948)
6375
6376 2013-07-26 Richard Stallman <rms@gnu.org>
6377
6378 Add aliases for encrypting mail.
6379 * epa.el (epa-mail-aliases): New option.
6380 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6381 Bind inhibit-read-only so read-only text doesn't ruin everything.
6382 (epa-mail-default-recipients): New subroutine broken out.
6383 Handle epa-mail-aliases.
6384
6385 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6386
6387 Add support for lexical variables to the debugger's `e' command.
6388 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6389 vars, except for debugger-outer-match-data.
6390 (debugger-frame-number): Move check for "on a function call" from
6391 callers into it. Add `skip-base' argument.
6392 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6393 (debugger-env-macro): Only reset the state stored in non-variables,
6394 i.e. current-buffer and match-data.
6395 (debugger-eval-expression): Rewrite using backtrace-eval.
6396 * subr.el (internal--called-interactively-p--get-frame): Remove.
6397 (called-interactively-p):
6398 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6399 `base' arg of backtrace-frame instead.
6400
6401 2013-07-26 Glenn Morris <rgm@gnu.org>
6402
6403 * align.el (align-regexp): Doc fix. (Bug#14857)
6404 (align-region): Explicit error if subexpression missing/does not match.
6405
6406 * simple.el (global-visual-line-mode):
6407 Do not duplicate the mode lighter. (Bug#14858)
6408
6409 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6410
6411 * window.el (display-buffer): In display-buffer bind
6412 split-window-keep-point to t, bug#14829.
6413
6414 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6415
6416 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6417 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6418 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6419 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6420 Change accordingly.
6421 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6422 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6423
6424 2013-07-25 Glenn Morris <rgm@gnu.org>
6425
6426 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6427
6428 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6429
6430 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6431 parameter to modify-frame-parameters if the value has not changed;
6432 this is a workaround for bug#14949.
6433 (desktop--make-frame): On cl-delete-if call, check parameter name,
6434 not full parameter.
6435
6436 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6437
6438 * vc/vc.el (vc-ignore): New function.
6439
6440 * vc/vc-svn.el (vc-svn-ignore): New function.
6441
6442 * vc/vc-hg.el (vc-hg-ignore): New function.
6443
6444 * vc/vc-git.el (vc-git-ignore): New function.
6445
6446 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6447 (vc-dir-ignore): New function.
6448
6449 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6450 (cvs-append-to-ignore): Move here from pcvs.el.
6451
6452 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6453
6454 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6455
6456 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6457
6458 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6459 (desktop-restore-frames): Warn when deleting an existing frame failed.
6460
6461 2013-07-24 Glenn Morris <rgm@gnu.org>
6462
6463 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6464
6465 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6466
6467 * filenotify.el (file-notify-supported-p):
6468 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6469 Remove functions.
6470
6471 * autorevert.el (auto-revert-use-notify):
6472 (auto-revert-notify-add-watch):
6473 * net/tramp.el (tramp-file-name-for-operation):
6474 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6475 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6476 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6477 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6478 Remove `file-notify-supported-p' entry.
6479
6480 2013-07-24 Glenn Morris <rgm@gnu.org>
6481
6482 * printing.el: Replace all uses of deleted ps-windows-system,
6483 ps-lp-system, ps-flatten-list with lpr- versions.
6484
6485 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6486
6487 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6488 checked with memq (bug#14935).
6489
6490 * files.el (revert-buffer-function): Use a non-nil default.
6491 (revert-buffer-preserve-modes): Declare var to
6492 provide access to the `preserve-modes' argument.
6493 (revert-buffer): Let-bind it.
6494 (revert-buffer--default): New function, extracted from revert-buffer.
6495
6496 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6497
6498 * lpr.el: Signal print errors more prominently.
6499 (print-region-function): Don't default to nil.
6500 (lpr-print-region): New function, extracted from print-region-1.
6501 Check lpr's return value and signal an error in case of problem.
6502 (print-region-1): Use it.
6503 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6504 versions instead.
6505 (ps-printer-name): Default to nil.
6506 (ps-printer-name-option): Default to lpr-printer-switch.
6507 (ps-print-region-function): Don't default to nil.
6508 (ps-postscript-code-directory): Simplify default.
6509 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6510 (ps-string-list, ps-eval-switch, ps-flatten-list)
6511 (ps-flatten-list-1): Remove.
6512 (ps-multibyte-buffer): Avoid setq.
6513 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6514 (print-region-function, ps-print-region-function): Don't set them here.
6515
6516 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6517
6518 * ido.el (ido-fractionp):
6519 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6520 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6521 (ido-max-directory-size, ido-max-dir-file-cache)
6522 (ido-decorations): Doc fix.
6523
6524 * ansi-color.el: Fix old URL.
6525
6526 2013-07-23 Michael R. Mauger <michael@mauger.com>
6527
6528 * progmodes/sql.el: Version 3.3
6529 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6530 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6531 (sql-interactive-remove-continuation-prompt): Rewrite, use
6532 functions above. Fix continuation prompt and complete output line
6533 handling.
6534 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6535 redirected output buffer.
6536 (sql-mode): Restore deleted code (Bug#13591).
6537
6538 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6539
6540 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6541
6542 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6543
6544 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6545
6546 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6547 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6548 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6549
6550 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6551
6552 * desktop.el (desktop-clear): Simplify; remove useless checks
6553 against invalid buffer names.
6554 (desktop-list*): Use cl-list*.
6555 (desktop-buffer-info, desktop-create-buffer): Simplify.
6556
6557 2013-07-23 Leo Liu <sdl.web@gmail.com>
6558
6559 * bookmark.el (bookmark-make-record): Restore NAME as a default
6560 value. (Bug#14933)
6561
6562 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6563
6564 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6565 extracted from autoload--insert-text.
6566 (autoload--insert-text): Remove.
6567 (autoload--print-cookie-text): New function, extracted from
6568 autoload--insert-cookie-text.
6569 (autoload--insert-cookie-text): Remove.
6570 (autoload-generate-file-autoloads): Adjust calls accordingly.
6571
6572 * winner.el (winner-hook-installed-p): Remove.
6573 (winner-mode): Simplify accordingly.
6574
6575 * subr.el (add-to-list): Fix compiler-macro when `append' is
6576 not constant. Don't use `cl-member' for the base case.
6577
6578 * progmodes/subword.el: Fix boundary case (bug#13758).
6579 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6580 own group.
6581 (subword-backward-regexp): Make it a constant.
6582 (subword-forward-internal): Don't treat a trailing capital as the
6583 beginning of a word.
6584
6585 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6586
6587 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6588 global value of tabulated-list-revert-hook (bug#14930).
6589
6590 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6591
6592 * desktop.el: Require 'cl-lib.
6593 (desktop-before-saving-frames-functions): New hook.
6594 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6595 for frames being saved. Rename from desktop--save-minibuffer-frames.
6596 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6597 Do not save frames with non-nil `desktop-dont-save' parameter.
6598 Filter out deleted frames.
6599 (desktop--find-frame): Use cl-find-if.
6600 (desktop--select-frame): Use cl-(first|second|third) to access values
6601 of desktop-mini.
6602 (desktop--make-frame): Use cl-delete-if.
6603 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6604 (desktop-restore-frames): Use cl-(first|second|third) to access values
6605 of desktop-mini. Look for visible frame at the end, not while
6606 restoring frames.
6607
6608 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6609 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6610 Use string-match-p, looking-at-p (bug#14927).
6611
6612 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6613
6614 * desktop.el (desktop-saved-frame-states):
6615 Rename from desktop--saved-states; all users changed.
6616 (desktop-save-frames): Rename from desktop--save-frames.
6617 Do not save state to desktop file.
6618 (desktop-save): Save desktop-saved-frame-states to desktop file
6619 and reset to nil.
6620 (desktop-restoring-frames-p): New function.
6621 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6622 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6623 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6624
6625 * desktop.el: Correctly restore iconified frames.
6626 (desktop--filter-iconified-position): New function.
6627 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6628
6629 2013-07-20 Glenn Morris <rgm@gnu.org>
6630
6631 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6632 Let `message' do the formatting.
6633 (def-gdb-preempt-display-buffer): Add explicit format.
6634
6635 * image-dired.el (image-dired-track-original-file):
6636 Use with-current-buffer.
6637 (image-dired-track-thumbnail): Use with-current-buffer.
6638 Avoid changing point of wrong window.
6639
6640 * image-dired.el (image-dired-track-original-file):
6641 Avoid changing point of wrong window. (Bug#14909)
6642
6643 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6644
6645 * progmodes/gdb-mi.el (gdb-done-or-error):
6646 Guard against "%" in gdb output. (Bug#14127)
6647
6648 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6649
6650 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6651 (Bug#14826)
6652
6653 * international/mule.el (coding-system-iso-2022-flags): Fix last
6654 change.
6655
6656 2013-07-20 Kenichi Handa <handa@gnu.org>
6657
6658 * international/mule.el (coding-system-iso-2022-flags):
6659 Add `8-bit-level-4'. (Bug#8522)
6660
6661 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6662
6663 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6664 (bug#14815).
6665
6666 * net/eww.el (eww-process-text-input): Allow inputting when the
6667 point is at the start of the line, as the properties aren't
6668 front-sticky.
6669
6670 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6671 degenerate widths.
6672
6673 2013-07-19 Richard Stallman <rms@gnu.org>
6674
6675 * epa.el (epa-popup-info-window): Doc fix.
6676
6677 * subr.el (split-string): New arg TRIM.
6678
6679 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6680
6681 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6682 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6683
6684 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6685
6686 * filenotify.el (file-notify--library): Rename from
6687 `file-notify-support'. Do not autoload. Adapt all uses.
6688 (file-notify-supported-p): New defun.
6689
6690 * autorevert.el (auto-revert-use-notify):
6691 Use `file-notify-supported-p' instead of `file-notify-support'.
6692 Adapt docstring.
6693 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6694
6695 * net/tramp.el (tramp-file-name-for-operation):
6696 Add `file-notify-supported-p'.
6697
6698 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6699 New defun.
6700 (tramp-sh-file-name-handler-alist): Add it as handler for
6701 `file-notify-supported-p '.
6702
6703 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6704 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6705 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6706 Add `ignore' as handler for `file-notify-*' functions.
6707
6708 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6709
6710 * simple.el (line-move-partial, line-move): Don't start vscroll or
6711 scroll-up if the current line is not taller than the window.
6712 (Bug#14881)
6713
6714 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6715
6716 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6717 highlight question marks in the method names as strings.
6718 (ruby-block-beg-keywords): Inline.
6719 (ruby-font-lock-keyword-beg-re): Extract from
6720 `ruby-font-lock-keywords'.
6721
6722 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6723
6724 * frame.el (blink-cursor-blinks): New defcustom.
6725 (blink-cursor-blinks-done): New defvar.
6726 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6727 (blink-cursor-timer-function): Check if number of blinks has been
6728 done on X and NS.
6729 (blink-cursor-suspend, blink-cursor-check): New defuns.
6730
6731 2013-07-15 Glenn Morris <rgm@gnu.org>
6732
6733 * edmacro.el (edmacro-format-keys): Fix previous change.
6734
6735 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6736
6737 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6738 The hack didn't work outside English locales anyway.
6739
6740 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6741
6742 * simple.el (define-alternatives): Rename from alternatives-define,
6743 per RMS' suggestion.
6744
6745 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6746
6747 * desktop.el (desktop-restore-frames): Change default to t.
6748 (desktop-restore-in-current-display): Now offer more options.
6749 (desktop-restoring-reuses-frames): New customization option.
6750 (desktop--saved-states): Doc fix.
6751 (desktop-filter-parameters-alist): New variable, renamed and expanded
6752 from desktop--excluded-frame-parameters.
6753 (desktop--target-display): New variable.
6754 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6755 (desktop--filter-tty*, desktop--filter-*-color)
6756 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6757 (desktop--filter-save-desktop-parm)
6758 (desktop-restore-in-original-display-p): New functions.
6759 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6760 (desktop--save-minibuffer-frames): New function, inspired by a similar
6761 function from Martin Rudalics.
6762 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6763 (desktop--restore-in-this-display-p): Remove.
6764 (desktop--find-frame): Rename from desktop--find-frame-in-display
6765 and add predicate argument.
6766 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6767 (desktop--reuse-list): New variable.
6768 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6769 New functions.
6770 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6771
6772 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6773
6774 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6775
6776 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6777
6778 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6779 Highlight conversion methods on Kernel.
6780
6781 2013-07-13 Alan Mackenzie <acm@muc.de>
6782
6783 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6784 and comment it out. This out-commenting enables certain C++
6785 declarations to be parsed correctly.
6786
6787 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6788
6789 * international/mule.el (define-coding-system): Doc fix.
6790
6791 * simple.el (default-font-height): Don't call font-info if the
6792 frame's default font didn't change since the frame was created.
6793 (Bug#14838)
6794
6795 2013-07-13 Leo Liu <sdl.web@gmail.com>
6796
6797 * ido.el (ido-read-file-name): Guard against non-symbol value.
6798
6799 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6800
6801 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6802 in nested defuns.
6803
6804 2013-07-13 Leo Liu <sdl.web@gmail.com>
6805
6806 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6807 ido-set-matches call. (Bug#6852)
6808
6809 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6810
6811 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6812 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6813 Ruby 2.0.
6814 (ruby-font-lock-keywords): Distinguish calls to functions with
6815 module-like names from module references. Highlight character
6816 literals.
6817
6818 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6819
6820 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6821 (gdb-send): Handle continued commands. (Bug#14847)
6822
6823 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6824
6825 * desktop.el (desktop--v2s): Remove unused local variable.
6826 (desktop-save-buffer): Make defvar-local; adjust docstring.
6827 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6828 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6829
6830 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6831
6832 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6833
6834 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6835
6836 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6837 (Bug#14842)
6838
6839 2013-07-12 Glenn Morris <rgm@gnu.org>
6840
6841 * doc-view.el: Require cl-lib at runtime too.
6842 (doc-view-remove-if): Remove.
6843 (doc-view-search-next-match, doc-view-search-previous-match):
6844 Use cl-remove-if.
6845
6846 * edmacro.el: Require cl-lib at runtime too.
6847 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6848 (edmacro-mismatch, edmacro-subseq): Remove.
6849
6850 * shadowfile.el: Require cl-lib.
6851 (shadow-remove-if): Remove.
6852 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6853 Use cl-remove-if.
6854
6855 * wid-edit.el: Require cl-lib.
6856 (widget-choose): Use cl-remove-if.
6857 (widget-remove-if): Remove.
6858
6859 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6860 (ebrowse-delete-if-not): Remove.
6861 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6862 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6863 Use cl-delete-if-not.
6864
6865 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6866
6867 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6868 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6869
6870 2013-07-12 Leo Liu <sdl.web@gmail.com>
6871
6872 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6873
6874 2013-07-11 Glenn Morris <rgm@gnu.org>
6875
6876 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6877 (edebug-gensym-index, edebug-gensym):
6878 Remove reimplementation of cl-gensym.
6879 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6880
6881 * thumbs.el: Require cl-lib at run-time too.
6882 (thumbs-gensym-counter, thumbs-gensym):
6883 Remove reimplementation of cl-gensym.
6884 (thumbs-temp-file): Use cl-gensym.
6885
6886 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6887 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6888 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6889 (ert--union, ert--gensym-counter, ert--gensym-counter)
6890 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6891 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6892 (ert-make-test-unbound, ert--expand-should-1)
6893 (ert--expand-should, ert--should-error-handle-error)
6894 (should-error, ert--explain-equal-rec)
6895 (ert--plist-difference-explanation, ert-select-tests)
6896 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6897 Use cl-lib functions rather than reimplementations.
6898
6899 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6900
6901 * net/tramp.el (tramp-methods): Extend docstring.
6902 (tramp-connection-timeout): New defcustom.
6903 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6904 (with-tramp-progress-reporter): Simplify.
6905 (tramp-process-actions): Improve messages.
6906
6907 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6908 * net/tramp-sh.el (tramp-maybe-open-connection):
6909 Use `tramp-connection-timeout'.
6910 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6911 (Bug#14808)
6912
6913 2013-07-11 Leo Liu <sdl.web@gmail.com>
6914
6915 * ido.el (ido-read-file-name): Conform to the requirements of
6916 read-file-name. (Bug#11861)
6917 (ido-read-directory-name): Conform to the requirements of
6918 read-directory-name.
6919
6920 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6921
6922 * subr.el (delay-warning): New function.
6923
6924 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6925
6926 * simple.el (default-line-height): New function.
6927 (line-move-partial, line-move): Use it instead of computing the
6928 line height inline.
6929 (line-move-partial): Always compute ROWH. If the last line is
6930 partially-visible, but its text is completely visible, allow
6931 cursor to enter such a partially-visible line.
6932
6933 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6934
6935 Improve error messages. (Bug#14808)
6936
6937 * net/tramp.el (tramp-current-connection): New defvar, moved from
6938 tramp-sh.el.
6939 (tramp-message-show-progress-reporter-message): Remove, not
6940 needed anymore.
6941 (tramp-error-with-buffer): Show message in minibuffer.
6942 Discard input before waiting. Reset connection timestamp.
6943 (with-tramp-progress-reporter): Improve messages.
6944 (tramp-process-actions): Use progress reporter. Delete process in
6945 case of error. Improve messages.
6946
6947 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6948 Call `tramp-error-with-buffer' with vector and buffer.
6949 (tramp-current-connection): Remove.
6950 (tramp-maybe-open-connection): The car of
6951 `tramp-current-connection' are the first 3 slots of the vector.
6952
6953 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6954
6955 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6956 inside continued strings.
6957
6958 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6959
6960 Timestamp fixes for undo (Bug#14824).
6961 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6962
6963 2013-07-10 Leo Liu <sdl.web@gmail.com>
6964
6965 * files.el (require-final-newline): Allow safe local value.
6966 (Bug#14834)
6967
6968 2013-07-09 Leo Liu <sdl.web@gmail.com>
6969
6970 * ido.el (ido-read-directory-name): Handle fallback.
6971 (ido-read-file-name): Update DIR to ido-current-directory.
6972 (Bug#1516)
6973 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6974
6975 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6976
6977 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6978 "autoload". Remove "warn lower camel case" section, previously
6979 commented out. Highlight negation char. Do not highlight the
6980 target in singleton method definitions.
6981
6982 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6983
6984 * faces.el (tty-setup-hook): Declare the hook.
6985
6986 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6987 and detect when a guard/pred depends on local vars (bug#14773).
6988 (pcase--u1): Adjust caller.
6989
6990 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6991
6992 * simple.el (line-move-partial, line-move): Account for
6993 line-spacing.
6994 (line-move-partial): Avoid setting vscroll when the last
6995 partially-visible line in window is of default height.
6996
6997 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6998
6999 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7000 been used a while.
7001
7002 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7003
7004 * subr.el (read-quoted-char): Remove unused local variable `char'.
7005
7006 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7007
7008 * ediff.el (ediff-version): Version update.
7009 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7010 (ediff-merge-with-ancestor-command, ediff-directories-command)
7011 (ediff-directories3-command, ediff-merge-directories-command)
7012 (ediff-merge-directories-with-ancestor-command): New functions.
7013 All are command-line interfaces to ediff: to facilitate calling
7014 Emacs with the appropriate ediff functions invoked.
7015
7016 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7017 (viper-save-kill-buffer): Check if buffer is modified.
7018
7019 * viper.el (viper-version): Version update.
7020 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7021
7022 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7023
7024 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7025 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7026 (viper-intercept-ESC-key): Simplify.
7027 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7028 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7029 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7030 (viper-setup-ESC-to-escape): New functions.
7031 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7032 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7033
7034 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7035
7036 * simple.el (default-font-height, window-screen-lines):
7037 New functions.
7038 (line-move, line-move-partial): Use them instead of
7039 frame-char-height and window-text-height. This makes scrolling
7040 text smoother when the buffer's default face uses a font that is
7041 different from the frame's default font.
7042
7043 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7044
7045 * files.el (write-file): Do not display confirm dialog for NS,
7046 it does its own dialog, which can't be cancelled (Bug#14578).
7047
7048 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7049
7050 * simple.el (line-move-partial): Adjust the row returned by
7051 posn-at-point for the current window-vscroll. (Bug#14567)
7052
7053 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7054
7055 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7056 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7057 spaces.
7058
7059 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7060
7061 * window.el (window-state-put-stale-windows): New variable.
7062 (window--state-put-2): Save list of windows without matching buffer.
7063 (window-state-put): Remove "bufferless" windows if possible.
7064
7065 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7066
7067 * simple.el (alternatives-define): Remove leftover :group keyword.
7068 Tweak docstring.
7069
7070 2013-07-06 Leo Liu <sdl.web@gmail.com>
7071
7072 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7073 (ido-enable-virtual-buffers): New variable.
7074 (ido-buffer-internal, ido-toggle-virtual-buffers)
7075 (ido-make-buffer-list): Use it.
7076 (ido-exhibit): Support turning on and off virtual buffers
7077 automatically.
7078
7079 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7080
7081 * simple.el (alternatives-define): New macro.
7082
7083 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7084
7085 * subr.el (read-quoted-char): Use read-key.
7086 (sit-for): Let read-event decode tty input (bug#14782).
7087
7088 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7089
7090 * calendar/todo-mode.el: Add handling of file deletion, both by
7091 mode command and externally. Fix various related bugs.
7092 Clarify Commentary and improve some documentation strings and code.
7093 (todo-delete-file): New command.
7094 (todo-check-file): New function.
7095 (todo-show): Handle external deletion of the file we're trying to
7096 show (bug#14688). Replace called-interactively-p by an optional
7097 prefix argument to avoid problematic interaction with catch form
7098 when byte compiled (bug#14702).
7099 (todo-quit): Handle external deletion of the archive's todo file.
7100 Make sure the buffer that was visiting the archive file is still
7101 live before trying to bury it.
7102 (todo-category-completions): Handle external deletion of any
7103 category completion files.
7104 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7105 of todo files, in case of external deletion.
7106 (todo-add-file): Replace unnecessary setq by let-binding.
7107 (todo-find-archive): Check whether there are any archives.
7108 Replace unnecessary setq by let-binding.
7109 (todo-archive-done-item): Use find-file-noselect to get the
7110 archive buffer whether or not the archive already exists.
7111 Remove superfluous code. Use file size instead of buffer-file-name to
7112 check if the archive is new; if it is, update list of archives.
7113 (todo-default-todo-file): Allow nil to be a valid value for when
7114 there are no todo files.
7115 (todo-reevaluate-default-file-defcustom): Use corrected definition
7116 of todo-default-todo-file.
7117 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7118 (todo-delete-category, todo-show-categories-table)
7119 (todo-category-number): Clarify comment.
7120 (todo-filter-items): Clarify documentation string.
7121 (todo-show-current-file, todo-display-as-todo-file)
7122 (todo-reset-and-enable-done-separator): Tweak documentation string.
7123 (todo-done-separator): Make separator length window-width, since
7124 bug#2749 is now fixed.
7125
7126 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7127
7128 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7129 Support both "gvfs-monitor-dir" and "inotifywait".
7130 (tramp-sh-file-inotifywait-process-filter): Rename from
7131 `tramp-sh-file-notify-process-filter'.
7132 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7133 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7134
7135 2013-07-05 Leo Liu <sdl.web@gmail.com>
7136
7137 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7138
7139 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7140
7141 * frame.el (display-pixel-height, display-pixel-width)
7142 (display-mm-height, display-mm-width): Mention behavior on
7143 multi-monitor setups in docstrings.
7144 (w32-display-monitor-attributes-list): Declare function.
7145 (display-monitor-attributes-list): Use it.
7146
7147 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7148
7149 * filenotify.el: New package.
7150
7151 * autorevert.el (top): Require filenotify.el.
7152 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7153 instead.
7154 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7155 (auto-revert-notify-handler): Use `file-notify-*' functions.
7156
7157 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7158
7159 * net/tramp.el (tramp-file-name-for-operation):
7160 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7161
7162 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7163 for `file-notify-add-watch' and `file-notify-rm-watch'.
7164 (tramp-process-sentinel): Improve trace.
7165 (tramp-sh-handle-file-notify-add-watch)
7166 (tramp-sh-file-notify-process-filter)
7167 (tramp-sh-handle-file-notify-rm-watch)
7168 (tramp-get-remote-inotifywait): New defuns.
7169
7170 2013-07-03 Juri Linkov <juri@jurta.org>
7171
7172 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7173 call of `occur-read-primary-args' to interactive spec.
7174
7175 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7176 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7177
7178 2013-07-03 Matthias Meulien <orontee@gmail.com>
7179
7180 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7181 `Buffer-menu-multi-occur'. Add it to the menu.
7182 (Buffer-menu-mode): Document it in docstring.
7183 (Buffer-menu-multi-occur): New command. (Bug#14673)
7184
7185 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7186
7187 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7188 keywords and built-ins.
7189
7190 2013-07-03 Glenn Morris <rgm@gnu.org>
7191
7192 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7193
7194 Make info-xref checks case-sensitive by default
7195 * info.el (Info-find-node, Info-find-in-tag-table)
7196 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7197 Add option for exact case matching of nodes.
7198 * info-xref.el (info-xref): New custom group.
7199 (info-xref-case-fold): New option.
7200 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7201
7202 2013-07-03 Leo Liu <sdl.web@gmail.com>
7203
7204 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7205
7206 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7207
7208 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7209 middle of block statement initially, lower the depth. Remove
7210 FIXME comment, not longer valid. Remove middle of block statement
7211 detection, no need to do that anymore since we've been using
7212 `ruby-parse-region' here.
7213
7214 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7215
7216 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7217
7218 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7219
7220 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7221
7222 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7223
7224 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7225 (desktop-restore-in-current-display): New customization option.
7226 (desktop--excluded-frame-parameters): Add `font'.
7227 (desktop--save-frames): Rename from desktop--save-windows.
7228 (desktop--restore-in-this-display-p): New function.
7229 (desktop--make-full-frame): Remove unwanted width/height from
7230 full(width|height) frames.
7231 (desktop--restore-frames): Rename from desktop--restore-windows.
7232 Obey desktop-restore-current-display. Do not delete old frames or
7233 select a new frame unless we were able to restore at least one frame.
7234
7235 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7236
7237 * files.el (find-file-noselect): Simplify conditional expression.
7238
7239 * remember.el (remember-append-to-file):
7240 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7241
7242 Add `remember-notes' function to store random notes across Emacs
7243 restarts.
7244 * remember.el (remember-data-file): Add :set callback to affect
7245 notes buffer (if any).
7246 (remember-notes): New command.
7247 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7248 New defcustoms for the `remember-notes' function.
7249 (remember-notes-save-and-bury-buffer): New command.
7250 (remember-notes-mode-map): New variable.
7251 (remember-mode): New minor mode.
7252 (remember-notes--kill-buffer-query): New function.
7253 * startup.el (initial-buffer-choice): Add notes to custom type.
7254
7255 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7256
7257 * bindings.el (right-char, left-char): Don't call sit-for, this is
7258 no longer needed. Use arithmetic comparison only for numerical
7259 arguments.
7260
7261 * international/mule-cmds.el (select-safe-coding-system):
7262 Handle the case of FROM being a string correctly. (Bug#14755)
7263
7264 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7265
7266 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7267 progression on degenerate tables.
7268 (shr-rescale-image): ImageMagick animated images currently don't work.
7269
7270 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7271
7272 Some fixes and improvements for desktop frame restoration.
7273 It is still experimental and disabled by default.
7274 * desktop.el (desktop--save-windows): Put the selected frame at
7275 the head of the list.
7276 (desktop--make-full-frame): New function.
7277 (desktop--restore-windows): Try to re-select the frame that was
7278 selected upon saving. Do not abort if some frames fail to restore,
7279 just show an error message and continue. Set up maximized frames
7280 so they have default non-maximized dimensions.
7281
7282 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7283
7284 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7285 Don't start heredoc inside a string or comment.
7286
7287 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7288
7289 * bindings.el (visual-order-cursor-movement): New defcustom.
7290 (right-char, left-char): Provide visual-order cursor motion by
7291 calling move-point-visually. Update the doc strings.
7292
7293 2013-06-28 Kenichi Handa <handa@gnu.org>
7294
7295 * international/mule.el (define-coding-system): New coding system
7296 properties :inhibit-null-byte-detection,
7297 :inhibit-iso-escape-detection, and :prefer-utf-8.
7298 (set-buffer-file-coding-system): If :charset-list property of
7299 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7300 appropriate for setting.
7301
7302 * international/mule-cmds.el (select-safe-coding-system):
7303 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7304 multibyte characters, return utf-8 (or one of its siblings).
7305
7306 * international/mule-conf.el (prefer-utf-8): New coding system.
7307 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7308 files.
7309
7310 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7311
7312 * net/shr.el (shr-render-region): New function.
7313
7314 * net/eww.el: Autoload `eww-browse-url'.
7315
7316 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7317
7318 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7319 Adapt to `package-desc-version' being a list.
7320 Use `package--ac-desc-version' to retrieve version from a package
7321 archive element.
7322
7323 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7324
7325 New experimental feature to save&restore window and frame setup.
7326 * desktop.el (desktop-save-windows): New defcustom.
7327 (desktop--saved-states): New var.
7328 (desktop--excluded-frame-parameters): New defconst.
7329 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7330 (desktop--restore-windows, desktop--save-windows): New functions.
7331 (desktop-save): Call `desktop--save-windows'.
7332 (desktop-read): Call `desktop--restore-windows'.
7333
7334 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7335
7336 * net/shr.el (add-face-text-property): Remove compat definition.
7337
7338 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7339
7340 * info.el (Info-try-follow-nearest-node): Move search for footnote
7341 above search for node name to prevent missing a footnote (bug#14717).
7342
7343 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7344
7345 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7346
7347 2013-06-27 Leo Liu <sdl.web@gmail.com>
7348
7349 * net/eww.el (eww-read-bookmarks): Check file size.
7350
7351 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7352
7353 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7354 advice--pending if newdef is nil or an autoload (bug#13820).
7355 (advice-mapc): New function.
7356
7357 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7358
7359 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7360 probably.
7361 (eww-mode-map): Add a menu bar.
7362 (eww-add-bookmark): New command.
7363 (eww-bookmark-mode): New mode and commands.
7364 (eww-add-bookmark): Remove newlines from the title.
7365 (eww-bookmark-browse): Don't bug out if it's the only window.
7366
7367 2013-06-26 Glenn Morris <rgm@gnu.org>
7368
7369 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7370 (hfy-size): Handle ttys. (Bug#14668)
7371
7372 * info-xref.el: Update for Texinfo 5 change in *note format.
7373 (info-xref-node-re, info-xref-note-re): New constants.
7374 (info-xref-check-buffer): Use info-xref-note-re.
7375
7376 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7377
7378 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7379
7380 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7381 nil terminate the loop (bug#14718).
7382
7383 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7384
7385 * net/eww.el: Rework history traversal. When going forward/back,
7386 put these actions into the history, too, so that they can be
7387 replayed.
7388 (eww-render): Move the history reset to the correct buffer.
7389
7390 2013-06-25 Juri Linkov <juri@jurta.org>
7391
7392 * files-x.el (modify-dir-local-variable): Change the header comment
7393 in the file with directory local variables. (Bug#14692)
7394
7395 * files-x.el (read-file-local-variable-value): Add `default'.
7396 (Bug#14710)
7397
7398 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7399
7400 * net/eww.el (eww-make-unique-file-name): Create a unique file
7401 name before saving to entering `y' accidentally asynchronously.
7402
7403 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7404
7405 * net/eww.el (eww-download): New command and keystroke.
7406
7407 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7408
7409 * net/eww.el (eww-copy-page-url): Change name of command.
7410
7411 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7412 be more consistent with Info and dired.
7413
7414 * net/eww.el (eww-mode-map): Ditto.
7415
7416 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7417
7418 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7419 packages from archives.
7420 (package-archive-contents): Change format; include obsolete packages.
7421 (package-desc): Use `dir' to mark builtin packages.
7422 (package--from-builtin): Set the `dir' field to `builtin'.
7423 (generated-autoload-file, version-control): Declare.
7424 (package-compute-transaction): Change first arg and return value to be
7425 lists of package-descs. Adjust to new package-archive-contents format.
7426 (package--add-to-archive-contents): Adjust to new
7427 package-archive-contents format.
7428 (package-download-transaction): Arg is now a list of package-descs.
7429 (package-install): If `pkg' is a package name, pass it as
7430 a requirement, so it is subject to the usual (e.g. disabled) checks.
7431 (describe-package): Accept package-desc as well.
7432 (describe-package-1): Describe a specific package-desc. Add links to
7433 other package-descs for the same package name.
7434 (package-menu-describe-package): Pass the actual package-desc.
7435 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7436 works correctly.
7437 (package-desc-status): New function.
7438 (package-menu--refresh): New function, extracted
7439 from package-menu--generate.
7440 (package-menu--generate): Use it.
7441 (package-delete): Update package-alist.
7442 (package-menu-execute): Don't call package-initialize.
7443
7444 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7445 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7446 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7447 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7448 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7449 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7450
7451 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7452
7453 * window.el (window--state-get-1): Workaround for bug#14527.
7454 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7455
7456 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7457
7458 * net/eww.el (eww-back-url): Implement the history by stashing all
7459 the data into a list.
7460 (eww-forward-url): Allow going forward in the history, too.
7461
7462 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7464 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7465 for values and use read--expression for expressions (bug#14710).
7466 (read-file-local-variable): Avoid setq.
7467 (read-file-local-variable-mode): Use minor-mode-list.
7468
7469 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7470
7471 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7472 for DOI URLs.
7473
7474 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7475
7476 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7477 Update imenu-support when dialect changes.
7478
7479 2013-06-25 Leo Liu <sdl.web@gmail.com>
7480
7481 * ido.el (ido-read-internal): Allow forward slash on windows.
7482
7483 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7484
7485 * net/eww.el (eww): Start of strings is \\`, not ^.
7486
7487 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7488
7489 * net/shr.el (shr-browse-url): Fix interactive spec.
7490
7491 * net/eww.el (eww): Add a trailing slash to domain names.
7492
7493 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7494
7495 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7496
7497 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7498
7499 * net/shr.el (shr-browse-url): Use an external browser if given a
7500 prefix.
7501
7502 * net/eww.el (eww-external-browser): Move to shr.
7503
7504 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7505
7506 * net/eww.el (eww): Work more correctly for file: URLs.
7507 (eww-detect-charset): Allow quoted charsets.
7508 (eww-yank-page-url): New command and keystroke.
7509
7510 2013-06-24 Daiki Ueno <ueno@gnu.org>
7511
7512 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7513 file name of gpg executable.
7514 (epg-context-program): New function.
7515 (epg-context-home-directory): New function.
7516 (epg-context-set-program): New function.
7517 (epg-context-set-home-directory): New function.
7518 (epg--start): Use `epg-context-program' instead of
7519 'epg-gpg-program'.
7520 (epg--list-keys-1): Likewise.
7521
7522 2013-06-24 Leo Liu <sdl.web@gmail.com>
7523
7524 * ido.el (ido-read-internal): Fix bug#14620.
7525
7526 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7527
7528 * faces.el (face-documentation): Simplify.
7529 (read-face-attribute, tty-find-type, x-resolve-font-name):
7530 Use `string-match-p'.
7531 (list-faces-display): Use `string-match-p'. Simplify.
7532 (face-spec-recalc): Check face to avoid face alias loops.
7533 (read-color): Use `string-match-p' and non-capturing parenthesis.
7534
7535 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7536
7537 * net/shr.el (shr-rescale-image): Use the new
7538 :max-width/:max-height functionality.
7539
7540 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7541
7542 * net/eww.el (eww-search-prefix): New variable.
7543 (eww): Use it.
7544 (eww-external-browser): New variable.
7545 (eww-mode-map): New keystroke.
7546 (eww-browse-with-external-browser): New command.
7547
7548 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7549
7550 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7551
7552 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7553 Don't skip aligning the next header field when padding is 0;
7554 otherwise, field width is not respected unless the title is as
7555 wide as the field.
7556
7557 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * emacs-lisp/package.el (package-el-version): Remove.
7560 (package-process-define-package): Fix inf-loop.
7561 (package-install): Allow symbols as arguments again.
7562
7563 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7564
7565 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7566 add some more keyword-like methods.
7567 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7568
7569 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7570
7571 * bs.el (bs-buffer-show-mark): Make defvar-local.
7572 (bs-mode): Use setq-local.
7573
7574 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7575 (emacs-lock--try-unlocking): Make defvar-local.
7576
7577 2013-06-22 Glenn Morris <rgm@gnu.org>
7578
7579 * play/cookie1.el (cookie-apropos): Minor simplification.
7580
7581 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7582
7583 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7584
7585 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7586 `regexp-opt', it breaks the build during dumping.
7587
7588 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7589
7590 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7591 Highlight keyword-like methods on Kernel and Module with
7592 font-lock-builtin-face.
7593 (auto-mode-alist): Consolidate different entries into one regexp
7594 and add more *file-s.
7595
7596 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7597
7598 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7599
7600 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7601 (diary-entry): Use it in the action of this button type instead of
7602 diary-goto-entry.
7603
7604 * calendar/todo-mode.el: New version.
7605 (todo-add-category): Append new category to end of file and give
7606 it the highest number, instead of putting it at the beginning and
7607 giving it 0. Incorporate noninteractive functionality.
7608 (todo-forward-category): Adapt to 1-based category numbering.
7609 Allow skipping over archived categories.
7610 (todo-backward-category): Derive from todo-forward-category.
7611 (todo-backward-item, todo-forward-item): Make noninteractive and
7612 delegate interactive part to new commands. Make sensitive to done items.
7613 (todo-categories): Make value an alist of category names and
7614 vectors of item counts.
7615 (todo-category-beg): Make a defconst.
7616 (todo-category-number): Use 1 instead of 0 as initial value.
7617 (todo-category-select): Make sensitive to overlays, optional item
7618 highlighting and done items.
7619 (todo-delete-item): Make sensitive to overlays and marked and done items.
7620 (todo-edit-item): Make sensitive to overlays and editing of
7621 date/time header optional. Add format checks.
7622 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7623 no-op if point is not on an item. Advertise using todo-edit-quit.
7624 (todo-edit-mode): Make sensitive to new format, font-locking, and
7625 multiple todo files.
7626 (todo-insert-item, todo-insert-item-here): Derive from
7627 todo-basic-insert-item and extend functionality.
7628 (todo-item-end, todo-item-start): Make sensitive to done items.
7629 (todo-item-string): Don't return text properties. Restore point.
7630 (todo-jump-to-category): Make sensitive to multiple todo files and
7631 todo archives. Use extended category completion.
7632 (todo-lower-item, todo-raise-item): Rename to *-priority and
7633 derive from todo-set-item-priority.
7634 (todo-mode): Derive from special-mode. Make sensitive to new
7635 format, font-locking and multiple todo files. Make read-only.
7636 (todo-mode-map): Don't suppress digit keys, so they can supply
7637 prefix arguments. Add many new key bindings.
7638 (todo-prefix): Insert as an overlay instead of file text.
7639 Change semantics from diary date expression to purely visual mark.
7640 (todo-print): Rename to todo-print-buffer. Make buffer display
7641 features printable. Remove option to restrict number of items
7642 printed. Add option to print to file.
7643 (todo-print-function): Rename to todo-print-buffer-function.
7644 (todo-quit): Extend to handle exiting new todo modes.
7645 (todo-remove-item): Make sensitive to overlays.
7646 (todo-save): Extend to buffers of filtered items.
7647 (todo-show): Make sensitive to done items, multiple todo files and
7648 new todo modes. Offer to convert legacy todo file before creating
7649 first new todo file.
7650 (todo-show-priorities): Rename to todo-top-priorities.
7651 Change semantics of value 0.
7652 (todo-top-priorities): Rename to todo-filter-top-priorities,
7653 derive from todo-filter-items and extend functionality.
7654 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7655 and extend functionality to other types of filtered items.
7656 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7657 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7658 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7659 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7660 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7661 (todo-edit-mode-hook, todo-entry-prefix-function)
7662 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7663 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7664 (todo-initials, todo-insert-threshold, todo-item-string-start)
7665 (todo-line-string, todo-menu, todo-mode-hook)
7666 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7667 (todo-print-priorities, todo-remove-separator)
7668 (todo-save-top-priorities-too, todo-string-count-lines)
7669 (todo-string-multiline-p, todo-time-string-format)
7670 (todo-tmp-buffer-name): Remove.
7671 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7672 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7673 (todo-edit-category-diary-inclusion)
7674 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7675 (todo-edit-file, todo-edit-item-date-day)
7676 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7677 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7678 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7679 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7680 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7681 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7682 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7683 (todo-filter-top-priorities-multifile, todo-find-archive)
7684 (todo-find-filtered-items-file, todo-go-to-source-item)
7685 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7686 (todo-jump-to-archive-category, todo-lower-category)
7687 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7688 (todo-move-category, todo-move-item, todo-next-button)
7689 (todo-next-item, todo-padded-string, todo-powerset)
7690 (todo-previous-button, todo-previous-item)
7691 (todo-print-buffer-to-file, todo-raise-category)
7692 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7693 (todo-set-category-number, todo-set-item-priority)
7694 (todo-set-top-priorities-in-category)
7695 (todo-set-top-priorities-in-file, todo-show-categories-table)
7696 (todo-sort-categories-alphabetically-or-numerically)
7697 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7698 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7699 (todo-toggle-item-header, todo-toggle-item-highlighting)
7700 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7701 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7702 (todo-unarchive-items, todo-unmark-category): New commands.
7703 (todo-absolute-file-name, todo-add-to-buffer-list)
7704 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7705 (todo-basic-insert-item, todo-category-completions)
7706 (todo-category-number, todo-category-string-matcher-1)
7707 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7708 (todo-check-format, todo-clear-matches)
7709 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7710 (todo-current-category, todo-date-string-matcher)
7711 (todo-define-insertion-command, todo-diary-expired-matcher)
7712 (todo-diary-goto-entry, todo-diary-item-p)
7713 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7714 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7715 (todo-done-item-section-p, todo-done-separator)
7716 (todo-done-string-matcher, todo-files, todo-filter-items)
7717 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7718 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7719 (todo-insert-category-line, todo-insert-item-from-calendar)
7720 (todo-insert-sort-button, todo-insert-with-overlays)
7721 (todo-insertion-command-name, todo-insertion-key-bindings)
7722 (todo-label-to-key, todo-longest-category-name-length)
7723 (todo-make-categories-list, todo-mode-external-set)
7724 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7725 (todo-modes-set-3, todo-multiple-filter-files)
7726 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7727 (todo-read-category, todo-read-date, todo-read-dayname)
7728 (todo-read-file-name, todo-read-time)
7729 (todo-reevaluate-category-completions-files-defcustom)
7730 (todo-reevaluate-default-file-defcustom)
7731 (todo-reevaluate-filelist-defcustoms)
7732 (todo-reevaluate-filter-files-defcustom)
7733 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7734 (todo-reset-done-separator, todo-reset-done-separator-string)
7735 (todo-reset-done-string, todo-reset-global-current-todo-file)
7736 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7737 (todo-reset-prefix, todo-set-categories)
7738 (todo-set-date-from-calendar, todo-set-show-current-file)
7739 (todo-set-top-priorities, todo-short-file-name)
7740 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7741 (todo-total-item-counts, todo-update-buffer-list)
7742 (todo-update-categories-display, todo-update-categories-sexp)
7743 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7744 New functions.
7745 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7746 New major modes.
7747 (todo-categories, todo-display, todo-edit, todo-faces)
7748 (todo-filtered): New defgroups.
7749 (todo-archived-only, todo-button, todo-category-string, todo-date)
7750 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7751 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7752 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7753 (todo-add-item-if-new-category, todo-always-add-time-string)
7754 (todo-categories-align, todo-categories-archived-label)
7755 (todo-categories-category-label, todo-categories-diary-label)
7756 (todo-categories-done-label, todo-categories-number-separator)
7757 (todo-categories-todo-label, todo-categories-totals-label)
7758 (todo-category-completions-files, todo-completion-ignore-case)
7759 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7760 (todo-done-separator-string, todo-done-string)
7761 (todo-files-function, todo-filter-done-items, todo-filter-files)
7762 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7763 (todo-initial-category, todo-initial-file, todo-item-mark)
7764 (todo-legacy-date-time-regexp, todo-mode-line-function)
7765 (todo-nondiary-marker, todo-number-prefix)
7766 (todo-print-buffer-function, todo-show-current-file)
7767 (todo-show-done-only, todo-show-first, todo-show-with-done)
7768 (todo-skip-archived-categories, todo-top-priorities-overrides)
7769 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7770 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7771 New defcustoms.
7772 (todo-category-done, todo-date-pattern, todo-date-string-start)
7773 (todo-diary-items-buffer, todo-done-string-start)
7774 (todo-filtered-items-buffer, todo-item-start)
7775 (todo-month-abbrev-array, todo-month-name-array)
7776 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7777 (todo-top-priorities-buffer): New defconsts.
7778 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7779 (todo-categories-with-marks, todo-category-string-face)
7780 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7781 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7782 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7783 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7784 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7785 (todo-font-lock-keywords, todo-global-current-todo-file)
7786 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7787 (todo-insertion-commands-args)
7788 (todo-insertion-commands-args-genlist)
7789 (todo-insertion-commands-names, todo-insertion-map)
7790 (todo-key-bindings-t, todo-key-bindings-t+a)
7791 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7792 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7793 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7794 (todo-visited): New variables.
7795
7796 2013-06-21 Glenn Morris <rgm@gnu.org>
7797
7798 * play/cookie1.el (cookie-apropos): Add optional display argument.
7799 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7800 (psychoanalyze-pinhead): Use cookie-doctor.
7801
7802 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7803
7804 * emacs-lisp/package.el (tar-get-file-descriptor)
7805 (tar--extract): Declare.
7806
7807 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7808
7809 Extend flymake's warning predicate to be a function (bug#14217).
7810 * progmodes/flymake.el (flymake-warning-predicate): New.
7811 (flymake-parse-line): Use it.
7812 (flymake-warning-re): Make obsolete alias to
7813 `flymake-warning-predicate'.
7814
7815 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7816
7817 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7818 (package-obsolete-list): Remove.
7819 (package-activate): Remove min-version argument. Add `force' argument.
7820 Adjust to new package-alist format.
7821 (package-mark-obsolete): Remove.
7822 (package-unpack): Force reload of the package's autoloads.
7823 (package-installed-p): Check builtins if the installed package is not
7824 recent enough.
7825 (package-initialize): Don't reset package-obsolete-list.
7826 Don't specify which package version to activate.
7827 (package-process-define-package, describe-package-1)
7828 (package-menu--generate): Adjust to new package-alist format.
7829
7830 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7831
7832 * allout-widgets.el (allout-widgets-mode-off)
7833 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7834 (allout-widgets-post-command-business)
7835 (allout-widgets-after-copy-or-kill-function)
7836 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7837 (allout-decorate-item-and-context)
7838 (allout-graphics-modification-handler): Fix typos in docstrings.
7839 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7840
7841 * cmuscheme.el (scheme-start-file): Doc fix.
7842 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7843 (scheme-input-filter): Use `string-match-p'.
7844
7845 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7846
7847 * dired-x.el: Use Dired consistently in docstrings.
7848
7849 * dired.el: Use Dired consistently in docstrings.
7850 (dired-readin, dired-mode): Use `setq-local'.
7851 (dired-switches-alist): Make defvar-local.
7852 (dired-buffers-for-dir): Use `zerop'.
7853 (dired-safe-switches-p, dired-switches-escape-p)
7854 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7855 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7856 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7857 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7858 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7859 (dired-toggle-marks, dired-mark-files-containing-regexp)
7860 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7861 (dired-flag-auto-save-files, dired-flag-backup-files):
7862 Use `looking-at-p'.
7863 (dired-mark-files-regexp, dired-build-subdir-alist):
7864 Use `string-match-p', `looking-at-p'.
7865
7866 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7867 (direct-print-region-helper): Use `string-match-p'.
7868
7869 2013-06-21 Leo Liu <sdl.web@gmail.com>
7870
7871 * comint.el (comint-redirect-results-list-from-process):
7872 Fix infinite loop.
7873
7874 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7875
7876 * net/eww.el (eww-update-header-line-format): Quote % characters.
7877
7878 2013-06-21 Glenn Morris <rgm@gnu.org>
7879
7880 * play/cookie1.el (cookie): New custom group.
7881 (cookie-file): New option.
7882 (cookie-check-file): New function.
7883 (cookie): Make it interactive. Make start and end messages optional.
7884 Interactively, display the result. Default to cookie-file.
7885 (cookie-insert): Default to cookie-file.
7886 (cookie-snarf): Make start and end messages optional.
7887 Default to cookie-file. Use with-temp-buffer.
7888 (cookie-read): Rename from read-cookie.
7889 Make start and end messages optional. Default to cookie-file.
7890 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7891 Do not autoload it.
7892 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7893 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7894
7895 2013-06-21 Leo Liu <sdl.web@gmail.com>
7896
7897 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7898
7899 2013-06-21 Glenn Morris <rgm@gnu.org>
7900
7901 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7902
7903 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7904 Daniel Hackney <dan@haxney.org>
7905
7906 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7907 Consolidate the single-file vs tarball code.
7908 (package-desc-suffix): New function.
7909 (package-desc-full-name): Don't bother inlining it.
7910 (package-load-descriptor): Return the new package-desc.
7911 (package-mark-obsolete): Remove unused arg `package'.
7912 (package-unpack): Make it work for single files as well.
7913 Make it update package-alist.
7914 (package--make-autoloads-and-stuff): Rename from
7915 package--make-autoloads-and-compile. Don't compile any more.
7916 (package--compile): New function.
7917 (package-generate-description-file): New function, extracted from
7918 package-unpack-single.
7919 (package-unpack-single): Remove.
7920 (package--with-work-buffer): Add indentation and debugging info.
7921 (package-download-single): Remove.
7922 (package-install-from-archive): Rename from package-download-tar, make
7923 it take a pkg-desc, and make it work for single files as well.
7924 (package-download-transaction): Simplify.
7925 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7926 external tar program.
7927 (package-install-from-buffer): Remove `pkg-desc' argument.
7928 Use package-tar-file-info for tar-mode buffers.
7929 (package-install-file): Simplify accordingly.
7930 (package-archive-base): Change to take a pkg-desc.
7931 * tar-mode.el (tar--check-descriptor): New function, extracted from
7932 tar-get-descriptor.
7933 (tar-get-descriptor): Use it.
7934 (tar-get-file-descriptor): New function.
7935 (tar--extract): New function, extracted from tar-extract.
7936 (tar--extract): Use it.
7937 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7938 case the summary uses non-ascii. Adjust to new calling convention of
7939 package-tar-file-info.
7940
7941 2013-06-21 Leo Liu <sdl.web@gmail.com>
7942
7943 * comint.el (comint-redirect-results-list-from-process):
7944 Fix random delay. (Bug#14681)
7945
7946 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7947
7948 * profiler.el (profiler-format-number): Use log, not log10.
7949
7950 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7951
7952 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7953
7954 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7957 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7958 yet available.
7959 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7960 (AUTOGENEL): ... here.
7961 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7962 (cl--defsubst-expand): Use it.
7963
7964 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7965
7966 * subr.el (log10): Move here from C code, and declare as obsolete.
7967 All uses of (log10 X) replaced with (log X 10).
7968
7969 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7970
7971 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7972 Declare with `defvar-local'.
7973 (tabulated-list-use-header-line, tabulated-list-entries)
7974 (tabulated-list-padding, tabulated-list-printer)
7975 (tabulated-list-sort-key): Declare with `defvar-local'.
7976 (tabulated-list-init-header, tabulated-list-print-fake-header):
7977 Use `setq-local'.
7978
7979 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7980
7981 * arc-mode.el (archive-mode): Add `archive-write-file' to
7982 `write-contents-functions' also for remote files. (Bug#14652)
7983
7984 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7985
7986 * cus-edit.el (custom-commands): Fix typos.
7987 (custom-display): Fix tooltip text.
7988 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7989 Fix typos in docstrings.
7990 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7991 (custom-unlispify-menu-entry, custom-magic-value-create)
7992 (custom-add-see-also, custom-group-value-create): Use ?\s.
7993 (custom-guess-type, customize-apropos, editable-field)
7994 (custom-face-value-create): Use `string-match-p'.
7995 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7996
7997 * custom.el (custom-load-symbol): Use `string-match-p'.
7998
7999 * ansi-color.el: Convert to lexical binding.
8000 (ansi-colors): Fix URL.
8001 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8002 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8003 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8004
8005 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8006
8007 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8008
8009 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8010
8011 2013-06-19 Tom Tromey <tromey@redhat.com>
8012
8013 * net/eww.el (eww-top-url): Remove.
8014 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8015 (eww-render): Set new variables. Don't set eww-top-url.
8016 (eww-handle-link): Handle "prev", "home", and "contents".
8017 Downcase the rel text.
8018 (eww-top-url): Choose best top URL.
8019
8020 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8021
8022 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8023 relying in widget.el. Using widget.el leads to too many
8024 user interface inconsistencies.
8025 (eww-self-insert): Implement entering commands in text fields.
8026 (eww-process-text-input): New function to make text input field editing
8027 work.
8028 (eww-submit): Rewrite to use the new-style form methods.
8029 (eww-select-display): Display the correct selected item.
8030 (eww-change-select): Implement changing the select value.
8031 (eww-toggle-checkbox): Implement radio/checkboxes.
8032 (eww-update-field): Fix compilation error.
8033 (eww-tag-textarea): Implement <textarea>.
8034
8035 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8036 we don't shadow mode-specific bindings.
8037
8038 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8039 nothing to push.
8040
8041 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8042
8043 2013-06-19 Glenn Morris <rgm@gnu.org>
8044
8045 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8046
8047 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8048
8049 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8050 not needed.
8051
8052 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8053
8054 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8055
8056 * net/browse-url.el (browse-url-browser-function):
8057 `eww-browse-url' has the right calling signature, `eww' does not.
8058
8059 2013-06-19 Glenn Morris <rgm@gnu.org>
8060
8061 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8062 Only eval autoloaded macros.
8063 (byte-compile-autoload): Only give the macro warning for macros.
8064
8065 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8066 (ps-underlined-faces): Declare.
8067
8068 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8069 (speedbar-add-supported-extension): Declare.
8070
8071 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8072 Don't include a date stamp in the header of the generated file;
8073 it leads to needless differences between output files.
8074
8075 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8076
8077 * net/secrets.el (secrets-struct-secret-content-type):
8078 Replace check of introspection data by a test call of "CreateItem".
8079 Some servers do not offer introspection.
8080
8081 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8082
8083 * electric.el (electric-pair-mode): Improve interaction with
8084 electric-layout-mode.
8085 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8086 (electric-pair-syntax): Use text-mode-syntax-table in comments
8087 and strings.
8088 (electric-pair--insert): New function.
8089 (electric-pair-post-self-insert-function): Use it and
8090 electric--after-char-pos.
8091
8092 2013-06-19 Leo Liu <sdl.web@gmail.com>
8093
8094 * progmodes/octave.el (octave-help): Fix regexp.
8095
8096 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8097
8098 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8099 (shr-table-horizontal-line): Allow nil as a value, and change the
8100 default.
8101 (shr-insert-table-ruler): Respect the nil value.
8102
8103 2013-06-18 Tom Tromey <tromey@barimba>
8104
8105 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8106 New defvars.
8107 (eww-open-file): New defun.
8108 (eww-render): Initialize new variables.
8109 (eww-display-html): Handle "link" and "a".
8110 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8111 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8112 (eww-back-url): Rename from eww-previous-url.
8113 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8114 New defuns.
8115
8116 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8117
8118 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8119 Distinguish ternary operator tokens from slash symbol and slash
8120 char literal.
8121
8122 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8123
8124 Convert symbol prettification into minor mode and global minor mode.
8125
8126 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8127 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8128 (prettify-symbols--keywords): Rename from
8129 `prog-prettify-symbols-alist' and make a local defvar.
8130 (prettify-symbols--compose-symbol): Rename from
8131 `prog--prettify-font-lock-compose-symbol'.
8132 (prettify-symbols--make-keywords): Rename from
8133 `prog-prettify-font-lock-symbols-keywords' and simplify.
8134 (prog-prettify-install): Remove.
8135 (prettify-symbols-mode): New minor mode, based on
8136 `prog-prettify-install'.
8137 (turn-on-prettify-symbols-mode): New function.
8138 (global-prettify-symbols-mode): New globalized minor mode.
8139
8140 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8141 * progmodes/cfengine.el (cfengine3-mode):
8142 * progmodes/perl-mode.el (perl-mode): Don't call
8143 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8144
8145 2013-06-18 Juri Linkov <juri@jurta.org>
8146
8147 * files-x.el (modify-file-local-variable-message): New function.
8148 (modify-file-local-variable)
8149 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8150 and call `modify-file-local-variable-message' when it's non-nil.
8151 (add-file-local-variable, delete-file-local-variable)
8152 (add-file-local-variable-prop-line)
8153 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8154 and use it. (Bug#9820)
8155
8156 2013-06-18 Juri Linkov <juri@jurta.org>
8157
8158 * emulation/vi.el (vi-shell-op):
8159 * emulation/vip.el (vip-execute-com, ex-command):
8160 * emulation/viper-cmd.el (viper-exec-bang):
8161 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8162 the call of `shell-command-on-region'. (Bug#14637)
8163
8164 * simple.el (shell-command-on-region): Doc fix.
8165
8166 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8167
8168 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8169 (bug#14633).
8170
8171 2013-06-18 Glenn Morris <rgm@gnu.org>
8172
8173 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8174
8175 * newcomment.el (comment-search-forward, comment-search-backward):
8176 Doc fix. (Bug#14376)
8177
8178 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8179
8180 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8181 (buffer-face-mode-invoke): Doc fix.
8182
8183 2013-06-18 Matthias Meulien <orontee@gmail.com>
8184
8185 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8186 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8187
8188 2013-06-18 Glenn Morris <rgm@gnu.org>
8189
8190 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8191 Replace obsolete function generic-make-keywords with its expansion.
8192
8193 * progmodes/python.el (ffap-alist): Declare.
8194
8195 * textmodes/reftex.el (bibtex-mode-map): Declare.
8196
8197 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8198
8199 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8200 (package-unpack, package-unpack-single): Return the pkg-dir.
8201 (package-download-transaction): Use it to update package-alist.
8202
8203 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8204
8205 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8206 possible choice.
8207
8208 2013-06-17 Juri Linkov <juri@jurta.org>
8209
8210 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8211
8212 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8213
8214 * emacs-lisp/package.el (package-load-descriptor):
8215 Remove `with-syntax-table' call, `read' doesn't need it.
8216 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8217
8218 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8219
8220 * startup.el (command-line): Expand package name returned by
8221 `package--description-file' (bug#14639).
8222
8223 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8224
8225 * emacs-lisp/package.el (package-load-descriptor): Do not call
8226 `emacs-lisp-mode', just use its syntax table.
8227
8228 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8229
8230 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8231 `font-lock-extra-managed-props' if any prettifying keyword is added.
8232 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8233 (prog-mode): Use `setq-local'.
8234
8235 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8236
8237 * international/characters.el (standard-case-table): Set syntax of ?»
8238 and ?« to punctuation.
8239
8240 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8241
8242 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8243 Save relevant match data before calling `syntax-ppss' (bug#14595).
8244
8245 2013-06-15 Juri Linkov <juri@jurta.org>
8246
8247 * files-x.el (modify-file-local-variable-prop-line): Add local
8248 variables to the end of the existing comment on the first line.
8249 Use `file-auto-mode-skip' to skip interpreter magic line,
8250 and also skip XML declaration.
8251
8252 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8253
8254 * startup.el (package--builtin-versions): New var.
8255 (package-subdirectory-regexp): Remove.
8256 (package--description-file): Hard code its value instead.
8257
8258 * emacs-lisp/package.el: Don't activate packages older than builtin.
8259 (package-obsolete-list): Rename from package-obsolete-alist, and make
8260 it into a simple list of package-desc.
8261 (package-strip-version): Remove.
8262 (package-built-in-p): Use package--builtin-versions.
8263 (package-mark-obsolete): Simplify.
8264 (package-process-define-package): Mark it obsolete if older than the
8265 builtin version.
8266 (package-handle-response): Use line-end-position.
8267 (package-read-archive-contents, package--download-one-archive):
8268 Simplify.
8269 (package--add-to-archive-contents): Skip if older than the builtin or
8270 installed version.
8271 (package-menu-describe-package): Fix last change.
8272 (package-list-unversioned): New var.
8273 (package-menu--generate): Use it.
8274
8275 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8276 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8277 (autoload-builtin-package-versions): New variable.
8278 (autoload-generate-file-autoloads): Use them.
8279 Remove the list of autoloaded functions/macros from the
8280 (autoload...) comments.
8281
8282 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8283
8284 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8285
8286 * simple.el (line-move-partial): Don't jump to the next screen
8287 line as soon as it becomes visible. Instead, continue enlarging
8288 the vscroll until the portion of a tall screen line that's left on
8289 display is about the height of the frame's default font.
8290 (Bug#14567)
8291
8292 2013-06-15 Glenn Morris <rgm@gnu.org>
8293
8294 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8295 compilation-error-regexp-alist void, or local while let-bound.
8296
8297 * progmodes/make-mode.el (makefile-mode-syntax-table):
8298 Treat "=" as punctuation. (Bug#14614)
8299
8300 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8301
8302 * help-fns.el (describe-variable):
8303 Add extra line for permanent-local variables.
8304
8305 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8306
8307 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8308 Add export, import, library. (Bug#9164)
8309 (library): Set indent function.
8310
8311 2013-06-14 Glenn Morris <rgm@gnu.org>
8312
8313 * term/xterm.el (xterm--query):
8314 Stop after first matching handler. (Bug#14615)
8315
8316 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8317
8318 Add support for dired in saveplace.
8319 * dired.el (dired-initial-position-hook): New variable.
8320 (dired-initial-position): Call hook to place cursor position.
8321 * saveplace.el (save-place-to-alist): Add dired position.
8322 (save-place-dired-hook): New function.
8323
8324 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8325
8326 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8327 through a symbol rather than letrec.
8328
8329 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8330 (package-desc): Add `dir' field.
8331 (package-desc-full-name): New function.
8332 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8333 (package-maybe-load-descriptor): Remove.
8334 (package-load-all-descriptors): Just call package-load-descriptor.
8335 (package--disabled-p): New function.
8336 (package-desc-vers, package-desc-doc): Remove aliases.
8337 (package--dir): Remove function.
8338 (package-activate): Check if a package is disabled.
8339 (package-process-define-package): New function, extracted from
8340 define-package.
8341 (define-package): Turn into a place holder.
8342 (package-unpack-single, package-tar-file-info):
8343 Use package--description-file.
8344 (package-compute-transaction): Use package--disabled-p.
8345 (package-download-transaction): Don't call
8346 package-maybe-load-descriptor since they're all loaded anyway.
8347 (package-install): Change argument to be a pkg-desc.
8348 (package-delete): Use a single pkg-desc argument.
8349 (describe-package-1): Use package-desc-dir instead of package--dir.
8350 Use package-desc property instead of package-symbol.
8351 (package-install-button-action): Adjust accordingly.
8352 (package--push): Rewrite.
8353 (package-menu--print-info): Adjust accordingly. Change the ID format
8354 to be a pkg-desc.
8355 (package-menu-describe-package, package-menu-get-status)
8356 (package-menu--find-upgrades, package-menu-mark-upgrades)
8357 (package-menu-execute, package-menu--name-predicate):
8358 Adjust accordingly.
8359 * startup.el (package--description-file): New function.
8360 (command-line): Use it.
8361 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8362 Use package-desc-version.
8363
8364 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8365 (byte-compile-preprocess): Use it.
8366 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8367 can't quite recognize.
8368 (byte-compile-add-to-list): Remove.
8369 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8370 (cconv-closure-convert): Add assertion.
8371
8372 * emacs-lisp/map-ynp.el: Use lexical-binding.
8373 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8374 Factor out some repeated code.
8375
8376 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8377
8378 * subr.el (with-eval-after-load): New macro.
8379 (eval-after-load): Allow form to be a function.
8380 take advantage of lexical-binding.
8381 (do-after-load-evaluation): Use dolist and adjust to new format.
8382 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8383
8384 2013-06-13 Juri Linkov <juri@jurta.org>
8385
8386 * replace.el (perform-replace): Display "symbol " and other search
8387 modes from `isearch-message-prefix' in the *Help* buffer.
8388
8389 * isearch.el (isearch-query-replace): Add " symbol" and other
8390 possible search modes from `isearch-message-prefix' to the prompt.
8391 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8392 when reading a regexp to collect.
8393
8394 2013-06-13 Juri Linkov <juri@jurta.org>
8395
8396 * isearch.el (word-search-regexp): Match whitespace if the search
8397 string begins or ends in whitespace. The LAX arg is applied to
8398 both ends of the search string. Use `regexp-quote' and explicit
8399 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8400 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8401 boundaries are replaced with symbol boundaries, and characters
8402 between symbols match non-word non-symbol syntax. (Bug#14602)
8403
8404 2013-06-13 Juri Linkov <juri@jurta.org>
8405
8406 * isearch.el (isearch-del-char): Don't exceed the length of
8407 `isearch-string' by the prefix arg. (Bug#14563)
8408
8409 2013-06-13 Juri Linkov <juri@jurta.org>
8410
8411 * isearch.el (isearch-yank-word, isearch-yank-line)
8412 (isearch-char-by-name, isearch-quote-char)
8413 (isearch-printing-char, isearch-process-search-char):
8414 Add optional count prefix arg. (Bug#14563)
8415
8416 * international/isearch-x.el
8417 (isearch-process-search-multibyte-characters):
8418 Add optional count prefix arg.
8419
8420 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8421
8422 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8423 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8424 lexical-binding.
8425
8426 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8427
8428 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8429
8430 2013-06-13 Glenn Morris <rgm@gnu.org>
8431
8432 * startup.el (tty-handle-args):
8433 Don't just discard "--" and anything after. (Bug#14608)
8434
8435 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8436
8437 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8438
8439 Implement changes in Secret Service API. Make it backward compatible.
8440 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8441 (secrets-create-item): Use it. Prefix properties with interface.
8442
8443 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8444
8445 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8446 (term-emulate-terminal): Respect term-suppress-hard-newline.
8447
8448 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8449
8450 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8451 Only remove a `thumb-file' overlay. (Bug#14548)
8452
8453 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8454
8455 * mail/reporter.el (reporter-submit-bug-report):
8456 Handle missing package-name. (Bug#14600)
8457
8458 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8459
8460 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8461 (reftex-citation-prompt, reftex-default-bibliography)
8462 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8463 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8464 (reftex-bib-sort-author, reftex-bib-sort-year)
8465 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8466 (reftex-extract-bib-entries-from-thebibliography)
8467 (reftex-get-bibkey-default, reftex-get-bib-names)
8468 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8469 (reftex-format-bib-entry, reftex-parse-bibitem)
8470 (reftex-format-bibitem, reftex-do-citation)
8471 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8472 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8473 (reftex-insert-bib-matches, reftex-format-citation)
8474 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8475 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8476 existing comments into docstrings.
8477
8478 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8479
8480 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8481
8482 2013-06-12 Andreas Schwab <schwab@suse.de>
8483
8484 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8485 for auto-save files.
8486
8487 2013-06-12 Glenn Morris <rgm@gnu.org>
8488
8489 * ido.el (ido-delete-ignored-files): Remove.
8490 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8491 Go back to calling ido-ignore-item-p directly.
8492
8493 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8494
8495 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8496
8497 * ido.el (ido-delete-ignored-files): New function,
8498 split from ido-make-file-list-1.
8499 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8500 (ido-make-file-list-1): Use ido-delete-ignored-files.
8501
8502 2013-06-12 Leo Liu <sdl.web@gmail.com>
8503
8504 * progmodes/octave.el (inferior-octave-startup)
8505 (inferior-octave-completion-table)
8506 (inferior-octave-track-window-width-change)
8507 (octave-eldoc-function-signatures, octave-help)
8508 (octave-find-definition): Use single quoted strings.
8509 (inferior-octave-startup-args): Change default value.
8510 (inferior-octave-startup): Do not hard code "-i" and
8511 "--no-line-editing".
8512 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8513 (inferior-octave-directory-tracker): Use it.
8514 (octave-goto-function-definition): Robustify.
8515 (octave-help): Support highlighting operators in 'See also'.
8516 (octave-find-definition): Find subfunctions only in Octave mode.
8517
8518 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8519
8520 * help-fns.el (help-fns--compiler-macro): If the handler function is
8521 named, then put a link to it.
8522 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8523 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8524 (cl-typep): Use it.
8525 (cl-eval-when): Simplify debug spec.
8526 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8527 compiler-macro function instead of setting `compiler-macro-file'.
8528
8529 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8530
8531 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8532 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8533
8534 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8535 Daniel Hackney <dan@haxney.org>
8536
8537 First part of Daniel Hackney's patch to package.el.
8538 * emacs-lisp/package.el: Use defstruct.
8539 (package-desc): New, main struct.
8540 (package--bi-desc, package--ac-desc): New structs, used to describe the
8541 format in external files.
8542 (package-desc-vers): Replace with package-desc-version accessor.
8543 (package-desc-doc): Replace with package-desc-summary accessor.
8544 (package-activate-1): Remove `package' arg since the pkg-vec now
8545 includes the name.
8546 (define-package): Use package-desc-from-define.
8547 (package-unpack-single): Change file-name arg to be a symbol.
8548 (package--add-to-archive-contents): Use package-desc-create and new
8549 accessor functions to package--ac-desc.
8550 (package-buffer-info, package-tar-file-info): Return a package-desc.
8551 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8552 arg to be a package-desc.
8553 (package-install-file): Adjust accordingly. Use \' to match EOS.
8554 (package--from-builtin): New function.
8555 (describe-package-1, package-menu--generate): Use it.
8556 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8557 (package-generate-autoloads): Idem and return the name of the file.
8558 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8559 Change pkg-info arg to be a package-desc.
8560 Use package-make-ac-desc.
8561 (package-upload-file): Use \' to match EOS.
8562 * finder.el (finder-compile-keywords): Use package-make-builtin.
8563
8564 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8565
8566 * vc/vc.el (vc-deduce-fileset): Change error message.
8567 (vc-read-backend): New function.
8568 (vc-next-action): Use it.
8569
8570 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8571
8572 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8573 (prolog-font-lock-keywords): Use regexp-opt instead.
8574 Don't manually highlight strings.
8575 (prolog-mode-variables): Simplify comment-start-skip.
8576 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8577
8578 * emacs-lisp/generic.el (generic--normalise-comments)
8579 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8580 (generic-mode-set-comments): Use them.
8581 (generic-bracket-support): Use setq-local.
8582 (generic-make-keywords-list): Declare obsolete.
8583
8584 2013-06-11 Glenn Morris <rgm@gnu.org>
8585
8586 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8587 Prettify after setting font-lock-defaults. (Bug#14574)
8588
8589 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8590
8591 * replace.el (query-replace, occur-read-regexp-defaults-function)
8592 (replace-search):
8593 * subr.el (declare-function, number-sequence, local-set-key)
8594 (substitute-key-definition, locate-user-emacs-file)
8595 (with-silent-modifications, split-string, eval-after-load):
8596 Fix typos, remove unneeded backslashes and reflow some docstrings.
8597
8598 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8601 default for Elisp files.
8602
8603 2013-06-11 Glenn Morris <rgm@gnu.org>
8604
8605 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8606 although define-derived-mode was doing this anyway. (Bug#14583)
8607
8608 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8609
8610 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8611 Fix make-variable-buffer-local call to refer to the correct variable.
8612
8613 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8614
8615 * eshell/em-term.el (eshell-visual-commands)
8616 (eshell-visual-subcommands, eshell-visual-options):
8617 Add summary line to docstrings. Add cross-references.
8618
8619 2013-06-10 Glenn Morris <rgm@gnu.org>
8620
8621 * epa.el (epa-read-file-name): New function. (Bug#14510)
8622 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8623
8624 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8625
8626 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8627 output redirection to be ignored with visual commands.
8628
8629 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8630
8631 * eshell/em-term.el (eshell-visual-command-p): New function.
8632 (eshell-term-initialize): Move long lambda to separate function
8633 eshell-visual-command-p.
8634 * eshell/em-dirs.el (eshell-dirs-initialise):
8635 * eshell/em-script.el (eshell-script-initialize):
8636 Add missing #' to lambda.
8637
8638 2013-06-08 Leo Liu <sdl.web@gmail.com>
8639
8640 * progmodes/octave.el (octave-add-log-current-defun): New function.
8641 (octave-mode): Set add-log-current-defun-function.
8642 (octave-goto-function-definition): Do not move point if not found.
8643 (octave-find-definition): Enhance to try subfunctions first.
8644
8645 2013-06-08 Glenn Morris <rgm@gnu.org>
8646
8647 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8648 (byte-compile-backward-char, byte-compile-backward-word):
8649 Improve previous change, to handle non-explicit nil.
8650
8651 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8652
8653 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8654 (smie--opener/closer-at-point): New function.
8655 (smie--matching-block-data): Use it. Don't match from right after an
8656 opener or right before a closer. Obey smie-blink-matching-inners.
8657 Don't signal a mismatch for repeated inners like "switch..case..case".
8658
8659 2013-06-07 Leo Liu <sdl.web@gmail.com>
8660
8661 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8662 to t. (Bug#14303)
8663 (octave-function-header-regexp): Fix. (Bug#14570)
8664 (octave-help-mode-finish-hook, octave-help-mode-finish):
8665 Remove. Just use temp-buffer-show-hook.
8666
8667 * newcomment.el (comment-search-backward): Revert last change.
8668 (Bug#14434)
8669
8670 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8671
8672 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8673
8674 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8675 through xargs, to avoid failure due to MS-Windows limitations on
8676 command-line length.
8677
8678 2013-06-06 Glenn Morris <rgm@gnu.org>
8679
8680 * font-lock.el (lisp-font-lock-keywords-2):
8681 Treat user-error like error.
8682
8683 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8684 (byte-compile-backward-char, byte-compile-backward-word):
8685 Handle explicit nil arguments. (Bug#14565)
8686
8687 2013-06-05 Alan Mackenzie <acm@muc.de>
8688
8689 * isearch.el (isearch-allow-prefix): New user option.
8690 (isearch-other-meta-char): Don't exit isearch when a prefix
8691 argument is typed whilst `isearch-allow-prefix' is non-nil.
8692 (Bug#9706)
8693
8694 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8695
8696 * autorevert.el (auto-revert-notify-handler): Use memq.
8697 Hide assertion failure.
8698
8699 * skeleton.el: Use cl-lib.
8700 (skeleton-further-elements): Use defvar-local.
8701 (skeleton-insert): Use cl-progv.
8702
8703 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8704
8705 * progmodes/prog-mode.el (prog-prettify-symbols)
8706 (prog-prettify-install): Update docstrings.
8707
8708 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8709
8710 * simple.el: Move all the prog-mode code to prog-mode.el.
8711 * progmodes/prog-mode.el: New file.
8712 * loadup.el: Add prog-mode.el.
8713
8714 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8715
8716 * simple.el (prog-prettify-symbols): Add version.
8717 (prog-prettify-install): Add convenience function to prettify symbols.
8718
8719 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8720 (perl--augmented-font-lock-keywords-1)
8721 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8722 variables and use it.
8723
8724 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8725 (cfengine3-mode): Remove unneeded variable and use it.
8726
8727 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8728 (lisp--augmented-font-lock-keywords-1)
8729 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8730 Remove unneeded variables and use it.
8731
8732 2013-06-05 João Távora <joaotavora@gmail.com>
8733
8734 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8735 to point when opening the connection. (Bug#14380)
8736
8737 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * subr.el (load-history-regexp, load-history-filename-element)
8740 (eval-after-load, after-load-functions, do-after-load-evaluation)
8741 (eval-next-after-load, display-delayed-warnings)
8742 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8743 definition of save-match-data.
8744 (overriding-local-map): Remove accidental obsolescence declaration.
8745
8746 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8747
8748 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8749
8750 Generalize symbol prettify support to prog-mode and implement it
8751 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8752 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8753 (prog--prettify-font-lock-compose-symbol)
8754 (prog-prettify-font-lock-symbols-keywords): New variables and
8755 functions to support symbol prettification.
8756 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8757 (lisp--augmented-font-lock-keywords-1)
8758 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8759 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8760 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8761 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8762 Implement prettify of -> => :: strings.
8763 * progmodes/perl-mode.el (perl-prettify-symbols)
8764 (perl--font-lock-compose-symbol)
8765 (perl--font-lock-symbols-keywords): Move to prog-mode.
8766 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8767 (perl-font-lock-keywords-1)
8768 (perl-font-lock-keywords-2): Remove explicit prettify support.
8769 (perl--augmented-font-lock-keywords)
8770 (perl--augmented-font-lock-keywords-1)
8771 (perl--augmented-font-lock-keywords-2, perl-mode):
8772 Implement prettify support.
8773
8774 2013-06-05 Leo Liu <sdl.web@gmail.com>
8775
8776 Re-implement smie matching block highlight using
8777 show-paren-data-function. (Bug#14395)
8778 * emacs-lisp/smie.el (smie-matching-block-highlight)
8779 (smie--highlight-matching-block-overlay)
8780 (smie--highlight-matching-block-lastpos)
8781 (smie-highlight-matching-block)
8782 (smie-highlight-matching-block-mode): Remove.
8783 (smie--matching-block-data-cache): New variable.
8784 (smie--matching-block-data): New function.
8785 (smie-setup): Use smie--matching-block-data for
8786 show-paren-data-function.
8787
8788 * progmodes/octave.el (octave-mode-menu): Fix.
8789 (octave-find-definition): Skip garbage lines.
8790
8791 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 Fix compilation error with simultaneous dynamic+lexical scoping.
8794 Add warning when a defvar appears after the first let-binding.
8795 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8796 (byte-compile-close-variables): Initialize it.
8797 (byte-compile--declare-var): New function.
8798 (byte-compile-file-form-defvar)
8799 (byte-compile-file-form-define-abbrev-table)
8800 (byte-compile-file-form-custom-declare-variable): Use it.
8801 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8802 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8803 (byte-compile-bind): Handle dynamic bindings that shadow
8804 lexical bindings.
8805 (byte-compile-unbind): Make arg non-optional.
8806 (byte-compile-let): Simplify.
8807 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8808 (cconv--analyse-function, cconv-analyse-form): Populate it.
8809 Protect byte-compile-bound-variables to limit the scope of defvars.
8810 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8811 Remove unneeded rule for `declare'.
8812
8813 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8814 so as to avoid depending on cl-adjoin at run-time.
8815 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8816
8817 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8818 (macroexp--warn-and-return): Use it.
8819
8820 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8821
8822 * lisp/subr.el: Convert to lexical binding.
8823 (overriding-local-map): Make obsolete.
8824 (add-to-list): Doc fix. Add compiler macro.
8825 (read-key): Swap values of local maps.
8826
8827 2013-06-05 Leo Liu <sdl.web@gmail.com>
8828
8829 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8830
8831 2013-06-04 Leo Liu <sdl.web@gmail.com>
8832
8833 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8834 (compilation-auto-jump): Suppress the "Mark set" message to give
8835 way to exit message.
8836
8837 2013-06-04 Alan Mackenzie <acm@muc.de>
8838
8839 Remove faulty optimisation from indentation calculation.
8840 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8841 search limit based on 2000 characters back from indent-point.
8842
8843 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8844
8845 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8846
8847 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8848
8849 * emacs-lisp/lisp.el: Use lexical-binding.
8850 (lisp--local-variables-1, lisp--local-variables): New functions.
8851 (lisp--local-variables-completion-table): New var.
8852 (lisp-completion-at-point): Use it complete let-bound vars.
8853
8854 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8855 eagerly (bug#14422).
8856
8857 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8858
8859 * autorevert.el (auto-revert-notify-enabled)
8860 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8861 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8862 (auto-revert-notify-handler): Handle also gfilenotify.
8863
8864 * subr.el (file-notify-handle-event): New defun. Replacing ...
8865 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8866 Remove.
8867
8868 2013-06-03 Juri Linkov <juri@jurta.org>
8869
8870 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8871 `M-s h .'. (Bug#14427)
8872
8873 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8874 command `hi-lock-face-symbol-at-point'.
8875 (hi-lock-face-symbol-at-point): New command.
8876 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8877 (hi-lock-menu): Add `highlight-symbol-at-point'.
8878 (hi-lock-mode): Doc fix.
8879
8880 * isearch.el (isearch-forward-symbol-at-point): New command.
8881 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8882 (isearch-highlight-regexp): Add a regexp which matches
8883 words/symbols for word/symbol mode.
8884
8885 * subr.el (find-tag-default-bounds): New function with the body
8886 mostly moved from `find-tag-default'.
8887 (find-tag-default): Move most code to `find-tag-default-bounds',
8888 call it and apply `buffer-substring-no-properties' afterwards.
8889
8890 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8891
8892 * eshell/em-term.el (eshell-term-initialize):
8893 Use `cl-intersection' rather than `intersection'.
8894
8895 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8896
8897 * vc/log-view.el: Doc fix.
8898 (log-view-mode-map): Copy keymap from `special-mode-map'.
8899
8900 2013-06-02 Eric Ludlam <zappo@gnu.org>
8901
8902 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8903 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8904 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8905 (eieio-unbound, eieio-default-superclass)
8906 (eieio--define-field-accessors, method-static, method-before)
8907 (method-primary, method-after, method-num-lists)
8908 (method-generic-before, method-generic-primary)
8909 (method-generic-after, method-num-slots)
8910 (eieio-specialized-key-to-generic-key)
8911 (eieio--check-type, class-v, class-p)
8912 (eieio-class-name, define-obsolete-function-alias)
8913 (eieio-class-parents-fast, eieio-class-children-fast)
8914 (same-class-fast-p, class-constructor, generic-p)
8915 (generic-primary-only-p, generic-primary-only-one-p)
8916 (class-option-assoc, class-option, eieio-object-p)
8917 (class-abstract-p, class-method-invocation-order)
8918 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8919 (eieio-class-un-autoload, eieio-defclass)
8920 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8921 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8922 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8923 (eieio-defgeneric-reset-generic-form)
8924 (eieio-defgeneric-form-primary-only)
8925 (eieio-defgeneric-reset-generic-form-primary-only)
8926 (eieio-defgeneric-form-primary-only-one)
8927 (eieio-defgeneric-reset-generic-form-primary-only-one)
8928 (eieio-unbind-method-implementations)
8929 (eieio--defmethod, eieio--typep)
8930 (eieio-perform-slot-validation, eieio-validate-slot-value)
8931 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8932 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8933 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8934 (eieio-slot-name-index, eieio-class-slot-name-index)
8935 (eieio-set-defaults, eieio-initarg-to-attribute)
8936 (eieio-attribute-to-initarg, eieio-c3-candidate)
8937 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8938 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8939 (eieio-class-precedence-list, eieio-generic-call-methodname)
8940 (eieio-generic-call-arglst, eieio-generic-call-key)
8941 (eieio-generic-call-next-method-list)
8942 (eieio-pre-method-execution-functions, eieio-generic-call)
8943 (eieio-generic-call-primary-only, eieiomt-method-list)
8944 (eieiomt-optimizing-obarray, eieiomt-install)
8945 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8946 (eieio-generic-form, eieio-defmethod, make-obsolete)
8947 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8948 (defclass): Remove `eval-and-compile' from macro.
8949 (call-next-method, shared-initialize): Instead of using
8950 `scoped-class' variable, use new eieio--scoped-class, and
8951 eieio--with-scoped-class.
8952 (initialize-instance): Rename local variable 'scoped-class' to
8953 'this-class' to remove ambiguitity from old global.
8954
8955 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8956 eieio.el.
8957 (eieio--scoped-class-stack): New variable.
8958 (eieio--scoped-class): New fcn.
8959 (eieio--with-scoped-class): New scoping macro.
8960 (eieio-defclass): Use pushnew instead of add-to-list.
8961 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8962 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8963 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8964 `scoped-class' variable, use new eieio--scoped-class, and
8965 eieio--with-scoped-class.
8966
8967 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8968
8969 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8970
8971 * eshell/esh-ext.el (eshell-external-command): Pass args to
8972 `eshell-find-interpreter'.
8973 (eshell-find-interpreter): Add new second parameter ARGS.
8974
8975 * eshell/em-script.el (eshell-script-initialize): Add second arg
8976 to the function added as MATCH to `eshell-interpreter-alist'.
8977
8978 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8979 the function added as MATCH to `eshell-interpreter-alist'.
8980
8981 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8982 (eshell-visual-options): New defcustom.
8983 (eshell-escape-control-x): Adapt docstring.
8984 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8985 `eshell-visual-options' in addition to `eshell-visual-commands'.
8986 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8987
8988 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8989
8990 * progmodes/python.el (python-indent-block-enders): Add break,
8991 continue and raise keywords.
8992
8993 2013-06-01 Glenn Morris <rgm@gnu.org>
8994
8995 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8996
8997 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8998 * progmodes/cc-cmds.el (delete-forward-p):
8999 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9000 * progmodes/cc-engine.el (buffer-syntactic-context):
9001 * progmodes/cc-fonts.el (face-property-instance):
9002 * progmodes/cc-mode.el (set-keymap-parents):
9003 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9004 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9005 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9006 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9007 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9008
9009 * progmodes/cc-vars.el (other): Emacs has this widget since
9010 at least 21.1, so don't (re)define it.
9011
9012 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9013 Replace the obsolete alias pcomplete-arg-quote-list.
9014
9015 2013-06-01 Leo Liu <sdl.web@gmail.com>
9016
9017 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9018 punctuation syntax.
9019 (inferior-octave-minimal-columns)
9020 (inferior-octave-last-column-width): New variables.
9021 (inferior-octave-track-window-width-change): New function.
9022 (inferior-octave-mode): Adjust column width so that Octave output,
9023 for example from 'ls', can fit into the window nicely.
9024
9025 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9026
9027 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9028 Highlight expansions inside regexp literals.
9029
9030 2013-05-31 Glenn Morris <rgm@gnu.org>
9031
9032 * obsolete/sym-comp.el (symbol-complete):
9033 Replace obsolete completion-annotate-function.
9034
9035 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9036
9037 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9038
9039 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9040 New function, checks if point is inside a literal that allows
9041 expression expansion.
9042 (ruby-syntax-propertize-expansion): Use it.
9043 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9044 around the body.
9045
9046 2013-05-30 Juri Linkov <juri@jurta.org>
9047
9048 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9049 to "\M-si".
9050 (isearch-invisible): New variable.
9051 (isearch-forward): Doc fix.
9052 (isearch-mode): Set `isearch-invisible'
9053 to the value of `search-invisible'.
9054 (isearch-toggle-case-fold): Doc fix.
9055 (isearch-toggle-invisible): New command.
9056 (isearch-query-replace): Let-bind `search-invisible'
9057 to the value of `isearch-invisible'.
9058 (isearch-search): Use `isearch-invisible' instead of
9059 `search-invisible'. Let-bind `search-invisible'
9060 to the value of `isearch-invisible'. (Bug#11378)
9061
9062 2013-05-30 Juri Linkov <juri@jurta.org>
9063
9064 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9065 call when `query-flag' is nil and `search-invisible' is non-nil.
9066 (Bug#11746)
9067
9068 2013-05-30 Glenn Morris <rgm@gnu.org>
9069
9070 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9071
9072 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9073 (cc-require): Suppress spurious "noruntime" warnings.
9074 (cc-require-when-compile): Use fboundp, for sake of compiler.
9075
9076 * progmodes/cc-mode.el: Move load of cc-vars before that of
9077 cc-langs (which in turn loads cc-vars), to quieten compiler.
9078
9079 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9080
9081 * paren.el: Simplify the code.
9082 (show-paren-mode): Always start the timer.
9083 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9084 (show-paren--overlay, show-paren--overlay-1): Rename from
9085 show-paren-overlay and show-paren-overlay-1, and initialize to an
9086 overlay rather than to nil.
9087 (show-paren-function): Misc cleanup and simplifications.
9088
9089 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * paren.el (show-paren-data-function): New hook.
9092 (show-paren--default): New function, extracted from show-paren-function.
9093 (show-paren-function): Use show-paren-data-function.
9094
9095 2013-05-30 Glenn Morris <rgm@gnu.org>
9096
9097 * ielm.el (ielm-map, ielm-complete-symbol):
9098 Use completion-at-point rather than obsolete functions.
9099 (inferior-emacs-lisp-mode): Doc fix.
9100 Set completion-at-point-functions, rather than
9101 comint-dynamic-complete-functions.
9102
9103 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9104 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9105 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9106
9107 * image.el (image-animated-p): Tweak definition.
9108
9109 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9110 (rlogin-process-connection-type): Tweak default. Add set-after.
9111 (rlogin-host): Doc fix.
9112 (rlogin): Tweak prompt.
9113 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9114
9115 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9116 * progmodes/tcl.el (inferior-tcl-mode-map):
9117 Use completion-at-point rather than obsolete alias.
9118
9119 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9120
9121 * minibuffer.el (read-file-name-completion-ignore-case):
9122 Move before completion--in-region, for eager macro expansion.
9123
9124 2013-05-29 Juri Linkov <juri@jurta.org>
9125
9126 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9127 for total count of matching lines. Add `global-matches' for total
9128 count of matches. Rename `matches' to `lines' for count of
9129 matching lines. Add `matches' for count of matches.
9130 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9131 to `prev-line' for line number of prev match endpt.
9132 Increment `matches' for every match. Print the number of
9133 matching lines in the header.
9134 (occur-context-lines): Rename `lines' to `curr-line'.
9135 Rename `prev-lines' to `prev-line'. (Bug#14017)
9136
9137 2013-05-29 Juri Linkov <juri@jurta.org>
9138
9139 * replace.el (perform-replace): Add `skip-read-only-count',
9140 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9141 Increment them for corresponding conditions and report the number
9142 of skipped occurrences in the final message. (Bug#11746)
9143 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9144 (replace-string, replace-regexp): Doc fix.
9145
9146 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9147
9148 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9149
9150 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9151 prog-mode-map (bug#14504).
9152
9153 2013-05-29 Leo Liu <sdl.web@gmail.com>
9154
9155 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9156 (octave-help): Small simplification.
9157
9158 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9159 off the highlight first.
9160
9161 2013-05-29 Glenn Morris <rgm@gnu.org>
9162
9163 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9164 Handle idlwave-last-system-routine-info-cons-cell being nil.
9165
9166 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9167 (idlwave-write-paths): Simplify via with-temp-buffer.
9168
9169 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9170 * emulation/cua-rect.el: Also load cua-base at run time.
9171
9172 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9173 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9174 (cperl-imenu-on-info): Require imenu.
9175
9176 2013-05-28 Alan Mackenzie <acm@muc.de>
9177
9178 Handle "capitalised keywords" correctly.
9179 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9180
9181 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9182
9183 * eshell/em-unix.el: Add -r option to cp.
9184
9185 2013-05-28 Glenn Morris <rgm@gnu.org>
9186
9187 * vc/vc-arch.el (vc-exec-after): Declare.
9188 (vc-switches): Autoload.
9189 * vc/vc-bzr.el: No need to require vc when compiling.
9190 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9191 (vc-resynch-buffer, vc-dir-refresh): Declare.
9192 (vc-setup-buffer, vc-switches): Autoload.
9193 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9194 (vc-resynch-buffer): Declare.
9195 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9196 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9197 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9198 (grep-read-regexp, grep-read-files, grep-expand-template)
9199 (vc-dir-refresh): Declare.
9200 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9201 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9202 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9203 * vc/vc-mtn.el (vc-exec-after): Declare.
9204 (vc-switches): Autoload.
9205 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9206 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9207 (vc-file-tree-walk): Declare.
9208 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9209 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9210 (vc-tag-precondition, vc-rename-master): Autoload.
9211 * vc/vc-svn.el (vc-exec-after): Declare.
9212 (vc-switches, vc-setup-buffer): Autoload.
9213 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9214 Autoload.
9215 (vc-resynch-buffer): Declare.
9216
9217 * obsolete/fast-lock.el (byte-compile-warnings):
9218 Don't warn about obsolete features in this obsolete file.
9219
9220 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9221 Move definition before use.
9222
9223 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9224 (dun-unix-verbs): Remove dun-zippy.
9225 (dun-zippy): Remove function.
9226
9227 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9228
9229 2013-05-27 Juri Linkov <juri@jurta.org>
9230
9231 * replace.el (replace-search): New function with code moved out
9232 from `perform-replace'.
9233 (replace-highlight, replace-dehighlight): Move function definitions
9234 up closer to `replace-search'. (Bug#11746)
9235
9236 2013-05-27 Juri Linkov <juri@jurta.org>
9237
9238 * replace.el (perform-replace): Ignore invisible matches.
9239 In addition to checking `query-replace-skip-read-only', also
9240 filter out matches by calling `run-hook-with-args-until-failure'
9241 on `isearch-filter-predicates', and also check `search-invisible'
9242 for t or call `isearch-range-invisible'.
9243 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9244
9245 2013-05-27 Juri Linkov <juri@jurta.org>
9246
9247 * isearch.el (isearch-filter-predicates): Rename from
9248 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9249 (isearch-message-prefix): Display text from the property
9250 `isearch-message-prefix' of the currently active filters.
9251 (isearch-search): Don't compare `isearch-filter-predicate' with
9252 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9253 on `isearch-filter-predicates'. Also check `search-invisible' for t
9254 or call `isearch-range-invisible'.
9255 (isearch-filter-visible): Make obsolete.
9256 (isearch-lazy-highlight-search):
9257 Call `run-hook-with-args-until-failure' on
9258 `isearch-filter-predicates' and use `isearch-range-invisible'.
9259
9260 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9261 `isearch-filter-predicates' instead of `funcall'ing
9262 `isearch-filter-predicate'.
9263 (Info-mode): Set `Info-isearch-filter' to
9264 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9265
9266 * dired-aux.el (dired-isearch-filter-predicate-orig):
9267 Remove variable.
9268 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9269 (dired-isearch-filenames-end): Add and remove
9270 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9271 instead of changing the value of `isearch-filter-predicate'.
9272 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9273 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9274 Put property `isearch-message-prefix' to "filename " on
9275 `dired-isearch-filter-filenames'.
9276
9277 * wdired.el (wdired-change-to-wdired-mode):
9278 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9279 locally instead of changing `isearch-filter-predicate'.
9280 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9281
9282 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9283
9284 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9285 return the commit hash (Bug#14459). Also set the
9286 `vc-git-detached' property.
9287 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9288 (vc-git-mode-line-string): Use the same help-echo format whether
9289 in detached mode or not, because we know the actual revision now.
9290 When in detached mode, shorten the revision to 7 chars.
9291
9292 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9293
9294 * emacs-lisp/easy-mmode.el (define-minor-mode):
9295 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9296 mode hook and provide a docstring.
9297
9298 2013-05-27 Alan Mackenzie <acm@muc.de>
9299
9300 Remove spurious syntax-table text properties inserted by C-y.
9301 * progmodes/cc-mode.el (c-after-change): Also clear hard
9302 syntax-table property with value nil.
9303
9304 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9305
9306 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9307 when reading the events; the buffer layout shall not be changed.
9308
9309 2013-05-27 Leo Liu <sdl.web@gmail.com>
9310
9311 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9312 New variable.
9313 (inferior-octave-directory-tracker): Automatically re-sync
9314 default-directory.
9315 (octave-help): Improve handling of 'See also'.
9316
9317 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * doc-view.el: Minor naming convention tweaks.
9320 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9321
9322 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9323 even if there's no `display' property yet (bug#14435).
9324
9325 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9326
9327 * subr.el (unmsys--file-name): Rename from reveal-filename.
9328
9329 * Makefile.in (custom-deps, finder-data, autoloads)
9330 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9331 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9332 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9333
9334 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9335
9336 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9337 error-completion on the first 2 args of condition-case (bug#14446).
9338 Don't burp at EOB.
9339
9340 2013-05-25 Leo Liu <sdl.web@gmail.com>
9341
9342 * comint.el (comint-previous-matching-input): Do not flood the
9343 *Messages* buffer with trivial messages.
9344
9345 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9346
9347 * progmodes/flymake.el (flymake-nop): Don't return a string.
9348 (flymake-set-at): Fix typo.
9349
9350 * simple.el (read--expression): New function, extracted from
9351 eval-expression. Set completion-at-point-functions (bug#14465).
9352 (eval-expression, eval-minibuffer): Use it.
9353
9354 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9355
9356 * progmodes/flymake.el (flymake-save-buffer-in-file)
9357 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9358 (flymake-selected-frame, flymake-log, flymake-ins-after)
9359 (flymake-set-at, flymake-get-buildfile-from-cache)
9360 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9361 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9362 Refine the doc string.
9363 (flymake-get-file-name-mode-and-masks): Reformat.
9364 (flymake-get-real-file-name-function): Fix a minor bug.
9365
9366 2013-05-24 Juri Linkov <juri@jurta.org>
9367
9368 * progmodes/grep.el (grep-mode-font-lock-keywords):
9369 Support =linenumber= format used by git-grep for lines with
9370 function names. (Bug#13549)
9371
9372 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9375 0 after a semi-colon; it works better for smie-auto-fill.
9376 (octave--indent-new-comment-line): New function.
9377 (octave-indent-new-comment-line): Use it (indirectly).
9378 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9379 modify comment-line-break-function.
9380
9381 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9382 (smie-setup): Use add-function to set it.
9383
9384 2013-05-24 Sam Steingold <sds@gnu.org>
9385
9386 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9387 argument (before the `interactive' argument).
9388
9389 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9390
9391 * image-mode.el (image-mode-winprops): Add winprops to
9392 image-mode-winprops-alist before running
9393 image-mode-new-window-functions.
9394 * doc-view.el (doc-view-new-window-function): Don't delay
9395 doc-view-goto-page via timers (bug#14435).
9396
9397 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9398
9399 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9400 (doc-view-desktop-save-buffer): New function.
9401 (doc-view-restore-desktop-buffer): New function.
9402 (desktop-buffer-mode-handlers):
9403 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9404 handler.
9405 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9406 `desktop-save-buffer' function.
9407
9408 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9409
9410 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9411 (tramp-gvfs-file-name-handler): Raise a user error when
9412 `tramp-gvfs-enabled' is nil.
9413 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9414 Do not raise a user error when loading package. (Bug#14447)
9415
9416 * net/xesam.el: Move to obsolete/.
9417
9418 2013-05-24 Glenn Morris <rgm@gnu.org>
9419
9420 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9421
9422 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9423
9424 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9425 (Info-find-node, Man-getpage-in-background): Declare.
9426
9427 * mail/unrmail.el (unrmail):
9428 Replace obsolete detect-coding-with-priority.
9429
9430 * net/socks.el (socks-split-string): Use this rather than split-string.
9431 (socks-nslookup-host): Update for above change.
9432 (dynamic-choice, s5-dynamic-choice-match)
9433 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9434 Comment out unused code.
9435
9436 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9437 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9438 (gud-tooltip-echo-area): Make obsolete.
9439 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9440
9441 * progmodes/js.el (js--optimize-arglist): Declare.
9442
9443 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9444
9445 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9446 (ediff-window-C): Declare.
9447
9448 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9449 Tweak requires to silence compiler.
9450
9451 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9452 (he-search-string, he-tried-table, he-expand-list)
9453 (he-init-string, he-string-member, he-substitute-string)
9454 (he-reset-string): Declare.
9455
9456 * obsolete/options.el (list-options): Use custom-variable-p,
9457 rather than obsolete alias.
9458
9459 2013-05-23 Sam Steingold <sds@gnu.org>
9460
9461 * simple.el (shell-command-on-region): Pass the `replace' argument
9462 down to `call-process-region' to comply with the doc as reported on
9463 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9464
9465 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9466
9467 * emacs-lisp/smie.el (smie-indent-forward-token)
9468 (smie-indent-backward-token): Handle string tokens (bug#14381).
9469
9470 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9471
9472 * ielm.el (ielm-menu): New menu.
9473 (inferior-emacs-lisp-mode): Set comment-start.
9474
9475 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9476
9477 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9478 Fix deactivate action.
9479
9480 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9481 Add cleveref macros.
9482
9483 * lisp/textmodes/reftex-parse.el
9484 (reftex-locate-bibliography-files): Accept options for
9485 bibliography commands.
9486 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9487 Add addbibresource. Basic Biblatex support.
9488
9489 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9490
9491 * net/tramp-gvfs.el (top):
9492 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9493 when loading package. (Bug#14447)
9494
9495 2013-05-23 Glenn Morris <rgm@gnu.org>
9496
9497 * progmodes/js.el: No need to load comint when compiling.
9498 (ring-insert, comint-send-string, comint-send-input)
9499 (comint-last-input-end, ido-chop): Declare.
9500
9501 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9502 * vc/ediff-mult.el: Adjust requires.
9503 (ediff-directories-internal, ediff-directory-revisions-internal)
9504 (ediff-patch-file-internal): Declare.
9505 * vc/ediff-ptch.el: Adjust requires.
9506 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9507 (ediff-find-file): Autoload.
9508 * vc/ediff-util.el: No need to load ediff when compiling.
9509 (ediff-regions-internal): Declare.
9510 * vc/ediff-wind.el: Adjust requires.
9511 (ediff-compute-toolbar-width): Define when compiling.
9512 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9513 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9514 (dired-get-filename, dired-get-marked-files)
9515 (ediff-last-dir-patch, ediff-patch-default-directory)
9516 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9517 (ediff-patch-buffer-internal): Declare.
9518
9519 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9520 (ispell-process, ispell-buffer-local-words, lm-summary)
9521 (lm-section-start, lm-section-end): Declare.
9522 (checkdoc-ispell-init): Simplify.
9523
9524 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9525 (he-string-member, he-reset-string, he-substitute-string): Declare.
9526
9527 * eshell/em-ls.el: Adjust requires.
9528 (eshell-glob-regexp): Declare.
9529 * eshell/em-tramp.el: Adjust requires.
9530 (eshell-parse-command): Autoload.
9531 * eshell/em-xtra.el: Adjust requires.
9532 (eshell-parse-command): Autoload.
9533 * eshell/esh-ext.el: Adjust requires.
9534 (eshell-parse-command, eshell-close-handles): Autoload.
9535 * eshell/esh-io.el: Adjust requires.
9536 (eshell-output-filter): Autoload.
9537 * eshell/esh-util.el: No need to load tramp when compiling.
9538 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9539 Declare.
9540 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9541 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9542 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9543 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9544 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9545 * eshell/esh-opt.el, eshell/esh-proc.el:
9546 * eshell/esh-var.el: Adjust requires.
9547 * eshell/eshell.el: Do not require esh-util twice.
9548 (eshell-add-input-to-history): Declare.
9549 (eshell-command): Check history module is active before using it.
9550
9551 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9552
9553 2013-05-22 Leo Liu <sdl.web@gmail.com>
9554
9555 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9556
9557 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9558
9559 * autorevert.el (auto-revert-notify-add-watch)
9560 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9561 it indicates changes in file modification time.
9562
9563 2013-05-22 Glenn Morris <rgm@gnu.org>
9564
9565 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9566 Always delete the autoloaded function from the noruntime and
9567 unresolved functions lists.
9568
9569 * allout.el: No need to load epa, epg, overlay when compiling.
9570 (epg-context-set-passphrase-callback, epg-list-keys)
9571 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9572 (epg-key-user-id-list): Declare.
9573
9574 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9575 (viper-set-parsing-style-toggling-macro)
9576 (viper-set-emacs-state-searchstyle-macros):
9577 Use called-interactively-p on Emacs.
9578 (viper-looking-back): Make it an obsolete alias. Update callers.
9579 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9580 Use looking-back rather than viper-looking-back.
9581 (viper-tmp-insert-at-eob, viper-enlarge-region)
9582 (viper-read-string-with-history, viper-register-to-point)
9583 (viper-append-to-register, viper-change-state-to-vi)
9584 (viper-backward-char-carefully, viper-forward-char-carefully)
9585 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9586 (viper-change-state-to-emacs): Declare.
9587 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9588 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9589 * emulation/viper-mous.el: Do not load viper-cmd.
9590 (viper-backward-char-carefully, viper-forward-char-carefully)
9591 (viper-forward-word, viper-adjust-window): Declare.
9592
9593 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9594
9595 * progmodes/idlw-help.el (idlwave-help-fontify):
9596 Use called-interactively-p.
9597
9598 * term/w32console.el (w32-get-console-codepage)
9599 (w32-get-console-output-codepage): Declare.
9600
9601 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9602 Remove unnecessary declarations.
9603 (dframe-message): Doc fix.
9604
9605 * info.el (dframe-select-attached-frame, dframe-current-frame):
9606 Declare.
9607
9608 * speedbar.el (speedbar-message): Make it an obsolete alias.
9609 Update all callers.
9610 (speedbar-with-attached-buffer)
9611 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9612 (speedbar-with-writable): Use backquote.
9613 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9614 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9615 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9616 rather than speedbar- aliases.
9617 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9618 (speedbar-make-specialized-keymap, speedbar-insert-button)
9619 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9620 (speedbar-do-function-pointer): Declare.
9621 (rmail-speedbar-button, rmail-speedbar-find-file)
9622 (rmail-speedbar-move-message):
9623 Use dframe-with-attached-buffer rather than speedbar- alias.
9624 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9625 (dframe-message, speedbar-make-specialized-keymap)
9626 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9627 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9628 (speedbar-insert-button, dframe-select-attached-frame)
9629 (dframe-maybee-jump-to-attached-frame)
9630 (speedbar-change-initial-expansion-list)
9631 (speedbar-previously-used-expansion-list-name): Declare.
9632 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9633 Use dframe-message, dframe-with-attached-buffer rather than
9634 speedbar- aliases.
9635 (gud-sentinel): Silence compiler.
9636 * progmodes/vhdl-mode.el (speedbar-refresh)
9637 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9638 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9639 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9640 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9641 (speedbar-file-lists, speedbar-make-tag-line)
9642 (speedbar-line-directory, speedbar-goto-this-file)
9643 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9644 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9645 (speedbar-make-button, speedbar-reset-scanners)
9646 (speedbar-files-item-info, speedbar-line-text)
9647 (speedbar-find-file-in-frame, speedbar-set-timer)
9648 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9649 (speedbar-with-writable): Do not (re)define it.
9650 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9651 rather than speedbar- alias.
9652
9653 2013-05-21 Leo Liu <sdl.web@gmail.com>
9654
9655 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9656 menu items.
9657 (octave-mode): Tweak fill-nobreak-predicate.
9658 (inferior-octave-startup): Check process to avoid infinite loop.
9659 (inferior-octave): Pop to buffer first to show abornmal process
9660 exit information.
9661
9662 2013-05-21 Glenn Morris <rgm@gnu.org>
9663
9664 * printing.el (pr-menu-bar): Define when compiling.
9665
9666 2013-05-21 Leo Liu <sdl.web@gmail.com>
9667
9668 * progmodes/octave.el (octave-auto-fill): Remove.
9669 (octave-indent-new-comment-line): Improve.
9670 (octave-mode): Use auto fill mode through
9671 comment-line-break-function and fill-nobreak-predicate.
9672 (octave-goto-function-definition): Support DEFUN_DLD.
9673 (octave-beginning-of-defun): Small tweak.
9674 (octave-help): Show parent directory.
9675
9676 2013-05-21 Glenn Morris <rgm@gnu.org>
9677
9678 * files.el (dired-unmark):
9679 * progmodes/gud.el (gdb-input): Update declarations.
9680
9681 * calculator.el (electric, ehelp): No need to load when compiling.
9682 (Electric-command-loop, electric-describe-mode): Declare.
9683
9684 * doc-view.el (doc-view-current-converter-processes): Move before use.
9685
9686 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9687 Move MODE-set-explicitly definition before use.
9688
9689 * international/mule-diag.el (mule-diag):
9690 Don't use obsolete window-system-version.
9691
9692 * mail/feedmail.el (smtpmail): No need to load when compiling.
9693 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9694
9695 * mail/mail-utils.el (rfc822): No need to load when compiling.
9696 (rfc822-addresses): Autoload it.
9697 (mail-strip-quoted-names): Trivial simplification.
9698
9699 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9700 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9701
9702 * net/snmp-mode.el (tempo): Don't duplicate requires.
9703
9704 * progmodes/prolog.el (info): No need to load when compiling.
9705 (comint): Require before shell requires it.
9706 (Info-goto-node): Autoload it.
9707 (Info-follow-nearest-node): Declare.
9708 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9709
9710 * textmodes/artist.el (picture-mode-exit): Declare.
9711
9712 * textmodes/reftex-parse.el (reftex-parse-from-file):
9713 Trivial rewrite so the compiler can parse it better.
9714
9715 2013-05-20 Leo Liu <sdl.web@gmail.com>
9716
9717 * progmodes/octave.el (octave-help-mode-map)
9718 (octave-help-mode-finish-hook): New variables.
9719 (octave-help-mode, octave-help-mode-finish): New functions.
9720 (octave-help): Use octave-help-mode.
9721
9722 2013-05-20 Glenn Morris <rgm@gnu.org>
9723
9724 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9725
9726 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9727
9728 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9729 start at point, so that expansion starting right after opening
9730 slash in a regexp is recognized.
9731 (ruby-syntax-before-regexp-re): New defvar, extracted from
9732 ruby-syntax-propertize-function. Since the value of this regexp
9733 is looked up at runtime now, we should be able to turn
9734 `ruby-syntax-methods-before-regexp' into a defcustom later.
9735 (ruby-syntax-propertize-function): Split regexp matching into two
9736 parts, for opening and closing slashes. That allows us to skip
9737 over string interpolations and support multiline regexps.
9738 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9739 for them, which calls `ruby-syntax-propertize-expansion'.
9740 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9741 call to `ruby-syntax-propertize-function'.
9742 (ruby-syntax-propertize-expansion): Extracted from
9743 `ruby-syntax-propertize-expansions'. Handles one expansion.
9744 (ruby-syntax-propertize-percent-literal): Leave point right after
9745 the percent symbol, so that the expression expansion rule can
9746 propertize the contents.
9747 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9748 heredoc openers.
9749 (ruby-syntax-propertize-expansions): Remove.
9750
9751 2013-05-18 Juri Linkov <juri@jurta.org>
9752
9753 * man.el (Man-default-man-entry): Remove `-' from the end
9754 of the default value. (Bug#14400)
9755
9756 2013-05-18 Glenn Morris <rgm@gnu.org>
9757
9758 * comint.el (comint-password-prompt-regexp):
9759 Allow "password for XXX" where XXX contains colons (eg https://...).
9760
9761 2013-05-18 Leo Liu <sdl.web@gmail.com>
9762
9763 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9764 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9765 (octave-source-directories): Don't check process.
9766 (octave-source-directories, octave-find-definition): Doc fix.
9767
9768 2013-05-18 Glenn Morris <rgm@gnu.org>
9769
9770 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9771 Remove backspace/delete bindings. (Bug#14392)
9772
9773 * cus-dep.el (custom-make-dependencies): Sort the output.
9774 (custom-versions-load-alist): Convert comment to doc.
9775
9776 2013-05-17 Leo Liu <sdl.web@gmail.com>
9777
9778 * newcomment.el (comment-search-backward): Stricter in finding
9779 comment start. (Bug#14303)
9780
9781 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9782 (octave-comment-start-skip): Properly anchored.
9783
9784 2013-05-17 Leo Liu <sdl.web@gmail.com>
9785
9786 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9787 Clean up when turned off. (Bug#14395)
9788 (smie--highlight-matching-block-overlay): No longer buffer-local.
9789 (smie-highlight-matching-block): Adjust.
9790
9791 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9792
9793 Doc string fix for "nanoseconds" (Bug#14406).
9794 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9795 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9796
9797 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9798
9799 * calc/calc-units.el (math-extract-units): Preserve powers
9800 of units.
9801
9802 2013-05-17 Leo Liu <sdl.web@gmail.com>
9803
9804 * subr.el (delete-consecutive-dups): New function.
9805 * ido.el (ido-set-matches-1): Use it.
9806 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9807 * ido.el (ido-remove-consecutive-dups): Remove.
9808
9809 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9812 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9813 regexp-opt's `words'.
9814
9815 2013-05-16 Leo Liu <sdl.web@gmail.com>
9816
9817 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9818 (smie--highlight-matching-block-overlay)
9819 (smie--highlight-matching-block-lastpos)
9820 (smie--highlight-matching-block-timer): New variables.
9821 (smie-highlight-matching-block): New function.
9822 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9823 (smie-setup): Conditionally enable smie-blink-matching-open.
9824
9825 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9826
9827 Sync with upstream verilog-mode r840.
9828 * progmodes/verilog-mode.el (verilog-mode-version)
9829 (verilog-mode-release-date): Update.
9830 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9831 (verilog-sig-tieoff): Fix string error on
9832 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9833 (verilog-read-decls): Fix parameters confusing
9834 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9835
9836 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9837
9838 * subr.el (reveal-filename): New function.
9839
9840 * loadup.el: Compute Emacs executable versions on MS-Windows,
9841 where executables have the .exe extension. Add a hard link
9842 emacs-XX.YY.ZZ.exe on MS-Windows.
9843
9844 * Makefile.in (XARGS_LIMIT): New variable.
9845 (custom-deps, finder-data, autoloads)
9846 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9847 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9848 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9849 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9850
9851 2013-05-16 Leo Liu <sdl.web@gmail.com>
9852
9853 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9854 (octave-mode-menu, octave-mode-map): Remove its uses.
9855
9856 2013-05-16 Reto Zimmermann <reto@gnu.org>
9857
9858 Sync with upstream vhdl mode v3.34.2.
9859 * progmodes/vhdl-mode.el: Use `push' throughout.
9860 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9861 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9862 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9863 (vhdl-actual-generic-name): New option to derive actual generic name.
9864 (vhdl-port-paste-signals): Replace formal by actual generics.
9865 (vhdl-beautify): New name for old group vhdl-align. Update users.
9866 (vhdl-beautify-options): New option.
9867 (vhdl-last-input-event): New compat alias. Use throughout.
9868 (vhdl-goto-line): Replace user level function `goto-line'.
9869 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9870 vhdl-fix-statement-buffer.
9871 (vhdl-create-mode-menu): Add some entries.
9872 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9873 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9874 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9875 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9876 to force statements on one line.
9877 (vhdl-remove-trailing-spaces-region):
9878 New, split from vhdl-remove-trailing-spaces.
9879 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9880 Respect vhdl-beautify-options.
9881 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9882 (vhdl-update-sensitivity-list): Not add with index if exists without.
9883 Not include array index with signal. Ignore keywords in comments.
9884 (vhdl-get-visible-signals): Regexp tweaks.
9885 (vhdl-template-component-inst): Handle empty library.
9886 (vhdl-template-type): Add template for 'enum' type.
9887 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9888 Use vhdl-replace-string.
9889 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9890 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9891 (vhdl-speedbar-initialize): Update for above name change.
9892 (vhdl-compose-wire-components): Fix in handling of constants.
9893 (vhdl-error-regexp-emacs-alist): New variable.
9894 (vhdl-error-regexp-add-emacs): New function;
9895 adds support for new compile.el (Emacs 22+)
9896 (vhdl-generate-makefile-1): Change target order for single lib. units.
9897 Allow use of absolute file names.
9898
9899 2013-05-16 Leo Liu <sdl.web@gmail.com>
9900
9901 * simple.el (prog-indent-sexp): Indent enclosing defun.
9902
9903 2013-05-15 Glenn Morris <rgm@gnu.org>
9904
9905 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9906 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9907 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9908 (whitespace-highlight): Move to whitespace group.
9909
9910 * comint.el (comint-source):
9911 * pcmpl-linux.el (pcmpl-linux):
9912 * shell.el (shell-faces):
9913 * eshell/esh-opt.el (eshell-opt):
9914 * international/ccl.el (ccl): Remove empty custom groups.
9915
9916 * completion.el (dynamic-completion-mode):
9917 * jit-lock.el (jit-lock-debug-mode):
9918 * minibuffer.el (completion-in-region-mode):
9919 * type-break.el (type-break-mode-line-message-mode)
9920 (type-break-query-mode):
9921 * emulation/tpu-edt.el (tpu-edt-mode):
9922 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9923 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9924 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9925
9926 * term/xterm.el (xterm): Change parent group to terminals.
9927
9928 * master.el (master): Remove empty custom group.
9929 (master-mode): Remove unused :group argument.
9930 * textmodes/refill.el (refill): Remove empty custom group.
9931 (refill-mode): Remove unused :group argument.
9932
9933 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9934
9935 * cus-dep.el: Provide a feature.
9936 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9937 Don't mistakenly ignore files whose basenames match a basename
9938 from preloaded-file-list (eg cedet/ede/simple.el).
9939 Add a fallback method for getting :group.
9940
9941 2013-05-15 Juri Linkov <juri@jurta.org>
9942
9943 * isearch.el (isearch-char-by-name): Rename from
9944 `isearch-insert-char-by-name'. Doc fix.
9945 (isearch-forward): Mention `isearch-char-by-name' in
9946 the docstring. (Bug#13348)
9947
9948 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9949 `exit-minibuffer' instead of
9950 `isearch-nonincremental-exit-minibuffer'.
9951 (isearch-edit-string): Remove mention of
9952 `isearch-nonincremental-exit-minibuffer' from docstring.
9953 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9954 (isearch-forward-exit-minibuffer)
9955 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9956
9957 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9958
9959 * loadup.el: Just use unversioned DOC.
9960
9961 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9962 literals as extending to EOB.
9963 (nxml-last-fontify-end): Remove unused variable.
9964 (nxml-after-change1): Use with-silent-modifications.
9965 (nxml-extend-after-change-region): Simplify.
9966 (nxml-extend-after-change-region1): Remove function.
9967 (nxml-after-change1): Don't adjust for dependent regions.
9968 (nxml-fontify-matcher): Simplify.
9969 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9970 (xmltok-add-dependent): Remove function.
9971 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9972 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9973 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9974 unclosed <[[, <?, comment, and other literals as extending to EOB.
9975 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9976 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9977 Remove functions.
9978 (rng-do-some-validation-1): Don't mark dependent regions.
9979 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9980 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9981 (nxml-clear-dependent-regions): Remove functions.
9982 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9983 (nxml-ensure-scan-up-to-date):
9984 Don't clear&mark dependent regions.
9985
9986 2013-05-15 Leo Liu <sdl.web@gmail.com>
9987
9988 * progmodes/octave.el (octave-goto-function-definition):
9989 Improve and fix callers.
9990
9991 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9992
9993 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9994 the setter (bug#14387).
9995
9996 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9997 surrounding group (bug#14402).
9998
9999 2013-05-14 Juri Linkov <juri@jurta.org>
10000
10001 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10002 (Bug#14390)
10003
10004 2013-05-14 Glenn Morris <rgm@gnu.org>
10005
10006 * progmodes/f90.el (f90-imenu-generic-expression):
10007 Fix typo in 2013-05-08 change. (Bug#14402)
10008
10009 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10010
10011 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10012 Remove signals for which replies are never received.
10013
10014 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10015
10016 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10017 (gdb-handler-alist, gdb-handler-number): Remove variables.
10018 (gdb-handler-list): New variable.
10019 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10020 (gdb-pending-handler-p, gdb-handle-reply)
10021 (gdb-remove-all-pending-triggers): New functions.
10022 (gdb-discard-unordered-replies): New defcustom.
10023 (gdb-handler): New defstruct.
10024 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10025 instead of gdb-pending-triggers. Update docstring.
10026 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10027 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10028 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10029 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10030 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10031 (gdb-frame-handler): Pending triggers are now automatically managed.
10032 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10033 Remove argument.
10034 (gdb-input): Automatically handles pending triggers. Update docstring.
10035 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10036 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10037 Update comments.
10038 (gdb-done-or-error): Now use gdb-handle-reply.
10039
10040 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10041
10042 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10043 gdb-debug-log.
10044
10045 2013-05-14 Glenn Morris <rgm@gnu.org>
10046
10047 * subr.el (user-emacs-directory-warning): New option.
10048 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10049
10050 2013-05-14 Leo Liu <sdl.web@gmail.com>
10051
10052 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10053 during redisplay.
10054 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10055 (octave-font-lock-texinfo-comment): Fix invalid search bound
10056 error: wrong side of point.
10057
10058 2013-05-14 Glenn Morris <rgm@gnu.org>
10059
10060 * progmodes/flymake.el (flymake-xml-program): New option.
10061 (flymake-xml-init): Use it.
10062
10063 * term/xterm.el: Provide a feature.
10064
10065 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10066
10067 2013-05-13 Glenn Morris <rgm@gnu.org>
10068
10069 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10070 Add compat aliases as a hack workaround. (Bug#14384)
10071
10072 2013-05-13 Leo Liu <sdl.web@gmail.com>
10073
10074 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10075 ###, and %!.
10076 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10077 C-M-q.
10078 (octave-comment-start-skip): Include %!.
10079 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10080
10081 2013-05-12 Leo Liu <sdl.web@gmail.com>
10082
10083 * progmodes/octave.el (inferior-octave-startup): Store the value
10084 of __octave_srcdir__ for octave-source-directories.
10085 (inferior-octave-check-process): New function refactored out of
10086 inferior-octave-send-list-and-digest.
10087 (octave-source-directories)
10088 (octave-find-definition-filename-function): New variables.
10089 (octave-source-directories)
10090 (octave-find-definition-default-filename): New functions.
10091 (octave-find-definition): Improve to find functions implemented in C++.
10092
10093 2013-05-12 Glenn Morris <rgm@gnu.org>
10094
10095 * calendar/diary-lib.el (diary-outlook-format-1):
10096 Don't include dayname in the output. (Bug#14349)
10097
10098 2013-05-11 Glenn Morris <rgm@gnu.org>
10099
10100 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10101
10102 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10103 Treat cc-provide like provide.
10104
10105 2013-05-11 Kevin Ryde <user42@zip.com.au>
10106
10107 * cus-dep.el (custom-make-dependencies):
10108 Use generated-autoload-load-name for the sake of files such
10109 such cedet/semantic/bovine/c.el, where the base file name
10110 is not in load-path. (Bug#5277)
10111
10112 2013-05-11 Glenn Morris <rgm@gnu.org>
10113
10114 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10115 Provide features.
10116
10117 2013-05-11 Leo Liu <sdl.web@gmail.com>
10118
10119 * progmodes/octave.el (octave-indent-comment): Improve.
10120 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10121 (octave-eldoc-function-signatures, octave-eldoc-function):
10122 New functions.
10123 (octave-mode, inferior-octave-mode): Add eldoc support.
10124
10125 2013-05-11 Richard Stallman <rms@gnu.org>
10126
10127 * epa.el (epa-decrypt-file): Take output file name as argument
10128 and read it using `interactive'.
10129
10130 2013-05-11 Leo Liu <sdl.web@gmail.com>
10131
10132 * progmodes/octave.el (octave-beginning-of-line)
10133 (octave-end-of-line): Check before using up-list because it jumps
10134 out of more syntactic contructs since moving to smie.
10135 (octave-indent-comment): New function.
10136 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10137 (octave-begin-keywords, octave-end-keywords)
10138 (octave-reserved-words, octave-smie-bnf-table)
10139 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10140
10141 2013-05-11 Glenn Morris <rgm@gnu.org>
10142
10143 * faces.el (internal-face-x-get-resource):
10144 * frame.el (ns-display-monitor-attributes-list):
10145 * calc/calc-aent.el (math-to-radians-2):
10146 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10147 Fix declarations.
10148
10149 * calc/calc-menu.el: Make it loadable in isolation.
10150
10151 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10152 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10153 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10154 (eudc-bbdb-query-internal): Require 'bbdb.
10155
10156 * lpr.el (lpr-headers-switches):
10157 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10158
10159 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10160
10161 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10162
10163 * term.el (term-set-escape-char): Make it idempotent.
10164
10165 2013-05-10 Leo Liu <sdl.web@gmail.com>
10166
10167 * progmodes/octave.el (inferior-octave-completion-table):
10168 No longer a function and all uses changed. Use cache to speed up
10169 completion due to bug#11906.
10170 (octave-beginning-of-defun): Re-write to be more general.
10171
10172 2013-05-10 Glenn Morris <rgm@gnu.org>
10173
10174 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10175
10176 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * comint.el (comint-redirect-send-command-to-process): Use :around
10179 rather than :override for comint-redirect-filter.
10180 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10181 Call it instead of comint-redirect-original-filter-function (which
10182 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10183
10184 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10185
10186 * frame.el (display-monitor-attributes-list): Add NS case.
10187 (ns-display-monitor-attributes-list): Declare.
10188
10189 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10190
10191 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10192
10193 2013-05-09 Glenn Morris <rgm@gnu.org>
10194
10195 * international/fontset.el (vertical-centering-font-regexp):
10196 Set standard-value.
10197
10198 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10199
10200 * bookmark.el (bookmark-search-delay):
10201 * cus-start.el (vertical-centering-font-regexp):
10202 * ps-mule.el (ps-mule-font-info-database-default):
10203 * ps-print.el (ps-default-fg, ps-default-bg):
10204 * type-break.el (type-break-good-break-interval):
10205 * whitespace.el (whitespace-indentation-regexp)
10206 (whitespace-space-after-tab-regexp):
10207 * emacs-lisp/testcover.el (testcover-1value-functions)
10208 (testcover-noreturn-functions, testcover-progn-functions)
10209 (testcover-prog1-functions):
10210 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10211 * eshell/em-glob.el (eshell-glob-translate-alist):
10212 * play/tetris.el (tetris-tty-colors):
10213 * progmodes/cpp.el (cpp-face-default-list):
10214 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10215 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10216 (idlwave-help-browser-generic-args):
10217 * progmodes/make-mode.el (makefile-special-targets-list):
10218 * progmodes/python.el (python-shell-virtualenv-path):
10219 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10220 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10221 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10222 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10223 * textmodes/reftex-vars.el (reftex-format-label-function):
10224 * textmodes/remember.el (remember-diary-file): Fix custom types.
10225
10226 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10227 Add :version.
10228
10229 2013-05-09 Leo Liu <sdl.web@gmail.com>
10230
10231 * progmodes/octave.el (inferior-octave-completion-at-point):
10232 Restore file completion. (Bug#14300)
10233 (inferior-octave-startup): Fix incorrect highlighting for the
10234 first prompt.
10235
10236 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10237
10238 * progmodes/ruby-mode.el: First cut at SMIE support.
10239 (ruby-use-smie): New var.
10240 (ruby-smie-grammar): New constant.
10241 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10242 (ruby-smie--forward-token, ruby-smie--backward-token)
10243 (ruby-smie-rules): New functions.
10244 (ruby-mode-variables): Setup SMIE if applicable.
10245
10246 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10247
10248 * simple.el (line-move-visual): Signal beginning/end of buffer
10249 only if vertical-motion moved less than it was requested. Avoids
10250 silly incorrect error messages when there are display strings with
10251 multiple newlines at EOL.
10252
10253 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10254
10255 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10256 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10257 (prolog-char-quote-workaround):
10258 * progmodes/cperl-mode.el (cperl-under-as-char):
10259 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10260 Mark as obsolete.
10261 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10262 their declaration.
10263 (vhdl-mode-syntax-table-init): Remove.
10264
10265 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10266 last change.
10267
10268 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10269 syntax for "_".
10270 (ld-script-font-lock-keywords):
10271 Change regexps to use things like \_< and \_>.
10272
10273 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10274 Change all regexps to use things like \_< and \_>.
10275
10276 * progmodes/autoconf.el (autoconf-definition-regexp)
10277 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10278 Handle a _ with symbol syntax.
10279 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10280
10281 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10282 Consolidate declaration.
10283 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10284 the declaration.
10285 (ada-create-syntax-table): Remove.
10286 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10287 already has the right syntax nowadays.
10288 (ada-goto-next-word): Don't change the syntax of "_".
10289
10290 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10291 with-wrapper-hook.
10292
10293 2013-05-08 Sam Steingold <sds@gnu.org>
10294
10295 * thingatpt.el (thing-at-point): Accept optional second argument
10296 NO-PROPERTIES to strip the text properties from the return value.
10297 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10298 to `thing-at-point' instead of stripping the properties ourselves.
10299 Also, when `thing-at-point' fails to find a url, prepend "http://"
10300 to the filename at point on the assumption that the user is
10301 pointing at something like gnu.org/gnu.
10302
10303 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10304
10305 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10306 * faces.el (crm-separator):
10307 Silence byte-compiler.
10308
10309 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10310 (tool-bar-map): Remove unneeded defvars.
10311
10312 2013-05-08 Leo Liu <sdl.web@gmail.com>
10313
10314 Re-work a fix for bug#10994 based on Le Wang's patch.
10315 * ido.el (ido-remove-consecutive-dups): New helper.
10316 (ido-completing-read): Use it.
10317 (ido-chop): Revert fix for bug#10994.
10318
10319 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10320
10321 * cus-edit.el (custom-save-variables):
10322 Pretty-print long values. (Bug#14187)
10323
10324 2013-05-08 Glenn Morris <rgm@gnu.org>
10325
10326 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10327 (m4-mode-syntax-table): Init in the defvar.
10328 (m4-mode-abbrev-table): Let define-derived-mode define it.
10329
10330 2013-05-08 Tom Tromey <tromey@redhat.com>
10331
10332 * progmodes/m4-mode.el (m4-mode-syntax-table):
10333 Do not treat "_" as word constituent. (Bug#14167)
10334
10335 2013-05-07 Glenn Morris <rgm@gnu.org>
10336
10337 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10338 Remove explicit eshell-isearch-cancel-map.
10339
10340 * progmodes/f90.el (f90-smart-end-names): New option.
10341 (f90-smart-end): Doc fix.
10342 (f90-end-block-optional-name): New constant.
10343 (f90-block-match): Respect f90-smart-end-names.
10344
10345 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10346
10347 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10348 about implicit semi-colons (bug#14218).
10349
10350 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10351
10352 * frame.el (display-monitor-attributes-list)
10353 (frame-monitor-attributes): New functions.
10354
10355 2013-05-06 Leo Liu <sdl.web@gmail.com>
10356
10357 * progmodes/octave.el (octave-syntax-propertize-function): Change
10358 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10359 (octave-font-lock-keywords): Use octave-operator-regexp.
10360 (octave-completion-at-point): Rename from
10361 octave-completion-at-point-function.
10362 (inferior-octave-directory-tracker): Robustify.
10363 (octave-text-functions): Remove and fix its uses. No such things
10364 any more.
10365
10366 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10367
10368 * emacs-lisp/trace.el (trace--display-buffer): New function.
10369 (trace-make-advice): Use it.
10370
10371 2013-05-06 Juri Linkov <juri@jurta.org>
10372
10373 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10374 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10375 Doc fix.
10376 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10377 in the help string. (Bug#12985)
10378
10379 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10380
10381 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10382
10383 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10384
10385 * progmodes/perl-mode.el: Add support for here documents.
10386 (perl-syntax-propertize-function): Match here-doc markers.
10387 (perl-syntax-propertize-special-constructs): Find their end.
10388 (perl-imenu-generic-expression): Use [:alnum:].
10389
10390 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10391 (advice--add-function): Refresh the advice if already present
10392 (bug#14317).
10393
10394 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10395
10396 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10397
10398 2013-05-06 Glenn Morris <rgm@gnu.org>
10399
10400 * w32-fns.el (w32-charset-info-alist): Declare.
10401
10402 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10403 of its defcustom properties.
10404 (eshell-cmpl-initialize): No need to load pcomplete.
10405
10406 * generic-x.el: No need to require comint when compiling.
10407
10408 * net/eudc-export.el: Make it loadable without bbdb.
10409 (top-level): Use require rather than load-library.
10410 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10411 (eudc-batch-export-records-to-bbdb)
10412 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10413 Require bbdb.
10414
10415 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10416
10417 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10418 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10419 some tweaks, instead.
10420
10421 2013-05-05 Leo Liu <sdl.web@gmail.com>
10422
10423 * progmodes/octave.el (octave-font-lock-keywords)
10424 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10425 (inferior-octave-send-list-and-digest): Improve error message.
10426 (octave-mode, inferior-octave-mode): Use setq-local.
10427 (octave-help): Set info-lookup-mode.
10428
10429 2013-05-05 Richard Stallman <rms@gnu.org>
10430
10431 * vc/compare-w.el (compare-windows-whitespace):
10432 Treat no-break space as whitespace.
10433
10434 * mail/rmailsum.el (rmail-summary-rmail-update):
10435 Detect empty summary and don't change selected message.
10436 (rmail-summary-goto-msg): Likewise.
10437
10438 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10439 Doc fixes, rename args.
10440
10441 2013-05-05 Alan Mackenzie <acm@muc.de>
10442
10443 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10444
10445 2013-05-05 Juri Linkov <juri@jurta.org>
10446
10447 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10448 to not add the length of the summary segment to the return value.
10449 (Bug#14125)
10450
10451 2013-05-05 Leo Liu <sdl.web@gmail.com>
10452
10453 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10454 (inferior-octave-output-filter): Remove.
10455 (octave-send-region, inferior-octave-startup): Fix callers.
10456 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10457 (octave-binary-file-extensions): New user variable.
10458 (octave-find-definition): Confirm if opening binary files.
10459 (octave-help-file): Use octave-find-definition to get the binary
10460 confirmation.
10461 (octave-help): Adjust for octave-help-file change.
10462
10463 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10464
10465 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10466 Merge the two entries that handle function definitions.
10467 (pascal--syntax-propertize): New const.
10468 (pascal-mode): Use it. Use setq-local.
10469
10470 2013-05-04 Glenn Morris <rgm@gnu.org>
10471
10472 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10473 (diary-from-outlook): Respect diary-from-outlook-function.
10474
10475 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10478 Move the declaration from C.
10479 (read-minibuffer, eval-minibuffer): Move from C.
10480 (completion-setup-function): Avoid minibuffer-completion-contents.
10481
10482 2013-05-03 Leo Liu <sdl.web@gmail.com>
10483
10484 * progmodes/octave.el (octave-font-lock-keywords): Do not
10485 dehighlight 'end' in comments or strings.
10486 (octave-completing-read, octave-goto-function-definition):
10487 New helpers.
10488 (octave-help-buffer): New user variable.
10489 (octave-help-file, octave-help-function): New button types.
10490 (octave-help): New command and bind it to C-h ;.
10491 (octave-find-definition): New command and bind it to M-.
10492 (user-error): Alias to error if not defined.
10493
10494 2013-05-02 Leo Liu <sdl.web@gmail.com>
10495
10496 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10497 for \. (bug#14332)
10498 (octave-font-lock-keywords): Include [ and {.
10499
10500 2013-05-02 Leo Liu <sdl.web@gmail.com>
10501
10502 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10503 (inferior-octave): Remove calling comint-mode and return the buffer.
10504 (inferior-octave-startup): Cosmetic changes.
10505
10506 2013-05-02 Leo Liu <sdl.web@gmail.com>
10507
10508 * progmodes/octave.el (octave-syntax-propertize-function):
10509 Include the case when ' is at line beginning. (Bug#14336)
10510
10511 2013-05-02 Glenn Morris <rgm@gnu.org>
10512
10513 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10514 * desktop.el (vc-dir-mode): Just autoload it here.
10515
10516 2013-05-02 Alan Mackenzie <acm@muc.de>
10517
10518 Eliminate variable c-standard-font-lock-fontify-region-function.
10519 * progmodes/cc-mode.el
10520 (c-standard-font-lock-fontify-region-function): Remove.
10521 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10522
10523 2013-05-01 Leo Liu <sdl.web@gmail.com>
10524
10525 * progmodes/octave.el: Compatible with older emacs-24 releases.
10526 (inferior-octave-has-built-in-variables): Remove. Built-in
10527 variables were removed from Octave in 2007.
10528 (inferior-octave-startup): Fix uses.
10529 (comint-line-beginning-position): Remove compatibility code for
10530 emacs 21.
10531
10532 2013-05-01 Juri Linkov <juri@jurta.org>
10533
10534 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10535
10536 2013-05-01 Juri Linkov <juri@jurta.org>
10537
10538 * comint.el (comint-previous-matching-input): Don't print message
10539 "History item: %d" when `isearch-mode' is active.
10540 (comint-history-isearch-message): Print message "History item: %d"
10541 when `comint-input-ring-index' is not empty and this function is
10542 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10543
10544 2013-05-01 Leo Liu <sdl.web@gmail.com>
10545
10546 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10547 definitions. Use completion-at-point to insert keywords.
10548 (octave-abbrev-start): Remove.
10549 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10550
10551 2013-04-30 Leo Liu <sdl.web@gmail.com>
10552
10553 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10554 change.
10555
10556 2013-04-30 Alan Mackenzie <acm@muc.de>
10557
10558 Handle arbitrarily long C++ member initialisation lists.
10559 * progmodes/cc-engine.el (c-back-over-member-initializers):
10560 new function.
10561 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10562 (most) member init lists.
10563
10564 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10565
10566 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10567 variable.
10568
10569 2013-04-30 Leo Liu <sdl.web@gmail.com>
10570
10571 * progmodes/octave.el (octave-variables): Remove. No builtin
10572 variables any more. All converted to functions.
10573 (octave-font-lock-keywords, octave-completion-at-point-function):
10574 Fix uses.
10575 (octave-font-lock-texinfo-comment): New user variable.
10576 (octave-texinfo-font-lock-keywords): New variable for texinfo
10577 comment block.
10578 (octave-function-comment-block): New face.
10579 (octave-font-lock-texinfo-comment): New function.
10580 (octave-mode): Font lock texinfo comment block.
10581
10582 2013-04-29 Leo Liu <sdl.web@gmail.com>
10583
10584 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10585 indexing expression.
10586 (octave-continuation-string): Do not use \.
10587 (inferior-octave-complete-impossible): Remove.
10588 (inferior-octave-completion-table)
10589 (inferior-octave-completion-at-point): Remove its uses.
10590 (inferior-octave-startup): completion_matches was introduced to
10591 Octave in 1996 so safe to assume it.
10592 (octave-function-file-comment): Improve to follow how Octave does it.
10593 (octave-update-function-file-comment): Tweak.
10594
10595 2013-04-29 Leo Liu <sdl.web@gmail.com>
10596
10597 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10598 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10599 (octave-function-file-comment): Fix typo.
10600 (octave-sync-function-file-names): Use read-char-choice.
10601
10602 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10603
10604 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10605 to t for the less important warnings.
10606
10607 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10608
10609 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10610
10611 2013-04-27 Glenn Morris <rgm@gnu.org>
10612
10613 * vc/log-view.el (log-view-current-entry):
10614 Treat "---" separator lines as part of the following rev. (Bug#14169)
10615
10616 2013-04-27 Juri Linkov <juri@jurta.org>
10617
10618 * subr.el (read-number): Doc fix about using it by interactive
10619 code letter `n'. (Bug#14254)
10620
10621 2013-04-27 Juri Linkov <juri@jurta.org>
10622
10623 * desktop.el (desktop-auto-save-timeout): New option.
10624 (desktop-file-checksum): New variable.
10625 (desktop-save): Add optional arg `auto-save' and don't auto-save
10626 if nothing changed.
10627 (desktop-auto-save-timer): New variable.
10628 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10629 (after-init-hook): Call `desktop-auto-save-set-timer'.
10630 Suggested by Reuben Thomas <rrt@sc3d.org> in
10631 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10632
10633 2013-04-27 Leo Liu <sdl.web@gmail.com>
10634
10635 * progmodes/octave.el (octave-function-file-p)
10636 (octave-skip-comment-forward, octave-function-file-comment)
10637 (octave-update-function-file-comment): New functions.
10638 (octave-mode-map): Bind C-c ; to
10639 octave-update-function-file-comment.
10640 (octave-mode-menu): Add octave-update-function-file-comment.
10641 (octave-mode, inferior-octave-mode): Fix doc-string.
10642 (octave-insert-defun): Conform to Octave's coding convention.
10643 (Bug#14285)
10644
10645 * files.el (basic-save-buffer): Don't let errors in
10646 before-save-hook prevent saving buffer.
10647
10648 2013-04-20 Roland Winkler <winkler@gnu.org>
10649
10650 * faces.el (read-face-name): Use completing-read if arg multiple
10651 is nil.
10652
10653 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10654
10655 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10656 displayed, move point to after the totals line.
10657 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10658 for the details.
10659
10660 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10661
10662 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10663 Add current dir to the load-path.
10664 (package-generate-autoloads): Don't rely on
10665 autoload-ensure-default-file.
10666
10667 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10668
10669 * textmodes/remember.el (remember-store-in-files): Document that
10670 the file name format is passed to `format-time-string'.
10671
10672 2013-04-26 Leo Liu <sdl.web@gmail.com>
10673
10674 * progmodes/octave.el (octave-sync-function-file-names): New function.
10675 (octave-mode): Use it in before-save-hook.
10676
10677 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10678
10679 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10680 (bug#14274).
10681
10682 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10683 \n and comment, even if it's not an implicit ; (bug#14218).
10684
10685 2013-04-26 Glenn Morris <rgm@gnu.org>
10686
10687 * subr.el (read-number): Once more use `read' rather than
10688 `string-to-number', to trap non-numeric input. (Bug#14254)
10689
10690 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10691
10692 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10693 Use `syntax-multiline' text property consistently instead of
10694 `font-lock-multiline'. (Bug#14237)
10695
10696 2013-04-26 Glenn Morris <rgm@gnu.org>
10697
10698 * emacs-lisp/shadow.el (list-load-path-shadows):
10699 No longer necessary to check for duplicate simple.el, since
10700 2012-07-07 change to init_lread to not include installation lisp
10701 directories in load-path when running uninstalled. (Bug#14270)
10702
10703 2013-04-26 Leo Liu <sdl.web@gmail.com>
10704
10705 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10706 (octave-mode, inferior-octave-mode): Use setq-local.
10707 (octave-not-in-string-or-comment-p): Rename to
10708 octave-in-string-or-comment-p.
10709 (octave-in-comment-p, octave-in-string-p)
10710 (octave-in-string-or-comment-p): Replace defsubst with defun.
10711
10712 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10713
10714 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10715
10716 2013-04-25 Bastien Guerry <bzg@gnu.org>
10717
10718 * textmodes/remember.el (remember-data-directory)
10719 (remember-directory-file-name-format): Fix custom types.
10720
10721 2013-04-25 Leo Liu <sdl.web@gmail.com>
10722
10723 * progmodes/octave.el (octave-completion-at-point-function):
10724 Make use of inferior octave process.
10725 (octave-initialize-completions): Remove.
10726 (inferior-octave-completion-table): New function.
10727 (inferior-octave-completion-at-point): Use it.
10728 (octave-completion-alist): Remove.
10729
10730 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10731
10732 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10733 (opascal-mode-syntax-table): New var.
10734 (opascal-literal-kind, opascal-is-literal-end)
10735 (opascal-literal-token-at): Rewrite.
10736 (opascal--literal-start-re, opascal-font-lock-keywords)
10737 (opascal--syntax-propertize): New constants.
10738 (opascal-font-lock-defaults): Adjust.
10739 (opascal-mode): Use them. Set comment-<foo> variables as well.
10740 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10741 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10742 (delphi-other-face, opascal-other-face): Remove face variables.
10743 (opascal-save-state): Remove macro.
10744 (opascal-fontifying-progress-step): Remove constant.
10745 (opascal--ignore-changes): Remove var.
10746 (opascal-set-token-property, opascal-parse-next-literal)
10747 (opascal-is-stable-literal, opascal-complete-literal)
10748 (opascal-is-literal-start, opascal-face-of)
10749 (opascal-parse-region, opascal-parse-region-until-stable)
10750 (opascal-fontify-region, opascal-after-change)
10751 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10752 (opascal-debug-parse-region, opascal-debug-parse-window)
10753 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10754 (opascal-debug-fontify-buffer): Remove.
10755 (opascal-debug-mode-map): Adjust accordingly.
10756
10757 2013-04-25 Leo Liu <sdl.web@gmail.com>
10758
10759 Merge octave-mod.el and octave-inf.el into octave.el with some
10760 cleanups.
10761 * progmodes/octave.el: New file renamed from octave-mod.el.
10762 * progmodes/octave-inf.el: Merged into octave.el.
10763 * progmodes/octave-mod.el: Renamed to octave.el.
10764
10765 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10766
10767 * textmodes/reftex-vars.el
10768 (reftex-label-ignored-macros-and-environments): New defcustom.
10769
10770 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10771
10772 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10773
10774 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10775 (smie-indent-keyword): Improve the check to ensure that the next
10776 comment is really on the same line.
10777 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10778
10779 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10780 semi-colons if the line is not otherwise empty (bug#14218).
10781
10782 2013-04-25 Glenn Morris <rgm@gnu.org>
10783
10784 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10785
10786 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10787
10788 * progmodes/opascal.el (opascal-set-token-property): Rename from
10789 opascal-set-text-properties and only set `token' (bug#14134).
10790 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10791 (opascal-literal-text-properties): Remove.
10792 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10793 Adjust callers.
10794
10795 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10796
10797 * textmodes/remember.el (remember-handler-functions): Add an
10798 option for a new handler `remember-store-in-files'.
10799 (remember-data-directory, remember-directory-file-name-format):
10800 New options.
10801 (remember-store-in-files): New function to store remember notes
10802 as separate files within a directory.
10803
10804 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10805
10806 * progmodes/compile.el (compilation-next-error-function):
10807 Pass "formats" to compilation-find-file (bug#11777).
10808
10809 2013-04-24 Glenn Morris <rgm@gnu.org>
10810
10811 * vc/vc-bzr.el (vc-bzr-print-log):
10812 * vc/vc-hg.el (vc-hg-print-log):
10813 * vc/vc-svn.el (vc-svn-print-log):
10814 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10815
10816 * vc/vc-bzr.el (vc-bzr-print-log):
10817 * vc/vc-cvs.el (vc-cvs-print-log):
10818 * vc/vc-git.el (vc-git-print-log):
10819 * vc/vc-hg.el (vc-hg-print-log):
10820 * vc/vc-mtn.el (vc-mtn-print-log):
10821 * vc/vc-rcs.el (vc-rcs-print-log):
10822 * vc/vc-sccs.el (vc-sccs-print-log):
10823 * vc/vc-svn.el (vc-svn-print-log):
10824 * vc/vc.el (vc-print-log-internal): Doc fixes.
10825
10826 2013-04-23 Glenn Morris <rgm@gnu.org>
10827
10828 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10829 Remove venerable code attempting to avoid substitute-command-keys.
10830
10831 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10832
10833 * textmodes/reftex-vars.el (reftex-label-regexps):
10834 Call `reftex-compile-variables' after changes to this variable.
10835
10836 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10837
10838 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10839 Use lexical-binding.
10840 (jit-lock-force-redisplay): Use markers, check buffer's continued
10841 existence and beware narrowed buffers.
10842 (jit-lock-fontify-now): Adjust call accordingly.
10843
10844 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10845
10846 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10847 to avoid misleading the user.
10848
10849 2013-04-22 Leo Liu <sdl.web@gmail.com>
10850
10851 * info-look.el: Prefer latex2e.info. (Bug#14240)
10852
10853 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10854
10855 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10856
10857 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10858 * net/tramp.el (tramp-call-process): ... here.
10859 (tramp-set-completion-function, tramp-parse-putty):
10860 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10861 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10862 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10863 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10864 (tramp-call-local-coding-command): Use `tramp-call-process'
10865 instead of `tramp-compat-call-process'.
10866
10867 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10868 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10869 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10870 (tramp-find-inline-compress): Improve traces.
10871 (tramp-maybe-send-script): Check for Perl binary.
10872 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10873
10874 2013-04-22 Daiki Ueno <ueno@gnu.org>
10875
10876 * epg.el (epg-context-pinentry-mode): New function.
10877 (epg-context-set-pinentry-mode): New function.
10878 (epg--start): Pass --pinentry-mode option to gpg command.
10879
10880 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10881
10882 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10883 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10884 `completion-at-point'. (Bug#13774)
10885
10886 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10887 default key binding for `describe-distribution' has been moved to
10888 `C-h C-o'. (Bug#13970)
10889
10890 2013-04-21 Glenn Morris <rgm@gnu.org>
10891
10892 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10893 Add doc strings.
10894 (vc-print-log): Clarify interactive prompt.
10895
10896 2013-04-20 Glenn Morris <rgm@gnu.org>
10897
10898 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10899 No longer include timestamp etc information.
10900
10901 2013-04-20 Roland Winkler <winkler@gnu.org>
10902
10903 * faces.el (read-face-name): Bug fix, return just one face if arg
10904 multiple is nil. (Bug#14209)
10905
10906 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10907
10908 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10909 (remove-function): Autoload.
10910
10911 * comint.el (comint-redirect-original-filter-function): Remove.
10912 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10913 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10914 (vc-cvs-annotate-command):
10915 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10916 * progmodes/prolog.el (prolog-consult-compile):
10917 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10918 Use add/remove-function instead.
10919 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10920 (gud-tooltip-process-output, gud-tooltip-tips):
10921 Use add/remove-function instead.
10922 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10923 (scheme-interaction-mode, exit-scheme-interaction-mode):
10924 Use add/remove-function instead.
10925
10926 * vc/vc-dispatcher.el: Use lexical-binding.
10927 (vc--process-sentinel): Rename from vc-process-sentinel.
10928 Change last arg to be the code to run. Don't use vc-previous-sentinel
10929 and vc-sentinel-commands any more.
10930 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10931 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10932
10933 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10934
10935 * progmodes/sh-script.el (sh-imenu-generic-expression):
10936 Handle function names with a single character. (Bug#14111)
10937
10938 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10939
10940 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10941 for subroutines defined in an eval (bug#14182).
10942
10943 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10944
10945 * bookmark.el (bookmark-completing-read): Improve handling of empty
10946 string (bug#14176).
10947
10948 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10949
10950 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10951
10952 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10953
10954 New faster Imenu implementation (bug#14058).
10955 * progmodes/python.el:
10956 (python-imenu-prev-index-position):
10957 (python-imenu-format-item-label-function)
10958 (python-imenu-format-parent-item-label-function)
10959 (python-imenu-format-parent-item-jump-label-function):
10960 New vars.
10961 (python-imenu-format-item-label)
10962 (python-imenu-format-parent-item-label)
10963 (python-imenu-format-parent-item-jump-label)
10964 (python-imenu--put-parent, python-imenu--build-tree)
10965 (python-imenu-create-index, python-imenu-create-flat-index)
10966 (python-util-popn): New functions.
10967 (python-mode): Set imenu-create-index-function to
10968 python-imenu-create-index.
10969
10970 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10971
10972 * winner.el (winner-active-region): Use region-active-p, activate-mark
10973 and deactivate-mark (bug#14225).
10974
10975 * simple.el (deactivate-mark): Don't inline it.
10976
10977 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10978
10979 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10980
10981 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10982
10983 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10984 file extensions from the archive-mode entry in order to prefer
10985 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10986
10987 2013-04-18 Leo Liu <sdl.web@gmail.com>
10988
10989 * bindings.el (help-event-list): Add ?\?.
10990
10991 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10992
10993 * subr.el (with-wrapper-hook): Declare obsolete.
10994 * simple.el (filter-buffer-substring-function): New hook.
10995 (filter-buffer-substring): Use it.
10996 (filter-buffer-substring-functions): Mark obsolete.
10997 * minibuffer.el (completion-in-region-function): New hook.
10998 (completion-in-region): Use it.
10999 (completion-in-region-functions): Mark obsolete.
11000 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11001 * abbrev.el (abbrev-expand-function): New hook.
11002 (expand-abbrev): Use it.
11003 (abbrev-expand-functions): Mark obsolete.
11004 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11005 and :filter-return.
11006
11007 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11008
11009 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11010 and do not care about match data.
11011
11012 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11013
11014 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11015 completion tables when completing error conditions and
11016 `declare' arguments.
11017 (lisp-complete-symbol, field-complete): Mark as obsolete.
11018 (check-parens): Unmatched parens are user errors.
11019 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11020
11021 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11022
11023 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11024 command changed buffer (ie. `flyspell-pre-buffer' is not current
11025 buffer), which prevents making decisions based on invalid value of
11026 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11027 cause an error when `flyspell-pre-point' was nil after switching
11028 buffers.
11029 (flyspell-post-command-hook): No longer needs to change buffers when
11030 checking pre-word. While at it remove unnecessary progn.
11031
11032 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11033
11034 * textmodes/ispell.el (ispell-add-per-file-word-list):
11035 Fix `flyspell-correct-word-before-point' error when accepting
11036 words and `coment-padding' is an integer by using
11037 `comment-normalize-vars' (Bug #14214).
11038
11039 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11040
11041 New defun movement commands.
11042 * progmodes/python.el (python-nav--syntactically)
11043 (python-nav--forward-defun, python-nav-backward-defun)
11044 (python-nav-forward-defun): New functions.
11045
11046 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11047
11048 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11049 (python-syntax-context): Use named compiler-macro for backwards
11050 compatibility with Emacs 24.x.
11051
11052 2013-04-17 Leo Liu <sdl.web@gmail.com>
11053
11054 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11055 octave-hide-process-buffer.
11056
11057 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11058
11059 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11060 (bug#14216).
11061
11062 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11063
11064 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11065 Fix adjustment of offset when receiving incomplete responses from GDB
11066 (bug#14129).
11067
11068 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11069
11070 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11071 python-mode-abbrev-table.
11072 (python-skeleton-define): Adjust accordingly.
11073 (python-mode-abbrev-table): New table that inherits from it so that
11074 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11075
11076 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11077 (abbrev-symbol): Use it.
11078 (abbrev--before-point): Use it since we already handle inheritance.
11079
11080 2013-04-16 Leo Liu <sdl.web@gmail.com>
11081
11082 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11083 binding to info-lookup-symbol.
11084
11085 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11086
11087 * minibuffer.el (completion--twq-all):
11088 * term/ns-win.el (ns-initialize-window-system):
11089 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11090
11091 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11092
11093 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11094 global bindings.
11095
11096 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11097
11098 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11099
11100 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11101 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11102 to nil.
11103 (ruby-end-of-defun): Remove the unused arg, change the docstring
11104 to reflect that this function is only used as the value of
11105 `end-of-defun-function'.
11106 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11107 to reflect an earlier change that beginning/end-of-defun functions
11108 jump between methods in a class definition, as well as top-level
11109 functions.
11110
11111 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11112
11113 * minibuffer.el (minibuffer-complete): Don't just scroll
11114 a *Completions* that's been iconified.
11115 (minibuffer-force-complete): Make sure repetitions do cycle when going
11116 through completion-in-region -> minibuffer-complete.
11117
11118 2013-04-15 Alan Mackenzie <acm@muc.de>
11119
11120 Correct the placement of c-cpp-delimiters when there're #s not at
11121 col 0.
11122
11123 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11124 place a submatch around the #.
11125 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11126 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11127 on the #, not BOL.
11128
11129 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11130
11131 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11132 (advice--member-p): New arg `name'.
11133 (advice--add-function, advice-member-p): Use it (bug#14202).
11134
11135 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11136
11137 Reformulate java imenu-generic-expression.
11138 The old expression contained ill formed regexps.
11139
11140 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11141 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11142 (cc-imenu-java-method-arg-regexp): New defconsts.
11143 (cc-imenu-java-build-type-args-regex): New defun.
11144 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11145 handling of spaces in the regexp.
11146
11147 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11148
11149 * textmodes/ispell.el (ispell-command-loop): Remove
11150 flyspell highlight of a word when ispell accepts it (bug #14178).
11151
11152 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11153
11154 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11155 uses code from the previous `ange-ftp-run-real-handler'.
11156 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11157 only in case that function exist. This is needed for proper
11158 unloading of Tramp.
11159
11160 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11161
11162 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11163
11164 * textmodes/reftex.el (reftex-compile-variables): Use it.
11165
11166 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * files.el (normal-mode): Only use default major-mode if no other mode
11169 was specified.
11170
11171 * emacs-lisp/trace.el (trace-values): New function.
11172
11173 * files.el: Allow : in local variables (bug#14089).
11174 (hack-local-variable-regexp): New var.
11175 (hack-local-variables-prop-line, hack-local-variables): Use it.
11176
11177 2013-04-13 Roland Winkler <winkler@gnu.org>
11178
11179 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11180 data before it gets modified by bibtex-beginning-of-entry.
11181
11182 2013-04-13 Roland Winkler <winkler@gnu.org>
11183
11184 * textmodes/bibtex.el (bibtex-url): Doc fix.
11185
11186 2013-04-13 Roland Winkler <winkler@gnu.org>
11187
11188 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11189 does not visit a BibTeX file, exclude it from the list of buffers
11190 returned by bibtex-initialize.
11191
11192 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11193
11194 * window.el (split-window): Remove interactive form, since as a
11195 command this function is a special case of split-window-below.
11196 Correct doc string.
11197
11198 2013-04-12 Roland Winkler <winkler@gnu.org>
11199
11200 * faces.el (read-face-name): Do not override value of arg default.
11201 Allow single faces and strings as default values. Remove those
11202 elements from return value that are not faces.
11203 (describe-face): Simplify.
11204 (face-at-point): New optional args thing and multiple so that this
11205 function can provide the same functionality previously provided by
11206 read-face-name.
11207 (make-face-bold, make-face-unbold, make-face-italic)
11208 (make-face-unitalic, make-face-bold-italic, invert-face)
11209 (modify-face, read-face-and-attribute): Use face-at-point.
11210
11211 * cus-edit.el (customize-face, customize-face-other-window)
11212 * cus-theme.el (custom-theme-add-face)
11213 * face-remap.el (buffer-face-set)
11214 * facemenu.el (facemenu-set-face): Use face-at-point.
11215
11216 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11217
11218 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11219
11220 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11221
11222 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11223 off leading { and trailing } from field values.
11224
11225 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11226
11227 * emacs-lisp/timer.el (timer--check): New function.
11228 (timer--time, timer-set-function, timer-event-handler): Use it.
11229 (timer-set-idle-time): Simplify.
11230 (timer--activate): CSE.
11231 (timer-event-handler): Give more info in error message.
11232 (internal-timer-start-idle): New function, moved from C.
11233
11234 * mpc.el (mpc-proc): Add `restart' argument.
11235 (mpc-proc-cmd): Use it.
11236 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11237 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11238 less often.
11239
11240 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11241
11242 * progmodes/sh-script.el: Implement `sh-mode' own
11243 `add-log-current-defun-function' (bug#14112).
11244 (sh-current-defun-name): New function.
11245 (sh-mode): Use the function.
11246
11247 2013-04-09 Bastien Guerry <bzg@gnu.org>
11248
11249 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11250
11251 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11252
11253 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11254
11255 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11256 timer (bug#14156).
11257
11258 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11259
11260 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11261 declaration.
11262
11263 2013-04-07 Leo Liu <sdl.web@gmail.com>
11264
11265 * pcmpl-x.el: New file.
11266
11267 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11268
11269 Do not set x-display-name until X connection is established.
11270 This is needed to prevent from weird situation described at
11271 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11272 * frame.el (make-frame): Set x-display-name after call to
11273 window system initialization function, not before.
11274 * term/x-win.el (x-initialize-window-system): Add optional
11275 display argument and use it.
11276 * term/w32-win.el (w32-initialize-window-system):
11277 * term/ns-win.el (ns-initialize-window-system):
11278 * term/pc-win.el (msdos-initialize-window-system):
11279 Add compatible optional display argument.
11280
11281 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11282
11283 * files.el (normal-backup-enable-predicate): On MS-Windows and
11284 MS-DOS compare truenames of temporary-file-directory and of the
11285 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11286 don't fail comparison by compare-strings. Also, compare file
11287 names case-insensitively on MS-Windows and MS-DOS.
11288
11289 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11290
11291 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11292 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11293
11294 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11295
11296 * whitespace.el (whitespace-color-on, whitespace-color-off):
11297 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11298
11299 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11300
11301 * ispell.el (ispell-set-spellchecker-params):
11302 Really set `ispell-args' for all equivs.
11303
11304 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11305
11306 * ido.el (ido-completions): Use extra elements of ido-decorations
11307 (bug#14143).
11308 (ido-decorations): Update docstring.
11309
11310 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11311
11312 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11313 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11314 nil during initialization, in order not to miss changes since the
11315 file was opened. (Bug#14140)
11316
11317 2013-04-05 Leo Liu <sdl.web@gmail.com>
11318
11319 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11320
11321 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11322
11323 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11324
11325 2013-04-04 Glenn Morris <rgm@gnu.org>
11326
11327 * electric.el (electric-pair-inhibit-predicate): Add :version.
11328
11329 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11330
11331 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11332 when a package is required several times (bug#14082).
11333
11334 2013-04-04 Roland Winkler <winkler@gnu.org>
11335
11336 * faces.el (read-face-name): Behave as promised by the docstring.
11337 Assume that arg default is a list of faces.
11338 (describe-face): Call read-face-name with list of default faces.
11339
11340 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11341
11342 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11343 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11344 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11345 the header.
11346 (bookmark-exit-hook-internal): Save even if list is empty.
11347
11348 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11349
11350 * emacs-lisp/package.el (package-pinned-packages): New var.
11351 (package--add-to-archive-contents): Obey it (bug#14118).
11352
11353 2013-04-03 Alan Mackenzie <acm@muc.de>
11354
11355 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11356 Also adapt to the new values of element 7 of a parse state.
11357
11358 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11359 parameter `not-in-delimiter'. Handle being inside comment opener.
11360 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11361 character in case we're typing a '*' after a '/'.
11362 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11363 instead by passing the parameter to c-state-pp-to-literal.
11364
11365 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11366 for elt. 7 of a parse state.
11367
11368 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11369
11370 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11371 * international/latin1-disp.el, international/mule-util.el:
11372 * language/cyril-util.el, language/european.el, language/ind-util.el:
11373 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11374 * language/tibetan.el, language/viet-util.el:
11375 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11376
11377 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11378
11379 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11380 (electric-pair-post-self-insert-function): Use it.
11381 (electric-pair-default-inhibit): New function, extracted from
11382 electric-pair-post-self-insert-function.
11383
11384 2013-03-31 Roland Winkler <winkler@gnu.org>
11385
11386 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11387
11388 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11389
11390 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11391
11392 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11393
11394 Un-indent after "pass" and "return" statements (Bug#13888)
11395 * progmodes/python.el (python-indent-block-enders): New var.
11396 (python-indent-calculate-indentation): Use it.
11397
11398 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11399
11400 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11401 defun. Defining it as defalias could introduce too eager
11402 byte-compiler optimization. (Bug#14030)
11403
11404 2013-03-30 Chong Yidong <cyd@gnu.org>
11405
11406 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11407
11408 2013-03-30 Leo Liu <sdl.web@gmail.com>
11409
11410 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11411 (kmacro-execute-from-register): Pass the keyboard macro to
11412 kmacro-call-macro or repeating won't work correctly.
11413
11414 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11415
11416 * progmodes/subword.el: Back to using `forward-symbol'.
11417
11418 * subr.el (forward-whitespace, forward-symbol)
11419 (forward-same-syntax): Move from thingatpt.el.
11420
11421 2013-03-29 Leo Liu <sdl.web@gmail.com>
11422
11423 * kmacro.el (kmacro-to-register): New command.
11424 (kmacro-execute-from-register): New function.
11425 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11426
11427 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11428
11429 * mpc.el: Use defvar-local and setq-local.
11430 (mpc--proc-connect): Connection failures are not bugs.
11431 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11432 (mpc-volume-map): Bind to the up-events.
11433
11434 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11435
11436 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11437 instead of `forward-symbol'.
11438
11439 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11440
11441 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11442 (edebug--recursive-edit): Use it.
11443 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11444 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11445
11446 2013-03-28 Leo Liu <sdl.web@gmail.com>
11447
11448 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11449
11450 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11451
11452 * facemenu.el (list-colors-callback): New defvar.
11453 (list-colors-redisplay): New function.
11454 (list-colors-display): Install list-colors-redisplay as the
11455 revert-buffer-function. (Bug#14063)
11456
11457 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11458
11459 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11460 and suffixes don't overlap (bug#14061).
11461
11462 * case-table.el: Use lexical-binding.
11463 (case-table-get-table): New function.
11464 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11465
11466 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11467
11468 * progmodes/subword.el: Add `superword-mode' to do word motion
11469 over symbol_words (parallels and leverages `subword-mode' which
11470 does word motion inside MixedCaseWords).
11471
11472 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11473
11474 * eshell/em-unix.el: Move su and sudo to...
11475 * eshell/em-tramp.el: ...Eshell tramp module.
11476
11477 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11478
11479 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11480 Change return value to be a sexp. Delay `get-buffer' to after
11481 restoring the desktop (bug#13951).
11482
11483 2013-03-26 Leo Liu <sdl.web@gmail.com>
11484
11485 * register.el: Move semantic tag handling back to
11486 cedet/semantic/senator.el. (Bug#14052)
11487
11488 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11489
11490 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11491 into the prompt either (bug#13963).
11492
11493 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11494
11495 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11496 part of "(error-foo)".
11497
11498 2013-03-24 Juri Linkov <juri@jurta.org>
11499
11500 * replace.el (list-matching-lines-prefix-face): New defcustom.
11501 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11502 `occur-engine' if `face-differs-from-default-p' returns t.
11503 (occur-engine): Add `,' inside backquote construct to evaluate
11504 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11505 Pass `prefix-face' to the functions `occur-context-lines' and
11506 `occur-engine-add-prefix'.
11507 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11508 `prefix-face' and propertize the prefix with `prefix-face'.
11509 (Bug#14017)
11510
11511 2013-03-24 Leo Liu <sdl.web@gmail.com>
11512
11513 * nxml/rng-valid.el (rng-validate-while-idle)
11514 (rng-validate-quick-while-idle): Guard against deleted buffer.
11515 (Bug#13999)
11516
11517 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11518 is the last entry in kill-buffer-hook.
11519
11520 * files.el (kill-buffer-hook): Doc fix.
11521
11522 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11523
11524 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11525 Make it safe-local.
11526
11527 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11528
11529 2013-03-23 Leo Liu <sdl.web@gmail.com>
11530
11531 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11532 Remove.
11533
11534 * nxml/rng-valid.el (rng-validate-mode)
11535 (rng-after-change-function, rng-do-some-validation):
11536 * nxml/rng-maint.el (rng-validate-buffer):
11537 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11538 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11539 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11540 (nxml-extend-after-change-region): Use with-silent-modifications.
11541
11542 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11543 timer-idle-list.
11544
11545 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11546 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11547 timer-idle-list. (Bug#13999)
11548
11549 2013-03-23 Juri Linkov <juri@jurta.org>
11550
11551 * info.el (info-index-match): New face.
11552 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11553 main pattern and add text properties with the new face to matches
11554 in index entries relative to the beginning of the index entry.
11555 (Bug#14015)
11556
11557 2013-03-21 Eric Ludlam <zappo@gnu.org>
11558
11559 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11560 Inhibit read only while inserting objects.
11561
11562 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11563
11564 * progmodes/cfengine.el: Update docs to mention
11565 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11566 symbol motion. Remove "_" from the word syntax.
11567
11568 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11569
11570 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11571 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11572
11573 2013-03-20 Juri Linkov <juri@jurta.org>
11574
11575 * info.el (Info-next-reference-or-link)
11576 (Info-prev-reference-or-link): New functions.
11577 (Info-next-reference, Info-prev-reference): Use them.
11578 (Info-try-follow-nearest-node): Handle footnote navigation.
11579 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11580
11581 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11582
11583 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11584 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11585
11586 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11587
11588 Suppress unnecessary non-ASCII chatter during build process.
11589 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11590 (batch-skkdic-convert): Suppress most of the chatter.
11591 It's not needed so much now that machines are faster,
11592 and its non-ASCII component was confusing; see Dmitry Gutov in
11593 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11594
11595 2013-03-20 Leo Liu <sdl.web@gmail.com>
11596
11597 * ido.el (ido-chop): Fix bug#10994.
11598
11599 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11600
11601 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11602 Remove vars.
11603 (whitespace-color-on, whitespace-color-off):
11604 Use `font-lock-fontify-buffer' (Bug#13817).
11605
11606 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11607
11608 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11609 remapping in mode-line.
11610 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11611
11612 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11613
11614 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11615 value for `whitespace-line' face (Bug#13875).
11616 (whitespace-font-lock-keywords): Change description.
11617 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11618 the constructed keywords instead.
11619 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11620
11621 2013-03-19 Leo Liu <sdl.web@gmail.com>
11622
11623 * progmodes/compile.el (compilation-display-error): New command.
11624 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11625 C-o. (Bug#13992)
11626
11627 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11628
11629 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11630
11631 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11632
11633 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11634
11635 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11636
11637 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11638
11639 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11640 * net/tramp-gvfs.el (top):
11641 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11642 (tramp-handle-shell-command): Use it.
11643 (tramp-dissect-file-name): Raise an error when hostname is a
11644 method name, and neither method nor user is specified.
11645
11646 * net/trampver.el: Update release number.
11647
11648 2013-03-18 Leo Liu <sdl.web@gmail.com>
11649
11650 Make sure eldoc can be turned off properly.
11651 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11652 eldoc-mode.
11653 (eldoc-display-message-p): Revert last change.
11654 (eldoc-display-message-no-interference-p)
11655 (eldoc-print-current-symbol-info): Tweak.
11656
11657 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11658
11659 * doc-view.el (doc-view-new-window-function): Check the new window
11660 overlay's display property instead the char property of the
11661 buffer's first char. Use `with-selected-window' instead of
11662 `save-window-excursion' with `select-window'.
11663 (doc-view-document->bitmap): Check the current doc-view overlay's
11664 display property instead the char property of the buffer's first char.
11665
11666 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11667
11668 Automate the build of ja-dic.el (Bug#13984).
11669 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11670 from the input, rather than assume that it's been done for us by the
11671 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11672 the current date into a ja-dic.el comment, as that complicates
11673 regression testing.
11674
11675 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11676
11677 * whitespace.el: Fix double evaluation.
11678 (whitespace-space, whitespace-hspace, whitespace-tab)
11679 (whitespace-newline, whitespace-trailing, whitespace-line)
11680 (whitespace-space-before-tab, whitespace-indentation)
11681 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11682 obsolete defvars.
11683 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11684 (whitespace-color-on): Use a single font-lock-add-keywords call.
11685 Fix double-evaluation of face variables.
11686
11687 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11688
11689 * net/tramp-adb.el (tramp-adb-parse-device-names):
11690 Use `start-process' instead of `call-process'. Otherwise, the
11691 function might be blocked under MS Windows. (Bug#13299)
11692
11693 2013-03-17 Leo Liu <sdl.web@gmail.com>
11694
11695 Extend eldoc to display info in the mode-line. (Bug#13978)
11696 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11697 (eldoc-mode-line-string): New variable.
11698 (eldoc-minibuffer-message): New function.
11699 (eldoc-message-function): New variable.
11700 (eldoc-message): Use it.
11701 (eldoc-display-message-p)
11702 (eldoc-display-message-no-interference-p):
11703 Support eldoc-post-insert-mode.
11704
11705 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11706 (eval-expression): Run it.
11707
11708 2013-03-17 Roland Winkler <winkler@gnu.org>
11709
11710 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11711 strings in the list of return values.
11712
11713 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11714
11715 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11716 radix before checking for HMS forms.
11717
11718 2013-03-16 Leo Liu <sdl.web@gmail.com>
11719
11720 * progmodes/scheme.el: Add indentation and font-locking for λ.
11721 (Bug#13975)
11722
11723 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11724
11725 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11726 token before point (bug#13942).
11727
11728 2013-03-16 Leo Liu <sdl.web@gmail.com>
11729
11730 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11731
11732 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11733
11734 * startup.el (command-line-normalize-file-name): Fix handling of
11735 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11736 <xfq.free@gmail.com> in
11737 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11738
11739 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11740
11741 Sync with Tramp 2.2.7.
11742
11743 * net/trampver.el: Update release number.
11744
11745 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11746
11747 * doc-view.el: Fix bug#13887.
11748 (doc-view-insert-image): Don't modify overlay associated to
11749 non-live windows, and implement horizontal centering of image in
11750 case it's smaller than the window.
11751 (doc-view-new-window-function): Force redisplay of new windows on
11752 doc-view buffers.
11753
11754 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11755
11756 * saveplace.el (save-place-alist-to-file): Don't sort
11757 `save-place-alist', just pretty-print it (bug#13882).
11758
11759 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11760
11761 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11762 Check whether `default-file-name-coding-system' is bound.
11763 It isn't in XEmacs.
11764
11765 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11766
11767 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11768 backquotes for `obsolete' (bug#13929).
11769
11770 * international/mule.el (find-auto-coding): Include file name in
11771 obsolescence warning (bug#13922).
11772
11773 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11774
11775 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11776 for CFEngine 3-specific indentation.
11777 (cfengine3-indent-line): Use it. Fix up category regex.
11778 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11779
11780 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11781
11782 * type-break.el (type-break-file-name):
11783 * textmodes/remember.el (remember-data-file):
11784 * strokes.el (strokes-file):
11785 * shadowfile.el (shadow-initialize):
11786 * saveplace.el (save-place-file):
11787 * ps-bdf.el (bdf-cache-file):
11788 * progmodes/idlwave.el (idlwave-config-directory):
11789 * net/quickurl.el (quickurl-url-file):
11790 * international/kkc.el (kkc-init-file-name):
11791 * ido.el (ido-save-directory-list-file):
11792 * emulation/viper.el (viper-custom-file-name):
11793 * emulation/vip.el (vip-startup-file):
11794 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11795 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11796
11797 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11798
11799 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11800 * language/thai-word.el: Switch to UTF-8.
11801
11802 See ChangeLog.16 for earlier changes.
11803
11804 ;; Local Variables:
11805 ;; coding: utf-8
11806 ;; End:
11807
11808 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11809
11810 This file is part of GNU Emacs.
11811
11812 GNU Emacs is free software: you can redistribute it and/or modify
11813 it under the terms of the GNU General Public License as published by
11814 the Free Software Foundation, either version 3 of the License, or
11815 (at your option) any later version.
11816
11817 GNU Emacs is distributed in the hope that it will be useful,
11818 but WITHOUT ANY WARRANTY; without even the implied warranty of
11819 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11820 GNU General Public License for more details.
11821
11822 You should have received a copy of the GNU General Public License
11823 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.