* lisp/vc/log-edit.el: Fix highlighting of summary when it's the first line.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4 (log-edit--match-first-line): New function.
5 (log-edit-font-lock-keywords): Use it.
6 (log-edit-mode): Make jit-lock-defer-multiline work.
7
8 2014-01-13 Bastien Guerry <bzg@gnu.org>
9
10 * rect.el (rectangle-mark-mode): When the region is not active,
11 display a message saying that the mark as been set and that
12 rectangle mode is in use.
13 (rectangle--highlight-for-redisplay): Only put an overlay with a
14 visible vertical bar when (display-graphic-p) is non-nil.
15 This partially fixes Bug#16403.
16
17 2014-01-13 Juri Linkov <juri@jurta.org>
18
19 * info.el (Info-find-file): Go to DIR before displaying the error
20 about a nonexistent file if no previous Info file is visited.
21 Use `user-error' instead of `error' for "Info file %s does not exist".
22 (Info-find-node-2): In case of a nonexistent node in unwind forms
23 go to the Top node if there is no previous node to revert to.
24 (Bug#16405)
25
26 2014-01-13 Martin Rudalics <rudalics@gmx.at>
27
28 fit-frame/window-to-buffer code fixes including one for Bug#14096.
29 * window.el (fit-frame-to-buffer): Fix doc-string.
30 Respect window-min-height/-width. Fit pixelwise when
31 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
32 when avoiding that frame goes partially off-screen.
33 (fit-window-to-buffer): Respect window-min-height/-width
34 (Bug#14096).
35
36 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
37
38 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
39 after an empty line.
40
41 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
42
43 * net/shr.el (shr-render-region): Autoload.
44
45 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
46
47 * net/eww.el (eww-download-directory): Rename from
48 `eww-download-path' (Bug#16419).
49
50 2014-01-12 Leo Liu <sdl.web@gmail.com>
51
52 * dired-x.el (dired-mode-map): Fix last change.
53
54 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
55
56 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
57
58 Spelling fixes.
59 * emacs-lisp/generic.el (generic--normalize-comments):
60 Rename from generic--normalise-comments. All uses changed.
61 * play/bubbles.el (bubbles--neighborhood-score):
62 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
63 (bubbles--neighborhood-available)
64 (bubbles--update-neighborhood-score):
65 Rename from names with 'neighbourhood'. All uses changed.
66
67 2014-01-12 Leo Liu <sdl.web@gmail.com>
68
69 Re-implement the feature of showing eldoc info after editing.
70 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
71 (eldoc-edit-message-commands): New function.
72 (eldoc-print-after-edit): New variable.
73 (eldoc-pre-command-refresh-echo-area): Emit message only by
74 eldoc-message-commands.
75 (eldoc-mode): Restrict eldoc-message-commands to editing commands
76 if eldoc-print-after-edit is set. (Bug#16346)
77
78 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
79
80 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
81
82 * version.el (emacs-repository-get-version): Enhance so the
83 function works correctly in either a Bazaar or Git repo.
84
85 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
86 Goes with removal of the joke manpages from /etc.
87
88 2014-01-10 K. Handa <handa@gnu.org>
89
90 * mail/rmail.el (rmail-get-coding-system):
91 Check rmail-get-coding-function before "funcall"ing it.
92
93 2014-01-10 Glenn Morris <rgm@gnu.org>
94
95 * emacs-lisp/authors.el (authors-fixed-entries):
96 Update for files that no longer exist.
97
98 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
99
100 * version.el (emacs-bzr-get-version): Restore compatibilty with
101 24.3 (Tested).
102
103 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
104
105 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
106 and Podfile.
107
108 2014-01-10 Eli Zaretskii <eliz@gnu.org>
109
110 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
111
112 2014-01-10 Chong Yidong <cyd@gnu.org>
113
114 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
115
116 2014-01-10 Anders Lindgren <andlind@gmail.com>
117
118 * follow.el (follow-cache-command-list): Include right-char and
119 left-char.
120
121 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
122
123 Spelling fixes.
124 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
125 * woman.el (woman-mark-horizontal-position):
126 Rename from woman-mark-horizonal-position. Use changed.
127
128 2014-01-10 Glenn Morris <rgm@gnu.org>
129
130 * info.el (info-initialize): If running uninstalled, ensure our
131 own info files are always found first, even if INFOPATH is set.
132
133 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
134
135 2014-01-09 David Engster <deng@randomsample.de>
136
137 * emacs-lisp/eieio-custom.el:
138 * emacs-lisp/eieio-opt.el: Set generated autoload file to
139 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
140 * emacs-lisp/eieio.el: Regenerate autoloads.
141
142 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
143
144 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
145 following renames. (Bug#8756)
146
147 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
148
149 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
150 (bug#16382).
151 (activate-mark): Add `no-tmm' argument.
152 (set-mark, push-mark-command): Use it instead of running
153 activate-mark-hook by hand.
154
155 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
156
157 In preparation for the move to git, sanitize out some
158 Bazaar-specific names.
159
160 * version.el (emacs-bzr-version): Name changed to
161 emacs-repository-version. Obsolete-variable alias made.
162 * loadup.el: Follow through on this name change.
163 * mail/emacsbug.el (report-emacs-bug): Factor out any
164 assumption about the version control system in use.
165
166 2014-01-08 David Engster <deng@randomsample.de>
167
168 * help-fns.el (help-fns-describe-function-functions):
169 New variable to call functions for augmenting help buffers.
170 (describe-function-1): Remove explicit calls to
171 `help-fns--compiler-macro', `help-fns--parent-mode' and
172 `help-fns--obsolete'. Put them in above new variable instead, and
173 call them through `run-hook-with-args'.
174 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
175 `eieio-describe-class'. Not meant for interactive use anymore,
176 but to augment existing help buffers. Remove optional second
177 argument. Create proper button for file location.
178 Rewrite function to use `insert' instead of `princ' and `prin1' where
179 possible.
180 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
181 (eieio-method-def, eieio-class-def): Move further up.
182 (describe-method, describe-generic, eieio-describe-method):
183 Remove aliases.
184 (eieio-help-constructor, eieio-help-generic): Rename from
185 `eieio-describe-constructor' and `eieio-describe-generic', resp.
186 Rewrite to use `insert' in the current buffer and use proper help
187 buttons.
188 (eieio-help-find-method-definition)
189 (eieio-help-find-class-definition): Also accept symbols as
190 arguments.
191 (eieio-help-mode-augmentation-maybee): Remove.
192 (eieio-describe-class-sb): Use `describe-function'.
193 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
194 Add `eieio-help-generic' and `eieio-help-constructor'.
195
196 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
197
198 Spelling fixes.
199 * language/china-util.el (hz-ascii-designation):
200 Rename from hz-ascii-designnation.
201 (hz-ascii-designation): Rename from hz-ascii-designnation.
202 All uses changed.
203
204 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
205
206 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
207 package-alist.
208
209 2014-01-08 Bastien Guerry <bzg@gnu.org>
210
211 * emacs-lisp/package.el (package-delete):
212 Correctly delete the package from package-alist.
213
214 2014-01-08 Daiki Ueno <ueno@gnu.org>
215
216 * emacs-lisp/package.el (url-recreate-url): Declare.
217 (url-http-target-url): Declare.
218 (package-handle-response): Include requested URL in the error message.
219 (package--check-signature): Don't re-signal errors from
220 package--with-work-buffer. Suggested by Stefan Monnier.
221
222 2014-01-07 Bastien Guerry <bzg@gnu.org>
223
224 * minibuffer.el (completion--try-word-completion): When both a
225 hyphen and a space are possible candidates for the character
226 following a word, display both candidates. (Bug#15980)
227
228 2014-01-07 Martin Rudalics <rudalics@gmx.at>
229
230 * window.el (balance-windows-2): While rounding don't give a
231 window more than the remainder. Bug#16351, Bug#16383.
232
233 2014-01-07 Glenn Morris <rgm@gnu.org>
234
235 * menu-bar.el (menu-bar-help-extra-packages): Remove.
236 (menu-bar-help-menu): Use view-external-packages instead.
237
238 2014-01-07 Bastien Guerry <bzg@gnu.org>
239
240 * emacs-lisp/package.el (package-delete): Also delete the package
241 name from `package-alist', not its description only.
242
243 2014-01-07 Glenn Morris <rgm@gnu.org>
244
245 * help.el (view-external-packages):
246 * menu-bar.el (menu-bar-help-extra-packages):
247 Visit efaq.info rather than etc/MORE.STUFF.
248
249 2014-01-07 Juri Linkov <juri@jurta.org>
250
251 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
252 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
253
254 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
255 that shadows RET. (Bug#16342)
256
257 2014-01-07 Chong Yidong <cyd@gnu.org>
258
259 * isearch.el (isearch-yank-char, isearch-yank-word)
260 (isearch-yank-line): Doc fix.
261
262 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
263
264 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
265 * emacs-lisp/elint.el (elint-find-builtins):
266 * emacs-lisp/eldoc.el (eldoc-symbol-function):
267 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
268 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
269 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
270 * apropos.el (apropos-safe-documentation):
271 * subr.el (symbol-file): Remove redundant fboundp.
272 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
273
274 2014-01-06 Bastien Guerry <bzg@gnu.org>
275
276 * hl-line.el (global-hl-line-overlay): Make a local variable.
277 (global-hl-line-overlays): New variable to store all overlays.
278 (global-hl-line-mode): Don't delete overlays from the current
279 buffer when `global-hl-line-sticky-flag' is non-nil.
280 (global-hl-line-highlight): Add new overlays to
281 `global-hl-line-overlays'.
282 (global-hl-line-unhighlight-all): New function to delete all
283 overlays when turning off `global-hl-line-mode'.
284 This fixes Bug#16183.
285
286 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
287
288 * subr.el (set-transient-map): Fix nested case and docstring.
289
290 2014-01-06 Tassilo Horn <tsdh@gnu.org>
291
292 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
293 `Texinfo' entry.
294
295 2014-01-06 Daniel Colascione <dancol@dancol.org>
296
297 Fix defun navigation in vc log view.
298
299 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
300 like `beginning-of-defun'.
301 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
302 log-view-end-of-defun to log-view-end-of-defun-1. Replace
303 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
304 (log-view-extract-comment): Call `log-view-current-entry' directly
305 instead of relying on broken `log-view-beginning-of-defun' behavior.
306
307 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
308
309 Spelling fixes.
310 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
311 * emacs-lisp/debug.el (cancel-debug-on-entry):
312 * epg.el (epg-error-to-string):
313 * files.el (recover-file):
314 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
315 * mail/emacsbug.el (report-emacs-bug-hook):
316 * mail/sendmail.el (mail-recover):
317 * ses.el (ses-yank-resize):
318 * term/ns-win.el (ns-print-buffer):
319 Spelling fixes in diagnostics, mostly for "canceled" with one L.
320 * epg.el (epg-key-capability-alist): Rename from misspelled version.
321 All uses changed.
322 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
323
324 2014-01-06 Leo Liu <sdl.web@gmail.com>
325
326 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
327 to avoid shadowing global key. (Bug#16354)
328
329 2014-01-06 Daniel Colascione <dancol@dancol.org>
330
331 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
332 rst-mode.
333
334 2014-01-05 Martin Rudalics <rudalics@gmx.at>
335
336 * window.el (balance-windows): Add mising t to fix Bug#16351.
337
338 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
339
340 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
341 (bug#16285).
342 (shr-insert): If we have a word that's longer than `shr-width',
343 break after it anyway. Otherwise we'll do no breaking once we get
344 such a long word.
345
346 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
347
348 * net/eww.el (eww): Support single/double quote for search.
349 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
350 (eww-history-quit): Delete and use quit-window.
351 (eww-history-kill): Delete, because it doesn't work well and
352 not necessary.
353 (eww-history-mode-map): Delete some keys and add easy-menu.
354
355 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
356
357 Fix misspelling of 'chinese' in rx (Bug#16237).
358 * emacs-lisp/rx.el (rx-categories): Correct spelling of
359 chinese-two-byte.
360
361 Change subword regexps back to vars (Bug#16296).
362 * progmodes/subword.el (subword-forward-regexp)
363 (subword-backward-regexp): Change these back to variables.
364
365 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
366
367 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
368 syntax-begin-function (bug#16247).
369
370 2014-01-03 Chong Yidong <cyd@gnu.org>
371
372 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
373 (advice--docstring): Delete variable.
374 (advice--make-1): Leave the docstring empty.
375 (advice-add): Use function-documentation for advised docstring.
376
377 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
378 Ignore function-documentation property when getting documentation.
379 (ad-activate-advised-definition): Use function-documentation
380 generate the docstring.
381 (ad-make-advised-definition): Don't call
382 ad-make-advised-definition-docstring.
383 (ad-make-advised-definition-docstring, ad-advised-definition-p):
384 Delete functions.
385
386 * progmodes/sql.el (sql-help): Use function-documentation instead
387 of dynamic-docstring-function property. No need to autoload now.
388 (sql--help-docstring): New variable.
389 (sql--make-help-docstring): Use it.
390
391 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
392
393 * ielm.el (ielm-tab): Retarget.
394 (ielm-map): Use ielm-tab for tab.
395 (ielm-complete-filename): Use comint-filename-completion.
396 (ielm-complete-symbol): Remove.
397 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
398 remove ielm-tab from completion-at-point-functions (bug#16224).
399
400 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
401 Beware signals raised by predicates (bug#16201).
402
403 2014-01-02 Richard Stallman <rms@gnu.org>
404
405 * dired-aux.el (dired-do-print): Handle printer-name.
406
407 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
408 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
409 (rmail-epa-decrypt): Turn off mime processing.
410
411 * mail/rmail.el (rmail-make-in-reply-to-field):
412 Add parens in message-id.
413
414 * mail/rmail.el (rmail-get-coding-function): Variable.
415 (rmail-get-coding-system): Use it.
416
417 2013-12-31 Eli Zaretskii <eliz@gnu.org>
418
419 * international/mule-conf.el: Unify the charset indian-is13194.
420 (indian-is13194): Specify unify-map.
421
422 2013-12-31 Leo Liu <sdl.web@gmail.com>
423
424 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
425
426 2013-12-30 Daniel Colascione <dancol@dancol.org>
427
428 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
429 of printing a useless when we resume from sleep.
430
431 * progmodes/sh-script.el
432 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
433 in indentation code. (Bug#16233)
434
435 2013-12-28 João Távora <joaotavora@gmail.com>
436
437 * elec-pair.el (electric-pair-post-self-insert-function):
438 Don't open extra newlines at beginning of buffer. (Bug#16272)
439
440 2013-12-28 Eli Zaretskii <eliz@gnu.org>
441
442 * frame.el (window-system-for-display): Don't allow to create a
443 GUI frame from a -nw session on MS-Windows. (Bug#14739)
444
445 2013-12-28 Glenn Morris <rgm@gnu.org>
446
447 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
448 Update callers.
449
450 * apropos.el (apropos-match-face):
451 * calculator.el (calculator-displayer):
452 * dabbrev.el (dabbrev-search-these-buffers-only):
453 * face-remap.el (buffer-face-mode-face):
454 * simple.el (yank-handled-properties):
455 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
456 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
457 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
458 (hashcash-double-spend-database):
459 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
460 (ruby-deep-indent-paren-style):
461 * textmodes/flyspell.el (flyspell-auto-correct-binding):
462 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
463 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
464 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
465 Specify custom types.
466
467 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
468 * bookmark.el (bookmark-bmenu-use-header-line):
469 * doc-view.el (doc-view-scale-internally):
470 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
471 * register.el (register-preview-delay):
472 * net/shr.el (shr-bullet):
473 * progmodes/cfengine.el (cfengine-cf-promises)
474 (cfengine-parameters-indent):
475 * progmodes/octave.el (inferior-octave-error-regexp-alist):
476 * textmodes/reftex-vars.el (reftex-label-regexps):
477 * vc/log-edit.el (log-edit-setup-add-author): Add version.
478
479 * net/tls.el (tls-certtool-program): Fix default value.
480
481 * desktop.el (desktop-restore-in-current-display):
482 * newcomment.el (comment-empty-lines):
483 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
484 (idlwave-pad-keyword):
485 * progmodes/tcl.el (tcl-tab-always-indent):
486 * textmodes/reftex-vars.el (reftex-index-default-tag):
487 * elec-pair.el (electric-pair-skip-whitespace):
488 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
489
490 * emacs-lisp/authors.el (authors-ignored-files)
491 (authors-valid-file-names, authors-renamed-files-alist): Additions.
492
493 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
494
495 * shell.el (shell-dynamic-complete-command): Doc fix.
496 (shell--command-completion-data): Shell completion now matches
497 executable filenames from the current buffer's directory, on
498 systems in which this behavior is the default (windows-nt, ms-dos).
499
500 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
501
502 * net/shr.el (shr-insert): Don't infloop if the width is zero.
503
504 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
507 (bug#16251).
508
509 * electric.el: Move all electric-pair-* to elec-pair.el.
510 * elec-pair.el: New file, split from electric.el.
511
512 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
513
514 * net/shr.el (shr-find-fill-point): Don't try to fill if the
515 indentation level is larger than the width, because that will
516 infloop.
517 (shr-insert): Fill repeatedly long texts, so that Japanese is
518 formatted correctly (bug#16263).
519 (shr-find-fill-point): Off by one error in comparison with the
520 indentation.
521
522 2013-12-26 João Távora <joaotavora@gmail.com>
523
524 * electric.el (electric-pair-mode): More flexible engine for skip-
525 and inhibit predicates, new options for pairing-related functionality.
526 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
527 if that keeps or improves their balance in buffers.
528 (electric-pair-delete-adjacent-pairs): Delete the pair when
529 backspacing over adjacent matched delimiters.
530 (electric-pair-open-extra-newline): Open extra newline when
531 inserting newlines between adjacent matched delimiters.
532 (electric--sort-post-self-insertion-hook):
533 Sort post-self-insert-hook according to priority values when
534 minor-modes are activated.
535 * simple.el (newline-and-indent): Call newline with interactive
536 set to t.
537 (blink-paren-post-self-insert-function): Set priority to 100.
538 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
539 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
540 comments. Locally set electric-pair-skip-whitespace to 'chomp and
541 electric-pair-open-newline-between-pairs to nil.
542
543 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
544
545 * progmodes/python.el: Use lexical-binding.
546 (python-nav-beginning-of-defun): Stop searching ASAP.
547
548 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
549
550 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
551 Fix interactive spec. Doc fix. (Bug#15754)
552
553 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
554
555 * emacs-lisp/byte-run.el (eval-when-compile):
556 * progmodes/cc-defs.el (cc-eval-when-compile):
557 Fix edebug spec (bug#16184).
558
559 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
560
561 * net/shr.el (shr-visit-file): Remove debugging function.
562 (shr-insert): Don't infloop if we can't find a good place to break
563 the line (bug#16256).
564
565 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
566
567 * progmodes/python.el:
568 (python-nav--lisp-forward-sexp): New function.
569 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
570 python-nav-lisp-forward-sexp-safe.
571 (python-nav--forward-sexp): New argument SAFE allows switching
572 forward sexp movement behavior for parens.
573 (python-nav-forward-sexp): Throw errors on unterminated parens
574 (Bug#16191).
575 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
576 (python-nav-backward-sexp-safe): New functions.
577 (python-shell-buffer-substring):
578 Use `python-nav-forward-sexp-safe'.
579
580 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
581
582 * net/shr.el (shr-find-fill-point): Don't break lines before a
583 quotation mark.
584 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
585 (shr-find-fill-point): Remove the special checks for the quotation
586 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
587
588 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
589
590 * net/eww.el (eww-form-textarea): Use a different face for
591 textareas than text input since they have different keymaps
592 (bug#16142).
593
594 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
595
596 * progmodes/python.el (python-nav-beginning-of-statement):
597 Speed up (Bug#15295).
598
599 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
600
601 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
602 the window configuration.
603
604 2013-12-24 Eli Zaretskii <eliz@gnu.org>
605
606 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
607 we run on MS-Windows or MS-DOS.
608
609 2013-12-24 Martin Rudalics <rudalics@gmx.at>
610
611 * window.el (balance-windows-area): Call window-size instead of
612 window-height and window-width. Bug#16241.
613
614 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
615
616 * net/eww.el (eww-bookmark-quit): Remove.
617 (eww-bookmark-browse): Restore the window configuration when you
618 choose a bookmark (bug#16144).
619
620 2013-12-24 Daniel Colascione <dancol@dancol.org>
621
622 * icomplete.el: Remove redundant :group arguments to `defcustom'
623 throughout.
624 (icomplete-show-matches-on-no-input): New customizable variable.
625 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
626 we have something to show.
627 (icomplete-exhibit): Compute completions even if we have no user input.
628
629 2013-12-23 Daniel Colascione <dancol@dancol.org>
630
631 * icomplete.el: Move `provide' to end of file.
632
633 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
634
635 * net/gnutls.el (gnutls-verify-error): Add version tag.
636
637 2013-12-23 Chong Yidong <cyd@gnu.org>
638
639 * subr.el (set-transient-map): Rename from
640 set-temporary-overlay-map. Doc fix.
641
642 * face-remap.el (text-scale-adjust):
643 * indent.el (indent-rigidly):
644 * kmacro.el (kmacro-call-macro):
645 * minibuffer.el (minibuffer-force-complete):
646 * repeat.el (repeat):
647 * simple.el (universal-argument--mode):
648 * calendar/todo-mode.el (todo-insert-item--next-param):
649 * progmodes/f90.el (f90-abbrev-start): Callers changed.
650
651 * indent.el (indent-rigidly): Use substitute-command-keys.
652
653 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
654
655 * net/eww.el (eww-tag-select): Add text-property to jump to next
656 select field.
657 (eww): Add non-supported ftp error.
658
659 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
660
661 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
662 comments. Handle electric indent after typing `?' and `!'.
663
664 2013-12-22 Chong Yidong <cyd@gnu.org>
665
666 * faces.el (face-spec-recalc): If the theme specs are not
667 applicable to a frame, fall back on the defface spec.
668 This prevents themes from obliterating faces on low-color terminals.
669
670 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
671
672 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
673 after `{'. We need it after block openers, and it doesn't seem
674 to hurt after hash openers.
675
676 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
677
678 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
679 extracted from `ruby-smie-rules'.
680 (ruby--electric-indent-chars): New variable.
681 (ruby--electric-indent-p): New function.
682 (ruby-mode): Use `electric-indent-functions' instead of
683 `electric-indent-chars'.
684
685 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
686
687 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
688 docstring.
689 (ruby-smie-rules): Indent plus one level after `=>'.
690
691 2013-12-21 Richard Stallman <rms@gnu.org>
692
693 * simple.el (newline): Doc fix.
694
695 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
696
697 * net/eww.el (eww-list-histories, eww-list-histories)
698 (eww-history-browse, eww-history-quit, eww-history-kill)
699 (eww-history-mode-map, eww-history-mode): New command and
700 functions to list browser histories.
701 (eww-form-text): Support text form with disabled
702 and readonly attributes.
703 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
704
705 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
706
707 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
708 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
709 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
710 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
711 Use `user-error'.
712 (eww-bookmark-mode-map): Add menu.
713 (eww-render, eww-mode): Use `setq-local'.
714 (eww-tool-bar-map): New variable.
715 (eww-mode): Set `tool-bar-map'.
716 (eww-view-source): Check for `html-mode' with `fboundp'.
717
718 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
719
720 * net/shr.el (shr--extract-best-source): Don't bug out on audio
721 elements with text inside. Also remove debugging.
722
723 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
724
725 * cus-start.el (all): Add ns-use-srgb-colorspace.
726
727 2013-12-21 Chong Yidong <cyd@gnu.org>
728
729 * custom.el (custom-theme-recalc-face): Do nothing if the face is
730 undefined. Thus, theme settings for undefined faces do not take
731 effect until the faces are defined with defface, the same as with
732 theme variables.
733
734 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
735 (face-spec-reset-face): Don't assign extra properties in temacs.
736 (face-spec-recalc): Apply X resources too.
737
738 2013-12-21 Chong Yidong <cyd@gnu.org>
739
740 * faces.el (face-spec-set):
741 * cus-face.el (custom-theme-set-faces, custom-set-faces):
742 * custom.el (defface): Doc fixes (Bug#16203).
743
744 * indent.el (indent-rigidly-map): Add docstring, and move commands
745 into named functions.
746 (indent-rigidly-left, indent-rigidly-right)
747 (indent-rigidly-left-to-tab-stop)
748 (indent-rigidly-right-to-tab-stop): New functions. Decide on
749 indentation direction based on bidi direction, and accumulate
750 sequential commands in a single undo boundary.
751 (indent-rigidly--pop-undo): New utility function.
752
753 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
754
755 * faces.el (read-face-name): Require crm.el when using crm-separator.
756
757 2013-12-20 Daniel Colascione <dancol@dancol.org>
758
759 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
760 so that we don't reflow comments into the shebang line.
761
762 2013-12-20 Juri Linkov <juri@jurta.org>
763
764 * saveplace.el (save-place-to-alist): Add `dired-filename' as
765 a position when `dired-directory' is non-nil. Check integer
766 positions with `integerp'.
767 (toggle-save-place, save-places-to-alist): Add check for
768 `dired-directory'.
769 (save-place-find-file-hook): Check integer positions with
770 `integerp'.
771 (save-place-dired-hook): Use `dired-goto-file' when
772 `dired-filename' is found in the assoc list. Check integer
773 positions with `integerp'.
774 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
775
776 * dired.el (dired-initial-position-hook): Rename back from
777 `dired-initial-point-hook'.
778 (dired-initial-position): Rename `dired-initial-point-hook' to
779 `dired-initial-position-hook'.
780 (dired-file-name-at-point): Doc fix. (Bug#15329)
781
782 2013-12-20 Juri Linkov <juri@jurta.org>
783
784 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
785 (read-regexp-suggestions): New function.
786 (read-regexp): Use `read-regexp-defaults-function' to get default values.
787 Use `read-regexp-suggestions'. Add non-empty default to history
788 for empty input.
789 (occur-read-regexp-defaults-function): Remove function.
790 (occur-read-primary-args): Use `regexp-history-last' instead of
791 `occur-read-regexp-defaults-function'.
792
793 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
794 (hi-lock-line-face-buffer, hi-lock-face-buffer)
795 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
796 `hi-lock-read-regexp-defaults-function'. Doc fix.
797 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
798 with `find-tag-default-as-symbol-regexp'. Doc fix.
799 (hi-lock-read-regexp-defaults): Remove function.
800 (hi-lock-regexp-okay): Add check for null.
801
802 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
803 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
804
805 * subr.el (find-tag-default-as-symbol-regexp): New function.
806 (find-tag-default-as-regexp): Move symbol regexp formatting to
807 `find-tag-default-as-symbol-regexp'.
808
809 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
810
811 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
812 (Bug#14179)
813
814 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
815
816 * calendar/todo-mode.el: New implementation of item insertion
817 commands and key bindings.
818 (todo-key-prompt): New face.
819 (todo-insert-item): New command.
820 (todo-insert-item--parameters): New defconst, replacing defvar
821 todo-insertion-commands-args-genlist.
822 (todo-insert-item--param-key-alist): New defconst, replacing
823 defvar todo-insertion-commands-arg-key-list.
824 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
825 (todo-insert-item--argsleft, todo-insert-item--apply-args)
826 (todo-insert-item--next-param): New functions.
827 (todo-insert-item--args, todo-insert-item--argleft)
828 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
829 New variables.
830 (todo-key-bindings-t): Change binding of "i" from
831 todo-insertion-map to todo-insert-item.
832 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
833 (todo-insertion-command-name, todo-insertion-commands-names)
834 (todo-define-insertion-command, todo-insertion-commands)
835 (todo-insertion-key-bindings, todo-insertion-map): Remove.
836
837 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
838
839 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
840 (todo-toggle-item-highlighting): Use eval-and-compile instead of
841 eval-when-compile.
842 (todo-move-category): Allow choosing a non-existing todo file to
843 move the category to, and create that file.
844 (todo-default-priority): New user option.
845 (todo-set-item-priority): Use it.
846 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
847 (desktop-restore-file-buffer): Declare.
848 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
849 (todo-modes-set-2): Locally set desktop-save-buffer to
850 todo-desktop-save-buffer.
851 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
852 (auto-mode-alist): Add autoload cookie.
853
854 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
855
856 * emacs-lisp/subr-x.el: Renamed from helpers.el.
857 helpers.el was a poor choice of name.
858 (string-remove-prefix): New function.
859 (string-remove-suffix): New function.
860
861 2013-12-20 Martin Rudalics <rudalics@gmx.at>
862
863 Fix assignment for new window total sizes.
864 * window.el (window--pixel-to-size): Remove function.
865 (window--pixel-to-total-1, window--pixel-to-total):
866 Fix calculation of new total sizes.
867
868 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
869
870 * comint.el (comint-output-filter): Fix rear-nonsticky property
871 placement (Bug#16010).
872
873 2013-12-20 Chong Yidong <cyd@gnu.org>
874
875 * faces.el (read-color): Minor fix for completion function.
876
877 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
878
879 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
880 New option. (Bug#16182)
881 (ruby-smie--indent-to-stmt-p): Use it.
882 (ruby-smie-rules): Revert the logic in the handling of `when'.
883 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
884 (ruby-deep-arglist, ruby-deep-indent-paren)
885 (ruby-deep-indent-paren-style): Update docstrings to note that the
886 vars don't have any effect with SMIE.
887
888 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
889
890 * calc/calc.el (calc-enter, calc-pop): Use the variable
891 `calc-context-sensitive-enter'.
892
893 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
894
895 * net/shr.el (shr-insert): Protect against infloops in degenerate
896 tables.
897
898 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
899
900 * progmodes/octave.el (octave): Add link to manual and octave
901 homepage.
902 (octave-mode-menu): Link to octave-mode manual.
903
904 2013-12-20 Leo Liu <sdl.web@gmail.com>
905
906 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
907 insertion using skeleton-end-newline. (Bug#16138)
908
909 2013-12-20 Juri Linkov <juri@jurta.org>
910
911 * replace.el (occur-engine): Use `add-face-text-property'
912 to add the face property to matches and titles. (Bug#14645)
913
914 * hi-lock.el (hi-green): Use lighter color "light green" closer to
915 the palette of other hi-lock colors.
916 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
917
918 2013-12-19 Juri Linkov <juri@jurta.org>
919
920 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
921 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
922 (minibuffer-history-symbol): Move variable declaration closer to
923 its usage.
924
925 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
926 (Bug#14785)
927
928 2013-12-19 Juri Linkov <juri@jurta.org>
929
930 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
931 New function.
932 (log-edit-hook): Add it to :options. (Bug#16170)
933
934 2013-12-19 Juri Linkov <juri@jurta.org>
935
936 * simple.el (eval-expression-print-format): Don't check for
937 command names and the last command. Always display additional
938 formats of the integer result in the echo area, and insert them
939 to the current buffer only with a zero prefix arg.
940 Display character when char-displayable-p is non-nil.
941 (eval-expression): With a zero prefix arg, set `print-length' and
942 `print-level' to nil, and insert the integer values from
943 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
944
945 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
946 `eval-last-sexp-arg-internal'. Doc fix.
947 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
948 `eval-last-sexp-print-value'. Doc fix.
949 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
950 Set `print-length' and `print-level' to nil when arg is zero.
951 (eval-last-sexp): Doc fix.
952 (eval-defun-2): Print the integer values from
953 `eval-expression-print-format' at the end.
954
955 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
956 values from `eval-expression-print-format' at the end.
957
958 * ielm.el (ielm-eval-input): Print the integer
959 values from `eval-expression-print-format' at the end.
960
961 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
962
963 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
964 2013-12-11T19:01:44Z!tzz@lifelogs.com.
965
966 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
967
968 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
969 (hl-line-highlight, global-hl-line-highlight): Use it.
970 (hl-line-overlay): Use defvar-local.
971
972 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
973
974 * term/ns-win.el: Require dnd.
975 (global-map): Remove drag items.
976 (ns-insert-text, ns-set-foreground-at-mouse)
977 (ns-set-background-at-mouse):
978 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
979 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
980 New functions.
981
982 2013-12-19 Glenn Morris <rgm@gnu.org>
983
984 * emacs-lisp/ert.el (ert-select-tests):
985 Fix string/symbol mixup. (Bug#16121)
986
987 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
988
989 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
990 keywords to their parent.
991
992 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
993
994 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
995 first arg to be a string (fixed dead code), or an operator symbol.
996 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
997 operator symbols.
998 (ruby-smie-rules): Remove parent token check in the `.' clause, it
999 did nothing. Don't respond to `(:after ".")', it will be called
1000 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1001 change anything. Only return indentation for binary operators
1002 when they are hanging. De-dent opening paren when its parent is
1003 `.', otherwise it looks bad when the dot is not at bol or eol
1004 (bug#16182).
1005
1006 2013-12-19 Juri Linkov <juri@jurta.org>
1007
1008 * replace.el (query-replace-read-args): Split a non-negative arg
1009 and a negative arg into separate elements.
1010 (query-replace, query-replace-regexp, replace-string)
1011 (replace-regexp): Add arg `backward'. Doc fix.
1012 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1013 move point to the beginning of the match.
1014 (replace-search, replace-highlight): Use new arg `backward'
1015 to set the value of `isearch-forward'.
1016 (perform-replace): Add arg `backward' and use it to perform
1017 replacement backward. (Bug#14979)
1018
1019 * isearch.el (isearch-query-replace): Use a negative prefix arg
1020 to call `perform-replace' with a non-nil arg `backward'.
1021
1022 2013-12-18 Juri Linkov <juri@jurta.org>
1023
1024 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1025 to the default list. Move `log-edit-show-files' to the end.
1026 Add more available functions to options.
1027 (log-edit): Move default specific settings to
1028 `log-edit-insert-message-template'. Don't move point.
1029 (log-edit-insert-message-template): New function.
1030 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1031 (Bug#16170)
1032
1033 2013-12-18 Juri Linkov <juri@jurta.org>
1034
1035 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1036 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1037
1038 2013-12-18 Leo Liu <sdl.web@gmail.com>
1039
1040 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1041 (Bug#16186)
1042
1043 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1044
1045 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1046 formats for displaying file sizes when the -s switch is given.
1047 Instead, compute a separate format for displaying the size in
1048 blocks, which is displayed in addition to the "regular" size.
1049 When -h is given in addition to -s, produce size in blocks in
1050 human-readable form as well. (Bug#16179)
1051
1052 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1053
1054 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1055 Reference tables with ~\ref{...} instead of only \ref{...}.
1056
1057 2013-12-18 Chong Yidong <cyd@gnu.org>
1058
1059 * cus-edit.el (custom-magic-alist): Fix "themed" description
1060 (Bug#14348).
1061
1062 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1063 is non-nil, do not create a new entry in the symbol's theme-value
1064 or theme-face property; update theme-settings only (Bug#14664).
1065 (custom-available-themes): Doc fix.
1066
1067 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1068 (Bug#15674).
1069
1070 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1071
1072 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1073
1074 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1075 (Bug#13914).
1076
1077 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1078
1079 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1080
1081 2013-12-18 Glenn Morris <rgm@gnu.org>
1082
1083 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1084 * cus-start.el (load-prefer-newer): New option.
1085
1086 2013-12-18 Le Wang <l26wang@gmail.com>
1087
1088 * comint.el (comint-previous-matching-input-from-input):
1089 Retain point (Bug#13404).
1090
1091 2013-12-18 Chong Yidong <cyd@gnu.org>
1092
1093 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1094
1095 2013-12-18 Glenn Morris <rgm@gnu.org>
1096
1097 * mail/emacsbug.el (report-emacs-bug):
1098 Only mention enable-multibyte-characters if non-standard.
1099
1100 2013-12-17 Juri Linkov <juri@jurta.org>
1101
1102 * arc-mode.el (archive-extract-by-file): Check if directory exists
1103 before deletion to not show irrelevant errors if it doesn't exist.
1104
1105 2013-12-17 Juri Linkov <juri@jurta.org>
1106
1107 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1108 (Bug#14751)
1109
1110 * net/eww.el (browse-web): Add alias to `eww'.
1111 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1112 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1113
1114 * net/browse-url.el (browse-url-browser-function): Move `eww'
1115 closer to similar functions.
1116
1117 * startup.el (fancy-startup-screen, fancy-about-screen):
1118 Set browse-url-browser-function to eww-browse-url locally.
1119 (Bug#14751)
1120
1121 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1122
1123 * window.el (window--pixel-to-total): Remove unused `mini' var.
1124 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1125 (split-window): Remove unused `new' var.
1126 (window--display-buffer): Remove unused `frame' and `delta' vars.
1127 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1128 and display-width'.
1129
1130 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1131
1132 * dired.el (dired-mark-pop-up):
1133 * register.el (register-preview): Don't bind
1134 split-height-threshold here since it's now done in
1135 display-buffer-below-selected.
1136
1137 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1138
1139 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1140 xterm-rgb-convert-to-16bit.
1141 (rxvt-register-default-colors): Standardize with
1142 xterm-register-default-colors (Bug#14078).
1143
1144 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1145
1146 * simple.el (kill-region): Pass mark first, then point, so that
1147 kill-append works right (Bug#12819).
1148 (copy-region-as-kill, kill-ring-save): Likewise.
1149
1150 2013-12-17 Leo Liu <sdl.web@gmail.com>
1151
1152 * net/rcirc.el (rcirc-add-face):
1153 * eshell/em-prompt.el (eshell-emit-prompt):
1154 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1155 (Bug#16167)
1156
1157 2013-12-17 Chong Yidong <cyd@gnu.org>
1158
1159 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1160 Suggested by Xue Fuqiao.
1161
1162 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1163
1164 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1165
1166 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * net/shr.el (shr-insert-document): Remove unused var
1169 `shr-preliminary-table-render'.
1170 (shr-rescale-image): Remove unused arg `force'.
1171 (shr-put-image): Update calls accordingly.
1172 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1173
1174 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1175
1176 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1177 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1178 :close-all, to see which indentation method to use (Bug#16116).
1179 (smie-rules-function): Document the method :close-all.
1180
1181 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1182
1183 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1184
1185 * net/eww.el (eww-display-html): If we can't find the anchor we're
1186 looking for, then go to point-min.
1187
1188 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1189
1190 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1191 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1192 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1193 Expand dir too, in case it's relative.
1194
1195 2013-12-16 Juri Linkov <juri@jurta.org>
1196
1197 * desktop.el (desktop-auto-save-timeout): Change default to
1198 `auto-save-timeout'. Doc fix.
1199 (desktop-save): Skip the timestamp in desktop-saved-frameset
1200 when checking for auto-save changes.
1201 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1202 `desktop-auto-save' is called repeatedly by the idle timer.
1203 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1204 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1205 (Bug#15331)
1206
1207 2013-12-16 Juri Linkov <juri@jurta.org>
1208
1209 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1210 (Bug#16035)
1211 (isearch-pre-command-hook): Check `this-command' for symbolp.
1212
1213 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1214
1215 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1216
1217 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1218
1219 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1220 (cfengine3--current-function): Bring in the current-function
1221 functionality from `cfengine3--current-word'.
1222 (cfengine3-completion-function): Bring in the
1223 bounds-of-current-word functionality from
1224 `cfengine3--current-word'.
1225
1226 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1227
1228 * window.el (display-buffer-below-selected):
1229 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1230
1231 2013-12-16 Leo Liu <sdl.web@gmail.com>
1232
1233 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1234 Remove NOMSG arg and all uses changed.
1235
1236 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1237
1238 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1239 (cua--deactivate-rectangle): Don't deactivate the mark.
1240 (cua-set-rectangle-mark): Don't set mark-active since
1241 cua--activate-rectangle already does it for us.
1242 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1243 non-rectangular region.
1244
1245 * emulation/cua-base.el (cua-repeat-replace-region):
1246 Use with-current-buffer.
1247
1248 * net/gnutls.el: Use cl-lib.
1249 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1250
1251 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1252
1253 * emacs-lisp/package.el (package-built-in-p): Support both
1254 built-in and the package.el converted package descriptions.
1255 (package-show-package-list): Allow keywords.
1256 (package-keyword-button-action): Use it instead of
1257 `finder-list-matches'.
1258 (package-menu-filter-interactive): Interactive filtering (by
1259 keyword) function.
1260 (package-menu--generate): Support keywords and change keymappings
1261 and headers when they are given.
1262 (package--has-keyword-p): Helper function.
1263 (package-menu--refresh): Use it.
1264 (package--mapc): Helper function.
1265 (package-all-keywords): Use it.
1266 (package-menu-mode-map): Set up menu items and keybindings to
1267 provide a filtering UI.
1268
1269 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1270
1271 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1272 the behavior when a certificate fails validation. Defaults to
1273 old behavior: never abort, just warn.
1274 (gnutls-negotiate): Use it.
1275
1276 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1277
1278 * window.el (display-buffer-below-selected): Never split window
1279 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1280
1281 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1282
1283 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1284 (package-buffer-info): Use it (bug#15108).
1285
1286 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1287
1288 * icomplete.el (icomplete-completions): Make sure the prefix is already
1289 displayed elsewhere before hiding it (bug#16219).
1290
1291 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1292
1293 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1294 open-paren tokens when preceded by a open-paren, too.
1295 (ruby-smie-rules): Handle virtual indentation after open-paren
1296 tokens specially. If there is code between it and eol, return the
1297 column where is starts (Bug#16118).
1298
1299 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1300
1301 * progmodes/cfengine.el: Fix `add-hook' doc.
1302 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1303 (cfengine3--current-word): Fix parameters.
1304 (cfengine3-make-syntax-cache): Simplify further.
1305 (cfengine3-completion-function, cfengine3--current-function):
1306 Use `assq' for symbols.
1307 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1308
1309 2013-12-13 Glenn Morris <rgm@gnu.org>
1310
1311 * loadup.el (load-path): Warn if site-load or site-init changes it.
1312 No more need to reset it when bootstrapping.
1313
1314 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1315
1316 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1317 locations for cf-promises.
1318 (cfengine-mode-syntax-functions-regex): New caching variable.
1319 (cfengine3-fallback-syntax): Fallback syntax for cases where
1320 cf-promises doesn't run.
1321 (cfengine3--current-word): Reimplement using
1322 `cfengine-mode-syntax-functions-regex'.
1323 (cfengine3-completion-function, cfengine3--current-function):
1324 Use `cfengine3-make-syntax-cache' directly.
1325 (cfengine3-clear-syntax-cache): New function.
1326 (cfengine3-make-syntax-cache): Simplify and create
1327 `cfengine-mode-syntax-functions-regex' on demand.
1328 (cfengine3-format-function-docstring): Don't call
1329 `cfengine3-make-syntax-cache' explicitly.
1330
1331 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1332
1333 Fix windmove-find-other-window broken after pixelwise resizing
1334 (Bug#16017).
1335 * windmove.el (windmove-other-window-loc): Revert change from
1336 2013-12-04.
1337 (windmove-find-other-window): Call window-in-direction.
1338 * window.el (window-in-direction): New arguments SIGN, WRAP and
1339 MINI to emulate original windmove-find-other-window behavior.
1340
1341 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1342
1343 * simple.el (blink-matching--overlay): New variable.
1344 (blink-matching-open): Instead of moving point, highlight the
1345 matching paren with an overlay
1346 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1347
1348 * faces.el (paren-showing-faces, show-paren-match)
1349 (show-paren-mismatch): Move from paren.el.
1350
1351 2013-12-13 Leo Liu <sdl.web@gmail.com>
1352
1353 * indent.el (indent-region): Disable progress reporter in
1354 minibuffer. (Bug#16108)
1355
1356 * bindings.el (visual-order-cursor-movement): Fix version.
1357
1358 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1359
1360 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1361 Also match after beginning of line.
1362 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1363 files. Thanks to Russell Sim. (Bug#15378)
1364
1365 2013-12-13 Juri Linkov <juri@jurta.org>
1366
1367 * simple.el <Keypad support>: Remove key bindings duplicated
1368 with bindings.el. (Bug#14397)
1369
1370 2013-12-13 Juri Linkov <juri@jurta.org>
1371
1372 * comint.el (comint-mode-map): Replace `delete-char' with
1373 `delete-forward-char'. (Bug#16109)
1374
1375 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1376
1377 * progmodes/python.el (python-indent-calculate-indentation):
1378 Fix de-denters cornercase. (Bug#15731)
1379
1380 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1381
1382 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1383 (advice--make): Pay attention to `depth'.
1384 (advice--make-1): Don't autoload commands eagerly.
1385 * emacs-lisp/elp.el (elp-instrument-function):
1386 * emacs-lisp/trace.el (trace-function-internal):
1387 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1388
1389 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1390
1391 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1392
1393 * term/w32-win.el (w32-handle-dropped-file):
1394 * startup.el (normal-top-level):
1395 * net/browse-url.el (browse-url-file-url):
1396 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1397 decode file names using 'utf-8' rather than
1398 file-name-coding-system.
1399
1400 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1401
1402 * progmodes/python.el (python-indent-context)
1403 (python-indent-calculate-indentation): Fix auto-identation
1404 behavior for comment blocks. (Bug#15916)
1405
1406 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1407
1408 * progmodes/python.el (python-indent-calculate-indentation):
1409 When determining indentation, don't treat "return", "pass", etc., as
1410 operators when they are just string constituents. (Bug#15812)
1411
1412 2013-12-12 Juri Linkov <juri@jurta.org>
1413
1414 * uniquify.el (uniquify-buffer-name-style): Change default to
1415 `post-forward-angle-brackets'.
1416
1417 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1418 `uniquify'. Change default to `post-forward-angle-brackets'.
1419
1420 2013-12-11 Glenn Morris <rgm@gnu.org>
1421
1422 * emacs-lisp/package.el (finder-list-matches):
1423 Autoload rather than falsely declaring.
1424
1425 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1426
1427 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1428 (eww-mode-map): Use them.
1429
1430 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1431
1432 * window.el (display-buffer-in-side-window): Fix doc-string
1433 (Bug#16115).
1434
1435 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1436
1437 * vc/vc-git.el: Silence byte-compiler warnings.
1438 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1439 (log-edit-set-header): Declare.
1440
1441 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1442
1443 * Makefile.in (custom-deps, finder-data): Run output file names
1444 through unmsys--file-name. (Bug#16099)
1445
1446 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1449 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1450
1451 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1452 instead of deleting the selection "by hand" (bug#16098).
1453 Rely on insert-for-yank to yank rectangles.
1454 (cua-highlight-region-shift-only): Mark obsolete.
1455 (cua-mode): Don't enable/disable transient-mark-mode,
1456 shift-select-mode (cua-mode works both with and without them), and
1457 pc-selection-mode (obsolete).
1458 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1459 (cua--deactivate-rectangle): Deactivate it.
1460
1461 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1462 (delete-selection-helper): Make sure yank starts at the top of the
1463 deleted region.
1464 (minibuffer-keyboard-quit): Use region-active-p.
1465
1466 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1467
1468 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1469 to `delete' (bug#16109).
1470
1471 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1472
1473 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1474 info manual and show keybindings and set `:group' keyword.
1475
1476 2013-12-11 Juri Linkov <juri@jurta.org>
1477
1478 * delsel.el (delete-active-region): Let-bind `this-command'
1479 to prevent `kill-region' from changing its original value.
1480 (delete-selection-helper): Handle `overwrite-mode' for the type
1481 `kill' exactly the same way as for the type `t'.
1482 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1483 Support more commands. (Bug#13312)
1484
1485 2013-12-11 Juri Linkov <juri@jurta.org>
1486
1487 * bindings.el: Map kp keys to non-kp keys systematically
1488 with basic modifiers control, meta and shift. (Bug#14397)
1489
1490 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1491
1492 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1493 "Close browser" menu items. Fix wrong function of "List
1494 bookmarks".
1495
1496 2013-12-11 Juri Linkov <juri@jurta.org>
1497
1498 * misearch.el (multi-isearch-buffers): Set the value of
1499 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1500 arg of isearch-forward to t.
1501 (multi-isearch-buffers-regexp): Set the value of
1502 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1503 arg of isearch-forward-regexp to t.
1504 (multi-isearch-files): Set the value of
1505 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1506 arg of isearch-forward to t.
1507 (multi-isearch-files-regexp): Set the value of
1508 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1509 arg of isearch-forward-regexp to t. (Bug#16035)
1510
1511 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1512 arg of isearch-forward to t.
1513 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1514 arg of isearch-forward-regexp to t.
1515 (dired-isearch-filter-filenames): Remove unnecessary check for
1516 `dired-isearch-filenames'.
1517
1518 * comint.el (comint-history-isearch-backward):
1519 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1520 (comint-history-isearch-backward-regexp):
1521 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1522
1523 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1524
1525 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1526 unmsys--file-name. (Bug#16099)
1527
1528 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1529
1530 * emacs-lisp/package.el (package-keyword-button-action):
1531 Remove finder.el require dependency.
1532
1533 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1534
1535 * emacs-lisp/package.el: Require finder.el.
1536 (describe-package-1): Add keyword buttons.
1537 (package-make-button): New convenience function.
1538 (package-keyword-button-action): Keyword button action using
1539 `finder-list-matches'.
1540
1541 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1542
1543 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1544 last commit.
1545
1546 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1547
1548 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1549 symlinked files.
1550
1551 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1552
1553 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1554 after the end of a percent literal.
1555
1556 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1557
1558 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1559 Handle caret-delimited strings (Bug#16079).
1560
1561 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1562
1563 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1564 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1565 `ruby-parse-partial' (Bug#16078).
1566
1567 2013-12-09 Leo Liu <sdl.web@gmail.com>
1568
1569 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1570
1571 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1572
1573 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1574 (js-switch-indent-offset): New option.
1575 (js--proper-indentation): Use it. And handle the case when
1576 "default" is actually a key in an object literal.
1577 (js--same-line): New function.
1578 (js--multi-line-declaration-indentation): Use it.
1579 (js--indent-in-array-comp, js--array-comp-indentation):
1580 New functions.
1581 (js--proper-indentation): Use them, to handle array comprehension
1582 continuations.
1583
1584 2013-12-08 Leo Liu <sdl.web@gmail.com>
1585
1586 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1587 (flymake-make-overlay): Remove arg MOUSE-FACE.
1588 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1589
1590 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1591
1592 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1593 New function.
1594 (redisplay-highlight-region-function): Use it.
1595
1596 * emulation/cua-base.el (cua--explicit-region-start)
1597 (cua--last-region-shifted): Remove.
1598 (cua--deactivate): Use deactivate-mark.
1599 (cua--pre-command-handler-1): Don't handle shift-selection.
1600 (cua--post-command-handler-1): Don't change transient-mark-mode.
1601 (cua--select-keymaps): Use region-active-p rather than
1602 cua--explicit-region-start or cua--last-region-shifted.
1603 (cua-mode): Enable shift-select-mode.
1604
1605 2013-12-08 Leo Liu <sdl.web@gmail.com>
1606
1607 * progmodes/flymake.el (flymake-popup-current-error-menu):
1608 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1609 (flymake-posn-at-point-as-event, flymake-popup-menu)
1610 (flymake-make-emacs-menu): Remove. (Bug#16077)
1611
1612 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * rect.el (rectangle-mark-mode): Activate mark even if
1615 transient-mark-mode is off (bug#16066).
1616 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1617 is > mark and at bolp.
1618
1619 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1620 (region-extract-function): Use it.
1621 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1622 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1623 Delete functions.
1624 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1625 kill-ring-save, kill-region, delete-char, delete-forward-char.
1626 Ignore self-insert-iso.
1627
1628 * emulation/cua-gmrk.el (cua--init-global-mark):
1629 Ignore `self-insert-iso'.
1630
1631 * emulation/cua-base.el (cua--prefix-copy-handler)
1632 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1633 checking cua--rectangle.
1634 (cua-delete-region): Use region-extract-function.
1635 (cua-replace-region): Delete function.
1636 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1637 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1638 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1639 (cua--init-keymaps): Don't remap delete-selection commands.
1640 (cua-mode): Use delete-selection-mode instead of rolling our own
1641 (bug#16085).
1642
1643 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1644 Obey region-extract-function.
1645
1646 Make registers and delete-selection-mode work on rectangles.
1647 * register.el (describe-register-1): Don't modify the register's value.
1648 (copy-to-register): Obey region-extract-function.
1649 * delsel.el (delete-active-region): Obey region-extract-function.
1650
1651 2013-12-08 Leo Liu <sdl.web@gmail.com>
1652
1653 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1654 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1655 (flymake-compilation-prevents-syntax-check)
1656 (flymake-start-syntax-check-on-newline)
1657 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1658 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1659 (flymake-xml-program, flymake-master-file-dirs)
1660 (flymake-master-file-count-limit)
1661 (flymake-allowed-file-name-masks): Relocate.
1662 (flymake-makehash, flymake-float-time)
1663 (flymake-replace-regexp-in-string, flymake-split-string)
1664 (flymake-get-temp-dir): Remove.
1665 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1666 (flymake-current-row, flymake-selected-frame)
1667 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1668 related functions. (Bug#16077)
1669
1670 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1671
1672 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1673
1674 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1675
1676 * help-fns.el (describe-function-1): Use new advice-* functions
1677 rather than old ad-* functions. Fix function type description and
1678 source links for advised functions and subrs.
1679
1680 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1681
1682 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1683
1684 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1685
1686 * progmodes/compile.el (compilation-start):
1687 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1688
1689 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1690 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1691
1692 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1693
1694 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1695 Touch up the last change.
1696
1697 2013-12-06 Leo Liu <sdl.web@gmail.com>
1698
1699 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1700 (inferior-octave-startup): Always use "octave> " for prompt.
1701 (octave-goto-function-definition)
1702 (octave-sync-function-file-names)
1703 (octave-find-definition-default-filename): Remove redundant backquotes.
1704
1705 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1706
1707 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1708 syntax for `?'.
1709 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1710 where appropriate already.
1711 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1712 end of method names (Bug#15874).
1713
1714 2013-12-06 Juri Linkov <juri@jurta.org>
1715
1716 * isearch.el (isearch--saved-overriding-local-map):
1717 New internal variable.
1718 (isearch-mode): Set it to the initial value of
1719 `overriding-terminal-local-map'.
1720 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1721 with `isearch--saved-overriding-local-map'. (Bug#16035)
1722
1723 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1724
1725 * progmodes/octave.el (inferior-octave-completion-table):
1726 Turn back into function, use `completion-table-with-cache'
1727 (Bug#11906). Update all references.
1728
1729 * minibuffer.el (completion-table-with-cache): New function.
1730
1731 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1732
1733 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1734
1735 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1736
1737 * net/eww.el (eww-current-source): New variable to store page
1738 source.
1739 (eww-display-html, eww-mode, eww-save-history)
1740 (eww-restore-history): Use it.
1741 (eww-view-source): New command to view page source.
1742 Opportunistically uses `html-mode' to highlight the buffer.
1743 (eww-mode-map): Install it.
1744
1745 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1746
1747 * net/dbus.el (dbus-unregister-service)
1748 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1749 Fix docstring.
1750 (dbus-unregister-service): Skip :serial entries in
1751 `dbus-registered-objects-table'.
1752 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1753
1754 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1755
1756 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1757 around keywords with extra `split-string' argument.
1758
1759 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1760
1761 * windmove.el (windmove-other-window-loc): Handle navigation
1762 between windows (excluding the minibuffer window - Bug#16017).
1763
1764 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1765
1766 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1767 in D-Bus type syntax.
1768 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1769 preserve unibyte strings. (Bug#16048)
1770
1771 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1772
1773 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1774 Call force-mode-line-update is the proper buffer (bug#16042).
1775
1776 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1777
1778 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1779 `log-edit-remember-comment', make argument optional. Adjust all
1780 callers.
1781 (log-edit-mode): Add `log-edit-remember-comment' to
1782 `kill-buffer-hook' locally.
1783 (log-edit-kill-buffer): Don't remember comment explicitly since
1784 the buffer is killed anyway.
1785
1786 2013-12-04 Juri Linkov <juri@jurta.org>
1787
1788 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1789 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1790
1791 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1792
1793 * notifications.el (notifications-close-notification): Call the
1794 D-Bus method with ID being a `:uint32'. (Bug#16030)
1795
1796 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1797
1798 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1799
1800 2013-12-03 Juri Linkov <juri@jurta.org>
1801
1802 * progmodes/compile.el (compilation-start): Rename window alist
1803 entry `no-display-ok' to `allow-no-window'.
1804
1805 * simple.el (shell-command): Add window alist entry
1806 `allow-no-window' to `display-buffer'.
1807 (async-shell-command): Doc fix.
1808
1809 * window.el (display-buffer-no-window): New action function.
1810 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1811
1812 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1813
1814 * vc/log-edit.el (log-edit-set-header): Extract from
1815 `log-edit-toggle-header'.
1816 (log-edit-extract-headers): Separate the summary, when extracted
1817 from header, from the rest of the message with an empty line.
1818
1819 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1820 line, if present, to the Summary header.
1821
1822 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1823
1824 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1825 in current-buffer (bug#16029).
1826
1827 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1828
1829 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1830 (debugger-mode-map): Bind it.
1831 (debugger--backtrace-base): New function.
1832 (debugger-eval-expression): Use it.
1833 (debugger-frame-number): Skip local vars when present.
1834 (debugger--locals-visible-p, debugger--insert-locals)
1835 (debugger--show-locals, debugger--hide-locals): New functions.
1836
1837 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1838
1839 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1840 "LC_ALL".
1841 (tramp-get-remote-locale): New defun.
1842 (tramp-open-connection-setup-interactive-shell): Use it.
1843
1844 2013-12-02 Leo Liu <sdl.web@gmail.com>
1845
1846 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1847
1848 * progmodes/sh-script.el (sh-shell-process):
1849 * progmodes/octave.el (inferior-octave-process-live-p):
1850 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1851 (gdb-inferior-io-sentinel):
1852 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1853
1854 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1855
1856 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1857 `save-selected-window' to `log-edit-hide-buf'. This makes
1858 `log-edit-show-files' idempotent.
1859 (log-edit-show-files): Mark the new window as dedicated.
1860
1861 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1862
1863 * vc/log-edit.el (log-edit-mode-map): Add binding for
1864 `log-edit-kill-biffer'.
1865 (log-edit-hide-buf): Add a FIXME comment.
1866 (log-edit-add-new-comment): New function, extracted from
1867 `log-edit-done'.
1868 (log-edit-done, log-edit-add-to-changelog): Use it.
1869 (log-edit-kill-buffer): New command.
1870
1871 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1872
1873 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1874 instead of killing the buffer.
1875
1876 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1877
1878 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1879
1880 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1881
1882 * net/eww.el (eww-form-checkbox-selected-symbol)
1883 (eww-form-checkbox-symbol): New customizable variable.
1884 (eww-form-checkbox, eww-toggle-checkbox):
1885 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1886
1887 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1888 (shr--get-media-pref, shr--extract-best-source): New function.
1889 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1890 no :src tag was specified.
1891
1892 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1893 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1894 Use \\` to match beginning of string instead of ^.
1895 (eww-browse-with-external-browser): Provide optional URL parameter.
1896 (eww-render): Set `eww-current-title' back to "".
1897
1898 * net/shr.el (shr-tag-video): Display content for video if no
1899 poster is available.
1900 (shr-tag-audio): Add support for <audio> tag.
1901
1902 * net/eww.el (eww-text-input-types): New const.
1903 (eww-process-text-input): Treat input types in
1904 `eww-text-input-types' as text.
1905
1906 * net/shr.el (shr-tag-table): Fix comment typo.
1907
1908 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1909
1910 * net/eww.el (eww-follow-link): New command to avoid reloading
1911 pages when we follow #target links (bug#15243).
1912 (eww-quit): Special mode buffers shouldn't query before exiting.
1913
1914 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1915
1916 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1917 forms.
1918
1919 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1920
1921 * net/eww.el (eww-restore-history): Update the window title after
1922 moving in the history.
1923 (eww-current-dom): New variable used to save the current DOM.
1924
1925 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1926
1927 * vc/log-edit.el (log-edit-mode-map): Add binding for
1928 `log-edit-beginning-of-line'.
1929 (log-edit-setup-add-author): New user option.
1930 (log-edit-beginning-of-line): New command.
1931 (log-edit): Move major mode call above the contents setup so that
1932 the local variable values are already applied.
1933 (log-edit): Only insert "Author: " when
1934 `log-edit-setup-add-author' is non-nil.
1935 (log-edit): When SETUP is non-nil, position point after ": "
1936 instead of point-min.
1937
1938 2013-12-01 Glenn Morris <rgm@gnu.org>
1939
1940 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1941
1942 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1943
1944 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1945 redisplay to make sure the initial frame gets a chance to become
1946 visible. (Bug#16014)
1947
1948 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1949
1950 Support resizing frames and windows pixelwise.
1951 * cus-start.el (frame-resize-pixelwise)
1952 (window-resize-pixelwise): New entries.
1953 * emacs-lisp/debug.el (debug): Use window-total-height instead
1954 of window-total-size.
1955 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1956 * help.el (describe-bindings-internal): Call help-buffer
1957 (temp-buffer-max-width): New option.
1958 (resize-temp-buffer-window, help-window-setup)
1959 (with-help-window): Rewrite.
1960 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1961 dragging dividers.
1962 * window.el (frame-char-size, window-min-pixel-height)
1963 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1964 (window-min-pixel-width, window-safe-min-pixel-size)
1965 (window-combination-p, window-safe-min-size)
1966 (window-resizable-p, window--size-to-pixel)
1967 (window--pixel-to-size, window--resize-apply-p): New functions.
1968 (window-safe-min-height): Fix doc-string.
1969 (window-size, window-min-size, window--min-size-1)
1970 (window-sizable, window-sizable-p, window--min-delta-1)
1971 (window-min-delta, window--max-delta-1, window-max-delta)
1972 (window--resizable, window--resizable-p, window-resizable)
1973 (window-full-height-p, window-full-width-p, window-at-side-p)
1974 (window--in-direction-2, window-in-direction)
1975 (window--resize-reset-1, window--resize-mini-window)
1976 (window-resize, window-resize-no-error)
1977 (window--resize-child-windows-normal)
1978 (window--resize-child-windows, window--resize-siblings)
1979 (window--resize-this-window, window--resize-root-window)
1980 (window--resize-root-window-vertically)
1981 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1982 (maximize-window, minimize-window, delete-window)
1983 (quit-restore-window, window-split-min-size, split-window)
1984 (balance-windows-2, balance-windows)
1985 (balance-windows-area-adjust, balance-windows-area)
1986 (window--state-get-1, window-state-get, window--state-put-1)
1987 (window--state-put-2, window-state-put)
1988 (display-buffer-record-window, window--display-buffer):
1989 Make functions handle pixelwise sizing of windows.
1990 (display-buffer--action-function-custom-type)
1991 (display-buffer-fallback-action):
1992 Add display-buffer-in-previous-window.
1993 (display-buffer-use-some-window): Resize window to height it had
1994 before.
1995 (fit-window-to-buffer-horizontally): New option.
1996 (fit-frame-to-buffer): Describe new values.
1997 (fit-frame-to-buffer-bottom-margin): Replace with
1998 fit-frame-to-buffer-margins.
1999 (window--sanitize-margin): New function.
2000 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2001 using window-text-pixel-size.
2002
2003 2013-11-30 Glenn Morris <rgm@gnu.org>
2004
2005 * emacs-lisp/bytecomp.el (byte-compile-form):
2006 Make the `interactive-only' warning like the `obsolete' one.
2007 * comint.el (comint-run):
2008 * files.el (insert-file-literally, insert-file):
2009 * replace.el (replace-string, replace-regexp):
2010 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2011 (goto-line, insert-buffer, next-line, previous-line):
2012 Tweak `interactive-only' spec.
2013
2014 Stop keeping (most) generated cedet grammar files in the repository.
2015 * Makefile.in (semantic): New.
2016 (compile-main): Depend on semantic.
2017
2018 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2019
2020 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2021 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2022
2023 * uniquify.el (uniquify-buffer-name-style): Change default.
2024
2025 * loadup.el: Preload "uniquify".
2026
2027 * time.el (display-time-update): Update all mode lines (bug#15999).
2028
2029 * electric.el (electric-indent-mode): Enable by default.
2030 * loadup.el: Preload "electric".
2031
2032 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2033
2034 * emacs-lisp/helpers.el (string-empty-p): New function.
2035 (string-blank-p): New function.
2036
2037 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2038
2039 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2040 (Bug#14029).
2041
2042 2013-11-29 Andreas Politz <politza@fh-trier.de>
2043 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2044 allow non-lambda lists as functions.
2045 (imenu--in-alist): Don't recurse into non-subalists.
2046 (imenu): Don't pass function itself as an argument (Bug#14029).
2047
2048 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2049
2050 * progmodes/python.el (python-mode-map): Remove binding for ":".
2051 (python-indent-electric-colon): Remove command.
2052 (python-indent-post-self-insert-function): Integrate the previous code
2053 of python-indent-electric-colon. Make it conditional on
2054 electric-indent-mode.
2055 (python-mode): Add ?: to electric-indent-chars.
2056 Move python-indent-post-self-insert-function to the end of
2057 post-self-insert-hook.
2058
2059 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2060
2061 * doc-view.el (doc-view-goto-page): Update mode-line.
2062
2063 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2064
2065 2013-11-27 Glenn Morris <rgm@gnu.org>
2066
2067 * international/charprop.el, international/uni-bidi.el:
2068 * international/uni-category.el, international/uni-combining.el:
2069 * international/uni-comment.el, international/uni-decimal.el:
2070 * international/uni-decomposition.el, international/uni-digit.el:
2071 * international/uni-lowercase.el, international/uni-mirrored.el:
2072 * international/uni-name.el, international/uni-numeric.el:
2073 * international/uni-old-name.el, international/uni-titlecase.el:
2074 * international/uni-uppercase.el:
2075 Remove generated files from VCS repository.
2076
2077 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2078
2079 * filenotify.el (file-notify-add-watch): Don't special-case
2080 w32notify when computing the directory to watch.
2081
2082 2013-11-27 Glenn Morris <rgm@gnu.org>
2083
2084 Make bootstrap without generated uni-*.el files possible again.
2085 * loadup.el: Update command-line-args checking for unidata-gen.
2086 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2087 * composite.el, international/characters.el:
2088 Handle unicode tables being undefined.
2089
2090 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2091 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2092 (compile-main): Depend on leim rule.
2093 (leim): New rule.
2094 * loadup.el: Move leim-list.el to leim/ subdirectory.
2095 * startup.el (normal-top-level): No more leim directory.
2096 * international/ja-dic-cnv.el (skkdic-convert):
2097 Disable version-control and autoloads in output files.
2098 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2099 Disable version-control and autoloads in output files.
2100 * leim/quail: Move here from ../leim.
2101 * leim/quail/hangul.el (hangul-input-method-activate):
2102 Add autoload cookie.
2103 (generated-autoload-load-name): Set file-local value.
2104 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2105 (generated-autoload-load-name): Set file-local value.
2106
2107 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2108
2109 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2110 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2111 (eww-quit): Ask confirmation before quitting eww.
2112
2113 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2114
2115 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2116 reading output from Diff on MS-Windows and MS-DOS.
2117
2118 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2119
2120 * emacs-lisp/helpers.el (string-reverse): New function.
2121
2122 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2123
2124 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2125 names on MS Windows, like "/[::1]:".
2126
2127 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2128 SWITCHES.
2129
2130 2013-11-26 Glenn Morris <rgm@gnu.org>
2131
2132 * progmodes/python.el (python-indent-guess-indent-offset):
2133 Avoid corner-case error. (Bug#15975)
2134
2135 Preload leim-list.el. (Bug#4789)
2136 * loadup.el: Load leim-list.el when found.
2137 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2138
2139 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2140
2141 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2142
2143 * emacs-lisp/helpers.el (string-join): New function.
2144
2145 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2146
2147 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2148 Mark as obsolete and replace it with a symbol property.
2149 (byte-compile-form): Use new 'interactive-only property.
2150 * comint.el, files.el, replace.el, simple.el:
2151 Apply new 'interactive-only properly.
2152
2153 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2154
2155 * window.el (display-buffer-at-bottom): Make sure that
2156 split-window-sensibly creates the new window on bottom
2157 (Bug#15961).
2158
2159 2013-11-23 David Kastrup <dak@gnu.org>
2160
2161 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2162 on the conflict markers when available.
2163 (smerge--get-marker): New function.
2164 (smerge-end-re, smerge-base-re): Add subgroup.
2165
2166 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2167
2168 * frame.el (handle-focus-in, handle-focus-out): Add missing
2169 interactive spec.
2170
2171 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2172
2173 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2174 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2175
2176 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2177
2178 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2179 (gomoku--last-pos): New var.
2180 (gomoku--intangible-chars): New const.
2181 (gomoku--intangible): New function.
2182 (gomoku-mode): Use it. Derive from special-mode.
2183 (gomoku-move-up): Adjust line count.
2184 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2185 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2186 Simplify accordingly.
2187
2188 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2189 Remove blink-cursor code.
2190 (blink-cursor-timer-function, blink-cursor-suspend):
2191 Don't special-case GUIs.
2192 (blink-cursor-mode): Use focus-in/out-hook.
2193
2194 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2195
2196 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2197 work when annotation is invisible (Bug#13886).
2198
2199 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2200
2201 * json.el (json-alist-p): Only return non-nil if the alist has
2202 simple keys (Bug#13518).
2203
2204 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2205
2206 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2207 when control-statement is the first statement in a buffer (Bug#15956).
2208
2209 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2210
2211 * imenu.el (imenu-generic-skip-comments-and-strings):
2212 New option (Bug#15560).
2213 (imenu--generic-function): Use it.
2214
2215 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2216
2217 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2218 (Bug#13898)
2219
2220 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2221
2222 * emacs-lisp/helpers.el: Add some string helpers.
2223 (string-trim-left): Removes leading whitespace.
2224 (string-trim-right): Removes trailing whitespace.
2225 (string-trim): Removes leading and trailing whitespace.
2226
2227 * subr.el (string-suffix-p): New function.
2228
2229 2013-11-23 Glenn Morris <rgm@gnu.org>
2230
2231 * progmodes/python.el (python-shell-send-file):
2232 Add option to delete file when done. (Bug#15647)
2233 (python-shell-send-string, python-shell-send-region): Use it.
2234
2235 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2236
2237 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2238 to set buffer-read-only to t, never to nil. (Bug#15938)
2239
2240 * textmodes/tex-mode.el (latex-noindent-environments):
2241 Add safe-local-variable property. (Bug#15936)
2242
2243 2013-11-23 Glenn Morris <rgm@gnu.org>
2244
2245 * textmodes/enriched.el (enriched-mode): Doc fix.
2246 * emacs-lisp/authors.el (authors-renamed-files-alist):
2247 Add enriched.doc -> enriched.txt.
2248
2249 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2250
2251 2013-11-22 Leo Liu <sdl.web@gmail.com>
2252
2253 * progmodes/octave.el (inferior-octave-startup): Spit out error
2254 message.
2255
2256 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2257
2258 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2259 Improve docstring.
2260 Add :version.
2261 (ruby-encoding-magic-comment-style): Add :version.
2262
2263 2013-11-22 Leo Liu <sdl.web@gmail.com>
2264
2265 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2266 (Bug#15076)
2267 (octave-help-mode): Adapt to change to help-mode-finish to use
2268 derived-mode-p on 2013-09-17.
2269 (inferior-octave-prompt): Also match octave-gui.
2270 (octave-kill-process): Don't ask twice. (Bug#10564)
2271
2272 2013-11-22 Leo Liu <sdl.web@gmail.com>
2273
2274 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2275 (inferior-octave-startup, inferior-octave-check-process)
2276 (inferior-octave-track-window-width-change)
2277 (octave-completion-at-point, octave-eldoc-function): Use it.
2278 (octave-kill-process): Provide confirmation. (Bug#10564)
2279
2280 2013-11-21 Leo Liu <sdl.web@gmail.com>
2281
2282 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2283 Fix obsolete variable comment-use-global-state.
2284
2285 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2286
2287 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2288 Add `octave-source-file'.
2289 (octave-source-file): New function. (Bug#15935)
2290
2291 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2292
2293 * net/eww.el (eww-local-regex): New variable.
2294 (eww): Use it to detect localhost and similar.
2295
2296 2013-11-21 Leo Liu <sdl.web@gmail.com>
2297
2298 Add completion for command `ag'.
2299 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2300 (pcomplete/ag): New function.
2301 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2302
2303 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2306 (bug#14646).
2307 (make-obsolete): Remove interactive spec.
2308
2309 2013-11-21 Glenn Morris <rgm@gnu.org>
2310
2311 * startup.el (command-line-1): Use path-separator with -L.
2312
2313 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2314
2315 * emacs-lisp/package.el (describe-package-1): Add package archive
2316 to shown fields.
2317
2318 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2319
2320 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2321 Change default to "# encoding: %s" to differentiate it from the
2322 default Ruby encoding comment template.
2323
2324 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2325
2326 * ses.el (ses-mode): Doc fix. (Bug#14748)
2327
2328 2013-11-20 Leo Liu <sdl.web@gmail.com>
2329
2330 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2331
2332 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2333
2334 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2335 when rebase or bisect are in progress.
2336
2337 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2338
2339 * filenotify.el (file-notify-add-watch): Doc fix.
2340
2341 2013-11-19 Leo Liu <sdl.web@gmail.com>
2342
2343 * obsolete/rcompile.el: Mark obsolete.
2344
2345 * progmodes/compile.el (compilation-start)
2346 (compilation-goto-locus, compilation-find-file):
2347 Pass no-display-ok and handle nil value from display-buffer.
2348 (Bug#13594)
2349
2350 * window.el (display-buffer-alist, display-buffer): Document the
2351 new parameter no-display-ok. Return either a window or nil
2352 but never a non-window value.
2353
2354 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * electric.el (electric-indent-mode-map): Remove.
2357 (electric-indent-mode): Change the global-map instead (bug#15915).
2358
2359 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2360 Use add-function.
2361
2362 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2363
2364 * emacs-lisp/nadvice.el (remove-function): Align with
2365 add-function's behavior.
2366
2367 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2368 (gdb--string-regexp): New constant.
2369 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2370 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2371 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2372 submatch 1.
2373 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2374 Adjust use accordingly.
2375 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2376
2377 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2378
2379 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2380 interpolation curlies (Bug#15914).
2381
2382 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2383
2384 * calc/calc.el (calc-context-sensitive-enter): New variable.
2385 (calc-enter): Use `calc-context-sensitive-enter'.
2386
2387 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2388
2389 * progmodes/cfengine.el: Version bump.
2390 (cfengine-cf-promises): New defcustom to locate cf-promises.
2391 (cfengine3-vartypes): Add new "data" type.
2392 (cfengine3--current-word): New function to get current name-like
2393 word or its bounds.
2394 (cfengine3--current-function): New function to look up a CFEngine
2395 function's definition.
2396 (cfengine3-format-function-docstring): New function.
2397 (cfengine3-make-syntax-cache): New function.
2398 (cfengine3-documentation-function): New function: ElDoc glue.
2399 (cfengine3-completion-function): New function: completion glue.
2400 (cfengine3-mode): Set `compile-command',
2401 `eldoc-documentation-function', and add to
2402 `completion-at-point-functions'.
2403
2404 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2405
2406 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2407 `tramp-current-connection'.
2408
2409 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2410
2411 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2412 nil/self/true/false with "end of symbol".
2413
2414 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2415
2416 * subr.el (version-regexp-alist): Fix a typo.
2417
2418 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2419
2420 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2421 "en_US.utf8" and "LC_CTYPE" to "".
2422 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2423 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2424
2425 2013-11-15 Leo Liu <sdl.web@gmail.com>
2426
2427 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2428
2429 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 * progmodes/gud.el (ctl-x-map):
2432 Remove C-x SPC binding. (Bug#12342)
2433 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2434
2435 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2436
2437 * subr.el (version-regexp-alist):
2438 Recognize hg, svn and darcs versions as snapshot versions.
2439
2440 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2441 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2442 (ruby--encoding-comment-required-p): Extract from
2443 `ruby-mode-set-encoding'.
2444 (ruby-mode-set-encoding): Add the ability to always insert an
2445 utf-8 encoding comment. Fix and simplify coding comment update
2446 logic.
2447
2448 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2449
2450 * net/tramp-gvfs.el (top): Run init code only when
2451 `tramp-gvfs-enabled' is not nil.
2452 (tramp-gvfs-enabled): Check also :system bus.
2453
2454 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 Sync with upstream verilog-mode revision 78e66ba.
2457 * progmodes/verilog-mode.el (verilog-end-of-defun)
2458 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2459 (verilog-get-end-of-defun): Remove unused argument.
2460 (verilog-comment-depth): Remove unused local `e'.
2461 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2462 Don't pass arg to verilog-get-end-of-defun.
2463
2464 2013-11-14 Glenn Morris <rgm@gnu.org>
2465
2466 * obsolete/assoc.el (aget): Prefix dynamic variable.
2467
2468 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2469
2470 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2471
2472 * widget.el, hfy-cmap.el: Remove bogus package version number.
2473
2474 2013-11-13 Glenn Morris <rgm@gnu.org>
2475
2476 * replace.el (replace-eval-replacement):
2477 Try to give more helpful error message. (Bug#15836)
2478
2479 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2480 (archive-7z-update): Avoid custom type mismatches.
2481
2482 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2483
2484 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2485
2486 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2487 address can be empty.
2488
2489 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2490 Accept nil SWITCHES.
2491 (tramp-gvfs-handle-write-region): Implement APPEND.
2492
2493 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2494
2495 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2496 binary "|" operator and closing block args delimiter.
2497 Remove FIXME comment referring to Ruby 1.8-only syntax.
2498 (ruby-smie--implicit-semi-p): Not after "|" operator.
2499 (ruby-smie--closing-pipe-p): New function.
2500 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2501 (ruby-smie-rules): Indent after "|".
2502
2503 2013-11-12 Glenn Morris <rgm@gnu.org>
2504
2505 * ps-print.el (ps-face-attribute-list):
2506 Handle anonymous faces. (Bug#15827)
2507
2508 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2509
2510 * window.el (display-buffer-other-frame): Fix doc-string.
2511 (Bug#15868)
2512
2513 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2515 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2516
2517 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2518
2519 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2520 (tramp-sh-handle-file-local-copy): Don't write a message when
2521 saving temporary files.
2522
2523 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2524 both directories are remote.
2525 (tramp-smb-handle-directory-files): Do not return double entries.
2526 Do not expand full file names.
2527 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2528 (tramp-smb-handle-write-region): Implement APPEND.
2529 (tramp-smb-get-stat-capability): Fix a stupid bug.
2530
2531 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2532
2533 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2534
2535 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2536
2537 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2538 throwing error over malformed let/let* (bug#15814).
2539
2540 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * iswitchb.el (iswitchb-mode): Mark obsolete.
2543
2544 2013-11-11 Glenn Morris <rgm@gnu.org>
2545
2546 * international/uni-bidi.el, international/uni-category.el:
2547 * international/uni-name.el, international/uni-numeric.el:
2548 Regenerate for Unicode 6.3.0.
2549
2550 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2551
2552 * net/tramp.el (tramp-methods):
2553 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2554 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2555
2556 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2557
2558 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2559 Force highlighting text after Summary keyword in doc face for rpm.
2560
2561 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2562
2563 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2564 available and the word has no wildcards, append one to the grep pattern.
2565 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2566 (ispell-complete-word): Call `ispell-lookup-words' with the value
2567 independent of `ispell-look-p'.
2568
2569 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2570
2571 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2572 Not after "||".
2573 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2574 their parent.
2575
2576 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2577
2578 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2579 (ruby-font-lock-keywords): Use backquote.
2580
2581 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2582
2583 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2584 (ruby-smie--backward-token): Only consider full-string matches.
2585
2586 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2587
2588 * faces.el (describe-face): Add distant-foreground.
2589
2590 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2591
2592 * progmodes/ruby-mode.el: Improve encoding comment handling.
2593 (ruby-encoding-magic-comment-style): New option.
2594 (ruby-custom-encoding-magic-comment-template): New option.
2595 (ruby--insert-coding-comment, ruby--detect-encoding):
2596 New functions extracted from `ruby-mode-set-encoding'.
2597 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2598 to control the style of the auto-inserted encoding comment.
2599
2600 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2601
2602 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2603 Use `smie-backward-sexp' with token argument.
2604
2605 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2606
2607 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2608 Remove instrumentation code.
2609
2610 2013-11-08 Glenn Morris <rgm@gnu.org>
2611
2612 * progmodes/autoconf.el (autoconf-mode):
2613 Tweak comment-start-skip. (Bug#15822)
2614
2615 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2616
2617 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2618 at bobp (bug#15826).
2619 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2620
2621 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2622
2623 * man.el (Man-start-calling): New macro, extracted from
2624 Man-getpage-in-background.
2625 (Man-getpage-in-background): Use it.
2626 (Man-update-manpage): New command.
2627 (Man-mode-map): Bind it.
2628
2629 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2630
2631 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2632 of "and", "or", "&&" and "||".
2633 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2634 argument. Prohibit opening curly brace because it could only be a
2635 block opener in that position.
2636 (ruby-smie--forward-token, ruby-smie--backward-token):
2637 Separate "|" from "&" or "*" going after it. That can happen in block
2638 arguments.
2639 (ruby-smie--indent-to-stmt): New function, seeks the end of
2640 previous statement or beginning of buffer.
2641 (ruby-smie-rules): Use it.
2642 (ruby-smie-rules): Check if there's a ":" before a curly block
2643 opener candidate; if there is, it's a hash.
2644
2645 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2648 (cl--block-wrapper): Fix last accidental change.
2649
2650 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2651
2652 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2653 Instrument, in order to hunt failure on hydra.
2654
2655 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2656
2657 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2658 malformed bindings form (bug#15814).
2659
2660 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2661
2662 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2663 "." compared to " @ ". This incidentally fixes some indentation
2664 examples with "do".
2665 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2666 (ruby-smie-grammar): New tokens: "and" and "or".
2667 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2668 Exclude "and" and "or". Remove "do" in order to work around token
2669 priorities.
2670 (ruby-smie-rules): Add all infix tokens. Handle the case of
2671 beginning-of-buffer.
2672
2673 2013-11-06 Glenn Morris <rgm@gnu.org>
2674
2675 * Makefile.in (setwins_almost, setwins_for_subdirs):
2676 Avoid accidental matches.
2677
2678 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2679
2680 * menu-bar.el (popup-menu): Use key-binding.
2681
2682 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2683
2684 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2685 menus, support also the menus produced by minor modes.
2686 (Bug#15817)
2687
2688 2013-11-06 Leo Liu <sdl.web@gmail.com>
2689
2690 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2691 DISTANCE to bound the search. All uses changed. (Bug#15808)
2692
2693 2013-11-06 Glenn Morris <rgm@gnu.org>
2694
2695 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2696 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2697 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2698
2699 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2700
2701 * electric.el (electric-indent-just-newline): New command.
2702 (electric-indent-mode-map): New keymap.
2703 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2704 Re-add :group which weren't redundant.
2705
2706 * electric.el (electric-indent-local-mode): New minor mode.
2707 (electric-indent-functions-without-reindent): New var.
2708 (electric-indent-post-self-insert-function): Use it.
2709 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2710
2711 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2712
2713 * international/quail.el (quail-help): Be more explicit about the
2714 meaning of the labels shown on the keys. (Bug#15800)
2715
2716 * startup.el (normal-top-level): Load the subdirs.el files before
2717 setting the locale environment. (Bug#15805)
2718
2719 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2720
2721 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2722 via arguments so as to get the right ones (bug#15418).
2723
2724 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2725
2726 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2727
2728 Fix problems found while writing a test suite.
2729
2730 * net/tramp-compat.el (tramp-compat-load): New defun.
2731 * net/tramp.el (tramp-handle-load): Use it.
2732
2733 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2734 "(numberp ok-if-already-exists)" correctly.
2735
2736 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2737
2738 * international/characters.el (glyphless-char-display-control):
2739 Add usage note.
2740
2741 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2742
2743 * progmodes/python.el (python-mode):
2744 * progmodes/scheme.el (scheme-mode):
2745 * progmodes/prolog.el (prolog-mode):
2746 * progmodes/ruby-mode.el (ruby-mode):
2747 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2748 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2749
2750 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2751
2752 * rect.el (rectangle--highlight-for-redisplay):
2753 * emacs-lisp/smie.el (smie--next-indent-change):
2754 Use buffer-chars-modified-tick.
2755
2756 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2757
2758 * electric.el (electric-indent-post-self-insert-function):
2759 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2760
2761 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2762
2763 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2764
2765 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2766
2767 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2768 (bug#15786).
2769
2770 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2771
2772 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2773
2774 * progmodes/python.el: Fix up last change.
2775 (python-shell--save-temp-file): New function.
2776 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2777 `string' comes from the current buffer.
2778 (python-shell-send-string-no-output): Remove `msg' arg.
2779 (python--use-fake-loc): New var.
2780 (python-shell-buffer-substring): Obey it. Try to compensate for the
2781 extra coding line added by python-shell--save-temp-file.
2782 (python-shell-send-region): Use python-shell--save-temp-file and
2783 python-shell-send-file directly. Add `nomain' argument.
2784 (python-shell-send-buffer): Use python-shell-send-region.
2785 (python-electric-pair-string-delimiter): New function.
2786 (python-mode): Use it.
2787
2788 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2789
2790 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2791 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2792 environment and decoding all of the default-directory's to here
2793 from command-line.
2794 (command-line): Decode also argv[0].
2795
2796 * loadup.el: Error out if default-directory is a multibyte string
2797 when we are dumping.
2798
2799 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2800
2801 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2802
2803 * emacs-lisp/package.el (package-menu-mode)
2804 (package-menu--print-info, package-menu--archive-predicate):
2805 Add Archive column to package list.
2806
2807 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2808
2809 Fix problems found while writing a test suite.
2810
2811 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2812 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2813 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2814 to nil when running original file name handler. Otherwise,
2815 there are problems with constructs like "$$FOO".
2816
2817 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2818 for `localname'.
2819
2820 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2821
2822 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2823
2824 * subr.el (version<, version<=, version=):
2825 Update docstrings with information for snapshot versions.
2826
2827 * helpers.el: New library for misc helper functions.
2828 (hash-table-keys): New function returning a list of hash keys.
2829 (hash-table-values): New function returning a list of hash values.
2830
2831 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2832
2833 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2834 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2835
2836 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2837
2838 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2839 checking whether point is after a 1-letter word.
2840
2841 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2842
2843 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2844 Don't infloop when expanding region over `multiline' syntax-type that
2845 begins a line (bug#15778).
2846
2847 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2848
2849 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2850 Make it into a proper minor mode.
2851 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2852 (rectangle-mark-mode-map): New keymap.
2853 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2854
2855 2013-11-04 Glenn Morris <rgm@gnu.org>
2856
2857 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2858
2859 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2862 (ruby-smie-rules): Use smie-rule-parent instead.
2863
2864 * emacs-lisp/smie.el (smie-rule-parent): Always call
2865 smie-indent-virtual rather than only for hanging tokens.
2866 (smie--next-indent-change): New helper command.
2867
2868 2013-11-03 Glenn Morris <rgm@gnu.org>
2869
2870 * Makefile.in (abs_srcdir): Remove.
2871 (emacs): Unset EMACSLOADPATH.
2872
2873 2013-11-02 Glenn Morris <rgm@gnu.org>
2874
2875 * Makefile.in (EMACS): Use a relative filename.
2876 (abs_top_builddir): Remove.
2877 (custom-deps, finder-data, autoloads): Use --chdir.
2878
2879 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2880
2881 Use relative filenames in TAGS files.
2882 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2883 (lisptagsfiles4, TAGS): Use relative file names.
2884 (TAGS-LISP): Remove.
2885 (maintainer-clean): No more TAGS-LISP file.
2886
2887 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2888 (lisptagsfiles4): Use absolute filenames again.
2889 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2890 Remove all *loaddefs files, not just the first. Remove esh-groups.
2891 (maintainer-clean): Delete TAGS, TAGS-LISP.
2892
2893 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2894
2895 * emacs-lisp/package.el (package-version-join):
2896 Recognize snapshot versions.
2897
2898 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2899
2900 * subr.el (version-regexp-alist): Add support for snapshot versions.
2901
2902 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2903
2904 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2905 New function, replacement for `smie-rule-parent' for when we want to
2906 skip over our direct parent if it's an assignment token..
2907 (ruby-smie-rules): Use it.
2908
2909 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2910
2911 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2912 unconditionally. Remove now unnecessary forward declarations.
2913 Remove XEmacs-specific setup.
2914 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2915 (ruby-font-lock-syntactic-keywords)
2916 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2917 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2918 (ruby-here-doc-end-syntax): Remove.
2919 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2920 defined as function.
2921
2922 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2923
2924 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2925
2926 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2927
2928 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2929 table and abbrev table, `define-derived-mode' does that for us
2930 anyway.
2931
2932 2013-11-01 Glenn Morris <rgm@gnu.org>
2933
2934 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2935 files is atomic for some time, so no parallel compilation issues).
2936
2937 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2938
2939 * faces.el (face-x-resources): Add :distant-foreground.
2940 (region): Use :distant-foreground for gtk and ns.
2941
2942 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2943
2944 Allow multiple bibliographies when BibLaTeX is used rather than
2945 BibTeX.
2946 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2947 (reftex-locate-bibliography-files): Us it.
2948
2949 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2950
2951 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2952 allow comments in pbm files.
2953
2954 * term/w32-win.el (dynamic-library-alist): Support newer versions
2955 of libjpeg starting with v7: look only for the DLL from the
2956 version against which Emacs was built.
2957 Support versions of libpng beyond 1.4.x.
2958 Support libtiff v4.x.
2959
2960 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2961
2962 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2963 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2964 Add property :safe.
2965 (ruby-deep-arglist): Add property :type.
2966
2967 2013-10-31 Glenn Morris <rgm@gnu.org>
2968
2969 * Makefile.in (custom-deps, finder-data): No need to setq the target
2970 variables, we are in the right directory and the defaults work fine.
2971
2972 2013-10-30 Glenn Morris <rgm@gnu.org>
2973
2974 * Makefile.in (autoloads): Do not use abs_lisp.
2975
2976 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2977 `newline' does not respect `standard-output', so use `princ'.
2978
2979 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2980
2981 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2982 * buff-menu.el (Buffer-menu--unmark): New function.
2983 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2984
2985 2013-10-30 Glenn Morris <rgm@gnu.org>
2986
2987 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2988
2989 * emacs-lisp/package.el (lm-homepage): Declare.
2990
2991 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2992 Fix doc typos.
2993
2994 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2995
2996 * Makefile.in (finder-data, autoloads, update-subdirs)
2997 (compile-main, compile-clean, compile-always, bootstrap-clean):
2998 Check return value of cd.
2999 (compile-calc): Remove.
3000
3001 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3002
3003 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3004
3005 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3006 (byte-compile-and-folded): New function.
3007 (=, <, >, <=, >=): Use it.
3008
3009 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3010 (path-separator, null-device, buffer-file-coding-system)
3011 (lpr-headers-switches): Check system-type before modifying them.
3012 (find-buffer-file-type-coding-system): Mark obsolete.
3013 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3014 find-file-not-found-set-buffer-file-coding-system.
3015 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3016 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3017 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3018 (w32-direct-print-region-helper, w32-direct-print-region-function)
3019 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3020 * startup.el (normal-top-level-add-subdirs-to-load-path):
3021 * ps-print.el (ps-print-region-function):
3022 * lpr.el (print-region-function): Use new name.
3023
3024 * subr.el (custom-declare-variable-early): Remove function.
3025 (custom-declare-variable-list): Remove var.
3026 (error, user-error): Remove `while' loop.
3027 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3028 (user-emacs-directory-warning, locate-user-emacs-file):
3029 Move to files.el.
3030 * simple.el (read-quoted-char-radix, read-quoted-char):
3031 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3032 Move from subr.el.
3033 * custom.el (custom-declare-variable-list): Don't process
3034 custom-declare-variable-list.
3035
3036 * progmodes/python.el (python-shell-get-buffer): New function.
3037 (python-shell-get-process): Use it.
3038 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3039 Python which encoding was used. Don't split-string since we only care
3040 about the first line. Return the temp-file, if applicable.
3041 (python-shell-send-region): Tell compile.el how to turn locations in
3042 the temp-file into locations in the source buffer.
3043
3044 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3045
3046 * subr.el (undefined): Add missing behavior from the C code for
3047 unbound keys.
3048
3049 * rect.el: Use lexical-binding. Add new rectangular region support.
3050 (rectangle-mark): New command.
3051 (rectangle--region): New var.
3052 (deactivate-mark-hook): Reset rectangle--region.
3053 (rectangle--extract-region, rectangle--insert-for-yank)
3054 (rectangle--highlight-for-redisplay)
3055 (rectangle--unhighlight-for-redisplay): New functions.
3056 (region-extract-function, redisplay-unhighlight-region-function)
3057 (redisplay-highlight-region-function): Use them to handle
3058 rectangular region.
3059 * simple.el (region-extract-function): New var.
3060 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3061 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3062 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3063 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3064 (redisplay-unhighlight-region-function)
3065 (redisplay-highlight-region-function): New vars.
3066 (redisplay--update-region-highlight): New function.
3067 (pre-redisplay-function): Use it.
3068 (exchange-point-and-mark): Don't deactivate the mark before
3069 reactivate-it anyway.
3070 * comint.el (comint-kill-region): Remove yank-handler argument.
3071 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3072 (delete-char): Remove property, since it's now part of their
3073 default behavior.
3074 (self-insert-iso): Remove property since this command doesn't exist.
3075
3076 * emacs-lisp/package.el (package--download-one-archive)
3077 (describe-package-1): Don't query the user about final newline.
3078
3079 2013-10-29 Daniel Colascione <dancol@dancol.org>
3080
3081 * net/tramp.el (tramp-methods): Document new functionality.
3082 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3083 tramp-hostname-checker if method provides one instead of scanning
3084 argument list for "%h" to decide hostname acceptability.
3085
3086 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3087
3088 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3089 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3090 Handle COPY-CONTENTS. (Bug#15737)
3091
3092 2013-10-28 Daiki Ueno <ueno@gnu.org>
3093
3094 * epa-file.el
3095 (epa-file-cache-passphrase-for-symmetric-encryption):
3096 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3097
3098 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3099
3100 * image.el (defimage):
3101 (image-load-path): Doc fixes.
3102
3103 2013-10-27 Alan Mackenzie <acm@muc.de>
3104
3105 Indent statements in macros following "##" correctly.
3106 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3107 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3108
3109 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3110
3111 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3112
3113 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3114
3115 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3116 after `=' is probably a new expression.
3117
3118 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3119
3120 * man.el (man-imenu-title): New option.
3121 (Man-mode-map): Add menu. (Bug#15722)
3122 (Man-mode): Add imenu to menu.
3123
3124 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3125
3126 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3127 specific in what the first arg can be: a non-keyword word,
3128 string/regexp/percent literal opener, opening paren, or unary
3129 operator followed directly by word.
3130
3131 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3132
3133 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3134 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3135 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3136 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3137 Remove vars, they do not apply any more.
3138 (prolog-mode-abbrev-table): Remove redundant declaration.
3139 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3140 (prolog-use-smie): Remove.
3141 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3142 supported by prolog-electric-if-then-else-flag.
3143 (prolog-mode-variables, prolog-menu): Use setq-local.
3144 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3145 Remove binding to `Backspace' since this key doesn't exist anyway.
3146 Remove bindings for electric self-inserting keys.
3147 (prog-mode): Assume it's defined.
3148 (prolog-post-self-insert): New function.
3149 (prolog-mode): Use it.
3150 (prolog-indent-line, prolog-indent-level)
3151 (prolog-find-indent-of-matching-paren)
3152 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3153 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3154 (prolog-goto-next-paren, prolog-in-string-or-comment)
3155 (prolog-tokenize, prolog-inside-mline-comment)
3156 (prolog-find-start-of-mline-comment): Remove functions.
3157 (prolog-find-unmatched-paren, prolog-clause-end)
3158 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3159 (prolog-electric--if-then-else): Rename from
3160 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3161 (prolog-tokenize-searchkey): Remove const.
3162 (prolog-clause-info): Use forward-sexp.
3163 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3164 (prolog-electric-if-then-else): Remove commands.
3165 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3166 for use in post-self-insert-hook.
3167 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3168 for use in post-self-insert-hook.
3169 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3170 for use in post-self-insert-hook.
3171 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3172 adapt it for use in post-self-insert-hook.
3173
3174 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3175
3176 * emacs-lisp/ert.el (ert-run-tests-interactively):
3177 Use `completing-read'. (Bug#9756)
3178
3179 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3180
3181 * simple.el (line-move): Call line-move-1 instead of
3182 line-move-visual when the current window hscroll is zero, but
3183 temporary-goal-column indicates we will need to hscroll as result
3184 of the movement. (Bug#15712)
3185
3186 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3187
3188 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3189 capitalization. Use :visible instead of :active.
3190 Fix `ruby-indent-exp' reference. Add menu items for the generic
3191 commands that are used with SMIE.
3192 (ruby-do-end-to-brace): Insert space after `{'.
3193
3194 2013-10-25 John Anthony <john@jo.hnanthony.com>
3195
3196 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3197
3198 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3199
3200 2013-10-25 Glenn Morris <rgm@gnu.org>
3201
3202 * vc/vc.el (vc-print-log): Don't use a working revision unless
3203 one was explicitly specified. (Bug#15322)
3204
3205 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3206
3207 * subr.el (add-to-list): Preserve return value in compiler-macro
3208 (bug#15692).
3209
3210 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3211
3212 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3213 result. Ask user to retry using '-all' flag. (Bug#15701)
3214
3215 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3216
3217 * emacs-lisp/smie.el: New smie-config system.
3218 (smie-config): New defcustom.
3219 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3220 (smie-config-guess, smie-config-save): New commands.
3221 (smie-config--mode-local, smie-config--buffer-local)
3222 (smie-config--trace, smie-config--modefuns): New vars.
3223 (smie-config--advice, smie-config--mode-hook)
3224 (smie-config--setter, smie-config-local, smie-config--get-trace)
3225 (smie-config--guess-value, smie-config--guess): New functions.
3226 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3227 text properties. Treat "string fence" syntax like string syntax.
3228
3229 * progmodes/sh-script.el (sh-use-smie): Change default.
3230 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3231 (sh-var-value): Simplify by CSE.
3232 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3233 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3234 is used.
3235 (sh-guess-basic-offset): Use cl-incf.
3236 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3237
3238 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3239
3240 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3241 (bug#15699).
3242
3243 2013-10-24 Glenn Morris <rgm@gnu.org>
3244
3245 * Makefile.in (abs_top_srcdir): Remove.
3246 (update-subdirs): Use relative path to update-subdirs.
3247
3248 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3249
3250 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3251 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3252 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3253 Call unmsys--file-name before expand-file-name, not after it.
3254
3255 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3256
3257 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3258 (ert-test-skipped): New error.
3259 (ert-skip, ert-stats-skipped): New defuns.
3260 (ert--skip-unless): New macro.
3261 (ert-test-skipped): New struct.
3262 (ert--run-test-debugger, ert-test-result-type-p)
3263 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3264 (ert--stats-set-test-and-result, ert-char-for-test-result)
3265 (ert-string-for-test-result, ert-run-tests-batch)
3266 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3267 Handle skipped tests. (Bug#9803)
3268
3269 2013-10-24 Glenn Morris <rgm@gnu.org>
3270
3271 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3272
3273 * Makefile.in (abs_top_srcdir): New, set by configure.
3274 (update-subdirs): Correct build-aux location.
3275
3276 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3277
3278 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3279 value, whether we could auto-deduce `backend', or not.
3280
3281 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3282 with parameters" example. Simplify the "is it block or is it
3283 hash" check, but also make it more thorough.
3284
3285 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3286
3287 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3288
3289 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3290
3291 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3292 { if it is hanging.
3293
3294 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3295 :before ";".
3296
3297 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3298
3299 * progmodes/compile.el (compilation-directory-matcher)
3300 (compilation-page-delimiter):
3301 Support GNU Make-4.0 directory quoting. (Bug#15678)
3302
3303 2013-10-23 Leo Liu <sdl.web@gmail.com>
3304
3305 * ido.el (ido-tidy): Handle read-only text.
3306
3307 2013-10-23 Glenn Morris <rgm@gnu.org>
3308
3309 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3310 (emacs, compile, compile-always):
3311 Quote entities that might contain whitespace.
3312 (custom-deps, finder-data, autoloads): Use abs_lisp.
3313 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3314 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3315 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3316
3317 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3318
3319 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3320 Use `following-char'.
3321
3322 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3323
3324 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3325 * progmodes/ruby-mode.el (ruby-smie-rules):
3326 Remove corresponding workaround. Fix indentation rule of ";" so it
3327 also applies when ";" is the parent.
3328
3329 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3330
3331 * frame.el (display-screens, display-pixel-height)
3332 (display-pixel-width, display-mm-width, display-backing-store)
3333 (display-save-under, display-planes, display-color-cells)
3334 (display-visual-class, display-monitor-attributes-list):
3335 Mention the optional ‘display’ argument in doc strings.
3336
3337 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3338
3339 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3340 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3341
3342 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3343
3344 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3345 TODO. Add "." after " @ ".
3346 (ruby-smie--at-dot-call): New function. Checks if point at method
3347 call with explicit target.
3348 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3349 to the method name tokens when it precedes them.
3350 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3351 (ruby-smie-rules): Add rule for indentation before and after "."
3352 token.
3353
3354 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3355
3356 * textmodes/remember.el (remember-diary-extract-entries):
3357 Avoid add-to-list.
3358
3359 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3360 an instruction.
3361
3362 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3363
3364 * progmodes/ruby-mode.el (ruby-smie-grammar):
3365 Add (almost) all infix operators.
3366 (ruby-smie--implicit-semi-p): Add new operator chars.
3367
3368 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3369 `smie-down-list'.
3370 (ruby-smie--args-separator-p): Check that there's no newline
3371 between method call and its arguments.
3372
3373 2013-10-20 Alan Mackenzie <acm@muc.de>
3374
3375 Allow comma separated lists after Java "implements".
3376
3377 * progmodes/cc-engine.el (c-backward-over-enum-header):
3378 Parse commas.
3379 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3380 from a "disallowed" list in enum fontification.
3381
3382 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3383
3384 * startup.el (default-frame-background-mode): Remove unused defvar.
3385
3386 * progmodes/verilog-mode.el (verilog-mode): Don't set
3387 comment-indent-function globally.
3388
3389 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3390
3391 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3392 Move Info menu item creation to ns-win.el.
3393
3394 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3395 in menu bar.
3396
3397 * menu-bar.el: Move GNUStep specific menus...
3398
3399 * term/ns-win.el (ns-initialize-window-system): ... to here.
3400
3401 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3402
3403 * simple.el (newline): Only run post-self-insert-hook when
3404 called interactively.
3405
3406 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3407
3408 * icomplete.el (icomplete-with-completion-tables): Add :version.
3409
3410 2013-10-19 Alan Mackenzie <acm@muc.de>
3411
3412 Fix fontification bugs with constructors and const.
3413
3414 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3415 CASE 2) Remove the check for the absence of a suffix construct
3416 after a function declaration with only types (no identifiers) in
3417 the parentheses. Also, accept a function declaration with just a
3418 type inside the parentheses, if this type can be positively
3419 recognised as such, or if a prefix keyword like "explicit" nails
3420 down the construct as a declaration.
3421
3422 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3423
3424 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3425 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3426 the problem whereby selecting a menu item that leads to a
3427 minibuffer prompt moves the cursor out of the minibuffer window,
3428 making it hard to type at the prompt. Suggested by Stefan Monnier
3429 <monnier@iro.umontreal.ca>.
3430
3431 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3432
3433 * menu-bar.el: Don't make Services menu.
3434
3435 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3436
3437 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3438 (ffap-alist): Use ffap-c++-mode for c++-mode.
3439 (ffap-c++-path): New variable.
3440 (ffap-c++-mode): New function.
3441
3442 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3443
3444 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3445
3446 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3447
3448 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3449 introduced on 2013-09-08, which results in an infinite loop
3450 requesting a password.
3451
3452 2013-10-18 Glenn Morris <rgm@gnu.org>
3453
3454 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3455
3456 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3457
3458 Sync with upstream verilog-mode revision 1a6ecec7.
3459 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3460 (verilog-mode-release-date): Remove.
3461 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3462 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3463 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3464 (verilog-auto-tieoff-ignore-regexp)
3465 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3466 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3467 (verilog-signals-with, verilog-dir-cache-preserving)
3468 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3469 Doc fixes.
3470 (verilog-case-fold): New option, to control case folding in
3471 regexp searches, bug597.
3472 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3473 (verilog-string-match-fold, verilog-in-paren-count)
3474 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3475 (verilog-at-close-struct-p): New functions.
3476 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3477 (verilog-forward-sexp, verilog-set-auto-endcomments):
3478 (verilog-leap-to-case-head): Handle "unique0" case.
3479 (verilog-in-constraint-re): New constant.
3480 (verilog-keywords, verilog-type-font-keywords):
3481 Add some SystemVerilog 1800-2012 keywords.
3482 (verilog-label-be): Remove unimplemented argument, bug669.
3483 (verilog-batch-execute-func): When batch expanding clear
3484 create-lockfiles to prevent spurious user locks when a file ends
3485 up not changing.
3486 (verilog-calculate-indent, verilog-calc-1)
3487 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3488 (verilog-do-indent): Fix indentation of nested constraints
3489 and structures.
3490 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3491 (verilog-auto-inst-param): Use verilog-string-match-fold.
3492 (verilog-read-inst-module-matcher):
3493 Fix AUTOINST on gate primitives with #1.
3494 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3495 Reads all user-defined typed variables.
3496 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3497 (verilog-signals-matching-regexp)
3498 (verilog-signals-not-matching-regexp, verilog-auto):
3499 Respect verilog-case-fold.
3500 (verilog-diff-report): Fix line count.
3501 (verilog-auto-assign-modport): Remove unused local `modi'.
3502 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3503 better handle multidimensional arrays.
3504 Fix packed array ports misadding bit index in AUTOINST, bug637.
3505 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3506 to not double-declare existing outputs and inputs, respectively.
3507 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3508 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3509 (verilog-sk-uvm-component): New skeleton.
3510 (verilog-submit-bug-report): Add verilog-case-fold,
3511 remove verilog-mode-release-date.
3512
3513 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3514
3515 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3516 as before.
3517
3518 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3519
3520 * textmodes/remember.el (remember): Set buffer-offer-save in
3521 remember buffers (bug#13566).
3522
3523 2013-10-18 Daniel Colascione <dancol@dancol.org>
3524
3525 When evaluating forms in ielm, direct standard output to ielm
3526 buffer. Add new ielm-return-for-effect command. Remove trailing
3527 whitespace throughout.
3528
3529 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3530 (ielm-return-for-effect): New command.
3531 (ielm-send-input): Accept optional `for-effect' parameter.
3532 (ielm-eval-input): Accept optional `for-effect' parameter.
3533 Bind `standard-output' to stream we create using
3534 `ielm-standard-output-impl'. Suppress printing result when
3535 `for-effect'.
3536 (ielm-standard-output-impl): New function.
3537 (inferior-emacs-lisp-mode): Explain new features in documentation.
3538
3539 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3540
3541 Code cleanup.
3542
3543 * net/tramp.el (tramp-debug-message): Do not check for connection
3544 buffer.
3545 (tramp-message): Use "vector" connection property.
3546
3547 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3548 (tramp-equal-remote, tramp-eshell-directory-change)
3549 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3550 (tramp-adb-handle-rename-file)
3551 * net/tramp-cmds.el (tramp-list-remote-buffers)
3552 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3553 * net/tramp-compat.el (tramp-compat-process-running-p)
3554 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3555 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3556 (tramp-gvfs-handle-rename-file)
3557 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3558 (tramp-set-file-uid-gid)
3559 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3560 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3561 of `file-remote-p'.
3562
3563 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3564 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3565 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3566 (tramp-gw-open-network-stream): Suppress unrelated traces.
3567
3568 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3569 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3570 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3571 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3572 connection property.
3573
3574 * net/tramp-cache.el (top): Suppress traces when reading
3575 persistency file.
3576
3577 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3578 Refactor common code. Improve debug message.
3579 (tramp-maybe-open-connection)
3580 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3581 connection buffer too early.
3582
3583 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3584 from `tramp-smb-actions-with-acl'.
3585 (tramp-smb-actions-set-acl): New defconst.
3586 (tramp-smb-handle-copy-directory)
3587 (tramp-smb-action-get-acl): New defun, renamed from
3588 `tramp-smb-action-with-acl'.
3589 (tramp-smb-action-set-acl): New defun.
3590 (tramp-smb-handle-set-file-acl): Rewrite.
3591
3592 2013-10-17 Glenn Morris <rgm@gnu.org>
3593
3594 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3595
3596 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3597
3598 * skeleton.el (skeleton-newline): Remove.
3599 (skeleton-internal-1): Use (insert "\n") instead.
3600
3601 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3602 let-bindings.
3603
3604 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3605 forward-sexp-function while we redo its job (bug#15613).
3606
3607 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3608
3609 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3610 represented by lists.
3611
3612 2013-10-16 Glenn Morris <rgm@gnu.org>
3613
3614 * tmm.el (tmm--history): New dynamic variable.
3615 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3616
3617 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3618
3619 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3620 (tramp-smb-errors): Add error messages.
3621 (tramp-smb-actions-with-acl): New defconst.
3622 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3623 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3624 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3625 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3626 (tramp-smb-get-stat-capability): Fix tests.
3627
3628 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3629
3630 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3631 (bug#15580).
3632
3633 2013-10-16 Glenn Morris <rgm@gnu.org>
3634
3635 * ansi-color.el (ansi-color-drop-regexp):
3636 Add 1J, 1K, 2K. (Bug#15617)
3637
3638 * files.el (hack-local-variables--warned-lexical): New.
3639 (hack-local-variables):
3640 Warn about misplaced lexical-binding. (Bug#15616)
3641
3642 * net/eww.el (eww-render): Always set eww-current-url,
3643 and update header line. (Bug#15622)
3644 (eww-display-html): ... Rather than just doing it here.
3645
3646 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3647
3648 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3649 menu navigations commands.
3650
3651 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3652
3653 * progmodes/subword.el (subword-capitalize): Be careful when
3654 the search for [[:alpha:]] fails (bug#15580).
3655
3656 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3657
3658 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3659 to commands that scroll the menu.
3660
3661 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3662
3663 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3664 Handle methods ending with `?' and `!'.
3665
3666 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3667
3668 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3669 `japanese-cp932' to `cp932' to fix the problem where saving a
3670 source file written in Shift_JIS twice would end up having
3671 `coding: japanese-cp932' which Ruby could not recognize.
3672 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3673 in `ruby-encoding-map'.
3674 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3675 doesn't need to be explicitly declared in magic comment.
3676 (ruby-encoding-map): Add type declaration for better customize UI.
3677
3678 2013-10-13 Glenn Morris <rgm@gnu.org>
3679
3680 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3681 Occur buffers are read-only. http://bugs.debian.org/720775
3682
3683 * emacs-lisp/authors.el (authors-fixed-entries):
3684 Comment out old alpha stuff.
3685
3686 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3687
3688 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3689 to `after-save-hook' instead of `before-save-hook'.
3690 (ruby-mode-set-encoding): Use the value of coding system used to
3691 write the file. Call `basic-save-buffer-1' after modifying the
3692 buffer.
3693
3694 2013-10-13 Alan Mackenzie <acm@muc.de>
3695
3696 Fix indentation/fontification of Java enum with
3697 "implements"/generic.
3698
3699 * progmodes/cc-engine.el (c-backward-over-enum-header):
3700 Extracted from the three other places and enhanced to handle generics.
3701 (c-inside-bracelist-p): Uses new function above.
3702 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3703 function above.
3704 (c-font-lock-enum-tail): Uses new function above.
3705
3706 2013-10-13 Kenichi Handa <handa@gnu.org>
3707
3708 * international/mule-cmds.el (select-safe-coding-system): Remove a
3709 superfluous condition in chekcing whether a coding system is safe
3710 or not.
3711
3712 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3713
3714 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3715
3716 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3717
3718 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3719
3720 2013-10-13 Glenn Morris <rgm@gnu.org>
3721
3722 * menu-bar.el (menu-bar-update-buffers):
3723 Unify Buffers menu prompt string. (Bug#15576)
3724
3725 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3726
3727 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3728 Add some entries.
3729 (authors-fixed-entries): Use accented form of name.
3730
3731 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3732
3733 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3734 method calls (bug#15594).
3735 (ruby-smie--args-separator-p): New function.
3736 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3737 recognize paren-free method calls.
3738
3739 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3740 internals of universal-argument.
3741
3742 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3743
3744 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3745 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3746 dropped menu on second mouse click on the menu bar.
3747
3748 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3751 (explicit-shell-file-name): Declare.
3752 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3753 (sh-completion-at-point-function): New function.
3754 (sh-mode): Use it.
3755 (sh-smie--keyword-p): Remove unused argument.
3756 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3757 vars.
3758 (sh-set-shell): Always setup SMIE, even if we use the
3759 old indentation code.
3760
3761 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3762
3763 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3764 cases of ? and =.
3765 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3766 predicate would return nil are almost non-existent.
3767 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3768
3769 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3770 cache also after commands that modify the buffer but don't move
3771 point.
3772
3773 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3774
3775 * env.el (substitute-env-in-file-name): New function.
3776 (substitute-env-vars): Extend the meaning of the optional arg.
3777
3778 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3779
3780 * term/w32-win.el (dynamic-library-alist): Define separate lists
3781 of GIF DLLs for versions before and after 5.0.0 of giflib.
3782 (Bug#15531)
3783
3784 2013-10-10 João Távora <joaotavora@gmail.com>
3785
3786 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3787 not locked, use last revision and current source as
3788 defaults. (Bug#15569)
3789
3790 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3791
3792 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3793 menu-bar is hidden.
3794
3795 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3796
3797 * window.el (pop-to-buffer-same-window): Fix doc-string.
3798 (Bug#15492)
3799
3800 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3801
3802 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3803
3804 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3805
3806 * calendar/icalendar.el (icalendar-import-file):
3807 Fix interactive spec. (Bug#15482)
3808
3809 2013-10-10 Glenn Morris <rgm@gnu.org>
3810
3811 * desktop.el (desktop-save): Default to saving in .emacs.d,
3812 since PWD is no longer in desktop-path by default. (Bug#15319)
3813
3814 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3815 now that text mode has a menu with the same entry.
3816 (menu-bar-text-mode-auto-fill): Remove now unused func.
3817 * textmodes/text-mode.el (text-mode-map):
3818 Use auto-fill help text from menu-bar.el.
3819
3820 2013-10-10 John Anthony <john@jo.hnanthony.com>
3821
3822 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3823
3824 2013-10-09 Juri Linkov <juri@jurta.org>
3825
3826 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3827 instead of this-command-keys. Add universal-argument-more and
3828 universal-argument-minus to the list of prefix commands. (Bug#15568)
3829
3830 2013-10-09 Glenn Morris <rgm@gnu.org>
3831
3832 * vc/vc-svn.el (vc-svn-create-repo):
3833 Expand paths in file://... url. (Bug#15446)
3834
3835 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3836 Add some entries.
3837 (authors): Remove unused local variables.
3838
3839 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3840
3841 * profiler.el: Create a more coherent calltree from partial backtraces.
3842 (profiler-format): Hide the tail with `invisible' so that C-s can still
3843 find the hidden elements.
3844 (profiler-calltree-depth): Don't recurse so enthusiastically.
3845 (profiler-function-equal): New hash-table-test.
3846 (profiler-calltree-build-unified): New function.
3847 (profiler-calltree-build): Use it.
3848 (profiler-report-make-name-part): Indent the calltree less.
3849 (profiler-report-mode): Add visibility specs for profiler-format.
3850 (profiler-report-expand-entry, profiler-report-toggle-entry):
3851 Expand the whole subtree when provided with a prefix arg.
3852
3853 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3854
3855 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3856 iuwu-mod token.
3857 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3858 hanging iuwu-mod token.
3859 (ruby-smie--forward-token): Do not include a dot after a token in
3860 that token.
3861 (ruby-smie--backward-token): Likewise.
3862
3863 2013-10-08 Juri Linkov <juri@jurta.org>
3864
3865 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3866 to isearch-other-control-char.
3867 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3868 and isearch-post-command-hook to post-command-hook.
3869 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3870 and isearch-post-command-hook from post-command-hook.
3871 (isearch-unread-key-sequence)
3872 (isearch-reread-key-sequence-naturally)
3873 (isearch-lookup-scroll-key, isearch-other-control-char)
3874 (isearch-other-meta-char): Remove functions.
3875 (isearch-pre-command-hook, isearch-post-command-hook):
3876 New functions based on isearch-other-meta-char rewritten
3877 relying on the new behavior of overriding-terminal-local-map
3878 that does not replace the local keymaps any more. (Bug#15200)
3879
3880 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3881
3882 Support menus on text-mode terminals.
3883 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3884 functionality.
3885
3886 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3887
3888 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3889 Move here from mouse.el.
3890 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3891 and arrow keys.
3892 (tty-menu-navigation-map): New map for TTY menu navigation.
3893
3894 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3895
3896 * frame.el (display-mouse-p): Report text-mode mouse as available
3897 on w32.
3898 (display-popup-menus-p): Report availability if mouse is
3899 available; don't condition on window-system.
3900
3901 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3902 (tty-menu-selected-face): New faces.
3903
3904 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3905
3906 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3907 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3908 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3909 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3910 New constants.
3911 (lisp-mode-variables): New `elisp' argument.
3912 (emacs-lisp-mode): Use it.
3913 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3914 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3915
3916 * indent.el: Use lexical-binding.
3917 (indent-region): Add progress reporter.
3918 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3919 last step.
3920 (indent--next-tab-stop): New function to implement this behavior.
3921 (tab-to-tab-stop, move-to-tab-stop): Use it.
3922
3923 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3924
3925 * indent.el (indent-rigidly--current-indentation): New function.
3926 (indent-rigidly-map): New var.
3927 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3928
3929 2013-10-08 Bastien Guerry <bzg@gnu.org>
3930
3931 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3932
3933 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3934
3935 * progmodes/perl-mode.el: Use lexical-binding.
3936 Remove redundant :group args.
3937 (perl-nochange): Change default to be closer to other major modes's
3938 standard behavior.
3939 (perl-indent-line): Don't consider text on current line as a
3940 valid beginning of function from which to indent.
3941
3942 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3943 with more than one argument (bug#15538).
3944
3945 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3946
3947 * vc/pcvs.el: Use lexical-binding.
3948 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3949 environment of `eval'.
3950 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3951 than a list of expressions. Adjust callers.
3952 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3953
3954 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3955
3956 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3957 case of the dot in a chained method call being on the following line.
3958
3959 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * electric.el (electric-indent-inhibit): New var.
3962 (electric-indent-post-self-insert-function): Use it.
3963 * progmodes/python.el (python-mode): Set it.
3964
3965 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3966 open braces.
3967
3968 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3969
3970 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3971 (css-mode): Use electric-indent-chars.
3972
3973 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3974 (font-lock-beg, font-lock-end): Move before first use.
3975 (nxml-mode): Use syntax-propertize-function.
3976 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3977 (nxml-extend-after-change-region): Remove.
3978 * nxml/xmltok.el: Use lexical-binding.
3979 (xmltok-save): Use `declare'.
3980 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3981 * nxml/nxml-util.el: Use lexical-binding.
3982 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3983 Use `declare'.
3984 * nxml/nxml-ns.el: Use lexical-binding.
3985 (nxml-ns-save): Use `declare'.
3986 (nxml-ns-prefixes-for): Avoid add-to-list.
3987 * nxml/rng-match.el: Use lexical-binding.
3988 (rng--ipattern): Use cl-defstruct.
3989 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3990 (rng-cons-group-after, rng-subst-group-after)
3991 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3992 Use closures instead of `(lambda...).
3993
3994 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3995
3996 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3997 of BEG and END.
3998
3999 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4000 Use `tramp-handle-insert-file-contents'.
4001 (tramp-gvfs-handle-insert-file-contents): Remove function.
4002
4003 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4004 Use `save-restriction' in order to keep markers.
4005
4006 * net/trampver.el: Update release number.
4007
4008 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4009
4010 * progmodes/compile.el (compilation-parse-errors):
4011 Use compilation--put-prop.
4012 (compilation--ensure-parse): Check compilation-multiline.
4013
4014 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4015
4016 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4017 lexical-binding.
4018
4019 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4020
4021 * progmodes/ruby-mode.el: Fix recently added tests.
4022 (ruby-smie-grammar): Add - and +.
4023 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4024 (ruby-smie--backward-id): New functions.
4025 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4026 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4027 any more.
4028
4029 2013-10-07 Leo Liu <sdl.web@gmail.com>
4030
4031 * register.el (register-preview-delay)
4032 (register-preview-functions): New variables.
4033 (register-read-with-preview, register-preview)
4034 (register-describe-oneline): New functions.
4035 (point-to-register, window-configuration-to-register)
4036 (frame-configuration-to-register, jump-to-register)
4037 (number-to-register, view-register, insert-register)
4038 (copy-to-register, append-to-register, prepend-to-register)
4039 (copy-rectangle-to-register): Use register-read-with-preview to
4040 read register. (Bug#15525)
4041
4042 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4043
4044 * net/network-stream.el (network-stream-open-starttls): Don't add
4045 --insecure if it's already present, because that gnutls-cli
4046 rejects getting that parameter twice.
4047
4048 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4049
4050 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4051 keyword, too.
4052
4053 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4054
4055 * newcomment.el (comment-use-global-state): Change default value
4056 to t, mark obsolete (Bug#15251).
4057 (comment-beginning): In addition to `comment-to-syntax', check the
4058 value of `comment-use-global-state'.
4059
4060 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4063 (ruby-comment-column): Follow the global default, by default.
4064 (ruby-smie-grammar): Add assignment syntax.
4065 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4066 open-paren, a comma, or a \.
4067 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4068 and line continuations.
4069 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4070 followed by implicit semi-colons. Add rule for string concatenation
4071 and for indentation at BOB.
4072 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4073
4074 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4075 calling next-sexp, since next-token may have skipped chars which
4076 next-sexp doesn't know should be skipped!
4077
4078 2013-10-05 Leo Liu <sdl.web@gmail.com>
4079
4080 * progmodes/octave.el (octave-send-region):
4081 Call compilation-forget-errors.
4082
4083 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4084
4085 * vc/vc-svn.el (vc-svn-find-admin-dir):
4086 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4087 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4088 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4089 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4090
4091 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4092
4093 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4094
4095 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4096
4097 * subr.el (read-passwd): Hide chars even when called within a context
4098 where after-change-functions is disabled (bug#15501).
4099 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4100 until we removed ourself from overriding-terminal-local-map.
4101
4102 2013-10-04 Leo Liu <sdl.web@gmail.com>
4103
4104 * progmodes/octave.el (inferior-octave-mode):
4105 Call compilation-forget-errors.
4106
4107 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4108
4109 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4110
4111 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4112
4113 * net/secrets.el (secrets-create-collection): Add optional
4114 argument ALIAS. Use proper Label keyword. Append ALIAS as
4115 dbus-call-method argument. (Bug#15516)
4116
4117 2013-10-04 Leo Liu <sdl.web@gmail.com>
4118
4119 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4120 (inferior-octave-compilation-font-lock-keywords): New variables.
4121 (compilation-error-regexp-alist)
4122 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4123 (inferior-octave-mode): Use compilation-shell-minor-mode.
4124
4125 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4126
4127 * minibuffer.el (completion--replace): Be careful that `end' might be
4128 a marker.
4129
4130 2013-10-03 Daiki Ueno <ueno@gnu.org>
4131
4132 Add support for package signature checking.
4133 * emacs-lisp/package.el (url-http-file-exists-p)
4134 (epg-make-context, epg-context-set-home-directory)
4135 (epg-verify-string, epg-context-result-for)
4136 (epg-signature-status, epg-signature-to-string)
4137 (epg-check-configuration, epg-configuration)
4138 (epg-import-keys-from-file): Declare.
4139 (package-check-signature): New user option.
4140 (package-unsigned-archives): New user option.
4141 (package-desc): Add `signed' field.
4142 (package-load-descriptor): Set `signed' field if .signed file exists.
4143 (package--archive-file-exists-p): New function.
4144 (package--check-signature): New function.
4145 (package-install-from-archive): Check package signature.
4146 (package--download-one-archive): Check archive signature.
4147 (package-delete): Remove .signed file.
4148 (package-import-keyring): New command.
4149 (package-refresh-contents): Import default keyring.
4150 (package-desc-status): Add "unsigned" status.
4151 (describe-package-1, package-menu--print-info)
4152 (package-menu-mark-delete, package-menu--find-upgrades)
4153 (package-menu--status-predicate): Support "unsigned" status.
4154
4155 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4156
4157 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4158 the new compilation scheme using the new byte-codes.
4159
4160 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4161 (byte-pophandler): New byte codes.
4162 (byte-goto-ops): Adjust accordingly.
4163 (byte-compile--use-old-handlers): New var.
4164 (byte-compile-catch): Use new byte codes depending on
4165 byte-compile--use-old-handlers.
4166 (byte-compile-condition-case--old): Rename from
4167 byte-compile-condition-case.
4168 (byte-compile-condition-case--new): New function.
4169 (byte-compile-condition-case): New function that dispatches depending
4170 on byte-compile--use-old-handlers.
4171 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4172 when we can.
4173
4174 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4175 Optimize under `condition-case' and `catch' if
4176 byte-compile--use-old-handlers is nil.
4177 (disassemble-offset): Handle new bytecodes.
4178
4179 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4180
4181 * subr.el (error): Use `declare'.
4182 (decode-char, encode-char): Use advertised-calling-convention instead
4183 of the docstring to discourage use of the `restriction' arg.
4184
4185 2013-10-03 Daiki Ueno <ueno@gnu.org>
4186
4187 * epg.el (epg-verify-file): Add a comment saying that it does not
4188 notify verification error as a return value nor a signal.
4189 (epg-verify-string): Ditto.
4190
4191 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4192
4193 * progmodes/compile.el (compilation-start): Try globbing the arg to
4194 `cd' (bug#15417).
4195
4196 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4197
4198 Sync with Tramp 2.2.8.
4199
4200 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4201 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4202 * net/trampver.el: Update release number.
4203
4204 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4205
4206 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4207 and default-process-coding-system for darwin only.
4208
4209 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4210
4211 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4212
4213 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4214
4215 * vc/vc-git.el (vc-git-grep): Disable pager.
4216
4217 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4218
4219 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4220 Use :url instead of :homepage, as per
4221 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4222
4223 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4224 non-nil, use `syntax-ppss' (Bug#15251).
4225
4226 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4227
4228 * progmodes/octave.el (inferior-octave-startup-file):
4229 Prefer ~/.emacs.d/init_octave.m.
4230
4231 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4232
4233 * emacs-lisp/package.el (package-desc-from-define):
4234 Accept additional arguments as plist, convert them to an alist and store
4235 them in the `extras' slot.
4236 (package-generate-description-file): Convert extras alist back to
4237 plist and append to the `define-package' form arguments.
4238 (package--alist-to-plist): New function.
4239 (package--ac-desc): Add `extras' slot.
4240 (package--add-to-archive-contents): Check if the archive-contents
4241 vector is long enough, and if it is, pass its `extras' slot value
4242 to `package-desc-create'.
4243 (package-buffer-info): Call `lm-homepage', pass the returned value
4244 to `package-desc-from-define'.
4245 (describe-package-1): Render the homepage button (Bug#13291).
4246
4247 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4248 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4249
4250 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4251
4252 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4253 and default-process-coding-system to utf-8-unix (Bug#15402).
4254
4255 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4256
4257 * subr.el (looking-back): Do not recommend using looking-back.
4258
4259 2013-09-28 Alan Mackenzie <acm@muc.de>
4260
4261 Fix indentation/fontification of Java enum with "implements".
4262
4263 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4264 regexp which matches "implements", etc., in Java.
4265 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4266 specifier clauses coming after "enum".
4267 * progmodes/cc-fonts.el (c-font-lock-declarations)
4268 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4269 after "enum".
4270
4271 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4272
4273 * faces.el (region): Change ns_selection_color to
4274 ns_selection_fg_color, add ns_selection_bg_color.
4275
4276 2013-09-28 Leo Liu <sdl.web@gmail.com>
4277
4278 * progmodes/octave.el (inferior-octave-completion-table)
4279 (inferior-octave-completion-at-point): Minor tweaks.
4280
4281 * textmodes/ispell.el (ispell-lookup-words): Rename from
4282 lookup-words. (Bug#15460)
4283 (lookup-words): Obsolete.
4284 (ispell-complete-word, ispell-command-loop): All uses changed.
4285
4286 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4287
4288 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4289 (octave-mode-menu): Add octave-send-buffer.
4290 (octave-send-buffer): New function.
4291
4292 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4293
4294 * progmodes/octave.el (octave-mode-map): Add key binding for
4295 octave-lookfor.
4296 (octave-mode-menu): Add octave-lookfor.
4297 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4298 octave-lookfor.
4299 (octave-lookfor): New function.
4300
4301 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4302
4303 * emacs-lisp/cl-macs.el:
4304 (cl--loop-destr-temps): Remove.
4305 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4306 its convention.
4307 (cl--loop-set-iterator-function): New function.
4308 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4309 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4310 Bind `it' with `let' instead of substituting it with `cl-subst'.
4311 (cl--unused-var-p): New function.
4312 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4313 Eliminate some unused variable warnings (bug#15326).
4314
4315 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4316
4317 * doc-view.el (doc-view-scale-reset): Rename from
4318 `doc-view-reset-zoom-level'.
4319 (doc-view-scale-adjust): New command.
4320 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4321 `doc-view-scale-adjust'.
4322
4323 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4324
4325 * doc-view.el (doc-view-reset-zoom-level): New command.
4326 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4327 zoom commands (bug#15466).
4328
4329 2013-09-26 Kenichi Handa <handa@gnu.org>
4330
4331 * international/quail.el (quail-help): Make it not a command.
4332
4333 2013-09-26 Leo Liu <sdl.web@gmail.com>
4334
4335 * minibuffer.el (completion-all-sorted-completions): Make args
4336 optional as they are.
4337
4338 2013-09-25 Daniel Colascione <dancol@dancol.org>
4339
4340 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4341 specs are and that they're not evaluated.
4342
4343 2013-09-24 Sam Steingold <sds@gnu.org>
4344
4345 * midnight.el (clean-buffer-list-kill-regexps)
4346 (clean-buffer-list-kill-buffer-names): Update for the new Man
4347 buffer naming which includes the object name.
4348
4349 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4350
4351 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4352 (eshell-parse-command, eshell-parse-pipeline): Use it since
4353 eshell-separate-commands requires a dynamic scoped var.
4354 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4355
4356 2013-09-23 Leo Liu <sdl.web@gmail.com>
4357
4358 * autoinsert.el (auto-insert-alist): Make the value of
4359 lexical-binding match its file setting.
4360
4361 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4362
4363 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4364
4365 * autoarg.el (autoarg-kp-digit-argument):
4366 * electric.el (Electric-command-loop):
4367 * kmacro.el (kmacro-step-edit-insert):
4368 Do not set universal-argument-num-events.
4369
4370 2013-09-22 Leo Liu <sdl.web@gmail.com>
4371
4372 * files.el (interpreter-mode-alist): Add octave.
4373
4374 2013-09-21 Alan Mackenzie <acm@muc.de>
4375
4376 C++: fontify identifier in declaration following "public:" correctly.
4377 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4378 to match "public", etc.
4379 (c-decl-prefix-re): Add ":" into the C++ value.
4380 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4381 bit. Add a check for a ":" preceded by "public", etc.
4382
4383 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4384
4385 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4386 recognized by GDB 7.5 and later.
4387
4388 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4389
4390 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4391
4392 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * subr.el (internal--call-interactively): New const.
4395 (called-interactively-p): Use it (bug#3984).
4396
4397 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4398
4399 * vc/pcvs.el (cvs-mode-ignore):
4400 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4401 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4402
4403 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4406 (eshell-ls-orig-insert-directory): Remove.
4407 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4408 (eshell-ls-use-in-dired): Use advice-add/remove.
4409 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4410 Add `orig-fun' arg for use in :around advice.
4411 Make it check (redundantly) eshell-ls-use-in-dired.
4412
4413 2013-09-19 Glenn Morris <rgm@gnu.org>
4414
4415 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4416
4417 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4418
4419 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4420
4421 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4422
4423 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4424 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4425 (tramp-get-remote-python): New defuns.
4426 (tramp-get-remote-uid-with-perl)
4427 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4428 contributed by yary <not.com@gmail.com> (tiny change).
4429 (tramp-get-remote-uid-with-python)
4430 (tramp-get-remote-gid-with-python): New defuns. Python code
4431 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4432 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4433
4434 2013-09-19 Glenn Morris <rgm@gnu.org>
4435
4436 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4437
4438 * eshell/em-unix.el (eshell-remove-entries):
4439 Rename argument to avoid name-clash with global `top-level'.
4440
4441 * eshell/esh-proc.el (eshell-kill-process-function):
4442 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4443 (eshell-reset-after-proc): Remove unused arg `proc'.
4444
4445 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4446 (directory-files-and-attributes): Mark unused arg.
4447
4448 * eshell/em-unix.el (eshell-remove-entries):
4449 Remove unused arg `path'. Update callers.
4450
4451 * eshell/em-hist.el (eshell-hist-parse-arguments):
4452 Remove unused arg `silent'. Update callers.
4453
4454 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4455 Fix (f)boundp mix-up.
4456
4457 * eshell/em-smart.el (eshell-smart-scroll-window)
4458 (eshell-disable-after-change):
4459 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4460
4461 2013-09-18 Alan Mackenzie <acm@muc.de>
4462
4463 Fix fontification of type when followed by "const".
4464 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4465 "known" types from fontification.
4466
4467 2013-09-18 Glenn Morris <rgm@gnu.org>
4468
4469 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4470 (chart-face-list): Drop Emacsen without display-color-p.
4471
4472 * net/eww.el (libxml-parse-html-region): Declare.
4473 (eww-display-html): Explicit error if no libxml2 support.
4474
4475 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4476
4477 * image.el (image-type-from-buffer, image-multi-frame-p):
4478 Remove --without-x warning/error.
4479
4480 * mouse.el (mouse-yank-primary):
4481 * term.el (term-mouse-paste):
4482 Reorder to silence --without-x compilation.
4483
4484 * mpc.el (doc-view-mode): Silence --without-x compilation.
4485
4486 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4487 Silence --without-x compilation.
4488
4489 * progmodes/gud.el (gud-find-file, gud-mode):
4490 Silence --without-x compilation.
4491 (tooltip-mode): Declare.
4492
4493 * wdired.el (dired-backup-overwrite): Remove declaration.
4494 (wdired-mode-map): Add doc string.
4495
4496 * custom.el (x-get-resource): Declare.
4497
4498 * eshell/em-glob.el (ange-cache):
4499 * eshell/em-unix.el (ange-cache): Declare.
4500
4501 * faces.el (x-display-list, x-open-connection, x-get-resource):
4502 Declare.
4503
4504 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4505 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4506 Declare.
4507
4508 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4509
4510 * net/gnutls.el (gnutls-log-level): Declare.
4511
4512 * net/shr.el (image-size, image-animate): Declare.
4513
4514 * simple.el (font-info): Declare.
4515
4516 * subr.el (x-popup-dialog): Declare.
4517
4518 * term/common-win.el (x-select-enable-primary)
4519 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4520 Declare.
4521
4522 * term/ns-win.el (x-handle-args): Declare.
4523
4524 * term/x-win.el (x-select-enable-clipboard): Declare.
4525
4526 * term/w32-win.el (create-default-fontset): Declare.
4527
4528 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4529 Declare.
4530
4531 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4532 (fit-frame-to-buffer): Explicit error if --without-x.
4533 (mouse-autoselect-window-select): Silence compiler.
4534
4535 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4536
4537 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4538 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4539 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4540 * eshell/esh-util.el (eshell-sublist):
4541 Remove unused local variables.
4542
4543 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4544
4545 * textmodes/two-column.el: Make 2C-split work for --without-x.
4546 (scroll-bar-columns): Autoload.
4547 (top-level): Require fringe when compiling.
4548
4549 2013-09-18 Leo Liu <sdl.web@gmail.com>
4550
4551 * subr.el (add-hook): Robustify to handle closure as well.
4552
4553 2013-09-17 Glenn Morris <rgm@gnu.org>
4554
4555 * simple.el (messages-buffer-mode-map): Unbind "g".
4556
4557 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4558
4559 * help-mode.el (help-mode-finish): Use derived-mode-p.
4560 Remove obsolete highlighting.
4561
4562 * play/life.el (life-mode): Use define-derived-mode. Derive from
4563 special-mode.
4564 (life): Let-bind inhibit-read-only.
4565 (life-setup): Avoid `setq'. Use `life-mode'.
4566
4567 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4568 which should not be needed any more.
4569 (package-menu-refresh, package-menu-describe-package): Use user-error.
4570
4571 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4572 (eshell-post-rewrite-command-hook): Make obsolete.
4573 (eshell-parse-command): Simplify.
4574 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4575 (eshell--cmd): Declare.
4576 (eshell-parse-pipeline): Remove unused var `final-p'.
4577 Pass a dynvar to eshell-post-rewrite-command-hook.
4578 Implement the new eshell-post-rewrite-command-function.
4579 (eshell-invoke-directly): Remove unused arg `input'.
4580 * eshell/esh-io.el (eshell-io-initialize):
4581 Use eshell-post-rewrite-command-function (bug#15399).
4582 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4583 adjust to new calling convention.
4584 (eshell-create-handles): Rename args to avoid clashing with dynvar
4585 `standard-output'.
4586
4587 2013-09-17 Glenn Morris <rgm@gnu.org>
4588
4589 * simple.el (messages-buffer-mode): New major mode.
4590 (messages-buffer): New function.
4591 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4592 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4593 (ert-run-test): Use `messages-buffer' function.
4594 (ert--force-message-log-buffer-truncation): Ignore read-only.
4595 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4596 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4597
4598 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4599
4600 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4601
4602 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4603
4604 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4605
4606 * icomplete.el (icomplete-in-buffer): New var.
4607 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4608 vars and replace them with functions.
4609 (icomplete-minibuffer-setup): Adjust accordingly.
4610 (icomplete--completion-table, icomplete--completion-predicate)
4611 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4612 New functions.
4613 (icomplete-forward-completions, icomplete-backward-completions)
4614 (icomplete-simple-completing-p, icomplete-exhibit)
4615 (icomplete-completions): Use them.
4616 (icomplete--in-region-buffer): New var.
4617 (icomplete--in-region-setup): New function.
4618 (icomplete-mode): Use it.
4619
4620 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4621 (bug#15379).
4622 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4623 return args and options.
4624 (eshell-eval-using-options): Use the new return value of
4625 eshell--do-opts to set the options's vars in their scope.
4626 (eshell--set-option): Rename from eshell-set-option.
4627 Add arg `opt-vals'.
4628 (eshell--process-option): Rename from eshell-process-option.
4629 Add arg `opt-vals'.
4630 (eshell--process-args): Use an `opt-vals' alist to store the options's
4631 values during their processing and return them additionally to the
4632 remaining args.
4633
4634 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4635
4636 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4637 continuation character an operator, as far as indentation is
4638 concerned (Bug#15369).
4639
4640 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4641
4642 * window.el (window--state-put-2): Don't process buffer state
4643 when buffer doesn't exist any more (Bug#15382).
4644
4645 2013-09-15 Glenn Morris <rgm@gnu.org>
4646
4647 * eshell/em-unix.el (eshell/rm):
4648 Make -f ignore missing files. (Bug#15373)
4649
4650 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4651 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4652 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4653
4654 2013-09-14 Glenn Morris <rgm@gnu.org>
4655
4656 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4657
4658 2013-09-13 Glenn Morris <rgm@gnu.org>
4659
4660 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4661 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4662
4663 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4664
4665 * frame.el (x-focus-frame): Mark as declared in frame.c.
4666
4667 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4668
4669 * ls-lisp.el: Use advice-add.
4670 (original-insert-directory): Remove.
4671 (ls-lisp--insert-directory): Rename from insert-directory; add
4672 `orig-fun' argument.
4673 (insert-directory): Advise.
4674
4675 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4676
4677 * term.el (term-emulate-terminal): Decode the command string
4678 before passing it to term-command-hook. (Bug#15337)
4679
4680 2013-09-13 Glenn Morris <rgm@gnu.org>
4681
4682 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4683
4684 * eshell/esh-ext.el (eshell-search-path): Declare.
4685
4686 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4687 Otherwise an error occurs if eshell-dirs module not loaded.
4688
4689 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4690
4691 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4692
4693 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4694 `tramp-check-proper-host'. Check for a valid method name.
4695
4696 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4697 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4698 * net/tramp-sh.el (tramp-maybe-open-connection):
4699 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4700
4701 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4702 also for hash values.
4703
4704 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * term/ns-win.el (parameters): Don't declare as dynamic.
4707 (before-make-frame-hook): Don't add ineffective function.
4708
4709 * eshell/*.el: Use lexical-binding (bug#15231).
4710
4711 2013-09-12 Kenichi Handa <handa@gnu.org>
4712
4713 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4714
4715 2013-09-12 Glenn Morris <rgm@gnu.org>
4716
4717 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4718 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4719
4720 * subr.el (do-after-load-evaluation): Also give compiler warnings
4721 when obsolete files are used (except by obsolete files).
4722
4723 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4724 in the status output, assume `filename' is the first. (Bug#15322)
4725
4726 * vc/vc.el (vc-deduce-fileset): Doc fix.
4727
4728 * calc/calc-help.el (Info-goto-node):
4729 * progmodes/cperl-mode.el (Info-find-node):
4730 * vc/ediff.el (Info-goto-node): Update declarations.
4731
4732 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4733
4734 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4735 (vc-bzr-pull): Require vc-dispatcher.
4736 * vc/vc-git.el (vc-compilation-mode): Declare.
4737 (vc-git-pull): Require vc-dispatcher.
4738
4739 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4740
4741 * progmodes/octave.el (help-button-action): Declare.
4742
4743 * shell.el (shell-directory-tracker): Output error as a message
4744 rather than just returning it as a string.
4745 (shell-process-pushd): Remove useless use of message.
4746
4747 * dframe.el (dframe-timer-fn):
4748 * files.el (dir-locals-read-from-file):
4749 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4750 (mpc-format):
4751 * reveal.el (reveal-post-command):
4752 * saveplace.el (load-save-place-alist-from-file):
4753 * shell.el (shell-resync-dirs):
4754 * w32-common-fns.el (x-get-selection-value):
4755 * emacs-lisp/copyright.el (copyright-find-copyright):
4756 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4757 * emulation/tpu-edt.el (tpu-copy-keyfile):
4758 * play/bubbles.el (bubbles--mark-neighbourhood):
4759 * progmodes/executable.el
4760 (executable-make-buffer-file-executable-if-script-p):
4761 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4762
4763 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4764
4765 Cleanup Eshell to rely less on dynamic scoping.
4766 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4767 last-value, and ext-command here. Bind `args' closer to `body'.
4768 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4769 (eshell--args): Declare new dynamic var.
4770 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4771 last-value, and ext-command. Pass `args' to `body'.
4772 (eshell-process-args): Bind eshell--args.
4773 (eshell-set-option): Use eshell--args.
4774 * eshell/eshell.el (eshell): Use derived-mode-p.
4775 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4776 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4777 (eshell-glob-function): Declare.
4778 * eshell/esh-util.el: Require cl-lib.
4779 (eshell-read-hosts-file): Avoid add-to-list.
4780 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4781 `err'.
4782 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4783 Declare.
4784 (eshell/diff): Remove unused var `err'.
4785 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4786 `killflag'.
4787 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4788 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4789 first use.
4790 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4791 Move declaration before first use.
4792 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4793 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4794 rely on cl-return.
4795
4796 2013-09-12 Glenn Morris <rgm@gnu.org>
4797
4798 * term/ns-win.el (global-map): Remove binding for ispell-next,
4799 deleted 1999-05-29. (Bug#15357)
4800
4801 2013-09-11 Glenn Morris <rgm@gnu.org>
4802
4803 * echistory.el (electric-command-history): Remove call to deleted func.
4804
4805 * play/landmark.el (landmark-mode): Fix typos.
4806
4807 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4808 Check cvs-sort-ignore-file is bound.
4809
4810 * savehist.el: No need for cl when compiling on Emacs.
4811
4812 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4813
4814 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4815 (bug#15338).
4816 (eshell-self-insert-command, eshell-send-invisible):
4817 Remove unused argument.
4818 (eshell-handle-control-codes): Remove unused var `orig'.
4819 Avoid delete-backward-char.
4820
4821 * files.el (set-auto-mode): Simplify a bit further.
4822
4823 2013-09-11 Glenn Morris <rgm@gnu.org>
4824
4825 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4826 (set-auto-mode): Don't regexp-quote elements.
4827 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4828 * progmodes/cc-mode.el (interpreter-mode-alist):
4829 * progmodes/ruby-mode.el (interpreter-mode-alist):
4830 Revert previous change.
4831
4832 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4833
4834 * play/snake.el (snake-mode):
4835 * play/mpuz.el (mpuz-mode):
4836 * play/landmark.el (lm-mode):
4837 * play/blackbox.el (blackbox-mode):
4838 * play/5x5.el (5x5-mode):
4839 * obsolete/options.el (Edit-options-mode):
4840 * net/quickurl.el (quickurl-list-mode):
4841 * net/newst-treeview.el (newsticker-treeview-mode):
4842 * mail/rmailsum.el (rmail-summary-mode):
4843 * mail/mspools.el (mspools-mode):
4844 * locate.el (locate-mode):
4845 * ibuffer.el (ibuffer-mode):
4846 * emulation/ws-mode.el (wordstar-mode):
4847 * emacs-lisp/debug.el (debugger-mode):
4848 * array.el (array-mode):
4849 * net/eudc.el (eudc-mode): Use define-derived-mode.
4850 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4851 Move initialization into declaration.
4852 (mairix-searches-mode): Use define-derived-mode.
4853 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4854 (eudc-edit-hotlist): Use dolist.
4855 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4856 (Man-mode): Use define-derived-mode.
4857 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4858 (Info-edit-mode): Use define-derived-mode.
4859 (Info-cease-edit): Use Info-mode.
4860 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4861 into declaration.
4862 (eshell-mode): Use define-derived-mode.
4863 * chistory.el (command-history-mode-map): Rename from
4864 command-history-map.
4865 (command-history-mode): Use define-derived-mode.
4866 (Command-history-setup): Remove function.
4867 * calc/calc.el (calc-trail-mode-map): New var.
4868 (calc-trail-mode): Use define-derived-mode.
4869 (calc-trail-buffer): Set calc-main-buffer manually.
4870 * bookmark.el (bookmark-insert-annotation): New function.
4871 (bookmark-edit-annotation): Use it.
4872 (bookmark-edit-annotation-mode): Make it a proper major mode.
4873 (bookmark-send-edited-annotation): Use derived-mode-p.
4874 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4875 closer to its ideal place. Use \' to match EOS.
4876
4877 * profiler.el (profiler-calltree-find): Use function-equal.
4878
4879 2013-09-10 Glenn Morris <rgm@gnu.org>
4880
4881 * files.el (interpreter-mode-alist): Convert to regexps.
4882 (set-auto-mode): Adapt for this. (Bug#15306)
4883 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4884 Comment out unused variable.
4885 * progmodes/cc-mode.el (interpreter-mode-alist):
4886 * progmodes/python.el (interpreter-mode-alist):
4887 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4888 * progmodes/sh-script.el (sh-set-shell):
4889 No longer use interpreter-mode-alist to get list of shells.
4890
4891 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4892
4893 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * simple.el: Use set-temporary-overlay-map for universal-argument.
4896 (universal-argument-map): Don't use default-bindings (bug#15317).
4897 Bind switch-frame explicitly. Replace universal-argument-minus with
4898 a conditional binding.
4899 (universal-argument-num-events, saved-overriding-map): Remove.
4900 (restore-overriding-map): Remove.
4901 (universal-argument--mode): Rename from save&set-overriding-map,
4902 and rewrite.
4903 (universal-argument, universal-argument-more, negative-argument)
4904 (digit-argument): Adjust accordingly.
4905 (universal-argument-minus): Remove.
4906 (universal-argument-other-key): Remove.
4907
4908 * subr.el (with-demoted-errors): Add `format' argument.
4909
4910 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4911
4912 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4913 `tramp-cleanup-connection'.
4914
4915 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4916 parameters KEEP-DEBUG and KEEP-PASSWORD.
4917
4918 * net/tramp.el (tramp-file-name-handler):
4919 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4920 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4921 (tramp-maybe-open-connection):
4922 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4923 Use `tramp-cleanup-connection'.
4924
4925 * net/tramp-sh.el (tramp-maybe-open-connection):
4926 Catch 'uname-changed inside the progress reporter.
4927
4928 2013-09-10 Glenn Morris <rgm@gnu.org>
4929
4930 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4931
4932 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4933 returns "alternate access method" in mode (eg "-rw-r--r--.").
4934
4935 2013-09-08 Glenn Morris <rgm@gnu.org>
4936
4937 * saveplace.el (load-save-place-alist-from-file):
4938 Demote errors. (Bug#15305)
4939
4940 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4941
4942 Improve compatibility with older Emacsen, and XEmacs.
4943
4944 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4945 only if it is bound. It isn't for XEmacs.
4946 (with-tramp-progress-reporter): Do not let-bind `result'.
4947 This yields to scoping errors in XEmacs.
4948 (tramp-handle-make-auto-save-file-name): New function, moved from
4949 tramp-sh.el.
4950
4951 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4952 for `make-auto-save-file-name'.
4953 (tramp-adb--gnu-switches-to-ash):
4954 Use `tramp-compat-replace-regexp-in-string'.
4955
4956 * net/tramp-cache.el (tramp-cache-print): Call
4957 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4958
4959 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4960 bound. It isn't for XEmacs.
4961
4962 * net/tramp-compat.el (tramp-compat-copy-file):
4963 Catch `wrong-number-of-arguments' error.
4964 (tramp-compat-replace-regexp-in-string): New defun.
4965
4966 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4967 for `make-auto-save-file-name'.
4968 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4969 `copy-file'.
4970 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4971 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4972 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4973
4974 * net/tramp-gw.el (tramp-gw-open-network-stream):
4975 Use `tramp-compat-replace-regexp-in-string'.
4976
4977 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4978 Call `tramp-handle-make-auto-save-file-name'.
4979 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4980 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4981 (tramp-sh-file-inotifywait-process-filter):
4982 Use `tramp-compat-replace-regexp-in-string'.
4983 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4984
4985 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4986 for `make-auto-save-file-name'.
4987 (tramp-smb-handle-copy-directory):
4988 Call `tramp-compat-replace-regexp-in-string'.
4989 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4990 (tramp-smb-handle-copy-file): Improve error message.
4991 (tramp-smb-handle-rename-file): Rename directly only in case
4992 `newname' does not exist yet. This is a restriction of smbclient.
4993 (tramp-smb-maybe-open-connection): Rerun the function only when
4994 `auth-sources' is non-nil.
4995
4996 2013-09-08 Kenichi Handa <handa@gnu.org>
4997
4998 * international/characters.el: Set category "^" (Combining) for
4999 more characters.
5000
5001 2013-09-07 Alan Mackenzie <acm@muc.de>
5002
5003 Correctly fontify Java class constructors.
5004 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5005 in Java Mode.
5006 (c-recognize-typeless-decls): Set the Java value to t.
5007 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5008 While handling a "(", add a check for, effectively, Java, and handle a
5009 "typeless" declaration there.
5010
5011 2013-09-07 Roland Winkler <winkler@gnu.org>
5012
5013 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5014 field subtitle for entry type book.
5015
5016 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5017
5018 * minibuffer.el: Make minibuffer-complete call completion-in-region
5019 rather than other way around.
5020 (completion--some, completion-pcm--find-all-completions):
5021 Don't delay signals when debugging.
5022 (minibuffer-completion-contents): Beware fields within the
5023 minibuffer contents.
5024 (completion-all-sorted-completions): Use defvar-local.
5025 (completion--do-completion, completion--cache-all-sorted-completions)
5026 (completion-all-sorted-completions, minibuffer-force-complete):
5027 Add args `beg' and `end'.
5028 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5029 (minibuffer-complete): Use completion-in-region.
5030 (completion-complete-and-exit): New fun, extracted from
5031 minibuffer-complete-and-exit.
5032 (minibuffer-complete-and-exit): Use it.
5033 (completion--complete-and-exit): Rename from
5034 minibuffer--complete-and-exit.
5035 (completion-in-region--single-word): New function, extracted from
5036 minibuffer-complete-word.
5037 (minibuffer-complete-word): Use it.
5038 (display-completion-list): Make `common-substring' argument obsolete.
5039 (completion--in-region): Call completion--in-region-1 instead of
5040 minibuffer-complete.
5041 (completion-help-at-point): Pass boundaries to
5042 minibuffer-completion-help as args rather than via an overlay.
5043 (completion-pcm--string->pattern): Use `any-delim'.
5044 (completion-pcm--optimize-pattern): New function.
5045 (completion-pcm--pattern->regex): Handle `any-delim'.
5046 * icomplete.el (icomplete-forward-completions)
5047 (icomplete-backward-completions, icomplete-completions):
5048 Adjust calls to completion-all-sorted-completions and
5049 completion--cache-all-sorted-completions.
5050 (icomplete-with-completion-tables): Default to t.
5051 * emacs-lisp/crm.el (crm--current-element): Rename from
5052 crm--select-current-element. Don't put an overlay but return the
5053 boundaries instead.
5054 (crm--completion-command): Take two new args to bind to the boundaries.
5055 (crm-completion-help): Adjust accordingly.
5056 (crm-complete): Use completion-in-region.
5057 (crm-complete-word): Use completion-in-region--single-word.
5058 (crm-complete-and-exit): Use completion-complete-and-exit.
5059
5060 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5061
5062 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5063 than dynamically.
5064
5065 2013-09-06 Juri Linkov <juri@jurta.org>
5066
5067 * info.el (Info-display-images-node): When image file doesn't exist
5068 display text version of the image if it's provided in the Info file.
5069 Otherwise, display the location of missing image from SRC attribute.
5070 Add help-echo text property from ALT attribute. (Bug#15279)
5071
5072 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5073
5074 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5075 (edit-abbrevs-mode): Use define-derived-mode.
5076
5077 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5078 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5079 that it's defined.
5080 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5081 Use define-derived-mode.
5082
5083 * epg.el (epg-start-encrypt): Minor CSE simplification.
5084
5085 2013-09-06 William Xu <william.xwl@gmail.com>
5086
5087 * arc-mode.el: Add support for 7za (bug#15264).
5088 (archive-7z-program): New var.
5089 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5090 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5091 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5092
5093 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5094
5095 Remove URL syntax.
5096
5097 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5098 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5099 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5100 (tramp-postfix-host-format, tramp-file-name-regexp)
5101 (tramp-completion-file-name-regexp)
5102 (tramp-completion-dissect-file-name)
5103 (tramp-handle-substitute-in-file-name): Remove 'url case.
5104 (tramp-file-name-regexp-url)
5105 (tramp-completion-file-name-regexp-url): Remove constants.
5106
5107 2013-09-06 Glenn Morris <rgm@gnu.org>
5108
5109 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5110
5111 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5112
5113 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5114 keywords" below "here-doc beginnings" (Bug#15270).
5115
5116 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 * subr.el (pop): Use `car-safe'.
5119 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5120 to detect unused `pop' return value.
5121
5122 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5123 var `block-regexp'.
5124 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5125 (python-fill-string): Remove unused var `marker'.
5126 (python-skeleton-add-menu-items): Remove unused var `items'.
5127
5128 * international/mule-cmds.el: Require CL.
5129 (find-coding-systems-for-charsets): Avoid add-to-list.
5130 (sanitize-coding-system-list): New function, extracted from
5131 select-safe-coding-system-interactively.
5132 (select-safe-coding-system-interactively): Use it.
5133 (read-input-method-name): Accept symbols for `default'.
5134
5135 * emacs-lisp/advice.el (defadvice): Add indent rule.
5136
5137 2013-09-05 Daniel Hackney <dan@haxney.org>
5138
5139 * dired-x.el:
5140 * net/ange-ftp.el:
5141 * net/browse-url.el:
5142 * net/dbus.el:
5143 * net/eudc.el:
5144 * net/eudcb-ldap.el:
5145 * net/eww.el:
5146 * net/imap.el:
5147 * printing.el:
5148 * vc/ediff-diff.el:
5149 * vc/ediff-init.el:
5150 * vc/ediff-merg.el:
5151 * vc/ediff-mult.el:
5152 * vc/ediff-util.el:
5153 * vc/ediff-wind.el:
5154 * vc/ediff.el:
5155 * vc/emerge.el:
5156 * vc/pcvs.el:
5157 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5158 byte compiler. Remove some unused let-bound variables.
5159
5160 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5163 a "ref-cell", since it gets better optimized (bug#14883).
5164
5165 2013-09-05 Glenn Morris <rgm@gnu.org>
5166
5167 * progmodes/cc-awk.el (c-forward-sws): Declare.
5168
5169 2013-09-04 Glenn Morris <rgm@gnu.org>
5170
5171 * generic-x.el [rul-generic-mode]: Require cc-mode.
5172 (c++-mode-syntax-table): Declare.
5173 (rul-generic-mode-syntax-table): Init in the defvar.
5174
5175 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5176
5177 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5178 (vc-do-command, vc-set-async-update):
5179 * vc/vc-mtn.el (vc-mtn-dir-status):
5180 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5181 (vc-hg-pull, vc-hg-merge-branch):
5182 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5183 (vc-git-merge-branch):
5184 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5185 (vc-cvs-dir-status-files):
5186 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5187 (vc-bzr-dir-status-files):
5188 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5189 * vc/vc-annotate.el: Use lexical-binding.
5190 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5191 (vc-sentinel-movepoint): Declare.
5192 (vc-annotate): Don't use `goto-line'.
5193 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5194 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5195 (vc-sentinel-movepoint): Declare.
5196 * vc/vc-svn.el: Use lexical-binding.
5197 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5198 * vc/vc-sccs.el:
5199 * vc/vc-rcs.el: Use lexical-binding.
5200
5201 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5202 `deleted'. Don't drop errors silently.
5203
5204 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5205
5206 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5207
5208 * vc/vc.el (vc-ignore): Rewrite.
5209 (vc-default-ignore): New function.
5210 (vc-default-ignore-completion-table): Use find-ignore-file.
5211
5212 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5213 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5214 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5215 Remove. Most code moved to vc.el.
5216
5217 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5218
5219 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5220 * net/tramp-smb.el (tramp-smb-get-file-entries):
5221 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5222 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5223
5224 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5225 Update call to it.
5226 (eww-change-select): Remove unused var `properties'.
5227 (eww-make-unique-file-name): Remove unused var `base'.
5228
5229 * finder.el (finder-compile-keywords): Don't mess with windows.
5230
5231 * calculator.el (calculator-funcall): Fix typo in last change.
5232
5233 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5234
5235 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5236 <pkg>-autoloads.el file stop us.
5237
5238 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5239 warnings, and factor out common code.
5240
5241 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5242
5243 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5244 two-character operators and whether the character preceding them
5245 changes their meaning (Bug#15208).
5246
5247 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5248
5249 Format code sent to Python shell for robustness.
5250 * progmodes/python.el (python-shell-buffer-substring):
5251 New function.
5252 (python-shell-send-region, python-shell-send-buffer): Use it.
5253
5254 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5255
5256 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5257 * net/tramp.el (tramp-user-error): ... here.
5258 (tramp-find-method, tramp-check-proper-host)
5259 (tramp-dissect-file-name, tramp-debug-message)
5260 (tramp-handle-shell-command):
5261 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5262 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5263
5264 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5265
5266 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5267
5268 * avoid.el (mouse-avoidance-point-position)
5269 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5270 returns nil.
5271
5272 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5273
5274 * progmodes/python.el (python-shell-completion-get-completions):
5275 Drop use of deleted `comint-last-prompt-overlay'.
5276 (python-nav-if-name-main): New command.
5277
5278 2013-09-01 Glenn Morris <rgm@gnu.org>
5279
5280 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5281 Avoid leading space in $wins. Otherwise the sed command used by
5282 eg compile-main ends up containing "/*.el". (Bug#15170)
5283
5284 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5285
5286 2013-08-30 Glenn Morris <rgm@gnu.org>
5287
5288 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5289 Fix is-this-a-directory logic. (Bug#15220)
5290
5291 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * textmodes/css-mode.el: Use SMIE.
5294 (css-smie-grammar): New var.
5295 (css-smie--forward-token, css-smie--backward-token)
5296 (css-smie-rules): New functions.
5297 (css-mode): Use them.
5298 (css-navigation-syntax-table): Remove var.
5299 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5300 (css-indent-calculate, css-indent-line): Remove functions.
5301
5302 Misc changes to reduce use of `(lambda...); and other cleanups.
5303 * cus-edit.el: Use lexical-binding.
5304 (customize-push-and-save, customize-apropos)
5305 (custom-buffer-create-internal): Use closures.
5306 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5307 * progmodes/ada-xref.el: Use setq.
5308 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5309 * dframe.el: Use lexical-binding.
5310 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5311 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5312 * descr-text.el: Use lexical-binding.
5313 (describe-text-widget, describe-text-sexp, describe-property-list):
5314 Use closures.
5315 * comint.el (comint-history-isearch-push-state): Use a closure.
5316 * calculator.el: Use lexical-binding.
5317 (calculator-number-to-string): Make it work with lexical-binding.
5318 (calculator-funcall): Same and use cl-letf.
5319
5320 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5321 (lisp--company-doc-string, lisp--company-location): New functions.
5322 (lisp-completion-at-point): Use them to improve Company support.
5323
5324 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5325 params of lambda expressions.
5326 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5327 (ruby-smie--opening-pipe-p): New function.
5328 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5329 symbols and matched |...| for formal params.
5330 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5331 from being treated as hanging. Handle "rescue".
5332
5333 2013-08-29 Glenn Morris <rgm@gnu.org>
5334
5335 * progmodes/cc-engine.el (c-pull-open-brace):
5336 Move definition before use.
5337
5338 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5339
5340 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5341 are immutable. Don't use `unsafe' any more.
5342 (cl--defsubst-expand): Don't substitute at the same time as keeping
5343 a residual unused let-binding. Don't use `unsafe' any more.
5344
5345 2013-08-29 Glenn Morris <rgm@gnu.org>
5346
5347 * calendar/cal-china.el (calendar-chinese-year-cache):
5348 Recenter on 2015.
5349
5350 * nxml/nxml-util.el (nxml-debug-clear-inside):
5351 Use cl-loop rather than loop.
5352
5353 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5354
5355 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5356
5357 2013-08-28 Glenn Morris <rgm@gnu.org>
5358
5359 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5360
5361 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5362
5363 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5364
5365 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5366
5367 * simple.el (repeat-complex-command--called-interactively-skip):
5368 New function.
5369 (repeat-complex-command): Use it (bug#14136).
5370
5371 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5372 (c-define-abbrev-table): Add `doc' argument.
5373 (c-mode-abbrev-table, c++-mode-abbrev-table)
5374 (objc-mode-abbrev-table, java-mode-abbrev-table)
5375 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5376 (awk-mode-abbrev-table): Use it.
5377 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5378 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5379 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5380 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5381 Move initialization into the declaration; and remove any
5382 autoload cookie.
5383
5384 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5385 and dynamic let binding.
5386
5387 * vc/smerge-mode.el: Remove redundant :group args.
5388
5389 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5390 to load-path.
5391
5392 2013-08-28 Juri Linkov <juri@jurta.org>
5393
5394 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5395 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5396 (isearch-other-meta-char): Handle an undefined shifted printing
5397 character by downshifting it. (Bug#15200)
5398
5399 2013-08-28 Juri Linkov <juri@jurta.org>
5400
5401 * isearch.el (isearch-search): Change regexp error message for
5402 non-regexp searches. (Bug#15166)
5403
5404 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5405
5406 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5407 for portability to hosts where /bin/sh has problems.
5408
5409 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5410
5411 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5412
5413 2013-08-27 Juri Linkov <juri@jurta.org>
5414
5415 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5416 in the keyboard macro. (Bug#15126)
5417
5418 2013-08-27 Juri Linkov <juri@jurta.org>
5419
5420 * isearch.el (isearch-quote-char): Comment out converting unibyte
5421 to multibyte, thus syncing with its `quoted-insert' counterpart.
5422 (Bug#15166)
5423
5424 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5425
5426 * window.el (display-buffer-use-some-window): Add missing
5427 argument in call of get-largest-window (Bug#15185).
5428 Reported by Stephen Leake.
5429
5430 2013-08-27 Glenn Morris <rgm@gnu.org>
5431
5432 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5433
5434 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5435
5436 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5437 from a matcher-function unless there's no more matches (bug#15161).
5438
5439 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5440
5441 * minibuffer.el: Revert change from 2013-08-20.
5442
5443 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5444 with text property `tramp-default', if appropriate.
5445 (tramp-check-proper-host): New defun.
5446 (tramp-dissect-file-name): Do not check hostname. Revert change
5447 of 2013-03-18.
5448 (tramp-backtrace): Make VEC-OR-PROC optional.
5449
5450 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5451 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5452 * net/tramp-sh.el (tramp-maybe-open-connection):
5453 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5454 Apply `tramp-check-proper-host'.
5455
5456 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5457
5458 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5459 lambda expression in order to have `describe-variable' display it.
5460
5461 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5462
5463 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5464 BUF can be optional. (Bug#15186)
5465
5466 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5467
5468 * progmodes/flymake.el (flymake-get-real-file-name-function):
5469 Fix broken customization. (Bug#15184)
5470
5471 2013-08-25 Alan Mackenzie <acm@muc.de>
5472
5473 Improve indentation of bracelists defined by macros (without "=").
5474
5475 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5476 expansion begins with "{", regard it as bracelist when it doesn't
5477 contain a ";".
5478
5479 Parse C++ inher-intro when there's a template split over 2 lines.
5480
5481 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5482 rigorously the search for "class" etc. followed by ":".
5483
5484 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5485 random languages a regexp which never matches rather than nil.
5486
5487 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5488
5489 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5490 (c-awk-regexp-one-line-possibly-open-char-list-re)
5491 (c-awk-one-line-possibly-open-regexp-re)
5492 (c-awk-one-line-non-syn-ws*-re): Remove.
5493 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5494 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5495 (c-awk-space*-unclosed-regexp-/-re): New constants.
5496 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5497 aren't regexp delimiters.
5498
5499 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5500 handling for a rare situation in AWK Mode involving unterminated
5501 strings/regexps.
5502
5503 2013-08-23 Glenn Morris <rgm@gnu.org>
5504
5505 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5506
5507 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5508
5509 * files.el (create-file-buffer): If the result would begin with
5510 spaces, prepend a "|" instead of removing them. (Bug#15162)
5511
5512 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5513
5514 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5515 text-properties (bug#15155).
5516
5517 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5518 exist any more.
5519 (calc-keypad-redraw): Remove unused var `pad'.
5520 (calc-keypad-press): Remove unused var `menu'.
5521
5522 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5523
5524 * window.el (display-buffer-pop-up-frame):
5525 Call pop-up-frame-function with BUFFER current so `make-frame' will
5526 use it as the new frame's buffer (Bug#15133).
5527
5528 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * calendar/timeclock.el: Minor cleanups.
5531 (timeclock-ask-before-exiting, timeclock-use-display-time):
5532 Use `symbol'.
5533 (timeclock-modeline-display): Define as alias before the
5534 actual definition.
5535 (timeclock-mode-line-display): Use define-minor-mode.
5536 (timeclock-day-list-template): Make it a function, add an argument.
5537 (timeclock-day-list-required, timeclock-day-list-length)
5538 (timeclock-day-list-debt, timeclock-day-list-span)
5539 (timeclock-day-list-break): Adjust calls accordingly.
5540
5541 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5542
5543 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5544 Use read--expression so that completion works again.
5545
5546 2013-08-21 Sam Steingold <sds@gnu.org>
5547
5548 Add rudimentary inferior shell interaction
5549 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5550 (sh-set-shell): Reset it.
5551 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5552 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5553
5554 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 * align.el: Use lexical-binding.
5557 (align-region): Simplify accordingly.
5558
5559 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5560
5561 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5562
5563 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5564 `non-essential' up.
5565
5566 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5567
5568 * net/tramp.el:
5569 * net/tramp-adb.el:
5570 * net/tramp-cmds.el:
5571 * net/tramp-ftp.el:
5572 * net/tramp-gvfs.el:
5573 * net/tramp-gw.el:
5574 * net/tramp-sh.el: Don't wrap external variable declarations by
5575 `eval-when-compile'.
5576
5577 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5578
5579 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5580 now that Emacs supports ImageMagick animations.
5581
5582 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5583
5584 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5585 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5586
5587 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5588
5589 * window.el (mouse-autoselect-window-select): Do autoselect when
5590 mouse pointer is on margin.
5591
5592 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5593
5594 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5595
5596 2013-08-16 Glenn Morris <rgm@gnu.org>
5597
5598 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5599 Handle "Remote Directory" response of some clients. (Bug#15058)
5600
5601 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5602 Tweak warning. (Bug#14926)
5603
5604 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5605 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5606
5607 * image-mode.el (image-mode-map): Add menu items to reverse,
5608 increase, decrease, reset animation speed.
5609 (image--set-speed, image-increase-speed, image-decrease-speed)
5610 (image-reverse-speed, image-reset-speed): New functions.
5611 (image-mode-map): Add bindings for speed commands.
5612
5613 * image.el (image-animate-get-speed, image-animate-set-speed):
5614 New functions.
5615 (image-animate-timeout): Respect image :speed property.
5616
5617 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5618
5619 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5620 previous line (bug#15101).
5621 (debugger-eval-expression, debugger-record-expression):
5622 Use read--expression (bug#15102).
5623
5624 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5625
5626 Remove byte compiler warnings, visible when compiling with
5627 `byte-compile-force-lexical-warnings' set to t.
5628
5629 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5630 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5631 (tramp-handle-unhandled-file-name-directory)
5632 (tramp-handle-file-notify-add-watch, tramp-action-login)
5633 (tramp-action-succeed, tramp-action-permission-denied)
5634 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5635 arguments with "_".
5636
5637 * net/tramp-adb.el (tramp-adb-parse-device-names)
5638 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5639 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5640 (tramp-adb-handle-file-truename): Remove unused arguments.
5641
5642 * net/tramp-cache.el (tramp-flush-directory-property)
5643 (tramp-flush-connection-property, tramp-list-connections)
5644 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5645
5646 * net/tramp-compat.el (tramp-compat-make-temp-file):
5647 Rename FILENAME to F.
5648
5649 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5650 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5651 (tramp-zeroconf-parse-workstation-device-names)
5652 (tramp-zeroconf-parse-webdav-device-names)
5653 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5654
5655 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5656 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5657
5658 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5659 arguments.
5660 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5661 (tramp-sh-handle-insert-file-contents-literally)
5662 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5663 with "_".
5664 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5665 Remove unused variables.
5666
5667 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5668 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5669 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5670
5671 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5672 Make them a defconst.
5673 (tramp-uuencode-region): Remove unused variable.
5674
5675 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5676
5677 * frameset.el (frameset--prop-setter): New function.
5678 (frameset-prop): Add gv-setter declaration.
5679 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5680 parameter was already set in FILTERED. Doc fix.
5681 (frameset--record-minibuffer-relationships): Allow saving a
5682 minibufferless frame without its corresponding minibuffer frame.
5683 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5684 frame, if the frame id matches.
5685 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5686 frames before orphaned ones.
5687 (frameset-restore): Warn about orphaned windows, instead of error out.
5688
5689 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5690
5691 * window.el (window-make-atom): Don't overwrite parameter
5692 already present.
5693 (display-buffer-in-atom-window): Handle special case where we
5694 split an already atomic window.
5695 (window--major-non-side-window, display-buffer-in-side-window)
5696 (window--side-check): Ignore minibuffer window when walking
5697 window tree.
5698 (window-deletable-p): Return 'frame only if no other frame uses
5699 our minibuffer window.
5700 (record-window-buffer): Run buffer-list-update-hook.
5701 (split-window): Make sure window--check-frame won't destroy an
5702 existing atomic window in case the new window gets nested
5703 inside.
5704 (display-buffer-at-bottom): Ignore minibuffer window when
5705 walking window tree. Don't split a side window.
5706 (pop-to-buffer): Don't set-buffer here, the select-window call
5707 should do that.
5708 (mouse-autoselect-window-select): Autoselect only if we are in the
5709 text portion of the window.
5710
5711 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5712
5713 * net/shr.el (shr-parse-image-data): New function to grab both the
5714 data itself and the Content-Type.
5715 (shr-put-image): Use it.
5716
5717 * net/eww.el (eww-display-image): Ditto.
5718
5719 * image.el (image-content-type-suffixes): New variable.
5720
5721 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5722
5723 * progmodes/python.el (python-imenu--build-tree)
5724 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5725
5726 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5727
5728 * simple.el (backward-word): Mention the optional argument.
5729
5730 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5731
5732 * frameset.el (frameset--make): Rename constructor from make-frameset.
5733 (frameset-p, frameset-valid-p): Don't autoload.
5734 (frameset-valid-p): Use normal accessors.
5735
5736 2013-08-13 Glenn Morris <rgm@gnu.org>
5737
5738 * progmodes/compile.el (compile-command): Tweak example in doc.
5739 * obsolete/scribe.el (scribe-mode):
5740 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5741
5742 * mail/feedmail.el (feedmail-confirm-outgoing)
5743 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5744
5745 * cus-start.el (truncate-partial-width-windows): Fix type.
5746
5747 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5748
5749 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5750
5751 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5752
5753 * emacs-lisp/timer.el (timer--time-setter): New function.
5754 (timer--time): Use it as gv-setter.
5755
5756 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5757 setter is not a symbol.
5758
5759 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5760
5761 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5762 if sending fails. This makes debugging easier.
5763
5764 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5765
5766 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5767 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5768 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5769
5770 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5771
5772 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5773
5774 2013-08-12 Glenn Morris <rgm@gnu.org>
5775
5776 * format.el (format-annotate-function):
5777 Handle read-only text properties in the source. (Bug#14887)
5778
5779 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5780
5781 * net/eww.el (eww-display-html): Ignore coding system errors.
5782 One web site uses "utf-8lias" as the coding system.
5783
5784 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5785
5786 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5787
5788 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5789
5790 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5791 (tutorial--detailed-help): Remove unused local variables.
5792 (tutorial--save-tutorial-to): Use ignore-errors.
5793 (help-with-tutorial): Use looking-at-p.
5794
5795 * view.el (view-buffer-other-window, view-buffer-other-frame):
5796 Mark unused arguments.
5797
5798 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5799 (woman-select-symbol-fonts, woman, woman-find-file)
5800 (woman-insert-file-contents, woman-non-underline-faces):
5801 Use string-match-p.
5802 (woman1-unquote): Move declaration.
5803
5804 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5805 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5806 argument. Remove unused local variable.
5807 (xml-parse-elem-type): Use string-match-p.
5808 (xml-substitute-numeric-entities): Use ignore-errors.
5809
5810 * calculator.el (calculator): Mark unused argument.
5811 (calculator-paste, calculator-quit, calculator-integer-p):
5812 Use ignore-errors.
5813 (calculator-string-to-number, calculator-decimal, calculator-exp)
5814 (calculator-op-or-exp): Use string-match-p.
5815
5816 * dired.el (dired-buffer-more-recently-used-p): Declare.
5817 (dired-insert-set-properties, dired-insert-old-subdirs):
5818 Use ignore-errors.
5819
5820 * dired-aux.el (dired-compress): Use ignore-errors.
5821 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5822 (dired-do-async-shell-command, dired-do-shell-command)
5823 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5824 (dired-insert-subdir-validate): Use string-match-p.
5825 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5826 (dired-add-entry): Use string-match-p, looking-at-p.
5827 (dired-insert-subdir-newpos): Remove unused local variable.
5828
5829 * filenotify.el (file-notify-callback): Remove unused local variable.
5830
5831 * filesets.el (filesets-error): Mark unused argument.
5832 (filesets-which-command-p, filesets-filter-dir-names)
5833 (filesets-directory-files, filesets-get-external-viewer)
5834 (filesets-ingroup-get-data): Use string-match-p.
5835
5836 * find-file.el (ff-other-file-name, ff-other-file-name)
5837 (ff-find-the-other-file, ff-cc-hh-converter):
5838 Remove unused local variables.
5839 (ff-get-file-name): Use string-match-p.
5840 (ff-all-dirs-under): Use ignore-errors.
5841
5842 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5843 (follow-select-if-visible): Remove unused local variable.
5844
5845 * forms.el (read-file-filter): Move declaration.
5846 (forms--make-format, forms--make-parser, forms-insert-record):
5847 Quote function with #'.
5848 (forms--update): Use string-match-p. Quote function with #'.
5849
5850 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5851 (help-make-xrefs): Use looking-at-p.
5852 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5853
5854 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5855 (ibuffer-confirm-operation-on): Use string-match-p.
5856
5857 * msb.el (msb-item-handler, msb-dired-item-handler):
5858 Mark unused arguments.
5859
5860 * ses.el (ses-decode-cell-symbol)
5861 (ses-kill-override): Remove unused local variable.
5862 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5863 (ses-load): Use ignore-errors, looking-at-p.
5864 (ses-jump-safe): Use ignore-errors.
5865 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5866
5867 * tabify.el (untabify, tabify): Mark unused arguments.
5868
5869 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5870 Mark unused argument.
5871 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5872 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5873
5874 * emacs-lisp/timer.el (timer--time): Define setter with
5875 gv-define-setter to avoid deprecation warning.
5876
5877 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5878 (*record-cmpl-statistics-p*): Remove (was commented out).
5879 (cmpl-statistics-block): Remove (body was commented out).
5880 All callers changed.
5881 (add-completions-from-buffer, load-completions-from-file):
5882 Remove unused variables.
5883
5884 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5885
5886 * filecache.el (file-cache-delete-file-list):
5887 Print message only when told so.
5888 (file-cache-files-matching): Use #' in mapconcat argument.
5889
5890 * ffap.el (ffap-url-at-point): Fix reference to variable
5891 thing-at-point-default-mail-uri-scheme.
5892
5893 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5894
5895 * subr.el (define-error): New function.
5896 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5897 error-file-not-found and define with define-error.
5898 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5899 and define with define-error.
5900 * userlock.el (file-locked, file-supersession):
5901 * simple.el (mark-inactive):
5902 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5903 * progmodes/ada-mode.el (ada-mode-errors):
5904 * play/life.el (life-extinct):
5905 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5906 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5907 * nxml/rng-util.el (rng-error):
5908 * nxml/rng-uri.el (rng-uri-error):
5909 * nxml/rng-match.el (rng-compile-error):
5910 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5911 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5912 * nxml/nxml-rap.el (nxml-scan-error):
5913 * nxml/nxml-outln.el (nxml-outline-error):
5914 * net/soap-client.el (soap-error):
5915 * net/gnutls.el (gnutls-error):
5916 * net/ange-ftp.el (ftp-error):
5917 * mpc.el (mpc-proc-error):
5918 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5919 (json-number-format, json-string-escape, json-string-format)
5920 (json-key-format, json-object-format):
5921 * jka-compr.el (compression-error):
5922 * international/quail.el (quail-error):
5923 * international/kkc.el (kkc-error):
5924 * emacs-lisp/ert.el (ert-test-failed):
5925 * calc/calc.el (calc-error, inexact-result, math-overflow)
5926 (math-underflow):
5927 * bookmark.el (bookmark-error-no-filename):
5928 * epg.el (epg-error): Define with define-error.
5929
5930 * time.el (display-time-event-handler)
5931 (display-time-next-load-average): Don't call sit-for since it seems
5932 unnecessary (bug#15045).
5933
5934 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5935 Use #' instead of ' to quote functions.
5936 (checkdoc-output-mode): Use setq-local.
5937 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5938 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5939 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5940 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5941 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5942 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5943 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5944 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5945
5946 * ido.el (ido-completion-help): Fix up compiler warning.
5947
5948 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5949
5950 * frameset.el (frameset-p): Add autoload cookie.
5951 (frameset--jump-to-register): New function, based on code moved from
5952 register.el.
5953 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5954
5955 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5956 (frameset-restore, frameset-save, frameset-session-filter-alist):
5957 Remove declarations.
5958 (register-alist): Doc fix.
5959 (frameset-to-register): Move to frameset.el.
5960 (jump-to-register, describe-register-1): Remove frameset-specific code.
5961
5962 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5963
5964 * allout-widgets.el (allout-widgets-pre-command-business)
5965 (allout-widgets-post-command-business)
5966 (allout-widgets-after-change-handler)
5967 (allout-decorate-item-and-context, allout-set-boundary-marker)
5968 (allout-body-modification-handler)
5969 (allout-graphics-modification-handler): Mark ignored arguments.
5970 (allout-widgets-post-command-business)
5971 (allout-widgets-exposure-change-processor)
5972 (allout-widgets-exposure-undo-processor)
5973 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5974 (allout-parse-item-at-point, allout-decorate-item-guides)
5975 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5976 * allout.el (epa-passphrase-callback-function): Declare.
5977 (allout-overlay-insert-in-front-handler)
5978 (allout-overlay-interior-modification-handler)
5979 (allout-isearch-end-handler, allout-chart-siblings)
5980 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5981 (allout-yank-processing, allout-process-exposed)
5982 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5983 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5984 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5985 (lisp-indent-defform): Mark ignored arguments.
5986 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5987 (calculate-lisp-indent): Remove unused variables.
5988 * international/characters.el (indian-2-column, arabic-2-column)
5989 (tibetan): Mark ignored arguments.
5990 (use-cjk-char-width-table): Mark ignored arguments.
5991 Remove unused variables.
5992 * international/fontset.el (build-default-fontset-data)
5993 (x-compose-font-name, create-fontset-from-fontset-spec):
5994 Mark ignored arguments.
5995 (fontset-plain-name): Remove unused variables.
5996 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5997 (keyboard-coding-system): Mark ignored arguments.
5998 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5999 * help.el (resize-temp-buffer-window):
6000 * window.el (display-buffer-in-major-side-window)
6001 (display-buffer-in-side-window, display-buffer-in-previous-window):
6002 Remove unused variables.
6003 * isearch.el (isearch-forward-symbol):
6004 * version.el (emacs-bzr-version-bzr):
6005 * international/mule-cmds.el (current-language-environment):
6006 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6007 (x-handle-display):
6008 * term/pc-win.el (x-list-fonts, x-display-planes)
6009 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6010 (x-server-version, x-display-screens, x-display-mm-height)
6011 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6012 (x-selection-owner-p, x-own-selection-internal)
6013 (x-disown-selection-internal, x-get-selection-internal)
6014 (msdos-initialize-window-system):
6015 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6016 * term/x-win.el (x-handle-no-bitmap-icon):
6017 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6018 (vc-default-find-file-hook, vc-default-extra-menu):
6019 Mark ignored arguments.
6020
6021 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6022
6023 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6024 break-condition in the context of the debugged code (bug#12685).
6025
6026 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6027
6028 * comint.el:
6029 Do not use an overlay to highlight the last prompt. (Bug#14744)
6030 (comint-mode): Make comint-last-prompt buffer local.
6031 (comint-last-prompt): New variable.
6032 (comint-last-prompt-overlay): Remove. Superseded by
6033 comint-last-prompt.
6034 (comint-snapshot-last-prompt, comint-output-filter):
6035 Use comint-last-prompt.
6036
6037 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6038
6039 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6040 (frameset-save): Check validity of the resulting frameset.
6041
6042 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6043
6044 * ido.el (ido-record-command): Add doc string.
6045
6046 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6047
6048 * frameset.el (frameset): Do not disable creation of the default
6049 frameset-p predicate. Doc fix.
6050 (frameset-valid-p): New function, copied from the old predicate-p.
6051 Add additional checks.
6052 (frameset-restore): Check with frameset-valid-p.
6053 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6054 (frameset-name, frameset-description, frameset-properties)
6055 (frameset-states): Add docstring.
6056 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6057 (frameset-filter-alist): Doc fixes.
6058
6059 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6060
6061 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6062
6063 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6064
6065 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6066 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6067 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6068 (byte-compile-normal-call): Remove obsolescence check.
6069
6070 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6071
6072 * frameset.el (frameset-restore): Doc fix.
6073
6074 * register.el (frameset-frame-id, frameset-frame-with-id)
6075 (frameset-p, frameset-restore, frameset-save): Declare.
6076 (register-alist): Document framesets.
6077 (frameset-session-filter-alist): Declare.
6078 (frameset-to-register): New function.
6079 (jump-to-register): Implement jumping to framesets. Doc fix.
6080 (describe-register-1): Describe framesets.
6081
6082 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6083
6084 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6085
6086 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6087 Use lexical-binding.
6088
6089 * frameset.el (frameset): Use type vector, not list (incompatible
6090 change). Do not declare a new constructor, use the default one.
6091 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6092 `name' and `description', respectively, and add read-only slot
6093 `timestamp'. Doc fixes.
6094 (frameset-copy, frameset-persistent-filter-alist)
6095 (frameset-filter-alist, frameset-switch-to-gui-p)
6096 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6097 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6098 (frameset-filter-iconified, frameset-keep-original-display-p):
6099 Doc fixes.
6100 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6101 Rename from frameset-filter-(save|restore)-param. All callers changed.
6102 Doc fix.
6103 (frameset-p): Adapt to change to vector and be more thorough.
6104 Change arg name to OBJECT. Doc fix.
6105 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6106 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6107 All callers changed.
6108 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6109 All callers changed.
6110 (frameset--record-minibuffer-relationships): Rename from
6111 frameset--process-minibuffer-frames. All callers changed.
6112 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6113 Use new default constructor (again). Doc fix.
6114 (frameset--find-frame-if): Rename from `frameset--find-frame.
6115 All callers changed.
6116 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6117 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6118 Doc fix.
6119 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6120 PARAMETERS and WINDOW-STATE, respectively.
6121 (frameset-restore): Add new keyword argument PREDICATE.
6122 Reset frameset--target-display to nil. Doc fix.
6123
6124 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6127 (bat-mode): Use it.
6128 (bat-mode-syntax-table): Mark \n as end-of-comment.
6129 (bat-font-lock-keywords): Remove comment rule.
6130
6131 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6132 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6133
6134 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6135 (byte-compile-callargs-warn): Use `push'.
6136 (byte-compile-arglist-warn): Ignore higher-order "calls".
6137 (byte-compile-file-form-autoload): Use `pcase'.
6138 (byte-compile-function-form): If quoting a symbol, check that it exists.
6139
6140 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6141
6142 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6143 and add a few popular commands found in batch files.
6144 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6145 (dos-mode): Doc fixes.
6146
6147 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6148
6149 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6150 (dos-mode): Use setq-local. Add space after "rem".
6151 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6152 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6153
6154 2013-08-07 Arni Magnusson <arnima@hafro.is>
6155
6156 * progmodes/dos.el: New file.
6157 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6158 dos-mode.
6159
6160 2013-08-06 Glenn Morris <rgm@gnu.org>
6161
6162 * calendar/calendar.el: Add new faces, and day-header-array.
6163 (calendar-weekday-header, calendar-weekend-header)
6164 (calendar-month-header): New faces.
6165 (calendar-day-header-construct): New function.
6166 (calendar-day-header-width): Also :set calendar-day-header-array.
6167 (calendar-american-month-header, calendar-european-month-header)
6168 (calendar-iso-month-header): Use calendar- faces.
6169 (calendar-generate-month):
6170 Use calendar-day-header-array for day headers; apply faces to them.
6171 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6172 (calendar-abbrev-construct): Add optional maxlen argument.
6173 (calendar-day-name-array): Doc fix.
6174 (calendar-day-name-array, calendar-abbrev-length)
6175 (calendar-day-abbrev-array):
6176 Also :set calendar-day-header-array, and maybe redraw.
6177 (calendar-day-header-array): New option. (Bug#15007)
6178 (calendar-font-lock-keywords): Set to nil and make obsolete.
6179 (calendar-day-name): Add option to use header array.
6180
6181 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6182
6183 * net/shr.el (shr-render-td): Remove debugging.
6184 (shr-render-td): Make width computation consistent by defaulting
6185 all zero-width columns to 10 characters. This may not be optimal,
6186 but it's at least consistent.
6187 (shr-make-table-1): Redo last change to fix the real problem in
6188 colspan handling.
6189
6190 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6191
6192 * files.el (cache-long-line-scans):
6193 Make obsolete alias to `cache-long-scans'.
6194
6195 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6196
6197 * frameset.el (frameset, frameset-filter-alist)
6198 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6199 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6200 (frameset-compute-pos): Rename from frameset--compute-pos,
6201 and add docstring.
6202 (frameset-move-onscreen): Use frameset-compute-pos.
6203 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6204
6205 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6206 Fix typos in docstrings.
6207
6208 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6209
6210 * frame.el (get-other-frame): Tiny cleanup.
6211
6212 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6213
6214 * vc/vc.el (vc-default-ignore-completion-table):
6215 Silence byte-compiler warning.
6216
6217 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6218 slot , which can indeed be nil.
6219 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6220 Move entry for `left' from persistent to live filter alist.
6221 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6222 Doc fixes.
6223 (frameset-filter-params): When restoring a frame, copy items added to
6224 `filtered', to avoid unwittingly modifying the original parameters.
6225 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6226 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6227
6228 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6229 to use looking-at-p instead of looking-at. (Bug#15028)
6230
6231 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6232
6233 Revert introduction of isearch-filter-predicates (bug#14714).
6234 Rely on add-function instead.
6235 * isearch.el (isearch-filter-predicates): Rename it back to
6236 isearch-filter-predicate.
6237 (isearch-message-prefix): Use advice-function-mapc and advice
6238 properties to get the isearch-message-prefix.
6239 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6240 instead of run-hook-with-args-until-failure.
6241 (isearch-filter-visible): Not obsolete any more.
6242 * loadup.el: Preload nadvice.
6243 * replace.el (perform-replace): Revert to funcall
6244 instead of run-hook-with-args-until-failure.
6245 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6246 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6247 dired-isearch-filenames-toggle; make it into a proper minor mode.
6248 Use add/remove-function.
6249 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6250 Call the minor-mode rather than add/remove-hook.
6251 (dired-isearch-filter-filenames):
6252 Remove isearch-message-prefix property.
6253 * info.el (Info--search-loop): New function, extracted from Info-search.
6254 Funcall isearch-filter-predicate instead of
6255 run-hook-with-args-until-failure isearch-filter-predicates.
6256 (Info-search): Use it.
6257 (Info-mode): Use isearch-filter-predicate instead of
6258 isearch-filter-predicates.
6259
6260 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6261
6262 Do not call to `selected-window' where it is assumed by default.
6263 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6264 `window-hscroll', `window-width', `window-height', `window-buffer',
6265 `window-frame', `window-start', `window-point', `next-window'
6266 and `window-display-table'.
6267 * abbrev.el (abbrev--default-expand):
6268 * bs.el (bs--show-with-configuration):
6269 * buff-menu.el (Buffer-menu-mouse-select):
6270 * calc/calc.el (calc):
6271 * calendar/calendar.el (calendar-generate-window):
6272 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6273 (diary-make-entry):
6274 * comint.el (send-invisible, comint-dynamic-complete-filename)
6275 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6276 * completion.el (complete):
6277 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6278 * disp-table.el (describe-current-display-table):
6279 * doc-view.el (doc-view-insert-image):
6280 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6281 * ehelp.el (with-electric-help):
6282 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6283 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6284 * emacs-lisp/helper.el (Helper-help-scroller):
6285 * emulation/cua-base.el (cua--post-command-handler-1):
6286 * eshell/esh-mode.el (eshell-output-filter):
6287 * ffap.el (ffap-gnus-wrapper):
6288 * help-macro.el (make-help-screen):
6289 * hilit-chg.el (highlight-compare-buffers):
6290 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6291 * hl-line.el (global-hl-line-highlight):
6292 * icomplete.el (icomplete-simple-completing-p):
6293 * isearch.el (isearch-done):
6294 * jit-lock.el (jit-lock-stealth-fontify):
6295 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6296 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6297 * mpc.el (mpc-tagbrowser, mpc):
6298 * net/rcirc.el (rcirc-any-buffer):
6299 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6300 * play/landmark.el (landmark-max-width, landmark-max-height):
6301 * play/zone.el (zone):
6302 * progmodes/compile.el (compilation-goto-locus):
6303 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6304 * progmodes/etags.el (find-tag-other-window):
6305 * progmodes/fortran.el (fortran-column-ruler):
6306 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6307 * progmodes/verilog-mode.el (verilog-point-text):
6308 * reposition.el (reposition-window):
6309 * rot13.el (toggle-rot13-mode):
6310 * server.el (server-switch-buffer):
6311 * shell.el (shell-dynamic-complete-command)
6312 (shell-dynamic-complete-environment-variable):
6313 * simple.el (insert-buffer, set-selective-display)
6314 (delete-completion-window):
6315 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6316 (speedbar-recenter):
6317 * startup.el (fancy-splash-head):
6318 * textmodes/ispell.el (ispell-command-loop):
6319 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6320 * tutorial.el (help-with-tutorial):
6321 * vc/add-log.el (add-change-log-entry):
6322 * vc/compare-w.el (compare-windows):
6323 * vc/ediff-help.el (ediff-indent-help-message):
6324 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6325 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6326 (ediff-setup-control-frame):
6327 * vc/emerge.el (emerge-position-region):
6328 * vc/pcvs-util.el (cvs-bury-buffer):
6329 * window.el (walk-windows, mouse-autoselect-window-select):
6330 * winner.el (winner-set-conf, winner-undo): Related users changed.
6331
6332 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6333
6334 * frameset.el (frameset--set-id): Doc fix.
6335 (frameset-frame-id, frameset-frame-id-equal-p)
6336 (frameset-locate-frame-id): New functions.
6337 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6338 (frameset-restore): Use them.
6339
6340 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6341
6342 Do not call to `selected-frame' where it is assumed by default.
6343 Affected functions are `raise-frame', `redraw-frame',
6344 `frame-first-window', `frame-terminal' and `delete-frame'.
6345 * calendar/appt.el (appt-disp-window):
6346 * epg.el (epg-wait-for-completion):
6347 * follow.el (follow-delete-other-windows-and-split)
6348 (follow-avoid-tail-recenter):
6349 * international/mule.el (set-terminal-coding-system):
6350 * mail/rmail.el (rmail-mail-return):
6351 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6352 * progmodes/f90.el (f90-add-imenu-menu):
6353 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6354 * server.el (server-switch-buffer):
6355 * simple.el (delete-completion-window):
6356 * talk.el (talk):
6357 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6358 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6359 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6360 * vc/ediff.el (ediff-documentation): Related users changed.
6361 * frame.el (selected-terminal): Remove the leftover.
6362
6363 2013-08-05 Glenn Morris <rgm@gnu.org>
6364
6365 * calendar/calendar.el (calendar-generate-month):
6366 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6367 (calendar-generate-month, calendar-font-lock-keywords):
6368 Fix for calendar-day-header-width > length of any day name.
6369
6370 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6371
6372 * desktop.el (desktop-clear): Use new name of sort predicate.
6373
6374 * frameset.el (frameset): Add docstring. Move :version property to its
6375 own `version' slot.
6376 (frameset-copy): Rename from copy-frameset.
6377 (frameset-p): Check more thoroughly.
6378 (frameset-prop): Do not check for :version, which is no longer a prop.
6379 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6380 Use new :never value instead of t.
6381 (frameset-filter-alist): Expand and clarify docstring.
6382 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6383 (frameset-filter-minibuffer, frameset-filter-save-param)
6384 (frameset-filter-restore-param, frameset-filter-iconified):
6385 Add pointer to docstring of frameset-filter-alist.
6386 (frameset-filter-params): Rename filter values to be more meaningful:
6387 :never instead of t, and reverse the meanings of :save and :restore.
6388 (frameset--process-minibuffer-frames): Clarify error message.
6389 (frameset-save): Avoid unnecessary and confusing call to framep.
6390 Use new BOA constructor for framesets.
6391 (frameset--reuse-list): Doc fix.
6392 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6393 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6394 (frameset-minibufferless-first-p): Doc fix.
6395 Rename from frameset-sort-frames-for-deletion.
6396 (frameset-restore): Doc fixes. Use new function names.
6397 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6398
6399 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6400
6401 * desktop.el (desktop-restore-forces-onscreen)
6402 (desktop-restore-reuses-frames): Document :keyword constant values.
6403 (desktop-filter-parameters-alist): Remove, now identical to
6404 frameset-filter-alist.
6405 (desktop--filter-tty*): Remove, moved to frameset.el.
6406 (desktop-save-frameset, desktop-restore-frameset):
6407 Do not pass :filters argument.
6408
6409 * frameset.el (frameset-live-filter-alist)
6410 (frameset-persistent-filter-alist): New variables.
6411 (frameset-filter-alist): Use them. Add autoload cookie.
6412 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6413 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6414 `frameset--id' (it's supposed to be internal to frameset.el).
6415 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6416 (frameset--initial-params): New function.
6417 (frameset--get-frame): Use it. Doc fix.
6418 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6419 Accept :all, not 'all.
6420 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6421 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6422 with fbound symbols. Fix frame id matching, and remove matching ids if
6423 the frame being restored is deleted. Obey :delete.
6424
6425 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6426
6427 * subr.el (macrop): New function.
6428 (text-clone--maintaining): New var.
6429 (text-clone--maintain): Rename from text-clone-maintain. Use it
6430 instead of inhibit-modification-hooks.
6431
6432 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6433 a proxy, so as handle autoloads and redefinitions of the target.
6434 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6435
6436 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6437 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6438 (pcase--mutually-exclusive-p): New function.
6439 (pcase--split-consp): Use it.
6440 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6441 mutually exclusive with the current predicate.
6442
6443 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6444 (edebug-macrop): Remove. Use `macrop' instead.
6445 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6446 (ad-macro-p):
6447 * eshell/esh-cmd.el (eshell-macrop):
6448 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6449
6450 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6451
6452 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6453 (advice-mapc): New function, using it.
6454 (advice-function-member-p): New function.
6455 (advice--normalize): Store the cdr in advice--saved-rewrite since
6456 that's the part that will be changed.
6457 (advice--symbol-function): New function.
6458 (advice-remove): Handle removal before the function is defined.
6459 Adjust to new advice--saved-rewrite.
6460 (advice-member-p): Use advice-function-member-p and
6461 advice--symbol-function.
6462
6463 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6464
6465 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6466 (frameset-filter-minibuffer): Doc fix.
6467 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6468 (frameset--set-id, frameset--process-minibuffer-frames)
6469 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6470 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6471
6472 * desktop.el (desktop-clear): Only delete frames when called
6473 interactively and desktop-restore-frames is non-nil. Doc fix.
6474 (desktop-read): Set desktop-saved-frameset to nil.
6475
6476 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6477
6478 * vc/vc.el (vc-ignore): Rewrite.
6479 (vc-default-ignore-completion-table):
6480 (vc--read-lines):
6481 (vc--add-line, vc--remove-regexp): New functions.
6482
6483 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6484 (vc-svn-ignore-completion-table): New function.
6485
6486 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6487 (vc-hg-ignore-completion-table):
6488 (vc-hg-find-ignore-file): New functions.
6489
6490 * vc/vc-git.el (vc-git-ignore): Rewrite.
6491 (vc-git-ignore-completion-table):
6492 (vc-git-find-ignore-file): New functions.
6493
6494 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6495
6496 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6497 (vc-bzr-ignore-completion-table):
6498 (vc-bzr-find-ignore-file): New functions.
6499
6500 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6501
6502 * frameset.el (frameset-prop): New function and setter.
6503 (frameset-save): Do not modify frame list passed by the caller.
6504
6505 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6506
6507 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6508
6509 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6510
6511 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6512 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6513
6514 * custom.el (custom-initialize-default, custom-initialize-set)
6515 (custom-initialize-reset, custom-initialize-changed): Affect the
6516 toplevel-default-value (bug#6275, bug#14586).
6517 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6518 for bug#6275.
6519
6520 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6521
6522 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6523 Add cl-def* expressions.
6524
6525 * frameset.el (frameset-filter-params): Fix order of arguments.
6526
6527 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6528
6529 Move code related to saving frames to frameset.el.
6530 * desktop.el: Require frameset.
6531 (desktop-restore-frames): Doc fix.
6532 (desktop-restore-reuses-frames): Rename from
6533 desktop-restoring-reuses-frames.
6534 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6535 (desktop-clear): Clear frames too.
6536 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6537 (desktop--filter-tty*, desktop-save, desktop-read):
6538 Use frameset functions.
6539 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6540 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6541 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6542 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6543 (desktop--process-minibuffer-frames, desktop-save-frames)
6544 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6545 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6546 (desktop--sort-states, desktop-restoring-frames-p)
6547 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6548 (desktop-restoring-frameset-p, desktop-restore-frameset)
6549 (desktop--check-dont-save, desktop-save-frameset): New functions.
6550 (desktop--app-id): New constant.
6551 (desktop-first-buffer, desktop-buffer-ok-count)
6552 (desktop-buffer-fail-count): Move before first use.
6553 * frameset.el: New file.
6554
6555 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6556
6557 * files.el: Use lexical-binding.
6558 (dir-locals-read-from-file): Remove unused `err' variable.
6559 (hack-dir-local-variables--warned-coding): New var.
6560 (hack-dir-local-variables): Use it to avoid repeated warnings.
6561 (make-backup-file-name--default-function): New function.
6562 (make-backup-file-name-function): Use it as default.
6563 (buffer-stale--default-function): New function.
6564 (buffer-stale-function): Use it as default.
6565 (revert-buffer-insert-file-contents--default-function): New function.
6566 (revert-buffer-insert-file-contents-function): Use it as default.
6567 (insert-directory): Avoid add-to-list.
6568
6569 * autorevert.el (auto-revert-handler): Simplify.
6570 Use buffer-stale--default-function.
6571
6572 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6573
6574 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6575
6576 * whitespace.el (whitespace-ensure-local-variables): New function.
6577 (whitespace-cleanup-region): Call it.
6578 (whitespace-turn-on): Call it.
6579
6580 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6581
6582 Complete file name handlers.
6583
6584 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6585 (tramp-handle-verify-visited-file-modtime)
6586 (tramp-handle-file-notify-rm-watch): New functions.
6587 (tramp-call-process): Do not bind `default-directory'.
6588
6589 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6590 Order alphabetically.
6591 [access-file, add-name-to-file, dired-call-process]:
6592 [dired-compress-file, file-acl, file-notify-rm-watch]:
6593 [file-ownership-preserved-p, file-selinux-context]:
6594 [make-directory-internal, make-symbolic-link, set-file-acl]:
6595 [set-file-selinux-context, set-visited-file-modtime]:
6596 [verify-visited-file-modtime]: Add handler.
6597 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6598
6599 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6600 [file-notify-add-watch, file-notify-rm-watch]:
6601 [set-file-times, set-visited-file-modtime]:
6602 [verify-visited-file-modtime]: Add handler.
6603 (with-tramp-gvfs-error-message)
6604 (tramp-gvfs-handle-set-visited-file-modtime)
6605 (tramp-gvfs-fuse-file-name): Remove.
6606 (tramp-gvfs-handle-file-notify-add-watch)
6607 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6608 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6609
6610 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6611 Order alphabetically.
6612 [file-notify-rm-watch ]: Use default Tramp handler.
6613 [executable-find]: Remove private handler.
6614 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6615 `default-directory'.
6616 (tramp-sh-handle-executable-find)
6617 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6618 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6619 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6620 Do not use `format' in `tramp-message'.
6621
6622 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6623 [file-notify-rm-watch, set-visited-file-modtime]:
6624 [verify-visited-file-modtime]: Add handler.
6625 (tramp-smb-call-winexe): Do not bind `default-directory'.
6626
6627 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6628
6629 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6630
6631 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6632
6633 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6634 use it.
6635 (log-view-diff-changeset): Same.
6636 (log-view-diff-common): Call backend command `previous-revision'
6637 to find out the previous revision, in both cases. Swap the
6638 variables `to' and `fr', so that `fr' usually refers to the
6639 earlier revision (Bug#14989).
6640
6641 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6642
6643 * ibuf-ext.el (ibuffer-filter-by-filename):
6644 Make it work with dired buffers too.
6645
6646 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6647
6648 * emacs-lisp/re-builder.el (reb-color-display-p):
6649 * files.el (save-buffers-kill-terminal):
6650 * net/browse-url.el (browse-url):
6651 * server.el (server-save-buffers-kill-terminal):
6652 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6653 Prefer nil to selected-frame for the first arg of frame-parameter.
6654
6655 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6656
6657 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6658
6659 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6660
6661 * minibuffer.el (completion--twq-all): Try and preserve each
6662 completion's case choice (bug#14907).
6663
6664 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6665
6666 * net/network-stream.el (open-network-stream): Mention the new
6667 :nogreeting parameter.
6668 (network-stream-open-starttls): Use the :nogreeting parameter
6669 (bug#14938).
6670
6671 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6672
6673 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6674 more natural than popping.
6675
6676 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6677 (shr-urlify): Highlight under mouse.
6678
6679 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6680
6681 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6682
6683 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6684
6685 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6686 buffer for output.
6687
6688 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6689 point-min==1. Fix search string. Fix parentheses missing.
6690
6691 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6692 assume point-min==1. Fix search string. Fix parentheses missing.
6693
6694 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6695
6696 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6697 buffer for output.
6698
6699 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6700
6701 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6702 initial frame is minibuffer-less. (Bug#14841)
6703
6704 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6705
6706 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6707 option.
6708
6709 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6710 (tramp-maybe-open-connection): Use it.
6711
6712 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6713
6714 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6715 minimal set of parameters passed when creating a frame, because
6716 the minibuffer status of a frame cannot be changed later.
6717
6718 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6719
6720 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6721 replace-regexp-in-string and inadvertent omissions in previous change.
6722 (todo-filter-items): Ensure only file names are comma-separated in
6723 name of filtered items buffer.
6724
6725 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6726
6727 * desktop.el: Optionally force offscreen frames back onscreen.
6728 (desktop-restoring-reuses-frames): New option.
6729 (desktop--compute-pos, desktop--move-onscreen): New functions.
6730 (desktop--make-frame): Use desktop--move-onscreen.
6731
6732 2013-07-27 Alan Mackenzie <acm@muc.de>
6733
6734 Fontify a Java generic method as a function.
6735 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6736 value to t.
6737
6738 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6739
6740 * calendar/todo-mode.el: Add command to rename todo files.
6741 (todo-rename-file): New command.
6742 (todo-key-bindings-t): Add key binding for it. Change the
6743 bindings of todo-filter-regexp-items(-multifile) to use `x'
6744 instead of `r', since the latter is better suited to the new
6745 renaming command.
6746
6747 2013-07-27 Alan Mackenzie <acm@muc.de>
6748
6749 Make Java try-with-resources statement parse properly.
6750 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6751 (c-block-stmt-1-2-key): New language constants/variables.
6752 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6753 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6754 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6755 with c-block-stmt-1-2-key.
6756
6757 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6758
6759 * desktop.el (desktop--make-frame): Apply most frame parameters after
6760 creating the frame to force (partially or totally) offscreen frames to
6761 be restored as such.
6762
6763 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6764
6765 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6766 (Bug#14948)
6767
6768 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6771 `base' arg of backtrace-frame.
6772
6773 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6774
6775 * simple.el (list-processes): Doc fix.
6776
6777 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6778
6779 * desktop.el (desktop--select-frame):
6780 Try harder to reuse existing frames.
6781
6782 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6785 (edebug-eval): Use backtrace-eval.
6786 (edebug--display, edebug--recursive-edit): Don't let-bind the
6787 edebug-outer-* vars that keep track of variables we locally let-bind.
6788 (edebug-outside-excursion): Don't restore outside values of locally
6789 let-bound vars.
6790 (edebug--display): Use user-error.
6791 (cl-lexical-debug, cl-debug-env): Remove.
6792
6793 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6794
6795 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6796 are restored to be sure that they are visible before deleting any
6797 remaining ones.
6798
6799 2013-07-26 Matthias Meulien <orontee@gmail.com>
6800
6801 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6802 vc-print-root-log. (Bug#14948)
6803
6804 2013-07-26 Richard Stallman <rms@gnu.org>
6805
6806 Add aliases for encrypting mail.
6807 * epa.el (epa-mail-aliases): New option.
6808 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6809 Bind inhibit-read-only so read-only text doesn't ruin everything.
6810 (epa-mail-default-recipients): New subroutine broken out.
6811 Handle epa-mail-aliases.
6812
6813 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6814
6815 Add support for lexical variables to the debugger's `e' command.
6816 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6817 vars, except for debugger-outer-match-data.
6818 (debugger-frame-number): Move check for "on a function call" from
6819 callers into it. Add `skip-base' argument.
6820 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6821 (debugger-env-macro): Only reset the state stored in non-variables,
6822 i.e. current-buffer and match-data.
6823 (debugger-eval-expression): Rewrite using backtrace-eval.
6824 * subr.el (internal--called-interactively-p--get-frame): Remove.
6825 (called-interactively-p):
6826 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6827 `base' arg of backtrace-frame instead.
6828
6829 2013-07-26 Glenn Morris <rgm@gnu.org>
6830
6831 * align.el (align-regexp): Doc fix. (Bug#14857)
6832 (align-region): Explicit error if subexpression missing/does not match.
6833
6834 * simple.el (global-visual-line-mode):
6835 Do not duplicate the mode lighter. (Bug#14858)
6836
6837 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6838
6839 * window.el (display-buffer): In display-buffer bind
6840 split-window-keep-point to t, bug#14829.
6841
6842 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6843
6844 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6845 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6846 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6847 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6848 Change accordingly.
6849 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6850 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6851
6852 2013-07-25 Glenn Morris <rgm@gnu.org>
6853
6854 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6855
6856 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6857
6858 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6859 parameter to modify-frame-parameters if the value has not changed;
6860 this is a workaround for bug#14949.
6861 (desktop--make-frame): On cl-delete-if call, check parameter name,
6862 not full parameter.
6863
6864 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6865
6866 * vc/vc.el (vc-ignore): New function.
6867
6868 * vc/vc-svn.el (vc-svn-ignore): New function.
6869
6870 * vc/vc-hg.el (vc-hg-ignore): New function.
6871
6872 * vc/vc-git.el (vc-git-ignore): New function.
6873
6874 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6875 (vc-dir-ignore): New function.
6876
6877 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6878 (cvs-append-to-ignore): Move here from pcvs.el.
6879
6880 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6881
6882 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6883
6884 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6885
6886 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6887 (desktop-restore-frames): Warn when deleting an existing frame failed.
6888
6889 2013-07-24 Glenn Morris <rgm@gnu.org>
6890
6891 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6892
6893 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6894
6895 * filenotify.el (file-notify-supported-p):
6896 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6897 Remove functions.
6898
6899 * autorevert.el (auto-revert-use-notify):
6900 (auto-revert-notify-add-watch):
6901 * net/tramp.el (tramp-file-name-for-operation):
6902 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6903 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6904 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6905 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6906 Remove `file-notify-supported-p' entry.
6907
6908 2013-07-24 Glenn Morris <rgm@gnu.org>
6909
6910 * printing.el: Replace all uses of deleted ps-windows-system,
6911 ps-lp-system, ps-flatten-list with lpr- versions.
6912
6913 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6914
6915 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6916 checked with memq (bug#14935).
6917
6918 * files.el (revert-buffer-function): Use a non-nil default.
6919 (revert-buffer-preserve-modes): Declare var to
6920 provide access to the `preserve-modes' argument.
6921 (revert-buffer): Let-bind it.
6922 (revert-buffer--default): New function, extracted from revert-buffer.
6923
6924 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6925
6926 * lpr.el: Signal print errors more prominently.
6927 (print-region-function): Don't default to nil.
6928 (lpr-print-region): New function, extracted from print-region-1.
6929 Check lpr's return value and signal an error in case of problem.
6930 (print-region-1): Use it.
6931 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6932 versions instead.
6933 (ps-printer-name): Default to nil.
6934 (ps-printer-name-option): Default to lpr-printer-switch.
6935 (ps-print-region-function): Don't default to nil.
6936 (ps-postscript-code-directory): Simplify default.
6937 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6938 (ps-string-list, ps-eval-switch, ps-flatten-list)
6939 (ps-flatten-list-1): Remove.
6940 (ps-multibyte-buffer): Avoid setq.
6941 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6942 (print-region-function, ps-print-region-function): Don't set them here.
6943
6944 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6945
6946 * ido.el (ido-fractionp):
6947 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6948 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6949 (ido-max-directory-size, ido-max-dir-file-cache)
6950 (ido-decorations): Doc fix.
6951
6952 * ansi-color.el: Fix old URL.
6953
6954 2013-07-23 Michael R. Mauger <michael@mauger.com>
6955
6956 * progmodes/sql.el: Version 3.3
6957 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6958 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6959 (sql-interactive-remove-continuation-prompt): Rewrite, use
6960 functions above. Fix continuation prompt and complete output line
6961 handling.
6962 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6963 redirected output buffer.
6964 (sql-mode): Restore deleted code (Bug#13591).
6965
6966 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6967
6968 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6969
6970 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6971
6972 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6973
6974 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6975 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6976 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6977
6978 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6979
6980 * desktop.el (desktop-clear): Simplify; remove useless checks
6981 against invalid buffer names.
6982 (desktop-list*): Use cl-list*.
6983 (desktop-buffer-info, desktop-create-buffer): Simplify.
6984
6985 2013-07-23 Leo Liu <sdl.web@gmail.com>
6986
6987 * bookmark.el (bookmark-make-record): Restore NAME as a default
6988 value. (Bug#14933)
6989
6990 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6991
6992 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6993 extracted from autoload--insert-text.
6994 (autoload--insert-text): Remove.
6995 (autoload--print-cookie-text): New function, extracted from
6996 autoload--insert-cookie-text.
6997 (autoload--insert-cookie-text): Remove.
6998 (autoload-generate-file-autoloads): Adjust calls accordingly.
6999
7000 * winner.el (winner-hook-installed-p): Remove.
7001 (winner-mode): Simplify accordingly.
7002
7003 * subr.el (add-to-list): Fix compiler-macro when `append' is
7004 not constant. Don't use `cl-member' for the base case.
7005
7006 * progmodes/subword.el: Fix boundary case (bug#13758).
7007 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7008 own group.
7009 (subword-backward-regexp): Make it a constant.
7010 (subword-forward-internal): Don't treat a trailing capital as the
7011 beginning of a word.
7012
7013 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7014
7015 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7016 global value of tabulated-list-revert-hook (bug#14930).
7017
7018 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7019
7020 * desktop.el: Require 'cl-lib.
7021 (desktop-before-saving-frames-functions): New hook.
7022 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7023 for frames being saved. Rename from desktop--save-minibuffer-frames.
7024 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7025 Do not save frames with non-nil `desktop-dont-save' parameter.
7026 Filter out deleted frames.
7027 (desktop--find-frame): Use cl-find-if.
7028 (desktop--select-frame): Use cl-(first|second|third) to access values
7029 of desktop-mini.
7030 (desktop--make-frame): Use cl-delete-if.
7031 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7032 (desktop-restore-frames): Use cl-(first|second|third) to access values
7033 of desktop-mini. Look for visible frame at the end, not while
7034 restoring frames.
7035
7036 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7037 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7038 Use string-match-p, looking-at-p (bug#14927).
7039
7040 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7041
7042 * desktop.el (desktop-saved-frame-states):
7043 Rename from desktop--saved-states; all users changed.
7044 (desktop-save-frames): Rename from desktop--save-frames.
7045 Do not save state to desktop file.
7046 (desktop-save): Save desktop-saved-frame-states to desktop file
7047 and reset to nil.
7048 (desktop-restoring-frames-p): New function.
7049 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7050 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7051 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7052
7053 * desktop.el: Correctly restore iconified frames.
7054 (desktop--filter-iconified-position): New function.
7055 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7056
7057 2013-07-20 Glenn Morris <rgm@gnu.org>
7058
7059 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7060 Let `message' do the formatting.
7061 (def-gdb-preempt-display-buffer): Add explicit format.
7062
7063 * image-dired.el (image-dired-track-original-file):
7064 Use with-current-buffer.
7065 (image-dired-track-thumbnail): Use with-current-buffer.
7066 Avoid changing point of wrong window.
7067
7068 * image-dired.el (image-dired-track-original-file):
7069 Avoid changing point of wrong window. (Bug#14909)
7070
7071 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7072
7073 * progmodes/gdb-mi.el (gdb-done-or-error):
7074 Guard against "%" in gdb output. (Bug#14127)
7075
7076 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7077
7078 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7079 (Bug#14826)
7080
7081 * international/mule.el (coding-system-iso-2022-flags): Fix last
7082 change.
7083
7084 2013-07-20 Kenichi Handa <handa@gnu.org>
7085
7086 * international/mule.el (coding-system-iso-2022-flags):
7087 Add `8-bit-level-4'. (Bug#8522)
7088
7089 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7090
7091 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7092 (bug#14815).
7093
7094 * net/eww.el (eww-process-text-input): Allow inputting when the
7095 point is at the start of the line, as the properties aren't
7096 front-sticky.
7097
7098 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7099 degenerate widths.
7100
7101 2013-07-19 Richard Stallman <rms@gnu.org>
7102
7103 * epa.el (epa-popup-info-window): Doc fix.
7104
7105 * subr.el (split-string): New arg TRIM.
7106
7107 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7108
7109 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7110 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7111
7112 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7113
7114 * filenotify.el (file-notify--library): Rename from
7115 `file-notify-support'. Do not autoload. Adapt all uses.
7116 (file-notify-supported-p): New defun.
7117
7118 * autorevert.el (auto-revert-use-notify):
7119 Use `file-notify-supported-p' instead of `file-notify-support'.
7120 Adapt docstring.
7121 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7122
7123 * net/tramp.el (tramp-file-name-for-operation):
7124 Add `file-notify-supported-p'.
7125
7126 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7127 New defun.
7128 (tramp-sh-file-name-handler-alist): Add it as handler for
7129 `file-notify-supported-p '.
7130
7131 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7132 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7133 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7134 Add `ignore' as handler for `file-notify-*' functions.
7135
7136 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7137
7138 * simple.el (line-move-partial, line-move): Don't start vscroll or
7139 scroll-up if the current line is not taller than the window.
7140 (Bug#14881)
7141
7142 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7143
7144 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7145 highlight question marks in the method names as strings.
7146 (ruby-block-beg-keywords): Inline.
7147 (ruby-font-lock-keyword-beg-re): Extract from
7148 `ruby-font-lock-keywords'.
7149
7150 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7151
7152 * frame.el (blink-cursor-blinks): New defcustom.
7153 (blink-cursor-blinks-done): New defvar.
7154 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7155 (blink-cursor-timer-function): Check if number of blinks has been
7156 done on X and NS.
7157 (blink-cursor-suspend, blink-cursor-check): New defuns.
7158
7159 2013-07-15 Glenn Morris <rgm@gnu.org>
7160
7161 * edmacro.el (edmacro-format-keys): Fix previous change.
7162
7163 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7164
7165 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7166 The hack didn't work outside English locales anyway.
7167
7168 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7169
7170 * simple.el (define-alternatives): Rename from alternatives-define,
7171 per RMS' suggestion.
7172
7173 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7174
7175 * desktop.el (desktop-restore-frames): Change default to t.
7176 (desktop-restore-in-current-display): Now offer more options.
7177 (desktop-restoring-reuses-frames): New customization option.
7178 (desktop--saved-states): Doc fix.
7179 (desktop-filter-parameters-alist): New variable, renamed and expanded
7180 from desktop--excluded-frame-parameters.
7181 (desktop--target-display): New variable.
7182 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7183 (desktop--filter-tty*, desktop--filter-*-color)
7184 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7185 (desktop--filter-save-desktop-parm)
7186 (desktop-restore-in-original-display-p): New functions.
7187 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7188 (desktop--save-minibuffer-frames): New function, inspired by a similar
7189 function from Martin Rudalics.
7190 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7191 (desktop--restore-in-this-display-p): Remove.
7192 (desktop--find-frame): Rename from desktop--find-frame-in-display
7193 and add predicate argument.
7194 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7195 (desktop--reuse-list): New variable.
7196 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7197 New functions.
7198 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7199
7200 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7201
7202 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7203
7204 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7205
7206 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7207 Highlight conversion methods on Kernel.
7208
7209 2013-07-13 Alan Mackenzie <acm@muc.de>
7210
7211 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7212 and comment it out. This out-commenting enables certain C++
7213 declarations to be parsed correctly.
7214
7215 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7216
7217 * international/mule.el (define-coding-system): Doc fix.
7218
7219 * simple.el (default-font-height): Don't call font-info if the
7220 frame's default font didn't change since the frame was created.
7221 (Bug#14838)
7222
7223 2013-07-13 Leo Liu <sdl.web@gmail.com>
7224
7225 * ido.el (ido-read-file-name): Guard against non-symbol value.
7226
7227 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7228
7229 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7230 in nested defuns.
7231
7232 2013-07-13 Leo Liu <sdl.web@gmail.com>
7233
7234 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7235 ido-set-matches call. (Bug#6852)
7236
7237 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7238
7239 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7240 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7241 Ruby 2.0.
7242 (ruby-font-lock-keywords): Distinguish calls to functions with
7243 module-like names from module references. Highlight character
7244 literals.
7245
7246 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7247
7248 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7249 (gdb-send): Handle continued commands. (Bug#14847)
7250
7251 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7252
7253 * desktop.el (desktop--v2s): Remove unused local variable.
7254 (desktop-save-buffer): Make defvar-local; adjust docstring.
7255 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7256 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7257
7258 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7259
7260 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7261
7262 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7263
7264 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7265 (Bug#14842)
7266
7267 2013-07-12 Glenn Morris <rgm@gnu.org>
7268
7269 * doc-view.el: Require cl-lib at runtime too.
7270 (doc-view-remove-if): Remove.
7271 (doc-view-search-next-match, doc-view-search-previous-match):
7272 Use cl-remove-if.
7273
7274 * edmacro.el: Require cl-lib at runtime too.
7275 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7276 (edmacro-mismatch, edmacro-subseq): Remove.
7277
7278 * shadowfile.el: Require cl-lib.
7279 (shadow-remove-if): Remove.
7280 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7281 Use cl-remove-if.
7282
7283 * wid-edit.el: Require cl-lib.
7284 (widget-choose): Use cl-remove-if.
7285 (widget-remove-if): Remove.
7286
7287 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7288 (ebrowse-delete-if-not): Remove.
7289 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7290 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7291 Use cl-delete-if-not.
7292
7293 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7294
7295 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7296 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7297
7298 2013-07-12 Leo Liu <sdl.web@gmail.com>
7299
7300 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7301
7302 2013-07-11 Glenn Morris <rgm@gnu.org>
7303
7304 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7305 (edebug-gensym-index, edebug-gensym):
7306 Remove reimplementation of cl-gensym.
7307 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7308
7309 * thumbs.el: Require cl-lib at run-time too.
7310 (thumbs-gensym-counter, thumbs-gensym):
7311 Remove reimplementation of cl-gensym.
7312 (thumbs-temp-file): Use cl-gensym.
7313
7314 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7315 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7316 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7317 (ert--union, ert--gensym-counter, ert--gensym-counter)
7318 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7319 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7320 (ert-make-test-unbound, ert--expand-should-1)
7321 (ert--expand-should, ert--should-error-handle-error)
7322 (should-error, ert--explain-equal-rec)
7323 (ert--plist-difference-explanation, ert-select-tests)
7324 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7325 Use cl-lib functions rather than reimplementations.
7326
7327 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7328
7329 * net/tramp.el (tramp-methods): Extend docstring.
7330 (tramp-connection-timeout): New defcustom.
7331 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7332 (with-tramp-progress-reporter): Simplify.
7333 (tramp-process-actions): Improve messages.
7334
7335 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7336 * net/tramp-sh.el (tramp-maybe-open-connection):
7337 Use `tramp-connection-timeout'.
7338 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7339 (Bug#14808)
7340
7341 2013-07-11 Leo Liu <sdl.web@gmail.com>
7342
7343 * ido.el (ido-read-file-name): Conform to the requirements of
7344 read-file-name. (Bug#11861)
7345 (ido-read-directory-name): Conform to the requirements of
7346 read-directory-name.
7347
7348 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7349
7350 * subr.el (delay-warning): New function.
7351
7352 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7353
7354 * simple.el (default-line-height): New function.
7355 (line-move-partial, line-move): Use it instead of computing the
7356 line height inline.
7357 (line-move-partial): Always compute ROWH. If the last line is
7358 partially-visible, but its text is completely visible, allow
7359 cursor to enter such a partially-visible line.
7360
7361 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7362
7363 Improve error messages. (Bug#14808)
7364
7365 * net/tramp.el (tramp-current-connection): New defvar, moved from
7366 tramp-sh.el.
7367 (tramp-message-show-progress-reporter-message): Remove, not
7368 needed anymore.
7369 (tramp-error-with-buffer): Show message in minibuffer.
7370 Discard input before waiting. Reset connection timestamp.
7371 (with-tramp-progress-reporter): Improve messages.
7372 (tramp-process-actions): Use progress reporter. Delete process in
7373 case of error. Improve messages.
7374
7375 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7376 Call `tramp-error-with-buffer' with vector and buffer.
7377 (tramp-current-connection): Remove.
7378 (tramp-maybe-open-connection): The car of
7379 `tramp-current-connection' are the first 3 slots of the vector.
7380
7381 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7382
7383 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7384 inside continued strings.
7385
7386 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7387
7388 Timestamp fixes for undo (Bug#14824).
7389 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7390
7391 2013-07-10 Leo Liu <sdl.web@gmail.com>
7392
7393 * files.el (require-final-newline): Allow safe local value.
7394 (Bug#14834)
7395
7396 2013-07-09 Leo Liu <sdl.web@gmail.com>
7397
7398 * ido.el (ido-read-directory-name): Handle fallback.
7399 (ido-read-file-name): Update DIR to ido-current-directory.
7400 (Bug#1516)
7401 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7402
7403 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7404
7405 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7406 "autoload". Remove "warn lower camel case" section, previously
7407 commented out. Highlight negation char. Do not highlight the
7408 target in singleton method definitions.
7409
7410 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7411
7412 * faces.el (tty-setup-hook): Declare the hook.
7413
7414 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7415 and detect when a guard/pred depends on local vars (bug#14773).
7416 (pcase--u1): Adjust caller.
7417
7418 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7419
7420 * simple.el (line-move-partial, line-move): Account for
7421 line-spacing.
7422 (line-move-partial): Avoid setting vscroll when the last
7423 partially-visible line in window is of default height.
7424
7425 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7426
7427 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7428 been used a while.
7429
7430 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7431
7432 * subr.el (read-quoted-char): Remove unused local variable `char'.
7433
7434 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7435
7436 * ediff.el (ediff-version): Version update.
7437 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7438 (ediff-merge-with-ancestor-command, ediff-directories-command)
7439 (ediff-directories3-command, ediff-merge-directories-command)
7440 (ediff-merge-directories-with-ancestor-command): New functions.
7441 All are command-line interfaces to ediff: to facilitate calling
7442 Emacs with the appropriate ediff functions invoked.
7443
7444 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7445 (viper-save-kill-buffer): Check if buffer is modified.
7446
7447 * viper.el (viper-version): Version update.
7448 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7449
7450 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7451
7452 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7453 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7454 (viper-intercept-ESC-key): Simplify.
7455 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7456 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7457 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7458 (viper-setup-ESC-to-escape): New functions.
7459 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7460 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7461
7462 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7463
7464 * simple.el (default-font-height, window-screen-lines):
7465 New functions.
7466 (line-move, line-move-partial): Use them instead of
7467 frame-char-height and window-text-height. This makes scrolling
7468 text smoother when the buffer's default face uses a font that is
7469 different from the frame's default font.
7470
7471 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7472
7473 * files.el (write-file): Do not display confirm dialog for NS,
7474 it does its own dialog, which can't be canceled (Bug#14578).
7475
7476 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7477
7478 * simple.el (line-move-partial): Adjust the row returned by
7479 posn-at-point for the current window-vscroll. (Bug#14567)
7480
7481 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7482
7483 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7484 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7485 spaces.
7486
7487 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7488
7489 * window.el (window-state-put-stale-windows): New variable.
7490 (window--state-put-2): Save list of windows without matching buffer.
7491 (window-state-put): Remove "bufferless" windows if possible.
7492
7493 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7494
7495 * simple.el (alternatives-define): Remove leftover :group keyword.
7496 Tweak docstring.
7497
7498 2013-07-06 Leo Liu <sdl.web@gmail.com>
7499
7500 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7501 (ido-enable-virtual-buffers): New variable.
7502 (ido-buffer-internal, ido-toggle-virtual-buffers)
7503 (ido-make-buffer-list): Use it.
7504 (ido-exhibit): Support turning on and off virtual buffers
7505 automatically.
7506
7507 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7508
7509 * simple.el (alternatives-define): New macro.
7510
7511 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7512
7513 * subr.el (read-quoted-char): Use read-key.
7514 (sit-for): Let read-event decode tty input (bug#14782).
7515
7516 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7517
7518 * calendar/todo-mode.el: Add handling of file deletion, both by
7519 mode command and externally. Fix various related bugs.
7520 Clarify Commentary and improve some documentation strings and code.
7521 (todo-delete-file): New command.
7522 (todo-check-file): New function.
7523 (todo-show): Handle external deletion of the file we're trying to
7524 show (bug#14688). Replace called-interactively-p by an optional
7525 prefix argument to avoid problematic interaction with catch form
7526 when byte compiled (bug#14702).
7527 (todo-quit): Handle external deletion of the archive's todo file.
7528 Make sure the buffer that was visiting the archive file is still
7529 live before trying to bury it.
7530 (todo-category-completions): Handle external deletion of any
7531 category completion files.
7532 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7533 of todo files, in case of external deletion.
7534 (todo-add-file): Replace unnecessary setq by let-binding.
7535 (todo-find-archive): Check whether there are any archives.
7536 Replace unnecessary setq by let-binding.
7537 (todo-archive-done-item): Use find-file-noselect to get the
7538 archive buffer whether or not the archive already exists.
7539 Remove superfluous code. Use file size instead of buffer-file-name to
7540 check if the archive is new; if it is, update list of archives.
7541 (todo-default-todo-file): Allow nil to be a valid value for when
7542 there are no todo files.
7543 (todo-reevaluate-default-file-defcustom): Use corrected definition
7544 of todo-default-todo-file.
7545 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7546 (todo-delete-category, todo-show-categories-table)
7547 (todo-category-number): Clarify comment.
7548 (todo-filter-items): Clarify documentation string.
7549 (todo-show-current-file, todo-display-as-todo-file)
7550 (todo-reset-and-enable-done-separator): Tweak documentation string.
7551 (todo-done-separator): Make separator length window-width, since
7552 bug#2749 is now fixed.
7553
7554 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7555
7556 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7557 Support both "gvfs-monitor-dir" and "inotifywait".
7558 (tramp-sh-file-inotifywait-process-filter): Rename from
7559 `tramp-sh-file-notify-process-filter'.
7560 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7561 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7562
7563 2013-07-05 Leo Liu <sdl.web@gmail.com>
7564
7565 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7566
7567 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7568
7569 * frame.el (display-pixel-height, display-pixel-width)
7570 (display-mm-height, display-mm-width): Mention behavior on
7571 multi-monitor setups in docstrings.
7572 (w32-display-monitor-attributes-list): Declare function.
7573 (display-monitor-attributes-list): Use it.
7574
7575 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7576
7577 * filenotify.el: New package.
7578
7579 * autorevert.el (top): Require filenotify.el.
7580 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7581 instead.
7582 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7583 (auto-revert-notify-handler): Use `file-notify-*' functions.
7584
7585 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7586
7587 * net/tramp.el (tramp-file-name-for-operation):
7588 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7589
7590 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7591 for `file-notify-add-watch' and `file-notify-rm-watch'.
7592 (tramp-process-sentinel): Improve trace.
7593 (tramp-sh-handle-file-notify-add-watch)
7594 (tramp-sh-file-notify-process-filter)
7595 (tramp-sh-handle-file-notify-rm-watch)
7596 (tramp-get-remote-inotifywait): New defuns.
7597
7598 2013-07-03 Juri Linkov <juri@jurta.org>
7599
7600 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7601 call of `occur-read-primary-args' to interactive spec.
7602
7603 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7604 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7605
7606 2013-07-03 Matthias Meulien <orontee@gmail.com>
7607
7608 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7609 `Buffer-menu-multi-occur'. Add it to the menu.
7610 (Buffer-menu-mode): Document it in docstring.
7611 (Buffer-menu-multi-occur): New command. (Bug#14673)
7612
7613 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7614
7615 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7616 keywords and built-ins.
7617
7618 2013-07-03 Glenn Morris <rgm@gnu.org>
7619
7620 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7621
7622 Make info-xref checks case-sensitive by default
7623 * info.el (Info-find-node, Info-find-in-tag-table)
7624 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7625 Add option for exact case matching of nodes.
7626 * info-xref.el (info-xref): New custom group.
7627 (info-xref-case-fold): New option.
7628 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7629
7630 2013-07-03 Leo Liu <sdl.web@gmail.com>
7631
7632 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7633
7634 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7635
7636 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7637 middle of block statement initially, lower the depth. Remove
7638 FIXME comment, not longer valid. Remove middle of block statement
7639 detection, no need to do that anymore since we've been using
7640 `ruby-parse-region' here.
7641
7642 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7643
7644 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7645
7646 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7647
7648 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7649
7650 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7651
7652 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7653 (desktop-restore-in-current-display): New customization option.
7654 (desktop--excluded-frame-parameters): Add `font'.
7655 (desktop--save-frames): Rename from desktop--save-windows.
7656 (desktop--restore-in-this-display-p): New function.
7657 (desktop--make-full-frame): Remove unwanted width/height from
7658 full(width|height) frames.
7659 (desktop--restore-frames): Rename from desktop--restore-windows.
7660 Obey desktop-restore-current-display. Do not delete old frames or
7661 select a new frame unless we were able to restore at least one frame.
7662
7663 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7664
7665 * files.el (find-file-noselect): Simplify conditional expression.
7666
7667 * textmodes/remember.el (remember-append-to-file):
7668 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7669
7670 Add `remember-notes' function to store random notes across Emacs
7671 restarts.
7672 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7673 notes buffer (if any).
7674 (remember-notes): New command.
7675 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7676 New defcustoms for the `remember-notes' function.
7677 (remember-notes-save-and-bury-buffer): New command.
7678 (remember-notes-mode-map): New variable.
7679 (remember-mode): New minor mode.
7680 (remember-notes--kill-buffer-query): New function.
7681 * startup.el (initial-buffer-choice): Add notes to custom type.
7682
7683 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7684
7685 * bindings.el (right-char, left-char): Don't call sit-for, this is
7686 no longer needed. Use arithmetic comparison only for numerical
7687 arguments.
7688
7689 * international/mule-cmds.el (select-safe-coding-system):
7690 Handle the case of FROM being a string correctly. (Bug#14755)
7691
7692 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7693
7694 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7695 progression on degenerate tables.
7696 (shr-rescale-image): ImageMagick animated images currently don't work.
7697
7698 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7699
7700 Some fixes and improvements for desktop frame restoration.
7701 It is still experimental and disabled by default.
7702 * desktop.el (desktop--save-windows): Put the selected frame at
7703 the head of the list.
7704 (desktop--make-full-frame): New function.
7705 (desktop--restore-windows): Try to re-select the frame that was
7706 selected upon saving. Do not abort if some frames fail to restore,
7707 just show an error message and continue. Set up maximized frames
7708 so they have default non-maximized dimensions.
7709
7710 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7711
7712 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7713 Don't start heredoc inside a string or comment.
7714
7715 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7716
7717 * bindings.el (visual-order-cursor-movement): New defcustom.
7718 (right-char, left-char): Provide visual-order cursor motion by
7719 calling move-point-visually. Update the doc strings.
7720
7721 2013-06-28 Kenichi Handa <handa@gnu.org>
7722
7723 * international/mule.el (define-coding-system): New coding system
7724 properties :inhibit-null-byte-detection,
7725 :inhibit-iso-escape-detection, and :prefer-utf-8.
7726 (set-buffer-file-coding-system): If :charset-list property of
7727 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7728 appropriate for setting.
7729
7730 * international/mule-cmds.el (select-safe-coding-system):
7731 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7732 multibyte characters, return utf-8 (or one of its siblings).
7733
7734 * international/mule-conf.el (prefer-utf-8): New coding system.
7735 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7736 files.
7737
7738 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7739
7740 * net/shr.el (shr-render-region): New function.
7741
7742 * net/eww.el: Autoload `eww-browse-url'.
7743
7744 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7745
7746 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7747 Adapt to `package-desc-version' being a list.
7748 Use `package--ac-desc-version' to retrieve version from a package
7749 archive element.
7750
7751 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7752
7753 New experimental feature to save&restore window and frame setup.
7754 * desktop.el (desktop-save-windows): New defcustom.
7755 (desktop--saved-states): New var.
7756 (desktop--excluded-frame-parameters): New defconst.
7757 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7758 (desktop--restore-windows, desktop--save-windows): New functions.
7759 (desktop-save): Call `desktop--save-windows'.
7760 (desktop-read): Call `desktop--restore-windows'.
7761
7762 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7763
7764 * net/shr.el (add-face-text-property): Remove compat definition.
7765
7766 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7767
7768 * info.el (Info-try-follow-nearest-node): Move search for footnote
7769 above search for node name to prevent missing a footnote (bug#14717).
7770
7771 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7772
7773 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7774
7775 2013-06-27 Leo Liu <sdl.web@gmail.com>
7776
7777 * net/eww.el (eww-read-bookmarks): Check file size.
7778
7779 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7782 advice--pending if newdef is nil or an autoload (bug#13820).
7783 (advice-mapc): New function.
7784
7785 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7786
7787 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7788 probably.
7789 (eww-mode-map): Add a menu bar.
7790 (eww-add-bookmark): New command.
7791 (eww-bookmark-mode): New mode and commands.
7792 (eww-add-bookmark): Remove newlines from the title.
7793 (eww-bookmark-browse): Don't bug out if it's the only window.
7794
7795 2013-06-26 Glenn Morris <rgm@gnu.org>
7796
7797 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7798 (hfy-size): Handle ttys. (Bug#14668)
7799
7800 * info-xref.el: Update for Texinfo 5 change in *note format.
7801 (info-xref-node-re, info-xref-note-re): New constants.
7802 (info-xref-check-buffer): Use info-xref-note-re.
7803
7804 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7805
7806 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7807
7808 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7809 nil terminate the loop (bug#14718).
7810
7811 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7812
7813 * net/eww.el: Rework history traversal. When going forward/back,
7814 put these actions into the history, too, so that they can be
7815 replayed.
7816 (eww-render): Move the history reset to the correct buffer.
7817
7818 2013-06-25 Juri Linkov <juri@jurta.org>
7819
7820 * files-x.el (modify-dir-local-variable): Change the header comment
7821 in the file with directory local variables. (Bug#14692)
7822
7823 * files-x.el (read-file-local-variable-value): Add `default'.
7824 (Bug#14710)
7825
7826 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7827
7828 * net/eww.el (eww-make-unique-file-name): Create a unique file
7829 name before saving to entering `y' accidentally asynchronously.
7830
7831 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7832
7833 * net/eww.el (eww-download): New command and keystroke.
7834
7835 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7836
7837 * net/eww.el (eww-copy-page-url): Change name of command.
7838
7839 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7840 be more consistent with Info and dired.
7841
7842 * net/eww.el (eww-mode-map): Ditto.
7843
7844 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7845
7846 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7847 packages from archives.
7848 (package-archive-contents): Change format; include obsolete packages.
7849 (package-desc): Use `dir' to mark builtin packages.
7850 (package--from-builtin): Set the `dir' field to `builtin'.
7851 (generated-autoload-file, version-control): Declare.
7852 (package-compute-transaction): Change first arg and return value to be
7853 lists of package-descs. Adjust to new package-archive-contents format.
7854 (package--add-to-archive-contents): Adjust to new
7855 package-archive-contents format.
7856 (package-download-transaction): Arg is now a list of package-descs.
7857 (package-install): If `pkg' is a package name, pass it as
7858 a requirement, so it is subject to the usual (e.g. disabled) checks.
7859 (describe-package): Accept package-desc as well.
7860 (describe-package-1): Describe a specific package-desc. Add links to
7861 other package-descs for the same package name.
7862 (package-menu-describe-package): Pass the actual package-desc.
7863 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7864 works correctly.
7865 (package-desc-status): New function.
7866 (package-menu--refresh): New function, extracted
7867 from package-menu--generate.
7868 (package-menu--generate): Use it.
7869 (package-delete): Update package-alist.
7870 (package-menu-execute): Don't call package-initialize.
7871
7872 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7873 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7874 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7875 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7876 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7877 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7878
7879 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7880
7881 * window.el (window--state-get-1): Workaround for bug#14527.
7882 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7883
7884 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7885
7886 * net/eww.el (eww-back-url): Implement the history by stashing all
7887 the data into a list.
7888 (eww-forward-url): Allow going forward in the history, too.
7889
7890 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7891
7892 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7893 for values and use read--expression for expressions (bug#14710).
7894 (read-file-local-variable): Avoid setq.
7895 (read-file-local-variable-mode): Use minor-mode-list.
7896
7897 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7898
7899 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7900 for DOI URLs.
7901
7902 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7903
7904 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7905 Update imenu-support when dialect changes.
7906
7907 2013-06-25 Leo Liu <sdl.web@gmail.com>
7908
7909 * ido.el (ido-read-internal): Allow forward slash on windows.
7910
7911 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7912
7913 * net/eww.el (eww): Start of strings is \\`, not ^.
7914
7915 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7916
7917 * net/shr.el (shr-browse-url): Fix interactive spec.
7918
7919 * net/eww.el (eww): Add a trailing slash to domain names.
7920
7921 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7922
7923 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7924
7925 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7926
7927 * net/shr.el (shr-browse-url): Use an external browser if given a
7928 prefix.
7929
7930 * net/eww.el (eww-external-browser): Move to shr.
7931
7932 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7933
7934 * net/eww.el (eww): Work more correctly for file: URLs.
7935 (eww-detect-charset): Allow quoted charsets.
7936 (eww-yank-page-url): New command and keystroke.
7937
7938 2013-06-24 Daiki Ueno <ueno@gnu.org>
7939
7940 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7941 file name of gpg executable.
7942 (epg-context-program): New function.
7943 (epg-context-home-directory): New function.
7944 (epg-context-set-program): New function.
7945 (epg-context-set-home-directory): New function.
7946 (epg--start): Use `epg-context-program' instead of
7947 'epg-gpg-program'.
7948 (epg--list-keys-1): Likewise.
7949
7950 2013-06-24 Leo Liu <sdl.web@gmail.com>
7951
7952 * ido.el (ido-read-internal): Fix bug#14620.
7953
7954 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7955
7956 * faces.el (face-documentation): Simplify.
7957 (read-face-attribute, tty-find-type, x-resolve-font-name):
7958 Use `string-match-p'.
7959 (list-faces-display): Use `string-match-p'. Simplify.
7960 (face-spec-recalc): Check face to avoid face alias loops.
7961 (read-color): Use `string-match-p' and non-capturing parenthesis.
7962
7963 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7964
7965 * net/shr.el (shr-rescale-image): Use the new
7966 :max-width/:max-height functionality.
7967
7968 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7969
7970 * net/eww.el (eww-search-prefix): New variable.
7971 (eww): Use it.
7972 (eww-external-browser): New variable.
7973 (eww-mode-map): New keystroke.
7974 (eww-browse-with-external-browser): New command.
7975
7976 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7977
7978 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7979
7980 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7981 Don't skip aligning the next header field when padding is 0;
7982 otherwise, field width is not respected unless the title is as
7983 wide as the field.
7984
7985 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7986
7987 * emacs-lisp/package.el (package-el-version): Remove.
7988 (package-process-define-package): Fix inf-loop.
7989 (package-install): Allow symbols as arguments again.
7990
7991 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7992
7993 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7994 add some more keyword-like methods.
7995 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7996
7997 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7998
7999 * bs.el (bs-buffer-show-mark): Make defvar-local.
8000 (bs-mode): Use setq-local.
8001
8002 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8003 (emacs-lock--try-unlocking): Make defvar-local.
8004
8005 2013-06-22 Glenn Morris <rgm@gnu.org>
8006
8007 * play/cookie1.el (cookie-apropos): Minor simplification.
8008
8009 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8010
8011 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8012
8013 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8014 `regexp-opt', it breaks the build during dumping.
8015
8016 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8017
8018 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8019 Highlight keyword-like methods on Kernel and Module with
8020 font-lock-builtin-face.
8021 (auto-mode-alist): Consolidate different entries into one regexp
8022 and add more *file-s.
8023
8024 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8025
8026 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8027
8028 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8029 (diary-entry): Use it in the action of this button type instead of
8030 diary-goto-entry.
8031
8032 * calendar/todo-mode.el: New version.
8033 (todo-add-category): Append new category to end of file and give
8034 it the highest number, instead of putting it at the beginning and
8035 giving it 0. Incorporate noninteractive functionality.
8036 (todo-forward-category): Adapt to 1-based category numbering.
8037 Allow skipping over archived categories.
8038 (todo-backward-category): Derive from todo-forward-category.
8039 (todo-backward-item, todo-forward-item): Make noninteractive and
8040 delegate interactive part to new commands. Make sensitive to done items.
8041 (todo-categories): Make value an alist of category names and
8042 vectors of item counts.
8043 (todo-category-beg): Make a defconst.
8044 (todo-category-number): Use 1 instead of 0 as initial value.
8045 (todo-category-select): Make sensitive to overlays, optional item
8046 highlighting and done items.
8047 (todo-delete-item): Make sensitive to overlays and marked and done items.
8048 (todo-edit-item): Make sensitive to overlays and editing of
8049 date/time header optional. Add format checks.
8050 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8051 no-op if point is not on an item. Advertise using todo-edit-quit.
8052 (todo-edit-mode): Make sensitive to new format, font-locking, and
8053 multiple todo files.
8054 (todo-insert-item, todo-insert-item-here): Derive from
8055 todo-basic-insert-item and extend functionality.
8056 (todo-item-end, todo-item-start): Make sensitive to done items.
8057 (todo-item-string): Don't return text properties. Restore point.
8058 (todo-jump-to-category): Make sensitive to multiple todo files and
8059 todo archives. Use extended category completion.
8060 (todo-lower-item, todo-raise-item): Rename to *-priority and
8061 derive from todo-set-item-priority.
8062 (todo-mode): Derive from special-mode. Make sensitive to new
8063 format, font-locking and multiple todo files. Make read-only.
8064 (todo-mode-map): Don't suppress digit keys, so they can supply
8065 prefix arguments. Add many new key bindings.
8066 (todo-prefix): Insert as an overlay instead of file text.
8067 Change semantics from diary date expression to purely visual mark.
8068 (todo-print): Rename to todo-print-buffer. Make buffer display
8069 features printable. Remove option to restrict number of items
8070 printed. Add option to print to file.
8071 (todo-print-function): Rename to todo-print-buffer-function.
8072 (todo-quit): Extend to handle exiting new todo modes.
8073 (todo-remove-item): Make sensitive to overlays.
8074 (todo-save): Extend to buffers of filtered items.
8075 (todo-show): Make sensitive to done items, multiple todo files and
8076 new todo modes. Offer to convert legacy todo file before creating
8077 first new todo file.
8078 (todo-show-priorities): Rename to todo-top-priorities.
8079 Change semantics of value 0.
8080 (todo-top-priorities): Rename to todo-filter-top-priorities,
8081 derive from todo-filter-items and extend functionality.
8082 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8083 and extend functionality to other types of filtered items.
8084 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8085 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8086 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8087 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8088 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8089 (todo-edit-mode-hook, todo-entry-prefix-function)
8090 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8091 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8092 (todo-initials, todo-insert-threshold, todo-item-string-start)
8093 (todo-line-string, todo-menu, todo-mode-hook)
8094 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8095 (todo-print-priorities, todo-remove-separator)
8096 (todo-save-top-priorities-too, todo-string-count-lines)
8097 (todo-string-multiline-p, todo-time-string-format)
8098 (todo-tmp-buffer-name): Remove.
8099 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8100 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8101 (todo-edit-category-diary-inclusion)
8102 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8103 (todo-edit-file, todo-edit-item-date-day)
8104 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8105 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8106 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8107 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8108 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8109 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8110 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8111 (todo-filter-top-priorities-multifile, todo-find-archive)
8112 (todo-find-filtered-items-file, todo-go-to-source-item)
8113 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8114 (todo-jump-to-archive-category, todo-lower-category)
8115 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8116 (todo-move-category, todo-move-item, todo-next-button)
8117 (todo-next-item, todo-padded-string, todo-powerset)
8118 (todo-previous-button, todo-previous-item)
8119 (todo-print-buffer-to-file, todo-raise-category)
8120 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8121 (todo-set-category-number, todo-set-item-priority)
8122 (todo-set-top-priorities-in-category)
8123 (todo-set-top-priorities-in-file, todo-show-categories-table)
8124 (todo-sort-categories-alphabetically-or-numerically)
8125 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8126 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8127 (todo-toggle-item-header, todo-toggle-item-highlighting)
8128 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8129 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8130 (todo-unarchive-items, todo-unmark-category): New commands.
8131 (todo-absolute-file-name, todo-add-to-buffer-list)
8132 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8133 (todo-basic-insert-item, todo-category-completions)
8134 (todo-category-number, todo-category-string-matcher-1)
8135 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8136 (todo-check-format, todo-clear-matches)
8137 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8138 (todo-current-category, todo-date-string-matcher)
8139 (todo-define-insertion-command, todo-diary-expired-matcher)
8140 (todo-diary-goto-entry, todo-diary-item-p)
8141 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8142 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8143 (todo-done-item-section-p, todo-done-separator)
8144 (todo-done-string-matcher, todo-files, todo-filter-items)
8145 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8146 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8147 (todo-insert-category-line, todo-insert-item-from-calendar)
8148 (todo-insert-sort-button, todo-insert-with-overlays)
8149 (todo-insertion-command-name, todo-insertion-key-bindings)
8150 (todo-label-to-key, todo-longest-category-name-length)
8151 (todo-make-categories-list, todo-mode-external-set)
8152 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8153 (todo-modes-set-3, todo-multiple-filter-files)
8154 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8155 (todo-read-category, todo-read-date, todo-read-dayname)
8156 (todo-read-file-name, todo-read-time)
8157 (todo-reevaluate-category-completions-files-defcustom)
8158 (todo-reevaluate-default-file-defcustom)
8159 (todo-reevaluate-filelist-defcustoms)
8160 (todo-reevaluate-filter-files-defcustom)
8161 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8162 (todo-reset-done-separator, todo-reset-done-separator-string)
8163 (todo-reset-done-string, todo-reset-global-current-todo-file)
8164 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8165 (todo-reset-prefix, todo-set-categories)
8166 (todo-set-date-from-calendar, todo-set-show-current-file)
8167 (todo-set-top-priorities, todo-short-file-name)
8168 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8169 (todo-total-item-counts, todo-update-buffer-list)
8170 (todo-update-categories-display, todo-update-categories-sexp)
8171 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8172 New functions.
8173 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8174 New major modes.
8175 (todo-categories, todo-display, todo-edit, todo-faces)
8176 (todo-filtered): New defgroups.
8177 (todo-archived-only, todo-button, todo-category-string, todo-date)
8178 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8179 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8180 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8181 (todo-add-item-if-new-category, todo-always-add-time-string)
8182 (todo-categories-align, todo-categories-archived-label)
8183 (todo-categories-category-label, todo-categories-diary-label)
8184 (todo-categories-done-label, todo-categories-number-separator)
8185 (todo-categories-todo-label, todo-categories-totals-label)
8186 (todo-category-completions-files, todo-completion-ignore-case)
8187 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8188 (todo-done-separator-string, todo-done-string)
8189 (todo-files-function, todo-filter-done-items, todo-filter-files)
8190 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8191 (todo-initial-category, todo-initial-file, todo-item-mark)
8192 (todo-legacy-date-time-regexp, todo-mode-line-function)
8193 (todo-nondiary-marker, todo-number-prefix)
8194 (todo-print-buffer-function, todo-show-current-file)
8195 (todo-show-done-only, todo-show-first, todo-show-with-done)
8196 (todo-skip-archived-categories, todo-top-priorities-overrides)
8197 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8198 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8199 New defcustoms.
8200 (todo-category-done, todo-date-pattern, todo-date-string-start)
8201 (todo-diary-items-buffer, todo-done-string-start)
8202 (todo-filtered-items-buffer, todo-item-start)
8203 (todo-month-abbrev-array, todo-month-name-array)
8204 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8205 (todo-top-priorities-buffer): New defconsts.
8206 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8207 (todo-categories-with-marks, todo-category-string-face)
8208 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8209 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8210 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8211 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8212 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8213 (todo-font-lock-keywords, todo-global-current-todo-file)
8214 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8215 (todo-insertion-commands-args)
8216 (todo-insertion-commands-args-genlist)
8217 (todo-insertion-commands-names, todo-insertion-map)
8218 (todo-key-bindings-t, todo-key-bindings-t+a)
8219 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8220 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8221 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8222 (todo-visited): New variables.
8223
8224 2013-06-21 Glenn Morris <rgm@gnu.org>
8225
8226 * play/cookie1.el (cookie-apropos): Add optional display argument.
8227 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8228 (psychoanalyze-pinhead): Use cookie-doctor.
8229
8230 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8231
8232 * emacs-lisp/package.el (tar-get-file-descriptor)
8233 (tar--extract): Declare.
8234
8235 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8236
8237 Extend flymake's warning predicate to be a function (bug#14217).
8238 * progmodes/flymake.el (flymake-warning-predicate): New.
8239 (flymake-parse-line): Use it.
8240 (flymake-warning-re): Make obsolete alias to
8241 `flymake-warning-predicate'.
8242
8243 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8244
8245 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8246 (package-obsolete-list): Remove.
8247 (package-activate): Remove min-version argument. Add `force' argument.
8248 Adjust to new package-alist format.
8249 (package-mark-obsolete): Remove.
8250 (package-unpack): Force reload of the package's autoloads.
8251 (package-installed-p): Check builtins if the installed package is not
8252 recent enough.
8253 (package-initialize): Don't reset package-obsolete-list.
8254 Don't specify which package version to activate.
8255 (package-process-define-package, describe-package-1)
8256 (package-menu--generate): Adjust to new package-alist format.
8257
8258 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8259
8260 * allout-widgets.el (allout-widgets-mode-off)
8261 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8262 (allout-widgets-post-command-business)
8263 (allout-widgets-after-copy-or-kill-function)
8264 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8265 (allout-decorate-item-and-context)
8266 (allout-graphics-modification-handler): Fix typos in docstrings.
8267 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8268
8269 * cmuscheme.el (scheme-start-file): Doc fix.
8270 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8271 (scheme-input-filter): Use `string-match-p'.
8272
8273 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8274
8275 * dired-x.el: Use Dired consistently in docstrings.
8276
8277 * dired.el: Use Dired consistently in docstrings.
8278 (dired-readin, dired-mode): Use `setq-local'.
8279 (dired-switches-alist): Make defvar-local.
8280 (dired-buffers-for-dir): Use `zerop'.
8281 (dired-safe-switches-p, dired-switches-escape-p)
8282 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8283 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8284 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8285 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8286 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8287 (dired-toggle-marks, dired-mark-files-containing-regexp)
8288 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8289 (dired-flag-auto-save-files, dired-flag-backup-files):
8290 Use `looking-at-p'.
8291 (dired-mark-files-regexp, dired-build-subdir-alist):
8292 Use `string-match-p', `looking-at-p'.
8293
8294 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8295 (direct-print-region-helper): Use `string-match-p'.
8296
8297 2013-06-21 Leo Liu <sdl.web@gmail.com>
8298
8299 * comint.el (comint-redirect-results-list-from-process):
8300 Fix infinite loop.
8301
8302 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8303
8304 * net/eww.el (eww-update-header-line-format): Quote % characters.
8305
8306 2013-06-21 Glenn Morris <rgm@gnu.org>
8307
8308 * play/cookie1.el (cookie): New custom group.
8309 (cookie-file): New option.
8310 (cookie-check-file): New function.
8311 (cookie): Make it interactive. Make start and end messages optional.
8312 Interactively, display the result. Default to cookie-file.
8313 (cookie-insert): Default to cookie-file.
8314 (cookie-snarf): Make start and end messages optional.
8315 Default to cookie-file. Use with-temp-buffer.
8316 (cookie-read): Rename from read-cookie.
8317 Make start and end messages optional. Default to cookie-file.
8318 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8319 Do not autoload it.
8320 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8321 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8322
8323 2013-06-21 Leo Liu <sdl.web@gmail.com>
8324
8325 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8326
8327 2013-06-21 Glenn Morris <rgm@gnu.org>
8328
8329 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8330
8331 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8332 Daniel Hackney <dan@haxney.org>
8333
8334 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8335 Consolidate the single-file vs tarball code.
8336 (package-desc-suffix): New function.
8337 (package-desc-full-name): Don't bother inlining it.
8338 (package-load-descriptor): Return the new package-desc.
8339 (package-mark-obsolete): Remove unused arg `package'.
8340 (package-unpack): Make it work for single files as well.
8341 Make it update package-alist.
8342 (package--make-autoloads-and-stuff): Rename from
8343 package--make-autoloads-and-compile. Don't compile any more.
8344 (package--compile): New function.
8345 (package-generate-description-file): New function, extracted from
8346 package-unpack-single.
8347 (package-unpack-single): Remove.
8348 (package--with-work-buffer): Add indentation and debugging info.
8349 (package-download-single): Remove.
8350 (package-install-from-archive): Rename from package-download-tar, make
8351 it take a pkg-desc, and make it work for single files as well.
8352 (package-download-transaction): Simplify.
8353 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8354 external tar program.
8355 (package-install-from-buffer): Remove `pkg-desc' argument.
8356 Use package-tar-file-info for tar-mode buffers.
8357 (package-install-file): Simplify accordingly.
8358 (package-archive-base): Change to take a pkg-desc.
8359 * tar-mode.el (tar--check-descriptor): New function, extracted from
8360 tar-get-descriptor.
8361 (tar-get-descriptor): Use it.
8362 (tar-get-file-descriptor): New function.
8363 (tar--extract): New function, extracted from tar-extract.
8364 (tar--extract): Use it.
8365 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8366 case the summary uses non-ascii. Adjust to new calling convention of
8367 package-tar-file-info.
8368
8369 2013-06-21 Leo Liu <sdl.web@gmail.com>
8370
8371 * comint.el (comint-redirect-results-list-from-process):
8372 Fix random delay. (Bug#14681)
8373
8374 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8375
8376 * profiler.el (profiler-format-number): Use log, not log10.
8377
8378 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8379
8380 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8381
8382 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8385 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8386 yet available.
8387 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8388 (AUTOGENEL): ... here.
8389 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8390 (cl--defsubst-expand): Use it.
8391
8392 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8393
8394 * subr.el (log10): Move here from C code, and declare as obsolete.
8395 All uses of (log10 X) replaced with (log X 10).
8396
8397 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8398
8399 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8400 Declare with `defvar-local'.
8401 (tabulated-list-use-header-line, tabulated-list-entries)
8402 (tabulated-list-padding, tabulated-list-printer)
8403 (tabulated-list-sort-key): Declare with `defvar-local'.
8404 (tabulated-list-init-header, tabulated-list-print-fake-header):
8405 Use `setq-local'.
8406
8407 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8408
8409 * arc-mode.el (archive-mode): Add `archive-write-file' to
8410 `write-contents-functions' also for remote files. (Bug#14652)
8411
8412 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8413
8414 * cus-edit.el (custom-commands): Fix typos.
8415 (custom-display): Fix tooltip text.
8416 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8417 Fix typos in docstrings.
8418 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8419 (custom-unlispify-menu-entry, custom-magic-value-create)
8420 (custom-add-see-also, custom-group-value-create): Use ?\s.
8421 (custom-guess-type, customize-apropos, editable-field)
8422 (custom-face-value-create): Use `string-match-p'.
8423 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8424
8425 * custom.el (custom-load-symbol): Use `string-match-p'.
8426
8427 * ansi-color.el: Convert to lexical binding.
8428 (ansi-colors): Fix URL.
8429 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8430 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8431 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8432
8433 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8434
8435 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8436
8437 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8438
8439 2013-06-19 Tom Tromey <tromey@redhat.com>
8440
8441 * net/eww.el (eww-top-url): Remove.
8442 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8443 (eww-render): Set new variables. Don't set eww-top-url.
8444 (eww-handle-link): Handle "prev", "home", and "contents".
8445 Downcase the rel text.
8446 (eww-top-url): Choose best top URL.
8447
8448 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8449
8450 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8451 relying in widget.el. Using widget.el leads to too many
8452 user interface inconsistencies.
8453 (eww-self-insert): Implement entering commands in text fields.
8454 (eww-process-text-input): New function to make text input field editing
8455 work.
8456 (eww-submit): Rewrite to use the new-style form methods.
8457 (eww-select-display): Display the correct selected item.
8458 (eww-change-select): Implement changing the select value.
8459 (eww-toggle-checkbox): Implement radio/checkboxes.
8460 (eww-update-field): Fix compilation error.
8461 (eww-tag-textarea): Implement <textarea>.
8462
8463 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8464 we don't shadow mode-specific bindings.
8465
8466 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8467 nothing to push.
8468
8469 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8470
8471 2013-06-19 Glenn Morris <rgm@gnu.org>
8472
8473 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8474
8475 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8476
8477 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8478 not needed.
8479
8480 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8481
8482 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8483
8484 * net/browse-url.el (browse-url-browser-function):
8485 `eww-browse-url' has the right calling signature, `eww' does not.
8486
8487 2013-06-19 Glenn Morris <rgm@gnu.org>
8488
8489 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8490 Only eval autoloaded macros.
8491 (byte-compile-autoload): Only give the macro warning for macros.
8492
8493 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8494 (ps-underlined-faces): Declare.
8495
8496 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8497 (speedbar-add-supported-extension): Declare.
8498
8499 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8500 Don't include a date stamp in the header of the generated file;
8501 it leads to needless differences between output files.
8502
8503 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8504
8505 * net/secrets.el (secrets-struct-secret-content-type):
8506 Replace check of introspection data by a test call of "CreateItem".
8507 Some servers do not offer introspection.
8508
8509 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 * electric.el (electric-pair-mode): Improve interaction with
8512 electric-layout-mode.
8513 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8514 (electric-pair-syntax): Use text-mode-syntax-table in comments
8515 and strings.
8516 (electric-pair--insert): New function.
8517 (electric-pair-post-self-insert-function): Use it and
8518 electric--after-char-pos.
8519
8520 2013-06-19 Leo Liu <sdl.web@gmail.com>
8521
8522 * progmodes/octave.el (octave-help): Fix regexp.
8523
8524 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8525
8526 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8527 (shr-table-horizontal-line): Allow nil as a value, and change the
8528 default.
8529 (shr-insert-table-ruler): Respect the nil value.
8530
8531 2013-06-18 Tom Tromey <tromey@barimba>
8532
8533 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8534 New defvars.
8535 (eww-open-file): New defun.
8536 (eww-render): Initialize new variables.
8537 (eww-display-html): Handle "link" and "a".
8538 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8539 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8540 (eww-back-url): Rename from eww-previous-url.
8541 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8542 New defuns.
8543
8544 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8545
8546 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8547 Distinguish ternary operator tokens from slash symbol and slash
8548 char literal.
8549
8550 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8551
8552 Convert symbol prettification into minor mode and global minor mode.
8553
8554 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8555 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8556 (prettify-symbols--keywords): Rename from
8557 `prog-prettify-symbols-alist' and make a local defvar.
8558 (prettify-symbols--compose-symbol): Rename from
8559 `prog--prettify-font-lock-compose-symbol'.
8560 (prettify-symbols--make-keywords): Rename from
8561 `prog-prettify-font-lock-symbols-keywords' and simplify.
8562 (prog-prettify-install): Remove.
8563 (prettify-symbols-mode): New minor mode, based on
8564 `prog-prettify-install'.
8565 (turn-on-prettify-symbols-mode): New function.
8566 (global-prettify-symbols-mode): New globalized minor mode.
8567
8568 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8569 * progmodes/cfengine.el (cfengine3-mode):
8570 * progmodes/perl-mode.el (perl-mode): Don't call
8571 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8572
8573 2013-06-18 Juri Linkov <juri@jurta.org>
8574
8575 * files-x.el (modify-file-local-variable-message): New function.
8576 (modify-file-local-variable)
8577 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8578 and call `modify-file-local-variable-message' when it's non-nil.
8579 (add-file-local-variable, delete-file-local-variable)
8580 (add-file-local-variable-prop-line)
8581 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8582 and use it. (Bug#9820)
8583
8584 2013-06-18 Juri Linkov <juri@jurta.org>
8585
8586 * emulation/vi.el (vi-shell-op):
8587 * emulation/vip.el (vip-execute-com, ex-command):
8588 * emulation/viper-cmd.el (viper-exec-bang):
8589 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8590 the call of `shell-command-on-region'. (Bug#14637)
8591
8592 * simple.el (shell-command-on-region): Doc fix.
8593
8594 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8595
8596 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8597 (bug#14633).
8598
8599 2013-06-18 Glenn Morris <rgm@gnu.org>
8600
8601 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8602
8603 * newcomment.el (comment-search-forward, comment-search-backward):
8604 Doc fix. (Bug#14376)
8605
8606 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8607
8608 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8609 (buffer-face-mode-invoke): Doc fix.
8610
8611 2013-06-18 Matthias Meulien <orontee@gmail.com>
8612
8613 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8614 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8615
8616 2013-06-18 Glenn Morris <rgm@gnu.org>
8617
8618 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8619 Replace obsolete function generic-make-keywords with its expansion.
8620
8621 * progmodes/python.el (ffap-alist): Declare.
8622
8623 * textmodes/reftex.el (bibtex-mode-map): Declare.
8624
8625 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8626
8627 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8628 (package-unpack, package-unpack-single): Return the pkg-dir.
8629 (package-download-transaction): Use it to update package-alist.
8630
8631 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8632
8633 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8634 possible choice.
8635
8636 2013-06-17 Juri Linkov <juri@jurta.org>
8637
8638 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8639
8640 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8641
8642 * emacs-lisp/package.el (package-load-descriptor):
8643 Remove `with-syntax-table' call, `read' doesn't need it.
8644 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8645
8646 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8647
8648 * startup.el (command-line): Expand package name returned by
8649 `package--description-file' (bug#14639).
8650
8651 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8652
8653 * emacs-lisp/package.el (package-load-descriptor): Do not call
8654 `emacs-lisp-mode', just use its syntax table.
8655
8656 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8657
8658 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8659 `font-lock-extra-managed-props' if any prettifying keyword is added.
8660 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8661 (prog-mode): Use `setq-local'.
8662
8663 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * international/characters.el (standard-case-table): Set syntax of ?»
8666 and ?« to punctuation.
8667
8668 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8669
8670 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8671 Save relevant match data before calling `syntax-ppss' (bug#14595).
8672
8673 2013-06-15 Juri Linkov <juri@jurta.org>
8674
8675 * files-x.el (modify-file-local-variable-prop-line): Add local
8676 variables to the end of the existing comment on the first line.
8677 Use `file-auto-mode-skip' to skip interpreter magic line,
8678 and also skip XML declaration.
8679
8680 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * startup.el (package--builtin-versions): New var.
8683 (package-subdirectory-regexp): Remove.
8684 (package--description-file): Hard code its value instead.
8685
8686 * emacs-lisp/package.el: Don't activate packages older than builtin.
8687 (package-obsolete-list): Rename from package-obsolete-alist, and make
8688 it into a simple list of package-desc.
8689 (package-strip-version): Remove.
8690 (package-built-in-p): Use package--builtin-versions.
8691 (package-mark-obsolete): Simplify.
8692 (package-process-define-package): Mark it obsolete if older than the
8693 builtin version.
8694 (package-handle-response): Use line-end-position.
8695 (package-read-archive-contents, package--download-one-archive):
8696 Simplify.
8697 (package--add-to-archive-contents): Skip if older than the builtin or
8698 installed version.
8699 (package-menu-describe-package): Fix last change.
8700 (package-list-unversioned): New var.
8701 (package-menu--generate): Use it.
8702
8703 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8704 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8705 (autoload-builtin-package-versions): New variable.
8706 (autoload-generate-file-autoloads): Use them.
8707 Remove the list of autoloaded functions/macros from the
8708 (autoload...) comments.
8709
8710 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8711
8712 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8713
8714 * simple.el (line-move-partial): Don't jump to the next screen
8715 line as soon as it becomes visible. Instead, continue enlarging
8716 the vscroll until the portion of a tall screen line that's left on
8717 display is about the height of the frame's default font.
8718 (Bug#14567)
8719
8720 2013-06-15 Glenn Morris <rgm@gnu.org>
8721
8722 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8723 compilation-error-regexp-alist void, or local while let-bound.
8724
8725 * progmodes/make-mode.el (makefile-mode-syntax-table):
8726 Treat "=" as punctuation. (Bug#14614)
8727
8728 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8729
8730 * help-fns.el (describe-variable):
8731 Add extra line for permanent-local variables.
8732
8733 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8734
8735 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8736 Add export, import, library. (Bug#9164)
8737 (library): Set indent function.
8738
8739 2013-06-14 Glenn Morris <rgm@gnu.org>
8740
8741 * term/xterm.el (xterm--query):
8742 Stop after first matching handler. (Bug#14615)
8743
8744 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8745
8746 Add support for dired in saveplace.
8747 * dired.el (dired-initial-position-hook): New variable.
8748 (dired-initial-position): Call hook to place cursor position.
8749 * saveplace.el (save-place-to-alist): Add dired position.
8750 (save-place-dired-hook): New function.
8751
8752 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8753
8754 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8755 through a symbol rather than letrec.
8756
8757 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8758 (package-desc): Add `dir' field.
8759 (package-desc-full-name): New function.
8760 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8761 (package-maybe-load-descriptor): Remove.
8762 (package-load-all-descriptors): Just call package-load-descriptor.
8763 (package--disabled-p): New function.
8764 (package-desc-vers, package-desc-doc): Remove aliases.
8765 (package--dir): Remove function.
8766 (package-activate): Check if a package is disabled.
8767 (package-process-define-package): New function, extracted from
8768 define-package.
8769 (define-package): Turn into a place holder.
8770 (package-unpack-single, package-tar-file-info):
8771 Use package--description-file.
8772 (package-compute-transaction): Use package--disabled-p.
8773 (package-download-transaction): Don't call
8774 package-maybe-load-descriptor since they're all loaded anyway.
8775 (package-install): Change argument to be a pkg-desc.
8776 (package-delete): Use a single pkg-desc argument.
8777 (describe-package-1): Use package-desc-dir instead of package--dir.
8778 Use package-desc property instead of package-symbol.
8779 (package-install-button-action): Adjust accordingly.
8780 (package--push): Rewrite.
8781 (package-menu--print-info): Adjust accordingly. Change the ID format
8782 to be a pkg-desc.
8783 (package-menu-describe-package, package-menu-get-status)
8784 (package-menu--find-upgrades, package-menu-mark-upgrades)
8785 (package-menu-execute, package-menu--name-predicate):
8786 Adjust accordingly.
8787 * startup.el (package--description-file): New function.
8788 (command-line): Use it.
8789 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8790 Use package-desc-version.
8791
8792 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8793 (byte-compile-preprocess): Use it.
8794 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8795 can't quite recognize.
8796 (byte-compile-add-to-list): Remove.
8797 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8798 (cconv-closure-convert): Add assertion.
8799
8800 * emacs-lisp/map-ynp.el: Use lexical-binding.
8801 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8802 Factor out some repeated code.
8803
8804 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8805
8806 * subr.el (with-eval-after-load): New macro.
8807 (eval-after-load): Allow form to be a function.
8808 take advantage of lexical-binding.
8809 (do-after-load-evaluation): Use dolist and adjust to new format.
8810 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8811
8812 2013-06-13 Juri Linkov <juri@jurta.org>
8813
8814 * replace.el (perform-replace): Display "symbol " and other search
8815 modes from `isearch-message-prefix' in the *Help* buffer.
8816
8817 * isearch.el (isearch-query-replace): Add " symbol" and other
8818 possible search modes from `isearch-message-prefix' to the prompt.
8819 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8820 when reading a regexp to collect.
8821
8822 2013-06-13 Juri Linkov <juri@jurta.org>
8823
8824 * isearch.el (word-search-regexp): Match whitespace if the search
8825 string begins or ends in whitespace. The LAX arg is applied to
8826 both ends of the search string. Use `regexp-quote' and explicit
8827 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8828 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8829 boundaries are replaced with symbol boundaries, and characters
8830 between symbols match non-word non-symbol syntax. (Bug#14602)
8831
8832 2013-06-13 Juri Linkov <juri@jurta.org>
8833
8834 * isearch.el (isearch-del-char): Don't exceed the length of
8835 `isearch-string' by the prefix arg. (Bug#14563)
8836
8837 2013-06-13 Juri Linkov <juri@jurta.org>
8838
8839 * isearch.el (isearch-yank-word, isearch-yank-line)
8840 (isearch-char-by-name, isearch-quote-char)
8841 (isearch-printing-char, isearch-process-search-char):
8842 Add optional count prefix arg. (Bug#14563)
8843
8844 * international/isearch-x.el
8845 (isearch-process-search-multibyte-characters):
8846 Add optional count prefix arg.
8847
8848 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8849
8850 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8851 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8852 lexical-binding.
8853
8854 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8855
8856 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8857
8858 2013-06-13 Glenn Morris <rgm@gnu.org>
8859
8860 * startup.el (tty-handle-args):
8861 Don't just discard "--" and anything after. (Bug#14608)
8862
8863 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8864
8865 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8866
8867 Implement changes in Secret Service API. Make it backward compatible.
8868 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8869 (secrets-create-item): Use it. Prefix properties with interface.
8870
8871 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8872
8873 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8874 (term-emulate-terminal): Respect term-suppress-hard-newline.
8875
8876 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8877
8878 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8879 Only remove a `thumb-file' overlay. (Bug#14548)
8880
8881 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8882
8883 * mail/reporter.el (reporter-submit-bug-report):
8884 Handle missing package-name. (Bug#14600)
8885
8886 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8887
8888 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8889 (reftex-citation-prompt, reftex-default-bibliography)
8890 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8891 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8892 (reftex-bib-sort-author, reftex-bib-sort-year)
8893 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8894 (reftex-extract-bib-entries-from-thebibliography)
8895 (reftex-get-bibkey-default, reftex-get-bib-names)
8896 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8897 (reftex-format-bib-entry, reftex-parse-bibitem)
8898 (reftex-format-bibitem, reftex-do-citation)
8899 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8900 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8901 (reftex-insert-bib-matches, reftex-format-citation)
8902 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8903 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8904 existing comments into docstrings.
8905
8906 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8907
8908 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8909
8910 2013-06-12 Andreas Schwab <schwab@suse.de>
8911
8912 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8913 for auto-save files.
8914
8915 2013-06-12 Glenn Morris <rgm@gnu.org>
8916
8917 * ido.el (ido-delete-ignored-files): Remove.
8918 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8919 Go back to calling ido-ignore-item-p directly.
8920
8921 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8922
8923 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8924
8925 * ido.el (ido-delete-ignored-files): New function,
8926 split from ido-make-file-list-1.
8927 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8928 (ido-make-file-list-1): Use ido-delete-ignored-files.
8929
8930 2013-06-12 Leo Liu <sdl.web@gmail.com>
8931
8932 * progmodes/octave.el (inferior-octave-startup)
8933 (inferior-octave-completion-table)
8934 (inferior-octave-track-window-width-change)
8935 (octave-eldoc-function-signatures, octave-help)
8936 (octave-find-definition): Use single quoted strings.
8937 (inferior-octave-startup-args): Change default value.
8938 (inferior-octave-startup): Do not hard code "-i" and
8939 "--no-line-editing".
8940 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8941 (inferior-octave-directory-tracker): Use it.
8942 (octave-goto-function-definition): Robustify.
8943 (octave-help): Support highlighting operators in 'See also'.
8944 (octave-find-definition): Find subfunctions only in Octave mode.
8945
8946 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8947
8948 * help-fns.el (help-fns--compiler-macro): If the handler function is
8949 named, then put a link to it.
8950 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8951 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8952 (cl-typep): Use it.
8953 (cl-eval-when): Simplify debug spec.
8954 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8955 compiler-macro function instead of setting `compiler-macro-file'.
8956
8957 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8958
8959 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8960 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8961
8962 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8963 Daniel Hackney <dan@haxney.org>
8964
8965 First part of Daniel Hackney's patch to package.el.
8966 * emacs-lisp/package.el: Use defstruct.
8967 (package-desc): New, main struct.
8968 (package--bi-desc, package--ac-desc): New structs, used to describe the
8969 format in external files.
8970 (package-desc-vers): Replace with package-desc-version accessor.
8971 (package-desc-doc): Replace with package-desc-summary accessor.
8972 (package-activate-1): Remove `package' arg since the pkg-vec now
8973 includes the name.
8974 (define-package): Use package-desc-from-define.
8975 (package-unpack-single): Change file-name arg to be a symbol.
8976 (package--add-to-archive-contents): Use package-desc-create and new
8977 accessor functions to package--ac-desc.
8978 (package-buffer-info, package-tar-file-info): Return a package-desc.
8979 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8980 arg to be a package-desc.
8981 (package-install-file): Adjust accordingly. Use \' to match EOS.
8982 (package--from-builtin): New function.
8983 (describe-package-1, package-menu--generate): Use it.
8984 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8985 (package-generate-autoloads): Idem and return the name of the file.
8986 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8987 Change pkg-info arg to be a package-desc.
8988 Use package-make-ac-desc.
8989 (package-upload-file): Use \' to match EOS.
8990 * finder.el (finder-compile-keywords): Use package-make-builtin.
8991
8992 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8993
8994 * vc/vc.el (vc-deduce-fileset): Change error message.
8995 (vc-read-backend): New function.
8996 (vc-next-action): Use it.
8997
8998 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8999
9000 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9001 (prolog-font-lock-keywords): Use regexp-opt instead.
9002 Don't manually highlight strings.
9003 (prolog-mode-variables): Simplify comment-start-skip.
9004 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9005
9006 * emacs-lisp/generic.el (generic--normalise-comments)
9007 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9008 (generic-mode-set-comments): Use them.
9009 (generic-bracket-support): Use setq-local.
9010 (generic-make-keywords-list): Declare obsolete.
9011
9012 2013-06-11 Glenn Morris <rgm@gnu.org>
9013
9014 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9015 Prettify after setting font-lock-defaults. (Bug#14574)
9016
9017 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9018
9019 * replace.el (query-replace, occur-read-regexp-defaults-function)
9020 (replace-search):
9021 * subr.el (declare-function, number-sequence, local-set-key)
9022 (substitute-key-definition, locate-user-emacs-file)
9023 (with-silent-modifications, split-string, eval-after-load):
9024 Fix typos, remove unneeded backslashes and reflow some docstrings.
9025
9026 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9027
9028 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9029 default for Elisp files.
9030
9031 2013-06-11 Glenn Morris <rgm@gnu.org>
9032
9033 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9034 although define-derived-mode was doing this anyway. (Bug#14583)
9035
9036 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9037
9038 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9039 Fix make-variable-buffer-local call to refer to the correct variable.
9040
9041 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9042
9043 * eshell/em-term.el (eshell-visual-commands)
9044 (eshell-visual-subcommands, eshell-visual-options):
9045 Add summary line to docstrings. Add cross-references.
9046
9047 2013-06-10 Glenn Morris <rgm@gnu.org>
9048
9049 * epa.el (epa-read-file-name): New function. (Bug#14510)
9050 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9051
9052 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9053
9054 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9055 output redirection to be ignored with visual commands.
9056
9057 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9058
9059 * eshell/em-term.el (eshell-visual-command-p): New function.
9060 (eshell-term-initialize): Move long lambda to separate function
9061 eshell-visual-command-p.
9062 * eshell/em-dirs.el (eshell-dirs-initialise):
9063 * eshell/em-script.el (eshell-script-initialize):
9064 Add missing #' to lambda.
9065
9066 2013-06-08 Leo Liu <sdl.web@gmail.com>
9067
9068 * progmodes/octave.el (octave-add-log-current-defun): New function.
9069 (octave-mode): Set add-log-current-defun-function.
9070 (octave-goto-function-definition): Do not move point if not found.
9071 (octave-find-definition): Enhance to try subfunctions first.
9072
9073 2013-06-08 Glenn Morris <rgm@gnu.org>
9074
9075 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9076 (byte-compile-backward-char, byte-compile-backward-word):
9077 Improve previous change, to handle non-explicit nil.
9078
9079 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9080
9081 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9082 (smie--opener/closer-at-point): New function.
9083 (smie--matching-block-data): Use it. Don't match from right after an
9084 opener or right before a closer. Obey smie-blink-matching-inners.
9085 Don't signal a mismatch for repeated inners like "switch..case..case".
9086
9087 2013-06-07 Leo Liu <sdl.web@gmail.com>
9088
9089 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9090 to t. (Bug#14303)
9091 (octave-function-header-regexp): Fix. (Bug#14570)
9092 (octave-help-mode-finish-hook, octave-help-mode-finish):
9093 Remove. Just use temp-buffer-show-hook.
9094
9095 * newcomment.el (comment-search-backward): Revert last change.
9096 (Bug#14434)
9097
9098 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9099
9100 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9101
9102 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9103 through xargs, to avoid failure due to MS-Windows limitations on
9104 command-line length.
9105
9106 2013-06-06 Glenn Morris <rgm@gnu.org>
9107
9108 * font-lock.el (lisp-font-lock-keywords-2):
9109 Treat user-error like error.
9110
9111 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9112 (byte-compile-backward-char, byte-compile-backward-word):
9113 Handle explicit nil arguments. (Bug#14565)
9114
9115 2013-06-05 Alan Mackenzie <acm@muc.de>
9116
9117 * isearch.el (isearch-allow-prefix): New user option.
9118 (isearch-other-meta-char): Don't exit isearch when a prefix
9119 argument is typed whilst `isearch-allow-prefix' is non-nil.
9120 (Bug#9706)
9121
9122 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9123
9124 * autorevert.el (auto-revert-notify-handler): Use memq.
9125 Hide assertion failure.
9126
9127 * skeleton.el: Use cl-lib.
9128 (skeleton-further-elements): Use defvar-local.
9129 (skeleton-insert): Use cl-progv.
9130
9131 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9132
9133 * progmodes/prog-mode.el (prog-prettify-symbols)
9134 (prog-prettify-install): Update docstrings.
9135
9136 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9137
9138 * simple.el: Move all the prog-mode code to prog-mode.el.
9139 * progmodes/prog-mode.el: New file.
9140 * loadup.el: Add prog-mode.el.
9141
9142 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9143
9144 * simple.el (prog-prettify-symbols): Add version.
9145 (prog-prettify-install): Add convenience function to prettify symbols.
9146
9147 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9148 (perl--augmented-font-lock-keywords-1)
9149 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9150 variables and use it.
9151
9152 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9153 (cfengine3-mode): Remove unneeded variable and use it.
9154
9155 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9156 (lisp--augmented-font-lock-keywords-1)
9157 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9158 Remove unneeded variables and use it.
9159
9160 2013-06-05 João Távora <joaotavora@gmail.com>
9161
9162 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9163 to point when opening the connection. (Bug#14380)
9164
9165 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9166
9167 * subr.el (load-history-regexp, load-history-filename-element)
9168 (eval-after-load, after-load-functions, do-after-load-evaluation)
9169 (eval-next-after-load, display-delayed-warnings)
9170 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9171 definition of save-match-data.
9172 (overriding-local-map): Remove accidental obsolescence declaration.
9173
9174 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9175
9176 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9177
9178 Generalize symbol prettify support to prog-mode and implement it
9179 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9180 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9181 (prog--prettify-font-lock-compose-symbol)
9182 (prog-prettify-font-lock-symbols-keywords): New variables and
9183 functions to support symbol prettification.
9184 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9185 (lisp--augmented-font-lock-keywords-1)
9186 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9187 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9188 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9189 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9190 Implement prettify of -> => :: strings.
9191 * progmodes/perl-mode.el (perl-prettify-symbols)
9192 (perl--font-lock-compose-symbol)
9193 (perl--font-lock-symbols-keywords): Move to prog-mode.
9194 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9195 (perl-font-lock-keywords-1)
9196 (perl-font-lock-keywords-2): Remove explicit prettify support.
9197 (perl--augmented-font-lock-keywords)
9198 (perl--augmented-font-lock-keywords-1)
9199 (perl--augmented-font-lock-keywords-2, perl-mode):
9200 Implement prettify support.
9201
9202 2013-06-05 Leo Liu <sdl.web@gmail.com>
9203
9204 Re-implement smie matching block highlight using
9205 show-paren-data-function. (Bug#14395)
9206 * emacs-lisp/smie.el (smie-matching-block-highlight)
9207 (smie--highlight-matching-block-overlay)
9208 (smie--highlight-matching-block-lastpos)
9209 (smie-highlight-matching-block)
9210 (smie-highlight-matching-block-mode): Remove.
9211 (smie--matching-block-data-cache): New variable.
9212 (smie--matching-block-data): New function.
9213 (smie-setup): Use smie--matching-block-data for
9214 show-paren-data-function.
9215
9216 * progmodes/octave.el (octave-mode-menu): Fix.
9217 (octave-find-definition): Skip garbage lines.
9218
9219 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9220
9221 Fix compilation error with simultaneous dynamic+lexical scoping.
9222 Add warning when a defvar appears after the first let-binding.
9223 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9224 (byte-compile-close-variables): Initialize it.
9225 (byte-compile--declare-var): New function.
9226 (byte-compile-file-form-defvar)
9227 (byte-compile-file-form-define-abbrev-table)
9228 (byte-compile-file-form-custom-declare-variable): Use it.
9229 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9230 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9231 (byte-compile-bind): Handle dynamic bindings that shadow
9232 lexical bindings.
9233 (byte-compile-unbind): Make arg non-optional.
9234 (byte-compile-let): Simplify.
9235 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9236 (cconv--analyse-function, cconv-analyse-form): Populate it.
9237 Protect byte-compile-bound-variables to limit the scope of defvars.
9238 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9239 Remove unneeded rule for `declare'.
9240
9241 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9242 so as to avoid depending on cl-adjoin at run-time.
9243 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9244
9245 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9246 (macroexp--warn-and-return): Use it.
9247
9248 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9249
9250 * subr.el: Convert to lexical binding.
9251 (overriding-local-map): Make obsolete.
9252 (add-to-list): Doc fix. Add compiler macro.
9253 (read-key): Swap values of local maps.
9254
9255 2013-06-05 Leo Liu <sdl.web@gmail.com>
9256
9257 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9258
9259 2013-06-04 Leo Liu <sdl.web@gmail.com>
9260
9261 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9262 (compilation-auto-jump): Suppress the "Mark set" message to give
9263 way to exit message.
9264
9265 2013-06-04 Alan Mackenzie <acm@muc.de>
9266
9267 Remove faulty optimisation from indentation calculation.
9268 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9269 search limit based on 2000 characters back from indent-point.
9270
9271 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9272
9273 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9274
9275 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9276
9277 * emacs-lisp/lisp.el: Use lexical-binding.
9278 (lisp--local-variables-1, lisp--local-variables): New functions.
9279 (lisp--local-variables-completion-table): New var.
9280 (lisp-completion-at-point): Use it complete let-bound vars.
9281
9282 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9283 eagerly (bug#14422).
9284
9285 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9286
9287 * autorevert.el (auto-revert-notify-enabled)
9288 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9289 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9290 (auto-revert-notify-handler): Handle also gfilenotify.
9291
9292 * subr.el (file-notify-handle-event): New defun. Replacing ...
9293 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9294 Remove.
9295
9296 2013-06-03 Juri Linkov <juri@jurta.org>
9297
9298 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9299 `M-s h .'. (Bug#14427)
9300
9301 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9302 command `hi-lock-face-symbol-at-point'.
9303 (hi-lock-face-symbol-at-point): New command.
9304 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9305 (hi-lock-menu): Add `highlight-symbol-at-point'.
9306 (hi-lock-mode): Doc fix.
9307
9308 * isearch.el (isearch-forward-symbol-at-point): New command.
9309 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9310 (isearch-highlight-regexp): Add a regexp which matches
9311 words/symbols for word/symbol mode.
9312
9313 * subr.el (find-tag-default-bounds): New function with the body
9314 mostly moved from `find-tag-default'.
9315 (find-tag-default): Move most code to `find-tag-default-bounds',
9316 call it and apply `buffer-substring-no-properties' afterwards.
9317
9318 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9319
9320 * eshell/em-term.el (eshell-term-initialize):
9321 Use `cl-intersection' rather than `intersection'.
9322
9323 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9324
9325 * vc/log-view.el: Doc fix.
9326 (log-view-mode-map): Copy keymap from `special-mode-map'.
9327
9328 2013-06-02 Eric Ludlam <zappo@gnu.org>
9329
9330 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9331 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9332 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9333 (eieio-unbound, eieio-default-superclass)
9334 (eieio--define-field-accessors, method-static, method-before)
9335 (method-primary, method-after, method-num-lists)
9336 (method-generic-before, method-generic-primary)
9337 (method-generic-after, method-num-slots)
9338 (eieio-specialized-key-to-generic-key)
9339 (eieio--check-type, class-v, class-p)
9340 (eieio-class-name, define-obsolete-function-alias)
9341 (eieio-class-parents-fast, eieio-class-children-fast)
9342 (same-class-fast-p, class-constructor, generic-p)
9343 (generic-primary-only-p, generic-primary-only-one-p)
9344 (class-option-assoc, class-option, eieio-object-p)
9345 (class-abstract-p, class-method-invocation-order)
9346 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9347 (eieio-class-un-autoload, eieio-defclass)
9348 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9349 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9350 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9351 (eieio-defgeneric-reset-generic-form)
9352 (eieio-defgeneric-form-primary-only)
9353 (eieio-defgeneric-reset-generic-form-primary-only)
9354 (eieio-defgeneric-form-primary-only-one)
9355 (eieio-defgeneric-reset-generic-form-primary-only-one)
9356 (eieio-unbind-method-implementations)
9357 (eieio--defmethod, eieio--typep)
9358 (eieio-perform-slot-validation, eieio-validate-slot-value)
9359 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9360 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9361 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9362 (eieio-slot-name-index, eieio-class-slot-name-index)
9363 (eieio-set-defaults, eieio-initarg-to-attribute)
9364 (eieio-attribute-to-initarg, eieio-c3-candidate)
9365 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9366 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9367 (eieio-class-precedence-list, eieio-generic-call-methodname)
9368 (eieio-generic-call-arglst, eieio-generic-call-key)
9369 (eieio-generic-call-next-method-list)
9370 (eieio-pre-method-execution-functions, eieio-generic-call)
9371 (eieio-generic-call-primary-only, eieiomt-method-list)
9372 (eieiomt-optimizing-obarray, eieiomt-install)
9373 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9374 (eieio-generic-form, eieio-defmethod, make-obsolete)
9375 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9376 (defclass): Remove `eval-and-compile' from macro.
9377 (call-next-method, shared-initialize): Instead of using
9378 `scoped-class' variable, use new eieio--scoped-class, and
9379 eieio--with-scoped-class.
9380 (initialize-instance): Rename local variable 'scoped-class' to
9381 'this-class' to remove ambiguitity from old global.
9382
9383 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9384 eieio.el.
9385 (eieio--scoped-class-stack): New variable.
9386 (eieio--scoped-class): New fcn.
9387 (eieio--with-scoped-class): New scoping macro.
9388 (eieio-defclass): Use pushnew instead of add-to-list.
9389 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9390 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9391 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9392 `scoped-class' variable, use new eieio--scoped-class, and
9393 eieio--with-scoped-class.
9394
9395 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9396
9397 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9398
9399 * eshell/esh-ext.el (eshell-external-command): Pass args to
9400 `eshell-find-interpreter'.
9401 (eshell-find-interpreter): Add new second parameter ARGS.
9402
9403 * eshell/em-script.el (eshell-script-initialize): Add second arg
9404 to the function added as MATCH to `eshell-interpreter-alist'.
9405
9406 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9407 the function added as MATCH to `eshell-interpreter-alist'.
9408
9409 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9410 (eshell-visual-options): New defcustom.
9411 (eshell-escape-control-x): Adapt docstring.
9412 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9413 `eshell-visual-options' in addition to `eshell-visual-commands'.
9414 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9415
9416 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9417
9418 * progmodes/python.el (python-indent-block-enders): Add break,
9419 continue and raise keywords.
9420
9421 2013-06-01 Glenn Morris <rgm@gnu.org>
9422
9423 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9424
9425 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9426 * progmodes/cc-cmds.el (delete-forward-p):
9427 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9428 * progmodes/cc-engine.el (buffer-syntactic-context):
9429 * progmodes/cc-fonts.el (face-property-instance):
9430 * progmodes/cc-mode.el (set-keymap-parents):
9431 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9432 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9433 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9434 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9435 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9436
9437 * progmodes/cc-vars.el (other): Emacs has this widget since
9438 at least 21.1, so don't (re)define it.
9439
9440 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9441 Replace the obsolete alias pcomplete-arg-quote-list.
9442
9443 2013-06-01 Leo Liu <sdl.web@gmail.com>
9444
9445 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9446 punctuation syntax.
9447 (inferior-octave-minimal-columns)
9448 (inferior-octave-last-column-width): New variables.
9449 (inferior-octave-track-window-width-change): New function.
9450 (inferior-octave-mode): Adjust column width so that Octave output,
9451 for example from 'ls', can fit into the window nicely.
9452
9453 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9454
9455 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9456 Highlight expansions inside regexp literals.
9457
9458 2013-05-31 Glenn Morris <rgm@gnu.org>
9459
9460 * obsolete/sym-comp.el (symbol-complete):
9461 Replace obsolete completion-annotate-function.
9462
9463 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9464
9465 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9466
9467 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9468 New function, checks if point is inside a literal that allows
9469 expression expansion.
9470 (ruby-syntax-propertize-expansion): Use it.
9471 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9472 around the body.
9473
9474 2013-05-30 Juri Linkov <juri@jurta.org>
9475
9476 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9477 to "\M-si".
9478 (isearch-invisible): New variable.
9479 (isearch-forward): Doc fix.
9480 (isearch-mode): Set `isearch-invisible'
9481 to the value of `search-invisible'.
9482 (isearch-toggle-case-fold): Doc fix.
9483 (isearch-toggle-invisible): New command.
9484 (isearch-query-replace): Let-bind `search-invisible'
9485 to the value of `isearch-invisible'.
9486 (isearch-search): Use `isearch-invisible' instead of
9487 `search-invisible'. Let-bind `search-invisible'
9488 to the value of `isearch-invisible'. (Bug#11378)
9489
9490 2013-05-30 Juri Linkov <juri@jurta.org>
9491
9492 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9493 call when `query-flag' is nil and `search-invisible' is non-nil.
9494 (Bug#11746)
9495
9496 2013-05-30 Glenn Morris <rgm@gnu.org>
9497
9498 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9499
9500 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9501 (cc-require): Suppress spurious "noruntime" warnings.
9502 (cc-require-when-compile): Use fboundp, for sake of compiler.
9503
9504 * progmodes/cc-mode.el: Move load of cc-vars before that of
9505 cc-langs (which in turn loads cc-vars), to quieten compiler.
9506
9507 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9508
9509 * paren.el: Simplify the code.
9510 (show-paren-mode): Always start the timer.
9511 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9512 (show-paren--overlay, show-paren--overlay-1): Rename from
9513 show-paren-overlay and show-paren-overlay-1, and initialize to an
9514 overlay rather than to nil.
9515 (show-paren-function): Misc cleanup and simplifications.
9516
9517 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * paren.el (show-paren-data-function): New hook.
9520 (show-paren--default): New function, extracted from show-paren-function.
9521 (show-paren-function): Use show-paren-data-function.
9522
9523 2013-05-30 Glenn Morris <rgm@gnu.org>
9524
9525 * ielm.el (ielm-map, ielm-complete-symbol):
9526 Use completion-at-point rather than obsolete functions.
9527 (inferior-emacs-lisp-mode): Doc fix.
9528 Set completion-at-point-functions, rather than
9529 comint-dynamic-complete-functions.
9530
9531 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9532 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9533 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9534
9535 * image.el (image-animated-p): Tweak definition.
9536
9537 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9538 (rlogin-process-connection-type): Tweak default. Add set-after.
9539 (rlogin-host): Doc fix.
9540 (rlogin): Tweak prompt.
9541 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9542
9543 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9544 * progmodes/tcl.el (inferior-tcl-mode-map):
9545 Use completion-at-point rather than obsolete alias.
9546
9547 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9548
9549 * minibuffer.el (read-file-name-completion-ignore-case):
9550 Move before completion--in-region, for eager macro expansion.
9551
9552 2013-05-29 Juri Linkov <juri@jurta.org>
9553
9554 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9555 for total count of matching lines. Add `global-matches' for total
9556 count of matches. Rename `matches' to `lines' for count of
9557 matching lines. Add `matches' for count of matches.
9558 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9559 to `prev-line' for line number of prev match endpt.
9560 Increment `matches' for every match. Print the number of
9561 matching lines in the header.
9562 (occur-context-lines): Rename `lines' to `curr-line'.
9563 Rename `prev-lines' to `prev-line'. (Bug#14017)
9564
9565 2013-05-29 Juri Linkov <juri@jurta.org>
9566
9567 * replace.el (perform-replace): Add `skip-read-only-count',
9568 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9569 Increment them for corresponding conditions and report the number
9570 of skipped occurrences in the final message. (Bug#11746)
9571 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9572 (replace-string, replace-regexp): Doc fix.
9573
9574 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9575
9576 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9577
9578 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9579 prog-mode-map (bug#14504).
9580
9581 2013-05-29 Leo Liu <sdl.web@gmail.com>
9582
9583 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9584 (octave-help): Small simplification.
9585
9586 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9587 off the highlight first.
9588
9589 2013-05-29 Glenn Morris <rgm@gnu.org>
9590
9591 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9592 Handle idlwave-last-system-routine-info-cons-cell being nil.
9593
9594 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9595 (idlwave-write-paths): Simplify via with-temp-buffer.
9596
9597 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9598 * emulation/cua-rect.el: Also load cua-base at run time.
9599
9600 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9601 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9602 (cperl-imenu-on-info): Require imenu.
9603
9604 2013-05-28 Alan Mackenzie <acm@muc.de>
9605
9606 Handle "capitalised keywords" correctly.
9607 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9608
9609 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9610
9611 * eshell/em-unix.el: Add -r option to cp.
9612
9613 2013-05-28 Glenn Morris <rgm@gnu.org>
9614
9615 * vc/vc-arch.el (vc-exec-after): Declare.
9616 (vc-switches): Autoload.
9617 * vc/vc-bzr.el: No need to require vc when compiling.
9618 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9619 (vc-resynch-buffer, vc-dir-refresh): Declare.
9620 (vc-setup-buffer, vc-switches): Autoload.
9621 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9622 (vc-resynch-buffer): Declare.
9623 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9624 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9625 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9626 (grep-read-regexp, grep-read-files, grep-expand-template)
9627 (vc-dir-refresh): Declare.
9628 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9629 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9630 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9631 * vc/vc-mtn.el (vc-exec-after): Declare.
9632 (vc-switches): Autoload.
9633 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9634 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9635 (vc-file-tree-walk): Declare.
9636 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9637 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9638 (vc-tag-precondition, vc-rename-master): Autoload.
9639 * vc/vc-svn.el (vc-exec-after): Declare.
9640 (vc-switches, vc-setup-buffer): Autoload.
9641 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9642 Autoload.
9643 (vc-resynch-buffer): Declare.
9644
9645 * obsolete/fast-lock.el (byte-compile-warnings):
9646 Don't warn about obsolete features in this obsolete file.
9647
9648 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9649 Move definition before use.
9650
9651 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9652 (dun-unix-verbs): Remove dun-zippy.
9653 (dun-zippy): Remove function.
9654
9655 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9656
9657 2013-05-27 Juri Linkov <juri@jurta.org>
9658
9659 * replace.el (replace-search): New function with code moved out
9660 from `perform-replace'.
9661 (replace-highlight, replace-dehighlight): Move function definitions
9662 up closer to `replace-search'. (Bug#11746)
9663
9664 2013-05-27 Juri Linkov <juri@jurta.org>
9665
9666 * replace.el (perform-replace): Ignore invisible matches.
9667 In addition to checking `query-replace-skip-read-only', also
9668 filter out matches by calling `run-hook-with-args-until-failure'
9669 on `isearch-filter-predicates', and also check `search-invisible'
9670 for t or call `isearch-range-invisible'.
9671 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9672
9673 2013-05-27 Juri Linkov <juri@jurta.org>
9674
9675 * isearch.el (isearch-filter-predicates): Rename from
9676 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9677 (isearch-message-prefix): Display text from the property
9678 `isearch-message-prefix' of the currently active filters.
9679 (isearch-search): Don't compare `isearch-filter-predicate' with
9680 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9681 on `isearch-filter-predicates'. Also check `search-invisible' for t
9682 or call `isearch-range-invisible'.
9683 (isearch-filter-visible): Make obsolete.
9684 (isearch-lazy-highlight-search):
9685 Call `run-hook-with-args-until-failure' on
9686 `isearch-filter-predicates' and use `isearch-range-invisible'.
9687
9688 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9689 `isearch-filter-predicates' instead of `funcall'ing
9690 `isearch-filter-predicate'.
9691 (Info-mode): Set `Info-isearch-filter' to
9692 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9693
9694 * dired-aux.el (dired-isearch-filter-predicate-orig):
9695 Remove variable.
9696 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9697 (dired-isearch-filenames-end): Add and remove
9698 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9699 instead of changing the value of `isearch-filter-predicate'.
9700 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9701 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9702 Put property `isearch-message-prefix' to "filename " on
9703 `dired-isearch-filter-filenames'.
9704
9705 * wdired.el (wdired-change-to-wdired-mode):
9706 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9707 locally instead of changing `isearch-filter-predicate'.
9708 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9709
9710 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9711
9712 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9713 return the commit hash (Bug#14459). Also set the
9714 `vc-git-detached' property.
9715 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9716 (vc-git-mode-line-string): Use the same help-echo format whether
9717 in detached mode or not, because we know the actual revision now.
9718 When in detached mode, shorten the revision to 7 chars.
9719
9720 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9721
9722 * emacs-lisp/easy-mmode.el (define-minor-mode):
9723 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9724 mode hook and provide a docstring.
9725
9726 2013-05-27 Alan Mackenzie <acm@muc.de>
9727
9728 Remove spurious syntax-table text properties inserted by C-y.
9729 * progmodes/cc-mode.el (c-after-change): Also clear hard
9730 syntax-table property with value nil.
9731
9732 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9733
9734 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9735 when reading the events; the buffer layout shall not be changed.
9736
9737 2013-05-27 Leo Liu <sdl.web@gmail.com>
9738
9739 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9740 New variable.
9741 (inferior-octave-directory-tracker): Automatically re-sync
9742 default-directory.
9743 (octave-help): Improve handling of 'See also'.
9744
9745 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * doc-view.el: Minor naming convention tweaks.
9748 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9749
9750 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9751 even if there's no `display' property yet (bug#14435).
9752
9753 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9754
9755 * subr.el (unmsys--file-name): Rename from reveal-filename.
9756
9757 * Makefile.in (custom-deps, finder-data, autoloads)
9758 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9759 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9760 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9761
9762 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9763
9764 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9765 error-completion on the first 2 args of condition-case (bug#14446).
9766 Don't burp at EOB.
9767
9768 2013-05-25 Leo Liu <sdl.web@gmail.com>
9769
9770 * comint.el (comint-previous-matching-input): Do not flood the
9771 *Messages* buffer with trivial messages.
9772
9773 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9774
9775 * progmodes/flymake.el (flymake-nop): Don't return a string.
9776 (flymake-set-at): Fix typo.
9777
9778 * simple.el (read--expression): New function, extracted from
9779 eval-expression. Set completion-at-point-functions (bug#14465).
9780 (eval-expression, eval-minibuffer): Use it.
9781
9782 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9783
9784 * progmodes/flymake.el (flymake-save-buffer-in-file)
9785 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9786 (flymake-selected-frame, flymake-log, flymake-ins-after)
9787 (flymake-set-at, flymake-get-buildfile-from-cache)
9788 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9789 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9790 Refine the doc string.
9791 (flymake-get-file-name-mode-and-masks): Reformat.
9792 (flymake-get-real-file-name-function): Fix a minor bug.
9793
9794 2013-05-24 Juri Linkov <juri@jurta.org>
9795
9796 * progmodes/grep.el (grep-mode-font-lock-keywords):
9797 Support =linenumber= format used by git-grep for lines with
9798 function names. (Bug#13549)
9799
9800 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9801
9802 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9803 0 after a semi-colon; it works better for smie-auto-fill.
9804 (octave--indent-new-comment-line): New function.
9805 (octave-indent-new-comment-line): Use it (indirectly).
9806 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9807 modify comment-line-break-function.
9808
9809 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9810 (smie-setup): Use add-function to set it.
9811
9812 2013-05-24 Sam Steingold <sds@gnu.org>
9813
9814 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9815 argument (before the `interactive' argument).
9816
9817 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9818
9819 * image-mode.el (image-mode-winprops): Add winprops to
9820 image-mode-winprops-alist before running
9821 image-mode-new-window-functions.
9822 * doc-view.el (doc-view-new-window-function): Don't delay
9823 doc-view-goto-page via timers (bug#14435).
9824
9825 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9826
9827 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9828 (doc-view-desktop-save-buffer): New function.
9829 (doc-view-restore-desktop-buffer): New function.
9830 (desktop-buffer-mode-handlers):
9831 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9832 handler.
9833 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9834 `desktop-save-buffer' function.
9835
9836 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9837
9838 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9839 (tramp-gvfs-file-name-handler): Raise a user error when
9840 `tramp-gvfs-enabled' is nil.
9841 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9842 Do not raise a user error when loading package. (Bug#14447)
9843
9844 * net/xesam.el: Move to obsolete/.
9845
9846 2013-05-24 Glenn Morris <rgm@gnu.org>
9847
9848 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9849
9850 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9851
9852 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9853 (Info-find-node, Man-getpage-in-background): Declare.
9854
9855 * mail/unrmail.el (unrmail):
9856 Replace obsolete detect-coding-with-priority.
9857
9858 * net/socks.el (socks-split-string): Use this rather than split-string.
9859 (socks-nslookup-host): Update for above change.
9860 (dynamic-choice, s5-dynamic-choice-match)
9861 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9862 Comment out unused code.
9863
9864 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9865 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9866 (gud-tooltip-echo-area): Make obsolete.
9867 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9868
9869 * progmodes/js.el (js--optimize-arglist): Declare.
9870
9871 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9872
9873 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9874 (ediff-window-C): Declare.
9875
9876 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9877 Tweak requires to silence compiler.
9878
9879 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9880 (he-search-string, he-tried-table, he-expand-list)
9881 (he-init-string, he-string-member, he-substitute-string)
9882 (he-reset-string): Declare.
9883
9884 * obsolete/options.el (list-options): Use custom-variable-p,
9885 rather than obsolete alias.
9886
9887 2013-05-23 Sam Steingold <sds@gnu.org>
9888
9889 * simple.el (shell-command-on-region): Pass the `replace' argument
9890 down to `call-process-region' to comply with the doc as reported on
9891 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9892
9893 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9894
9895 * emacs-lisp/smie.el (smie-indent-forward-token)
9896 (smie-indent-backward-token): Handle string tokens (bug#14381).
9897
9898 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9899
9900 * ielm.el (ielm-menu): New menu.
9901 (inferior-emacs-lisp-mode): Set comment-start.
9902
9903 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9904
9905 * textmodes/reftex.el (reftex-ref-style-toggle):
9906 Fix deactivate action.
9907
9908 * textmodes/reftex-vars.el (reftex-ref-style-alist):
9909 Add cleveref macros.
9910
9911 * textmodes/reftex-parse.el
9912 (reftex-locate-bibliography-files): Accept options for
9913 bibliography commands.
9914 * textmodes/reftex-vars.el (reftex-bibliography-commands):
9915 Add addbibresource. Basic Biblatex support.
9916
9917 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9918
9919 * net/tramp-gvfs.el (top):
9920 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9921 when loading package. (Bug#14447)
9922
9923 2013-05-23 Glenn Morris <rgm@gnu.org>
9924
9925 * progmodes/js.el: No need to load comint when compiling.
9926 (ring-insert, comint-send-string, comint-send-input)
9927 (comint-last-input-end, ido-chop): Declare.
9928
9929 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9930 * vc/ediff-mult.el: Adjust requires.
9931 (ediff-directories-internal, ediff-directory-revisions-internal)
9932 (ediff-patch-file-internal): Declare.
9933 * vc/ediff-ptch.el: Adjust requires.
9934 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9935 (ediff-find-file): Autoload.
9936 * vc/ediff-util.el: No need to load ediff when compiling.
9937 (ediff-regions-internal): Declare.
9938 * vc/ediff-wind.el: Adjust requires.
9939 (ediff-compute-toolbar-width): Define when compiling.
9940 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9941 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9942 (dired-get-filename, dired-get-marked-files)
9943 (ediff-last-dir-patch, ediff-patch-default-directory)
9944 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9945 (ediff-patch-buffer-internal): Declare.
9946
9947 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9948 (ispell-process, ispell-buffer-local-words, lm-summary)
9949 (lm-section-start, lm-section-end): Declare.
9950 (checkdoc-ispell-init): Simplify.
9951
9952 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9953 (he-string-member, he-reset-string, he-substitute-string): Declare.
9954
9955 * eshell/em-ls.el: Adjust requires.
9956 (eshell-glob-regexp): Declare.
9957 * eshell/em-tramp.el: Adjust requires.
9958 (eshell-parse-command): Autoload.
9959 * eshell/em-xtra.el: Adjust requires.
9960 (eshell-parse-command): Autoload.
9961 * eshell/esh-ext.el: Adjust requires.
9962 (eshell-parse-command, eshell-close-handles): Autoload.
9963 * eshell/esh-io.el: Adjust requires.
9964 (eshell-output-filter): Autoload.
9965 * eshell/esh-util.el: No need to load tramp when compiling.
9966 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9967 Declare.
9968 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9969 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9970 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9971 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9972 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9973 * eshell/esh-opt.el, eshell/esh-proc.el:
9974 * eshell/esh-var.el: Adjust requires.
9975 * eshell/eshell.el: Do not require esh-util twice.
9976 (eshell-add-input-to-history): Declare.
9977 (eshell-command): Check history module is active before using it.
9978
9979 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9980
9981 2013-05-22 Leo Liu <sdl.web@gmail.com>
9982
9983 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9984
9985 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9986
9987 * autorevert.el (auto-revert-notify-add-watch)
9988 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9989 it indicates changes in file modification time.
9990
9991 2013-05-22 Glenn Morris <rgm@gnu.org>
9992
9993 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9994 Always delete the autoloaded function from the noruntime and
9995 unresolved functions lists.
9996
9997 * allout.el: No need to load epa, epg, overlay when compiling.
9998 (epg-context-set-passphrase-callback, epg-list-keys)
9999 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10000 (epg-key-user-id-list): Declare.
10001
10002 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10003 (viper-set-parsing-style-toggling-macro)
10004 (viper-set-emacs-state-searchstyle-macros):
10005 Use called-interactively-p on Emacs.
10006 (viper-looking-back): Make it an obsolete alias. Update callers.
10007 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10008 Use looking-back rather than viper-looking-back.
10009 (viper-tmp-insert-at-eob, viper-enlarge-region)
10010 (viper-read-string-with-history, viper-register-to-point)
10011 (viper-append-to-register, viper-change-state-to-vi)
10012 (viper-backward-char-carefully, viper-forward-char-carefully)
10013 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10014 (viper-change-state-to-emacs): Declare.
10015 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10016 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10017 * emulation/viper-mous.el: Do not load viper-cmd.
10018 (viper-backward-char-carefully, viper-forward-char-carefully)
10019 (viper-forward-word, viper-adjust-window): Declare.
10020
10021 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10022
10023 * progmodes/idlw-help.el (idlwave-help-fontify):
10024 Use called-interactively-p.
10025
10026 * term/w32console.el (w32-get-console-codepage)
10027 (w32-get-console-output-codepage): Declare.
10028
10029 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10030 Remove unnecessary declarations.
10031 (dframe-message): Doc fix.
10032
10033 * info.el (dframe-select-attached-frame, dframe-current-frame):
10034 Declare.
10035
10036 * speedbar.el (speedbar-message): Make it an obsolete alias.
10037 Update all callers.
10038 (speedbar-with-attached-buffer)
10039 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10040 (speedbar-with-writable): Use backquote.
10041 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10042 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10043 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10044 rather than speedbar- aliases.
10045 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10046 (speedbar-make-specialized-keymap, speedbar-insert-button)
10047 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10048 (speedbar-do-function-pointer): Declare.
10049 (rmail-speedbar-button, rmail-speedbar-find-file)
10050 (rmail-speedbar-move-message):
10051 Use dframe-with-attached-buffer rather than speedbar- alias.
10052 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10053 (dframe-message, speedbar-make-specialized-keymap)
10054 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10055 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10056 (speedbar-insert-button, dframe-select-attached-frame)
10057 (dframe-maybee-jump-to-attached-frame)
10058 (speedbar-change-initial-expansion-list)
10059 (speedbar-previously-used-expansion-list-name): Declare.
10060 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10061 Use dframe-message, dframe-with-attached-buffer rather than
10062 speedbar- aliases.
10063 (gud-sentinel): Silence compiler.
10064 * progmodes/vhdl-mode.el (speedbar-refresh)
10065 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10066 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10067 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10068 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10069 (speedbar-file-lists, speedbar-make-tag-line)
10070 (speedbar-line-directory, speedbar-goto-this-file)
10071 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10072 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10073 (speedbar-make-button, speedbar-reset-scanners)
10074 (speedbar-files-item-info, speedbar-line-text)
10075 (speedbar-find-file-in-frame, speedbar-set-timer)
10076 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10077 (speedbar-with-writable): Do not (re)define it.
10078 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10079 rather than speedbar- alias.
10080
10081 2013-05-21 Leo Liu <sdl.web@gmail.com>
10082
10083 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10084 menu items.
10085 (octave-mode): Tweak fill-nobreak-predicate.
10086 (inferior-octave-startup): Check process to avoid infinite loop.
10087 (inferior-octave): Pop to buffer first to show abornmal process
10088 exit information.
10089
10090 2013-05-21 Glenn Morris <rgm@gnu.org>
10091
10092 * printing.el (pr-menu-bar): Define when compiling.
10093
10094 2013-05-21 Leo Liu <sdl.web@gmail.com>
10095
10096 * progmodes/octave.el (octave-auto-fill): Remove.
10097 (octave-indent-new-comment-line): Improve.
10098 (octave-mode): Use auto fill mode through
10099 comment-line-break-function and fill-nobreak-predicate.
10100 (octave-goto-function-definition): Support DEFUN_DLD.
10101 (octave-beginning-of-defun): Small tweak.
10102 (octave-help): Show parent directory.
10103
10104 2013-05-21 Glenn Morris <rgm@gnu.org>
10105
10106 * files.el (dired-unmark):
10107 * progmodes/gud.el (gdb-input): Update declarations.
10108
10109 * calculator.el (electric, ehelp): No need to load when compiling.
10110 (Electric-command-loop, electric-describe-mode): Declare.
10111
10112 * doc-view.el (doc-view-current-converter-processes): Move before use.
10113
10114 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10115 Move MODE-set-explicitly definition before use.
10116
10117 * international/mule-diag.el (mule-diag):
10118 Don't use obsolete window-system-version.
10119
10120 * mail/feedmail.el (smtpmail): No need to load when compiling.
10121 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10122
10123 * mail/mail-utils.el (rfc822): No need to load when compiling.
10124 (rfc822-addresses): Autoload it.
10125 (mail-strip-quoted-names): Trivial simplification.
10126
10127 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10128 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10129
10130 * net/snmp-mode.el (tempo): Don't duplicate requires.
10131
10132 * progmodes/prolog.el (info): No need to load when compiling.
10133 (comint): Require before shell requires it.
10134 (Info-goto-node): Autoload it.
10135 (Info-follow-nearest-node): Declare.
10136 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10137
10138 * textmodes/artist.el (picture-mode-exit): Declare.
10139
10140 * textmodes/reftex-parse.el (reftex-parse-from-file):
10141 Trivial rewrite so the compiler can parse it better.
10142
10143 2013-05-20 Leo Liu <sdl.web@gmail.com>
10144
10145 * progmodes/octave.el (octave-help-mode-map)
10146 (octave-help-mode-finish-hook): New variables.
10147 (octave-help-mode, octave-help-mode-finish): New functions.
10148 (octave-help): Use octave-help-mode.
10149
10150 2013-05-20 Glenn Morris <rgm@gnu.org>
10151
10152 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10153
10154 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10155
10156 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10157 start at point, so that expansion starting right after opening
10158 slash in a regexp is recognized.
10159 (ruby-syntax-before-regexp-re): New defvar, extracted from
10160 ruby-syntax-propertize-function. Since the value of this regexp
10161 is looked up at runtime now, we should be able to turn
10162 `ruby-syntax-methods-before-regexp' into a defcustom later.
10163 (ruby-syntax-propertize-function): Split regexp matching into two
10164 parts, for opening and closing slashes. That allows us to skip
10165 over string interpolations and support multiline regexps.
10166 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10167 for them, which calls `ruby-syntax-propertize-expansion'.
10168 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10169 call to `ruby-syntax-propertize-function'.
10170 (ruby-syntax-propertize-expansion): Extracted from
10171 `ruby-syntax-propertize-expansions'. Handles one expansion.
10172 (ruby-syntax-propertize-percent-literal): Leave point right after
10173 the percent symbol, so that the expression expansion rule can
10174 propertize the contents.
10175 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10176 heredoc openers.
10177 (ruby-syntax-propertize-expansions): Remove.
10178
10179 2013-05-18 Juri Linkov <juri@jurta.org>
10180
10181 * man.el (Man-default-man-entry): Remove `-' from the end
10182 of the default value. (Bug#14400)
10183
10184 2013-05-18 Glenn Morris <rgm@gnu.org>
10185
10186 * comint.el (comint-password-prompt-regexp):
10187 Allow "password for XXX" where XXX contains colons (eg https://...).
10188
10189 2013-05-18 Leo Liu <sdl.web@gmail.com>
10190
10191 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10192 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10193 (octave-source-directories): Don't check process.
10194 (octave-source-directories, octave-find-definition): Doc fix.
10195
10196 2013-05-18 Glenn Morris <rgm@gnu.org>
10197
10198 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10199 Remove backspace/delete bindings. (Bug#14392)
10200
10201 * cus-dep.el (custom-make-dependencies): Sort the output.
10202 (custom-versions-load-alist): Convert comment to doc.
10203
10204 2013-05-17 Leo Liu <sdl.web@gmail.com>
10205
10206 * newcomment.el (comment-search-backward): Stricter in finding
10207 comment start. (Bug#14303)
10208
10209 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10210 (octave-comment-start-skip): Properly anchored.
10211
10212 2013-05-17 Leo Liu <sdl.web@gmail.com>
10213
10214 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10215 Clean up when turned off. (Bug#14395)
10216 (smie--highlight-matching-block-overlay): No longer buffer-local.
10217 (smie-highlight-matching-block): Adjust.
10218
10219 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10220
10221 Doc string fix for "nanoseconds" (Bug#14406).
10222 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10223 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10224
10225 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10226
10227 * calc/calc-units.el (math-extract-units): Preserve powers
10228 of units.
10229
10230 2013-05-17 Leo Liu <sdl.web@gmail.com>
10231
10232 * subr.el (delete-consecutive-dups): New function.
10233 * ido.el (ido-set-matches-1): Use it.
10234 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10235 * ido.el (ido-remove-consecutive-dups): Remove.
10236
10237 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10238
10239 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10240 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10241 regexp-opt's `words'.
10242
10243 2013-05-16 Leo Liu <sdl.web@gmail.com>
10244
10245 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10246 (smie--highlight-matching-block-overlay)
10247 (smie--highlight-matching-block-lastpos)
10248 (smie--highlight-matching-block-timer): New variables.
10249 (smie-highlight-matching-block): New function.
10250 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10251 (smie-setup): Conditionally enable smie-blink-matching-open.
10252
10253 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10254
10255 Sync with upstream verilog-mode r840.
10256 * progmodes/verilog-mode.el (verilog-mode-version)
10257 (verilog-mode-release-date): Update.
10258 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10259 (verilog-sig-tieoff): Fix string error on
10260 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10261 (verilog-read-decls): Fix parameters confusing
10262 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10263
10264 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10265
10266 * subr.el (reveal-filename): New function.
10267
10268 * loadup.el: Compute Emacs executable versions on MS-Windows,
10269 where executables have the .exe extension. Add a hard link
10270 emacs-XX.YY.ZZ.exe on MS-Windows.
10271
10272 * Makefile.in (XARGS_LIMIT): New variable.
10273 (custom-deps, finder-data, autoloads)
10274 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10275 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10276 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10277 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10278
10279 2013-05-16 Leo Liu <sdl.web@gmail.com>
10280
10281 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10282 (octave-mode-menu, octave-mode-map): Remove its uses.
10283
10284 2013-05-16 Reto Zimmermann <reto@gnu.org>
10285
10286 Sync with upstream vhdl mode v3.34.2.
10287 * progmodes/vhdl-mode.el: Use `push' throughout.
10288 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10289 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10290 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10291 (vhdl-actual-generic-name): New option to derive actual generic name.
10292 (vhdl-port-paste-signals): Replace formal by actual generics.
10293 (vhdl-beautify): New name for old group vhdl-align. Update users.
10294 (vhdl-beautify-options): New option.
10295 (vhdl-last-input-event): New compat alias. Use throughout.
10296 (vhdl-goto-line): Replace user level function `goto-line'.
10297 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10298 vhdl-fix-statement-buffer.
10299 (vhdl-create-mode-menu): Add some entries.
10300 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10301 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10302 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10303 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10304 to force statements on one line.
10305 (vhdl-remove-trailing-spaces-region):
10306 New, split from vhdl-remove-trailing-spaces.
10307 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10308 Respect vhdl-beautify-options.
10309 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10310 (vhdl-update-sensitivity-list): Not add with index if exists without.
10311 Not include array index with signal. Ignore keywords in comments.
10312 (vhdl-get-visible-signals): Regexp tweaks.
10313 (vhdl-template-component-inst): Handle empty library.
10314 (vhdl-template-type): Add template for 'enum' type.
10315 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10316 Use vhdl-replace-string.
10317 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10318 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10319 (vhdl-speedbar-initialize): Update for above name change.
10320 (vhdl-compose-wire-components): Fix in handling of constants.
10321 (vhdl-error-regexp-emacs-alist): New variable.
10322 (vhdl-error-regexp-add-emacs): New function;
10323 adds support for new compile.el (Emacs 22+)
10324 (vhdl-generate-makefile-1): Change target order for single lib. units.
10325 Allow use of absolute file names.
10326
10327 2013-05-16 Leo Liu <sdl.web@gmail.com>
10328
10329 * simple.el (prog-indent-sexp): Indent enclosing defun.
10330
10331 2013-05-15 Glenn Morris <rgm@gnu.org>
10332
10333 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10334 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10335 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10336 (whitespace-highlight): Move to whitespace group.
10337
10338 * comint.el (comint-source):
10339 * pcmpl-linux.el (pcmpl-linux):
10340 * shell.el (shell-faces):
10341 * eshell/esh-opt.el (eshell-opt):
10342 * international/ccl.el (ccl): Remove empty custom groups.
10343
10344 * completion.el (dynamic-completion-mode):
10345 * jit-lock.el (jit-lock-debug-mode):
10346 * minibuffer.el (completion-in-region-mode):
10347 * type-break.el (type-break-mode-line-message-mode)
10348 (type-break-query-mode):
10349 * emulation/tpu-edt.el (tpu-edt-mode):
10350 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10351 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10352 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10353
10354 * term/xterm.el (xterm): Change parent group to terminals.
10355
10356 * master.el (master): Remove empty custom group.
10357 (master-mode): Remove unused :group argument.
10358 * textmodes/refill.el (refill): Remove empty custom group.
10359 (refill-mode): Remove unused :group argument.
10360
10361 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10362
10363 * cus-dep.el: Provide a feature.
10364 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10365 Don't mistakenly ignore files whose basenames match a basename
10366 from preloaded-file-list (eg cedet/ede/simple.el).
10367 Add a fallback method for getting :group.
10368
10369 2013-05-15 Juri Linkov <juri@jurta.org>
10370
10371 * isearch.el (isearch-char-by-name): Rename from
10372 `isearch-insert-char-by-name'. Doc fix.
10373 (isearch-forward): Mention `isearch-char-by-name' in
10374 the docstring. (Bug#13348)
10375
10376 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10377 `exit-minibuffer' instead of
10378 `isearch-nonincremental-exit-minibuffer'.
10379 (isearch-edit-string): Remove mention of
10380 `isearch-nonincremental-exit-minibuffer' from docstring.
10381 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10382 (isearch-forward-exit-minibuffer)
10383 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10384
10385 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10386
10387 * loadup.el: Just use unversioned DOC.
10388
10389 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10390 literals as extending to EOB.
10391 (nxml-last-fontify-end): Remove unused variable.
10392 (nxml-after-change1): Use with-silent-modifications.
10393 (nxml-extend-after-change-region): Simplify.
10394 (nxml-extend-after-change-region1): Remove function.
10395 (nxml-after-change1): Don't adjust for dependent regions.
10396 (nxml-fontify-matcher): Simplify.
10397 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10398 (xmltok-add-dependent): Remove function.
10399 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10400 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10401 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10402 unclosed <[[, <?, comment, and other literals as extending to EOB.
10403 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10404 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10405 Remove functions.
10406 (rng-do-some-validation-1): Don't mark dependent regions.
10407 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10408 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10409 (nxml-clear-dependent-regions): Remove functions.
10410 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10411 (nxml-ensure-scan-up-to-date):
10412 Don't clear&mark dependent regions.
10413
10414 2013-05-15 Leo Liu <sdl.web@gmail.com>
10415
10416 * progmodes/octave.el (octave-goto-function-definition):
10417 Improve and fix callers.
10418
10419 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10420
10421 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10422 the setter (bug#14387).
10423
10424 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10425 surrounding group (bug#14402).
10426
10427 2013-05-14 Juri Linkov <juri@jurta.org>
10428
10429 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10430 (Bug#14390)
10431
10432 2013-05-14 Glenn Morris <rgm@gnu.org>
10433
10434 * progmodes/f90.el (f90-imenu-generic-expression):
10435 Fix typo in 2013-05-08 change. (Bug#14402)
10436
10437 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10438
10439 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10440 Remove signals for which replies are never received.
10441
10442 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10443
10444 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10445 (gdb-handler-alist, gdb-handler-number): Remove variables.
10446 (gdb-handler-list): New variable.
10447 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10448 (gdb-pending-handler-p, gdb-handle-reply)
10449 (gdb-remove-all-pending-triggers): New functions.
10450 (gdb-discard-unordered-replies): New defcustom.
10451 (gdb-handler): New defstruct.
10452 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10453 instead of gdb-pending-triggers. Update docstring.
10454 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10455 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10456 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10457 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10458 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10459 (gdb-frame-handler): Pending triggers are now automatically managed.
10460 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10461 Remove argument.
10462 (gdb-input): Automatically handles pending triggers. Update docstring.
10463 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10464 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10465 Update comments.
10466 (gdb-done-or-error): Now use gdb-handle-reply.
10467
10468 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10469
10470 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10471 gdb-debug-log.
10472
10473 2013-05-14 Glenn Morris <rgm@gnu.org>
10474
10475 * subr.el (user-emacs-directory-warning): New option.
10476 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10477
10478 2013-05-14 Leo Liu <sdl.web@gmail.com>
10479
10480 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10481 during redisplay.
10482 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10483 (octave-font-lock-texinfo-comment): Fix invalid search bound
10484 error: wrong side of point.
10485
10486 2013-05-14 Glenn Morris <rgm@gnu.org>
10487
10488 * progmodes/flymake.el (flymake-xml-program): New option.
10489 (flymake-xml-init): Use it.
10490
10491 * term/xterm.el: Provide a feature.
10492
10493 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10494
10495 2013-05-13 Glenn Morris <rgm@gnu.org>
10496
10497 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10498 Add compat aliases as a hack workaround. (Bug#14384)
10499
10500 2013-05-13 Leo Liu <sdl.web@gmail.com>
10501
10502 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10503 ###, and %!.
10504 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10505 C-M-q.
10506 (octave-comment-start-skip): Include %!.
10507 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10508
10509 2013-05-12 Leo Liu <sdl.web@gmail.com>
10510
10511 * progmodes/octave.el (inferior-octave-startup): Store the value
10512 of __octave_srcdir__ for octave-source-directories.
10513 (inferior-octave-check-process): New function refactored out of
10514 inferior-octave-send-list-and-digest.
10515 (octave-source-directories)
10516 (octave-find-definition-filename-function): New variables.
10517 (octave-source-directories)
10518 (octave-find-definition-default-filename): New functions.
10519 (octave-find-definition): Improve to find functions implemented in C++.
10520
10521 2013-05-12 Glenn Morris <rgm@gnu.org>
10522
10523 * calendar/diary-lib.el (diary-outlook-format-1):
10524 Don't include dayname in the output. (Bug#14349)
10525
10526 2013-05-11 Glenn Morris <rgm@gnu.org>
10527
10528 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10529
10530 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10531 Treat cc-provide like provide.
10532
10533 2013-05-11 Kevin Ryde <user42@zip.com.au>
10534
10535 * cus-dep.el (custom-make-dependencies):
10536 Use generated-autoload-load-name for the sake of files such
10537 such cedet/semantic/bovine/c.el, where the base file name
10538 is not in load-path. (Bug#5277)
10539
10540 2013-05-11 Glenn Morris <rgm@gnu.org>
10541
10542 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10543 Provide features.
10544
10545 2013-05-11 Leo Liu <sdl.web@gmail.com>
10546
10547 * progmodes/octave.el (octave-indent-comment): Improve.
10548 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10549 (octave-eldoc-function-signatures, octave-eldoc-function):
10550 New functions.
10551 (octave-mode, inferior-octave-mode): Add eldoc support.
10552
10553 2013-05-11 Richard Stallman <rms@gnu.org>
10554
10555 * epa.el (epa-decrypt-file): Take output file name as argument
10556 and read it using `interactive'.
10557
10558 2013-05-11 Leo Liu <sdl.web@gmail.com>
10559
10560 * progmodes/octave.el (octave-beginning-of-line)
10561 (octave-end-of-line): Check before using up-list because it jumps
10562 out of more syntactic contructs since moving to smie.
10563 (octave-indent-comment): New function.
10564 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10565 (octave-begin-keywords, octave-end-keywords)
10566 (octave-reserved-words, octave-smie-bnf-table)
10567 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10568
10569 2013-05-11 Glenn Morris <rgm@gnu.org>
10570
10571 * faces.el (internal-face-x-get-resource):
10572 * frame.el (ns-display-monitor-attributes-list):
10573 * calc/calc-aent.el (math-to-radians-2):
10574 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10575 Fix declarations.
10576
10577 * calc/calc-menu.el: Make it loadable in isolation.
10578
10579 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10580 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10581 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10582 (eudc-bbdb-query-internal): Require 'bbdb.
10583
10584 * lpr.el (lpr-headers-switches):
10585 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10586
10587 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10588
10589 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10590
10591 * term.el (term-set-escape-char): Make it idempotent.
10592
10593 2013-05-10 Leo Liu <sdl.web@gmail.com>
10594
10595 * progmodes/octave.el (inferior-octave-completion-table):
10596 No longer a function and all uses changed. Use cache to speed up
10597 completion due to bug#11906.
10598 (octave-beginning-of-defun): Re-write to be more general.
10599
10600 2013-05-10 Glenn Morris <rgm@gnu.org>
10601
10602 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10603
10604 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10605
10606 * comint.el (comint-redirect-send-command-to-process): Use :around
10607 rather than :override for comint-redirect-filter.
10608 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10609 Call it instead of comint-redirect-original-filter-function (which
10610 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10611
10612 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10613
10614 * frame.el (display-monitor-attributes-list): Add NS case.
10615 (ns-display-monitor-attributes-list): Declare.
10616
10617 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10618
10619 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10620
10621 2013-05-09 Glenn Morris <rgm@gnu.org>
10622
10623 * international/fontset.el (vertical-centering-font-regexp):
10624 Set standard-value.
10625
10626 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10627
10628 * bookmark.el (bookmark-search-delay):
10629 * cus-start.el (vertical-centering-font-regexp):
10630 * ps-mule.el (ps-mule-font-info-database-default):
10631 * ps-print.el (ps-default-fg, ps-default-bg):
10632 * type-break.el (type-break-good-break-interval):
10633 * whitespace.el (whitespace-indentation-regexp)
10634 (whitespace-space-after-tab-regexp):
10635 * emacs-lisp/testcover.el (testcover-1value-functions)
10636 (testcover-noreturn-functions, testcover-progn-functions)
10637 (testcover-prog1-functions):
10638 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10639 * eshell/em-glob.el (eshell-glob-translate-alist):
10640 * play/tetris.el (tetris-tty-colors):
10641 * progmodes/cpp.el (cpp-face-default-list):
10642 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10643 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10644 (idlwave-help-browser-generic-args):
10645 * progmodes/make-mode.el (makefile-special-targets-list):
10646 * progmodes/python.el (python-shell-virtualenv-path):
10647 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10648 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10649 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10650 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10651 * textmodes/reftex-vars.el (reftex-format-label-function):
10652 * textmodes/remember.el (remember-diary-file): Fix custom types.
10653
10654 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10655 Add :version.
10656
10657 2013-05-09 Leo Liu <sdl.web@gmail.com>
10658
10659 * progmodes/octave.el (inferior-octave-completion-at-point):
10660 Restore file completion. (Bug#14300)
10661 (inferior-octave-startup): Fix incorrect highlighting for the
10662 first prompt.
10663
10664 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10665
10666 * progmodes/ruby-mode.el: First cut at SMIE support.
10667 (ruby-use-smie): New var.
10668 (ruby-smie-grammar): New constant.
10669 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10670 (ruby-smie--forward-token, ruby-smie--backward-token)
10671 (ruby-smie-rules): New functions.
10672 (ruby-mode-variables): Setup SMIE if applicable.
10673
10674 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10675
10676 * simple.el (line-move-visual): Signal beginning/end of buffer
10677 only if vertical-motion moved less than it was requested. Avoids
10678 silly incorrect error messages when there are display strings with
10679 multiple newlines at EOL.
10680
10681 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10682
10683 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10684 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10685 (prolog-char-quote-workaround):
10686 * progmodes/cperl-mode.el (cperl-under-as-char):
10687 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10688 Mark as obsolete.
10689 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10690 their declaration.
10691 (vhdl-mode-syntax-table-init): Remove.
10692
10693 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10694 last change.
10695
10696 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10697 syntax for "_".
10698 (ld-script-font-lock-keywords):
10699 Change regexps to use things like \_< and \_>.
10700
10701 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10702 Change all regexps to use things like \_< and \_>.
10703
10704 * progmodes/autoconf.el (autoconf-definition-regexp)
10705 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10706 Handle a _ with symbol syntax.
10707 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10708
10709 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10710 Consolidate declaration.
10711 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10712 the declaration.
10713 (ada-create-syntax-table): Remove.
10714 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10715 already has the right syntax nowadays.
10716 (ada-goto-next-word): Don't change the syntax of "_".
10717
10718 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10719 with-wrapper-hook.
10720
10721 2013-05-08 Sam Steingold <sds@gnu.org>
10722
10723 * thingatpt.el (thing-at-point): Accept optional second argument
10724 NO-PROPERTIES to strip the text properties from the return value.
10725 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10726 to `thing-at-point' instead of stripping the properties ourselves.
10727 Also, when `thing-at-point' fails to find a url, prepend "http://"
10728 to the filename at point on the assumption that the user is
10729 pointing at something like gnu.org/gnu.
10730
10731 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10732
10733 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10734 * faces.el (crm-separator):
10735 Silence byte-compiler.
10736
10737 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10738 (tool-bar-map): Remove unneeded defvars.
10739
10740 2013-05-08 Leo Liu <sdl.web@gmail.com>
10741
10742 Re-work a fix for bug#10994 based on Le Wang's patch.
10743 * ido.el (ido-remove-consecutive-dups): New helper.
10744 (ido-completing-read): Use it.
10745 (ido-chop): Revert fix for bug#10994.
10746
10747 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10748
10749 * cus-edit.el (custom-save-variables):
10750 Pretty-print long values. (Bug#14187)
10751
10752 2013-05-08 Glenn Morris <rgm@gnu.org>
10753
10754 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10755 (m4-mode-syntax-table): Init in the defvar.
10756 (m4-mode-abbrev-table): Let define-derived-mode define it.
10757
10758 2013-05-08 Tom Tromey <tromey@redhat.com>
10759
10760 * progmodes/m4-mode.el (m4-mode-syntax-table):
10761 Do not treat "_" as word constituent. (Bug#14167)
10762
10763 2013-05-07 Glenn Morris <rgm@gnu.org>
10764
10765 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10766 Remove explicit eshell-isearch-cancel-map.
10767
10768 * progmodes/f90.el (f90-smart-end-names): New option.
10769 (f90-smart-end): Doc fix.
10770 (f90-end-block-optional-name): New constant.
10771 (f90-block-match): Respect f90-smart-end-names.
10772
10773 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10774
10775 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10776 about implicit semi-colons (bug#14218).
10777
10778 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10779
10780 * frame.el (display-monitor-attributes-list)
10781 (frame-monitor-attributes): New functions.
10782
10783 2013-05-06 Leo Liu <sdl.web@gmail.com>
10784
10785 * progmodes/octave.el (octave-syntax-propertize-function): Change
10786 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10787 (octave-font-lock-keywords): Use octave-operator-regexp.
10788 (octave-completion-at-point): Rename from
10789 octave-completion-at-point-function.
10790 (inferior-octave-directory-tracker): Robustify.
10791 (octave-text-functions): Remove and fix its uses. No such things
10792 any more.
10793
10794 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10795
10796 * emacs-lisp/trace.el (trace--display-buffer): New function.
10797 (trace-make-advice): Use it.
10798
10799 2013-05-06 Juri Linkov <juri@jurta.org>
10800
10801 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10802 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10803 Doc fix.
10804 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10805 in the help string. (Bug#12985)
10806
10807 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10808
10809 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10810
10811 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10812
10813 * progmodes/perl-mode.el: Add support for here documents.
10814 (perl-syntax-propertize-function): Match here-doc markers.
10815 (perl-syntax-propertize-special-constructs): Find their end.
10816 (perl-imenu-generic-expression): Use [:alnum:].
10817
10818 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10819 (advice--add-function): Refresh the advice if already present
10820 (bug#14317).
10821
10822 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10823
10824 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10825
10826 2013-05-06 Glenn Morris <rgm@gnu.org>
10827
10828 * w32-fns.el (w32-charset-info-alist): Declare.
10829
10830 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10831 of its defcustom properties.
10832 (eshell-cmpl-initialize): No need to load pcomplete.
10833
10834 * generic-x.el: No need to require comint when compiling.
10835
10836 * net/eudc-export.el: Make it loadable without bbdb.
10837 (top-level): Use require rather than load-library.
10838 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10839 (eudc-batch-export-records-to-bbdb)
10840 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10841 Require bbdb.
10842
10843 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10844
10845 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10846 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10847 some tweaks, instead.
10848
10849 2013-05-05 Leo Liu <sdl.web@gmail.com>
10850
10851 * progmodes/octave.el (octave-font-lock-keywords)
10852 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10853 (inferior-octave-send-list-and-digest): Improve error message.
10854 (octave-mode, inferior-octave-mode): Use setq-local.
10855 (octave-help): Set info-lookup-mode.
10856
10857 2013-05-05 Richard Stallman <rms@gnu.org>
10858
10859 * vc/compare-w.el (compare-windows-whitespace):
10860 Treat no-break space as whitespace.
10861
10862 * mail/rmailsum.el (rmail-summary-rmail-update):
10863 Detect empty summary and don't change selected message.
10864 (rmail-summary-goto-msg): Likewise.
10865
10866 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10867 Doc fixes, rename args.
10868
10869 2013-05-05 Alan Mackenzie <acm@muc.de>
10870
10871 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10872
10873 2013-05-05 Juri Linkov <juri@jurta.org>
10874
10875 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10876 to not add the length of the summary segment to the return value.
10877 (Bug#14125)
10878
10879 2013-05-05 Leo Liu <sdl.web@gmail.com>
10880
10881 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10882 (inferior-octave-output-filter): Remove.
10883 (octave-send-region, inferior-octave-startup): Fix callers.
10884 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10885 (octave-binary-file-extensions): New user variable.
10886 (octave-find-definition): Confirm if opening binary files.
10887 (octave-help-file): Use octave-find-definition to get the binary
10888 confirmation.
10889 (octave-help): Adjust for octave-help-file change.
10890
10891 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10892
10893 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10894 Merge the two entries that handle function definitions.
10895 (pascal--syntax-propertize): New const.
10896 (pascal-mode): Use it. Use setq-local.
10897
10898 2013-05-04 Glenn Morris <rgm@gnu.org>
10899
10900 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10901 (diary-from-outlook): Respect diary-from-outlook-function.
10902
10903 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10904
10905 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10906 Move the declaration from C.
10907 (read-minibuffer, eval-minibuffer): Move from C.
10908 (completion-setup-function): Avoid minibuffer-completion-contents.
10909
10910 2013-05-03 Leo Liu <sdl.web@gmail.com>
10911
10912 * progmodes/octave.el (octave-font-lock-keywords): Do not
10913 dehighlight 'end' in comments or strings.
10914 (octave-completing-read, octave-goto-function-definition):
10915 New helpers.
10916 (octave-help-buffer): New user variable.
10917 (octave-help-file, octave-help-function): New button types.
10918 (octave-help): New command and bind it to C-h ;.
10919 (octave-find-definition): New command and bind it to M-.
10920 (user-error): Alias to error if not defined.
10921
10922 2013-05-02 Leo Liu <sdl.web@gmail.com>
10923
10924 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10925 for \. (bug#14332)
10926 (octave-font-lock-keywords): Include [ and {.
10927
10928 2013-05-02 Leo Liu <sdl.web@gmail.com>
10929
10930 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10931 (inferior-octave): Remove calling comint-mode and return the buffer.
10932 (inferior-octave-startup): Cosmetic changes.
10933
10934 2013-05-02 Leo Liu <sdl.web@gmail.com>
10935
10936 * progmodes/octave.el (octave-syntax-propertize-function):
10937 Include the case when ' is at line beginning. (Bug#14336)
10938
10939 2013-05-02 Glenn Morris <rgm@gnu.org>
10940
10941 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10942 * desktop.el (vc-dir-mode): Just autoload it here.
10943
10944 2013-05-02 Alan Mackenzie <acm@muc.de>
10945
10946 Eliminate variable c-standard-font-lock-fontify-region-function.
10947 * progmodes/cc-mode.el
10948 (c-standard-font-lock-fontify-region-function): Remove.
10949 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10950
10951 2013-05-01 Leo Liu <sdl.web@gmail.com>
10952
10953 * progmodes/octave.el: Compatible with older emacs-24 releases.
10954 (inferior-octave-has-built-in-variables): Remove. Built-in
10955 variables were removed from Octave in 2007.
10956 (inferior-octave-startup): Fix uses.
10957 (comint-line-beginning-position): Remove compatibility code for
10958 emacs 21.
10959
10960 2013-05-01 Juri Linkov <juri@jurta.org>
10961
10962 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10963
10964 2013-05-01 Juri Linkov <juri@jurta.org>
10965
10966 * comint.el (comint-previous-matching-input): Don't print message
10967 "History item: %d" when `isearch-mode' is active.
10968 (comint-history-isearch-message): Print message "History item: %d"
10969 when `comint-input-ring-index' is not empty and this function is
10970 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10971
10972 2013-05-01 Leo Liu <sdl.web@gmail.com>
10973
10974 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10975 definitions. Use completion-at-point to insert keywords.
10976 (octave-abbrev-start): Remove.
10977 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10978
10979 2013-04-30 Leo Liu <sdl.web@gmail.com>
10980
10981 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10982 change.
10983
10984 2013-04-30 Alan Mackenzie <acm@muc.de>
10985
10986 Handle arbitrarily long C++ member initialisation lists.
10987 * progmodes/cc-engine.el (c-back-over-member-initializers):
10988 new function.
10989 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10990 (most) member init lists.
10991
10992 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10993
10994 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10995 variable.
10996
10997 2013-04-30 Leo Liu <sdl.web@gmail.com>
10998
10999 * progmodes/octave.el (octave-variables): Remove. No builtin
11000 variables any more. All converted to functions.
11001 (octave-font-lock-keywords, octave-completion-at-point-function):
11002 Fix uses.
11003 (octave-font-lock-texinfo-comment): New user variable.
11004 (octave-texinfo-font-lock-keywords): New variable for texinfo
11005 comment block.
11006 (octave-function-comment-block): New face.
11007 (octave-font-lock-texinfo-comment): New function.
11008 (octave-mode): Font lock texinfo comment block.
11009
11010 2013-04-29 Leo Liu <sdl.web@gmail.com>
11011
11012 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11013 indexing expression.
11014 (octave-continuation-string): Do not use \.
11015 (inferior-octave-complete-impossible): Remove.
11016 (inferior-octave-completion-table)
11017 (inferior-octave-completion-at-point): Remove its uses.
11018 (inferior-octave-startup): completion_matches was introduced to
11019 Octave in 1996 so safe to assume it.
11020 (octave-function-file-comment): Improve to follow how Octave does it.
11021 (octave-update-function-file-comment): Tweak.
11022
11023 2013-04-29 Leo Liu <sdl.web@gmail.com>
11024
11025 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11026 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11027 (octave-function-file-comment): Fix typo.
11028 (octave-sync-function-file-names): Use read-char-choice.
11029
11030 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11031
11032 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11033 to t for the less important warnings.
11034
11035 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11036
11037 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11038
11039 2013-04-27 Glenn Morris <rgm@gnu.org>
11040
11041 * vc/log-view.el (log-view-current-entry):
11042 Treat "---" separator lines as part of the following rev. (Bug#14169)
11043
11044 2013-04-27 Juri Linkov <juri@jurta.org>
11045
11046 * subr.el (read-number): Doc fix about using it by interactive
11047 code letter `n'. (Bug#14254)
11048
11049 2013-04-27 Juri Linkov <juri@jurta.org>
11050
11051 * desktop.el (desktop-auto-save-timeout): New option.
11052 (desktop-file-checksum): New variable.
11053 (desktop-save): Add optional arg `auto-save' and don't auto-save
11054 if nothing changed.
11055 (desktop-auto-save-timer): New variable.
11056 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11057 (after-init-hook): Call `desktop-auto-save-set-timer'.
11058 Suggested by Reuben Thomas <rrt@sc3d.org> in
11059 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11060
11061 2013-04-27 Leo Liu <sdl.web@gmail.com>
11062
11063 * progmodes/octave.el (octave-function-file-p)
11064 (octave-skip-comment-forward, octave-function-file-comment)
11065 (octave-update-function-file-comment): New functions.
11066 (octave-mode-map): Bind C-c ; to
11067 octave-update-function-file-comment.
11068 (octave-mode-menu): Add octave-update-function-file-comment.
11069 (octave-mode, inferior-octave-mode): Fix doc-string.
11070 (octave-insert-defun): Conform to Octave's coding convention.
11071 (Bug#14285)
11072
11073 * files.el (basic-save-buffer): Don't let errors in
11074 before-save-hook prevent saving buffer.
11075
11076 2013-04-20 Roland Winkler <winkler@gnu.org>
11077
11078 * faces.el (read-face-name): Use completing-read if arg multiple
11079 is nil.
11080
11081 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11082
11083 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11084 displayed, move point to after the totals line.
11085 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11086 for the details.
11087
11088 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11089
11090 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11091 Add current dir to the load-path.
11092 (package-generate-autoloads): Don't rely on
11093 autoload-ensure-default-file.
11094
11095 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11096
11097 * textmodes/remember.el (remember-store-in-files): Document that
11098 the file name format is passed to `format-time-string'.
11099
11100 2013-04-26 Leo Liu <sdl.web@gmail.com>
11101
11102 * progmodes/octave.el (octave-sync-function-file-names): New function.
11103 (octave-mode): Use it in before-save-hook.
11104
11105 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11106
11107 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11108 (bug#14274).
11109
11110 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11111 \n and comment, even if it's not an implicit ; (bug#14218).
11112
11113 2013-04-26 Glenn Morris <rgm@gnu.org>
11114
11115 * subr.el (read-number): Once more use `read' rather than
11116 `string-to-number', to trap non-numeric input. (Bug#14254)
11117
11118 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11119
11120 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11121 Use `syntax-multiline' text property consistently instead of
11122 `font-lock-multiline'. (Bug#14237)
11123
11124 2013-04-26 Glenn Morris <rgm@gnu.org>
11125
11126 * emacs-lisp/shadow.el (list-load-path-shadows):
11127 No longer necessary to check for duplicate simple.el, since
11128 2012-07-07 change to init_lread to not include installation lisp
11129 directories in load-path when running uninstalled. (Bug#14270)
11130
11131 2013-04-26 Leo Liu <sdl.web@gmail.com>
11132
11133 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11134 (octave-mode, inferior-octave-mode): Use setq-local.
11135 (octave-not-in-string-or-comment-p): Rename to
11136 octave-in-string-or-comment-p.
11137 (octave-in-comment-p, octave-in-string-p)
11138 (octave-in-string-or-comment-p): Replace defsubst with defun.
11139
11140 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11141
11142 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11143
11144 2013-04-25 Bastien Guerry <bzg@gnu.org>
11145
11146 * textmodes/remember.el (remember-data-directory)
11147 (remember-directory-file-name-format): Fix custom types.
11148
11149 2013-04-25 Leo Liu <sdl.web@gmail.com>
11150
11151 * progmodes/octave.el (octave-completion-at-point-function):
11152 Make use of inferior octave process.
11153 (octave-initialize-completions): Remove.
11154 (inferior-octave-completion-table): New function.
11155 (inferior-octave-completion-at-point): Use it.
11156 (octave-completion-alist): Remove.
11157
11158 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11159
11160 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11161 (opascal-mode-syntax-table): New var.
11162 (opascal-literal-kind, opascal-is-literal-end)
11163 (opascal-literal-token-at): Rewrite.
11164 (opascal--literal-start-re, opascal-font-lock-keywords)
11165 (opascal--syntax-propertize): New constants.
11166 (opascal-font-lock-defaults): Adjust.
11167 (opascal-mode): Use them. Set comment-<foo> variables as well.
11168 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11169 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11170 (delphi-other-face, opascal-other-face): Remove face variables.
11171 (opascal-save-state): Remove macro.
11172 (opascal-fontifying-progress-step): Remove constant.
11173 (opascal--ignore-changes): Remove var.
11174 (opascal-set-token-property, opascal-parse-next-literal)
11175 (opascal-is-stable-literal, opascal-complete-literal)
11176 (opascal-is-literal-start, opascal-face-of)
11177 (opascal-parse-region, opascal-parse-region-until-stable)
11178 (opascal-fontify-region, opascal-after-change)
11179 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11180 (opascal-debug-parse-region, opascal-debug-parse-window)
11181 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11182 (opascal-debug-fontify-buffer): Remove.
11183 (opascal-debug-mode-map): Adjust accordingly.
11184
11185 2013-04-25 Leo Liu <sdl.web@gmail.com>
11186
11187 Merge octave-mod.el and octave-inf.el into octave.el with some
11188 cleanups.
11189 * progmodes/octave.el: New file renamed from octave-mod.el.
11190 * progmodes/octave-inf.el: Merged into octave.el.
11191 * progmodes/octave-mod.el: Renamed to octave.el.
11192
11193 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11194
11195 * textmodes/reftex-vars.el
11196 (reftex-label-ignored-macros-and-environments): New defcustom.
11197
11198 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11199
11200 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11201
11202 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11203 (smie-indent-keyword): Improve the check to ensure that the next
11204 comment is really on the same line.
11205 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11206
11207 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11208 semi-colons if the line is not otherwise empty (bug#14218).
11209
11210 2013-04-25 Glenn Morris <rgm@gnu.org>
11211
11212 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11213
11214 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11215
11216 * progmodes/opascal.el (opascal-set-token-property): Rename from
11217 opascal-set-text-properties and only set `token' (bug#14134).
11218 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11219 (opascal-literal-text-properties): Remove.
11220 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11221 Adjust callers.
11222
11223 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11224
11225 * textmodes/remember.el (remember-handler-functions): Add an
11226 option for a new handler `remember-store-in-files'.
11227 (remember-data-directory, remember-directory-file-name-format):
11228 New options.
11229 (remember-store-in-files): New function to store remember notes
11230 as separate files within a directory.
11231
11232 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11233
11234 * progmodes/compile.el (compilation-next-error-function):
11235 Pass "formats" to compilation-find-file (bug#11777).
11236
11237 2013-04-24 Glenn Morris <rgm@gnu.org>
11238
11239 * vc/vc-bzr.el (vc-bzr-print-log):
11240 * vc/vc-hg.el (vc-hg-print-log):
11241 * vc/vc-svn.el (vc-svn-print-log):
11242 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11243
11244 * vc/vc-bzr.el (vc-bzr-print-log):
11245 * vc/vc-cvs.el (vc-cvs-print-log):
11246 * vc/vc-git.el (vc-git-print-log):
11247 * vc/vc-hg.el (vc-hg-print-log):
11248 * vc/vc-mtn.el (vc-mtn-print-log):
11249 * vc/vc-rcs.el (vc-rcs-print-log):
11250 * vc/vc-sccs.el (vc-sccs-print-log):
11251 * vc/vc-svn.el (vc-svn-print-log):
11252 * vc/vc.el (vc-print-log-internal): Doc fixes.
11253
11254 2013-04-23 Glenn Morris <rgm@gnu.org>
11255
11256 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11257 Remove venerable code attempting to avoid substitute-command-keys.
11258
11259 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11260
11261 * textmodes/reftex-vars.el (reftex-label-regexps):
11262 Call `reftex-compile-variables' after changes to this variable.
11263
11264 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11265
11266 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11267 Use lexical-binding.
11268 (jit-lock-force-redisplay): Use markers, check buffer's continued
11269 existence and beware narrowed buffers.
11270 (jit-lock-fontify-now): Adjust call accordingly.
11271
11272 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11273
11274 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11275 to avoid misleading the user.
11276
11277 2013-04-22 Leo Liu <sdl.web@gmail.com>
11278
11279 * info-look.el: Prefer latex2e.info. (Bug#14240)
11280
11281 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11282
11283 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11284
11285 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11286 * net/tramp.el (tramp-call-process): ... here.
11287 (tramp-set-completion-function, tramp-parse-putty):
11288 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11289 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11290 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11291 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11292 (tramp-call-local-coding-command): Use `tramp-call-process'
11293 instead of `tramp-compat-call-process'.
11294
11295 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11296 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11297 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11298 (tramp-find-inline-compress): Improve traces.
11299 (tramp-maybe-send-script): Check for Perl binary.
11300 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11301
11302 2013-04-22 Daiki Ueno <ueno@gnu.org>
11303
11304 * epg.el (epg-context-pinentry-mode): New function.
11305 (epg-context-set-pinentry-mode): New function.
11306 (epg--start): Pass --pinentry-mode option to gpg command.
11307
11308 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11309
11310 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11311 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11312 `completion-at-point'. (Bug#13774)
11313
11314 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11315 default key binding for `describe-distribution' has been moved to
11316 `C-h C-o'. (Bug#13970)
11317
11318 2013-04-21 Glenn Morris <rgm@gnu.org>
11319
11320 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11321 Add doc strings.
11322 (vc-print-log): Clarify interactive prompt.
11323
11324 2013-04-20 Glenn Morris <rgm@gnu.org>
11325
11326 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11327 No longer include timestamp etc information.
11328
11329 2013-04-20 Roland Winkler <winkler@gnu.org>
11330
11331 * faces.el (read-face-name): Bug fix, return just one face if arg
11332 multiple is nil. (Bug#14209)
11333
11334 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11335
11336 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11337 (remove-function): Autoload.
11338
11339 * comint.el (comint-redirect-original-filter-function): Remove.
11340 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11341 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11342 (vc-cvs-annotate-command):
11343 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11344 * progmodes/prolog.el (prolog-consult-compile):
11345 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11346 Use add/remove-function instead.
11347 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11348 (gud-tooltip-process-output, gud-tooltip-tips):
11349 Use add/remove-function instead.
11350 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11351 (scheme-interaction-mode, exit-scheme-interaction-mode):
11352 Use add/remove-function instead.
11353
11354 * vc/vc-dispatcher.el: Use lexical-binding.
11355 (vc--process-sentinel): Rename from vc-process-sentinel.
11356 Change last arg to be the code to run. Don't use vc-previous-sentinel
11357 and vc-sentinel-commands any more.
11358 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11359 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11360
11361 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11362
11363 * progmodes/sh-script.el (sh-imenu-generic-expression):
11364 Handle function names with a single character. (Bug#14111)
11365
11366 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11367
11368 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11369 for subroutines defined in an eval (bug#14182).
11370
11371 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11372
11373 * bookmark.el (bookmark-completing-read): Improve handling of empty
11374 string (bug#14176).
11375
11376 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11377
11378 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11379
11380 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11381
11382 New faster Imenu implementation (bug#14058).
11383 * progmodes/python.el:
11384 (python-imenu-prev-index-position):
11385 (python-imenu-format-item-label-function)
11386 (python-imenu-format-parent-item-label-function)
11387 (python-imenu-format-parent-item-jump-label-function):
11388 New vars.
11389 (python-imenu-format-item-label)
11390 (python-imenu-format-parent-item-label)
11391 (python-imenu-format-parent-item-jump-label)
11392 (python-imenu--put-parent, python-imenu--build-tree)
11393 (python-imenu-create-index, python-imenu-create-flat-index)
11394 (python-util-popn): New functions.
11395 (python-mode): Set imenu-create-index-function to
11396 python-imenu-create-index.
11397
11398 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11399
11400 * winner.el (winner-active-region): Use region-active-p, activate-mark
11401 and deactivate-mark (bug#14225).
11402
11403 * simple.el (deactivate-mark): Don't inline it.
11404
11405 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11406
11407 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11408
11409 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11410
11411 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11412 file extensions from the archive-mode entry in order to prefer
11413 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11414
11415 2013-04-18 Leo Liu <sdl.web@gmail.com>
11416
11417 * bindings.el (help-event-list): Add ?\?.
11418
11419 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11420
11421 * subr.el (with-wrapper-hook): Declare obsolete.
11422 * simple.el (filter-buffer-substring-function): New hook.
11423 (filter-buffer-substring): Use it.
11424 (filter-buffer-substring-functions): Mark obsolete.
11425 * minibuffer.el (completion-in-region-function): New hook.
11426 (completion-in-region): Use it.
11427 (completion-in-region-functions): Mark obsolete.
11428 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11429 * abbrev.el (abbrev-expand-function): New hook.
11430 (expand-abbrev): Use it.
11431 (abbrev-expand-functions): Mark obsolete.
11432 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11433 and :filter-return.
11434
11435 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11436
11437 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11438 and do not care about match data.
11439
11440 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11441
11442 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11443 completion tables when completing error conditions and
11444 `declare' arguments.
11445 (lisp-complete-symbol, field-complete): Mark as obsolete.
11446 (check-parens): Unmatched parens are user errors.
11447 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11448
11449 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11450
11451 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11452 command changed buffer (ie. `flyspell-pre-buffer' is not current
11453 buffer), which prevents making decisions based on invalid value of
11454 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11455 cause an error when `flyspell-pre-point' was nil after switching
11456 buffers.
11457 (flyspell-post-command-hook): No longer needs to change buffers when
11458 checking pre-word. While at it remove unnecessary progn.
11459
11460 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11461
11462 * textmodes/ispell.el (ispell-add-per-file-word-list):
11463 Fix `flyspell-correct-word-before-point' error when accepting
11464 words and `coment-padding' is an integer by using
11465 `comment-normalize-vars' (Bug #14214).
11466
11467 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11468
11469 New defun movement commands.
11470 * progmodes/python.el (python-nav--syntactically)
11471 (python-nav--forward-defun, python-nav-backward-defun)
11472 (python-nav-forward-defun): New functions.
11473
11474 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11475
11476 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11477 (python-syntax-context): Use named compiler-macro for backwards
11478 compatibility with Emacs 24.x.
11479
11480 2013-04-17 Leo Liu <sdl.web@gmail.com>
11481
11482 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11483 octave-hide-process-buffer.
11484
11485 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11486
11487 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11488 (bug#14216).
11489
11490 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11491
11492 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11493 Fix adjustment of offset when receiving incomplete responses from GDB
11494 (bug#14129).
11495
11496 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11497
11498 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11499 python-mode-abbrev-table.
11500 (python-skeleton-define): Adjust accordingly.
11501 (python-mode-abbrev-table): New table that inherits from it so that
11502 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11503
11504 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11505 (abbrev-symbol): Use it.
11506 (abbrev--before-point): Use it since we already handle inheritance.
11507
11508 2013-04-16 Leo Liu <sdl.web@gmail.com>
11509
11510 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11511 binding to info-lookup-symbol.
11512
11513 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11514
11515 * minibuffer.el (completion--twq-all):
11516 * term/ns-win.el (ns-initialize-window-system):
11517 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11518
11519 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11520
11521 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11522 global bindings.
11523
11524 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11525
11526 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11527
11528 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11529 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11530 to nil.
11531 (ruby-end-of-defun): Remove the unused arg, change the docstring
11532 to reflect that this function is only used as the value of
11533 `end-of-defun-function'.
11534 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11535 to reflect an earlier change that beginning/end-of-defun functions
11536 jump between methods in a class definition, as well as top-level
11537 functions.
11538
11539 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11540
11541 * minibuffer.el (minibuffer-complete): Don't just scroll
11542 a *Completions* that's been iconified.
11543 (minibuffer-force-complete): Make sure repetitions do cycle when going
11544 through completion-in-region -> minibuffer-complete.
11545
11546 2013-04-15 Alan Mackenzie <acm@muc.de>
11547
11548 Correct the placement of c-cpp-delimiters when there're #s not at
11549 col 0.
11550
11551 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11552 place a submatch around the #.
11553 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11554 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11555 on the #, not BOL.
11556
11557 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11558
11559 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11560 (advice--member-p): New arg `name'.
11561 (advice--add-function, advice-member-p): Use it (bug#14202).
11562
11563 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11564
11565 Reformulate java imenu-generic-expression.
11566 The old expression contained ill formed regexps.
11567
11568 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11569 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11570 (cc-imenu-java-method-arg-regexp): New defconsts.
11571 (cc-imenu-java-build-type-args-regex): New defun.
11572 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11573 handling of spaces in the regexp.
11574
11575 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11576
11577 * textmodes/ispell.el (ispell-command-loop): Remove
11578 flyspell highlight of a word when ispell accepts it (bug #14178).
11579
11580 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11581
11582 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11583 uses code from the previous `ange-ftp-run-real-handler'.
11584 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11585 only in case that function exist. This is needed for proper
11586 unloading of Tramp.
11587
11588 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11589
11590 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11591
11592 * textmodes/reftex.el (reftex-compile-variables): Use it.
11593
11594 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11595
11596 * files.el (normal-mode): Only use default major-mode if no other mode
11597 was specified.
11598
11599 * emacs-lisp/trace.el (trace-values): New function.
11600
11601 * files.el: Allow : in local variables (bug#14089).
11602 (hack-local-variable-regexp): New var.
11603 (hack-local-variables-prop-line, hack-local-variables): Use it.
11604
11605 2013-04-13 Roland Winkler <winkler@gnu.org>
11606
11607 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11608 data before it gets modified by bibtex-beginning-of-entry.
11609
11610 2013-04-13 Roland Winkler <winkler@gnu.org>
11611
11612 * textmodes/bibtex.el (bibtex-url): Doc fix.
11613
11614 2013-04-13 Roland Winkler <winkler@gnu.org>
11615
11616 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11617 does not visit a BibTeX file, exclude it from the list of buffers
11618 returned by bibtex-initialize.
11619
11620 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11621
11622 * window.el (split-window): Remove interactive form, since as a
11623 command this function is a special case of split-window-below.
11624 Correct doc string.
11625
11626 2013-04-12 Roland Winkler <winkler@gnu.org>
11627
11628 * faces.el (read-face-name): Do not override value of arg default.
11629 Allow single faces and strings as default values. Remove those
11630 elements from return value that are not faces.
11631 (describe-face): Simplify.
11632 (face-at-point): New optional args thing and multiple so that this
11633 function can provide the same functionality previously provided by
11634 read-face-name.
11635 (make-face-bold, make-face-unbold, make-face-italic)
11636 (make-face-unitalic, make-face-bold-italic, invert-face)
11637 (modify-face, read-face-and-attribute): Use face-at-point.
11638
11639 * cus-edit.el (customize-face, customize-face-other-window)
11640 * cus-theme.el (custom-theme-add-face)
11641 * face-remap.el (buffer-face-set)
11642 * facemenu.el (facemenu-set-face): Use face-at-point.
11643
11644 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11645
11646 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11647
11648 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11649
11650 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11651 off leading { and trailing } from field values.
11652
11653 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11654
11655 * emacs-lisp/timer.el (timer--check): New function.
11656 (timer--time, timer-set-function, timer-event-handler): Use it.
11657 (timer-set-idle-time): Simplify.
11658 (timer--activate): CSE.
11659 (timer-event-handler): Give more info in error message.
11660 (internal-timer-start-idle): New function, moved from C.
11661
11662 * mpc.el (mpc-proc): Add `restart' argument.
11663 (mpc-proc-cmd): Use it.
11664 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11665 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11666 less often.
11667
11668 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11669
11670 * progmodes/sh-script.el: Implement `sh-mode' own
11671 `add-log-current-defun-function' (bug#14112).
11672 (sh-current-defun-name): New function.
11673 (sh-mode): Use the function.
11674
11675 2013-04-09 Bastien Guerry <bzg@gnu.org>
11676
11677 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11678
11679 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11680
11681 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11682
11683 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11684 timer (bug#14156).
11685
11686 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11687
11688 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11689 declaration.
11690
11691 2013-04-07 Leo Liu <sdl.web@gmail.com>
11692
11693 * pcmpl-x.el: New file.
11694
11695 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11696
11697 Do not set x-display-name until X connection is established.
11698 This is needed to prevent from weird situation described at
11699 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11700 * frame.el (make-frame): Set x-display-name after call to
11701 window system initialization function, not before.
11702 * term/x-win.el (x-initialize-window-system): Add optional
11703 display argument and use it.
11704 * term/w32-win.el (w32-initialize-window-system):
11705 * term/ns-win.el (ns-initialize-window-system):
11706 * term/pc-win.el (msdos-initialize-window-system):
11707 Add compatible optional display argument.
11708
11709 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11710
11711 * files.el (normal-backup-enable-predicate): On MS-Windows and
11712 MS-DOS compare truenames of temporary-file-directory and of the
11713 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11714 don't fail comparison by compare-strings. Also, compare file
11715 names case-insensitively on MS-Windows and MS-DOS.
11716
11717 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11718
11719 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11720 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11721
11722 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11723
11724 * whitespace.el (whitespace-color-on, whitespace-color-off):
11725 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11726
11727 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11728
11729 * ispell.el (ispell-set-spellchecker-params):
11730 Really set `ispell-args' for all equivs.
11731
11732 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11733
11734 * ido.el (ido-completions): Use extra elements of ido-decorations
11735 (bug#14143).
11736 (ido-decorations): Update docstring.
11737
11738 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11739
11740 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11741 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11742 nil during initialization, in order not to miss changes since the
11743 file was opened. (Bug#14140)
11744
11745 2013-04-05 Leo Liu <sdl.web@gmail.com>
11746
11747 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11748
11749 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11750
11751 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11752
11753 2013-04-04 Glenn Morris <rgm@gnu.org>
11754
11755 * electric.el (electric-pair-inhibit-predicate): Add :version.
11756
11757 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11758
11759 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11760 when a package is required several times (bug#14082).
11761
11762 2013-04-04 Roland Winkler <winkler@gnu.org>
11763
11764 * faces.el (read-face-name): Behave as promised by the docstring.
11765 Assume that arg default is a list of faces.
11766 (describe-face): Call read-face-name with list of default faces.
11767
11768 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11769
11770 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11771 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11772 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11773 the header.
11774 (bookmark-exit-hook-internal): Save even if list is empty.
11775
11776 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11777
11778 * emacs-lisp/package.el (package-pinned-packages): New var.
11779 (package--add-to-archive-contents): Obey it (bug#14118).
11780
11781 2013-04-03 Alan Mackenzie <acm@muc.de>
11782
11783 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11784 Also adapt to the new values of element 7 of a parse state.
11785
11786 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11787 parameter `not-in-delimiter'. Handle being inside comment opener.
11788 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11789 character in case we're typing a '*' after a '/'.
11790 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11791 instead by passing the parameter to c-state-pp-to-literal.
11792
11793 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11794 for elt. 7 of a parse state.
11795
11796 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11797
11798 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11799 * international/latin1-disp.el, international/mule-util.el:
11800 * language/cyril-util.el, language/european.el, language/ind-util.el:
11801 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11802 * language/tibetan.el, language/viet-util.el:
11803 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11804
11805 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11806
11807 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11808 (electric-pair-post-self-insert-function): Use it.
11809 (electric-pair-default-inhibit): New function, extracted from
11810 electric-pair-post-self-insert-function.
11811
11812 2013-03-31 Roland Winkler <winkler@gnu.org>
11813
11814 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11815
11816 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11817
11818 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11819
11820 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11821
11822 Un-indent after "pass" and "return" statements (Bug#13888)
11823 * progmodes/python.el (python-indent-block-enders): New var.
11824 (python-indent-calculate-indentation): Use it.
11825
11826 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11827
11828 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11829 defun. Defining it as defalias could introduce too eager
11830 byte-compiler optimization. (Bug#14030)
11831
11832 2013-03-30 Chong Yidong <cyd@gnu.org>
11833
11834 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11835
11836 2013-03-30 Leo Liu <sdl.web@gmail.com>
11837
11838 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11839 (kmacro-execute-from-register): Pass the keyboard macro to
11840 kmacro-call-macro or repeating won't work correctly.
11841
11842 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11843
11844 * progmodes/subword.el: Back to using `forward-symbol'.
11845
11846 * subr.el (forward-whitespace, forward-symbol)
11847 (forward-same-syntax): Move from thingatpt.el.
11848
11849 2013-03-29 Leo Liu <sdl.web@gmail.com>
11850
11851 * kmacro.el (kmacro-to-register): New command.
11852 (kmacro-execute-from-register): New function.
11853 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11854
11855 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11856
11857 * mpc.el: Use defvar-local and setq-local.
11858 (mpc--proc-connect): Connection failures are not bugs.
11859 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11860 (mpc-volume-map): Bind to the up-events.
11861
11862 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11863
11864 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11865 instead of `forward-symbol'.
11866
11867 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11868
11869 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11870 (edebug--recursive-edit): Use it.
11871 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11872 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11873
11874 2013-03-28 Leo Liu <sdl.web@gmail.com>
11875
11876 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11877
11878 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11879
11880 * facemenu.el (list-colors-callback): New defvar.
11881 (list-colors-redisplay): New function.
11882 (list-colors-display): Install list-colors-redisplay as the
11883 revert-buffer-function. (Bug#14063)
11884
11885 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11886
11887 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11888 and suffixes don't overlap (bug#14061).
11889
11890 * case-table.el: Use lexical-binding.
11891 (case-table-get-table): New function.
11892 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11893
11894 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11895
11896 * progmodes/subword.el: Add `superword-mode' to do word motion
11897 over symbol_words (parallels and leverages `subword-mode' which
11898 does word motion inside MixedCaseWords).
11899
11900 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11901
11902 * eshell/em-unix.el: Move su and sudo to...
11903 * eshell/em-tramp.el: ...Eshell tramp module.
11904
11905 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11906
11907 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11908 Change return value to be a sexp. Delay `get-buffer' to after
11909 restoring the desktop (bug#13951).
11910
11911 2013-03-26 Leo Liu <sdl.web@gmail.com>
11912
11913 * register.el: Move semantic tag handling back to
11914 cedet/semantic/senator.el. (Bug#14052)
11915
11916 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11917
11918 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11919 into the prompt either (bug#13963).
11920
11921 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11922
11923 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11924 part of "(error-foo)".
11925
11926 2013-03-24 Juri Linkov <juri@jurta.org>
11927
11928 * replace.el (list-matching-lines-prefix-face): New defcustom.
11929 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11930 `occur-engine' if `face-differs-from-default-p' returns t.
11931 (occur-engine): Add `,' inside backquote construct to evaluate
11932 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11933 Pass `prefix-face' to the functions `occur-context-lines' and
11934 `occur-engine-add-prefix'.
11935 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11936 `prefix-face' and propertize the prefix with `prefix-face'.
11937 (Bug#14017)
11938
11939 2013-03-24 Leo Liu <sdl.web@gmail.com>
11940
11941 * nxml/rng-valid.el (rng-validate-while-idle)
11942 (rng-validate-quick-while-idle): Guard against deleted buffer.
11943 (Bug#13999)
11944
11945 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11946 is the last entry in kill-buffer-hook.
11947
11948 * files.el (kill-buffer-hook): Doc fix.
11949
11950 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11951
11952 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11953 Make it safe-local.
11954
11955 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11956
11957 2013-03-23 Leo Liu <sdl.web@gmail.com>
11958
11959 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11960 Remove.
11961
11962 * nxml/rng-valid.el (rng-validate-mode)
11963 (rng-after-change-function, rng-do-some-validation):
11964 * nxml/rng-maint.el (rng-validate-buffer):
11965 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11966 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11967 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11968 (nxml-extend-after-change-region): Use with-silent-modifications.
11969
11970 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11971 timer-idle-list.
11972
11973 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11974 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11975 timer-idle-list. (Bug#13999)
11976
11977 2013-03-23 Juri Linkov <juri@jurta.org>
11978
11979 * info.el (info-index-match): New face.
11980 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11981 main pattern and add text properties with the new face to matches
11982 in index entries relative to the beginning of the index entry.
11983 (Bug#14015)
11984
11985 2013-03-21 Eric Ludlam <zappo@gnu.org>
11986
11987 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11988 Inhibit read only while inserting objects.
11989
11990 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11991
11992 * progmodes/cfengine.el: Update docs to mention
11993 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11994 symbol motion. Remove "_" from the word syntax.
11995
11996 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11997
11998 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11999 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12000
12001 2013-03-20 Juri Linkov <juri@jurta.org>
12002
12003 * info.el (Info-next-reference-or-link)
12004 (Info-prev-reference-or-link): New functions.
12005 (Info-next-reference, Info-prev-reference): Use them.
12006 (Info-try-follow-nearest-node): Handle footnote navigation.
12007 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12008
12009 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12010
12011 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12012 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12013
12014 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12015
12016 Suppress unnecessary non-ASCII chatter during build process.
12017 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12018 (batch-skkdic-convert): Suppress most of the chatter.
12019 It's not needed so much now that machines are faster,
12020 and its non-ASCII component was confusing; see Dmitry Gutov in
12021 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12022
12023 2013-03-20 Leo Liu <sdl.web@gmail.com>
12024
12025 * ido.el (ido-chop): Fix bug#10994.
12026
12027 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12028
12029 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12030 Remove vars.
12031 (whitespace-color-on, whitespace-color-off):
12032 Use `font-lock-fontify-buffer' (Bug#13817).
12033
12034 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12035
12036 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12037 remapping in mode-line.
12038 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12039
12040 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12041
12042 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12043 value for `whitespace-line' face (Bug#13875).
12044 (whitespace-font-lock-keywords): Change description.
12045 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12046 the constructed keywords instead.
12047 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12048
12049 2013-03-19 Leo Liu <sdl.web@gmail.com>
12050
12051 * progmodes/compile.el (compilation-display-error): New command.
12052 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12053 C-o. (Bug#13992)
12054
12055 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12056
12057 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12058
12059 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12060
12061 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12062
12063 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12064
12065 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12066
12067 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12068 * net/tramp-gvfs.el (top):
12069 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12070 (tramp-handle-shell-command): Use it.
12071 (tramp-dissect-file-name): Raise an error when hostname is a
12072 method name, and neither method nor user is specified.
12073
12074 * net/trampver.el: Update release number.
12075
12076 2013-03-18 Leo Liu <sdl.web@gmail.com>
12077
12078 Make sure eldoc can be turned off properly.
12079 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12080 eldoc-mode.
12081 (eldoc-display-message-p): Revert last change.
12082 (eldoc-display-message-no-interference-p)
12083 (eldoc-print-current-symbol-info): Tweak.
12084
12085 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12086
12087 * doc-view.el (doc-view-new-window-function): Check the new window
12088 overlay's display property instead the char property of the
12089 buffer's first char. Use `with-selected-window' instead of
12090 `save-window-excursion' with `select-window'.
12091 (doc-view-document->bitmap): Check the current doc-view overlay's
12092 display property instead the char property of the buffer's first char.
12093
12094 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12095
12096 Automate the build of ja-dic.el (Bug#13984).
12097 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12098 from the input, rather than assume that it's been done for us by the
12099 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12100 the current date into a ja-dic.el comment, as that complicates
12101 regression testing.
12102
12103 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12104
12105 * whitespace.el: Fix double evaluation.
12106 (whitespace-space, whitespace-hspace, whitespace-tab)
12107 (whitespace-newline, whitespace-trailing, whitespace-line)
12108 (whitespace-space-before-tab, whitespace-indentation)
12109 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12110 obsolete defvars.
12111 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12112 (whitespace-color-on): Use a single font-lock-add-keywords call.
12113 Fix double-evaluation of face variables.
12114
12115 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12116
12117 * net/tramp-adb.el (tramp-adb-parse-device-names):
12118 Use `start-process' instead of `call-process'. Otherwise, the
12119 function might be blocked under MS Windows. (Bug#13299)
12120
12121 2013-03-17 Leo Liu <sdl.web@gmail.com>
12122
12123 Extend eldoc to display info in the mode-line. (Bug#13978)
12124 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12125 (eldoc-mode-line-string): New variable.
12126 (eldoc-minibuffer-message): New function.
12127 (eldoc-message-function): New variable.
12128 (eldoc-message): Use it.
12129 (eldoc-display-message-p)
12130 (eldoc-display-message-no-interference-p):
12131 Support eldoc-post-insert-mode.
12132
12133 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12134 (eval-expression): Run it.
12135
12136 2013-03-17 Roland Winkler <winkler@gnu.org>
12137
12138 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12139 strings in the list of return values.
12140
12141 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12142
12143 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12144 radix before checking for HMS forms.
12145
12146 2013-03-16 Leo Liu <sdl.web@gmail.com>
12147
12148 * progmodes/scheme.el: Add indentation and font-locking for λ.
12149 (Bug#13975)
12150
12151 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12152
12153 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12154 token before point (bug#13942).
12155
12156 2013-03-16 Leo Liu <sdl.web@gmail.com>
12157
12158 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12159
12160 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12161
12162 * startup.el (command-line-normalize-file-name): Fix handling of
12163 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12164 <xfq.free@gmail.com> in
12165 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12166
12167 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12168
12169 Sync with Tramp 2.2.7.
12170
12171 * net/trampver.el: Update release number.
12172
12173 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12174
12175 * doc-view.el: Fix bug#13887.
12176 (doc-view-insert-image): Don't modify overlay associated to
12177 non-live windows, and implement horizontal centering of image in
12178 case it's smaller than the window.
12179 (doc-view-new-window-function): Force redisplay of new windows on
12180 doc-view buffers.
12181
12182 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12183
12184 * saveplace.el (save-place-alist-to-file): Don't sort
12185 `save-place-alist', just pretty-print it (bug#13882).
12186
12187 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12188
12189 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12190 Check whether `default-file-name-coding-system' is bound.
12191 It isn't in XEmacs.
12192
12193 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12194
12195 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12196 backquotes for `obsolete' (bug#13929).
12197
12198 * international/mule.el (find-auto-coding): Include file name in
12199 obsolescence warning (bug#13922).
12200
12201 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12202
12203 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12204 for CFEngine 3-specific indentation.
12205 (cfengine3-indent-line): Use it. Fix up category regex.
12206 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12207
12208 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12209
12210 * type-break.el (type-break-file-name):
12211 * textmodes/remember.el (remember-data-file):
12212 * strokes.el (strokes-file):
12213 * shadowfile.el (shadow-initialize):
12214 * saveplace.el (save-place-file):
12215 * ps-bdf.el (bdf-cache-file):
12216 * progmodes/idlwave.el (idlwave-config-directory):
12217 * net/quickurl.el (quickurl-url-file):
12218 * international/kkc.el (kkc-init-file-name):
12219 * ido.el (ido-save-directory-list-file):
12220 * emulation/viper.el (viper-custom-file-name):
12221 * emulation/vip.el (vip-startup-file):
12222 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12223 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12224
12225 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12226
12227 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12228 * language/thai-word.el: Switch to UTF-8.
12229
12230 See ChangeLog.16 for earlier changes.
12231
12232 ;; Local Variables:
12233 ;; coding: utf-8
12234 ;; End:
12235
12236 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12237
12238 This file is part of GNU Emacs.
12239
12240 GNU Emacs is free software: you can redistribute it and/or modify
12241 it under the terms of the GNU General Public License as published by
12242 the Free Software Foundation, either version 3 of the License, or
12243 (at your option) any later version.
12244
12245 GNU Emacs is distributed in the hope that it will be useful,
12246 but WITHOUT ANY WARRANTY; without even the implied warranty of
12247 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12248 GNU General Public License for more details.
12249
12250 You should have received a copy of the GNU General Public License
12251 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.