]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
merge trunk
[gnu-emacs] / lisp / ChangeLog
1 2014-01-10 K. Handa <handa@gnu.org>
2
3 * mail/rmail.el (rmail-get-coding-system): Check
4 rmail-get-coding-function before "funcall"ing it.
5
6 2014-01-10 Glenn Morris <rgm@gnu.org>
7
8 * emacs-lisp/authors.el (authors-fixed-entries):
9 Update for files that no longer exist.
10
11 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
12
13 * version.el (emacs-bzr-get-version): Restore compatibilty with
14 24.3 (Tested).
15
16 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
17
18 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
19 and Podfile.
20
21 2014-01-10 Eli Zaretskii <eliz@gnu.org>
22
23 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
24
25 2014-01-10 Chong Yidong <cyd@gnu.org>
26
27 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is
28 loaded.
29
30 2014-01-10 Anders Lindgren <andlind@gmail.com>
31
32 * follow.el (follow-cache-command-list): Include right-char and
33 left-char.
34
35 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
36
37 Spelling fixes.
38 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
39 * woman.el (woman-mark-horizontal-position):
40 Rename from woman-mark-horizonal-position. Use changed.
41
42 2014-01-10 Glenn Morris <rgm@gnu.org>
43
44 * info.el (info-initialize): If running uninstalled, ensure our
45 own info files are always found first, even if INFOPATH is set.
46
47 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
48
49 2014-01-09 David Engster <deng@randomsample.de>
50
51 * emacs-lisp/eieio-custom.el:
52 * emacs-lisp/eieio-opt.el: Set generated autoload file to
53 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
54 * emacs-lisp/eieio.el: Regenerate autoloads.
55
56 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
57
58 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
59 following renames. (Bug#8756)
60
61 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
62
63 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
64 (bug#16382).
65 (activate-mark): Add `no-tmm' argument.
66 (set-mark, push-mark-command): Use it instead of running
67 activate-mark-hook by hand.
68
69 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
70
71 In preparation for the move to git, sanitize out some
72 Bazaar-specific names.
73
74 * version.el (emacs-bzr-version): Name changed to
75 emacs-repository-version. Obsolete-variable alias made.
76 * loadup.el: Follow through on this name change.
77 * mail/emacsbug.el (report-emacs-bug): Factor out any
78 assumption about the version control system in use.
79
80 2014-01-08 David Engster <deng@randomsample.de>
81
82 * help-fns.el (help-fns-describe-function-functions):
83 New variable to call functions for augmenting help buffers.
84 (describe-function-1): Remove explicit calls to
85 `help-fns--compiler-macro', `help-fns--parent-mode' and
86 `help-fns--obsolete'. Put them in above new variable instead, and
87 call them through `run-hook-with-args'.
88 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
89 `eieio-describe-class'. Not meant for interactive use anymore,
90 but to augment existing help buffers. Remove optional second
91 argument. Create proper button for file location.
92 Rewrite function to use `insert' instead of `princ' and `prin1' where
93 possible.
94 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
95 (eieio-method-def, eieio-class-def): Move further up.
96 (describe-method, describe-generic, eieio-describe-method):
97 Remove aliases.
98 (eieio-help-constructor, eieio-help-generic): Rename from
99 `eieio-describe-constructor' and `eieio-describe-generic', resp.
100 Rewrite to use `insert' in the current buffer and use proper help
101 buttons.
102 (eieio-help-find-method-definition)
103 (eieio-help-find-class-definition): Also accept symbols as
104 arguments.
105 (eieio-help-mode-augmentation-maybee): Remove.
106 (eieio-describe-class-sb): Use `describe-function'.
107 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
108 Add `eieio-help-generic' and `eieio-help-constructor'.
109
110 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
111
112 Spelling fixes.
113 * language/china-util.el (hz-ascii-designation):
114 Rename from hz-ascii-designnation.
115 (hz-ascii-designation): Rename from hz-ascii-designnation.
116 All uses changed.
117
118 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
119
120 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
121 package-alist.
122
123 2014-01-08 Bastien Guerry <bzg@gnu.org>
124
125 * emacs-lisp/package.el (package-delete):
126 Correctly delete the package from package-alist.
127
128 2014-01-08 Daiki Ueno <ueno@gnu.org>
129
130 * emacs-lisp/package.el (url-recreate-url): Declare.
131 (url-http-target-url): Declare.
132 (package-handle-response): Include requested URL in the error message.
133 (package--check-signature): Don't re-signal errors from
134 package--with-work-buffer. Suggested by Stefan Monnier.
135
136 2014-01-07 Bastien Guerry <bzg@gnu.org>
137
138 * minibuffer.el (completion--try-word-completion): When both a
139 hyphen and a space are possible candidates for the character
140 following a word, display both candidates. (Bug#15980)
141
142 2014-01-07 Martin Rudalics <rudalics@gmx.at>
143
144 * window.el (balance-windows-2): While rounding don't give a
145 window more than the remainder. Bug#16351, Bug#16383.
146
147 2014-01-07 Glenn Morris <rgm@gnu.org>
148
149 * menu-bar.el (menu-bar-help-extra-packages): Remove.
150 (menu-bar-help-menu): Use view-external-packages instead.
151
152 2014-01-07 Bastien Guerry <bzg@gnu.org>
153
154 * emacs-lisp/package.el (package-delete): Also delete the package
155 name from `package-alist', not its description only.
156
157 2014-01-07 Glenn Morris <rgm@gnu.org>
158
159 * help.el (view-external-packages):
160 * menu-bar.el (menu-bar-help-extra-packages):
161 Visit efaq.info rather than etc/MORE.STUFF.
162
163 2014-01-07 Juri Linkov <juri@jurta.org>
164
165 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
166 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
167
168 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
169 that shadows RET. (Bug#16342)
170
171 2014-01-07 Chong Yidong <cyd@gnu.org>
172
173 * isearch.el (isearch-yank-char, isearch-yank-word)
174 (isearch-yank-line): Doc fix.
175
176 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
177
178 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
179 * emacs-lisp/elint.el (elint-find-builtins):
180 * emacs-lisp/eldoc.el (eldoc-symbol-function):
181 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
182 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
183 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
184 * apropos.el (apropos-safe-documentation):
185 * subr.el (symbol-file): Remove redundant fboundp.
186 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
187
188 2014-01-06 Bastien Guerry <bzg@gnu.org>
189
190 * hl-line.el (global-hl-line-overlay): Make a local variable.
191 (global-hl-line-overlays): New variable to store all overlays.
192 (global-hl-line-mode): Don't delete overlays from the current
193 buffer when `global-hl-line-sticky-flag' is non-nil.
194 (global-hl-line-highlight): Add new overlays to
195 `global-hl-line-overlays'.
196 (global-hl-line-unhighlight-all): New function to delete all
197 overlays when turning off `global-hl-line-mode'.
198 This fixes Bug#16183.
199
200 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
201
202 * subr.el (set-transient-map): Fix nested case and docstring.
203
204 2014-01-06 Tassilo Horn <tsdh@gnu.org>
205
206 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
207 `Texinfo' entry.
208
209 2014-01-06 Daniel Colascione <dancol@dancol.org>
210
211 Fix defun navigation in vc log view.
212
213 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
214 like `beginning-of-defun'.
215 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
216 log-view-end-of-defun to log-view-end-of-defun-1. Replace
217 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
218 (log-view-extract-comment): Call `log-view-current-entry' directly
219 instead of relying on broken `log-view-beginning-of-defun' behavior.
220
221 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
222
223 Spelling fixes.
224 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
225 * emacs-lisp/debug.el (cancel-debug-on-entry):
226 * epg.el (epg-error-to-string):
227 * files.el (recover-file):
228 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
229 * mail/emacsbug.el (report-emacs-bug-hook):
230 * mail/sendmail.el (mail-recover):
231 * ses.el (ses-yank-resize):
232 * term/ns-win.el (ns-print-buffer):
233 Spelling fixes in diagnostics, mostly for "canceled" with one L.
234 * epg.el (epg-key-capability-alist): Rename from misspelled version.
235 All uses changed.
236 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
237
238 2014-01-06 Leo Liu <sdl.web@gmail.com>
239
240 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
241 to avoid shadowning global key. (Bug#16354)
242
243 2014-01-06 Daniel Colascione <dancol@dancol.org>
244
245 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
246 rst-mode.
247
248 2014-01-05 Martin Rudalics <rudalics@gmx.at>
249
250 * window.el (balance-windows): Add mising t to fix Bug#16351.
251
252 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
253
254 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
255 (bug#16285).
256 (shr-insert): If we have a word that's longer than `shr-width',
257 break after it anyway. Otherwise we'll do no breaking once we get
258 such a long word.
259
260 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
261
262 * net/eww.el (eww): Support single/double quote for search.
263 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
264 (eww-history-quit): Delete and use quit-window.
265 (eww-history-kill): Delete, because it doesn't work well and
266 not necessary.
267 (eww-history-mode-map): Delete some keys and add easy-menu.
268
269 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
270
271 Fix misspelling of 'chinese' in rx (Bug#16237).
272 * emacs-lisp/rx.el (rx-categories): Correct spelling of
273 chinese-two-byte.
274
275 Change subword regexps back to vars (Bug#16296).
276 * progmodes/subword.el (subword-forward-regexp)
277 (subword-backward-regexp): Change these back to variables.
278
279 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
280
281 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
282 syntax-begin-function (bug#16247).
283
284 2014-01-03 Chong Yidong <cyd@gnu.org>
285
286 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
287 (advice--docstring): Delete variable.
288 (advice--make-1): Leave the docstring empty.
289 (advice-add): Use function-documentation for advised docstring.
290
291 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
292 Ignore function-documentation property when getting documentation.
293 (ad-activate-advised-definition): Use function-documentation
294 generate the docstring.
295 (ad-make-advised-definition): Don't call
296 ad-make-advised-definition-docstring.
297 (ad-make-advised-definition-docstring, ad-advised-definition-p):
298 Delete functions.
299
300 * progmodes/sql.el (sql-help): Use function-documentation instead
301 of dynamic-docstring-function property. No need to autoload now.
302 (sql--help-docstring): New variable.
303 (sql--make-help-docstring): Use it.
304
305 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
306
307 * ielm.el (ielm-tab): Retarget.
308 (ielm-map): Use ielm-tab for tab.
309 (ielm-complete-filename): Use comint-filename-completion.
310 (ielm-complete-symbol): Remove.
311 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
312 remove ielm-tab from completion-at-point-functions (bug#16224).
313
314 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
315 Beware signals raised by predicates (bug#16201).
316
317 2014-01-02 Richard Stallman <rms@gnu.org>
318
319 * dired-aux.el (dired-do-print): Handle printer-name.
320
321 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
322 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
323 (rmail-epa-decrypt): Turn off mime processing.
324
325 * mail/rmail.el (rmail-make-in-reply-to-field):
326 Add parens in message-id.
327
328 * mail/rmail.el (rmail-get-coding-function): Variable.
329 (rmail-get-coding-system): Use it.
330
331 2013-12-31 Eli Zaretskii <eliz@gnu.org>
332
333 * international/mule-conf.el: Unify the charset indian-is13194.
334 (indian-is13194): Specify unify-map.
335
336 2013-12-31 Leo Liu <sdl.web@gmail.com>
337
338 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
339
340 2013-12-30 Daniel Colascione <dancol@dancol.org>
341
342 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
343 of printing a useless when we resume from sleep.
344
345 * progmodes/sh-script.el
346 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
347 in indentation code. (Bug#16233)
348
349 2013-12-28 João Távora <joaotavora@gmail.com>
350
351 * elec-pair.el (electric-pair-post-self-insert-function):
352 Don't open extra newlines at beginning of buffer. (Bug#16272)
353
354 2013-12-28 Eli Zaretskii <eliz@gnu.org>
355
356 * frame.el (window-system-for-display): Don't allow to create a
357 GUI frame from a -nw session on MS-Windows. (Bug#14739)
358
359 2013-12-28 Glenn Morris <rgm@gnu.org>
360
361 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
362 Update callers.
363
364 * apropos.el (apropos-match-face):
365 * calculator.el (calculator-displayer):
366 * dabbrev.el (dabbrev-search-these-buffers-only):
367 * face-remap.el (buffer-face-mode-face):
368 * simple.el (yank-handled-properties):
369 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
370 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
371 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
372 (hashcash-double-spend-database):
373 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
374 (ruby-deep-indent-paren-style):
375 * textmodes/flyspell.el (flyspell-auto-correct-binding):
376 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
377 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
378 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
379 Specify custom types.
380
381 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
382 * bookmark.el (bookmark-bmenu-use-header-line):
383 * doc-view.el (doc-view-scale-internally):
384 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
385 * register.el (register-preview-delay):
386 * net/shr.el (shr-bullet):
387 * progmodes/cfengine.el (cfengine-cf-promises)
388 (cfengine-parameters-indent):
389 * progmodes/octave.el (inferior-octave-error-regexp-alist):
390 * textmodes/reftex-vars.el (reftex-label-regexps):
391 * vc/log-edit.el (log-edit-setup-add-author): Add version.
392
393 * net/tls.el (tls-certtool-program): Fix default value.
394
395 * desktop.el (desktop-restore-in-current-display):
396 * newcomment.el (comment-empty-lines):
397 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
398 (idlwave-pad-keyword):
399 * progmodes/tcl.el (tcl-tab-always-indent):
400 * textmodes/reftex-vars.el (reftex-index-default-tag):
401 * elec-pair.el (electric-pair-skip-whitespace):
402 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
403
404 * emacs-lisp/authors.el (authors-ignored-files)
405 (authors-valid-file-names, authors-renamed-files-alist): Additions.
406
407 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
408
409 * shell.el (shell-dynamic-complete-command): Doc fix.
410 (shell--command-completion-data): Shell completion now matches
411 executable filenames from the current buffer's directory, on
412 systems in which this behavior is the default (windows-nt, ms-dos).
413
414 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
415
416 * net/shr.el (shr-insert): Don't infloop if the width is zero.
417
418 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
419
420 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
421 (bug#16251).
422
423 * electric.el: Move all electric-pair-* to elec-pair.el.
424 * elec-pair.el: New file, split from electric.el.
425
426 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
427
428 * net/shr.el (shr-find-fill-point): Don't try to fill if the
429 indentation level is larger than the width, because that will
430 infloop.
431 (shr-insert): Fill repeatedly long texts, so that Japanese is
432 formatted correctly (bug#16263).
433 (shr-find-fill-point): Off by one error in comparison with the
434 indentation.
435
436 2013-12-26 João Távora <joaotavora@gmail.com>
437
438 * electric.el (electric-pair-mode): More flexible engine for skip-
439 and inhibit predicates, new options for pairing-related functionality.
440 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
441 if that keeps or improves their balance in buffers.
442 (electric-pair-delete-adjacent-pairs): Delete the pair when
443 backspacing over adjacent matched delimiters.
444 (electric-pair-open-extra-newline): Open extra newline when
445 inserting newlines between adjacent matched delimiters.
446 (electric--sort-post-self-insertion-hook):
447 Sort post-self-insert-hook according to priority values when
448 minor-modes are activated.
449 * simple.el (newline-and-indent): Call newline with interactive
450 set to t.
451 (blink-paren-post-self-insert-function): Set priority to 100.
452 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
453 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
454 comments. Locally set electric-pair-skip-whitespace to 'chomp and
455 electric-pair-open-newline-between-pairs to nil.
456
457 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
458
459 * progmodes/python.el: Use lexical-binding.
460 (python-nav-beginning-of-defun): Stop searching ASAP.
461
462 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
463
464 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
465 Fix interactive spec. Doc fix. (Bug#15754)
466
467 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
468
469 * emacs-lisp/byte-run.el (eval-when-compile):
470 * progmodes/cc-defs.el (cc-eval-when-compile):
471 Fix edebug spec (bug#16184).
472
473 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
474
475 * net/shr.el (shr-visit-file): Remove debugging function.
476 (shr-insert): Don't infloop if we can't find a good place to break
477 the line (bug#16256).
478
479 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
480
481 * progmodes/python.el:
482 (python-nav--lisp-forward-sexp): New function.
483 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
484 python-nav-lisp-forward-sexp-safe.
485 (python-nav--forward-sexp): New argument SAFE allows switching
486 forward sexp movement behavior for parens.
487 (python-nav-forward-sexp): Throw errors on unterminated parens
488 (Bug#16191).
489 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
490 (python-nav-backward-sexp-safe): New functions.
491 (python-shell-buffer-substring):
492 Use `python-nav-forward-sexp-safe'.
493
494 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
495
496 * net/shr.el (shr-find-fill-point): Don't break lines before a
497 quotation mark.
498 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
499 (shr-find-fill-point): Remove the special checks for the quotation
500 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
501
502 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
503
504 * net/eww.el (eww-form-textarea): Use a different face for
505 textareas than text input since they have different keymaps
506 (bug#16142).
507
508 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
509
510 * progmodes/python.el (python-nav-beginning-of-statement):
511 Speed up (Bug#15295).
512
513 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
514
515 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
516 the window configuration.
517
518 2013-12-24 Eli Zaretskii <eliz@gnu.org>
519
520 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
521 we run on MS-Windows or MS-DOS.
522
523 2013-12-24 Martin Rudalics <rudalics@gmx.at>
524
525 * window.el (balance-windows-area): Call window-size instead of
526 window-height and window-width. Bug#16241.
527
528 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
529
530 * net/eww.el (eww-bookmark-quit): Remove.
531 (eww-bookmark-browse): Restore the window configuration when you
532 choose a bookmark (bug#16144).
533
534 2013-12-24 Daniel Colascione <dancol@dancol.org>
535
536 * icomplete.el: Remove redundant :group arguments to `defcustom'
537 throughout.
538 (icomplete-show-matches-on-no-input): New customizable variable.
539 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
540 we have something to show.
541 (icomplete-exhibit): Compute completions even if we have no user input.
542
543 2013-12-23 Daniel Colascione <dancol@dancol.org>
544
545 * icomplete.el: Move `provide' to end of file.
546
547 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
548
549 * net/gnutls.el (gnutls-verify-error): Add version tag.
550
551 2013-12-23 Chong Yidong <cyd@gnu.org>
552
553 * subr.el (set-transient-map): Rename from
554 set-temporary-overlay-map. Doc fix.
555
556 * face-remap.el (text-scale-adjust):
557 * indent.el (indent-rigidly):
558 * kmacro.el (kmacro-call-macro):
559 * minibuffer.el (minibuffer-force-complete):
560 * repeat.el (repeat):
561 * simple.el (universal-argument--mode):
562 * calendar/todo-mode.el (todo-insert-item--next-param):
563 * progmodes/f90.el (f90-abbrev-start): Callers changed.
564
565 * indent.el (indent-rigidly): Use substitute-command-keys.
566
567 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
568
569 * net/eww.el (eww-tag-select): Add text-property to jump to next
570 select field.
571 (eww): Add non-supported ftp error.
572
573 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
574
575 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
576 comments. Handle electric indent after typing `?' and `!'.
577
578 2013-12-22 Chong Yidong <cyd@gnu.org>
579
580 * faces.el (face-spec-recalc): If the theme specs are not
581 applicable to a frame, fall back on the defface spec.
582 This prevents themes from obliterating faces on low-color terminals.
583
584 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
585
586 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
587 after `{'. We need it after block openers, and it doesn't seem
588 to hurt after hash openers.
589
590 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
591
592 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
593 extracted from `ruby-smie-rules'.
594 (ruby--electric-indent-chars): New variable.
595 (ruby--electric-indent-p): New function.
596 (ruby-mode): Use `electric-indent-functions' instead of
597 `electric-indent-chars'.
598
599 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
600
601 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
602 docstring.
603 (ruby-smie-rules): Indent plus one level after `=>'.
604
605 2013-12-21 Richard Stallman <rms@gnu.org>
606
607 * simple.el (newline): Doc fix.
608
609 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
610
611 * net/eww.el (eww-list-histories, eww-list-histories)
612 (eww-history-browse, eww-history-quit, eww-history-kill)
613 (eww-history-mode-map, eww-history-mode): New command and
614 functions to list browser histories.
615 (eww-form-text): Support text form with disabled
616 and readonly attributes.
617 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
618
619 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
620
621 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
622 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
623 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
624 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
625 Use `user-error'.
626 (eww-bookmark-mode-map): Add menu.
627 (eww-render, eww-mode): Use `setq-local'.
628 (eww-tool-bar-map): New variable.
629 (eww-mode): Set `tool-bar-map'.
630 (eww-view-source): Check for `html-mode' with `fboundp'.
631
632 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
633
634 * net/shr.el (shr--extract-best-source): Don't bug out on audio
635 elements with text inside. Also remove debugging.
636
637 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
638
639 * cus-start.el (all): Add ns-use-srgb-colorspace.
640
641 2013-12-21 Chong Yidong <cyd@gnu.org>
642
643 * custom.el (custom-theme-recalc-face): Do nothing if the face is
644 undefined. Thus, theme settings for undefined faces do not take
645 effect until the faces are defined with defface, the same as with
646 theme variables.
647
648 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
649 (face-spec-reset-face): Don't assign extra properties in temacs.
650 (face-spec-recalc): Apply X resources too.
651
652 2013-12-21 Chong Yidong <cyd@gnu.org>
653
654 * faces.el (face-spec-set):
655 * cus-face.el (custom-theme-set-faces, custom-set-faces):
656 * custom.el (defface): Doc fixes (Bug#16203).
657
658 * indent.el (indent-rigidly-map): Add docstring, and move commands
659 into named functions.
660 (indent-rigidly-left, indent-rigidly-right)
661 (indent-rigidly-left-to-tab-stop)
662 (indent-rigidly-right-to-tab-stop): New functions. Decide on
663 indentation direction based on bidi direction, and accumulate
664 sequential commands in a single undo boundary.
665 (indent-rigidly--pop-undo): New utility function.
666
667 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
668
669 * faces.el (read-face-name): Require crm.el when using crm-separator.
670
671 2013-12-20 Daniel Colascione <dancol@dancol.org>
672
673 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
674 so that we don't reflow comments into the shebang line.
675
676 2013-12-20 Juri Linkov <juri@jurta.org>
677
678 * saveplace.el (save-place-to-alist): Add `dired-filename' as
679 a position when `dired-directory' is non-nil. Check integer
680 positions with `integerp'.
681 (toggle-save-place, save-places-to-alist): Add check for
682 `dired-directory'.
683 (save-place-find-file-hook): Check integer positions with
684 `integerp'.
685 (save-place-dired-hook): Use `dired-goto-file' when
686 `dired-filename' is found in the assoc list. Check integer
687 positions with `integerp'.
688 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
689
690 * dired.el (dired-initial-position-hook): Rename back from
691 `dired-initial-point-hook'.
692 (dired-initial-position): Rename `dired-initial-point-hook' to
693 `dired-initial-position-hook'.
694 (dired-file-name-at-point): Doc fix. (Bug#15329)
695
696 2013-12-20 Juri Linkov <juri@jurta.org>
697
698 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
699 (read-regexp-suggestions): New function.
700 (read-regexp): Use `read-regexp-defaults-function' to get default values.
701 Use `read-regexp-suggestions'. Add non-empty default to history
702 for empty input.
703 (occur-read-regexp-defaults-function): Remove function.
704 (occur-read-primary-args): Use `regexp-history-last' instead of
705 `occur-read-regexp-defaults-function'.
706
707 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
708 (hi-lock-line-face-buffer, hi-lock-face-buffer)
709 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
710 `hi-lock-read-regexp-defaults-function'. Doc fix.
711 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
712 with `find-tag-default-as-symbol-regexp'. Doc fix.
713 (hi-lock-read-regexp-defaults): Remove function.
714 (hi-lock-regexp-okay): Add check for null.
715
716 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
717 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
718
719 * subr.el (find-tag-default-as-symbol-regexp): New function.
720 (find-tag-default-as-regexp): Move symbol regexp formatting to
721 `find-tag-default-as-symbol-regexp'.
722
723 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
724
725 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
726 (Bug#14179)
727
728 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
729
730 * calendar/todo-mode.el: New implementation of item insertion
731 commands and key bindings.
732 (todo-key-prompt): New face.
733 (todo-insert-item): New command.
734 (todo-insert-item--parameters): New defconst, replacing defvar
735 todo-insertion-commands-args-genlist.
736 (todo-insert-item--param-key-alist): New defconst, replacing
737 defvar todo-insertion-commands-arg-key-list.
738 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
739 (todo-insert-item--argsleft, todo-insert-item--apply-args)
740 (todo-insert-item--next-param): New functions.
741 (todo-insert-item--args, todo-insert-item--argleft)
742 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
743 New variables.
744 (todo-key-bindings-t): Change binding of "i" from
745 todo-insertion-map to todo-insert-item.
746 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
747 (todo-insertion-command-name, todo-insertion-commands-names)
748 (todo-define-insertion-command, todo-insertion-commands)
749 (todo-insertion-key-bindings, todo-insertion-map): Remove.
750
751 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
752
753 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
754 (todo-toggle-item-highlighting): Use eval-and-compile instead of
755 eval-when-compile.
756 (todo-move-category): Allow choosing a non-existing todo file to
757 move the category to, and create that file.
758 (todo-default-priority): New user option.
759 (todo-set-item-priority): Use it.
760 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
761 (desktop-restore-file-buffer): Declare.
762 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
763 (todo-modes-set-2): Locally set desktop-save-buffer to
764 todo-desktop-save-buffer.
765 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
766 (auto-mode-alist): Add autoload cookie.
767
768 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
769
770 * emacs-lisp/subr-x.el: Renamed from helpers.el.
771 helpers.el was a poor choice of name.
772 (string-remove-prefix): New function.
773 (string-remove-suffix): New function.
774
775 2013-12-20 Martin Rudalics <rudalics@gmx.at>
776
777 Fix assignment for new window total sizes.
778 * window.el (window--pixel-to-size): Remove function.
779 (window--pixel-to-total-1, window--pixel-to-total):
780 Fix calculation of new total sizes.
781
782 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
783
784 * comint.el (comint-output-filter): Fix rear-nonsticky property
785 placement (Bug#16010).
786
787 2013-12-20 Chong Yidong <cyd@gnu.org>
788
789 * faces.el (read-color): Minor fix for completion function.
790
791 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
792
793 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
794 New option. (Bug#16182)
795 (ruby-smie--indent-to-stmt-p): Use it.
796 (ruby-smie-rules): Revert the logic in the handling of `when'.
797 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
798 (ruby-deep-arglist, ruby-deep-indent-paren)
799 (ruby-deep-indent-paren-style): Update docstrings to note that the
800 vars don't have any effect with SMIE.
801
802 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
803
804 * calc/calc.el (calc-enter, calc-pop): Use the variable
805 `calc-context-sensitive-enter'.
806
807 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
808
809 * net/shr.el (shr-insert): Protect against infloops in degenerate
810 tables.
811
812 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
813
814 * progmodes/octave.el (octave): Add link to manual and octave
815 homepage.
816 (octave-mode-menu): Link to octave-mode manual.
817
818 2013-12-20 Leo Liu <sdl.web@gmail.com>
819
820 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
821 insertion using skeleton-end-newline. (Bug#16138)
822
823 2013-12-20 Juri Linkov <juri@jurta.org>
824
825 * replace.el (occur-engine): Use `add-face-text-property'
826 to add the face property to matches and titles. (Bug#14645)
827
828 * hi-lock.el (hi-green): Use lighter color "light green" closer to
829 the palette of other hi-lock colors.
830 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
831
832 2013-12-19 Juri Linkov <juri@jurta.org>
833
834 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
835 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
836 (minibuffer-history-symbol): Move variable declaration closer to
837 its usage.
838
839 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
840 (Bug#14785)
841
842 2013-12-19 Juri Linkov <juri@jurta.org>
843
844 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
845 New function.
846 (log-edit-hook): Add it to :options. (Bug#16170)
847
848 2013-12-19 Juri Linkov <juri@jurta.org>
849
850 * simple.el (eval-expression-print-format): Don't check for
851 command names and the last command. Always display additional
852 formats of the integer result in the echo area, and insert them
853 to the current buffer only with a zero prefix arg.
854 Display character when char-displayable-p is non-nil.
855 (eval-expression): With a zero prefix arg, set `print-length' and
856 `print-level' to nil, and insert the integer values from
857 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
858
859 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
860 `eval-last-sexp-arg-internal'. Doc fix.
861 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
862 `eval-last-sexp-print-value'. Doc fix.
863 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
864 Set `print-length' and `print-level' to nil when arg is zero.
865 (eval-last-sexp): Doc fix.
866 (eval-defun-2): Print the integer values from
867 `eval-expression-print-format' at the end.
868
869 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
870 values from `eval-expression-print-format' at the end.
871
872 * ielm.el (ielm-eval-input): Print the integer
873 values from `eval-expression-print-format' at the end.
874
875 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
876
877 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
878 2013-12-11T19:01:44Z!tzz@lifelogs.com.
879
880 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
883 (hl-line-highlight, global-hl-line-highlight): Use it.
884 (hl-line-overlay): Use defvar-local.
885
886 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
887
888 * term/ns-win.el: Require dnd.
889 (global-map): Remove drag items.
890 (ns-insert-text, ns-set-foreground-at-mouse)
891 (ns-set-background-at-mouse):
892 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
893 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
894 New functions.
895
896 2013-12-19 Glenn Morris <rgm@gnu.org>
897
898 * emacs-lisp/ert.el (ert-select-tests):
899 Fix string/symbol mixup. (Bug#16121)
900
901 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
902
903 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
904 keywords to their parent.
905
906 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
907
908 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
909 first arg to be a string (fixed dead code), or an operator symbol.
910 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
911 operator symbols.
912 (ruby-smie-rules): Remove parent token check in the `.' clause, it
913 did nothing. Don't respond to `(:after ".")', it will be called
914 with :before anyway. Remove the ` @ ' rule, it didn't seem to
915 change anything. Only return indentation for binary operators
916 when they are hanging. De-dent opening paren when its parent is
917 `.', otherwise it looks bad when the dot is not at bol or eol
918 (bug#16182).
919
920 2013-12-19 Juri Linkov <juri@jurta.org>
921
922 * replace.el (query-replace-read-args): Split a non-negative arg
923 and a negative arg into separate elements.
924 (query-replace, query-replace-regexp, replace-string)
925 (replace-regexp): Add arg `backward'. Doc fix.
926 (replace-match-maybe-edit): When new arg `backward' is non-nil,
927 move point to the beginning of the match.
928 (replace-search, replace-highlight): Use new arg `backward'
929 to set the value of `isearch-forward'.
930 (perform-replace): Add arg `backward' and use it to perform
931 replacement backward. (Bug#14979)
932
933 * isearch.el (isearch-query-replace): Use a negative prefix arg
934 to call `perform-replace' with a non-nil arg `backward'.
935
936 2013-12-18 Juri Linkov <juri@jurta.org>
937
938 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
939 to the default list. Move `log-edit-show-files' to the end.
940 Add more available functions to options.
941 (log-edit): Move default specific settings to
942 `log-edit-insert-message-template'. Don't move point.
943 (log-edit-insert-message-template): New function.
944 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
945 (Bug#16170)
946
947 2013-12-18 Juri Linkov <juri@jurta.org>
948
949 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
950 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
951
952 2013-12-18 Leo Liu <sdl.web@gmail.com>
953
954 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
955 (Bug#16186)
956
957 2013-12-18 Eli Zaretskii <eliz@gnu.org>
958
959 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
960 formats for displaying file sizes when the -s switch is given.
961 Instead, compute a separate format for displaying the size in
962 blocks, which is displayed in addition to the "regular" size.
963 When -h is given in addition to -s, produce size in blocks in
964 human-readable form as well. (Bug#16179)
965
966 2013-12-18 Tassilo Horn <tsdh@gnu.org>
967
968 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
969 Reference tables with ~\ref{...} instead of only \ref{...}.
970
971 2013-12-18 Chong Yidong <cyd@gnu.org>
972
973 * cus-edit.el (custom-magic-alist): Fix "themed" description
974 (Bug#14348).
975
976 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
977 is non-nil, do not create a new entry in the symbol's theme-value
978 or theme-face property; update theme-settings only (Bug#14664).
979 (custom-available-themes): Doc fix.
980
981 * cus-theme.el (custom-new-theme-mode-map): Add bindings
982 (Bug#15674).
983
984 * replace.el (occur-engine): Avoid infloop (Bug#7593).
985
986 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
987
988 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
989 (Bug#13914).
990
991 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
992
993 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
994
995 2013-12-18 Glenn Morris <rgm@gnu.org>
996
997 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
998 * cus-start.el (load-prefer-newer): New option.
999
1000 2013-12-18 Le Wang <l26wang@gmail.com>
1001
1002 * comint.el (comint-previous-matching-input-from-input):
1003 Retain point (Bug#13404).
1004
1005 2013-12-18 Chong Yidong <cyd@gnu.org>
1006
1007 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1008
1009 2013-12-18 Glenn Morris <rgm@gnu.org>
1010
1011 * mail/emacsbug.el (report-emacs-bug):
1012 Only mention enable-multibyte-characters if non-standard.
1013
1014 2013-12-17 Juri Linkov <juri@jurta.org>
1015
1016 * arc-mode.el (archive-extract-by-file): Check if directory exists
1017 before deletion to not show irrelevant errors if it doesn't exist.
1018
1019 2013-12-17 Juri Linkov <juri@jurta.org>
1020
1021 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1022 (Bug#14751)
1023
1024 * net/eww.el (browse-web): Add alias to `eww'.
1025 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1026 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1027
1028 * net/browse-url.el (browse-url-browser-function): Move `eww'
1029 closer to similar functions.
1030
1031 * startup.el (fancy-startup-screen, fancy-about-screen):
1032 Set browse-url-browser-function to eww-browse-url locally.
1033 (Bug#14751)
1034
1035 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 * window.el (window--pixel-to-total): Remove unused `mini' var.
1038 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1039 (split-window): Remove unused `new' var.
1040 (window--display-buffer): Remove unused `frame' and `delta' vars.
1041 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1042 and display-width'.
1043
1044 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1045
1046 * dired.el (dired-mark-pop-up):
1047 * register.el (register-preview): Don't bind
1048 split-height-threshold here since it's now done in
1049 display-buffer-below-selected.
1050
1051 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1052
1053 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1054 xterm-rgb-convert-to-16bit.
1055 (rxvt-register-default-colors): Standardize with
1056 xterm-register-default-colors (Bug#14078).
1057
1058 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1059
1060 * simple.el (kill-region): Pass mark first, then point, so that
1061 kill-append works right (Bug#12819).
1062 (copy-region-as-kill, kill-ring-save): Likewise.
1063
1064 2013-12-17 Leo Liu <sdl.web@gmail.com>
1065
1066 * net/rcirc.el (rcirc-add-face):
1067 * eshell/em-prompt.el (eshell-emit-prompt):
1068 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1069 (Bug#16167)
1070
1071 2013-12-17 Chong Yidong <cyd@gnu.org>
1072
1073 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1074 Suggested by Xue Fuqiao.
1075
1076 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1077
1078 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1079
1080 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 * net/shr.el (shr-insert-document): Remove unused var
1083 `shr-preliminary-table-render'.
1084 (shr-rescale-image): Remove unused arg `force'.
1085 (shr-put-image): Update calls accordingly.
1086 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1087
1088 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1089
1090 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1091 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1092 :close-all, to see which indentation method to use (Bug#16116).
1093 (smie-rules-function): Document the method :close-all.
1094
1095 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1096
1097 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1098
1099 * net/eww.el (eww-display-html): If we can't find the anchor we're
1100 looking for, then go to point-min.
1101
1102 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1103
1104 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1105 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1106 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1107 Expand dir too, in case it's relative.
1108
1109 2013-12-16 Juri Linkov <juri@jurta.org>
1110
1111 * desktop.el (desktop-auto-save-timeout): Change default to
1112 `auto-save-timeout'. Doc fix.
1113 (desktop-save): Skip the timestamp in desktop-saved-frameset
1114 when checking for auto-save changes.
1115 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1116 `desktop-auto-save' is called repeatedly by the idle timer.
1117 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1118 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1119 (Bug#15331)
1120
1121 2013-12-16 Juri Linkov <juri@jurta.org>
1122
1123 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1124 (Bug#16035)
1125 (isearch-pre-command-hook): Check `this-command' for symbolp.
1126
1127 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1128
1129 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1130
1131 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1132
1133 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1134 (cfengine3--current-function): Bring in the current-function
1135 functionality from `cfengine3--current-word'.
1136 (cfengine3-completion-function): Bring in the
1137 bounds-of-current-word functionality from
1138 `cfengine3--current-word'.
1139
1140 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1141
1142 * window.el (display-buffer-below-selected):
1143 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1144
1145 2013-12-16 Leo Liu <sdl.web@gmail.com>
1146
1147 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1148 Remove NOMSG arg and all uses changed.
1149
1150 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1151
1152 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1153 (cua--deactivate-rectangle): Don't deactivate the mark.
1154 (cua-set-rectangle-mark): Don't set mark-active since
1155 cua--activate-rectangle already does it for us.
1156 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1157 non-rectangular region.
1158
1159 * emulation/cua-base.el (cua-repeat-replace-region):
1160 Use with-current-buffer.
1161
1162 * net/gnutls.el: Use cl-lib.
1163 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1164
1165 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1166
1167 * emacs-lisp/package.el (package-built-in-p): Support both
1168 built-in and the package.el converted package descriptions.
1169 (package-show-package-list): Allow keywords.
1170 (package-keyword-button-action): Use it instead of
1171 `finder-list-matches'.
1172 (package-menu-filter-interactive): Interactive filtering (by
1173 keyword) function.
1174 (package-menu--generate): Support keywords and change keymappings
1175 and headers when they are given.
1176 (package--has-keyword-p): Helper function.
1177 (package-menu--refresh): Use it.
1178 (package--mapc): Helper function.
1179 (package-all-keywords): Use it.
1180 (package-menu-mode-map): Set up menu items and keybindings to
1181 provide a filtering UI.
1182
1183 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1184
1185 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1186 the behavior when a certificate fails validation. Defaults to
1187 old behavior: never abort, just warn.
1188 (gnutls-negotiate): Use it.
1189
1190 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1191
1192 * window.el (display-buffer-below-selected): Never split window
1193 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1194
1195 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1196
1197 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1198 (package-buffer-info): Use it (bug#15108).
1199
1200 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1201
1202 * icomplete.el (icomplete-completions): Make sure the prefix is already
1203 displayed elsewhere before hiding it (bug#16219).
1204
1205 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1206
1207 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1208 open-paren tokens when preceded by a open-paren, too.
1209 (ruby-smie-rules): Handle virtual indentation after open-paren
1210 tokens specially. If there is code between it and eol, return the
1211 column where is starts (Bug#16118).
1212
1213 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1214
1215 * progmodes/cfengine.el: Fix `add-hook' doc.
1216 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1217 (cfengine3--current-word): Fix parameters.
1218 (cfengine3-make-syntax-cache): Simplify further.
1219 (cfengine3-completion-function, cfengine3--current-function):
1220 Use `assq' for symbols.
1221 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1222
1223 2013-12-13 Glenn Morris <rgm@gnu.org>
1224
1225 * loadup.el (load-path): Warn if site-load or site-init changes it.
1226 No more need to reset it when bootstrapping.
1227
1228 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1229
1230 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1231 locations for cf-promises.
1232 (cfengine-mode-syntax-functions-regex): New caching variable.
1233 (cfengine3-fallback-syntax): Fallback syntax for cases where
1234 cf-promises doesn't run.
1235 (cfengine3--current-word): Reimplement using
1236 `cfengine-mode-syntax-functions-regex'.
1237 (cfengine3-completion-function, cfengine3--current-function):
1238 Use `cfengine3-make-syntax-cache' directly.
1239 (cfengine3-clear-syntax-cache): New function.
1240 (cfengine3-make-syntax-cache): Simplify and create
1241 `cfengine-mode-syntax-functions-regex' on demand.
1242 (cfengine3-format-function-docstring): Don't call
1243 `cfengine3-make-syntax-cache' explicitly.
1244
1245 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1246
1247 Fix windmove-find-other-window broken after pixelwise resizing
1248 (Bug#16017).
1249 * windmove.el (windmove-other-window-loc): Revert change from
1250 2013-12-04.
1251 (windmove-find-other-window): Call window-in-direction.
1252 * window.el (window-in-direction): New arguments SIGN, WRAP and
1253 MINI to emulate original windmove-find-other-window behavior.
1254
1255 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1256
1257 * simple.el (blink-matching--overlay): New variable.
1258 (blink-matching-open): Instead of moving point, highlight the
1259 matching paren with an overlay
1260 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1261
1262 * faces.el (paren-showing-faces, show-paren-match)
1263 (show-paren-mismatch): Move from paren.el.
1264
1265 2013-12-13 Leo Liu <sdl.web@gmail.com>
1266
1267 * indent.el (indent-region): Disable progress reporter in
1268 minibuffer. (Bug#16108)
1269
1270 * bindings.el (visual-order-cursor-movement): Fix version.
1271
1272 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1273
1274 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1275 Also match after beginning of line.
1276 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1277 files. Thanks to Russell Sim. (Bug#15378)
1278
1279 2013-12-13 Juri Linkov <juri@jurta.org>
1280
1281 * simple.el <Keypad support>: Remove key bindings duplicated
1282 with bindings.el. (Bug#14397)
1283
1284 2013-12-13 Juri Linkov <juri@jurta.org>
1285
1286 * comint.el (comint-mode-map): Replace `delete-char' with
1287 `delete-forward-char'. (Bug#16109)
1288
1289 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1290
1291 * progmodes/python.el (python-indent-calculate-indentation):
1292 Fix de-denters cornercase. (Bug#15731)
1293
1294 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1297 (advice--make): Pay attention to `depth'.
1298 (advice--make-1): Don't autoload commands eagerly.
1299 * emacs-lisp/elp.el (elp-instrument-function):
1300 * emacs-lisp/trace.el (trace-function-internal):
1301 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1302
1303 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1304
1305 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1306
1307 * term/w32-win.el (w32-handle-dropped-file):
1308 * startup.el (normal-top-level):
1309 * net/browse-url.el (browse-url-file-url):
1310 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1311 decode file names using 'utf-8' rather than
1312 file-name-coding-system.
1313
1314 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1315
1316 * progmodes/python.el (python-indent-context)
1317 (python-indent-calculate-indentation): Fix auto-identation
1318 behavior for comment blocks. (Bug#15916)
1319
1320 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1321
1322 * progmodes/python.el (python-indent-calculate-indentation):
1323 When determining indentation, don't treat "return", "pass", etc., as
1324 operators when they are just string constituents. (Bug#15812)
1325
1326 2013-12-12 Juri Linkov <juri@jurta.org>
1327
1328 * uniquify.el (uniquify-buffer-name-style): Change default to
1329 `post-forward-angle-brackets'.
1330
1331 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1332 `uniquify'. Change default to `post-forward-angle-brackets'.
1333
1334 2013-12-11 Glenn Morris <rgm@gnu.org>
1335
1336 * emacs-lisp/package.el (finder-list-matches):
1337 Autoload rather than falsely declaring.
1338
1339 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1340
1341 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1342 (eww-mode-map): Use them.
1343
1344 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1345
1346 * window.el (display-buffer-in-side-window): Fix doc-string
1347 (Bug#16115).
1348
1349 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1350
1351 * vc/vc-git.el: Silence byte-compiler warnings.
1352 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1353 (log-edit-set-header): Declare.
1354
1355 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1356
1357 * Makefile.in (custom-deps, finder-data): Run output file names
1358 through unmsys--file-name. (Bug#16099)
1359
1360 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1361
1362 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1363 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1364
1365 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1366 instead of deleting the selection "by hand" (bug#16098).
1367 Rely on insert-for-yank to yank rectangles.
1368 (cua-highlight-region-shift-only): Mark obsolete.
1369 (cua-mode): Don't enable/disable transient-mark-mode,
1370 shift-select-mode (cua-mode works both with and without them), and
1371 pc-selection-mode (obsolete).
1372 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1373 (cua--deactivate-rectangle): Deactivate it.
1374
1375 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1376 (delete-selection-helper): Make sure yank starts at the top of the
1377 deleted region.
1378 (minibuffer-keyboard-quit): Use region-active-p.
1379
1380 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1381
1382 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1383 to `delete' (bug#16109).
1384
1385 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1386
1387 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1388 info manual and show keybindings and set `:group' keyword.
1389
1390 2013-12-11 Juri Linkov <juri@jurta.org>
1391
1392 * delsel.el (delete-active-region): Let-bind `this-command'
1393 to prevent `kill-region' from changing its original value.
1394 (delete-selection-helper): Handle `overwrite-mode' for the type
1395 `kill' exactly the same way as for the type `t'.
1396 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1397 Support more commands. (Bug#13312)
1398
1399 2013-12-11 Juri Linkov <juri@jurta.org>
1400
1401 * bindings.el: Map kp keys to non-kp keys systematically
1402 with basic modifiers control, meta and shift. (Bug#14397)
1403
1404 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1405
1406 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1407 "Close browser" menu items. Fix wrong function of "List
1408 bookmarks".
1409
1410 2013-12-11 Juri Linkov <juri@jurta.org>
1411
1412 * misearch.el (multi-isearch-buffers): Set the value of
1413 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1414 arg of isearch-forward to t.
1415 (multi-isearch-buffers-regexp): Set the value of
1416 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1417 arg of isearch-forward-regexp to t.
1418 (multi-isearch-files): Set the value of
1419 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1420 arg of isearch-forward to t.
1421 (multi-isearch-files-regexp): Set the value of
1422 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1423 arg of isearch-forward-regexp to t. (Bug#16035)
1424
1425 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1426 arg of isearch-forward to t.
1427 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1428 arg of isearch-forward-regexp to t.
1429 (dired-isearch-filter-filenames): Remove unnecessary check for
1430 `dired-isearch-filenames'.
1431
1432 * comint.el (comint-history-isearch-backward):
1433 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1434 (comint-history-isearch-backward-regexp):
1435 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1436
1437 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1438
1439 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1440 unmsys--file-name. (Bug#16099)
1441
1442 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1443
1444 * emacs-lisp/package.el (package-keyword-button-action):
1445 Remove finder.el require dependency.
1446
1447 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1448
1449 * emacs-lisp/package.el: Require finder.el.
1450 (describe-package-1): Add keyword buttons.
1451 (package-make-button): New convenience function.
1452 (package-keyword-button-action): Keyword button action using
1453 `finder-list-matches'.
1454
1455 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1456
1457 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1458 last commit.
1459
1460 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1461
1462 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1463 symlinked files.
1464
1465 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1466
1467 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1468 after the end of a percent literal.
1469
1470 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1471
1472 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1473 Handle caret-delimited strings (Bug#16079).
1474
1475 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1476
1477 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1478 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1479 `ruby-parse-partial' (Bug#16078).
1480
1481 2013-12-09 Leo Liu <sdl.web@gmail.com>
1482
1483 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1484
1485 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1486
1487 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1488 (js-switch-indent-offset): New option.
1489 (js--proper-indentation): Use it. And handle the case when
1490 "default" is actually a key in an object literal.
1491 (js--same-line): New function.
1492 (js--multi-line-declaration-indentation): Use it.
1493 (js--indent-in-array-comp, js--array-comp-indentation):
1494 New functions.
1495 (js--proper-indentation): Use them, to handle array comprehension
1496 continuations.
1497
1498 2013-12-08 Leo Liu <sdl.web@gmail.com>
1499
1500 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1501 (flymake-make-overlay): Remove arg MOUSE-FACE.
1502 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1503
1504 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1505
1506 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1507 New function.
1508 (redisplay-highlight-region-function): Use it.
1509
1510 * emulation/cua-base.el (cua--explicit-region-start)
1511 (cua--last-region-shifted): Remove.
1512 (cua--deactivate): Use deactivate-mark.
1513 (cua--pre-command-handler-1): Don't handle shift-selection.
1514 (cua--post-command-handler-1): Don't change transient-mark-mode.
1515 (cua--select-keymaps): Use region-active-p rather than
1516 cua--explicit-region-start or cua--last-region-shifted.
1517 (cua-mode): Enable shift-select-mode.
1518
1519 2013-12-08 Leo Liu <sdl.web@gmail.com>
1520
1521 * progmodes/flymake.el (flymake-popup-current-error-menu):
1522 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1523 (flymake-posn-at-point-as-event, flymake-popup-menu)
1524 (flymake-make-emacs-menu): Remove. (Bug#16077)
1525
1526 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * rect.el (rectangle-mark-mode): Activate mark even if
1529 transient-mark-mode is off (bug#16066).
1530 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1531 is > mark and at bolp.
1532
1533 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1534 (region-extract-function): Use it.
1535 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1536 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1537 Delete functions.
1538 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1539 kill-ring-save, kill-region, delete-char, delete-forward-char.
1540 Ignore self-insert-iso.
1541
1542 * emulation/cua-gmrk.el (cua--init-global-mark):
1543 Ignore `self-insert-iso'.
1544
1545 * emulation/cua-base.el (cua--prefix-copy-handler)
1546 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1547 checking cua--rectangle.
1548 (cua-delete-region): Use region-extract-function.
1549 (cua-replace-region): Delete function.
1550 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1551 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1552 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1553 (cua--init-keymaps): Don't remap delete-selection commands.
1554 (cua-mode): Use delete-selection-mode instead of rolling our own
1555 (bug#16085).
1556
1557 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1558 Obey region-extract-function.
1559
1560 Make registers and delete-selection-mode work on rectangles.
1561 * register.el (describe-register-1): Don't modify the register's value.
1562 (copy-to-register): Obey region-extract-function.
1563 * delsel.el (delete-active-region): Obey region-extract-function.
1564
1565 2013-12-08 Leo Liu <sdl.web@gmail.com>
1566
1567 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1568 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1569 (flymake-compilation-prevents-syntax-check)
1570 (flymake-start-syntax-check-on-newline)
1571 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1572 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1573 (flymake-xml-program, flymake-master-file-dirs)
1574 (flymake-master-file-count-limit)
1575 (flymake-allowed-file-name-masks): Relocate.
1576 (flymake-makehash, flymake-float-time)
1577 (flymake-replace-regexp-in-string, flymake-split-string)
1578 (flymake-get-temp-dir): Remove.
1579 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1580 (flymake-current-row, flymake-selected-frame)
1581 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1582 related functions. (Bug#16077)
1583
1584 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1585
1586 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1587
1588 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1589
1590 * help-fns.el (describe-function-1): Use new advice-* functions
1591 rather than old ad-* functions. Fix function type description and
1592 source links for advised functions and subrs.
1593
1594 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1595
1596 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1597
1598 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1599
1600 * progmodes/compile.el (compilation-start):
1601 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1602
1603 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1604 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1605
1606 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1607
1608 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1609 Touch up the last change.
1610
1611 2013-12-06 Leo Liu <sdl.web@gmail.com>
1612
1613 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1614 (inferior-octave-startup): Always use "octave> " for prompt.
1615 (octave-goto-function-definition)
1616 (octave-sync-function-file-names)
1617 (octave-find-definition-default-filename): Remove redundant backquotes.
1618
1619 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1620
1621 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1622 syntax for `?'.
1623 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1624 where appropriate already.
1625 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1626 end of method names (Bug#15874).
1627
1628 2013-12-06 Juri Linkov <juri@jurta.org>
1629
1630 * isearch.el (isearch--saved-overriding-local-map):
1631 New internal variable.
1632 (isearch-mode): Set it to the initial value of
1633 `overriding-terminal-local-map'.
1634 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1635 with `isearch--saved-overriding-local-map'. (Bug#16035)
1636
1637 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1638
1639 * progmodes/octave.el (inferior-octave-completion-table):
1640 Turn back into function, use `completion-table-with-cache'
1641 (Bug#11906). Update all references.
1642
1643 * minibuffer.el (completion-table-with-cache): New function.
1644
1645 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1646
1647 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1648
1649 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1650
1651 * net/eww.el (eww-current-source): New variable to store page
1652 source.
1653 (eww-display-html, eww-mode, eww-save-history)
1654 (eww-restore-history): Use it.
1655 (eww-view-source): New command to view page source.
1656 Opportunistically uses `html-mode' to highlight the buffer.
1657 (eww-mode-map): Install it.
1658
1659 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1660
1661 * net/dbus.el (dbus-unregister-service)
1662 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1663 Fix docstring.
1664 (dbus-unregister-service): Skip :serial entries in
1665 `dbus-registered-objects-table'.
1666 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1667
1668 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1669
1670 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1671 around keywords with extra `split-string' argument.
1672
1673 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1674
1675 * windmove.el (windmove-other-window-loc): Handle navigation
1676 between windows (excluding the minibuffer window - Bug#16017).
1677
1678 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1679
1680 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1681 in D-Bus type syntax.
1682 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1683 preserve unibyte strings. (Bug#16048)
1684
1685 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1688 Call force-mode-line-update is the proper buffer (bug#16042).
1689
1690 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1691
1692 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1693 `log-edit-remember-comment', make argument optional. Adjust all
1694 callers.
1695 (log-edit-mode): Add `log-edit-remember-comment' to
1696 `kill-buffer-hook' locally.
1697 (log-edit-kill-buffer): Don't remember comment explicitly since
1698 the buffer is killed anyway.
1699
1700 2013-12-04 Juri Linkov <juri@jurta.org>
1701
1702 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1703 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1704
1705 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1706
1707 * notifications.el (notifications-close-notification): Call the
1708 D-Bus method with ID being a `:uint32'. (Bug#16030)
1709
1710 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1711
1712 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1713
1714 2013-12-03 Juri Linkov <juri@jurta.org>
1715
1716 * progmodes/compile.el (compilation-start): Rename window alist
1717 entry `no-display-ok' to `allow-no-window'.
1718
1719 * simple.el (shell-command): Add window alist entry
1720 `allow-no-window' to `display-buffer'.
1721 (async-shell-command): Doc fix.
1722
1723 * window.el (display-buffer-no-window): New action function.
1724 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1725
1726 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1727
1728 * vc/log-edit.el (log-edit-set-header): Extract from
1729 `log-edit-toggle-header'.
1730 (log-edit-extract-headers): Separate the summary, when extracted
1731 from header, from the rest of the message with an empty line.
1732
1733 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1734 line, if present, to the Summary header.
1735
1736 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1737
1738 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1739 in current-buffer (bug#16029).
1740
1741 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1742
1743 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1744 (debugger-mode-map): Bind it.
1745 (debugger--backtrace-base): New function.
1746 (debugger-eval-expression): Use it.
1747 (debugger-frame-number): Skip local vars when present.
1748 (debugger--locals-visible-p, debugger--insert-locals)
1749 (debugger--show-locals, debugger--hide-locals): New functions.
1750
1751 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1752
1753 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1754 "LC_ALL".
1755 (tramp-get-remote-locale): New defun.
1756 (tramp-open-connection-setup-interactive-shell): Use it.
1757
1758 2013-12-02 Leo Liu <sdl.web@gmail.com>
1759
1760 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1761
1762 * progmodes/sh-script.el (sh-shell-process):
1763 * progmodes/octave.el (inferior-octave-process-live-p):
1764 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1765 (gdb-inferior-io-sentinel):
1766 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1767
1768 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1769
1770 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1771 `save-selected-window' to `log-edit-hide-buf'. This makes
1772 `log-edit-show-files' idempotent.
1773 (log-edit-show-files): Mark the new window as dedicated.
1774
1775 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1776
1777 * vc/log-edit.el (log-edit-mode-map): Add binding for
1778 `log-edit-kill-biffer'.
1779 (log-edit-hide-buf): Add a FIXME comment.
1780 (log-edit-add-new-comment): New function, extracted from
1781 `log-edit-done'.
1782 (log-edit-done, log-edit-add-to-changelog): Use it.
1783 (log-edit-kill-buffer): New command.
1784
1785 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1786
1787 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1788 instead of killing the buffer.
1789
1790 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1791
1792 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1793
1794 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1795
1796 * net/eww.el (eww-form-checkbox-selected-symbol)
1797 (eww-form-checkbox-symbol): New customizable variable.
1798 (eww-form-checkbox, eww-toggle-checkbox):
1799 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1800
1801 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1802 (shr--get-media-pref, shr--extract-best-source): New function.
1803 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1804 no :src tag was specified.
1805
1806 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1807 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1808 Use \\` to match beginning of string instead of ^.
1809 (eww-browse-with-external-browser): Provide optional URL parameter.
1810 (eww-render): Set `eww-current-title' back to "".
1811
1812 * net/shr.el (shr-tag-video): Display content for video if no
1813 poster is available.
1814 (shr-tag-audio): Add support for <audio> tag.
1815
1816 * net/eww.el (eww-text-input-types): New const.
1817 (eww-process-text-input): Treat input types in
1818 `eww-text-input-types' as text.
1819
1820 * net/shr.el (shr-tag-table): Fix comment typo.
1821
1822 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1823
1824 * net/eww.el (eww-follow-link): New command to avoid reloading
1825 pages when we follow #target links (bug#15243).
1826 (eww-quit): Special mode buffers shouldn't query before exiting.
1827
1828 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1829
1830 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1831 forms.
1832
1833 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1834
1835 * net/eww.el (eww-restore-history): Update the window title after
1836 moving in the history.
1837 (eww-current-dom): New variable used to save the current DOM.
1838
1839 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1840
1841 * vc/log-edit.el (log-edit-mode-map): Add binding for
1842 `log-edit-beginning-of-line'.
1843 (log-edit-setup-add-author): New user option.
1844 (log-edit-beginning-of-line): New command.
1845 (log-edit): Move major mode call above the contents setup so that
1846 the local variable values are already applied.
1847 (log-edit): Only insert "Author: " when
1848 `log-edit-setup-add-author' is non-nil.
1849 (log-edit): When SETUP is non-nil, position point after ": "
1850 instead of point-min.
1851
1852 2013-12-01 Glenn Morris <rgm@gnu.org>
1853
1854 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1855
1856 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1857
1858 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1859 redisplay to make sure the initial frame gets a chance to become
1860 visible. (Bug#16014)
1861
1862 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1863
1864 Support resizing frames and windows pixelwise.
1865 * cus-start.el (frame-resize-pixelwise)
1866 (window-resize-pixelwise): New entries.
1867 * emacs-lisp/debug.el (debug): Use window-total-height instead
1868 of window-total-size.
1869 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1870 * help.el (describe-bindings-internal): Call help-buffer
1871 (temp-buffer-max-width): New option.
1872 (resize-temp-buffer-window, help-window-setup)
1873 (with-help-window): Rewrite.
1874 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1875 dragging dividers.
1876 * window.el (frame-char-size, window-min-pixel-height)
1877 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1878 (window-min-pixel-width, window-safe-min-pixel-size)
1879 (window-combination-p, window-safe-min-size)
1880 (window-resizable-p, window--size-to-pixel)
1881 (window--pixel-to-size, window--resize-apply-p): New functions.
1882 (window-safe-min-height): Fix doc-string.
1883 (window-size, window-min-size, window--min-size-1)
1884 (window-sizable, window-sizable-p, window--min-delta-1)
1885 (window-min-delta, window--max-delta-1, window-max-delta)
1886 (window--resizable, window--resizable-p, window-resizable)
1887 (window-full-height-p, window-full-width-p, window-at-side-p)
1888 (window--in-direction-2, window-in-direction)
1889 (window--resize-reset-1, window--resize-mini-window)
1890 (window-resize, window-resize-no-error)
1891 (window--resize-child-windows-normal)
1892 (window--resize-child-windows, window--resize-siblings)
1893 (window--resize-this-window, window--resize-root-window)
1894 (window--resize-root-window-vertically)
1895 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1896 (maximize-window, minimize-window, delete-window)
1897 (quit-restore-window, window-split-min-size, split-window)
1898 (balance-windows-2, balance-windows)
1899 (balance-windows-area-adjust, balance-windows-area)
1900 (window--state-get-1, window-state-get, window--state-put-1)
1901 (window--state-put-2, window-state-put)
1902 (display-buffer-record-window, window--display-buffer):
1903 Make functions handle pixelwise sizing of windows.
1904 (display-buffer--action-function-custom-type)
1905 (display-buffer-fallback-action):
1906 Add display-buffer-in-previous-window.
1907 (display-buffer-use-some-window): Resize window to height it had
1908 before.
1909 (fit-window-to-buffer-horizontally): New option.
1910 (fit-frame-to-buffer): Describe new values.
1911 (fit-frame-to-buffer-bottom-margin): Replace with
1912 fit-frame-to-buffer-margins.
1913 (window--sanitize-margin): New function.
1914 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1915 using window-text-pixel-size.
1916
1917 2013-11-30 Glenn Morris <rgm@gnu.org>
1918
1919 * emacs-lisp/bytecomp.el (byte-compile-form):
1920 Make the `interactive-only' warning like the `obsolete' one.
1921 * comint.el (comint-run):
1922 * files.el (insert-file-literally, insert-file):
1923 * replace.el (replace-string, replace-regexp):
1924 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1925 (goto-line, insert-buffer, next-line, previous-line):
1926 Tweak `interactive-only' spec.
1927
1928 Stop keeping (most) generated cedet grammar files in the repository.
1929 * Makefile.in (semantic): New.
1930 (compile-main): Depend on semantic.
1931
1932 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1933
1934 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1935 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1936
1937 * uniquify.el (uniquify-buffer-name-style): Change default.
1938
1939 * loadup.el: Preload "uniquify".
1940
1941 * time.el (display-time-update): Update all mode lines (bug#15999).
1942
1943 * electric.el (electric-indent-mode): Enable by default.
1944 * loadup.el: Preload "electric".
1945
1946 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1947
1948 * emacs-lisp/helpers.el (string-empty-p): New function.
1949 (string-blank-p): New function.
1950
1951 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1952
1953 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1954 (Bug#14029).
1955
1956 2013-11-29 Andreas Politz <politza@fh-trier.de>
1957 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1958 allow non-lambda lists as functions.
1959 (imenu--in-alist): Don't recurse into non-subalists.
1960 (imenu): Don't pass function itself as an argument (Bug#14029).
1961
1962 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * progmodes/python.el (python-mode-map): Remove binding for ":".
1965 (python-indent-electric-colon): Remove command.
1966 (python-indent-post-self-insert-function): Integrate the previous code
1967 of python-indent-electric-colon. Make it conditional on
1968 electric-indent-mode.
1969 (python-mode): Add ?: to electric-indent-chars.
1970 Move python-indent-post-self-insert-function to the end of
1971 post-self-insert-hook.
1972
1973 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1975 * doc-view.el (doc-view-goto-page): Update mode-line.
1976
1977 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1978
1979 2013-11-27 Glenn Morris <rgm@gnu.org>
1980
1981 * international/charprop.el, international/uni-bidi.el:
1982 * international/uni-category.el, international/uni-combining.el:
1983 * international/uni-comment.el, international/uni-decimal.el:
1984 * international/uni-decomposition.el, international/uni-digit.el:
1985 * international/uni-lowercase.el, international/uni-mirrored.el:
1986 * international/uni-name.el, international/uni-numeric.el:
1987 * international/uni-old-name.el, international/uni-titlecase.el:
1988 * international/uni-uppercase.el:
1989 Remove generated files from VCS repository.
1990
1991 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1992
1993 * filenotify.el (file-notify-add-watch): Don't special-case
1994 w32notify when computing the directory to watch.
1995
1996 2013-11-27 Glenn Morris <rgm@gnu.org>
1997
1998 Make bootstrap without generated uni-*.el files possible again.
1999 * loadup.el: Update command-line-args checking for unidata-gen.
2000 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2001 * composite.el, international/characters.el:
2002 Handle unicode tables being undefined.
2003
2004 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2005 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2006 (compile-main): Depend on leim rule.
2007 (leim): New rule.
2008 * loadup.el: Move leim-list.el to leim/ subdirectory.
2009 * startup.el (normal-top-level): No more leim directory.
2010 * international/ja-dic-cnv.el (skkdic-convert):
2011 Disable version-control and autoloads in output files.
2012 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2013 Disable version-control and autoloads in output files.
2014 * leim/quail: Move here from ../leim.
2015 * leim/quail/hangul.el (hangul-input-method-activate):
2016 Add autoload cookie.
2017 (generated-autoload-load-name): Set file-local value.
2018 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2019 (generated-autoload-load-name): Set file-local value.
2020
2021 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2022
2023 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2024 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2025 (eww-quit): Ask confirmation before quitting eww.
2026
2027 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2028
2029 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2030 reading output from Diff on MS-Windows and MS-DOS.
2031
2032 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2033
2034 * emacs-lisp/helpers.el (string-reverse): New function.
2035
2036 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2037
2038 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2039 names on MS Windows, like "/[::1]:".
2040
2041 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2042 SWITCHES.
2043
2044 2013-11-26 Glenn Morris <rgm@gnu.org>
2045
2046 * progmodes/python.el (python-indent-guess-indent-offset):
2047 Avoid corner-case error. (Bug#15975)
2048
2049 Preload leim-list.el. (Bug#4789)
2050 * loadup.el: Load leim-list.el when found.
2051 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2052
2053 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2054
2055 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2056
2057 * emacs-lisp/helpers.el (string-join): New function.
2058
2059 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2060
2061 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2062 Mark as obsolete and replace it with a symbol property.
2063 (byte-compile-form): Use new 'interactive-only property.
2064 * comint.el, files.el, replace.el, simple.el:
2065 Apply new 'interactive-only properly.
2066
2067 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2068
2069 * window.el (display-buffer-at-bottom): Make sure that
2070 split-window-sensibly creates the new window on bottom
2071 (Bug#15961).
2072
2073 2013-11-23 David Kastrup <dak@gnu.org>
2074
2075 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2076 on the conflict markers when available.
2077 (smerge--get-marker): New function.
2078 (smerge-end-re, smerge-base-re): Add subgroup.
2079
2080 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2081
2082 * frame.el (handle-focus-in, handle-focus-out): Add missing
2083 interactive spec.
2084
2085 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2086
2087 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2088 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2089
2090 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2093 (gomoku--last-pos): New var.
2094 (gomoku--intangible-chars): New const.
2095 (gomoku--intangible): New function.
2096 (gomoku-mode): Use it. Derive from special-mode.
2097 (gomoku-move-up): Adjust line count.
2098 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2099 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2100 Simplify accordingly.
2101
2102 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2103 Remove blink-cursor code.
2104 (blink-cursor-timer-function, blink-cursor-suspend):
2105 Don't special-case GUIs.
2106 (blink-cursor-mode): Use focus-in/out-hook.
2107
2108 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2109
2110 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2111 work when annotation is invisible (Bug#13886).
2112
2113 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2114
2115 * json.el (json-alist-p): Only return non-nil if the alist has
2116 simple keys (Bug#13518).
2117
2118 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2119
2120 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2121 when control-statement is the first statement in a buffer (Bug#15956).
2122
2123 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2124
2125 * imenu.el (imenu-generic-skip-comments-and-strings):
2126 New option (Bug#15560).
2127 (imenu--generic-function): Use it.
2128
2129 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2130
2131 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2132 (Bug#13898)
2133
2134 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2135
2136 * emacs-lisp/helpers.el: Add some string helpers.
2137 (string-trim-left): Removes leading whitespace.
2138 (string-trim-right): Removes trailing whitespace.
2139 (string-trim): Removes leading and trailing whitespace.
2140
2141 * subr.el (string-suffix-p): New function.
2142
2143 2013-11-23 Glenn Morris <rgm@gnu.org>
2144
2145 * progmodes/python.el (python-shell-send-file):
2146 Add option to delete file when done. (Bug#15647)
2147 (python-shell-send-string, python-shell-send-region): Use it.
2148
2149 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2150
2151 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2152 to set buffer-read-only to t, never to nil. (Bug#15938)
2153
2154 * textmodes/tex-mode.el (latex-noindent-environments):
2155 Add safe-local-variable property. (Bug#15936)
2156
2157 2013-11-23 Glenn Morris <rgm@gnu.org>
2158
2159 * textmodes/enriched.el (enriched-mode): Doc fix.
2160 * emacs-lisp/authors.el (authors-renamed-files-alist):
2161 Add enriched.doc -> enriched.txt.
2162
2163 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2164
2165 2013-11-22 Leo Liu <sdl.web@gmail.com>
2166
2167 * progmodes/octave.el (inferior-octave-startup): Spit out error
2168 message.
2169
2170 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2171
2172 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2173 Improve docstring.
2174 Add :version.
2175 (ruby-encoding-magic-comment-style): Add :version.
2176
2177 2013-11-22 Leo Liu <sdl.web@gmail.com>
2178
2179 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2180 (Bug#15076)
2181 (octave-help-mode): Adapt to change to help-mode-finish to use
2182 derived-mode-p on 2013-09-17.
2183 (inferior-octave-prompt): Also match octave-gui.
2184 (octave-kill-process): Don't ask twice. (Bug#10564)
2185
2186 2013-11-22 Leo Liu <sdl.web@gmail.com>
2187
2188 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2189 (inferior-octave-startup, inferior-octave-check-process)
2190 (inferior-octave-track-window-width-change)
2191 (octave-completion-at-point, octave-eldoc-function): Use it.
2192 (octave-kill-process): Provide confirmation. (Bug#10564)
2193
2194 2013-11-21 Leo Liu <sdl.web@gmail.com>
2195
2196 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2197 Fix obsolete variable comment-use-global-state.
2198
2199 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2200
2201 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2202 Add `octave-source-file'.
2203 (octave-source-file): New function. (Bug#15935)
2204
2205 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2206
2207 * net/eww.el (eww-local-regex): New variable.
2208 (eww): Use it to detect localhost and similar.
2209
2210 2013-11-21 Leo Liu <sdl.web@gmail.com>
2211
2212 Add completion for command `ag'.
2213 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2214 (pcomplete/ag): New function.
2215 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2216
2217 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2220 (bug#14646).
2221 (make-obsolete): Remove interactive spec.
2222
2223 2013-11-21 Glenn Morris <rgm@gnu.org>
2224
2225 * startup.el (command-line-1): Use path-separator with -L.
2226
2227 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2228
2229 * emacs-lisp/package.el (describe-package-1): Add package archive
2230 to shown fields.
2231
2232 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2233
2234 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2235 Change default to "# encoding: %s" to differentiate it from the
2236 default Ruby encoding comment template.
2237
2238 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2239
2240 * ses.el (ses-mode): Doc fix. (Bug#14748)
2241
2242 2013-11-20 Leo Liu <sdl.web@gmail.com>
2243
2244 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2245
2246 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2247
2248 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2249 when rebase or bisect are in progress.
2250
2251 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2252
2253 * filenotify.el (file-notify-add-watch): Doc fix.
2254
2255 2013-11-19 Leo Liu <sdl.web@gmail.com>
2256
2257 * obsolete/rcompile.el: Mark obsolete.
2258
2259 * progmodes/compile.el (compilation-start)
2260 (compilation-goto-locus, compilation-find-file):
2261 Pass no-display-ok and handle nil value from display-buffer.
2262 (Bug#13594)
2263
2264 * window.el (display-buffer-alist, display-buffer): Document the
2265 new parameter no-display-ok. Return either a window or nil
2266 but never a non-window value.
2267
2268 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2269
2270 * electric.el (electric-indent-mode-map): Remove.
2271 (electric-indent-mode): Change the global-map instead (bug#15915).
2272
2273 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2274 Use add-function.
2275
2276 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2277
2278 * emacs-lisp/nadvice.el (remove-function): Align with
2279 add-function's behavior.
2280
2281 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2282 (gdb--string-regexp): New constant.
2283 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2284 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2285 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2286 submatch 1.
2287 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2288 Adjust use accordingly.
2289 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2290
2291 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2292
2293 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2294 interpolation curlies (Bug#15914).
2295
2296 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2297
2298 * calc/calc.el (calc-context-sensitive-enter): New variable.
2299 (calc-enter): Use `calc-context-sensitive-enter'.
2300
2301 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2302
2303 * progmodes/cfengine.el: Version bump.
2304 (cfengine-cf-promises): New defcustom to locate cf-promises.
2305 (cfengine3-vartypes): Add new "data" type.
2306 (cfengine3--current-word): New function to get current name-like
2307 word or its bounds.
2308 (cfengine3--current-function): New function to look up a CFEngine
2309 function's definition.
2310 (cfengine3-format-function-docstring): New function.
2311 (cfengine3-make-syntax-cache): New function.
2312 (cfengine3-documentation-function): New function: ElDoc glue.
2313 (cfengine3-completion-function): New function: completion glue.
2314 (cfengine3-mode): Set `compile-command',
2315 `eldoc-documentation-function', and add to
2316 `completion-at-point-functions'.
2317
2318 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2319
2320 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2321 `tramp-current-connection'.
2322
2323 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2324
2325 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2326 nil/self/true/false with "end of symbol".
2327
2328 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2329
2330 * subr.el (version-regexp-alist): Fix a typo.
2331
2332 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2333
2334 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2335 "en_US.utf8" and "LC_CTYPE" to "".
2336 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2337 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2338
2339 2013-11-15 Leo Liu <sdl.web@gmail.com>
2340
2341 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2342
2343 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * progmodes/gud.el (ctl-x-map):
2346 Remove C-x SPC binding. (Bug#12342)
2347 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2348
2349 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2350
2351 * subr.el (version-regexp-alist):
2352 Recognize hg, svn and darcs versions as snapshot versions.
2353
2354 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2355 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2356 (ruby--encoding-comment-required-p): Extract from
2357 `ruby-mode-set-encoding'.
2358 (ruby-mode-set-encoding): Add the ability to always insert an
2359 utf-8 encoding comment. Fix and simplify coding comment update
2360 logic.
2361
2362 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2363
2364 * net/tramp-gvfs.el (top): Run init code only when
2365 `tramp-gvfs-enabled' is not nil.
2366 (tramp-gvfs-enabled): Check also :system bus.
2367
2368 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2369
2370 Sync with upstream verilog-mode revision 78e66ba.
2371 * progmodes/verilog-mode.el (verilog-end-of-defun)
2372 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2373 (verilog-get-end-of-defun): Remove unused argument.
2374 (verilog-comment-depth): Remove unused local `e'.
2375 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2376 Don't pass arg to verilog-get-end-of-defun.
2377
2378 2013-11-14 Glenn Morris <rgm@gnu.org>
2379
2380 * obsolete/assoc.el (aget): Prefix dynamic variable.
2381
2382 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2383
2384 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2385
2386 * widget.el, hfy-cmap.el: Remove bogus package version number.
2387
2388 2013-11-13 Glenn Morris <rgm@gnu.org>
2389
2390 * replace.el (replace-eval-replacement):
2391 Try to give more helpful error message. (Bug#15836)
2392
2393 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2394 (archive-7z-update): Avoid custom type mismatches.
2395
2396 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2397
2398 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2399
2400 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2401 address can be empty.
2402
2403 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2404 Accept nil SWITCHES.
2405 (tramp-gvfs-handle-write-region): Implement APPEND.
2406
2407 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2408
2409 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2410 binary "|" operator and closing block args delimiter.
2411 Remove FIXME comment referring to Ruby 1.8-only syntax.
2412 (ruby-smie--implicit-semi-p): Not after "|" operator.
2413 (ruby-smie--closing-pipe-p): New function.
2414 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2415 (ruby-smie-rules): Indent after "|".
2416
2417 2013-11-12 Glenn Morris <rgm@gnu.org>
2418
2419 * ps-print.el (ps-face-attribute-list):
2420 Handle anonymous faces. (Bug#15827)
2421
2422 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2423
2424 * window.el (display-buffer-other-frame): Fix doc-string.
2425 (Bug#15868)
2426
2427 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2430
2431 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2432
2433 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2434 (tramp-sh-handle-file-local-copy): Don't write a message when
2435 saving temporary files.
2436
2437 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2438 both directories are remote.
2439 (tramp-smb-handle-directory-files): Do not return double entries.
2440 Do not expand full file names.
2441 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2442 (tramp-smb-handle-write-region): Implement APPEND.
2443 (tramp-smb-get-stat-capability): Fix a stupid bug.
2444
2445 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2446
2447 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2448
2449 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2450
2451 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2452 throwing error over malformed let/let* (bug#15814).
2453
2454 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 * iswitchb.el (iswitchb-mode): Mark obsolete.
2457
2458 2013-11-11 Glenn Morris <rgm@gnu.org>
2459
2460 * international/uni-bidi.el, international/uni-category.el:
2461 * international/uni-name.el, international/uni-numeric.el:
2462 Regenerate for Unicode 6.3.0.
2463
2464 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2465
2466 * net/tramp.el (tramp-methods):
2467 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2468 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2469
2470 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2471
2472 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2473 Force highlighting text after Summary keyword in doc face for rpm.
2474
2475 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2476
2477 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2478 available and the word has no wildcards, append one to the grep pattern.
2479 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2480 (ispell-complete-word): Call `ispell-lookup-words' with the value
2481 independent of `ispell-look-p'.
2482
2483 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2484
2485 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2486 Not after "||".
2487 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2488 their parent.
2489
2490 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2493 (ruby-font-lock-keywords): Use backquote.
2494
2495 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2496
2497 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2498 (ruby-smie--backward-token): Only consider full-string matches.
2499
2500 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2501
2502 * faces.el (describe-face): Add distant-foreground.
2503
2504 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2505
2506 * progmodes/ruby-mode.el: Improve encoding comment handling.
2507 (ruby-encoding-magic-comment-style): New option.
2508 (ruby-custom-encoding-magic-comment-template): New option.
2509 (ruby--insert-coding-comment, ruby--detect-encoding):
2510 New functions extracted from `ruby-mode-set-encoding'.
2511 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2512 to control the style of the auto-inserted encoding comment.
2513
2514 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2515
2516 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2517 Use `smie-backward-sexp' with token argument.
2518
2519 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2520
2521 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2522 Remove instrumentation code.
2523
2524 2013-11-08 Glenn Morris <rgm@gnu.org>
2525
2526 * progmodes/autoconf.el (autoconf-mode):
2527 Tweak comment-start-skip. (Bug#15822)
2528
2529 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2530
2531 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2532 at bobp (bug#15826).
2533 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2534
2535 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2536
2537 * man.el (Man-start-calling): New macro, extracted from
2538 Man-getpage-in-background.
2539 (Man-getpage-in-background): Use it.
2540 (Man-update-manpage): New command.
2541 (Man-mode-map): Bind it.
2542
2543 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2544
2545 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2546 of "and", "or", "&&" and "||".
2547 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2548 argument. Prohibit opening curly brace because it could only be a
2549 block opener in that position.
2550 (ruby-smie--forward-token, ruby-smie--backward-token):
2551 Separate "|" from "&" or "*" going after it. That can happen in block
2552 arguments.
2553 (ruby-smie--indent-to-stmt): New function, seeks the end of
2554 previous statement or beginning of buffer.
2555 (ruby-smie-rules): Use it.
2556 (ruby-smie-rules): Check if there's a ":" before a curly block
2557 opener candidate; if there is, it's a hash.
2558
2559 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2560
2561 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2562 (cl--block-wrapper): Fix last accidental change.
2563
2564 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2565
2566 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2567 Instrument, in order to hunt failure on hydra.
2568
2569 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2570
2571 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2572 malformed bindings form (bug#15814).
2573
2574 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2575
2576 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2577 "." compared to " @ ". This incidentally fixes some indentation
2578 examples with "do".
2579 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2580 (ruby-smie-grammar): New tokens: "and" and "or".
2581 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2582 Exclude "and" and "or". Remove "do" in order to work around token
2583 priorities.
2584 (ruby-smie-rules): Add all infix tokens. Handle the case of
2585 beginning-of-buffer.
2586
2587 2013-11-06 Glenn Morris <rgm@gnu.org>
2588
2589 * Makefile.in (setwins_almost, setwins_for_subdirs):
2590 Avoid accidental matches.
2591
2592 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2593
2594 * menu-bar.el (popup-menu): Use key-binding.
2595
2596 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2597
2598 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2599 menus, support also the menus produced by minor modes.
2600 (Bug#15817)
2601
2602 2013-11-06 Leo Liu <sdl.web@gmail.com>
2603
2604 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2605 DISTANCE to bound the search. All uses changed. (Bug#15808)
2606
2607 2013-11-06 Glenn Morris <rgm@gnu.org>
2608
2609 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2610 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2611 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2612
2613 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2614
2615 * electric.el (electric-indent-just-newline): New command.
2616 (electric-indent-mode-map): New keymap.
2617 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2618 Re-add :group which weren't redundant.
2619
2620 * electric.el (electric-indent-local-mode): New minor mode.
2621 (electric-indent-functions-without-reindent): New var.
2622 (electric-indent-post-self-insert-function): Use it.
2623 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2624
2625 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2626
2627 * international/quail.el (quail-help): Be more explicit about the
2628 meaning of the labels shown on the keys. (Bug#15800)
2629
2630 * startup.el (normal-top-level): Load the subdirs.el files before
2631 setting the locale environment. (Bug#15805)
2632
2633 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2634
2635 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2636 via arguments so as to get the right ones (bug#15418).
2637
2638 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2639
2640 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2641
2642 Fix problems found while writing a test suite.
2643
2644 * net/tramp-compat.el (tramp-compat-load): New defun.
2645 * net/tramp.el (tramp-handle-load): Use it.
2646
2647 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2648 "(numberp ok-if-already-exists)" correctly.
2649
2650 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2651
2652 * international/characters.el (glyphless-char-display-control):
2653 Add usage note.
2654
2655 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2656
2657 * progmodes/python.el (python-mode):
2658 * progmodes/scheme.el (scheme-mode):
2659 * progmodes/prolog.el (prolog-mode):
2660 * progmodes/ruby-mode.el (ruby-mode):
2661 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2662 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2663
2664 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2665
2666 * rect.el (rectangle--highlight-for-redisplay):
2667 * emacs-lisp/smie.el (smie--next-indent-change):
2668 Use buffer-chars-modified-tick.
2669
2670 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2671
2672 * electric.el (electric-indent-post-self-insert-function):
2673 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2674
2675 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2676
2677 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2678
2679 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2680
2681 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2682 (bug#15786).
2683
2684 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2685
2686 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2687
2688 * progmodes/python.el: Fix up last change.
2689 (python-shell--save-temp-file): New function.
2690 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2691 `string' comes from the current buffer.
2692 (python-shell-send-string-no-output): Remove `msg' arg.
2693 (python--use-fake-loc): New var.
2694 (python-shell-buffer-substring): Obey it. Try to compensate for the
2695 extra coding line added by python-shell--save-temp-file.
2696 (python-shell-send-region): Use python-shell--save-temp-file and
2697 python-shell-send-file directly. Add `nomain' argument.
2698 (python-shell-send-buffer): Use python-shell-send-region.
2699 (python-electric-pair-string-delimiter): New function.
2700 (python-mode): Use it.
2701
2702 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2703
2704 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2705 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2706 environment and decoding all of the default-directory's to here
2707 from command-line.
2708 (command-line): Decode also argv[0].
2709
2710 * loadup.el: Error out if default-directory is a multibyte string
2711 when we are dumping.
2712
2713 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2714
2715 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2716
2717 * emacs-lisp/package.el (package-menu-mode)
2718 (package-menu--print-info, package-menu--archive-predicate):
2719 Add Archive column to package list.
2720
2721 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2722
2723 Fix problems found while writing a test suite.
2724
2725 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2726 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2727 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2728 to nil when running original file name handler. Otherwise,
2729 there are problems with constructs like "$$FOO".
2730
2731 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2732 for `localname'.
2733
2734 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2735
2736 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2737
2738 * subr.el (version<, version<=, version=):
2739 Update docstrings with information for snapshot versions.
2740
2741 * helpers.el: New library for misc helper functions.
2742 (hash-table-keys): New function returning a list of hash keys.
2743 (hash-table-values): New function returning a list of hash values.
2744
2745 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2746
2747 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2748 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2749
2750 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2751
2752 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2753 checking whether point is after a 1-letter word.
2754
2755 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2756
2757 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2758 Don't infloop when expanding region over `multiline' syntax-type that
2759 begins a line (bug#15778).
2760
2761 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2762
2763 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2764 Make it into a proper minor mode.
2765 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2766 (rectangle-mark-mode-map): New keymap.
2767 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2768
2769 2013-11-04 Glenn Morris <rgm@gnu.org>
2770
2771 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2772
2773 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2774
2775 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2776 (ruby-smie-rules): Use smie-rule-parent instead.
2777
2778 * emacs-lisp/smie.el (smie-rule-parent): Always call
2779 smie-indent-virtual rather than only for hanging tokens.
2780 (smie--next-indent-change): New helper command.
2781
2782 2013-11-03 Glenn Morris <rgm@gnu.org>
2783
2784 * Makefile.in (abs_srcdir): Remove.
2785 (emacs): Unset EMACSLOADPATH.
2786
2787 2013-11-02 Glenn Morris <rgm@gnu.org>
2788
2789 * Makefile.in (EMACS): Use a relative filename.
2790 (abs_top_builddir): Remove.
2791 (custom-deps, finder-data, autoloads): Use --chdir.
2792
2793 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2794
2795 Use relative filenames in TAGS files.
2796 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2797 (lisptagsfiles4, TAGS): Use relative file names.
2798 (TAGS-LISP): Remove.
2799 (maintainer-clean): No more TAGS-LISP file.
2800
2801 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2802 (lisptagsfiles4): Use absolute filenames again.
2803 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2804 Remove all *loaddefs files, not just the first. Remove esh-groups.
2805 (maintainer-clean): Delete TAGS, TAGS-LISP.
2806
2807 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2808
2809 * emacs-lisp/package.el (package-version-join):
2810 Recognize snapshot versions.
2811
2812 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2813
2814 * subr.el (version-regexp-alist): Add support for snapshot versions.
2815
2816 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2817
2818 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2819 New function, replacement for `smie-rule-parent' for when we want to
2820 skip over our direct parent if it's an assignment token..
2821 (ruby-smie-rules): Use it.
2822
2823 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2824
2825 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2826 unconditionally. Remove now unnecessary forward declarations.
2827 Remove XEmacs-specific setup.
2828 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2829 (ruby-font-lock-syntactic-keywords)
2830 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2831 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2832 (ruby-here-doc-end-syntax): Remove.
2833 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2834 defined as function.
2835
2836 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2837
2838 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2839
2840 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2841
2842 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2843 table and abbrev table, `define-derived-mode' does that for us
2844 anyway.
2845
2846 2013-11-01 Glenn Morris <rgm@gnu.org>
2847
2848 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2849 files is atomic for some time, so no parallel compilation issues).
2850
2851 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2852
2853 * faces.el (face-x-resources): Add :distant-foreground.
2854 (region): Use :distant-foreground for gtk and ns.
2855
2856 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2857
2858 Allow multiple bibliographies when BibLaTeX is used rather than
2859 BibTeX.
2860 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2861 (reftex-locate-bibliography-files): Us it.
2862
2863 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2864
2865 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2866 allow comments in pbm files.
2867
2868 * term/w32-win.el (dynamic-library-alist): Support newer versions
2869 of libjpeg starting with v7: look only for the DLL from the
2870 version against which Emacs was built.
2871 Support versions of libpng beyond 1.4.x.
2872 Support libtiff v4.x.
2873
2874 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2875
2876 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2877 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2878 Add property :safe.
2879 (ruby-deep-arglist): Add property :type.
2880
2881 2013-10-31 Glenn Morris <rgm@gnu.org>
2882
2883 * Makefile.in (custom-deps, finder-data): No need to setq the target
2884 variables, we are in the right directory and the defaults work fine.
2885
2886 2013-10-30 Glenn Morris <rgm@gnu.org>
2887
2888 * Makefile.in (autoloads): Do not use abs_lisp.
2889
2890 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2891 `newline' does not respect `standard-output', so use `princ'.
2892
2893 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2894
2895 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2896 * buff-menu.el (Buffer-menu--unmark): New function.
2897 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2898
2899 2013-10-30 Glenn Morris <rgm@gnu.org>
2900
2901 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2902
2903 * emacs-lisp/package.el (lm-homepage): Declare.
2904
2905 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2906 Fix doc typos.
2907
2908 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2909
2910 * Makefile.in (finder-data, autoloads, update-subdirs)
2911 (compile-main, compile-clean, compile-always, bootstrap-clean):
2912 Check return value of cd.
2913 (compile-calc): Remove.
2914
2915 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2916
2917 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2918
2919 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2920 (byte-compile-and-folded): New function.
2921 (=, <, >, <=, >=): Use it.
2922
2923 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2924 (path-separator, null-device, buffer-file-coding-system)
2925 (lpr-headers-switches): Check system-type before modifying them.
2926 (find-buffer-file-type-coding-system): Mark obsolete.
2927 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2928 find-file-not-found-set-buffer-file-coding-system.
2929 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2930 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2931 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2932 (w32-direct-print-region-helper, w32-direct-print-region-function)
2933 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2934 * startup.el (normal-top-level-add-subdirs-to-load-path):
2935 * ps-print.el (ps-print-region-function):
2936 * lpr.el (print-region-function): Use new name.
2937
2938 * subr.el (custom-declare-variable-early): Remove function.
2939 (custom-declare-variable-list): Remove var.
2940 (error, user-error): Remove `while' loop.
2941 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2942 (user-emacs-directory-warning, locate-user-emacs-file):
2943 Move to files.el.
2944 * simple.el (read-quoted-char-radix, read-quoted-char):
2945 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2946 Move from subr.el.
2947 * custom.el (custom-declare-variable-list): Don't process
2948 custom-declare-variable-list.
2949
2950 * progmodes/python.el (python-shell-get-buffer): New function.
2951 (python-shell-get-process): Use it.
2952 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2953 Python which encoding was used. Don't split-string since we only care
2954 about the first line. Return the temp-file, if applicable.
2955 (python-shell-send-region): Tell compile.el how to turn locations in
2956 the temp-file into locations in the source buffer.
2957
2958 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2959
2960 * subr.el (undefined): Add missing behavior from the C code for
2961 unbound keys.
2962
2963 * rect.el: Use lexical-binding. Add new rectangular region support.
2964 (rectangle-mark): New command.
2965 (rectangle--region): New var.
2966 (deactivate-mark-hook): Reset rectangle--region.
2967 (rectangle--extract-region, rectangle--insert-for-yank)
2968 (rectangle--highlight-for-redisplay)
2969 (rectangle--unhighlight-for-redisplay): New functions.
2970 (region-extract-function, redisplay-unhighlight-region-function)
2971 (redisplay-highlight-region-function): Use them to handle
2972 rectangular region.
2973 * simple.el (region-extract-function): New var.
2974 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2975 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2976 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2977 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2978 (redisplay-unhighlight-region-function)
2979 (redisplay-highlight-region-function): New vars.
2980 (redisplay--update-region-highlight): New function.
2981 (pre-redisplay-function): Use it.
2982 (exchange-point-and-mark): Don't deactivate the mark before
2983 reactivate-it anyway.
2984 * comint.el (comint-kill-region): Remove yank-handler argument.
2985 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2986 (delete-char): Remove property, since it's now part of their
2987 default behavior.
2988 (self-insert-iso): Remove property since this command doesn't exist.
2989
2990 * emacs-lisp/package.el (package--download-one-archive)
2991 (describe-package-1): Don't query the user about final newline.
2992
2993 2013-10-29 Daniel Colascione <dancol@dancol.org>
2994
2995 * net/tramp.el (tramp-methods): Document new functionality.
2996 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2997 tramp-hostname-checker if method provides one instead of scanning
2998 argument list for "%h" to decide hostname acceptability.
2999
3000 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3001
3002 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3003 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3004 Handle COPY-CONTENTS. (Bug#15737)
3005
3006 2013-10-28 Daiki Ueno <ueno@gnu.org>
3007
3008 * epa-file.el
3009 (epa-file-cache-passphrase-for-symmetric-encryption):
3010 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3011
3012 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3013
3014 * image.el (defimage):
3015 (image-load-path): Doc fixes.
3016
3017 2013-10-27 Alan Mackenzie <acm@muc.de>
3018
3019 Indent statements in macros following "##" correctly.
3020 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3021 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3022
3023 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3024
3025 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3026
3027 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3028
3029 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3030 after `=' is probably a new expression.
3031
3032 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3033
3034 * man.el (man-imenu-title): New option.
3035 (Man-mode-map): Add menu. (Bug#15722)
3036 (Man-mode): Add imenu to menu.
3037
3038 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3039
3040 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3041 specific in what the first arg can be: a non-keyword word,
3042 string/regexp/percent literal opener, opening paren, or unary
3043 operator followed directly by word.
3044
3045 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3046
3047 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3048 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3049 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3050 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3051 Remove vars, they do not apply any more.
3052 (prolog-mode-abbrev-table): Remove redundant declaration.
3053 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3054 (prolog-use-smie): Remove.
3055 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3056 supported by prolog-electric-if-then-else-flag.
3057 (prolog-mode-variables, prolog-menu): Use setq-local.
3058 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3059 Remove binding to `Backspace' since this key doesn't exist anyway.
3060 Remove bindings for electric self-inserting keys.
3061 (prog-mode): Assume it's defined.
3062 (prolog-post-self-insert): New function.
3063 (prolog-mode): Use it.
3064 (prolog-indent-line, prolog-indent-level)
3065 (prolog-find-indent-of-matching-paren)
3066 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3067 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3068 (prolog-goto-next-paren, prolog-in-string-or-comment)
3069 (prolog-tokenize, prolog-inside-mline-comment)
3070 (prolog-find-start-of-mline-comment): Remove functions.
3071 (prolog-find-unmatched-paren, prolog-clause-end)
3072 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3073 (prolog-electric--if-then-else): Rename from
3074 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3075 (prolog-tokenize-searchkey): Remove const.
3076 (prolog-clause-info): Use forward-sexp.
3077 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3078 (prolog-electric-if-then-else): Remove commands.
3079 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3080 for use in post-self-insert-hook.
3081 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3082 for use in post-self-insert-hook.
3083 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3084 for use in post-self-insert-hook.
3085 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3086 adapt it for use in post-self-insert-hook.
3087
3088 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3089
3090 * emacs-lisp/ert.el (ert-run-tests-interactively):
3091 Use `completing-read'. (Bug#9756)
3092
3093 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3094
3095 * simple.el (line-move): Call line-move-1 instead of
3096 line-move-visual when the current window hscroll is zero, but
3097 temporary-goal-column indicates we will need to hscroll as result
3098 of the movement. (Bug#15712)
3099
3100 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3101
3102 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3103 capitalization. Use :visible instead of :active.
3104 Fix `ruby-indent-exp' reference. Add menu items for the generic
3105 commands that are used with SMIE.
3106 (ruby-do-end-to-brace): Insert space after `{'.
3107
3108 2013-10-25 John Anthony <john@jo.hnanthony.com>
3109
3110 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3111
3112 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3113
3114 2013-10-25 Glenn Morris <rgm@gnu.org>
3115
3116 * vc/vc.el (vc-print-log): Don't use a working revision unless
3117 one was explicitly specified. (Bug#15322)
3118
3119 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3120
3121 * subr.el (add-to-list): Preserve return value in compiler-macro
3122 (bug#15692).
3123
3124 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3125
3126 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3127 result. Ask user to retry using '-all' flag. (Bug#15701)
3128
3129 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3130
3131 * emacs-lisp/smie.el: New smie-config system.
3132 (smie-config): New defcustom.
3133 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3134 (smie-config-guess, smie-config-save): New commands.
3135 (smie-config--mode-local, smie-config--buffer-local)
3136 (smie-config--trace, smie-config--modefuns): New vars.
3137 (smie-config--advice, smie-config--mode-hook)
3138 (smie-config--setter, smie-config-local, smie-config--get-trace)
3139 (smie-config--guess-value, smie-config--guess): New functions.
3140 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3141 text properties. Treat "string fence" syntax like string syntax.
3142
3143 * progmodes/sh-script.el (sh-use-smie): Change default.
3144 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3145 (sh-var-value): Simplify by CSE.
3146 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3147 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3148 is used.
3149 (sh-guess-basic-offset): Use cl-incf.
3150 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3151
3152 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3153
3154 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3155 (bug#15699).
3156
3157 2013-10-24 Glenn Morris <rgm@gnu.org>
3158
3159 * Makefile.in (abs_top_srcdir): Remove.
3160 (update-subdirs): Use relative path to update-subdirs.
3161
3162 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3163
3164 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3165 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3166 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3167 Call unmsys--file-name before expand-file-name, not after it.
3168
3169 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3170
3171 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3172 (ert-test-skipped): New error.
3173 (ert-skip, ert-stats-skipped): New defuns.
3174 (ert--skip-unless): New macro.
3175 (ert-test-skipped): New struct.
3176 (ert--run-test-debugger, ert-test-result-type-p)
3177 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3178 (ert--stats-set-test-and-result, ert-char-for-test-result)
3179 (ert-string-for-test-result, ert-run-tests-batch)
3180 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3181 Handle skipped tests. (Bug#9803)
3182
3183 2013-10-24 Glenn Morris <rgm@gnu.org>
3184
3185 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3186
3187 * Makefile.in (abs_top_srcdir): New, set by configure.
3188 (update-subdirs): Correct build-aux location.
3189
3190 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3191
3192 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3193 value, whether we could auto-deduce `backend', or not.
3194
3195 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3196 with parameters" example. Simplify the "is it block or is it
3197 hash" check, but also make it more thorough.
3198
3199 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3200
3201 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3202
3203 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3206 { if it is hanging.
3207
3208 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3209 :before ";".
3210
3211 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3212
3213 * progmodes/compile.el (compilation-directory-matcher)
3214 (compilation-page-delimiter):
3215 Support GNU Make-4.0 directory quoting. (Bug#15678)
3216
3217 2013-10-23 Leo Liu <sdl.web@gmail.com>
3218
3219 * ido.el (ido-tidy): Handle read-only text.
3220
3221 2013-10-23 Glenn Morris <rgm@gnu.org>
3222
3223 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3224 (emacs, compile, compile-always):
3225 Quote entities that might contain whitespace.
3226 (custom-deps, finder-data, autoloads): Use abs_lisp.
3227 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3228 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3229 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3230
3231 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3232
3233 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3234 Use `following-char'.
3235
3236 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3237
3238 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3239 * progmodes/ruby-mode.el (ruby-smie-rules):
3240 Remove corresponding workaround. Fix indentation rule of ";" so it
3241 also applies when ";" is the parent.
3242
3243 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3244
3245 * frame.el (display-screens, display-pixel-height)
3246 (display-pixel-width, display-mm-width, display-backing-store)
3247 (display-save-under, display-planes, display-color-cells)
3248 (display-visual-class, display-monitor-attributes-list):
3249 Mention the optional ‘display’ argument in doc strings.
3250
3251 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3252
3253 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3254 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3255
3256 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3257
3258 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3259 TODO. Add "." after " @ ".
3260 (ruby-smie--at-dot-call): New function. Checks if point at method
3261 call with explicit target.
3262 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3263 to the method name tokens when it precedes them.
3264 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3265 (ruby-smie-rules): Add rule for indentation before and after "."
3266 token.
3267
3268 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3269
3270 * textmodes/remember.el (remember-diary-extract-entries):
3271 Avoid add-to-list.
3272
3273 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3274 an instruction.
3275
3276 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3277
3278 * progmodes/ruby-mode.el (ruby-smie-grammar):
3279 Add (almost) all infix operators.
3280 (ruby-smie--implicit-semi-p): Add new operator chars.
3281
3282 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3283 `smie-down-list'.
3284 (ruby-smie--args-separator-p): Check that there's no newline
3285 between method call and its arguments.
3286
3287 2013-10-20 Alan Mackenzie <acm@muc.de>
3288
3289 Allow comma separated lists after Java "implements".
3290
3291 * progmodes/cc-engine.el (c-backward-over-enum-header):
3292 Parse commas.
3293 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3294 from a "disallowed" list in enum fontification.
3295
3296 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3297
3298 * startup.el (default-frame-background-mode): Remove unused defvar.
3299
3300 * progmodes/verilog-mode.el (verilog-mode): Don't set
3301 comment-indent-function globally.
3302
3303 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3304
3305 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3306 Move Info menu item creation to ns-win.el.
3307
3308 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3309 in menu bar.
3310
3311 * menu-bar.el: Move GNUStep specific menus...
3312
3313 * term/ns-win.el (ns-initialize-window-system): ... to here.
3314
3315 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3316
3317 * simple.el (newline): Only run post-self-insert-hook when
3318 called interactively.
3319
3320 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3321
3322 * icomplete.el (icomplete-with-completion-tables): Add :version.
3323
3324 2013-10-19 Alan Mackenzie <acm@muc.de>
3325
3326 Fix fontification bugs with constructors and const.
3327
3328 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3329 CASE 2) Remove the check for the absence of a suffix construct
3330 after a function declaration with only types (no identifiers) in
3331 the parentheses. Also, accept a function declaration with just a
3332 type inside the parentheses, if this type can be positively
3333 recognised as such, or if a prefix keyword like "explicit" nails
3334 down the construct as a declaration.
3335
3336 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3337
3338 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3339 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3340 the problem whereby selecting a menu item that leads to a
3341 minibuffer prompt moves the cursor out of the minibuffer window,
3342 making it hard to type at the prompt. Suggested by Stefan Monnier
3343 <monnier@iro.umontreal.ca>.
3344
3345 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3346
3347 * menu-bar.el: Don't make Services menu.
3348
3349 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3350
3351 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3352 (ffap-alist): Use ffap-c++-mode for c++-mode.
3353 (ffap-c++-path): New variable.
3354 (ffap-c++-mode): New function.
3355
3356 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3357
3358 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3359
3360 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3361
3362 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3363 introduced on 2013-09-08, which results in an infinite loop
3364 requesting a password.
3365
3366 2013-10-18 Glenn Morris <rgm@gnu.org>
3367
3368 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3369
3370 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3371
3372 Sync with upstream verilog-mode revision 1a6ecec7.
3373 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3374 (verilog-mode-release-date): Remove.
3375 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3376 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3377 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3378 (verilog-auto-tieoff-ignore-regexp)
3379 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3380 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3381 (verilog-signals-with, verilog-dir-cache-preserving)
3382 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3383 Doc fixes.
3384 (verilog-case-fold): New option, to control case folding in
3385 regexp searches, bug597.
3386 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3387 (verilog-string-match-fold, verilog-in-paren-count)
3388 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3389 (verilog-at-close-struct-p): New functions.
3390 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3391 (verilog-forward-sexp, verilog-set-auto-endcomments):
3392 (verilog-leap-to-case-head): Handle "unique0" case.
3393 (verilog-in-constraint-re): New constant.
3394 (verilog-keywords, verilog-type-font-keywords):
3395 Add some SystemVerilog 1800-2012 keywords.
3396 (verilog-label-be): Remove unimplemented argument, bug669.
3397 (verilog-batch-execute-func): When batch expanding clear
3398 create-lockfiles to prevent spurious user locks when a file ends
3399 up not changing.
3400 (verilog-calculate-indent, verilog-calc-1)
3401 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3402 (verilog-do-indent): Fix indentation of nested constraints
3403 and structures.
3404 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3405 (verilog-auto-inst-param): Use verilog-string-match-fold.
3406 (verilog-read-inst-module-matcher):
3407 Fix AUTOINST on gate primitives with #1.
3408 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3409 Reads all user-defined typed variables.
3410 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3411 (verilog-signals-matching-regexp)
3412 (verilog-signals-not-matching-regexp, verilog-auto):
3413 Respect verilog-case-fold.
3414 (verilog-diff-report): Fix line count.
3415 (verilog-auto-assign-modport): Remove unused local `modi'.
3416 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3417 better handle multidimensional arrays.
3418 Fix packed array ports misadding bit index in AUTOINST, bug637.
3419 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3420 to not double-declare existing outputs and inputs, respectively.
3421 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3422 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3423 (verilog-sk-uvm-component): New skeleton.
3424 (verilog-submit-bug-report): Add verilog-case-fold,
3425 remove verilog-mode-release-date.
3426
3427 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3428
3429 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3430 as before.
3431
3432 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3433
3434 * textmodes/remember.el (remember): Set buffer-offer-save in
3435 remember buffers (bug#13566).
3436
3437 2013-10-18 Daniel Colascione <dancol@dancol.org>
3438
3439 When evaluating forms in ielm, direct standard output to ielm
3440 buffer. Add new ielm-return-for-effect command. Remove trailing
3441 whitespace throughout.
3442
3443 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3444 (ielm-return-for-effect): New command.
3445 (ielm-send-input): Accept optional `for-effect' parameter.
3446 (ielm-eval-input): Accept optional `for-effect' parameter.
3447 Bind `standard-output' to stream we create using
3448 `ielm-standard-output-impl'. Suppress printing result when
3449 `for-effect'.
3450 (ielm-standard-output-impl): New function.
3451 (inferior-emacs-lisp-mode): Explain new features in documentation.
3452
3453 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3454
3455 Code cleanup.
3456
3457 * net/tramp.el (tramp-debug-message): Do not check for connection
3458 buffer.
3459 (tramp-message): Use "vector" connection property.
3460
3461 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3462 (tramp-equal-remote, tramp-eshell-directory-change)
3463 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3464 (tramp-adb-handle-rename-file)
3465 * net/tramp-cmds.el (tramp-list-remote-buffers)
3466 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3467 * net/tramp-compat.el (tramp-compat-process-running-p)
3468 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3469 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3470 (tramp-gvfs-handle-rename-file)
3471 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3472 (tramp-set-file-uid-gid)
3473 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3474 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3475 of `file-remote-p'.
3476
3477 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3478 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3479 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3480 (tramp-gw-open-network-stream): Suppress unrelated traces.
3481
3482 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3483 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3484 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3485 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3486 connection property.
3487
3488 * net/tramp-cache.el (top): Suppress traces when reading
3489 persistency file.
3490
3491 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3492 Refactor common code. Improve debug message.
3493 (tramp-maybe-open-connection)
3494 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3495 connection buffer too early.
3496
3497 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3498 from `tramp-smb-actions-with-acl'.
3499 (tramp-smb-actions-set-acl): New defconst.
3500 (tramp-smb-handle-copy-directory)
3501 (tramp-smb-action-get-acl): New defun, renamed from
3502 `tramp-smb-action-with-acl'.
3503 (tramp-smb-action-set-acl): New defun.
3504 (tramp-smb-handle-set-file-acl): Rewrite.
3505
3506 2013-10-17 Glenn Morris <rgm@gnu.org>
3507
3508 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3509
3510 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3511
3512 * skeleton.el (skeleton-newline): Remove.
3513 (skeleton-internal-1): Use (insert "\n") instead.
3514
3515 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3516 let-bindings.
3517
3518 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3519 forward-sexp-function while we redo its job (bug#15613).
3520
3521 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3522
3523 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3524 represented by lists.
3525
3526 2013-10-16 Glenn Morris <rgm@gnu.org>
3527
3528 * tmm.el (tmm--history): New dynamic variable.
3529 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3530
3531 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3532
3533 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3534 (tramp-smb-errors): Add error messages.
3535 (tramp-smb-actions-with-acl): New defconst.
3536 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3537 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3538 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3539 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3540 (tramp-smb-get-stat-capability): Fix tests.
3541
3542 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3543
3544 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3545 (bug#15580).
3546
3547 2013-10-16 Glenn Morris <rgm@gnu.org>
3548
3549 * ansi-color.el (ansi-color-drop-regexp):
3550 Add 1J, 1K, 2K. (Bug#15617)
3551
3552 * files.el (hack-local-variables--warned-lexical): New.
3553 (hack-local-variables):
3554 Warn about misplaced lexical-binding. (Bug#15616)
3555
3556 * net/eww.el (eww-render): Always set eww-current-url,
3557 and update header line. (Bug#15622)
3558 (eww-display-html): ... Rather than just doing it here.
3559
3560 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3561
3562 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3563 menu navigations commands.
3564
3565 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3566
3567 * progmodes/subword.el (subword-capitalize): Be careful when
3568 the search for [[:alpha:]] fails (bug#15580).
3569
3570 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3571
3572 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3573 to commands that scroll the menu.
3574
3575 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3576
3577 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3578 Handle methods ending with `?' and `!'.
3579
3580 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3581
3582 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3583 `japanese-cp932' to `cp932' to fix the problem where saving a
3584 source file written in Shift_JIS twice would end up having
3585 `coding: japanese-cp932' which Ruby could not recognize.
3586 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3587 in `ruby-encoding-map'.
3588 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3589 doesn't need to be explicitly declared in magic comment.
3590 (ruby-encoding-map): Add type declaration for better customize UI.
3591
3592 2013-10-13 Glenn Morris <rgm@gnu.org>
3593
3594 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3595 Occur buffers are read-only. http://bugs.debian.org/720775
3596
3597 * emacs-lisp/authors.el (authors-fixed-entries):
3598 Comment out old alpha stuff.
3599
3600 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3601
3602 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3603 to `after-save-hook' instead of `before-save-hook'.
3604 (ruby-mode-set-encoding): Use the value of coding system used to
3605 write the file. Call `basic-save-buffer-1' after modifying the
3606 buffer.
3607
3608 2013-10-13 Alan Mackenzie <acm@muc.de>
3609
3610 Fix indentation/fontification of Java enum with
3611 "implements"/generic.
3612
3613 * progmodes/cc-engine.el (c-backward-over-enum-header):
3614 Extracted from the three other places and enhanced to handle generics.
3615 (c-inside-bracelist-p): Uses new function above.
3616 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3617 function above.
3618 (c-font-lock-enum-tail): Uses new function above.
3619
3620 2013-10-13 Kenichi Handa <handa@gnu.org>
3621
3622 * international/mule-cmds.el (select-safe-coding-system): Remove a
3623 superfluous condition in chekcing whether a coding system is safe
3624 or not.
3625
3626 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3627
3628 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3629
3630 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3631
3632 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3633
3634 2013-10-13 Glenn Morris <rgm@gnu.org>
3635
3636 * menu-bar.el (menu-bar-update-buffers):
3637 Unify Buffers menu prompt string. (Bug#15576)
3638
3639 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3640
3641 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3642 Add some entries.
3643 (authors-fixed-entries): Use accented form of name.
3644
3645 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3646
3647 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3648 method calls (bug#15594).
3649 (ruby-smie--args-separator-p): New function.
3650 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3651 recognize paren-free method calls.
3652
3653 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3654 internals of universal-argument.
3655
3656 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3657
3658 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3659 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3660 dropped menu on second mouse click on the menu bar.
3661
3662 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3663
3664 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3665 (explicit-shell-file-name): Declare.
3666 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3667 (sh-completion-at-point-function): New function.
3668 (sh-mode): Use it.
3669 (sh-smie--keyword-p): Remove unused argument.
3670 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3671 vars.
3672 (sh-set-shell): Always setup SMIE, even if we use the
3673 old indentation code.
3674
3675 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3676
3677 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3678 cases of ? and =.
3679 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3680 predicate would return nil are almost non-existent.
3681 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3682
3683 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3684 cache also after commands that modify the buffer but don't move
3685 point.
3686
3687 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3688
3689 * env.el (substitute-env-in-file-name): New function.
3690 (substitute-env-vars): Extend the meaning of the optional arg.
3691
3692 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3693
3694 * term/w32-win.el (dynamic-library-alist): Define separate lists
3695 of GIF DLLs for versions before and after 5.0.0 of giflib.
3696 (Bug#15531)
3697
3698 2013-10-10 João Távora <joaotavora@gmail.com>
3699
3700 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3701 not locked, use last revision and current source as
3702 defaults. (Bug#15569)
3703
3704 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3705
3706 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3707 menu-bar is hidden.
3708
3709 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3710
3711 * window.el (pop-to-buffer-same-window): Fix doc-string.
3712 (Bug#15492)
3713
3714 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3715
3716 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3717
3718 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3719
3720 * calendar/icalendar.el (icalendar-import-file):
3721 Fix interactive spec. (Bug#15482)
3722
3723 2013-10-10 Glenn Morris <rgm@gnu.org>
3724
3725 * desktop.el (desktop-save): Default to saving in .emacs.d,
3726 since PWD is no longer in desktop-path by default. (Bug#15319)
3727
3728 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3729 now that text mode has a menu with the same entry.
3730 (menu-bar-text-mode-auto-fill): Remove now unused func.
3731 * textmodes/text-mode.el (text-mode-map):
3732 Use auto-fill help text from menu-bar.el.
3733
3734 2013-10-10 John Anthony <john@jo.hnanthony.com>
3735
3736 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3737
3738 2013-10-09 Juri Linkov <juri@jurta.org>
3739
3740 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3741 instead of this-command-keys. Add universal-argument-more and
3742 universal-argument-minus to the list of prefix commands. (Bug#15568)
3743
3744 2013-10-09 Glenn Morris <rgm@gnu.org>
3745
3746 * vc/vc-svn.el (vc-svn-create-repo):
3747 Expand paths in file://... url. (Bug#15446)
3748
3749 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3750 Add some entries.
3751 (authors): Remove unused local variables.
3752
3753 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3754
3755 * profiler.el: Create a more coherent calltree from partial backtraces.
3756 (profiler-format): Hide the tail with `invisible' so that C-s can still
3757 find the hidden elements.
3758 (profiler-calltree-depth): Don't recurse so enthusiastically.
3759 (profiler-function-equal): New hash-table-test.
3760 (profiler-calltree-build-unified): New function.
3761 (profiler-calltree-build): Use it.
3762 (profiler-report-make-name-part): Indent the calltree less.
3763 (profiler-report-mode): Add visibility specs for profiler-format.
3764 (profiler-report-expand-entry, profiler-report-toggle-entry):
3765 Expand the whole subtree when provided with a prefix arg.
3766
3767 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3768
3769 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3770 iuwu-mod token.
3771 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3772 hanging iuwu-mod token.
3773 (ruby-smie--forward-token): Do not include a dot after a token in
3774 that token.
3775 (ruby-smie--backward-token): Likewise.
3776
3777 2013-10-08 Juri Linkov <juri@jurta.org>
3778
3779 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3780 to isearch-other-control-char.
3781 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3782 and isearch-post-command-hook to post-command-hook.
3783 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3784 and isearch-post-command-hook from post-command-hook.
3785 (isearch-unread-key-sequence)
3786 (isearch-reread-key-sequence-naturally)
3787 (isearch-lookup-scroll-key, isearch-other-control-char)
3788 (isearch-other-meta-char): Remove functions.
3789 (isearch-pre-command-hook, isearch-post-command-hook):
3790 New functions based on isearch-other-meta-char rewritten
3791 relying on the new behavior of overriding-terminal-local-map
3792 that does not replace the local keymaps any more. (Bug#15200)
3793
3794 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3795
3796 Support menus on text-mode terminals.
3797 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3798 functionality.
3799
3800 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3801
3802 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3803 Move here from mouse.el.
3804 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3805 and arrow keys.
3806 (tty-menu-navigation-map): New map for TTY menu navigation.
3807
3808 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3809
3810 * frame.el (display-mouse-p): Report text-mode mouse as available
3811 on w32.
3812 (display-popup-menus-p): Report availability if mouse is
3813 available; don't condition on window-system.
3814
3815 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3816 (tty-menu-selected-face): New faces.
3817
3818 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3819
3820 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3821 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3822 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3823 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3824 New constants.
3825 (lisp-mode-variables): New `elisp' argument.
3826 (emacs-lisp-mode): Use it.
3827 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3828 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3829
3830 * indent.el: Use lexical-binding.
3831 (indent-region): Add progress reporter.
3832 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3833 last step.
3834 (indent--next-tab-stop): New function to implement this behavior.
3835 (tab-to-tab-stop, move-to-tab-stop): Use it.
3836
3837 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3838
3839 * indent.el (indent-rigidly--current-indentation): New function.
3840 (indent-rigidly-map): New var.
3841 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3842
3843 2013-10-08 Bastien Guerry <bzg@gnu.org>
3844
3845 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3846
3847 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * progmodes/perl-mode.el: Use lexical-binding.
3850 Remove redundant :group args.
3851 (perl-nochange): Change default to be closer to other major modes's
3852 standard behavior.
3853 (perl-indent-line): Don't consider text on current line as a
3854 valid beginning of function from which to indent.
3855
3856 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3857 with more than one argument (bug#15538).
3858
3859 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3860
3861 * vc/pcvs.el: Use lexical-binding.
3862 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3863 environment of `eval'.
3864 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3865 than a list of expressions. Adjust callers.
3866 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3867
3868 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3869
3870 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3871 case of the dot in a chained method call being on the following line.
3872
3873 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3874
3875 * electric.el (electric-indent-inhibit): New var.
3876 (electric-indent-post-self-insert-function): Use it.
3877 * progmodes/python.el (python-mode): Set it.
3878
3879 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3880 open braces.
3881
3882 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3883
3884 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3885 (css-mode): Use electric-indent-chars.
3886
3887 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3888 (font-lock-beg, font-lock-end): Move before first use.
3889 (nxml-mode): Use syntax-propertize-function.
3890 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3891 (nxml-extend-after-change-region): Remove.
3892 * nxml/xmltok.el: Use lexical-binding.
3893 (xmltok-save): Use `declare'.
3894 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3895 * nxml/nxml-util.el: Use lexical-binding.
3896 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3897 Use `declare'.
3898 * nxml/nxml-ns.el: Use lexical-binding.
3899 (nxml-ns-save): Use `declare'.
3900 (nxml-ns-prefixes-for): Avoid add-to-list.
3901 * nxml/rng-match.el: Use lexical-binding.
3902 (rng--ipattern): Use cl-defstruct.
3903 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3904 (rng-cons-group-after, rng-subst-group-after)
3905 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3906 Use closures instead of `(lambda...).
3907
3908 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3909
3910 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3911 of BEG and END.
3912
3913 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3914 Use `tramp-handle-insert-file-contents'.
3915 (tramp-gvfs-handle-insert-file-contents): Remove function.
3916
3917 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3918 Use `save-restriction' in order to keep markers.
3919
3920 * net/trampver.el: Update release number.
3921
3922 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3923
3924 * progmodes/compile.el (compilation-parse-errors):
3925 Use compilation--put-prop.
3926 (compilation--ensure-parse): Check compilation-multiline.
3927
3928 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3929
3930 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3931 lexical-binding.
3932
3933 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3934
3935 * progmodes/ruby-mode.el: Fix recently added tests.
3936 (ruby-smie-grammar): Add - and +.
3937 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3938 (ruby-smie--backward-id): New functions.
3939 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3940 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3941 any more.
3942
3943 2013-10-07 Leo Liu <sdl.web@gmail.com>
3944
3945 * register.el (register-preview-delay)
3946 (register-preview-functions): New variables.
3947 (register-read-with-preview, register-preview)
3948 (register-describe-oneline): New functions.
3949 (point-to-register, window-configuration-to-register)
3950 (frame-configuration-to-register, jump-to-register)
3951 (number-to-register, view-register, insert-register)
3952 (copy-to-register, append-to-register, prepend-to-register)
3953 (copy-rectangle-to-register): Use register-read-with-preview to
3954 read register. (Bug#15525)
3955
3956 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3957
3958 * net/network-stream.el (network-stream-open-starttls): Don't add
3959 --insecure if it's already present, because that gnutls-cli
3960 rejects getting that parameter twice.
3961
3962 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3963
3964 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3965 keyword, too.
3966
3967 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3968
3969 * newcomment.el (comment-use-global-state): Change default value
3970 to t, mark obsolete (Bug#15251).
3971 (comment-beginning): In addition to `comment-to-syntax', check the
3972 value of `comment-use-global-state'.
3973
3974 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3977 (ruby-comment-column): Follow the global default, by default.
3978 (ruby-smie-grammar): Add assignment syntax.
3979 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3980 open-paren, a comma, or a \.
3981 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3982 and line continuations.
3983 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3984 followed by implicit semi-colons. Add rule for string concatenation
3985 and for indentation at BOB.
3986 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3987
3988 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3989 calling next-sexp, since next-token may have skipped chars which
3990 next-sexp doesn't know should be skipped!
3991
3992 2013-10-05 Leo Liu <sdl.web@gmail.com>
3993
3994 * progmodes/octave.el (octave-send-region):
3995 Call compilation-forget-errors.
3996
3997 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3998
3999 * vc/vc-svn.el (vc-svn-find-admin-dir):
4000 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4001 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4002 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4003 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4004
4005 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4006
4007 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4008
4009 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4010
4011 * subr.el (read-passwd): Hide chars even when called within a context
4012 where after-change-functions is disabled (bug#15501).
4013 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4014 until we removed ourself from overriding-terminal-local-map.
4015
4016 2013-10-04 Leo Liu <sdl.web@gmail.com>
4017
4018 * progmodes/octave.el (inferior-octave-mode):
4019 Call compilation-forget-errors.
4020
4021 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4022
4023 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4024
4025 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4026
4027 * net/secrets.el (secrets-create-collection): Add optional
4028 argument ALIAS. Use proper Label keyword. Append ALIAS as
4029 dbus-call-method argument. (Bug#15516)
4030
4031 2013-10-04 Leo Liu <sdl.web@gmail.com>
4032
4033 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4034 (inferior-octave-compilation-font-lock-keywords): New variables.
4035 (compilation-error-regexp-alist)
4036 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4037 (inferior-octave-mode): Use compilation-shell-minor-mode.
4038
4039 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4040
4041 * minibuffer.el (completion--replace): Be careful that `end' might be
4042 a marker.
4043
4044 2013-10-03 Daiki Ueno <ueno@gnu.org>
4045
4046 Add support for package signature checking.
4047 * emacs-lisp/package.el (url-http-file-exists-p)
4048 (epg-make-context, epg-context-set-home-directory)
4049 (epg-verify-string, epg-context-result-for)
4050 (epg-signature-status, epg-signature-to-string)
4051 (epg-check-configuration, epg-configuration)
4052 (epg-import-keys-from-file): Declare.
4053 (package-check-signature): New user option.
4054 (package-unsigned-archives): New user option.
4055 (package-desc): Add `signed' field.
4056 (package-load-descriptor): Set `signed' field if .signed file exists.
4057 (package--archive-file-exists-p): New function.
4058 (package--check-signature): New function.
4059 (package-install-from-archive): Check package signature.
4060 (package--download-one-archive): Check archive signature.
4061 (package-delete): Remove .signed file.
4062 (package-import-keyring): New command.
4063 (package-refresh-contents): Import default keyring.
4064 (package-desc-status): Add "unsigned" status.
4065 (describe-package-1, package-menu--print-info)
4066 (package-menu-mark-delete, package-menu--find-upgrades)
4067 (package-menu--status-predicate): Support "unsigned" status.
4068
4069 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4070
4071 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4072 the new compilation scheme using the new byte-codes.
4073
4074 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4075 (byte-pophandler): New byte codes.
4076 (byte-goto-ops): Adjust accordingly.
4077 (byte-compile--use-old-handlers): New var.
4078 (byte-compile-catch): Use new byte codes depending on
4079 byte-compile--use-old-handlers.
4080 (byte-compile-condition-case--old): Rename from
4081 byte-compile-condition-case.
4082 (byte-compile-condition-case--new): New function.
4083 (byte-compile-condition-case): New function that dispatches depending
4084 on byte-compile--use-old-handlers.
4085 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4086 when we can.
4087
4088 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4089 Optimize under `condition-case' and `catch' if
4090 byte-compile--use-old-handlers is nil.
4091 (disassemble-offset): Handle new bytecodes.
4092
4093 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4094
4095 * subr.el (error): Use `declare'.
4096 (decode-char, encode-char): Use advertised-calling-convention instead
4097 of the docstring to discourage use of the `restriction' arg.
4098
4099 2013-10-03 Daiki Ueno <ueno@gnu.org>
4100
4101 * epg.el (epg-verify-file): Add a comment saying that it does not
4102 notify verification error as a return value nor a signal.
4103 (epg-verify-string): Ditto.
4104
4105 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4106
4107 * progmodes/compile.el (compilation-start): Try globbing the arg to
4108 `cd' (bug#15417).
4109
4110 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4111
4112 Sync with Tramp 2.2.8.
4113
4114 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4115 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4116 * net/trampver.el: Update release number.
4117
4118 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4119
4120 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4121 and default-process-coding-system for darwin only.
4122
4123 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4124
4125 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4126
4127 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4128
4129 * vc/vc-git.el (vc-git-grep): Disable pager.
4130
4131 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4132
4133 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4134 Use :url instead of :homepage, as per
4135 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4136
4137 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4138 non-nil, use `syntax-ppss' (Bug#15251).
4139
4140 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4141
4142 * progmodes/octave.el (inferior-octave-startup-file):
4143 Prefer ~/.emacs.d/init_octave.m.
4144
4145 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4146
4147 * emacs-lisp/package.el (package-desc-from-define):
4148 Accept additional arguments as plist, convert them to an alist and store
4149 them in the `extras' slot.
4150 (package-generate-description-file): Convert extras alist back to
4151 plist and append to the `define-package' form arguments.
4152 (package--alist-to-plist): New function.
4153 (package--ac-desc): Add `extras' slot.
4154 (package--add-to-archive-contents): Check if the archive-contents
4155 vector is long enough, and if it is, pass its `extras' slot value
4156 to `package-desc-create'.
4157 (package-buffer-info): Call `lm-homepage', pass the returned value
4158 to `package-desc-from-define'.
4159 (describe-package-1): Render the homepage button (Bug#13291).
4160
4161 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4162 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4163
4164 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4165
4166 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4167 and default-process-coding-system to utf-8-unix (Bug#15402).
4168
4169 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4170
4171 * subr.el (looking-back): Do not recommend using looking-back.
4172
4173 2013-09-28 Alan Mackenzie <acm@muc.de>
4174
4175 Fix indentation/fontification of Java enum with "implements".
4176
4177 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4178 regexp which matches "implements", etc., in Java.
4179 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4180 specifier clauses coming after "enum".
4181 * progmodes/cc-fonts.el (c-font-lock-declarations)
4182 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4183 after "enum".
4184
4185 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4186
4187 * faces.el (region): Change ns_selection_color to
4188 ns_selection_fg_color, add ns_selection_bg_color.
4189
4190 2013-09-28 Leo Liu <sdl.web@gmail.com>
4191
4192 * progmodes/octave.el (inferior-octave-completion-table)
4193 (inferior-octave-completion-at-point): Minor tweaks.
4194
4195 * textmodes/ispell.el (ispell-lookup-words): Rename from
4196 lookup-words. (Bug#15460)
4197 (lookup-words): Obsolete.
4198 (ispell-complete-word, ispell-command-loop): All uses changed.
4199
4200 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4201
4202 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4203 (octave-mode-menu): Add octave-send-buffer.
4204 (octave-send-buffer): New function.
4205
4206 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4207
4208 * progmodes/octave.el (octave-mode-map): Add key binding for
4209 octave-lookfor.
4210 (octave-mode-menu): Add octave-lookfor.
4211 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4212 octave-lookfor.
4213 (octave-lookfor): New function.
4214
4215 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4216
4217 * emacs-lisp/cl-macs.el:
4218 (cl--loop-destr-temps): Remove.
4219 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4220 its convention.
4221 (cl--loop-set-iterator-function): New function.
4222 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4223 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4224 Bind `it' with `let' instead of substituting it with `cl-subst'.
4225 (cl--unused-var-p): New function.
4226 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4227 Eliminate some unused variable warnings (bug#15326).
4228
4229 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4230
4231 * doc-view.el (doc-view-scale-reset): Rename from
4232 `doc-view-reset-zoom-level'.
4233 (doc-view-scale-adjust): New command.
4234 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4235 `doc-view-scale-adjust'.
4236
4237 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4238
4239 * doc-view.el (doc-view-reset-zoom-level): New command.
4240 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4241 zoom commands (bug#15466).
4242
4243 2013-09-26 Kenichi Handa <handa@gnu.org>
4244
4245 * international/quail.el (quail-help): Make it not a command.
4246
4247 2013-09-26 Leo Liu <sdl.web@gmail.com>
4248
4249 * minibuffer.el (completion-all-sorted-completions): Make args
4250 optional as they are.
4251
4252 2013-09-25 Daniel Colascione <dancol@dancol.org>
4253
4254 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4255 specs are and that they're not evaluated.
4256
4257 2013-09-24 Sam Steingold <sds@gnu.org>
4258
4259 * midnight.el (clean-buffer-list-kill-regexps)
4260 (clean-buffer-list-kill-buffer-names): Update for the new Man
4261 buffer naming which includes the object name.
4262
4263 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4264
4265 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4266 (eshell-parse-command, eshell-parse-pipeline): Use it since
4267 eshell-separate-commands requires a dynamic scoped var.
4268 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4269
4270 2013-09-23 Leo Liu <sdl.web@gmail.com>
4271
4272 * autoinsert.el (auto-insert-alist): Make the value of
4273 lexical-binding match its file setting.
4274
4275 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4276
4277 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4278
4279 * autoarg.el (autoarg-kp-digit-argument):
4280 * electric.el (Electric-command-loop):
4281 * kmacro.el (kmacro-step-edit-insert):
4282 Do not set universal-argument-num-events.
4283
4284 2013-09-22 Leo Liu <sdl.web@gmail.com>
4285
4286 * files.el (interpreter-mode-alist): Add octave.
4287
4288 2013-09-21 Alan Mackenzie <acm@muc.de>
4289
4290 C++: fontify identifier in declaration following "public:" correctly.
4291 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4292 to match "public", etc.
4293 (c-decl-prefix-re): Add ":" into the C++ value.
4294 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4295 bit. Add a check for a ":" preceded by "public", etc.
4296
4297 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4298
4299 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4300 recognized by GDB 7.5 and later.
4301
4302 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4303
4304 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4305
4306 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4307
4308 * subr.el (internal--call-interactively): New const.
4309 (called-interactively-p): Use it (bug#3984).
4310
4311 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4312
4313 * vc/pcvs.el (cvs-mode-ignore):
4314 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4315 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4316
4317 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4318
4319 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4320 (eshell-ls-orig-insert-directory): Remove.
4321 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4322 (eshell-ls-use-in-dired): Use advice-add/remove.
4323 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4324 Add `orig-fun' arg for use in :around advice.
4325 Make it check (redundantly) eshell-ls-use-in-dired.
4326
4327 2013-09-19 Glenn Morris <rgm@gnu.org>
4328
4329 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4330
4331 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4332
4333 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4334
4335 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4336
4337 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4338 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4339 (tramp-get-remote-python): New defuns.
4340 (tramp-get-remote-uid-with-perl)
4341 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4342 contributed by yary <not.com@gmail.com> (tiny change).
4343 (tramp-get-remote-uid-with-python)
4344 (tramp-get-remote-gid-with-python): New defuns. Python code
4345 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4346 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4347
4348 2013-09-19 Glenn Morris <rgm@gnu.org>
4349
4350 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4351
4352 * eshell/em-unix.el (eshell-remove-entries):
4353 Rename argument to avoid name-clash with global `top-level'.
4354
4355 * eshell/esh-proc.el (eshell-kill-process-function):
4356 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4357 (eshell-reset-after-proc): Remove unused arg `proc'.
4358
4359 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4360 (directory-files-and-attributes): Mark unused arg.
4361
4362 * eshell/em-unix.el (eshell-remove-entries):
4363 Remove unused arg `path'. Update callers.
4364
4365 * eshell/em-hist.el (eshell-hist-parse-arguments):
4366 Remove unused arg `silent'. Update callers.
4367
4368 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4369 Fix (f)boundp mix-up.
4370
4371 * eshell/em-smart.el (eshell-smart-scroll-window)
4372 (eshell-disable-after-change):
4373 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4374
4375 2013-09-18 Alan Mackenzie <acm@muc.de>
4376
4377 Fix fontification of type when followed by "const".
4378 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4379 "known" types from fontification.
4380
4381 2013-09-18 Glenn Morris <rgm@gnu.org>
4382
4383 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4384 (chart-face-list): Drop Emacsen without display-color-p.
4385
4386 * net/eww.el (libxml-parse-html-region): Declare.
4387 (eww-display-html): Explicit error if no libxml2 support.
4388
4389 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4390
4391 * image.el (image-type-from-buffer, image-multi-frame-p):
4392 Remove --without-x warning/error.
4393
4394 * mouse.el (mouse-yank-primary):
4395 * term.el (term-mouse-paste):
4396 Reorder to silence --without-x compilation.
4397
4398 * mpc.el (doc-view-mode): Silence --without-x compilation.
4399
4400 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4401 Silence --without-x compilation.
4402
4403 * progmodes/gud.el (gud-find-file, gud-mode):
4404 Silence --without-x compilation.
4405 (tooltip-mode): Declare.
4406
4407 * wdired.el (dired-backup-overwrite): Remove declaration.
4408 (wdired-mode-map): Add doc string.
4409
4410 * custom.el (x-get-resource): Declare.
4411
4412 * eshell/em-glob.el (ange-cache):
4413 * eshell/em-unix.el (ange-cache): Declare.
4414
4415 * faces.el (x-display-list, x-open-connection, x-get-resource):
4416 Declare.
4417
4418 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4419 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4420 Declare.
4421
4422 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4423
4424 * net/gnutls.el (gnutls-log-level): Declare.
4425
4426 * net/shr.el (image-size, image-animate): Declare.
4427
4428 * simple.el (font-info): Declare.
4429
4430 * subr.el (x-popup-dialog): Declare.
4431
4432 * term/common-win.el (x-select-enable-primary)
4433 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4434 Declare.
4435
4436 * term/ns-win.el (x-handle-args): Declare.
4437
4438 * term/x-win.el (x-select-enable-clipboard): Declare.
4439
4440 * term/w32-win.el (create-default-fontset): Declare.
4441
4442 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4443 Declare.
4444
4445 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4446 (fit-frame-to-buffer): Explicit error if --without-x.
4447 (mouse-autoselect-window-select): Silence compiler.
4448
4449 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4450
4451 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4452 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4453 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4454 * eshell/esh-util.el (eshell-sublist):
4455 Remove unused local variables.
4456
4457 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4458
4459 * textmodes/two-column.el: Make 2C-split work for --without-x.
4460 (scroll-bar-columns): Autoload.
4461 (top-level): Require fringe when compiling.
4462
4463 2013-09-18 Leo Liu <sdl.web@gmail.com>
4464
4465 * subr.el (add-hook): Robustify to handle closure as well.
4466
4467 2013-09-17 Glenn Morris <rgm@gnu.org>
4468
4469 * simple.el (messages-buffer-mode-map): Unbind "g".
4470
4471 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4472
4473 * help-mode.el (help-mode-finish): Use derived-mode-p.
4474 Remove obsolete highlighting.
4475
4476 * play/life.el (life-mode): Use define-derived-mode. Derive from
4477 special-mode.
4478 (life): Let-bind inhibit-read-only.
4479 (life-setup): Avoid `setq'. Use `life-mode'.
4480
4481 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4482 which should not be needed any more.
4483 (package-menu-refresh, package-menu-describe-package): Use user-error.
4484
4485 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4486 (eshell-post-rewrite-command-hook): Make obsolete.
4487 (eshell-parse-command): Simplify.
4488 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4489 (eshell--cmd): Declare.
4490 (eshell-parse-pipeline): Remove unused var `final-p'.
4491 Pass a dynvar to eshell-post-rewrite-command-hook.
4492 Implement the new eshell-post-rewrite-command-function.
4493 (eshell-invoke-directly): Remove unused arg `input'.
4494 * eshell/esh-io.el (eshell-io-initialize):
4495 Use eshell-post-rewrite-command-function (bug#15399).
4496 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4497 adjust to new calling convention.
4498 (eshell-create-handles): Rename args to avoid clashing with dynvar
4499 `standard-output'.
4500
4501 2013-09-17 Glenn Morris <rgm@gnu.org>
4502
4503 * simple.el (messages-buffer-mode): New major mode.
4504 (messages-buffer): New function.
4505 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4506 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4507 (ert-run-test): Use `messages-buffer' function.
4508 (ert--force-message-log-buffer-truncation): Ignore read-only.
4509 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4510 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4511
4512 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4513
4514 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4515
4516 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4517
4518 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4519
4520 * icomplete.el (icomplete-in-buffer): New var.
4521 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4522 vars and replace them with functions.
4523 (icomplete-minibuffer-setup): Adjust accordingly.
4524 (icomplete--completion-table, icomplete--completion-predicate)
4525 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4526 New functions.
4527 (icomplete-forward-completions, icomplete-backward-completions)
4528 (icomplete-simple-completing-p, icomplete-exhibit)
4529 (icomplete-completions): Use them.
4530 (icomplete--in-region-buffer): New var.
4531 (icomplete--in-region-setup): New function.
4532 (icomplete-mode): Use it.
4533
4534 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4535 (bug#15379).
4536 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4537 return args and options.
4538 (eshell-eval-using-options): Use the new return value of
4539 eshell--do-opts to set the options's vars in their scope.
4540 (eshell--set-option): Rename from eshell-set-option.
4541 Add arg `opt-vals'.
4542 (eshell--process-option): Rename from eshell-process-option.
4543 Add arg `opt-vals'.
4544 (eshell--process-args): Use an `opt-vals' alist to store the options's
4545 values during their processing and return them additionally to the
4546 remaining args.
4547
4548 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4549
4550 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4551 continuation character an operator, as far as indentation is
4552 concerned (Bug#15369).
4553
4554 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4555
4556 * window.el (window--state-put-2): Don't process buffer state
4557 when buffer doesn't exist any more (Bug#15382).
4558
4559 2013-09-15 Glenn Morris <rgm@gnu.org>
4560
4561 * eshell/em-unix.el (eshell/rm):
4562 Make -f ignore missing files. (Bug#15373)
4563
4564 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4565 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4566 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4567
4568 2013-09-14 Glenn Morris <rgm@gnu.org>
4569
4570 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4571
4572 2013-09-13 Glenn Morris <rgm@gnu.org>
4573
4574 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4575 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4576
4577 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4578
4579 * frame.el (x-focus-frame): Mark as declared in frame.c.
4580
4581 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4582
4583 * ls-lisp.el: Use advice-add.
4584 (original-insert-directory): Remove.
4585 (ls-lisp--insert-directory): Rename from insert-directory; add
4586 `orig-fun' argument.
4587 (insert-directory): Advise.
4588
4589 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4590
4591 * term.el (term-emulate-terminal): Decode the command string
4592 before passing it to term-command-hook. (Bug#15337)
4593
4594 2013-09-13 Glenn Morris <rgm@gnu.org>
4595
4596 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4597
4598 * eshell/esh-ext.el (eshell-search-path): Declare.
4599
4600 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4601 Otherwise an error occurs if eshell-dirs module not loaded.
4602
4603 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4604
4605 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4606
4607 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4608 `tramp-check-proper-host'. Check for a valid method name.
4609
4610 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4611 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4612 * net/tramp-sh.el (tramp-maybe-open-connection):
4613 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4614
4615 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4616 also for hash values.
4617
4618 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4619
4620 * term/ns-win.el (parameters): Don't declare as dynamic.
4621 (before-make-frame-hook): Don't add ineffective function.
4622
4623 * eshell/*.el: Use lexical-binding (bug#15231).
4624
4625 2013-09-12 Kenichi Handa <handa@gnu.org>
4626
4627 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4628
4629 2013-09-12 Glenn Morris <rgm@gnu.org>
4630
4631 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4632 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4633
4634 * subr.el (do-after-load-evaluation): Also give compiler warnings
4635 when obsolete files are used (except by obsolete files).
4636
4637 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4638 in the status output, assume `filename' is the first. (Bug#15322)
4639
4640 * vc/vc.el (vc-deduce-fileset): Doc fix.
4641
4642 * calc/calc-help.el (Info-goto-node):
4643 * progmodes/cperl-mode.el (Info-find-node):
4644 * vc/ediff.el (Info-goto-node): Update declarations.
4645
4646 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4647
4648 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4649 (vc-bzr-pull): Require vc-dispatcher.
4650 * vc/vc-git.el (vc-compilation-mode): Declare.
4651 (vc-git-pull): Require vc-dispatcher.
4652
4653 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4654
4655 * progmodes/octave.el (help-button-action): Declare.
4656
4657 * shell.el (shell-directory-tracker): Output error as a message
4658 rather than just returning it as a string.
4659 (shell-process-pushd): Remove useless use of message.
4660
4661 * dframe.el (dframe-timer-fn):
4662 * files.el (dir-locals-read-from-file):
4663 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4664 (mpc-format):
4665 * reveal.el (reveal-post-command):
4666 * saveplace.el (load-save-place-alist-from-file):
4667 * shell.el (shell-resync-dirs):
4668 * w32-common-fns.el (x-get-selection-value):
4669 * emacs-lisp/copyright.el (copyright-find-copyright):
4670 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4671 * emulation/tpu-edt.el (tpu-copy-keyfile):
4672 * play/bubbles.el (bubbles--mark-neighbourhood):
4673 * progmodes/executable.el
4674 (executable-make-buffer-file-executable-if-script-p):
4675 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4676
4677 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4678
4679 Cleanup Eshell to rely less on dynamic scoping.
4680 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4681 last-value, and ext-command here. Bind `args' closer to `body'.
4682 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4683 (eshell--args): Declare new dynamic var.
4684 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4685 last-value, and ext-command. Pass `args' to `body'.
4686 (eshell-process-args): Bind eshell--args.
4687 (eshell-set-option): Use eshell--args.
4688 * eshell/eshell.el (eshell): Use derived-mode-p.
4689 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4690 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4691 (eshell-glob-function): Declare.
4692 * eshell/esh-util.el: Require cl-lib.
4693 (eshell-read-hosts-file): Avoid add-to-list.
4694 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4695 `err'.
4696 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4697 Declare.
4698 (eshell/diff): Remove unused var `err'.
4699 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4700 `killflag'.
4701 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4702 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4703 first use.
4704 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4705 Move declaration before first use.
4706 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4707 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4708 rely on cl-return.
4709
4710 2013-09-12 Glenn Morris <rgm@gnu.org>
4711
4712 * term/ns-win.el (global-map): Remove binding for ispell-next,
4713 deleted 1999-05-29. (Bug#15357)
4714
4715 2013-09-11 Glenn Morris <rgm@gnu.org>
4716
4717 * echistory.el (electric-command-history): Remove call to deleted func.
4718
4719 * play/landmark.el (landmark-mode): Fix typos.
4720
4721 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4722 Check cvs-sort-ignore-file is bound.
4723
4724 * savehist.el: No need for cl when compiling on Emacs.
4725
4726 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4727
4728 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4729 (bug#15338).
4730 (eshell-self-insert-command, eshell-send-invisible):
4731 Remove unused argument.
4732 (eshell-handle-control-codes): Remove unused var `orig'.
4733 Avoid delete-backward-char.
4734
4735 * files.el (set-auto-mode): Simplify a bit further.
4736
4737 2013-09-11 Glenn Morris <rgm@gnu.org>
4738
4739 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4740 (set-auto-mode): Don't regexp-quote elements.
4741 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4742 * progmodes/cc-mode.el (interpreter-mode-alist):
4743 * progmodes/ruby-mode.el (interpreter-mode-alist):
4744 Revert previous change.
4745
4746 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * play/snake.el (snake-mode):
4749 * play/mpuz.el (mpuz-mode):
4750 * play/landmark.el (lm-mode):
4751 * play/blackbox.el (blackbox-mode):
4752 * play/5x5.el (5x5-mode):
4753 * obsolete/options.el (Edit-options-mode):
4754 * net/quickurl.el (quickurl-list-mode):
4755 * net/newst-treeview.el (newsticker-treeview-mode):
4756 * mail/rmailsum.el (rmail-summary-mode):
4757 * mail/mspools.el (mspools-mode):
4758 * locate.el (locate-mode):
4759 * ibuffer.el (ibuffer-mode):
4760 * emulation/ws-mode.el (wordstar-mode):
4761 * emacs-lisp/debug.el (debugger-mode):
4762 * array.el (array-mode):
4763 * net/eudc.el (eudc-mode): Use define-derived-mode.
4764 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4765 Move initialization into declaration.
4766 (mairix-searches-mode): Use define-derived-mode.
4767 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4768 (eudc-edit-hotlist): Use dolist.
4769 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4770 (Man-mode): Use define-derived-mode.
4771 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4772 (Info-edit-mode): Use define-derived-mode.
4773 (Info-cease-edit): Use Info-mode.
4774 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4775 into declaration.
4776 (eshell-mode): Use define-derived-mode.
4777 * chistory.el (command-history-mode-map): Rename from
4778 command-history-map.
4779 (command-history-mode): Use define-derived-mode.
4780 (Command-history-setup): Remove function.
4781 * calc/calc.el (calc-trail-mode-map): New var.
4782 (calc-trail-mode): Use define-derived-mode.
4783 (calc-trail-buffer): Set calc-main-buffer manually.
4784 * bookmark.el (bookmark-insert-annotation): New function.
4785 (bookmark-edit-annotation): Use it.
4786 (bookmark-edit-annotation-mode): Make it a proper major mode.
4787 (bookmark-send-edited-annotation): Use derived-mode-p.
4788 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4789 closer to its ideal place. Use \' to match EOS.
4790
4791 * profiler.el (profiler-calltree-find): Use function-equal.
4792
4793 2013-09-10 Glenn Morris <rgm@gnu.org>
4794
4795 * files.el (interpreter-mode-alist): Convert to regexps.
4796 (set-auto-mode): Adapt for this. (Bug#15306)
4797 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4798 Comment out unused variable.
4799 * progmodes/cc-mode.el (interpreter-mode-alist):
4800 * progmodes/python.el (interpreter-mode-alist):
4801 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4802 * progmodes/sh-script.el (sh-set-shell):
4803 No longer use interpreter-mode-alist to get list of shells.
4804
4805 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4806
4807 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4808
4809 * simple.el: Use set-temporary-overlay-map for universal-argument.
4810 (universal-argument-map): Don't use default-bindings (bug#15317).
4811 Bind switch-frame explicitly. Replace universal-argument-minus with
4812 a conditional binding.
4813 (universal-argument-num-events, saved-overriding-map): Remove.
4814 (restore-overriding-map): Remove.
4815 (universal-argument--mode): Rename from save&set-overriding-map,
4816 and rewrite.
4817 (universal-argument, universal-argument-more, negative-argument)
4818 (digit-argument): Adjust accordingly.
4819 (universal-argument-minus): Remove.
4820 (universal-argument-other-key): Remove.
4821
4822 * subr.el (with-demoted-errors): Add `format' argument.
4823
4824 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4825
4826 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4827 `tramp-cleanup-connection'.
4828
4829 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4830 parameters KEEP-DEBUG and KEEP-PASSWORD.
4831
4832 * net/tramp.el (tramp-file-name-handler):
4833 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4834 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4835 (tramp-maybe-open-connection):
4836 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4837 Use `tramp-cleanup-connection'.
4838
4839 * net/tramp-sh.el (tramp-maybe-open-connection):
4840 Catch 'uname-changed inside the progress reporter.
4841
4842 2013-09-10 Glenn Morris <rgm@gnu.org>
4843
4844 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4845
4846 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4847 returns "alternate access method" in mode (eg "-rw-r--r--.").
4848
4849 2013-09-08 Glenn Morris <rgm@gnu.org>
4850
4851 * saveplace.el (load-save-place-alist-from-file):
4852 Demote errors. (Bug#15305)
4853
4854 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4855
4856 Improve compatibility with older Emacsen, and XEmacs.
4857
4858 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4859 only if it is bound. It isn't for XEmacs.
4860 (with-tramp-progress-reporter): Do not let-bind `result'.
4861 This yields to scoping errors in XEmacs.
4862 (tramp-handle-make-auto-save-file-name): New function, moved from
4863 tramp-sh.el.
4864
4865 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4866 for `make-auto-save-file-name'.
4867 (tramp-adb--gnu-switches-to-ash):
4868 Use `tramp-compat-replace-regexp-in-string'.
4869
4870 * net/tramp-cache.el (tramp-cache-print): Call
4871 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4872
4873 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4874 bound. It isn't for XEmacs.
4875
4876 * net/tramp-compat.el (tramp-compat-copy-file):
4877 Catch `wrong-number-of-arguments' error.
4878 (tramp-compat-replace-regexp-in-string): New defun.
4879
4880 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4881 for `make-auto-save-file-name'.
4882 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4883 `copy-file'.
4884 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4885 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4886 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4887
4888 * net/tramp-gw.el (tramp-gw-open-network-stream):
4889 Use `tramp-compat-replace-regexp-in-string'.
4890
4891 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4892 Call `tramp-handle-make-auto-save-file-name'.
4893 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4894 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4895 (tramp-sh-file-inotifywait-process-filter):
4896 Use `tramp-compat-replace-regexp-in-string'.
4897 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4898
4899 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4900 for `make-auto-save-file-name'.
4901 (tramp-smb-handle-copy-directory):
4902 Call `tramp-compat-replace-regexp-in-string'.
4903 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4904 (tramp-smb-handle-copy-file): Improve error message.
4905 (tramp-smb-handle-rename-file): Rename directly only in case
4906 `newname' does not exist yet. This is a restriction of smbclient.
4907 (tramp-smb-maybe-open-connection): Rerun the function only when
4908 `auth-sources' is non-nil.
4909
4910 2013-09-08 Kenichi Handa <handa@gnu.org>
4911
4912 * international/characters.el: Set category "^" (Combining) for
4913 more characters.
4914
4915 2013-09-07 Alan Mackenzie <acm@muc.de>
4916
4917 Correctly fontify Java class constructors.
4918 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4919 in Java Mode.
4920 (c-recognize-typeless-decls): Set the Java value to t.
4921 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4922 While handling a "(", add a check for, effectively, Java, and handle a
4923 "typeless" declaration there.
4924
4925 2013-09-07 Roland Winkler <winkler@gnu.org>
4926
4927 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4928 field subtitle for entry type book.
4929
4930 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4931
4932 * minibuffer.el: Make minibuffer-complete call completion-in-region
4933 rather than other way around.
4934 (completion--some, completion-pcm--find-all-completions):
4935 Don't delay signals when debugging.
4936 (minibuffer-completion-contents): Beware fields within the
4937 minibuffer contents.
4938 (completion-all-sorted-completions): Use defvar-local.
4939 (completion--do-completion, completion--cache-all-sorted-completions)
4940 (completion-all-sorted-completions, minibuffer-force-complete):
4941 Add args `beg' and `end'.
4942 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4943 (minibuffer-complete): Use completion-in-region.
4944 (completion-complete-and-exit): New fun, extracted from
4945 minibuffer-complete-and-exit.
4946 (minibuffer-complete-and-exit): Use it.
4947 (completion--complete-and-exit): Rename from
4948 minibuffer--complete-and-exit.
4949 (completion-in-region--single-word): New function, extracted from
4950 minibuffer-complete-word.
4951 (minibuffer-complete-word): Use it.
4952 (display-completion-list): Make `common-substring' argument obsolete.
4953 (completion--in-region): Call completion--in-region-1 instead of
4954 minibuffer-complete.
4955 (completion-help-at-point): Pass boundaries to
4956 minibuffer-completion-help as args rather than via an overlay.
4957 (completion-pcm--string->pattern): Use `any-delim'.
4958 (completion-pcm--optimize-pattern): New function.
4959 (completion-pcm--pattern->regex): Handle `any-delim'.
4960 * icomplete.el (icomplete-forward-completions)
4961 (icomplete-backward-completions, icomplete-completions):
4962 Adjust calls to completion-all-sorted-completions and
4963 completion--cache-all-sorted-completions.
4964 (icomplete-with-completion-tables): Default to t.
4965 * emacs-lisp/crm.el (crm--current-element): Rename from
4966 crm--select-current-element. Don't put an overlay but return the
4967 boundaries instead.
4968 (crm--completion-command): Take two new args to bind to the boundaries.
4969 (crm-completion-help): Adjust accordingly.
4970 (crm-complete): Use completion-in-region.
4971 (crm-complete-word): Use completion-in-region--single-word.
4972 (crm-complete-and-exit): Use completion-complete-and-exit.
4973
4974 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4975
4976 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4977 than dynamically.
4978
4979 2013-09-06 Juri Linkov <juri@jurta.org>
4980
4981 * info.el (Info-display-images-node): When image file doesn't exist
4982 display text version of the image if it's provided in the Info file.
4983 Otherwise, display the location of missing image from SRC attribute.
4984 Add help-echo text property from ALT attribute. (Bug#15279)
4985
4986 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4987
4988 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4989 (edit-abbrevs-mode): Use define-derived-mode.
4990
4991 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4992 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4993 that it's defined.
4994 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4995 Use define-derived-mode.
4996
4997 * epg.el (epg-start-encrypt): Minor CSE simplification.
4998
4999 2013-09-06 William Xu <william.xwl@gmail.com>
5000
5001 * arc-mode.el: Add support for 7za (bug#15264).
5002 (archive-7z-program): New var.
5003 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5004 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5005 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5006
5007 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5008
5009 Remove URL syntax.
5010
5011 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5012 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5013 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5014 (tramp-postfix-host-format, tramp-file-name-regexp)
5015 (tramp-completion-file-name-regexp)
5016 (tramp-completion-dissect-file-name)
5017 (tramp-handle-substitute-in-file-name): Remove 'url case.
5018 (tramp-file-name-regexp-url)
5019 (tramp-completion-file-name-regexp-url): Remove constants.
5020
5021 2013-09-06 Glenn Morris <rgm@gnu.org>
5022
5023 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5024
5025 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5026
5027 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5028 keywords" below "here-doc beginnings" (Bug#15270).
5029
5030 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5031
5032 * subr.el (pop): Use `car-safe'.
5033 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5034 to detect unused `pop' return value.
5035
5036 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5037 var `block-regexp'.
5038 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5039 (python-fill-string): Remove unused var `marker'.
5040 (python-skeleton-add-menu-items): Remove unused var `items'.
5041
5042 * international/mule-cmds.el: Require CL.
5043 (find-coding-systems-for-charsets): Avoid add-to-list.
5044 (sanitize-coding-system-list): New function, extracted from
5045 select-safe-coding-system-interactively.
5046 (select-safe-coding-system-interactively): Use it.
5047 (read-input-method-name): Accept symbols for `default'.
5048
5049 * emacs-lisp/advice.el (defadvice): Add indent rule.
5050
5051 2013-09-05 Daniel Hackney <dan@haxney.org>
5052
5053 * dired-x.el:
5054 * net/ange-ftp.el:
5055 * net/browse-url.el:
5056 * net/dbus.el:
5057 * net/eudc.el:
5058 * net/eudcb-ldap.el:
5059 * net/eww.el:
5060 * net/imap.el:
5061 * printing.el:
5062 * vc/ediff-diff.el:
5063 * vc/ediff-init.el:
5064 * vc/ediff-merg.el:
5065 * vc/ediff-mult.el:
5066 * vc/ediff-util.el:
5067 * vc/ediff-wind.el:
5068 * vc/ediff.el:
5069 * vc/emerge.el:
5070 * vc/pcvs.el:
5071 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5072 byte compiler. Remove some unused let-bound variables.
5073
5074 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5077 a "ref-cell", since it gets better optimized (bug#14883).
5078
5079 2013-09-05 Glenn Morris <rgm@gnu.org>
5080
5081 * progmodes/cc-awk.el (c-forward-sws): Declare.
5082
5083 2013-09-04 Glenn Morris <rgm@gnu.org>
5084
5085 * generic-x.el [rul-generic-mode]: Require cc-mode.
5086 (c++-mode-syntax-table): Declare.
5087 (rul-generic-mode-syntax-table): Init in the defvar.
5088
5089 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5090
5091 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5092 (vc-do-command, vc-set-async-update):
5093 * vc/vc-mtn.el (vc-mtn-dir-status):
5094 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5095 (vc-hg-pull, vc-hg-merge-branch):
5096 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5097 (vc-git-merge-branch):
5098 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5099 (vc-cvs-dir-status-files):
5100 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5101 (vc-bzr-dir-status-files):
5102 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5103 * vc/vc-annotate.el: Use lexical-binding.
5104 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5105 (vc-sentinel-movepoint): Declare.
5106 (vc-annotate): Don't use `goto-line'.
5107 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5108 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5109 (vc-sentinel-movepoint): Declare.
5110 * vc/vc-svn.el: Use lexical-binding.
5111 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5112 * vc/vc-sccs.el:
5113 * vc/vc-rcs.el: Use lexical-binding.
5114
5115 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5116 `deleted'. Don't drop errors silently.
5117
5118 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5119
5120 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5121
5122 * vc/vc.el (vc-ignore): Rewrite.
5123 (vc-default-ignore): New function.
5124 (vc-default-ignore-completion-table): Use find-ignore-file.
5125
5126 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5127 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5128 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5129 Remove. Most code moved to vc.el.
5130
5131 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5132
5133 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5134 * net/tramp-smb.el (tramp-smb-get-file-entries):
5135 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5136 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5137
5138 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5139 Update call to it.
5140 (eww-change-select): Remove unused var `properties'.
5141 (eww-make-unique-file-name): Remove unused var `base'.
5142
5143 * finder.el (finder-compile-keywords): Don't mess with windows.
5144
5145 * calculator.el (calculator-funcall): Fix typo in last change.
5146
5147 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5148
5149 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5150 <pkg>-autoloads.el file stop us.
5151
5152 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5153 warnings, and factor out common code.
5154
5155 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5156
5157 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5158 two-character operators and whether the character preceding them
5159 changes their meaning (Bug#15208).
5160
5161 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5162
5163 Format code sent to Python shell for robustness.
5164 * progmodes/python.el (python-shell-buffer-substring):
5165 New function.
5166 (python-shell-send-region, python-shell-send-buffer): Use it.
5167
5168 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5169
5170 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5171 * net/tramp.el (tramp-user-error): ... here.
5172 (tramp-find-method, tramp-check-proper-host)
5173 (tramp-dissect-file-name, tramp-debug-message)
5174 (tramp-handle-shell-command):
5175 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5176 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5177
5178 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5179
5180 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5181
5182 * avoid.el (mouse-avoidance-point-position)
5183 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5184 returns nil.
5185
5186 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5187
5188 * progmodes/python.el (python-shell-completion-get-completions):
5189 Drop use of deleted `comint-last-prompt-overlay'.
5190 (python-nav-if-name-main): New command.
5191
5192 2013-09-01 Glenn Morris <rgm@gnu.org>
5193
5194 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5195 Avoid leading space in $wins. Otherwise the sed command used by
5196 eg compile-main ends up containing "/*.el". (Bug#15170)
5197
5198 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5199
5200 2013-08-30 Glenn Morris <rgm@gnu.org>
5201
5202 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5203 Fix is-this-a-directory logic. (Bug#15220)
5204
5205 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5206
5207 * textmodes/css-mode.el: Use SMIE.
5208 (css-smie-grammar): New var.
5209 (css-smie--forward-token, css-smie--backward-token)
5210 (css-smie-rules): New functions.
5211 (css-mode): Use them.
5212 (css-navigation-syntax-table): Remove var.
5213 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5214 (css-indent-calculate, css-indent-line): Remove functions.
5215
5216 Misc changes to reduce use of `(lambda...); and other cleanups.
5217 * cus-edit.el: Use lexical-binding.
5218 (customize-push-and-save, customize-apropos)
5219 (custom-buffer-create-internal): Use closures.
5220 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5221 * progmodes/ada-xref.el: Use setq.
5222 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5223 * dframe.el: Use lexical-binding.
5224 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5225 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5226 * descr-text.el: Use lexical-binding.
5227 (describe-text-widget, describe-text-sexp, describe-property-list):
5228 Use closures.
5229 * comint.el (comint-history-isearch-push-state): Use a closure.
5230 * calculator.el: Use lexical-binding.
5231 (calculator-number-to-string): Make it work with lexical-binding.
5232 (calculator-funcall): Same and use cl-letf.
5233
5234 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5235 (lisp--company-doc-string, lisp--company-location): New functions.
5236 (lisp-completion-at-point): Use them to improve Company support.
5237
5238 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5239 params of lambda expressions.
5240 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5241 (ruby-smie--opening-pipe-p): New function.
5242 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5243 symbols and matched |...| for formal params.
5244 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5245 from being treated as hanging. Handle "rescue".
5246
5247 2013-08-29 Glenn Morris <rgm@gnu.org>
5248
5249 * progmodes/cc-engine.el (c-pull-open-brace):
5250 Move definition before use.
5251
5252 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5253
5254 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5255 are immutable. Don't use `unsafe' any more.
5256 (cl--defsubst-expand): Don't substitute at the same time as keeping
5257 a residual unused let-binding. Don't use `unsafe' any more.
5258
5259 2013-08-29 Glenn Morris <rgm@gnu.org>
5260
5261 * calendar/cal-china.el (calendar-chinese-year-cache):
5262 Recenter on 2015.
5263
5264 * nxml/nxml-util.el (nxml-debug-clear-inside):
5265 Use cl-loop rather than loop.
5266
5267 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5268
5269 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5270
5271 2013-08-28 Glenn Morris <rgm@gnu.org>
5272
5273 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5274
5275 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5276
5277 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5278
5279 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5280
5281 * simple.el (repeat-complex-command--called-interactively-skip):
5282 New function.
5283 (repeat-complex-command): Use it (bug#14136).
5284
5285 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5286 (c-define-abbrev-table): Add `doc' argument.
5287 (c-mode-abbrev-table, c++-mode-abbrev-table)
5288 (objc-mode-abbrev-table, java-mode-abbrev-table)
5289 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5290 (awk-mode-abbrev-table): Use it.
5291 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5292 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5293 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5294 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5295 Move initialization into the declaration; and remove any
5296 autoload cookie.
5297
5298 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5299 and dynamic let binding.
5300
5301 * vc/smerge-mode.el: Remove redundant :group args.
5302
5303 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5304 to load-path.
5305
5306 2013-08-28 Juri Linkov <juri@jurta.org>
5307
5308 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5309 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5310 (isearch-other-meta-char): Handle an undefined shifted printing
5311 character by downshifting it. (Bug#15200)
5312
5313 2013-08-28 Juri Linkov <juri@jurta.org>
5314
5315 * isearch.el (isearch-search): Change regexp error message for
5316 non-regexp searches. (Bug#15166)
5317
5318 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5319
5320 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5321 for portability to hosts where /bin/sh has problems.
5322
5323 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5324
5325 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5326
5327 2013-08-27 Juri Linkov <juri@jurta.org>
5328
5329 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5330 in the keyboard macro. (Bug#15126)
5331
5332 2013-08-27 Juri Linkov <juri@jurta.org>
5333
5334 * isearch.el (isearch-quote-char): Comment out converting unibyte
5335 to multibyte, thus syncing with its `quoted-insert' counterpart.
5336 (Bug#15166)
5337
5338 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5339
5340 * window.el (display-buffer-use-some-window): Add missing
5341 argument in call of get-largest-window (Bug#15185).
5342 Reported by Stephen Leake.
5343
5344 2013-08-27 Glenn Morris <rgm@gnu.org>
5345
5346 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5347
5348 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5349
5350 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5351 from a matcher-function unless there's no more matches (bug#15161).
5352
5353 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5354
5355 * minibuffer.el: Revert change from 2013-08-20.
5356
5357 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5358 with text property `tramp-default', if appropriate.
5359 (tramp-check-proper-host): New defun.
5360 (tramp-dissect-file-name): Do not check hostname. Revert change
5361 of 2013-03-18.
5362 (tramp-backtrace): Make VEC-OR-PROC optional.
5363
5364 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5365 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5366 * net/tramp-sh.el (tramp-maybe-open-connection):
5367 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5368 Apply `tramp-check-proper-host'.
5369
5370 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5371
5372 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5373 lambda expression in order to have `describe-variable' display it.
5374
5375 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5376
5377 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5378 BUF can be optional. (Bug#15186)
5379
5380 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5381
5382 * progmodes/flymake.el (flymake-get-real-file-name-function):
5383 Fix broken customization. (Bug#15184)
5384
5385 2013-08-25 Alan Mackenzie <acm@muc.de>
5386
5387 Improve indentation of bracelists defined by macros (without "=").
5388
5389 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5390 expansion begins with "{", regard it as bracelist when it doesn't
5391 contain a ";".
5392
5393 Parse C++ inher-intro when there's a template split over 2 lines.
5394
5395 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5396 rigorously the search for "class" etc. followed by ":".
5397
5398 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5399 random languages a regexp which never matches rather than nil.
5400
5401 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5402
5403 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5404 (c-awk-regexp-one-line-possibly-open-char-list-re)
5405 (c-awk-one-line-possibly-open-regexp-re)
5406 (c-awk-one-line-non-syn-ws*-re): Remove.
5407 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5408 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5409 (c-awk-space*-unclosed-regexp-/-re): New constants.
5410 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5411 aren't regexp delimiters.
5412
5413 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5414 handling for a rare situation in AWK Mode involving unterminated
5415 strings/regexps.
5416
5417 2013-08-23 Glenn Morris <rgm@gnu.org>
5418
5419 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5420
5421 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5422
5423 * files.el (create-file-buffer): If the result would begin with
5424 spaces, prepend a "|" instead of removing them. (Bug#15162)
5425
5426 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5427
5428 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5429 text-properties (bug#15155).
5430
5431 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5432 exist any more.
5433 (calc-keypad-redraw): Remove unused var `pad'.
5434 (calc-keypad-press): Remove unused var `menu'.
5435
5436 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5437
5438 * window.el (display-buffer-pop-up-frame):
5439 Call pop-up-frame-function with BUFFER current so `make-frame' will
5440 use it as the new frame's buffer (Bug#15133).
5441
5442 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5443
5444 * calendar/timeclock.el: Minor cleanups.
5445 (timeclock-ask-before-exiting, timeclock-use-display-time):
5446 Use `symbol'.
5447 (timeclock-modeline-display): Define as alias before the
5448 actual definition.
5449 (timeclock-mode-line-display): Use define-minor-mode.
5450 (timeclock-day-list-template): Make it a function, add an argument.
5451 (timeclock-day-list-required, timeclock-day-list-length)
5452 (timeclock-day-list-debt, timeclock-day-list-span)
5453 (timeclock-day-list-break): Adjust calls accordingly.
5454
5455 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5456
5457 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5458 Use read--expression so that completion works again.
5459
5460 2013-08-21 Sam Steingold <sds@gnu.org>
5461
5462 Add rudimentary inferior shell interaction
5463 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5464 (sh-set-shell): Reset it.
5465 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5466 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5467
5468 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5469
5470 * align.el: Use lexical-binding.
5471 (align-region): Simplify accordingly.
5472
5473 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5474
5475 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5476
5477 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5478 `non-essential' up.
5479
5480 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5481
5482 * net/tramp.el:
5483 * net/tramp-adb.el:
5484 * net/tramp-cmds.el:
5485 * net/tramp-ftp.el:
5486 * net/tramp-gvfs.el:
5487 * net/tramp-gw.el:
5488 * net/tramp-sh.el: Don't wrap external variable declarations by
5489 `eval-when-compile'.
5490
5491 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5492
5493 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5494 now that Emacs supports ImageMagick animations.
5495
5496 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5497
5498 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5499 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5500
5501 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5502
5503 * window.el (mouse-autoselect-window-select): Do autoselect when
5504 mouse pointer is on margin.
5505
5506 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5507
5508 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5509
5510 2013-08-16 Glenn Morris <rgm@gnu.org>
5511
5512 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5513 Handle "Remote Directory" response of some clients. (Bug#15058)
5514
5515 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5516 Tweak warning. (Bug#14926)
5517
5518 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5519 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5520
5521 * image-mode.el (image-mode-map): Add menu items to reverse,
5522 increase, decrease, reset animation speed.
5523 (image--set-speed, image-increase-speed, image-decrease-speed)
5524 (image-reverse-speed, image-reset-speed): New functions.
5525 (image-mode-map): Add bindings for speed commands.
5526
5527 * image.el (image-animate-get-speed, image-animate-set-speed):
5528 New functions.
5529 (image-animate-timeout): Respect image :speed property.
5530
5531 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5534 previous line (bug#15101).
5535 (debugger-eval-expression, debugger-record-expression):
5536 Use read--expression (bug#15102).
5537
5538 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5539
5540 Remove byte compiler warnings, visible when compiling with
5541 `byte-compile-force-lexical-warnings' set to t.
5542
5543 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5544 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5545 (tramp-handle-unhandled-file-name-directory)
5546 (tramp-handle-file-notify-add-watch, tramp-action-login)
5547 (tramp-action-succeed, tramp-action-permission-denied)
5548 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5549 arguments with "_".
5550
5551 * net/tramp-adb.el (tramp-adb-parse-device-names)
5552 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5553 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5554 (tramp-adb-handle-file-truename): Remove unused arguments.
5555
5556 * net/tramp-cache.el (tramp-flush-directory-property)
5557 (tramp-flush-connection-property, tramp-list-connections)
5558 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5559
5560 * net/tramp-compat.el (tramp-compat-make-temp-file):
5561 Rename FILENAME to F.
5562
5563 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5564 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5565 (tramp-zeroconf-parse-workstation-device-names)
5566 (tramp-zeroconf-parse-webdav-device-names)
5567 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5568
5569 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5570 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5571
5572 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5573 arguments.
5574 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5575 (tramp-sh-handle-insert-file-contents-literally)
5576 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5577 with "_".
5578 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5579 Remove unused variables.
5580
5581 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5582 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5583 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5584
5585 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5586 Make them a defconst.
5587 (tramp-uuencode-region): Remove unused variable.
5588
5589 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5590
5591 * frameset.el (frameset--prop-setter): New function.
5592 (frameset-prop): Add gv-setter declaration.
5593 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5594 parameter was already set in FILTERED. Doc fix.
5595 (frameset--record-minibuffer-relationships): Allow saving a
5596 minibufferless frame without its corresponding minibuffer frame.
5597 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5598 frame, if the frame id matches.
5599 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5600 frames before orphaned ones.
5601 (frameset-restore): Warn about orphaned windows, instead of error out.
5602
5603 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5604
5605 * window.el (window-make-atom): Don't overwrite parameter
5606 already present.
5607 (display-buffer-in-atom-window): Handle special case where we
5608 split an already atomic window.
5609 (window--major-non-side-window, display-buffer-in-side-window)
5610 (window--side-check): Ignore minibuffer window when walking
5611 window tree.
5612 (window-deletable-p): Return 'frame only if no other frame uses
5613 our minibuffer window.
5614 (record-window-buffer): Run buffer-list-update-hook.
5615 (split-window): Make sure window--check-frame won't destroy an
5616 existing atomic window in case the new window gets nested
5617 inside.
5618 (display-buffer-at-bottom): Ignore minibuffer window when
5619 walking window tree. Don't split a side window.
5620 (pop-to-buffer): Don't set-buffer here, the select-window call
5621 should do that.
5622 (mouse-autoselect-window-select): Autoselect only if we are in the
5623 text portion of the window.
5624
5625 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5626
5627 * net/shr.el (shr-parse-image-data): New function to grab both the
5628 data itself and the Content-Type.
5629 (shr-put-image): Use it.
5630
5631 * net/eww.el (eww-display-image): Ditto.
5632
5633 * image.el (image-content-type-suffixes): New variable.
5634
5635 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5636
5637 * progmodes/python.el (python-imenu--build-tree)
5638 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5639
5640 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5641
5642 * simple.el (backward-word): Mention the optional argument.
5643
5644 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5645
5646 * frameset.el (frameset--make): Rename constructor from make-frameset.
5647 (frameset-p, frameset-valid-p): Don't autoload.
5648 (frameset-valid-p): Use normal accessors.
5649
5650 2013-08-13 Glenn Morris <rgm@gnu.org>
5651
5652 * progmodes/compile.el (compile-command): Tweak example in doc.
5653 * obsolete/scribe.el (scribe-mode):
5654 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5655
5656 * mail/feedmail.el (feedmail-confirm-outgoing)
5657 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5658
5659 * cus-start.el (truncate-partial-width-windows): Fix type.
5660
5661 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5662
5663 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5664
5665 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 * emacs-lisp/timer.el (timer--time-setter): New function.
5668 (timer--time): Use it as gv-setter.
5669
5670 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5671 setter is not a symbol.
5672
5673 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5674
5675 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5676 if sending fails. This makes debugging easier.
5677
5678 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5679
5680 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5681 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5682 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5683
5684 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5685
5686 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5687
5688 2013-08-12 Glenn Morris <rgm@gnu.org>
5689
5690 * format.el (format-annotate-function):
5691 Handle read-only text properties in the source. (Bug#14887)
5692
5693 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5694
5695 * net/eww.el (eww-display-html): Ignore coding system errors.
5696 One web site uses "utf-8lias" as the coding system.
5697
5698 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5699
5700 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5701
5702 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5703
5704 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5705 (tutorial--detailed-help): Remove unused local variables.
5706 (tutorial--save-tutorial-to): Use ignore-errors.
5707 (help-with-tutorial): Use looking-at-p.
5708
5709 * view.el (view-buffer-other-window, view-buffer-other-frame):
5710 Mark unused arguments.
5711
5712 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5713 (woman-select-symbol-fonts, woman, woman-find-file)
5714 (woman-insert-file-contents, woman-non-underline-faces):
5715 Use string-match-p.
5716 (woman1-unquote): Move declaration.
5717
5718 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5719 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5720 argument. Remove unused local variable.
5721 (xml-parse-elem-type): Use string-match-p.
5722 (xml-substitute-numeric-entities): Use ignore-errors.
5723
5724 * calculator.el (calculator): Mark unused argument.
5725 (calculator-paste, calculator-quit, calculator-integer-p):
5726 Use ignore-errors.
5727 (calculator-string-to-number, calculator-decimal, calculator-exp)
5728 (calculator-op-or-exp): Use string-match-p.
5729
5730 * dired.el (dired-buffer-more-recently-used-p): Declare.
5731 (dired-insert-set-properties, dired-insert-old-subdirs):
5732 Use ignore-errors.
5733
5734 * dired-aux.el (dired-compress): Use ignore-errors.
5735 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5736 (dired-do-async-shell-command, dired-do-shell-command)
5737 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5738 (dired-insert-subdir-validate): Use string-match-p.
5739 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5740 (dired-add-entry): Use string-match-p, looking-at-p.
5741 (dired-insert-subdir-newpos): Remove unused local variable.
5742
5743 * filenotify.el (file-notify-callback): Remove unused local variable.
5744
5745 * filesets.el (filesets-error): Mark unused argument.
5746 (filesets-which-command-p, filesets-filter-dir-names)
5747 (filesets-directory-files, filesets-get-external-viewer)
5748 (filesets-ingroup-get-data): Use string-match-p.
5749
5750 * find-file.el (ff-other-file-name, ff-other-file-name)
5751 (ff-find-the-other-file, ff-cc-hh-converter):
5752 Remove unused local variables.
5753 (ff-get-file-name): Use string-match-p.
5754 (ff-all-dirs-under): Use ignore-errors.
5755
5756 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5757 (follow-select-if-visible): Remove unused local variable.
5758
5759 * forms.el (read-file-filter): Move declaration.
5760 (forms--make-format, forms--make-parser, forms-insert-record):
5761 Quote function with #'.
5762 (forms--update): Use string-match-p. Quote function with #'.
5763
5764 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5765 (help-make-xrefs): Use looking-at-p.
5766 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5767
5768 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5769 (ibuffer-confirm-operation-on): Use string-match-p.
5770
5771 * msb.el (msb-item-handler, msb-dired-item-handler):
5772 Mark unused arguments.
5773
5774 * ses.el (ses-decode-cell-symbol)
5775 (ses-kill-override): Remove unused local variable.
5776 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5777 (ses-load): Use ignore-errors, looking-at-p.
5778 (ses-jump-safe): Use ignore-errors.
5779 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5780
5781 * tabify.el (untabify, tabify): Mark unused arguments.
5782
5783 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5784 Mark unused argument.
5785 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5786 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5787
5788 * emacs-lisp/timer.el (timer--time): Define setter with
5789 gv-define-setter to avoid deprecation warning.
5790
5791 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5792 (*record-cmpl-statistics-p*): Remove (was commented out).
5793 (cmpl-statistics-block): Remove (body was commented out).
5794 All callers changed.
5795 (add-completions-from-buffer, load-completions-from-file):
5796 Remove unused variables.
5797
5798 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5799
5800 * filecache.el (file-cache-delete-file-list):
5801 Print message only when told so.
5802 (file-cache-files-matching): Use #' in mapconcat argument.
5803
5804 * ffap.el (ffap-url-at-point): Fix reference to variable
5805 thing-at-point-default-mail-uri-scheme.
5806
5807 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * subr.el (define-error): New function.
5810 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5811 error-file-not-found and define with define-error.
5812 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5813 and define with define-error.
5814 * userlock.el (file-locked, file-supersession):
5815 * simple.el (mark-inactive):
5816 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5817 * progmodes/ada-mode.el (ada-mode-errors):
5818 * play/life.el (life-extinct):
5819 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5820 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5821 * nxml/rng-util.el (rng-error):
5822 * nxml/rng-uri.el (rng-uri-error):
5823 * nxml/rng-match.el (rng-compile-error):
5824 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5825 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5826 * nxml/nxml-rap.el (nxml-scan-error):
5827 * nxml/nxml-outln.el (nxml-outline-error):
5828 * net/soap-client.el (soap-error):
5829 * net/gnutls.el (gnutls-error):
5830 * net/ange-ftp.el (ftp-error):
5831 * mpc.el (mpc-proc-error):
5832 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5833 (json-number-format, json-string-escape, json-string-format)
5834 (json-key-format, json-object-format):
5835 * jka-compr.el (compression-error):
5836 * international/quail.el (quail-error):
5837 * international/kkc.el (kkc-error):
5838 * emacs-lisp/ert.el (ert-test-failed):
5839 * calc/calc.el (calc-error, inexact-result, math-overflow)
5840 (math-underflow):
5841 * bookmark.el (bookmark-error-no-filename):
5842 * epg.el (epg-error): Define with define-error.
5843
5844 * time.el (display-time-event-handler)
5845 (display-time-next-load-average): Don't call sit-for since it seems
5846 unnecessary (bug#15045).
5847
5848 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5849 Use #' instead of ' to quote functions.
5850 (checkdoc-output-mode): Use setq-local.
5851 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5852 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5853 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5854 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5855 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5856 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5857 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5858 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5859
5860 * ido.el (ido-completion-help): Fix up compiler warning.
5861
5862 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5863
5864 * frameset.el (frameset-p): Add autoload cookie.
5865 (frameset--jump-to-register): New function, based on code moved from
5866 register.el.
5867 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5868
5869 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5870 (frameset-restore, frameset-save, frameset-session-filter-alist):
5871 Remove declarations.
5872 (register-alist): Doc fix.
5873 (frameset-to-register): Move to frameset.el.
5874 (jump-to-register, describe-register-1): Remove frameset-specific code.
5875
5876 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5877
5878 * allout-widgets.el (allout-widgets-pre-command-business)
5879 (allout-widgets-post-command-business)
5880 (allout-widgets-after-change-handler)
5881 (allout-decorate-item-and-context, allout-set-boundary-marker)
5882 (allout-body-modification-handler)
5883 (allout-graphics-modification-handler): Mark ignored arguments.
5884 (allout-widgets-post-command-business)
5885 (allout-widgets-exposure-change-processor)
5886 (allout-widgets-exposure-undo-processor)
5887 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5888 (allout-parse-item-at-point, allout-decorate-item-guides)
5889 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5890 * allout.el (epa-passphrase-callback-function): Declare.
5891 (allout-overlay-insert-in-front-handler)
5892 (allout-overlay-interior-modification-handler)
5893 (allout-isearch-end-handler, allout-chart-siblings)
5894 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5895 (allout-yank-processing, allout-process-exposed)
5896 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5897 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5898 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5899 (lisp-indent-defform): Mark ignored arguments.
5900 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5901 (calculate-lisp-indent): Remove unused variables.
5902 * international/characters.el (indian-2-column, arabic-2-column)
5903 (tibetan): Mark ignored arguments.
5904 (use-cjk-char-width-table): Mark ignored arguments.
5905 Remove unused variables.
5906 * international/fontset.el (build-default-fontset-data)
5907 (x-compose-font-name, create-fontset-from-fontset-spec):
5908 Mark ignored arguments.
5909 (fontset-plain-name): Remove unused variables.
5910 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5911 (keyboard-coding-system): Mark ignored arguments.
5912 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5913 * help.el (resize-temp-buffer-window):
5914 * window.el (display-buffer-in-major-side-window)
5915 (display-buffer-in-side-window, display-buffer-in-previous-window):
5916 Remove unused variables.
5917 * isearch.el (isearch-forward-symbol):
5918 * version.el (emacs-bzr-version-bzr):
5919 * international/mule-cmds.el (current-language-environment):
5920 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5921 (x-handle-display):
5922 * term/pc-win.el (x-list-fonts, x-display-planes)
5923 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5924 (x-server-version, x-display-screens, x-display-mm-height)
5925 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5926 (x-selection-owner-p, x-own-selection-internal)
5927 (x-disown-selection-internal, x-get-selection-internal)
5928 (msdos-initialize-window-system):
5929 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5930 * term/x-win.el (x-handle-no-bitmap-icon):
5931 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5932 (vc-default-find-file-hook, vc-default-extra-menu):
5933 Mark ignored arguments.
5934
5935 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5936
5937 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5938 break-condition in the context of the debugged code (bug#12685).
5939
5940 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5941
5942 * comint.el:
5943 Do not use an overlay to highlight the last prompt. (Bug#14744)
5944 (comint-mode): Make comint-last-prompt buffer local.
5945 (comint-last-prompt): New variable.
5946 (comint-last-prompt-overlay): Remove. Superseded by
5947 comint-last-prompt.
5948 (comint-snapshot-last-prompt, comint-output-filter):
5949 Use comint-last-prompt.
5950
5951 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5952
5953 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5954 (frameset-save): Check validity of the resulting frameset.
5955
5956 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5957
5958 * ido.el (ido-record-command): Add doc string.
5959
5960 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5961
5962 * frameset.el (frameset): Do not disable creation of the default
5963 frameset-p predicate. Doc fix.
5964 (frameset-valid-p): New function, copied from the old predicate-p.
5965 Add additional checks.
5966 (frameset-restore): Check with frameset-valid-p.
5967 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5968 (frameset-name, frameset-description, frameset-properties)
5969 (frameset-states): Add docstring.
5970 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5971 (frameset-filter-alist): Doc fixes.
5972
5973 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5974
5975 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5976
5977 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5978
5979 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5980 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5981 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5982 (byte-compile-normal-call): Remove obsolescence check.
5983
5984 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5985
5986 * frameset.el (frameset-restore): Doc fix.
5987
5988 * register.el (frameset-frame-id, frameset-frame-with-id)
5989 (frameset-p, frameset-restore, frameset-save): Declare.
5990 (register-alist): Document framesets.
5991 (frameset-session-filter-alist): Declare.
5992 (frameset-to-register): New function.
5993 (jump-to-register): Implement jumping to framesets. Doc fix.
5994 (describe-register-1): Describe framesets.
5995
5996 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5997
5998 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5999
6000 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6001 Use lexical-binding.
6002
6003 * frameset.el (frameset): Use type vector, not list (incompatible
6004 change). Do not declare a new constructor, use the default one.
6005 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6006 `name' and `description', respectively, and add read-only slot
6007 `timestamp'. Doc fixes.
6008 (frameset-copy, frameset-persistent-filter-alist)
6009 (frameset-filter-alist, frameset-switch-to-gui-p)
6010 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6011 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6012 (frameset-filter-iconified, frameset-keep-original-display-p):
6013 Doc fixes.
6014 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6015 Rename from frameset-filter-(save|restore)-param. All callers changed.
6016 Doc fix.
6017 (frameset-p): Adapt to change to vector and be more thorough.
6018 Change arg name to OBJECT. Doc fix.
6019 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6020 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6021 All callers changed.
6022 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6023 All callers changed.
6024 (frameset--record-minibuffer-relationships): Rename from
6025 frameset--process-minibuffer-frames. All callers changed.
6026 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6027 Use new default constructor (again). Doc fix.
6028 (frameset--find-frame-if): Rename from `frameset--find-frame.
6029 All callers changed.
6030 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6031 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6032 Doc fix.
6033 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6034 PARAMETERS and WINDOW-STATE, respectively.
6035 (frameset-restore): Add new keyword argument PREDICATE.
6036 Reset frameset--target-display to nil. Doc fix.
6037
6038 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6039
6040 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6041 (bat-mode): Use it.
6042 (bat-mode-syntax-table): Mark \n as end-of-comment.
6043 (bat-font-lock-keywords): Remove comment rule.
6044
6045 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6046 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6047
6048 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6049 (byte-compile-callargs-warn): Use `push'.
6050 (byte-compile-arglist-warn): Ignore higher-order "calls".
6051 (byte-compile-file-form-autoload): Use `pcase'.
6052 (byte-compile-function-form): If quoting a symbol, check that it exists.
6053
6054 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6055
6056 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6057 and add a few popular commands found in batch files.
6058 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6059 (dos-mode): Doc fixes.
6060
6061 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6062
6063 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6064 (dos-mode): Use setq-local. Add space after "rem".
6065 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6066 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6067
6068 2013-08-07 Arni Magnusson <arnima@hafro.is>
6069
6070 * progmodes/dos.el: New file.
6071 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6072 dos-mode.
6073
6074 2013-08-06 Glenn Morris <rgm@gnu.org>
6075
6076 * calendar/calendar.el: Add new faces, and day-header-array.
6077 (calendar-weekday-header, calendar-weekend-header)
6078 (calendar-month-header): New faces.
6079 (calendar-day-header-construct): New function.
6080 (calendar-day-header-width): Also :set calendar-day-header-array.
6081 (calendar-american-month-header, calendar-european-month-header)
6082 (calendar-iso-month-header): Use calendar- faces.
6083 (calendar-generate-month):
6084 Use calendar-day-header-array for day headers; apply faces to them.
6085 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6086 (calendar-abbrev-construct): Add optional maxlen argument.
6087 (calendar-day-name-array): Doc fix.
6088 (calendar-day-name-array, calendar-abbrev-length)
6089 (calendar-day-abbrev-array):
6090 Also :set calendar-day-header-array, and maybe redraw.
6091 (calendar-day-header-array): New option. (Bug#15007)
6092 (calendar-font-lock-keywords): Set to nil and make obsolete.
6093 (calendar-day-name): Add option to use header array.
6094
6095 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6096
6097 * net/shr.el (shr-render-td): Remove debugging.
6098 (shr-render-td): Make width computation consistent by defaulting
6099 all zero-width columns to 10 characters. This may not be optimal,
6100 but it's at least consistent.
6101 (shr-make-table-1): Redo last change to fix the real problem in
6102 colspan handling.
6103
6104 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6105
6106 * files.el (cache-long-line-scans):
6107 Make obsolete alias to `cache-long-scans'.
6108
6109 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6110
6111 * frameset.el (frameset, frameset-filter-alist)
6112 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6113 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6114 (frameset-compute-pos): Rename from frameset--compute-pos,
6115 and add docstring.
6116 (frameset-move-onscreen): Use frameset-compute-pos.
6117 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6118
6119 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6120 Fix typos in docstrings.
6121
6122 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6123
6124 * frame.el (get-other-frame): Tiny cleanup.
6125
6126 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6127
6128 * vc/vc.el (vc-default-ignore-completion-table):
6129 Silence byte-compiler warning.
6130
6131 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6132 slot , which can indeed be nil.
6133 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6134 Move entry for `left' from persistent to live filter alist.
6135 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6136 Doc fixes.
6137 (frameset-filter-params): When restoring a frame, copy items added to
6138 `filtered', to avoid unwittingly modifying the original parameters.
6139 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6140 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6141
6142 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6143 to use looking-at-p instead of looking-at. (Bug#15028)
6144
6145 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6146
6147 Revert introduction of isearch-filter-predicates (bug#14714).
6148 Rely on add-function instead.
6149 * isearch.el (isearch-filter-predicates): Rename it back to
6150 isearch-filter-predicate.
6151 (isearch-message-prefix): Use advice-function-mapc and advice
6152 properties to get the isearch-message-prefix.
6153 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6154 instead of run-hook-with-args-until-failure.
6155 (isearch-filter-visible): Not obsolete any more.
6156 * loadup.el: Preload nadvice.
6157 * replace.el (perform-replace): Revert to funcall
6158 instead of run-hook-with-args-until-failure.
6159 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6160 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6161 dired-isearch-filenames-toggle; make it into a proper minor mode.
6162 Use add/remove-function.
6163 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6164 Call the minor-mode rather than add/remove-hook.
6165 (dired-isearch-filter-filenames):
6166 Remove isearch-message-prefix property.
6167 * info.el (Info--search-loop): New function, extracted from Info-search.
6168 Funcall isearch-filter-predicate instead of
6169 run-hook-with-args-until-failure isearch-filter-predicates.
6170 (Info-search): Use it.
6171 (Info-mode): Use isearch-filter-predicate instead of
6172 isearch-filter-predicates.
6173
6174 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6175
6176 Do not call to `selected-window' where it is assumed by default.
6177 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6178 `window-hscroll', `window-width', `window-height', `window-buffer',
6179 `window-frame', `window-start', `window-point', `next-window'
6180 and `window-display-table'.
6181 * abbrev.el (abbrev--default-expand):
6182 * bs.el (bs--show-with-configuration):
6183 * buff-menu.el (Buffer-menu-mouse-select):
6184 * calc/calc.el (calc):
6185 * calendar/calendar.el (calendar-generate-window):
6186 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6187 (diary-make-entry):
6188 * comint.el (send-invisible, comint-dynamic-complete-filename)
6189 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6190 * completion.el (complete):
6191 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6192 * disp-table.el (describe-current-display-table):
6193 * doc-view.el (doc-view-insert-image):
6194 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6195 * ehelp.el (with-electric-help):
6196 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6197 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6198 * emacs-lisp/helper.el (Helper-help-scroller):
6199 * emulation/cua-base.el (cua--post-command-handler-1):
6200 * eshell/esh-mode.el (eshell-output-filter):
6201 * ffap.el (ffap-gnus-wrapper):
6202 * help-macro.el (make-help-screen):
6203 * hilit-chg.el (highlight-compare-buffers):
6204 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6205 * hl-line.el (global-hl-line-highlight):
6206 * icomplete.el (icomplete-simple-completing-p):
6207 * isearch.el (isearch-done):
6208 * jit-lock.el (jit-lock-stealth-fontify):
6209 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6210 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6211 * mpc.el (mpc-tagbrowser, mpc):
6212 * net/rcirc.el (rcirc-any-buffer):
6213 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6214 * play/landmark.el (landmark-max-width, landmark-max-height):
6215 * play/zone.el (zone):
6216 * progmodes/compile.el (compilation-goto-locus):
6217 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6218 * progmodes/etags.el (find-tag-other-window):
6219 * progmodes/fortran.el (fortran-column-ruler):
6220 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6221 * progmodes/verilog-mode.el (verilog-point-text):
6222 * reposition.el (reposition-window):
6223 * rot13.el (toggle-rot13-mode):
6224 * server.el (server-switch-buffer):
6225 * shell.el (shell-dynamic-complete-command)
6226 (shell-dynamic-complete-environment-variable):
6227 * simple.el (insert-buffer, set-selective-display)
6228 (delete-completion-window):
6229 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6230 (speedbar-recenter):
6231 * startup.el (fancy-splash-head):
6232 * textmodes/ispell.el (ispell-command-loop):
6233 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6234 * tutorial.el (help-with-tutorial):
6235 * vc/add-log.el (add-change-log-entry):
6236 * vc/compare-w.el (compare-windows):
6237 * vc/ediff-help.el (ediff-indent-help-message):
6238 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6239 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6240 (ediff-setup-control-frame):
6241 * vc/emerge.el (emerge-position-region):
6242 * vc/pcvs-util.el (cvs-bury-buffer):
6243 * window.el (walk-windows, mouse-autoselect-window-select):
6244 * winner.el (winner-set-conf, winner-undo): Related users changed.
6245
6246 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6247
6248 * frameset.el (frameset--set-id): Doc fix.
6249 (frameset-frame-id, frameset-frame-id-equal-p)
6250 (frameset-locate-frame-id): New functions.
6251 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6252 (frameset-restore): Use them.
6253
6254 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6255
6256 Do not call to `selected-frame' where it is assumed by default.
6257 Affected functions are `raise-frame', `redraw-frame',
6258 `frame-first-window', `frame-terminal' and `delete-frame'.
6259 * calendar/appt.el (appt-disp-window):
6260 * epg.el (epg-wait-for-completion):
6261 * follow.el (follow-delete-other-windows-and-split)
6262 (follow-avoid-tail-recenter):
6263 * international/mule.el (set-terminal-coding-system):
6264 * mail/rmail.el (rmail-mail-return):
6265 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6266 * progmodes/f90.el (f90-add-imenu-menu):
6267 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6268 * server.el (server-switch-buffer):
6269 * simple.el (delete-completion-window):
6270 * talk.el (talk):
6271 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6272 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6273 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6274 * vc/ediff.el (ediff-documentation): Related users changed.
6275 * frame.el (selected-terminal): Remove the leftover.
6276
6277 2013-08-05 Glenn Morris <rgm@gnu.org>
6278
6279 * calendar/calendar.el (calendar-generate-month):
6280 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6281 (calendar-generate-month, calendar-font-lock-keywords):
6282 Fix for calendar-day-header-width > length of any day name.
6283
6284 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6285
6286 * desktop.el (desktop-clear): Use new name of sort predicate.
6287
6288 * frameset.el (frameset): Add docstring. Move :version property to its
6289 own `version' slot.
6290 (frameset-copy): Rename from copy-frameset.
6291 (frameset-p): Check more thoroughly.
6292 (frameset-prop): Do not check for :version, which is no longer a prop.
6293 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6294 Use new :never value instead of t.
6295 (frameset-filter-alist): Expand and clarify docstring.
6296 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6297 (frameset-filter-minibuffer, frameset-filter-save-param)
6298 (frameset-filter-restore-param, frameset-filter-iconified):
6299 Add pointer to docstring of frameset-filter-alist.
6300 (frameset-filter-params): Rename filter values to be more meaningful:
6301 :never instead of t, and reverse the meanings of :save and :restore.
6302 (frameset--process-minibuffer-frames): Clarify error message.
6303 (frameset-save): Avoid unnecessary and confusing call to framep.
6304 Use new BOA constructor for framesets.
6305 (frameset--reuse-list): Doc fix.
6306 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6307 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6308 (frameset-minibufferless-first-p): Doc fix.
6309 Rename from frameset-sort-frames-for-deletion.
6310 (frameset-restore): Doc fixes. Use new function names.
6311 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6312
6313 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6314
6315 * desktop.el (desktop-restore-forces-onscreen)
6316 (desktop-restore-reuses-frames): Document :keyword constant values.
6317 (desktop-filter-parameters-alist): Remove, now identical to
6318 frameset-filter-alist.
6319 (desktop--filter-tty*): Remove, moved to frameset.el.
6320 (desktop-save-frameset, desktop-restore-frameset):
6321 Do not pass :filters argument.
6322
6323 * frameset.el (frameset-live-filter-alist)
6324 (frameset-persistent-filter-alist): New variables.
6325 (frameset-filter-alist): Use them. Add autoload cookie.
6326 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6327 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6328 `frameset--id' (it's supposed to be internal to frameset.el).
6329 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6330 (frameset--initial-params): New function.
6331 (frameset--get-frame): Use it. Doc fix.
6332 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6333 Accept :all, not 'all.
6334 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6335 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6336 with fbound symbols. Fix frame id matching, and remove matching ids if
6337 the frame being restored is deleted. Obey :delete.
6338
6339 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6340
6341 * subr.el (macrop): New function.
6342 (text-clone--maintaining): New var.
6343 (text-clone--maintain): Rename from text-clone-maintain. Use it
6344 instead of inhibit-modification-hooks.
6345
6346 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6347 a proxy, so as handle autoloads and redefinitions of the target.
6348 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6349
6350 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6351 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6352 (pcase--mutually-exclusive-p): New function.
6353 (pcase--split-consp): Use it.
6354 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6355 mutually exclusive with the current predicate.
6356
6357 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6358 (edebug-macrop): Remove. Use `macrop' instead.
6359 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6360 (ad-macro-p):
6361 * eshell/esh-cmd.el (eshell-macrop):
6362 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6363
6364 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6365
6366 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6367 (advice-mapc): New function, using it.
6368 (advice-function-member-p): New function.
6369 (advice--normalize): Store the cdr in advice--saved-rewrite since
6370 that's the part that will be changed.
6371 (advice--symbol-function): New function.
6372 (advice-remove): Handle removal before the function is defined.
6373 Adjust to new advice--saved-rewrite.
6374 (advice-member-p): Use advice-function-member-p and
6375 advice--symbol-function.
6376
6377 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6378
6379 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6380 (frameset-filter-minibuffer): Doc fix.
6381 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6382 (frameset--set-id, frameset--process-minibuffer-frames)
6383 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6384 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6385
6386 * desktop.el (desktop-clear): Only delete frames when called
6387 interactively and desktop-restore-frames is non-nil. Doc fix.
6388 (desktop-read): Set desktop-saved-frameset to nil.
6389
6390 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6391
6392 * vc/vc.el (vc-ignore): Rewrite.
6393 (vc-default-ignore-completion-table):
6394 (vc--read-lines):
6395 (vc--add-line, vc--remove-regexp): New functions.
6396
6397 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6398 (vc-svn-ignore-completion-table): New function.
6399
6400 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6401 (vc-hg-ignore-completion-table):
6402 (vc-hg-find-ignore-file): New functions.
6403
6404 * vc/vc-git.el (vc-git-ignore): Rewrite.
6405 (vc-git-ignore-completion-table):
6406 (vc-git-find-ignore-file): New functions.
6407
6408 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6409
6410 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6411 (vc-bzr-ignore-completion-table):
6412 (vc-bzr-find-ignore-file): New functions.
6413
6414 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6415
6416 * frameset.el (frameset-prop): New function and setter.
6417 (frameset-save): Do not modify frame list passed by the caller.
6418
6419 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6420
6421 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6422
6423 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6424
6425 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6426 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6427
6428 * custom.el (custom-initialize-default, custom-initialize-set)
6429 (custom-initialize-reset, custom-initialize-changed): Affect the
6430 toplevel-default-value (bug#6275, bug#14586).
6431 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6432 for bug#6275.
6433
6434 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6435
6436 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6437 Add cl-def* expressions.
6438
6439 * frameset.el (frameset-filter-params): Fix order of arguments.
6440
6441 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6442
6443 Move code related to saving frames to frameset.el.
6444 * desktop.el: Require frameset.
6445 (desktop-restore-frames): Doc fix.
6446 (desktop-restore-reuses-frames): Rename from
6447 desktop-restoring-reuses-frames.
6448 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6449 (desktop-clear): Clear frames too.
6450 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6451 (desktop--filter-tty*, desktop-save, desktop-read):
6452 Use frameset functions.
6453 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6454 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6455 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6456 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6457 (desktop--process-minibuffer-frames, desktop-save-frames)
6458 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6459 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6460 (desktop--sort-states, desktop-restoring-frames-p)
6461 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6462 (desktop-restoring-frameset-p, desktop-restore-frameset)
6463 (desktop--check-dont-save, desktop-save-frameset): New functions.
6464 (desktop--app-id): New constant.
6465 (desktop-first-buffer, desktop-buffer-ok-count)
6466 (desktop-buffer-fail-count): Move before first use.
6467 * frameset.el: New file.
6468
6469 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6470
6471 * files.el: Use lexical-binding.
6472 (dir-locals-read-from-file): Remove unused `err' variable.
6473 (hack-dir-local-variables--warned-coding): New var.
6474 (hack-dir-local-variables): Use it to avoid repeated warnings.
6475 (make-backup-file-name--default-function): New function.
6476 (make-backup-file-name-function): Use it as default.
6477 (buffer-stale--default-function): New function.
6478 (buffer-stale-function): Use it as default.
6479 (revert-buffer-insert-file-contents--default-function): New function.
6480 (revert-buffer-insert-file-contents-function): Use it as default.
6481 (insert-directory): Avoid add-to-list.
6482
6483 * autorevert.el (auto-revert-handler): Simplify.
6484 Use buffer-stale--default-function.
6485
6486 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6487
6488 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6489
6490 * whitespace.el (whitespace-ensure-local-variables): New function.
6491 (whitespace-cleanup-region): Call it.
6492 (whitespace-turn-on): Call it.
6493
6494 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6495
6496 Complete file name handlers.
6497
6498 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6499 (tramp-handle-verify-visited-file-modtime)
6500 (tramp-handle-file-notify-rm-watch): New functions.
6501 (tramp-call-process): Do not bind `default-directory'.
6502
6503 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6504 Order alphabetically.
6505 [access-file, add-name-to-file, dired-call-process]:
6506 [dired-compress-file, file-acl, file-notify-rm-watch]:
6507 [file-ownership-preserved-p, file-selinux-context]:
6508 [make-directory-internal, make-symbolic-link, set-file-acl]:
6509 [set-file-selinux-context, set-visited-file-modtime]:
6510 [verify-visited-file-modtime]: Add handler.
6511 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6512
6513 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6514 [file-notify-add-watch, file-notify-rm-watch]:
6515 [set-file-times, set-visited-file-modtime]:
6516 [verify-visited-file-modtime]: Add handler.
6517 (with-tramp-gvfs-error-message)
6518 (tramp-gvfs-handle-set-visited-file-modtime)
6519 (tramp-gvfs-fuse-file-name): Remove.
6520 (tramp-gvfs-handle-file-notify-add-watch)
6521 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6522 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6523
6524 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6525 Order alphabetically.
6526 [file-notify-rm-watch ]: Use default Tramp handler.
6527 [executable-find]: Remove private handler.
6528 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6529 `default-directory'.
6530 (tramp-sh-handle-executable-find)
6531 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6532 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6533 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6534 Do not use `format' in `tramp-message'.
6535
6536 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6537 [file-notify-rm-watch, set-visited-file-modtime]:
6538 [verify-visited-file-modtime]: Add handler.
6539 (tramp-smb-call-winexe): Do not bind `default-directory'.
6540
6541 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6542
6543 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6544
6545 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6546
6547 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6548 use it.
6549 (log-view-diff-changeset): Same.
6550 (log-view-diff-common): Call backend command `previous-revision'
6551 to find out the previous revision, in both cases. Swap the
6552 variables `to' and `fr', so that `fr' usually refers to the
6553 earlier revision (Bug#14989).
6554
6555 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6556
6557 * ibuf-ext.el (ibuffer-filter-by-filename):
6558 Make it work with dired buffers too.
6559
6560 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6561
6562 * emacs-lisp/re-builder.el (reb-color-display-p):
6563 * files.el (save-buffers-kill-terminal):
6564 * net/browse-url.el (browse-url):
6565 * server.el (server-save-buffers-kill-terminal):
6566 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6567 Prefer nil to selected-frame for the first arg of frame-parameter.
6568
6569 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6570
6571 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6572
6573 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6574
6575 * minibuffer.el (completion--twq-all): Try and preserve each
6576 completion's case choice (bug#14907).
6577
6578 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6579
6580 * net/network-stream.el (open-network-stream): Mention the new
6581 :nogreeting parameter.
6582 (network-stream-open-starttls): Use the :nogreeting parameter
6583 (bug#14938).
6584
6585 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6586
6587 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6588 more natural than popping.
6589
6590 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6591 (shr-urlify): Highlight under mouse.
6592
6593 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6594
6595 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6596
6597 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6598
6599 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6600 buffer for output.
6601
6602 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6603 point-min==1. Fix search string. Fix parentheses missing.
6604
6605 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6606 assume point-min==1. Fix search string. Fix parentheses missing.
6607
6608 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6609
6610 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6611 buffer for output.
6612
6613 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6614
6615 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6616 initial frame is minibuffer-less. (Bug#14841)
6617
6618 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6619
6620 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6621 option.
6622
6623 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6624 (tramp-maybe-open-connection): Use it.
6625
6626 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6627
6628 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6629 minimal set of parameters passed when creating a frame, because
6630 the minibuffer status of a frame cannot be changed later.
6631
6632 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6633
6634 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6635 replace-regexp-in-string and inadvertent omissions in previous change.
6636 (todo-filter-items): Ensure only file names are comma-separated in
6637 name of filtered items buffer.
6638
6639 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6640
6641 * desktop.el: Optionally force offscreen frames back onscreen.
6642 (desktop-restoring-reuses-frames): New option.
6643 (desktop--compute-pos, desktop--move-onscreen): New functions.
6644 (desktop--make-frame): Use desktop--move-onscreen.
6645
6646 2013-07-27 Alan Mackenzie <acm@muc.de>
6647
6648 Fontify a Java generic method as a function.
6649 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6650 value to t.
6651
6652 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6653
6654 * calendar/todo-mode.el: Add command to rename todo files.
6655 (todo-rename-file): New command.
6656 (todo-key-bindings-t): Add key binding for it. Change the
6657 bindings of todo-filter-regexp-items(-multifile) to use `x'
6658 instead of `r', since the latter is better suited to the new
6659 renaming command.
6660
6661 2013-07-27 Alan Mackenzie <acm@muc.de>
6662
6663 Make Java try-with-resources statement parse properly.
6664 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6665 (c-block-stmt-1-2-key): New language constants/variables.
6666 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6667 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6668 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6669 with c-block-stmt-1-2-key.
6670
6671 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6672
6673 * desktop.el (desktop--make-frame): Apply most frame parameters after
6674 creating the frame to force (partially or totally) offscreen frames to
6675 be restored as such.
6676
6677 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6678
6679 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6680 (Bug#14948)
6681
6682 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6683
6684 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6685 `base' arg of backtrace-frame.
6686
6687 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6688
6689 * simple.el (list-processes): Doc fix.
6690
6691 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6692
6693 * desktop.el (desktop--select-frame):
6694 Try harder to reuse existing frames.
6695
6696 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6697
6698 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6699 (edebug-eval): Use backtrace-eval.
6700 (edebug--display, edebug--recursive-edit): Don't let-bind the
6701 edebug-outer-* vars that keep track of variables we locally let-bind.
6702 (edebug-outside-excursion): Don't restore outside values of locally
6703 let-bound vars.
6704 (edebug--display): Use user-error.
6705 (cl-lexical-debug, cl-debug-env): Remove.
6706
6707 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6708
6709 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6710 are restored to be sure that they are visible before deleting any
6711 remaining ones.
6712
6713 2013-07-26 Matthias Meulien <orontee@gmail.com>
6714
6715 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6716 vc-print-root-log. (Bug#14948)
6717
6718 2013-07-26 Richard Stallman <rms@gnu.org>
6719
6720 Add aliases for encrypting mail.
6721 * epa.el (epa-mail-aliases): New option.
6722 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6723 Bind inhibit-read-only so read-only text doesn't ruin everything.
6724 (epa-mail-default-recipients): New subroutine broken out.
6725 Handle epa-mail-aliases.
6726
6727 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6728
6729 Add support for lexical variables to the debugger's `e' command.
6730 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6731 vars, except for debugger-outer-match-data.
6732 (debugger-frame-number): Move check for "on a function call" from
6733 callers into it. Add `skip-base' argument.
6734 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6735 (debugger-env-macro): Only reset the state stored in non-variables,
6736 i.e. current-buffer and match-data.
6737 (debugger-eval-expression): Rewrite using backtrace-eval.
6738 * subr.el (internal--called-interactively-p--get-frame): Remove.
6739 (called-interactively-p):
6740 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6741 `base' arg of backtrace-frame instead.
6742
6743 2013-07-26 Glenn Morris <rgm@gnu.org>
6744
6745 * align.el (align-regexp): Doc fix. (Bug#14857)
6746 (align-region): Explicit error if subexpression missing/does not match.
6747
6748 * simple.el (global-visual-line-mode):
6749 Do not duplicate the mode lighter. (Bug#14858)
6750
6751 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6752
6753 * window.el (display-buffer): In display-buffer bind
6754 split-window-keep-point to t, bug#14829.
6755
6756 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6757
6758 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6759 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6760 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6761 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6762 Change accordingly.
6763 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6764 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6765
6766 2013-07-25 Glenn Morris <rgm@gnu.org>
6767
6768 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6769
6770 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6771
6772 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6773 parameter to modify-frame-parameters if the value has not changed;
6774 this is a workaround for bug#14949.
6775 (desktop--make-frame): On cl-delete-if call, check parameter name,
6776 not full parameter.
6777
6778 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6779
6780 * vc/vc.el (vc-ignore): New function.
6781
6782 * vc/vc-svn.el (vc-svn-ignore): New function.
6783
6784 * vc/vc-hg.el (vc-hg-ignore): New function.
6785
6786 * vc/vc-git.el (vc-git-ignore): New function.
6787
6788 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6789 (vc-dir-ignore): New function.
6790
6791 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6792 (cvs-append-to-ignore): Move here from pcvs.el.
6793
6794 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6795
6796 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6797
6798 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6799
6800 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6801 (desktop-restore-frames): Warn when deleting an existing frame failed.
6802
6803 2013-07-24 Glenn Morris <rgm@gnu.org>
6804
6805 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6806
6807 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6808
6809 * filenotify.el (file-notify-supported-p):
6810 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6811 Remove functions.
6812
6813 * autorevert.el (auto-revert-use-notify):
6814 (auto-revert-notify-add-watch):
6815 * net/tramp.el (tramp-file-name-for-operation):
6816 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6817 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6818 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6819 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6820 Remove `file-notify-supported-p' entry.
6821
6822 2013-07-24 Glenn Morris <rgm@gnu.org>
6823
6824 * printing.el: Replace all uses of deleted ps-windows-system,
6825 ps-lp-system, ps-flatten-list with lpr- versions.
6826
6827 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6828
6829 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6830 checked with memq (bug#14935).
6831
6832 * files.el (revert-buffer-function): Use a non-nil default.
6833 (revert-buffer-preserve-modes): Declare var to
6834 provide access to the `preserve-modes' argument.
6835 (revert-buffer): Let-bind it.
6836 (revert-buffer--default): New function, extracted from revert-buffer.
6837
6838 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6839
6840 * lpr.el: Signal print errors more prominently.
6841 (print-region-function): Don't default to nil.
6842 (lpr-print-region): New function, extracted from print-region-1.
6843 Check lpr's return value and signal an error in case of problem.
6844 (print-region-1): Use it.
6845 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6846 versions instead.
6847 (ps-printer-name): Default to nil.
6848 (ps-printer-name-option): Default to lpr-printer-switch.
6849 (ps-print-region-function): Don't default to nil.
6850 (ps-postscript-code-directory): Simplify default.
6851 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6852 (ps-string-list, ps-eval-switch, ps-flatten-list)
6853 (ps-flatten-list-1): Remove.
6854 (ps-multibyte-buffer): Avoid setq.
6855 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6856 (print-region-function, ps-print-region-function): Don't set them here.
6857
6858 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6859
6860 * ido.el (ido-fractionp):
6861 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6862 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6863 (ido-max-directory-size, ido-max-dir-file-cache)
6864 (ido-decorations): Doc fix.
6865
6866 * ansi-color.el: Fix old URL.
6867
6868 2013-07-23 Michael R. Mauger <michael@mauger.com>
6869
6870 * progmodes/sql.el: Version 3.3
6871 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6872 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6873 (sql-interactive-remove-continuation-prompt): Rewrite, use
6874 functions above. Fix continuation prompt and complete output line
6875 handling.
6876 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6877 redirected output buffer.
6878 (sql-mode): Restore deleted code (Bug#13591).
6879
6880 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6881
6882 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6883
6884 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6885
6886 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6887
6888 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6889 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6890 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6891
6892 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6893
6894 * desktop.el (desktop-clear): Simplify; remove useless checks
6895 against invalid buffer names.
6896 (desktop-list*): Use cl-list*.
6897 (desktop-buffer-info, desktop-create-buffer): Simplify.
6898
6899 2013-07-23 Leo Liu <sdl.web@gmail.com>
6900
6901 * bookmark.el (bookmark-make-record): Restore NAME as a default
6902 value. (Bug#14933)
6903
6904 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6907 extracted from autoload--insert-text.
6908 (autoload--insert-text): Remove.
6909 (autoload--print-cookie-text): New function, extracted from
6910 autoload--insert-cookie-text.
6911 (autoload--insert-cookie-text): Remove.
6912 (autoload-generate-file-autoloads): Adjust calls accordingly.
6913
6914 * winner.el (winner-hook-installed-p): Remove.
6915 (winner-mode): Simplify accordingly.
6916
6917 * subr.el (add-to-list): Fix compiler-macro when `append' is
6918 not constant. Don't use `cl-member' for the base case.
6919
6920 * progmodes/subword.el: Fix boundary case (bug#13758).
6921 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6922 own group.
6923 (subword-backward-regexp): Make it a constant.
6924 (subword-forward-internal): Don't treat a trailing capital as the
6925 beginning of a word.
6926
6927 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6928
6929 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6930 global value of tabulated-list-revert-hook (bug#14930).
6931
6932 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6933
6934 * desktop.el: Require 'cl-lib.
6935 (desktop-before-saving-frames-functions): New hook.
6936 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6937 for frames being saved. Rename from desktop--save-minibuffer-frames.
6938 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6939 Do not save frames with non-nil `desktop-dont-save' parameter.
6940 Filter out deleted frames.
6941 (desktop--find-frame): Use cl-find-if.
6942 (desktop--select-frame): Use cl-(first|second|third) to access values
6943 of desktop-mini.
6944 (desktop--make-frame): Use cl-delete-if.
6945 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6946 (desktop-restore-frames): Use cl-(first|second|third) to access values
6947 of desktop-mini. Look for visible frame at the end, not while
6948 restoring frames.
6949
6950 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6951 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6952 Use string-match-p, looking-at-p (bug#14927).
6953
6954 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6955
6956 * desktop.el (desktop-saved-frame-states):
6957 Rename from desktop--saved-states; all users changed.
6958 (desktop-save-frames): Rename from desktop--save-frames.
6959 Do not save state to desktop file.
6960 (desktop-save): Save desktop-saved-frame-states to desktop file
6961 and reset to nil.
6962 (desktop-restoring-frames-p): New function.
6963 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6964 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6965 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6966
6967 * desktop.el: Correctly restore iconified frames.
6968 (desktop--filter-iconified-position): New function.
6969 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6970
6971 2013-07-20 Glenn Morris <rgm@gnu.org>
6972
6973 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6974 Let `message' do the formatting.
6975 (def-gdb-preempt-display-buffer): Add explicit format.
6976
6977 * image-dired.el (image-dired-track-original-file):
6978 Use with-current-buffer.
6979 (image-dired-track-thumbnail): Use with-current-buffer.
6980 Avoid changing point of wrong window.
6981
6982 * image-dired.el (image-dired-track-original-file):
6983 Avoid changing point of wrong window. (Bug#14909)
6984
6985 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6986
6987 * progmodes/gdb-mi.el (gdb-done-or-error):
6988 Guard against "%" in gdb output. (Bug#14127)
6989
6990 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6991
6992 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6993 (Bug#14826)
6994
6995 * international/mule.el (coding-system-iso-2022-flags): Fix last
6996 change.
6997
6998 2013-07-20 Kenichi Handa <handa@gnu.org>
6999
7000 * international/mule.el (coding-system-iso-2022-flags):
7001 Add `8-bit-level-4'. (Bug#8522)
7002
7003 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7004
7005 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7006 (bug#14815).
7007
7008 * net/eww.el (eww-process-text-input): Allow inputting when the
7009 point is at the start of the line, as the properties aren't
7010 front-sticky.
7011
7012 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7013 degenerate widths.
7014
7015 2013-07-19 Richard Stallman <rms@gnu.org>
7016
7017 * epa.el (epa-popup-info-window): Doc fix.
7018
7019 * subr.el (split-string): New arg TRIM.
7020
7021 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7022
7023 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7024 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7025
7026 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7027
7028 * filenotify.el (file-notify--library): Rename from
7029 `file-notify-support'. Do not autoload. Adapt all uses.
7030 (file-notify-supported-p): New defun.
7031
7032 * autorevert.el (auto-revert-use-notify):
7033 Use `file-notify-supported-p' instead of `file-notify-support'.
7034 Adapt docstring.
7035 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7036
7037 * net/tramp.el (tramp-file-name-for-operation):
7038 Add `file-notify-supported-p'.
7039
7040 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7041 New defun.
7042 (tramp-sh-file-name-handler-alist): Add it as handler for
7043 `file-notify-supported-p '.
7044
7045 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7046 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7047 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7048 Add `ignore' as handler for `file-notify-*' functions.
7049
7050 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7051
7052 * simple.el (line-move-partial, line-move): Don't start vscroll or
7053 scroll-up if the current line is not taller than the window.
7054 (Bug#14881)
7055
7056 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7057
7058 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7059 highlight question marks in the method names as strings.
7060 (ruby-block-beg-keywords): Inline.
7061 (ruby-font-lock-keyword-beg-re): Extract from
7062 `ruby-font-lock-keywords'.
7063
7064 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7065
7066 * frame.el (blink-cursor-blinks): New defcustom.
7067 (blink-cursor-blinks-done): New defvar.
7068 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7069 (blink-cursor-timer-function): Check if number of blinks has been
7070 done on X and NS.
7071 (blink-cursor-suspend, blink-cursor-check): New defuns.
7072
7073 2013-07-15 Glenn Morris <rgm@gnu.org>
7074
7075 * edmacro.el (edmacro-format-keys): Fix previous change.
7076
7077 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7078
7079 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7080 The hack didn't work outside English locales anyway.
7081
7082 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7083
7084 * simple.el (define-alternatives): Rename from alternatives-define,
7085 per RMS' suggestion.
7086
7087 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7088
7089 * desktop.el (desktop-restore-frames): Change default to t.
7090 (desktop-restore-in-current-display): Now offer more options.
7091 (desktop-restoring-reuses-frames): New customization option.
7092 (desktop--saved-states): Doc fix.
7093 (desktop-filter-parameters-alist): New variable, renamed and expanded
7094 from desktop--excluded-frame-parameters.
7095 (desktop--target-display): New variable.
7096 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7097 (desktop--filter-tty*, desktop--filter-*-color)
7098 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7099 (desktop--filter-save-desktop-parm)
7100 (desktop-restore-in-original-display-p): New functions.
7101 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7102 (desktop--save-minibuffer-frames): New function, inspired by a similar
7103 function from Martin Rudalics.
7104 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7105 (desktop--restore-in-this-display-p): Remove.
7106 (desktop--find-frame): Rename from desktop--find-frame-in-display
7107 and add predicate argument.
7108 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7109 (desktop--reuse-list): New variable.
7110 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7111 New functions.
7112 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7113
7114 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7115
7116 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7117
7118 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7119
7120 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7121 Highlight conversion methods on Kernel.
7122
7123 2013-07-13 Alan Mackenzie <acm@muc.de>
7124
7125 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7126 and comment it out. This out-commenting enables certain C++
7127 declarations to be parsed correctly.
7128
7129 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7130
7131 * international/mule.el (define-coding-system): Doc fix.
7132
7133 * simple.el (default-font-height): Don't call font-info if the
7134 frame's default font didn't change since the frame was created.
7135 (Bug#14838)
7136
7137 2013-07-13 Leo Liu <sdl.web@gmail.com>
7138
7139 * ido.el (ido-read-file-name): Guard against non-symbol value.
7140
7141 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7142
7143 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7144 in nested defuns.
7145
7146 2013-07-13 Leo Liu <sdl.web@gmail.com>
7147
7148 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7149 ido-set-matches call. (Bug#6852)
7150
7151 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7152
7153 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7154 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7155 Ruby 2.0.
7156 (ruby-font-lock-keywords): Distinguish calls to functions with
7157 module-like names from module references. Highlight character
7158 literals.
7159
7160 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7161
7162 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7163 (gdb-send): Handle continued commands. (Bug#14847)
7164
7165 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7166
7167 * desktop.el (desktop--v2s): Remove unused local variable.
7168 (desktop-save-buffer): Make defvar-local; adjust docstring.
7169 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7170 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7171
7172 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7173
7174 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7175
7176 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7177
7178 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7179 (Bug#14842)
7180
7181 2013-07-12 Glenn Morris <rgm@gnu.org>
7182
7183 * doc-view.el: Require cl-lib at runtime too.
7184 (doc-view-remove-if): Remove.
7185 (doc-view-search-next-match, doc-view-search-previous-match):
7186 Use cl-remove-if.
7187
7188 * edmacro.el: Require cl-lib at runtime too.
7189 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7190 (edmacro-mismatch, edmacro-subseq): Remove.
7191
7192 * shadowfile.el: Require cl-lib.
7193 (shadow-remove-if): Remove.
7194 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7195 Use cl-remove-if.
7196
7197 * wid-edit.el: Require cl-lib.
7198 (widget-choose): Use cl-remove-if.
7199 (widget-remove-if): Remove.
7200
7201 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7202 (ebrowse-delete-if-not): Remove.
7203 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7204 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7205 Use cl-delete-if-not.
7206
7207 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7208
7209 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7210 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7211
7212 2013-07-12 Leo Liu <sdl.web@gmail.com>
7213
7214 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7215
7216 2013-07-11 Glenn Morris <rgm@gnu.org>
7217
7218 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7219 (edebug-gensym-index, edebug-gensym):
7220 Remove reimplementation of cl-gensym.
7221 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7222
7223 * thumbs.el: Require cl-lib at run-time too.
7224 (thumbs-gensym-counter, thumbs-gensym):
7225 Remove reimplementation of cl-gensym.
7226 (thumbs-temp-file): Use cl-gensym.
7227
7228 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7229 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7230 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7231 (ert--union, ert--gensym-counter, ert--gensym-counter)
7232 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7233 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7234 (ert-make-test-unbound, ert--expand-should-1)
7235 (ert--expand-should, ert--should-error-handle-error)
7236 (should-error, ert--explain-equal-rec)
7237 (ert--plist-difference-explanation, ert-select-tests)
7238 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7239 Use cl-lib functions rather than reimplementations.
7240
7241 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7242
7243 * net/tramp.el (tramp-methods): Extend docstring.
7244 (tramp-connection-timeout): New defcustom.
7245 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7246 (with-tramp-progress-reporter): Simplify.
7247 (tramp-process-actions): Improve messages.
7248
7249 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7250 * net/tramp-sh.el (tramp-maybe-open-connection):
7251 Use `tramp-connection-timeout'.
7252 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7253 (Bug#14808)
7254
7255 2013-07-11 Leo Liu <sdl.web@gmail.com>
7256
7257 * ido.el (ido-read-file-name): Conform to the requirements of
7258 read-file-name. (Bug#11861)
7259 (ido-read-directory-name): Conform to the requirements of
7260 read-directory-name.
7261
7262 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7263
7264 * subr.el (delay-warning): New function.
7265
7266 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7267
7268 * simple.el (default-line-height): New function.
7269 (line-move-partial, line-move): Use it instead of computing the
7270 line height inline.
7271 (line-move-partial): Always compute ROWH. If the last line is
7272 partially-visible, but its text is completely visible, allow
7273 cursor to enter such a partially-visible line.
7274
7275 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7276
7277 Improve error messages. (Bug#14808)
7278
7279 * net/tramp.el (tramp-current-connection): New defvar, moved from
7280 tramp-sh.el.
7281 (tramp-message-show-progress-reporter-message): Remove, not
7282 needed anymore.
7283 (tramp-error-with-buffer): Show message in minibuffer.
7284 Discard input before waiting. Reset connection timestamp.
7285 (with-tramp-progress-reporter): Improve messages.
7286 (tramp-process-actions): Use progress reporter. Delete process in
7287 case of error. Improve messages.
7288
7289 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7290 Call `tramp-error-with-buffer' with vector and buffer.
7291 (tramp-current-connection): Remove.
7292 (tramp-maybe-open-connection): The car of
7293 `tramp-current-connection' are the first 3 slots of the vector.
7294
7295 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7296
7297 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7298 inside continued strings.
7299
7300 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7301
7302 Timestamp fixes for undo (Bug#14824).
7303 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7304
7305 2013-07-10 Leo Liu <sdl.web@gmail.com>
7306
7307 * files.el (require-final-newline): Allow safe local value.
7308 (Bug#14834)
7309
7310 2013-07-09 Leo Liu <sdl.web@gmail.com>
7311
7312 * ido.el (ido-read-directory-name): Handle fallback.
7313 (ido-read-file-name): Update DIR to ido-current-directory.
7314 (Bug#1516)
7315 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7316
7317 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7318
7319 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7320 "autoload". Remove "warn lower camel case" section, previously
7321 commented out. Highlight negation char. Do not highlight the
7322 target in singleton method definitions.
7323
7324 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7325
7326 * faces.el (tty-setup-hook): Declare the hook.
7327
7328 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7329 and detect when a guard/pred depends on local vars (bug#14773).
7330 (pcase--u1): Adjust caller.
7331
7332 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7333
7334 * simple.el (line-move-partial, line-move): Account for
7335 line-spacing.
7336 (line-move-partial): Avoid setting vscroll when the last
7337 partially-visible line in window is of default height.
7338
7339 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7340
7341 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7342 been used a while.
7343
7344 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7345
7346 * subr.el (read-quoted-char): Remove unused local variable `char'.
7347
7348 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7349
7350 * ediff.el (ediff-version): Version update.
7351 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7352 (ediff-merge-with-ancestor-command, ediff-directories-command)
7353 (ediff-directories3-command, ediff-merge-directories-command)
7354 (ediff-merge-directories-with-ancestor-command): New functions.
7355 All are command-line interfaces to ediff: to facilitate calling
7356 Emacs with the appropriate ediff functions invoked.
7357
7358 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7359 (viper-save-kill-buffer): Check if buffer is modified.
7360
7361 * viper.el (viper-version): Version update.
7362 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7363
7364 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7365
7366 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7367 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7368 (viper-intercept-ESC-key): Simplify.
7369 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7370 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7371 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7372 (viper-setup-ESC-to-escape): New functions.
7373 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7374 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7375
7376 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7377
7378 * simple.el (default-font-height, window-screen-lines):
7379 New functions.
7380 (line-move, line-move-partial): Use them instead of
7381 frame-char-height and window-text-height. This makes scrolling
7382 text smoother when the buffer's default face uses a font that is
7383 different from the frame's default font.
7384
7385 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7386
7387 * files.el (write-file): Do not display confirm dialog for NS,
7388 it does its own dialog, which can't be canceled (Bug#14578).
7389
7390 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7391
7392 * simple.el (line-move-partial): Adjust the row returned by
7393 posn-at-point for the current window-vscroll. (Bug#14567)
7394
7395 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7396
7397 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7398 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7399 spaces.
7400
7401 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7402
7403 * window.el (window-state-put-stale-windows): New variable.
7404 (window--state-put-2): Save list of windows without matching buffer.
7405 (window-state-put): Remove "bufferless" windows if possible.
7406
7407 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7408
7409 * simple.el (alternatives-define): Remove leftover :group keyword.
7410 Tweak docstring.
7411
7412 2013-07-06 Leo Liu <sdl.web@gmail.com>
7413
7414 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7415 (ido-enable-virtual-buffers): New variable.
7416 (ido-buffer-internal, ido-toggle-virtual-buffers)
7417 (ido-make-buffer-list): Use it.
7418 (ido-exhibit): Support turning on and off virtual buffers
7419 automatically.
7420
7421 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7422
7423 * simple.el (alternatives-define): New macro.
7424
7425 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 * subr.el (read-quoted-char): Use read-key.
7428 (sit-for): Let read-event decode tty input (bug#14782).
7429
7430 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7431
7432 * calendar/todo-mode.el: Add handling of file deletion, both by
7433 mode command and externally. Fix various related bugs.
7434 Clarify Commentary and improve some documentation strings and code.
7435 (todo-delete-file): New command.
7436 (todo-check-file): New function.
7437 (todo-show): Handle external deletion of the file we're trying to
7438 show (bug#14688). Replace called-interactively-p by an optional
7439 prefix argument to avoid problematic interaction with catch form
7440 when byte compiled (bug#14702).
7441 (todo-quit): Handle external deletion of the archive's todo file.
7442 Make sure the buffer that was visiting the archive file is still
7443 live before trying to bury it.
7444 (todo-category-completions): Handle external deletion of any
7445 category completion files.
7446 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7447 of todo files, in case of external deletion.
7448 (todo-add-file): Replace unnecessary setq by let-binding.
7449 (todo-find-archive): Check whether there are any archives.
7450 Replace unnecessary setq by let-binding.
7451 (todo-archive-done-item): Use find-file-noselect to get the
7452 archive buffer whether or not the archive already exists.
7453 Remove superfluous code. Use file size instead of buffer-file-name to
7454 check if the archive is new; if it is, update list of archives.
7455 (todo-default-todo-file): Allow nil to be a valid value for when
7456 there are no todo files.
7457 (todo-reevaluate-default-file-defcustom): Use corrected definition
7458 of todo-default-todo-file.
7459 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7460 (todo-delete-category, todo-show-categories-table)
7461 (todo-category-number): Clarify comment.
7462 (todo-filter-items): Clarify documentation string.
7463 (todo-show-current-file, todo-display-as-todo-file)
7464 (todo-reset-and-enable-done-separator): Tweak documentation string.
7465 (todo-done-separator): Make separator length window-width, since
7466 bug#2749 is now fixed.
7467
7468 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7469
7470 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7471 Support both "gvfs-monitor-dir" and "inotifywait".
7472 (tramp-sh-file-inotifywait-process-filter): Rename from
7473 `tramp-sh-file-notify-process-filter'.
7474 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7475 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7476
7477 2013-07-05 Leo Liu <sdl.web@gmail.com>
7478
7479 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7480
7481 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7482
7483 * frame.el (display-pixel-height, display-pixel-width)
7484 (display-mm-height, display-mm-width): Mention behavior on
7485 multi-monitor setups in docstrings.
7486 (w32-display-monitor-attributes-list): Declare function.
7487 (display-monitor-attributes-list): Use it.
7488
7489 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7490
7491 * filenotify.el: New package.
7492
7493 * autorevert.el (top): Require filenotify.el.
7494 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7495 instead.
7496 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7497 (auto-revert-notify-handler): Use `file-notify-*' functions.
7498
7499 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7500
7501 * net/tramp.el (tramp-file-name-for-operation):
7502 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7503
7504 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7505 for `file-notify-add-watch' and `file-notify-rm-watch'.
7506 (tramp-process-sentinel): Improve trace.
7507 (tramp-sh-handle-file-notify-add-watch)
7508 (tramp-sh-file-notify-process-filter)
7509 (tramp-sh-handle-file-notify-rm-watch)
7510 (tramp-get-remote-inotifywait): New defuns.
7511
7512 2013-07-03 Juri Linkov <juri@jurta.org>
7513
7514 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7515 call of `occur-read-primary-args' to interactive spec.
7516
7517 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7518 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7519
7520 2013-07-03 Matthias Meulien <orontee@gmail.com>
7521
7522 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7523 `Buffer-menu-multi-occur'. Add it to the menu.
7524 (Buffer-menu-mode): Document it in docstring.
7525 (Buffer-menu-multi-occur): New command. (Bug#14673)
7526
7527 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7528
7529 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7530 keywords and built-ins.
7531
7532 2013-07-03 Glenn Morris <rgm@gnu.org>
7533
7534 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7535
7536 Make info-xref checks case-sensitive by default
7537 * info.el (Info-find-node, Info-find-in-tag-table)
7538 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7539 Add option for exact case matching of nodes.
7540 * info-xref.el (info-xref): New custom group.
7541 (info-xref-case-fold): New option.
7542 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7543
7544 2013-07-03 Leo Liu <sdl.web@gmail.com>
7545
7546 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7547
7548 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7549
7550 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7551 middle of block statement initially, lower the depth. Remove
7552 FIXME comment, not longer valid. Remove middle of block statement
7553 detection, no need to do that anymore since we've been using
7554 `ruby-parse-region' here.
7555
7556 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7557
7558 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7559
7560 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7561
7562 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7563
7564 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7565
7566 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7567 (desktop-restore-in-current-display): New customization option.
7568 (desktop--excluded-frame-parameters): Add `font'.
7569 (desktop--save-frames): Rename from desktop--save-windows.
7570 (desktop--restore-in-this-display-p): New function.
7571 (desktop--make-full-frame): Remove unwanted width/height from
7572 full(width|height) frames.
7573 (desktop--restore-frames): Rename from desktop--restore-windows.
7574 Obey desktop-restore-current-display. Do not delete old frames or
7575 select a new frame unless we were able to restore at least one frame.
7576
7577 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7578
7579 * files.el (find-file-noselect): Simplify conditional expression.
7580
7581 * textmodes/remember.el (remember-append-to-file):
7582 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7583
7584 Add `remember-notes' function to store random notes across Emacs
7585 restarts.
7586 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7587 notes buffer (if any).
7588 (remember-notes): New command.
7589 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7590 New defcustoms for the `remember-notes' function.
7591 (remember-notes-save-and-bury-buffer): New command.
7592 (remember-notes-mode-map): New variable.
7593 (remember-mode): New minor mode.
7594 (remember-notes--kill-buffer-query): New function.
7595 * startup.el (initial-buffer-choice): Add notes to custom type.
7596
7597 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7598
7599 * bindings.el (right-char, left-char): Don't call sit-for, this is
7600 no longer needed. Use arithmetic comparison only for numerical
7601 arguments.
7602
7603 * international/mule-cmds.el (select-safe-coding-system):
7604 Handle the case of FROM being a string correctly. (Bug#14755)
7605
7606 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7607
7608 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7609 progression on degenerate tables.
7610 (shr-rescale-image): ImageMagick animated images currently don't work.
7611
7612 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7613
7614 Some fixes and improvements for desktop frame restoration.
7615 It is still experimental and disabled by default.
7616 * desktop.el (desktop--save-windows): Put the selected frame at
7617 the head of the list.
7618 (desktop--make-full-frame): New function.
7619 (desktop--restore-windows): Try to re-select the frame that was
7620 selected upon saving. Do not abort if some frames fail to restore,
7621 just show an error message and continue. Set up maximized frames
7622 so they have default non-maximized dimensions.
7623
7624 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7625
7626 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7627 Don't start heredoc inside a string or comment.
7628
7629 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7630
7631 * bindings.el (visual-order-cursor-movement): New defcustom.
7632 (right-char, left-char): Provide visual-order cursor motion by
7633 calling move-point-visually. Update the doc strings.
7634
7635 2013-06-28 Kenichi Handa <handa@gnu.org>
7636
7637 * international/mule.el (define-coding-system): New coding system
7638 properties :inhibit-null-byte-detection,
7639 :inhibit-iso-escape-detection, and :prefer-utf-8.
7640 (set-buffer-file-coding-system): If :charset-list property of
7641 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7642 appropriate for setting.
7643
7644 * international/mule-cmds.el (select-safe-coding-system):
7645 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7646 multibyte characters, return utf-8 (or one of its siblings).
7647
7648 * international/mule-conf.el (prefer-utf-8): New coding system.
7649 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7650 files.
7651
7652 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7653
7654 * net/shr.el (shr-render-region): New function.
7655
7656 * net/eww.el: Autoload `eww-browse-url'.
7657
7658 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7659
7660 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7661 Adapt to `package-desc-version' being a list.
7662 Use `package--ac-desc-version' to retrieve version from a package
7663 archive element.
7664
7665 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7666
7667 New experimental feature to save&restore window and frame setup.
7668 * desktop.el (desktop-save-windows): New defcustom.
7669 (desktop--saved-states): New var.
7670 (desktop--excluded-frame-parameters): New defconst.
7671 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7672 (desktop--restore-windows, desktop--save-windows): New functions.
7673 (desktop-save): Call `desktop--save-windows'.
7674 (desktop-read): Call `desktop--restore-windows'.
7675
7676 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7677
7678 * net/shr.el (add-face-text-property): Remove compat definition.
7679
7680 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7681
7682 * info.el (Info-try-follow-nearest-node): Move search for footnote
7683 above search for node name to prevent missing a footnote (bug#14717).
7684
7685 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7686
7687 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7688
7689 2013-06-27 Leo Liu <sdl.web@gmail.com>
7690
7691 * net/eww.el (eww-read-bookmarks): Check file size.
7692
7693 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7694
7695 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7696 advice--pending if newdef is nil or an autoload (bug#13820).
7697 (advice-mapc): New function.
7698
7699 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7700
7701 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7702 probably.
7703 (eww-mode-map): Add a menu bar.
7704 (eww-add-bookmark): New command.
7705 (eww-bookmark-mode): New mode and commands.
7706 (eww-add-bookmark): Remove newlines from the title.
7707 (eww-bookmark-browse): Don't bug out if it's the only window.
7708
7709 2013-06-26 Glenn Morris <rgm@gnu.org>
7710
7711 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7712 (hfy-size): Handle ttys. (Bug#14668)
7713
7714 * info-xref.el: Update for Texinfo 5 change in *note format.
7715 (info-xref-node-re, info-xref-note-re): New constants.
7716 (info-xref-check-buffer): Use info-xref-note-re.
7717
7718 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7719
7720 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7721
7722 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7723 nil terminate the loop (bug#14718).
7724
7725 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7726
7727 * net/eww.el: Rework history traversal. When going forward/back,
7728 put these actions into the history, too, so that they can be
7729 replayed.
7730 (eww-render): Move the history reset to the correct buffer.
7731
7732 2013-06-25 Juri Linkov <juri@jurta.org>
7733
7734 * files-x.el (modify-dir-local-variable): Change the header comment
7735 in the file with directory local variables. (Bug#14692)
7736
7737 * files-x.el (read-file-local-variable-value): Add `default'.
7738 (Bug#14710)
7739
7740 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7741
7742 * net/eww.el (eww-make-unique-file-name): Create a unique file
7743 name before saving to entering `y' accidentally asynchronously.
7744
7745 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7746
7747 * net/eww.el (eww-download): New command and keystroke.
7748
7749 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7750
7751 * net/eww.el (eww-copy-page-url): Change name of command.
7752
7753 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7754 be more consistent with Info and dired.
7755
7756 * net/eww.el (eww-mode-map): Ditto.
7757
7758 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7759
7760 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7761 packages from archives.
7762 (package-archive-contents): Change format; include obsolete packages.
7763 (package-desc): Use `dir' to mark builtin packages.
7764 (package--from-builtin): Set the `dir' field to `builtin'.
7765 (generated-autoload-file, version-control): Declare.
7766 (package-compute-transaction): Change first arg and return value to be
7767 lists of package-descs. Adjust to new package-archive-contents format.
7768 (package--add-to-archive-contents): Adjust to new
7769 package-archive-contents format.
7770 (package-download-transaction): Arg is now a list of package-descs.
7771 (package-install): If `pkg' is a package name, pass it as
7772 a requirement, so it is subject to the usual (e.g. disabled) checks.
7773 (describe-package): Accept package-desc as well.
7774 (describe-package-1): Describe a specific package-desc. Add links to
7775 other package-descs for the same package name.
7776 (package-menu-describe-package): Pass the actual package-desc.
7777 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7778 works correctly.
7779 (package-desc-status): New function.
7780 (package-menu--refresh): New function, extracted
7781 from package-menu--generate.
7782 (package-menu--generate): Use it.
7783 (package-delete): Update package-alist.
7784 (package-menu-execute): Don't call package-initialize.
7785
7786 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7787 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7788 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7789 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7790 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7791 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7792
7793 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7794
7795 * window.el (window--state-get-1): Workaround for bug#14527.
7796 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7797
7798 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7799
7800 * net/eww.el (eww-back-url): Implement the history by stashing all
7801 the data into a list.
7802 (eww-forward-url): Allow going forward in the history, too.
7803
7804 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7805
7806 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7807 for values and use read--expression for expressions (bug#14710).
7808 (read-file-local-variable): Avoid setq.
7809 (read-file-local-variable-mode): Use minor-mode-list.
7810
7811 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7812
7813 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7814 for DOI URLs.
7815
7816 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7817
7818 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7819 Update imenu-support when dialect changes.
7820
7821 2013-06-25 Leo Liu <sdl.web@gmail.com>
7822
7823 * ido.el (ido-read-internal): Allow forward slash on windows.
7824
7825 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7826
7827 * net/eww.el (eww): Start of strings is \\`, not ^.
7828
7829 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7830
7831 * net/shr.el (shr-browse-url): Fix interactive spec.
7832
7833 * net/eww.el (eww): Add a trailing slash to domain names.
7834
7835 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7836
7837 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7838
7839 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7840
7841 * net/shr.el (shr-browse-url): Use an external browser if given a
7842 prefix.
7843
7844 * net/eww.el (eww-external-browser): Move to shr.
7845
7846 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7847
7848 * net/eww.el (eww): Work more correctly for file: URLs.
7849 (eww-detect-charset): Allow quoted charsets.
7850 (eww-yank-page-url): New command and keystroke.
7851
7852 2013-06-24 Daiki Ueno <ueno@gnu.org>
7853
7854 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7855 file name of gpg executable.
7856 (epg-context-program): New function.
7857 (epg-context-home-directory): New function.
7858 (epg-context-set-program): New function.
7859 (epg-context-set-home-directory): New function.
7860 (epg--start): Use `epg-context-program' instead of
7861 'epg-gpg-program'.
7862 (epg--list-keys-1): Likewise.
7863
7864 2013-06-24 Leo Liu <sdl.web@gmail.com>
7865
7866 * ido.el (ido-read-internal): Fix bug#14620.
7867
7868 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7869
7870 * faces.el (face-documentation): Simplify.
7871 (read-face-attribute, tty-find-type, x-resolve-font-name):
7872 Use `string-match-p'.
7873 (list-faces-display): Use `string-match-p'. Simplify.
7874 (face-spec-recalc): Check face to avoid face alias loops.
7875 (read-color): Use `string-match-p' and non-capturing parenthesis.
7876
7877 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7878
7879 * net/shr.el (shr-rescale-image): Use the new
7880 :max-width/:max-height functionality.
7881
7882 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7883
7884 * net/eww.el (eww-search-prefix): New variable.
7885 (eww): Use it.
7886 (eww-external-browser): New variable.
7887 (eww-mode-map): New keystroke.
7888 (eww-browse-with-external-browser): New command.
7889
7890 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7891
7892 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7893
7894 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7895 Don't skip aligning the next header field when padding is 0;
7896 otherwise, field width is not respected unless the title is as
7897 wide as the field.
7898
7899 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7900
7901 * emacs-lisp/package.el (package-el-version): Remove.
7902 (package-process-define-package): Fix inf-loop.
7903 (package-install): Allow symbols as arguments again.
7904
7905 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7906
7907 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7908 add some more keyword-like methods.
7909 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7910
7911 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7912
7913 * bs.el (bs-buffer-show-mark): Make defvar-local.
7914 (bs-mode): Use setq-local.
7915
7916 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7917 (emacs-lock--try-unlocking): Make defvar-local.
7918
7919 2013-06-22 Glenn Morris <rgm@gnu.org>
7920
7921 * play/cookie1.el (cookie-apropos): Minor simplification.
7922
7923 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7924
7925 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7926
7927 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7928 `regexp-opt', it breaks the build during dumping.
7929
7930 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7931
7932 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7933 Highlight keyword-like methods on Kernel and Module with
7934 font-lock-builtin-face.
7935 (auto-mode-alist): Consolidate different entries into one regexp
7936 and add more *file-s.
7937
7938 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7939
7940 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7941
7942 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7943 (diary-entry): Use it in the action of this button type instead of
7944 diary-goto-entry.
7945
7946 * calendar/todo-mode.el: New version.
7947 (todo-add-category): Append new category to end of file and give
7948 it the highest number, instead of putting it at the beginning and
7949 giving it 0. Incorporate noninteractive functionality.
7950 (todo-forward-category): Adapt to 1-based category numbering.
7951 Allow skipping over archived categories.
7952 (todo-backward-category): Derive from todo-forward-category.
7953 (todo-backward-item, todo-forward-item): Make noninteractive and
7954 delegate interactive part to new commands. Make sensitive to done items.
7955 (todo-categories): Make value an alist of category names and
7956 vectors of item counts.
7957 (todo-category-beg): Make a defconst.
7958 (todo-category-number): Use 1 instead of 0 as initial value.
7959 (todo-category-select): Make sensitive to overlays, optional item
7960 highlighting and done items.
7961 (todo-delete-item): Make sensitive to overlays and marked and done items.
7962 (todo-edit-item): Make sensitive to overlays and editing of
7963 date/time header optional. Add format checks.
7964 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7965 no-op if point is not on an item. Advertise using todo-edit-quit.
7966 (todo-edit-mode): Make sensitive to new format, font-locking, and
7967 multiple todo files.
7968 (todo-insert-item, todo-insert-item-here): Derive from
7969 todo-basic-insert-item and extend functionality.
7970 (todo-item-end, todo-item-start): Make sensitive to done items.
7971 (todo-item-string): Don't return text properties. Restore point.
7972 (todo-jump-to-category): Make sensitive to multiple todo files and
7973 todo archives. Use extended category completion.
7974 (todo-lower-item, todo-raise-item): Rename to *-priority and
7975 derive from todo-set-item-priority.
7976 (todo-mode): Derive from special-mode. Make sensitive to new
7977 format, font-locking and multiple todo files. Make read-only.
7978 (todo-mode-map): Don't suppress digit keys, so they can supply
7979 prefix arguments. Add many new key bindings.
7980 (todo-prefix): Insert as an overlay instead of file text.
7981 Change semantics from diary date expression to purely visual mark.
7982 (todo-print): Rename to todo-print-buffer. Make buffer display
7983 features printable. Remove option to restrict number of items
7984 printed. Add option to print to file.
7985 (todo-print-function): Rename to todo-print-buffer-function.
7986 (todo-quit): Extend to handle exiting new todo modes.
7987 (todo-remove-item): Make sensitive to overlays.
7988 (todo-save): Extend to buffers of filtered items.
7989 (todo-show): Make sensitive to done items, multiple todo files and
7990 new todo modes. Offer to convert legacy todo file before creating
7991 first new todo file.
7992 (todo-show-priorities): Rename to todo-top-priorities.
7993 Change semantics of value 0.
7994 (todo-top-priorities): Rename to todo-filter-top-priorities,
7995 derive from todo-filter-items and extend functionality.
7996 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7997 and extend functionality to other types of filtered items.
7998 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7999 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8000 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8001 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8002 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8003 (todo-edit-mode-hook, todo-entry-prefix-function)
8004 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8005 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8006 (todo-initials, todo-insert-threshold, todo-item-string-start)
8007 (todo-line-string, todo-menu, todo-mode-hook)
8008 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8009 (todo-print-priorities, todo-remove-separator)
8010 (todo-save-top-priorities-too, todo-string-count-lines)
8011 (todo-string-multiline-p, todo-time-string-format)
8012 (todo-tmp-buffer-name): Remove.
8013 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8014 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8015 (todo-edit-category-diary-inclusion)
8016 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8017 (todo-edit-file, todo-edit-item-date-day)
8018 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8019 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8020 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8021 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8022 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8023 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8024 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8025 (todo-filter-top-priorities-multifile, todo-find-archive)
8026 (todo-find-filtered-items-file, todo-go-to-source-item)
8027 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8028 (todo-jump-to-archive-category, todo-lower-category)
8029 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8030 (todo-move-category, todo-move-item, todo-next-button)
8031 (todo-next-item, todo-padded-string, todo-powerset)
8032 (todo-previous-button, todo-previous-item)
8033 (todo-print-buffer-to-file, todo-raise-category)
8034 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8035 (todo-set-category-number, todo-set-item-priority)
8036 (todo-set-top-priorities-in-category)
8037 (todo-set-top-priorities-in-file, todo-show-categories-table)
8038 (todo-sort-categories-alphabetically-or-numerically)
8039 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8040 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8041 (todo-toggle-item-header, todo-toggle-item-highlighting)
8042 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8043 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8044 (todo-unarchive-items, todo-unmark-category): New commands.
8045 (todo-absolute-file-name, todo-add-to-buffer-list)
8046 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8047 (todo-basic-insert-item, todo-category-completions)
8048 (todo-category-number, todo-category-string-matcher-1)
8049 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8050 (todo-check-format, todo-clear-matches)
8051 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8052 (todo-current-category, todo-date-string-matcher)
8053 (todo-define-insertion-command, todo-diary-expired-matcher)
8054 (todo-diary-goto-entry, todo-diary-item-p)
8055 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8056 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8057 (todo-done-item-section-p, todo-done-separator)
8058 (todo-done-string-matcher, todo-files, todo-filter-items)
8059 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8060 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8061 (todo-insert-category-line, todo-insert-item-from-calendar)
8062 (todo-insert-sort-button, todo-insert-with-overlays)
8063 (todo-insertion-command-name, todo-insertion-key-bindings)
8064 (todo-label-to-key, todo-longest-category-name-length)
8065 (todo-make-categories-list, todo-mode-external-set)
8066 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8067 (todo-modes-set-3, todo-multiple-filter-files)
8068 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8069 (todo-read-category, todo-read-date, todo-read-dayname)
8070 (todo-read-file-name, todo-read-time)
8071 (todo-reevaluate-category-completions-files-defcustom)
8072 (todo-reevaluate-default-file-defcustom)
8073 (todo-reevaluate-filelist-defcustoms)
8074 (todo-reevaluate-filter-files-defcustom)
8075 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8076 (todo-reset-done-separator, todo-reset-done-separator-string)
8077 (todo-reset-done-string, todo-reset-global-current-todo-file)
8078 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8079 (todo-reset-prefix, todo-set-categories)
8080 (todo-set-date-from-calendar, todo-set-show-current-file)
8081 (todo-set-top-priorities, todo-short-file-name)
8082 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8083 (todo-total-item-counts, todo-update-buffer-list)
8084 (todo-update-categories-display, todo-update-categories-sexp)
8085 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8086 New functions.
8087 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8088 New major modes.
8089 (todo-categories, todo-display, todo-edit, todo-faces)
8090 (todo-filtered): New defgroups.
8091 (todo-archived-only, todo-button, todo-category-string, todo-date)
8092 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8093 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8094 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8095 (todo-add-item-if-new-category, todo-always-add-time-string)
8096 (todo-categories-align, todo-categories-archived-label)
8097 (todo-categories-category-label, todo-categories-diary-label)
8098 (todo-categories-done-label, todo-categories-number-separator)
8099 (todo-categories-todo-label, todo-categories-totals-label)
8100 (todo-category-completions-files, todo-completion-ignore-case)
8101 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8102 (todo-done-separator-string, todo-done-string)
8103 (todo-files-function, todo-filter-done-items, todo-filter-files)
8104 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8105 (todo-initial-category, todo-initial-file, todo-item-mark)
8106 (todo-legacy-date-time-regexp, todo-mode-line-function)
8107 (todo-nondiary-marker, todo-number-prefix)
8108 (todo-print-buffer-function, todo-show-current-file)
8109 (todo-show-done-only, todo-show-first, todo-show-with-done)
8110 (todo-skip-archived-categories, todo-top-priorities-overrides)
8111 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8112 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8113 New defcustoms.
8114 (todo-category-done, todo-date-pattern, todo-date-string-start)
8115 (todo-diary-items-buffer, todo-done-string-start)
8116 (todo-filtered-items-buffer, todo-item-start)
8117 (todo-month-abbrev-array, todo-month-name-array)
8118 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8119 (todo-top-priorities-buffer): New defconsts.
8120 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8121 (todo-categories-with-marks, todo-category-string-face)
8122 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8123 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8124 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8125 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8126 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8127 (todo-font-lock-keywords, todo-global-current-todo-file)
8128 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8129 (todo-insertion-commands-args)
8130 (todo-insertion-commands-args-genlist)
8131 (todo-insertion-commands-names, todo-insertion-map)
8132 (todo-key-bindings-t, todo-key-bindings-t+a)
8133 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8134 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8135 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8136 (todo-visited): New variables.
8137
8138 2013-06-21 Glenn Morris <rgm@gnu.org>
8139
8140 * play/cookie1.el (cookie-apropos): Add optional display argument.
8141 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8142 (psychoanalyze-pinhead): Use cookie-doctor.
8143
8144 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8145
8146 * emacs-lisp/package.el (tar-get-file-descriptor)
8147 (tar--extract): Declare.
8148
8149 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8150
8151 Extend flymake's warning predicate to be a function (bug#14217).
8152 * progmodes/flymake.el (flymake-warning-predicate): New.
8153 (flymake-parse-line): Use it.
8154 (flymake-warning-re): Make obsolete alias to
8155 `flymake-warning-predicate'.
8156
8157 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8160 (package-obsolete-list): Remove.
8161 (package-activate): Remove min-version argument. Add `force' argument.
8162 Adjust to new package-alist format.
8163 (package-mark-obsolete): Remove.
8164 (package-unpack): Force reload of the package's autoloads.
8165 (package-installed-p): Check builtins if the installed package is not
8166 recent enough.
8167 (package-initialize): Don't reset package-obsolete-list.
8168 Don't specify which package version to activate.
8169 (package-process-define-package, describe-package-1)
8170 (package-menu--generate): Adjust to new package-alist format.
8171
8172 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8173
8174 * allout-widgets.el (allout-widgets-mode-off)
8175 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8176 (allout-widgets-post-command-business)
8177 (allout-widgets-after-copy-or-kill-function)
8178 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8179 (allout-decorate-item-and-context)
8180 (allout-graphics-modification-handler): Fix typos in docstrings.
8181 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8182
8183 * cmuscheme.el (scheme-start-file): Doc fix.
8184 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8185 (scheme-input-filter): Use `string-match-p'.
8186
8187 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8188
8189 * dired-x.el: Use Dired consistently in docstrings.
8190
8191 * dired.el: Use Dired consistently in docstrings.
8192 (dired-readin, dired-mode): Use `setq-local'.
8193 (dired-switches-alist): Make defvar-local.
8194 (dired-buffers-for-dir): Use `zerop'.
8195 (dired-safe-switches-p, dired-switches-escape-p)
8196 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8197 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8198 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8199 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8200 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8201 (dired-toggle-marks, dired-mark-files-containing-regexp)
8202 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8203 (dired-flag-auto-save-files, dired-flag-backup-files):
8204 Use `looking-at-p'.
8205 (dired-mark-files-regexp, dired-build-subdir-alist):
8206 Use `string-match-p', `looking-at-p'.
8207
8208 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8209 (direct-print-region-helper): Use `string-match-p'.
8210
8211 2013-06-21 Leo Liu <sdl.web@gmail.com>
8212
8213 * comint.el (comint-redirect-results-list-from-process):
8214 Fix infinite loop.
8215
8216 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8217
8218 * net/eww.el (eww-update-header-line-format): Quote % characters.
8219
8220 2013-06-21 Glenn Morris <rgm@gnu.org>
8221
8222 * play/cookie1.el (cookie): New custom group.
8223 (cookie-file): New option.
8224 (cookie-check-file): New function.
8225 (cookie): Make it interactive. Make start and end messages optional.
8226 Interactively, display the result. Default to cookie-file.
8227 (cookie-insert): Default to cookie-file.
8228 (cookie-snarf): Make start and end messages optional.
8229 Default to cookie-file. Use with-temp-buffer.
8230 (cookie-read): Rename from read-cookie.
8231 Make start and end messages optional. Default to cookie-file.
8232 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8233 Do not autoload it.
8234 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8235 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8236
8237 2013-06-21 Leo Liu <sdl.web@gmail.com>
8238
8239 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8240
8241 2013-06-21 Glenn Morris <rgm@gnu.org>
8242
8243 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8244
8245 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8246 Daniel Hackney <dan@haxney.org>
8247
8248 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8249 Consolidate the single-file vs tarball code.
8250 (package-desc-suffix): New function.
8251 (package-desc-full-name): Don't bother inlining it.
8252 (package-load-descriptor): Return the new package-desc.
8253 (package-mark-obsolete): Remove unused arg `package'.
8254 (package-unpack): Make it work for single files as well.
8255 Make it update package-alist.
8256 (package--make-autoloads-and-stuff): Rename from
8257 package--make-autoloads-and-compile. Don't compile any more.
8258 (package--compile): New function.
8259 (package-generate-description-file): New function, extracted from
8260 package-unpack-single.
8261 (package-unpack-single): Remove.
8262 (package--with-work-buffer): Add indentation and debugging info.
8263 (package-download-single): Remove.
8264 (package-install-from-archive): Rename from package-download-tar, make
8265 it take a pkg-desc, and make it work for single files as well.
8266 (package-download-transaction): Simplify.
8267 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8268 external tar program.
8269 (package-install-from-buffer): Remove `pkg-desc' argument.
8270 Use package-tar-file-info for tar-mode buffers.
8271 (package-install-file): Simplify accordingly.
8272 (package-archive-base): Change to take a pkg-desc.
8273 * tar-mode.el (tar--check-descriptor): New function, extracted from
8274 tar-get-descriptor.
8275 (tar-get-descriptor): Use it.
8276 (tar-get-file-descriptor): New function.
8277 (tar--extract): New function, extracted from tar-extract.
8278 (tar--extract): Use it.
8279 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8280 case the summary uses non-ascii. Adjust to new calling convention of
8281 package-tar-file-info.
8282
8283 2013-06-21 Leo Liu <sdl.web@gmail.com>
8284
8285 * comint.el (comint-redirect-results-list-from-process):
8286 Fix random delay. (Bug#14681)
8287
8288 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8289
8290 * profiler.el (profiler-format-number): Use log, not log10.
8291
8292 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8293
8294 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8295
8296 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8297
8298 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8299 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8300 yet available.
8301 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8302 (AUTOGENEL): ... here.
8303 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8304 (cl--defsubst-expand): Use it.
8305
8306 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8307
8308 * subr.el (log10): Move here from C code, and declare as obsolete.
8309 All uses of (log10 X) replaced with (log X 10).
8310
8311 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8312
8313 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8314 Declare with `defvar-local'.
8315 (tabulated-list-use-header-line, tabulated-list-entries)
8316 (tabulated-list-padding, tabulated-list-printer)
8317 (tabulated-list-sort-key): Declare with `defvar-local'.
8318 (tabulated-list-init-header, tabulated-list-print-fake-header):
8319 Use `setq-local'.
8320
8321 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8322
8323 * arc-mode.el (archive-mode): Add `archive-write-file' to
8324 `write-contents-functions' also for remote files. (Bug#14652)
8325
8326 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8327
8328 * cus-edit.el (custom-commands): Fix typos.
8329 (custom-display): Fix tooltip text.
8330 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8331 Fix typos in docstrings.
8332 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8333 (custom-unlispify-menu-entry, custom-magic-value-create)
8334 (custom-add-see-also, custom-group-value-create): Use ?\s.
8335 (custom-guess-type, customize-apropos, editable-field)
8336 (custom-face-value-create): Use `string-match-p'.
8337 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8338
8339 * custom.el (custom-load-symbol): Use `string-match-p'.
8340
8341 * ansi-color.el: Convert to lexical binding.
8342 (ansi-colors): Fix URL.
8343 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8344 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8345 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8346
8347 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8348
8349 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8350
8351 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8352
8353 2013-06-19 Tom Tromey <tromey@redhat.com>
8354
8355 * net/eww.el (eww-top-url): Remove.
8356 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8357 (eww-render): Set new variables. Don't set eww-top-url.
8358 (eww-handle-link): Handle "prev", "home", and "contents".
8359 Downcase the rel text.
8360 (eww-top-url): Choose best top URL.
8361
8362 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8363
8364 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8365 relying in widget.el. Using widget.el leads to too many
8366 user interface inconsistencies.
8367 (eww-self-insert): Implement entering commands in text fields.
8368 (eww-process-text-input): New function to make text input field editing
8369 work.
8370 (eww-submit): Rewrite to use the new-style form methods.
8371 (eww-select-display): Display the correct selected item.
8372 (eww-change-select): Implement changing the select value.
8373 (eww-toggle-checkbox): Implement radio/checkboxes.
8374 (eww-update-field): Fix compilation error.
8375 (eww-tag-textarea): Implement <textarea>.
8376
8377 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8378 we don't shadow mode-specific bindings.
8379
8380 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8381 nothing to push.
8382
8383 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8384
8385 2013-06-19 Glenn Morris <rgm@gnu.org>
8386
8387 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8388
8389 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8390
8391 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8392 not needed.
8393
8394 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8395
8396 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8397
8398 * net/browse-url.el (browse-url-browser-function):
8399 `eww-browse-url' has the right calling signature, `eww' does not.
8400
8401 2013-06-19 Glenn Morris <rgm@gnu.org>
8402
8403 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8404 Only eval autoloaded macros.
8405 (byte-compile-autoload): Only give the macro warning for macros.
8406
8407 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8408 (ps-underlined-faces): Declare.
8409
8410 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8411 (speedbar-add-supported-extension): Declare.
8412
8413 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8414 Don't include a date stamp in the header of the generated file;
8415 it leads to needless differences between output files.
8416
8417 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8418
8419 * net/secrets.el (secrets-struct-secret-content-type):
8420 Replace check of introspection data by a test call of "CreateItem".
8421 Some servers do not offer introspection.
8422
8423 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8424
8425 * electric.el (electric-pair-mode): Improve interaction with
8426 electric-layout-mode.
8427 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8428 (electric-pair-syntax): Use text-mode-syntax-table in comments
8429 and strings.
8430 (electric-pair--insert): New function.
8431 (electric-pair-post-self-insert-function): Use it and
8432 electric--after-char-pos.
8433
8434 2013-06-19 Leo Liu <sdl.web@gmail.com>
8435
8436 * progmodes/octave.el (octave-help): Fix regexp.
8437
8438 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8439
8440 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8441 (shr-table-horizontal-line): Allow nil as a value, and change the
8442 default.
8443 (shr-insert-table-ruler): Respect the nil value.
8444
8445 2013-06-18 Tom Tromey <tromey@barimba>
8446
8447 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8448 New defvars.
8449 (eww-open-file): New defun.
8450 (eww-render): Initialize new variables.
8451 (eww-display-html): Handle "link" and "a".
8452 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8453 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8454 (eww-back-url): Rename from eww-previous-url.
8455 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8456 New defuns.
8457
8458 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8459
8460 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8461 Distinguish ternary operator tokens from slash symbol and slash
8462 char literal.
8463
8464 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8465
8466 Convert symbol prettification into minor mode and global minor mode.
8467
8468 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8469 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8470 (prettify-symbols--keywords): Rename from
8471 `prog-prettify-symbols-alist' and make a local defvar.
8472 (prettify-symbols--compose-symbol): Rename from
8473 `prog--prettify-font-lock-compose-symbol'.
8474 (prettify-symbols--make-keywords): Rename from
8475 `prog-prettify-font-lock-symbols-keywords' and simplify.
8476 (prog-prettify-install): Remove.
8477 (prettify-symbols-mode): New minor mode, based on
8478 `prog-prettify-install'.
8479 (turn-on-prettify-symbols-mode): New function.
8480 (global-prettify-symbols-mode): New globalized minor mode.
8481
8482 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8483 * progmodes/cfengine.el (cfengine3-mode):
8484 * progmodes/perl-mode.el (perl-mode): Don't call
8485 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8486
8487 2013-06-18 Juri Linkov <juri@jurta.org>
8488
8489 * files-x.el (modify-file-local-variable-message): New function.
8490 (modify-file-local-variable)
8491 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8492 and call `modify-file-local-variable-message' when it's non-nil.
8493 (add-file-local-variable, delete-file-local-variable)
8494 (add-file-local-variable-prop-line)
8495 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8496 and use it. (Bug#9820)
8497
8498 2013-06-18 Juri Linkov <juri@jurta.org>
8499
8500 * emulation/vi.el (vi-shell-op):
8501 * emulation/vip.el (vip-execute-com, ex-command):
8502 * emulation/viper-cmd.el (viper-exec-bang):
8503 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8504 the call of `shell-command-on-region'. (Bug#14637)
8505
8506 * simple.el (shell-command-on-region): Doc fix.
8507
8508 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8509
8510 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8511 (bug#14633).
8512
8513 2013-06-18 Glenn Morris <rgm@gnu.org>
8514
8515 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8516
8517 * newcomment.el (comment-search-forward, comment-search-backward):
8518 Doc fix. (Bug#14376)
8519
8520 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8521
8522 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8523 (buffer-face-mode-invoke): Doc fix.
8524
8525 2013-06-18 Matthias Meulien <orontee@gmail.com>
8526
8527 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8528 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8529
8530 2013-06-18 Glenn Morris <rgm@gnu.org>
8531
8532 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8533 Replace obsolete function generic-make-keywords with its expansion.
8534
8535 * progmodes/python.el (ffap-alist): Declare.
8536
8537 * textmodes/reftex.el (bibtex-mode-map): Declare.
8538
8539 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8540
8541 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8542 (package-unpack, package-unpack-single): Return the pkg-dir.
8543 (package-download-transaction): Use it to update package-alist.
8544
8545 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8546
8547 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8548 possible choice.
8549
8550 2013-06-17 Juri Linkov <juri@jurta.org>
8551
8552 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8553
8554 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8555
8556 * emacs-lisp/package.el (package-load-descriptor):
8557 Remove `with-syntax-table' call, `read' doesn't need it.
8558 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8559
8560 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8561
8562 * startup.el (command-line): Expand package name returned by
8563 `package--description-file' (bug#14639).
8564
8565 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8566
8567 * emacs-lisp/package.el (package-load-descriptor): Do not call
8568 `emacs-lisp-mode', just use its syntax table.
8569
8570 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8571
8572 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8573 `font-lock-extra-managed-props' if any prettifying keyword is added.
8574 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8575 (prog-mode): Use `setq-local'.
8576
8577 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8578
8579 * international/characters.el (standard-case-table): Set syntax of ?»
8580 and ?« to punctuation.
8581
8582 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8583
8584 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8585 Save relevant match data before calling `syntax-ppss' (bug#14595).
8586
8587 2013-06-15 Juri Linkov <juri@jurta.org>
8588
8589 * files-x.el (modify-file-local-variable-prop-line): Add local
8590 variables to the end of the existing comment on the first line.
8591 Use `file-auto-mode-skip' to skip interpreter magic line,
8592 and also skip XML declaration.
8593
8594 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8595
8596 * startup.el (package--builtin-versions): New var.
8597 (package-subdirectory-regexp): Remove.
8598 (package--description-file): Hard code its value instead.
8599
8600 * emacs-lisp/package.el: Don't activate packages older than builtin.
8601 (package-obsolete-list): Rename from package-obsolete-alist, and make
8602 it into a simple list of package-desc.
8603 (package-strip-version): Remove.
8604 (package-built-in-p): Use package--builtin-versions.
8605 (package-mark-obsolete): Simplify.
8606 (package-process-define-package): Mark it obsolete if older than the
8607 builtin version.
8608 (package-handle-response): Use line-end-position.
8609 (package-read-archive-contents, package--download-one-archive):
8610 Simplify.
8611 (package--add-to-archive-contents): Skip if older than the builtin or
8612 installed version.
8613 (package-menu-describe-package): Fix last change.
8614 (package-list-unversioned): New var.
8615 (package-menu--generate): Use it.
8616
8617 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8618 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8619 (autoload-builtin-package-versions): New variable.
8620 (autoload-generate-file-autoloads): Use them.
8621 Remove the list of autoloaded functions/macros from the
8622 (autoload...) comments.
8623
8624 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8625
8626 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8627
8628 * simple.el (line-move-partial): Don't jump to the next screen
8629 line as soon as it becomes visible. Instead, continue enlarging
8630 the vscroll until the portion of a tall screen line that's left on
8631 display is about the height of the frame's default font.
8632 (Bug#14567)
8633
8634 2013-06-15 Glenn Morris <rgm@gnu.org>
8635
8636 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8637 compilation-error-regexp-alist void, or local while let-bound.
8638
8639 * progmodes/make-mode.el (makefile-mode-syntax-table):
8640 Treat "=" as punctuation. (Bug#14614)
8641
8642 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8643
8644 * help-fns.el (describe-variable):
8645 Add extra line for permanent-local variables.
8646
8647 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8648
8649 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8650 Add export, import, library. (Bug#9164)
8651 (library): Set indent function.
8652
8653 2013-06-14 Glenn Morris <rgm@gnu.org>
8654
8655 * term/xterm.el (xterm--query):
8656 Stop after first matching handler. (Bug#14615)
8657
8658 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8659
8660 Add support for dired in saveplace.
8661 * dired.el (dired-initial-position-hook): New variable.
8662 (dired-initial-position): Call hook to place cursor position.
8663 * saveplace.el (save-place-to-alist): Add dired position.
8664 (save-place-dired-hook): New function.
8665
8666 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8667
8668 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8669 through a symbol rather than letrec.
8670
8671 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8672 (package-desc): Add `dir' field.
8673 (package-desc-full-name): New function.
8674 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8675 (package-maybe-load-descriptor): Remove.
8676 (package-load-all-descriptors): Just call package-load-descriptor.
8677 (package--disabled-p): New function.
8678 (package-desc-vers, package-desc-doc): Remove aliases.
8679 (package--dir): Remove function.
8680 (package-activate): Check if a package is disabled.
8681 (package-process-define-package): New function, extracted from
8682 define-package.
8683 (define-package): Turn into a place holder.
8684 (package-unpack-single, package-tar-file-info):
8685 Use package--description-file.
8686 (package-compute-transaction): Use package--disabled-p.
8687 (package-download-transaction): Don't call
8688 package-maybe-load-descriptor since they're all loaded anyway.
8689 (package-install): Change argument to be a pkg-desc.
8690 (package-delete): Use a single pkg-desc argument.
8691 (describe-package-1): Use package-desc-dir instead of package--dir.
8692 Use package-desc property instead of package-symbol.
8693 (package-install-button-action): Adjust accordingly.
8694 (package--push): Rewrite.
8695 (package-menu--print-info): Adjust accordingly. Change the ID format
8696 to be a pkg-desc.
8697 (package-menu-describe-package, package-menu-get-status)
8698 (package-menu--find-upgrades, package-menu-mark-upgrades)
8699 (package-menu-execute, package-menu--name-predicate):
8700 Adjust accordingly.
8701 * startup.el (package--description-file): New function.
8702 (command-line): Use it.
8703 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8704 Use package-desc-version.
8705
8706 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8707 (byte-compile-preprocess): Use it.
8708 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8709 can't quite recognize.
8710 (byte-compile-add-to-list): Remove.
8711 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8712 (cconv-closure-convert): Add assertion.
8713
8714 * emacs-lisp/map-ynp.el: Use lexical-binding.
8715 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8716 Factor out some repeated code.
8717
8718 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 * subr.el (with-eval-after-load): New macro.
8721 (eval-after-load): Allow form to be a function.
8722 take advantage of lexical-binding.
8723 (do-after-load-evaluation): Use dolist and adjust to new format.
8724 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8725
8726 2013-06-13 Juri Linkov <juri@jurta.org>
8727
8728 * replace.el (perform-replace): Display "symbol " and other search
8729 modes from `isearch-message-prefix' in the *Help* buffer.
8730
8731 * isearch.el (isearch-query-replace): Add " symbol" and other
8732 possible search modes from `isearch-message-prefix' to the prompt.
8733 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8734 when reading a regexp to collect.
8735
8736 2013-06-13 Juri Linkov <juri@jurta.org>
8737
8738 * isearch.el (word-search-regexp): Match whitespace if the search
8739 string begins or ends in whitespace. The LAX arg is applied to
8740 both ends of the search string. Use `regexp-quote' and explicit
8741 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8742 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8743 boundaries are replaced with symbol boundaries, and characters
8744 between symbols match non-word non-symbol syntax. (Bug#14602)
8745
8746 2013-06-13 Juri Linkov <juri@jurta.org>
8747
8748 * isearch.el (isearch-del-char): Don't exceed the length of
8749 `isearch-string' by the prefix arg. (Bug#14563)
8750
8751 2013-06-13 Juri Linkov <juri@jurta.org>
8752
8753 * isearch.el (isearch-yank-word, isearch-yank-line)
8754 (isearch-char-by-name, isearch-quote-char)
8755 (isearch-printing-char, isearch-process-search-char):
8756 Add optional count prefix arg. (Bug#14563)
8757
8758 * international/isearch-x.el
8759 (isearch-process-search-multibyte-characters):
8760 Add optional count prefix arg.
8761
8762 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8763
8764 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8765 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8766 lexical-binding.
8767
8768 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8769
8770 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8771
8772 2013-06-13 Glenn Morris <rgm@gnu.org>
8773
8774 * startup.el (tty-handle-args):
8775 Don't just discard "--" and anything after. (Bug#14608)
8776
8777 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8778
8779 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8780
8781 Implement changes in Secret Service API. Make it backward compatible.
8782 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8783 (secrets-create-item): Use it. Prefix properties with interface.
8784
8785 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8786
8787 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8788 (term-emulate-terminal): Respect term-suppress-hard-newline.
8789
8790 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8791
8792 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8793 Only remove a `thumb-file' overlay. (Bug#14548)
8794
8795 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8796
8797 * mail/reporter.el (reporter-submit-bug-report):
8798 Handle missing package-name. (Bug#14600)
8799
8800 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8801
8802 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8803 (reftex-citation-prompt, reftex-default-bibliography)
8804 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8805 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8806 (reftex-bib-sort-author, reftex-bib-sort-year)
8807 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8808 (reftex-extract-bib-entries-from-thebibliography)
8809 (reftex-get-bibkey-default, reftex-get-bib-names)
8810 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8811 (reftex-format-bib-entry, reftex-parse-bibitem)
8812 (reftex-format-bibitem, reftex-do-citation)
8813 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8814 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8815 (reftex-insert-bib-matches, reftex-format-citation)
8816 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8817 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8818 existing comments into docstrings.
8819
8820 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8821
8822 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8823
8824 2013-06-12 Andreas Schwab <schwab@suse.de>
8825
8826 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8827 for auto-save files.
8828
8829 2013-06-12 Glenn Morris <rgm@gnu.org>
8830
8831 * ido.el (ido-delete-ignored-files): Remove.
8832 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8833 Go back to calling ido-ignore-item-p directly.
8834
8835 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8836
8837 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8838
8839 * ido.el (ido-delete-ignored-files): New function,
8840 split from ido-make-file-list-1.
8841 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8842 (ido-make-file-list-1): Use ido-delete-ignored-files.
8843
8844 2013-06-12 Leo Liu <sdl.web@gmail.com>
8845
8846 * progmodes/octave.el (inferior-octave-startup)
8847 (inferior-octave-completion-table)
8848 (inferior-octave-track-window-width-change)
8849 (octave-eldoc-function-signatures, octave-help)
8850 (octave-find-definition): Use single quoted strings.
8851 (inferior-octave-startup-args): Change default value.
8852 (inferior-octave-startup): Do not hard code "-i" and
8853 "--no-line-editing".
8854 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8855 (inferior-octave-directory-tracker): Use it.
8856 (octave-goto-function-definition): Robustify.
8857 (octave-help): Support highlighting operators in 'See also'.
8858 (octave-find-definition): Find subfunctions only in Octave mode.
8859
8860 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8861
8862 * help-fns.el (help-fns--compiler-macro): If the handler function is
8863 named, then put a link to it.
8864 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8865 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8866 (cl-typep): Use it.
8867 (cl-eval-when): Simplify debug spec.
8868 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8869 compiler-macro function instead of setting `compiler-macro-file'.
8870
8871 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8872
8873 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8874 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8875
8876 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8877 Daniel Hackney <dan@haxney.org>
8878
8879 First part of Daniel Hackney's patch to package.el.
8880 * emacs-lisp/package.el: Use defstruct.
8881 (package-desc): New, main struct.
8882 (package--bi-desc, package--ac-desc): New structs, used to describe the
8883 format in external files.
8884 (package-desc-vers): Replace with package-desc-version accessor.
8885 (package-desc-doc): Replace with package-desc-summary accessor.
8886 (package-activate-1): Remove `package' arg since the pkg-vec now
8887 includes the name.
8888 (define-package): Use package-desc-from-define.
8889 (package-unpack-single): Change file-name arg to be a symbol.
8890 (package--add-to-archive-contents): Use package-desc-create and new
8891 accessor functions to package--ac-desc.
8892 (package-buffer-info, package-tar-file-info): Return a package-desc.
8893 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8894 arg to be a package-desc.
8895 (package-install-file): Adjust accordingly. Use \' to match EOS.
8896 (package--from-builtin): New function.
8897 (describe-package-1, package-menu--generate): Use it.
8898 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8899 (package-generate-autoloads): Idem and return the name of the file.
8900 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8901 Change pkg-info arg to be a package-desc.
8902 Use package-make-ac-desc.
8903 (package-upload-file): Use \' to match EOS.
8904 * finder.el (finder-compile-keywords): Use package-make-builtin.
8905
8906 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8907
8908 * vc/vc.el (vc-deduce-fileset): Change error message.
8909 (vc-read-backend): New function.
8910 (vc-next-action): Use it.
8911
8912 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8913
8914 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8915 (prolog-font-lock-keywords): Use regexp-opt instead.
8916 Don't manually highlight strings.
8917 (prolog-mode-variables): Simplify comment-start-skip.
8918 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8919
8920 * emacs-lisp/generic.el (generic--normalise-comments)
8921 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8922 (generic-mode-set-comments): Use them.
8923 (generic-bracket-support): Use setq-local.
8924 (generic-make-keywords-list): Declare obsolete.
8925
8926 2013-06-11 Glenn Morris <rgm@gnu.org>
8927
8928 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8929 Prettify after setting font-lock-defaults. (Bug#14574)
8930
8931 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8932
8933 * replace.el (query-replace, occur-read-regexp-defaults-function)
8934 (replace-search):
8935 * subr.el (declare-function, number-sequence, local-set-key)
8936 (substitute-key-definition, locate-user-emacs-file)
8937 (with-silent-modifications, split-string, eval-after-load):
8938 Fix typos, remove unneeded backslashes and reflow some docstrings.
8939
8940 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8941
8942 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8943 default for Elisp files.
8944
8945 2013-06-11 Glenn Morris <rgm@gnu.org>
8946
8947 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8948 although define-derived-mode was doing this anyway. (Bug#14583)
8949
8950 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8951
8952 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8953 Fix make-variable-buffer-local call to refer to the correct variable.
8954
8955 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8956
8957 * eshell/em-term.el (eshell-visual-commands)
8958 (eshell-visual-subcommands, eshell-visual-options):
8959 Add summary line to docstrings. Add cross-references.
8960
8961 2013-06-10 Glenn Morris <rgm@gnu.org>
8962
8963 * epa.el (epa-read-file-name): New function. (Bug#14510)
8964 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8965
8966 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8967
8968 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8969 output redirection to be ignored with visual commands.
8970
8971 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8972
8973 * eshell/em-term.el (eshell-visual-command-p): New function.
8974 (eshell-term-initialize): Move long lambda to separate function
8975 eshell-visual-command-p.
8976 * eshell/em-dirs.el (eshell-dirs-initialise):
8977 * eshell/em-script.el (eshell-script-initialize):
8978 Add missing #' to lambda.
8979
8980 2013-06-08 Leo Liu <sdl.web@gmail.com>
8981
8982 * progmodes/octave.el (octave-add-log-current-defun): New function.
8983 (octave-mode): Set add-log-current-defun-function.
8984 (octave-goto-function-definition): Do not move point if not found.
8985 (octave-find-definition): Enhance to try subfunctions first.
8986
8987 2013-06-08 Glenn Morris <rgm@gnu.org>
8988
8989 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8990 (byte-compile-backward-char, byte-compile-backward-word):
8991 Improve previous change, to handle non-explicit nil.
8992
8993 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8994
8995 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8996 (smie--opener/closer-at-point): New function.
8997 (smie--matching-block-data): Use it. Don't match from right after an
8998 opener or right before a closer. Obey smie-blink-matching-inners.
8999 Don't signal a mismatch for repeated inners like "switch..case..case".
9000
9001 2013-06-07 Leo Liu <sdl.web@gmail.com>
9002
9003 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9004 to t. (Bug#14303)
9005 (octave-function-header-regexp): Fix. (Bug#14570)
9006 (octave-help-mode-finish-hook, octave-help-mode-finish):
9007 Remove. Just use temp-buffer-show-hook.
9008
9009 * newcomment.el (comment-search-backward): Revert last change.
9010 (Bug#14434)
9011
9012 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9013
9014 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9015
9016 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9017 through xargs, to avoid failure due to MS-Windows limitations on
9018 command-line length.
9019
9020 2013-06-06 Glenn Morris <rgm@gnu.org>
9021
9022 * font-lock.el (lisp-font-lock-keywords-2):
9023 Treat user-error like error.
9024
9025 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9026 (byte-compile-backward-char, byte-compile-backward-word):
9027 Handle explicit nil arguments. (Bug#14565)
9028
9029 2013-06-05 Alan Mackenzie <acm@muc.de>
9030
9031 * isearch.el (isearch-allow-prefix): New user option.
9032 (isearch-other-meta-char): Don't exit isearch when a prefix
9033 argument is typed whilst `isearch-allow-prefix' is non-nil.
9034 (Bug#9706)
9035
9036 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9037
9038 * autorevert.el (auto-revert-notify-handler): Use memq.
9039 Hide assertion failure.
9040
9041 * skeleton.el: Use cl-lib.
9042 (skeleton-further-elements): Use defvar-local.
9043 (skeleton-insert): Use cl-progv.
9044
9045 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9046
9047 * progmodes/prog-mode.el (prog-prettify-symbols)
9048 (prog-prettify-install): Update docstrings.
9049
9050 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 * simple.el: Move all the prog-mode code to prog-mode.el.
9053 * progmodes/prog-mode.el: New file.
9054 * loadup.el: Add prog-mode.el.
9055
9056 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9057
9058 * simple.el (prog-prettify-symbols): Add version.
9059 (prog-prettify-install): Add convenience function to prettify symbols.
9060
9061 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9062 (perl--augmented-font-lock-keywords-1)
9063 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9064 variables and use it.
9065
9066 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9067 (cfengine3-mode): Remove unneeded variable and use it.
9068
9069 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9070 (lisp--augmented-font-lock-keywords-1)
9071 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9072 Remove unneeded variables and use it.
9073
9074 2013-06-05 João Távora <joaotavora@gmail.com>
9075
9076 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9077 to point when opening the connection. (Bug#14380)
9078
9079 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9080
9081 * subr.el (load-history-regexp, load-history-filename-element)
9082 (eval-after-load, after-load-functions, do-after-load-evaluation)
9083 (eval-next-after-load, display-delayed-warnings)
9084 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9085 definition of save-match-data.
9086 (overriding-local-map): Remove accidental obsolescence declaration.
9087
9088 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9089
9090 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9091
9092 Generalize symbol prettify support to prog-mode and implement it
9093 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9094 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9095 (prog--prettify-font-lock-compose-symbol)
9096 (prog-prettify-font-lock-symbols-keywords): New variables and
9097 functions to support symbol prettification.
9098 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9099 (lisp--augmented-font-lock-keywords-1)
9100 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9101 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9102 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9103 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9104 Implement prettify of -> => :: strings.
9105 * progmodes/perl-mode.el (perl-prettify-symbols)
9106 (perl--font-lock-compose-symbol)
9107 (perl--font-lock-symbols-keywords): Move to prog-mode.
9108 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9109 (perl-font-lock-keywords-1)
9110 (perl-font-lock-keywords-2): Remove explicit prettify support.
9111 (perl--augmented-font-lock-keywords)
9112 (perl--augmented-font-lock-keywords-1)
9113 (perl--augmented-font-lock-keywords-2, perl-mode):
9114 Implement prettify support.
9115
9116 2013-06-05 Leo Liu <sdl.web@gmail.com>
9117
9118 Re-implement smie matching block highlight using
9119 show-paren-data-function. (Bug#14395)
9120 * emacs-lisp/smie.el (smie-matching-block-highlight)
9121 (smie--highlight-matching-block-overlay)
9122 (smie--highlight-matching-block-lastpos)
9123 (smie-highlight-matching-block)
9124 (smie-highlight-matching-block-mode): Remove.
9125 (smie--matching-block-data-cache): New variable.
9126 (smie--matching-block-data): New function.
9127 (smie-setup): Use smie--matching-block-data for
9128 show-paren-data-function.
9129
9130 * progmodes/octave.el (octave-mode-menu): Fix.
9131 (octave-find-definition): Skip garbage lines.
9132
9133 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9134
9135 Fix compilation error with simultaneous dynamic+lexical scoping.
9136 Add warning when a defvar appears after the first let-binding.
9137 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9138 (byte-compile-close-variables): Initialize it.
9139 (byte-compile--declare-var): New function.
9140 (byte-compile-file-form-defvar)
9141 (byte-compile-file-form-define-abbrev-table)
9142 (byte-compile-file-form-custom-declare-variable): Use it.
9143 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9144 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9145 (byte-compile-bind): Handle dynamic bindings that shadow
9146 lexical bindings.
9147 (byte-compile-unbind): Make arg non-optional.
9148 (byte-compile-let): Simplify.
9149 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9150 (cconv--analyse-function, cconv-analyse-form): Populate it.
9151 Protect byte-compile-bound-variables to limit the scope of defvars.
9152 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9153 Remove unneeded rule for `declare'.
9154
9155 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9156 so as to avoid depending on cl-adjoin at run-time.
9157 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9158
9159 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9160 (macroexp--warn-and-return): Use it.
9161
9162 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9163
9164 * subr.el: Convert to lexical binding.
9165 (overriding-local-map): Make obsolete.
9166 (add-to-list): Doc fix. Add compiler macro.
9167 (read-key): Swap values of local maps.
9168
9169 2013-06-05 Leo Liu <sdl.web@gmail.com>
9170
9171 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9172
9173 2013-06-04 Leo Liu <sdl.web@gmail.com>
9174
9175 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9176 (compilation-auto-jump): Suppress the "Mark set" message to give
9177 way to exit message.
9178
9179 2013-06-04 Alan Mackenzie <acm@muc.de>
9180
9181 Remove faulty optimisation from indentation calculation.
9182 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9183 search limit based on 2000 characters back from indent-point.
9184
9185 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9186
9187 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9188
9189 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9190
9191 * emacs-lisp/lisp.el: Use lexical-binding.
9192 (lisp--local-variables-1, lisp--local-variables): New functions.
9193 (lisp--local-variables-completion-table): New var.
9194 (lisp-completion-at-point): Use it complete let-bound vars.
9195
9196 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9197 eagerly (bug#14422).
9198
9199 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9200
9201 * autorevert.el (auto-revert-notify-enabled)
9202 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9203 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9204 (auto-revert-notify-handler): Handle also gfilenotify.
9205
9206 * subr.el (file-notify-handle-event): New defun. Replacing ...
9207 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9208 Remove.
9209
9210 2013-06-03 Juri Linkov <juri@jurta.org>
9211
9212 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9213 `M-s h .'. (Bug#14427)
9214
9215 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9216 command `hi-lock-face-symbol-at-point'.
9217 (hi-lock-face-symbol-at-point): New command.
9218 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9219 (hi-lock-menu): Add `highlight-symbol-at-point'.
9220 (hi-lock-mode): Doc fix.
9221
9222 * isearch.el (isearch-forward-symbol-at-point): New command.
9223 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9224 (isearch-highlight-regexp): Add a regexp which matches
9225 words/symbols for word/symbol mode.
9226
9227 * subr.el (find-tag-default-bounds): New function with the body
9228 mostly moved from `find-tag-default'.
9229 (find-tag-default): Move most code to `find-tag-default-bounds',
9230 call it and apply `buffer-substring-no-properties' afterwards.
9231
9232 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9233
9234 * eshell/em-term.el (eshell-term-initialize):
9235 Use `cl-intersection' rather than `intersection'.
9236
9237 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9238
9239 * vc/log-view.el: Doc fix.
9240 (log-view-mode-map): Copy keymap from `special-mode-map'.
9241
9242 2013-06-02 Eric Ludlam <zappo@gnu.org>
9243
9244 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9245 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9246 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9247 (eieio-unbound, eieio-default-superclass)
9248 (eieio--define-field-accessors, method-static, method-before)
9249 (method-primary, method-after, method-num-lists)
9250 (method-generic-before, method-generic-primary)
9251 (method-generic-after, method-num-slots)
9252 (eieio-specialized-key-to-generic-key)
9253 (eieio--check-type, class-v, class-p)
9254 (eieio-class-name, define-obsolete-function-alias)
9255 (eieio-class-parents-fast, eieio-class-children-fast)
9256 (same-class-fast-p, class-constructor, generic-p)
9257 (generic-primary-only-p, generic-primary-only-one-p)
9258 (class-option-assoc, class-option, eieio-object-p)
9259 (class-abstract-p, class-method-invocation-order)
9260 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9261 (eieio-class-un-autoload, eieio-defclass)
9262 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9263 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9264 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9265 (eieio-defgeneric-reset-generic-form)
9266 (eieio-defgeneric-form-primary-only)
9267 (eieio-defgeneric-reset-generic-form-primary-only)
9268 (eieio-defgeneric-form-primary-only-one)
9269 (eieio-defgeneric-reset-generic-form-primary-only-one)
9270 (eieio-unbind-method-implementations)
9271 (eieio--defmethod, eieio--typep)
9272 (eieio-perform-slot-validation, eieio-validate-slot-value)
9273 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9274 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9275 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9276 (eieio-slot-name-index, eieio-class-slot-name-index)
9277 (eieio-set-defaults, eieio-initarg-to-attribute)
9278 (eieio-attribute-to-initarg, eieio-c3-candidate)
9279 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9280 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9281 (eieio-class-precedence-list, eieio-generic-call-methodname)
9282 (eieio-generic-call-arglst, eieio-generic-call-key)
9283 (eieio-generic-call-next-method-list)
9284 (eieio-pre-method-execution-functions, eieio-generic-call)
9285 (eieio-generic-call-primary-only, eieiomt-method-list)
9286 (eieiomt-optimizing-obarray, eieiomt-install)
9287 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9288 (eieio-generic-form, eieio-defmethod, make-obsolete)
9289 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9290 (defclass): Remove `eval-and-compile' from macro.
9291 (call-next-method, shared-initialize): Instead of using
9292 `scoped-class' variable, use new eieio--scoped-class, and
9293 eieio--with-scoped-class.
9294 (initialize-instance): Rename local variable 'scoped-class' to
9295 'this-class' to remove ambiguitity from old global.
9296
9297 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9298 eieio.el.
9299 (eieio--scoped-class-stack): New variable.
9300 (eieio--scoped-class): New fcn.
9301 (eieio--with-scoped-class): New scoping macro.
9302 (eieio-defclass): Use pushnew instead of add-to-list.
9303 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9304 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9305 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9306 `scoped-class' variable, use new eieio--scoped-class, and
9307 eieio--with-scoped-class.
9308
9309 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9310
9311 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9312
9313 * eshell/esh-ext.el (eshell-external-command): Pass args to
9314 `eshell-find-interpreter'.
9315 (eshell-find-interpreter): Add new second parameter ARGS.
9316
9317 * eshell/em-script.el (eshell-script-initialize): Add second arg
9318 to the function added as MATCH to `eshell-interpreter-alist'.
9319
9320 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9321 the function added as MATCH to `eshell-interpreter-alist'.
9322
9323 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9324 (eshell-visual-options): New defcustom.
9325 (eshell-escape-control-x): Adapt docstring.
9326 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9327 `eshell-visual-options' in addition to `eshell-visual-commands'.
9328 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9329
9330 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9331
9332 * progmodes/python.el (python-indent-block-enders): Add break,
9333 continue and raise keywords.
9334
9335 2013-06-01 Glenn Morris <rgm@gnu.org>
9336
9337 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9338
9339 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9340 * progmodes/cc-cmds.el (delete-forward-p):
9341 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9342 * progmodes/cc-engine.el (buffer-syntactic-context):
9343 * progmodes/cc-fonts.el (face-property-instance):
9344 * progmodes/cc-mode.el (set-keymap-parents):
9345 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9346 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9347 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9348 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9349 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9350
9351 * progmodes/cc-vars.el (other): Emacs has this widget since
9352 at least 21.1, so don't (re)define it.
9353
9354 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9355 Replace the obsolete alias pcomplete-arg-quote-list.
9356
9357 2013-06-01 Leo Liu <sdl.web@gmail.com>
9358
9359 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9360 punctuation syntax.
9361 (inferior-octave-minimal-columns)
9362 (inferior-octave-last-column-width): New variables.
9363 (inferior-octave-track-window-width-change): New function.
9364 (inferior-octave-mode): Adjust column width so that Octave output,
9365 for example from 'ls', can fit into the window nicely.
9366
9367 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9368
9369 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9370 Highlight expansions inside regexp literals.
9371
9372 2013-05-31 Glenn Morris <rgm@gnu.org>
9373
9374 * obsolete/sym-comp.el (symbol-complete):
9375 Replace obsolete completion-annotate-function.
9376
9377 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9378
9379 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9380
9381 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9382 New function, checks if point is inside a literal that allows
9383 expression expansion.
9384 (ruby-syntax-propertize-expansion): Use it.
9385 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9386 around the body.
9387
9388 2013-05-30 Juri Linkov <juri@jurta.org>
9389
9390 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9391 to "\M-si".
9392 (isearch-invisible): New variable.
9393 (isearch-forward): Doc fix.
9394 (isearch-mode): Set `isearch-invisible'
9395 to the value of `search-invisible'.
9396 (isearch-toggle-case-fold): Doc fix.
9397 (isearch-toggle-invisible): New command.
9398 (isearch-query-replace): Let-bind `search-invisible'
9399 to the value of `isearch-invisible'.
9400 (isearch-search): Use `isearch-invisible' instead of
9401 `search-invisible'. Let-bind `search-invisible'
9402 to the value of `isearch-invisible'. (Bug#11378)
9403
9404 2013-05-30 Juri Linkov <juri@jurta.org>
9405
9406 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9407 call when `query-flag' is nil and `search-invisible' is non-nil.
9408 (Bug#11746)
9409
9410 2013-05-30 Glenn Morris <rgm@gnu.org>
9411
9412 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9413
9414 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9415 (cc-require): Suppress spurious "noruntime" warnings.
9416 (cc-require-when-compile): Use fboundp, for sake of compiler.
9417
9418 * progmodes/cc-mode.el: Move load of cc-vars before that of
9419 cc-langs (which in turn loads cc-vars), to quieten compiler.
9420
9421 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9422
9423 * paren.el: Simplify the code.
9424 (show-paren-mode): Always start the timer.
9425 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9426 (show-paren--overlay, show-paren--overlay-1): Rename from
9427 show-paren-overlay and show-paren-overlay-1, and initialize to an
9428 overlay rather than to nil.
9429 (show-paren-function): Misc cleanup and simplifications.
9430
9431 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9432
9433 * paren.el (show-paren-data-function): New hook.
9434 (show-paren--default): New function, extracted from show-paren-function.
9435 (show-paren-function): Use show-paren-data-function.
9436
9437 2013-05-30 Glenn Morris <rgm@gnu.org>
9438
9439 * ielm.el (ielm-map, ielm-complete-symbol):
9440 Use completion-at-point rather than obsolete functions.
9441 (inferior-emacs-lisp-mode): Doc fix.
9442 Set completion-at-point-functions, rather than
9443 comint-dynamic-complete-functions.
9444
9445 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9446 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9447 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9448
9449 * image.el (image-animated-p): Tweak definition.
9450
9451 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9452 (rlogin-process-connection-type): Tweak default. Add set-after.
9453 (rlogin-host): Doc fix.
9454 (rlogin): Tweak prompt.
9455 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9456
9457 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9458 * progmodes/tcl.el (inferior-tcl-mode-map):
9459 Use completion-at-point rather than obsolete alias.
9460
9461 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9462
9463 * minibuffer.el (read-file-name-completion-ignore-case):
9464 Move before completion--in-region, for eager macro expansion.
9465
9466 2013-05-29 Juri Linkov <juri@jurta.org>
9467
9468 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9469 for total count of matching lines. Add `global-matches' for total
9470 count of matches. Rename `matches' to `lines' for count of
9471 matching lines. Add `matches' for count of matches.
9472 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9473 to `prev-line' for line number of prev match endpt.
9474 Increment `matches' for every match. Print the number of
9475 matching lines in the header.
9476 (occur-context-lines): Rename `lines' to `curr-line'.
9477 Rename `prev-lines' to `prev-line'. (Bug#14017)
9478
9479 2013-05-29 Juri Linkov <juri@jurta.org>
9480
9481 * replace.el (perform-replace): Add `skip-read-only-count',
9482 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9483 Increment them for corresponding conditions and report the number
9484 of skipped occurrences in the final message. (Bug#11746)
9485 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9486 (replace-string, replace-regexp): Doc fix.
9487
9488 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9489
9490 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9491
9492 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9493 prog-mode-map (bug#14504).
9494
9495 2013-05-29 Leo Liu <sdl.web@gmail.com>
9496
9497 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9498 (octave-help): Small simplification.
9499
9500 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9501 off the highlight first.
9502
9503 2013-05-29 Glenn Morris <rgm@gnu.org>
9504
9505 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9506 Handle idlwave-last-system-routine-info-cons-cell being nil.
9507
9508 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9509 (idlwave-write-paths): Simplify via with-temp-buffer.
9510
9511 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9512 * emulation/cua-rect.el: Also load cua-base at run time.
9513
9514 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9515 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9516 (cperl-imenu-on-info): Require imenu.
9517
9518 2013-05-28 Alan Mackenzie <acm@muc.de>
9519
9520 Handle "capitalised keywords" correctly.
9521 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9522
9523 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9524
9525 * eshell/em-unix.el: Add -r option to cp.
9526
9527 2013-05-28 Glenn Morris <rgm@gnu.org>
9528
9529 * vc/vc-arch.el (vc-exec-after): Declare.
9530 (vc-switches): Autoload.
9531 * vc/vc-bzr.el: No need to require vc when compiling.
9532 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9533 (vc-resynch-buffer, vc-dir-refresh): Declare.
9534 (vc-setup-buffer, vc-switches): Autoload.
9535 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9536 (vc-resynch-buffer): Declare.
9537 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9538 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9539 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9540 (grep-read-regexp, grep-read-files, grep-expand-template)
9541 (vc-dir-refresh): Declare.
9542 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9543 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9544 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9545 * vc/vc-mtn.el (vc-exec-after): Declare.
9546 (vc-switches): Autoload.
9547 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9548 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9549 (vc-file-tree-walk): Declare.
9550 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9551 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9552 (vc-tag-precondition, vc-rename-master): Autoload.
9553 * vc/vc-svn.el (vc-exec-after): Declare.
9554 (vc-switches, vc-setup-buffer): Autoload.
9555 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9556 Autoload.
9557 (vc-resynch-buffer): Declare.
9558
9559 * obsolete/fast-lock.el (byte-compile-warnings):
9560 Don't warn about obsolete features in this obsolete file.
9561
9562 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9563 Move definition before use.
9564
9565 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9566 (dun-unix-verbs): Remove dun-zippy.
9567 (dun-zippy): Remove function.
9568
9569 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9570
9571 2013-05-27 Juri Linkov <juri@jurta.org>
9572
9573 * replace.el (replace-search): New function with code moved out
9574 from `perform-replace'.
9575 (replace-highlight, replace-dehighlight): Move function definitions
9576 up closer to `replace-search'. (Bug#11746)
9577
9578 2013-05-27 Juri Linkov <juri@jurta.org>
9579
9580 * replace.el (perform-replace): Ignore invisible matches.
9581 In addition to checking `query-replace-skip-read-only', also
9582 filter out matches by calling `run-hook-with-args-until-failure'
9583 on `isearch-filter-predicates', and also check `search-invisible'
9584 for t or call `isearch-range-invisible'.
9585 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9586
9587 2013-05-27 Juri Linkov <juri@jurta.org>
9588
9589 * isearch.el (isearch-filter-predicates): Rename from
9590 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9591 (isearch-message-prefix): Display text from the property
9592 `isearch-message-prefix' of the currently active filters.
9593 (isearch-search): Don't compare `isearch-filter-predicate' with
9594 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9595 on `isearch-filter-predicates'. Also check `search-invisible' for t
9596 or call `isearch-range-invisible'.
9597 (isearch-filter-visible): Make obsolete.
9598 (isearch-lazy-highlight-search):
9599 Call `run-hook-with-args-until-failure' on
9600 `isearch-filter-predicates' and use `isearch-range-invisible'.
9601
9602 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9603 `isearch-filter-predicates' instead of `funcall'ing
9604 `isearch-filter-predicate'.
9605 (Info-mode): Set `Info-isearch-filter' to
9606 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9607
9608 * dired-aux.el (dired-isearch-filter-predicate-orig):
9609 Remove variable.
9610 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9611 (dired-isearch-filenames-end): Add and remove
9612 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9613 instead of changing the value of `isearch-filter-predicate'.
9614 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9615 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9616 Put property `isearch-message-prefix' to "filename " on
9617 `dired-isearch-filter-filenames'.
9618
9619 * wdired.el (wdired-change-to-wdired-mode):
9620 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9621 locally instead of changing `isearch-filter-predicate'.
9622 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9623
9624 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9625
9626 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9627 return the commit hash (Bug#14459). Also set the
9628 `vc-git-detached' property.
9629 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9630 (vc-git-mode-line-string): Use the same help-echo format whether
9631 in detached mode or not, because we know the actual revision now.
9632 When in detached mode, shorten the revision to 7 chars.
9633
9634 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9635
9636 * emacs-lisp/easy-mmode.el (define-minor-mode):
9637 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9638 mode hook and provide a docstring.
9639
9640 2013-05-27 Alan Mackenzie <acm@muc.de>
9641
9642 Remove spurious syntax-table text properties inserted by C-y.
9643 * progmodes/cc-mode.el (c-after-change): Also clear hard
9644 syntax-table property with value nil.
9645
9646 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9647
9648 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9649 when reading the events; the buffer layout shall not be changed.
9650
9651 2013-05-27 Leo Liu <sdl.web@gmail.com>
9652
9653 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9654 New variable.
9655 (inferior-octave-directory-tracker): Automatically re-sync
9656 default-directory.
9657 (octave-help): Improve handling of 'See also'.
9658
9659 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9660
9661 * doc-view.el: Minor naming convention tweaks.
9662 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9663
9664 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9665 even if there's no `display' property yet (bug#14435).
9666
9667 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9668
9669 * subr.el (unmsys--file-name): Rename from reveal-filename.
9670
9671 * Makefile.in (custom-deps, finder-data, autoloads)
9672 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9673 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9674 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9675
9676 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9677
9678 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9679 error-completion on the first 2 args of condition-case (bug#14446).
9680 Don't burp at EOB.
9681
9682 2013-05-25 Leo Liu <sdl.web@gmail.com>
9683
9684 * comint.el (comint-previous-matching-input): Do not flood the
9685 *Messages* buffer with trivial messages.
9686
9687 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9688
9689 * progmodes/flymake.el (flymake-nop): Don't return a string.
9690 (flymake-set-at): Fix typo.
9691
9692 * simple.el (read--expression): New function, extracted from
9693 eval-expression. Set completion-at-point-functions (bug#14465).
9694 (eval-expression, eval-minibuffer): Use it.
9695
9696 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9697
9698 * progmodes/flymake.el (flymake-save-buffer-in-file)
9699 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9700 (flymake-selected-frame, flymake-log, flymake-ins-after)
9701 (flymake-set-at, flymake-get-buildfile-from-cache)
9702 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9703 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9704 Refine the doc string.
9705 (flymake-get-file-name-mode-and-masks): Reformat.
9706 (flymake-get-real-file-name-function): Fix a minor bug.
9707
9708 2013-05-24 Juri Linkov <juri@jurta.org>
9709
9710 * progmodes/grep.el (grep-mode-font-lock-keywords):
9711 Support =linenumber= format used by git-grep for lines with
9712 function names. (Bug#13549)
9713
9714 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9715
9716 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9717 0 after a semi-colon; it works better for smie-auto-fill.
9718 (octave--indent-new-comment-line): New function.
9719 (octave-indent-new-comment-line): Use it (indirectly).
9720 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9721 modify comment-line-break-function.
9722
9723 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9724 (smie-setup): Use add-function to set it.
9725
9726 2013-05-24 Sam Steingold <sds@gnu.org>
9727
9728 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9729 argument (before the `interactive' argument).
9730
9731 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9732
9733 * image-mode.el (image-mode-winprops): Add winprops to
9734 image-mode-winprops-alist before running
9735 image-mode-new-window-functions.
9736 * doc-view.el (doc-view-new-window-function): Don't delay
9737 doc-view-goto-page via timers (bug#14435).
9738
9739 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9740
9741 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9742 (doc-view-desktop-save-buffer): New function.
9743 (doc-view-restore-desktop-buffer): New function.
9744 (desktop-buffer-mode-handlers):
9745 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9746 handler.
9747 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9748 `desktop-save-buffer' function.
9749
9750 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9751
9752 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9753 (tramp-gvfs-file-name-handler): Raise a user error when
9754 `tramp-gvfs-enabled' is nil.
9755 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9756 Do not raise a user error when loading package. (Bug#14447)
9757
9758 * net/xesam.el: Move to obsolete/.
9759
9760 2013-05-24 Glenn Morris <rgm@gnu.org>
9761
9762 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9763
9764 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9765
9766 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9767 (Info-find-node, Man-getpage-in-background): Declare.
9768
9769 * mail/unrmail.el (unrmail):
9770 Replace obsolete detect-coding-with-priority.
9771
9772 * net/socks.el (socks-split-string): Use this rather than split-string.
9773 (socks-nslookup-host): Update for above change.
9774 (dynamic-choice, s5-dynamic-choice-match)
9775 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9776 Comment out unused code.
9777
9778 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9779 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9780 (gud-tooltip-echo-area): Make obsolete.
9781 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9782
9783 * progmodes/js.el (js--optimize-arglist): Declare.
9784
9785 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9786
9787 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9788 (ediff-window-C): Declare.
9789
9790 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9791 Tweak requires to silence compiler.
9792
9793 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9794 (he-search-string, he-tried-table, he-expand-list)
9795 (he-init-string, he-string-member, he-substitute-string)
9796 (he-reset-string): Declare.
9797
9798 * obsolete/options.el (list-options): Use custom-variable-p,
9799 rather than obsolete alias.
9800
9801 2013-05-23 Sam Steingold <sds@gnu.org>
9802
9803 * simple.el (shell-command-on-region): Pass the `replace' argument
9804 down to `call-process-region' to comply with the doc as reported on
9805 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9806
9807 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9808
9809 * emacs-lisp/smie.el (smie-indent-forward-token)
9810 (smie-indent-backward-token): Handle string tokens (bug#14381).
9811
9812 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9813
9814 * ielm.el (ielm-menu): New menu.
9815 (inferior-emacs-lisp-mode): Set comment-start.
9816
9817 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9818
9819 * textmodes/reftex.el (reftex-ref-style-toggle):
9820 Fix deactivate action.
9821
9822 * textmodes/reftex-vars.el (reftex-ref-style-alist):
9823 Add cleveref macros.
9824
9825 * textmodes/reftex-parse.el
9826 (reftex-locate-bibliography-files): Accept options for
9827 bibliography commands.
9828 * textmodes/reftex-vars.el (reftex-bibliography-commands):
9829 Add addbibresource. Basic Biblatex support.
9830
9831 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9832
9833 * net/tramp-gvfs.el (top):
9834 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9835 when loading package. (Bug#14447)
9836
9837 2013-05-23 Glenn Morris <rgm@gnu.org>
9838
9839 * progmodes/js.el: No need to load comint when compiling.
9840 (ring-insert, comint-send-string, comint-send-input)
9841 (comint-last-input-end, ido-chop): Declare.
9842
9843 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9844 * vc/ediff-mult.el: Adjust requires.
9845 (ediff-directories-internal, ediff-directory-revisions-internal)
9846 (ediff-patch-file-internal): Declare.
9847 * vc/ediff-ptch.el: Adjust requires.
9848 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9849 (ediff-find-file): Autoload.
9850 * vc/ediff-util.el: No need to load ediff when compiling.
9851 (ediff-regions-internal): Declare.
9852 * vc/ediff-wind.el: Adjust requires.
9853 (ediff-compute-toolbar-width): Define when compiling.
9854 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9855 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9856 (dired-get-filename, dired-get-marked-files)
9857 (ediff-last-dir-patch, ediff-patch-default-directory)
9858 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9859 (ediff-patch-buffer-internal): Declare.
9860
9861 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9862 (ispell-process, ispell-buffer-local-words, lm-summary)
9863 (lm-section-start, lm-section-end): Declare.
9864 (checkdoc-ispell-init): Simplify.
9865
9866 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9867 (he-string-member, he-reset-string, he-substitute-string): Declare.
9868
9869 * eshell/em-ls.el: Adjust requires.
9870 (eshell-glob-regexp): Declare.
9871 * eshell/em-tramp.el: Adjust requires.
9872 (eshell-parse-command): Autoload.
9873 * eshell/em-xtra.el: Adjust requires.
9874 (eshell-parse-command): Autoload.
9875 * eshell/esh-ext.el: Adjust requires.
9876 (eshell-parse-command, eshell-close-handles): Autoload.
9877 * eshell/esh-io.el: Adjust requires.
9878 (eshell-output-filter): Autoload.
9879 * eshell/esh-util.el: No need to load tramp when compiling.
9880 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9881 Declare.
9882 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9883 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9884 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9885 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9886 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9887 * eshell/esh-opt.el, eshell/esh-proc.el:
9888 * eshell/esh-var.el: Adjust requires.
9889 * eshell/eshell.el: Do not require esh-util twice.
9890 (eshell-add-input-to-history): Declare.
9891 (eshell-command): Check history module is active before using it.
9892
9893 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9894
9895 2013-05-22 Leo Liu <sdl.web@gmail.com>
9896
9897 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9898
9899 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9900
9901 * autorevert.el (auto-revert-notify-add-watch)
9902 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9903 it indicates changes in file modification time.
9904
9905 2013-05-22 Glenn Morris <rgm@gnu.org>
9906
9907 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9908 Always delete the autoloaded function from the noruntime and
9909 unresolved functions lists.
9910
9911 * allout.el: No need to load epa, epg, overlay when compiling.
9912 (epg-context-set-passphrase-callback, epg-list-keys)
9913 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9914 (epg-key-user-id-list): Declare.
9915
9916 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9917 (viper-set-parsing-style-toggling-macro)
9918 (viper-set-emacs-state-searchstyle-macros):
9919 Use called-interactively-p on Emacs.
9920 (viper-looking-back): Make it an obsolete alias. Update callers.
9921 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9922 Use looking-back rather than viper-looking-back.
9923 (viper-tmp-insert-at-eob, viper-enlarge-region)
9924 (viper-read-string-with-history, viper-register-to-point)
9925 (viper-append-to-register, viper-change-state-to-vi)
9926 (viper-backward-char-carefully, viper-forward-char-carefully)
9927 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9928 (viper-change-state-to-emacs): Declare.
9929 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9930 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9931 * emulation/viper-mous.el: Do not load viper-cmd.
9932 (viper-backward-char-carefully, viper-forward-char-carefully)
9933 (viper-forward-word, viper-adjust-window): Declare.
9934
9935 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9936
9937 * progmodes/idlw-help.el (idlwave-help-fontify):
9938 Use called-interactively-p.
9939
9940 * term/w32console.el (w32-get-console-codepage)
9941 (w32-get-console-output-codepage): Declare.
9942
9943 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9944 Remove unnecessary declarations.
9945 (dframe-message): Doc fix.
9946
9947 * info.el (dframe-select-attached-frame, dframe-current-frame):
9948 Declare.
9949
9950 * speedbar.el (speedbar-message): Make it an obsolete alias.
9951 Update all callers.
9952 (speedbar-with-attached-buffer)
9953 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9954 (speedbar-with-writable): Use backquote.
9955 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9956 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9957 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9958 rather than speedbar- aliases.
9959 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9960 (speedbar-make-specialized-keymap, speedbar-insert-button)
9961 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9962 (speedbar-do-function-pointer): Declare.
9963 (rmail-speedbar-button, rmail-speedbar-find-file)
9964 (rmail-speedbar-move-message):
9965 Use dframe-with-attached-buffer rather than speedbar- alias.
9966 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9967 (dframe-message, speedbar-make-specialized-keymap)
9968 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9969 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9970 (speedbar-insert-button, dframe-select-attached-frame)
9971 (dframe-maybee-jump-to-attached-frame)
9972 (speedbar-change-initial-expansion-list)
9973 (speedbar-previously-used-expansion-list-name): Declare.
9974 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9975 Use dframe-message, dframe-with-attached-buffer rather than
9976 speedbar- aliases.
9977 (gud-sentinel): Silence compiler.
9978 * progmodes/vhdl-mode.el (speedbar-refresh)
9979 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9980 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9981 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9982 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9983 (speedbar-file-lists, speedbar-make-tag-line)
9984 (speedbar-line-directory, speedbar-goto-this-file)
9985 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9986 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9987 (speedbar-make-button, speedbar-reset-scanners)
9988 (speedbar-files-item-info, speedbar-line-text)
9989 (speedbar-find-file-in-frame, speedbar-set-timer)
9990 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9991 (speedbar-with-writable): Do not (re)define it.
9992 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9993 rather than speedbar- alias.
9994
9995 2013-05-21 Leo Liu <sdl.web@gmail.com>
9996
9997 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9998 menu items.
9999 (octave-mode): Tweak fill-nobreak-predicate.
10000 (inferior-octave-startup): Check process to avoid infinite loop.
10001 (inferior-octave): Pop to buffer first to show abornmal process
10002 exit information.
10003
10004 2013-05-21 Glenn Morris <rgm@gnu.org>
10005
10006 * printing.el (pr-menu-bar): Define when compiling.
10007
10008 2013-05-21 Leo Liu <sdl.web@gmail.com>
10009
10010 * progmodes/octave.el (octave-auto-fill): Remove.
10011 (octave-indent-new-comment-line): Improve.
10012 (octave-mode): Use auto fill mode through
10013 comment-line-break-function and fill-nobreak-predicate.
10014 (octave-goto-function-definition): Support DEFUN_DLD.
10015 (octave-beginning-of-defun): Small tweak.
10016 (octave-help): Show parent directory.
10017
10018 2013-05-21 Glenn Morris <rgm@gnu.org>
10019
10020 * files.el (dired-unmark):
10021 * progmodes/gud.el (gdb-input): Update declarations.
10022
10023 * calculator.el (electric, ehelp): No need to load when compiling.
10024 (Electric-command-loop, electric-describe-mode): Declare.
10025
10026 * doc-view.el (doc-view-current-converter-processes): Move before use.
10027
10028 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10029 Move MODE-set-explicitly definition before use.
10030
10031 * international/mule-diag.el (mule-diag):
10032 Don't use obsolete window-system-version.
10033
10034 * mail/feedmail.el (smtpmail): No need to load when compiling.
10035 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10036
10037 * mail/mail-utils.el (rfc822): No need to load when compiling.
10038 (rfc822-addresses): Autoload it.
10039 (mail-strip-quoted-names): Trivial simplification.
10040
10041 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10042 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10043
10044 * net/snmp-mode.el (tempo): Don't duplicate requires.
10045
10046 * progmodes/prolog.el (info): No need to load when compiling.
10047 (comint): Require before shell requires it.
10048 (Info-goto-node): Autoload it.
10049 (Info-follow-nearest-node): Declare.
10050 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10051
10052 * textmodes/artist.el (picture-mode-exit): Declare.
10053
10054 * textmodes/reftex-parse.el (reftex-parse-from-file):
10055 Trivial rewrite so the compiler can parse it better.
10056
10057 2013-05-20 Leo Liu <sdl.web@gmail.com>
10058
10059 * progmodes/octave.el (octave-help-mode-map)
10060 (octave-help-mode-finish-hook): New variables.
10061 (octave-help-mode, octave-help-mode-finish): New functions.
10062 (octave-help): Use octave-help-mode.
10063
10064 2013-05-20 Glenn Morris <rgm@gnu.org>
10065
10066 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10067
10068 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10069
10070 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10071 start at point, so that expansion starting right after opening
10072 slash in a regexp is recognized.
10073 (ruby-syntax-before-regexp-re): New defvar, extracted from
10074 ruby-syntax-propertize-function. Since the value of this regexp
10075 is looked up at runtime now, we should be able to turn
10076 `ruby-syntax-methods-before-regexp' into a defcustom later.
10077 (ruby-syntax-propertize-function): Split regexp matching into two
10078 parts, for opening and closing slashes. That allows us to skip
10079 over string interpolations and support multiline regexps.
10080 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10081 for them, which calls `ruby-syntax-propertize-expansion'.
10082 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10083 call to `ruby-syntax-propertize-function'.
10084 (ruby-syntax-propertize-expansion): Extracted from
10085 `ruby-syntax-propertize-expansions'. Handles one expansion.
10086 (ruby-syntax-propertize-percent-literal): Leave point right after
10087 the percent symbol, so that the expression expansion rule can
10088 propertize the contents.
10089 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10090 heredoc openers.
10091 (ruby-syntax-propertize-expansions): Remove.
10092
10093 2013-05-18 Juri Linkov <juri@jurta.org>
10094
10095 * man.el (Man-default-man-entry): Remove `-' from the end
10096 of the default value. (Bug#14400)
10097
10098 2013-05-18 Glenn Morris <rgm@gnu.org>
10099
10100 * comint.el (comint-password-prompt-regexp):
10101 Allow "password for XXX" where XXX contains colons (eg https://...).
10102
10103 2013-05-18 Leo Liu <sdl.web@gmail.com>
10104
10105 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10106 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10107 (octave-source-directories): Don't check process.
10108 (octave-source-directories, octave-find-definition): Doc fix.
10109
10110 2013-05-18 Glenn Morris <rgm@gnu.org>
10111
10112 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10113 Remove backspace/delete bindings. (Bug#14392)
10114
10115 * cus-dep.el (custom-make-dependencies): Sort the output.
10116 (custom-versions-load-alist): Convert comment to doc.
10117
10118 2013-05-17 Leo Liu <sdl.web@gmail.com>
10119
10120 * newcomment.el (comment-search-backward): Stricter in finding
10121 comment start. (Bug#14303)
10122
10123 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10124 (octave-comment-start-skip): Properly anchored.
10125
10126 2013-05-17 Leo Liu <sdl.web@gmail.com>
10127
10128 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10129 Clean up when turned off. (Bug#14395)
10130 (smie--highlight-matching-block-overlay): No longer buffer-local.
10131 (smie-highlight-matching-block): Adjust.
10132
10133 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10134
10135 Doc string fix for "nanoseconds" (Bug#14406).
10136 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10137 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10138
10139 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10140
10141 * calc/calc-units.el (math-extract-units): Preserve powers
10142 of units.
10143
10144 2013-05-17 Leo Liu <sdl.web@gmail.com>
10145
10146 * subr.el (delete-consecutive-dups): New function.
10147 * ido.el (ido-set-matches-1): Use it.
10148 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10149 * ido.el (ido-remove-consecutive-dups): Remove.
10150
10151 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10152
10153 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10154 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10155 regexp-opt's `words'.
10156
10157 2013-05-16 Leo Liu <sdl.web@gmail.com>
10158
10159 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10160 (smie--highlight-matching-block-overlay)
10161 (smie--highlight-matching-block-lastpos)
10162 (smie--highlight-matching-block-timer): New variables.
10163 (smie-highlight-matching-block): New function.
10164 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10165 (smie-setup): Conditionally enable smie-blink-matching-open.
10166
10167 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10168
10169 Sync with upstream verilog-mode r840.
10170 * progmodes/verilog-mode.el (verilog-mode-version)
10171 (verilog-mode-release-date): Update.
10172 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10173 (verilog-sig-tieoff): Fix string error on
10174 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10175 (verilog-read-decls): Fix parameters confusing
10176 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10177
10178 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10179
10180 * subr.el (reveal-filename): New function.
10181
10182 * loadup.el: Compute Emacs executable versions on MS-Windows,
10183 where executables have the .exe extension. Add a hard link
10184 emacs-XX.YY.ZZ.exe on MS-Windows.
10185
10186 * Makefile.in (XARGS_LIMIT): New variable.
10187 (custom-deps, finder-data, autoloads)
10188 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10189 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10190 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10191 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10192
10193 2013-05-16 Leo Liu <sdl.web@gmail.com>
10194
10195 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10196 (octave-mode-menu, octave-mode-map): Remove its uses.
10197
10198 2013-05-16 Reto Zimmermann <reto@gnu.org>
10199
10200 Sync with upstream vhdl mode v3.34.2.
10201 * progmodes/vhdl-mode.el: Use `push' throughout.
10202 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10203 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10204 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10205 (vhdl-actual-generic-name): New option to derive actual generic name.
10206 (vhdl-port-paste-signals): Replace formal by actual generics.
10207 (vhdl-beautify): New name for old group vhdl-align. Update users.
10208 (vhdl-beautify-options): New option.
10209 (vhdl-last-input-event): New compat alias. Use throughout.
10210 (vhdl-goto-line): Replace user level function `goto-line'.
10211 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10212 vhdl-fix-statement-buffer.
10213 (vhdl-create-mode-menu): Add some entries.
10214 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10215 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10216 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10217 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10218 to force statements on one line.
10219 (vhdl-remove-trailing-spaces-region):
10220 New, split from vhdl-remove-trailing-spaces.
10221 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10222 Respect vhdl-beautify-options.
10223 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10224 (vhdl-update-sensitivity-list): Not add with index if exists without.
10225 Not include array index with signal. Ignore keywords in comments.
10226 (vhdl-get-visible-signals): Regexp tweaks.
10227 (vhdl-template-component-inst): Handle empty library.
10228 (vhdl-template-type): Add template for 'enum' type.
10229 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10230 Use vhdl-replace-string.
10231 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10232 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10233 (vhdl-speedbar-initialize): Update for above name change.
10234 (vhdl-compose-wire-components): Fix in handling of constants.
10235 (vhdl-error-regexp-emacs-alist): New variable.
10236 (vhdl-error-regexp-add-emacs): New function;
10237 adds support for new compile.el (Emacs 22+)
10238 (vhdl-generate-makefile-1): Change target order for single lib. units.
10239 Allow use of absolute file names.
10240
10241 2013-05-16 Leo Liu <sdl.web@gmail.com>
10242
10243 * simple.el (prog-indent-sexp): Indent enclosing defun.
10244
10245 2013-05-15 Glenn Morris <rgm@gnu.org>
10246
10247 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10248 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10249 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10250 (whitespace-highlight): Move to whitespace group.
10251
10252 * comint.el (comint-source):
10253 * pcmpl-linux.el (pcmpl-linux):
10254 * shell.el (shell-faces):
10255 * eshell/esh-opt.el (eshell-opt):
10256 * international/ccl.el (ccl): Remove empty custom groups.
10257
10258 * completion.el (dynamic-completion-mode):
10259 * jit-lock.el (jit-lock-debug-mode):
10260 * minibuffer.el (completion-in-region-mode):
10261 * type-break.el (type-break-mode-line-message-mode)
10262 (type-break-query-mode):
10263 * emulation/tpu-edt.el (tpu-edt-mode):
10264 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10265 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10266 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10267
10268 * term/xterm.el (xterm): Change parent group to terminals.
10269
10270 * master.el (master): Remove empty custom group.
10271 (master-mode): Remove unused :group argument.
10272 * textmodes/refill.el (refill): Remove empty custom group.
10273 (refill-mode): Remove unused :group argument.
10274
10275 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10276
10277 * cus-dep.el: Provide a feature.
10278 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10279 Don't mistakenly ignore files whose basenames match a basename
10280 from preloaded-file-list (eg cedet/ede/simple.el).
10281 Add a fallback method for getting :group.
10282
10283 2013-05-15 Juri Linkov <juri@jurta.org>
10284
10285 * isearch.el (isearch-char-by-name): Rename from
10286 `isearch-insert-char-by-name'. Doc fix.
10287 (isearch-forward): Mention `isearch-char-by-name' in
10288 the docstring. (Bug#13348)
10289
10290 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10291 `exit-minibuffer' instead of
10292 `isearch-nonincremental-exit-minibuffer'.
10293 (isearch-edit-string): Remove mention of
10294 `isearch-nonincremental-exit-minibuffer' from docstring.
10295 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10296 (isearch-forward-exit-minibuffer)
10297 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10298
10299 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * loadup.el: Just use unversioned DOC.
10302
10303 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10304 literals as extending to EOB.
10305 (nxml-last-fontify-end): Remove unused variable.
10306 (nxml-after-change1): Use with-silent-modifications.
10307 (nxml-extend-after-change-region): Simplify.
10308 (nxml-extend-after-change-region1): Remove function.
10309 (nxml-after-change1): Don't adjust for dependent regions.
10310 (nxml-fontify-matcher): Simplify.
10311 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10312 (xmltok-add-dependent): Remove function.
10313 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10314 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10315 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10316 unclosed <[[, <?, comment, and other literals as extending to EOB.
10317 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10318 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10319 Remove functions.
10320 (rng-do-some-validation-1): Don't mark dependent regions.
10321 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10322 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10323 (nxml-clear-dependent-regions): Remove functions.
10324 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10325 (nxml-ensure-scan-up-to-date):
10326 Don't clear&mark dependent regions.
10327
10328 2013-05-15 Leo Liu <sdl.web@gmail.com>
10329
10330 * progmodes/octave.el (octave-goto-function-definition):
10331 Improve and fix callers.
10332
10333 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10334
10335 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10336 the setter (bug#14387).
10337
10338 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10339 surrounding group (bug#14402).
10340
10341 2013-05-14 Juri Linkov <juri@jurta.org>
10342
10343 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10344 (Bug#14390)
10345
10346 2013-05-14 Glenn Morris <rgm@gnu.org>
10347
10348 * progmodes/f90.el (f90-imenu-generic-expression):
10349 Fix typo in 2013-05-08 change. (Bug#14402)
10350
10351 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10352
10353 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10354 Remove signals for which replies are never received.
10355
10356 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10357
10358 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10359 (gdb-handler-alist, gdb-handler-number): Remove variables.
10360 (gdb-handler-list): New variable.
10361 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10362 (gdb-pending-handler-p, gdb-handle-reply)
10363 (gdb-remove-all-pending-triggers): New functions.
10364 (gdb-discard-unordered-replies): New defcustom.
10365 (gdb-handler): New defstruct.
10366 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10367 instead of gdb-pending-triggers. Update docstring.
10368 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10369 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10370 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10371 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10372 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10373 (gdb-frame-handler): Pending triggers are now automatically managed.
10374 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10375 Remove argument.
10376 (gdb-input): Automatically handles pending triggers. Update docstring.
10377 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10378 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10379 Update comments.
10380 (gdb-done-or-error): Now use gdb-handle-reply.
10381
10382 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10383
10384 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10385 gdb-debug-log.
10386
10387 2013-05-14 Glenn Morris <rgm@gnu.org>
10388
10389 * subr.el (user-emacs-directory-warning): New option.
10390 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10391
10392 2013-05-14 Leo Liu <sdl.web@gmail.com>
10393
10394 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10395 during redisplay.
10396 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10397 (octave-font-lock-texinfo-comment): Fix invalid search bound
10398 error: wrong side of point.
10399
10400 2013-05-14 Glenn Morris <rgm@gnu.org>
10401
10402 * progmodes/flymake.el (flymake-xml-program): New option.
10403 (flymake-xml-init): Use it.
10404
10405 * term/xterm.el: Provide a feature.
10406
10407 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10408
10409 2013-05-13 Glenn Morris <rgm@gnu.org>
10410
10411 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10412 Add compat aliases as a hack workaround. (Bug#14384)
10413
10414 2013-05-13 Leo Liu <sdl.web@gmail.com>
10415
10416 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10417 ###, and %!.
10418 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10419 C-M-q.
10420 (octave-comment-start-skip): Include %!.
10421 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10422
10423 2013-05-12 Leo Liu <sdl.web@gmail.com>
10424
10425 * progmodes/octave.el (inferior-octave-startup): Store the value
10426 of __octave_srcdir__ for octave-source-directories.
10427 (inferior-octave-check-process): New function refactored out of
10428 inferior-octave-send-list-and-digest.
10429 (octave-source-directories)
10430 (octave-find-definition-filename-function): New variables.
10431 (octave-source-directories)
10432 (octave-find-definition-default-filename): New functions.
10433 (octave-find-definition): Improve to find functions implemented in C++.
10434
10435 2013-05-12 Glenn Morris <rgm@gnu.org>
10436
10437 * calendar/diary-lib.el (diary-outlook-format-1):
10438 Don't include dayname in the output. (Bug#14349)
10439
10440 2013-05-11 Glenn Morris <rgm@gnu.org>
10441
10442 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10443
10444 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10445 Treat cc-provide like provide.
10446
10447 2013-05-11 Kevin Ryde <user42@zip.com.au>
10448
10449 * cus-dep.el (custom-make-dependencies):
10450 Use generated-autoload-load-name for the sake of files such
10451 such cedet/semantic/bovine/c.el, where the base file name
10452 is not in load-path. (Bug#5277)
10453
10454 2013-05-11 Glenn Morris <rgm@gnu.org>
10455
10456 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10457 Provide features.
10458
10459 2013-05-11 Leo Liu <sdl.web@gmail.com>
10460
10461 * progmodes/octave.el (octave-indent-comment): Improve.
10462 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10463 (octave-eldoc-function-signatures, octave-eldoc-function):
10464 New functions.
10465 (octave-mode, inferior-octave-mode): Add eldoc support.
10466
10467 2013-05-11 Richard Stallman <rms@gnu.org>
10468
10469 * epa.el (epa-decrypt-file): Take output file name as argument
10470 and read it using `interactive'.
10471
10472 2013-05-11 Leo Liu <sdl.web@gmail.com>
10473
10474 * progmodes/octave.el (octave-beginning-of-line)
10475 (octave-end-of-line): Check before using up-list because it jumps
10476 out of more syntactic contructs since moving to smie.
10477 (octave-indent-comment): New function.
10478 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10479 (octave-begin-keywords, octave-end-keywords)
10480 (octave-reserved-words, octave-smie-bnf-table)
10481 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10482
10483 2013-05-11 Glenn Morris <rgm@gnu.org>
10484
10485 * faces.el (internal-face-x-get-resource):
10486 * frame.el (ns-display-monitor-attributes-list):
10487 * calc/calc-aent.el (math-to-radians-2):
10488 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10489 Fix declarations.
10490
10491 * calc/calc-menu.el: Make it loadable in isolation.
10492
10493 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10494 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10495 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10496 (eudc-bbdb-query-internal): Require 'bbdb.
10497
10498 * lpr.el (lpr-headers-switches):
10499 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10500
10501 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10502
10503 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10504
10505 * term.el (term-set-escape-char): Make it idempotent.
10506
10507 2013-05-10 Leo Liu <sdl.web@gmail.com>
10508
10509 * progmodes/octave.el (inferior-octave-completion-table):
10510 No longer a function and all uses changed. Use cache to speed up
10511 completion due to bug#11906.
10512 (octave-beginning-of-defun): Re-write to be more general.
10513
10514 2013-05-10 Glenn Morris <rgm@gnu.org>
10515
10516 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10517
10518 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10519
10520 * comint.el (comint-redirect-send-command-to-process): Use :around
10521 rather than :override for comint-redirect-filter.
10522 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10523 Call it instead of comint-redirect-original-filter-function (which
10524 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10525
10526 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10527
10528 * frame.el (display-monitor-attributes-list): Add NS case.
10529 (ns-display-monitor-attributes-list): Declare.
10530
10531 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10532
10533 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10534
10535 2013-05-09 Glenn Morris <rgm@gnu.org>
10536
10537 * international/fontset.el (vertical-centering-font-regexp):
10538 Set standard-value.
10539
10540 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10541
10542 * bookmark.el (bookmark-search-delay):
10543 * cus-start.el (vertical-centering-font-regexp):
10544 * ps-mule.el (ps-mule-font-info-database-default):
10545 * ps-print.el (ps-default-fg, ps-default-bg):
10546 * type-break.el (type-break-good-break-interval):
10547 * whitespace.el (whitespace-indentation-regexp)
10548 (whitespace-space-after-tab-regexp):
10549 * emacs-lisp/testcover.el (testcover-1value-functions)
10550 (testcover-noreturn-functions, testcover-progn-functions)
10551 (testcover-prog1-functions):
10552 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10553 * eshell/em-glob.el (eshell-glob-translate-alist):
10554 * play/tetris.el (tetris-tty-colors):
10555 * progmodes/cpp.el (cpp-face-default-list):
10556 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10557 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10558 (idlwave-help-browser-generic-args):
10559 * progmodes/make-mode.el (makefile-special-targets-list):
10560 * progmodes/python.el (python-shell-virtualenv-path):
10561 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10562 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10563 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10564 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10565 * textmodes/reftex-vars.el (reftex-format-label-function):
10566 * textmodes/remember.el (remember-diary-file): Fix custom types.
10567
10568 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10569 Add :version.
10570
10571 2013-05-09 Leo Liu <sdl.web@gmail.com>
10572
10573 * progmodes/octave.el (inferior-octave-completion-at-point):
10574 Restore file completion. (Bug#14300)
10575 (inferior-octave-startup): Fix incorrect highlighting for the
10576 first prompt.
10577
10578 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10579
10580 * progmodes/ruby-mode.el: First cut at SMIE support.
10581 (ruby-use-smie): New var.
10582 (ruby-smie-grammar): New constant.
10583 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10584 (ruby-smie--forward-token, ruby-smie--backward-token)
10585 (ruby-smie-rules): New functions.
10586 (ruby-mode-variables): Setup SMIE if applicable.
10587
10588 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10589
10590 * simple.el (line-move-visual): Signal beginning/end of buffer
10591 only if vertical-motion moved less than it was requested. Avoids
10592 silly incorrect error messages when there are display strings with
10593 multiple newlines at EOL.
10594
10595 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10596
10597 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10598 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10599 (prolog-char-quote-workaround):
10600 * progmodes/cperl-mode.el (cperl-under-as-char):
10601 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10602 Mark as obsolete.
10603 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10604 their declaration.
10605 (vhdl-mode-syntax-table-init): Remove.
10606
10607 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10608 last change.
10609
10610 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10611 syntax for "_".
10612 (ld-script-font-lock-keywords):
10613 Change regexps to use things like \_< and \_>.
10614
10615 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10616 Change all regexps to use things like \_< and \_>.
10617
10618 * progmodes/autoconf.el (autoconf-definition-regexp)
10619 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10620 Handle a _ with symbol syntax.
10621 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10622
10623 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10624 Consolidate declaration.
10625 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10626 the declaration.
10627 (ada-create-syntax-table): Remove.
10628 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10629 already has the right syntax nowadays.
10630 (ada-goto-next-word): Don't change the syntax of "_".
10631
10632 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10633 with-wrapper-hook.
10634
10635 2013-05-08 Sam Steingold <sds@gnu.org>
10636
10637 * thingatpt.el (thing-at-point): Accept optional second argument
10638 NO-PROPERTIES to strip the text properties from the return value.
10639 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10640 to `thing-at-point' instead of stripping the properties ourselves.
10641 Also, when `thing-at-point' fails to find a url, prepend "http://"
10642 to the filename at point on the assumption that the user is
10643 pointing at something like gnu.org/gnu.
10644
10645 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10646
10647 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10648 * faces.el (crm-separator):
10649 Silence byte-compiler.
10650
10651 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10652 (tool-bar-map): Remove unneeded defvars.
10653
10654 2013-05-08 Leo Liu <sdl.web@gmail.com>
10655
10656 Re-work a fix for bug#10994 based on Le Wang's patch.
10657 * ido.el (ido-remove-consecutive-dups): New helper.
10658 (ido-completing-read): Use it.
10659 (ido-chop): Revert fix for bug#10994.
10660
10661 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10662
10663 * cus-edit.el (custom-save-variables):
10664 Pretty-print long values. (Bug#14187)
10665
10666 2013-05-08 Glenn Morris <rgm@gnu.org>
10667
10668 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10669 (m4-mode-syntax-table): Init in the defvar.
10670 (m4-mode-abbrev-table): Let define-derived-mode define it.
10671
10672 2013-05-08 Tom Tromey <tromey@redhat.com>
10673
10674 * progmodes/m4-mode.el (m4-mode-syntax-table):
10675 Do not treat "_" as word constituent. (Bug#14167)
10676
10677 2013-05-07 Glenn Morris <rgm@gnu.org>
10678
10679 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10680 Remove explicit eshell-isearch-cancel-map.
10681
10682 * progmodes/f90.el (f90-smart-end-names): New option.
10683 (f90-smart-end): Doc fix.
10684 (f90-end-block-optional-name): New constant.
10685 (f90-block-match): Respect f90-smart-end-names.
10686
10687 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10688
10689 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10690 about implicit semi-colons (bug#14218).
10691
10692 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10693
10694 * frame.el (display-monitor-attributes-list)
10695 (frame-monitor-attributes): New functions.
10696
10697 2013-05-06 Leo Liu <sdl.web@gmail.com>
10698
10699 * progmodes/octave.el (octave-syntax-propertize-function): Change
10700 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10701 (octave-font-lock-keywords): Use octave-operator-regexp.
10702 (octave-completion-at-point): Rename from
10703 octave-completion-at-point-function.
10704 (inferior-octave-directory-tracker): Robustify.
10705 (octave-text-functions): Remove and fix its uses. No such things
10706 any more.
10707
10708 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10709
10710 * emacs-lisp/trace.el (trace--display-buffer): New function.
10711 (trace-make-advice): Use it.
10712
10713 2013-05-06 Juri Linkov <juri@jurta.org>
10714
10715 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10716 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10717 Doc fix.
10718 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10719 in the help string. (Bug#12985)
10720
10721 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10722
10723 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10724
10725 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10726
10727 * progmodes/perl-mode.el: Add support for here documents.
10728 (perl-syntax-propertize-function): Match here-doc markers.
10729 (perl-syntax-propertize-special-constructs): Find their end.
10730 (perl-imenu-generic-expression): Use [:alnum:].
10731
10732 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10733 (advice--add-function): Refresh the advice if already present
10734 (bug#14317).
10735
10736 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10737
10738 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10739
10740 2013-05-06 Glenn Morris <rgm@gnu.org>
10741
10742 * w32-fns.el (w32-charset-info-alist): Declare.
10743
10744 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10745 of its defcustom properties.
10746 (eshell-cmpl-initialize): No need to load pcomplete.
10747
10748 * generic-x.el: No need to require comint when compiling.
10749
10750 * net/eudc-export.el: Make it loadable without bbdb.
10751 (top-level): Use require rather than load-library.
10752 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10753 (eudc-batch-export-records-to-bbdb)
10754 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10755 Require bbdb.
10756
10757 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10758
10759 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10760 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10761 some tweaks, instead.
10762
10763 2013-05-05 Leo Liu <sdl.web@gmail.com>
10764
10765 * progmodes/octave.el (octave-font-lock-keywords)
10766 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10767 (inferior-octave-send-list-and-digest): Improve error message.
10768 (octave-mode, inferior-octave-mode): Use setq-local.
10769 (octave-help): Set info-lookup-mode.
10770
10771 2013-05-05 Richard Stallman <rms@gnu.org>
10772
10773 * vc/compare-w.el (compare-windows-whitespace):
10774 Treat no-break space as whitespace.
10775
10776 * mail/rmailsum.el (rmail-summary-rmail-update):
10777 Detect empty summary and don't change selected message.
10778 (rmail-summary-goto-msg): Likewise.
10779
10780 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10781 Doc fixes, rename args.
10782
10783 2013-05-05 Alan Mackenzie <acm@muc.de>
10784
10785 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10786
10787 2013-05-05 Juri Linkov <juri@jurta.org>
10788
10789 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10790 to not add the length of the summary segment to the return value.
10791 (Bug#14125)
10792
10793 2013-05-05 Leo Liu <sdl.web@gmail.com>
10794
10795 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10796 (inferior-octave-output-filter): Remove.
10797 (octave-send-region, inferior-octave-startup): Fix callers.
10798 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10799 (octave-binary-file-extensions): New user variable.
10800 (octave-find-definition): Confirm if opening binary files.
10801 (octave-help-file): Use octave-find-definition to get the binary
10802 confirmation.
10803 (octave-help): Adjust for octave-help-file change.
10804
10805 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10806
10807 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10808 Merge the two entries that handle function definitions.
10809 (pascal--syntax-propertize): New const.
10810 (pascal-mode): Use it. Use setq-local.
10811
10812 2013-05-04 Glenn Morris <rgm@gnu.org>
10813
10814 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10815 (diary-from-outlook): Respect diary-from-outlook-function.
10816
10817 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10818
10819 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10820 Move the declaration from C.
10821 (read-minibuffer, eval-minibuffer): Move from C.
10822 (completion-setup-function): Avoid minibuffer-completion-contents.
10823
10824 2013-05-03 Leo Liu <sdl.web@gmail.com>
10825
10826 * progmodes/octave.el (octave-font-lock-keywords): Do not
10827 dehighlight 'end' in comments or strings.
10828 (octave-completing-read, octave-goto-function-definition):
10829 New helpers.
10830 (octave-help-buffer): New user variable.
10831 (octave-help-file, octave-help-function): New button types.
10832 (octave-help): New command and bind it to C-h ;.
10833 (octave-find-definition): New command and bind it to M-.
10834 (user-error): Alias to error if not defined.
10835
10836 2013-05-02 Leo Liu <sdl.web@gmail.com>
10837
10838 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10839 for \. (bug#14332)
10840 (octave-font-lock-keywords): Include [ and {.
10841
10842 2013-05-02 Leo Liu <sdl.web@gmail.com>
10843
10844 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10845 (inferior-octave): Remove calling comint-mode and return the buffer.
10846 (inferior-octave-startup): Cosmetic changes.
10847
10848 2013-05-02 Leo Liu <sdl.web@gmail.com>
10849
10850 * progmodes/octave.el (octave-syntax-propertize-function):
10851 Include the case when ' is at line beginning. (Bug#14336)
10852
10853 2013-05-02 Glenn Morris <rgm@gnu.org>
10854
10855 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10856 * desktop.el (vc-dir-mode): Just autoload it here.
10857
10858 2013-05-02 Alan Mackenzie <acm@muc.de>
10859
10860 Eliminate variable c-standard-font-lock-fontify-region-function.
10861 * progmodes/cc-mode.el
10862 (c-standard-font-lock-fontify-region-function): Remove.
10863 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10864
10865 2013-05-01 Leo Liu <sdl.web@gmail.com>
10866
10867 * progmodes/octave.el: Compatible with older emacs-24 releases.
10868 (inferior-octave-has-built-in-variables): Remove. Built-in
10869 variables were removed from Octave in 2007.
10870 (inferior-octave-startup): Fix uses.
10871 (comint-line-beginning-position): Remove compatibility code for
10872 emacs 21.
10873
10874 2013-05-01 Juri Linkov <juri@jurta.org>
10875
10876 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10877
10878 2013-05-01 Juri Linkov <juri@jurta.org>
10879
10880 * comint.el (comint-previous-matching-input): Don't print message
10881 "History item: %d" when `isearch-mode' is active.
10882 (comint-history-isearch-message): Print message "History item: %d"
10883 when `comint-input-ring-index' is not empty and this function is
10884 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10885
10886 2013-05-01 Leo Liu <sdl.web@gmail.com>
10887
10888 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10889 definitions. Use completion-at-point to insert keywords.
10890 (octave-abbrev-start): Remove.
10891 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10892
10893 2013-04-30 Leo Liu <sdl.web@gmail.com>
10894
10895 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10896 change.
10897
10898 2013-04-30 Alan Mackenzie <acm@muc.de>
10899
10900 Handle arbitrarily long C++ member initialisation lists.
10901 * progmodes/cc-engine.el (c-back-over-member-initializers):
10902 new function.
10903 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10904 (most) member init lists.
10905
10906 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10907
10908 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10909 variable.
10910
10911 2013-04-30 Leo Liu <sdl.web@gmail.com>
10912
10913 * progmodes/octave.el (octave-variables): Remove. No builtin
10914 variables any more. All converted to functions.
10915 (octave-font-lock-keywords, octave-completion-at-point-function):
10916 Fix uses.
10917 (octave-font-lock-texinfo-comment): New user variable.
10918 (octave-texinfo-font-lock-keywords): New variable for texinfo
10919 comment block.
10920 (octave-function-comment-block): New face.
10921 (octave-font-lock-texinfo-comment): New function.
10922 (octave-mode): Font lock texinfo comment block.
10923
10924 2013-04-29 Leo Liu <sdl.web@gmail.com>
10925
10926 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10927 indexing expression.
10928 (octave-continuation-string): Do not use \.
10929 (inferior-octave-complete-impossible): Remove.
10930 (inferior-octave-completion-table)
10931 (inferior-octave-completion-at-point): Remove its uses.
10932 (inferior-octave-startup): completion_matches was introduced to
10933 Octave in 1996 so safe to assume it.
10934 (octave-function-file-comment): Improve to follow how Octave does it.
10935 (octave-update-function-file-comment): Tweak.
10936
10937 2013-04-29 Leo Liu <sdl.web@gmail.com>
10938
10939 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10940 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10941 (octave-function-file-comment): Fix typo.
10942 (octave-sync-function-file-names): Use read-char-choice.
10943
10944 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10945
10946 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10947 to t for the less important warnings.
10948
10949 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10950
10951 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10952
10953 2013-04-27 Glenn Morris <rgm@gnu.org>
10954
10955 * vc/log-view.el (log-view-current-entry):
10956 Treat "---" separator lines as part of the following rev. (Bug#14169)
10957
10958 2013-04-27 Juri Linkov <juri@jurta.org>
10959
10960 * subr.el (read-number): Doc fix about using it by interactive
10961 code letter `n'. (Bug#14254)
10962
10963 2013-04-27 Juri Linkov <juri@jurta.org>
10964
10965 * desktop.el (desktop-auto-save-timeout): New option.
10966 (desktop-file-checksum): New variable.
10967 (desktop-save): Add optional arg `auto-save' and don't auto-save
10968 if nothing changed.
10969 (desktop-auto-save-timer): New variable.
10970 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10971 (after-init-hook): Call `desktop-auto-save-set-timer'.
10972 Suggested by Reuben Thomas <rrt@sc3d.org> in
10973 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10974
10975 2013-04-27 Leo Liu <sdl.web@gmail.com>
10976
10977 * progmodes/octave.el (octave-function-file-p)
10978 (octave-skip-comment-forward, octave-function-file-comment)
10979 (octave-update-function-file-comment): New functions.
10980 (octave-mode-map): Bind C-c ; to
10981 octave-update-function-file-comment.
10982 (octave-mode-menu): Add octave-update-function-file-comment.
10983 (octave-mode, inferior-octave-mode): Fix doc-string.
10984 (octave-insert-defun): Conform to Octave's coding convention.
10985 (Bug#14285)
10986
10987 * files.el (basic-save-buffer): Don't let errors in
10988 before-save-hook prevent saving buffer.
10989
10990 2013-04-20 Roland Winkler <winkler@gnu.org>
10991
10992 * faces.el (read-face-name): Use completing-read if arg multiple
10993 is nil.
10994
10995 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10996
10997 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10998 displayed, move point to after the totals line.
10999 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11000 for the details.
11001
11002 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11003
11004 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11005 Add current dir to the load-path.
11006 (package-generate-autoloads): Don't rely on
11007 autoload-ensure-default-file.
11008
11009 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11010
11011 * textmodes/remember.el (remember-store-in-files): Document that
11012 the file name format is passed to `format-time-string'.
11013
11014 2013-04-26 Leo Liu <sdl.web@gmail.com>
11015
11016 * progmodes/octave.el (octave-sync-function-file-names): New function.
11017 (octave-mode): Use it in before-save-hook.
11018
11019 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11020
11021 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11022 (bug#14274).
11023
11024 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11025 \n and comment, even if it's not an implicit ; (bug#14218).
11026
11027 2013-04-26 Glenn Morris <rgm@gnu.org>
11028
11029 * subr.el (read-number): Once more use `read' rather than
11030 `string-to-number', to trap non-numeric input. (Bug#14254)
11031
11032 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11033
11034 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11035 Use `syntax-multiline' text property consistently instead of
11036 `font-lock-multiline'. (Bug#14237)
11037
11038 2013-04-26 Glenn Morris <rgm@gnu.org>
11039
11040 * emacs-lisp/shadow.el (list-load-path-shadows):
11041 No longer necessary to check for duplicate simple.el, since
11042 2012-07-07 change to init_lread to not include installation lisp
11043 directories in load-path when running uninstalled. (Bug#14270)
11044
11045 2013-04-26 Leo Liu <sdl.web@gmail.com>
11046
11047 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11048 (octave-mode, inferior-octave-mode): Use setq-local.
11049 (octave-not-in-string-or-comment-p): Rename to
11050 octave-in-string-or-comment-p.
11051 (octave-in-comment-p, octave-in-string-p)
11052 (octave-in-string-or-comment-p): Replace defsubst with defun.
11053
11054 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11055
11056 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11057
11058 2013-04-25 Bastien Guerry <bzg@gnu.org>
11059
11060 * textmodes/remember.el (remember-data-directory)
11061 (remember-directory-file-name-format): Fix custom types.
11062
11063 2013-04-25 Leo Liu <sdl.web@gmail.com>
11064
11065 * progmodes/octave.el (octave-completion-at-point-function):
11066 Make use of inferior octave process.
11067 (octave-initialize-completions): Remove.
11068 (inferior-octave-completion-table): New function.
11069 (inferior-octave-completion-at-point): Use it.
11070 (octave-completion-alist): Remove.
11071
11072 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11073
11074 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11075 (opascal-mode-syntax-table): New var.
11076 (opascal-literal-kind, opascal-is-literal-end)
11077 (opascal-literal-token-at): Rewrite.
11078 (opascal--literal-start-re, opascal-font-lock-keywords)
11079 (opascal--syntax-propertize): New constants.
11080 (opascal-font-lock-defaults): Adjust.
11081 (opascal-mode): Use them. Set comment-<foo> variables as well.
11082 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11083 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11084 (delphi-other-face, opascal-other-face): Remove face variables.
11085 (opascal-save-state): Remove macro.
11086 (opascal-fontifying-progress-step): Remove constant.
11087 (opascal--ignore-changes): Remove var.
11088 (opascal-set-token-property, opascal-parse-next-literal)
11089 (opascal-is-stable-literal, opascal-complete-literal)
11090 (opascal-is-literal-start, opascal-face-of)
11091 (opascal-parse-region, opascal-parse-region-until-stable)
11092 (opascal-fontify-region, opascal-after-change)
11093 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11094 (opascal-debug-parse-region, opascal-debug-parse-window)
11095 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11096 (opascal-debug-fontify-buffer): Remove.
11097 (opascal-debug-mode-map): Adjust accordingly.
11098
11099 2013-04-25 Leo Liu <sdl.web@gmail.com>
11100
11101 Merge octave-mod.el and octave-inf.el into octave.el with some
11102 cleanups.
11103 * progmodes/octave.el: New file renamed from octave-mod.el.
11104 * progmodes/octave-inf.el: Merged into octave.el.
11105 * progmodes/octave-mod.el: Renamed to octave.el.
11106
11107 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11108
11109 * textmodes/reftex-vars.el
11110 (reftex-label-ignored-macros-and-environments): New defcustom.
11111
11112 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11113
11114 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11115
11116 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11117 (smie-indent-keyword): Improve the check to ensure that the next
11118 comment is really on the same line.
11119 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11120
11121 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11122 semi-colons if the line is not otherwise empty (bug#14218).
11123
11124 2013-04-25 Glenn Morris <rgm@gnu.org>
11125
11126 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11127
11128 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11129
11130 * progmodes/opascal.el (opascal-set-token-property): Rename from
11131 opascal-set-text-properties and only set `token' (bug#14134).
11132 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11133 (opascal-literal-text-properties): Remove.
11134 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11135 Adjust callers.
11136
11137 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11138
11139 * textmodes/remember.el (remember-handler-functions): Add an
11140 option for a new handler `remember-store-in-files'.
11141 (remember-data-directory, remember-directory-file-name-format):
11142 New options.
11143 (remember-store-in-files): New function to store remember notes
11144 as separate files within a directory.
11145
11146 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11147
11148 * progmodes/compile.el (compilation-next-error-function):
11149 Pass "formats" to compilation-find-file (bug#11777).
11150
11151 2013-04-24 Glenn Morris <rgm@gnu.org>
11152
11153 * vc/vc-bzr.el (vc-bzr-print-log):
11154 * vc/vc-hg.el (vc-hg-print-log):
11155 * vc/vc-svn.el (vc-svn-print-log):
11156 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11157
11158 * vc/vc-bzr.el (vc-bzr-print-log):
11159 * vc/vc-cvs.el (vc-cvs-print-log):
11160 * vc/vc-git.el (vc-git-print-log):
11161 * vc/vc-hg.el (vc-hg-print-log):
11162 * vc/vc-mtn.el (vc-mtn-print-log):
11163 * vc/vc-rcs.el (vc-rcs-print-log):
11164 * vc/vc-sccs.el (vc-sccs-print-log):
11165 * vc/vc-svn.el (vc-svn-print-log):
11166 * vc/vc.el (vc-print-log-internal): Doc fixes.
11167
11168 2013-04-23 Glenn Morris <rgm@gnu.org>
11169
11170 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11171 Remove venerable code attempting to avoid substitute-command-keys.
11172
11173 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11174
11175 * textmodes/reftex-vars.el (reftex-label-regexps):
11176 Call `reftex-compile-variables' after changes to this variable.
11177
11178 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11179
11180 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11181 Use lexical-binding.
11182 (jit-lock-force-redisplay): Use markers, check buffer's continued
11183 existence and beware narrowed buffers.
11184 (jit-lock-fontify-now): Adjust call accordingly.
11185
11186 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11187
11188 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11189 to avoid misleading the user.
11190
11191 2013-04-22 Leo Liu <sdl.web@gmail.com>
11192
11193 * info-look.el: Prefer latex2e.info. (Bug#14240)
11194
11195 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11196
11197 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11198
11199 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11200 * net/tramp.el (tramp-call-process): ... here.
11201 (tramp-set-completion-function, tramp-parse-putty):
11202 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11203 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11204 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11205 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11206 (tramp-call-local-coding-command): Use `tramp-call-process'
11207 instead of `tramp-compat-call-process'.
11208
11209 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11210 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11211 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11212 (tramp-find-inline-compress): Improve traces.
11213 (tramp-maybe-send-script): Check for Perl binary.
11214 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11215
11216 2013-04-22 Daiki Ueno <ueno@gnu.org>
11217
11218 * epg.el (epg-context-pinentry-mode): New function.
11219 (epg-context-set-pinentry-mode): New function.
11220 (epg--start): Pass --pinentry-mode option to gpg command.
11221
11222 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11223
11224 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11225 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11226 `completion-at-point'. (Bug#13774)
11227
11228 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11229 default key binding for `describe-distribution' has been moved to
11230 `C-h C-o'. (Bug#13970)
11231
11232 2013-04-21 Glenn Morris <rgm@gnu.org>
11233
11234 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11235 Add doc strings.
11236 (vc-print-log): Clarify interactive prompt.
11237
11238 2013-04-20 Glenn Morris <rgm@gnu.org>
11239
11240 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11241 No longer include timestamp etc information.
11242
11243 2013-04-20 Roland Winkler <winkler@gnu.org>
11244
11245 * faces.el (read-face-name): Bug fix, return just one face if arg
11246 multiple is nil. (Bug#14209)
11247
11248 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11249
11250 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11251 (remove-function): Autoload.
11252
11253 * comint.el (comint-redirect-original-filter-function): Remove.
11254 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11255 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11256 (vc-cvs-annotate-command):
11257 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11258 * progmodes/prolog.el (prolog-consult-compile):
11259 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11260 Use add/remove-function instead.
11261 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11262 (gud-tooltip-process-output, gud-tooltip-tips):
11263 Use add/remove-function instead.
11264 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11265 (scheme-interaction-mode, exit-scheme-interaction-mode):
11266 Use add/remove-function instead.
11267
11268 * vc/vc-dispatcher.el: Use lexical-binding.
11269 (vc--process-sentinel): Rename from vc-process-sentinel.
11270 Change last arg to be the code to run. Don't use vc-previous-sentinel
11271 and vc-sentinel-commands any more.
11272 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11273 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11274
11275 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11276
11277 * progmodes/sh-script.el (sh-imenu-generic-expression):
11278 Handle function names with a single character. (Bug#14111)
11279
11280 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11281
11282 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11283 for subroutines defined in an eval (bug#14182).
11284
11285 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11286
11287 * bookmark.el (bookmark-completing-read): Improve handling of empty
11288 string (bug#14176).
11289
11290 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11291
11292 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11293
11294 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11295
11296 New faster Imenu implementation (bug#14058).
11297 * progmodes/python.el:
11298 (python-imenu-prev-index-position):
11299 (python-imenu-format-item-label-function)
11300 (python-imenu-format-parent-item-label-function)
11301 (python-imenu-format-parent-item-jump-label-function):
11302 New vars.
11303 (python-imenu-format-item-label)
11304 (python-imenu-format-parent-item-label)
11305 (python-imenu-format-parent-item-jump-label)
11306 (python-imenu--put-parent, python-imenu--build-tree)
11307 (python-imenu-create-index, python-imenu-create-flat-index)
11308 (python-util-popn): New functions.
11309 (python-mode): Set imenu-create-index-function to
11310 python-imenu-create-index.
11311
11312 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11313
11314 * winner.el (winner-active-region): Use region-active-p, activate-mark
11315 and deactivate-mark (bug#14225).
11316
11317 * simple.el (deactivate-mark): Don't inline it.
11318
11319 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11320
11321 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11322
11323 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11324
11325 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11326 file extensions from the archive-mode entry in order to prefer
11327 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11328
11329 2013-04-18 Leo Liu <sdl.web@gmail.com>
11330
11331 * bindings.el (help-event-list): Add ?\?.
11332
11333 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11334
11335 * subr.el (with-wrapper-hook): Declare obsolete.
11336 * simple.el (filter-buffer-substring-function): New hook.
11337 (filter-buffer-substring): Use it.
11338 (filter-buffer-substring-functions): Mark obsolete.
11339 * minibuffer.el (completion-in-region-function): New hook.
11340 (completion-in-region): Use it.
11341 (completion-in-region-functions): Mark obsolete.
11342 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11343 * abbrev.el (abbrev-expand-function): New hook.
11344 (expand-abbrev): Use it.
11345 (abbrev-expand-functions): Mark obsolete.
11346 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11347 and :filter-return.
11348
11349 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11350
11351 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11352 and do not care about match data.
11353
11354 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11355
11356 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11357 completion tables when completing error conditions and
11358 `declare' arguments.
11359 (lisp-complete-symbol, field-complete): Mark as obsolete.
11360 (check-parens): Unmatched parens are user errors.
11361 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11362
11363 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11364
11365 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11366 command changed buffer (ie. `flyspell-pre-buffer' is not current
11367 buffer), which prevents making decisions based on invalid value of
11368 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11369 cause an error when `flyspell-pre-point' was nil after switching
11370 buffers.
11371 (flyspell-post-command-hook): No longer needs to change buffers when
11372 checking pre-word. While at it remove unnecessary progn.
11373
11374 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11375
11376 * textmodes/ispell.el (ispell-add-per-file-word-list):
11377 Fix `flyspell-correct-word-before-point' error when accepting
11378 words and `coment-padding' is an integer by using
11379 `comment-normalize-vars' (Bug #14214).
11380
11381 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11382
11383 New defun movement commands.
11384 * progmodes/python.el (python-nav--syntactically)
11385 (python-nav--forward-defun, python-nav-backward-defun)
11386 (python-nav-forward-defun): New functions.
11387
11388 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11389
11390 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11391 (python-syntax-context): Use named compiler-macro for backwards
11392 compatibility with Emacs 24.x.
11393
11394 2013-04-17 Leo Liu <sdl.web@gmail.com>
11395
11396 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11397 octave-hide-process-buffer.
11398
11399 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11400
11401 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11402 (bug#14216).
11403
11404 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11405
11406 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11407 Fix adjustment of offset when receiving incomplete responses from GDB
11408 (bug#14129).
11409
11410 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11411
11412 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11413 python-mode-abbrev-table.
11414 (python-skeleton-define): Adjust accordingly.
11415 (python-mode-abbrev-table): New table that inherits from it so that
11416 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11417
11418 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11419 (abbrev-symbol): Use it.
11420 (abbrev--before-point): Use it since we already handle inheritance.
11421
11422 2013-04-16 Leo Liu <sdl.web@gmail.com>
11423
11424 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11425 binding to info-lookup-symbol.
11426
11427 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11428
11429 * minibuffer.el (completion--twq-all):
11430 * term/ns-win.el (ns-initialize-window-system):
11431 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11432
11433 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11434
11435 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11436 global bindings.
11437
11438 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11439
11440 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11441
11442 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11443 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11444 to nil.
11445 (ruby-end-of-defun): Remove the unused arg, change the docstring
11446 to reflect that this function is only used as the value of
11447 `end-of-defun-function'.
11448 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11449 to reflect an earlier change that beginning/end-of-defun functions
11450 jump between methods in a class definition, as well as top-level
11451 functions.
11452
11453 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11454
11455 * minibuffer.el (minibuffer-complete): Don't just scroll
11456 a *Completions* that's been iconified.
11457 (minibuffer-force-complete): Make sure repetitions do cycle when going
11458 through completion-in-region -> minibuffer-complete.
11459
11460 2013-04-15 Alan Mackenzie <acm@muc.de>
11461
11462 Correct the placement of c-cpp-delimiters when there're #s not at
11463 col 0.
11464
11465 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11466 place a submatch around the #.
11467 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11468 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11469 on the #, not BOL.
11470
11471 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11472
11473 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11474 (advice--member-p): New arg `name'.
11475 (advice--add-function, advice-member-p): Use it (bug#14202).
11476
11477 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11478
11479 Reformulate java imenu-generic-expression.
11480 The old expression contained ill formed regexps.
11481
11482 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11483 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11484 (cc-imenu-java-method-arg-regexp): New defconsts.
11485 (cc-imenu-java-build-type-args-regex): New defun.
11486 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11487 handling of spaces in the regexp.
11488
11489 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11490
11491 * textmodes/ispell.el (ispell-command-loop): Remove
11492 flyspell highlight of a word when ispell accepts it (bug #14178).
11493
11494 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11495
11496 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11497 uses code from the previous `ange-ftp-run-real-handler'.
11498 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11499 only in case that function exist. This is needed for proper
11500 unloading of Tramp.
11501
11502 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11503
11504 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11505
11506 * textmodes/reftex.el (reftex-compile-variables): Use it.
11507
11508 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11509
11510 * files.el (normal-mode): Only use default major-mode if no other mode
11511 was specified.
11512
11513 * emacs-lisp/trace.el (trace-values): New function.
11514
11515 * files.el: Allow : in local variables (bug#14089).
11516 (hack-local-variable-regexp): New var.
11517 (hack-local-variables-prop-line, hack-local-variables): Use it.
11518
11519 2013-04-13 Roland Winkler <winkler@gnu.org>
11520
11521 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11522 data before it gets modified by bibtex-beginning-of-entry.
11523
11524 2013-04-13 Roland Winkler <winkler@gnu.org>
11525
11526 * textmodes/bibtex.el (bibtex-url): Doc fix.
11527
11528 2013-04-13 Roland Winkler <winkler@gnu.org>
11529
11530 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11531 does not visit a BibTeX file, exclude it from the list of buffers
11532 returned by bibtex-initialize.
11533
11534 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11535
11536 * window.el (split-window): Remove interactive form, since as a
11537 command this function is a special case of split-window-below.
11538 Correct doc string.
11539
11540 2013-04-12 Roland Winkler <winkler@gnu.org>
11541
11542 * faces.el (read-face-name): Do not override value of arg default.
11543 Allow single faces and strings as default values. Remove those
11544 elements from return value that are not faces.
11545 (describe-face): Simplify.
11546 (face-at-point): New optional args thing and multiple so that this
11547 function can provide the same functionality previously provided by
11548 read-face-name.
11549 (make-face-bold, make-face-unbold, make-face-italic)
11550 (make-face-unitalic, make-face-bold-italic, invert-face)
11551 (modify-face, read-face-and-attribute): Use face-at-point.
11552
11553 * cus-edit.el (customize-face, customize-face-other-window)
11554 * cus-theme.el (custom-theme-add-face)
11555 * face-remap.el (buffer-face-set)
11556 * facemenu.el (facemenu-set-face): Use face-at-point.
11557
11558 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11559
11560 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11561
11562 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11563
11564 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11565 off leading { and trailing } from field values.
11566
11567 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11568
11569 * emacs-lisp/timer.el (timer--check): New function.
11570 (timer--time, timer-set-function, timer-event-handler): Use it.
11571 (timer-set-idle-time): Simplify.
11572 (timer--activate): CSE.
11573 (timer-event-handler): Give more info in error message.
11574 (internal-timer-start-idle): New function, moved from C.
11575
11576 * mpc.el (mpc-proc): Add `restart' argument.
11577 (mpc-proc-cmd): Use it.
11578 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11579 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11580 less often.
11581
11582 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11583
11584 * progmodes/sh-script.el: Implement `sh-mode' own
11585 `add-log-current-defun-function' (bug#14112).
11586 (sh-current-defun-name): New function.
11587 (sh-mode): Use the function.
11588
11589 2013-04-09 Bastien Guerry <bzg@gnu.org>
11590
11591 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11592
11593 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11594
11595 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11596
11597 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11598 timer (bug#14156).
11599
11600 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11601
11602 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11603 declaration.
11604
11605 2013-04-07 Leo Liu <sdl.web@gmail.com>
11606
11607 * pcmpl-x.el: New file.
11608
11609 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11610
11611 Do not set x-display-name until X connection is established.
11612 This is needed to prevent from weird situation described at
11613 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11614 * frame.el (make-frame): Set x-display-name after call to
11615 window system initialization function, not before.
11616 * term/x-win.el (x-initialize-window-system): Add optional
11617 display argument and use it.
11618 * term/w32-win.el (w32-initialize-window-system):
11619 * term/ns-win.el (ns-initialize-window-system):
11620 * term/pc-win.el (msdos-initialize-window-system):
11621 Add compatible optional display argument.
11622
11623 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11624
11625 * files.el (normal-backup-enable-predicate): On MS-Windows and
11626 MS-DOS compare truenames of temporary-file-directory and of the
11627 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11628 don't fail comparison by compare-strings. Also, compare file
11629 names case-insensitively on MS-Windows and MS-DOS.
11630
11631 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11632
11633 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11634 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11635
11636 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11637
11638 * whitespace.el (whitespace-color-on, whitespace-color-off):
11639 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11640
11641 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11642
11643 * ispell.el (ispell-set-spellchecker-params):
11644 Really set `ispell-args' for all equivs.
11645
11646 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11647
11648 * ido.el (ido-completions): Use extra elements of ido-decorations
11649 (bug#14143).
11650 (ido-decorations): Update docstring.
11651
11652 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11653
11654 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11655 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11656 nil during initialization, in order not to miss changes since the
11657 file was opened. (Bug#14140)
11658
11659 2013-04-05 Leo Liu <sdl.web@gmail.com>
11660
11661 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11662
11663 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11664
11665 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11666
11667 2013-04-04 Glenn Morris <rgm@gnu.org>
11668
11669 * electric.el (electric-pair-inhibit-predicate): Add :version.
11670
11671 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11672
11673 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11674 when a package is required several times (bug#14082).
11675
11676 2013-04-04 Roland Winkler <winkler@gnu.org>
11677
11678 * faces.el (read-face-name): Behave as promised by the docstring.
11679 Assume that arg default is a list of faces.
11680 (describe-face): Call read-face-name with list of default faces.
11681
11682 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11683
11684 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11685 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11686 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11687 the header.
11688 (bookmark-exit-hook-internal): Save even if list is empty.
11689
11690 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11691
11692 * emacs-lisp/package.el (package-pinned-packages): New var.
11693 (package--add-to-archive-contents): Obey it (bug#14118).
11694
11695 2013-04-03 Alan Mackenzie <acm@muc.de>
11696
11697 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11698 Also adapt to the new values of element 7 of a parse state.
11699
11700 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11701 parameter `not-in-delimiter'. Handle being inside comment opener.
11702 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11703 character in case we're typing a '*' after a '/'.
11704 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11705 instead by passing the parameter to c-state-pp-to-literal.
11706
11707 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11708 for elt. 7 of a parse state.
11709
11710 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11711
11712 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11713 * international/latin1-disp.el, international/mule-util.el:
11714 * language/cyril-util.el, language/european.el, language/ind-util.el:
11715 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11716 * language/tibetan.el, language/viet-util.el:
11717 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11718
11719 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11720
11721 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11722 (electric-pair-post-self-insert-function): Use it.
11723 (electric-pair-default-inhibit): New function, extracted from
11724 electric-pair-post-self-insert-function.
11725
11726 2013-03-31 Roland Winkler <winkler@gnu.org>
11727
11728 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11729
11730 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11731
11732 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11733
11734 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11735
11736 Un-indent after "pass" and "return" statements (Bug#13888)
11737 * progmodes/python.el (python-indent-block-enders): New var.
11738 (python-indent-calculate-indentation): Use it.
11739
11740 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11741
11742 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11743 defun. Defining it as defalias could introduce too eager
11744 byte-compiler optimization. (Bug#14030)
11745
11746 2013-03-30 Chong Yidong <cyd@gnu.org>
11747
11748 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11749
11750 2013-03-30 Leo Liu <sdl.web@gmail.com>
11751
11752 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11753 (kmacro-execute-from-register): Pass the keyboard macro to
11754 kmacro-call-macro or repeating won't work correctly.
11755
11756 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11757
11758 * progmodes/subword.el: Back to using `forward-symbol'.
11759
11760 * subr.el (forward-whitespace, forward-symbol)
11761 (forward-same-syntax): Move from thingatpt.el.
11762
11763 2013-03-29 Leo Liu <sdl.web@gmail.com>
11764
11765 * kmacro.el (kmacro-to-register): New command.
11766 (kmacro-execute-from-register): New function.
11767 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11768
11769 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11770
11771 * mpc.el: Use defvar-local and setq-local.
11772 (mpc--proc-connect): Connection failures are not bugs.
11773 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11774 (mpc-volume-map): Bind to the up-events.
11775
11776 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11777
11778 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11779 instead of `forward-symbol'.
11780
11781 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11782
11783 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11784 (edebug--recursive-edit): Use it.
11785 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11786 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11787
11788 2013-03-28 Leo Liu <sdl.web@gmail.com>
11789
11790 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11791
11792 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11793
11794 * facemenu.el (list-colors-callback): New defvar.
11795 (list-colors-redisplay): New function.
11796 (list-colors-display): Install list-colors-redisplay as the
11797 revert-buffer-function. (Bug#14063)
11798
11799 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11800
11801 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11802 and suffixes don't overlap (bug#14061).
11803
11804 * case-table.el: Use lexical-binding.
11805 (case-table-get-table): New function.
11806 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11807
11808 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11809
11810 * progmodes/subword.el: Add `superword-mode' to do word motion
11811 over symbol_words (parallels and leverages `subword-mode' which
11812 does word motion inside MixedCaseWords).
11813
11814 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11815
11816 * eshell/em-unix.el: Move su and sudo to...
11817 * eshell/em-tramp.el: ...Eshell tramp module.
11818
11819 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11820
11821 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11822 Change return value to be a sexp. Delay `get-buffer' to after
11823 restoring the desktop (bug#13951).
11824
11825 2013-03-26 Leo Liu <sdl.web@gmail.com>
11826
11827 * register.el: Move semantic tag handling back to
11828 cedet/semantic/senator.el. (Bug#14052)
11829
11830 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11831
11832 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11833 into the prompt either (bug#13963).
11834
11835 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11836
11837 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11838 part of "(error-foo)".
11839
11840 2013-03-24 Juri Linkov <juri@jurta.org>
11841
11842 * replace.el (list-matching-lines-prefix-face): New defcustom.
11843 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11844 `occur-engine' if `face-differs-from-default-p' returns t.
11845 (occur-engine): Add `,' inside backquote construct to evaluate
11846 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11847 Pass `prefix-face' to the functions `occur-context-lines' and
11848 `occur-engine-add-prefix'.
11849 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11850 `prefix-face' and propertize the prefix with `prefix-face'.
11851 (Bug#14017)
11852
11853 2013-03-24 Leo Liu <sdl.web@gmail.com>
11854
11855 * nxml/rng-valid.el (rng-validate-while-idle)
11856 (rng-validate-quick-while-idle): Guard against deleted buffer.
11857 (Bug#13999)
11858
11859 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11860 is the last entry in kill-buffer-hook.
11861
11862 * files.el (kill-buffer-hook): Doc fix.
11863
11864 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11865
11866 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11867 Make it safe-local.
11868
11869 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11870
11871 2013-03-23 Leo Liu <sdl.web@gmail.com>
11872
11873 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11874 Remove.
11875
11876 * nxml/rng-valid.el (rng-validate-mode)
11877 (rng-after-change-function, rng-do-some-validation):
11878 * nxml/rng-maint.el (rng-validate-buffer):
11879 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11880 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11881 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11882 (nxml-extend-after-change-region): Use with-silent-modifications.
11883
11884 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11885 timer-idle-list.
11886
11887 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11888 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11889 timer-idle-list. (Bug#13999)
11890
11891 2013-03-23 Juri Linkov <juri@jurta.org>
11892
11893 * info.el (info-index-match): New face.
11894 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11895 main pattern and add text properties with the new face to matches
11896 in index entries relative to the beginning of the index entry.
11897 (Bug#14015)
11898
11899 2013-03-21 Eric Ludlam <zappo@gnu.org>
11900
11901 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11902 Inhibit read only while inserting objects.
11903
11904 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11905
11906 * progmodes/cfengine.el: Update docs to mention
11907 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11908 symbol motion. Remove "_" from the word syntax.
11909
11910 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11911
11912 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11913 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11914
11915 2013-03-20 Juri Linkov <juri@jurta.org>
11916
11917 * info.el (Info-next-reference-or-link)
11918 (Info-prev-reference-or-link): New functions.
11919 (Info-next-reference, Info-prev-reference): Use them.
11920 (Info-try-follow-nearest-node): Handle footnote navigation.
11921 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11922
11923 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11924
11925 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11926 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11927
11928 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11929
11930 Suppress unnecessary non-ASCII chatter during build process.
11931 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11932 (batch-skkdic-convert): Suppress most of the chatter.
11933 It's not needed so much now that machines are faster,
11934 and its non-ASCII component was confusing; see Dmitry Gutov in
11935 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11936
11937 2013-03-20 Leo Liu <sdl.web@gmail.com>
11938
11939 * ido.el (ido-chop): Fix bug#10994.
11940
11941 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11942
11943 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11944 Remove vars.
11945 (whitespace-color-on, whitespace-color-off):
11946 Use `font-lock-fontify-buffer' (Bug#13817).
11947
11948 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11949
11950 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11951 remapping in mode-line.
11952 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11953
11954 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11955
11956 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11957 value for `whitespace-line' face (Bug#13875).
11958 (whitespace-font-lock-keywords): Change description.
11959 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11960 the constructed keywords instead.
11961 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11962
11963 2013-03-19 Leo Liu <sdl.web@gmail.com>
11964
11965 * progmodes/compile.el (compilation-display-error): New command.
11966 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11967 C-o. (Bug#13992)
11968
11969 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11970
11971 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11972
11973 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11974
11975 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11976
11977 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11978
11979 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11980
11981 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11982 * net/tramp-gvfs.el (top):
11983 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11984 (tramp-handle-shell-command): Use it.
11985 (tramp-dissect-file-name): Raise an error when hostname is a
11986 method name, and neither method nor user is specified.
11987
11988 * net/trampver.el: Update release number.
11989
11990 2013-03-18 Leo Liu <sdl.web@gmail.com>
11991
11992 Make sure eldoc can be turned off properly.
11993 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11994 eldoc-mode.
11995 (eldoc-display-message-p): Revert last change.
11996 (eldoc-display-message-no-interference-p)
11997 (eldoc-print-current-symbol-info): Tweak.
11998
11999 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12000
12001 * doc-view.el (doc-view-new-window-function): Check the new window
12002 overlay's display property instead the char property of the
12003 buffer's first char. Use `with-selected-window' instead of
12004 `save-window-excursion' with `select-window'.
12005 (doc-view-document->bitmap): Check the current doc-view overlay's
12006 display property instead the char property of the buffer's first char.
12007
12008 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12009
12010 Automate the build of ja-dic.el (Bug#13984).
12011 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12012 from the input, rather than assume that it's been done for us by the
12013 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12014 the current date into a ja-dic.el comment, as that complicates
12015 regression testing.
12016
12017 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12018
12019 * whitespace.el: Fix double evaluation.
12020 (whitespace-space, whitespace-hspace, whitespace-tab)
12021 (whitespace-newline, whitespace-trailing, whitespace-line)
12022 (whitespace-space-before-tab, whitespace-indentation)
12023 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12024 obsolete defvars.
12025 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12026 (whitespace-color-on): Use a single font-lock-add-keywords call.
12027 Fix double-evaluation of face variables.
12028
12029 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12030
12031 * net/tramp-adb.el (tramp-adb-parse-device-names):
12032 Use `start-process' instead of `call-process'. Otherwise, the
12033 function might be blocked under MS Windows. (Bug#13299)
12034
12035 2013-03-17 Leo Liu <sdl.web@gmail.com>
12036
12037 Extend eldoc to display info in the mode-line. (Bug#13978)
12038 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12039 (eldoc-mode-line-string): New variable.
12040 (eldoc-minibuffer-message): New function.
12041 (eldoc-message-function): New variable.
12042 (eldoc-message): Use it.
12043 (eldoc-display-message-p)
12044 (eldoc-display-message-no-interference-p):
12045 Support eldoc-post-insert-mode.
12046
12047 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12048 (eval-expression): Run it.
12049
12050 2013-03-17 Roland Winkler <winkler@gnu.org>
12051
12052 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12053 strings in the list of return values.
12054
12055 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12056
12057 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12058 radix before checking for HMS forms.
12059
12060 2013-03-16 Leo Liu <sdl.web@gmail.com>
12061
12062 * progmodes/scheme.el: Add indentation and font-locking for λ.
12063 (Bug#13975)
12064
12065 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12066
12067 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12068 token before point (bug#13942).
12069
12070 2013-03-16 Leo Liu <sdl.web@gmail.com>
12071
12072 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12073
12074 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12075
12076 * startup.el (command-line-normalize-file-name): Fix handling of
12077 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12078 <xfq.free@gmail.com> in
12079 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12080
12081 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12082
12083 Sync with Tramp 2.2.7.
12084
12085 * net/trampver.el: Update release number.
12086
12087 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12088
12089 * doc-view.el: Fix bug#13887.
12090 (doc-view-insert-image): Don't modify overlay associated to
12091 non-live windows, and implement horizontal centering of image in
12092 case it's smaller than the window.
12093 (doc-view-new-window-function): Force redisplay of new windows on
12094 doc-view buffers.
12095
12096 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12097
12098 * saveplace.el (save-place-alist-to-file): Don't sort
12099 `save-place-alist', just pretty-print it (bug#13882).
12100
12101 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12102
12103 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12104 Check whether `default-file-name-coding-system' is bound.
12105 It isn't in XEmacs.
12106
12107 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12108
12109 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12110 backquotes for `obsolete' (bug#13929).
12111
12112 * international/mule.el (find-auto-coding): Include file name in
12113 obsolescence warning (bug#13922).
12114
12115 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12116
12117 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12118 for CFEngine 3-specific indentation.
12119 (cfengine3-indent-line): Use it. Fix up category regex.
12120 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12121
12122 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12123
12124 * type-break.el (type-break-file-name):
12125 * textmodes/remember.el (remember-data-file):
12126 * strokes.el (strokes-file):
12127 * shadowfile.el (shadow-initialize):
12128 * saveplace.el (save-place-file):
12129 * ps-bdf.el (bdf-cache-file):
12130 * progmodes/idlwave.el (idlwave-config-directory):
12131 * net/quickurl.el (quickurl-url-file):
12132 * international/kkc.el (kkc-init-file-name):
12133 * ido.el (ido-save-directory-list-file):
12134 * emulation/viper.el (viper-custom-file-name):
12135 * emulation/vip.el (vip-startup-file):
12136 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12137 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12138
12139 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12140
12141 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12142 * language/thai-word.el: Switch to UTF-8.
12143
12144 See ChangeLog.16 for earlier changes.
12145
12146 ;; Local Variables:
12147 ;; coding: utf-8
12148 ;; End:
12149
12150 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12151
12152 This file is part of GNU Emacs.
12153
12154 GNU Emacs is free software: you can redistribute it and/or modify
12155 it under the terms of the GNU General Public License as published by
12156 the Free Software Foundation, either version 3 of the License, or
12157 (at your option) any later version.
12158
12159 GNU Emacs is distributed in the hope that it will be useful,
12160 but WITHOUT ANY WARRANTY; without even the implied warranty of
12161 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12162 GNU General Public License for more details.
12163
12164 You should have received a copy of the GNU General Public License
12165 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.