Bind open-paren-in-column-0-is-defun-start to nil at some entry points.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-01-19 Alan Mackenzie <acm@muc.de>
2
3 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4 points.
5 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
6 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
7 * progmodes/cc-mode.el (c-before-change, c-after-change)
8 (c-font-lock-fontify-region): Bind it here.
9
10 2014-01-19 Martin Rudalics <rudalics@gmx.at>
11
12 * term.el (term-window-width): Call window-text-width instead of
13 window-width (Bug#16470).
14
15 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
16
17 * simple.el (password-word-equivalents): Remove duplicates.
18 Sort, to make this easier next time.
19 Downcase. Omit ": " after "jelszó".
20
21 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
22
23 * term/common-win.el (saved-region-selection): Defvar it.
24 (x-select-text): Set saved-region-selection (Bug#16382).
25
26 2014-01-18 Glenn Morris <rgm@gnu.org>
27
28 * emacs-lisp/authors.el (authors-aliases)
29 (authors-renamed-files-alist): Add some entries.
30
31 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
32
33 * net/tramp.el (tramp-password-prompt-regexp): Use
34 `password-word-equivalents' if available.
35 (tramp-action-password, tramp-process-one-action)
36 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
37
38 2014-01-17 Chong Yidong <cyd@gnu.org>
39
40 * simple.el (password-word-equivalents): New defcustom.
41 * comint.el (comint-password-prompt-regexp): Use it. Bump version
42 to 24.4.
43 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
44 to t. (Bug#13124)
45
46 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
47
48 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
49 (ruby-align-to-stmt-keywords): Change the default value. Use
50 `ruby-alignable-keywords' to generate the possible customization
51 choices.
52 (ruby-smie-rules): Instead of using a hardcoded list of alignable
53 keywords, check against the value of `ruby-alignable-keywords'
54 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
55
56 2014-01-17 Glenn Morris <rgm@gnu.org>
57
58 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
59
60 Make M-x authors return zero *Authors Errors* from current logs.
61 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
62 (authors-ignored-files): Add some entries, remove others.
63 (authors-ambiguous-files, authors-valid-file-names):
64 Add some entries.
65 (authors-renamed-files-alist): Add, remove, and adjust entries.
66 (authors-renamed-files-regexps): Add some entries.
67 Remove some very broad ones. Make some entries `lax'.
68 (authors-lax-changelogs): New constant.
69 (authors-disambiguate-file-name): Treat top-level specially.
70 (authors-lax-changelog-p): New function.
71 (authors-canonical-file-name): Check file as written against
72 authors-valid-file-names. Do not special-case etc/.
73 Handle `lax' logs and authors-renamed-files-regexps elements.
74
75 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
76
77 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
78 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
79 callers.
80
81 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
82
83 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
84 Assume we're already in the proper buffer.
85 Inspired by Anders Lindgren <andlind@gmail.com>.
86 (follow-post-command-hook): Call it from the right buffer.
87 (follow-comint-scroll-to-bottom): Adjust call.
88 (follow-all-followers): Use get-buffer-window-list.
89
90 2014-01-15 Daniel Colascione <dancol@dancol.org>
91
92 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
93 `buffer-file-name' in interactive-form so that we don't leave
94 pathless file names in `file-name-history'.
95
96 2014-01-15 Juri Linkov <juri@jurta.org>
97
98 * indent.el (indent-rigidly): Set deactivate-mark to nil
99 in transient indentation mode. (Bug#16438)
100
101 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
102
103 * emacs-lisp/package.el (package-desc-keywords): New function
104 (Bug#16222).
105 (describe-package-1, package-all-keywords)
106 (package--has-keyword-p): Use it.
107
108 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
109
110 * simple.el (define-alternatives): When creating the
111 COMMAND-alternatives variable, assign COMMAND as its definition
112 name so that `describe-variable' can relocate it.
113
114 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
115
116 * font-lock.el (font-lock-keywords): Fix typo in docstring
117 (bug#16307).
118
119 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
120
121 * ispell.el (ispell-region): Reset `in-comment' for new line
122 instead of wrongly reset `add-coment' (bug#13577).
123
124 2014-01-14 Daiki Ueno <ueno@gnu.org>
125
126 * epa-file.el (epa-file-write-region): Encode the region according
127 to `buffer-file-format'. Problem reported at:
128 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
129
130 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
131
132 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
133 so it applies in the right buffer (bug#16410).
134
135 2014-01-13 Daniel Colascione <dancol@dancol.org>
136
137 * textmodes/rst.el (rst-define-key): Provide deprecated
138 keybindings through named functions instead of anonymous ones so
139 that "??" doesn't appear in describe-mode output.
140
141 2014-01-13 Bastien Guerry <bzg@gnu.org>
142
143 * simple.el (define-alternatives): Call the selected command
144 interactively. When setting `COMMAND--implementation' for the
145 first time, tell the user how to chose another implementation.
146 Enhance the docstring.
147
148 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
149
150 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
151 (log-edit--match-first-line): New function.
152 (log-edit-font-lock-keywords): Use it.
153 (log-edit-mode): Make jit-lock-defer-multiline work.
154
155 2014-01-13 Bastien Guerry <bzg@gnu.org>
156
157 * rect.el (rectangle-mark-mode): When the region is not active,
158 display a message saying that the mark as been set and that
159 rectangle mode is in use.
160 (rectangle--highlight-for-redisplay): Only put an overlay with a
161 visible vertical bar when (display-graphic-p) is non-nil.
162 This partially fixes Bug#16403.
163
164 2014-01-13 Juri Linkov <juri@jurta.org>
165
166 * info.el (Info-find-file): Go to DIR before displaying the error
167 about a nonexistent file if no previous Info file is visited.
168 Use `user-error' instead of `error' for "Info file %s does not exist".
169 (Info-find-node-2): In case of a nonexistent node in unwind forms
170 go to the Top node if there is no previous node to revert to.
171 (Bug#16405)
172
173 2014-01-13 Martin Rudalics <rudalics@gmx.at>
174
175 fit-frame/window-to-buffer code fixes including one for Bug#14096.
176 * window.el (fit-frame-to-buffer): Fix doc-string.
177 Respect window-min-height/-width. Fit pixelwise when
178 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
179 when avoiding that frame goes partially off-screen.
180 (fit-window-to-buffer): Respect window-min-height/-width
181 (Bug#14096).
182
183 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
186 after an empty line.
187
188 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
189
190 * net/shr.el (shr-render-region): Autoload.
191
192 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
193
194 * net/eww.el (eww-download-directory): Rename from
195 `eww-download-path' (Bug#16419).
196
197 2014-01-12 Leo Liu <sdl.web@gmail.com>
198
199 * dired-x.el (dired-mode-map): Fix last change.
200
201 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
202
203 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
204
205 Spelling fixes.
206 * emacs-lisp/generic.el (generic--normalize-comments):
207 Rename from generic--normalise-comments. All uses changed.
208 * play/bubbles.el (bubbles--neighborhood-score):
209 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
210 (bubbles--neighborhood-available)
211 (bubbles--update-neighborhood-score):
212 Rename from names with 'neighbourhood'. All uses changed.
213
214 2014-01-12 Leo Liu <sdl.web@gmail.com>
215
216 Re-implement the feature of showing eldoc info after editing.
217 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
218 (eldoc-edit-message-commands): New function.
219 (eldoc-print-after-edit): New variable.
220 (eldoc-pre-command-refresh-echo-area): Emit message only by
221 eldoc-message-commands.
222 (eldoc-mode): Restrict eldoc-message-commands to editing commands
223 if eldoc-print-after-edit is set. (Bug#16346)
224
225 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
226
227 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
228
229 * version.el (emacs-repository-get-version): Enhance so the
230 function works correctly in either a Bazaar or Git repo.
231
232 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
233 Goes with removal of the joke manpages from /etc.
234
235 2014-01-10 K. Handa <handa@gnu.org>
236
237 * mail/rmail.el (rmail-get-coding-system):
238 Check rmail-get-coding-function before "funcall"ing it.
239
240 2014-01-10 Glenn Morris <rgm@gnu.org>
241
242 * emacs-lisp/authors.el (authors-fixed-entries):
243 Update for files that no longer exist.
244
245 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
246
247 * version.el (emacs-bzr-get-version): Restore compatibilty with
248 24.3 (Tested).
249
250 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
251
252 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
253 and Podfile.
254
255 2014-01-10 Eli Zaretskii <eliz@gnu.org>
256
257 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
258
259 2014-01-10 Chong Yidong <cyd@gnu.org>
260
261 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
262
263 2014-01-10 Anders Lindgren <andlind@gmail.com>
264
265 * follow.el (follow-cache-command-list): Include right-char and
266 left-char.
267
268 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
269
270 Spelling fixes.
271 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
272 * woman.el (woman-mark-horizontal-position):
273 Rename from woman-mark-horizonal-position. Use changed.
274
275 2014-01-10 Glenn Morris <rgm@gnu.org>
276
277 * info.el (info-initialize): If running uninstalled, ensure our
278 own info files are always found first, even if INFOPATH is set.
279
280 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
281
282 2014-01-09 David Engster <deng@randomsample.de>
283
284 * emacs-lisp/eieio-custom.el:
285 * emacs-lisp/eieio-opt.el: Set generated autoload file to
286 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
287 * emacs-lisp/eieio.el: Regenerate autoloads.
288
289 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
290
291 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
292 following renames. (Bug#8756)
293
294 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
295
296 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
297 (bug#16382).
298 (activate-mark): Add `no-tmm' argument.
299 (set-mark, push-mark-command): Use it instead of running
300 activate-mark-hook by hand.
301
302 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
303
304 In preparation for the move to git, sanitize out some
305 Bazaar-specific names.
306
307 * version.el (emacs-bzr-version): Name changed to
308 emacs-repository-version. Obsolete-variable alias made.
309 * loadup.el: Follow through on this name change.
310 * mail/emacsbug.el (report-emacs-bug): Factor out any
311 assumption about the version control system in use.
312
313 2014-01-08 David Engster <deng@randomsample.de>
314
315 * help-fns.el (help-fns-describe-function-functions):
316 New variable to call functions for augmenting help buffers.
317 (describe-function-1): Remove explicit calls to
318 `help-fns--compiler-macro', `help-fns--parent-mode' and
319 `help-fns--obsolete'. Put them in above new variable instead, and
320 call them through `run-hook-with-args'.
321 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
322 `eieio-describe-class'. Not meant for interactive use anymore,
323 but to augment existing help buffers. Remove optional second
324 argument. Create proper button for file location.
325 Rewrite function to use `insert' instead of `princ' and `prin1' where
326 possible.
327 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
328 (eieio-method-def, eieio-class-def): Move further up.
329 (describe-method, describe-generic, eieio-describe-method):
330 Remove aliases.
331 (eieio-help-constructor, eieio-help-generic): Rename from
332 `eieio-describe-constructor' and `eieio-describe-generic', resp.
333 Rewrite to use `insert' in the current buffer and use proper help
334 buttons.
335 (eieio-help-find-method-definition)
336 (eieio-help-find-class-definition): Also accept symbols as
337 arguments.
338 (eieio-help-mode-augmentation-maybee): Remove.
339 (eieio-describe-class-sb): Use `describe-function'.
340 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
341 Add `eieio-help-generic' and `eieio-help-constructor'.
342
343 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
344
345 Spelling fixes.
346 * language/china-util.el (hz-ascii-designation):
347 Rename from hz-ascii-designnation.
348 (hz-ascii-designation): Rename from hz-ascii-designnation.
349 All uses changed.
350
351 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
352
353 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
354 package-alist.
355
356 2014-01-08 Bastien Guerry <bzg@gnu.org>
357
358 * emacs-lisp/package.el (package-delete):
359 Correctly delete the package from package-alist.
360
361 2014-01-08 Daiki Ueno <ueno@gnu.org>
362
363 * emacs-lisp/package.el (url-recreate-url): Declare.
364 (url-http-target-url): Declare.
365 (package-handle-response): Include requested URL in the error message.
366 (package--check-signature): Don't re-signal errors from
367 package--with-work-buffer. Suggested by Stefan Monnier.
368
369 2014-01-07 Bastien Guerry <bzg@gnu.org>
370
371 * minibuffer.el (completion--try-word-completion): When both a
372 hyphen and a space are possible candidates for the character
373 following a word, display both candidates. (Bug#15980)
374
375 2014-01-07 Martin Rudalics <rudalics@gmx.at>
376
377 * window.el (balance-windows-2): While rounding don't give a
378 window more than the remainder. Bug#16351, Bug#16383.
379
380 2014-01-07 Glenn Morris <rgm@gnu.org>
381
382 * menu-bar.el (menu-bar-help-extra-packages): Remove.
383 (menu-bar-help-menu): Use view-external-packages instead.
384
385 2014-01-07 Bastien Guerry <bzg@gnu.org>
386
387 * emacs-lisp/package.el (package-delete): Also delete the package
388 name from `package-alist', not its description only.
389
390 2014-01-07 Glenn Morris <rgm@gnu.org>
391
392 * help.el (view-external-packages):
393 * menu-bar.el (menu-bar-help-extra-packages):
394 Visit efaq.info rather than etc/MORE.STUFF.
395
396 2014-01-07 Juri Linkov <juri@jurta.org>
397
398 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
399 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
400
401 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
402 that shadows RET. (Bug#16342)
403
404 2014-01-07 Chong Yidong <cyd@gnu.org>
405
406 * isearch.el (isearch-yank-char, isearch-yank-word)
407 (isearch-yank-line): Doc fix.
408
409 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
412 * emacs-lisp/elint.el (elint-find-builtins):
413 * emacs-lisp/eldoc.el (eldoc-symbol-function):
414 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
415 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
416 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
417 * apropos.el (apropos-safe-documentation):
418 * subr.el (symbol-file): Remove redundant fboundp.
419 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
420
421 2014-01-06 Bastien Guerry <bzg@gnu.org>
422
423 * hl-line.el (global-hl-line-overlay): Make a local variable.
424 (global-hl-line-overlays): New variable to store all overlays.
425 (global-hl-line-mode): Don't delete overlays from the current
426 buffer when `global-hl-line-sticky-flag' is non-nil.
427 (global-hl-line-highlight): Add new overlays to
428 `global-hl-line-overlays'.
429 (global-hl-line-unhighlight-all): New function to delete all
430 overlays when turning off `global-hl-line-mode'.
431 This fixes Bug#16183.
432
433 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
434
435 * subr.el (set-transient-map): Fix nested case and docstring.
436
437 2014-01-06 Tassilo Horn <tsdh@gnu.org>
438
439 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
440 `Texinfo' entry.
441
442 2014-01-06 Daniel Colascione <dancol@dancol.org>
443
444 Fix defun navigation in vc log view.
445
446 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
447 like `beginning-of-defun'.
448 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
449 log-view-end-of-defun to log-view-end-of-defun-1. Replace
450 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
451 (log-view-extract-comment): Call `log-view-current-entry' directly
452 instead of relying on broken `log-view-beginning-of-defun' behavior.
453
454 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
455
456 Spelling fixes.
457 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
458 * emacs-lisp/debug.el (cancel-debug-on-entry):
459 * epg.el (epg-error-to-string):
460 * files.el (recover-file):
461 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
462 * mail/emacsbug.el (report-emacs-bug-hook):
463 * mail/sendmail.el (mail-recover):
464 * ses.el (ses-yank-resize):
465 * term/ns-win.el (ns-print-buffer):
466 Spelling fixes in diagnostics, mostly for "canceled" with one L.
467 * epg.el (epg-key-capability-alist): Rename from misspelled version.
468 All uses changed.
469 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
470
471 2014-01-06 Leo Liu <sdl.web@gmail.com>
472
473 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
474 to avoid shadowing global key. (Bug#16354)
475
476 2014-01-06 Daniel Colascione <dancol@dancol.org>
477
478 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
479 rst-mode.
480
481 2014-01-05 Martin Rudalics <rudalics@gmx.at>
482
483 * window.el (balance-windows): Add mising t to fix Bug#16351.
484
485 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
486
487 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
488 (bug#16285).
489 (shr-insert): If we have a word that's longer than `shr-width',
490 break after it anyway. Otherwise we'll do no breaking once we get
491 such a long word.
492
493 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
494
495 * net/eww.el (eww): Support single/double quote for search.
496 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
497 (eww-history-quit): Delete and use quit-window.
498 (eww-history-kill): Delete, because it doesn't work well and
499 not necessary.
500 (eww-history-mode-map): Delete some keys and add easy-menu.
501
502 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
503
504 Fix misspelling of 'chinese' in rx (Bug#16237).
505 * emacs-lisp/rx.el (rx-categories): Correct spelling of
506 chinese-two-byte.
507
508 Change subword regexps back to vars (Bug#16296).
509 * progmodes/subword.el (subword-forward-regexp)
510 (subword-backward-regexp): Change these back to variables.
511
512 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
513
514 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
515 syntax-begin-function (bug#16247).
516
517 2014-01-03 Chong Yidong <cyd@gnu.org>
518
519 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
520 (advice--docstring): Delete variable.
521 (advice--make-1): Leave the docstring empty.
522 (advice-add): Use function-documentation for advised docstring.
523
524 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
525 Ignore function-documentation property when getting documentation.
526 (ad-activate-advised-definition): Use function-documentation
527 generate the docstring.
528 (ad-make-advised-definition): Don't call
529 ad-make-advised-definition-docstring.
530 (ad-make-advised-definition-docstring, ad-advised-definition-p):
531 Delete functions.
532
533 * progmodes/sql.el (sql-help): Use function-documentation instead
534 of dynamic-docstring-function property. No need to autoload now.
535 (sql--help-docstring): New variable.
536 (sql--make-help-docstring): Use it.
537
538 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * ielm.el (ielm-tab): Retarget.
541 (ielm-map): Use ielm-tab for tab.
542 (ielm-complete-filename): Use comint-filename-completion.
543 (ielm-complete-symbol): Remove.
544 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
545 remove ielm-tab from completion-at-point-functions (bug#16224).
546
547 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
548 Beware signals raised by predicates (bug#16201).
549
550 2014-01-02 Richard Stallman <rms@gnu.org>
551
552 * dired-aux.el (dired-do-print): Handle printer-name.
553
554 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
555 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
556 (rmail-epa-decrypt): Turn off mime processing.
557
558 * mail/rmail.el (rmail-make-in-reply-to-field):
559 Add parens in message-id.
560
561 * mail/rmail.el (rmail-get-coding-function): Variable.
562 (rmail-get-coding-system): Use it.
563
564 2013-12-31 Eli Zaretskii <eliz@gnu.org>
565
566 * international/mule-conf.el: Unify the charset indian-is13194.
567 (indian-is13194): Specify unify-map.
568
569 2013-12-31 Leo Liu <sdl.web@gmail.com>
570
571 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
572
573 2013-12-30 Daniel Colascione <dancol@dancol.org>
574
575 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
576 of printing a useless when we resume from sleep.
577
578 * progmodes/sh-script.el
579 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
580 in indentation code. (Bug#16233)
581
582 2013-12-28 João Távora <joaotavora@gmail.com>
583
584 * elec-pair.el (electric-pair-post-self-insert-function):
585 Don't open extra newlines at beginning of buffer. (Bug#16272)
586
587 2013-12-28 Eli Zaretskii <eliz@gnu.org>
588
589 * frame.el (window-system-for-display): Don't allow to create a
590 GUI frame from a -nw session on MS-Windows. (Bug#14739)
591
592 2013-12-28 Glenn Morris <rgm@gnu.org>
593
594 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
595 Update callers.
596
597 * apropos.el (apropos-match-face):
598 * calculator.el (calculator-displayer):
599 * dabbrev.el (dabbrev-search-these-buffers-only):
600 * face-remap.el (buffer-face-mode-face):
601 * simple.el (yank-handled-properties):
602 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
603 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
604 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
605 (hashcash-double-spend-database):
606 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
607 (ruby-deep-indent-paren-style):
608 * textmodes/flyspell.el (flyspell-auto-correct-binding):
609 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
610 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
611 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
612 Specify custom types.
613
614 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
615 * bookmark.el (bookmark-bmenu-use-header-line):
616 * doc-view.el (doc-view-scale-internally):
617 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
618 * register.el (register-preview-delay):
619 * net/shr.el (shr-bullet):
620 * progmodes/cfengine.el (cfengine-cf-promises)
621 (cfengine-parameters-indent):
622 * progmodes/octave.el (inferior-octave-error-regexp-alist):
623 * textmodes/reftex-vars.el (reftex-label-regexps):
624 * vc/log-edit.el (log-edit-setup-add-author): Add version.
625
626 * net/tls.el (tls-certtool-program): Fix default value.
627
628 * desktop.el (desktop-restore-in-current-display):
629 * newcomment.el (comment-empty-lines):
630 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
631 (idlwave-pad-keyword):
632 * progmodes/tcl.el (tcl-tab-always-indent):
633 * textmodes/reftex-vars.el (reftex-index-default-tag):
634 * elec-pair.el (electric-pair-skip-whitespace):
635 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
636
637 * emacs-lisp/authors.el (authors-ignored-files)
638 (authors-valid-file-names, authors-renamed-files-alist): Additions.
639
640 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
641
642 * shell.el (shell-dynamic-complete-command): Doc fix.
643 (shell--command-completion-data): Shell completion now matches
644 executable filenames from the current buffer's directory, on
645 systems in which this behavior is the default (windows-nt, ms-dos).
646
647 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
648
649 * net/shr.el (shr-insert): Don't infloop if the width is zero.
650
651 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
654 (bug#16251).
655
656 * electric.el: Move all electric-pair-* to elec-pair.el.
657 * elec-pair.el: New file, split from electric.el.
658
659 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
660
661 * net/shr.el (shr-find-fill-point): Don't try to fill if the
662 indentation level is larger than the width, because that will
663 infloop.
664 (shr-insert): Fill repeatedly long texts, so that Japanese is
665 formatted correctly (bug#16263).
666 (shr-find-fill-point): Off by one error in comparison with the
667 indentation.
668
669 2013-12-26 João Távora <joaotavora@gmail.com>
670
671 * electric.el (electric-pair-mode): More flexible engine for skip-
672 and inhibit predicates, new options for pairing-related functionality.
673 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
674 if that keeps or improves their balance in buffers.
675 (electric-pair-delete-adjacent-pairs): Delete the pair when
676 backspacing over adjacent matched delimiters.
677 (electric-pair-open-extra-newline): Open extra newline when
678 inserting newlines between adjacent matched delimiters.
679 (electric--sort-post-self-insertion-hook):
680 Sort post-self-insert-hook according to priority values when
681 minor-modes are activated.
682 * simple.el (newline-and-indent): Call newline with interactive
683 set to t.
684 (blink-paren-post-self-insert-function): Set priority to 100.
685 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
686 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
687 comments. Locally set electric-pair-skip-whitespace to 'chomp and
688 electric-pair-open-newline-between-pairs to nil.
689
690 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
691
692 * progmodes/python.el: Use lexical-binding.
693 (python-nav-beginning-of-defun): Stop searching ASAP.
694
695 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
696
697 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
698 Fix interactive spec. Doc fix. (Bug#15754)
699
700 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
701
702 * emacs-lisp/byte-run.el (eval-when-compile):
703 * progmodes/cc-defs.el (cc-eval-when-compile):
704 Fix edebug spec (bug#16184).
705
706 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
707
708 * net/shr.el (shr-visit-file): Remove debugging function.
709 (shr-insert): Don't infloop if we can't find a good place to break
710 the line (bug#16256).
711
712 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
713
714 * progmodes/python.el:
715 (python-nav--lisp-forward-sexp): New function.
716 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
717 python-nav-lisp-forward-sexp-safe.
718 (python-nav--forward-sexp): New argument SAFE allows switching
719 forward sexp movement behavior for parens.
720 (python-nav-forward-sexp): Throw errors on unterminated parens
721 (Bug#16191).
722 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
723 (python-nav-backward-sexp-safe): New functions.
724 (python-shell-buffer-substring):
725 Use `python-nav-forward-sexp-safe'.
726
727 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
728
729 * net/shr.el (shr-find-fill-point): Don't break lines before a
730 quotation mark.
731 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
732 (shr-find-fill-point): Remove the special checks for the quotation
733 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
734
735 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
736
737 * net/eww.el (eww-form-textarea): Use a different face for
738 textareas than text input since they have different keymaps
739 (bug#16142).
740
741 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
742
743 * progmodes/python.el (python-nav-beginning-of-statement):
744 Speed up (Bug#15295).
745
746 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
747
748 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
749 the window configuration.
750
751 2013-12-24 Eli Zaretskii <eliz@gnu.org>
752
753 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
754 we run on MS-Windows or MS-DOS.
755
756 2013-12-24 Martin Rudalics <rudalics@gmx.at>
757
758 * window.el (balance-windows-area): Call window-size instead of
759 window-height and window-width. Bug#16241.
760
761 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
762
763 * net/eww.el (eww-bookmark-quit): Remove.
764 (eww-bookmark-browse): Restore the window configuration when you
765 choose a bookmark (bug#16144).
766
767 2013-12-24 Daniel Colascione <dancol@dancol.org>
768
769 * icomplete.el: Remove redundant :group arguments to `defcustom'
770 throughout.
771 (icomplete-show-matches-on-no-input): New customizable variable.
772 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
773 we have something to show.
774 (icomplete-exhibit): Compute completions even if we have no user input.
775
776 2013-12-23 Daniel Colascione <dancol@dancol.org>
777
778 * icomplete.el: Move `provide' to end of file.
779
780 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
781
782 * net/gnutls.el (gnutls-verify-error): Add version tag.
783
784 2013-12-23 Chong Yidong <cyd@gnu.org>
785
786 * subr.el (set-transient-map): Rename from
787 set-temporary-overlay-map. Doc fix.
788
789 * face-remap.el (text-scale-adjust):
790 * indent.el (indent-rigidly):
791 * kmacro.el (kmacro-call-macro):
792 * minibuffer.el (minibuffer-force-complete):
793 * repeat.el (repeat):
794 * simple.el (universal-argument--mode):
795 * calendar/todo-mode.el (todo-insert-item--next-param):
796 * progmodes/f90.el (f90-abbrev-start): Callers changed.
797
798 * indent.el (indent-rigidly): Use substitute-command-keys.
799
800 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
801
802 * net/eww.el (eww-tag-select): Add text-property to jump to next
803 select field.
804 (eww): Add non-supported ftp error.
805
806 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
807
808 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
809 comments. Handle electric indent after typing `?' and `!'.
810
811 2013-12-22 Chong Yidong <cyd@gnu.org>
812
813 * faces.el (face-spec-recalc): If the theme specs are not
814 applicable to a frame, fall back on the defface spec.
815 This prevents themes from obliterating faces on low-color terminals.
816
817 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
818
819 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
820 after `{'. We need it after block openers, and it doesn't seem
821 to hurt after hash openers.
822
823 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
824
825 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
826 extracted from `ruby-smie-rules'.
827 (ruby--electric-indent-chars): New variable.
828 (ruby--electric-indent-p): New function.
829 (ruby-mode): Use `electric-indent-functions' instead of
830 `electric-indent-chars'.
831
832 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
833
834 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
835 docstring.
836 (ruby-smie-rules): Indent plus one level after `=>'.
837
838 2013-12-21 Richard Stallman <rms@gnu.org>
839
840 * simple.el (newline): Doc fix.
841
842 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
843
844 * net/eww.el (eww-list-histories, eww-list-histories)
845 (eww-history-browse, eww-history-quit, eww-history-kill)
846 (eww-history-mode-map, eww-history-mode): New command and
847 functions to list browser histories.
848 (eww-form-text): Support text form with disabled
849 and readonly attributes.
850 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
851
852 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
853
854 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
855 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
856 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
857 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
858 Use `user-error'.
859 (eww-bookmark-mode-map): Add menu.
860 (eww-render, eww-mode): Use `setq-local'.
861 (eww-tool-bar-map): New variable.
862 (eww-mode): Set `tool-bar-map'.
863 (eww-view-source): Check for `html-mode' with `fboundp'.
864
865 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
866
867 * net/shr.el (shr--extract-best-source): Don't bug out on audio
868 elements with text inside. Also remove debugging.
869
870 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
871
872 * cus-start.el (all): Add ns-use-srgb-colorspace.
873
874 2013-12-21 Chong Yidong <cyd@gnu.org>
875
876 * custom.el (custom-theme-recalc-face): Do nothing if the face is
877 undefined. Thus, theme settings for undefined faces do not take
878 effect until the faces are defined with defface, the same as with
879 theme variables.
880
881 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
882 (face-spec-reset-face): Don't assign extra properties in temacs.
883 (face-spec-recalc): Apply X resources too.
884
885 2013-12-21 Chong Yidong <cyd@gnu.org>
886
887 * faces.el (face-spec-set):
888 * cus-face.el (custom-theme-set-faces, custom-set-faces):
889 * custom.el (defface): Doc fixes (Bug#16203).
890
891 * indent.el (indent-rigidly-map): Add docstring, and move commands
892 into named functions.
893 (indent-rigidly-left, indent-rigidly-right)
894 (indent-rigidly-left-to-tab-stop)
895 (indent-rigidly-right-to-tab-stop): New functions. Decide on
896 indentation direction based on bidi direction, and accumulate
897 sequential commands in a single undo boundary.
898 (indent-rigidly--pop-undo): New utility function.
899
900 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
901
902 * faces.el (read-face-name): Require crm.el when using crm-separator.
903
904 2013-12-20 Daniel Colascione <dancol@dancol.org>
905
906 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
907 so that we don't reflow comments into the shebang line.
908
909 2013-12-20 Juri Linkov <juri@jurta.org>
910
911 * saveplace.el (save-place-to-alist): Add `dired-filename' as
912 a position when `dired-directory' is non-nil. Check integer
913 positions with `integerp'.
914 (toggle-save-place, save-places-to-alist): Add check for
915 `dired-directory'.
916 (save-place-find-file-hook): Check integer positions with
917 `integerp'.
918 (save-place-dired-hook): Use `dired-goto-file' when
919 `dired-filename' is found in the assoc list. Check integer
920 positions with `integerp'.
921 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
922
923 * dired.el (dired-initial-position-hook): Rename back from
924 `dired-initial-point-hook'.
925 (dired-initial-position): Rename `dired-initial-point-hook' to
926 `dired-initial-position-hook'.
927 (dired-file-name-at-point): Doc fix. (Bug#15329)
928
929 2013-12-20 Juri Linkov <juri@jurta.org>
930
931 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
932 (read-regexp-suggestions): New function.
933 (read-regexp): Use `read-regexp-defaults-function' to get default values.
934 Use `read-regexp-suggestions'. Add non-empty default to history
935 for empty input.
936 (occur-read-regexp-defaults-function): Remove function.
937 (occur-read-primary-args): Use `regexp-history-last' instead of
938 `occur-read-regexp-defaults-function'.
939
940 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
941 (hi-lock-line-face-buffer, hi-lock-face-buffer)
942 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
943 `hi-lock-read-regexp-defaults-function'. Doc fix.
944 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
945 with `find-tag-default-as-symbol-regexp'. Doc fix.
946 (hi-lock-read-regexp-defaults): Remove function.
947 (hi-lock-regexp-okay): Add check for null.
948
949 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
950 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
951
952 * subr.el (find-tag-default-as-symbol-regexp): New function.
953 (find-tag-default-as-regexp): Move symbol regexp formatting to
954 `find-tag-default-as-symbol-regexp'.
955
956 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
957
958 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
959 (Bug#14179)
960
961 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
962
963 * calendar/todo-mode.el: New implementation of item insertion
964 commands and key bindings.
965 (todo-key-prompt): New face.
966 (todo-insert-item): New command.
967 (todo-insert-item--parameters): New defconst, replacing defvar
968 todo-insertion-commands-args-genlist.
969 (todo-insert-item--param-key-alist): New defconst, replacing
970 defvar todo-insertion-commands-arg-key-list.
971 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
972 (todo-insert-item--argsleft, todo-insert-item--apply-args)
973 (todo-insert-item--next-param): New functions.
974 (todo-insert-item--args, todo-insert-item--argleft)
975 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
976 New variables.
977 (todo-key-bindings-t): Change binding of "i" from
978 todo-insertion-map to todo-insert-item.
979 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
980 (todo-insertion-command-name, todo-insertion-commands-names)
981 (todo-define-insertion-command, todo-insertion-commands)
982 (todo-insertion-key-bindings, todo-insertion-map): Remove.
983
984 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
985
986 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
987 (todo-toggle-item-highlighting): Use eval-and-compile instead of
988 eval-when-compile.
989 (todo-move-category): Allow choosing a non-existing todo file to
990 move the category to, and create that file.
991 (todo-default-priority): New user option.
992 (todo-set-item-priority): Use it.
993 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
994 (desktop-restore-file-buffer): Declare.
995 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
996 (todo-modes-set-2): Locally set desktop-save-buffer to
997 todo-desktop-save-buffer.
998 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
999 (auto-mode-alist): Add autoload cookie.
1000
1001 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1002
1003 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1004 helpers.el was a poor choice of name.
1005 (string-remove-prefix): New function.
1006 (string-remove-suffix): New function.
1007
1008 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1009
1010 Fix assignment for new window total sizes.
1011 * window.el (window--pixel-to-size): Remove function.
1012 (window--pixel-to-total-1, window--pixel-to-total):
1013 Fix calculation of new total sizes.
1014
1015 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1016
1017 * comint.el (comint-output-filter): Fix rear-nonsticky property
1018 placement (Bug#16010).
1019
1020 2013-12-20 Chong Yidong <cyd@gnu.org>
1021
1022 * faces.el (read-color): Minor fix for completion function.
1023
1024 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1025
1026 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1027 New option. (Bug#16182)
1028 (ruby-smie--indent-to-stmt-p): Use it.
1029 (ruby-smie-rules): Revert the logic in the handling of `when'.
1030 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1031 (ruby-deep-arglist, ruby-deep-indent-paren)
1032 (ruby-deep-indent-paren-style): Update docstrings to note that the
1033 vars don't have any effect with SMIE.
1034
1035 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1036
1037 * calc/calc.el (calc-enter, calc-pop): Use the variable
1038 `calc-context-sensitive-enter'.
1039
1040 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1041
1042 * net/shr.el (shr-insert): Protect against infloops in degenerate
1043 tables.
1044
1045 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1046
1047 * progmodes/octave.el (octave): Add link to manual and octave
1048 homepage.
1049 (octave-mode-menu): Link to octave-mode manual.
1050
1051 2013-12-20 Leo Liu <sdl.web@gmail.com>
1052
1053 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1054 insertion using skeleton-end-newline. (Bug#16138)
1055
1056 2013-12-20 Juri Linkov <juri@jurta.org>
1057
1058 * replace.el (occur-engine): Use `add-face-text-property'
1059 to add the face property to matches and titles. (Bug#14645)
1060
1061 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1062 the palette of other hi-lock colors.
1063 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1064
1065 2013-12-19 Juri Linkov <juri@jurta.org>
1066
1067 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1068 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1069 (minibuffer-history-symbol): Move variable declaration closer to
1070 its usage.
1071
1072 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1073 (Bug#14785)
1074
1075 2013-12-19 Juri Linkov <juri@jurta.org>
1076
1077 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1078 New function.
1079 (log-edit-hook): Add it to :options. (Bug#16170)
1080
1081 2013-12-19 Juri Linkov <juri@jurta.org>
1082
1083 * simple.el (eval-expression-print-format): Don't check for
1084 command names and the last command. Always display additional
1085 formats of the integer result in the echo area, and insert them
1086 to the current buffer only with a zero prefix arg.
1087 Display character when char-displayable-p is non-nil.
1088 (eval-expression): With a zero prefix arg, set `print-length' and
1089 `print-level' to nil, and insert the integer values from
1090 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1091
1092 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1093 `eval-last-sexp-arg-internal'. Doc fix.
1094 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1095 `eval-last-sexp-print-value'. Doc fix.
1096 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1097 Set `print-length' and `print-level' to nil when arg is zero.
1098 (eval-last-sexp): Doc fix.
1099 (eval-defun-2): Print the integer values from
1100 `eval-expression-print-format' at the end.
1101
1102 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1103 values from `eval-expression-print-format' at the end.
1104
1105 * ielm.el (ielm-eval-input): Print the integer
1106 values from `eval-expression-print-format' at the end.
1107
1108 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1109
1110 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1111 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1112
1113 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1114
1115 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1116 (hl-line-highlight, global-hl-line-highlight): Use it.
1117 (hl-line-overlay): Use defvar-local.
1118
1119 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1120
1121 * term/ns-win.el: Require dnd.
1122 (global-map): Remove drag items.
1123 (ns-insert-text, ns-set-foreground-at-mouse)
1124 (ns-set-background-at-mouse):
1125 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1126 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1127 New functions.
1128
1129 2013-12-19 Glenn Morris <rgm@gnu.org>
1130
1131 * emacs-lisp/ert.el (ert-select-tests):
1132 Fix string/symbol mixup. (Bug#16121)
1133
1134 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1135
1136 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1137 keywords to their parent.
1138
1139 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1140
1141 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1142 first arg to be a string (fixed dead code), or an operator symbol.
1143 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1144 operator symbols.
1145 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1146 did nothing. Don't respond to `(:after ".")', it will be called
1147 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1148 change anything. Only return indentation for binary operators
1149 when they are hanging. De-dent opening paren when its parent is
1150 `.', otherwise it looks bad when the dot is not at bol or eol
1151 (bug#16182).
1152
1153 2013-12-19 Juri Linkov <juri@jurta.org>
1154
1155 * replace.el (query-replace-read-args): Split a non-negative arg
1156 and a negative arg into separate elements.
1157 (query-replace, query-replace-regexp, replace-string)
1158 (replace-regexp): Add arg `backward'. Doc fix.
1159 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1160 move point to the beginning of the match.
1161 (replace-search, replace-highlight): Use new arg `backward'
1162 to set the value of `isearch-forward'.
1163 (perform-replace): Add arg `backward' and use it to perform
1164 replacement backward. (Bug#14979)
1165
1166 * isearch.el (isearch-query-replace): Use a negative prefix arg
1167 to call `perform-replace' with a non-nil arg `backward'.
1168
1169 2013-12-18 Juri Linkov <juri@jurta.org>
1170
1171 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1172 to the default list. Move `log-edit-show-files' to the end.
1173 Add more available functions to options.
1174 (log-edit): Move default specific settings to
1175 `log-edit-insert-message-template'. Don't move point.
1176 (log-edit-insert-message-template): New function.
1177 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1178 (Bug#16170)
1179
1180 2013-12-18 Juri Linkov <juri@jurta.org>
1181
1182 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1183 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1184
1185 2013-12-18 Leo Liu <sdl.web@gmail.com>
1186
1187 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1188 (Bug#16186)
1189
1190 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1191
1192 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1193 formats for displaying file sizes when the -s switch is given.
1194 Instead, compute a separate format for displaying the size in
1195 blocks, which is displayed in addition to the "regular" size.
1196 When -h is given in addition to -s, produce size in blocks in
1197 human-readable form as well. (Bug#16179)
1198
1199 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1200
1201 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1202 Reference tables with ~\ref{...} instead of only \ref{...}.
1203
1204 2013-12-18 Chong Yidong <cyd@gnu.org>
1205
1206 * cus-edit.el (custom-magic-alist): Fix "themed" description
1207 (Bug#14348).
1208
1209 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1210 is non-nil, do not create a new entry in the symbol's theme-value
1211 or theme-face property; update theme-settings only (Bug#14664).
1212 (custom-available-themes): Doc fix.
1213
1214 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1215 (Bug#15674).
1216
1217 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1218
1219 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1220
1221 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1222 (Bug#13914).
1223
1224 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1225
1226 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1227
1228 2013-12-18 Glenn Morris <rgm@gnu.org>
1229
1230 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1231 * cus-start.el (load-prefer-newer): New option.
1232
1233 2013-12-18 Le Wang <l26wang@gmail.com>
1234
1235 * comint.el (comint-previous-matching-input-from-input):
1236 Retain point (Bug#13404).
1237
1238 2013-12-18 Chong Yidong <cyd@gnu.org>
1239
1240 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1241
1242 2013-12-18 Glenn Morris <rgm@gnu.org>
1243
1244 * mail/emacsbug.el (report-emacs-bug):
1245 Only mention enable-multibyte-characters if non-standard.
1246
1247 2013-12-17 Juri Linkov <juri@jurta.org>
1248
1249 * arc-mode.el (archive-extract-by-file): Check if directory exists
1250 before deletion to not show irrelevant errors if it doesn't exist.
1251
1252 2013-12-17 Juri Linkov <juri@jurta.org>
1253
1254 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1255 (Bug#14751)
1256
1257 * net/eww.el (browse-web): Add alias to `eww'.
1258 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1259 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1260
1261 * net/browse-url.el (browse-url-browser-function): Move `eww'
1262 closer to similar functions.
1263
1264 * startup.el (fancy-startup-screen, fancy-about-screen):
1265 Set browse-url-browser-function to eww-browse-url locally.
1266 (Bug#14751)
1267
1268 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * window.el (window--pixel-to-total): Remove unused `mini' var.
1271 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1272 (split-window): Remove unused `new' var.
1273 (window--display-buffer): Remove unused `frame' and `delta' vars.
1274 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1275 and display-width'.
1276
1277 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1278
1279 * dired.el (dired-mark-pop-up):
1280 * register.el (register-preview): Don't bind
1281 split-height-threshold here since it's now done in
1282 display-buffer-below-selected.
1283
1284 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1285
1286 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1287 xterm-rgb-convert-to-16bit.
1288 (rxvt-register-default-colors): Standardize with
1289 xterm-register-default-colors (Bug#14078).
1290
1291 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1292
1293 * simple.el (kill-region): Pass mark first, then point, so that
1294 kill-append works right (Bug#12819).
1295 (copy-region-as-kill, kill-ring-save): Likewise.
1296
1297 2013-12-17 Leo Liu <sdl.web@gmail.com>
1298
1299 * net/rcirc.el (rcirc-add-face):
1300 * eshell/em-prompt.el (eshell-emit-prompt):
1301 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1302 (Bug#16167)
1303
1304 2013-12-17 Chong Yidong <cyd@gnu.org>
1305
1306 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1307 Suggested by Xue Fuqiao.
1308
1309 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1310
1311 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1312
1313 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1314
1315 * net/shr.el (shr-insert-document): Remove unused var
1316 `shr-preliminary-table-render'.
1317 (shr-rescale-image): Remove unused arg `force'.
1318 (shr-put-image): Update calls accordingly.
1319 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1320
1321 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1322
1323 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1324 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1325 :close-all, to see which indentation method to use (Bug#16116).
1326 (smie-rules-function): Document the method :close-all.
1327
1328 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1329
1330 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1331
1332 * net/eww.el (eww-display-html): If we can't find the anchor we're
1333 looking for, then go to point-min.
1334
1335 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1336
1337 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1338 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1339 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1340 Expand dir too, in case it's relative.
1341
1342 2013-12-16 Juri Linkov <juri@jurta.org>
1343
1344 * desktop.el (desktop-auto-save-timeout): Change default to
1345 `auto-save-timeout'. Doc fix.
1346 (desktop-save): Skip the timestamp in desktop-saved-frameset
1347 when checking for auto-save changes.
1348 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1349 `desktop-auto-save' is called repeatedly by the idle timer.
1350 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1351 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1352 (Bug#15331)
1353
1354 2013-12-16 Juri Linkov <juri@jurta.org>
1355
1356 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1357 (Bug#16035)
1358 (isearch-pre-command-hook): Check `this-command' for symbolp.
1359
1360 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1361
1362 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1363
1364 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1365
1366 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1367 (cfengine3--current-function): Bring in the current-function
1368 functionality from `cfengine3--current-word'.
1369 (cfengine3-completion-function): Bring in the
1370 bounds-of-current-word functionality from
1371 `cfengine3--current-word'.
1372
1373 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1374
1375 * window.el (display-buffer-below-selected):
1376 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1377
1378 2013-12-16 Leo Liu <sdl.web@gmail.com>
1379
1380 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1381 Remove NOMSG arg and all uses changed.
1382
1383 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1386 (cua--deactivate-rectangle): Don't deactivate the mark.
1387 (cua-set-rectangle-mark): Don't set mark-active since
1388 cua--activate-rectangle already does it for us.
1389 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1390 non-rectangular region.
1391
1392 * emulation/cua-base.el (cua-repeat-replace-region):
1393 Use with-current-buffer.
1394
1395 * net/gnutls.el: Use cl-lib.
1396 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1397
1398 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1399
1400 * emacs-lisp/package.el (package-built-in-p): Support both
1401 built-in and the package.el converted package descriptions.
1402 (package-show-package-list): Allow keywords.
1403 (package-keyword-button-action): Use it instead of
1404 `finder-list-matches'.
1405 (package-menu-filter-interactive): Interactive filtering (by
1406 keyword) function.
1407 (package-menu--generate): Support keywords and change keymappings
1408 and headers when they are given.
1409 (package--has-keyword-p): Helper function.
1410 (package-menu--refresh): Use it.
1411 (package--mapc): Helper function.
1412 (package-all-keywords): Use it.
1413 (package-menu-mode-map): Set up menu items and keybindings to
1414 provide a filtering UI.
1415
1416 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1417
1418 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1419 the behavior when a certificate fails validation. Defaults to
1420 old behavior: never abort, just warn.
1421 (gnutls-negotiate): Use it.
1422
1423 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1424
1425 * window.el (display-buffer-below-selected): Never split window
1426 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1427
1428 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1429
1430 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1431 (package-buffer-info): Use it (bug#15108).
1432
1433 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * icomplete.el (icomplete-completions): Make sure the prefix is already
1436 displayed elsewhere before hiding it (bug#16219).
1437
1438 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1439
1440 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1441 open-paren tokens when preceded by a open-paren, too.
1442 (ruby-smie-rules): Handle virtual indentation after open-paren
1443 tokens specially. If there is code between it and eol, return the
1444 column where is starts (Bug#16118).
1445
1446 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1447
1448 * progmodes/cfengine.el: Fix `add-hook' doc.
1449 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1450 (cfengine3--current-word): Fix parameters.
1451 (cfengine3-make-syntax-cache): Simplify further.
1452 (cfengine3-completion-function, cfengine3--current-function):
1453 Use `assq' for symbols.
1454 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1455
1456 2013-12-13 Glenn Morris <rgm@gnu.org>
1457
1458 * loadup.el (load-path): Warn if site-load or site-init changes it.
1459 No more need to reset it when bootstrapping.
1460
1461 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1462
1463 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1464 locations for cf-promises.
1465 (cfengine-mode-syntax-functions-regex): New caching variable.
1466 (cfengine3-fallback-syntax): Fallback syntax for cases where
1467 cf-promises doesn't run.
1468 (cfengine3--current-word): Reimplement using
1469 `cfengine-mode-syntax-functions-regex'.
1470 (cfengine3-completion-function, cfengine3--current-function):
1471 Use `cfengine3-make-syntax-cache' directly.
1472 (cfengine3-clear-syntax-cache): New function.
1473 (cfengine3-make-syntax-cache): Simplify and create
1474 `cfengine-mode-syntax-functions-regex' on demand.
1475 (cfengine3-format-function-docstring): Don't call
1476 `cfengine3-make-syntax-cache' explicitly.
1477
1478 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1479
1480 Fix windmove-find-other-window broken after pixelwise resizing
1481 (Bug#16017).
1482 * windmove.el (windmove-other-window-loc): Revert change from
1483 2013-12-04.
1484 (windmove-find-other-window): Call window-in-direction.
1485 * window.el (window-in-direction): New arguments SIGN, WRAP and
1486 MINI to emulate original windmove-find-other-window behavior.
1487
1488 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1489
1490 * simple.el (blink-matching--overlay): New variable.
1491 (blink-matching-open): Instead of moving point, highlight the
1492 matching paren with an overlay
1493 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1494
1495 * faces.el (paren-showing-faces, show-paren-match)
1496 (show-paren-mismatch): Move from paren.el.
1497
1498 2013-12-13 Leo Liu <sdl.web@gmail.com>
1499
1500 * indent.el (indent-region): Disable progress reporter in
1501 minibuffer. (Bug#16108)
1502
1503 * bindings.el (visual-order-cursor-movement): Fix version.
1504
1505 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1506
1507 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1508 Also match after beginning of line.
1509 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1510 files. Thanks to Russell Sim. (Bug#15378)
1511
1512 2013-12-13 Juri Linkov <juri@jurta.org>
1513
1514 * simple.el <Keypad support>: Remove key bindings duplicated
1515 with bindings.el. (Bug#14397)
1516
1517 2013-12-13 Juri Linkov <juri@jurta.org>
1518
1519 * comint.el (comint-mode-map): Replace `delete-char' with
1520 `delete-forward-char'. (Bug#16109)
1521
1522 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1523
1524 * progmodes/python.el (python-indent-calculate-indentation):
1525 Fix de-denters cornercase. (Bug#15731)
1526
1527 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1528
1529 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1530 (advice--make): Pay attention to `depth'.
1531 (advice--make-1): Don't autoload commands eagerly.
1532 * emacs-lisp/elp.el (elp-instrument-function):
1533 * emacs-lisp/trace.el (trace-function-internal):
1534 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1535
1536 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1537
1538 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1539
1540 * term/w32-win.el (w32-handle-dropped-file):
1541 * startup.el (normal-top-level):
1542 * net/browse-url.el (browse-url-file-url):
1543 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1544 decode file names using 'utf-8' rather than
1545 file-name-coding-system.
1546
1547 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1548
1549 * progmodes/python.el (python-indent-context)
1550 (python-indent-calculate-indentation): Fix auto-identation
1551 behavior for comment blocks. (Bug#15916)
1552
1553 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1554
1555 * progmodes/python.el (python-indent-calculate-indentation):
1556 When determining indentation, don't treat "return", "pass", etc., as
1557 operators when they are just string constituents. (Bug#15812)
1558
1559 2013-12-12 Juri Linkov <juri@jurta.org>
1560
1561 * uniquify.el (uniquify-buffer-name-style): Change default to
1562 `post-forward-angle-brackets'.
1563
1564 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1565 `uniquify'. Change default to `post-forward-angle-brackets'.
1566
1567 2013-12-11 Glenn Morris <rgm@gnu.org>
1568
1569 * emacs-lisp/package.el (finder-list-matches):
1570 Autoload rather than falsely declaring.
1571
1572 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1573
1574 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1575 (eww-mode-map): Use them.
1576
1577 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1578
1579 * window.el (display-buffer-in-side-window): Fix doc-string
1580 (Bug#16115).
1581
1582 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1583
1584 * vc/vc-git.el: Silence byte-compiler warnings.
1585 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1586 (log-edit-set-header): Declare.
1587
1588 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1589
1590 * Makefile.in (custom-deps, finder-data): Run output file names
1591 through unmsys--file-name. (Bug#16099)
1592
1593 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1594
1595 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1596 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1597
1598 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1599 instead of deleting the selection "by hand" (bug#16098).
1600 Rely on insert-for-yank to yank rectangles.
1601 (cua-highlight-region-shift-only): Mark obsolete.
1602 (cua-mode): Don't enable/disable transient-mark-mode,
1603 shift-select-mode (cua-mode works both with and without them), and
1604 pc-selection-mode (obsolete).
1605 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1606 (cua--deactivate-rectangle): Deactivate it.
1607
1608 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1609 (delete-selection-helper): Make sure yank starts at the top of the
1610 deleted region.
1611 (minibuffer-keyboard-quit): Use region-active-p.
1612
1613 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1614
1615 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1616 to `delete' (bug#16109).
1617
1618 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1619
1620 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1621 info manual and show keybindings and set `:group' keyword.
1622
1623 2013-12-11 Juri Linkov <juri@jurta.org>
1624
1625 * delsel.el (delete-active-region): Let-bind `this-command'
1626 to prevent `kill-region' from changing its original value.
1627 (delete-selection-helper): Handle `overwrite-mode' for the type
1628 `kill' exactly the same way as for the type `t'.
1629 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1630 Support more commands. (Bug#13312)
1631
1632 2013-12-11 Juri Linkov <juri@jurta.org>
1633
1634 * bindings.el: Map kp keys to non-kp keys systematically
1635 with basic modifiers control, meta and shift. (Bug#14397)
1636
1637 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1638
1639 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1640 "Close browser" menu items. Fix wrong function of "List
1641 bookmarks".
1642
1643 2013-12-11 Juri Linkov <juri@jurta.org>
1644
1645 * misearch.el (multi-isearch-buffers): Set the value of
1646 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1647 arg of isearch-forward to t.
1648 (multi-isearch-buffers-regexp): Set the value of
1649 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1650 arg of isearch-forward-regexp to t.
1651 (multi-isearch-files): Set the value of
1652 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1653 arg of isearch-forward to t.
1654 (multi-isearch-files-regexp): Set the value of
1655 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1656 arg of isearch-forward-regexp to t. (Bug#16035)
1657
1658 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1659 arg of isearch-forward to t.
1660 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1661 arg of isearch-forward-regexp to t.
1662 (dired-isearch-filter-filenames): Remove unnecessary check for
1663 `dired-isearch-filenames'.
1664
1665 * comint.el (comint-history-isearch-backward):
1666 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1667 (comint-history-isearch-backward-regexp):
1668 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1669
1670 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1671
1672 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1673 unmsys--file-name. (Bug#16099)
1674
1675 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1676
1677 * emacs-lisp/package.el (package-keyword-button-action):
1678 Remove finder.el require dependency.
1679
1680 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1681
1682 * emacs-lisp/package.el: Require finder.el.
1683 (describe-package-1): Add keyword buttons.
1684 (package-make-button): New convenience function.
1685 (package-keyword-button-action): Keyword button action using
1686 `finder-list-matches'.
1687
1688 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1689
1690 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1691 last commit.
1692
1693 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1694
1695 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1696 symlinked files.
1697
1698 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1699
1700 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1701 after the end of a percent literal.
1702
1703 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1704
1705 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1706 Handle caret-delimited strings (Bug#16079).
1707
1708 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1709
1710 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1711 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1712 `ruby-parse-partial' (Bug#16078).
1713
1714 2013-12-09 Leo Liu <sdl.web@gmail.com>
1715
1716 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1717
1718 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1719
1720 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1721 (js-switch-indent-offset): New option.
1722 (js--proper-indentation): Use it. And handle the case when
1723 "default" is actually a key in an object literal.
1724 (js--same-line): New function.
1725 (js--multi-line-declaration-indentation): Use it.
1726 (js--indent-in-array-comp, js--array-comp-indentation):
1727 New functions.
1728 (js--proper-indentation): Use them, to handle array comprehension
1729 continuations.
1730
1731 2013-12-08 Leo Liu <sdl.web@gmail.com>
1732
1733 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1734 (flymake-make-overlay): Remove arg MOUSE-FACE.
1735 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1736
1737 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1738
1739 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1740 New function.
1741 (redisplay-highlight-region-function): Use it.
1742
1743 * emulation/cua-base.el (cua--explicit-region-start)
1744 (cua--last-region-shifted): Remove.
1745 (cua--deactivate): Use deactivate-mark.
1746 (cua--pre-command-handler-1): Don't handle shift-selection.
1747 (cua--post-command-handler-1): Don't change transient-mark-mode.
1748 (cua--select-keymaps): Use region-active-p rather than
1749 cua--explicit-region-start or cua--last-region-shifted.
1750 (cua-mode): Enable shift-select-mode.
1751
1752 2013-12-08 Leo Liu <sdl.web@gmail.com>
1753
1754 * progmodes/flymake.el (flymake-popup-current-error-menu):
1755 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1756 (flymake-posn-at-point-as-event, flymake-popup-menu)
1757 (flymake-make-emacs-menu): Remove. (Bug#16077)
1758
1759 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1760
1761 * rect.el (rectangle-mark-mode): Activate mark even if
1762 transient-mark-mode is off (bug#16066).
1763 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1764 is > mark and at bolp.
1765
1766 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1767 (region-extract-function): Use it.
1768 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1769 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1770 Delete functions.
1771 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1772 kill-ring-save, kill-region, delete-char, delete-forward-char.
1773 Ignore self-insert-iso.
1774
1775 * emulation/cua-gmrk.el (cua--init-global-mark):
1776 Ignore `self-insert-iso'.
1777
1778 * emulation/cua-base.el (cua--prefix-copy-handler)
1779 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1780 checking cua--rectangle.
1781 (cua-delete-region): Use region-extract-function.
1782 (cua-replace-region): Delete function.
1783 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1784 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1785 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1786 (cua--init-keymaps): Don't remap delete-selection commands.
1787 (cua-mode): Use delete-selection-mode instead of rolling our own
1788 (bug#16085).
1789
1790 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1791 Obey region-extract-function.
1792
1793 Make registers and delete-selection-mode work on rectangles.
1794 * register.el (describe-register-1): Don't modify the register's value.
1795 (copy-to-register): Obey region-extract-function.
1796 * delsel.el (delete-active-region): Obey region-extract-function.
1797
1798 2013-12-08 Leo Liu <sdl.web@gmail.com>
1799
1800 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1801 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1802 (flymake-compilation-prevents-syntax-check)
1803 (flymake-start-syntax-check-on-newline)
1804 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1805 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1806 (flymake-xml-program, flymake-master-file-dirs)
1807 (flymake-master-file-count-limit)
1808 (flymake-allowed-file-name-masks): Relocate.
1809 (flymake-makehash, flymake-float-time)
1810 (flymake-replace-regexp-in-string, flymake-split-string)
1811 (flymake-get-temp-dir): Remove.
1812 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1813 (flymake-current-row, flymake-selected-frame)
1814 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1815 related functions. (Bug#16077)
1816
1817 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1818
1819 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1820
1821 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1822
1823 * help-fns.el (describe-function-1): Use new advice-* functions
1824 rather than old ad-* functions. Fix function type description and
1825 source links for advised functions and subrs.
1826
1827 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1828
1829 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1830
1831 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1832
1833 * progmodes/compile.el (compilation-start):
1834 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1835
1836 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1837 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1838
1839 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1840
1841 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1842 Touch up the last change.
1843
1844 2013-12-06 Leo Liu <sdl.web@gmail.com>
1845
1846 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1847 (inferior-octave-startup): Always use "octave> " for prompt.
1848 (octave-goto-function-definition)
1849 (octave-sync-function-file-names)
1850 (octave-find-definition-default-filename): Remove redundant backquotes.
1851
1852 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1853
1854 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1855 syntax for `?'.
1856 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1857 where appropriate already.
1858 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1859 end of method names (Bug#15874).
1860
1861 2013-12-06 Juri Linkov <juri@jurta.org>
1862
1863 * isearch.el (isearch--saved-overriding-local-map):
1864 New internal variable.
1865 (isearch-mode): Set it to the initial value of
1866 `overriding-terminal-local-map'.
1867 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1868 with `isearch--saved-overriding-local-map'. (Bug#16035)
1869
1870 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1871
1872 * progmodes/octave.el (inferior-octave-completion-table):
1873 Turn back into function, use `completion-table-with-cache'
1874 (Bug#11906). Update all references.
1875
1876 * minibuffer.el (completion-table-with-cache): New function.
1877
1878 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1879
1880 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1881
1882 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1883
1884 * net/eww.el (eww-current-source): New variable to store page
1885 source.
1886 (eww-display-html, eww-mode, eww-save-history)
1887 (eww-restore-history): Use it.
1888 (eww-view-source): New command to view page source.
1889 Opportunistically uses `html-mode' to highlight the buffer.
1890 (eww-mode-map): Install it.
1891
1892 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1893
1894 * net/dbus.el (dbus-unregister-service)
1895 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1896 Fix docstring.
1897 (dbus-unregister-service): Skip :serial entries in
1898 `dbus-registered-objects-table'.
1899 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1900
1901 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1902
1903 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1904 around keywords with extra `split-string' argument.
1905
1906 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1907
1908 * windmove.el (windmove-other-window-loc): Handle navigation
1909 between windows (excluding the minibuffer window - Bug#16017).
1910
1911 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1912
1913 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1914 in D-Bus type syntax.
1915 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1916 preserve unibyte strings. (Bug#16048)
1917
1918 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1919
1920 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1921 Call force-mode-line-update is the proper buffer (bug#16042).
1922
1923 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1924
1925 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1926 `log-edit-remember-comment', make argument optional. Adjust all
1927 callers.
1928 (log-edit-mode): Add `log-edit-remember-comment' to
1929 `kill-buffer-hook' locally.
1930 (log-edit-kill-buffer): Don't remember comment explicitly since
1931 the buffer is killed anyway.
1932
1933 2013-12-04 Juri Linkov <juri@jurta.org>
1934
1935 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1936 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1937
1938 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1939
1940 * notifications.el (notifications-close-notification): Call the
1941 D-Bus method with ID being a `:uint32'. (Bug#16030)
1942
1943 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1944
1945 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1946
1947 2013-12-03 Juri Linkov <juri@jurta.org>
1948
1949 * progmodes/compile.el (compilation-start): Rename window alist
1950 entry `no-display-ok' to `allow-no-window'.
1951
1952 * simple.el (shell-command): Add window alist entry
1953 `allow-no-window' to `display-buffer'.
1954 (async-shell-command): Doc fix.
1955
1956 * window.el (display-buffer-no-window): New action function.
1957 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1958
1959 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1960
1961 * vc/log-edit.el (log-edit-set-header): Extract from
1962 `log-edit-toggle-header'.
1963 (log-edit-extract-headers): Separate the summary, when extracted
1964 from header, from the rest of the message with an empty line.
1965
1966 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1967 line, if present, to the Summary header.
1968
1969 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1970
1971 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1972 in current-buffer (bug#16029).
1973
1974 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1975
1976 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1977 (debugger-mode-map): Bind it.
1978 (debugger--backtrace-base): New function.
1979 (debugger-eval-expression): Use it.
1980 (debugger-frame-number): Skip local vars when present.
1981 (debugger--locals-visible-p, debugger--insert-locals)
1982 (debugger--show-locals, debugger--hide-locals): New functions.
1983
1984 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1985
1986 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1987 "LC_ALL".
1988 (tramp-get-remote-locale): New defun.
1989 (tramp-open-connection-setup-interactive-shell): Use it.
1990
1991 2013-12-02 Leo Liu <sdl.web@gmail.com>
1992
1993 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1994
1995 * progmodes/sh-script.el (sh-shell-process):
1996 * progmodes/octave.el (inferior-octave-process-live-p):
1997 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1998 (gdb-inferior-io-sentinel):
1999 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2000
2001 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2002
2003 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2004 `save-selected-window' to `log-edit-hide-buf'. This makes
2005 `log-edit-show-files' idempotent.
2006 (log-edit-show-files): Mark the new window as dedicated.
2007
2008 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2009
2010 * vc/log-edit.el (log-edit-mode-map): Add binding for
2011 `log-edit-kill-biffer'.
2012 (log-edit-hide-buf): Add a FIXME comment.
2013 (log-edit-add-new-comment): New function, extracted from
2014 `log-edit-done'.
2015 (log-edit-done, log-edit-add-to-changelog): Use it.
2016 (log-edit-kill-buffer): New command.
2017
2018 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2019
2020 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2021 instead of killing the buffer.
2022
2023 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2024
2025 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2026
2027 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2028
2029 * net/eww.el (eww-form-checkbox-selected-symbol)
2030 (eww-form-checkbox-symbol): New customizable variable.
2031 (eww-form-checkbox, eww-toggle-checkbox):
2032 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2033
2034 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2035 (shr--get-media-pref, shr--extract-best-source): New function.
2036 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2037 no :src tag was specified.
2038
2039 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2040 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2041 Use \\` to match beginning of string instead of ^.
2042 (eww-browse-with-external-browser): Provide optional URL parameter.
2043 (eww-render): Set `eww-current-title' back to "".
2044
2045 * net/shr.el (shr-tag-video): Display content for video if no
2046 poster is available.
2047 (shr-tag-audio): Add support for <audio> tag.
2048
2049 * net/eww.el (eww-text-input-types): New const.
2050 (eww-process-text-input): Treat input types in
2051 `eww-text-input-types' as text.
2052
2053 * net/shr.el (shr-tag-table): Fix comment typo.
2054
2055 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2056
2057 * net/eww.el (eww-follow-link): New command to avoid reloading
2058 pages when we follow #target links (bug#15243).
2059 (eww-quit): Special mode buffers shouldn't query before exiting.
2060
2061 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2062
2063 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2064 forms.
2065
2066 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2067
2068 * net/eww.el (eww-restore-history): Update the window title after
2069 moving in the history.
2070 (eww-current-dom): New variable used to save the current DOM.
2071
2072 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2073
2074 * vc/log-edit.el (log-edit-mode-map): Add binding for
2075 `log-edit-beginning-of-line'.
2076 (log-edit-setup-add-author): New user option.
2077 (log-edit-beginning-of-line): New command.
2078 (log-edit): Move major mode call above the contents setup so that
2079 the local variable values are already applied.
2080 (log-edit): Only insert "Author: " when
2081 `log-edit-setup-add-author' is non-nil.
2082 (log-edit): When SETUP is non-nil, position point after ": "
2083 instead of point-min.
2084
2085 2013-12-01 Glenn Morris <rgm@gnu.org>
2086
2087 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2088
2089 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2090
2091 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2092 redisplay to make sure the initial frame gets a chance to become
2093 visible. (Bug#16014)
2094
2095 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2096
2097 Support resizing frames and windows pixelwise.
2098 * cus-start.el (frame-resize-pixelwise)
2099 (window-resize-pixelwise): New entries.
2100 * emacs-lisp/debug.el (debug): Use window-total-height instead
2101 of window-total-size.
2102 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2103 * help.el (describe-bindings-internal): Call help-buffer
2104 (temp-buffer-max-width): New option.
2105 (resize-temp-buffer-window, help-window-setup)
2106 (with-help-window): Rewrite.
2107 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2108 dragging dividers.
2109 * window.el (frame-char-size, window-min-pixel-height)
2110 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2111 (window-min-pixel-width, window-safe-min-pixel-size)
2112 (window-combination-p, window-safe-min-size)
2113 (window-resizable-p, window--size-to-pixel)
2114 (window--pixel-to-size, window--resize-apply-p): New functions.
2115 (window-safe-min-height): Fix doc-string.
2116 (window-size, window-min-size, window--min-size-1)
2117 (window-sizable, window-sizable-p, window--min-delta-1)
2118 (window-min-delta, window--max-delta-1, window-max-delta)
2119 (window--resizable, window--resizable-p, window-resizable)
2120 (window-full-height-p, window-full-width-p, window-at-side-p)
2121 (window--in-direction-2, window-in-direction)
2122 (window--resize-reset-1, window--resize-mini-window)
2123 (window-resize, window-resize-no-error)
2124 (window--resize-child-windows-normal)
2125 (window--resize-child-windows, window--resize-siblings)
2126 (window--resize-this-window, window--resize-root-window)
2127 (window--resize-root-window-vertically)
2128 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2129 (maximize-window, minimize-window, delete-window)
2130 (quit-restore-window, window-split-min-size, split-window)
2131 (balance-windows-2, balance-windows)
2132 (balance-windows-area-adjust, balance-windows-area)
2133 (window--state-get-1, window-state-get, window--state-put-1)
2134 (window--state-put-2, window-state-put)
2135 (display-buffer-record-window, window--display-buffer):
2136 Make functions handle pixelwise sizing of windows.
2137 (display-buffer--action-function-custom-type)
2138 (display-buffer-fallback-action):
2139 Add display-buffer-in-previous-window.
2140 (display-buffer-use-some-window): Resize window to height it had
2141 before.
2142 (fit-window-to-buffer-horizontally): New option.
2143 (fit-frame-to-buffer): Describe new values.
2144 (fit-frame-to-buffer-bottom-margin): Replace with
2145 fit-frame-to-buffer-margins.
2146 (window--sanitize-margin): New function.
2147 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2148 using window-text-pixel-size.
2149
2150 2013-11-30 Glenn Morris <rgm@gnu.org>
2151
2152 * emacs-lisp/bytecomp.el (byte-compile-form):
2153 Make the `interactive-only' warning like the `obsolete' one.
2154 * comint.el (comint-run):
2155 * files.el (insert-file-literally, insert-file):
2156 * replace.el (replace-string, replace-regexp):
2157 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2158 (goto-line, insert-buffer, next-line, previous-line):
2159 Tweak `interactive-only' spec.
2160
2161 Stop keeping (most) generated cedet grammar files in the repository.
2162 * Makefile.in (semantic): New.
2163 (compile-main): Depend on semantic.
2164
2165 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2166
2167 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2168 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2169
2170 * uniquify.el (uniquify-buffer-name-style): Change default.
2171
2172 * loadup.el: Preload "uniquify".
2173
2174 * time.el (display-time-update): Update all mode lines (bug#15999).
2175
2176 * electric.el (electric-indent-mode): Enable by default.
2177 * loadup.el: Preload "electric".
2178
2179 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2180
2181 * emacs-lisp/helpers.el (string-empty-p): New function.
2182 (string-blank-p): New function.
2183
2184 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2185
2186 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2187 (Bug#14029).
2188
2189 2013-11-29 Andreas Politz <politza@fh-trier.de>
2190 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2191 allow non-lambda lists as functions.
2192 (imenu--in-alist): Don't recurse into non-subalists.
2193 (imenu): Don't pass function itself as an argument (Bug#14029).
2194
2195 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2196
2197 * progmodes/python.el (python-mode-map): Remove binding for ":".
2198 (python-indent-electric-colon): Remove command.
2199 (python-indent-post-self-insert-function): Integrate the previous code
2200 of python-indent-electric-colon. Make it conditional on
2201 electric-indent-mode.
2202 (python-mode): Add ?: to electric-indent-chars.
2203 Move python-indent-post-self-insert-function to the end of
2204 post-self-insert-hook.
2205
2206 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2207
2208 * doc-view.el (doc-view-goto-page): Update mode-line.
2209
2210 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2211
2212 2013-11-27 Glenn Morris <rgm@gnu.org>
2213
2214 * international/charprop.el, international/uni-bidi.el:
2215 * international/uni-category.el, international/uni-combining.el:
2216 * international/uni-comment.el, international/uni-decimal.el:
2217 * international/uni-decomposition.el, international/uni-digit.el:
2218 * international/uni-lowercase.el, international/uni-mirrored.el:
2219 * international/uni-name.el, international/uni-numeric.el:
2220 * international/uni-old-name.el, international/uni-titlecase.el:
2221 * international/uni-uppercase.el:
2222 Remove generated files from VCS repository.
2223
2224 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2225
2226 * filenotify.el (file-notify-add-watch): Don't special-case
2227 w32notify when computing the directory to watch.
2228
2229 2013-11-27 Glenn Morris <rgm@gnu.org>
2230
2231 Make bootstrap without generated uni-*.el files possible again.
2232 * loadup.el: Update command-line-args checking for unidata-gen.
2233 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2234 * composite.el, international/characters.el:
2235 Handle unicode tables being undefined.
2236
2237 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2238 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2239 (compile-main): Depend on leim rule.
2240 (leim): New rule.
2241 * loadup.el: Move leim-list.el to leim/ subdirectory.
2242 * startup.el (normal-top-level): No more leim directory.
2243 * international/ja-dic-cnv.el (skkdic-convert):
2244 Disable version-control and autoloads in output files.
2245 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2246 Disable version-control and autoloads in output files.
2247 * leim/quail: Move here from ../leim.
2248 * leim/quail/hangul.el (hangul-input-method-activate):
2249 Add autoload cookie.
2250 (generated-autoload-load-name): Set file-local value.
2251 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2252 (generated-autoload-load-name): Set file-local value.
2253
2254 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2255
2256 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2257 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2258 (eww-quit): Ask confirmation before quitting eww.
2259
2260 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2261
2262 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2263 reading output from Diff on MS-Windows and MS-DOS.
2264
2265 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2266
2267 * emacs-lisp/helpers.el (string-reverse): New function.
2268
2269 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2270
2271 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2272 names on MS Windows, like "/[::1]:".
2273
2274 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2275 SWITCHES.
2276
2277 2013-11-26 Glenn Morris <rgm@gnu.org>
2278
2279 * progmodes/python.el (python-indent-guess-indent-offset):
2280 Avoid corner-case error. (Bug#15975)
2281
2282 Preload leim-list.el. (Bug#4789)
2283 * loadup.el: Load leim-list.el when found.
2284 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2285
2286 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2287
2288 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2289
2290 * emacs-lisp/helpers.el (string-join): New function.
2291
2292 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2293
2294 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2295 Mark as obsolete and replace it with a symbol property.
2296 (byte-compile-form): Use new 'interactive-only property.
2297 * comint.el, files.el, replace.el, simple.el:
2298 Apply new 'interactive-only properly.
2299
2300 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2301
2302 * window.el (display-buffer-at-bottom): Make sure that
2303 split-window-sensibly creates the new window on bottom
2304 (Bug#15961).
2305
2306 2013-11-23 David Kastrup <dak@gnu.org>
2307
2308 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2309 on the conflict markers when available.
2310 (smerge--get-marker): New function.
2311 (smerge-end-re, smerge-base-re): Add subgroup.
2312
2313 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2314
2315 * frame.el (handle-focus-in, handle-focus-out): Add missing
2316 interactive spec.
2317
2318 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2319
2320 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2321 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2322
2323 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2326 (gomoku--last-pos): New var.
2327 (gomoku--intangible-chars): New const.
2328 (gomoku--intangible): New function.
2329 (gomoku-mode): Use it. Derive from special-mode.
2330 (gomoku-move-up): Adjust line count.
2331 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2332 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2333 Simplify accordingly.
2334
2335 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2336 Remove blink-cursor code.
2337 (blink-cursor-timer-function, blink-cursor-suspend):
2338 Don't special-case GUIs.
2339 (blink-cursor-mode): Use focus-in/out-hook.
2340
2341 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2342
2343 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2344 work when annotation is invisible (Bug#13886).
2345
2346 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2347
2348 * json.el (json-alist-p): Only return non-nil if the alist has
2349 simple keys (Bug#13518).
2350
2351 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2352
2353 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2354 when control-statement is the first statement in a buffer (Bug#15956).
2355
2356 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2357
2358 * imenu.el (imenu-generic-skip-comments-and-strings):
2359 New option (Bug#15560).
2360 (imenu--generic-function): Use it.
2361
2362 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2363
2364 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2365 (Bug#13898)
2366
2367 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2368
2369 * emacs-lisp/helpers.el: Add some string helpers.
2370 (string-trim-left): Removes leading whitespace.
2371 (string-trim-right): Removes trailing whitespace.
2372 (string-trim): Removes leading and trailing whitespace.
2373
2374 * subr.el (string-suffix-p): New function.
2375
2376 2013-11-23 Glenn Morris <rgm@gnu.org>
2377
2378 * progmodes/python.el (python-shell-send-file):
2379 Add option to delete file when done. (Bug#15647)
2380 (python-shell-send-string, python-shell-send-region): Use it.
2381
2382 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2383
2384 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2385 to set buffer-read-only to t, never to nil. (Bug#15938)
2386
2387 * textmodes/tex-mode.el (latex-noindent-environments):
2388 Add safe-local-variable property. (Bug#15936)
2389
2390 2013-11-23 Glenn Morris <rgm@gnu.org>
2391
2392 * textmodes/enriched.el (enriched-mode): Doc fix.
2393 * emacs-lisp/authors.el (authors-renamed-files-alist):
2394 Add enriched.doc -> enriched.txt.
2395
2396 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2397
2398 2013-11-22 Leo Liu <sdl.web@gmail.com>
2399
2400 * progmodes/octave.el (inferior-octave-startup): Spit out error
2401 message.
2402
2403 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2404
2405 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2406 Improve docstring.
2407 Add :version.
2408 (ruby-encoding-magic-comment-style): Add :version.
2409
2410 2013-11-22 Leo Liu <sdl.web@gmail.com>
2411
2412 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2413 (Bug#15076)
2414 (octave-help-mode): Adapt to change to help-mode-finish to use
2415 derived-mode-p on 2013-09-17.
2416 (inferior-octave-prompt): Also match octave-gui.
2417 (octave-kill-process): Don't ask twice. (Bug#10564)
2418
2419 2013-11-22 Leo Liu <sdl.web@gmail.com>
2420
2421 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2422 (inferior-octave-startup, inferior-octave-check-process)
2423 (inferior-octave-track-window-width-change)
2424 (octave-completion-at-point, octave-eldoc-function): Use it.
2425 (octave-kill-process): Provide confirmation. (Bug#10564)
2426
2427 2013-11-21 Leo Liu <sdl.web@gmail.com>
2428
2429 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2430 Fix obsolete variable comment-use-global-state.
2431
2432 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2433
2434 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2435 Add `octave-source-file'.
2436 (octave-source-file): New function. (Bug#15935)
2437
2438 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2439
2440 * net/eww.el (eww-local-regex): New variable.
2441 (eww): Use it to detect localhost and similar.
2442
2443 2013-11-21 Leo Liu <sdl.web@gmail.com>
2444
2445 Add completion for command `ag'.
2446 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2447 (pcomplete/ag): New function.
2448 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2449
2450 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2452 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2453 (bug#14646).
2454 (make-obsolete): Remove interactive spec.
2455
2456 2013-11-21 Glenn Morris <rgm@gnu.org>
2457
2458 * startup.el (command-line-1): Use path-separator with -L.
2459
2460 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2461
2462 * emacs-lisp/package.el (describe-package-1): Add package archive
2463 to shown fields.
2464
2465 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2466
2467 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2468 Change default to "# encoding: %s" to differentiate it from the
2469 default Ruby encoding comment template.
2470
2471 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2472
2473 * ses.el (ses-mode): Doc fix. (Bug#14748)
2474
2475 2013-11-20 Leo Liu <sdl.web@gmail.com>
2476
2477 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2478
2479 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2480
2481 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2482 when rebase or bisect are in progress.
2483
2484 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2485
2486 * filenotify.el (file-notify-add-watch): Doc fix.
2487
2488 2013-11-19 Leo Liu <sdl.web@gmail.com>
2489
2490 * obsolete/rcompile.el: Mark obsolete.
2491
2492 * progmodes/compile.el (compilation-start)
2493 (compilation-goto-locus, compilation-find-file):
2494 Pass no-display-ok and handle nil value from display-buffer.
2495 (Bug#13594)
2496
2497 * window.el (display-buffer-alist, display-buffer): Document the
2498 new parameter no-display-ok. Return either a window or nil
2499 but never a non-window value.
2500
2501 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2502
2503 * electric.el (electric-indent-mode-map): Remove.
2504 (electric-indent-mode): Change the global-map instead (bug#15915).
2505
2506 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2507 Use add-function.
2508
2509 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2510
2511 * emacs-lisp/nadvice.el (remove-function): Align with
2512 add-function's behavior.
2513
2514 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2515 (gdb--string-regexp): New constant.
2516 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2517 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2518 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2519 submatch 1.
2520 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2521 Adjust use accordingly.
2522 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2523
2524 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2525
2526 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2527 interpolation curlies (Bug#15914).
2528
2529 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2530
2531 * calc/calc.el (calc-context-sensitive-enter): New variable.
2532 (calc-enter): Use `calc-context-sensitive-enter'.
2533
2534 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2535
2536 * progmodes/cfengine.el: Version bump.
2537 (cfengine-cf-promises): New defcustom to locate cf-promises.
2538 (cfengine3-vartypes): Add new "data" type.
2539 (cfengine3--current-word): New function to get current name-like
2540 word or its bounds.
2541 (cfengine3--current-function): New function to look up a CFEngine
2542 function's definition.
2543 (cfengine3-format-function-docstring): New function.
2544 (cfengine3-make-syntax-cache): New function.
2545 (cfengine3-documentation-function): New function: ElDoc glue.
2546 (cfengine3-completion-function): New function: completion glue.
2547 (cfengine3-mode): Set `compile-command',
2548 `eldoc-documentation-function', and add to
2549 `completion-at-point-functions'.
2550
2551 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2552
2553 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2554 `tramp-current-connection'.
2555
2556 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2557
2558 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2559 nil/self/true/false with "end of symbol".
2560
2561 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2562
2563 * subr.el (version-regexp-alist): Fix a typo.
2564
2565 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2566
2567 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2568 "en_US.utf8" and "LC_CTYPE" to "".
2569 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2570 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2571
2572 2013-11-15 Leo Liu <sdl.web@gmail.com>
2573
2574 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2575
2576 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2577
2578 * progmodes/gud.el (ctl-x-map):
2579 Remove C-x SPC binding. (Bug#12342)
2580 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2581
2582 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2583
2584 * subr.el (version-regexp-alist):
2585 Recognize hg, svn and darcs versions as snapshot versions.
2586
2587 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2588 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2589 (ruby--encoding-comment-required-p): Extract from
2590 `ruby-mode-set-encoding'.
2591 (ruby-mode-set-encoding): Add the ability to always insert an
2592 utf-8 encoding comment. Fix and simplify coding comment update
2593 logic.
2594
2595 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2596
2597 * net/tramp-gvfs.el (top): Run init code only when
2598 `tramp-gvfs-enabled' is not nil.
2599 (tramp-gvfs-enabled): Check also :system bus.
2600
2601 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 Sync with upstream verilog-mode revision 78e66ba.
2604 * progmodes/verilog-mode.el (verilog-end-of-defun)
2605 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2606 (verilog-get-end-of-defun): Remove unused argument.
2607 (verilog-comment-depth): Remove unused local `e'.
2608 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2609 Don't pass arg to verilog-get-end-of-defun.
2610
2611 2013-11-14 Glenn Morris <rgm@gnu.org>
2612
2613 * obsolete/assoc.el (aget): Prefix dynamic variable.
2614
2615 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2616
2617 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * widget.el, hfy-cmap.el: Remove bogus package version number.
2620
2621 2013-11-13 Glenn Morris <rgm@gnu.org>
2622
2623 * replace.el (replace-eval-replacement):
2624 Try to give more helpful error message. (Bug#15836)
2625
2626 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2627 (archive-7z-update): Avoid custom type mismatches.
2628
2629 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2630
2631 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2632
2633 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2634 address can be empty.
2635
2636 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2637 Accept nil SWITCHES.
2638 (tramp-gvfs-handle-write-region): Implement APPEND.
2639
2640 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2641
2642 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2643 binary "|" operator and closing block args delimiter.
2644 Remove FIXME comment referring to Ruby 1.8-only syntax.
2645 (ruby-smie--implicit-semi-p): Not after "|" operator.
2646 (ruby-smie--closing-pipe-p): New function.
2647 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2648 (ruby-smie-rules): Indent after "|".
2649
2650 2013-11-12 Glenn Morris <rgm@gnu.org>
2651
2652 * ps-print.el (ps-face-attribute-list):
2653 Handle anonymous faces. (Bug#15827)
2654
2655 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2656
2657 * window.el (display-buffer-other-frame): Fix doc-string.
2658 (Bug#15868)
2659
2660 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2661
2662 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2663
2664 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2665
2666 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2667 (tramp-sh-handle-file-local-copy): Don't write a message when
2668 saving temporary files.
2669
2670 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2671 both directories are remote.
2672 (tramp-smb-handle-directory-files): Do not return double entries.
2673 Do not expand full file names.
2674 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2675 (tramp-smb-handle-write-region): Implement APPEND.
2676 (tramp-smb-get-stat-capability): Fix a stupid bug.
2677
2678 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2679
2680 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2681
2682 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2683
2684 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2685 throwing error over malformed let/let* (bug#15814).
2686
2687 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2688
2689 * iswitchb.el (iswitchb-mode): Mark obsolete.
2690
2691 2013-11-11 Glenn Morris <rgm@gnu.org>
2692
2693 * international/uni-bidi.el, international/uni-category.el:
2694 * international/uni-name.el, international/uni-numeric.el:
2695 Regenerate for Unicode 6.3.0.
2696
2697 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2698
2699 * net/tramp.el (tramp-methods):
2700 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2701 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2702
2703 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2704
2705 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2706 Force highlighting text after Summary keyword in doc face for rpm.
2707
2708 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2709
2710 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2711 available and the word has no wildcards, append one to the grep pattern.
2712 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2713 (ispell-complete-word): Call `ispell-lookup-words' with the value
2714 independent of `ispell-look-p'.
2715
2716 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2717
2718 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2719 Not after "||".
2720 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2721 their parent.
2722
2723 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2724
2725 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2726 (ruby-font-lock-keywords): Use backquote.
2727
2728 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2729
2730 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2731 (ruby-smie--backward-token): Only consider full-string matches.
2732
2733 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2734
2735 * faces.el (describe-face): Add distant-foreground.
2736
2737 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2738
2739 * progmodes/ruby-mode.el: Improve encoding comment handling.
2740 (ruby-encoding-magic-comment-style): New option.
2741 (ruby-custom-encoding-magic-comment-template): New option.
2742 (ruby--insert-coding-comment, ruby--detect-encoding):
2743 New functions extracted from `ruby-mode-set-encoding'.
2744 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2745 to control the style of the auto-inserted encoding comment.
2746
2747 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2748
2749 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2750 Use `smie-backward-sexp' with token argument.
2751
2752 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2753
2754 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2755 Remove instrumentation code.
2756
2757 2013-11-08 Glenn Morris <rgm@gnu.org>
2758
2759 * progmodes/autoconf.el (autoconf-mode):
2760 Tweak comment-start-skip. (Bug#15822)
2761
2762 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2763
2764 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2765 at bobp (bug#15826).
2766 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2767
2768 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2769
2770 * man.el (Man-start-calling): New macro, extracted from
2771 Man-getpage-in-background.
2772 (Man-getpage-in-background): Use it.
2773 (Man-update-manpage): New command.
2774 (Man-mode-map): Bind it.
2775
2776 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2777
2778 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2779 of "and", "or", "&&" and "||".
2780 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2781 argument. Prohibit opening curly brace because it could only be a
2782 block opener in that position.
2783 (ruby-smie--forward-token, ruby-smie--backward-token):
2784 Separate "|" from "&" or "*" going after it. That can happen in block
2785 arguments.
2786 (ruby-smie--indent-to-stmt): New function, seeks the end of
2787 previous statement or beginning of buffer.
2788 (ruby-smie-rules): Use it.
2789 (ruby-smie-rules): Check if there's a ":" before a curly block
2790 opener candidate; if there is, it's a hash.
2791
2792 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2795 (cl--block-wrapper): Fix last accidental change.
2796
2797 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2798
2799 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2800 Instrument, in order to hunt failure on hydra.
2801
2802 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2803
2804 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2805 malformed bindings form (bug#15814).
2806
2807 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2808
2809 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2810 "." compared to " @ ". This incidentally fixes some indentation
2811 examples with "do".
2812 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2813 (ruby-smie-grammar): New tokens: "and" and "or".
2814 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2815 Exclude "and" and "or". Remove "do" in order to work around token
2816 priorities.
2817 (ruby-smie-rules): Add all infix tokens. Handle the case of
2818 beginning-of-buffer.
2819
2820 2013-11-06 Glenn Morris <rgm@gnu.org>
2821
2822 * Makefile.in (setwins_almost, setwins_for_subdirs):
2823 Avoid accidental matches.
2824
2825 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2826
2827 * menu-bar.el (popup-menu): Use key-binding.
2828
2829 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2830
2831 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2832 menus, support also the menus produced by minor modes.
2833 (Bug#15817)
2834
2835 2013-11-06 Leo Liu <sdl.web@gmail.com>
2836
2837 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2838 DISTANCE to bound the search. All uses changed. (Bug#15808)
2839
2840 2013-11-06 Glenn Morris <rgm@gnu.org>
2841
2842 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2843 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2844 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2845
2846 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2847
2848 * electric.el (electric-indent-just-newline): New command.
2849 (electric-indent-mode-map): New keymap.
2850 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2851 Re-add :group which weren't redundant.
2852
2853 * electric.el (electric-indent-local-mode): New minor mode.
2854 (electric-indent-functions-without-reindent): New var.
2855 (electric-indent-post-self-insert-function): Use it.
2856 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2857
2858 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2859
2860 * international/quail.el (quail-help): Be more explicit about the
2861 meaning of the labels shown on the keys. (Bug#15800)
2862
2863 * startup.el (normal-top-level): Load the subdirs.el files before
2864 setting the locale environment. (Bug#15805)
2865
2866 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2869 via arguments so as to get the right ones (bug#15418).
2870
2871 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2872
2873 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2874
2875 Fix problems found while writing a test suite.
2876
2877 * net/tramp-compat.el (tramp-compat-load): New defun.
2878 * net/tramp.el (tramp-handle-load): Use it.
2879
2880 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2881 "(numberp ok-if-already-exists)" correctly.
2882
2883 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2884
2885 * international/characters.el (glyphless-char-display-control):
2886 Add usage note.
2887
2888 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2889
2890 * progmodes/python.el (python-mode):
2891 * progmodes/scheme.el (scheme-mode):
2892 * progmodes/prolog.el (prolog-mode):
2893 * progmodes/ruby-mode.el (ruby-mode):
2894 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2895 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2896
2897 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2898
2899 * rect.el (rectangle--highlight-for-redisplay):
2900 * emacs-lisp/smie.el (smie--next-indent-change):
2901 Use buffer-chars-modified-tick.
2902
2903 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2904
2905 * electric.el (electric-indent-post-self-insert-function):
2906 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2907
2908 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2909
2910 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2911
2912 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2913
2914 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2915 (bug#15786).
2916
2917 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2918
2919 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2920
2921 * progmodes/python.el: Fix up last change.
2922 (python-shell--save-temp-file): New function.
2923 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2924 `string' comes from the current buffer.
2925 (python-shell-send-string-no-output): Remove `msg' arg.
2926 (python--use-fake-loc): New var.
2927 (python-shell-buffer-substring): Obey it. Try to compensate for the
2928 extra coding line added by python-shell--save-temp-file.
2929 (python-shell-send-region): Use python-shell--save-temp-file and
2930 python-shell-send-file directly. Add `nomain' argument.
2931 (python-shell-send-buffer): Use python-shell-send-region.
2932 (python-electric-pair-string-delimiter): New function.
2933 (python-mode): Use it.
2934
2935 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2936
2937 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2938 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2939 environment and decoding all of the default-directory's to here
2940 from command-line.
2941 (command-line): Decode also argv[0].
2942
2943 * loadup.el: Error out if default-directory is a multibyte string
2944 when we are dumping.
2945
2946 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2947
2948 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2949
2950 * emacs-lisp/package.el (package-menu-mode)
2951 (package-menu--print-info, package-menu--archive-predicate):
2952 Add Archive column to package list.
2953
2954 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2955
2956 Fix problems found while writing a test suite.
2957
2958 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2959 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2960 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2961 to nil when running original file name handler. Otherwise,
2962 there are problems with constructs like "$$FOO".
2963
2964 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2965 for `localname'.
2966
2967 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2968
2969 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2970
2971 * subr.el (version<, version<=, version=):
2972 Update docstrings with information for snapshot versions.
2973
2974 * helpers.el: New library for misc helper functions.
2975 (hash-table-keys): New function returning a list of hash keys.
2976 (hash-table-values): New function returning a list of hash values.
2977
2978 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2979
2980 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2981 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2982
2983 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2984
2985 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2986 checking whether point is after a 1-letter word.
2987
2988 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2989
2990 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2991 Don't infloop when expanding region over `multiline' syntax-type that
2992 begins a line (bug#15778).
2993
2994 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2995
2996 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2997 Make it into a proper minor mode.
2998 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2999 (rectangle-mark-mode-map): New keymap.
3000 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3001
3002 2013-11-04 Glenn Morris <rgm@gnu.org>
3003
3004 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3005
3006 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3007
3008 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3009 (ruby-smie-rules): Use smie-rule-parent instead.
3010
3011 * emacs-lisp/smie.el (smie-rule-parent): Always call
3012 smie-indent-virtual rather than only for hanging tokens.
3013 (smie--next-indent-change): New helper command.
3014
3015 2013-11-03 Glenn Morris <rgm@gnu.org>
3016
3017 * Makefile.in (abs_srcdir): Remove.
3018 (emacs): Unset EMACSLOADPATH.
3019
3020 2013-11-02 Glenn Morris <rgm@gnu.org>
3021
3022 * Makefile.in (EMACS): Use a relative filename.
3023 (abs_top_builddir): Remove.
3024 (custom-deps, finder-data, autoloads): Use --chdir.
3025
3026 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3027
3028 Use relative filenames in TAGS files.
3029 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3030 (lisptagsfiles4, TAGS): Use relative file names.
3031 (TAGS-LISP): Remove.
3032 (maintainer-clean): No more TAGS-LISP file.
3033
3034 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3035 (lisptagsfiles4): Use absolute filenames again.
3036 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3037 Remove all *loaddefs files, not just the first. Remove esh-groups.
3038 (maintainer-clean): Delete TAGS, TAGS-LISP.
3039
3040 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3041
3042 * emacs-lisp/package.el (package-version-join):
3043 Recognize snapshot versions.
3044
3045 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3046
3047 * subr.el (version-regexp-alist): Add support for snapshot versions.
3048
3049 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3050
3051 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3052 New function, replacement for `smie-rule-parent' for when we want to
3053 skip over our direct parent if it's an assignment token..
3054 (ruby-smie-rules): Use it.
3055
3056 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3057
3058 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3059 unconditionally. Remove now unnecessary forward declarations.
3060 Remove XEmacs-specific setup.
3061 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3062 (ruby-font-lock-syntactic-keywords)
3063 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3064 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3065 (ruby-here-doc-end-syntax): Remove.
3066 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3067 defined as function.
3068
3069 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3070
3071 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3072
3073 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3074
3075 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3076 table and abbrev table, `define-derived-mode' does that for us
3077 anyway.
3078
3079 2013-11-01 Glenn Morris <rgm@gnu.org>
3080
3081 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3082 files is atomic for some time, so no parallel compilation issues).
3083
3084 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3085
3086 * faces.el (face-x-resources): Add :distant-foreground.
3087 (region): Use :distant-foreground for gtk and ns.
3088
3089 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3090
3091 Allow multiple bibliographies when BibLaTeX is used rather than
3092 BibTeX.
3093 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3094 (reftex-locate-bibliography-files): Us it.
3095
3096 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3097
3098 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3099 allow comments in pbm files.
3100
3101 * term/w32-win.el (dynamic-library-alist): Support newer versions
3102 of libjpeg starting with v7: look only for the DLL from the
3103 version against which Emacs was built.
3104 Support versions of libpng beyond 1.4.x.
3105 Support libtiff v4.x.
3106
3107 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3108
3109 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3110 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3111 Add property :safe.
3112 (ruby-deep-arglist): Add property :type.
3113
3114 2013-10-31 Glenn Morris <rgm@gnu.org>
3115
3116 * Makefile.in (custom-deps, finder-data): No need to setq the target
3117 variables, we are in the right directory and the defaults work fine.
3118
3119 2013-10-30 Glenn Morris <rgm@gnu.org>
3120
3121 * Makefile.in (autoloads): Do not use abs_lisp.
3122
3123 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3124 `newline' does not respect `standard-output', so use `princ'.
3125
3126 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3127
3128 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3129 * buff-menu.el (Buffer-menu--unmark): New function.
3130 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3131
3132 2013-10-30 Glenn Morris <rgm@gnu.org>
3133
3134 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3135
3136 * emacs-lisp/package.el (lm-homepage): Declare.
3137
3138 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3139 Fix doc typos.
3140
3141 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3142
3143 * Makefile.in (finder-data, autoloads, update-subdirs)
3144 (compile-main, compile-clean, compile-always, bootstrap-clean):
3145 Check return value of cd.
3146 (compile-calc): Remove.
3147
3148 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3151
3152 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3153 (byte-compile-and-folded): New function.
3154 (=, <, >, <=, >=): Use it.
3155
3156 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3157 (path-separator, null-device, buffer-file-coding-system)
3158 (lpr-headers-switches): Check system-type before modifying them.
3159 (find-buffer-file-type-coding-system): Mark obsolete.
3160 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3161 find-file-not-found-set-buffer-file-coding-system.
3162 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3163 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3164 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3165 (w32-direct-print-region-helper, w32-direct-print-region-function)
3166 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3167 * startup.el (normal-top-level-add-subdirs-to-load-path):
3168 * ps-print.el (ps-print-region-function):
3169 * lpr.el (print-region-function): Use new name.
3170
3171 * subr.el (custom-declare-variable-early): Remove function.
3172 (custom-declare-variable-list): Remove var.
3173 (error, user-error): Remove `while' loop.
3174 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3175 (user-emacs-directory-warning, locate-user-emacs-file):
3176 Move to files.el.
3177 * simple.el (read-quoted-char-radix, read-quoted-char):
3178 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3179 Move from subr.el.
3180 * custom.el (custom-declare-variable-list): Don't process
3181 custom-declare-variable-list.
3182
3183 * progmodes/python.el (python-shell-get-buffer): New function.
3184 (python-shell-get-process): Use it.
3185 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3186 Python which encoding was used. Don't split-string since we only care
3187 about the first line. Return the temp-file, if applicable.
3188 (python-shell-send-region): Tell compile.el how to turn locations in
3189 the temp-file into locations in the source buffer.
3190
3191 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3192
3193 * subr.el (undefined): Add missing behavior from the C code for
3194 unbound keys.
3195
3196 * rect.el: Use lexical-binding. Add new rectangular region support.
3197 (rectangle-mark): New command.
3198 (rectangle--region): New var.
3199 (deactivate-mark-hook): Reset rectangle--region.
3200 (rectangle--extract-region, rectangle--insert-for-yank)
3201 (rectangle--highlight-for-redisplay)
3202 (rectangle--unhighlight-for-redisplay): New functions.
3203 (region-extract-function, redisplay-unhighlight-region-function)
3204 (redisplay-highlight-region-function): Use them to handle
3205 rectangular region.
3206 * simple.el (region-extract-function): New var.
3207 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3208 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3209 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3210 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3211 (redisplay-unhighlight-region-function)
3212 (redisplay-highlight-region-function): New vars.
3213 (redisplay--update-region-highlight): New function.
3214 (pre-redisplay-function): Use it.
3215 (exchange-point-and-mark): Don't deactivate the mark before
3216 reactivate-it anyway.
3217 * comint.el (comint-kill-region): Remove yank-handler argument.
3218 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3219 (delete-char): Remove property, since it's now part of their
3220 default behavior.
3221 (self-insert-iso): Remove property since this command doesn't exist.
3222
3223 * emacs-lisp/package.el (package--download-one-archive)
3224 (describe-package-1): Don't query the user about final newline.
3225
3226 2013-10-29 Daniel Colascione <dancol@dancol.org>
3227
3228 * net/tramp.el (tramp-methods): Document new functionality.
3229 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3230 tramp-hostname-checker if method provides one instead of scanning
3231 argument list for "%h" to decide hostname acceptability.
3232
3233 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3234
3235 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3236 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3237 Handle COPY-CONTENTS. (Bug#15737)
3238
3239 2013-10-28 Daiki Ueno <ueno@gnu.org>
3240
3241 * epa-file.el
3242 (epa-file-cache-passphrase-for-symmetric-encryption):
3243 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3244
3245 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3246
3247 * image.el (defimage):
3248 (image-load-path): Doc fixes.
3249
3250 2013-10-27 Alan Mackenzie <acm@muc.de>
3251
3252 Indent statements in macros following "##" correctly.
3253 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3254 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3255
3256 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3257
3258 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3259
3260 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3261
3262 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3263 after `=' is probably a new expression.
3264
3265 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3266
3267 * man.el (man-imenu-title): New option.
3268 (Man-mode-map): Add menu. (Bug#15722)
3269 (Man-mode): Add imenu to menu.
3270
3271 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3272
3273 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3274 specific in what the first arg can be: a non-keyword word,
3275 string/regexp/percent literal opener, opening paren, or unary
3276 operator followed directly by word.
3277
3278 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3281 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3282 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3283 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3284 Remove vars, they do not apply any more.
3285 (prolog-mode-abbrev-table): Remove redundant declaration.
3286 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3287 (prolog-use-smie): Remove.
3288 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3289 supported by prolog-electric-if-then-else-flag.
3290 (prolog-mode-variables, prolog-menu): Use setq-local.
3291 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3292 Remove binding to `Backspace' since this key doesn't exist anyway.
3293 Remove bindings for electric self-inserting keys.
3294 (prog-mode): Assume it's defined.
3295 (prolog-post-self-insert): New function.
3296 (prolog-mode): Use it.
3297 (prolog-indent-line, prolog-indent-level)
3298 (prolog-find-indent-of-matching-paren)
3299 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3300 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3301 (prolog-goto-next-paren, prolog-in-string-or-comment)
3302 (prolog-tokenize, prolog-inside-mline-comment)
3303 (prolog-find-start-of-mline-comment): Remove functions.
3304 (prolog-find-unmatched-paren, prolog-clause-end)
3305 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3306 (prolog-electric--if-then-else): Rename from
3307 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3308 (prolog-tokenize-searchkey): Remove const.
3309 (prolog-clause-info): Use forward-sexp.
3310 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3311 (prolog-electric-if-then-else): Remove commands.
3312 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3313 for use in post-self-insert-hook.
3314 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3315 for use in post-self-insert-hook.
3316 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3317 for use in post-self-insert-hook.
3318 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3319 adapt it for use in post-self-insert-hook.
3320
3321 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3322
3323 * emacs-lisp/ert.el (ert-run-tests-interactively):
3324 Use `completing-read'. (Bug#9756)
3325
3326 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3327
3328 * simple.el (line-move): Call line-move-1 instead of
3329 line-move-visual when the current window hscroll is zero, but
3330 temporary-goal-column indicates we will need to hscroll as result
3331 of the movement. (Bug#15712)
3332
3333 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3334
3335 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3336 capitalization. Use :visible instead of :active.
3337 Fix `ruby-indent-exp' reference. Add menu items for the generic
3338 commands that are used with SMIE.
3339 (ruby-do-end-to-brace): Insert space after `{'.
3340
3341 2013-10-25 John Anthony <john@jo.hnanthony.com>
3342
3343 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3344
3345 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3346
3347 2013-10-25 Glenn Morris <rgm@gnu.org>
3348
3349 * vc/vc.el (vc-print-log): Don't use a working revision unless
3350 one was explicitly specified. (Bug#15322)
3351
3352 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3353
3354 * subr.el (add-to-list): Preserve return value in compiler-macro
3355 (bug#15692).
3356
3357 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3358
3359 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3360 result. Ask user to retry using '-all' flag. (Bug#15701)
3361
3362 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3363
3364 * emacs-lisp/smie.el: New smie-config system.
3365 (smie-config): New defcustom.
3366 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3367 (smie-config-guess, smie-config-save): New commands.
3368 (smie-config--mode-local, smie-config--buffer-local)
3369 (smie-config--trace, smie-config--modefuns): New vars.
3370 (smie-config--advice, smie-config--mode-hook)
3371 (smie-config--setter, smie-config-local, smie-config--get-trace)
3372 (smie-config--guess-value, smie-config--guess): New functions.
3373 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3374 text properties. Treat "string fence" syntax like string syntax.
3375
3376 * progmodes/sh-script.el (sh-use-smie): Change default.
3377 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3378 (sh-var-value): Simplify by CSE.
3379 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3380 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3381 is used.
3382 (sh-guess-basic-offset): Use cl-incf.
3383 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3384
3385 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3386
3387 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3388 (bug#15699).
3389
3390 2013-10-24 Glenn Morris <rgm@gnu.org>
3391
3392 * Makefile.in (abs_top_srcdir): Remove.
3393 (update-subdirs): Use relative path to update-subdirs.
3394
3395 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3396
3397 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3398 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3399 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3400 Call unmsys--file-name before expand-file-name, not after it.
3401
3402 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3403
3404 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3405 (ert-test-skipped): New error.
3406 (ert-skip, ert-stats-skipped): New defuns.
3407 (ert--skip-unless): New macro.
3408 (ert-test-skipped): New struct.
3409 (ert--run-test-debugger, ert-test-result-type-p)
3410 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3411 (ert--stats-set-test-and-result, ert-char-for-test-result)
3412 (ert-string-for-test-result, ert-run-tests-batch)
3413 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3414 Handle skipped tests. (Bug#9803)
3415
3416 2013-10-24 Glenn Morris <rgm@gnu.org>
3417
3418 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3419
3420 * Makefile.in (abs_top_srcdir): New, set by configure.
3421 (update-subdirs): Correct build-aux location.
3422
3423 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3424
3425 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3426 value, whether we could auto-deduce `backend', or not.
3427
3428 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3429 with parameters" example. Simplify the "is it block or is it
3430 hash" check, but also make it more thorough.
3431
3432 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3433
3434 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3435
3436 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3437
3438 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3439 { if it is hanging.
3440
3441 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3442 :before ";".
3443
3444 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3445
3446 * progmodes/compile.el (compilation-directory-matcher)
3447 (compilation-page-delimiter):
3448 Support GNU Make-4.0 directory quoting. (Bug#15678)
3449
3450 2013-10-23 Leo Liu <sdl.web@gmail.com>
3451
3452 * ido.el (ido-tidy): Handle read-only text.
3453
3454 2013-10-23 Glenn Morris <rgm@gnu.org>
3455
3456 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3457 (emacs, compile, compile-always):
3458 Quote entities that might contain whitespace.
3459 (custom-deps, finder-data, autoloads): Use abs_lisp.
3460 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3461 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3462 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3463
3464 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3465
3466 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3467 Use `following-char'.
3468
3469 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3470
3471 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3472 * progmodes/ruby-mode.el (ruby-smie-rules):
3473 Remove corresponding workaround. Fix indentation rule of ";" so it
3474 also applies when ";" is the parent.
3475
3476 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3477
3478 * frame.el (display-screens, display-pixel-height)
3479 (display-pixel-width, display-mm-width, display-backing-store)
3480 (display-save-under, display-planes, display-color-cells)
3481 (display-visual-class, display-monitor-attributes-list):
3482 Mention the optional ‘display’ argument in doc strings.
3483
3484 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3485
3486 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3487 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3488
3489 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3490
3491 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3492 TODO. Add "." after " @ ".
3493 (ruby-smie--at-dot-call): New function. Checks if point at method
3494 call with explicit target.
3495 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3496 to the method name tokens when it precedes them.
3497 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3498 (ruby-smie-rules): Add rule for indentation before and after "."
3499 token.
3500
3501 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3502
3503 * textmodes/remember.el (remember-diary-extract-entries):
3504 Avoid add-to-list.
3505
3506 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3507 an instruction.
3508
3509 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3510
3511 * progmodes/ruby-mode.el (ruby-smie-grammar):
3512 Add (almost) all infix operators.
3513 (ruby-smie--implicit-semi-p): Add new operator chars.
3514
3515 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3516 `smie-down-list'.
3517 (ruby-smie--args-separator-p): Check that there's no newline
3518 between method call and its arguments.
3519
3520 2013-10-20 Alan Mackenzie <acm@muc.de>
3521
3522 Allow comma separated lists after Java "implements".
3523
3524 * progmodes/cc-engine.el (c-backward-over-enum-header):
3525 Parse commas.
3526 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3527 from a "disallowed" list in enum fontification.
3528
3529 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3530
3531 * startup.el (default-frame-background-mode): Remove unused defvar.
3532
3533 * progmodes/verilog-mode.el (verilog-mode): Don't set
3534 comment-indent-function globally.
3535
3536 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3537
3538 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3539 Move Info menu item creation to ns-win.el.
3540
3541 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3542 in menu bar.
3543
3544 * menu-bar.el: Move GNUStep specific menus...
3545
3546 * term/ns-win.el (ns-initialize-window-system): ... to here.
3547
3548 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3549
3550 * simple.el (newline): Only run post-self-insert-hook when
3551 called interactively.
3552
3553 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3554
3555 * icomplete.el (icomplete-with-completion-tables): Add :version.
3556
3557 2013-10-19 Alan Mackenzie <acm@muc.de>
3558
3559 Fix fontification bugs with constructors and const.
3560
3561 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3562 CASE 2) Remove the check for the absence of a suffix construct
3563 after a function declaration with only types (no identifiers) in
3564 the parentheses. Also, accept a function declaration with just a
3565 type inside the parentheses, if this type can be positively
3566 recognised as such, or if a prefix keyword like "explicit" nails
3567 down the construct as a declaration.
3568
3569 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3570
3571 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3572 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3573 the problem whereby selecting a menu item that leads to a
3574 minibuffer prompt moves the cursor out of the minibuffer window,
3575 making it hard to type at the prompt. Suggested by Stefan Monnier
3576 <monnier@iro.umontreal.ca>.
3577
3578 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3579
3580 * menu-bar.el: Don't make Services menu.
3581
3582 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3583
3584 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3585 (ffap-alist): Use ffap-c++-mode for c++-mode.
3586 (ffap-c++-path): New variable.
3587 (ffap-c++-mode): New function.
3588
3589 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3590
3591 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3592
3593 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3594
3595 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3596 introduced on 2013-09-08, which results in an infinite loop
3597 requesting a password.
3598
3599 2013-10-18 Glenn Morris <rgm@gnu.org>
3600
3601 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3602
3603 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3604
3605 Sync with upstream verilog-mode revision 1a6ecec7.
3606 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3607 (verilog-mode-release-date): Remove.
3608 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3609 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3610 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3611 (verilog-auto-tieoff-ignore-regexp)
3612 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3613 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3614 (verilog-signals-with, verilog-dir-cache-preserving)
3615 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3616 Doc fixes.
3617 (verilog-case-fold): New option, to control case folding in
3618 regexp searches, bug597.
3619 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3620 (verilog-string-match-fold, verilog-in-paren-count)
3621 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3622 (verilog-at-close-struct-p): New functions.
3623 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3624 (verilog-forward-sexp, verilog-set-auto-endcomments):
3625 (verilog-leap-to-case-head): Handle "unique0" case.
3626 (verilog-in-constraint-re): New constant.
3627 (verilog-keywords, verilog-type-font-keywords):
3628 Add some SystemVerilog 1800-2012 keywords.
3629 (verilog-label-be): Remove unimplemented argument, bug669.
3630 (verilog-batch-execute-func): When batch expanding clear
3631 create-lockfiles to prevent spurious user locks when a file ends
3632 up not changing.
3633 (verilog-calculate-indent, verilog-calc-1)
3634 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3635 (verilog-do-indent): Fix indentation of nested constraints
3636 and structures.
3637 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3638 (verilog-auto-inst-param): Use verilog-string-match-fold.
3639 (verilog-read-inst-module-matcher):
3640 Fix AUTOINST on gate primitives with #1.
3641 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3642 Reads all user-defined typed variables.
3643 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3644 (verilog-signals-matching-regexp)
3645 (verilog-signals-not-matching-regexp, verilog-auto):
3646 Respect verilog-case-fold.
3647 (verilog-diff-report): Fix line count.
3648 (verilog-auto-assign-modport): Remove unused local `modi'.
3649 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3650 better handle multidimensional arrays.
3651 Fix packed array ports misadding bit index in AUTOINST, bug637.
3652 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3653 to not double-declare existing outputs and inputs, respectively.
3654 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3655 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3656 (verilog-sk-uvm-component): New skeleton.
3657 (verilog-submit-bug-report): Add verilog-case-fold,
3658 remove verilog-mode-release-date.
3659
3660 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3661
3662 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3663 as before.
3664
3665 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3666
3667 * textmodes/remember.el (remember): Set buffer-offer-save in
3668 remember buffers (bug#13566).
3669
3670 2013-10-18 Daniel Colascione <dancol@dancol.org>
3671
3672 When evaluating forms in ielm, direct standard output to ielm
3673 buffer. Add new ielm-return-for-effect command. Remove trailing
3674 whitespace throughout.
3675
3676 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3677 (ielm-return-for-effect): New command.
3678 (ielm-send-input): Accept optional `for-effect' parameter.
3679 (ielm-eval-input): Accept optional `for-effect' parameter.
3680 Bind `standard-output' to stream we create using
3681 `ielm-standard-output-impl'. Suppress printing result when
3682 `for-effect'.
3683 (ielm-standard-output-impl): New function.
3684 (inferior-emacs-lisp-mode): Explain new features in documentation.
3685
3686 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3687
3688 Code cleanup.
3689
3690 * net/tramp.el (tramp-debug-message): Do not check for connection
3691 buffer.
3692 (tramp-message): Use "vector" connection property.
3693
3694 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3695 (tramp-equal-remote, tramp-eshell-directory-change)
3696 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3697 (tramp-adb-handle-rename-file)
3698 * net/tramp-cmds.el (tramp-list-remote-buffers)
3699 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3700 * net/tramp-compat.el (tramp-compat-process-running-p)
3701 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3702 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3703 (tramp-gvfs-handle-rename-file)
3704 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3705 (tramp-set-file-uid-gid)
3706 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3707 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3708 of `file-remote-p'.
3709
3710 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3711 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3712 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3713 (tramp-gw-open-network-stream): Suppress unrelated traces.
3714
3715 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3716 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3717 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3718 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3719 connection property.
3720
3721 * net/tramp-cache.el (top): Suppress traces when reading
3722 persistency file.
3723
3724 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3725 Refactor common code. Improve debug message.
3726 (tramp-maybe-open-connection)
3727 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3728 connection buffer too early.
3729
3730 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3731 from `tramp-smb-actions-with-acl'.
3732 (tramp-smb-actions-set-acl): New defconst.
3733 (tramp-smb-handle-copy-directory)
3734 (tramp-smb-action-get-acl): New defun, renamed from
3735 `tramp-smb-action-with-acl'.
3736 (tramp-smb-action-set-acl): New defun.
3737 (tramp-smb-handle-set-file-acl): Rewrite.
3738
3739 2013-10-17 Glenn Morris <rgm@gnu.org>
3740
3741 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3742
3743 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3744
3745 * skeleton.el (skeleton-newline): Remove.
3746 (skeleton-internal-1): Use (insert "\n") instead.
3747
3748 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3749 let-bindings.
3750
3751 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3752 forward-sexp-function while we redo its job (bug#15613).
3753
3754 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3755
3756 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3757 represented by lists.
3758
3759 2013-10-16 Glenn Morris <rgm@gnu.org>
3760
3761 * tmm.el (tmm--history): New dynamic variable.
3762 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3763
3764 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3765
3766 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3767 (tramp-smb-errors): Add error messages.
3768 (tramp-smb-actions-with-acl): New defconst.
3769 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3770 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3771 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3772 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3773 (tramp-smb-get-stat-capability): Fix tests.
3774
3775 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3776
3777 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3778 (bug#15580).
3779
3780 2013-10-16 Glenn Morris <rgm@gnu.org>
3781
3782 * ansi-color.el (ansi-color-drop-regexp):
3783 Add 1J, 1K, 2K. (Bug#15617)
3784
3785 * files.el (hack-local-variables--warned-lexical): New.
3786 (hack-local-variables):
3787 Warn about misplaced lexical-binding. (Bug#15616)
3788
3789 * net/eww.el (eww-render): Always set eww-current-url,
3790 and update header line. (Bug#15622)
3791 (eww-display-html): ... Rather than just doing it here.
3792
3793 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3794
3795 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3796 menu navigations commands.
3797
3798 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3799
3800 * progmodes/subword.el (subword-capitalize): Be careful when
3801 the search for [[:alpha:]] fails (bug#15580).
3802
3803 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3804
3805 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3806 to commands that scroll the menu.
3807
3808 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3809
3810 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3811 Handle methods ending with `?' and `!'.
3812
3813 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3814
3815 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3816 `japanese-cp932' to `cp932' to fix the problem where saving a
3817 source file written in Shift_JIS twice would end up having
3818 `coding: japanese-cp932' which Ruby could not recognize.
3819 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3820 in `ruby-encoding-map'.
3821 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3822 doesn't need to be explicitly declared in magic comment.
3823 (ruby-encoding-map): Add type declaration for better customize UI.
3824
3825 2013-10-13 Glenn Morris <rgm@gnu.org>
3826
3827 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3828 Occur buffers are read-only. http://bugs.debian.org/720775
3829
3830 * emacs-lisp/authors.el (authors-fixed-entries):
3831 Comment out old alpha stuff.
3832
3833 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3834
3835 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3836 to `after-save-hook' instead of `before-save-hook'.
3837 (ruby-mode-set-encoding): Use the value of coding system used to
3838 write the file. Call `basic-save-buffer-1' after modifying the
3839 buffer.
3840
3841 2013-10-13 Alan Mackenzie <acm@muc.de>
3842
3843 Fix indentation/fontification of Java enum with
3844 "implements"/generic.
3845
3846 * progmodes/cc-engine.el (c-backward-over-enum-header):
3847 Extracted from the three other places and enhanced to handle generics.
3848 (c-inside-bracelist-p): Uses new function above.
3849 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3850 function above.
3851 (c-font-lock-enum-tail): Uses new function above.
3852
3853 2013-10-13 Kenichi Handa <handa@gnu.org>
3854
3855 * international/mule-cmds.el (select-safe-coding-system): Remove a
3856 superfluous condition in chekcing whether a coding system is safe
3857 or not.
3858
3859 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3860
3861 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3862
3863 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3864
3865 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3866
3867 2013-10-13 Glenn Morris <rgm@gnu.org>
3868
3869 * menu-bar.el (menu-bar-update-buffers):
3870 Unify Buffers menu prompt string. (Bug#15576)
3871
3872 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3873
3874 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3875 Add some entries.
3876 (authors-fixed-entries): Use accented form of name.
3877
3878 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3879
3880 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3881 method calls (bug#15594).
3882 (ruby-smie--args-separator-p): New function.
3883 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3884 recognize paren-free method calls.
3885
3886 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3887 internals of universal-argument.
3888
3889 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3890
3891 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3892 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3893 dropped menu on second mouse click on the menu bar.
3894
3895 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3896
3897 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3898 (explicit-shell-file-name): Declare.
3899 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3900 (sh-completion-at-point-function): New function.
3901 (sh-mode): Use it.
3902 (sh-smie--keyword-p): Remove unused argument.
3903 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3904 vars.
3905 (sh-set-shell): Always setup SMIE, even if we use the
3906 old indentation code.
3907
3908 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3909
3910 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3911 cases of ? and =.
3912 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3913 predicate would return nil are almost non-existent.
3914 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3915
3916 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3917 cache also after commands that modify the buffer but don't move
3918 point.
3919
3920 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3921
3922 * env.el (substitute-env-in-file-name): New function.
3923 (substitute-env-vars): Extend the meaning of the optional arg.
3924
3925 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3926
3927 * term/w32-win.el (dynamic-library-alist): Define separate lists
3928 of GIF DLLs for versions before and after 5.0.0 of giflib.
3929 (Bug#15531)
3930
3931 2013-10-10 João Távora <joaotavora@gmail.com>
3932
3933 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3934 not locked, use last revision and current source as
3935 defaults. (Bug#15569)
3936
3937 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3938
3939 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3940 menu-bar is hidden.
3941
3942 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3943
3944 * window.el (pop-to-buffer-same-window): Fix doc-string.
3945 (Bug#15492)
3946
3947 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3948
3949 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3950
3951 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3952
3953 * calendar/icalendar.el (icalendar-import-file):
3954 Fix interactive spec. (Bug#15482)
3955
3956 2013-10-10 Glenn Morris <rgm@gnu.org>
3957
3958 * desktop.el (desktop-save): Default to saving in .emacs.d,
3959 since PWD is no longer in desktop-path by default. (Bug#15319)
3960
3961 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3962 now that text mode has a menu with the same entry.
3963 (menu-bar-text-mode-auto-fill): Remove now unused func.
3964 * textmodes/text-mode.el (text-mode-map):
3965 Use auto-fill help text from menu-bar.el.
3966
3967 2013-10-10 John Anthony <john@jo.hnanthony.com>
3968
3969 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3970
3971 2013-10-09 Juri Linkov <juri@jurta.org>
3972
3973 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3974 instead of this-command-keys. Add universal-argument-more and
3975 universal-argument-minus to the list of prefix commands. (Bug#15568)
3976
3977 2013-10-09 Glenn Morris <rgm@gnu.org>
3978
3979 * vc/vc-svn.el (vc-svn-create-repo):
3980 Expand paths in file://... url. (Bug#15446)
3981
3982 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3983 Add some entries.
3984 (authors): Remove unused local variables.
3985
3986 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3987
3988 * profiler.el: Create a more coherent calltree from partial backtraces.
3989 (profiler-format): Hide the tail with `invisible' so that C-s can still
3990 find the hidden elements.
3991 (profiler-calltree-depth): Don't recurse so enthusiastically.
3992 (profiler-function-equal): New hash-table-test.
3993 (profiler-calltree-build-unified): New function.
3994 (profiler-calltree-build): Use it.
3995 (profiler-report-make-name-part): Indent the calltree less.
3996 (profiler-report-mode): Add visibility specs for profiler-format.
3997 (profiler-report-expand-entry, profiler-report-toggle-entry):
3998 Expand the whole subtree when provided with a prefix arg.
3999
4000 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4001
4002 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4003 iuwu-mod token.
4004 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4005 hanging iuwu-mod token.
4006 (ruby-smie--forward-token): Do not include a dot after a token in
4007 that token.
4008 (ruby-smie--backward-token): Likewise.
4009
4010 2013-10-08 Juri Linkov <juri@jurta.org>
4011
4012 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4013 to isearch-other-control-char.
4014 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4015 and isearch-post-command-hook to post-command-hook.
4016 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4017 and isearch-post-command-hook from post-command-hook.
4018 (isearch-unread-key-sequence)
4019 (isearch-reread-key-sequence-naturally)
4020 (isearch-lookup-scroll-key, isearch-other-control-char)
4021 (isearch-other-meta-char): Remove functions.
4022 (isearch-pre-command-hook, isearch-post-command-hook):
4023 New functions based on isearch-other-meta-char rewritten
4024 relying on the new behavior of overriding-terminal-local-map
4025 that does not replace the local keymaps any more. (Bug#15200)
4026
4027 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4028
4029 Support menus on text-mode terminals.
4030 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4031 functionality.
4032
4033 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4034
4035 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4036 Move here from mouse.el.
4037 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4038 and arrow keys.
4039 (tty-menu-navigation-map): New map for TTY menu navigation.
4040
4041 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4042
4043 * frame.el (display-mouse-p): Report text-mode mouse as available
4044 on w32.
4045 (display-popup-menus-p): Report availability if mouse is
4046 available; don't condition on window-system.
4047
4048 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4049 (tty-menu-selected-face): New faces.
4050
4051 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4052
4053 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4054 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4055 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4056 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4057 New constants.
4058 (lisp-mode-variables): New `elisp' argument.
4059 (emacs-lisp-mode): Use it.
4060 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4061 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4062
4063 * indent.el: Use lexical-binding.
4064 (indent-region): Add progress reporter.
4065 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4066 last step.
4067 (indent--next-tab-stop): New function to implement this behavior.
4068 (tab-to-tab-stop, move-to-tab-stop): Use it.
4069
4070 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4071
4072 * indent.el (indent-rigidly--current-indentation): New function.
4073 (indent-rigidly-map): New var.
4074 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4075
4076 2013-10-08 Bastien Guerry <bzg@gnu.org>
4077
4078 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4079
4080 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4081
4082 * progmodes/perl-mode.el: Use lexical-binding.
4083 Remove redundant :group args.
4084 (perl-nochange): Change default to be closer to other major modes's
4085 standard behavior.
4086 (perl-indent-line): Don't consider text on current line as a
4087 valid beginning of function from which to indent.
4088
4089 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4090 with more than one argument (bug#15538).
4091
4092 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4093
4094 * vc/pcvs.el: Use lexical-binding.
4095 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4096 environment of `eval'.
4097 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4098 than a list of expressions. Adjust callers.
4099 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4100
4101 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4102
4103 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4104 case of the dot in a chained method call being on the following line.
4105
4106 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4107
4108 * electric.el (electric-indent-inhibit): New var.
4109 (electric-indent-post-self-insert-function): Use it.
4110 * progmodes/python.el (python-mode): Set it.
4111
4112 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4113 open braces.
4114
4115 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4116
4117 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4118 (css-mode): Use electric-indent-chars.
4119
4120 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4121 (font-lock-beg, font-lock-end): Move before first use.
4122 (nxml-mode): Use syntax-propertize-function.
4123 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4124 (nxml-extend-after-change-region): Remove.
4125 * nxml/xmltok.el: Use lexical-binding.
4126 (xmltok-save): Use `declare'.
4127 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4128 * nxml/nxml-util.el: Use lexical-binding.
4129 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4130 Use `declare'.
4131 * nxml/nxml-ns.el: Use lexical-binding.
4132 (nxml-ns-save): Use `declare'.
4133 (nxml-ns-prefixes-for): Avoid add-to-list.
4134 * nxml/rng-match.el: Use lexical-binding.
4135 (rng--ipattern): Use cl-defstruct.
4136 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4137 (rng-cons-group-after, rng-subst-group-after)
4138 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4139 Use closures instead of `(lambda...).
4140
4141 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4142
4143 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4144 of BEG and END.
4145
4146 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4147 Use `tramp-handle-insert-file-contents'.
4148 (tramp-gvfs-handle-insert-file-contents): Remove function.
4149
4150 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4151 Use `save-restriction' in order to keep markers.
4152
4153 * net/trampver.el: Update release number.
4154
4155 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4156
4157 * progmodes/compile.el (compilation-parse-errors):
4158 Use compilation--put-prop.
4159 (compilation--ensure-parse): Check compilation-multiline.
4160
4161 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4162
4163 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4164 lexical-binding.
4165
4166 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4167
4168 * progmodes/ruby-mode.el: Fix recently added tests.
4169 (ruby-smie-grammar): Add - and +.
4170 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4171 (ruby-smie--backward-id): New functions.
4172 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4173 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4174 any more.
4175
4176 2013-10-07 Leo Liu <sdl.web@gmail.com>
4177
4178 * register.el (register-preview-delay)
4179 (register-preview-functions): New variables.
4180 (register-read-with-preview, register-preview)
4181 (register-describe-oneline): New functions.
4182 (point-to-register, window-configuration-to-register)
4183 (frame-configuration-to-register, jump-to-register)
4184 (number-to-register, view-register, insert-register)
4185 (copy-to-register, append-to-register, prepend-to-register)
4186 (copy-rectangle-to-register): Use register-read-with-preview to
4187 read register. (Bug#15525)
4188
4189 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4190
4191 * net/network-stream.el (network-stream-open-starttls): Don't add
4192 --insecure if it's already present, because that gnutls-cli
4193 rejects getting that parameter twice.
4194
4195 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4196
4197 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4198 keyword, too.
4199
4200 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4201
4202 * newcomment.el (comment-use-global-state): Change default value
4203 to t, mark obsolete (Bug#15251).
4204 (comment-beginning): In addition to `comment-to-syntax', check the
4205 value of `comment-use-global-state'.
4206
4207 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4208
4209 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4210 (ruby-comment-column): Follow the global default, by default.
4211 (ruby-smie-grammar): Add assignment syntax.
4212 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4213 open-paren, a comma, or a \.
4214 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4215 and line continuations.
4216 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4217 followed by implicit semi-colons. Add rule for string concatenation
4218 and for indentation at BOB.
4219 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4220
4221 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4222 calling next-sexp, since next-token may have skipped chars which
4223 next-sexp doesn't know should be skipped!
4224
4225 2013-10-05 Leo Liu <sdl.web@gmail.com>
4226
4227 * progmodes/octave.el (octave-send-region):
4228 Call compilation-forget-errors.
4229
4230 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4231
4232 * vc/vc-svn.el (vc-svn-find-admin-dir):
4233 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4234 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4235 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4236 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4237
4238 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4239
4240 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4241
4242 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4243
4244 * subr.el (read-passwd): Hide chars even when called within a context
4245 where after-change-functions is disabled (bug#15501).
4246 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4247 until we removed ourself from overriding-terminal-local-map.
4248
4249 2013-10-04 Leo Liu <sdl.web@gmail.com>
4250
4251 * progmodes/octave.el (inferior-octave-mode):
4252 Call compilation-forget-errors.
4253
4254 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4255
4256 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4257
4258 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4259
4260 * net/secrets.el (secrets-create-collection): Add optional
4261 argument ALIAS. Use proper Label keyword. Append ALIAS as
4262 dbus-call-method argument. (Bug#15516)
4263
4264 2013-10-04 Leo Liu <sdl.web@gmail.com>
4265
4266 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4267 (inferior-octave-compilation-font-lock-keywords): New variables.
4268 (compilation-error-regexp-alist)
4269 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4270 (inferior-octave-mode): Use compilation-shell-minor-mode.
4271
4272 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4273
4274 * minibuffer.el (completion--replace): Be careful that `end' might be
4275 a marker.
4276
4277 2013-10-03 Daiki Ueno <ueno@gnu.org>
4278
4279 Add support for package signature checking.
4280 * emacs-lisp/package.el (url-http-file-exists-p)
4281 (epg-make-context, epg-context-set-home-directory)
4282 (epg-verify-string, epg-context-result-for)
4283 (epg-signature-status, epg-signature-to-string)
4284 (epg-check-configuration, epg-configuration)
4285 (epg-import-keys-from-file): Declare.
4286 (package-check-signature): New user option.
4287 (package-unsigned-archives): New user option.
4288 (package-desc): Add `signed' field.
4289 (package-load-descriptor): Set `signed' field if .signed file exists.
4290 (package--archive-file-exists-p): New function.
4291 (package--check-signature): New function.
4292 (package-install-from-archive): Check package signature.
4293 (package--download-one-archive): Check archive signature.
4294 (package-delete): Remove .signed file.
4295 (package-import-keyring): New command.
4296 (package-refresh-contents): Import default keyring.
4297 (package-desc-status): Add "unsigned" status.
4298 (describe-package-1, package-menu--print-info)
4299 (package-menu-mark-delete, package-menu--find-upgrades)
4300 (package-menu--status-predicate): Support "unsigned" status.
4301
4302 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4303
4304 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4305 the new compilation scheme using the new byte-codes.
4306
4307 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4308 (byte-pophandler): New byte codes.
4309 (byte-goto-ops): Adjust accordingly.
4310 (byte-compile--use-old-handlers): New var.
4311 (byte-compile-catch): Use new byte codes depending on
4312 byte-compile--use-old-handlers.
4313 (byte-compile-condition-case--old): Rename from
4314 byte-compile-condition-case.
4315 (byte-compile-condition-case--new): New function.
4316 (byte-compile-condition-case): New function that dispatches depending
4317 on byte-compile--use-old-handlers.
4318 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4319 when we can.
4320
4321 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4322 Optimize under `condition-case' and `catch' if
4323 byte-compile--use-old-handlers is nil.
4324 (disassemble-offset): Handle new bytecodes.
4325
4326 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * subr.el (error): Use `declare'.
4329 (decode-char, encode-char): Use advertised-calling-convention instead
4330 of the docstring to discourage use of the `restriction' arg.
4331
4332 2013-10-03 Daiki Ueno <ueno@gnu.org>
4333
4334 * epg.el (epg-verify-file): Add a comment saying that it does not
4335 notify verification error as a return value nor a signal.
4336 (epg-verify-string): Ditto.
4337
4338 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4339
4340 * progmodes/compile.el (compilation-start): Try globbing the arg to
4341 `cd' (bug#15417).
4342
4343 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4344
4345 Sync with Tramp 2.2.8.
4346
4347 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4348 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4349 * net/trampver.el: Update release number.
4350
4351 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4352
4353 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4354 and default-process-coding-system for darwin only.
4355
4356 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4357
4358 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4359
4360 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4361
4362 * vc/vc-git.el (vc-git-grep): Disable pager.
4363
4364 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4365
4366 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4367 Use :url instead of :homepage, as per
4368 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4369
4370 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4371 non-nil, use `syntax-ppss' (Bug#15251).
4372
4373 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4374
4375 * progmodes/octave.el (inferior-octave-startup-file):
4376 Prefer ~/.emacs.d/init_octave.m.
4377
4378 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4379
4380 * emacs-lisp/package.el (package-desc-from-define):
4381 Accept additional arguments as plist, convert them to an alist and store
4382 them in the `extras' slot.
4383 (package-generate-description-file): Convert extras alist back to
4384 plist and append to the `define-package' form arguments.
4385 (package--alist-to-plist): New function.
4386 (package--ac-desc): Add `extras' slot.
4387 (package--add-to-archive-contents): Check if the archive-contents
4388 vector is long enough, and if it is, pass its `extras' slot value
4389 to `package-desc-create'.
4390 (package-buffer-info): Call `lm-homepage', pass the returned value
4391 to `package-desc-from-define'.
4392 (describe-package-1): Render the homepage button (Bug#13291).
4393
4394 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4395 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4396
4397 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4398
4399 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4400 and default-process-coding-system to utf-8-unix (Bug#15402).
4401
4402 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4403
4404 * subr.el (looking-back): Do not recommend using looking-back.
4405
4406 2013-09-28 Alan Mackenzie <acm@muc.de>
4407
4408 Fix indentation/fontification of Java enum with "implements".
4409
4410 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4411 regexp which matches "implements", etc., in Java.
4412 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4413 specifier clauses coming after "enum".
4414 * progmodes/cc-fonts.el (c-font-lock-declarations)
4415 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4416 after "enum".
4417
4418 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4419
4420 * faces.el (region): Change ns_selection_color to
4421 ns_selection_fg_color, add ns_selection_bg_color.
4422
4423 2013-09-28 Leo Liu <sdl.web@gmail.com>
4424
4425 * progmodes/octave.el (inferior-octave-completion-table)
4426 (inferior-octave-completion-at-point): Minor tweaks.
4427
4428 * textmodes/ispell.el (ispell-lookup-words): Rename from
4429 lookup-words. (Bug#15460)
4430 (lookup-words): Obsolete.
4431 (ispell-complete-word, ispell-command-loop): All uses changed.
4432
4433 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4434
4435 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4436 (octave-mode-menu): Add octave-send-buffer.
4437 (octave-send-buffer): New function.
4438
4439 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4440
4441 * progmodes/octave.el (octave-mode-map): Add key binding for
4442 octave-lookfor.
4443 (octave-mode-menu): Add octave-lookfor.
4444 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4445 octave-lookfor.
4446 (octave-lookfor): New function.
4447
4448 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4449
4450 * emacs-lisp/cl-macs.el:
4451 (cl--loop-destr-temps): Remove.
4452 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4453 its convention.
4454 (cl--loop-set-iterator-function): New function.
4455 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4456 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4457 Bind `it' with `let' instead of substituting it with `cl-subst'.
4458 (cl--unused-var-p): New function.
4459 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4460 Eliminate some unused variable warnings (bug#15326).
4461
4462 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4463
4464 * doc-view.el (doc-view-scale-reset): Rename from
4465 `doc-view-reset-zoom-level'.
4466 (doc-view-scale-adjust): New command.
4467 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4468 `doc-view-scale-adjust'.
4469
4470 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4471
4472 * doc-view.el (doc-view-reset-zoom-level): New command.
4473 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4474 zoom commands (bug#15466).
4475
4476 2013-09-26 Kenichi Handa <handa@gnu.org>
4477
4478 * international/quail.el (quail-help): Make it not a command.
4479
4480 2013-09-26 Leo Liu <sdl.web@gmail.com>
4481
4482 * minibuffer.el (completion-all-sorted-completions): Make args
4483 optional as they are.
4484
4485 2013-09-25 Daniel Colascione <dancol@dancol.org>
4486
4487 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4488 specs are and that they're not evaluated.
4489
4490 2013-09-24 Sam Steingold <sds@gnu.org>
4491
4492 * midnight.el (clean-buffer-list-kill-regexps)
4493 (clean-buffer-list-kill-buffer-names): Update for the new Man
4494 buffer naming which includes the object name.
4495
4496 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4497
4498 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4499 (eshell-parse-command, eshell-parse-pipeline): Use it since
4500 eshell-separate-commands requires a dynamic scoped var.
4501 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4502
4503 2013-09-23 Leo Liu <sdl.web@gmail.com>
4504
4505 * autoinsert.el (auto-insert-alist): Make the value of
4506 lexical-binding match its file setting.
4507
4508 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4509
4510 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4511
4512 * autoarg.el (autoarg-kp-digit-argument):
4513 * electric.el (Electric-command-loop):
4514 * kmacro.el (kmacro-step-edit-insert):
4515 Do not set universal-argument-num-events.
4516
4517 2013-09-22 Leo Liu <sdl.web@gmail.com>
4518
4519 * files.el (interpreter-mode-alist): Add octave.
4520
4521 2013-09-21 Alan Mackenzie <acm@muc.de>
4522
4523 C++: fontify identifier in declaration following "public:" correctly.
4524 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4525 to match "public", etc.
4526 (c-decl-prefix-re): Add ":" into the C++ value.
4527 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4528 bit. Add a check for a ":" preceded by "public", etc.
4529
4530 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4531
4532 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4533 recognized by GDB 7.5 and later.
4534
4535 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4536
4537 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4538
4539 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4541 * subr.el (internal--call-interactively): New const.
4542 (called-interactively-p): Use it (bug#3984).
4543
4544 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4545
4546 * vc/pcvs.el (cvs-mode-ignore):
4547 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4548 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4549
4550 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4553 (eshell-ls-orig-insert-directory): Remove.
4554 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4555 (eshell-ls-use-in-dired): Use advice-add/remove.
4556 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4557 Add `orig-fun' arg for use in :around advice.
4558 Make it check (redundantly) eshell-ls-use-in-dired.
4559
4560 2013-09-19 Glenn Morris <rgm@gnu.org>
4561
4562 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4563
4564 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4565
4566 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4567
4568 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4569
4570 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4571 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4572 (tramp-get-remote-python): New defuns.
4573 (tramp-get-remote-uid-with-perl)
4574 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4575 contributed by yary <not.com@gmail.com> (tiny change).
4576 (tramp-get-remote-uid-with-python)
4577 (tramp-get-remote-gid-with-python): New defuns. Python code
4578 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4579 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4580
4581 2013-09-19 Glenn Morris <rgm@gnu.org>
4582
4583 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4584
4585 * eshell/em-unix.el (eshell-remove-entries):
4586 Rename argument to avoid name-clash with global `top-level'.
4587
4588 * eshell/esh-proc.el (eshell-kill-process-function):
4589 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4590 (eshell-reset-after-proc): Remove unused arg `proc'.
4591
4592 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4593 (directory-files-and-attributes): Mark unused arg.
4594
4595 * eshell/em-unix.el (eshell-remove-entries):
4596 Remove unused arg `path'. Update callers.
4597
4598 * eshell/em-hist.el (eshell-hist-parse-arguments):
4599 Remove unused arg `silent'. Update callers.
4600
4601 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4602 Fix (f)boundp mix-up.
4603
4604 * eshell/em-smart.el (eshell-smart-scroll-window)
4605 (eshell-disable-after-change):
4606 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4607
4608 2013-09-18 Alan Mackenzie <acm@muc.de>
4609
4610 Fix fontification of type when followed by "const".
4611 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4612 "known" types from fontification.
4613
4614 2013-09-18 Glenn Morris <rgm@gnu.org>
4615
4616 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4617 (chart-face-list): Drop Emacsen without display-color-p.
4618
4619 * net/eww.el (libxml-parse-html-region): Declare.
4620 (eww-display-html): Explicit error if no libxml2 support.
4621
4622 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4623
4624 * image.el (image-type-from-buffer, image-multi-frame-p):
4625 Remove --without-x warning/error.
4626
4627 * mouse.el (mouse-yank-primary):
4628 * term.el (term-mouse-paste):
4629 Reorder to silence --without-x compilation.
4630
4631 * mpc.el (doc-view-mode): Silence --without-x compilation.
4632
4633 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4634 Silence --without-x compilation.
4635
4636 * progmodes/gud.el (gud-find-file, gud-mode):
4637 Silence --without-x compilation.
4638 (tooltip-mode): Declare.
4639
4640 * wdired.el (dired-backup-overwrite): Remove declaration.
4641 (wdired-mode-map): Add doc string.
4642
4643 * custom.el (x-get-resource): Declare.
4644
4645 * eshell/em-glob.el (ange-cache):
4646 * eshell/em-unix.el (ange-cache): Declare.
4647
4648 * faces.el (x-display-list, x-open-connection, x-get-resource):
4649 Declare.
4650
4651 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4652 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4653 Declare.
4654
4655 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4656
4657 * net/gnutls.el (gnutls-log-level): Declare.
4658
4659 * net/shr.el (image-size, image-animate): Declare.
4660
4661 * simple.el (font-info): Declare.
4662
4663 * subr.el (x-popup-dialog): Declare.
4664
4665 * term/common-win.el (x-select-enable-primary)
4666 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4667 Declare.
4668
4669 * term/ns-win.el (x-handle-args): Declare.
4670
4671 * term/x-win.el (x-select-enable-clipboard): Declare.
4672
4673 * term/w32-win.el (create-default-fontset): Declare.
4674
4675 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4676 Declare.
4677
4678 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4679 (fit-frame-to-buffer): Explicit error if --without-x.
4680 (mouse-autoselect-window-select): Silence compiler.
4681
4682 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4683
4684 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4685 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4686 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4687 * eshell/esh-util.el (eshell-sublist):
4688 Remove unused local variables.
4689
4690 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4691
4692 * textmodes/two-column.el: Make 2C-split work for --without-x.
4693 (scroll-bar-columns): Autoload.
4694 (top-level): Require fringe when compiling.
4695
4696 2013-09-18 Leo Liu <sdl.web@gmail.com>
4697
4698 * subr.el (add-hook): Robustify to handle closure as well.
4699
4700 2013-09-17 Glenn Morris <rgm@gnu.org>
4701
4702 * simple.el (messages-buffer-mode-map): Unbind "g".
4703
4704 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * help-mode.el (help-mode-finish): Use derived-mode-p.
4707 Remove obsolete highlighting.
4708
4709 * play/life.el (life-mode): Use define-derived-mode. Derive from
4710 special-mode.
4711 (life): Let-bind inhibit-read-only.
4712 (life-setup): Avoid `setq'. Use `life-mode'.
4713
4714 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4715 which should not be needed any more.
4716 (package-menu-refresh, package-menu-describe-package): Use user-error.
4717
4718 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4719 (eshell-post-rewrite-command-hook): Make obsolete.
4720 (eshell-parse-command): Simplify.
4721 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4722 (eshell--cmd): Declare.
4723 (eshell-parse-pipeline): Remove unused var `final-p'.
4724 Pass a dynvar to eshell-post-rewrite-command-hook.
4725 Implement the new eshell-post-rewrite-command-function.
4726 (eshell-invoke-directly): Remove unused arg `input'.
4727 * eshell/esh-io.el (eshell-io-initialize):
4728 Use eshell-post-rewrite-command-function (bug#15399).
4729 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4730 adjust to new calling convention.
4731 (eshell-create-handles): Rename args to avoid clashing with dynvar
4732 `standard-output'.
4733
4734 2013-09-17 Glenn Morris <rgm@gnu.org>
4735
4736 * simple.el (messages-buffer-mode): New major mode.
4737 (messages-buffer): New function.
4738 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4739 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4740 (ert-run-test): Use `messages-buffer' function.
4741 (ert--force-message-log-buffer-truncation): Ignore read-only.
4742 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4743 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4744
4745 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4746
4747 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4748
4749 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4750
4751 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4752
4753 * icomplete.el (icomplete-in-buffer): New var.
4754 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4755 vars and replace them with functions.
4756 (icomplete-minibuffer-setup): Adjust accordingly.
4757 (icomplete--completion-table, icomplete--completion-predicate)
4758 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4759 New functions.
4760 (icomplete-forward-completions, icomplete-backward-completions)
4761 (icomplete-simple-completing-p, icomplete-exhibit)
4762 (icomplete-completions): Use them.
4763 (icomplete--in-region-buffer): New var.
4764 (icomplete--in-region-setup): New function.
4765 (icomplete-mode): Use it.
4766
4767 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4768 (bug#15379).
4769 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4770 return args and options.
4771 (eshell-eval-using-options): Use the new return value of
4772 eshell--do-opts to set the options's vars in their scope.
4773 (eshell--set-option): Rename from eshell-set-option.
4774 Add arg `opt-vals'.
4775 (eshell--process-option): Rename from eshell-process-option.
4776 Add arg `opt-vals'.
4777 (eshell--process-args): Use an `opt-vals' alist to store the options's
4778 values during their processing and return them additionally to the
4779 remaining args.
4780
4781 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4782
4783 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4784 continuation character an operator, as far as indentation is
4785 concerned (Bug#15369).
4786
4787 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4788
4789 * window.el (window--state-put-2): Don't process buffer state
4790 when buffer doesn't exist any more (Bug#15382).
4791
4792 2013-09-15 Glenn Morris <rgm@gnu.org>
4793
4794 * eshell/em-unix.el (eshell/rm):
4795 Make -f ignore missing files. (Bug#15373)
4796
4797 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4798 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4799 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4800
4801 2013-09-14 Glenn Morris <rgm@gnu.org>
4802
4803 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4804
4805 2013-09-13 Glenn Morris <rgm@gnu.org>
4806
4807 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4808 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4809
4810 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4811
4812 * frame.el (x-focus-frame): Mark as declared in frame.c.
4813
4814 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4815
4816 * ls-lisp.el: Use advice-add.
4817 (original-insert-directory): Remove.
4818 (ls-lisp--insert-directory): Rename from insert-directory; add
4819 `orig-fun' argument.
4820 (insert-directory): Advise.
4821
4822 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4823
4824 * term.el (term-emulate-terminal): Decode the command string
4825 before passing it to term-command-hook. (Bug#15337)
4826
4827 2013-09-13 Glenn Morris <rgm@gnu.org>
4828
4829 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4830
4831 * eshell/esh-ext.el (eshell-search-path): Declare.
4832
4833 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4834 Otherwise an error occurs if eshell-dirs module not loaded.
4835
4836 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4837
4838 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4839
4840 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4841 `tramp-check-proper-host'. Check for a valid method name.
4842
4843 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4844 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4845 * net/tramp-sh.el (tramp-maybe-open-connection):
4846 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4847
4848 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4849 also for hash values.
4850
4851 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4852
4853 * term/ns-win.el (parameters): Don't declare as dynamic.
4854 (before-make-frame-hook): Don't add ineffective function.
4855
4856 * eshell/*.el: Use lexical-binding (bug#15231).
4857
4858 2013-09-12 Kenichi Handa <handa@gnu.org>
4859
4860 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4861
4862 2013-09-12 Glenn Morris <rgm@gnu.org>
4863
4864 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4865 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4866
4867 * subr.el (do-after-load-evaluation): Also give compiler warnings
4868 when obsolete files are used (except by obsolete files).
4869
4870 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4871 in the status output, assume `filename' is the first. (Bug#15322)
4872
4873 * vc/vc.el (vc-deduce-fileset): Doc fix.
4874
4875 * calc/calc-help.el (Info-goto-node):
4876 * progmodes/cperl-mode.el (Info-find-node):
4877 * vc/ediff.el (Info-goto-node): Update declarations.
4878
4879 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4880
4881 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4882 (vc-bzr-pull): Require vc-dispatcher.
4883 * vc/vc-git.el (vc-compilation-mode): Declare.
4884 (vc-git-pull): Require vc-dispatcher.
4885
4886 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4887
4888 * progmodes/octave.el (help-button-action): Declare.
4889
4890 * shell.el (shell-directory-tracker): Output error as a message
4891 rather than just returning it as a string.
4892 (shell-process-pushd): Remove useless use of message.
4893
4894 * dframe.el (dframe-timer-fn):
4895 * files.el (dir-locals-read-from-file):
4896 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4897 (mpc-format):
4898 * reveal.el (reveal-post-command):
4899 * saveplace.el (load-save-place-alist-from-file):
4900 * shell.el (shell-resync-dirs):
4901 * w32-common-fns.el (x-get-selection-value):
4902 * emacs-lisp/copyright.el (copyright-find-copyright):
4903 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4904 * emulation/tpu-edt.el (tpu-copy-keyfile):
4905 * play/bubbles.el (bubbles--mark-neighbourhood):
4906 * progmodes/executable.el
4907 (executable-make-buffer-file-executable-if-script-p):
4908 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4909
4910 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 Cleanup Eshell to rely less on dynamic scoping.
4913 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4914 last-value, and ext-command here. Bind `args' closer to `body'.
4915 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4916 (eshell--args): Declare new dynamic var.
4917 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4918 last-value, and ext-command. Pass `args' to `body'.
4919 (eshell-process-args): Bind eshell--args.
4920 (eshell-set-option): Use eshell--args.
4921 * eshell/eshell.el (eshell): Use derived-mode-p.
4922 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4923 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4924 (eshell-glob-function): Declare.
4925 * eshell/esh-util.el: Require cl-lib.
4926 (eshell-read-hosts-file): Avoid add-to-list.
4927 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4928 `err'.
4929 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4930 Declare.
4931 (eshell/diff): Remove unused var `err'.
4932 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4933 `killflag'.
4934 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4935 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4936 first use.
4937 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4938 Move declaration before first use.
4939 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4940 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4941 rely on cl-return.
4942
4943 2013-09-12 Glenn Morris <rgm@gnu.org>
4944
4945 * term/ns-win.el (global-map): Remove binding for ispell-next,
4946 deleted 1999-05-29. (Bug#15357)
4947
4948 2013-09-11 Glenn Morris <rgm@gnu.org>
4949
4950 * echistory.el (electric-command-history): Remove call to deleted func.
4951
4952 * play/landmark.el (landmark-mode): Fix typos.
4953
4954 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4955 Check cvs-sort-ignore-file is bound.
4956
4957 * savehist.el: No need for cl when compiling on Emacs.
4958
4959 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4960
4961 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4962 (bug#15338).
4963 (eshell-self-insert-command, eshell-send-invisible):
4964 Remove unused argument.
4965 (eshell-handle-control-codes): Remove unused var `orig'.
4966 Avoid delete-backward-char.
4967
4968 * files.el (set-auto-mode): Simplify a bit further.
4969
4970 2013-09-11 Glenn Morris <rgm@gnu.org>
4971
4972 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4973 (set-auto-mode): Don't regexp-quote elements.
4974 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4975 * progmodes/cc-mode.el (interpreter-mode-alist):
4976 * progmodes/ruby-mode.el (interpreter-mode-alist):
4977 Revert previous change.
4978
4979 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4980
4981 * play/snake.el (snake-mode):
4982 * play/mpuz.el (mpuz-mode):
4983 * play/landmark.el (lm-mode):
4984 * play/blackbox.el (blackbox-mode):
4985 * play/5x5.el (5x5-mode):
4986 * obsolete/options.el (Edit-options-mode):
4987 * net/quickurl.el (quickurl-list-mode):
4988 * net/newst-treeview.el (newsticker-treeview-mode):
4989 * mail/rmailsum.el (rmail-summary-mode):
4990 * mail/mspools.el (mspools-mode):
4991 * locate.el (locate-mode):
4992 * ibuffer.el (ibuffer-mode):
4993 * emulation/ws-mode.el (wordstar-mode):
4994 * emacs-lisp/debug.el (debugger-mode):
4995 * array.el (array-mode):
4996 * net/eudc.el (eudc-mode): Use define-derived-mode.
4997 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4998 Move initialization into declaration.
4999 (mairix-searches-mode): Use define-derived-mode.
5000 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5001 (eudc-edit-hotlist): Use dolist.
5002 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5003 (Man-mode): Use define-derived-mode.
5004 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5005 (Info-edit-mode): Use define-derived-mode.
5006 (Info-cease-edit): Use Info-mode.
5007 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5008 into declaration.
5009 (eshell-mode): Use define-derived-mode.
5010 * chistory.el (command-history-mode-map): Rename from
5011 command-history-map.
5012 (command-history-mode): Use define-derived-mode.
5013 (Command-history-setup): Remove function.
5014 * calc/calc.el (calc-trail-mode-map): New var.
5015 (calc-trail-mode): Use define-derived-mode.
5016 (calc-trail-buffer): Set calc-main-buffer manually.
5017 * bookmark.el (bookmark-insert-annotation): New function.
5018 (bookmark-edit-annotation): Use it.
5019 (bookmark-edit-annotation-mode): Make it a proper major mode.
5020 (bookmark-send-edited-annotation): Use derived-mode-p.
5021 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5022 closer to its ideal place. Use \' to match EOS.
5023
5024 * profiler.el (profiler-calltree-find): Use function-equal.
5025
5026 2013-09-10 Glenn Morris <rgm@gnu.org>
5027
5028 * files.el (interpreter-mode-alist): Convert to regexps.
5029 (set-auto-mode): Adapt for this. (Bug#15306)
5030 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5031 Comment out unused variable.
5032 * progmodes/cc-mode.el (interpreter-mode-alist):
5033 * progmodes/python.el (interpreter-mode-alist):
5034 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5035 * progmodes/sh-script.el (sh-set-shell):
5036 No longer use interpreter-mode-alist to get list of shells.
5037
5038 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5039
5040 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5041
5042 * simple.el: Use set-temporary-overlay-map for universal-argument.
5043 (universal-argument-map): Don't use default-bindings (bug#15317).
5044 Bind switch-frame explicitly. Replace universal-argument-minus with
5045 a conditional binding.
5046 (universal-argument-num-events, saved-overriding-map): Remove.
5047 (restore-overriding-map): Remove.
5048 (universal-argument--mode): Rename from save&set-overriding-map,
5049 and rewrite.
5050 (universal-argument, universal-argument-more, negative-argument)
5051 (digit-argument): Adjust accordingly.
5052 (universal-argument-minus): Remove.
5053 (universal-argument-other-key): Remove.
5054
5055 * subr.el (with-demoted-errors): Add `format' argument.
5056
5057 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5058
5059 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5060 `tramp-cleanup-connection'.
5061
5062 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5063 parameters KEEP-DEBUG and KEEP-PASSWORD.
5064
5065 * net/tramp.el (tramp-file-name-handler):
5066 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5067 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5068 (tramp-maybe-open-connection):
5069 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5070 Use `tramp-cleanup-connection'.
5071
5072 * net/tramp-sh.el (tramp-maybe-open-connection):
5073 Catch 'uname-changed inside the progress reporter.
5074
5075 2013-09-10 Glenn Morris <rgm@gnu.org>
5076
5077 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5078
5079 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5080 returns "alternate access method" in mode (eg "-rw-r--r--.").
5081
5082 2013-09-08 Glenn Morris <rgm@gnu.org>
5083
5084 * saveplace.el (load-save-place-alist-from-file):
5085 Demote errors. (Bug#15305)
5086
5087 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5088
5089 Improve compatibility with older Emacsen, and XEmacs.
5090
5091 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5092 only if it is bound. It isn't for XEmacs.
5093 (with-tramp-progress-reporter): Do not let-bind `result'.
5094 This yields to scoping errors in XEmacs.
5095 (tramp-handle-make-auto-save-file-name): New function, moved from
5096 tramp-sh.el.
5097
5098 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5099 for `make-auto-save-file-name'.
5100 (tramp-adb--gnu-switches-to-ash):
5101 Use `tramp-compat-replace-regexp-in-string'.
5102
5103 * net/tramp-cache.el (tramp-cache-print): Call
5104 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5105
5106 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5107 bound. It isn't for XEmacs.
5108
5109 * net/tramp-compat.el (tramp-compat-copy-file):
5110 Catch `wrong-number-of-arguments' error.
5111 (tramp-compat-replace-regexp-in-string): New defun.
5112
5113 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5114 for `make-auto-save-file-name'.
5115 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5116 `copy-file'.
5117 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5118 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5119 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5120
5121 * net/tramp-gw.el (tramp-gw-open-network-stream):
5122 Use `tramp-compat-replace-regexp-in-string'.
5123
5124 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5125 Call `tramp-handle-make-auto-save-file-name'.
5126 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5127 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5128 (tramp-sh-file-inotifywait-process-filter):
5129 Use `tramp-compat-replace-regexp-in-string'.
5130 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5131
5132 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5133 for `make-auto-save-file-name'.
5134 (tramp-smb-handle-copy-directory):
5135 Call `tramp-compat-replace-regexp-in-string'.
5136 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5137 (tramp-smb-handle-copy-file): Improve error message.
5138 (tramp-smb-handle-rename-file): Rename directly only in case
5139 `newname' does not exist yet. This is a restriction of smbclient.
5140 (tramp-smb-maybe-open-connection): Rerun the function only when
5141 `auth-sources' is non-nil.
5142
5143 2013-09-08 Kenichi Handa <handa@gnu.org>
5144
5145 * international/characters.el: Set category "^" (Combining) for
5146 more characters.
5147
5148 2013-09-07 Alan Mackenzie <acm@muc.de>
5149
5150 Correctly fontify Java class constructors.
5151 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5152 in Java Mode.
5153 (c-recognize-typeless-decls): Set the Java value to t.
5154 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5155 While handling a "(", add a check for, effectively, Java, and handle a
5156 "typeless" declaration there.
5157
5158 2013-09-07 Roland Winkler <winkler@gnu.org>
5159
5160 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5161 field subtitle for entry type book.
5162
5163 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5164
5165 * minibuffer.el: Make minibuffer-complete call completion-in-region
5166 rather than other way around.
5167 (completion--some, completion-pcm--find-all-completions):
5168 Don't delay signals when debugging.
5169 (minibuffer-completion-contents): Beware fields within the
5170 minibuffer contents.
5171 (completion-all-sorted-completions): Use defvar-local.
5172 (completion--do-completion, completion--cache-all-sorted-completions)
5173 (completion-all-sorted-completions, minibuffer-force-complete):
5174 Add args `beg' and `end'.
5175 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5176 (minibuffer-complete): Use completion-in-region.
5177 (completion-complete-and-exit): New fun, extracted from
5178 minibuffer-complete-and-exit.
5179 (minibuffer-complete-and-exit): Use it.
5180 (completion--complete-and-exit): Rename from
5181 minibuffer--complete-and-exit.
5182 (completion-in-region--single-word): New function, extracted from
5183 minibuffer-complete-word.
5184 (minibuffer-complete-word): Use it.
5185 (display-completion-list): Make `common-substring' argument obsolete.
5186 (completion--in-region): Call completion--in-region-1 instead of
5187 minibuffer-complete.
5188 (completion-help-at-point): Pass boundaries to
5189 minibuffer-completion-help as args rather than via an overlay.
5190 (completion-pcm--string->pattern): Use `any-delim'.
5191 (completion-pcm--optimize-pattern): New function.
5192 (completion-pcm--pattern->regex): Handle `any-delim'.
5193 * icomplete.el (icomplete-forward-completions)
5194 (icomplete-backward-completions, icomplete-completions):
5195 Adjust calls to completion-all-sorted-completions and
5196 completion--cache-all-sorted-completions.
5197 (icomplete-with-completion-tables): Default to t.
5198 * emacs-lisp/crm.el (crm--current-element): Rename from
5199 crm--select-current-element. Don't put an overlay but return the
5200 boundaries instead.
5201 (crm--completion-command): Take two new args to bind to the boundaries.
5202 (crm-completion-help): Adjust accordingly.
5203 (crm-complete): Use completion-in-region.
5204 (crm-complete-word): Use completion-in-region--single-word.
5205 (crm-complete-and-exit): Use completion-complete-and-exit.
5206
5207 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5208
5209 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5210 than dynamically.
5211
5212 2013-09-06 Juri Linkov <juri@jurta.org>
5213
5214 * info.el (Info-display-images-node): When image file doesn't exist
5215 display text version of the image if it's provided in the Info file.
5216 Otherwise, display the location of missing image from SRC attribute.
5217 Add help-echo text property from ALT attribute. (Bug#15279)
5218
5219 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5220
5221 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5222 (edit-abbrevs-mode): Use define-derived-mode.
5223
5224 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5225 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5226 that it's defined.
5227 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5228 Use define-derived-mode.
5229
5230 * epg.el (epg-start-encrypt): Minor CSE simplification.
5231
5232 2013-09-06 William Xu <william.xwl@gmail.com>
5233
5234 * arc-mode.el: Add support for 7za (bug#15264).
5235 (archive-7z-program): New var.
5236 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5237 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5238 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5239
5240 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5241
5242 Remove URL syntax.
5243
5244 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5245 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5246 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5247 (tramp-postfix-host-format, tramp-file-name-regexp)
5248 (tramp-completion-file-name-regexp)
5249 (tramp-completion-dissect-file-name)
5250 (tramp-handle-substitute-in-file-name): Remove 'url case.
5251 (tramp-file-name-regexp-url)
5252 (tramp-completion-file-name-regexp-url): Remove constants.
5253
5254 2013-09-06 Glenn Morris <rgm@gnu.org>
5255
5256 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5257
5258 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5259
5260 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5261 keywords" below "here-doc beginnings" (Bug#15270).
5262
5263 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5264
5265 * subr.el (pop): Use `car-safe'.
5266 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5267 to detect unused `pop' return value.
5268
5269 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5270 var `block-regexp'.
5271 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5272 (python-fill-string): Remove unused var `marker'.
5273 (python-skeleton-add-menu-items): Remove unused var `items'.
5274
5275 * international/mule-cmds.el: Require CL.
5276 (find-coding-systems-for-charsets): Avoid add-to-list.
5277 (sanitize-coding-system-list): New function, extracted from
5278 select-safe-coding-system-interactively.
5279 (select-safe-coding-system-interactively): Use it.
5280 (read-input-method-name): Accept symbols for `default'.
5281
5282 * emacs-lisp/advice.el (defadvice): Add indent rule.
5283
5284 2013-09-05 Daniel Hackney <dan@haxney.org>
5285
5286 * dired-x.el:
5287 * net/ange-ftp.el:
5288 * net/browse-url.el:
5289 * net/dbus.el:
5290 * net/eudc.el:
5291 * net/eudcb-ldap.el:
5292 * net/eww.el:
5293 * net/imap.el:
5294 * printing.el:
5295 * vc/ediff-diff.el:
5296 * vc/ediff-init.el:
5297 * vc/ediff-merg.el:
5298 * vc/ediff-mult.el:
5299 * vc/ediff-util.el:
5300 * vc/ediff-wind.el:
5301 * vc/ediff.el:
5302 * vc/emerge.el:
5303 * vc/pcvs.el:
5304 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5305 byte compiler. Remove some unused let-bound variables.
5306
5307 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5308
5309 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5310 a "ref-cell", since it gets better optimized (bug#14883).
5311
5312 2013-09-05 Glenn Morris <rgm@gnu.org>
5313
5314 * progmodes/cc-awk.el (c-forward-sws): Declare.
5315
5316 2013-09-04 Glenn Morris <rgm@gnu.org>
5317
5318 * generic-x.el [rul-generic-mode]: Require cc-mode.
5319 (c++-mode-syntax-table): Declare.
5320 (rul-generic-mode-syntax-table): Init in the defvar.
5321
5322 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5323
5324 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5325 (vc-do-command, vc-set-async-update):
5326 * vc/vc-mtn.el (vc-mtn-dir-status):
5327 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5328 (vc-hg-pull, vc-hg-merge-branch):
5329 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5330 (vc-git-merge-branch):
5331 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5332 (vc-cvs-dir-status-files):
5333 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5334 (vc-bzr-dir-status-files):
5335 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5336 * vc/vc-annotate.el: Use lexical-binding.
5337 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5338 (vc-sentinel-movepoint): Declare.
5339 (vc-annotate): Don't use `goto-line'.
5340 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5341 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5342 (vc-sentinel-movepoint): Declare.
5343 * vc/vc-svn.el: Use lexical-binding.
5344 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5345 * vc/vc-sccs.el:
5346 * vc/vc-rcs.el: Use lexical-binding.
5347
5348 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5349 `deleted'. Don't drop errors silently.
5350
5351 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5352
5353 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5354
5355 * vc/vc.el (vc-ignore): Rewrite.
5356 (vc-default-ignore): New function.
5357 (vc-default-ignore-completion-table): Use find-ignore-file.
5358
5359 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5360 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5361 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5362 Remove. Most code moved to vc.el.
5363
5364 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5365
5366 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5367 * net/tramp-smb.el (tramp-smb-get-file-entries):
5368 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5369 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5370
5371 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5372 Update call to it.
5373 (eww-change-select): Remove unused var `properties'.
5374 (eww-make-unique-file-name): Remove unused var `base'.
5375
5376 * finder.el (finder-compile-keywords): Don't mess with windows.
5377
5378 * calculator.el (calculator-funcall): Fix typo in last change.
5379
5380 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5381
5382 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5383 <pkg>-autoloads.el file stop us.
5384
5385 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5386 warnings, and factor out common code.
5387
5388 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5389
5390 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5391 two-character operators and whether the character preceding them
5392 changes their meaning (Bug#15208).
5393
5394 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5395
5396 Format code sent to Python shell for robustness.
5397 * progmodes/python.el (python-shell-buffer-substring):
5398 New function.
5399 (python-shell-send-region, python-shell-send-buffer): Use it.
5400
5401 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5402
5403 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5404 * net/tramp.el (tramp-user-error): ... here.
5405 (tramp-find-method, tramp-check-proper-host)
5406 (tramp-dissect-file-name, tramp-debug-message)
5407 (tramp-handle-shell-command):
5408 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5409 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5410
5411 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5412
5413 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5414
5415 * avoid.el (mouse-avoidance-point-position)
5416 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5417 returns nil.
5418
5419 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5420
5421 * progmodes/python.el (python-shell-completion-get-completions):
5422 Drop use of deleted `comint-last-prompt-overlay'.
5423 (python-nav-if-name-main): New command.
5424
5425 2013-09-01 Glenn Morris <rgm@gnu.org>
5426
5427 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5428 Avoid leading space in $wins. Otherwise the sed command used by
5429 eg compile-main ends up containing "/*.el". (Bug#15170)
5430
5431 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5432
5433 2013-08-30 Glenn Morris <rgm@gnu.org>
5434
5435 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5436 Fix is-this-a-directory logic. (Bug#15220)
5437
5438 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5439
5440 * textmodes/css-mode.el: Use SMIE.
5441 (css-smie-grammar): New var.
5442 (css-smie--forward-token, css-smie--backward-token)
5443 (css-smie-rules): New functions.
5444 (css-mode): Use them.
5445 (css-navigation-syntax-table): Remove var.
5446 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5447 (css-indent-calculate, css-indent-line): Remove functions.
5448
5449 Misc changes to reduce use of `(lambda...); and other cleanups.
5450 * cus-edit.el: Use lexical-binding.
5451 (customize-push-and-save, customize-apropos)
5452 (custom-buffer-create-internal): Use closures.
5453 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5454 * progmodes/ada-xref.el: Use setq.
5455 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5456 * dframe.el: Use lexical-binding.
5457 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5458 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5459 * descr-text.el: Use lexical-binding.
5460 (describe-text-widget, describe-text-sexp, describe-property-list):
5461 Use closures.
5462 * comint.el (comint-history-isearch-push-state): Use a closure.
5463 * calculator.el: Use lexical-binding.
5464 (calculator-number-to-string): Make it work with lexical-binding.
5465 (calculator-funcall): Same and use cl-letf.
5466
5467 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5468 (lisp--company-doc-string, lisp--company-location): New functions.
5469 (lisp-completion-at-point): Use them to improve Company support.
5470
5471 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5472 params of lambda expressions.
5473 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5474 (ruby-smie--opening-pipe-p): New function.
5475 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5476 symbols and matched |...| for formal params.
5477 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5478 from being treated as hanging. Handle "rescue".
5479
5480 2013-08-29 Glenn Morris <rgm@gnu.org>
5481
5482 * progmodes/cc-engine.el (c-pull-open-brace):
5483 Move definition before use.
5484
5485 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5486
5487 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5488 are immutable. Don't use `unsafe' any more.
5489 (cl--defsubst-expand): Don't substitute at the same time as keeping
5490 a residual unused let-binding. Don't use `unsafe' any more.
5491
5492 2013-08-29 Glenn Morris <rgm@gnu.org>
5493
5494 * calendar/cal-china.el (calendar-chinese-year-cache):
5495 Recenter on 2015.
5496
5497 * nxml/nxml-util.el (nxml-debug-clear-inside):
5498 Use cl-loop rather than loop.
5499
5500 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5501
5502 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5503
5504 2013-08-28 Glenn Morris <rgm@gnu.org>
5505
5506 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5507
5508 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5509
5510 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5511
5512 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5513
5514 * simple.el (repeat-complex-command--called-interactively-skip):
5515 New function.
5516 (repeat-complex-command): Use it (bug#14136).
5517
5518 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5519 (c-define-abbrev-table): Add `doc' argument.
5520 (c-mode-abbrev-table, c++-mode-abbrev-table)
5521 (objc-mode-abbrev-table, java-mode-abbrev-table)
5522 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5523 (awk-mode-abbrev-table): Use it.
5524 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5525 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5526 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5527 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5528 Move initialization into the declaration; and remove any
5529 autoload cookie.
5530
5531 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5532 and dynamic let binding.
5533
5534 * vc/smerge-mode.el: Remove redundant :group args.
5535
5536 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5537 to load-path.
5538
5539 2013-08-28 Juri Linkov <juri@jurta.org>
5540
5541 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5542 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5543 (isearch-other-meta-char): Handle an undefined shifted printing
5544 character by downshifting it. (Bug#15200)
5545
5546 2013-08-28 Juri Linkov <juri@jurta.org>
5547
5548 * isearch.el (isearch-search): Change regexp error message for
5549 non-regexp searches. (Bug#15166)
5550
5551 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5552
5553 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5554 for portability to hosts where /bin/sh has problems.
5555
5556 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5557
5558 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5559
5560 2013-08-27 Juri Linkov <juri@jurta.org>
5561
5562 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5563 in the keyboard macro. (Bug#15126)
5564
5565 2013-08-27 Juri Linkov <juri@jurta.org>
5566
5567 * isearch.el (isearch-quote-char): Comment out converting unibyte
5568 to multibyte, thus syncing with its `quoted-insert' counterpart.
5569 (Bug#15166)
5570
5571 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5572
5573 * window.el (display-buffer-use-some-window): Add missing
5574 argument in call of get-largest-window (Bug#15185).
5575 Reported by Stephen Leake.
5576
5577 2013-08-27 Glenn Morris <rgm@gnu.org>
5578
5579 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5580
5581 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5582
5583 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5584 from a matcher-function unless there's no more matches (bug#15161).
5585
5586 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5587
5588 * minibuffer.el: Revert change from 2013-08-20.
5589
5590 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5591 with text property `tramp-default', if appropriate.
5592 (tramp-check-proper-host): New defun.
5593 (tramp-dissect-file-name): Do not check hostname. Revert change
5594 of 2013-03-18.
5595 (tramp-backtrace): Make VEC-OR-PROC optional.
5596
5597 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5598 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5599 * net/tramp-sh.el (tramp-maybe-open-connection):
5600 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5601 Apply `tramp-check-proper-host'.
5602
5603 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5604
5605 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5606 lambda expression in order to have `describe-variable' display it.
5607
5608 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5609
5610 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5611 BUF can be optional. (Bug#15186)
5612
5613 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5614
5615 * progmodes/flymake.el (flymake-get-real-file-name-function):
5616 Fix broken customization. (Bug#15184)
5617
5618 2013-08-25 Alan Mackenzie <acm@muc.de>
5619
5620 Improve indentation of bracelists defined by macros (without "=").
5621
5622 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5623 expansion begins with "{", regard it as bracelist when it doesn't
5624 contain a ";".
5625
5626 Parse C++ inher-intro when there's a template split over 2 lines.
5627
5628 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5629 rigorously the search for "class" etc. followed by ":".
5630
5631 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5632 random languages a regexp which never matches rather than nil.
5633
5634 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5635
5636 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5637 (c-awk-regexp-one-line-possibly-open-char-list-re)
5638 (c-awk-one-line-possibly-open-regexp-re)
5639 (c-awk-one-line-non-syn-ws*-re): Remove.
5640 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5641 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5642 (c-awk-space*-unclosed-regexp-/-re): New constants.
5643 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5644 aren't regexp delimiters.
5645
5646 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5647 handling for a rare situation in AWK Mode involving unterminated
5648 strings/regexps.
5649
5650 2013-08-23 Glenn Morris <rgm@gnu.org>
5651
5652 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5653
5654 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5655
5656 * files.el (create-file-buffer): If the result would begin with
5657 spaces, prepend a "|" instead of removing them. (Bug#15162)
5658
5659 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5662 text-properties (bug#15155).
5663
5664 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5665 exist any more.
5666 (calc-keypad-redraw): Remove unused var `pad'.
5667 (calc-keypad-press): Remove unused var `menu'.
5668
5669 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5670
5671 * window.el (display-buffer-pop-up-frame):
5672 Call pop-up-frame-function with BUFFER current so `make-frame' will
5673 use it as the new frame's buffer (Bug#15133).
5674
5675 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5676
5677 * calendar/timeclock.el: Minor cleanups.
5678 (timeclock-ask-before-exiting, timeclock-use-display-time):
5679 Use `symbol'.
5680 (timeclock-modeline-display): Define as alias before the
5681 actual definition.
5682 (timeclock-mode-line-display): Use define-minor-mode.
5683 (timeclock-day-list-template): Make it a function, add an argument.
5684 (timeclock-day-list-required, timeclock-day-list-length)
5685 (timeclock-day-list-debt, timeclock-day-list-span)
5686 (timeclock-day-list-break): Adjust calls accordingly.
5687
5688 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5691 Use read--expression so that completion works again.
5692
5693 2013-08-21 Sam Steingold <sds@gnu.org>
5694
5695 Add rudimentary inferior shell interaction
5696 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5697 (sh-set-shell): Reset it.
5698 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5699 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5700
5701 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5702
5703 * align.el: Use lexical-binding.
5704 (align-region): Simplify accordingly.
5705
5706 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5707
5708 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5709
5710 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5711 `non-essential' up.
5712
5713 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5714
5715 * net/tramp.el:
5716 * net/tramp-adb.el:
5717 * net/tramp-cmds.el:
5718 * net/tramp-ftp.el:
5719 * net/tramp-gvfs.el:
5720 * net/tramp-gw.el:
5721 * net/tramp-sh.el: Don't wrap external variable declarations by
5722 `eval-when-compile'.
5723
5724 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5725
5726 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5727 now that Emacs supports ImageMagick animations.
5728
5729 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5730
5731 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5732 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5733
5734 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5735
5736 * window.el (mouse-autoselect-window-select): Do autoselect when
5737 mouse pointer is on margin.
5738
5739 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5740
5741 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5742
5743 2013-08-16 Glenn Morris <rgm@gnu.org>
5744
5745 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5746 Handle "Remote Directory" response of some clients. (Bug#15058)
5747
5748 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5749 Tweak warning. (Bug#14926)
5750
5751 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5752 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5753
5754 * image-mode.el (image-mode-map): Add menu items to reverse,
5755 increase, decrease, reset animation speed.
5756 (image--set-speed, image-increase-speed, image-decrease-speed)
5757 (image-reverse-speed, image-reset-speed): New functions.
5758 (image-mode-map): Add bindings for speed commands.
5759
5760 * image.el (image-animate-get-speed, image-animate-set-speed):
5761 New functions.
5762 (image-animate-timeout): Respect image :speed property.
5763
5764 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5767 previous line (bug#15101).
5768 (debugger-eval-expression, debugger-record-expression):
5769 Use read--expression (bug#15102).
5770
5771 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5772
5773 Remove byte compiler warnings, visible when compiling with
5774 `byte-compile-force-lexical-warnings' set to t.
5775
5776 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5777 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5778 (tramp-handle-unhandled-file-name-directory)
5779 (tramp-handle-file-notify-add-watch, tramp-action-login)
5780 (tramp-action-succeed, tramp-action-permission-denied)
5781 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5782 arguments with "_".
5783
5784 * net/tramp-adb.el (tramp-adb-parse-device-names)
5785 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5786 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5787 (tramp-adb-handle-file-truename): Remove unused arguments.
5788
5789 * net/tramp-cache.el (tramp-flush-directory-property)
5790 (tramp-flush-connection-property, tramp-list-connections)
5791 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5792
5793 * net/tramp-compat.el (tramp-compat-make-temp-file):
5794 Rename FILENAME to F.
5795
5796 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5797 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5798 (tramp-zeroconf-parse-workstation-device-names)
5799 (tramp-zeroconf-parse-webdav-device-names)
5800 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5801
5802 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5803 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5804
5805 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5806 arguments.
5807 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5808 (tramp-sh-handle-insert-file-contents-literally)
5809 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5810 with "_".
5811 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5812 Remove unused variables.
5813
5814 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5815 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5816 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5817
5818 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5819 Make them a defconst.
5820 (tramp-uuencode-region): Remove unused variable.
5821
5822 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5823
5824 * frameset.el (frameset--prop-setter): New function.
5825 (frameset-prop): Add gv-setter declaration.
5826 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5827 parameter was already set in FILTERED. Doc fix.
5828 (frameset--record-minibuffer-relationships): Allow saving a
5829 minibufferless frame without its corresponding minibuffer frame.
5830 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5831 frame, if the frame id matches.
5832 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5833 frames before orphaned ones.
5834 (frameset-restore): Warn about orphaned windows, instead of error out.
5835
5836 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5837
5838 * window.el (window-make-atom): Don't overwrite parameter
5839 already present.
5840 (display-buffer-in-atom-window): Handle special case where we
5841 split an already atomic window.
5842 (window--major-non-side-window, display-buffer-in-side-window)
5843 (window--side-check): Ignore minibuffer window when walking
5844 window tree.
5845 (window-deletable-p): Return 'frame only if no other frame uses
5846 our minibuffer window.
5847 (record-window-buffer): Run buffer-list-update-hook.
5848 (split-window): Make sure window--check-frame won't destroy an
5849 existing atomic window in case the new window gets nested
5850 inside.
5851 (display-buffer-at-bottom): Ignore minibuffer window when
5852 walking window tree. Don't split a side window.
5853 (pop-to-buffer): Don't set-buffer here, the select-window call
5854 should do that.
5855 (mouse-autoselect-window-select): Autoselect only if we are in the
5856 text portion of the window.
5857
5858 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5859
5860 * net/shr.el (shr-parse-image-data): New function to grab both the
5861 data itself and the Content-Type.
5862 (shr-put-image): Use it.
5863
5864 * net/eww.el (eww-display-image): Ditto.
5865
5866 * image.el (image-content-type-suffixes): New variable.
5867
5868 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5869
5870 * progmodes/python.el (python-imenu--build-tree)
5871 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5872
5873 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5874
5875 * simple.el (backward-word): Mention the optional argument.
5876
5877 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5878
5879 * frameset.el (frameset--make): Rename constructor from make-frameset.
5880 (frameset-p, frameset-valid-p): Don't autoload.
5881 (frameset-valid-p): Use normal accessors.
5882
5883 2013-08-13 Glenn Morris <rgm@gnu.org>
5884
5885 * progmodes/compile.el (compile-command): Tweak example in doc.
5886 * obsolete/scribe.el (scribe-mode):
5887 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5888
5889 * mail/feedmail.el (feedmail-confirm-outgoing)
5890 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5891
5892 * cus-start.el (truncate-partial-width-windows): Fix type.
5893
5894 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5895
5896 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5897
5898 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5899
5900 * emacs-lisp/timer.el (timer--time-setter): New function.
5901 (timer--time): Use it as gv-setter.
5902
5903 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5904 setter is not a symbol.
5905
5906 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5907
5908 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5909 if sending fails. This makes debugging easier.
5910
5911 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5912
5913 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5914 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5915 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5916
5917 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5918
5919 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5920
5921 2013-08-12 Glenn Morris <rgm@gnu.org>
5922
5923 * format.el (format-annotate-function):
5924 Handle read-only text properties in the source. (Bug#14887)
5925
5926 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5927
5928 * net/eww.el (eww-display-html): Ignore coding system errors.
5929 One web site uses "utf-8lias" as the coding system.
5930
5931 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5932
5933 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5934
5935 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5936
5937 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5938 (tutorial--detailed-help): Remove unused local variables.
5939 (tutorial--save-tutorial-to): Use ignore-errors.
5940 (help-with-tutorial): Use looking-at-p.
5941
5942 * view.el (view-buffer-other-window, view-buffer-other-frame):
5943 Mark unused arguments.
5944
5945 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5946 (woman-select-symbol-fonts, woman, woman-find-file)
5947 (woman-insert-file-contents, woman-non-underline-faces):
5948 Use string-match-p.
5949 (woman1-unquote): Move declaration.
5950
5951 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5952 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5953 argument. Remove unused local variable.
5954 (xml-parse-elem-type): Use string-match-p.
5955 (xml-substitute-numeric-entities): Use ignore-errors.
5956
5957 * calculator.el (calculator): Mark unused argument.
5958 (calculator-paste, calculator-quit, calculator-integer-p):
5959 Use ignore-errors.
5960 (calculator-string-to-number, calculator-decimal, calculator-exp)
5961 (calculator-op-or-exp): Use string-match-p.
5962
5963 * dired.el (dired-buffer-more-recently-used-p): Declare.
5964 (dired-insert-set-properties, dired-insert-old-subdirs):
5965 Use ignore-errors.
5966
5967 * dired-aux.el (dired-compress): Use ignore-errors.
5968 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5969 (dired-do-async-shell-command, dired-do-shell-command)
5970 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5971 (dired-insert-subdir-validate): Use string-match-p.
5972 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5973 (dired-add-entry): Use string-match-p, looking-at-p.
5974 (dired-insert-subdir-newpos): Remove unused local variable.
5975
5976 * filenotify.el (file-notify-callback): Remove unused local variable.
5977
5978 * filesets.el (filesets-error): Mark unused argument.
5979 (filesets-which-command-p, filesets-filter-dir-names)
5980 (filesets-directory-files, filesets-get-external-viewer)
5981 (filesets-ingroup-get-data): Use string-match-p.
5982
5983 * find-file.el (ff-other-file-name, ff-other-file-name)
5984 (ff-find-the-other-file, ff-cc-hh-converter):
5985 Remove unused local variables.
5986 (ff-get-file-name): Use string-match-p.
5987 (ff-all-dirs-under): Use ignore-errors.
5988
5989 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5990 (follow-select-if-visible): Remove unused local variable.
5991
5992 * forms.el (read-file-filter): Move declaration.
5993 (forms--make-format, forms--make-parser, forms-insert-record):
5994 Quote function with #'.
5995 (forms--update): Use string-match-p. Quote function with #'.
5996
5997 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5998 (help-make-xrefs): Use looking-at-p.
5999 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6000
6001 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6002 (ibuffer-confirm-operation-on): Use string-match-p.
6003
6004 * msb.el (msb-item-handler, msb-dired-item-handler):
6005 Mark unused arguments.
6006
6007 * ses.el (ses-decode-cell-symbol)
6008 (ses-kill-override): Remove unused local variable.
6009 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6010 (ses-load): Use ignore-errors, looking-at-p.
6011 (ses-jump-safe): Use ignore-errors.
6012 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6013
6014 * tabify.el (untabify, tabify): Mark unused arguments.
6015
6016 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6017 Mark unused argument.
6018 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6019 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6020
6021 * emacs-lisp/timer.el (timer--time): Define setter with
6022 gv-define-setter to avoid deprecation warning.
6023
6024 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6025 (*record-cmpl-statistics-p*): Remove (was commented out).
6026 (cmpl-statistics-block): Remove (body was commented out).
6027 All callers changed.
6028 (add-completions-from-buffer, load-completions-from-file):
6029 Remove unused variables.
6030
6031 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6032
6033 * filecache.el (file-cache-delete-file-list):
6034 Print message only when told so.
6035 (file-cache-files-matching): Use #' in mapconcat argument.
6036
6037 * ffap.el (ffap-url-at-point): Fix reference to variable
6038 thing-at-point-default-mail-uri-scheme.
6039
6040 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6041
6042 * subr.el (define-error): New function.
6043 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6044 error-file-not-found and define with define-error.
6045 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6046 and define with define-error.
6047 * userlock.el (file-locked, file-supersession):
6048 * simple.el (mark-inactive):
6049 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6050 * progmodes/ada-mode.el (ada-mode-errors):
6051 * play/life.el (life-extinct):
6052 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6053 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6054 * nxml/rng-util.el (rng-error):
6055 * nxml/rng-uri.el (rng-uri-error):
6056 * nxml/rng-match.el (rng-compile-error):
6057 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6058 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6059 * nxml/nxml-rap.el (nxml-scan-error):
6060 * nxml/nxml-outln.el (nxml-outline-error):
6061 * net/soap-client.el (soap-error):
6062 * net/gnutls.el (gnutls-error):
6063 * net/ange-ftp.el (ftp-error):
6064 * mpc.el (mpc-proc-error):
6065 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6066 (json-number-format, json-string-escape, json-string-format)
6067 (json-key-format, json-object-format):
6068 * jka-compr.el (compression-error):
6069 * international/quail.el (quail-error):
6070 * international/kkc.el (kkc-error):
6071 * emacs-lisp/ert.el (ert-test-failed):
6072 * calc/calc.el (calc-error, inexact-result, math-overflow)
6073 (math-underflow):
6074 * bookmark.el (bookmark-error-no-filename):
6075 * epg.el (epg-error): Define with define-error.
6076
6077 * time.el (display-time-event-handler)
6078 (display-time-next-load-average): Don't call sit-for since it seems
6079 unnecessary (bug#15045).
6080
6081 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6082 Use #' instead of ' to quote functions.
6083 (checkdoc-output-mode): Use setq-local.
6084 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6085 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6086 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6087 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6088 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6089 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6090 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6091 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6092
6093 * ido.el (ido-completion-help): Fix up compiler warning.
6094
6095 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6096
6097 * frameset.el (frameset-p): Add autoload cookie.
6098 (frameset--jump-to-register): New function, based on code moved from
6099 register.el.
6100 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6101
6102 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6103 (frameset-restore, frameset-save, frameset-session-filter-alist):
6104 Remove declarations.
6105 (register-alist): Doc fix.
6106 (frameset-to-register): Move to frameset.el.
6107 (jump-to-register, describe-register-1): Remove frameset-specific code.
6108
6109 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6110
6111 * allout-widgets.el (allout-widgets-pre-command-business)
6112 (allout-widgets-post-command-business)
6113 (allout-widgets-after-change-handler)
6114 (allout-decorate-item-and-context, allout-set-boundary-marker)
6115 (allout-body-modification-handler)
6116 (allout-graphics-modification-handler): Mark ignored arguments.
6117 (allout-widgets-post-command-business)
6118 (allout-widgets-exposure-change-processor)
6119 (allout-widgets-exposure-undo-processor)
6120 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6121 (allout-parse-item-at-point, allout-decorate-item-guides)
6122 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6123 * allout.el (epa-passphrase-callback-function): Declare.
6124 (allout-overlay-insert-in-front-handler)
6125 (allout-overlay-interior-modification-handler)
6126 (allout-isearch-end-handler, allout-chart-siblings)
6127 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6128 (allout-yank-processing, allout-process-exposed)
6129 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6130 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6131 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6132 (lisp-indent-defform): Mark ignored arguments.
6133 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6134 (calculate-lisp-indent): Remove unused variables.
6135 * international/characters.el (indian-2-column, arabic-2-column)
6136 (tibetan): Mark ignored arguments.
6137 (use-cjk-char-width-table): Mark ignored arguments.
6138 Remove unused variables.
6139 * international/fontset.el (build-default-fontset-data)
6140 (x-compose-font-name, create-fontset-from-fontset-spec):
6141 Mark ignored arguments.
6142 (fontset-plain-name): Remove unused variables.
6143 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6144 (keyboard-coding-system): Mark ignored arguments.
6145 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6146 * help.el (resize-temp-buffer-window):
6147 * window.el (display-buffer-in-major-side-window)
6148 (display-buffer-in-side-window, display-buffer-in-previous-window):
6149 Remove unused variables.
6150 * isearch.el (isearch-forward-symbol):
6151 * version.el (emacs-bzr-version-bzr):
6152 * international/mule-cmds.el (current-language-environment):
6153 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6154 (x-handle-display):
6155 * term/pc-win.el (x-list-fonts, x-display-planes)
6156 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6157 (x-server-version, x-display-screens, x-display-mm-height)
6158 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6159 (x-selection-owner-p, x-own-selection-internal)
6160 (x-disown-selection-internal, x-get-selection-internal)
6161 (msdos-initialize-window-system):
6162 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6163 * term/x-win.el (x-handle-no-bitmap-icon):
6164 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6165 (vc-default-find-file-hook, vc-default-extra-menu):
6166 Mark ignored arguments.
6167
6168 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6169
6170 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6171 break-condition in the context of the debugged code (bug#12685).
6172
6173 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6174
6175 * comint.el:
6176 Do not use an overlay to highlight the last prompt. (Bug#14744)
6177 (comint-mode): Make comint-last-prompt buffer local.
6178 (comint-last-prompt): New variable.
6179 (comint-last-prompt-overlay): Remove. Superseded by
6180 comint-last-prompt.
6181 (comint-snapshot-last-prompt, comint-output-filter):
6182 Use comint-last-prompt.
6183
6184 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6185
6186 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6187 (frameset-save): Check validity of the resulting frameset.
6188
6189 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6190
6191 * ido.el (ido-record-command): Add doc string.
6192
6193 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6194
6195 * frameset.el (frameset): Do not disable creation of the default
6196 frameset-p predicate. Doc fix.
6197 (frameset-valid-p): New function, copied from the old predicate-p.
6198 Add additional checks.
6199 (frameset-restore): Check with frameset-valid-p.
6200 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6201 (frameset-name, frameset-description, frameset-properties)
6202 (frameset-states): Add docstring.
6203 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6204 (frameset-filter-alist): Doc fixes.
6205
6206 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6207
6208 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6209
6210 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6211
6212 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6213 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6214 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6215 (byte-compile-normal-call): Remove obsolescence check.
6216
6217 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6218
6219 * frameset.el (frameset-restore): Doc fix.
6220
6221 * register.el (frameset-frame-id, frameset-frame-with-id)
6222 (frameset-p, frameset-restore, frameset-save): Declare.
6223 (register-alist): Document framesets.
6224 (frameset-session-filter-alist): Declare.
6225 (frameset-to-register): New function.
6226 (jump-to-register): Implement jumping to framesets. Doc fix.
6227 (describe-register-1): Describe framesets.
6228
6229 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6230
6231 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6232
6233 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6234 Use lexical-binding.
6235
6236 * frameset.el (frameset): Use type vector, not list (incompatible
6237 change). Do not declare a new constructor, use the default one.
6238 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6239 `name' and `description', respectively, and add read-only slot
6240 `timestamp'. Doc fixes.
6241 (frameset-copy, frameset-persistent-filter-alist)
6242 (frameset-filter-alist, frameset-switch-to-gui-p)
6243 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6244 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6245 (frameset-filter-iconified, frameset-keep-original-display-p):
6246 Doc fixes.
6247 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6248 Rename from frameset-filter-(save|restore)-param. All callers changed.
6249 Doc fix.
6250 (frameset-p): Adapt to change to vector and be more thorough.
6251 Change arg name to OBJECT. Doc fix.
6252 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6253 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6254 All callers changed.
6255 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6256 All callers changed.
6257 (frameset--record-minibuffer-relationships): Rename from
6258 frameset--process-minibuffer-frames. All callers changed.
6259 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6260 Use new default constructor (again). Doc fix.
6261 (frameset--find-frame-if): Rename from `frameset--find-frame.
6262 All callers changed.
6263 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6264 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6265 Doc fix.
6266 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6267 PARAMETERS and WINDOW-STATE, respectively.
6268 (frameset-restore): Add new keyword argument PREDICATE.
6269 Reset frameset--target-display to nil. Doc fix.
6270
6271 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6273 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6274 (bat-mode): Use it.
6275 (bat-mode-syntax-table): Mark \n as end-of-comment.
6276 (bat-font-lock-keywords): Remove comment rule.
6277
6278 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6279 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6280
6281 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6282 (byte-compile-callargs-warn): Use `push'.
6283 (byte-compile-arglist-warn): Ignore higher-order "calls".
6284 (byte-compile-file-form-autoload): Use `pcase'.
6285 (byte-compile-function-form): If quoting a symbol, check that it exists.
6286
6287 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6288
6289 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6290 and add a few popular commands found in batch files.
6291 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6292 (dos-mode): Doc fixes.
6293
6294 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6295
6296 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6297 (dos-mode): Use setq-local. Add space after "rem".
6298 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6299 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6300
6301 2013-08-07 Arni Magnusson <arnima@hafro.is>
6302
6303 * progmodes/dos.el: New file.
6304 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6305 dos-mode.
6306
6307 2013-08-06 Glenn Morris <rgm@gnu.org>
6308
6309 * calendar/calendar.el: Add new faces, and day-header-array.
6310 (calendar-weekday-header, calendar-weekend-header)
6311 (calendar-month-header): New faces.
6312 (calendar-day-header-construct): New function.
6313 (calendar-day-header-width): Also :set calendar-day-header-array.
6314 (calendar-american-month-header, calendar-european-month-header)
6315 (calendar-iso-month-header): Use calendar- faces.
6316 (calendar-generate-month):
6317 Use calendar-day-header-array for day headers; apply faces to them.
6318 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6319 (calendar-abbrev-construct): Add optional maxlen argument.
6320 (calendar-day-name-array): Doc fix.
6321 (calendar-day-name-array, calendar-abbrev-length)
6322 (calendar-day-abbrev-array):
6323 Also :set calendar-day-header-array, and maybe redraw.
6324 (calendar-day-header-array): New option. (Bug#15007)
6325 (calendar-font-lock-keywords): Set to nil and make obsolete.
6326 (calendar-day-name): Add option to use header array.
6327
6328 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6329
6330 * net/shr.el (shr-render-td): Remove debugging.
6331 (shr-render-td): Make width computation consistent by defaulting
6332 all zero-width columns to 10 characters. This may not be optimal,
6333 but it's at least consistent.
6334 (shr-make-table-1): Redo last change to fix the real problem in
6335 colspan handling.
6336
6337 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6338
6339 * files.el (cache-long-line-scans):
6340 Make obsolete alias to `cache-long-scans'.
6341
6342 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6343
6344 * frameset.el (frameset, frameset-filter-alist)
6345 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6346 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6347 (frameset-compute-pos): Rename from frameset--compute-pos,
6348 and add docstring.
6349 (frameset-move-onscreen): Use frameset-compute-pos.
6350 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6351
6352 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6353 Fix typos in docstrings.
6354
6355 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6356
6357 * frame.el (get-other-frame): Tiny cleanup.
6358
6359 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6360
6361 * vc/vc.el (vc-default-ignore-completion-table):
6362 Silence byte-compiler warning.
6363
6364 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6365 slot , which can indeed be nil.
6366 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6367 Move entry for `left' from persistent to live filter alist.
6368 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6369 Doc fixes.
6370 (frameset-filter-params): When restoring a frame, copy items added to
6371 `filtered', to avoid unwittingly modifying the original parameters.
6372 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6373 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6374
6375 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6376 to use looking-at-p instead of looking-at. (Bug#15028)
6377
6378 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6379
6380 Revert introduction of isearch-filter-predicates (bug#14714).
6381 Rely on add-function instead.
6382 * isearch.el (isearch-filter-predicates): Rename it back to
6383 isearch-filter-predicate.
6384 (isearch-message-prefix): Use advice-function-mapc and advice
6385 properties to get the isearch-message-prefix.
6386 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6387 instead of run-hook-with-args-until-failure.
6388 (isearch-filter-visible): Not obsolete any more.
6389 * loadup.el: Preload nadvice.
6390 * replace.el (perform-replace): Revert to funcall
6391 instead of run-hook-with-args-until-failure.
6392 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6393 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6394 dired-isearch-filenames-toggle; make it into a proper minor mode.
6395 Use add/remove-function.
6396 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6397 Call the minor-mode rather than add/remove-hook.
6398 (dired-isearch-filter-filenames):
6399 Remove isearch-message-prefix property.
6400 * info.el (Info--search-loop): New function, extracted from Info-search.
6401 Funcall isearch-filter-predicate instead of
6402 run-hook-with-args-until-failure isearch-filter-predicates.
6403 (Info-search): Use it.
6404 (Info-mode): Use isearch-filter-predicate instead of
6405 isearch-filter-predicates.
6406
6407 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6408
6409 Do not call to `selected-window' where it is assumed by default.
6410 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6411 `window-hscroll', `window-width', `window-height', `window-buffer',
6412 `window-frame', `window-start', `window-point', `next-window'
6413 and `window-display-table'.
6414 * abbrev.el (abbrev--default-expand):
6415 * bs.el (bs--show-with-configuration):
6416 * buff-menu.el (Buffer-menu-mouse-select):
6417 * calc/calc.el (calc):
6418 * calendar/calendar.el (calendar-generate-window):
6419 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6420 (diary-make-entry):
6421 * comint.el (send-invisible, comint-dynamic-complete-filename)
6422 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6423 * completion.el (complete):
6424 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6425 * disp-table.el (describe-current-display-table):
6426 * doc-view.el (doc-view-insert-image):
6427 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6428 * ehelp.el (with-electric-help):
6429 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6430 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6431 * emacs-lisp/helper.el (Helper-help-scroller):
6432 * emulation/cua-base.el (cua--post-command-handler-1):
6433 * eshell/esh-mode.el (eshell-output-filter):
6434 * ffap.el (ffap-gnus-wrapper):
6435 * help-macro.el (make-help-screen):
6436 * hilit-chg.el (highlight-compare-buffers):
6437 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6438 * hl-line.el (global-hl-line-highlight):
6439 * icomplete.el (icomplete-simple-completing-p):
6440 * isearch.el (isearch-done):
6441 * jit-lock.el (jit-lock-stealth-fontify):
6442 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6443 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6444 * mpc.el (mpc-tagbrowser, mpc):
6445 * net/rcirc.el (rcirc-any-buffer):
6446 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6447 * play/landmark.el (landmark-max-width, landmark-max-height):
6448 * play/zone.el (zone):
6449 * progmodes/compile.el (compilation-goto-locus):
6450 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6451 * progmodes/etags.el (find-tag-other-window):
6452 * progmodes/fortran.el (fortran-column-ruler):
6453 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6454 * progmodes/verilog-mode.el (verilog-point-text):
6455 * reposition.el (reposition-window):
6456 * rot13.el (toggle-rot13-mode):
6457 * server.el (server-switch-buffer):
6458 * shell.el (shell-dynamic-complete-command)
6459 (shell-dynamic-complete-environment-variable):
6460 * simple.el (insert-buffer, set-selective-display)
6461 (delete-completion-window):
6462 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6463 (speedbar-recenter):
6464 * startup.el (fancy-splash-head):
6465 * textmodes/ispell.el (ispell-command-loop):
6466 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6467 * tutorial.el (help-with-tutorial):
6468 * vc/add-log.el (add-change-log-entry):
6469 * vc/compare-w.el (compare-windows):
6470 * vc/ediff-help.el (ediff-indent-help-message):
6471 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6472 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6473 (ediff-setup-control-frame):
6474 * vc/emerge.el (emerge-position-region):
6475 * vc/pcvs-util.el (cvs-bury-buffer):
6476 * window.el (walk-windows, mouse-autoselect-window-select):
6477 * winner.el (winner-set-conf, winner-undo): Related users changed.
6478
6479 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6480
6481 * frameset.el (frameset--set-id): Doc fix.
6482 (frameset-frame-id, frameset-frame-id-equal-p)
6483 (frameset-locate-frame-id): New functions.
6484 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6485 (frameset-restore): Use them.
6486
6487 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6488
6489 Do not call to `selected-frame' where it is assumed by default.
6490 Affected functions are `raise-frame', `redraw-frame',
6491 `frame-first-window', `frame-terminal' and `delete-frame'.
6492 * calendar/appt.el (appt-disp-window):
6493 * epg.el (epg-wait-for-completion):
6494 * follow.el (follow-delete-other-windows-and-split)
6495 (follow-avoid-tail-recenter):
6496 * international/mule.el (set-terminal-coding-system):
6497 * mail/rmail.el (rmail-mail-return):
6498 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6499 * progmodes/f90.el (f90-add-imenu-menu):
6500 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6501 * server.el (server-switch-buffer):
6502 * simple.el (delete-completion-window):
6503 * talk.el (talk):
6504 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6505 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6506 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6507 * vc/ediff.el (ediff-documentation): Related users changed.
6508 * frame.el (selected-terminal): Remove the leftover.
6509
6510 2013-08-05 Glenn Morris <rgm@gnu.org>
6511
6512 * calendar/calendar.el (calendar-generate-month):
6513 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6514 (calendar-generate-month, calendar-font-lock-keywords):
6515 Fix for calendar-day-header-width > length of any day name.
6516
6517 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6518
6519 * desktop.el (desktop-clear): Use new name of sort predicate.
6520
6521 * frameset.el (frameset): Add docstring. Move :version property to its
6522 own `version' slot.
6523 (frameset-copy): Rename from copy-frameset.
6524 (frameset-p): Check more thoroughly.
6525 (frameset-prop): Do not check for :version, which is no longer a prop.
6526 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6527 Use new :never value instead of t.
6528 (frameset-filter-alist): Expand and clarify docstring.
6529 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6530 (frameset-filter-minibuffer, frameset-filter-save-param)
6531 (frameset-filter-restore-param, frameset-filter-iconified):
6532 Add pointer to docstring of frameset-filter-alist.
6533 (frameset-filter-params): Rename filter values to be more meaningful:
6534 :never instead of t, and reverse the meanings of :save and :restore.
6535 (frameset--process-minibuffer-frames): Clarify error message.
6536 (frameset-save): Avoid unnecessary and confusing call to framep.
6537 Use new BOA constructor for framesets.
6538 (frameset--reuse-list): Doc fix.
6539 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6540 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6541 (frameset-minibufferless-first-p): Doc fix.
6542 Rename from frameset-sort-frames-for-deletion.
6543 (frameset-restore): Doc fixes. Use new function names.
6544 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6545
6546 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6547
6548 * desktop.el (desktop-restore-forces-onscreen)
6549 (desktop-restore-reuses-frames): Document :keyword constant values.
6550 (desktop-filter-parameters-alist): Remove, now identical to
6551 frameset-filter-alist.
6552 (desktop--filter-tty*): Remove, moved to frameset.el.
6553 (desktop-save-frameset, desktop-restore-frameset):
6554 Do not pass :filters argument.
6555
6556 * frameset.el (frameset-live-filter-alist)
6557 (frameset-persistent-filter-alist): New variables.
6558 (frameset-filter-alist): Use them. Add autoload cookie.
6559 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6560 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6561 `frameset--id' (it's supposed to be internal to frameset.el).
6562 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6563 (frameset--initial-params): New function.
6564 (frameset--get-frame): Use it. Doc fix.
6565 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6566 Accept :all, not 'all.
6567 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6568 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6569 with fbound symbols. Fix frame id matching, and remove matching ids if
6570 the frame being restored is deleted. Obey :delete.
6571
6572 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6573
6574 * subr.el (macrop): New function.
6575 (text-clone--maintaining): New var.
6576 (text-clone--maintain): Rename from text-clone-maintain. Use it
6577 instead of inhibit-modification-hooks.
6578
6579 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6580 a proxy, so as handle autoloads and redefinitions of the target.
6581 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6582
6583 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6584 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6585 (pcase--mutually-exclusive-p): New function.
6586 (pcase--split-consp): Use it.
6587 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6588 mutually exclusive with the current predicate.
6589
6590 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6591 (edebug-macrop): Remove. Use `macrop' instead.
6592 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6593 (ad-macro-p):
6594 * eshell/esh-cmd.el (eshell-macrop):
6595 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6596
6597 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6600 (advice-mapc): New function, using it.
6601 (advice-function-member-p): New function.
6602 (advice--normalize): Store the cdr in advice--saved-rewrite since
6603 that's the part that will be changed.
6604 (advice--symbol-function): New function.
6605 (advice-remove): Handle removal before the function is defined.
6606 Adjust to new advice--saved-rewrite.
6607 (advice-member-p): Use advice-function-member-p and
6608 advice--symbol-function.
6609
6610 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6611
6612 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6613 (frameset-filter-minibuffer): Doc fix.
6614 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6615 (frameset--set-id, frameset--process-minibuffer-frames)
6616 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6617 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6618
6619 * desktop.el (desktop-clear): Only delete frames when called
6620 interactively and desktop-restore-frames is non-nil. Doc fix.
6621 (desktop-read): Set desktop-saved-frameset to nil.
6622
6623 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6624
6625 * vc/vc.el (vc-ignore): Rewrite.
6626 (vc-default-ignore-completion-table):
6627 (vc--read-lines):
6628 (vc--add-line, vc--remove-regexp): New functions.
6629
6630 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6631 (vc-svn-ignore-completion-table): New function.
6632
6633 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6634 (vc-hg-ignore-completion-table):
6635 (vc-hg-find-ignore-file): New functions.
6636
6637 * vc/vc-git.el (vc-git-ignore): Rewrite.
6638 (vc-git-ignore-completion-table):
6639 (vc-git-find-ignore-file): New functions.
6640
6641 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6642
6643 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6644 (vc-bzr-ignore-completion-table):
6645 (vc-bzr-find-ignore-file): New functions.
6646
6647 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6648
6649 * frameset.el (frameset-prop): New function and setter.
6650 (frameset-save): Do not modify frame list passed by the caller.
6651
6652 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6653
6654 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6655
6656 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6657
6658 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6659 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6660
6661 * custom.el (custom-initialize-default, custom-initialize-set)
6662 (custom-initialize-reset, custom-initialize-changed): Affect the
6663 toplevel-default-value (bug#6275, bug#14586).
6664 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6665 for bug#6275.
6666
6667 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6668
6669 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6670 Add cl-def* expressions.
6671
6672 * frameset.el (frameset-filter-params): Fix order of arguments.
6673
6674 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6675
6676 Move code related to saving frames to frameset.el.
6677 * desktop.el: Require frameset.
6678 (desktop-restore-frames): Doc fix.
6679 (desktop-restore-reuses-frames): Rename from
6680 desktop-restoring-reuses-frames.
6681 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6682 (desktop-clear): Clear frames too.
6683 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6684 (desktop--filter-tty*, desktop-save, desktop-read):
6685 Use frameset functions.
6686 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6687 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6688 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6689 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6690 (desktop--process-minibuffer-frames, desktop-save-frames)
6691 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6692 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6693 (desktop--sort-states, desktop-restoring-frames-p)
6694 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6695 (desktop-restoring-frameset-p, desktop-restore-frameset)
6696 (desktop--check-dont-save, desktop-save-frameset): New functions.
6697 (desktop--app-id): New constant.
6698 (desktop-first-buffer, desktop-buffer-ok-count)
6699 (desktop-buffer-fail-count): Move before first use.
6700 * frameset.el: New file.
6701
6702 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6703
6704 * files.el: Use lexical-binding.
6705 (dir-locals-read-from-file): Remove unused `err' variable.
6706 (hack-dir-local-variables--warned-coding): New var.
6707 (hack-dir-local-variables): Use it to avoid repeated warnings.
6708 (make-backup-file-name--default-function): New function.
6709 (make-backup-file-name-function): Use it as default.
6710 (buffer-stale--default-function): New function.
6711 (buffer-stale-function): Use it as default.
6712 (revert-buffer-insert-file-contents--default-function): New function.
6713 (revert-buffer-insert-file-contents-function): Use it as default.
6714 (insert-directory): Avoid add-to-list.
6715
6716 * autorevert.el (auto-revert-handler): Simplify.
6717 Use buffer-stale--default-function.
6718
6719 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6720
6721 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6722
6723 * whitespace.el (whitespace-ensure-local-variables): New function.
6724 (whitespace-cleanup-region): Call it.
6725 (whitespace-turn-on): Call it.
6726
6727 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6728
6729 Complete file name handlers.
6730
6731 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6732 (tramp-handle-verify-visited-file-modtime)
6733 (tramp-handle-file-notify-rm-watch): New functions.
6734 (tramp-call-process): Do not bind `default-directory'.
6735
6736 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6737 Order alphabetically.
6738 [access-file, add-name-to-file, dired-call-process]:
6739 [dired-compress-file, file-acl, file-notify-rm-watch]:
6740 [file-ownership-preserved-p, file-selinux-context]:
6741 [make-directory-internal, make-symbolic-link, set-file-acl]:
6742 [set-file-selinux-context, set-visited-file-modtime]:
6743 [verify-visited-file-modtime]: Add handler.
6744 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6745
6746 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6747 [file-notify-add-watch, file-notify-rm-watch]:
6748 [set-file-times, set-visited-file-modtime]:
6749 [verify-visited-file-modtime]: Add handler.
6750 (with-tramp-gvfs-error-message)
6751 (tramp-gvfs-handle-set-visited-file-modtime)
6752 (tramp-gvfs-fuse-file-name): Remove.
6753 (tramp-gvfs-handle-file-notify-add-watch)
6754 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6755 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6756
6757 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6758 Order alphabetically.
6759 [file-notify-rm-watch ]: Use default Tramp handler.
6760 [executable-find]: Remove private handler.
6761 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6762 `default-directory'.
6763 (tramp-sh-handle-executable-find)
6764 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6765 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6766 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6767 Do not use `format' in `tramp-message'.
6768
6769 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6770 [file-notify-rm-watch, set-visited-file-modtime]:
6771 [verify-visited-file-modtime]: Add handler.
6772 (tramp-smb-call-winexe): Do not bind `default-directory'.
6773
6774 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6775
6776 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6777
6778 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6779
6780 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6781 use it.
6782 (log-view-diff-changeset): Same.
6783 (log-view-diff-common): Call backend command `previous-revision'
6784 to find out the previous revision, in both cases. Swap the
6785 variables `to' and `fr', so that `fr' usually refers to the
6786 earlier revision (Bug#14989).
6787
6788 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6789
6790 * ibuf-ext.el (ibuffer-filter-by-filename):
6791 Make it work with dired buffers too.
6792
6793 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6794
6795 * emacs-lisp/re-builder.el (reb-color-display-p):
6796 * files.el (save-buffers-kill-terminal):
6797 * net/browse-url.el (browse-url):
6798 * server.el (server-save-buffers-kill-terminal):
6799 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6800 Prefer nil to selected-frame for the first arg of frame-parameter.
6801
6802 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6803
6804 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6805
6806 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6807
6808 * minibuffer.el (completion--twq-all): Try and preserve each
6809 completion's case choice (bug#14907).
6810
6811 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6812
6813 * net/network-stream.el (open-network-stream): Mention the new
6814 :nogreeting parameter.
6815 (network-stream-open-starttls): Use the :nogreeting parameter
6816 (bug#14938).
6817
6818 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6819
6820 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6821 more natural than popping.
6822
6823 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6824 (shr-urlify): Highlight under mouse.
6825
6826 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6827
6828 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6829
6830 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6831
6832 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6833 buffer for output.
6834
6835 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6836 point-min==1. Fix search string. Fix parentheses missing.
6837
6838 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6839 assume point-min==1. Fix search string. Fix parentheses missing.
6840
6841 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6842
6843 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6844 buffer for output.
6845
6846 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6847
6848 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6849 initial frame is minibuffer-less. (Bug#14841)
6850
6851 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6852
6853 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6854 option.
6855
6856 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6857 (tramp-maybe-open-connection): Use it.
6858
6859 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6860
6861 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6862 minimal set of parameters passed when creating a frame, because
6863 the minibuffer status of a frame cannot be changed later.
6864
6865 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6866
6867 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6868 replace-regexp-in-string and inadvertent omissions in previous change.
6869 (todo-filter-items): Ensure only file names are comma-separated in
6870 name of filtered items buffer.
6871
6872 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6873
6874 * desktop.el: Optionally force offscreen frames back onscreen.
6875 (desktop-restoring-reuses-frames): New option.
6876 (desktop--compute-pos, desktop--move-onscreen): New functions.
6877 (desktop--make-frame): Use desktop--move-onscreen.
6878
6879 2013-07-27 Alan Mackenzie <acm@muc.de>
6880
6881 Fontify a Java generic method as a function.
6882 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6883 value to t.
6884
6885 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6886
6887 * calendar/todo-mode.el: Add command to rename todo files.
6888 (todo-rename-file): New command.
6889 (todo-key-bindings-t): Add key binding for it. Change the
6890 bindings of todo-filter-regexp-items(-multifile) to use `x'
6891 instead of `r', since the latter is better suited to the new
6892 renaming command.
6893
6894 2013-07-27 Alan Mackenzie <acm@muc.de>
6895
6896 Make Java try-with-resources statement parse properly.
6897 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6898 (c-block-stmt-1-2-key): New language constants/variables.
6899 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6900 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6901 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6902 with c-block-stmt-1-2-key.
6903
6904 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6905
6906 * desktop.el (desktop--make-frame): Apply most frame parameters after
6907 creating the frame to force (partially or totally) offscreen frames to
6908 be restored as such.
6909
6910 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6911
6912 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6913 (Bug#14948)
6914
6915 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6916
6917 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6918 `base' arg of backtrace-frame.
6919
6920 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6921
6922 * simple.el (list-processes): Doc fix.
6923
6924 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6925
6926 * desktop.el (desktop--select-frame):
6927 Try harder to reuse existing frames.
6928
6929 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6930
6931 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6932 (edebug-eval): Use backtrace-eval.
6933 (edebug--display, edebug--recursive-edit): Don't let-bind the
6934 edebug-outer-* vars that keep track of variables we locally let-bind.
6935 (edebug-outside-excursion): Don't restore outside values of locally
6936 let-bound vars.
6937 (edebug--display): Use user-error.
6938 (cl-lexical-debug, cl-debug-env): Remove.
6939
6940 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6941
6942 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6943 are restored to be sure that they are visible before deleting any
6944 remaining ones.
6945
6946 2013-07-26 Matthias Meulien <orontee@gmail.com>
6947
6948 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6949 vc-print-root-log. (Bug#14948)
6950
6951 2013-07-26 Richard Stallman <rms@gnu.org>
6952
6953 Add aliases for encrypting mail.
6954 * epa.el (epa-mail-aliases): New option.
6955 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6956 Bind inhibit-read-only so read-only text doesn't ruin everything.
6957 (epa-mail-default-recipients): New subroutine broken out.
6958 Handle epa-mail-aliases.
6959
6960 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6961
6962 Add support for lexical variables to the debugger's `e' command.
6963 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6964 vars, except for debugger-outer-match-data.
6965 (debugger-frame-number): Move check for "on a function call" from
6966 callers into it. Add `skip-base' argument.
6967 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6968 (debugger-env-macro): Only reset the state stored in non-variables,
6969 i.e. current-buffer and match-data.
6970 (debugger-eval-expression): Rewrite using backtrace-eval.
6971 * subr.el (internal--called-interactively-p--get-frame): Remove.
6972 (called-interactively-p):
6973 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6974 `base' arg of backtrace-frame instead.
6975
6976 2013-07-26 Glenn Morris <rgm@gnu.org>
6977
6978 * align.el (align-regexp): Doc fix. (Bug#14857)
6979 (align-region): Explicit error if subexpression missing/does not match.
6980
6981 * simple.el (global-visual-line-mode):
6982 Do not duplicate the mode lighter. (Bug#14858)
6983
6984 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6985
6986 * window.el (display-buffer): In display-buffer bind
6987 split-window-keep-point to t, bug#14829.
6988
6989 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6990
6991 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6992 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6993 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6994 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6995 Change accordingly.
6996 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6997 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6998
6999 2013-07-25 Glenn Morris <rgm@gnu.org>
7000
7001 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7002
7003 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7004
7005 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7006 parameter to modify-frame-parameters if the value has not changed;
7007 this is a workaround for bug#14949.
7008 (desktop--make-frame): On cl-delete-if call, check parameter name,
7009 not full parameter.
7010
7011 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7012
7013 * vc/vc.el (vc-ignore): New function.
7014
7015 * vc/vc-svn.el (vc-svn-ignore): New function.
7016
7017 * vc/vc-hg.el (vc-hg-ignore): New function.
7018
7019 * vc/vc-git.el (vc-git-ignore): New function.
7020
7021 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7022 (vc-dir-ignore): New function.
7023
7024 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7025 (cvs-append-to-ignore): Move here from pcvs.el.
7026
7027 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7028
7029 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7030
7031 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7032
7033 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7034 (desktop-restore-frames): Warn when deleting an existing frame failed.
7035
7036 2013-07-24 Glenn Morris <rgm@gnu.org>
7037
7038 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7039
7040 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7041
7042 * filenotify.el (file-notify-supported-p):
7043 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7044 Remove functions.
7045
7046 * autorevert.el (auto-revert-use-notify):
7047 (auto-revert-notify-add-watch):
7048 * net/tramp.el (tramp-file-name-for-operation):
7049 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7050 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7051 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7052 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7053 Remove `file-notify-supported-p' entry.
7054
7055 2013-07-24 Glenn Morris <rgm@gnu.org>
7056
7057 * printing.el: Replace all uses of deleted ps-windows-system,
7058 ps-lp-system, ps-flatten-list with lpr- versions.
7059
7060 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7061
7062 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7063 checked with memq (bug#14935).
7064
7065 * files.el (revert-buffer-function): Use a non-nil default.
7066 (revert-buffer-preserve-modes): Declare var to
7067 provide access to the `preserve-modes' argument.
7068 (revert-buffer): Let-bind it.
7069 (revert-buffer--default): New function, extracted from revert-buffer.
7070
7071 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7072
7073 * lpr.el: Signal print errors more prominently.
7074 (print-region-function): Don't default to nil.
7075 (lpr-print-region): New function, extracted from print-region-1.
7076 Check lpr's return value and signal an error in case of problem.
7077 (print-region-1): Use it.
7078 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7079 versions instead.
7080 (ps-printer-name): Default to nil.
7081 (ps-printer-name-option): Default to lpr-printer-switch.
7082 (ps-print-region-function): Don't default to nil.
7083 (ps-postscript-code-directory): Simplify default.
7084 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7085 (ps-string-list, ps-eval-switch, ps-flatten-list)
7086 (ps-flatten-list-1): Remove.
7087 (ps-multibyte-buffer): Avoid setq.
7088 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7089 (print-region-function, ps-print-region-function): Don't set them here.
7090
7091 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7092
7093 * ido.el (ido-fractionp):
7094 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7095 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7096 (ido-max-directory-size, ido-max-dir-file-cache)
7097 (ido-decorations): Doc fix.
7098
7099 * ansi-color.el: Fix old URL.
7100
7101 2013-07-23 Michael R. Mauger <michael@mauger.com>
7102
7103 * progmodes/sql.el: Version 3.3
7104 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7105 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7106 (sql-interactive-remove-continuation-prompt): Rewrite, use
7107 functions above. Fix continuation prompt and complete output line
7108 handling.
7109 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7110 redirected output buffer.
7111 (sql-mode): Restore deleted code (Bug#13591).
7112
7113 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7114
7115 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7116
7117 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7118
7119 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7120
7121 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7122 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7123 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7124
7125 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7126
7127 * desktop.el (desktop-clear): Simplify; remove useless checks
7128 against invalid buffer names.
7129 (desktop-list*): Use cl-list*.
7130 (desktop-buffer-info, desktop-create-buffer): Simplify.
7131
7132 2013-07-23 Leo Liu <sdl.web@gmail.com>
7133
7134 * bookmark.el (bookmark-make-record): Restore NAME as a default
7135 value. (Bug#14933)
7136
7137 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7140 extracted from autoload--insert-text.
7141 (autoload--insert-text): Remove.
7142 (autoload--print-cookie-text): New function, extracted from
7143 autoload--insert-cookie-text.
7144 (autoload--insert-cookie-text): Remove.
7145 (autoload-generate-file-autoloads): Adjust calls accordingly.
7146
7147 * winner.el (winner-hook-installed-p): Remove.
7148 (winner-mode): Simplify accordingly.
7149
7150 * subr.el (add-to-list): Fix compiler-macro when `append' is
7151 not constant. Don't use `cl-member' for the base case.
7152
7153 * progmodes/subword.el: Fix boundary case (bug#13758).
7154 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7155 own group.
7156 (subword-backward-regexp): Make it a constant.
7157 (subword-forward-internal): Don't treat a trailing capital as the
7158 beginning of a word.
7159
7160 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7161
7162 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7163 global value of tabulated-list-revert-hook (bug#14930).
7164
7165 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7166
7167 * desktop.el: Require 'cl-lib.
7168 (desktop-before-saving-frames-functions): New hook.
7169 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7170 for frames being saved. Rename from desktop--save-minibuffer-frames.
7171 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7172 Do not save frames with non-nil `desktop-dont-save' parameter.
7173 Filter out deleted frames.
7174 (desktop--find-frame): Use cl-find-if.
7175 (desktop--select-frame): Use cl-(first|second|third) to access values
7176 of desktop-mini.
7177 (desktop--make-frame): Use cl-delete-if.
7178 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7179 (desktop-restore-frames): Use cl-(first|second|third) to access values
7180 of desktop-mini. Look for visible frame at the end, not while
7181 restoring frames.
7182
7183 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7184 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7185 Use string-match-p, looking-at-p (bug#14927).
7186
7187 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7188
7189 * desktop.el (desktop-saved-frame-states):
7190 Rename from desktop--saved-states; all users changed.
7191 (desktop-save-frames): Rename from desktop--save-frames.
7192 Do not save state to desktop file.
7193 (desktop-save): Save desktop-saved-frame-states to desktop file
7194 and reset to nil.
7195 (desktop-restoring-frames-p): New function.
7196 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7197 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7198 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7199
7200 * desktop.el: Correctly restore iconified frames.
7201 (desktop--filter-iconified-position): New function.
7202 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7203
7204 2013-07-20 Glenn Morris <rgm@gnu.org>
7205
7206 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7207 Let `message' do the formatting.
7208 (def-gdb-preempt-display-buffer): Add explicit format.
7209
7210 * image-dired.el (image-dired-track-original-file):
7211 Use with-current-buffer.
7212 (image-dired-track-thumbnail): Use with-current-buffer.
7213 Avoid changing point of wrong window.
7214
7215 * image-dired.el (image-dired-track-original-file):
7216 Avoid changing point of wrong window. (Bug#14909)
7217
7218 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7219
7220 * progmodes/gdb-mi.el (gdb-done-or-error):
7221 Guard against "%" in gdb output. (Bug#14127)
7222
7223 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7224
7225 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7226 (Bug#14826)
7227
7228 * international/mule.el (coding-system-iso-2022-flags): Fix last
7229 change.
7230
7231 2013-07-20 Kenichi Handa <handa@gnu.org>
7232
7233 * international/mule.el (coding-system-iso-2022-flags):
7234 Add `8-bit-level-4'. (Bug#8522)
7235
7236 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7237
7238 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7239 (bug#14815).
7240
7241 * net/eww.el (eww-process-text-input): Allow inputting when the
7242 point is at the start of the line, as the properties aren't
7243 front-sticky.
7244
7245 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7246 degenerate widths.
7247
7248 2013-07-19 Richard Stallman <rms@gnu.org>
7249
7250 * epa.el (epa-popup-info-window): Doc fix.
7251
7252 * subr.el (split-string): New arg TRIM.
7253
7254 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7255
7256 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7257 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7258
7259 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7260
7261 * filenotify.el (file-notify--library): Rename from
7262 `file-notify-support'. Do not autoload. Adapt all uses.
7263 (file-notify-supported-p): New defun.
7264
7265 * autorevert.el (auto-revert-use-notify):
7266 Use `file-notify-supported-p' instead of `file-notify-support'.
7267 Adapt docstring.
7268 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7269
7270 * net/tramp.el (tramp-file-name-for-operation):
7271 Add `file-notify-supported-p'.
7272
7273 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7274 New defun.
7275 (tramp-sh-file-name-handler-alist): Add it as handler for
7276 `file-notify-supported-p '.
7277
7278 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7279 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7280 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7281 Add `ignore' as handler for `file-notify-*' functions.
7282
7283 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7284
7285 * simple.el (line-move-partial, line-move): Don't start vscroll or
7286 scroll-up if the current line is not taller than the window.
7287 (Bug#14881)
7288
7289 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7290
7291 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7292 highlight question marks in the method names as strings.
7293 (ruby-block-beg-keywords): Inline.
7294 (ruby-font-lock-keyword-beg-re): Extract from
7295 `ruby-font-lock-keywords'.
7296
7297 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7298
7299 * frame.el (blink-cursor-blinks): New defcustom.
7300 (blink-cursor-blinks-done): New defvar.
7301 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7302 (blink-cursor-timer-function): Check if number of blinks has been
7303 done on X and NS.
7304 (blink-cursor-suspend, blink-cursor-check): New defuns.
7305
7306 2013-07-15 Glenn Morris <rgm@gnu.org>
7307
7308 * edmacro.el (edmacro-format-keys): Fix previous change.
7309
7310 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7311
7312 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7313 The hack didn't work outside English locales anyway.
7314
7315 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7316
7317 * simple.el (define-alternatives): Rename from alternatives-define,
7318 per RMS' suggestion.
7319
7320 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7321
7322 * desktop.el (desktop-restore-frames): Change default to t.
7323 (desktop-restore-in-current-display): Now offer more options.
7324 (desktop-restoring-reuses-frames): New customization option.
7325 (desktop--saved-states): Doc fix.
7326 (desktop-filter-parameters-alist): New variable, renamed and expanded
7327 from desktop--excluded-frame-parameters.
7328 (desktop--target-display): New variable.
7329 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7330 (desktop--filter-tty*, desktop--filter-*-color)
7331 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7332 (desktop--filter-save-desktop-parm)
7333 (desktop-restore-in-original-display-p): New functions.
7334 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7335 (desktop--save-minibuffer-frames): New function, inspired by a similar
7336 function from Martin Rudalics.
7337 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7338 (desktop--restore-in-this-display-p): Remove.
7339 (desktop--find-frame): Rename from desktop--find-frame-in-display
7340 and add predicate argument.
7341 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7342 (desktop--reuse-list): New variable.
7343 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7344 New functions.
7345 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7346
7347 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7348
7349 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7350
7351 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7352
7353 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7354 Highlight conversion methods on Kernel.
7355
7356 2013-07-13 Alan Mackenzie <acm@muc.de>
7357
7358 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7359 and comment it out. This out-commenting enables certain C++
7360 declarations to be parsed correctly.
7361
7362 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7363
7364 * international/mule.el (define-coding-system): Doc fix.
7365
7366 * simple.el (default-font-height): Don't call font-info if the
7367 frame's default font didn't change since the frame was created.
7368 (Bug#14838)
7369
7370 2013-07-13 Leo Liu <sdl.web@gmail.com>
7371
7372 * ido.el (ido-read-file-name): Guard against non-symbol value.
7373
7374 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7375
7376 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7377 in nested defuns.
7378
7379 2013-07-13 Leo Liu <sdl.web@gmail.com>
7380
7381 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7382 ido-set-matches call. (Bug#6852)
7383
7384 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7385
7386 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7387 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7388 Ruby 2.0.
7389 (ruby-font-lock-keywords): Distinguish calls to functions with
7390 module-like names from module references. Highlight character
7391 literals.
7392
7393 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7394
7395 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7396 (gdb-send): Handle continued commands. (Bug#14847)
7397
7398 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7399
7400 * desktop.el (desktop--v2s): Remove unused local variable.
7401 (desktop-save-buffer): Make defvar-local; adjust docstring.
7402 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7403 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7404
7405 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7406
7407 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7408
7409 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7410
7411 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7412 (Bug#14842)
7413
7414 2013-07-12 Glenn Morris <rgm@gnu.org>
7415
7416 * doc-view.el: Require cl-lib at runtime too.
7417 (doc-view-remove-if): Remove.
7418 (doc-view-search-next-match, doc-view-search-previous-match):
7419 Use cl-remove-if.
7420
7421 * edmacro.el: Require cl-lib at runtime too.
7422 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7423 (edmacro-mismatch, edmacro-subseq): Remove.
7424
7425 * shadowfile.el: Require cl-lib.
7426 (shadow-remove-if): Remove.
7427 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7428 Use cl-remove-if.
7429
7430 * wid-edit.el: Require cl-lib.
7431 (widget-choose): Use cl-remove-if.
7432 (widget-remove-if): Remove.
7433
7434 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7435 (ebrowse-delete-if-not): Remove.
7436 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7437 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7438 Use cl-delete-if-not.
7439
7440 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7441
7442 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7443 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7444
7445 2013-07-12 Leo Liu <sdl.web@gmail.com>
7446
7447 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7448
7449 2013-07-11 Glenn Morris <rgm@gnu.org>
7450
7451 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7452 (edebug-gensym-index, edebug-gensym):
7453 Remove reimplementation of cl-gensym.
7454 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7455
7456 * thumbs.el: Require cl-lib at run-time too.
7457 (thumbs-gensym-counter, thumbs-gensym):
7458 Remove reimplementation of cl-gensym.
7459 (thumbs-temp-file): Use cl-gensym.
7460
7461 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7462 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7463 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7464 (ert--union, ert--gensym-counter, ert--gensym-counter)
7465 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7466 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7467 (ert-make-test-unbound, ert--expand-should-1)
7468 (ert--expand-should, ert--should-error-handle-error)
7469 (should-error, ert--explain-equal-rec)
7470 (ert--plist-difference-explanation, ert-select-tests)
7471 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7472 Use cl-lib functions rather than reimplementations.
7473
7474 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7475
7476 * net/tramp.el (tramp-methods): Extend docstring.
7477 (tramp-connection-timeout): New defcustom.
7478 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7479 (with-tramp-progress-reporter): Simplify.
7480 (tramp-process-actions): Improve messages.
7481
7482 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7483 * net/tramp-sh.el (tramp-maybe-open-connection):
7484 Use `tramp-connection-timeout'.
7485 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7486 (Bug#14808)
7487
7488 2013-07-11 Leo Liu <sdl.web@gmail.com>
7489
7490 * ido.el (ido-read-file-name): Conform to the requirements of
7491 read-file-name. (Bug#11861)
7492 (ido-read-directory-name): Conform to the requirements of
7493 read-directory-name.
7494
7495 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7496
7497 * subr.el (delay-warning): New function.
7498
7499 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7500
7501 * simple.el (default-line-height): New function.
7502 (line-move-partial, line-move): Use it instead of computing the
7503 line height inline.
7504 (line-move-partial): Always compute ROWH. If the last line is
7505 partially-visible, but its text is completely visible, allow
7506 cursor to enter such a partially-visible line.
7507
7508 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7509
7510 Improve error messages. (Bug#14808)
7511
7512 * net/tramp.el (tramp-current-connection): New defvar, moved from
7513 tramp-sh.el.
7514 (tramp-message-show-progress-reporter-message): Remove, not
7515 needed anymore.
7516 (tramp-error-with-buffer): Show message in minibuffer.
7517 Discard input before waiting. Reset connection timestamp.
7518 (with-tramp-progress-reporter): Improve messages.
7519 (tramp-process-actions): Use progress reporter. Delete process in
7520 case of error. Improve messages.
7521
7522 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7523 Call `tramp-error-with-buffer' with vector and buffer.
7524 (tramp-current-connection): Remove.
7525 (tramp-maybe-open-connection): The car of
7526 `tramp-current-connection' are the first 3 slots of the vector.
7527
7528 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7529
7530 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7531 inside continued strings.
7532
7533 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7534
7535 Timestamp fixes for undo (Bug#14824).
7536 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7537
7538 2013-07-10 Leo Liu <sdl.web@gmail.com>
7539
7540 * files.el (require-final-newline): Allow safe local value.
7541 (Bug#14834)
7542
7543 2013-07-09 Leo Liu <sdl.web@gmail.com>
7544
7545 * ido.el (ido-read-directory-name): Handle fallback.
7546 (ido-read-file-name): Update DIR to ido-current-directory.
7547 (Bug#1516)
7548 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7549
7550 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7551
7552 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7553 "autoload". Remove "warn lower camel case" section, previously
7554 commented out. Highlight negation char. Do not highlight the
7555 target in singleton method definitions.
7556
7557 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * faces.el (tty-setup-hook): Declare the hook.
7560
7561 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7562 and detect when a guard/pred depends on local vars (bug#14773).
7563 (pcase--u1): Adjust caller.
7564
7565 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7566
7567 * simple.el (line-move-partial, line-move): Account for
7568 line-spacing.
7569 (line-move-partial): Avoid setting vscroll when the last
7570 partially-visible line in window is of default height.
7571
7572 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7573
7574 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7575 been used a while.
7576
7577 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7578
7579 * subr.el (read-quoted-char): Remove unused local variable `char'.
7580
7581 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7582
7583 * ediff.el (ediff-version): Version update.
7584 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7585 (ediff-merge-with-ancestor-command, ediff-directories-command)
7586 (ediff-directories3-command, ediff-merge-directories-command)
7587 (ediff-merge-directories-with-ancestor-command): New functions.
7588 All are command-line interfaces to ediff: to facilitate calling
7589 Emacs with the appropriate ediff functions invoked.
7590
7591 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7592 (viper-save-kill-buffer): Check if buffer is modified.
7593
7594 * viper.el (viper-version): Version update.
7595 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7596
7597 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7598
7599 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7600 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7601 (viper-intercept-ESC-key): Simplify.
7602 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7603 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7604 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7605 (viper-setup-ESC-to-escape): New functions.
7606 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7607 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7608
7609 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7610
7611 * simple.el (default-font-height, window-screen-lines):
7612 New functions.
7613 (line-move, line-move-partial): Use them instead of
7614 frame-char-height and window-text-height. This makes scrolling
7615 text smoother when the buffer's default face uses a font that is
7616 different from the frame's default font.
7617
7618 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7619
7620 * files.el (write-file): Do not display confirm dialog for NS,
7621 it does its own dialog, which can't be canceled (Bug#14578).
7622
7623 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7624
7625 * simple.el (line-move-partial): Adjust the row returned by
7626 posn-at-point for the current window-vscroll. (Bug#14567)
7627
7628 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7629
7630 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7631 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7632 spaces.
7633
7634 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7635
7636 * window.el (window-state-put-stale-windows): New variable.
7637 (window--state-put-2): Save list of windows without matching buffer.
7638 (window-state-put): Remove "bufferless" windows if possible.
7639
7640 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7641
7642 * simple.el (alternatives-define): Remove leftover :group keyword.
7643 Tweak docstring.
7644
7645 2013-07-06 Leo Liu <sdl.web@gmail.com>
7646
7647 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7648 (ido-enable-virtual-buffers): New variable.
7649 (ido-buffer-internal, ido-toggle-virtual-buffers)
7650 (ido-make-buffer-list): Use it.
7651 (ido-exhibit): Support turning on and off virtual buffers
7652 automatically.
7653
7654 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7655
7656 * simple.el (alternatives-define): New macro.
7657
7658 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7659
7660 * subr.el (read-quoted-char): Use read-key.
7661 (sit-for): Let read-event decode tty input (bug#14782).
7662
7663 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7664
7665 * calendar/todo-mode.el: Add handling of file deletion, both by
7666 mode command and externally. Fix various related bugs.
7667 Clarify Commentary and improve some documentation strings and code.
7668 (todo-delete-file): New command.
7669 (todo-check-file): New function.
7670 (todo-show): Handle external deletion of the file we're trying to
7671 show (bug#14688). Replace called-interactively-p by an optional
7672 prefix argument to avoid problematic interaction with catch form
7673 when byte compiled (bug#14702).
7674 (todo-quit): Handle external deletion of the archive's todo file.
7675 Make sure the buffer that was visiting the archive file is still
7676 live before trying to bury it.
7677 (todo-category-completions): Handle external deletion of any
7678 category completion files.
7679 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7680 of todo files, in case of external deletion.
7681 (todo-add-file): Replace unnecessary setq by let-binding.
7682 (todo-find-archive): Check whether there are any archives.
7683 Replace unnecessary setq by let-binding.
7684 (todo-archive-done-item): Use find-file-noselect to get the
7685 archive buffer whether or not the archive already exists.
7686 Remove superfluous code. Use file size instead of buffer-file-name to
7687 check if the archive is new; if it is, update list of archives.
7688 (todo-default-todo-file): Allow nil to be a valid value for when
7689 there are no todo files.
7690 (todo-reevaluate-default-file-defcustom): Use corrected definition
7691 of todo-default-todo-file.
7692 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7693 (todo-delete-category, todo-show-categories-table)
7694 (todo-category-number): Clarify comment.
7695 (todo-filter-items): Clarify documentation string.
7696 (todo-show-current-file, todo-display-as-todo-file)
7697 (todo-reset-and-enable-done-separator): Tweak documentation string.
7698 (todo-done-separator): Make separator length window-width, since
7699 bug#2749 is now fixed.
7700
7701 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7702
7703 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7704 Support both "gvfs-monitor-dir" and "inotifywait".
7705 (tramp-sh-file-inotifywait-process-filter): Rename from
7706 `tramp-sh-file-notify-process-filter'.
7707 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7708 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7709
7710 2013-07-05 Leo Liu <sdl.web@gmail.com>
7711
7712 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7713
7714 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7715
7716 * frame.el (display-pixel-height, display-pixel-width)
7717 (display-mm-height, display-mm-width): Mention behavior on
7718 multi-monitor setups in docstrings.
7719 (w32-display-monitor-attributes-list): Declare function.
7720 (display-monitor-attributes-list): Use it.
7721
7722 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7723
7724 * filenotify.el: New package.
7725
7726 * autorevert.el (top): Require filenotify.el.
7727 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7728 instead.
7729 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7730 (auto-revert-notify-handler): Use `file-notify-*' functions.
7731
7732 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7733
7734 * net/tramp.el (tramp-file-name-for-operation):
7735 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7736
7737 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7738 for `file-notify-add-watch' and `file-notify-rm-watch'.
7739 (tramp-process-sentinel): Improve trace.
7740 (tramp-sh-handle-file-notify-add-watch)
7741 (tramp-sh-file-notify-process-filter)
7742 (tramp-sh-handle-file-notify-rm-watch)
7743 (tramp-get-remote-inotifywait): New defuns.
7744
7745 2013-07-03 Juri Linkov <juri@jurta.org>
7746
7747 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7748 call of `occur-read-primary-args' to interactive spec.
7749
7750 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7751 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7752
7753 2013-07-03 Matthias Meulien <orontee@gmail.com>
7754
7755 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7756 `Buffer-menu-multi-occur'. Add it to the menu.
7757 (Buffer-menu-mode): Document it in docstring.
7758 (Buffer-menu-multi-occur): New command. (Bug#14673)
7759
7760 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7761
7762 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7763 keywords and built-ins.
7764
7765 2013-07-03 Glenn Morris <rgm@gnu.org>
7766
7767 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7768
7769 Make info-xref checks case-sensitive by default
7770 * info.el (Info-find-node, Info-find-in-tag-table)
7771 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7772 Add option for exact case matching of nodes.
7773 * info-xref.el (info-xref): New custom group.
7774 (info-xref-case-fold): New option.
7775 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7776
7777 2013-07-03 Leo Liu <sdl.web@gmail.com>
7778
7779 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7780
7781 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7782
7783 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7784 middle of block statement initially, lower the depth. Remove
7785 FIXME comment, not longer valid. Remove middle of block statement
7786 detection, no need to do that anymore since we've been using
7787 `ruby-parse-region' here.
7788
7789 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7790
7791 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7792
7793 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7794
7795 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7796
7797 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7798
7799 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7800 (desktop-restore-in-current-display): New customization option.
7801 (desktop--excluded-frame-parameters): Add `font'.
7802 (desktop--save-frames): Rename from desktop--save-windows.
7803 (desktop--restore-in-this-display-p): New function.
7804 (desktop--make-full-frame): Remove unwanted width/height from
7805 full(width|height) frames.
7806 (desktop--restore-frames): Rename from desktop--restore-windows.
7807 Obey desktop-restore-current-display. Do not delete old frames or
7808 select a new frame unless we were able to restore at least one frame.
7809
7810 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7811
7812 * files.el (find-file-noselect): Simplify conditional expression.
7813
7814 * textmodes/remember.el (remember-append-to-file):
7815 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7816
7817 Add `remember-notes' function to store random notes across Emacs
7818 restarts.
7819 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7820 notes buffer (if any).
7821 (remember-notes): New command.
7822 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7823 New defcustoms for the `remember-notes' function.
7824 (remember-notes-save-and-bury-buffer): New command.
7825 (remember-notes-mode-map): New variable.
7826 (remember-mode): New minor mode.
7827 (remember-notes--kill-buffer-query): New function.
7828 * startup.el (initial-buffer-choice): Add notes to custom type.
7829
7830 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7831
7832 * bindings.el (right-char, left-char): Don't call sit-for, this is
7833 no longer needed. Use arithmetic comparison only for numerical
7834 arguments.
7835
7836 * international/mule-cmds.el (select-safe-coding-system):
7837 Handle the case of FROM being a string correctly. (Bug#14755)
7838
7839 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7840
7841 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7842 progression on degenerate tables.
7843 (shr-rescale-image): ImageMagick animated images currently don't work.
7844
7845 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7846
7847 Some fixes and improvements for desktop frame restoration.
7848 It is still experimental and disabled by default.
7849 * desktop.el (desktop--save-windows): Put the selected frame at
7850 the head of the list.
7851 (desktop--make-full-frame): New function.
7852 (desktop--restore-windows): Try to re-select the frame that was
7853 selected upon saving. Do not abort if some frames fail to restore,
7854 just show an error message and continue. Set up maximized frames
7855 so they have default non-maximized dimensions.
7856
7857 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7858
7859 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7860 Don't start heredoc inside a string or comment.
7861
7862 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7863
7864 * bindings.el (visual-order-cursor-movement): New defcustom.
7865 (right-char, left-char): Provide visual-order cursor motion by
7866 calling move-point-visually. Update the doc strings.
7867
7868 2013-06-28 Kenichi Handa <handa@gnu.org>
7869
7870 * international/mule.el (define-coding-system): New coding system
7871 properties :inhibit-null-byte-detection,
7872 :inhibit-iso-escape-detection, and :prefer-utf-8.
7873 (set-buffer-file-coding-system): If :charset-list property of
7874 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7875 appropriate for setting.
7876
7877 * international/mule-cmds.el (select-safe-coding-system):
7878 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7879 multibyte characters, return utf-8 (or one of its siblings).
7880
7881 * international/mule-conf.el (prefer-utf-8): New coding system.
7882 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7883 files.
7884
7885 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7886
7887 * net/shr.el (shr-render-region): New function.
7888
7889 * net/eww.el: Autoload `eww-browse-url'.
7890
7891 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7892
7893 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7894 Adapt to `package-desc-version' being a list.
7895 Use `package--ac-desc-version' to retrieve version from a package
7896 archive element.
7897
7898 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7899
7900 New experimental feature to save&restore window and frame setup.
7901 * desktop.el (desktop-save-windows): New defcustom.
7902 (desktop--saved-states): New var.
7903 (desktop--excluded-frame-parameters): New defconst.
7904 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7905 (desktop--restore-windows, desktop--save-windows): New functions.
7906 (desktop-save): Call `desktop--save-windows'.
7907 (desktop-read): Call `desktop--restore-windows'.
7908
7909 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7910
7911 * net/shr.el (add-face-text-property): Remove compat definition.
7912
7913 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7914
7915 * info.el (Info-try-follow-nearest-node): Move search for footnote
7916 above search for node name to prevent missing a footnote (bug#14717).
7917
7918 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7919
7920 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7921
7922 2013-06-27 Leo Liu <sdl.web@gmail.com>
7923
7924 * net/eww.el (eww-read-bookmarks): Check file size.
7925
7926 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7927
7928 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7929 advice--pending if newdef is nil or an autoload (bug#13820).
7930 (advice-mapc): New function.
7931
7932 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7933
7934 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7935 probably.
7936 (eww-mode-map): Add a menu bar.
7937 (eww-add-bookmark): New command.
7938 (eww-bookmark-mode): New mode and commands.
7939 (eww-add-bookmark): Remove newlines from the title.
7940 (eww-bookmark-browse): Don't bug out if it's the only window.
7941
7942 2013-06-26 Glenn Morris <rgm@gnu.org>
7943
7944 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7945 (hfy-size): Handle ttys. (Bug#14668)
7946
7947 * info-xref.el: Update for Texinfo 5 change in *note format.
7948 (info-xref-node-re, info-xref-note-re): New constants.
7949 (info-xref-check-buffer): Use info-xref-note-re.
7950
7951 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7952
7953 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7954
7955 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7956 nil terminate the loop (bug#14718).
7957
7958 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7959
7960 * net/eww.el: Rework history traversal. When going forward/back,
7961 put these actions into the history, too, so that they can be
7962 replayed.
7963 (eww-render): Move the history reset to the correct buffer.
7964
7965 2013-06-25 Juri Linkov <juri@jurta.org>
7966
7967 * files-x.el (modify-dir-local-variable): Change the header comment
7968 in the file with directory local variables. (Bug#14692)
7969
7970 * files-x.el (read-file-local-variable-value): Add `default'.
7971 (Bug#14710)
7972
7973 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7974
7975 * net/eww.el (eww-make-unique-file-name): Create a unique file
7976 name before saving to entering `y' accidentally asynchronously.
7977
7978 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7979
7980 * net/eww.el (eww-download): New command and keystroke.
7981
7982 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7983
7984 * net/eww.el (eww-copy-page-url): Change name of command.
7985
7986 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7987 be more consistent with Info and dired.
7988
7989 * net/eww.el (eww-mode-map): Ditto.
7990
7991 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7992
7993 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7994 packages from archives.
7995 (package-archive-contents): Change format; include obsolete packages.
7996 (package-desc): Use `dir' to mark builtin packages.
7997 (package--from-builtin): Set the `dir' field to `builtin'.
7998 (generated-autoload-file, version-control): Declare.
7999 (package-compute-transaction): Change first arg and return value to be
8000 lists of package-descs. Adjust to new package-archive-contents format.
8001 (package--add-to-archive-contents): Adjust to new
8002 package-archive-contents format.
8003 (package-download-transaction): Arg is now a list of package-descs.
8004 (package-install): If `pkg' is a package name, pass it as
8005 a requirement, so it is subject to the usual (e.g. disabled) checks.
8006 (describe-package): Accept package-desc as well.
8007 (describe-package-1): Describe a specific package-desc. Add links to
8008 other package-descs for the same package name.
8009 (package-menu-describe-package): Pass the actual package-desc.
8010 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8011 works correctly.
8012 (package-desc-status): New function.
8013 (package-menu--refresh): New function, extracted
8014 from package-menu--generate.
8015 (package-menu--generate): Use it.
8016 (package-delete): Update package-alist.
8017 (package-menu-execute): Don't call package-initialize.
8018
8019 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8020 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8021 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8022 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8023 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8024 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8025
8026 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8027
8028 * window.el (window--state-get-1): Workaround for bug#14527.
8029 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8030
8031 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8032
8033 * net/eww.el (eww-back-url): Implement the history by stashing all
8034 the data into a list.
8035 (eww-forward-url): Allow going forward in the history, too.
8036
8037 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8038
8039 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8040 for values and use read--expression for expressions (bug#14710).
8041 (read-file-local-variable): Avoid setq.
8042 (read-file-local-variable-mode): Use minor-mode-list.
8043
8044 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8045
8046 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8047 for DOI URLs.
8048
8049 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8050
8051 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8052 Update imenu-support when dialect changes.
8053
8054 2013-06-25 Leo Liu <sdl.web@gmail.com>
8055
8056 * ido.el (ido-read-internal): Allow forward slash on windows.
8057
8058 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8059
8060 * net/eww.el (eww): Start of strings is \\`, not ^.
8061
8062 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8063
8064 * net/shr.el (shr-browse-url): Fix interactive spec.
8065
8066 * net/eww.el (eww): Add a trailing slash to domain names.
8067
8068 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8069
8070 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8071
8072 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8073
8074 * net/shr.el (shr-browse-url): Use an external browser if given a
8075 prefix.
8076
8077 * net/eww.el (eww-external-browser): Move to shr.
8078
8079 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8080
8081 * net/eww.el (eww): Work more correctly for file: URLs.
8082 (eww-detect-charset): Allow quoted charsets.
8083 (eww-yank-page-url): New command and keystroke.
8084
8085 2013-06-24 Daiki Ueno <ueno@gnu.org>
8086
8087 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8088 file name of gpg executable.
8089 (epg-context-program): New function.
8090 (epg-context-home-directory): New function.
8091 (epg-context-set-program): New function.
8092 (epg-context-set-home-directory): New function.
8093 (epg--start): Use `epg-context-program' instead of
8094 'epg-gpg-program'.
8095 (epg--list-keys-1): Likewise.
8096
8097 2013-06-24 Leo Liu <sdl.web@gmail.com>
8098
8099 * ido.el (ido-read-internal): Fix bug#14620.
8100
8101 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8102
8103 * faces.el (face-documentation): Simplify.
8104 (read-face-attribute, tty-find-type, x-resolve-font-name):
8105 Use `string-match-p'.
8106 (list-faces-display): Use `string-match-p'. Simplify.
8107 (face-spec-recalc): Check face to avoid face alias loops.
8108 (read-color): Use `string-match-p' and non-capturing parenthesis.
8109
8110 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8111
8112 * net/shr.el (shr-rescale-image): Use the new
8113 :max-width/:max-height functionality.
8114
8115 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8116
8117 * net/eww.el (eww-search-prefix): New variable.
8118 (eww): Use it.
8119 (eww-external-browser): New variable.
8120 (eww-mode-map): New keystroke.
8121 (eww-browse-with-external-browser): New command.
8122
8123 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8124
8125 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8126
8127 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8128 Don't skip aligning the next header field when padding is 0;
8129 otherwise, field width is not respected unless the title is as
8130 wide as the field.
8131
8132 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8133
8134 * emacs-lisp/package.el (package-el-version): Remove.
8135 (package-process-define-package): Fix inf-loop.
8136 (package-install): Allow symbols as arguments again.
8137
8138 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8139
8140 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8141 add some more keyword-like methods.
8142 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8143
8144 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8145
8146 * bs.el (bs-buffer-show-mark): Make defvar-local.
8147 (bs-mode): Use setq-local.
8148
8149 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8150 (emacs-lock--try-unlocking): Make defvar-local.
8151
8152 2013-06-22 Glenn Morris <rgm@gnu.org>
8153
8154 * play/cookie1.el (cookie-apropos): Minor simplification.
8155
8156 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8157
8158 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8159
8160 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8161 `regexp-opt', it breaks the build during dumping.
8162
8163 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8164
8165 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8166 Highlight keyword-like methods on Kernel and Module with
8167 font-lock-builtin-face.
8168 (auto-mode-alist): Consolidate different entries into one regexp
8169 and add more *file-s.
8170
8171 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8172
8173 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8174
8175 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8176 (diary-entry): Use it in the action of this button type instead of
8177 diary-goto-entry.
8178
8179 * calendar/todo-mode.el: New version.
8180 (todo-add-category): Append new category to end of file and give
8181 it the highest number, instead of putting it at the beginning and
8182 giving it 0. Incorporate noninteractive functionality.
8183 (todo-forward-category): Adapt to 1-based category numbering.
8184 Allow skipping over archived categories.
8185 (todo-backward-category): Derive from todo-forward-category.
8186 (todo-backward-item, todo-forward-item): Make noninteractive and
8187 delegate interactive part to new commands. Make sensitive to done items.
8188 (todo-categories): Make value an alist of category names and
8189 vectors of item counts.
8190 (todo-category-beg): Make a defconst.
8191 (todo-category-number): Use 1 instead of 0 as initial value.
8192 (todo-category-select): Make sensitive to overlays, optional item
8193 highlighting and done items.
8194 (todo-delete-item): Make sensitive to overlays and marked and done items.
8195 (todo-edit-item): Make sensitive to overlays and editing of
8196 date/time header optional. Add format checks.
8197 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8198 no-op if point is not on an item. Advertise using todo-edit-quit.
8199 (todo-edit-mode): Make sensitive to new format, font-locking, and
8200 multiple todo files.
8201 (todo-insert-item, todo-insert-item-here): Derive from
8202 todo-basic-insert-item and extend functionality.
8203 (todo-item-end, todo-item-start): Make sensitive to done items.
8204 (todo-item-string): Don't return text properties. Restore point.
8205 (todo-jump-to-category): Make sensitive to multiple todo files and
8206 todo archives. Use extended category completion.
8207 (todo-lower-item, todo-raise-item): Rename to *-priority and
8208 derive from todo-set-item-priority.
8209 (todo-mode): Derive from special-mode. Make sensitive to new
8210 format, font-locking and multiple todo files. Make read-only.
8211 (todo-mode-map): Don't suppress digit keys, so they can supply
8212 prefix arguments. Add many new key bindings.
8213 (todo-prefix): Insert as an overlay instead of file text.
8214 Change semantics from diary date expression to purely visual mark.
8215 (todo-print): Rename to todo-print-buffer. Make buffer display
8216 features printable. Remove option to restrict number of items
8217 printed. Add option to print to file.
8218 (todo-print-function): Rename to todo-print-buffer-function.
8219 (todo-quit): Extend to handle exiting new todo modes.
8220 (todo-remove-item): Make sensitive to overlays.
8221 (todo-save): Extend to buffers of filtered items.
8222 (todo-show): Make sensitive to done items, multiple todo files and
8223 new todo modes. Offer to convert legacy todo file before creating
8224 first new todo file.
8225 (todo-show-priorities): Rename to todo-top-priorities.
8226 Change semantics of value 0.
8227 (todo-top-priorities): Rename to todo-filter-top-priorities,
8228 derive from todo-filter-items and extend functionality.
8229 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8230 and extend functionality to other types of filtered items.
8231 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8232 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8233 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8234 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8235 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8236 (todo-edit-mode-hook, todo-entry-prefix-function)
8237 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8238 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8239 (todo-initials, todo-insert-threshold, todo-item-string-start)
8240 (todo-line-string, todo-menu, todo-mode-hook)
8241 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8242 (todo-print-priorities, todo-remove-separator)
8243 (todo-save-top-priorities-too, todo-string-count-lines)
8244 (todo-string-multiline-p, todo-time-string-format)
8245 (todo-tmp-buffer-name): Remove.
8246 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8247 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8248 (todo-edit-category-diary-inclusion)
8249 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8250 (todo-edit-file, todo-edit-item-date-day)
8251 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8252 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8253 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8254 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8255 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8256 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8257 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8258 (todo-filter-top-priorities-multifile, todo-find-archive)
8259 (todo-find-filtered-items-file, todo-go-to-source-item)
8260 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8261 (todo-jump-to-archive-category, todo-lower-category)
8262 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8263 (todo-move-category, todo-move-item, todo-next-button)
8264 (todo-next-item, todo-padded-string, todo-powerset)
8265 (todo-previous-button, todo-previous-item)
8266 (todo-print-buffer-to-file, todo-raise-category)
8267 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8268 (todo-set-category-number, todo-set-item-priority)
8269 (todo-set-top-priorities-in-category)
8270 (todo-set-top-priorities-in-file, todo-show-categories-table)
8271 (todo-sort-categories-alphabetically-or-numerically)
8272 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8273 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8274 (todo-toggle-item-header, todo-toggle-item-highlighting)
8275 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8276 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8277 (todo-unarchive-items, todo-unmark-category): New commands.
8278 (todo-absolute-file-name, todo-add-to-buffer-list)
8279 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8280 (todo-basic-insert-item, todo-category-completions)
8281 (todo-category-number, todo-category-string-matcher-1)
8282 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8283 (todo-check-format, todo-clear-matches)
8284 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8285 (todo-current-category, todo-date-string-matcher)
8286 (todo-define-insertion-command, todo-diary-expired-matcher)
8287 (todo-diary-goto-entry, todo-diary-item-p)
8288 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8289 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8290 (todo-done-item-section-p, todo-done-separator)
8291 (todo-done-string-matcher, todo-files, todo-filter-items)
8292 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8293 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8294 (todo-insert-category-line, todo-insert-item-from-calendar)
8295 (todo-insert-sort-button, todo-insert-with-overlays)
8296 (todo-insertion-command-name, todo-insertion-key-bindings)
8297 (todo-label-to-key, todo-longest-category-name-length)
8298 (todo-make-categories-list, todo-mode-external-set)
8299 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8300 (todo-modes-set-3, todo-multiple-filter-files)
8301 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8302 (todo-read-category, todo-read-date, todo-read-dayname)
8303 (todo-read-file-name, todo-read-time)
8304 (todo-reevaluate-category-completions-files-defcustom)
8305 (todo-reevaluate-default-file-defcustom)
8306 (todo-reevaluate-filelist-defcustoms)
8307 (todo-reevaluate-filter-files-defcustom)
8308 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8309 (todo-reset-done-separator, todo-reset-done-separator-string)
8310 (todo-reset-done-string, todo-reset-global-current-todo-file)
8311 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8312 (todo-reset-prefix, todo-set-categories)
8313 (todo-set-date-from-calendar, todo-set-show-current-file)
8314 (todo-set-top-priorities, todo-short-file-name)
8315 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8316 (todo-total-item-counts, todo-update-buffer-list)
8317 (todo-update-categories-display, todo-update-categories-sexp)
8318 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8319 New functions.
8320 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8321 New major modes.
8322 (todo-categories, todo-display, todo-edit, todo-faces)
8323 (todo-filtered): New defgroups.
8324 (todo-archived-only, todo-button, todo-category-string, todo-date)
8325 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8326 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8327 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8328 (todo-add-item-if-new-category, todo-always-add-time-string)
8329 (todo-categories-align, todo-categories-archived-label)
8330 (todo-categories-category-label, todo-categories-diary-label)
8331 (todo-categories-done-label, todo-categories-number-separator)
8332 (todo-categories-todo-label, todo-categories-totals-label)
8333 (todo-category-completions-files, todo-completion-ignore-case)
8334 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8335 (todo-done-separator-string, todo-done-string)
8336 (todo-files-function, todo-filter-done-items, todo-filter-files)
8337 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8338 (todo-initial-category, todo-initial-file, todo-item-mark)
8339 (todo-legacy-date-time-regexp, todo-mode-line-function)
8340 (todo-nondiary-marker, todo-number-prefix)
8341 (todo-print-buffer-function, todo-show-current-file)
8342 (todo-show-done-only, todo-show-first, todo-show-with-done)
8343 (todo-skip-archived-categories, todo-top-priorities-overrides)
8344 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8345 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8346 New defcustoms.
8347 (todo-category-done, todo-date-pattern, todo-date-string-start)
8348 (todo-diary-items-buffer, todo-done-string-start)
8349 (todo-filtered-items-buffer, todo-item-start)
8350 (todo-month-abbrev-array, todo-month-name-array)
8351 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8352 (todo-top-priorities-buffer): New defconsts.
8353 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8354 (todo-categories-with-marks, todo-category-string-face)
8355 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8356 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8357 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8358 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8359 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8360 (todo-font-lock-keywords, todo-global-current-todo-file)
8361 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8362 (todo-insertion-commands-args)
8363 (todo-insertion-commands-args-genlist)
8364 (todo-insertion-commands-names, todo-insertion-map)
8365 (todo-key-bindings-t, todo-key-bindings-t+a)
8366 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8367 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8368 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8369 (todo-visited): New variables.
8370
8371 2013-06-21 Glenn Morris <rgm@gnu.org>
8372
8373 * play/cookie1.el (cookie-apropos): Add optional display argument.
8374 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8375 (psychoanalyze-pinhead): Use cookie-doctor.
8376
8377 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8378
8379 * emacs-lisp/package.el (tar-get-file-descriptor)
8380 (tar--extract): Declare.
8381
8382 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8383
8384 Extend flymake's warning predicate to be a function (bug#14217).
8385 * progmodes/flymake.el (flymake-warning-predicate): New.
8386 (flymake-parse-line): Use it.
8387 (flymake-warning-re): Make obsolete alias to
8388 `flymake-warning-predicate'.
8389
8390 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8393 (package-obsolete-list): Remove.
8394 (package-activate): Remove min-version argument. Add `force' argument.
8395 Adjust to new package-alist format.
8396 (package-mark-obsolete): Remove.
8397 (package-unpack): Force reload of the package's autoloads.
8398 (package-installed-p): Check builtins if the installed package is not
8399 recent enough.
8400 (package-initialize): Don't reset package-obsolete-list.
8401 Don't specify which package version to activate.
8402 (package-process-define-package, describe-package-1)
8403 (package-menu--generate): Adjust to new package-alist format.
8404
8405 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8406
8407 * allout-widgets.el (allout-widgets-mode-off)
8408 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8409 (allout-widgets-post-command-business)
8410 (allout-widgets-after-copy-or-kill-function)
8411 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8412 (allout-decorate-item-and-context)
8413 (allout-graphics-modification-handler): Fix typos in docstrings.
8414 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8415
8416 * cmuscheme.el (scheme-start-file): Doc fix.
8417 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8418 (scheme-input-filter): Use `string-match-p'.
8419
8420 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8421
8422 * dired-x.el: Use Dired consistently in docstrings.
8423
8424 * dired.el: Use Dired consistently in docstrings.
8425 (dired-readin, dired-mode): Use `setq-local'.
8426 (dired-switches-alist): Make defvar-local.
8427 (dired-buffers-for-dir): Use `zerop'.
8428 (dired-safe-switches-p, dired-switches-escape-p)
8429 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8430 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8431 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8432 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8433 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8434 (dired-toggle-marks, dired-mark-files-containing-regexp)
8435 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8436 (dired-flag-auto-save-files, dired-flag-backup-files):
8437 Use `looking-at-p'.
8438 (dired-mark-files-regexp, dired-build-subdir-alist):
8439 Use `string-match-p', `looking-at-p'.
8440
8441 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8442 (direct-print-region-helper): Use `string-match-p'.
8443
8444 2013-06-21 Leo Liu <sdl.web@gmail.com>
8445
8446 * comint.el (comint-redirect-results-list-from-process):
8447 Fix infinite loop.
8448
8449 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8450
8451 * net/eww.el (eww-update-header-line-format): Quote % characters.
8452
8453 2013-06-21 Glenn Morris <rgm@gnu.org>
8454
8455 * play/cookie1.el (cookie): New custom group.
8456 (cookie-file): New option.
8457 (cookie-check-file): New function.
8458 (cookie): Make it interactive. Make start and end messages optional.
8459 Interactively, display the result. Default to cookie-file.
8460 (cookie-insert): Default to cookie-file.
8461 (cookie-snarf): Make start and end messages optional.
8462 Default to cookie-file. Use with-temp-buffer.
8463 (cookie-read): Rename from read-cookie.
8464 Make start and end messages optional. Default to cookie-file.
8465 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8466 Do not autoload it.
8467 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8468 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8469
8470 2013-06-21 Leo Liu <sdl.web@gmail.com>
8471
8472 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8473
8474 2013-06-21 Glenn Morris <rgm@gnu.org>
8475
8476 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8477
8478 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8479 Daniel Hackney <dan@haxney.org>
8480
8481 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8482 Consolidate the single-file vs tarball code.
8483 (package-desc-suffix): New function.
8484 (package-desc-full-name): Don't bother inlining it.
8485 (package-load-descriptor): Return the new package-desc.
8486 (package-mark-obsolete): Remove unused arg `package'.
8487 (package-unpack): Make it work for single files as well.
8488 Make it update package-alist.
8489 (package--make-autoloads-and-stuff): Rename from
8490 package--make-autoloads-and-compile. Don't compile any more.
8491 (package--compile): New function.
8492 (package-generate-description-file): New function, extracted from
8493 package-unpack-single.
8494 (package-unpack-single): Remove.
8495 (package--with-work-buffer): Add indentation and debugging info.
8496 (package-download-single): Remove.
8497 (package-install-from-archive): Rename from package-download-tar, make
8498 it take a pkg-desc, and make it work for single files as well.
8499 (package-download-transaction): Simplify.
8500 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8501 external tar program.
8502 (package-install-from-buffer): Remove `pkg-desc' argument.
8503 Use package-tar-file-info for tar-mode buffers.
8504 (package-install-file): Simplify accordingly.
8505 (package-archive-base): Change to take a pkg-desc.
8506 * tar-mode.el (tar--check-descriptor): New function, extracted from
8507 tar-get-descriptor.
8508 (tar-get-descriptor): Use it.
8509 (tar-get-file-descriptor): New function.
8510 (tar--extract): New function, extracted from tar-extract.
8511 (tar--extract): Use it.
8512 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8513 case the summary uses non-ascii. Adjust to new calling convention of
8514 package-tar-file-info.
8515
8516 2013-06-21 Leo Liu <sdl.web@gmail.com>
8517
8518 * comint.el (comint-redirect-results-list-from-process):
8519 Fix random delay. (Bug#14681)
8520
8521 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8522
8523 * profiler.el (profiler-format-number): Use log, not log10.
8524
8525 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8526
8527 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8528
8529 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8530
8531 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8532 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8533 yet available.
8534 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8535 (AUTOGENEL): ... here.
8536 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8537 (cl--defsubst-expand): Use it.
8538
8539 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8540
8541 * subr.el (log10): Move here from C code, and declare as obsolete.
8542 All uses of (log10 X) replaced with (log X 10).
8543
8544 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8545
8546 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8547 Declare with `defvar-local'.
8548 (tabulated-list-use-header-line, tabulated-list-entries)
8549 (tabulated-list-padding, tabulated-list-printer)
8550 (tabulated-list-sort-key): Declare with `defvar-local'.
8551 (tabulated-list-init-header, tabulated-list-print-fake-header):
8552 Use `setq-local'.
8553
8554 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8555
8556 * arc-mode.el (archive-mode): Add `archive-write-file' to
8557 `write-contents-functions' also for remote files. (Bug#14652)
8558
8559 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8560
8561 * cus-edit.el (custom-commands): Fix typos.
8562 (custom-display): Fix tooltip text.
8563 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8564 Fix typos in docstrings.
8565 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8566 (custom-unlispify-menu-entry, custom-magic-value-create)
8567 (custom-add-see-also, custom-group-value-create): Use ?\s.
8568 (custom-guess-type, customize-apropos, editable-field)
8569 (custom-face-value-create): Use `string-match-p'.
8570 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8571
8572 * custom.el (custom-load-symbol): Use `string-match-p'.
8573
8574 * ansi-color.el: Convert to lexical binding.
8575 (ansi-colors): Fix URL.
8576 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8577 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8578 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8579
8580 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8581
8582 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8583
8584 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8585
8586 2013-06-19 Tom Tromey <tromey@redhat.com>
8587
8588 * net/eww.el (eww-top-url): Remove.
8589 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8590 (eww-render): Set new variables. Don't set eww-top-url.
8591 (eww-handle-link): Handle "prev", "home", and "contents".
8592 Downcase the rel text.
8593 (eww-top-url): Choose best top URL.
8594
8595 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8596
8597 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8598 relying in widget.el. Using widget.el leads to too many
8599 user interface inconsistencies.
8600 (eww-self-insert): Implement entering commands in text fields.
8601 (eww-process-text-input): New function to make text input field editing
8602 work.
8603 (eww-submit): Rewrite to use the new-style form methods.
8604 (eww-select-display): Display the correct selected item.
8605 (eww-change-select): Implement changing the select value.
8606 (eww-toggle-checkbox): Implement radio/checkboxes.
8607 (eww-update-field): Fix compilation error.
8608 (eww-tag-textarea): Implement <textarea>.
8609
8610 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8611 we don't shadow mode-specific bindings.
8612
8613 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8614 nothing to push.
8615
8616 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8617
8618 2013-06-19 Glenn Morris <rgm@gnu.org>
8619
8620 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8621
8622 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8623
8624 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8625 not needed.
8626
8627 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8628
8629 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8630
8631 * net/browse-url.el (browse-url-browser-function):
8632 `eww-browse-url' has the right calling signature, `eww' does not.
8633
8634 2013-06-19 Glenn Morris <rgm@gnu.org>
8635
8636 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8637 Only eval autoloaded macros.
8638 (byte-compile-autoload): Only give the macro warning for macros.
8639
8640 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8641 (ps-underlined-faces): Declare.
8642
8643 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8644 (speedbar-add-supported-extension): Declare.
8645
8646 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8647 Don't include a date stamp in the header of the generated file;
8648 it leads to needless differences between output files.
8649
8650 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8651
8652 * net/secrets.el (secrets-struct-secret-content-type):
8653 Replace check of introspection data by a test call of "CreateItem".
8654 Some servers do not offer introspection.
8655
8656 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8657
8658 * electric.el (electric-pair-mode): Improve interaction with
8659 electric-layout-mode.
8660 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8661 (electric-pair-syntax): Use text-mode-syntax-table in comments
8662 and strings.
8663 (electric-pair--insert): New function.
8664 (electric-pair-post-self-insert-function): Use it and
8665 electric--after-char-pos.
8666
8667 2013-06-19 Leo Liu <sdl.web@gmail.com>
8668
8669 * progmodes/octave.el (octave-help): Fix regexp.
8670
8671 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8672
8673 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8674 (shr-table-horizontal-line): Allow nil as a value, and change the
8675 default.
8676 (shr-insert-table-ruler): Respect the nil value.
8677
8678 2013-06-18 Tom Tromey <tromey@barimba>
8679
8680 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8681 New defvars.
8682 (eww-open-file): New defun.
8683 (eww-render): Initialize new variables.
8684 (eww-display-html): Handle "link" and "a".
8685 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8686 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8687 (eww-back-url): Rename from eww-previous-url.
8688 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8689 New defuns.
8690
8691 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8692
8693 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8694 Distinguish ternary operator tokens from slash symbol and slash
8695 char literal.
8696
8697 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8698
8699 Convert symbol prettification into minor mode and global minor mode.
8700
8701 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8702 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8703 (prettify-symbols--keywords): Rename from
8704 `prog-prettify-symbols-alist' and make a local defvar.
8705 (prettify-symbols--compose-symbol): Rename from
8706 `prog--prettify-font-lock-compose-symbol'.
8707 (prettify-symbols--make-keywords): Rename from
8708 `prog-prettify-font-lock-symbols-keywords' and simplify.
8709 (prog-prettify-install): Remove.
8710 (prettify-symbols-mode): New minor mode, based on
8711 `prog-prettify-install'.
8712 (turn-on-prettify-symbols-mode): New function.
8713 (global-prettify-symbols-mode): New globalized minor mode.
8714
8715 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8716 * progmodes/cfengine.el (cfengine3-mode):
8717 * progmodes/perl-mode.el (perl-mode): Don't call
8718 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8719
8720 2013-06-18 Juri Linkov <juri@jurta.org>
8721
8722 * files-x.el (modify-file-local-variable-message): New function.
8723 (modify-file-local-variable)
8724 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8725 and call `modify-file-local-variable-message' when it's non-nil.
8726 (add-file-local-variable, delete-file-local-variable)
8727 (add-file-local-variable-prop-line)
8728 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8729 and use it. (Bug#9820)
8730
8731 2013-06-18 Juri Linkov <juri@jurta.org>
8732
8733 * emulation/vi.el (vi-shell-op):
8734 * emulation/vip.el (vip-execute-com, ex-command):
8735 * emulation/viper-cmd.el (viper-exec-bang):
8736 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8737 the call of `shell-command-on-region'. (Bug#14637)
8738
8739 * simple.el (shell-command-on-region): Doc fix.
8740
8741 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8742
8743 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8744 (bug#14633).
8745
8746 2013-06-18 Glenn Morris <rgm@gnu.org>
8747
8748 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8749
8750 * newcomment.el (comment-search-forward, comment-search-backward):
8751 Doc fix. (Bug#14376)
8752
8753 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8754
8755 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8756 (buffer-face-mode-invoke): Doc fix.
8757
8758 2013-06-18 Matthias Meulien <orontee@gmail.com>
8759
8760 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8761 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8762
8763 2013-06-18 Glenn Morris <rgm@gnu.org>
8764
8765 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8766 Replace obsolete function generic-make-keywords with its expansion.
8767
8768 * progmodes/python.el (ffap-alist): Declare.
8769
8770 * textmodes/reftex.el (bibtex-mode-map): Declare.
8771
8772 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8773
8774 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8775 (package-unpack, package-unpack-single): Return the pkg-dir.
8776 (package-download-transaction): Use it to update package-alist.
8777
8778 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8779
8780 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8781 possible choice.
8782
8783 2013-06-17 Juri Linkov <juri@jurta.org>
8784
8785 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8786
8787 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8788
8789 * emacs-lisp/package.el (package-load-descriptor):
8790 Remove `with-syntax-table' call, `read' doesn't need it.
8791 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8792
8793 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8794
8795 * startup.el (command-line): Expand package name returned by
8796 `package--description-file' (bug#14639).
8797
8798 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8799
8800 * emacs-lisp/package.el (package-load-descriptor): Do not call
8801 `emacs-lisp-mode', just use its syntax table.
8802
8803 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8804
8805 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8806 `font-lock-extra-managed-props' if any prettifying keyword is added.
8807 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8808 (prog-mode): Use `setq-local'.
8809
8810 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8811
8812 * international/characters.el (standard-case-table): Set syntax of ?»
8813 and ?« to punctuation.
8814
8815 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8816
8817 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8818 Save relevant match data before calling `syntax-ppss' (bug#14595).
8819
8820 2013-06-15 Juri Linkov <juri@jurta.org>
8821
8822 * files-x.el (modify-file-local-variable-prop-line): Add local
8823 variables to the end of the existing comment on the first line.
8824 Use `file-auto-mode-skip' to skip interpreter magic line,
8825 and also skip XML declaration.
8826
8827 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8828
8829 * startup.el (package--builtin-versions): New var.
8830 (package-subdirectory-regexp): Remove.
8831 (package--description-file): Hard code its value instead.
8832
8833 * emacs-lisp/package.el: Don't activate packages older than builtin.
8834 (package-obsolete-list): Rename from package-obsolete-alist, and make
8835 it into a simple list of package-desc.
8836 (package-strip-version): Remove.
8837 (package-built-in-p): Use package--builtin-versions.
8838 (package-mark-obsolete): Simplify.
8839 (package-process-define-package): Mark it obsolete if older than the
8840 builtin version.
8841 (package-handle-response): Use line-end-position.
8842 (package-read-archive-contents, package--download-one-archive):
8843 Simplify.
8844 (package--add-to-archive-contents): Skip if older than the builtin or
8845 installed version.
8846 (package-menu-describe-package): Fix last change.
8847 (package-list-unversioned): New var.
8848 (package-menu--generate): Use it.
8849
8850 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8851 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8852 (autoload-builtin-package-versions): New variable.
8853 (autoload-generate-file-autoloads): Use them.
8854 Remove the list of autoloaded functions/macros from the
8855 (autoload...) comments.
8856
8857 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8858
8859 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8860
8861 * simple.el (line-move-partial): Don't jump to the next screen
8862 line as soon as it becomes visible. Instead, continue enlarging
8863 the vscroll until the portion of a tall screen line that's left on
8864 display is about the height of the frame's default font.
8865 (Bug#14567)
8866
8867 2013-06-15 Glenn Morris <rgm@gnu.org>
8868
8869 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8870 compilation-error-regexp-alist void, or local while let-bound.
8871
8872 * progmodes/make-mode.el (makefile-mode-syntax-table):
8873 Treat "=" as punctuation. (Bug#14614)
8874
8875 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8876
8877 * help-fns.el (describe-variable):
8878 Add extra line for permanent-local variables.
8879
8880 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8881
8882 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8883 Add export, import, library. (Bug#9164)
8884 (library): Set indent function.
8885
8886 2013-06-14 Glenn Morris <rgm@gnu.org>
8887
8888 * term/xterm.el (xterm--query):
8889 Stop after first matching handler. (Bug#14615)
8890
8891 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8892
8893 Add support for dired in saveplace.
8894 * dired.el (dired-initial-position-hook): New variable.
8895 (dired-initial-position): Call hook to place cursor position.
8896 * saveplace.el (save-place-to-alist): Add dired position.
8897 (save-place-dired-hook): New function.
8898
8899 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8900
8901 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8902 through a symbol rather than letrec.
8903
8904 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8905 (package-desc): Add `dir' field.
8906 (package-desc-full-name): New function.
8907 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8908 (package-maybe-load-descriptor): Remove.
8909 (package-load-all-descriptors): Just call package-load-descriptor.
8910 (package--disabled-p): New function.
8911 (package-desc-vers, package-desc-doc): Remove aliases.
8912 (package--dir): Remove function.
8913 (package-activate): Check if a package is disabled.
8914 (package-process-define-package): New function, extracted from
8915 define-package.
8916 (define-package): Turn into a place holder.
8917 (package-unpack-single, package-tar-file-info):
8918 Use package--description-file.
8919 (package-compute-transaction): Use package--disabled-p.
8920 (package-download-transaction): Don't call
8921 package-maybe-load-descriptor since they're all loaded anyway.
8922 (package-install): Change argument to be a pkg-desc.
8923 (package-delete): Use a single pkg-desc argument.
8924 (describe-package-1): Use package-desc-dir instead of package--dir.
8925 Use package-desc property instead of package-symbol.
8926 (package-install-button-action): Adjust accordingly.
8927 (package--push): Rewrite.
8928 (package-menu--print-info): Adjust accordingly. Change the ID format
8929 to be a pkg-desc.
8930 (package-menu-describe-package, package-menu-get-status)
8931 (package-menu--find-upgrades, package-menu-mark-upgrades)
8932 (package-menu-execute, package-menu--name-predicate):
8933 Adjust accordingly.
8934 * startup.el (package--description-file): New function.
8935 (command-line): Use it.
8936 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8937 Use package-desc-version.
8938
8939 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8940 (byte-compile-preprocess): Use it.
8941 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8942 can't quite recognize.
8943 (byte-compile-add-to-list): Remove.
8944 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8945 (cconv-closure-convert): Add assertion.
8946
8947 * emacs-lisp/map-ynp.el: Use lexical-binding.
8948 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8949 Factor out some repeated code.
8950
8951 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8952
8953 * subr.el (with-eval-after-load): New macro.
8954 (eval-after-load): Allow form to be a function.
8955 take advantage of lexical-binding.
8956 (do-after-load-evaluation): Use dolist and adjust to new format.
8957 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8958
8959 2013-06-13 Juri Linkov <juri@jurta.org>
8960
8961 * replace.el (perform-replace): Display "symbol " and other search
8962 modes from `isearch-message-prefix' in the *Help* buffer.
8963
8964 * isearch.el (isearch-query-replace): Add " symbol" and other
8965 possible search modes from `isearch-message-prefix' to the prompt.
8966 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8967 when reading a regexp to collect.
8968
8969 2013-06-13 Juri Linkov <juri@jurta.org>
8970
8971 * isearch.el (word-search-regexp): Match whitespace if the search
8972 string begins or ends in whitespace. The LAX arg is applied to
8973 both ends of the search string. Use `regexp-quote' and explicit
8974 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8975 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8976 boundaries are replaced with symbol boundaries, and characters
8977 between symbols match non-word non-symbol syntax. (Bug#14602)
8978
8979 2013-06-13 Juri Linkov <juri@jurta.org>
8980
8981 * isearch.el (isearch-del-char): Don't exceed the length of
8982 `isearch-string' by the prefix arg. (Bug#14563)
8983
8984 2013-06-13 Juri Linkov <juri@jurta.org>
8985
8986 * isearch.el (isearch-yank-word, isearch-yank-line)
8987 (isearch-char-by-name, isearch-quote-char)
8988 (isearch-printing-char, isearch-process-search-char):
8989 Add optional count prefix arg. (Bug#14563)
8990
8991 * international/isearch-x.el
8992 (isearch-process-search-multibyte-characters):
8993 Add optional count prefix arg.
8994
8995 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8996
8997 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8998 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8999 lexical-binding.
9000
9001 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9002
9003 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9004
9005 2013-06-13 Glenn Morris <rgm@gnu.org>
9006
9007 * startup.el (tty-handle-args):
9008 Don't just discard "--" and anything after. (Bug#14608)
9009
9010 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9011
9012 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9013
9014 Implement changes in Secret Service API. Make it backward compatible.
9015 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9016 (secrets-create-item): Use it. Prefix properties with interface.
9017
9018 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9019
9020 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9021 (term-emulate-terminal): Respect term-suppress-hard-newline.
9022
9023 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9024
9025 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9026 Only remove a `thumb-file' overlay. (Bug#14548)
9027
9028 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9029
9030 * mail/reporter.el (reporter-submit-bug-report):
9031 Handle missing package-name. (Bug#14600)
9032
9033 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9034
9035 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9036 (reftex-citation-prompt, reftex-default-bibliography)
9037 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9038 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9039 (reftex-bib-sort-author, reftex-bib-sort-year)
9040 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9041 (reftex-extract-bib-entries-from-thebibliography)
9042 (reftex-get-bibkey-default, reftex-get-bib-names)
9043 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9044 (reftex-format-bib-entry, reftex-parse-bibitem)
9045 (reftex-format-bibitem, reftex-do-citation)
9046 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9047 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9048 (reftex-insert-bib-matches, reftex-format-citation)
9049 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9050 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9051 existing comments into docstrings.
9052
9053 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9054
9055 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9056
9057 2013-06-12 Andreas Schwab <schwab@suse.de>
9058
9059 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9060 for auto-save files.
9061
9062 2013-06-12 Glenn Morris <rgm@gnu.org>
9063
9064 * ido.el (ido-delete-ignored-files): Remove.
9065 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9066 Go back to calling ido-ignore-item-p directly.
9067
9068 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9069
9070 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9071
9072 * ido.el (ido-delete-ignored-files): New function,
9073 split from ido-make-file-list-1.
9074 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9075 (ido-make-file-list-1): Use ido-delete-ignored-files.
9076
9077 2013-06-12 Leo Liu <sdl.web@gmail.com>
9078
9079 * progmodes/octave.el (inferior-octave-startup)
9080 (inferior-octave-completion-table)
9081 (inferior-octave-track-window-width-change)
9082 (octave-eldoc-function-signatures, octave-help)
9083 (octave-find-definition): Use single quoted strings.
9084 (inferior-octave-startup-args): Change default value.
9085 (inferior-octave-startup): Do not hard code "-i" and
9086 "--no-line-editing".
9087 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9088 (inferior-octave-directory-tracker): Use it.
9089 (octave-goto-function-definition): Robustify.
9090 (octave-help): Support highlighting operators in 'See also'.
9091 (octave-find-definition): Find subfunctions only in Octave mode.
9092
9093 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9094
9095 * help-fns.el (help-fns--compiler-macro): If the handler function is
9096 named, then put a link to it.
9097 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9098 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9099 (cl-typep): Use it.
9100 (cl-eval-when): Simplify debug spec.
9101 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9102 compiler-macro function instead of setting `compiler-macro-file'.
9103
9104 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9105
9106 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9107 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9108
9109 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9110 Daniel Hackney <dan@haxney.org>
9111
9112 First part of Daniel Hackney's patch to package.el.
9113 * emacs-lisp/package.el: Use defstruct.
9114 (package-desc): New, main struct.
9115 (package--bi-desc, package--ac-desc): New structs, used to describe the
9116 format in external files.
9117 (package-desc-vers): Replace with package-desc-version accessor.
9118 (package-desc-doc): Replace with package-desc-summary accessor.
9119 (package-activate-1): Remove `package' arg since the pkg-vec now
9120 includes the name.
9121 (define-package): Use package-desc-from-define.
9122 (package-unpack-single): Change file-name arg to be a symbol.
9123 (package--add-to-archive-contents): Use package-desc-create and new
9124 accessor functions to package--ac-desc.
9125 (package-buffer-info, package-tar-file-info): Return a package-desc.
9126 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9127 arg to be a package-desc.
9128 (package-install-file): Adjust accordingly. Use \' to match EOS.
9129 (package--from-builtin): New function.
9130 (describe-package-1, package-menu--generate): Use it.
9131 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9132 (package-generate-autoloads): Idem and return the name of the file.
9133 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9134 Change pkg-info arg to be a package-desc.
9135 Use package-make-ac-desc.
9136 (package-upload-file): Use \' to match EOS.
9137 * finder.el (finder-compile-keywords): Use package-make-builtin.
9138
9139 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * vc/vc.el (vc-deduce-fileset): Change error message.
9142 (vc-read-backend): New function.
9143 (vc-next-action): Use it.
9144
9145 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9146
9147 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9148 (prolog-font-lock-keywords): Use regexp-opt instead.
9149 Don't manually highlight strings.
9150 (prolog-mode-variables): Simplify comment-start-skip.
9151 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9152
9153 * emacs-lisp/generic.el (generic--normalise-comments)
9154 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9155 (generic-mode-set-comments): Use them.
9156 (generic-bracket-support): Use setq-local.
9157 (generic-make-keywords-list): Declare obsolete.
9158
9159 2013-06-11 Glenn Morris <rgm@gnu.org>
9160
9161 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9162 Prettify after setting font-lock-defaults. (Bug#14574)
9163
9164 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9165
9166 * replace.el (query-replace, occur-read-regexp-defaults-function)
9167 (replace-search):
9168 * subr.el (declare-function, number-sequence, local-set-key)
9169 (substitute-key-definition, locate-user-emacs-file)
9170 (with-silent-modifications, split-string, eval-after-load):
9171 Fix typos, remove unneeded backslashes and reflow some docstrings.
9172
9173 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9174
9175 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9176 default for Elisp files.
9177
9178 2013-06-11 Glenn Morris <rgm@gnu.org>
9179
9180 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9181 although define-derived-mode was doing this anyway. (Bug#14583)
9182
9183 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9184
9185 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9186 Fix make-variable-buffer-local call to refer to the correct variable.
9187
9188 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9189
9190 * eshell/em-term.el (eshell-visual-commands)
9191 (eshell-visual-subcommands, eshell-visual-options):
9192 Add summary line to docstrings. Add cross-references.
9193
9194 2013-06-10 Glenn Morris <rgm@gnu.org>
9195
9196 * epa.el (epa-read-file-name): New function. (Bug#14510)
9197 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9198
9199 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9200
9201 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9202 output redirection to be ignored with visual commands.
9203
9204 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9205
9206 * eshell/em-term.el (eshell-visual-command-p): New function.
9207 (eshell-term-initialize): Move long lambda to separate function
9208 eshell-visual-command-p.
9209 * eshell/em-dirs.el (eshell-dirs-initialise):
9210 * eshell/em-script.el (eshell-script-initialize):
9211 Add missing #' to lambda.
9212
9213 2013-06-08 Leo Liu <sdl.web@gmail.com>
9214
9215 * progmodes/octave.el (octave-add-log-current-defun): New function.
9216 (octave-mode): Set add-log-current-defun-function.
9217 (octave-goto-function-definition): Do not move point if not found.
9218 (octave-find-definition): Enhance to try subfunctions first.
9219
9220 2013-06-08 Glenn Morris <rgm@gnu.org>
9221
9222 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9223 (byte-compile-backward-char, byte-compile-backward-word):
9224 Improve previous change, to handle non-explicit nil.
9225
9226 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9229 (smie--opener/closer-at-point): New function.
9230 (smie--matching-block-data): Use it. Don't match from right after an
9231 opener or right before a closer. Obey smie-blink-matching-inners.
9232 Don't signal a mismatch for repeated inners like "switch..case..case".
9233
9234 2013-06-07 Leo Liu <sdl.web@gmail.com>
9235
9236 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9237 to t. (Bug#14303)
9238 (octave-function-header-regexp): Fix. (Bug#14570)
9239 (octave-help-mode-finish-hook, octave-help-mode-finish):
9240 Remove. Just use temp-buffer-show-hook.
9241
9242 * newcomment.el (comment-search-backward): Revert last change.
9243 (Bug#14434)
9244
9245 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9246
9247 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9248
9249 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9250 through xargs, to avoid failure due to MS-Windows limitations on
9251 command-line length.
9252
9253 2013-06-06 Glenn Morris <rgm@gnu.org>
9254
9255 * font-lock.el (lisp-font-lock-keywords-2):
9256 Treat user-error like error.
9257
9258 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9259 (byte-compile-backward-char, byte-compile-backward-word):
9260 Handle explicit nil arguments. (Bug#14565)
9261
9262 2013-06-05 Alan Mackenzie <acm@muc.de>
9263
9264 * isearch.el (isearch-allow-prefix): New user option.
9265 (isearch-other-meta-char): Don't exit isearch when a prefix
9266 argument is typed whilst `isearch-allow-prefix' is non-nil.
9267 (Bug#9706)
9268
9269 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9270
9271 * autorevert.el (auto-revert-notify-handler): Use memq.
9272 Hide assertion failure.
9273
9274 * skeleton.el: Use cl-lib.
9275 (skeleton-further-elements): Use defvar-local.
9276 (skeleton-insert): Use cl-progv.
9277
9278 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9279
9280 * progmodes/prog-mode.el (prog-prettify-symbols)
9281 (prog-prettify-install): Update docstrings.
9282
9283 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * simple.el: Move all the prog-mode code to prog-mode.el.
9286 * progmodes/prog-mode.el: New file.
9287 * loadup.el: Add prog-mode.el.
9288
9289 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9290
9291 * simple.el (prog-prettify-symbols): Add version.
9292 (prog-prettify-install): Add convenience function to prettify symbols.
9293
9294 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9295 (perl--augmented-font-lock-keywords-1)
9296 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9297 variables and use it.
9298
9299 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9300 (cfengine3-mode): Remove unneeded variable and use it.
9301
9302 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9303 (lisp--augmented-font-lock-keywords-1)
9304 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9305 Remove unneeded variables and use it.
9306
9307 2013-06-05 João Távora <joaotavora@gmail.com>
9308
9309 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9310 to point when opening the connection. (Bug#14380)
9311
9312 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9313
9314 * subr.el (load-history-regexp, load-history-filename-element)
9315 (eval-after-load, after-load-functions, do-after-load-evaluation)
9316 (eval-next-after-load, display-delayed-warnings)
9317 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9318 definition of save-match-data.
9319 (overriding-local-map): Remove accidental obsolescence declaration.
9320
9321 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9322
9323 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9324
9325 Generalize symbol prettify support to prog-mode and implement it
9326 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9327 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9328 (prog--prettify-font-lock-compose-symbol)
9329 (prog-prettify-font-lock-symbols-keywords): New variables and
9330 functions to support symbol prettification.
9331 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9332 (lisp--augmented-font-lock-keywords-1)
9333 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9334 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9335 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9336 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9337 Implement prettify of -> => :: strings.
9338 * progmodes/perl-mode.el (perl-prettify-symbols)
9339 (perl--font-lock-compose-symbol)
9340 (perl--font-lock-symbols-keywords): Move to prog-mode.
9341 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9342 (perl-font-lock-keywords-1)
9343 (perl-font-lock-keywords-2): Remove explicit prettify support.
9344 (perl--augmented-font-lock-keywords)
9345 (perl--augmented-font-lock-keywords-1)
9346 (perl--augmented-font-lock-keywords-2, perl-mode):
9347 Implement prettify support.
9348
9349 2013-06-05 Leo Liu <sdl.web@gmail.com>
9350
9351 Re-implement smie matching block highlight using
9352 show-paren-data-function. (Bug#14395)
9353 * emacs-lisp/smie.el (smie-matching-block-highlight)
9354 (smie--highlight-matching-block-overlay)
9355 (smie--highlight-matching-block-lastpos)
9356 (smie-highlight-matching-block)
9357 (smie-highlight-matching-block-mode): Remove.
9358 (smie--matching-block-data-cache): New variable.
9359 (smie--matching-block-data): New function.
9360 (smie-setup): Use smie--matching-block-data for
9361 show-paren-data-function.
9362
9363 * progmodes/octave.el (octave-mode-menu): Fix.
9364 (octave-find-definition): Skip garbage lines.
9365
9366 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9367
9368 Fix compilation error with simultaneous dynamic+lexical scoping.
9369 Add warning when a defvar appears after the first let-binding.
9370 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9371 (byte-compile-close-variables): Initialize it.
9372 (byte-compile--declare-var): New function.
9373 (byte-compile-file-form-defvar)
9374 (byte-compile-file-form-define-abbrev-table)
9375 (byte-compile-file-form-custom-declare-variable): Use it.
9376 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9377 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9378 (byte-compile-bind): Handle dynamic bindings that shadow
9379 lexical bindings.
9380 (byte-compile-unbind): Make arg non-optional.
9381 (byte-compile-let): Simplify.
9382 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9383 (cconv--analyse-function, cconv-analyse-form): Populate it.
9384 Protect byte-compile-bound-variables to limit the scope of defvars.
9385 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9386 Remove unneeded rule for `declare'.
9387
9388 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9389 so as to avoid depending on cl-adjoin at run-time.
9390 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9391
9392 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9393 (macroexp--warn-and-return): Use it.
9394
9395 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9396
9397 * subr.el: Convert to lexical binding.
9398 (overriding-local-map): Make obsolete.
9399 (add-to-list): Doc fix. Add compiler macro.
9400 (read-key): Swap values of local maps.
9401
9402 2013-06-05 Leo Liu <sdl.web@gmail.com>
9403
9404 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9405
9406 2013-06-04 Leo Liu <sdl.web@gmail.com>
9407
9408 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9409 (compilation-auto-jump): Suppress the "Mark set" message to give
9410 way to exit message.
9411
9412 2013-06-04 Alan Mackenzie <acm@muc.de>
9413
9414 Remove faulty optimisation from indentation calculation.
9415 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9416 search limit based on 2000 characters back from indent-point.
9417
9418 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9419
9420 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9421
9422 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9423
9424 * emacs-lisp/lisp.el: Use lexical-binding.
9425 (lisp--local-variables-1, lisp--local-variables): New functions.
9426 (lisp--local-variables-completion-table): New var.
9427 (lisp-completion-at-point): Use it complete let-bound vars.
9428
9429 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9430 eagerly (bug#14422).
9431
9432 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9433
9434 * autorevert.el (auto-revert-notify-enabled)
9435 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9436 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9437 (auto-revert-notify-handler): Handle also gfilenotify.
9438
9439 * subr.el (file-notify-handle-event): New defun. Replacing ...
9440 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9441 Remove.
9442
9443 2013-06-03 Juri Linkov <juri@jurta.org>
9444
9445 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9446 `M-s h .'. (Bug#14427)
9447
9448 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9449 command `hi-lock-face-symbol-at-point'.
9450 (hi-lock-face-symbol-at-point): New command.
9451 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9452 (hi-lock-menu): Add `highlight-symbol-at-point'.
9453 (hi-lock-mode): Doc fix.
9454
9455 * isearch.el (isearch-forward-symbol-at-point): New command.
9456 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9457 (isearch-highlight-regexp): Add a regexp which matches
9458 words/symbols for word/symbol mode.
9459
9460 * subr.el (find-tag-default-bounds): New function with the body
9461 mostly moved from `find-tag-default'.
9462 (find-tag-default): Move most code to `find-tag-default-bounds',
9463 call it and apply `buffer-substring-no-properties' afterwards.
9464
9465 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9466
9467 * eshell/em-term.el (eshell-term-initialize):
9468 Use `cl-intersection' rather than `intersection'.
9469
9470 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9471
9472 * vc/log-view.el: Doc fix.
9473 (log-view-mode-map): Copy keymap from `special-mode-map'.
9474
9475 2013-06-02 Eric Ludlam <zappo@gnu.org>
9476
9477 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9478 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9479 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9480 (eieio-unbound, eieio-default-superclass)
9481 (eieio--define-field-accessors, method-static, method-before)
9482 (method-primary, method-after, method-num-lists)
9483 (method-generic-before, method-generic-primary)
9484 (method-generic-after, method-num-slots)
9485 (eieio-specialized-key-to-generic-key)
9486 (eieio--check-type, class-v, class-p)
9487 (eieio-class-name, define-obsolete-function-alias)
9488 (eieio-class-parents-fast, eieio-class-children-fast)
9489 (same-class-fast-p, class-constructor, generic-p)
9490 (generic-primary-only-p, generic-primary-only-one-p)
9491 (class-option-assoc, class-option, eieio-object-p)
9492 (class-abstract-p, class-method-invocation-order)
9493 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9494 (eieio-class-un-autoload, eieio-defclass)
9495 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9496 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9497 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9498 (eieio-defgeneric-reset-generic-form)
9499 (eieio-defgeneric-form-primary-only)
9500 (eieio-defgeneric-reset-generic-form-primary-only)
9501 (eieio-defgeneric-form-primary-only-one)
9502 (eieio-defgeneric-reset-generic-form-primary-only-one)
9503 (eieio-unbind-method-implementations)
9504 (eieio--defmethod, eieio--typep)
9505 (eieio-perform-slot-validation, eieio-validate-slot-value)
9506 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9507 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9508 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9509 (eieio-slot-name-index, eieio-class-slot-name-index)
9510 (eieio-set-defaults, eieio-initarg-to-attribute)
9511 (eieio-attribute-to-initarg, eieio-c3-candidate)
9512 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9513 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9514 (eieio-class-precedence-list, eieio-generic-call-methodname)
9515 (eieio-generic-call-arglst, eieio-generic-call-key)
9516 (eieio-generic-call-next-method-list)
9517 (eieio-pre-method-execution-functions, eieio-generic-call)
9518 (eieio-generic-call-primary-only, eieiomt-method-list)
9519 (eieiomt-optimizing-obarray, eieiomt-install)
9520 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9521 (eieio-generic-form, eieio-defmethod, make-obsolete)
9522 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9523 (defclass): Remove `eval-and-compile' from macro.
9524 (call-next-method, shared-initialize): Instead of using
9525 `scoped-class' variable, use new eieio--scoped-class, and
9526 eieio--with-scoped-class.
9527 (initialize-instance): Rename local variable 'scoped-class' to
9528 'this-class' to remove ambiguitity from old global.
9529
9530 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9531 eieio.el.
9532 (eieio--scoped-class-stack): New variable.
9533 (eieio--scoped-class): New fcn.
9534 (eieio--with-scoped-class): New scoping macro.
9535 (eieio-defclass): Use pushnew instead of add-to-list.
9536 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9537 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9538 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9539 `scoped-class' variable, use new eieio--scoped-class, and
9540 eieio--with-scoped-class.
9541
9542 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9543
9544 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9545
9546 * eshell/esh-ext.el (eshell-external-command): Pass args to
9547 `eshell-find-interpreter'.
9548 (eshell-find-interpreter): Add new second parameter ARGS.
9549
9550 * eshell/em-script.el (eshell-script-initialize): Add second arg
9551 to the function added as MATCH to `eshell-interpreter-alist'.
9552
9553 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9554 the function added as MATCH to `eshell-interpreter-alist'.
9555
9556 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9557 (eshell-visual-options): New defcustom.
9558 (eshell-escape-control-x): Adapt docstring.
9559 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9560 `eshell-visual-options' in addition to `eshell-visual-commands'.
9561 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9562
9563 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9564
9565 * progmodes/python.el (python-indent-block-enders): Add break,
9566 continue and raise keywords.
9567
9568 2013-06-01 Glenn Morris <rgm@gnu.org>
9569
9570 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9571
9572 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9573 * progmodes/cc-cmds.el (delete-forward-p):
9574 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9575 * progmodes/cc-engine.el (buffer-syntactic-context):
9576 * progmodes/cc-fonts.el (face-property-instance):
9577 * progmodes/cc-mode.el (set-keymap-parents):
9578 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9579 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9580 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9581 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9582 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9583
9584 * progmodes/cc-vars.el (other): Emacs has this widget since
9585 at least 21.1, so don't (re)define it.
9586
9587 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9588 Replace the obsolete alias pcomplete-arg-quote-list.
9589
9590 2013-06-01 Leo Liu <sdl.web@gmail.com>
9591
9592 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9593 punctuation syntax.
9594 (inferior-octave-minimal-columns)
9595 (inferior-octave-last-column-width): New variables.
9596 (inferior-octave-track-window-width-change): New function.
9597 (inferior-octave-mode): Adjust column width so that Octave output,
9598 for example from 'ls', can fit into the window nicely.
9599
9600 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9601
9602 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9603 Highlight expansions inside regexp literals.
9604
9605 2013-05-31 Glenn Morris <rgm@gnu.org>
9606
9607 * obsolete/sym-comp.el (symbol-complete):
9608 Replace obsolete completion-annotate-function.
9609
9610 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9611
9612 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9613
9614 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9615 New function, checks if point is inside a literal that allows
9616 expression expansion.
9617 (ruby-syntax-propertize-expansion): Use it.
9618 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9619 around the body.
9620
9621 2013-05-30 Juri Linkov <juri@jurta.org>
9622
9623 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9624 to "\M-si".
9625 (isearch-invisible): New variable.
9626 (isearch-forward): Doc fix.
9627 (isearch-mode): Set `isearch-invisible'
9628 to the value of `search-invisible'.
9629 (isearch-toggle-case-fold): Doc fix.
9630 (isearch-toggle-invisible): New command.
9631 (isearch-query-replace): Let-bind `search-invisible'
9632 to the value of `isearch-invisible'.
9633 (isearch-search): Use `isearch-invisible' instead of
9634 `search-invisible'. Let-bind `search-invisible'
9635 to the value of `isearch-invisible'. (Bug#11378)
9636
9637 2013-05-30 Juri Linkov <juri@jurta.org>
9638
9639 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9640 call when `query-flag' is nil and `search-invisible' is non-nil.
9641 (Bug#11746)
9642
9643 2013-05-30 Glenn Morris <rgm@gnu.org>
9644
9645 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9646
9647 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9648 (cc-require): Suppress spurious "noruntime" warnings.
9649 (cc-require-when-compile): Use fboundp, for sake of compiler.
9650
9651 * progmodes/cc-mode.el: Move load of cc-vars before that of
9652 cc-langs (which in turn loads cc-vars), to quieten compiler.
9653
9654 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9655
9656 * paren.el: Simplify the code.
9657 (show-paren-mode): Always start the timer.
9658 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9659 (show-paren--overlay, show-paren--overlay-1): Rename from
9660 show-paren-overlay and show-paren-overlay-1, and initialize to an
9661 overlay rather than to nil.
9662 (show-paren-function): Misc cleanup and simplifications.
9663
9664 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9665
9666 * paren.el (show-paren-data-function): New hook.
9667 (show-paren--default): New function, extracted from show-paren-function.
9668 (show-paren-function): Use show-paren-data-function.
9669
9670 2013-05-30 Glenn Morris <rgm@gnu.org>
9671
9672 * ielm.el (ielm-map, ielm-complete-symbol):
9673 Use completion-at-point rather than obsolete functions.
9674 (inferior-emacs-lisp-mode): Doc fix.
9675 Set completion-at-point-functions, rather than
9676 comint-dynamic-complete-functions.
9677
9678 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9679 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9680 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9681
9682 * image.el (image-animated-p): Tweak definition.
9683
9684 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9685 (rlogin-process-connection-type): Tweak default. Add set-after.
9686 (rlogin-host): Doc fix.
9687 (rlogin): Tweak prompt.
9688 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9689
9690 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9691 * progmodes/tcl.el (inferior-tcl-mode-map):
9692 Use completion-at-point rather than obsolete alias.
9693
9694 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9695
9696 * minibuffer.el (read-file-name-completion-ignore-case):
9697 Move before completion--in-region, for eager macro expansion.
9698
9699 2013-05-29 Juri Linkov <juri@jurta.org>
9700
9701 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9702 for total count of matching lines. Add `global-matches' for total
9703 count of matches. Rename `matches' to `lines' for count of
9704 matching lines. Add `matches' for count of matches.
9705 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9706 to `prev-line' for line number of prev match endpt.
9707 Increment `matches' for every match. Print the number of
9708 matching lines in the header.
9709 (occur-context-lines): Rename `lines' to `curr-line'.
9710 Rename `prev-lines' to `prev-line'. (Bug#14017)
9711
9712 2013-05-29 Juri Linkov <juri@jurta.org>
9713
9714 * replace.el (perform-replace): Add `skip-read-only-count',
9715 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9716 Increment them for corresponding conditions and report the number
9717 of skipped occurrences in the final message. (Bug#11746)
9718 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9719 (replace-string, replace-regexp): Doc fix.
9720
9721 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9722
9723 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9724
9725 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9726 prog-mode-map (bug#14504).
9727
9728 2013-05-29 Leo Liu <sdl.web@gmail.com>
9729
9730 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9731 (octave-help): Small simplification.
9732
9733 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9734 off the highlight first.
9735
9736 2013-05-29 Glenn Morris <rgm@gnu.org>
9737
9738 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9739 Handle idlwave-last-system-routine-info-cons-cell being nil.
9740
9741 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9742 (idlwave-write-paths): Simplify via with-temp-buffer.
9743
9744 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9745 * emulation/cua-rect.el: Also load cua-base at run time.
9746
9747 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9748 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9749 (cperl-imenu-on-info): Require imenu.
9750
9751 2013-05-28 Alan Mackenzie <acm@muc.de>
9752
9753 Handle "capitalised keywords" correctly.
9754 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9755
9756 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9757
9758 * eshell/em-unix.el: Add -r option to cp.
9759
9760 2013-05-28 Glenn Morris <rgm@gnu.org>
9761
9762 * vc/vc-arch.el (vc-exec-after): Declare.
9763 (vc-switches): Autoload.
9764 * vc/vc-bzr.el: No need to require vc when compiling.
9765 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9766 (vc-resynch-buffer, vc-dir-refresh): Declare.
9767 (vc-setup-buffer, vc-switches): Autoload.
9768 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9769 (vc-resynch-buffer): Declare.
9770 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9771 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9772 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9773 (grep-read-regexp, grep-read-files, grep-expand-template)
9774 (vc-dir-refresh): Declare.
9775 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9776 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9777 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9778 * vc/vc-mtn.el (vc-exec-after): Declare.
9779 (vc-switches): Autoload.
9780 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9781 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9782 (vc-file-tree-walk): Declare.
9783 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9784 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9785 (vc-tag-precondition, vc-rename-master): Autoload.
9786 * vc/vc-svn.el (vc-exec-after): Declare.
9787 (vc-switches, vc-setup-buffer): Autoload.
9788 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9789 Autoload.
9790 (vc-resynch-buffer): Declare.
9791
9792 * obsolete/fast-lock.el (byte-compile-warnings):
9793 Don't warn about obsolete features in this obsolete file.
9794
9795 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9796 Move definition before use.
9797
9798 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9799 (dun-unix-verbs): Remove dun-zippy.
9800 (dun-zippy): Remove function.
9801
9802 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9803
9804 2013-05-27 Juri Linkov <juri@jurta.org>
9805
9806 * replace.el (replace-search): New function with code moved out
9807 from `perform-replace'.
9808 (replace-highlight, replace-dehighlight): Move function definitions
9809 up closer to `replace-search'. (Bug#11746)
9810
9811 2013-05-27 Juri Linkov <juri@jurta.org>
9812
9813 * replace.el (perform-replace): Ignore invisible matches.
9814 In addition to checking `query-replace-skip-read-only', also
9815 filter out matches by calling `run-hook-with-args-until-failure'
9816 on `isearch-filter-predicates', and also check `search-invisible'
9817 for t or call `isearch-range-invisible'.
9818 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9819
9820 2013-05-27 Juri Linkov <juri@jurta.org>
9821
9822 * isearch.el (isearch-filter-predicates): Rename from
9823 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9824 (isearch-message-prefix): Display text from the property
9825 `isearch-message-prefix' of the currently active filters.
9826 (isearch-search): Don't compare `isearch-filter-predicate' with
9827 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9828 on `isearch-filter-predicates'. Also check `search-invisible' for t
9829 or call `isearch-range-invisible'.
9830 (isearch-filter-visible): Make obsolete.
9831 (isearch-lazy-highlight-search):
9832 Call `run-hook-with-args-until-failure' on
9833 `isearch-filter-predicates' and use `isearch-range-invisible'.
9834
9835 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9836 `isearch-filter-predicates' instead of `funcall'ing
9837 `isearch-filter-predicate'.
9838 (Info-mode): Set `Info-isearch-filter' to
9839 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9840
9841 * dired-aux.el (dired-isearch-filter-predicate-orig):
9842 Remove variable.
9843 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9844 (dired-isearch-filenames-end): Add and remove
9845 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9846 instead of changing the value of `isearch-filter-predicate'.
9847 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9848 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9849 Put property `isearch-message-prefix' to "filename " on
9850 `dired-isearch-filter-filenames'.
9851
9852 * wdired.el (wdired-change-to-wdired-mode):
9853 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9854 locally instead of changing `isearch-filter-predicate'.
9855 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9856
9857 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9858
9859 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9860 return the commit hash (Bug#14459). Also set the
9861 `vc-git-detached' property.
9862 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9863 (vc-git-mode-line-string): Use the same help-echo format whether
9864 in detached mode or not, because we know the actual revision now.
9865 When in detached mode, shorten the revision to 7 chars.
9866
9867 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9868
9869 * emacs-lisp/easy-mmode.el (define-minor-mode):
9870 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9871 mode hook and provide a docstring.
9872
9873 2013-05-27 Alan Mackenzie <acm@muc.de>
9874
9875 Remove spurious syntax-table text properties inserted by C-y.
9876 * progmodes/cc-mode.el (c-after-change): Also clear hard
9877 syntax-table property with value nil.
9878
9879 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9880
9881 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9882 when reading the events; the buffer layout shall not be changed.
9883
9884 2013-05-27 Leo Liu <sdl.web@gmail.com>
9885
9886 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9887 New variable.
9888 (inferior-octave-directory-tracker): Automatically re-sync
9889 default-directory.
9890 (octave-help): Improve handling of 'See also'.
9891
9892 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9893
9894 * doc-view.el: Minor naming convention tweaks.
9895 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9896
9897 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9898 even if there's no `display' property yet (bug#14435).
9899
9900 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9901
9902 * subr.el (unmsys--file-name): Rename from reveal-filename.
9903
9904 * Makefile.in (custom-deps, finder-data, autoloads)
9905 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9906 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9907 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9908
9909 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9910
9911 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9912 error-completion on the first 2 args of condition-case (bug#14446).
9913 Don't burp at EOB.
9914
9915 2013-05-25 Leo Liu <sdl.web@gmail.com>
9916
9917 * comint.el (comint-previous-matching-input): Do not flood the
9918 *Messages* buffer with trivial messages.
9919
9920 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9921
9922 * progmodes/flymake.el (flymake-nop): Don't return a string.
9923 (flymake-set-at): Fix typo.
9924
9925 * simple.el (read--expression): New function, extracted from
9926 eval-expression. Set completion-at-point-functions (bug#14465).
9927 (eval-expression, eval-minibuffer): Use it.
9928
9929 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9930
9931 * progmodes/flymake.el (flymake-save-buffer-in-file)
9932 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9933 (flymake-selected-frame, flymake-log, flymake-ins-after)
9934 (flymake-set-at, flymake-get-buildfile-from-cache)
9935 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9936 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9937 Refine the doc string.
9938 (flymake-get-file-name-mode-and-masks): Reformat.
9939 (flymake-get-real-file-name-function): Fix a minor bug.
9940
9941 2013-05-24 Juri Linkov <juri@jurta.org>
9942
9943 * progmodes/grep.el (grep-mode-font-lock-keywords):
9944 Support =linenumber= format used by git-grep for lines with
9945 function names. (Bug#13549)
9946
9947 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9948
9949 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9950 0 after a semi-colon; it works better for smie-auto-fill.
9951 (octave--indent-new-comment-line): New function.
9952 (octave-indent-new-comment-line): Use it (indirectly).
9953 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9954 modify comment-line-break-function.
9955
9956 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9957 (smie-setup): Use add-function to set it.
9958
9959 2013-05-24 Sam Steingold <sds@gnu.org>
9960
9961 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9962 argument (before the `interactive' argument).
9963
9964 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9965
9966 * image-mode.el (image-mode-winprops): Add winprops to
9967 image-mode-winprops-alist before running
9968 image-mode-new-window-functions.
9969 * doc-view.el (doc-view-new-window-function): Don't delay
9970 doc-view-goto-page via timers (bug#14435).
9971
9972 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9973
9974 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9975 (doc-view-desktop-save-buffer): New function.
9976 (doc-view-restore-desktop-buffer): New function.
9977 (desktop-buffer-mode-handlers):
9978 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9979 handler.
9980 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9981 `desktop-save-buffer' function.
9982
9983 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9984
9985 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9986 (tramp-gvfs-file-name-handler): Raise a user error when
9987 `tramp-gvfs-enabled' is nil.
9988 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9989 Do not raise a user error when loading package. (Bug#14447)
9990
9991 * net/xesam.el: Move to obsolete/.
9992
9993 2013-05-24 Glenn Morris <rgm@gnu.org>
9994
9995 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9996
9997 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9998
9999 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10000 (Info-find-node, Man-getpage-in-background): Declare.
10001
10002 * mail/unrmail.el (unrmail):
10003 Replace obsolete detect-coding-with-priority.
10004
10005 * net/socks.el (socks-split-string): Use this rather than split-string.
10006 (socks-nslookup-host): Update for above change.
10007 (dynamic-choice, s5-dynamic-choice-match)
10008 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10009 Comment out unused code.
10010
10011 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10012 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10013 (gud-tooltip-echo-area): Make obsolete.
10014 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10015
10016 * progmodes/js.el (js--optimize-arglist): Declare.
10017
10018 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10019
10020 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10021 (ediff-window-C): Declare.
10022
10023 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10024 Tweak requires to silence compiler.
10025
10026 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10027 (he-search-string, he-tried-table, he-expand-list)
10028 (he-init-string, he-string-member, he-substitute-string)
10029 (he-reset-string): Declare.
10030
10031 * obsolete/options.el (list-options): Use custom-variable-p,
10032 rather than obsolete alias.
10033
10034 2013-05-23 Sam Steingold <sds@gnu.org>
10035
10036 * simple.el (shell-command-on-region): Pass the `replace' argument
10037 down to `call-process-region' to comply with the doc as reported on
10038 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10039
10040 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10041
10042 * emacs-lisp/smie.el (smie-indent-forward-token)
10043 (smie-indent-backward-token): Handle string tokens (bug#14381).
10044
10045 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10046
10047 * ielm.el (ielm-menu): New menu.
10048 (inferior-emacs-lisp-mode): Set comment-start.
10049
10050 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10051
10052 * textmodes/reftex.el (reftex-ref-style-toggle):
10053 Fix deactivate action.
10054
10055 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10056 Add cleveref macros.
10057
10058 * textmodes/reftex-parse.el
10059 (reftex-locate-bibliography-files): Accept options for
10060 bibliography commands.
10061 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10062 Add addbibresource. Basic Biblatex support.
10063
10064 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10065
10066 * net/tramp-gvfs.el (top):
10067 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10068 when loading package. (Bug#14447)
10069
10070 2013-05-23 Glenn Morris <rgm@gnu.org>
10071
10072 * progmodes/js.el: No need to load comint when compiling.
10073 (ring-insert, comint-send-string, comint-send-input)
10074 (comint-last-input-end, ido-chop): Declare.
10075
10076 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10077 * vc/ediff-mult.el: Adjust requires.
10078 (ediff-directories-internal, ediff-directory-revisions-internal)
10079 (ediff-patch-file-internal): Declare.
10080 * vc/ediff-ptch.el: Adjust requires.
10081 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10082 (ediff-find-file): Autoload.
10083 * vc/ediff-util.el: No need to load ediff when compiling.
10084 (ediff-regions-internal): Declare.
10085 * vc/ediff-wind.el: Adjust requires.
10086 (ediff-compute-toolbar-width): Define when compiling.
10087 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10088 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10089 (dired-get-filename, dired-get-marked-files)
10090 (ediff-last-dir-patch, ediff-patch-default-directory)
10091 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10092 (ediff-patch-buffer-internal): Declare.
10093
10094 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10095 (ispell-process, ispell-buffer-local-words, lm-summary)
10096 (lm-section-start, lm-section-end): Declare.
10097 (checkdoc-ispell-init): Simplify.
10098
10099 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10100 (he-string-member, he-reset-string, he-substitute-string): Declare.
10101
10102 * eshell/em-ls.el: Adjust requires.
10103 (eshell-glob-regexp): Declare.
10104 * eshell/em-tramp.el: Adjust requires.
10105 (eshell-parse-command): Autoload.
10106 * eshell/em-xtra.el: Adjust requires.
10107 (eshell-parse-command): Autoload.
10108 * eshell/esh-ext.el: Adjust requires.
10109 (eshell-parse-command, eshell-close-handles): Autoload.
10110 * eshell/esh-io.el: Adjust requires.
10111 (eshell-output-filter): Autoload.
10112 * eshell/esh-util.el: No need to load tramp when compiling.
10113 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10114 Declare.
10115 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10116 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10117 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10118 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10119 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10120 * eshell/esh-opt.el, eshell/esh-proc.el:
10121 * eshell/esh-var.el: Adjust requires.
10122 * eshell/eshell.el: Do not require esh-util twice.
10123 (eshell-add-input-to-history): Declare.
10124 (eshell-command): Check history module is active before using it.
10125
10126 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10127
10128 2013-05-22 Leo Liu <sdl.web@gmail.com>
10129
10130 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10131
10132 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10133
10134 * autorevert.el (auto-revert-notify-add-watch)
10135 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10136 it indicates changes in file modification time.
10137
10138 2013-05-22 Glenn Morris <rgm@gnu.org>
10139
10140 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10141 Always delete the autoloaded function from the noruntime and
10142 unresolved functions lists.
10143
10144 * allout.el: No need to load epa, epg, overlay when compiling.
10145 (epg-context-set-passphrase-callback, epg-list-keys)
10146 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10147 (epg-key-user-id-list): Declare.
10148
10149 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10150 (viper-set-parsing-style-toggling-macro)
10151 (viper-set-emacs-state-searchstyle-macros):
10152 Use called-interactively-p on Emacs.
10153 (viper-looking-back): Make it an obsolete alias. Update callers.
10154 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10155 Use looking-back rather than viper-looking-back.
10156 (viper-tmp-insert-at-eob, viper-enlarge-region)
10157 (viper-read-string-with-history, viper-register-to-point)
10158 (viper-append-to-register, viper-change-state-to-vi)
10159 (viper-backward-char-carefully, viper-forward-char-carefully)
10160 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10161 (viper-change-state-to-emacs): Declare.
10162 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10163 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10164 * emulation/viper-mous.el: Do not load viper-cmd.
10165 (viper-backward-char-carefully, viper-forward-char-carefully)
10166 (viper-forward-word, viper-adjust-window): Declare.
10167
10168 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10169
10170 * progmodes/idlw-help.el (idlwave-help-fontify):
10171 Use called-interactively-p.
10172
10173 * term/w32console.el (w32-get-console-codepage)
10174 (w32-get-console-output-codepage): Declare.
10175
10176 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10177 Remove unnecessary declarations.
10178 (dframe-message): Doc fix.
10179
10180 * info.el (dframe-select-attached-frame, dframe-current-frame):
10181 Declare.
10182
10183 * speedbar.el (speedbar-message): Make it an obsolete alias.
10184 Update all callers.
10185 (speedbar-with-attached-buffer)
10186 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10187 (speedbar-with-writable): Use backquote.
10188 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10189 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10190 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10191 rather than speedbar- aliases.
10192 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10193 (speedbar-make-specialized-keymap, speedbar-insert-button)
10194 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10195 (speedbar-do-function-pointer): Declare.
10196 (rmail-speedbar-button, rmail-speedbar-find-file)
10197 (rmail-speedbar-move-message):
10198 Use dframe-with-attached-buffer rather than speedbar- alias.
10199 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10200 (dframe-message, speedbar-make-specialized-keymap)
10201 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10202 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10203 (speedbar-insert-button, dframe-select-attached-frame)
10204 (dframe-maybee-jump-to-attached-frame)
10205 (speedbar-change-initial-expansion-list)
10206 (speedbar-previously-used-expansion-list-name): Declare.
10207 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10208 Use dframe-message, dframe-with-attached-buffer rather than
10209 speedbar- aliases.
10210 (gud-sentinel): Silence compiler.
10211 * progmodes/vhdl-mode.el (speedbar-refresh)
10212 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10213 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10214 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10215 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10216 (speedbar-file-lists, speedbar-make-tag-line)
10217 (speedbar-line-directory, speedbar-goto-this-file)
10218 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10219 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10220 (speedbar-make-button, speedbar-reset-scanners)
10221 (speedbar-files-item-info, speedbar-line-text)
10222 (speedbar-find-file-in-frame, speedbar-set-timer)
10223 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10224 (speedbar-with-writable): Do not (re)define it.
10225 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10226 rather than speedbar- alias.
10227
10228 2013-05-21 Leo Liu <sdl.web@gmail.com>
10229
10230 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10231 menu items.
10232 (octave-mode): Tweak fill-nobreak-predicate.
10233 (inferior-octave-startup): Check process to avoid infinite loop.
10234 (inferior-octave): Pop to buffer first to show abornmal process
10235 exit information.
10236
10237 2013-05-21 Glenn Morris <rgm@gnu.org>
10238
10239 * printing.el (pr-menu-bar): Define when compiling.
10240
10241 2013-05-21 Leo Liu <sdl.web@gmail.com>
10242
10243 * progmodes/octave.el (octave-auto-fill): Remove.
10244 (octave-indent-new-comment-line): Improve.
10245 (octave-mode): Use auto fill mode through
10246 comment-line-break-function and fill-nobreak-predicate.
10247 (octave-goto-function-definition): Support DEFUN_DLD.
10248 (octave-beginning-of-defun): Small tweak.
10249 (octave-help): Show parent directory.
10250
10251 2013-05-21 Glenn Morris <rgm@gnu.org>
10252
10253 * files.el (dired-unmark):
10254 * progmodes/gud.el (gdb-input): Update declarations.
10255
10256 * calculator.el (electric, ehelp): No need to load when compiling.
10257 (Electric-command-loop, electric-describe-mode): Declare.
10258
10259 * doc-view.el (doc-view-current-converter-processes): Move before use.
10260
10261 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10262 Move MODE-set-explicitly definition before use.
10263
10264 * international/mule-diag.el (mule-diag):
10265 Don't use obsolete window-system-version.
10266
10267 * mail/feedmail.el (smtpmail): No need to load when compiling.
10268 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10269
10270 * mail/mail-utils.el (rfc822): No need to load when compiling.
10271 (rfc822-addresses): Autoload it.
10272 (mail-strip-quoted-names): Trivial simplification.
10273
10274 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10275 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10276
10277 * net/snmp-mode.el (tempo): Don't duplicate requires.
10278
10279 * progmodes/prolog.el (info): No need to load when compiling.
10280 (comint): Require before shell requires it.
10281 (Info-goto-node): Autoload it.
10282 (Info-follow-nearest-node): Declare.
10283 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10284
10285 * textmodes/artist.el (picture-mode-exit): Declare.
10286
10287 * textmodes/reftex-parse.el (reftex-parse-from-file):
10288 Trivial rewrite so the compiler can parse it better.
10289
10290 2013-05-20 Leo Liu <sdl.web@gmail.com>
10291
10292 * progmodes/octave.el (octave-help-mode-map)
10293 (octave-help-mode-finish-hook): New variables.
10294 (octave-help-mode, octave-help-mode-finish): New functions.
10295 (octave-help): Use octave-help-mode.
10296
10297 2013-05-20 Glenn Morris <rgm@gnu.org>
10298
10299 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10300
10301 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10302
10303 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10304 start at point, so that expansion starting right after opening
10305 slash in a regexp is recognized.
10306 (ruby-syntax-before-regexp-re): New defvar, extracted from
10307 ruby-syntax-propertize-function. Since the value of this regexp
10308 is looked up at runtime now, we should be able to turn
10309 `ruby-syntax-methods-before-regexp' into a defcustom later.
10310 (ruby-syntax-propertize-function): Split regexp matching into two
10311 parts, for opening and closing slashes. That allows us to skip
10312 over string interpolations and support multiline regexps.
10313 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10314 for them, which calls `ruby-syntax-propertize-expansion'.
10315 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10316 call to `ruby-syntax-propertize-function'.
10317 (ruby-syntax-propertize-expansion): Extracted from
10318 `ruby-syntax-propertize-expansions'. Handles one expansion.
10319 (ruby-syntax-propertize-percent-literal): Leave point right after
10320 the percent symbol, so that the expression expansion rule can
10321 propertize the contents.
10322 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10323 heredoc openers.
10324 (ruby-syntax-propertize-expansions): Remove.
10325
10326 2013-05-18 Juri Linkov <juri@jurta.org>
10327
10328 * man.el (Man-default-man-entry): Remove `-' from the end
10329 of the default value. (Bug#14400)
10330
10331 2013-05-18 Glenn Morris <rgm@gnu.org>
10332
10333 * comint.el (comint-password-prompt-regexp):
10334 Allow "password for XXX" where XXX contains colons (eg https://...).
10335
10336 2013-05-18 Leo Liu <sdl.web@gmail.com>
10337
10338 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10339 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10340 (octave-source-directories): Don't check process.
10341 (octave-source-directories, octave-find-definition): Doc fix.
10342
10343 2013-05-18 Glenn Morris <rgm@gnu.org>
10344
10345 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10346 Remove backspace/delete bindings. (Bug#14392)
10347
10348 * cus-dep.el (custom-make-dependencies): Sort the output.
10349 (custom-versions-load-alist): Convert comment to doc.
10350
10351 2013-05-17 Leo Liu <sdl.web@gmail.com>
10352
10353 * newcomment.el (comment-search-backward): Stricter in finding
10354 comment start. (Bug#14303)
10355
10356 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10357 (octave-comment-start-skip): Properly anchored.
10358
10359 2013-05-17 Leo Liu <sdl.web@gmail.com>
10360
10361 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10362 Clean up when turned off. (Bug#14395)
10363 (smie--highlight-matching-block-overlay): No longer buffer-local.
10364 (smie-highlight-matching-block): Adjust.
10365
10366 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10367
10368 Doc string fix for "nanoseconds" (Bug#14406).
10369 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10370 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10371
10372 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10373
10374 * calc/calc-units.el (math-extract-units): Preserve powers
10375 of units.
10376
10377 2013-05-17 Leo Liu <sdl.web@gmail.com>
10378
10379 * subr.el (delete-consecutive-dups): New function.
10380 * ido.el (ido-set-matches-1): Use it.
10381 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10382 * ido.el (ido-remove-consecutive-dups): Remove.
10383
10384 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10385
10386 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10387 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10388 regexp-opt's `words'.
10389
10390 2013-05-16 Leo Liu <sdl.web@gmail.com>
10391
10392 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10393 (smie--highlight-matching-block-overlay)
10394 (smie--highlight-matching-block-lastpos)
10395 (smie--highlight-matching-block-timer): New variables.
10396 (smie-highlight-matching-block): New function.
10397 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10398 (smie-setup): Conditionally enable smie-blink-matching-open.
10399
10400 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10401
10402 Sync with upstream verilog-mode r840.
10403 * progmodes/verilog-mode.el (verilog-mode-version)
10404 (verilog-mode-release-date): Update.
10405 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10406 (verilog-sig-tieoff): Fix string error on
10407 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10408 (verilog-read-decls): Fix parameters confusing
10409 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10410
10411 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10412
10413 * subr.el (reveal-filename): New function.
10414
10415 * loadup.el: Compute Emacs executable versions on MS-Windows,
10416 where executables have the .exe extension. Add a hard link
10417 emacs-XX.YY.ZZ.exe on MS-Windows.
10418
10419 * Makefile.in (XARGS_LIMIT): New variable.
10420 (custom-deps, finder-data, autoloads)
10421 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10422 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10423 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10424 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10425
10426 2013-05-16 Leo Liu <sdl.web@gmail.com>
10427
10428 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10429 (octave-mode-menu, octave-mode-map): Remove its uses.
10430
10431 2013-05-16 Reto Zimmermann <reto@gnu.org>
10432
10433 Sync with upstream vhdl mode v3.34.2.
10434 * progmodes/vhdl-mode.el: Use `push' throughout.
10435 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10436 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10437 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10438 (vhdl-actual-generic-name): New option to derive actual generic name.
10439 (vhdl-port-paste-signals): Replace formal by actual generics.
10440 (vhdl-beautify): New name for old group vhdl-align. Update users.
10441 (vhdl-beautify-options): New option.
10442 (vhdl-last-input-event): New compat alias. Use throughout.
10443 (vhdl-goto-line): Replace user level function `goto-line'.
10444 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10445 vhdl-fix-statement-buffer.
10446 (vhdl-create-mode-menu): Add some entries.
10447 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10448 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10449 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10450 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10451 to force statements on one line.
10452 (vhdl-remove-trailing-spaces-region):
10453 New, split from vhdl-remove-trailing-spaces.
10454 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10455 Respect vhdl-beautify-options.
10456 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10457 (vhdl-update-sensitivity-list): Not add with index if exists without.
10458 Not include array index with signal. Ignore keywords in comments.
10459 (vhdl-get-visible-signals): Regexp tweaks.
10460 (vhdl-template-component-inst): Handle empty library.
10461 (vhdl-template-type): Add template for 'enum' type.
10462 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10463 Use vhdl-replace-string.
10464 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10465 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10466 (vhdl-speedbar-initialize): Update for above name change.
10467 (vhdl-compose-wire-components): Fix in handling of constants.
10468 (vhdl-error-regexp-emacs-alist): New variable.
10469 (vhdl-error-regexp-add-emacs): New function;
10470 adds support for new compile.el (Emacs 22+)
10471 (vhdl-generate-makefile-1): Change target order for single lib. units.
10472 Allow use of absolute file names.
10473
10474 2013-05-16 Leo Liu <sdl.web@gmail.com>
10475
10476 * simple.el (prog-indent-sexp): Indent enclosing defun.
10477
10478 2013-05-15 Glenn Morris <rgm@gnu.org>
10479
10480 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10481 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10482 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10483 (whitespace-highlight): Move to whitespace group.
10484
10485 * comint.el (comint-source):
10486 * pcmpl-linux.el (pcmpl-linux):
10487 * shell.el (shell-faces):
10488 * eshell/esh-opt.el (eshell-opt):
10489 * international/ccl.el (ccl): Remove empty custom groups.
10490
10491 * completion.el (dynamic-completion-mode):
10492 * jit-lock.el (jit-lock-debug-mode):
10493 * minibuffer.el (completion-in-region-mode):
10494 * type-break.el (type-break-mode-line-message-mode)
10495 (type-break-query-mode):
10496 * emulation/tpu-edt.el (tpu-edt-mode):
10497 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10498 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10499 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10500
10501 * term/xterm.el (xterm): Change parent group to terminals.
10502
10503 * master.el (master): Remove empty custom group.
10504 (master-mode): Remove unused :group argument.
10505 * textmodes/refill.el (refill): Remove empty custom group.
10506 (refill-mode): Remove unused :group argument.
10507
10508 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10509
10510 * cus-dep.el: Provide a feature.
10511 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10512 Don't mistakenly ignore files whose basenames match a basename
10513 from preloaded-file-list (eg cedet/ede/simple.el).
10514 Add a fallback method for getting :group.
10515
10516 2013-05-15 Juri Linkov <juri@jurta.org>
10517
10518 * isearch.el (isearch-char-by-name): Rename from
10519 `isearch-insert-char-by-name'. Doc fix.
10520 (isearch-forward): Mention `isearch-char-by-name' in
10521 the docstring. (Bug#13348)
10522
10523 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10524 `exit-minibuffer' instead of
10525 `isearch-nonincremental-exit-minibuffer'.
10526 (isearch-edit-string): Remove mention of
10527 `isearch-nonincremental-exit-minibuffer' from docstring.
10528 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10529 (isearch-forward-exit-minibuffer)
10530 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10531
10532 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10533
10534 * loadup.el: Just use unversioned DOC.
10535
10536 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10537 literals as extending to EOB.
10538 (nxml-last-fontify-end): Remove unused variable.
10539 (nxml-after-change1): Use with-silent-modifications.
10540 (nxml-extend-after-change-region): Simplify.
10541 (nxml-extend-after-change-region1): Remove function.
10542 (nxml-after-change1): Don't adjust for dependent regions.
10543 (nxml-fontify-matcher): Simplify.
10544 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10545 (xmltok-add-dependent): Remove function.
10546 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10547 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10548 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10549 unclosed <[[, <?, comment, and other literals as extending to EOB.
10550 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10551 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10552 Remove functions.
10553 (rng-do-some-validation-1): Don't mark dependent regions.
10554 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10555 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10556 (nxml-clear-dependent-regions): Remove functions.
10557 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10558 (nxml-ensure-scan-up-to-date):
10559 Don't clear&mark dependent regions.
10560
10561 2013-05-15 Leo Liu <sdl.web@gmail.com>
10562
10563 * progmodes/octave.el (octave-goto-function-definition):
10564 Improve and fix callers.
10565
10566 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10567
10568 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10569 the setter (bug#14387).
10570
10571 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10572 surrounding group (bug#14402).
10573
10574 2013-05-14 Juri Linkov <juri@jurta.org>
10575
10576 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10577 (Bug#14390)
10578
10579 2013-05-14 Glenn Morris <rgm@gnu.org>
10580
10581 * progmodes/f90.el (f90-imenu-generic-expression):
10582 Fix typo in 2013-05-08 change. (Bug#14402)
10583
10584 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10585
10586 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10587 Remove signals for which replies are never received.
10588
10589 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10590
10591 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10592 (gdb-handler-alist, gdb-handler-number): Remove variables.
10593 (gdb-handler-list): New variable.
10594 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10595 (gdb-pending-handler-p, gdb-handle-reply)
10596 (gdb-remove-all-pending-triggers): New functions.
10597 (gdb-discard-unordered-replies): New defcustom.
10598 (gdb-handler): New defstruct.
10599 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10600 instead of gdb-pending-triggers. Update docstring.
10601 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10602 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10603 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10604 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10605 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10606 (gdb-frame-handler): Pending triggers are now automatically managed.
10607 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10608 Remove argument.
10609 (gdb-input): Automatically handles pending triggers. Update docstring.
10610 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10611 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10612 Update comments.
10613 (gdb-done-or-error): Now use gdb-handle-reply.
10614
10615 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10616
10617 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10618 gdb-debug-log.
10619
10620 2013-05-14 Glenn Morris <rgm@gnu.org>
10621
10622 * subr.el (user-emacs-directory-warning): New option.
10623 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10624
10625 2013-05-14 Leo Liu <sdl.web@gmail.com>
10626
10627 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10628 during redisplay.
10629 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10630 (octave-font-lock-texinfo-comment): Fix invalid search bound
10631 error: wrong side of point.
10632
10633 2013-05-14 Glenn Morris <rgm@gnu.org>
10634
10635 * progmodes/flymake.el (flymake-xml-program): New option.
10636 (flymake-xml-init): Use it.
10637
10638 * term/xterm.el: Provide a feature.
10639
10640 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10641
10642 2013-05-13 Glenn Morris <rgm@gnu.org>
10643
10644 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10645 Add compat aliases as a hack workaround. (Bug#14384)
10646
10647 2013-05-13 Leo Liu <sdl.web@gmail.com>
10648
10649 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10650 ###, and %!.
10651 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10652 C-M-q.
10653 (octave-comment-start-skip): Include %!.
10654 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10655
10656 2013-05-12 Leo Liu <sdl.web@gmail.com>
10657
10658 * progmodes/octave.el (inferior-octave-startup): Store the value
10659 of __octave_srcdir__ for octave-source-directories.
10660 (inferior-octave-check-process): New function refactored out of
10661 inferior-octave-send-list-and-digest.
10662 (octave-source-directories)
10663 (octave-find-definition-filename-function): New variables.
10664 (octave-source-directories)
10665 (octave-find-definition-default-filename): New functions.
10666 (octave-find-definition): Improve to find functions implemented in C++.
10667
10668 2013-05-12 Glenn Morris <rgm@gnu.org>
10669
10670 * calendar/diary-lib.el (diary-outlook-format-1):
10671 Don't include dayname in the output. (Bug#14349)
10672
10673 2013-05-11 Glenn Morris <rgm@gnu.org>
10674
10675 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10676
10677 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10678 Treat cc-provide like provide.
10679
10680 2013-05-11 Kevin Ryde <user42@zip.com.au>
10681
10682 * cus-dep.el (custom-make-dependencies):
10683 Use generated-autoload-load-name for the sake of files such
10684 such cedet/semantic/bovine/c.el, where the base file name
10685 is not in load-path. (Bug#5277)
10686
10687 2013-05-11 Glenn Morris <rgm@gnu.org>
10688
10689 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10690 Provide features.
10691
10692 2013-05-11 Leo Liu <sdl.web@gmail.com>
10693
10694 * progmodes/octave.el (octave-indent-comment): Improve.
10695 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10696 (octave-eldoc-function-signatures, octave-eldoc-function):
10697 New functions.
10698 (octave-mode, inferior-octave-mode): Add eldoc support.
10699
10700 2013-05-11 Richard Stallman <rms@gnu.org>
10701
10702 * epa.el (epa-decrypt-file): Take output file name as argument
10703 and read it using `interactive'.
10704
10705 2013-05-11 Leo Liu <sdl.web@gmail.com>
10706
10707 * progmodes/octave.el (octave-beginning-of-line)
10708 (octave-end-of-line): Check before using up-list because it jumps
10709 out of more syntactic contructs since moving to smie.
10710 (octave-indent-comment): New function.
10711 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10712 (octave-begin-keywords, octave-end-keywords)
10713 (octave-reserved-words, octave-smie-bnf-table)
10714 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10715
10716 2013-05-11 Glenn Morris <rgm@gnu.org>
10717
10718 * faces.el (internal-face-x-get-resource):
10719 * frame.el (ns-display-monitor-attributes-list):
10720 * calc/calc-aent.el (math-to-radians-2):
10721 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10722 Fix declarations.
10723
10724 * calc/calc-menu.el: Make it loadable in isolation.
10725
10726 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10727 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10728 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10729 (eudc-bbdb-query-internal): Require 'bbdb.
10730
10731 * lpr.el (lpr-headers-switches):
10732 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10733
10734 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10735
10736 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10737
10738 * term.el (term-set-escape-char): Make it idempotent.
10739
10740 2013-05-10 Leo Liu <sdl.web@gmail.com>
10741
10742 * progmodes/octave.el (inferior-octave-completion-table):
10743 No longer a function and all uses changed. Use cache to speed up
10744 completion due to bug#11906.
10745 (octave-beginning-of-defun): Re-write to be more general.
10746
10747 2013-05-10 Glenn Morris <rgm@gnu.org>
10748
10749 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10750
10751 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10752
10753 * comint.el (comint-redirect-send-command-to-process): Use :around
10754 rather than :override for comint-redirect-filter.
10755 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10756 Call it instead of comint-redirect-original-filter-function (which
10757 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10758
10759 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10760
10761 * frame.el (display-monitor-attributes-list): Add NS case.
10762 (ns-display-monitor-attributes-list): Declare.
10763
10764 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10765
10766 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10767
10768 2013-05-09 Glenn Morris <rgm@gnu.org>
10769
10770 * international/fontset.el (vertical-centering-font-regexp):
10771 Set standard-value.
10772
10773 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10774
10775 * bookmark.el (bookmark-search-delay):
10776 * cus-start.el (vertical-centering-font-regexp):
10777 * ps-mule.el (ps-mule-font-info-database-default):
10778 * ps-print.el (ps-default-fg, ps-default-bg):
10779 * type-break.el (type-break-good-break-interval):
10780 * whitespace.el (whitespace-indentation-regexp)
10781 (whitespace-space-after-tab-regexp):
10782 * emacs-lisp/testcover.el (testcover-1value-functions)
10783 (testcover-noreturn-functions, testcover-progn-functions)
10784 (testcover-prog1-functions):
10785 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10786 * eshell/em-glob.el (eshell-glob-translate-alist):
10787 * play/tetris.el (tetris-tty-colors):
10788 * progmodes/cpp.el (cpp-face-default-list):
10789 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10790 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10791 (idlwave-help-browser-generic-args):
10792 * progmodes/make-mode.el (makefile-special-targets-list):
10793 * progmodes/python.el (python-shell-virtualenv-path):
10794 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10795 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10796 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10797 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10798 * textmodes/reftex-vars.el (reftex-format-label-function):
10799 * textmodes/remember.el (remember-diary-file): Fix custom types.
10800
10801 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10802 Add :version.
10803
10804 2013-05-09 Leo Liu <sdl.web@gmail.com>
10805
10806 * progmodes/octave.el (inferior-octave-completion-at-point):
10807 Restore file completion. (Bug#14300)
10808 (inferior-octave-startup): Fix incorrect highlighting for the
10809 first prompt.
10810
10811 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10812
10813 * progmodes/ruby-mode.el: First cut at SMIE support.
10814 (ruby-use-smie): New var.
10815 (ruby-smie-grammar): New constant.
10816 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10817 (ruby-smie--forward-token, ruby-smie--backward-token)
10818 (ruby-smie-rules): New functions.
10819 (ruby-mode-variables): Setup SMIE if applicable.
10820
10821 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10822
10823 * simple.el (line-move-visual): Signal beginning/end of buffer
10824 only if vertical-motion moved less than it was requested. Avoids
10825 silly incorrect error messages when there are display strings with
10826 multiple newlines at EOL.
10827
10828 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10829
10830 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10831 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10832 (prolog-char-quote-workaround):
10833 * progmodes/cperl-mode.el (cperl-under-as-char):
10834 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10835 Mark as obsolete.
10836 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10837 their declaration.
10838 (vhdl-mode-syntax-table-init): Remove.
10839
10840 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10841 last change.
10842
10843 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10844 syntax for "_".
10845 (ld-script-font-lock-keywords):
10846 Change regexps to use things like \_< and \_>.
10847
10848 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10849 Change all regexps to use things like \_< and \_>.
10850
10851 * progmodes/autoconf.el (autoconf-definition-regexp)
10852 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10853 Handle a _ with symbol syntax.
10854 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10855
10856 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10857 Consolidate declaration.
10858 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10859 the declaration.
10860 (ada-create-syntax-table): Remove.
10861 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10862 already has the right syntax nowadays.
10863 (ada-goto-next-word): Don't change the syntax of "_".
10864
10865 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10866 with-wrapper-hook.
10867
10868 2013-05-08 Sam Steingold <sds@gnu.org>
10869
10870 * thingatpt.el (thing-at-point): Accept optional second argument
10871 NO-PROPERTIES to strip the text properties from the return value.
10872 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10873 to `thing-at-point' instead of stripping the properties ourselves.
10874 Also, when `thing-at-point' fails to find a url, prepend "http://"
10875 to the filename at point on the assumption that the user is
10876 pointing at something like gnu.org/gnu.
10877
10878 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10879
10880 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10881 * faces.el (crm-separator):
10882 Silence byte-compiler.
10883
10884 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10885 (tool-bar-map): Remove unneeded defvars.
10886
10887 2013-05-08 Leo Liu <sdl.web@gmail.com>
10888
10889 Re-work a fix for bug#10994 based on Le Wang's patch.
10890 * ido.el (ido-remove-consecutive-dups): New helper.
10891 (ido-completing-read): Use it.
10892 (ido-chop): Revert fix for bug#10994.
10893
10894 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10895
10896 * cus-edit.el (custom-save-variables):
10897 Pretty-print long values. (Bug#14187)
10898
10899 2013-05-08 Glenn Morris <rgm@gnu.org>
10900
10901 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10902 (m4-mode-syntax-table): Init in the defvar.
10903 (m4-mode-abbrev-table): Let define-derived-mode define it.
10904
10905 2013-05-08 Tom Tromey <tromey@redhat.com>
10906
10907 * progmodes/m4-mode.el (m4-mode-syntax-table):
10908 Do not treat "_" as word constituent. (Bug#14167)
10909
10910 2013-05-07 Glenn Morris <rgm@gnu.org>
10911
10912 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10913 Remove explicit eshell-isearch-cancel-map.
10914
10915 * progmodes/f90.el (f90-smart-end-names): New option.
10916 (f90-smart-end): Doc fix.
10917 (f90-end-block-optional-name): New constant.
10918 (f90-block-match): Respect f90-smart-end-names.
10919
10920 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10921
10922 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10923 about implicit semi-colons (bug#14218).
10924
10925 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10926
10927 * frame.el (display-monitor-attributes-list)
10928 (frame-monitor-attributes): New functions.
10929
10930 2013-05-06 Leo Liu <sdl.web@gmail.com>
10931
10932 * progmodes/octave.el (octave-syntax-propertize-function): Change
10933 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10934 (octave-font-lock-keywords): Use octave-operator-regexp.
10935 (octave-completion-at-point): Rename from
10936 octave-completion-at-point-function.
10937 (inferior-octave-directory-tracker): Robustify.
10938 (octave-text-functions): Remove and fix its uses. No such things
10939 any more.
10940
10941 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10942
10943 * emacs-lisp/trace.el (trace--display-buffer): New function.
10944 (trace-make-advice): Use it.
10945
10946 2013-05-06 Juri Linkov <juri@jurta.org>
10947
10948 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10949 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10950 Doc fix.
10951 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10952 in the help string. (Bug#12985)
10953
10954 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10955
10956 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10957
10958 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10959
10960 * progmodes/perl-mode.el: Add support for here documents.
10961 (perl-syntax-propertize-function): Match here-doc markers.
10962 (perl-syntax-propertize-special-constructs): Find their end.
10963 (perl-imenu-generic-expression): Use [:alnum:].
10964
10965 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10966 (advice--add-function): Refresh the advice if already present
10967 (bug#14317).
10968
10969 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10970
10971 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10972
10973 2013-05-06 Glenn Morris <rgm@gnu.org>
10974
10975 * w32-fns.el (w32-charset-info-alist): Declare.
10976
10977 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10978 of its defcustom properties.
10979 (eshell-cmpl-initialize): No need to load pcomplete.
10980
10981 * generic-x.el: No need to require comint when compiling.
10982
10983 * net/eudc-export.el: Make it loadable without bbdb.
10984 (top-level): Use require rather than load-library.
10985 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10986 (eudc-batch-export-records-to-bbdb)
10987 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10988 Require bbdb.
10989
10990 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10991
10992 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10993 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10994 some tweaks, instead.
10995
10996 2013-05-05 Leo Liu <sdl.web@gmail.com>
10997
10998 * progmodes/octave.el (octave-font-lock-keywords)
10999 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11000 (inferior-octave-send-list-and-digest): Improve error message.
11001 (octave-mode, inferior-octave-mode): Use setq-local.
11002 (octave-help): Set info-lookup-mode.
11003
11004 2013-05-05 Richard Stallman <rms@gnu.org>
11005
11006 * vc/compare-w.el (compare-windows-whitespace):
11007 Treat no-break space as whitespace.
11008
11009 * mail/rmailsum.el (rmail-summary-rmail-update):
11010 Detect empty summary and don't change selected message.
11011 (rmail-summary-goto-msg): Likewise.
11012
11013 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11014 Doc fixes, rename args.
11015
11016 2013-05-05 Alan Mackenzie <acm@muc.de>
11017
11018 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11019
11020 2013-05-05 Juri Linkov <juri@jurta.org>
11021
11022 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11023 to not add the length of the summary segment to the return value.
11024 (Bug#14125)
11025
11026 2013-05-05 Leo Liu <sdl.web@gmail.com>
11027
11028 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11029 (inferior-octave-output-filter): Remove.
11030 (octave-send-region, inferior-octave-startup): Fix callers.
11031 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11032 (octave-binary-file-extensions): New user variable.
11033 (octave-find-definition): Confirm if opening binary files.
11034 (octave-help-file): Use octave-find-definition to get the binary
11035 confirmation.
11036 (octave-help): Adjust for octave-help-file change.
11037
11038 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11039
11040 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11041 Merge the two entries that handle function definitions.
11042 (pascal--syntax-propertize): New const.
11043 (pascal-mode): Use it. Use setq-local.
11044
11045 2013-05-04 Glenn Morris <rgm@gnu.org>
11046
11047 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11048 (diary-from-outlook): Respect diary-from-outlook-function.
11049
11050 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11051
11052 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11053 Move the declaration from C.
11054 (read-minibuffer, eval-minibuffer): Move from C.
11055 (completion-setup-function): Avoid minibuffer-completion-contents.
11056
11057 2013-05-03 Leo Liu <sdl.web@gmail.com>
11058
11059 * progmodes/octave.el (octave-font-lock-keywords): Do not
11060 dehighlight 'end' in comments or strings.
11061 (octave-completing-read, octave-goto-function-definition):
11062 New helpers.
11063 (octave-help-buffer): New user variable.
11064 (octave-help-file, octave-help-function): New button types.
11065 (octave-help): New command and bind it to C-h ;.
11066 (octave-find-definition): New command and bind it to M-.
11067 (user-error): Alias to error if not defined.
11068
11069 2013-05-02 Leo Liu <sdl.web@gmail.com>
11070
11071 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11072 for \. (bug#14332)
11073 (octave-font-lock-keywords): Include [ and {.
11074
11075 2013-05-02 Leo Liu <sdl.web@gmail.com>
11076
11077 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11078 (inferior-octave): Remove calling comint-mode and return the buffer.
11079 (inferior-octave-startup): Cosmetic changes.
11080
11081 2013-05-02 Leo Liu <sdl.web@gmail.com>
11082
11083 * progmodes/octave.el (octave-syntax-propertize-function):
11084 Include the case when ' is at line beginning. (Bug#14336)
11085
11086 2013-05-02 Glenn Morris <rgm@gnu.org>
11087
11088 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11089 * desktop.el (vc-dir-mode): Just autoload it here.
11090
11091 2013-05-02 Alan Mackenzie <acm@muc.de>
11092
11093 Eliminate variable c-standard-font-lock-fontify-region-function.
11094 * progmodes/cc-mode.el
11095 (c-standard-font-lock-fontify-region-function): Remove.
11096 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11097
11098 2013-05-01 Leo Liu <sdl.web@gmail.com>
11099
11100 * progmodes/octave.el: Compatible with older emacs-24 releases.
11101 (inferior-octave-has-built-in-variables): Remove. Built-in
11102 variables were removed from Octave in 2007.
11103 (inferior-octave-startup): Fix uses.
11104 (comint-line-beginning-position): Remove compatibility code for
11105 emacs 21.
11106
11107 2013-05-01 Juri Linkov <juri@jurta.org>
11108
11109 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11110
11111 2013-05-01 Juri Linkov <juri@jurta.org>
11112
11113 * comint.el (comint-previous-matching-input): Don't print message
11114 "History item: %d" when `isearch-mode' is active.
11115 (comint-history-isearch-message): Print message "History item: %d"
11116 when `comint-input-ring-index' is not empty and this function is
11117 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11118
11119 2013-05-01 Leo Liu <sdl.web@gmail.com>
11120
11121 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11122 definitions. Use completion-at-point to insert keywords.
11123 (octave-abbrev-start): Remove.
11124 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11125
11126 2013-04-30 Leo Liu <sdl.web@gmail.com>
11127
11128 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11129 change.
11130
11131 2013-04-30 Alan Mackenzie <acm@muc.de>
11132
11133 Handle arbitrarily long C++ member initialisation lists.
11134 * progmodes/cc-engine.el (c-back-over-member-initializers):
11135 new function.
11136 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11137 (most) member init lists.
11138
11139 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11140
11141 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11142 variable.
11143
11144 2013-04-30 Leo Liu <sdl.web@gmail.com>
11145
11146 * progmodes/octave.el (octave-variables): Remove. No builtin
11147 variables any more. All converted to functions.
11148 (octave-font-lock-keywords, octave-completion-at-point-function):
11149 Fix uses.
11150 (octave-font-lock-texinfo-comment): New user variable.
11151 (octave-texinfo-font-lock-keywords): New variable for texinfo
11152 comment block.
11153 (octave-function-comment-block): New face.
11154 (octave-font-lock-texinfo-comment): New function.
11155 (octave-mode): Font lock texinfo comment block.
11156
11157 2013-04-29 Leo Liu <sdl.web@gmail.com>
11158
11159 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11160 indexing expression.
11161 (octave-continuation-string): Do not use \.
11162 (inferior-octave-complete-impossible): Remove.
11163 (inferior-octave-completion-table)
11164 (inferior-octave-completion-at-point): Remove its uses.
11165 (inferior-octave-startup): completion_matches was introduced to
11166 Octave in 1996 so safe to assume it.
11167 (octave-function-file-comment): Improve to follow how Octave does it.
11168 (octave-update-function-file-comment): Tweak.
11169
11170 2013-04-29 Leo Liu <sdl.web@gmail.com>
11171
11172 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11173 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11174 (octave-function-file-comment): Fix typo.
11175 (octave-sync-function-file-names): Use read-char-choice.
11176
11177 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11178
11179 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11180 to t for the less important warnings.
11181
11182 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11183
11184 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11185
11186 2013-04-27 Glenn Morris <rgm@gnu.org>
11187
11188 * vc/log-view.el (log-view-current-entry):
11189 Treat "---" separator lines as part of the following rev. (Bug#14169)
11190
11191 2013-04-27 Juri Linkov <juri@jurta.org>
11192
11193 * subr.el (read-number): Doc fix about using it by interactive
11194 code letter `n'. (Bug#14254)
11195
11196 2013-04-27 Juri Linkov <juri@jurta.org>
11197
11198 * desktop.el (desktop-auto-save-timeout): New option.
11199 (desktop-file-checksum): New variable.
11200 (desktop-save): Add optional arg `auto-save' and don't auto-save
11201 if nothing changed.
11202 (desktop-auto-save-timer): New variable.
11203 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11204 (after-init-hook): Call `desktop-auto-save-set-timer'.
11205 Suggested by Reuben Thomas <rrt@sc3d.org> in
11206 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11207
11208 2013-04-27 Leo Liu <sdl.web@gmail.com>
11209
11210 * progmodes/octave.el (octave-function-file-p)
11211 (octave-skip-comment-forward, octave-function-file-comment)
11212 (octave-update-function-file-comment): New functions.
11213 (octave-mode-map): Bind C-c ; to
11214 octave-update-function-file-comment.
11215 (octave-mode-menu): Add octave-update-function-file-comment.
11216 (octave-mode, inferior-octave-mode): Fix doc-string.
11217 (octave-insert-defun): Conform to Octave's coding convention.
11218 (Bug#14285)
11219
11220 * files.el (basic-save-buffer): Don't let errors in
11221 before-save-hook prevent saving buffer.
11222
11223 2013-04-20 Roland Winkler <winkler@gnu.org>
11224
11225 * faces.el (read-face-name): Use completing-read if arg multiple
11226 is nil.
11227
11228 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11229
11230 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11231 displayed, move point to after the totals line.
11232 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11233 for the details.
11234
11235 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11238 Add current dir to the load-path.
11239 (package-generate-autoloads): Don't rely on
11240 autoload-ensure-default-file.
11241
11242 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11243
11244 * textmodes/remember.el (remember-store-in-files): Document that
11245 the file name format is passed to `format-time-string'.
11246
11247 2013-04-26 Leo Liu <sdl.web@gmail.com>
11248
11249 * progmodes/octave.el (octave-sync-function-file-names): New function.
11250 (octave-mode): Use it in before-save-hook.
11251
11252 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11253
11254 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11255 (bug#14274).
11256
11257 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11258 \n and comment, even if it's not an implicit ; (bug#14218).
11259
11260 2013-04-26 Glenn Morris <rgm@gnu.org>
11261
11262 * subr.el (read-number): Once more use `read' rather than
11263 `string-to-number', to trap non-numeric input. (Bug#14254)
11264
11265 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11266
11267 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11268 Use `syntax-multiline' text property consistently instead of
11269 `font-lock-multiline'. (Bug#14237)
11270
11271 2013-04-26 Glenn Morris <rgm@gnu.org>
11272
11273 * emacs-lisp/shadow.el (list-load-path-shadows):
11274 No longer necessary to check for duplicate simple.el, since
11275 2012-07-07 change to init_lread to not include installation lisp
11276 directories in load-path when running uninstalled. (Bug#14270)
11277
11278 2013-04-26 Leo Liu <sdl.web@gmail.com>
11279
11280 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11281 (octave-mode, inferior-octave-mode): Use setq-local.
11282 (octave-not-in-string-or-comment-p): Rename to
11283 octave-in-string-or-comment-p.
11284 (octave-in-comment-p, octave-in-string-p)
11285 (octave-in-string-or-comment-p): Replace defsubst with defun.
11286
11287 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11288
11289 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11290
11291 2013-04-25 Bastien Guerry <bzg@gnu.org>
11292
11293 * textmodes/remember.el (remember-data-directory)
11294 (remember-directory-file-name-format): Fix custom types.
11295
11296 2013-04-25 Leo Liu <sdl.web@gmail.com>
11297
11298 * progmodes/octave.el (octave-completion-at-point-function):
11299 Make use of inferior octave process.
11300 (octave-initialize-completions): Remove.
11301 (inferior-octave-completion-table): New function.
11302 (inferior-octave-completion-at-point): Use it.
11303 (octave-completion-alist): Remove.
11304
11305 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11306
11307 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11308 (opascal-mode-syntax-table): New var.
11309 (opascal-literal-kind, opascal-is-literal-end)
11310 (opascal-literal-token-at): Rewrite.
11311 (opascal--literal-start-re, opascal-font-lock-keywords)
11312 (opascal--syntax-propertize): New constants.
11313 (opascal-font-lock-defaults): Adjust.
11314 (opascal-mode): Use them. Set comment-<foo> variables as well.
11315 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11316 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11317 (delphi-other-face, opascal-other-face): Remove face variables.
11318 (opascal-save-state): Remove macro.
11319 (opascal-fontifying-progress-step): Remove constant.
11320 (opascal--ignore-changes): Remove var.
11321 (opascal-set-token-property, opascal-parse-next-literal)
11322 (opascal-is-stable-literal, opascal-complete-literal)
11323 (opascal-is-literal-start, opascal-face-of)
11324 (opascal-parse-region, opascal-parse-region-until-stable)
11325 (opascal-fontify-region, opascal-after-change)
11326 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11327 (opascal-debug-parse-region, opascal-debug-parse-window)
11328 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11329 (opascal-debug-fontify-buffer): Remove.
11330 (opascal-debug-mode-map): Adjust accordingly.
11331
11332 2013-04-25 Leo Liu <sdl.web@gmail.com>
11333
11334 Merge octave-mod.el and octave-inf.el into octave.el with some
11335 cleanups.
11336 * progmodes/octave.el: New file renamed from octave-mod.el.
11337 * progmodes/octave-inf.el: Merged into octave.el.
11338 * progmodes/octave-mod.el: Renamed to octave.el.
11339
11340 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11341
11342 * textmodes/reftex-vars.el
11343 (reftex-label-ignored-macros-and-environments): New defcustom.
11344
11345 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11346
11347 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11348
11349 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11350 (smie-indent-keyword): Improve the check to ensure that the next
11351 comment is really on the same line.
11352 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11353
11354 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11355 semi-colons if the line is not otherwise empty (bug#14218).
11356
11357 2013-04-25 Glenn Morris <rgm@gnu.org>
11358
11359 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11360
11361 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11362
11363 * progmodes/opascal.el (opascal-set-token-property): Rename from
11364 opascal-set-text-properties and only set `token' (bug#14134).
11365 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11366 (opascal-literal-text-properties): Remove.
11367 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11368 Adjust callers.
11369
11370 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11371
11372 * textmodes/remember.el (remember-handler-functions): Add an
11373 option for a new handler `remember-store-in-files'.
11374 (remember-data-directory, remember-directory-file-name-format):
11375 New options.
11376 (remember-store-in-files): New function to store remember notes
11377 as separate files within a directory.
11378
11379 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11380
11381 * progmodes/compile.el (compilation-next-error-function):
11382 Pass "formats" to compilation-find-file (bug#11777).
11383
11384 2013-04-24 Glenn Morris <rgm@gnu.org>
11385
11386 * vc/vc-bzr.el (vc-bzr-print-log):
11387 * vc/vc-hg.el (vc-hg-print-log):
11388 * vc/vc-svn.el (vc-svn-print-log):
11389 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11390
11391 * vc/vc-bzr.el (vc-bzr-print-log):
11392 * vc/vc-cvs.el (vc-cvs-print-log):
11393 * vc/vc-git.el (vc-git-print-log):
11394 * vc/vc-hg.el (vc-hg-print-log):
11395 * vc/vc-mtn.el (vc-mtn-print-log):
11396 * vc/vc-rcs.el (vc-rcs-print-log):
11397 * vc/vc-sccs.el (vc-sccs-print-log):
11398 * vc/vc-svn.el (vc-svn-print-log):
11399 * vc/vc.el (vc-print-log-internal): Doc fixes.
11400
11401 2013-04-23 Glenn Morris <rgm@gnu.org>
11402
11403 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11404 Remove venerable code attempting to avoid substitute-command-keys.
11405
11406 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11407
11408 * textmodes/reftex-vars.el (reftex-label-regexps):
11409 Call `reftex-compile-variables' after changes to this variable.
11410
11411 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11412
11413 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11414 Use lexical-binding.
11415 (jit-lock-force-redisplay): Use markers, check buffer's continued
11416 existence and beware narrowed buffers.
11417 (jit-lock-fontify-now): Adjust call accordingly.
11418
11419 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11420
11421 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11422 to avoid misleading the user.
11423
11424 2013-04-22 Leo Liu <sdl.web@gmail.com>
11425
11426 * info-look.el: Prefer latex2e.info. (Bug#14240)
11427
11428 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11429
11430 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11431
11432 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11433 * net/tramp.el (tramp-call-process): ... here.
11434 (tramp-set-completion-function, tramp-parse-putty):
11435 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11436 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11437 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11438 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11439 (tramp-call-local-coding-command): Use `tramp-call-process'
11440 instead of `tramp-compat-call-process'.
11441
11442 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11443 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11444 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11445 (tramp-find-inline-compress): Improve traces.
11446 (tramp-maybe-send-script): Check for Perl binary.
11447 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11448
11449 2013-04-22 Daiki Ueno <ueno@gnu.org>
11450
11451 * epg.el (epg-context-pinentry-mode): New function.
11452 (epg-context-set-pinentry-mode): New function.
11453 (epg--start): Pass --pinentry-mode option to gpg command.
11454
11455 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11456
11457 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11458 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11459 `completion-at-point'. (Bug#13774)
11460
11461 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11462 default key binding for `describe-distribution' has been moved to
11463 `C-h C-o'. (Bug#13970)
11464
11465 2013-04-21 Glenn Morris <rgm@gnu.org>
11466
11467 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11468 Add doc strings.
11469 (vc-print-log): Clarify interactive prompt.
11470
11471 2013-04-20 Glenn Morris <rgm@gnu.org>
11472
11473 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11474 No longer include timestamp etc information.
11475
11476 2013-04-20 Roland Winkler <winkler@gnu.org>
11477
11478 * faces.el (read-face-name): Bug fix, return just one face if arg
11479 multiple is nil. (Bug#14209)
11480
11481 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11482
11483 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11484 (remove-function): Autoload.
11485
11486 * comint.el (comint-redirect-original-filter-function): Remove.
11487 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11488 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11489 (vc-cvs-annotate-command):
11490 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11491 * progmodes/prolog.el (prolog-consult-compile):
11492 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11493 Use add/remove-function instead.
11494 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11495 (gud-tooltip-process-output, gud-tooltip-tips):
11496 Use add/remove-function instead.
11497 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11498 (scheme-interaction-mode, exit-scheme-interaction-mode):
11499 Use add/remove-function instead.
11500
11501 * vc/vc-dispatcher.el: Use lexical-binding.
11502 (vc--process-sentinel): Rename from vc-process-sentinel.
11503 Change last arg to be the code to run. Don't use vc-previous-sentinel
11504 and vc-sentinel-commands any more.
11505 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11506 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11507
11508 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11509
11510 * progmodes/sh-script.el (sh-imenu-generic-expression):
11511 Handle function names with a single character. (Bug#14111)
11512
11513 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11514
11515 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11516 for subroutines defined in an eval (bug#14182).
11517
11518 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11519
11520 * bookmark.el (bookmark-completing-read): Improve handling of empty
11521 string (bug#14176).
11522
11523 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11524
11525 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11526
11527 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11528
11529 New faster Imenu implementation (bug#14058).
11530 * progmodes/python.el:
11531 (python-imenu-prev-index-position):
11532 (python-imenu-format-item-label-function)
11533 (python-imenu-format-parent-item-label-function)
11534 (python-imenu-format-parent-item-jump-label-function):
11535 New vars.
11536 (python-imenu-format-item-label)
11537 (python-imenu-format-parent-item-label)
11538 (python-imenu-format-parent-item-jump-label)
11539 (python-imenu--put-parent, python-imenu--build-tree)
11540 (python-imenu-create-index, python-imenu-create-flat-index)
11541 (python-util-popn): New functions.
11542 (python-mode): Set imenu-create-index-function to
11543 python-imenu-create-index.
11544
11545 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * winner.el (winner-active-region): Use region-active-p, activate-mark
11548 and deactivate-mark (bug#14225).
11549
11550 * simple.el (deactivate-mark): Don't inline it.
11551
11552 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11553
11554 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11555
11556 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11557
11558 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11559 file extensions from the archive-mode entry in order to prefer
11560 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11561
11562 2013-04-18 Leo Liu <sdl.web@gmail.com>
11563
11564 * bindings.el (help-event-list): Add ?\?.
11565
11566 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11567
11568 * subr.el (with-wrapper-hook): Declare obsolete.
11569 * simple.el (filter-buffer-substring-function): New hook.
11570 (filter-buffer-substring): Use it.
11571 (filter-buffer-substring-functions): Mark obsolete.
11572 * minibuffer.el (completion-in-region-function): New hook.
11573 (completion-in-region): Use it.
11574 (completion-in-region-functions): Mark obsolete.
11575 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11576 * abbrev.el (abbrev-expand-function): New hook.
11577 (expand-abbrev): Use it.
11578 (abbrev-expand-functions): Mark obsolete.
11579 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11580 and :filter-return.
11581
11582 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11583
11584 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11585 and do not care about match data.
11586
11587 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11588
11589 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11590 completion tables when completing error conditions and
11591 `declare' arguments.
11592 (lisp-complete-symbol, field-complete): Mark as obsolete.
11593 (check-parens): Unmatched parens are user errors.
11594 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11595
11596 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11597
11598 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11599 command changed buffer (ie. `flyspell-pre-buffer' is not current
11600 buffer), which prevents making decisions based on invalid value of
11601 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11602 cause an error when `flyspell-pre-point' was nil after switching
11603 buffers.
11604 (flyspell-post-command-hook): No longer needs to change buffers when
11605 checking pre-word. While at it remove unnecessary progn.
11606
11607 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11608
11609 * textmodes/ispell.el (ispell-add-per-file-word-list):
11610 Fix `flyspell-correct-word-before-point' error when accepting
11611 words and `coment-padding' is an integer by using
11612 `comment-normalize-vars' (Bug #14214).
11613
11614 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11615
11616 New defun movement commands.
11617 * progmodes/python.el (python-nav--syntactically)
11618 (python-nav--forward-defun, python-nav-backward-defun)
11619 (python-nav-forward-defun): New functions.
11620
11621 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11622
11623 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11624 (python-syntax-context): Use named compiler-macro for backwards
11625 compatibility with Emacs 24.x.
11626
11627 2013-04-17 Leo Liu <sdl.web@gmail.com>
11628
11629 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11630 octave-hide-process-buffer.
11631
11632 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11633
11634 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11635 (bug#14216).
11636
11637 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11638
11639 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11640 Fix adjustment of offset when receiving incomplete responses from GDB
11641 (bug#14129).
11642
11643 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11644
11645 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11646 python-mode-abbrev-table.
11647 (python-skeleton-define): Adjust accordingly.
11648 (python-mode-abbrev-table): New table that inherits from it so that
11649 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11650
11651 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11652 (abbrev-symbol): Use it.
11653 (abbrev--before-point): Use it since we already handle inheritance.
11654
11655 2013-04-16 Leo Liu <sdl.web@gmail.com>
11656
11657 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11658 binding to info-lookup-symbol.
11659
11660 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11661
11662 * minibuffer.el (completion--twq-all):
11663 * term/ns-win.el (ns-initialize-window-system):
11664 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11665
11666 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11667
11668 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11669 global bindings.
11670
11671 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11672
11673 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11674
11675 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11676 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11677 to nil.
11678 (ruby-end-of-defun): Remove the unused arg, change the docstring
11679 to reflect that this function is only used as the value of
11680 `end-of-defun-function'.
11681 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11682 to reflect an earlier change that beginning/end-of-defun functions
11683 jump between methods in a class definition, as well as top-level
11684 functions.
11685
11686 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11687
11688 * minibuffer.el (minibuffer-complete): Don't just scroll
11689 a *Completions* that's been iconified.
11690 (minibuffer-force-complete): Make sure repetitions do cycle when going
11691 through completion-in-region -> minibuffer-complete.
11692
11693 2013-04-15 Alan Mackenzie <acm@muc.de>
11694
11695 Correct the placement of c-cpp-delimiters when there're #s not at
11696 col 0.
11697
11698 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11699 place a submatch around the #.
11700 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11701 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11702 on the #, not BOL.
11703
11704 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11705
11706 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11707 (advice--member-p): New arg `name'.
11708 (advice--add-function, advice-member-p): Use it (bug#14202).
11709
11710 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11711
11712 Reformulate java imenu-generic-expression.
11713 The old expression contained ill formed regexps.
11714
11715 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11716 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11717 (cc-imenu-java-method-arg-regexp): New defconsts.
11718 (cc-imenu-java-build-type-args-regex): New defun.
11719 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11720 handling of spaces in the regexp.
11721
11722 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11723
11724 * textmodes/ispell.el (ispell-command-loop): Remove
11725 flyspell highlight of a word when ispell accepts it (bug #14178).
11726
11727 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11728
11729 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11730 uses code from the previous `ange-ftp-run-real-handler'.
11731 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11732 only in case that function exist. This is needed for proper
11733 unloading of Tramp.
11734
11735 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11736
11737 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11738
11739 * textmodes/reftex.el (reftex-compile-variables): Use it.
11740
11741 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11742
11743 * files.el (normal-mode): Only use default major-mode if no other mode
11744 was specified.
11745
11746 * emacs-lisp/trace.el (trace-values): New function.
11747
11748 * files.el: Allow : in local variables (bug#14089).
11749 (hack-local-variable-regexp): New var.
11750 (hack-local-variables-prop-line, hack-local-variables): Use it.
11751
11752 2013-04-13 Roland Winkler <winkler@gnu.org>
11753
11754 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11755 data before it gets modified by bibtex-beginning-of-entry.
11756
11757 2013-04-13 Roland Winkler <winkler@gnu.org>
11758
11759 * textmodes/bibtex.el (bibtex-url): Doc fix.
11760
11761 2013-04-13 Roland Winkler <winkler@gnu.org>
11762
11763 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11764 does not visit a BibTeX file, exclude it from the list of buffers
11765 returned by bibtex-initialize.
11766
11767 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11768
11769 * window.el (split-window): Remove interactive form, since as a
11770 command this function is a special case of split-window-below.
11771 Correct doc string.
11772
11773 2013-04-12 Roland Winkler <winkler@gnu.org>
11774
11775 * faces.el (read-face-name): Do not override value of arg default.
11776 Allow single faces and strings as default values. Remove those
11777 elements from return value that are not faces.
11778 (describe-face): Simplify.
11779 (face-at-point): New optional args thing and multiple so that this
11780 function can provide the same functionality previously provided by
11781 read-face-name.
11782 (make-face-bold, make-face-unbold, make-face-italic)
11783 (make-face-unitalic, make-face-bold-italic, invert-face)
11784 (modify-face, read-face-and-attribute): Use face-at-point.
11785
11786 * cus-edit.el (customize-face, customize-face-other-window)
11787 * cus-theme.el (custom-theme-add-face)
11788 * face-remap.el (buffer-face-set)
11789 * facemenu.el (facemenu-set-face): Use face-at-point.
11790
11791 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11792
11793 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11794
11795 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11796
11797 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11798 off leading { and trailing } from field values.
11799
11800 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11801
11802 * emacs-lisp/timer.el (timer--check): New function.
11803 (timer--time, timer-set-function, timer-event-handler): Use it.
11804 (timer-set-idle-time): Simplify.
11805 (timer--activate): CSE.
11806 (timer-event-handler): Give more info in error message.
11807 (internal-timer-start-idle): New function, moved from C.
11808
11809 * mpc.el (mpc-proc): Add `restart' argument.
11810 (mpc-proc-cmd): Use it.
11811 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11812 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11813 less often.
11814
11815 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11816
11817 * progmodes/sh-script.el: Implement `sh-mode' own
11818 `add-log-current-defun-function' (bug#14112).
11819 (sh-current-defun-name): New function.
11820 (sh-mode): Use the function.
11821
11822 2013-04-09 Bastien Guerry <bzg@gnu.org>
11823
11824 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11825
11826 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11827
11828 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11829
11830 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11831 timer (bug#14156).
11832
11833 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11834
11835 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11836 declaration.
11837
11838 2013-04-07 Leo Liu <sdl.web@gmail.com>
11839
11840 * pcmpl-x.el: New file.
11841
11842 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11843
11844 Do not set x-display-name until X connection is established.
11845 This is needed to prevent from weird situation described at
11846 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11847 * frame.el (make-frame): Set x-display-name after call to
11848 window system initialization function, not before.
11849 * term/x-win.el (x-initialize-window-system): Add optional
11850 display argument and use it.
11851 * term/w32-win.el (w32-initialize-window-system):
11852 * term/ns-win.el (ns-initialize-window-system):
11853 * term/pc-win.el (msdos-initialize-window-system):
11854 Add compatible optional display argument.
11855
11856 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11857
11858 * files.el (normal-backup-enable-predicate): On MS-Windows and
11859 MS-DOS compare truenames of temporary-file-directory and of the
11860 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11861 don't fail comparison by compare-strings. Also, compare file
11862 names case-insensitively on MS-Windows and MS-DOS.
11863
11864 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11865
11866 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11867 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11868
11869 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11870
11871 * whitespace.el (whitespace-color-on, whitespace-color-off):
11872 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11873
11874 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11875
11876 * ispell.el (ispell-set-spellchecker-params):
11877 Really set `ispell-args' for all equivs.
11878
11879 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11880
11881 * ido.el (ido-completions): Use extra elements of ido-decorations
11882 (bug#14143).
11883 (ido-decorations): Update docstring.
11884
11885 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11886
11887 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11888 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11889 nil during initialization, in order not to miss changes since the
11890 file was opened. (Bug#14140)
11891
11892 2013-04-05 Leo Liu <sdl.web@gmail.com>
11893
11894 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11895
11896 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11897
11898 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11899
11900 2013-04-04 Glenn Morris <rgm@gnu.org>
11901
11902 * electric.el (electric-pair-inhibit-predicate): Add :version.
11903
11904 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11905
11906 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11907 when a package is required several times (bug#14082).
11908
11909 2013-04-04 Roland Winkler <winkler@gnu.org>
11910
11911 * faces.el (read-face-name): Behave as promised by the docstring.
11912 Assume that arg default is a list of faces.
11913 (describe-face): Call read-face-name with list of default faces.
11914
11915 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11916
11917 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11918 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11919 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11920 the header.
11921 (bookmark-exit-hook-internal): Save even if list is empty.
11922
11923 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11924
11925 * emacs-lisp/package.el (package-pinned-packages): New var.
11926 (package--add-to-archive-contents): Obey it (bug#14118).
11927
11928 2013-04-03 Alan Mackenzie <acm@muc.de>
11929
11930 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11931 Also adapt to the new values of element 7 of a parse state.
11932
11933 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11934 parameter `not-in-delimiter'. Handle being inside comment opener.
11935 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11936 character in case we're typing a '*' after a '/'.
11937 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11938 instead by passing the parameter to c-state-pp-to-literal.
11939
11940 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11941 for elt. 7 of a parse state.
11942
11943 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11944
11945 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11946 * international/latin1-disp.el, international/mule-util.el:
11947 * language/cyril-util.el, language/european.el, language/ind-util.el:
11948 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11949 * language/tibetan.el, language/viet-util.el:
11950 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11951
11952 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11955 (electric-pair-post-self-insert-function): Use it.
11956 (electric-pair-default-inhibit): New function, extracted from
11957 electric-pair-post-self-insert-function.
11958
11959 2013-03-31 Roland Winkler <winkler@gnu.org>
11960
11961 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11962
11963 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11964
11965 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11966
11967 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11968
11969 Un-indent after "pass" and "return" statements (Bug#13888)
11970 * progmodes/python.el (python-indent-block-enders): New var.
11971 (python-indent-calculate-indentation): Use it.
11972
11973 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11974
11975 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11976 defun. Defining it as defalias could introduce too eager
11977 byte-compiler optimization. (Bug#14030)
11978
11979 2013-03-30 Chong Yidong <cyd@gnu.org>
11980
11981 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11982
11983 2013-03-30 Leo Liu <sdl.web@gmail.com>
11984
11985 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11986 (kmacro-execute-from-register): Pass the keyboard macro to
11987 kmacro-call-macro or repeating won't work correctly.
11988
11989 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11990
11991 * progmodes/subword.el: Back to using `forward-symbol'.
11992
11993 * subr.el (forward-whitespace, forward-symbol)
11994 (forward-same-syntax): Move from thingatpt.el.
11995
11996 2013-03-29 Leo Liu <sdl.web@gmail.com>
11997
11998 * kmacro.el (kmacro-to-register): New command.
11999 (kmacro-execute-from-register): New function.
12000 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12001
12002 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12003
12004 * mpc.el: Use defvar-local and setq-local.
12005 (mpc--proc-connect): Connection failures are not bugs.
12006 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12007 (mpc-volume-map): Bind to the up-events.
12008
12009 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12010
12011 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12012 instead of `forward-symbol'.
12013
12014 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12015
12016 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12017 (edebug--recursive-edit): Use it.
12018 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12019 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12020
12021 2013-03-28 Leo Liu <sdl.web@gmail.com>
12022
12023 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12024
12025 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12026
12027 * facemenu.el (list-colors-callback): New defvar.
12028 (list-colors-redisplay): New function.
12029 (list-colors-display): Install list-colors-redisplay as the
12030 revert-buffer-function. (Bug#14063)
12031
12032 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12033
12034 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12035 and suffixes don't overlap (bug#14061).
12036
12037 * case-table.el: Use lexical-binding.
12038 (case-table-get-table): New function.
12039 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12040
12041 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12042
12043 * progmodes/subword.el: Add `superword-mode' to do word motion
12044 over symbol_words (parallels and leverages `subword-mode' which
12045 does word motion inside MixedCaseWords).
12046
12047 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12048
12049 * eshell/em-unix.el: Move su and sudo to...
12050 * eshell/em-tramp.el: ...Eshell tramp module.
12051
12052 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12053
12054 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12055 Change return value to be a sexp. Delay `get-buffer' to after
12056 restoring the desktop (bug#13951).
12057
12058 2013-03-26 Leo Liu <sdl.web@gmail.com>
12059
12060 * register.el: Move semantic tag handling back to
12061 cedet/semantic/senator.el. (Bug#14052)
12062
12063 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12064
12065 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12066 into the prompt either (bug#13963).
12067
12068 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12069
12070 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12071 part of "(error-foo)".
12072
12073 2013-03-24 Juri Linkov <juri@jurta.org>
12074
12075 * replace.el (list-matching-lines-prefix-face): New defcustom.
12076 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12077 `occur-engine' if `face-differs-from-default-p' returns t.
12078 (occur-engine): Add `,' inside backquote construct to evaluate
12079 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12080 Pass `prefix-face' to the functions `occur-context-lines' and
12081 `occur-engine-add-prefix'.
12082 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12083 `prefix-face' and propertize the prefix with `prefix-face'.
12084 (Bug#14017)
12085
12086 2013-03-24 Leo Liu <sdl.web@gmail.com>
12087
12088 * nxml/rng-valid.el (rng-validate-while-idle)
12089 (rng-validate-quick-while-idle): Guard against deleted buffer.
12090 (Bug#13999)
12091
12092 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12093 is the last entry in kill-buffer-hook.
12094
12095 * files.el (kill-buffer-hook): Doc fix.
12096
12097 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12098
12099 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12100 Make it safe-local.
12101
12102 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12103
12104 2013-03-23 Leo Liu <sdl.web@gmail.com>
12105
12106 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12107 Remove.
12108
12109 * nxml/rng-valid.el (rng-validate-mode)
12110 (rng-after-change-function, rng-do-some-validation):
12111 * nxml/rng-maint.el (rng-validate-buffer):
12112 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12113 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12114 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12115 (nxml-extend-after-change-region): Use with-silent-modifications.
12116
12117 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12118 timer-idle-list.
12119
12120 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12121 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12122 timer-idle-list. (Bug#13999)
12123
12124 2013-03-23 Juri Linkov <juri@jurta.org>
12125
12126 * info.el (info-index-match): New face.
12127 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12128 main pattern and add text properties with the new face to matches
12129 in index entries relative to the beginning of the index entry.
12130 (Bug#14015)
12131
12132 2013-03-21 Eric Ludlam <zappo@gnu.org>
12133
12134 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12135 Inhibit read only while inserting objects.
12136
12137 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12138
12139 * progmodes/cfengine.el: Update docs to mention
12140 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12141 symbol motion. Remove "_" from the word syntax.
12142
12143 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12144
12145 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12146 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12147
12148 2013-03-20 Juri Linkov <juri@jurta.org>
12149
12150 * info.el (Info-next-reference-or-link)
12151 (Info-prev-reference-or-link): New functions.
12152 (Info-next-reference, Info-prev-reference): Use them.
12153 (Info-try-follow-nearest-node): Handle footnote navigation.
12154 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12155
12156 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12157
12158 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12159 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12160
12161 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12162
12163 Suppress unnecessary non-ASCII chatter during build process.
12164 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12165 (batch-skkdic-convert): Suppress most of the chatter.
12166 It's not needed so much now that machines are faster,
12167 and its non-ASCII component was confusing; see Dmitry Gutov in
12168 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12169
12170 2013-03-20 Leo Liu <sdl.web@gmail.com>
12171
12172 * ido.el (ido-chop): Fix bug#10994.
12173
12174 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12175
12176 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12177 Remove vars.
12178 (whitespace-color-on, whitespace-color-off):
12179 Use `font-lock-fontify-buffer' (Bug#13817).
12180
12181 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12182
12183 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12184 remapping in mode-line.
12185 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12186
12187 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12188
12189 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12190 value for `whitespace-line' face (Bug#13875).
12191 (whitespace-font-lock-keywords): Change description.
12192 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12193 the constructed keywords instead.
12194 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12195
12196 2013-03-19 Leo Liu <sdl.web@gmail.com>
12197
12198 * progmodes/compile.el (compilation-display-error): New command.
12199 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12200 C-o. (Bug#13992)
12201
12202 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12203
12204 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12205
12206 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12207
12208 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12209
12210 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12211
12212 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12213
12214 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12215 * net/tramp-gvfs.el (top):
12216 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12217 (tramp-handle-shell-command): Use it.
12218 (tramp-dissect-file-name): Raise an error when hostname is a
12219 method name, and neither method nor user is specified.
12220
12221 * net/trampver.el: Update release number.
12222
12223 2013-03-18 Leo Liu <sdl.web@gmail.com>
12224
12225 Make sure eldoc can be turned off properly.
12226 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12227 eldoc-mode.
12228 (eldoc-display-message-p): Revert last change.
12229 (eldoc-display-message-no-interference-p)
12230 (eldoc-print-current-symbol-info): Tweak.
12231
12232 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12233
12234 * doc-view.el (doc-view-new-window-function): Check the new window
12235 overlay's display property instead the char property of the
12236 buffer's first char. Use `with-selected-window' instead of
12237 `save-window-excursion' with `select-window'.
12238 (doc-view-document->bitmap): Check the current doc-view overlay's
12239 display property instead the char property of the buffer's first char.
12240
12241 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12242
12243 Automate the build of ja-dic.el (Bug#13984).
12244 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12245 from the input, rather than assume that it's been done for us by the
12246 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12247 the current date into a ja-dic.el comment, as that complicates
12248 regression testing.
12249
12250 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12251
12252 * whitespace.el: Fix double evaluation.
12253 (whitespace-space, whitespace-hspace, whitespace-tab)
12254 (whitespace-newline, whitespace-trailing, whitespace-line)
12255 (whitespace-space-before-tab, whitespace-indentation)
12256 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12257 obsolete defvars.
12258 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12259 (whitespace-color-on): Use a single font-lock-add-keywords call.
12260 Fix double-evaluation of face variables.
12261
12262 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12263
12264 * net/tramp-adb.el (tramp-adb-parse-device-names):
12265 Use `start-process' instead of `call-process'. Otherwise, the
12266 function might be blocked under MS Windows. (Bug#13299)
12267
12268 2013-03-17 Leo Liu <sdl.web@gmail.com>
12269
12270 Extend eldoc to display info in the mode-line. (Bug#13978)
12271 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12272 (eldoc-mode-line-string): New variable.
12273 (eldoc-minibuffer-message): New function.
12274 (eldoc-message-function): New variable.
12275 (eldoc-message): Use it.
12276 (eldoc-display-message-p)
12277 (eldoc-display-message-no-interference-p):
12278 Support eldoc-post-insert-mode.
12279
12280 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12281 (eval-expression): Run it.
12282
12283 2013-03-17 Roland Winkler <winkler@gnu.org>
12284
12285 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12286 strings in the list of return values.
12287
12288 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12289
12290 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12291 radix before checking for HMS forms.
12292
12293 2013-03-16 Leo Liu <sdl.web@gmail.com>
12294
12295 * progmodes/scheme.el: Add indentation and font-locking for λ.
12296 (Bug#13975)
12297
12298 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12299
12300 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12301 token before point (bug#13942).
12302
12303 2013-03-16 Leo Liu <sdl.web@gmail.com>
12304
12305 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12306
12307 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12308
12309 * startup.el (command-line-normalize-file-name): Fix handling of
12310 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12311 <xfq.free@gmail.com> in
12312 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12313
12314 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12315
12316 Sync with Tramp 2.2.7.
12317
12318 * net/trampver.el: Update release number.
12319
12320 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12321
12322 * doc-view.el: Fix bug#13887.
12323 (doc-view-insert-image): Don't modify overlay associated to
12324 non-live windows, and implement horizontal centering of image in
12325 case it's smaller than the window.
12326 (doc-view-new-window-function): Force redisplay of new windows on
12327 doc-view buffers.
12328
12329 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12330
12331 * saveplace.el (save-place-alist-to-file): Don't sort
12332 `save-place-alist', just pretty-print it (bug#13882).
12333
12334 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12335
12336 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12337 Check whether `default-file-name-coding-system' is bound.
12338 It isn't in XEmacs.
12339
12340 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12341
12342 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12343 backquotes for `obsolete' (bug#13929).
12344
12345 * international/mule.el (find-auto-coding): Include file name in
12346 obsolescence warning (bug#13922).
12347
12348 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12349
12350 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12351 for CFEngine 3-specific indentation.
12352 (cfengine3-indent-line): Use it. Fix up category regex.
12353 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12354
12355 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12356
12357 * type-break.el (type-break-file-name):
12358 * textmodes/remember.el (remember-data-file):
12359 * strokes.el (strokes-file):
12360 * shadowfile.el (shadow-initialize):
12361 * saveplace.el (save-place-file):
12362 * ps-bdf.el (bdf-cache-file):
12363 * progmodes/idlwave.el (idlwave-config-directory):
12364 * net/quickurl.el (quickurl-url-file):
12365 * international/kkc.el (kkc-init-file-name):
12366 * ido.el (ido-save-directory-list-file):
12367 * emulation/viper.el (viper-custom-file-name):
12368 * emulation/vip.el (vip-startup-file):
12369 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12370 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12371
12372 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12373
12374 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12375 * language/thai-word.el: Switch to UTF-8.
12376
12377 See ChangeLog.16 for earlier changes.
12378
12379 ;; Local Variables:
12380 ;; coding: utf-8
12381 ;; End:
12382
12383 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12384
12385 This file is part of GNU Emacs.
12386
12387 GNU Emacs is free software: you can redistribute it and/or modify
12388 it under the terms of the GNU General Public License as published by
12389 the Free Software Foundation, either version 3 of the License, or
12390 (at your option) any later version.
12391
12392 GNU Emacs is distributed in the hope that it will be useful,
12393 but WITHOUT ANY WARRANTY; without even the implied warranty of
12394 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12395 GNU General Public License for more details.
12396
12397 You should have received a copy of the GNU General Public License
12398 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.