* lisp/emacs-lisp/edebug.el (edebug--display): Move protective let-binding
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
fd7fde15
SM
12014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4 so it applies in the right buffer (bug#16410).
5
c176054f
DC
62014-01-13 Daniel Colascione <dancol@dancol.org>
7
8 * textmodes/rst.el (rst-define-key): Provide deprecated
9 keybindings through named functions instead of anonymous ones so
10 that "??" doesn't appear in describe-mode output.
11
e3f33e5d
BG
122014-01-13 Bastien Guerry <bzg@gnu.org>
13
14 * simple.el (define-alternatives): Call the selected command
15 interactively. When setting `COMMAND--implementation' for the
16 first time, tell the user how to chose another implementation.
17 Enhance the docstring.
18
c055d654
SM
192014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
20
21 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
22 (log-edit--match-first-line): New function.
23 (log-edit-font-lock-keywords): Use it.
24 (log-edit-mode): Make jit-lock-defer-multiline work.
25
d791cc3b
BG
262014-01-13 Bastien Guerry <bzg@gnu.org>
27
28 * rect.el (rectangle-mark-mode): When the region is not active,
29 display a message saying that the mark as been set and that
30 rectangle mode is in use.
31 (rectangle--highlight-for-redisplay): Only put an overlay with a
32 visible vertical bar when (display-graphic-p) is non-nil.
33 This partially fixes Bug#16403.
34
3c0c4562
JL
352014-01-13 Juri Linkov <juri@jurta.org>
36
37 * info.el (Info-find-file): Go to DIR before displaying the error
38 about a nonexistent file if no previous Info file is visited.
39 Use `user-error' instead of `error' for "Info file %s does not exist".
40 (Info-find-node-2): In case of a nonexistent node in unwind forms
41 go to the Top node if there is no previous node to revert to.
42 (Bug#16405)
43
25a700d0
MR
442014-01-13 Martin Rudalics <rudalics@gmx.at>
45
46 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
47 * window.el (fit-frame-to-buffer): Fix doc-string.
48 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
49 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
50 when avoiding that frame goes partially off-screen.
51 (fit-window-to-buffer): Respect window-min-height/-width
52 (Bug#14096).
53
6ae948d8
SM
542014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
57 after an empty line.
58
6137cb82
SM
592014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
60
61 * net/shr.el (shr-render-region): Autoload.
62
e6344e17
XF
632014-01-12 Xue Fuqiao <xfq.free@gmail.com>
64
65 * net/eww.el (eww-download-directory): Rename from
66 `eww-download-path' (Bug#16419).
67
3b922c70
LL
682014-01-12 Leo Liu <sdl.web@gmail.com>
69
70 * dired-x.el (dired-mode-map): Fix last change.
71
72 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
73
4fa51741
PE
742014-01-12 Paul Eggert <eggert@cs.ucla.edu>
75
76 Spelling fixes.
77 * emacs-lisp/generic.el (generic--normalize-comments):
78 Rename from generic--normalise-comments. All uses changed.
79 * play/bubbles.el (bubbles--neighborhood-score):
80 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
81 (bubbles--neighborhood-available)
82 (bubbles--update-neighborhood-score):
83 Rename from names with 'neighbourhood'. All uses changed.
84
9b335362
LL
852014-01-12 Leo Liu <sdl.web@gmail.com>
86
87 Re-implement the feature of showing eldoc info after editing.
88 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
89 (eldoc-edit-message-commands): New function.
90 (eldoc-print-after-edit): New variable.
91 (eldoc-pre-command-refresh-echo-area): Emit message only by
92 eldoc-message-commands.
93 (eldoc-mode): Restrict eldoc-message-commands to editing commands
94 if eldoc-print-after-edit is set. (Bug#16346)
95
6137cb82 96 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 97
9685190b
ER
982014-01-11 Eric S. Raymond <esr@thyrsus.com>
99
841a6d0c 100 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 101 function works correctly in either a Bazaar or Git repo.
0abf4134 102
6137cb82
SM
103 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
104 Goes with removal of the joke manpages from /etc.
9685190b 105
3923e7bd
KH
1062014-01-10 K. Handa <handa@gnu.org>
107
6137cb82
SM
108 * mail/rmail.el (rmail-get-coding-system):
109 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 110
d2f16e93
GM
1112014-01-10 Glenn Morris <rgm@gnu.org>
112
113 * emacs-lisp/authors.el (authors-fixed-entries):
114 Update for files that no longer exist.
115
7e03bb32
ER
1162014-01-10 Eric S. Raymond <esr@thyrsus.com>
117
118 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 119 24.3 (Tested).
7e03bb32 120
dd806710
BB
1212014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
122
123 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
124 and Podfile.
125
ed6ec139
EZ
1262014-01-10 Eli Zaretskii <eliz@gnu.org>
127
128 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
129
cc33cac9
CY
1302014-01-10 Chong Yidong <cyd@gnu.org>
131
6137cb82 132 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 133
d9d836b5
AL
1342014-01-10 Anders Lindgren <andlind@gmail.com>
135
136 * follow.el (follow-cache-command-list): Include right-char and
137 left-char.
138
06827ec8
PE
1392014-01-10 Paul Eggert <eggert@cs.ucla.edu>
140
141 Spelling fixes.
142 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
143 * woman.el (woman-mark-horizontal-position):
144 Rename from woman-mark-horizonal-position. Use changed.
145
458dbf5e
GM
1462014-01-10 Glenn Morris <rgm@gnu.org>
147
dad6fae7
GM
148 * info.el (info-initialize): If running uninstalled, ensure our
149 own info files are always found first, even if INFOPATH is set.
150
458dbf5e
GM
151 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
152
05e0afce
DE
1532014-01-09 David Engster <deng@randomsample.de>
154
155 * emacs-lisp/eieio-custom.el:
156 * emacs-lisp/eieio-opt.el: Set generated autoload file to
157 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
158 * emacs-lisp/eieio.el: Regenerate autoloads.
159
f29778b3
ER
1602014-01-09 Eric S. Raymond <esr@thyrsus.com>
161
162 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 163 following renames. (Bug#8756)
f29778b3 164
684d44ef
SM
1652014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
166
167 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
168 (bug#16382).
169 (activate-mark): Add `no-tmm' argument.
170 (set-mark, push-mark-command): Use it instead of running
171 activate-mark-hook by hand.
172
9475054f
ER
1732014-01-08 Eric S. Raymond <esr@thyrsus.com>
174
175 In preparation for the move to git, sanitize out some
176 Bazaar-specific names.
177
178 * version.el (emacs-bzr-version): Name changed to
ceb885a1 179 emacs-repository-version. Obsolete-variable alias made.
9475054f 180 * loadup.el: Follow through on this name change.
a12bf61e 181 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
182 assumption about the version control system in use.
183
0f918d96 1842014-01-08 David Engster <deng@randomsample.de>
abb82152 185
684d44ef
SM
186 * help-fns.el (help-fns-describe-function-functions):
187 New variable to call functions for augmenting help buffers.
abb82152
DE
188 (describe-function-1): Remove explicit calls to
189 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
190 `help-fns--obsolete'. Put them in above new variable instead, and
191 call them through `run-hook-with-args'.
192 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
193 `eieio-describe-class'. Not meant for interactive use anymore,
194 but to augment existing help buffers. Remove optional second
684d44ef
SM
195 argument. Create proper button for file location.
196 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
197 possible.
198 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
199 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
200 (describe-method, describe-generic, eieio-describe-method):
201 Remove aliases.
0f918d96
DE
202 (eieio-help-constructor, eieio-help-generic): Rename from
203 `eieio-describe-constructor' and `eieio-describe-generic', resp.
204 Rewrite to use `insert' in the current buffer and use proper help
205 buttons.
206 (eieio-help-find-method-definition)
207 (eieio-help-find-class-definition): Also accept symbols as
208 arguments.
209 (eieio-help-mode-augmentation-maybee): Remove.
210 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
211 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
212 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 213
136b74c5
PE
2142014-01-08 Paul Eggert <eggert@cs.ucla.edu>
215
216 Spelling fixes.
217 * language/china-util.el (hz-ascii-designation):
218 Rename from hz-ascii-designnation.
219 (hz-ascii-designation): Rename from hz-ascii-designnation.
220 All uses changed.
221
ec6c7de2
SM
2222014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
223
224 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
225 package-alist.
226
d6262c7c
BG
2272014-01-08 Bastien Guerry <bzg@gnu.org>
228
4b9e6087
GM
229 * emacs-lisp/package.el (package-delete):
230 Correctly delete the package from package-alist.
d6262c7c 231
0a3eec32
DU
2322014-01-08 Daiki Ueno <ueno@gnu.org>
233
234 * emacs-lisp/package.el (url-recreate-url): Declare.
235 (url-http-target-url): Declare.
4b9e6087 236 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
237 (package--check-signature): Don't re-signal errors from
238 package--with-work-buffer. Suggested by Stefan Monnier.
239
68f0bb97
BG
2402014-01-07 Bastien Guerry <bzg@gnu.org>
241
242 * minibuffer.el (completion--try-word-completion): When both a
243 hyphen and a space are possible candidates for the character
244 following a word, display both candidates. (Bug#15980)
245
7e1899d7
MR
2462014-01-07 Martin Rudalics <rudalics@gmx.at>
247
248 * window.el (balance-windows-2): While rounding don't give a
249 window more than the remainder. Bug#16351, Bug#16383.
250
0030ec15
GM
2512014-01-07 Glenn Morris <rgm@gnu.org>
252
253 * menu-bar.el (menu-bar-help-extra-packages): Remove.
254 (menu-bar-help-menu): Use view-external-packages instead.
255
2b6b4f20
BG
2562014-01-07 Bastien Guerry <bzg@gnu.org>
257
258 * emacs-lisp/package.el (package-delete): Also delete the package
259 name from `package-alist', not its description only.
260
e9be0a13
GM
2612014-01-07 Glenn Morris <rgm@gnu.org>
262
263 * help.el (view-external-packages):
264 * menu-bar.el (menu-bar-help-extra-packages):
265 Visit efaq.info rather than etc/MORE.STUFF.
266
e4f74da9
JL
2672014-01-07 Juri Linkov <juri@jurta.org>
268
269 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
270 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
271
272 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
273 that shadows RET. (Bug#16342)
274
de7ce2d1
CY
2752014-01-07 Chong Yidong <cyd@gnu.org>
276
277 * isearch.el (isearch-yank-char, isearch-yank-word)
278 (isearch-yank-line): Doc fix.
279
6bdd9204
SM
2802014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
281
282 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
283 * emacs-lisp/elint.el (elint-find-builtins):
284 * emacs-lisp/eldoc.el (eldoc-symbol-function):
285 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
286 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
287 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
288 * apropos.el (apropos-safe-documentation):
289 * subr.el (symbol-file): Remove redundant fboundp.
290 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
291
daccca97
BG
2922014-01-06 Bastien Guerry <bzg@gnu.org>
293
294 * hl-line.el (global-hl-line-overlay): Make a local variable.
295 (global-hl-line-overlays): New variable to store all overlays.
296 (global-hl-line-mode): Don't delete overlays from the current
297 buffer when `global-hl-line-sticky-flag' is non-nil.
298 (global-hl-line-highlight): Add new overlays to
299 `global-hl-line-overlays'.
300 (global-hl-line-unhighlight-all): New function to delete all
301 overlays when turning off `global-hl-line-mode'.
302 This fixes Bug#16183.
303
ec00f20f
SM
3042014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
305
306 * subr.el (set-transient-map): Fix nested case and docstring.
307
a0031f97
TH
3082014-01-06 Tassilo Horn <tsdh@gnu.org>
309
310 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
311 `Texinfo' entry.
312
bf6a77f3
DC
3132014-01-06 Daniel Colascione <dancol@dancol.org>
314
315 Fix defun navigation in vc log view.
316
317 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
318 like `beginning-of-defun'.
319 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
320 log-view-end-of-defun to log-view-end-of-defun-1. Replace
321 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 322 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 323 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 324
d5081c1e
PE
3252014-01-06 Paul Eggert <eggert@cs.ucla.edu>
326
327 Spelling fixes.
328 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
329 * emacs-lisp/debug.el (cancel-debug-on-entry):
330 * epg.el (epg-error-to-string):
331 * files.el (recover-file):
332 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
333 * mail/emacsbug.el (report-emacs-bug-hook):
334 * mail/sendmail.el (mail-recover):
335 * ses.el (ses-yank-resize):
336 * term/ns-win.el (ns-print-buffer):
337 Spelling fixes in diagnostics, mostly for "canceled" with one L.
338 * epg.el (epg-key-capability-alist): Rename from misspelled version.
339 All uses changed.
340 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
341
53f6b148
LL
3422014-01-06 Leo Liu <sdl.web@gmail.com>
343
344 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 345 to avoid shadowing global key. (Bug#16354)
53f6b148 346
b82ace2f
DC
3472014-01-06 Daniel Colascione <dancol@dancol.org>
348
349 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
350 rst-mode.
351
3669b636
MR
3522014-01-05 Martin Rudalics <rudalics@gmx.at>
353
354 * window.el (balance-windows): Add mising t to fix Bug#16351.
355
1a29adc2
LMI
3562014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
357
358 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
359 (bug#16285).
3d95a0f4
LMI
360 (shr-insert): If we have a word that's longer than `shr-width',
361 break after it anyway. Otherwise we'll do no breaking once we get
362 such a long word.
1a29adc2 363
f4018140
KN
3642014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
365
189340f5
KN
366 * net/eww.el (eww): Support single/double quote for search.
367 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
368 (eww-history-quit): Delete and use quit-window.
369 (eww-history-kill): Delete, because it doesn't work well and
370 not necessary.
371 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 372
4e619754
PE
3732014-01-05 Paul Eggert <eggert@cs.ucla.edu>
374
73dbf960
PE
375 Fix misspelling of 'chinese' in rx (Bug#16237).
376 * emacs-lisp/rx.el (rx-categories): Correct spelling of
377 chinese-two-byte.
378
4e619754
PE
379 Change subword regexps back to vars (Bug#16296).
380 * progmodes/subword.el (subword-forward-regexp)
381 (subword-backward-regexp): Change these back to variables.
382
e18b70fc
SM
3832014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
384
385 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
386 syntax-begin-function (bug#16247).
387
0d53f628
CY
3882014-01-03 Chong Yidong <cyd@gnu.org>
389
390 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
391 (advice--docstring): Delete variable.
392 (advice--make-1): Leave the docstring empty.
393 (advice-add): Use function-documentation for advised docstring.
394
395 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
396 Ignore function-documentation property when getting documentation.
397 (ad-activate-advised-definition): Use function-documentation
398 generate the docstring.
399 (ad-make-advised-definition): Don't call
400 ad-make-advised-definition-docstring.
401 (ad-make-advised-definition-docstring, ad-advised-definition-p):
402 Delete functions.
403
404 * progmodes/sql.el (sql-help): Use function-documentation instead
405 of dynamic-docstring-function property. No need to autoload now.
406 (sql--help-docstring): New variable.
407 (sql--make-help-docstring): Use it.
408
6f547583
SM
4092014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
410
6ef9aed8
SM
411 * ielm.el (ielm-tab): Retarget.
412 (ielm-map): Use ielm-tab for tab.
413 (ielm-complete-filename): Use comint-filename-completion.
414 (ielm-complete-symbol): Remove.
415 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
416 remove ielm-tab from completion-at-point-functions (bug#16224).
417
6f547583
SM
418 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
419 Beware signals raised by predicates (bug#16201).
420
a574edbe
RS
4212014-01-02 Richard Stallman <rms@gnu.org>
422
e831604d
RS
423 * dired-aux.el (dired-do-print): Handle printer-name.
424
6f547583
SM
425 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
426 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
427 (rmail-epa-decrypt): Turn off mime processing.
428
429 * mail/rmail.el (rmail-make-in-reply-to-field):
430 Add parens in message-id.
431
432 * mail/rmail.el (rmail-get-coding-function): Variable.
433 (rmail-get-coding-system): Use it.
434
04311a16
KH
4352013-12-31 Eli Zaretskii <eliz@gnu.org>
436
437 * international/mule-conf.el: Unify the charset indian-is13194.
438 (indian-is13194): Specify unify-map.
439
c8d89778
LL
4402013-12-31 Leo Liu <sdl.web@gmail.com>
441
442 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
443
e63ace37
DC
4442013-12-30 Daniel Colascione <dancol@dancol.org>
445
9e0bf19a
DC
446 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
447 of printing a useless when we resume from sleep.
448
e63ace37
DC
449 * progmodes/sh-script.el
450 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
451 in indentation code. (Bug#16233)
452
e9d6c46a
JT
4532013-12-28 João Távora <joaotavora@gmail.com>
454
6f547583
SM
455 * elec-pair.el (electric-pair-post-self-insert-function):
456 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 457
bf7bea5d
EZ
4582013-12-28 Eli Zaretskii <eliz@gnu.org>
459
460 * frame.el (window-system-for-display): Don't allow to create a
461 GUI frame from a -nw session on MS-Windows. (Bug#14739)
462
8449dd1f
GM
4632013-12-28 Glenn Morris <rgm@gnu.org>
464
9c5a5c77
GM
465 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
466 Update callers.
467
468 * apropos.el (apropos-match-face):
469 * calculator.el (calculator-displayer):
470 * dabbrev.el (dabbrev-search-these-buffers-only):
471 * face-remap.el (buffer-face-mode-face):
472 * simple.el (yank-handled-properties):
473 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
474 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
475 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
476 (hashcash-double-spend-database):
477 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
478 (ruby-deep-indent-paren-style):
479 * textmodes/flyspell.el (flyspell-auto-correct-binding):
480 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
481 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
482 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
483 Specify custom types.
484
bb098075
GM
485 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
486 * bookmark.el (bookmark-bmenu-use-header-line):
487 * doc-view.el (doc-view-scale-internally):
488 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
489 * register.el (register-preview-delay):
490 * net/shr.el (shr-bullet):
491 * progmodes/cfengine.el (cfengine-cf-promises)
492 (cfengine-parameters-indent):
493 * progmodes/octave.el (inferior-octave-error-regexp-alist):
494 * textmodes/reftex-vars.el (reftex-label-regexps):
495 * vc/log-edit.el (log-edit-setup-add-author): Add version.
496
9c61f806
GM
497 * net/tls.el (tls-certtool-program): Fix default value.
498
499 * desktop.el (desktop-restore-in-current-display):
500 * newcomment.el (comment-empty-lines):
501 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
502 (idlwave-pad-keyword):
503 * progmodes/tcl.el (tcl-tab-always-indent):
504 * textmodes/reftex-vars.el (reftex-index-default-tag):
505 * elec-pair.el (electric-pair-skip-whitespace):
506 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
507
8449dd1f
GM
508 * emacs-lisp/authors.el (authors-ignored-files)
509 (authors-valid-file-names, authors-renamed-files-alist): Additions.
510
fdadeb49
JC
5112013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
512
72140a0f
GM
513 * shell.el (shell-dynamic-complete-command): Doc fix.
514 (shell--command-completion-data): Shell completion now matches
515 executable filenames from the current buffer's directory, on
da5ecfa9 516 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 517
e572a7d8
LI
5182013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
519
520 * net/shr.el (shr-insert): Don't infloop if the width is zero.
521
7514d3f8
SM
5222013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
523
a4151f3b
SM
524 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
525 (bug#16251).
526
7514d3f8
SM
527 * electric.el: Move all electric-pair-* to elec-pair.el.
528 * elec-pair.el: New file, split from electric.el.
529
ac5758d1
LI
5302013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
531
532 * net/shr.el (shr-find-fill-point): Don't try to fill if the
533 indentation level is larger than the width, because that will
534 infloop.
535 (shr-insert): Fill repeatedly long texts, so that Japanese is
536 formatted correctly (bug#16263).
24a6b65e
LI
537 (shr-find-fill-point): Off by one error in comparison with the
538 indentation.
ac5758d1 539
7514d3f8 5402013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
541
542 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 543 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
544 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
545 if that keeps or improves their balance in buffers.
546 (electric-pair-delete-adjacent-pairs): Delete the pair when
547 backspacing over adjacent matched delimiters.
548 (electric-pair-open-extra-newline): Open extra newline when
549 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
550 (electric--sort-post-self-insertion-hook):
551 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
552 minor-modes are activated.
553 * simple.el (newline-and-indent): Call newline with interactive
554 set to t.
555 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
556 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
557 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
558 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
559 electric-pair-open-newline-between-pairs to nil.
560
fbcc63a3
FEG
5612013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
562
563 * progmodes/python.el: Use lexical-binding.
564 (python-nav-beginning-of-defun): Stop searching ASAP.
565
ed78d16c
XF
5662013-12-25 Xue Fuqiao <xfq.free@gmail.com>
567
568 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
569 Fix interactive spec. Doc fix. (Bug#15754)
570
38b2c142
KY
5712013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
572
573 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 574 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
575 Fix edebug spec (bug#16184).
576
3c856c14
LI
5772013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
578
83fa295c 579 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
580 (shr-insert): Don't infloop if we can't find a good place to break
581 the line (bug#16256).
3c856c14 582
01379221
FEG
5832013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
584
585 * progmodes/python.el:
586 (python-nav--lisp-forward-sexp): New function.
587 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
588 python-nav-lisp-forward-sexp-safe.
589 (python-nav--forward-sexp): New argument SAFE allows switching
590 forward sexp movement behavior for parens.
591 (python-nav-forward-sexp): Throw errors on unterminated parens
592 (Bug#16191).
593 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
594 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
595 (python-shell-buffer-substring):
596 Use `python-nav-forward-sexp-safe'.
01379221 597
99e4926f
LI
5982013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
599
600 * net/shr.el (shr-find-fill-point): Don't break lines before a
601 quotation mark.
c6c20584
LI
602 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
603 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 604 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 605
fec0e828
KN
6062013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
607
608 * net/eww.el (eww-form-textarea): Use a different face for
609 textareas than text input since they have different keymaps
610 (bug#16142).
611
89c868ad
FEG
6122013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
613
7514d3f8
SM
614 * progmodes/python.el (python-nav-beginning-of-statement):
615 Speed up (Bug#15295).
89c868ad 616
eeef121a
LI
6172013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
618
619 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
620 the window configuration.
621
121ea65f
EZ
6222013-12-24 Eli Zaretskii <eliz@gnu.org>
623
624 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
625 we run on MS-Windows or MS-DOS.
626
18cee9ec
MR
6272013-12-24 Martin Rudalics <rudalics@gmx.at>
628
629 * window.el (balance-windows-area): Call window-size instead of
630 window-height and window-width. Bug#16241.
631
58f2b9a5
LI
6322013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
633
634 * net/eww.el (eww-bookmark-quit): Remove.
635 (eww-bookmark-browse): Restore the window configuration when you
636 choose a bookmark (bug#16144).
637
d64b6308
DC
6382013-12-24 Daniel Colascione <dancol@dancol.org>
639
640 * icomplete.el: Remove redundant :group arguments to `defcustom'
641 throughout.
642 (icomplete-show-matches-on-no-input): New customizable variable.
643 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
644 we have something to show.
7514d3f8 645 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 646
0da54898
DC
6472013-12-23 Daniel Colascione <dancol@dancol.org>
648
649 * icomplete.el: Move `provide' to end of file.
650
b90aa4f4
TZ
6512013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
652
653 * net/gnutls.el (gnutls-verify-error): Add version tag.
654
8cd22a08
CY
6552013-12-23 Chong Yidong <cyd@gnu.org>
656
657 * subr.el (set-transient-map): Rename from
658 set-temporary-overlay-map. Doc fix.
659
660 * face-remap.el (text-scale-adjust):
661 * indent.el (indent-rigidly):
662 * kmacro.el (kmacro-call-macro):
663 * minibuffer.el (minibuffer-force-complete):
664 * repeat.el (repeat):
665 * simple.el (universal-argument--mode):
666 * calendar/todo-mode.el (todo-insert-item--next-param):
667 * progmodes/f90.el (f90-abbrev-start): Callers changed.
668
7510b021
CY
669 * indent.el (indent-rigidly): Use substitute-command-keys.
670
72140a0f 6712013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
672
673 * net/eww.el (eww-tag-select): Add text-property to jump to next
674 select field.
e9dc713d 675 (eww): Add non-supported ftp error.
56890ecd 676
1f87a56c
DG
6772013-12-22 Dmitry Gutov <dgutov@yandex.ru>
678
679 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
680 comments. Handle electric indent after typing `?' and `!'.
681
dca38cf9
CY
6822013-12-22 Chong Yidong <cyd@gnu.org>
683
684 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
685 applicable to a frame, fall back on the defface spec.
686 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 687
f2351498
DG
6882013-12-22 Dmitry Gutov <dgutov@yandex.ru>
689
690 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
691 after `{'. We need it after block openers, and it doesn't seem
692 to hurt after hash openers.
693
6cddebc1
DG
6942013-12-22 Dmitry Gutov <dgutov@yandex.ru>
695
696 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
697 extracted from `ruby-smie-rules'.
698 (ruby--electric-indent-chars): New variable.
699 (ruby--electric-indent-p): New function.
700 (ruby-mode): Use `electric-indent-functions' instead of
701 `electric-indent-chars'.
702
65a1da00
DG
7032013-12-22 Dmitry Gutov <dgutov@yandex.ru>
704
705 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
706 docstring.
707 (ruby-smie-rules): Indent plus one level after `=>'.
708
b51ad4cf
RS
7092013-12-21 Richard Stallman <rms@gnu.org>
710
711 * simple.el (newline): Doc fix.
712
72140a0f 7132013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 714
e9dc713d 715 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
716 (eww-history-browse, eww-history-quit, eww-history-kill)
717 (eww-history-mode-map, eww-history-mode): New command and
718 functions to list browser histories.
e9dc713d
JB
719 (eww-form-text): Support text form with disabled
720 and readonly attributes.
721 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 722
5e1901c1
RS
7232013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
724
725 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
726 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
727 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
728 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
729 Use `user-error'.
730 (eww-bookmark-mode-map): Add menu.
731 (eww-render, eww-mode): Use `setq-local'.
732 (eww-tool-bar-map): New variable.
733 (eww-mode): Set `tool-bar-map'.
734 (eww-view-source): Check for `html-mode' with `fboundp'.
735
073d5cfd
LMI
7362013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
737
738 * net/shr.el (shr--extract-best-source): Don't bug out on audio
739 elements with text inside. Also remove debugging.
740
41cf3d11
JD
7412013-12-21 Jan Djärv <jan.h.d@swipnet.se>
742
743 * cus-start.el (all): Add ns-use-srgb-colorspace.
744
aac2b673
CY
7452013-12-21 Chong Yidong <cyd@gnu.org>
746
747 * custom.el (custom-theme-recalc-face): Do nothing if the face is
748 undefined. Thus, theme settings for undefined faces do not take
749 effect until the faces are defined with defface, the same as with
750 theme variables.
751
752 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
753 (face-spec-reset-face): Don't assign extra properties in temacs.
754 (face-spec-recalc): Apply X resources too.
755
bacb0e77
CY
7562013-12-21 Chong Yidong <cyd@gnu.org>
757
758 * faces.el (face-spec-set):
759 * cus-face.el (custom-theme-set-faces, custom-set-faces):
760 * custom.el (defface): Doc fixes (Bug#16203).
761
77221051
CY
762 * indent.el (indent-rigidly-map): Add docstring, and move commands
763 into named functions.
764 (indent-rigidly-left, indent-rigidly-right)
765 (indent-rigidly-left-to-tab-stop)
766 (indent-rigidly-right-to-tab-stop): New functions. Decide on
767 indentation direction based on bidi direction, and accumulate
768 sequential commands in a single undo boundary.
769 (indent-rigidly--pop-undo): New utility function.
770
e0eb0550
JB
7712013-12-20 Juanma Barranquero <lekktu@gmail.com>
772
773 * faces.el (read-face-name): Require crm.el when using crm-separator.
774
3282bd2e
DC
7752013-12-20 Daniel Colascione <dancol@dancol.org>
776
777 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
778 so that we don't reflow comments into the shebang line.
779
1d42e5b6
JL
7802013-12-20 Juri Linkov <juri@jurta.org>
781
782 * saveplace.el (save-place-to-alist): Add `dired-filename' as
783 a position when `dired-directory' is non-nil. Check integer
784 positions with `integerp'.
785 (toggle-save-place, save-places-to-alist): Add check for
786 `dired-directory'.
787 (save-place-find-file-hook): Check integer positions with
788 `integerp'.
789 (save-place-dired-hook): Use `dired-goto-file' when
790 `dired-filename' is found in the assoc list. Check integer
791 positions with `integerp'.
792 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
793
794 * dired.el (dired-initial-position-hook): Rename back from
795 `dired-initial-point-hook'.
796 (dired-initial-position): Rename `dired-initial-point-hook' to
797 `dired-initial-position-hook'.
798 (dired-file-name-at-point): Doc fix. (Bug#15329)
799
24da7273
JL
8002013-12-20 Juri Linkov <juri@jurta.org>
801
802 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
803 (read-regexp-suggestions): New function.
804 (read-regexp): Use `read-regexp-defaults-function' to get default values.
805 Use `read-regexp-suggestions'. Add non-empty default to history
806 for empty input.
807 (occur-read-regexp-defaults-function): Remove function.
808 (occur-read-primary-args): Use `regexp-history-last' instead of
809 `occur-read-regexp-defaults-function'.
810
811 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
812 (hi-lock-line-face-buffer, hi-lock-face-buffer)
813 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
814 `hi-lock-read-regexp-defaults-function'. Doc fix.
815 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
816 with `find-tag-default-as-symbol-regexp'. Doc fix.
817 (hi-lock-read-regexp-defaults): Remove function.
818 (hi-lock-regexp-okay): Add check for null.
819
820 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
821 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
822
823 * subr.el (find-tag-default-as-symbol-regexp): New function.
824 (find-tag-default-as-regexp): Move symbol regexp formatting to
825 `find-tag-default-as-symbol-regexp'.
826
137f57c8
S
8272013-12-20 E Sabof <esabof@gmail.com> (tiny change)
828
829 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
830 (Bug#14179)
831
f3a66082
SB
8322013-12-20 Stephen Berman <stephen.berman@gmx.net>
833
834 * calendar/todo-mode.el: New implementation of item insertion
835 commands and key bindings.
836 (todo-key-prompt): New face.
837 (todo-insert-item): New command.
838 (todo-insert-item--parameters): New defconst, replacing defvar
839 todo-insertion-commands-args-genlist.
840 (todo-insert-item--param-key-alist): New defconst, replacing
841 defvar todo-insertion-commands-arg-key-list.
842 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
843 (todo-insert-item--argsleft, todo-insert-item--apply-args)
844 (todo-insert-item--next-param): New functions.
845 (todo-insert-item--args, todo-insert-item--argleft)
846 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
847 New variables.
848 (todo-key-bindings-t): Change binding of "i" from
849 todo-insertion-map to todo-insert-item.
850 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
851 (todo-insertion-command-name, todo-insertion-commands-names)
852 (todo-define-insertion-command, todo-insertion-commands)
853 (todo-insertion-key-bindings, todo-insertion-map): Remove.
854
2f99433b
SB
8552013-12-20 Stephen Berman <stephen.berman@gmx.net>
856
857 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
858 (todo-toggle-item-highlighting): Use eval-and-compile instead of
859 eval-when-compile.
860 (todo-move-category): Allow choosing a non-existing todo file to
861 move the category to, and create that file.
862 (todo-default-priority): New user option.
863 (todo-set-item-priority): Use it.
864 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
865 (desktop-restore-file-buffer): Declare.
866 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
867 (todo-modes-set-2): Locally set desktop-save-buffer to
868 todo-desktop-save-buffer.
869 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
870 (auto-mode-alist): Add autoload cookie.
871
131e4695
BB
8722013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
873
874 * emacs-lisp/subr-x.el: Renamed from helpers.el.
875 helpers.el was a poor choice of name.
3cbfb935
BB
876 (string-remove-prefix): New function.
877 (string-remove-suffix): New function.
131e4695 878
c44de18d
MR
8792013-12-20 Martin Rudalics <rudalics@gmx.at>
880
881 Fix assignment for new window total sizes.
882 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
883 (window--pixel-to-total-1, window--pixel-to-total):
884 Fix calculation of new total sizes.
c44de18d 885
ca65efcc
VS
8862013-12-20 Vitalie Spinu <spinuvit@gmail.com>
887
888 * comint.el (comint-output-filter): Fix rear-nonsticky property
889 placement (Bug#16010).
890
a9574eb7
CY
8912013-12-20 Chong Yidong <cyd@gnu.org>
892
893 * faces.el (read-color): Minor fix for completion function.
894
b520f210
DG
8952013-12-20 Dmitry Gutov <dgutov@yandex.ru>
896
e0eb0550
JB
897 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
898 New option. (Bug#16182)
b520f210
DG
899 (ruby-smie--indent-to-stmt-p): Use it.
900 (ruby-smie-rules): Revert the logic in the handling of `when'.
901 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
902 (ruby-deep-arglist, ruby-deep-indent-paren)
903 (ruby-deep-indent-paren-style): Update docstrings to note that the
904 vars don't have any effect with SMIE.
905
26b75b45
JB
9062013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
907
908 * calc/calc.el (calc-enter, calc-pop): Use the variable
909 `calc-context-sensitive-enter'.
910
cf91cee7
LMI
9112013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
912
913 * net/shr.el (shr-insert): Protect against infloops in degenerate
914 tables.
915
51d971b4
RS
9162013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
917
918 * progmodes/octave.el (octave): Add link to manual and octave
919 homepage.
920 (octave-mode-menu): Link to octave-mode manual.
921
8c2e462a
LL
9222013-12-20 Leo Liu <sdl.web@gmail.com>
923
924 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
925 insertion using skeleton-end-newline. (Bug#16138)
926
501158bc
JL
9272013-12-20 Juri Linkov <juri@jurta.org>
928
929 * replace.el (occur-engine): Use `add-face-text-property'
930 to add the face property to matches and titles. (Bug#14645)
931
932 * hi-lock.el (hi-green): Use lighter color "light green" closer to
933 the palette of other hi-lock colors.
934 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
935
50ab1da6
JL
9362013-12-19 Juri Linkov <juri@jurta.org>
937
938 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
939 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
940 (minibuffer-history-symbol): Move variable declaration closer to
941 its usage.
942
943 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
944 (Bug#14785)
945
3d6e95e7
JL
9462013-12-19 Juri Linkov <juri@jurta.org>
947
948 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
949 New function.
950 (log-edit-hook): Add it to :options. (Bug#16170)
951
b41594fd
JL
9522013-12-19 Juri Linkov <juri@jurta.org>
953
954 * simple.el (eval-expression-print-format): Don't check for
955 command names and the last command. Always display additional
956 formats of the integer result in the echo area, and insert them
957 to the current buffer only with a zero prefix arg.
958 Display character when char-displayable-p is non-nil.
959 (eval-expression): With a zero prefix arg, set `print-length' and
960 `print-level' to nil, and insert the integer values from
961 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
962
963 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
964 `eval-last-sexp-arg-internal'. Doc fix.
965 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
966 `eval-last-sexp-print-value'. Doc fix.
967 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
968 Set `print-length' and `print-level' to nil when arg is zero.
969 (eval-last-sexp): Doc fix.
970 (eval-defun-2): Print the integer values from
971 `eval-expression-print-format' at the end.
972
973 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
974 values from `eval-expression-print-format' at the end.
975
976 * ielm.el (ielm-eval-input): Print the integer
977 values from `eval-expression-print-format' at the end.
978
8f2be364
TZ
9792013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
980
981 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
982 2013-12-11T19:01:44Z!tzz@lifelogs.com.
983
2230a6e3
SM
9842013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
985
986 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
987 (hl-line-highlight, global-hl-line-highlight): Use it.
988 (hl-line-overlay): Use defvar-local.
989
1269a680
JD
9902013-12-19 Jan Djärv <jan.h.d@swipnet.se>
991
992 * term/ns-win.el: Require dnd.
993 (global-map): Remove drag items.
994 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
995 (ns-set-background-at-mouse):
996 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
997 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
998 New functions.
1269a680 999
049638ad
GM
10002013-12-19 Glenn Morris <rgm@gnu.org>
1001
1002 * emacs-lisp/ert.el (ert-select-tests):
1003 Fix string/symbol mixup. (Bug#16121)
1004
ce41edb4
DG
10052013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1006
1007 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1008 keywords to their parent.
1009
7e1549c9
DG
10102013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1011
1012 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1013 first arg to be a string (fixed dead code), or an operator symbol.
1014 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1015 operator symbols.
1016 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1017 did nothing. Don't respond to `(:after ".")', it will be called
1018 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1019 change anything. Only return indentation for binary operators
1020 when they are hanging. De-dent opening paren when its parent is
1021 `.', otherwise it looks bad when the dot is not at bol or eol
1022 (bug#16182).
1023
3ee4cd64
JL
10242013-12-19 Juri Linkov <juri@jurta.org>
1025
1026 * replace.el (query-replace-read-args): Split a non-negative arg
1027 and a negative arg into separate elements.
1028 (query-replace, query-replace-regexp, replace-string)
1029 (replace-regexp): Add arg `backward'. Doc fix.
1030 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1031 move point to the beginning of the match.
1032 (replace-search, replace-highlight): Use new arg `backward'
1033 to set the value of `isearch-forward'.
1034 (perform-replace): Add arg `backward' and use it to perform
1035 replacement backward. (Bug#14979)
1036
1037 * isearch.el (isearch-query-replace): Use a negative prefix arg
1038 to call `perform-replace' with a non-nil arg `backward'.
1039
0cda6b7b
JL
10402013-12-18 Juri Linkov <juri@jurta.org>
1041
1042 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1043 to the default list. Move `log-edit-show-files' to the end.
1044 Add more available functions to options.
1045 (log-edit): Move default specific settings to
1046 `log-edit-insert-message-template'. Don't move point.
1047 (log-edit-insert-message-template): New function.
1048 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1049 (Bug#16170)
1050
b216f0a6
JL
10512013-12-18 Juri Linkov <juri@jurta.org>
1052
1053 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1054 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1055
1d1c55dc
LL
10562013-12-18 Leo Liu <sdl.web@gmail.com>
1057
e9dc713d
JB
1058 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1059 (Bug#16186)
1d1c55dc 1060
64e4c76e
EZ
10612013-12-18 Eli Zaretskii <eliz@gnu.org>
1062
1063 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1064 formats for displaying file sizes when the -s switch is given.
1065 Instead, compute a separate format for displaying the size in
1066 blocks, which is displayed in addition to the "regular" size.
1067 When -h is given in addition to -s, produce size in blocks in
1068 human-readable form as well. (Bug#16179)
1069
b2984e39
TH
10702013-12-18 Tassilo Horn <tsdh@gnu.org>
1071
2230a6e3
SM
1072 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1073 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1074
50ff2e06
CY
10752013-12-18 Chong Yidong <cyd@gnu.org>
1076
0081bc84
CY
1077 * cus-edit.el (custom-magic-alist): Fix "themed" description
1078 (Bug#14348).
1079
a7ee9424
CY
1080 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1081 is non-nil, do not create a new entry in the symbol's theme-value
1082 or theme-face property; update theme-settings only (Bug#14664).
18874304 1083 (custom-available-themes): Doc fix.
a7ee9424 1084
8f942537
CY
1085 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1086 (Bug#15674).
1087
50ff2e06
CY
1088 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1089
83c60f60
KI
10902013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1091
1092 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1093 (Bug#13914).
1094
e0eb0550 10952013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1096
1097 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1098
1f41ee56
GM
10992013-12-18 Glenn Morris <rgm@gnu.org>
1100
1101 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1102 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1103
e82134b1
LW
11042013-12-18 Le Wang <l26wang@gmail.com>
1105
2230a6e3
SM
1106 * comint.el (comint-previous-matching-input-from-input):
1107 Retain point (Bug#13404).
e82134b1 1108
33f5d4c1
CY
11092013-12-18 Chong Yidong <cyd@gnu.org>
1110
1111 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1112
ccc9f6dc
GM
11132013-12-18 Glenn Morris <rgm@gnu.org>
1114
1115 * mail/emacsbug.el (report-emacs-bug):
1116 Only mention enable-multibyte-characters if non-standard.
1117
33dd8e95
JL
11182013-12-17 Juri Linkov <juri@jurta.org>
1119
1120 * arc-mode.el (archive-extract-by-file): Check if directory exists
1121 before deletion to not show irrelevant errors if it doesn't exist.
1122
7a409b30
JL
11232013-12-17 Juri Linkov <juri@jurta.org>
1124
1125 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1126 (Bug#14751)
1127
1128 * net/eww.el (browse-web): Add alias to `eww'.
1129 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1130 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1131
1132 * net/browse-url.el (browse-url-browser-function): Move `eww'
1133 closer to similar functions.
1134
1135 * startup.el (fancy-startup-screen, fancy-about-screen):
1136 Set browse-url-browser-function to eww-browse-url locally.
1137 (Bug#14751)
1138
2d6b6005
SM
11392013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1140
1141 * window.el (window--pixel-to-total): Remove unused `mini' var.
1142 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1143 (split-window): Remove unused `new' var.
1144 (window--display-buffer): Remove unused `frame' and `delta' vars.
1145 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1146 and display-width'.
1147
cf2b7efc
MR
11482013-12-17 Martin Rudalics <rudalics@gmx.at>
1149
1150 * dired.el (dired-mark-pop-up):
1151 * register.el (register-preview): Don't bind
1152 split-height-threshold here since it's now done in
1153 display-buffer-below-selected.
1154
ed3af8a7 11552013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1156
1157 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1158 xterm-rgb-convert-to-16bit.
1159 (rxvt-register-default-colors): Standardize with
1160 xterm-register-default-colors (Bug#14078).
1161
76da3455
DK
11622013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1163
1164 * simple.el (kill-region): Pass mark first, then point, so that
1165 kill-append works right (Bug#12819).
1166 (copy-region-as-kill, kill-ring-save): Likewise.
1167
2b84d763
LL
11682013-12-17 Leo Liu <sdl.web@gmail.com>
1169
1170 * net/rcirc.el (rcirc-add-face):
1171 * eshell/em-prompt.el (eshell-emit-prompt):
1172 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1173 (Bug#16167)
1174
e2f6a0bc
CY
11752013-12-17 Chong Yidong <cyd@gnu.org>
1176
1177 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1178 Suggested by Xue Fuqiao.
1179
35b249a6
DG
11802013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1181
1182 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1183
e9145444
SM
11842013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1185
1186 * net/shr.el (shr-insert-document): Remove unused var
1187 `shr-preliminary-table-render'.
1188 (shr-rescale-image): Remove unused arg `force'.
1189 (shr-put-image): Update calls accordingly.
1190 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1191
5556c0ce
DG
11922013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1193
1194 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1195 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1196 :close-all, to see which indentation method to use (Bug#16116).
1197 (smie-rules-function): Document the method :close-all.
1198
11bade0a
LMI
11992013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1200
1c4b1e61
LMI
1201 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1202
11bade0a
LMI
1203 * net/eww.el (eww-display-html): If we can't find the anchor we're
1204 looking for, then go to point-min.
1205
8fb8c4f3
PE
12062013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1207
1208 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1209 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1210 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1211 Expand dir too, in case it's relative.
1212
6c8e0ae6
JL
12132013-12-16 Juri Linkov <juri@jurta.org>
1214
1215 * desktop.el (desktop-auto-save-timeout): Change default to
1216 `auto-save-timeout'. Doc fix.
1217 (desktop-save): Skip the timestamp in desktop-saved-frameset
1218 when checking for auto-save changes.
1219 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1220 `desktop-auto-save' is called repeatedly by the idle timer.
1221 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1222 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1223 (Bug#15331)
1224
2178e858
JL
12252013-12-16 Juri Linkov <juri@jurta.org>
1226
1227 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1228 (Bug#16035)
1229 (isearch-pre-command-hook): Check `this-command' for symbolp.
1230
39cb42c6
SM
12312013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1232
1233 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1234
5b9b750a
TZ
12352013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1236
1237 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1238 (cfengine3--current-function): Bring in the current-function
1239 functionality from `cfengine3--current-word'.
1240 (cfengine3-completion-function): Bring in the
1241 bounds-of-current-word functionality from
1242 `cfengine3--current-word'.
1243
d144ef06
MR
12442013-12-16 Martin Rudalics <rudalics@gmx.at>
1245
39cb42c6
SM
1246 * window.el (display-buffer-below-selected):
1247 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1248
a8bbe298
LL
12492013-12-16 Leo Liu <sdl.web@gmail.com>
1250
1251 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1252 Remove NOMSG arg and all uses changed.
1253
2013a2f9
SM
12542013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1257 (cua--deactivate-rectangle): Don't deactivate the mark.
1258 (cua-set-rectangle-mark): Don't set mark-active since
1259 cua--activate-rectangle already does it for us.
1260 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1261 non-rectangular region.
1262
1263 * emulation/cua-base.el (cua-repeat-replace-region):
1264 Use with-current-buffer.
1265
1266 * net/gnutls.el: Use cl-lib.
1267 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1268
5ae811dd
TZ
12692013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1270
1271 * emacs-lisp/package.el (package-built-in-p): Support both
1272 built-in and the package.el converted package descriptions.
1273 (package-show-package-list): Allow keywords.
1274 (package-keyword-button-action): Use it instead of
1275 `finder-list-matches'.
1276 (package-menu-filter-interactive): Interactive filtering (by
1277 keyword) function.
1278 (package-menu--generate): Support keywords and change keymappings
1279 and headers when they are given.
1280 (package--has-keyword-p): Helper function.
1281 (package-menu--refresh): Use it.
1282 (package--mapc): Helper function.
1283 (package-all-keywords): Use it.
1284 (package-menu-mode-map): Set up menu items and keybindings to
1285 provide a filtering UI.
1286
31b4827e
TZ
12872013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1288
1289 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1290 the behavior when a certificate fails validation. Defaults to
1291 old behavior: never abort, just warn.
1292 (gnutls-negotiate): Use it.
1293
f93cc74f
MR
12942013-12-14 Martin Rudalics <rudalics@gmx.at>
1295
1296 * window.el (display-buffer-below-selected): Never split window
1297 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1298
f77d7d17
TW
12992013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1300
1301 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1302 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1303
7514d3f8
SM
13042013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1305
aa2bddd7 1306 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1307 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1308
276bc333
DG
13092013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1310
1311 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1312 open-paren tokens when preceded by a open-paren, too.
1313 (ruby-smie-rules): Handle virtual indentation after open-paren
1314 tokens specially. If there is code between it and eol, return the
1315 column where is starts (Bug#16118).
1316
d43957f3
TZ
13172013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1318
a5c1ac0c 1319 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1320 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1321 (cfengine3--current-word): Fix parameters.
1322 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1323 (cfengine3-completion-function, cfengine3--current-function):
1324 Use `assq' for symbols.
d43957f3
TZ
1325 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1326
06a4f110
GM
13272013-12-13 Glenn Morris <rgm@gnu.org>
1328
1329 * loadup.el (load-path): Warn if site-load or site-init changes it.
1330 No more need to reset it when bootstrapping.
1331
978a5fda
TZ
13322013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1333
1334 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1335 locations for cf-promises.
1336 (cfengine-mode-syntax-functions-regex): New caching variable.
1337 (cfengine3-fallback-syntax): Fallback syntax for cases where
1338 cf-promises doesn't run.
1339 (cfengine3--current-word): Reimplement using
1340 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1341 (cfengine3-completion-function, cfengine3--current-function):
1342 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1343 (cfengine3-clear-syntax-cache): New function.
1344 (cfengine3-make-syntax-cache): Simplify and create
1345 `cfengine-mode-syntax-functions-regex' on demand.
1346 (cfengine3-format-function-docstring): Don't call
1347 `cfengine3-make-syntax-cache' explicitly.
1348
71e6691e
MR
13492013-12-13 Martin Rudalics <rudalics@gmx.at>
1350
1351 Fix windmove-find-other-window broken after pixelwise resizing
1352 (Bug#16017).
1353 * windmove.el (windmove-other-window-loc): Revert change from
1354 2013-12-04.
1355 (windmove-find-other-window): Call window-in-direction.
1356 * window.el (window-in-direction): New arguments SIGN, WRAP and
1357 MINI to emulate original windmove-find-other-window behavior.
1358
84c73ba0
DG
13592013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1360
1361 * simple.el (blink-matching--overlay): New variable.
1362 (blink-matching-open): Instead of moving point, highlight the
1363 matching paren with an overlay
1364 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1365
1366 * faces.el (paren-showing-faces, show-paren-match)
1367 (show-paren-mismatch): Move from paren.el.
1368
b9e20952
LL
13692013-12-13 Leo Liu <sdl.web@gmail.com>
1370
1371 * indent.el (indent-region): Disable progress reporter in
1372 minibuffer. (Bug#16108)
1373
1374 * bindings.el (visual-order-cursor-movement): Fix version.
1375
ce030451
FEG
13762013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1377
1378 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1379 Also match after beginning of line.
1380 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1381 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1382
4a9c6865
JL
13832013-12-13 Juri Linkov <juri@jurta.org>
1384
1385 * simple.el <Keypad support>: Remove key bindings duplicated
1386 with bindings.el. (Bug#14397)
1387
2bc170c3
JL
13882013-12-13 Juri Linkov <juri@jurta.org>
1389
1390 * comint.el (comint-mode-map): Replace `delete-char' with
1391 `delete-forward-char'. (Bug#16109)
1392
bc9222c9
FEG
13932013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1394
aa2bddd7 1395 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1396 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1397
cb3a1380
SM
13982013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1399
1400 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1401 (advice--make): Pay attention to `depth'.
1402 (advice--make-1): Don't autoload commands eagerly.
1403 * emacs-lisp/elp.el (elp-instrument-function):
1404 * emacs-lisp/trace.el (trace-function-internal):
1405 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1406
1407 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1408
01633a17
EZ
14092013-12-12 Eli Zaretskii <eliz@gnu.org>
1410
1411 * term/w32-win.el (w32-handle-dropped-file):
1412 * startup.el (normal-top-level):
1413 * net/browse-url.el (browse-url-file-url):
1414 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1415 decode file names using 'utf-8' rather than
1416 file-name-coding-system.
1417
09faee72
FEG
14182013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1419
1420 * progmodes/python.el (python-indent-context)
1421 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1422 behavior for comment blocks. (Bug#15916)
09faee72 1423
f4f84024 14242013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1425
cb3a1380
SM
1426 * progmodes/python.el (python-indent-calculate-indentation):
1427 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1428 operators when they are just string constituents. (Bug#15812)
1429
d5ccb7be
JL
14302013-12-12 Juri Linkov <juri@jurta.org>
1431
1432 * uniquify.el (uniquify-buffer-name-style): Change default to
1433 `post-forward-angle-brackets'.
1434
1435 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1436 `uniquify'. Change default to `post-forward-angle-brackets'.
1437
7b3f5679
GM
14382013-12-11 Glenn Morris <rgm@gnu.org>
1439
1440 * emacs-lisp/package.el (finder-list-matches):
1441 Autoload rather than falsely declaring.
1442
f4fe8fdd
TZ
14432013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1444
1445 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1446 (eww-mode-map): Use them.
1447
3c29190f
MR
14482013-12-11 Martin Rudalics <rudalics@gmx.at>
1449
1450 * window.el (display-buffer-in-side-window): Fix doc-string
1451 (Bug#16115).
1452
0cd616a2
JB
14532013-12-11 Juanma Barranquero <lekktu@gmail.com>
1454
1455 * vc/vc-git.el: Silence byte-compiler warnings.
1456 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1457 (log-edit-set-header): Declare.
1458
3ef8e0d1
EZ
14592013-12-11 Eli Zaretskii <eliz@gnu.org>
1460
1461 * Makefile.in (custom-deps, finder-data): Run output file names
1462 through unmsys--file-name. (Bug#16099)
1463
afdadaf7
SM
14642013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1465
7ae3ae39 1466 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1467 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1468
5b4f37ab
SM
1469 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1470 instead of deleting the selection "by hand" (bug#16098).
1471 Rely on insert-for-yank to yank rectangles.
1472 (cua-highlight-region-shift-only): Mark obsolete.
1473 (cua-mode): Don't enable/disable transient-mark-mode,
1474 shift-select-mode (cua-mode works both with and without them), and
1475 pc-selection-mode (obsolete).
1476 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1477 (cua--deactivate-rectangle): Deactivate it.
1478
4b72c12b
SM
1479 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1480 (delete-selection-helper): Make sure yank starts at the top of the
1481 deleted region.
1482 (minibuffer-keyboard-quit): Use region-active-p.
1483
e82af72d
SM
1484 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1485
afdadaf7
SM
1486 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1487 to `delete' (bug#16109).
1488
ed4bc201
RS
14892013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1490
1491 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1492 info manual and show keybindings and set `:group' keyword.
1493
bb8097b9
JL
14942013-12-11 Juri Linkov <juri@jurta.org>
1495
1496 * delsel.el (delete-active-region): Let-bind `this-command'
1497 to prevent `kill-region' from changing its original value.
1498 (delete-selection-helper): Handle `overwrite-mode' for the type
1499 `kill' exactly the same way as for the type `t'.
1500 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1501 Support more commands. (Bug#13312)
1502
c1916ff5
JL
15032013-12-11 Juri Linkov <juri@jurta.org>
1504
1505 * bindings.el: Map kp keys to non-kp keys systematically
1506 with basic modifiers control, meta and shift. (Bug#14397)
1507
7514d3f8 15082013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1509
1510 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1511 "Close browser" menu items. Fix wrong function of "List
1512 bookmarks".
1513
4cc51eaf
JL
15142013-12-11 Juri Linkov <juri@jurta.org>
1515
1516 * misearch.el (multi-isearch-buffers): Set the value of
1517 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1518 arg of isearch-forward to t.
1519 (multi-isearch-buffers-regexp): Set the value of
1520 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1521 arg of isearch-forward-regexp to t.
1522 (multi-isearch-files): Set the value of
1523 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1524 arg of isearch-forward to t.
1525 (multi-isearch-files-regexp): Set the value of
1526 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1527 arg of isearch-forward-regexp to t. (Bug#16035)
1528
1529 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1530 arg of isearch-forward to t.
1531 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1532 arg of isearch-forward-regexp to t.
1533 (dired-isearch-filter-filenames): Remove unnecessary check for
1534 `dired-isearch-filenames'.
1535
1536 * comint.el (comint-history-isearch-backward):
1537 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1538 (comint-history-isearch-backward-regexp):
1539 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1540
ceac12b7
EZ
15412013-12-10 Eli Zaretskii <eliz@gnu.org>
1542
1543 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1544 unmsys--file-name. (Bug#16099)
1545
5a565782
TZ
15462013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1547
cb3a1380
SM
1548 * emacs-lisp/package.el (package-keyword-button-action):
1549 Remove finder.el require dependency.
5a565782 1550
a81fc7ba
TZ
15512013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1552
1553 * emacs-lisp/package.el: Require finder.el.
1554 (describe-package-1): Add keyword buttons.
1555 (package-make-button): New convenience function.
1556 (package-keyword-button-action): Keyword button action using
e0eb0550 1557 `finder-list-matches'.
a81fc7ba 1558
6aaca951
EZ
15592013-12-09 Eli Zaretskii <eliz@gnu.org>
1560
1561 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1562 last commit.
1563
a1099a91
MA
15642013-12-09 Michael Albinus <michael.albinus@gmx.de>
1565
1566 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1567 symlinked files.
1568
8212d9c0
DG
15692013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1570
1571 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1572 after the end of a percent literal.
1573
8f48d131
CD
15742013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1575
cb3a1380
SM
1576 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1577 Handle caret-delimited strings (Bug#16079).
8f48d131 1578
ff8c9764
DG
15792013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1580
cb3a1380
SM
1581 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1582 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1583 `ruby-parse-partial' (Bug#16078).
1584
d64643b4
LL
15852013-12-09 Leo Liu <sdl.web@gmail.com>
1586
1587 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1588
47e59c66
DG
15892013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1590
1591 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1592 (js-switch-indent-offset): New option.
1593 (js--proper-indentation): Use it. And handle the case when
1594 "default" is actually a key in an object literal.
1595 (js--same-line): New function.
1596 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1597 (js--indent-in-array-comp, js--array-comp-indentation):
1598 New functions.
47e59c66
DG
1599 (js--proper-indentation): Use them, to handle array comprehension
1600 continuations.
1601
974ebc9c
LL
16022013-12-08 Leo Liu <sdl.web@gmail.com>
1603
1604 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1605 (flymake-make-overlay): Remove arg MOUSE-FACE.
1606 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1607
27262e39
SM
16082013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1609
1610 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1611 New function.
1612 (redisplay-highlight-region-function): Use it.
1613
1614 * emulation/cua-base.el (cua--explicit-region-start)
1615 (cua--last-region-shifted): Remove.
1616 (cua--deactivate): Use deactivate-mark.
1617 (cua--pre-command-handler-1): Don't handle shift-selection.
1618 (cua--post-command-handler-1): Don't change transient-mark-mode.
1619 (cua--select-keymaps): Use region-active-p rather than
1620 cua--explicit-region-start or cua--last-region-shifted.
1621 (cua-mode): Enable shift-select-mode.
1622
6407822c
LL
16232013-12-08 Leo Liu <sdl.web@gmail.com>
1624
27262e39
SM
1625 * progmodes/flymake.el (flymake-popup-current-error-menu):
1626 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1627 (flymake-posn-at-point-as-event, flymake-popup-menu)
1628 (flymake-make-emacs-menu): Remove. (Bug#16077)
1629
00a2b823
SM
16302013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1631
02033d49
SM
1632 * rect.el (rectangle-mark-mode): Activate mark even if
1633 transient-mark-mode is off (bug#16066).
1634 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1635 is > mark and at bolp.
1636
6f8dfccf
SM
1637 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1638 (region-extract-function): Use it.
1639 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1640 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1641 Delete functions.
1642 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1643 kill-ring-save, kill-region, delete-char, delete-forward-char.
1644 Ignore self-insert-iso.
1645
1646 * emulation/cua-gmrk.el (cua--init-global-mark):
1647 Ignore `self-insert-iso'.
1648
1649 * emulation/cua-base.el (cua--prefix-copy-handler)
1650 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1651 checking cua--rectangle.
1652 (cua-delete-region): Use region-extract-function.
1653 (cua-replace-region): Delete function.
1654 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1655 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1656 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1657 (cua--init-keymaps): Don't remap delete-selection commands.
1658 (cua-mode): Use delete-selection-mode instead of rolling our own
1659 (bug#16085).
1660
1661 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1662 Obey region-extract-function.
1663
00a2b823
SM
1664 Make registers and delete-selection-mode work on rectangles.
1665 * register.el (describe-register-1): Don't modify the register's value.
1666 (copy-to-register): Obey region-extract-function.
1667 * delsel.el (delete-active-region): Obey region-extract-function.
1668
a92fa5f1
LL
16692013-12-08 Leo Liu <sdl.web@gmail.com>
1670
1671 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1672 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1673 (flymake-compilation-prevents-syntax-check)
1674 (flymake-start-syntax-check-on-newline)
1675 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1676 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1677 (flymake-xml-program, flymake-master-file-dirs)
1678 (flymake-master-file-count-limit)
1679 (flymake-allowed-file-name-masks): Relocate.
1680 (flymake-makehash, flymake-float-time)
1681 (flymake-replace-regexp-in-string, flymake-split-string)
1682 (flymake-get-temp-dir): Remove.
1683 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1684 (flymake-current-row, flymake-selected-frame)
1685 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1686 related functions. (Bug#16077)
1687
73c8ceea
BB
16882013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1689
1690 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1691
faec28d9
TH
16922013-12-07 Tassilo Horn <tsdh@gnu.org>
1693
1694 * help-fns.el (describe-function-1): Use new advice-* functions
1695 rather than old ad-* functions. Fix function type description and
1696 source links for advised functions and subrs.
1697
e330b646
LMI
16982013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1699
00a2b823 1700 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1701
4803595d
MA
17022013-12-06 Michael Albinus <michael.albinus@gmx.de>
1703
1704 * progmodes/compile.el (compilation-start):
1705 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1706
1707 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1708 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1709
fa834a93
DG
17102013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1711
00a2b823
SM
1712 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1713 Touch up the last change.
fa834a93 1714
b2856a6f
LL
17152013-12-06 Leo Liu <sdl.web@gmail.com>
1716
1717 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1718 (inferior-octave-startup): Always use "octave> " for prompt.
1719 (octave-goto-function-definition)
1720 (octave-sync-function-file-names)
1721 (octave-find-definition-default-filename): Remove redundant backquotes.
1722
af67e79a
DG
17232013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1724
1725 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1726 syntax for `?'.
1727 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1728 where appropriate already.
1729 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1730 end of method names (Bug#15874).
1731
bf093209
JL
17322013-12-06 Juri Linkov <juri@jurta.org>
1733
1734 * isearch.el (isearch--saved-overriding-local-map):
1735 New internal variable.
1736 (isearch-mode): Set it to the initial value of
1737 `overriding-terminal-local-map'.
1738 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1739 with `isearch--saved-overriding-local-map'. (Bug#16035)
1740
16588fad
DG
17412013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1742
00a2b823
SM
1743 * progmodes/octave.el (inferior-octave-completion-table):
1744 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1745 (Bug#11906). Update all references.
1746
1747 * minibuffer.el (completion-table-with-cache): New function.
1748
bf4906d7
CD
17492013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1750
1751 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1752
ff69c18f
TZ
17532013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1754
1755 * net/eww.el (eww-current-source): New variable to store page
1756 source.
1757 (eww-display-html, eww-mode, eww-save-history)
1758 (eww-restore-history): Use it.
1759 (eww-view-source): New command to view page source.
1760 Opportunistically uses `html-mode' to highlight the buffer.
1761 (eww-mode-map): Install it.
1762
b85eff45
MA
17632013-12-05 Michael Albinus <michael.albinus@gmx.de>
1764
1765 * net/dbus.el (dbus-unregister-service)
1766 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1767 Fix docstring.
1768 (dbus-unregister-service): Skip :serial entries in
1769 `dbus-registered-objects-table'.
1770 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1771
39eb0899
TZ
17722013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1773
1774 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1775 around keywords with extra `split-string' argument.
1776
456760a5
MR
17772013-12-04 Martin Rudalics <rudalics@gmx.at>
1778
1779 * windmove.el (windmove-other-window-loc): Handle navigation
1780 between windows (excluding the minibuffer window - Bug#16017).
1781
81961e4c
MA
17822013-12-04 Michael Albinus <michael.albinus@gmx.de>
1783
1784 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1785 in D-Bus type syntax.
1786 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1787 preserve unibyte strings. (Bug#16048)
1788
8497f938
SM
17892013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1792 Call force-mode-line-update is the proper buffer (bug#16042).
1793
dda61916
DG
17942013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1795
1796 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1797 `log-edit-remember-comment', make argument optional. Adjust all
1798 callers.
1799 (log-edit-mode): Add `log-edit-remember-comment' to
1800 `kill-buffer-hook' locally.
1801 (log-edit-kill-buffer): Don't remember comment explicitly since
1802 the buffer is killed anyway.
1803
c085e5b9
JL
18042013-12-04 Juri Linkov <juri@jurta.org>
1805
1806 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1807 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1808
e0eb0550 18092013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1810
1811 * notifications.el (notifications-close-notification): Call the
81961e4c 1812 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1813
39fa32d6
KY
18142013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1815
1816 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1817
9139632a
JL
18182013-12-03 Juri Linkov <juri@jurta.org>
1819
1820 * progmodes/compile.el (compilation-start): Rename window alist
1821 entry `no-display-ok' to `allow-no-window'.
1822
1823 * simple.el (shell-command): Add window alist entry
1824 `allow-no-window' to `display-buffer'.
1825 (async-shell-command): Doc fix.
1826
1827 * window.el (display-buffer-no-window): New action function.
1828 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1829
0f457a37
DG
18302013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1831
1832 * vc/log-edit.el (log-edit-set-header): Extract from
1833 `log-edit-toggle-header'.
1834 (log-edit-extract-headers): Separate the summary, when extracted
1835 from header, from the rest of the message with an empty line.
1836
1837 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1838 line, if present, to the Summary header.
1839
0962f376
SM
18402013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1843 in current-buffer (bug#16029).
1844
f345395c
HE
18452013-12-02 Helmut Eller <eller.helmut@gmail.com>
1846
1847 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1848 (debugger-mode-map): Bind it.
1849 (debugger--backtrace-base): New function.
1850 (debugger-eval-expression): Use it.
1851 (debugger-frame-number): Skip local vars when present.
1852 (debugger--locals-visible-p, debugger--insert-locals)
1853 (debugger--show-locals, debugger--hide-locals): New functions.
1854
a8a15d9d
MA
18552013-12-02 Michael Albinus <michael.albinus@gmx.de>
1856
1857 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1858 "LC_ALL".
1859 (tramp-get-remote-locale): New defun.
1860 (tramp-open-connection-setup-interactive-shell): Use it.
1861
0518b057
LL
18622013-12-02 Leo Liu <sdl.web@gmail.com>
1863
1864 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1865
1866 * progmodes/sh-script.el (sh-shell-process):
1867 * progmodes/octave.el (inferior-octave-process-live-p):
1868 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1869 (gdb-inferior-io-sentinel):
1870 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1871
3adc9c6d
DG
18722013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1873
1874 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1875 `save-selected-window' to `log-edit-hide-buf'. This makes
1876 `log-edit-show-files' idempotent.
1877 (log-edit-show-files): Mark the new window as dedicated.
1878
47e8b74e
DG
18792013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1880
1881 * vc/log-edit.el (log-edit-mode-map): Add binding for
1882 `log-edit-kill-biffer'.
1883 (log-edit-hide-buf): Add a FIXME comment.
1884 (log-edit-add-new-comment): New function, extracted from
1885 `log-edit-done'.
1886 (log-edit-done, log-edit-add-to-changelog): Use it.
1887 (log-edit-kill-buffer): New command.
1888
1f6e1bb0
LMI
18892013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1890
1891 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1892 instead of killing the buffer.
1893
fb651d15
SM
18942013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1897
8feacce0
RS
18982013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1899
fb651d15 1900 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1901 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1902 (eww-form-checkbox, eww-toggle-checkbox):
1903 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1904
e0eb0550 1905 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1906 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1907 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1908 no :src tag was specified.
1909
fb651d15 1910 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1911 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1912 Use \\` to match beginning of string instead of ^.
1913 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1914 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1915
177948a5
RS
1916 * net/shr.el (shr-tag-video): Display content for video if no
1917 poster is available.
eb2dd24d 1918 (shr-tag-audio): Add support for <audio> tag.
177948a5 1919
e0eb0550 1920 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1921 (eww-process-text-input): Treat input types in
1922 `eww-text-input-types' as text.
1923
8feacce0
RS
1924 * net/shr.el (shr-tag-table): Fix comment typo.
1925
513562a1
LMI
19262013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1927
1928 * net/eww.el (eww-follow-link): New command to avoid reloading
1929 pages when we follow #target links (bug#15243).
de8a5633 1930 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1931
9dd99753
KN
19322013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1933
1934 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1935 forms.
1936
3e9876de
LMI
19372013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1938
1939 * net/eww.el (eww-restore-history): Update the window title after
1940 moving in the history.
ab6dea82 1941 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1942
52789f7f
DG
19432013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1944
1945 * vc/log-edit.el (log-edit-mode-map): Add binding for
1946 `log-edit-beginning-of-line'.
1947 (log-edit-setup-add-author): New user option.
1948 (log-edit-beginning-of-line): New command.
1949 (log-edit): Move major mode call above the contents setup so that
1950 the local variable values are already applied.
1951 (log-edit): Only insert "Author: " when
1952 `log-edit-setup-add-author' is non-nil.
1953 (log-edit): When SETUP is non-nil, position point after ": "
1954 instead of point-min.
1955
2e6710c3
GM
19562013-12-01 Glenn Morris <rgm@gnu.org>
1957
1958 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1959
fadec31f
EZ
19602013-11-30 Eli Zaretskii <eliz@gnu.org>
1961
1962 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1963 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1964 visible. (Bug#16014)
1965
10634b40 19662013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1967
1968 Support resizing frames and windows pixelwise.
1969 * cus-start.el (frame-resize-pixelwise)
1970 (window-resize-pixelwise): New entries.
1971 * emacs-lisp/debug.el (debug): Use window-total-height instead
1972 of window-total-size.
1973 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1974 * help.el (describe-bindings-internal): Call help-buffer
1975 (temp-buffer-max-width): New option.
1976 (resize-temp-buffer-window, help-window-setup)
1977 (with-help-window): Rewrite.
1978 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1979 dragging dividers.
1980 * window.el (frame-char-size, window-min-pixel-height)
1981 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1982 (window-min-pixel-width, window-safe-min-pixel-size)
1983 (window-combination-p, window-safe-min-size)
1984 (window-resizable-p, window--size-to-pixel)
1985 (window--pixel-to-size, window--resize-apply-p): New functions.
1986 (window-safe-min-height): Fix doc-string.
1987 (window-size, window-min-size, window--min-size-1)
1988 (window-sizable, window-sizable-p, window--min-delta-1)
1989 (window-min-delta, window--max-delta-1, window-max-delta)
1990 (window--resizable, window--resizable-p, window-resizable)
1991 (window-full-height-p, window-full-width-p, window-at-side-p)
1992 (window--in-direction-2, window-in-direction)
1993 (window--resize-reset-1, window--resize-mini-window)
1994 (window-resize, window-resize-no-error)
1995 (window--resize-child-windows-normal)
1996 (window--resize-child-windows, window--resize-siblings)
1997 (window--resize-this-window, window--resize-root-window)
1998 (window--resize-root-window-vertically)
1999 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2000 (maximize-window, minimize-window, delete-window)
2001 (quit-restore-window, window-split-min-size, split-window)
2002 (balance-windows-2, balance-windows)
2003 (balance-windows-area-adjust, balance-windows-area)
2004 (window--state-get-1, window-state-get, window--state-put-1)
2005 (window--state-put-2, window-state-put)
fb651d15
SM
2006 (display-buffer-record-window, window--display-buffer):
2007 Make functions handle pixelwise sizing of windows.
880e6158 2008 (display-buffer--action-function-custom-type)
fb651d15
SM
2009 (display-buffer-fallback-action):
2010 Add display-buffer-in-previous-window.
880e6158
MR
2011 (display-buffer-use-some-window): Resize window to height it had
2012 before.
2013 (fit-window-to-buffer-horizontally): New option.
2014 (fit-frame-to-buffer): Describe new values.
2015 (fit-frame-to-buffer-bottom-margin): Replace with
2016 fit-frame-to-buffer-margins.
2017 (window--sanitize-margin): New function.
2018 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2019 using window-text-pixel-size.
2020
f9b697dd
GM
20212013-11-30 Glenn Morris <rgm@gnu.org>
2022
3e2fb4db
GM
2023 * emacs-lisp/bytecomp.el (byte-compile-form):
2024 Make the `interactive-only' warning like the `obsolete' one.
2025 * comint.el (comint-run):
2026 * files.el (insert-file-literally, insert-file):
2027 * replace.el (replace-string, replace-regexp):
2028 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2029 (goto-line, insert-buffer, next-line, previous-line):
2030 Tweak `interactive-only' spec.
2031
f9b697dd
GM
2032 Stop keeping (most) generated cedet grammar files in the repository.
2033 * Makefile.in (semantic): New.
2034 (compile-main): Depend on semantic.
2035
da048127
SM
20362013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2037
7784b779
SM
2038 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2039 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2040
4e36a6a6
SM
2041 * uniquify.el (uniquify-buffer-name-style): Change default.
2042
2043 * loadup.el: Preload "uniquify".
2044
e0ba1308
SM
2045 * time.el (display-time-update): Update all mode lines (bug#15999).
2046
da048127
SM
2047 * electric.el (electric-indent-mode): Enable by default.
2048 * loadup.el: Preload "electric".
2049
015b3b3e
BB
20502013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2051
2052 * emacs-lisp/helpers.el (string-empty-p): New function.
2053 (string-blank-p): New function.
2054
7efb806d
AP
20552013-11-29 Andreas Politz <politza@hochschule-trier.de>
2056
2057 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2058 (Bug#14029).
2059
c8f0efc2
AP
20602013-11-29 Andreas Politz <politza@fh-trier.de>
2061 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2062 allow non-lambda lists as functions.
2063 (imenu--in-alist): Don't recurse into non-subalists.
2064 (imenu): Don't pass function itself as an argument (Bug#14029).
2065
bd15d9d1
SM
20662013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2067
2068 * progmodes/python.el (python-mode-map): Remove binding for ":".
2069 (python-indent-electric-colon): Remove command.
2070 (python-indent-post-self-insert-function): Integrate the previous code
2071 of python-indent-electric-colon. Make it conditional on
2072 electric-indent-mode.
2073 (python-mode): Add ?: to electric-indent-chars.
2074 Move python-indent-post-self-insert-function to the end of
2075 post-self-insert-hook.
2076
1b10adb6
SM
20772013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2078
655ab9a3
SM
2079 * doc-view.el (doc-view-goto-page): Update mode-line.
2080
1b10adb6
SM
2081 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2082
7e3bf78c
GM
20832013-11-27 Glenn Morris <rgm@gnu.org>
2084
2085 * international/charprop.el, international/uni-bidi.el:
2086 * international/uni-category.el, international/uni-combining.el:
2087 * international/uni-comment.el, international/uni-decimal.el:
2088 * international/uni-decomposition.el, international/uni-digit.el:
2089 * international/uni-lowercase.el, international/uni-mirrored.el:
2090 * international/uni-name.el, international/uni-numeric.el:
2091 * international/uni-old-name.el, international/uni-titlecase.el:
2092 * international/uni-uppercase.el:
2093 Remove generated files from VCS repository.
2094
fb6a5d68
EZ
20952013-11-27 Eli Zaretskii <eliz@gnu.org>
2096
2097 * filenotify.el (file-notify-add-watch): Don't special-case
2098 w32notify when computing the directory to watch.
2099
cb6c95a3
GM
21002013-11-27 Glenn Morris <rgm@gnu.org>
2101
20372d0c
GM
2102 Make bootstrap without generated uni-*.el files possible again.
2103 * loadup.el: Update command-line-args checking for unidata-gen.
2104 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2105 * composite.el, international/characters.el:
2106 Handle unicode tables being undefined.
2107
52d6635f 2108 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2109 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2110 (compile-main): Depend on leim rule.
2111 (leim): New rule.
2112 * loadup.el: Move leim-list.el to leim/ subdirectory.
2113 * startup.el (normal-top-level): No more leim directory.
2114 * international/ja-dic-cnv.el (skkdic-convert):
2115 Disable version-control and autoloads in output files.
2116 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2117 Disable version-control and autoloads in output files.
2118 * leim/quail: Move here from ../leim.
2119 * leim/quail/hangul.el (hangul-input-method-activate):
2120 Add autoload cookie.
2121 (generated-autoload-load-name): Set file-local value.
2122 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2123 (generated-autoload-load-name): Set file-local value.
2124
7514d3f8 21252013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2126
e0eb0550 2127 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2128 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2129 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2130
0e2c793f
EZ
21312013-11-26 Eli Zaretskii <eliz@gnu.org>
2132
2133 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2134 reading output from Diff on MS-Windows and MS-DOS.
2135
447bdcb8
BB
21362013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2137
2138 * emacs-lisp/helpers.el (string-reverse): New function.
2139
5fbf6856
MA
21402013-11-26 Michael Albinus <michael.albinus@gmx.de>
2141
2142 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2143 names on MS Windows, like "/[::1]:".
2144
2145 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2146 SWITCHES.
2147
624780f0
GM
21482013-11-26 Glenn Morris <rgm@gnu.org>
2149
0bf3f0fa
GM
2150 * progmodes/python.el (python-indent-guess-indent-offset):
2151 Avoid corner-case error. (Bug#15975)
2152
624780f0
GM
2153 Preload leim-list.el. (Bug#4789)
2154 * loadup.el: Load leim-list.el when found.
2155 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2156
4301875e 21572013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2158
2159 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2160
4301875e
BB
2161 * emacs-lisp/helpers.el (string-join): New function.
2162
1633a815 21632013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2164
2165 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2166 Mark as obsolete and replace it with a symbol property.
2167 (byte-compile-form): Use new 'interactive-only property.
2168 * comint.el, files.el, replace.el, simple.el:
2169 Apply new 'interactive-only properly.
2170
00139435
MR
21712013-11-25 Martin Rudalics <rudalics@gmx.at>
2172
2173 * window.el (display-buffer-at-bottom): Make sure that
2174 split-window-sensibly creates the new window on bottom
2175 (Bug#15961).
2176
5f5b128d
DK
21772013-11-23 David Kastrup <dak@gnu.org>
2178
2179 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2180 on the conflict markers when available.
2181 (smerge--get-marker): New function.
2182 (smerge-end-re, smerge-base-re): Add subgroup.
2183
623891e5
SM
21842013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2185
2186 * frame.el (handle-focus-in, handle-focus-out): Add missing
2187 interactive spec.
2188
05ca27d8
MA
21892013-11-25 Michael Albinus <michael.albinus@gmx.de>
2190
2191 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2192 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2193
511fa0d3
SM
21942013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2195
e82ad66c
SM
2196 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2197 (gomoku--last-pos): New var.
2198 (gomoku--intangible-chars): New const.
2199 (gomoku--intangible): New function.
2200 (gomoku-mode): Use it. Derive from special-mode.
2201 (gomoku-move-up): Adjust line count.
2202 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2203 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2204 Simplify accordingly.
2205
511fa0d3
SM
2206 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2207 Remove blink-cursor code.
2208 (blink-cursor-timer-function, blink-cursor-suspend):
2209 Don't special-case GUIs.
2210 (blink-cursor-mode): Use focus-in/out-hook.
2211
6f20dd03
DG
22122013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2213
2214 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2215 work when annotation is invisible (Bug#13886).
2216
431dec31 22172013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2218
2219 * json.el (json-alist-p): Only return non-nil if the alist has
2220 simple keys (Bug#13518).
2221
431dec31 22222013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2223
2224 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2225 when control-statement is the first statement in a buffer (Bug#15956).
2226
ee4f0261
DG
22272013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2228
2229 * imenu.el (imenu-generic-skip-comments-and-strings):
2230 New option (Bug#15560).
2231 (imenu--generic-function): Use it.
2232
c484f866
JS
22332013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2234
e9dc713d
JB
2235 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2236 (Bug#13898)
c484f866 2237
41ce6f70
BB
22382013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2239
b55aea38
BB
2240 * emacs-lisp/helpers.el: Add some string helpers.
2241 (string-trim-left): Removes leading whitespace.
2242 (string-trim-right): Removes trailing whitespace.
2243 (string-trim): Removes leading and trailing whitespace.
2244
41ce6f70
BB
2245 * subr.el (string-suffix-p): New function.
2246
3cfb6af3
GM
22472013-11-23 Glenn Morris <rgm@gnu.org>
2248
2249 * progmodes/python.el (python-shell-send-file):
2250 Add option to delete file when done. (Bug#15647)
2251 (python-shell-send-string, python-shell-send-region): Use it.
2252
c27924b7
IS
22532013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2254
e1b01c7f
IS
2255 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2256 to set buffer-read-only to t, never to nil. (Bug#15938)
2257
c27924b7
IS
2258 * textmodes/tex-mode.el (latex-noindent-environments):
2259 Add safe-local-variable property. (Bug#15936)
2260
17e0445b
GM
22612013-11-23 Glenn Morris <rgm@gnu.org>
2262
92f78ea3
GM
2263 * textmodes/enriched.el (enriched-mode): Doc fix.
2264 * emacs-lisp/authors.el (authors-renamed-files-alist):
2265 Add enriched.doc -> enriched.txt.
2266
17e0445b
GM
2267 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2268
965bb23a
LL
22692013-11-22 Leo Liu <sdl.web@gmail.com>
2270
2271 * progmodes/octave.el (inferior-octave-startup): Spit out error
2272 message.
2273
d19ffd64
BB
22742013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2275
2276 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2277 Improve docstring.
15ba2182
BB
2278 Add :version.
2279 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2280
7a7567d2
LL
22812013-11-22 Leo Liu <sdl.web@gmail.com>
2282
2283 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2284 (Bug#15076)
8c09f64b
LL
2285 (octave-help-mode): Adapt to change to help-mode-finish to use
2286 derived-mode-p on 2013-09-17.
2287 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2288 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2289
724bc265
LL
22902013-11-22 Leo Liu <sdl.web@gmail.com>
2291
2292 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2293 (inferior-octave-startup, inferior-octave-check-process)
2294 (inferior-octave-track-window-width-change)
2295 (octave-completion-at-point, octave-eldoc-function): Use it.
2296 (octave-kill-process): Provide confirmation. (Bug#10564)
2297
38637cca
LL
22982013-11-21 Leo Liu <sdl.web@gmail.com>
2299
511fa0d3
SM
2300 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2301 Fix obsolete variable comment-use-global-state.
38637cca 2302
06e752b4
RS
23032013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2304
511fa0d3
SM
2305 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2306 Add `octave-source-file'.
06e752b4
RS
2307 (octave-source-file): New function. (Bug#15935)
2308
7514d3f8 23092013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2310
2311 * net/eww.el (eww-local-regex): New variable.
2312 (eww): Use it to detect localhost and similar.
2313
b6ffa04a
LL
23142013-11-21 Leo Liu <sdl.web@gmail.com>
2315
2316 Add completion for command `ag'.
2021a200
LL
2317 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2318 (pcomplete/ag): New function.
e9dc713d 2319 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2320
d1a6bccc
SM
23212013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2322
2323 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2324 (bug#14646).
2325 (make-obsolete): Remove interactive spec.
2326
2df10228
GM
23272013-11-21 Glenn Morris <rgm@gnu.org>
2328
2329 * startup.el (command-line-1): Use path-separator with -L.
2330
86fd16b6
TZ
23312013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2332
2333 * emacs-lisp/package.el (describe-package-1): Add package archive
2334 to shown fields.
2335
0449d6cd 23362013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2337
2338 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2339 Change default to "# encoding: %s" to differentiate it from the
2340 default Ruby encoding comment template.
2341
dc7e8c17 23422013-11-20 era eriksson <era+emacsbugs@iki.fi>
2343
2344 * ses.el (ses-mode): Doc fix. (Bug#14748)
2345
f0cfa5fe
LL
23462013-11-20 Leo Liu <sdl.web@gmail.com>
2347
2348 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2349
826dc7b6
DN
23502013-11-19 Dan Nicolaescu <dann@gnu.org>
2351
2352 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2353 when rebase or bisect are in progress.
2354
a6e3a5d5
XF
23552013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2356
2357 * filenotify.el (file-notify-add-watch): Doc fix.
2358
f130cb76
LL
23592013-11-19 Leo Liu <sdl.web@gmail.com>
2360
e0855d7d
LL
2361 * obsolete/rcompile.el: Mark obsolete.
2362
f130cb76 2363 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2364 (compilation-goto-locus, compilation-find-file):
2365 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2366 (Bug#13594)
2367
2368 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2369 new parameter no-display-ok. Return either a window or nil
2370 but never a non-window value.
f130cb76 2371
1f35d401
SM
23722013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2373
25158c76
SM
2374 * electric.el (electric-indent-mode-map): Remove.
2375 (electric-indent-mode): Change the global-map instead (bug#15915).
2376
2377 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2378 Use add-function.
1f35d401 2379
9bc67baa
SM
23802013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2381
986545b5
SM
2382 * emacs-lisp/nadvice.el (remove-function): Align with
2383 add-function's behavior.
2384
9bc67baa
SM
2385 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2386 (gdb--string-regexp): New constant.
2387 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2388 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2389 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2390 submatch 1.
2391 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2392 Adjust use accordingly.
2393 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2394
56cd894e
AS
23952013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2396
2397 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2398 interpolation curlies (Bug#15914).
2399
014690de
JB
24002013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2401
2402 * calc/calc.el (calc-context-sensitive-enter): New variable.
2403 (calc-enter): Use `calc-context-sensitive-enter'.
2404
7e26a6c3
TZ
24052013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2406
2407 * progmodes/cfengine.el: Version bump.
2408 (cfengine-cf-promises): New defcustom to locate cf-promises.
2409 (cfengine3-vartypes): Add new "data" type.
2410 (cfengine3--current-word): New function to get current name-like
2411 word or its bounds.
2412 (cfengine3--current-function): New function to look up a CFEngine
2413 function's definition.
2414 (cfengine3-format-function-docstring): New function.
2415 (cfengine3-make-syntax-cache): New function.
2416 (cfengine3-documentation-function): New function: ElDoc glue.
2417 (cfengine3-completion-function): New function: completion glue.
2418 (cfengine3-mode): Set `compile-command',
2419 `eldoc-documentation-function', and add to
2420 `completion-at-point-functions'.
2421
355204dd
MA
24222013-11-16 Michael Albinus <michael.albinus@gmx.de>
2423
2424 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2425 `tramp-current-connection'.
2426
43cebc23
DG
24272013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2428
2429 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2430 nil/self/true/false with "end of symbol".
2431
a3fed6ff
BB
24322013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2433
2434 * subr.el (version-regexp-alist): Fix a typo.
2435
e675b3e4
MA
24362013-11-15 Michael Albinus <michael.albinus@gmx.de>
2437
2438 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2439 "en_US.utf8" and "LC_CTYPE" to "".
2440 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2441 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2442
a1f03e89
LL
24432013-11-15 Leo Liu <sdl.web@gmail.com>
2444
2445 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2446
5d9d9451
SM
24472013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2448
58362662
CS
2449 * progmodes/gud.el (ctl-x-map):
2450 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2451 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2452
6c1bf086
BB
24532013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2454
0d5363c4
BB
2455 * subr.el (version-regexp-alist):
2456 Recognize hg, svn and darcs versions as snapshot versions.
2457
4e9fc48c
BB
2458 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2459 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2460 (ruby--encoding-comment-required-p): Extract from
2461 `ruby-mode-set-encoding'.
2462 (ruby-mode-set-encoding): Add the ability to always insert an
2463 utf-8 encoding comment. Fix and simplify coding comment update
2464 logic.
6c1bf086 2465
2f7e72f8
MA
24662013-11-14 Michael Albinus <michael.albinus@gmx.de>
2467
2468 * net/tramp-gvfs.el (top): Run init code only when
2469 `tramp-gvfs-enabled' is not nil.
2470 (tramp-gvfs-enabled): Check also :system bus.
2471
0f137a73
SM
24722013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 Sync with upstream verilog-mode revision 78e66ba.
2475 * progmodes/verilog-mode.el (verilog-end-of-defun)
2476 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2477 (verilog-get-end-of-defun): Remove unused argument.
2478 (verilog-comment-depth): Remove unused local `e'.
2479 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2480 Don't pass arg to verilog-get-end-of-defun.
2481
1c276bdd
GM
24822013-11-14 Glenn Morris <rgm@gnu.org>
2483
2484 * obsolete/assoc.el (aget): Prefix dynamic variable.
2485
2486 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2487
ff6ec81d
SM
24882013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2489
2490 * widget.el, hfy-cmap.el: Remove bogus package version number.
2491
75f777b6
GM
24922013-11-13 Glenn Morris <rgm@gnu.org>
2493
1d43dba1
GM
2494 * replace.el (replace-eval-replacement):
2495 Try to give more helpful error message. (Bug#15836)
2496
ff4b7bd5
GM
2497 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2498 (archive-7z-update): Avoid custom type mismatches.
2499
75f777b6
GM
2500 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2501
11151a06
MA
25022013-11-13 Michael Albinus <michael.albinus@gmx.de>
2503
e675b3e4 2504 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2505 address can be empty.
2506
2507 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2508 Accept nil SWITCHES.
2509 (tramp-gvfs-handle-write-region): Implement APPEND.
2510
7b08f97e
DG
25112013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2512
2513 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2514 binary "|" operator and closing block args delimiter.
2515 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2516 (ruby-smie--implicit-semi-p): Not after "|" operator.
2517 (ruby-smie--closing-pipe-p): New function.
2518 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2519 (ruby-smie-rules): Indent after "|".
2520
f201cf3a
GM
25212013-11-12 Glenn Morris <rgm@gnu.org>
2522
2523 * ps-print.el (ps-face-attribute-list):
2524 Handle anonymous faces. (Bug#15827)
2525
e6f759f9
MR
25262013-11-12 Martin Rudalics <rudalics@gmx.at>
2527
2528 * window.el (display-buffer-other-frame): Fix doc-string.
2529 (Bug#15868)
2530
ecda65d4
SM
25312013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2532
2533 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2534
7ce8fcc3
MA
25352013-11-11 Michael Albinus <michael.albinus@gmx.de>
2536
2537 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2538 (tramp-sh-handle-file-local-copy): Don't write a message when
2539 saving temporary files.
2540
2541 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2542 both directories are remote.
2543 (tramp-smb-handle-directory-files): Do not return double entries.
2544 Do not expand full file names.
2545 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2546 (tramp-smb-handle-write-region): Implement APPEND.
2547 (tramp-smb-get-stat-capability): Fix a stupid bug.
2548
7818df11
SM
25492013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2550
2551 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2552
608c2085
NT
25532013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2554
2555 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2556 throwing error over malformed let/let* (bug#15814).
2557
122a7e46
SM
25582013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2559
2560 * iswitchb.el (iswitchb-mode): Mark obsolete.
2561
766284d9
GM
25622013-11-11 Glenn Morris <rgm@gnu.org>
2563
2564 * international/uni-bidi.el, international/uni-category.el:
2565 * international/uni-name.el, international/uni-numeric.el:
2566 Regenerate for Unicode 6.3.0.
2567
7072a4e9
MA
25682013-11-10 Michael Albinus <michael.albinus@gmx.de>
2569
2570 * net/tramp.el (tramp-methods):
2571 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2572 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2573
c9df215b
AS
25742013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2575
608c2085
NT
2576 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2577 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2578
fa47d796
DG
25792013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2580
2581 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2582 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2583 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2584 (ispell-complete-word): Call `ispell-lookup-words' with the value
2585 independent of `ispell-look-p'.
2586
1629a329
DG
25872013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2588
2589 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2590 Not after "||".
2591 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2592 their parent.
2593
ad16897c
SM
25942013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2597 (ruby-font-lock-keywords): Use backquote.
2598
ffa2df72
DG
25992013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2600
2601 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2602 (ruby-smie--backward-token): Only consider full-string matches.
2603
5b97b4c0
JD
26042013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2605
2606 * faces.el (describe-face): Add distant-foreground.
2607
71731c03
BB
26082013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2609
4e9fc48c
BB
2610 * progmodes/ruby-mode.el: Improve encoding comment handling.
2611 (ruby-encoding-magic-comment-style): New option.
2612 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2613 (ruby--insert-coding-comment, ruby--detect-encoding):
2614 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2615 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2616 to control the style of the auto-inserted encoding comment.
71731c03 2617
da3b328d
DG
26182013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2619
ad16897c
SM
2620 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2621 Use `smie-backward-sexp' with token argument.
da3b328d 2622
1606c2d3
MA
26232013-11-08 Michael Albinus <michael.albinus@gmx.de>
2624
2625 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2626 Remove instrumentation code.
2627
b0f4c320
GM
26282013-11-08 Glenn Morris <rgm@gnu.org>
2629
2630 * progmodes/autoconf.el (autoconf-mode):
2631 Tweak comment-start-skip. (Bug#15822)
2632
43668fb1
SM
26332013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2634
2635 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2636 at bobp (bug#15826).
2637 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2638
daddb3fd
DH
26392013-11-08 Darren Hoo <darren.hoo@gmail.com>
2640
2641 * man.el (Man-start-calling): New macro, extracted from
2642 Man-getpage-in-background.
2643 (Man-getpage-in-background): Use it.
2644 (Man-update-manpage): New command.
2645 (Man-mode-map): Bind it.
2646
1f923923
DG
26472013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2648
2649 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2650 of "and", "or", "&&" and "||".
2651 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2652 argument. Prohibit opening curly brace because it could only be a
2653 block opener in that position.
daddb3fd
DH
2654 (ruby-smie--forward-token, ruby-smie--backward-token):
2655 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2656 arguments.
2657 (ruby-smie--indent-to-stmt): New function, seeks the end of
2658 previous statement or beginning of buffer.
2659 (ruby-smie-rules): Use it.
2660 (ruby-smie-rules): Check if there's a ":" before a curly block
2661 opener candidate; if there is, it's a hash.
2662
3220d527
SM
26632013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2664
2665 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2666 (cl--block-wrapper): Fix last accidental change.
2667
1eb1f9e0
MA
26682013-11-07 Michael Albinus <michael.albinus@gmx.de>
2669
2670 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2671 Instrument, in order to hunt failure on hydra.
2672
e6e4db3c
NT
26732013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2674
2675 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2676 malformed bindings form (bug#15814).
2677
b420ccfc
DG
26782013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2679
2680 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2681 "." compared to " @ ". This incidentally fixes some indentation
2682 examples with "do".
e6e4db3c 2683 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2684 (ruby-smie-grammar): New tokens: "and" and "or".
2685 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2686 Exclude "and" and "or". Remove "do" in order to work around token
2687 priorities.
2688 (ruby-smie-rules): Add all infix tokens. Handle the case of
2689 beginning-of-buffer.
b420ccfc 2690
6b4ac03e
GM
26912013-11-06 Glenn Morris <rgm@gnu.org>
2692
2693 * Makefile.in (setwins_almost, setwins_for_subdirs):
2694 Avoid accidental matches.
2695
5ca114d1
SM
26962013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2697
2698 * menu-bar.el (popup-menu): Use key-binding.
2699
f72552bd
EZ
27002013-11-06 Eli Zaretskii <eliz@gnu.org>
2701
2702 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2703 menus, support also the menus produced by minor modes.
2704 (Bug#15817)
2705
5d5c701e
LL
27062013-11-06 Leo Liu <sdl.web@gmail.com>
2707
2708 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2709 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2710
0a8b75e2
GM
27112013-11-06 Glenn Morris <rgm@gnu.org>
2712
2713 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2714 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2715 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2716
a35287ea
SM
27172013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2718
feca4e2d
SM
2719 * electric.el (electric-indent-just-newline): New command.
2720 (electric-indent-mode-map): New keymap.
2721 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2722 Re-add :group which weren't redundant.
2723
a35287ea
SM
2724 * electric.el (electric-indent-local-mode): New minor mode.
2725 (electric-indent-functions-without-reindent): New var.
2726 (electric-indent-post-self-insert-function): Use it.
2727 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2728
375761b2
EZ
27292013-11-05 Eli Zaretskii <eliz@gnu.org>
2730
9a6ad735
EZ
2731 * international/quail.el (quail-help): Be more explicit about the
2732 meaning of the labels shown on the keys. (Bug#15800)
2733
375761b2
EZ
2734 * startup.el (normal-top-level): Load the subdirs.el files before
2735 setting the locale environment. (Bug#15805)
2736
520a6e4a
SM
27372013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2738
0acfafef
SM
2739 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2740 via arguments so as to get the right ones (bug#15418).
2741
520a6e4a
SM
2742 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2743
15826261
MA
27442013-11-05 Michael Albinus <michael.albinus@gmx.de>
2745
2746 Fix problems found while writing a test suite.
2747
2748 * net/tramp-compat.el (tramp-compat-load): New defun.
2749 * net/tramp.el (tramp-handle-load): Use it.
2750
2751 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2752 "(numberp ok-if-already-exists)" correctly.
2753
d35f31a4
XF
27542013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2755
2756 * international/characters.el (glyphless-char-display-control):
2757 Add usage note.
2758
ae93bc74
BB
27592013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2760
520a6e4a
SM
2761 * progmodes/python.el (python-mode):
2762 * progmodes/scheme.el (scheme-mode):
2763 * progmodes/prolog.el (prolog-mode):
2764 * progmodes/ruby-mode.el (ruby-mode):
2765 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2766 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2767
0ade65b5
SM
27682013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2769
a0d5f7a4
SM
2770 * rect.el (rectangle--highlight-for-redisplay):
2771 * emacs-lisp/smie.el (smie--next-indent-change):
2772 Use buffer-chars-modified-tick.
2773
c93f3f5c
SM
2774 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2775
0ade65b5
SM
2776 * electric.el (electric-indent-post-self-insert-function):
2777 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2778
ef9dd188
HE
27792013-11-04 Helmut Eller <eller.helmut@gmail.com>
2780
2781 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2782
306e7308
NT
27832013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2784
2785 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2786 (bug#15786).
2787
e5afbcac
SM
27882013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2789
1d01ad41
SM
2790 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2791
e5afbcac
SM
2792 * progmodes/python.el: Fix up last change.
2793 (python-shell--save-temp-file): New function.
2794 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2795 `string' comes from the current buffer.
2796 (python-shell-send-string-no-output): Remove `msg' arg.
2797 (python--use-fake-loc): New var.
2798 (python-shell-buffer-substring): Obey it. Try to compensate for the
2799 extra coding line added by python-shell--save-temp-file.
2800 (python-shell-send-region): Use python-shell--save-temp-file and
2801 python-shell-send-file directly. Add `nomain' argument.
2802 (python-shell-send-buffer): Use python-shell-send-region.
2803 (python-electric-pair-string-delimiter): New function.
2804 (python-mode): Use it.
2805
d0065ff1
EZ
28062013-11-04 Eli Zaretskii <eliz@gnu.org>
2807
2808 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2809 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2810 environment and decoding all of the default-directory's to here
2811 from command-line.
2812 (command-line): Decode also argv[0].
2813
2814 * loadup.el: Error out if default-directory is a multibyte string
2815 when we are dumping.
2816
2817 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2818
7397c587
TZ
28192013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2820
2821 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2822 (package-menu--print-info, package-menu--archive-predicate):
2823 Add Archive column to package list.
7397c587 2824
b27cc9fc
MA
28252013-11-04 Michael Albinus <michael.albinus@gmx.de>
2826
2827 Fix problems found while writing a test suite.
2828
2829 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2830 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2831 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2832 to nil when running original file name handler. Otherwise,
2833 there are problems with constructs like "$$FOO".
2834
2835 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2836 for `localname'.
2837
d8c4f18a
BB
28382013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2839
7b530552
BB
2840 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2841
2842 * subr.el (version<, version<=, version=):
2843 Update docstrings with information for snapshot versions.
2844
d8c4f18a
BB
2845 * helpers.el: New library for misc helper functions.
2846 (hash-table-keys): New function returning a list of hash keys.
2847 (hash-table-values): New function returning a list of hash values.
2848
dca01b09
DG
28492013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2850
2851 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2852 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2853
0a749fa0
MN
28542013-11-04 Michal Nazarewicz <mina86@mina86.com>
2855
2856 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2857 checking whether point is after a 1-letter word.
2858
28592013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2860
2861 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2862 Don't infloop when expanding region over `multiline' syntax-type that
2863 begins a line (bug#15778).
2864
4aca7145
SM
28652013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2868 Make it into a proper minor mode.
2869 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2870 (rectangle-mark-mode-map): New keymap.
2871 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2872
a0833f62
GM
28732013-11-04 Glenn Morris <rgm@gnu.org>
2874
2875 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2876
e61845c1
SM
28772013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2880 (ruby-smie-rules): Use smie-rule-parent instead.
2881
2882 * emacs-lisp/smie.el (smie-rule-parent): Always call
2883 smie-indent-virtual rather than only for hanging tokens.
2884 (smie--next-indent-change): New helper command.
2885
62942f89
GM
28862013-11-03 Glenn Morris <rgm@gnu.org>
2887
2888 * Makefile.in (abs_srcdir): Remove.
2889 (emacs): Unset EMACSLOADPATH.
2890
b0b9e592
GM
28912013-11-02 Glenn Morris <rgm@gnu.org>
2892
18ba6a33 2893 * Makefile.in (EMACS): Use a relative filename.
8061810d 2894 (abs_top_builddir): Remove.
18ba6a33
GM
2895 (custom-deps, finder-data, autoloads): Use --chdir.
2896
6a8b929e
GM
2897 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2898
c617f3d0
GM
2899 Use relative filenames in TAGS files.
2900 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2901 (lisptagsfiles4, TAGS): Use relative file names.
2902 (TAGS-LISP): Remove.
2903 (maintainer-clean): No more TAGS-LISP file.
2904
b0b9e592
GM
2905 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2906 (lisptagsfiles4): Use absolute filenames again.
2907 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2908 Remove all *loaddefs files, not just the first. Remove esh-groups.
2909 (maintainer-clean): Delete TAGS, TAGS-LISP.
2910
d1c0ea6a
BB
29112013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2912
e61845c1
SM
2913 * emacs-lisp/package.el (package-version-join):
2914 Recognize snapshot versions.
d1c0ea6a 2915
684d71c6
BB
29162013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2917
2918 * subr.el (version-regexp-alist): Add support for snapshot versions.
2919
3d42b968
DG
29202013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2921
e61845c1
SM
2922 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2923 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2924 skip over our direct parent if it's an assignment token..
2925 (ruby-smie-rules): Use it.
2926
7ffd3721
DG
29272013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2928
8449dd1f 2929 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
2930 unconditionally. Remove now unnecessary forward declarations.
2931 Remove XEmacs-specific setup.
2932 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2933 (ruby-font-lock-syntactic-keywords)
2934 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2935 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2936 (ruby-here-doc-end-syntax): Remove.
2937 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2938 defined as function.
2939
a3996a2e
BB
29402013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2941
2942 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2943
6f9260e8
BB
29442013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2945
2946 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2947 table and abbrev table, `define-derived-mode' does that for us
2948 anyway.
2949
6014de84
GM
29502013-11-01 Glenn Morris <rgm@gnu.org>
2951
2952 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2953 files is atomic for some time, so no parallel compilation issues).
2954
3c334c14
JD
29552013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2956
2957 * faces.el (face-x-resources): Add :distant-foreground.
2958 (region): Use :distant-foreground for gtk and ns.
2959
9bc236c8
TH
29602013-11-01 Tassilo Horn <tsdh@gnu.org>
2961
5246583b 2962 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2963 BibTeX.
2964 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2965 (reftex-locate-bibliography-files): Us it.
2966
d14c81ee
CB
29672013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2968
0e7690de
CB
2969 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2970 allow comments in pbm files.
2971
d14c81ee
CB
2972 * term/w32-win.el (dynamic-library-alist): Support newer versions
2973 of libjpeg starting with v7: look only for the DLL from the
2974 version against which Emacs was built.
ac1bf374 2975 Support versions of libpng beyond 1.4.x.
019c8218 2976 Support libtiff v4.x.
d14c81ee 2977
983d0df5
BB
29782013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2979
2980 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2981 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2982 Add property :safe.
2983 (ruby-deep-arglist): Add property :type.
2984
47f58d85
GM
29852013-10-31 Glenn Morris <rgm@gnu.org>
2986
2987 * Makefile.in (custom-deps, finder-data): No need to setq the target
2988 variables, we are in the right directory and the defaults work fine.
2989
4f85b479
GM
29902013-10-30 Glenn Morris <rgm@gnu.org>
2991
ca7dd4cd
GM
2992 * Makefile.in (autoloads): Do not use abs_lisp.
2993
4f85b479
GM
2994 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2995 `newline' does not respect `standard-output', so use `princ'.
2996
cf59e41c
AA
29972013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2998
2999 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3000 * buff-menu.el (Buffer-menu--unmark): New function.
3001 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3002
74cf04fb
GM
30032013-10-30 Glenn Morris <rgm@gnu.org>
3004
b040b60e
GM
3005 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3006
f53d3815
GM
3007 * emacs-lisp/package.el (lm-homepage): Declare.
3008
5413d873
GM
3009 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3010 Fix doc typos.
3011
cecedb36
GM
3012 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3013
74cf04fb
GM
3014 * Makefile.in (finder-data, autoloads, update-subdirs)
3015 (compile-main, compile-clean, compile-always, bootstrap-clean):
3016 Check return value of cd.
3017 (compile-calc): Remove.
3018
195ee2f0
SM
30192013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3020
ae4002ce
SM
3021 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3022
3023 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3024 (byte-compile-and-folded): New function.
3025 (=, <, >, <=, >=): Use it.
3026
3027 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3028 (path-separator, null-device, buffer-file-coding-system)
3029 (lpr-headers-switches): Check system-type before modifying them.
3030 (find-buffer-file-type-coding-system): Mark obsolete.
3031 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3032 find-file-not-found-set-buffer-file-coding-system.
3033 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3034 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3035 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3036 (w32-direct-print-region-helper, w32-direct-print-region-function)
3037 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3038 * startup.el (normal-top-level-add-subdirs-to-load-path):
3039 * ps-print.el (ps-print-region-function):
3040 * lpr.el (print-region-function): Use new name.
3041
53b39e89
SM
3042 * subr.el (custom-declare-variable-early): Remove function.
3043 (custom-declare-variable-list): Remove var.
3044 (error, user-error): Remove `while' loop.
3045 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3046 (user-emacs-directory-warning, locate-user-emacs-file):
3047 Move to files.el.
3048 * simple.el (read-quoted-char-radix, read-quoted-char):
3049 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3050 Move from subr.el.
3051 * custom.el (custom-declare-variable-list): Don't process
3052 custom-declare-variable-list.
3053
195ee2f0
SM
3054 * progmodes/python.el (python-shell-get-buffer): New function.
3055 (python-shell-get-process): Use it.
3056 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3057 Python which encoding was used. Don't split-string since we only care
3058 about the first line. Return the temp-file, if applicable.
3059 (python-shell-send-region): Tell compile.el how to turn locations in
3060 the temp-file into locations in the source buffer.
3061
7e3561ee
SM
30622013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3063
4c9797cb
SM
3064 * subr.el (undefined): Add missing behavior from the C code for
3065 unbound keys.
3066
3472b6c6
SM
3067 * rect.el: Use lexical-binding. Add new rectangular region support.
3068 (rectangle-mark): New command.
3069 (rectangle--region): New var.
3070 (deactivate-mark-hook): Reset rectangle--region.
3071 (rectangle--extract-region, rectangle--insert-for-yank)
3072 (rectangle--highlight-for-redisplay)
3073 (rectangle--unhighlight-for-redisplay): New functions.
3074 (region-extract-function, redisplay-unhighlight-region-function)
3075 (redisplay-highlight-region-function): Use them to handle
3076 rectangular region.
3077 * simple.el (region-extract-function): New var.
3078 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3079 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3080 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3081 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3082 (redisplay-unhighlight-region-function)
3083 (redisplay-highlight-region-function): New vars.
3084 (redisplay--update-region-highlight): New function.
3085 (pre-redisplay-function): Use it.
3086 (exchange-point-and-mark): Don't deactivate the mark before
3087 reactivate-it anyway.
3088 * comint.el (comint-kill-region): Remove yank-handler argument.
3089 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3090 (delete-char): Remove property, since it's now part of their
3091 default behavior.
3092 (self-insert-iso): Remove property since this command doesn't exist.
3093
7e3561ee
SM
3094 * emacs-lisp/package.el (package--download-one-archive)
3095 (describe-package-1): Don't query the user about final newline.
3096
b9bef71f
DC
30972013-10-29 Daniel Colascione <dancol@dancol.org>
3098
3099 * net/tramp.el (tramp-methods): Document new functionality.
3100 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3101 tramp-hostname-checker if method provides one instead of scanning
3102 argument list for "%h" to decide hostname acceptability.
3103
4efc33f0
MA
31042013-10-28 Michael Albinus <michael.albinus@gmx.de>
3105
3106 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3107 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3108 Handle COPY-CONTENTS. (Bug#15737)
3109
ed42a877
DU
31102013-10-28 Daiki Ueno <ueno@gnu.org>
3111
3112 * epa-file.el
7e3561ee
SM
3113 (epa-file-cache-passphrase-for-symmetric-encryption):
3114 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3115
18c9f8a2
XF
31162013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3117
7a4bc7be
XF
3118 * image.el (defimage):
3119 (image-load-path): Doc fixes.
18c9f8a2 3120
b1e8e010
AM
31212013-10-27 Alan Mackenzie <acm@muc.de>
3122
3123 Indent statements in macros following "##" correctly.
7e3561ee
SM
3124 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3125 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3126
73d40d1e 31272013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3128
3129 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3130
c8c605ac
DG
31312013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3132
3133 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3134 after `=' is probably a new expression.
3135
ca7e59d4
RS
31362013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3137
3138 * man.el (man-imenu-title): New option.
3139 (Man-mode-map): Add menu. (Bug#15722)
3140 (Man-mode): Add imenu to menu.
3141
bae91342
DG
31422013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3143
3144 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3145 specific in what the first arg can be: a non-keyword word,
3146 string/regexp/percent literal opener, opening paren, or unary
3147 operator followed directly by word.
3148
eb89dc14
SM
31492013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3152 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3153 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3154 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3155 Remove vars, they do not apply any more.
3156 (prolog-mode-abbrev-table): Remove redundant declaration.
3157 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3158 (prolog-use-smie): Remove.
3159 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3160 supported by prolog-electric-if-then-else-flag.
3161 (prolog-mode-variables, prolog-menu): Use setq-local.
3162 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3163 Remove binding to `Backspace' since this key doesn't exist anyway.
3164 Remove bindings for electric self-inserting keys.
3165 (prog-mode): Assume it's defined.
3166 (prolog-post-self-insert): New function.
3167 (prolog-mode): Use it.
3168 (prolog-indent-line, prolog-indent-level)
3169 (prolog-find-indent-of-matching-paren)
3170 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3171 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3172 (prolog-goto-next-paren, prolog-in-string-or-comment)
3173 (prolog-tokenize, prolog-inside-mline-comment)
3174 (prolog-find-start-of-mline-comment): Remove functions.
3175 (prolog-find-unmatched-paren, prolog-clause-end)
3176 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3177 (prolog-electric--if-then-else): Rename from
3178 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3179 (prolog-tokenize-searchkey): Remove const.
3180 (prolog-clause-info): Use forward-sexp.
3181 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3182 (prolog-electric-if-then-else): Remove commands.
3183 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3184 for use in post-self-insert-hook.
3185 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3186 for use in post-self-insert-hook.
3187 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3188 for use in post-self-insert-hook.
3189 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3190 adapt it for use in post-self-insert-hook.
3191
3dab0a83
MA
31922013-10-25 Michael Albinus <michael.albinus@gmx.de>
3193
3194 * emacs-lisp/ert.el (ert-run-tests-interactively):
3195 Use `completing-read'. (Bug#9756)
3196
fbfd0e1d
EZ
31972013-10-25 Eli Zaretskii <eliz@gnu.org>
3198
3199 * simple.el (line-move): Call line-move-1 instead of
3200 line-move-visual when the current window hscroll is zero, but
3201 temporary-goal-column indicates we will need to hscroll as result
3202 of the movement. (Bug#15712)
3203
963ce636
DG
32042013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3205
3206 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3207 capitalization. Use :visible instead of :active.
3208 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3209 commands that are used with SMIE.
3210 (ruby-do-end-to-brace): Insert space after `{'.
3211
a0be396a
JA
32122013-10-25 John Anthony <john@jo.hnanthony.com>
3213
f73754c9
JA
3214 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3215
3216 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3217
f5bf77df
GM
32182013-10-25 Glenn Morris <rgm@gnu.org>
3219
3220 * vc/vc.el (vc-print-log): Don't use a working revision unless
3221 one was explicitly specified. (Bug#15322)
3222
37241f62
SM
32232013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3224
3225 * subr.el (add-to-list): Preserve return value in compiler-macro
3226 (bug#15692).
3227
6408a65d
RS
32282013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3229
3230 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3231 result. Ask user to retry using '-all' flag. (Bug#15701)
3232
71e3276b
SM
32332013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3235 * emacs-lisp/smie.el: New smie-config system.
3236 (smie-config): New defcustom.
3237 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3238 (smie-config-guess, smie-config-save): New commands.
3239 (smie-config--mode-local, smie-config--buffer-local)
3240 (smie-config--trace, smie-config--modefuns): New vars.
3241 (smie-config--advice, smie-config--mode-hook)
3242 (smie-config--setter, smie-config-local, smie-config--get-trace)
3243 (smie-config--guess-value, smie-config--guess): New functions.
3244 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3245 text properties. Treat "string fence" syntax like string syntax.
3246
3247 * progmodes/sh-script.el (sh-use-smie): Change default.
3248 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3249 (sh-var-value): Simplify by CSE.
3250 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3251 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3252 is used.
3253 (sh-guess-basic-offset): Use cl-incf.
3254 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3255
60db713e
HE
32562013-10-24 Helmut Eller <eller.helmut@gmail.com>
3257
3258 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3259 (bug#15699).
3260
8b251df6
GM
32612013-10-24 Glenn Morris <rgm@gnu.org>
3262
3263 * Makefile.in (abs_top_srcdir): Remove.
3264 (update-subdirs): Use relative path to update-subdirs.
3265
6be0e22b
EZ
32662013-10-24 Eli Zaretskii <eliz@gnu.org>
3267
3268 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3269 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3270 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3271 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3272
50b5b857
MA
32732013-10-24 Michael Albinus <michael.albinus@gmx.de>
3274
3275 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3276 (ert-test-skipped): New error.
3277 (ert-skip, ert-stats-skipped): New defuns.
3278 (ert--skip-unless): New macro.
3279 (ert-test-skipped): New struct.
3280 (ert--run-test-debugger, ert-test-result-type-p)
3281 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3282 (ert--stats-set-test-and-result, ert-char-for-test-result)
3283 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3284 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3285 Handle skipped tests. (Bug#9803)
50b5b857 3286
6f317c2f
GM
32872013-10-24 Glenn Morris <rgm@gnu.org>
3288
e43817c1
GM
3289 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3290
6f317c2f
GM
3291 * Makefile.in (abs_top_srcdir): New, set by configure.
3292 (update-subdirs): Correct build-aux location.
3293
369bbf71
DG
32942013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3295
8297b2cf
DG
3296 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3297 value, whether we could auto-deduce `backend', or not.
3298
369bbf71
DG
3299 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3300 with parameters" example. Simplify the "is it block or is it
3301 hash" check, but also make it more thorough.
3302
d5f1282f
MF
33032013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3304
3305 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3306
bc4aaa31
SM
33072013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3308
03d44565
SM
3309 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3310 { if it is hanging.
3311
bc4aaa31
SM
3312 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3313 :before ";".
3314
f493ff19
JB
33152013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3316
3317 * progmodes/compile.el (compilation-directory-matcher)
3318 (compilation-page-delimiter):
3319 Support GNU Make-4.0 directory quoting. (Bug#15678)
3320
c744a3b9
LL
33212013-10-23 Leo Liu <sdl.web@gmail.com>
3322
3323 * ido.el (ido-tidy): Handle read-only text.
3324
b8e3b0a9
GM
33252013-10-23 Glenn Morris <rgm@gnu.org>
3326
3327 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3328 (emacs, compile, compile-always):
3329 Quote entities that might contain whitespace.
3330 (custom-deps, finder-data, autoloads): Use abs_lisp.
3331 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3332 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3333 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3334
ee4282cd
DG
33352013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3336
bc4aaa31
SM
3337 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3338 Use `following-char'.
7790a270 3339
ee4282cd 33402013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3341
3342 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3343 * progmodes/ruby-mode.el (ruby-smie-rules):
3344 Remove corresponding workaround. Fix indentation rule of ";" so it
3345 also applies when ";" is the parent.
3346
d40a46d7
XF
33472013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3348
3349 * frame.el (display-screens, display-pixel-height)
3350 (display-pixel-width, display-mm-width, display-backing-store)
3351 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3352 (display-visual-class, display-monitor-attributes-list):
3353 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3354
a0f143c9
MG
33552013-10-22 Michael Gauland <mikelygee@amuri.net>
3356
3357 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3358 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3359
18cacc39
DG
33602013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3361
3362 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3363 TODO. Add "." after " @ ".
3364 (ruby-smie--at-dot-call): New function. Checks if point at method
3365 call with explicit target.
3366 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3367 to the method name tokens when it precedes them.
3368 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3369 (ruby-smie-rules): Add rule for indentation before and after "."
3370 token.
3371
df74c4be
SM
33722013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3373
c6dab55f
SM
3374 * textmodes/remember.el (remember-diary-extract-entries):
3375 Avoid add-to-list.
3376
df74c4be
SM
3377 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3378 an instruction.
3379
8c1ae481
DG
33802013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3381
e9dc713d
JB
3382 * progmodes/ruby-mode.el (ruby-smie-grammar):
3383 Add (almost) all infix operators.
cfef16c0
DG
3384 (ruby-smie--implicit-semi-p): Add new operator chars.
3385
8c1ae481
DG
3386 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3387 `smie-down-list'.
3388 (ruby-smie--args-separator-p): Check that there's no newline
3389 between method call and its arguments.
3390
87756ca9
AM
33912013-10-20 Alan Mackenzie <acm@muc.de>
3392
3393 Allow comma separated lists after Java "implements".
3394
df74c4be
SM
3395 * progmodes/cc-engine.el (c-backward-over-enum-header):
3396 Parse commas.
87756ca9
AM
3397 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3398 from a "disallowed" list in enum fontification.
3399
c25f8957
JB
34002013-10-20 Johan Bockgård <bojohan@gnu.org>
3401
df74c4be 3402 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3403
c25f8957
JB
3404 * progmodes/verilog-mode.el (verilog-mode): Don't set
3405 comment-indent-function globally.
3406
aca5fcdc
JD
34072013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3408
5f161884
JD
3409 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3410 Move Info menu item creation to ns-win.el.
3411
3412 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3413 in menu bar.
3414
aca5fcdc
JD
3415 * menu-bar.el: Move GNUStep specific menus...
3416
3417 * term/ns-win.el (ns-initialize-window-system): ... to here.
3418
914b7f98
SM
34192013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3420
3421 * simple.el (newline): Only run post-self-insert-hook when
3422 called interactively.
3423
846ffe77
JB
34242013-10-19 Johan Bockgård <bojohan@gnu.org>
3425
3426 * icomplete.el (icomplete-with-completion-tables): Add :version.
3427
033f22dd
AM
34282013-10-19 Alan Mackenzie <acm@muc.de>
3429
3430 Fix fontification bugs with constructors and const.
3431
3432 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3433 CASE 2) Remove the check for the absence of a suffix construct
3434 after a function declaration with only types (no identifiers) in
3435 the parentheses. Also, accept a function declaration with just a
3436 type inside the parentheses, if this type can be positively
3437 recognised as such, or if a prefix keyword like "explicit" nails
3438 down the construct as a declaration.
3439
58ce0cfc
EZ
34402013-10-19 Eli Zaretskii <eliz@gnu.org>
3441
3442 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3443 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3444 the problem whereby selecting a menu item that leads to a
3445 minibuffer prompt moves the cursor out of the minibuffer window,
3446 making it hard to type at the prompt. Suggested by Stefan Monnier
3447 <monnier@iro.umontreal.ca>.
3448
50e28e7d
JD
34492013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3450
3451 * menu-bar.el: Don't make Services menu.
3452
7deed4bf
RS
34532013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3454
3455 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3456 (ffap-alist): Use ffap-c++-mode for c++-mode.
3457 (ffap-c++-path): New variable.
3458 (ffap-c++-mode): New function.
3459
7bcb455b
JVJ
34602013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3461
3462 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3463
f0ff1cd5
MA
34642013-10-18 Michael Albinus <michael.albinus@gmx.de>
3465
3466 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3467 introduced on 2013-09-08, which results in an infinite loop
3468 requesting a password.
3469
d64da4b7
GM
34702013-10-18 Glenn Morris <rgm@gnu.org>
3471
3472 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3473
ea89ff08
WS
34742013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3475
3476 Sync with upstream verilog-mode revision 1a6ecec7.
3477 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3478 (verilog-mode-release-date): Remove.
3479 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3480 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3481 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3482 (verilog-auto-tieoff-ignore-regexp)
3483 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3484 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3485 (verilog-signals-with, verilog-dir-cache-preserving)
3486 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3487 Doc fixes.
3488 (verilog-case-fold): New option, to control case folding in
3489 regexp searches, bug597.
3490 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3491 (verilog-string-match-fold, verilog-in-paren-count)
3492 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3493 (verilog-at-close-struct-p): New functions.
3494 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3495 (verilog-forward-sexp, verilog-set-auto-endcomments):
3496 (verilog-leap-to-case-head): Handle "unique0" case.
3497 (verilog-in-constraint-re): New constant.
3498 (verilog-keywords, verilog-type-font-keywords):
3499 Add some SystemVerilog 1800-2012 keywords.
3500 (verilog-label-be): Remove unimplemented argument, bug669.
3501 (verilog-batch-execute-func): When batch expanding clear
3502 create-lockfiles to prevent spurious user locks when a file ends
3503 up not changing.
3504 (verilog-calculate-indent, verilog-calc-1)
3505 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3506 (verilog-do-indent): Fix indentation of nested constraints
3507 and structures.
3508 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3509 (verilog-auto-inst-param): Use verilog-string-match-fold.
3510 (verilog-read-inst-module-matcher):
3511 Fix AUTOINST on gate primitives with #1.
3512 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3513 Reads all user-defined typed variables.
3514 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3515 (verilog-signals-matching-regexp)
3516 (verilog-signals-not-matching-regexp, verilog-auto):
3517 Respect verilog-case-fold.
3518 (verilog-diff-report): Fix line count.
3519 (verilog-auto-assign-modport): Remove unused local `modi'.
3520 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3521 better handle multidimensional arrays.
3522 Fix packed array ports misadding bit index in AUTOINST, bug637.
3523 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3524 to not double-declare existing outputs and inputs, respectively.
3525 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3526 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3527 (verilog-sk-uvm-component): New skeleton.
3528 (verilog-submit-bug-report): Add verilog-case-fold,
3529 remove verilog-mode-release-date.
3530
ef566920
BR
35312013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3532
a12bf61e 3533 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
3534 as before.
3535
29df8a0b
RT
35362013-10-18 Reuben Thomas <rrt@sc3d.org>
3537
e0eb0550 3538 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3539 remember buffers (bug#13566).
3540
04a19a79
DC
35412013-10-18 Daniel Colascione <dancol@dancol.org>
3542
3543 When evaluating forms in ielm, direct standard output to ielm
3544 buffer. Add new ielm-return-for-effect command. Remove trailing
3545 whitespace throughout.
3546
3547 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3548 (ielm-return-for-effect): New command.
3549 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3550 (ielm-eval-input): Accept optional `for-effect' parameter.
3551 Bind `standard-output' to stream we create using
04a19a79
DC
3552 `ielm-standard-output-impl'. Suppress printing result when
3553 `for-effect'.
3554 (ielm-standard-output-impl): New function.
3555 (inferior-emacs-lisp-mode): Explain new features in documentation.
3556
4c1f03ef
MA
35572013-10-17 Michael Albinus <michael.albinus@gmx.de>
3558
3559 Code cleanup.
3560
3561 * net/tramp.el (tramp-debug-message): Do not check for connection
3562 buffer.
3563 (tramp-message): Use "vector" connection property.
3564
3565 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3566 (tramp-equal-remote, tramp-eshell-directory-change)
3567 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3568 (tramp-adb-handle-rename-file)
3569 * net/tramp-cmds.el (tramp-list-remote-buffers)
3570 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3571 * net/tramp-compat.el (tramp-compat-process-running-p)
3572 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3573 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3574 (tramp-gvfs-handle-rename-file)
3575 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3576 (tramp-set-file-uid-gid)
3577 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3578 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3579 of `file-remote-p'.
3580
3581 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3582 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3583 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3584 (tramp-gw-open-network-stream): Suppress unrelated traces.
3585
3586 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3587 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3588 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3589 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3590 connection property.
3591
3592 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3593 persistency file.
4c1f03ef
MA
3594
3595 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3596 Refactor common code. Improve debug message.
3597 (tramp-maybe-open-connection)
3598 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3599 connection buffer too early.
3600
3601 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3602 from `tramp-smb-actions-with-acl'.
3603 (tramp-smb-actions-set-acl): New defconst.
3604 (tramp-smb-handle-copy-directory)
3605 (tramp-smb-action-get-acl): New defun, renamed from
3606 `tramp-smb-action-with-acl'.
3607 (tramp-smb-action-set-acl): New defun.
3608 (tramp-smb-handle-set-file-acl): Rewrite.
3609
642eb8b6
GM
36102013-10-17 Glenn Morris <rgm@gnu.org>
3611
3612 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3613
85527ff3
SM
36142013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3615
921c1d62
SM
3616 * skeleton.el (skeleton-newline): Remove.
3617 (skeleton-internal-1): Use (insert "\n") instead.
3618
e333fb10
SM
3619 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3620 let-bindings.
3621
85527ff3
SM
3622 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3623 forward-sexp-function while we redo its job (bug#15613).
3624
c8722a97
JB
36252013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3626
3627 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3628 represented by lists.
3629
7a550bbb
GM
36302013-10-16 Glenn Morris <rgm@gnu.org>
3631
3632 * tmm.el (tmm--history): New dynamic variable.
3633 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3634
f19da8ad
MA
36352013-10-16 Michael Albinus <michael.albinus@gmx.de>
3636
3637 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3638 (tramp-smb-errors): Add error messages.
3639 (tramp-smb-actions-with-acl): New defconst.
3640 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3641 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3642 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3643 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3644 (tramp-smb-get-stat-capability): Fix tests.
3645
a24b9961
DK
36462013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3647
3648 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3649 (bug#15580).
3650
62ad85e6
GM
36512013-10-16 Glenn Morris <rgm@gnu.org>
3652
0283d6b0
GM
3653 * ansi-color.el (ansi-color-drop-regexp):
3654 Add 1J, 1K, 2K. (Bug#15617)
3655
012e2f9f
GM
3656 * files.el (hack-local-variables--warned-lexical): New.
3657 (hack-local-variables):
3658 Warn about misplaced lexical-binding. (Bug#15616)
3659
62ad85e6
GM
3660 * net/eww.el (eww-render): Always set eww-current-url,
3661 and update header line. (Bug#15622)
3662 (eww-display-html): ... Rather than just doing it here.
3663
6456c0ea
EZ
36642013-10-15 Eli Zaretskii <eliz@gnu.org>
3665
3666 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3667 menu navigations commands.
3668
c2de5588
DK
36692013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3670
3671 * progmodes/subword.el (subword-capitalize): Be careful when
3672 the search for [[:alpha:]] fails (bug#15580).
3673
ccd4a783
EZ
36742013-10-14 Eli Zaretskii <eliz@gnu.org>
3675
3676 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3677 to commands that scroll the menu.
3678
1eda1d8d
DG
36792013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3680
c2de5588
DK
3681 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3682 Handle methods ending with `?' and `!'.
1eda1d8d 3683
e70181b8
AM
36842013-10-14 Akinori MUSHA <knu@iDaemons.org>
3685
3686 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3687 `japanese-cp932' to `cp932' to fix the problem where saving a
3688 source file written in Shift_JIS twice would end up having
3689 `coding: japanese-cp932' which Ruby could not recognize.
3690 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3691 in `ruby-encoding-map'.
3692 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3693 doesn't need to be explicitly declared in magic comment.
3694 (ruby-encoding-map): Add type declaration for better customize UI.
3695
9148ee92
GM
36962013-10-13 Glenn Morris <rgm@gnu.org>
3697
a5d38e34
GM
3698 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3699 Occur buffers are read-only. http://bugs.debian.org/720775
3700
9148ee92
GM
3701 * emacs-lisp/authors.el (authors-fixed-entries):
3702 Comment out old alpha stuff.
3703
a9ba094b
DG
37042013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3705
3706 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3707 to `after-save-hook' instead of `before-save-hook'.
3708 (ruby-mode-set-encoding): Use the value of coding system used to
3709 write the file. Call `basic-save-buffer-1' after modifying the
3710 buffer.
3711
7a068717
AM
37122013-10-13 Alan Mackenzie <acm@muc.de>
3713
3714 Fix indentation/fontification of Java enum with
3715 "implements"/generic.
3716
c2de5588
DK
3717 * progmodes/cc-engine.el (c-backward-over-enum-header):
3718 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3719 (c-inside-bracelist-p): Uses new function above.
3720 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3721 function above.
3722 (c-font-lock-enum-tail): Uses new function above.
3723
85b64f02
KH
37242013-10-13 Kenichi Handa <handa@gnu.org>
3725
3726 * international/mule-cmds.el (select-safe-coding-system): Remove a
3727 superfluous condition in chekcing whether a coding system is safe
3728 or not.
3729
fc7f501b
OK
37302013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3731
3732 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3733
fdcb2049
AP
37342013-10-13 Andreas Politz <politza@hochschule-trier.de>
3735
3736 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3737
8c106d17
GM
37382013-10-13 Glenn Morris <rgm@gnu.org>
3739
feab892d
GM
3740 * menu-bar.el (menu-bar-update-buffers):
3741 Unify Buffers menu prompt string. (Bug#15576)
3742
b22d0686
GM
3743 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3744
8c106d17
GM
3745 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3746 Add some entries.
3747 (authors-fixed-entries): Use accented form of name.
3748
1b12c797
SM
37492013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3750
650fa7bf 3751 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3752 method calls (bug#15594).
650fa7bf
SM
3753 (ruby-smie--args-separator-p): New function.
3754 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3755 recognize paren-free method calls.
3756
1b12c797
SM
3757 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3758 internals of universal-argument.
3759
029619c8
EZ
37602013-10-11 Eli Zaretskii <eliz@gnu.org>
3761
3762 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3763 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3764 dropped menu on second mouse click on the menu bar.
029619c8 3765
dd070019
SM
37662013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3767
3768 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3769 (explicit-shell-file-name): Declare.
3770 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3771 (sh-completion-at-point-function): New function.
3772 (sh-mode): Use it.
3773 (sh-smie--keyword-p): Remove unused argument.
3774 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3775 vars.
3776 (sh-set-shell): Always setup SMIE, even if we use the
3777 old indentation code.
3778
0922b826
DG
37792013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3780
b68e2926
DG
3781 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3782 cases of ? and =.
3783 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3784 predicate would return nil are almost non-existent.
3785 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3786
0922b826
DG
3787 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3788 cache also after commands that modify the buffer but don't move
3789 point.
3790
ee041f2d
SM
37912013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3792
3793 * env.el (substitute-env-in-file-name): New function.
3794 (substitute-env-vars): Extend the meaning of the optional arg.
3795
a5dab159
EZ
37962013-10-10 Eli Zaretskii <eliz@gnu.org>
3797
3798 * term/w32-win.el (dynamic-library-alist): Define separate lists
3799 of GIF DLLs for versions before and after 5.0.0 of giflib.
3800 (Bug#15531)
3801
0449d6cd 38022013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3803
3804 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3805 not locked, use last revision and current source as
3806 defaults. (Bug#15569)
3807
2f6e161e
MY
38082013-10-10 Masatake YAMATO <yamato@redhat.com>
3809
3810 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3811 menu-bar is hidden.
3812
6c8413fc
MR
38132013-10-10 Martin Rudalics <rudalics@gmx.at>
3814
3815 * window.el (pop-to-buffer-same-window): Fix doc-string.
3816 (Bug#15492)
3817
20832de0
SM
38182013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3819
3820 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3821
c6e8ae77
AC
38222013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3823
3824 * calendar/icalendar.el (icalendar-import-file):
3825 Fix interactive spec. (Bug#15482)
3826
9db13baf
GM
38272013-10-10 Glenn Morris <rgm@gnu.org>
3828
9271e90e
GM
3829 * desktop.el (desktop-save): Default to saving in .emacs.d,
3830 since PWD is no longer in desktop-path by default. (Bug#15319)
3831
9db13baf
GM
3832 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3833 now that text mode has a menu with the same entry.
3834 (menu-bar-text-mode-auto-fill): Remove now unused func.
3835 * textmodes/text-mode.el (text-mode-map):
3836 Use auto-fill help text from menu-bar.el.
3837
a0be396a 38382013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3839
3840 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3841
2edcd3c7
JL
38422013-10-09 Juri Linkov <juri@jurta.org>
3843
3844 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3845 instead of this-command-keys. Add universal-argument-more and
3846 universal-argument-minus to the list of prefix commands. (Bug#15568)
3847
574411d0
GM
38482013-10-09 Glenn Morris <rgm@gnu.org>
3849
14afa541
GM
3850 * vc/vc-svn.el (vc-svn-create-repo):
3851 Expand paths in file://... url. (Bug#15446)
3852
574411d0
GM
3853 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3854 Add some entries.
3855 (authors): Remove unused local variables.
3856
79804536
SM
38572013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3858
3859 * profiler.el: Create a more coherent calltree from partial backtraces.
3860 (profiler-format): Hide the tail with `invisible' so that C-s can still
3861 find the hidden elements.
3862 (profiler-calltree-depth): Don't recurse so enthusiastically.
3863 (profiler-function-equal): New hash-table-test.
3864 (profiler-calltree-build-unified): New function.
3865 (profiler-calltree-build): Use it.
3866 (profiler-report-make-name-part): Indent the calltree less.
3867 (profiler-report-mode): Add visibility specs for profiler-format.
3868 (profiler-report-expand-entry, profiler-report-toggle-entry):
3869 Expand the whole subtree when provided with a prefix arg.
3870
238150c8
DG
38712013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3872
3873 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3874 iuwu-mod token.
3875 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3876 hanging iuwu-mod token.
3877 (ruby-smie--forward-token): Do not include a dot after a token in
3878 that token.
3879 (ruby-smie--backward-token): Likewise.
3880
b0949cc4
JL
38812013-10-08 Juri Linkov <juri@jurta.org>
3882
3883 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3884 to isearch-other-control-char.
3885 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3886 and isearch-post-command-hook to post-command-hook.
3887 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3888 and isearch-post-command-hook from post-command-hook.
3889 (isearch-unread-key-sequence)
3890 (isearch-reread-key-sequence-naturally)
3891 (isearch-lookup-scroll-key, isearch-other-control-char)
3892 (isearch-other-meta-char): Remove functions.
3893 (isearch-pre-command-hook, isearch-post-command-hook):
3894 New functions based on isearch-other-meta-char rewritten
3895 relying on the new behavior of overriding-terminal-local-map
3896 that does not replace the local keymaps any more. (Bug#15200)
3897
4ed77415
EZ
38982013-10-08 Eli Zaretskii <eliz@gnu.org>
3899
3900 Support menus on text-mode terminals.
3901 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3902 functionality.
3903
3904 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3905
c2de5588
DK
3906 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3907 Move here from mouse.el.
4ed77415
EZ
3908 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3909 and arrow keys.
3910 (tty-menu-navigation-map): New map for TTY menu navigation.
3911
3912 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3913
3914 * frame.el (display-mouse-p): Report text-mode mouse as available
3915 on w32.
3916 (display-popup-menus-p): Report availability if mouse is
3917 available; don't condition on window-system.
3918
3919 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3920 (tty-menu-selected-face): New faces.
3921
b7d5bd82
TL
39222013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3923
06286513
SM
3924 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3925 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3926 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3927 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3928 New constants.
3929 (lisp-mode-variables): New `elisp' argument.
3930 (emacs-lisp-mode): Use it.
3931 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3932 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3933
b7d5bd82
TL
3934 * indent.el: Use lexical-binding.
3935 (indent-region): Add progress reporter.
3936 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3937 last step.
3938 (indent--next-tab-stop): New function to implement this behavior.
3939 (tab-to-tab-stop, move-to-tab-stop): Use it.
3940
39412013-10-08 Teemu Likonen <tlikonen@iki.fi>
3942
3943 * indent.el (indent-rigidly--current-indentation): New function.
3944 (indent-rigidly-map): New var.
3945 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3946
5ea75d23
BG
39472013-10-08 Bastien Guerry <bzg@gnu.org>
3948
3949 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3950
cc5da1ec
SM
39512013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3952
8ffa1a0b
SM
3953 * progmodes/perl-mode.el: Use lexical-binding.
3954 Remove redundant :group args.
3955 (perl-nochange): Change default to be closer to other major modes's
3956 standard behavior.
3957 (perl-indent-line): Don't consider text on current line as a
3958 valid beginning of function from which to indent.
3959
f2223371
SM
3960 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3961 with more than one argument (bug#15538).
3962
44256060
SM
3963 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3964
cc5da1ec
SM
3965 * vc/pcvs.el: Use lexical-binding.
3966 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3967 environment of `eval'.
3968 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3969 than a list of expressions. Adjust callers.
3970 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3971
0ea1599d
DG
39722013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3973
3974 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3975 case of the dot in a chained method call being on the following line.
0ea1599d 3976
da3e5ebb
SM
39772013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3978
2abb4e65
SM
3979 * electric.el (electric-indent-inhibit): New var.
3980 (electric-indent-post-self-insert-function): Use it.
3981 * progmodes/python.el (python-mode): Set it.
3982
d2e0e795
SM
3983 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3984 open braces.
3985
3986 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3987
bdc6b4c8
SM
3988 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3989 (css-mode): Use electric-indent-chars.
3990
da3e5ebb
SM
3991 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3992 (font-lock-beg, font-lock-end): Move before first use.
3993 (nxml-mode): Use syntax-propertize-function.
3994 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3995 (nxml-extend-after-change-region): Remove.
3996 * nxml/xmltok.el: Use lexical-binding.
3997 (xmltok-save): Use `declare'.
3998 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3999 * nxml/nxml-util.el: Use lexical-binding.
4000 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4001 Use `declare'.
4002 * nxml/nxml-ns.el: Use lexical-binding.
4003 (nxml-ns-save): Use `declare'.
4004 (nxml-ns-prefixes-for): Avoid add-to-list.
4005 * nxml/rng-match.el: Use lexical-binding.
4006 (rng--ipattern): Use cl-defstruct.
4007 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4008 (rng-cons-group-after, rng-subst-group-after)
4009 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4010 Use closures instead of `(lambda...).
4011
f8f91d5d
MA
40122013-10-07 Michael Albinus <michael.albinus@gmx.de>
4013
4014 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4015 of BEG and END.
4016
da3e5ebb
SM
4017 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4018 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4019 (tramp-gvfs-handle-insert-file-contents): Remove function.
4020
da3e5ebb
SM
4021 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4022 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4023
4024 * net/trampver.el: Update release number.
4025
7ccae3b1
SM
40262013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4027
55ca2c0d
SM
4028 * progmodes/compile.el (compilation-parse-errors):
4029 Use compilation--put-prop.
4030 (compilation--ensure-parse): Check compilation-multiline.
4031
731fc3ae
SM
4032 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4033
da3e5ebb
SM
4034 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4035 lexical-binding.
a5833280 4036
2e7ba2c2
SM
4037 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4038
7ccae3b1
SM
4039 * progmodes/ruby-mode.el: Fix recently added tests.
4040 (ruby-smie-grammar): Add - and +.
4041 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4042 (ruby-smie--backward-id): New functions.
4043 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4044 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4045 any more.
4046
85698d63
LL
40472013-10-07 Leo Liu <sdl.web@gmail.com>
4048
4049 * register.el (register-preview-delay)
4050 (register-preview-functions): New variables.
4051 (register-read-with-preview, register-preview)
4052 (register-describe-oneline): New functions.
4053 (point-to-register, window-configuration-to-register)
4054 (frame-configuration-to-register, jump-to-register)
4055 (number-to-register, view-register, insert-register)
4056 (copy-to-register, append-to-register, prepend-to-register)
4057 (copy-rectangle-to-register): Use register-read-with-preview to
4058 read register. (Bug#15525)
4059
3986af6c
DS
40602013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4061
4062 * net/network-stream.el (network-stream-open-starttls): Don't add
4063 --insecure if it's already present, because that gnutls-cli
4064 rejects getting that parameter twice.
4065
5cd9cda9
DG
40662013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4067
4068 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4069 keyword, too.
4070
da9ea6d9
DG
40712013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4072
4073 * newcomment.el (comment-use-global-state): Change default value
4074 to t, mark obsolete (Bug#15251).
4075 (comment-beginning): In addition to `comment-to-syntax', check the
4076 value of `comment-use-global-state'.
4077
34d1a133
SM
40782013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4079
4080 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4081 (ruby-comment-column): Follow the global default, by default.
4082 (ruby-smie-grammar): Add assignment syntax.
4083 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4084 open-paren, a comma, or a \.
4085 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4086 and line continuations.
4087 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4088 followed by implicit semi-colons. Add rule for string concatenation
4089 and for indentation at BOB.
4090 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4091
4092 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4093 calling next-sexp, since next-token may have skipped chars which
4094 next-sexp doesn't know should be skipped!
4095
6f6ab820
LL
40962013-10-05 Leo Liu <sdl.web@gmail.com>
4097
34d1a133
SM
4098 * progmodes/octave.el (octave-send-region):
4099 Call compilation-forget-errors.
6f6ab820 4100
34ca0f4c
XF
41012013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4102
4103 * vc/vc-svn.el (vc-svn-find-admin-dir):
4104 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4105 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4106 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4107 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4108
a27c1b72
SM
41092013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4110
4111 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4112
258ab3bc
SM
41132013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * subr.el (read-passwd): Hide chars even when called within a context
4116 where after-change-functions is disabled (bug#15501).
4117 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4118 until we removed ourself from overriding-terminal-local-map.
4119
939fb29c
LL
41202013-10-04 Leo Liu <sdl.web@gmail.com>
4121
258ab3bc
SM
4122 * progmodes/octave.el (inferior-octave-mode):
4123 Call compilation-forget-errors.
939fb29c 4124
63bd7f35
XF
41252013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4126
4127 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4128
9e6229fa
MA
41292013-10-04 Michael Albinus <michael.albinus@gmx.de>
4130
4131 * net/secrets.el (secrets-create-collection): Add optional
4132 argument ALIAS. Use proper Label keyword. Append ALIAS as
4133 dbus-call-method argument. (Bug#15516)
4134
1dab32a3
LL
41352013-10-04 Leo Liu <sdl.web@gmail.com>
4136
4137 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4138 (inferior-octave-compilation-font-lock-keywords): New variables.
4139 (compilation-error-regexp-alist)
4140 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4141 (inferior-octave-mode): Use compilation-shell-minor-mode.
4142
6cad7ba3
JS
41432013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4144
4145 * minibuffer.el (completion--replace): Be careful that `end' might be
4146 a marker.
4147
acbadd00
DU
41482013-10-03 Daiki Ueno <ueno@gnu.org>
4149
4150 Add support for package signature checking.
4151 * emacs-lisp/package.el (url-http-file-exists-p)
4152 (epg-make-context, epg-context-set-home-directory)
4153 (epg-verify-string, epg-context-result-for)
4154 (epg-signature-status, epg-signature-to-string)
4155 (epg-check-configuration, epg-configuration)
4156 (epg-import-keys-from-file): Declare.
4157 (package-check-signature): New user option.
4158 (package-unsigned-archives): New user option.
4159 (package-desc): Add `signed' field.
4160 (package-load-descriptor): Set `signed' field if .signed file exists.
4161 (package--archive-file-exists-p): New function.
4162 (package--check-signature): New function.
4163 (package-install-from-archive): Check package signature.
4164 (package--download-one-archive): Check archive signature.
4165 (package-delete): Remove .signed file.
4166 (package-import-keyring): New command.
4167 (package-refresh-contents): Import default keyring.
4168 (package-desc-status): Add "unsigned" status.
4169 (describe-package-1, package-menu--print-info)
4170 (package-menu-mark-delete, package-menu--find-upgrades)
4171 (package-menu--status-predicate): Support "unsigned" status.
4172
adf2aa61
SM
41732013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4174
4175 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4176 the new compilation scheme using the new byte-codes.
4177
4178 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4179 (byte-pophandler): New byte codes.
4180 (byte-goto-ops): Adjust accordingly.
4181 (byte-compile--use-old-handlers): New var.
4182 (byte-compile-catch): Use new byte codes depending on
4183 byte-compile--use-old-handlers.
4184 (byte-compile-condition-case--old): Rename from
4185 byte-compile-condition-case.
4186 (byte-compile-condition-case--new): New function.
4187 (byte-compile-condition-case): New function that dispatches depending
4188 on byte-compile--use-old-handlers.
4189 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4190 when we can.
4191
4192 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4193 Optimize under `condition-case' and `catch' if
4194 byte-compile--use-old-handlers is nil.
4195 (disassemble-offset): Handle new bytecodes.
4196
328a8179
SM
41972013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4198
4199 * subr.el (error): Use `declare'.
4200 (decode-char, encode-char): Use advertised-calling-convention instead
4201 of the docstring to discourage use of the `restriction' arg.
4202
15a1e936
DU
42032013-10-03 Daiki Ueno <ueno@gnu.org>
4204
4205 * epg.el (epg-verify-file): Add a comment saying that it does not
4206 notify verification error as a return value nor a signal.
4207 (epg-verify-string): Ditto.
4208
376f862a
KR
42092013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4210
4211 * progmodes/compile.el (compilation-start): Try globbing the arg to
4212 `cd' (bug#15417).
4213
a2f93a5f
MA
42142013-10-02 Michael Albinus <michael.albinus@gmx.de>
4215
4216 Sync with Tramp 2.2.8.
4217
4218 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4219 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4220 * net/trampver.el: Update release number.
4221
0daa0804
JD
42222013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4223
4224 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4225 and default-process-coding-system for darwin only.
4226
abd1ae34
SM
42272013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4228
4229 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4230
be4e325d
MH
42312013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4232
4233 * vc/vc-git.el (vc-git-grep): Disable pager.
4234
e9155c4a
DG
42352013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4236
494e898b
DG
4237 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4238 Use :url instead of :homepage, as per
4239 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4240
e9155c4a
DG
4241 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4242 non-nil, use `syntax-ppss' (Bug#15251).
4243
481a8e0f
RS
42442013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4245
be4e325d
MH
4246 * progmodes/octave.el (inferior-octave-startup-file):
4247 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4248
056453c6
DG
42492013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4250
be4e325d
MH
4251 * emacs-lisp/package.el (package-desc-from-define):
4252 Accept additional arguments as plist, convert them to an alist and store
4253 them in the `extras' slot.
056453c6
DG
4254 (package-generate-description-file): Convert extras alist back to
4255 plist and append to the `define-package' form arguments.
4256 (package--alist-to-plist): New function.
4257 (package--ac-desc): Add `extras' slot.
4258 (package--add-to-archive-contents): Check if the archive-contents
4259 vector is long enough, and if it is, pass its `extras' slot value
4260 to `package-desc-create'.
4261 (package-buffer-info): Call `lm-homepage', pass the returned value
4262 to `package-desc-from-define'.
4263 (describe-package-1): Render the homepage button (Bug#13291).
4264
be4e325d
MH
4265 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4266 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4267
832966e5
JD
42682013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4269
4270 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4271 and default-process-coding-system to utf-8-unix (Bug#15402).
4272
6cfe977d
XF
42732013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4274
4275 * subr.el (looking-back): Do not recommend using looking-back.
4276
38de11bd
AM
42772013-09-28 Alan Mackenzie <acm@muc.de>
4278
4279 Fix indentation/fontification of Java enum with "implements".
4280
4281 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4282 regexp which matches "implements", etc., in Java.
4283 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4284 specifier clauses coming after "enum".
4285 * progmodes/cc-fonts.el (c-font-lock-declarations)
4286 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4287 after "enum".
4288
1610938f
JD
42892013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4290
4291 * faces.el (region): Change ns_selection_color to
4292 ns_selection_fg_color, add ns_selection_bg_color.
4293
e090f499
LL
42942013-09-28 Leo Liu <sdl.web@gmail.com>
4295
4d2e94d1
LL
4296 * progmodes/octave.el (inferior-octave-completion-table)
4297 (inferior-octave-completion-at-point): Minor tweaks.
4298
e090f499
LL
4299 * textmodes/ispell.el (ispell-lookup-words): Rename from
4300 lookup-words. (Bug#15460)
4301 (lookup-words): Obsolete.
4302 (ispell-complete-word, ispell-command-loop): All uses changed.
4303
7e138a62
RS
43042013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4305
a12bf61e 4306 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4307 (octave-mode-menu): Add octave-send-buffer.
4308 (octave-send-buffer): New function.
4309
5af5ed08
RS
43102013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4311
a12bf61e 4312 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4313 octave-lookfor.
4314 (octave-mode-menu): Add octave-lookfor.
4315 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4316 octave-lookfor.
4317 (octave-lookfor): New function.
4318
3b7b2692
SM
43192013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 * emacs-lisp/cl-macs.el:
4322 (cl--loop-destr-temps): Remove.
4323 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4324 its convention.
4325 (cl--loop-set-iterator-function): New function.
4326 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4327 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4328 Bind `it' with `let' instead of substituting it with `cl-subst'.
4329 (cl--unused-var-p): New function.
4330 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4331 Eliminate some unused variable warnings (bug#15326).
4332
529fb53f
TH
43332013-09-27 Tassilo Horn <tsdh@gnu.org>
4334
4335 * doc-view.el (doc-view-scale-reset): Rename from
4336 `doc-view-reset-zoom-level'.
4337 (doc-view-scale-adjust): New command.
4338 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4339 `doc-view-scale-adjust'.
4340
0550c95a
TH
43412013-09-26 Tassilo Horn <tsdh@gnu.org>
4342
4343 * doc-view.el (doc-view-reset-zoom-level): New command.
4344 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4345 zoom commands (bug#15466).
4346
6950f152
KH
43472013-09-26 Kenichi Handa <handa@gnu.org>
4348
4349 * international/quail.el (quail-help): Make it not a command.
4350
39587580
LL
43512013-09-26 Leo Liu <sdl.web@gmail.com>
4352
4353 * minibuffer.el (completion-all-sorted-completions): Make args
4354 optional as they are.
4355
00578659
DC
43562013-09-25 Daniel Colascione <dancol@dancol.org>
4357
4358 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4359 specs are and that they're not evaluated.
4360
0c173878
SS
43612013-09-24 Sam Steingold <sds@gnu.org>
4362
4363 * midnight.el (clean-buffer-list-kill-regexps)
4364 (clean-buffer-list-kill-buffer-names): Update for the new Man
4365 buffer naming which includes the object name.
4366
84998447
SM
43672013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4368
4369 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4370 (eshell-parse-command, eshell-parse-pipeline): Use it since
4371 eshell-separate-commands requires a dynamic scoped var.
4372 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4373
33215353
LL
43742013-09-23 Leo Liu <sdl.web@gmail.com>
4375
4376 * autoinsert.el (auto-insert-alist): Make the value of
4377 lexical-binding match its file setting.
4378
57b16162
JB
43792013-09-23 Juanma Barranquero <lekktu@gmail.com>
4380
c8af4e67
JB
4381 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4382
57b16162
JB
4383 * autoarg.el (autoarg-kp-digit-argument):
4384 * electric.el (Electric-command-loop):
4385 * kmacro.el (kmacro-step-edit-insert):
4386 Do not set universal-argument-num-events.
4387
7186ba60
LL
43882013-09-22 Leo Liu <sdl.web@gmail.com>
4389
4390 * files.el (interpreter-mode-alist): Add octave.
4391
ece15004
AM
43922013-09-21 Alan Mackenzie <acm@muc.de>
4393
4394 C++: fontify identifier in declaration following "public:" correctly.
4395 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4396 to match "public", etc.
4397 (c-decl-prefix-re): Add ":" into the C++ value.
4398 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4399 bit. Add a check for a ":" preceded by "public", etc.
4400
75d83e22
EZ
44012013-09-21 Eli Zaretskii <eliz@gnu.org>
4402
4403 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4404 recognized by GDB 7.5 and later.
4405
d052d3bd
XF
44062013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4407
4408 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4409
31dca772
R
44102013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4411
4412 * subr.el (internal--call-interactively): New const.
4413 (called-interactively-p): Use it (bug#3984).
4414
98ccf24e
XF
44152013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4416
4417 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4418 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4419 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4420
c39cc7d1
SM
44212013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4422
4423 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4424 (eshell-ls-orig-insert-directory): Remove.
4425 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4426 (eshell-ls-use-in-dired): Use advice-add/remove.
4427 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4428 Add `orig-fun' arg for use in :around advice.
4429 Make it check (redundantly) eshell-ls-use-in-dired.
4430
9a0289a2
GM
44312013-09-19 Glenn Morris <rgm@gnu.org>
4432
a2c501b8
GM
4433 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4434
c440407a
GM
4435 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4436
9a0289a2
GM
4437 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4438
85e05915
MA
44392013-09-19 Michael Albinus <michael.albinus@gmx.de>
4440
4441 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4442 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4443 (tramp-get-remote-python): New defuns.
4444 (tramp-get-remote-uid-with-perl)
4445 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4446 contributed by yary <not.com@gmail.com> (tiny change).
4447 (tramp-get-remote-uid-with-python)
4448 (tramp-get-remote-gid-with-python): New defuns. Python code
4449 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4450 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4451
ce503312
GM
44522013-09-19 Glenn Morris <rgm@gnu.org>
4453
f7544773
GM
4454 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4455
72fd2877
GM
4456 * eshell/em-unix.el (eshell-remove-entries):
4457 Rename argument to avoid name-clash with global `top-level'.
4458
336b5a56
GM
4459 * eshell/esh-proc.el (eshell-kill-process-function):
4460 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4461 (eshell-reset-after-proc): Remove unused arg `proc'.
4462
57a3a53d
GM
4463 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4464 (directory-files-and-attributes): Mark unused arg.
4465
3261d4af
GM
4466 * eshell/em-unix.el (eshell-remove-entries):
4467 Remove unused arg `path'. Update callers.
4468
8e51b5d0
GM
4469 * eshell/em-hist.el (eshell-hist-parse-arguments):
4470 Remove unused arg `silent'. Update callers.
4471
ce503312
GM
4472 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4473 Fix (f)boundp mix-up.
4474
4475 * eshell/em-smart.el (eshell-smart-scroll-window)
4476 (eshell-disable-after-change):
336b5a56 4477 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4478
ee3ce8a7
AM
44792013-09-18 Alan Mackenzie <acm@muc.de>
4480
4481 Fix fontification of type when followed by "const".
4482 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4483 "known" types from fontification.
4484
ec9177ba
GM
44852013-09-18 Glenn Morris <rgm@gnu.org>
4486
7bb3e768
GM
4487 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4488 (chart-face-list): Drop Emacsen without display-color-p.
4489
5148da15
GM
4490 * net/eww.el (libxml-parse-html-region): Declare.
4491 (eww-display-html): Explicit error if no libxml2 support.
4492
2f68e157
GM
4493 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4494
9019d095
GM
4495 * image.el (image-type-from-buffer, image-multi-frame-p):
4496 Remove --without-x warning/error.
67645389 4497
5f30349b 4498 * mouse.el (mouse-yank-primary):
45069b2e 4499 * term.el (term-mouse-paste):
5f30349b
GM
4500 Reorder to silence --without-x compilation.
4501
cd8edbbe
GM
4502 * mpc.el (doc-view-mode): Silence --without-x compilation.
4503
8a78544e
GM
4504 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4505 Silence --without-x compilation.
4506
12679bfd
GM
4507 * progmodes/gud.el (gud-find-file, gud-mode):
4508 Silence --without-x compilation.
4509 (tooltip-mode): Declare.
30810a05 4510
f0047cb9
GM
4511 * wdired.el (dired-backup-overwrite): Remove declaration.
4512 (wdired-mode-map): Add doc string.
4513
e740f9d2
GM
4514 * custom.el (x-get-resource): Declare.
4515
92d77c89
GM
4516 * eshell/em-glob.el (ange-cache):
4517 * eshell/em-unix.el (ange-cache): Declare.
4518
76e69577
GM
4519 * faces.el (x-display-list, x-open-connection, x-get-resource):
4520 Declare.
7e58af4b
GM
4521
4522 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4523 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4524 Declare.
76e69577 4525
4bd4c0af 4526 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4527
ffb82dbd
GM
4528 * net/gnutls.el (gnutls-log-level): Declare.
4529
986ed135
GM
4530 * net/shr.el (image-size, image-animate): Declare.
4531
e740f9d2
GM
4532 * simple.el (font-info): Declare.
4533
d2f3e9f8
GM
4534 * subr.el (x-popup-dialog): Declare.
4535
047a1a4c
GM
4536 * term/common-win.el (x-select-enable-primary)
4537 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4538 Declare.
4539
f4a1d572
GM
4540 * term/ns-win.el (x-handle-args): Declare.
4541
e843de77
GM
4542 * term/x-win.el (x-select-enable-clipboard): Declare.
4543
5fa89513
GM
4544 * term/w32-win.el (create-default-fontset): Declare.
4545
38702b5b
GM
4546 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4547 Declare.
4548
e740f9d2
GM
4549 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4550 (fit-frame-to-buffer): Explicit error if --without-x.
4551 (mouse-autoselect-window-select): Silence compiler.
4552
49a053fc
GM
4553 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4554
4555 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4556 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4557 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4558 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4559 Remove unused local variables.
4560
4561 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4562
ec9177ba
GM
4563 * textmodes/two-column.el: Make 2C-split work for --without-x.
4564 (scroll-bar-columns): Autoload.
4565 (top-level): Require fringe when compiling.
4566
9f25cb77
LL
45672013-09-18 Leo Liu <sdl.web@gmail.com>
4568
4569 * subr.el (add-hook): Robustify to handle closure as well.
4570
2b42da98
GM
45712013-09-17 Glenn Morris <rgm@gnu.org>
4572
4573 * simple.el (messages-buffer-mode-map): Unbind "g".
4574
e8b66a6a
SM
45752013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4576
9c0ad4f7
SM
4577 * help-mode.el (help-mode-finish): Use derived-mode-p.
4578 Remove obsolete highlighting.
4579
7a806dfb
SM
4580 * play/life.el (life-mode): Use define-derived-mode. Derive from
4581 special-mode.
4582 (life): Let-bind inhibit-read-only.
4583 (life-setup): Avoid `setq'. Use `life-mode'.
4584
96dbf5a8
SM
4585 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4586 which should not be needed any more.
4587 (package-menu-refresh, package-menu-describe-package): Use user-error.
4588
e8b66a6a
SM
4589 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4590 (eshell-post-rewrite-command-hook): Make obsolete.
4591 (eshell-parse-command): Simplify.
4592 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4593 (eshell--cmd): Declare.
4594 (eshell-parse-pipeline): Remove unused var `final-p'.
4595 Pass a dynvar to eshell-post-rewrite-command-hook.
4596 Implement the new eshell-post-rewrite-command-function.
4597 (eshell-invoke-directly): Remove unused arg `input'.
4598 * eshell/esh-io.el (eshell-io-initialize):
4599 Use eshell-post-rewrite-command-function (bug#15399).
4600 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4601 adjust to new calling convention.
4602 (eshell-create-handles): Rename args to avoid clashing with dynvar
4603 `standard-output'.
4604
90582f05
GM
46052013-09-17 Glenn Morris <rgm@gnu.org>
4606
4607 * simple.el (messages-buffer-mode): New major mode.
4608 (messages-buffer): New function.
4609 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4610 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4611 (ert-run-test): Use `messages-buffer' function.
90582f05 4612 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4613 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4614 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4615
39eb0cb5 46162013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4617
4618 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4619
1d42e5b6 4620 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4621
70568a90
SM
46222013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4623
504a0381
SM
4624 * icomplete.el (icomplete-in-buffer): New var.
4625 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4626 vars and replace them with functions.
4627 (icomplete-minibuffer-setup): Adjust accordingly.
4628 (icomplete--completion-table, icomplete--completion-predicate)
4629 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4630 New functions.
4631 (icomplete-forward-completions, icomplete-backward-completions)
4632 (icomplete-simple-completing-p, icomplete-exhibit)
4633 (icomplete-completions): Use them.
4634 (icomplete--in-region-buffer): New var.
4635 (icomplete--in-region-setup): New function.
4636 (icomplete-mode): Use it.
4637
70568a90
SM
4638 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4639 (bug#15379).
4640 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4641 return args and options.
4642 (eshell-eval-using-options): Use the new return value of
4643 eshell--do-opts to set the options's vars in their scope.
4644 (eshell--set-option): Rename from eshell-set-option.
4645 Add arg `opt-vals'.
4646 (eshell--process-option): Rename from eshell-process-option.
4647 Add arg `opt-vals'.
4648 (eshell--process-args): Use an `opt-vals' alist to store the options's
4649 values during their processing and return them additionally to the
4650 remaining args.
4651
578c21bc
DG
46522013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4653
4654 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4655 continuation character an operator, as far as indentation is
4656 concerned (Bug#15369).
4657
c089653d
MR
46582013-09-15 Martin Rudalics <rudalics@gmx.at>
4659
4660 * window.el (window--state-put-2): Don't process buffer state
4661 when buffer doesn't exist any more (Bug#15382).
4662
1e53bb4b
GM
46632013-09-15 Glenn Morris <rgm@gnu.org>
4664
30753242
GM
4665 * eshell/em-unix.el (eshell/rm):
4666 Make -f ignore missing files. (Bug#15373)
4667
1e53bb4b
GM
4668 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4669 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4670 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4671
0d8863b3
GM
46722013-09-14 Glenn Morris <rgm@gnu.org>
4673
4674 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4675
d3fc6549
GM
46762013-09-13 Glenn Morris <rgm@gnu.org>
4677
4678 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4679 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4680
fcd42c11
DA
46812013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4682
4683 * frame.el (x-focus-frame): Mark as declared in frame.c.
4684
7830899f
SM
46852013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4686
4687 * ls-lisp.el: Use advice-add.
4688 (original-insert-directory): Remove.
4689 (ls-lisp--insert-directory): Rename from insert-directory; add
4690 `orig-fun' argument.
4691 (insert-directory): Advise.
4692
84387cd2
EZ
46932013-09-13 Eli Zaretskii <eliz@gnu.org>
4694
4695 * term.el (term-emulate-terminal): Decode the command string
4696 before passing it to term-command-hook. (Bug#15337)
4697
35ffc6ba
GM
46982013-09-13 Glenn Morris <rgm@gnu.org>
4699
5c3f9bcc
GM
4700 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4701
2ada368a
GM
4702 * eshell/esh-ext.el (eshell-search-path): Declare.
4703
fcef2e13
GM
4704 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4705 Otherwise an error occurs if eshell-dirs module not loaded.
4706
35ffc6ba
GM
4707 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4708
35c3d36e
MA
47092013-09-13 Michael Albinus <michael.albinus@gmx.de>
4710
4711 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4712 `tramp-check-proper-host'. Check for a valid method name.
4713
4714 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4715 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4716 * net/tramp-sh.el (tramp-maybe-open-connection):
4717 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4718
4719 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4720 also for hash values.
4721
ae5e4c48
SM
47222013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4723
379add74
SM
4724 * term/ns-win.el (parameters): Don't declare as dynamic.
4725 (before-make-frame-hook): Don't add ineffective function.
4726
ae5e4c48
SM
4727 * eshell/*.el: Use lexical-binding (bug#15231).
4728
b5623270
KH
47292013-09-12 Kenichi Handa <handa@gnu.org>
4730
ae5e4c48 4731 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4732
30213927
GM
47332013-09-12 Glenn Morris <rgm@gnu.org>
4734
be94d713 4735 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4736 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4737
44915370
GM
4738 * subr.el (do-after-load-evaluation): Also give compiler warnings
4739 when obsolete files are used (except by obsolete files).
4740
a6ae021f
GM
4741 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4742 in the status output, assume `filename' is the first. (Bug#15322)
4743
40e64f0c
GM
4744 * vc/vc.el (vc-deduce-fileset): Doc fix.
4745
16d9f896
GM
4746 * calc/calc-help.el (Info-goto-node):
4747 * progmodes/cperl-mode.el (Info-find-node):
4748 * vc/ediff.el (Info-goto-node): Update declarations.
4749
dea01c6e
GM
4750 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4751
759880bf 4752 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4753 (vc-bzr-pull): Require vc-dispatcher.
4754 * vc/vc-git.el (vc-compilation-mode): Declare.
4755 (vc-git-pull): Require vc-dispatcher.
4756
08d66420
GM
4757 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4758
30b626e9
GM
4759 * progmodes/octave.el (help-button-action): Declare.
4760
8c05cb10
GM
4761 * shell.el (shell-directory-tracker): Output error as a message
4762 rather than just returning it as a string.
4763 (shell-process-pushd): Remove useless use of message.
4764
30213927
GM
4765 * dframe.el (dframe-timer-fn):
4766 * files.el (dir-locals-read-from-file):
4767 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4768 (mpc-format):
4769 * reveal.el (reveal-post-command):
4770 * saveplace.el (load-save-place-alist-from-file):
4771 * shell.el (shell-resync-dirs):
4772 * w32-common-fns.el (x-get-selection-value):
4773 * emacs-lisp/copyright.el (copyright-find-copyright):
4774 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4775 * emulation/tpu-edt.el (tpu-copy-keyfile):
4776 * play/bubbles.el (bubbles--mark-neighbourhood):
4777 * progmodes/executable.el
4778 (executable-make-buffer-file-executable-if-script-p):
4779 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4780
d3b049e6
SM
47812013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4782
170266d0
SM
4783 Cleanup Eshell to rely less on dynamic scoping.
4784 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4785 last-value, and ext-command here. Bind `args' closer to `body'.
4786 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4787 (eshell--args): Declare new dynamic var.
4788 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4789 last-value, and ext-command. Pass `args' to `body'.
4790 (eshell-process-args): Bind eshell--args.
4791 (eshell-set-option): Use eshell--args.
4792 * eshell/eshell.el (eshell): Use derived-mode-p.
4793 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4794 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4795 (eshell-glob-function): Declare.
4796 * eshell/esh-util.el: Require cl-lib.
4797 (eshell-read-hosts-file): Avoid add-to-list.
4798 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4799 `err'.
4800 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4801 Declare.
4802 (eshell/diff): Remove unused var `err'.
4803 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4804 `killflag'.
4805 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4806 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4807 first use.
4808 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4809 Move declaration before first use.
4810 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4811 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4812 rely on cl-return.
4813
56834f3b
GM
48142013-09-12 Glenn Morris <rgm@gnu.org>
4815
4816 * term/ns-win.el (global-map): Remove binding for ispell-next,
4817 deleted 1999-05-29. (Bug#15357)
4818
5c91a2b8
GM
48192013-09-11 Glenn Morris <rgm@gnu.org>
4820
da712f22
GM
4821 * echistory.el (electric-command-history): Remove call to deleted func.
4822
512e4cdc
GM
4823 * play/landmark.el (landmark-mode): Fix typos.
4824
d3506ca5
GM
4825 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4826 Check cvs-sort-ignore-file is bound.
4827
5c91a2b8
GM
4828 * savehist.el: No need for cl when compiling on Emacs.
4829
feeff482
SM
48302013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4831
656bd483
SM
4832 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4833 (bug#15338).
d3b049e6
SM
4834 (eshell-self-insert-command, eshell-send-invisible):
4835 Remove unused argument.
656bd483
SM
4836 (eshell-handle-control-codes): Remove unused var `orig'.
4837 Avoid delete-backward-char.
4838
feeff482
SM
4839 * files.el (set-auto-mode): Simplify a bit further.
4840
2a08047a
GM
48412013-09-11 Glenn Morris <rgm@gnu.org>
4842
4843 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4844 (set-auto-mode): Don't regexp-quote elements.
4845 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4846 * progmodes/cc-mode.el (interpreter-mode-alist):
4847 * progmodes/ruby-mode.el (interpreter-mode-alist):
4848 Revert previous change.
4849
34675540
SM
48502013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4851
1b3b87df
SM
4852 * play/snake.el (snake-mode):
4853 * play/mpuz.el (mpuz-mode):
4854 * play/landmark.el (lm-mode):
4855 * play/blackbox.el (blackbox-mode):
4856 * play/5x5.el (5x5-mode):
4857 * obsolete/options.el (Edit-options-mode):
4858 * net/quickurl.el (quickurl-list-mode):
4859 * net/newst-treeview.el (newsticker-treeview-mode):
4860 * mail/rmailsum.el (rmail-summary-mode):
4861 * mail/mspools.el (mspools-mode):
4862 * locate.el (locate-mode):
4863 * ibuffer.el (ibuffer-mode):
4864 * emulation/ws-mode.el (wordstar-mode):
4865 * emacs-lisp/debug.el (debugger-mode):
4866 * array.el (array-mode):
4867 * net/eudc.el (eudc-mode): Use define-derived-mode.
4868 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4869 Move initialization into declaration.
4870 (mairix-searches-mode): Use define-derived-mode.
4871 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4872 (eudc-edit-hotlist): Use dolist.
4873 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4874 (Man-mode): Use define-derived-mode.
4875 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4876 (Info-edit-mode): Use define-derived-mode.
4877 (Info-cease-edit): Use Info-mode.
4878 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4879 into declaration.
4880 (eshell-mode): Use define-derived-mode.
4881 * chistory.el (command-history-mode-map): Rename from
4882 command-history-map.
4883 (command-history-mode): Use define-derived-mode.
da712f22 4884 (Command-history-setup): Remove function.
1b3b87df
SM
4885 * calc/calc.el (calc-trail-mode-map): New var.
4886 (calc-trail-mode): Use define-derived-mode.
4887 (calc-trail-buffer): Set calc-main-buffer manually.
4888 * bookmark.el (bookmark-insert-annotation): New function.
4889 (bookmark-edit-annotation): Use it.
4890 (bookmark-edit-annotation-mode): Make it a proper major mode.
4891 (bookmark-send-edited-annotation): Use derived-mode-p.
4892 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4893 closer to its ideal place. Use \' to match EOS.
4894
34675540
SM
4895 * profiler.el (profiler-calltree-find): Use function-equal.
4896
6a5c15d9
GM
48972013-09-10 Glenn Morris <rgm@gnu.org>
4898
1af4c220
GM
4899 * files.el (interpreter-mode-alist): Convert to regexps.
4900 (set-auto-mode): Adapt for this. (Bug#15306)
4901 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4902 Comment out unused variable.
4903 * progmodes/cc-mode.el (interpreter-mode-alist):
4904 * progmodes/python.el (interpreter-mode-alist):
4905 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4906 * progmodes/sh-script.el (sh-set-shell):
4907 No longer use interpreter-mode-alist to get list of shells.
4908
6a5c15d9
GM
4909 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4910
8c27f5ff
SM
49112013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4912
02ef6c1a 4913 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4914 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4915 Bind switch-frame explicitly. Replace universal-argument-minus with
4916 a conditional binding.
4917 (universal-argument-num-events, saved-overriding-map): Remove.
4918 (restore-overriding-map): Remove.
4919 (universal-argument--mode): Rename from save&set-overriding-map,
4920 and rewrite.
4921 (universal-argument, universal-argument-more, negative-argument)
4922 (digit-argument): Adjust accordingly.
4923 (universal-argument-minus): Remove.
4924 (universal-argument-other-key): Remove.
4925
8c27f5ff
SM
4926 * subr.el (with-demoted-errors): Add `format' argument.
4927
6480194c
MA
49282013-09-10 Michael Albinus <michael.albinus@gmx.de>
4929
4930 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4931 `tramp-cleanup-connection'.
4932
4933 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4934 parameters KEEP-DEBUG and KEEP-PASSWORD.
4935
4936 * net/tramp.el (tramp-file-name-handler):
4937 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4938 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4939 (tramp-maybe-open-connection):
8c27f5ff
SM
4940 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4941 Use `tramp-cleanup-connection'.
6480194c 4942
8c27f5ff
SM
4943 * net/tramp-sh.el (tramp-maybe-open-connection):
4944 Catch 'uname-changed inside the progress reporter.
6480194c 4945
e5e916d8
GM
49462013-09-10 Glenn Morris <rgm@gnu.org>
4947
9a2c9b47
GM
4948 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4949
e5e916d8
GM
4950 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4951 returns "alternate access method" in mode (eg "-rw-r--r--.").
4952
144e38fe
GM
49532013-09-08 Glenn Morris <rgm@gnu.org>
4954
4955 * saveplace.el (load-save-place-alist-from-file):
4956 Demote errors. (Bug#15305)
4957
af9ff9e8
MA
49582013-09-08 Michael Albinus <michael.albinus@gmx.de>
4959
4960 Improve compatibility with older Emacsen, and XEmacs.
4961
4962 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4963 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4964 (with-tramp-progress-reporter): Do not let-bind `result'.
4965 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4966 (tramp-handle-make-auto-save-file-name): New function, moved from
4967 tramp-sh.el.
4968
4969 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4970 for `make-auto-save-file-name'.
8c27f5ff
SM
4971 (tramp-adb--gnu-switches-to-ash):
4972 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4973
4974 * net/tramp-cache.el (tramp-cache-print): Call
4975 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4976
4977 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4978 bound. It isn't for XEmacs.
4979
8c27f5ff
SM
4980 * net/tramp-compat.el (tramp-compat-copy-file):
4981 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4982 (tramp-compat-replace-regexp-in-string): New defun.
4983
4984 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4985 for `make-auto-save-file-name'.
4986 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4987 `copy-file'.
4988 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4989 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4990 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4991
8c27f5ff
SM
4992 * net/tramp-gw.el (tramp-gw-open-network-stream):
4993 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4994
8c27f5ff
SM
4995 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4996 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4997 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4998 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4999 (tramp-sh-file-inotifywait-process-filter):
5000 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5001 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5002
5003 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5004 for `make-auto-save-file-name'.
8c27f5ff
SM
5005 (tramp-smb-handle-copy-directory):
5006 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5007 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5008 (tramp-smb-handle-copy-file): Improve error message.
5009 (tramp-smb-handle-rename-file): Rename directly only in case
5010 `newname' does not exist yet. This is a restriction of smbclient.
5011 (tramp-smb-maybe-open-connection): Rerun the function only when
5012 `auth-sources' is non-nil.
5013
0ca754d0
KH
50142013-09-08 Kenichi Handa <handa@gnu.org>
5015
e0eb0550 5016 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5017 more characters.
5018
e8dd0787
AM
50192013-09-07 Alan Mackenzie <acm@muc.de>
5020
5021 Correctly fontify Java class constructors.
5022 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5023 in Java Mode.
5024 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5025 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5026 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5027 "typeless" declaration there.
5028
f2f248e7
RW
50292013-09-07 Roland Winkler <winkler@gnu.org>
5030
5031 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5032 field subtitle for entry type book.
5033
67982e2b
SM
50342013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * minibuffer.el: Make minibuffer-complete call completion-in-region
5037 rather than other way around.
5038 (completion--some, completion-pcm--find-all-completions):
5039 Don't delay signals when debugging.
5040 (minibuffer-completion-contents): Beware fields within the
5041 minibuffer contents.
5042 (completion-all-sorted-completions): Use defvar-local.
5043 (completion--do-completion, completion--cache-all-sorted-completions)
5044 (completion-all-sorted-completions, minibuffer-force-complete):
5045 Add args `beg' and `end'.
5046 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5047 (minibuffer-complete): Use completion-in-region.
5048 (completion-complete-and-exit): New fun, extracted from
5049 minibuffer-complete-and-exit.
5050 (minibuffer-complete-and-exit): Use it.
5051 (completion--complete-and-exit): Rename from
5052 minibuffer--complete-and-exit.
5053 (completion-in-region--single-word): New function, extracted from
5054 minibuffer-complete-word.
5055 (minibuffer-complete-word): Use it.
5056 (display-completion-list): Make `common-substring' argument obsolete.
5057 (completion--in-region): Call completion--in-region-1 instead of
5058 minibuffer-complete.
5059 (completion-help-at-point): Pass boundaries to
5060 minibuffer-completion-help as args rather than via an overlay.
5061 (completion-pcm--string->pattern): Use `any-delim'.
5062 (completion-pcm--optimize-pattern): New function.
5063 (completion-pcm--pattern->regex): Handle `any-delim'.
5064 * icomplete.el (icomplete-forward-completions)
5065 (icomplete-backward-completions, icomplete-completions):
5066 Adjust calls to completion-all-sorted-completions and
5067 completion--cache-all-sorted-completions.
5068 (icomplete-with-completion-tables): Default to t.
5069 * emacs-lisp/crm.el (crm--current-element): Rename from
5070 crm--select-current-element. Don't put an overlay but return the
5071 boundaries instead.
5072 (crm--completion-command): Take two new args to bind to the boundaries.
5073 (crm-completion-help): Adjust accordingly.
5074 (crm-complete): Use completion-in-region.
5075 (crm-complete-word): Use completion-in-region--single-word.
5076 (crm-complete-and-exit): Use completion-complete-and-exit.
5077
e17d94a5
SM
50782013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5079
5080 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5081 than dynamically.
5082
96727100
JL
50832013-09-06 Juri Linkov <juri@jurta.org>
5084
5085 * info.el (Info-display-images-node): When image file doesn't exist
5086 display text version of the image if it's provided in the Info file.
5087 Otherwise, display the location of missing image from SRC attribute.
5088 Add help-echo text property from ALT attribute. (Bug#15279)
5089
86cf7329
SM
50902013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5091
5092 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5093 (edit-abbrevs-mode): Use define-derived-mode.
5094
5095 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5096 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5097 that it's defined.
5098 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5099 Use define-derived-mode.
5100
5101 * epg.el (epg-start-encrypt): Minor CSE simplification.
5102
816244a2
WX
51032013-09-06 William Xu <william.xwl@gmail.com>
5104
5105 * arc-mode.el: Add support for 7za (bug#15264).
5106 (archive-7z-program): New var.
5107 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5108 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5109 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5110
1486fa31
MA
51112013-09-06 Michael Albinus <michael.albinus@gmx.de>
5112
5113 Remove URL syntax.
5114
5115 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5116 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5117 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5118 (tramp-postfix-host-format, tramp-file-name-regexp)
5119 (tramp-completion-file-name-regexp)
5120 (tramp-completion-dissect-file-name)
5121 (tramp-handle-substitute-in-file-name): Remove 'url case.
5122 (tramp-file-name-regexp-url)
5123 (tramp-completion-file-name-regexp-url): Remove constants.
5124
39785324
GM
51252013-09-06 Glenn Morris <rgm@gnu.org>
5126
5127 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5128
1f896cb7
DG
51292013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5130
5131 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5132 keywords" below "here-doc beginnings" (Bug#15270).
5133
c0458e0b
SM
51342013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5135
5136 * subr.el (pop): Use `car-safe'.
5137 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5138 to detect unused `pop' return value.
5139
5140 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5141 var `block-regexp'.
5142 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5143 (python-fill-string): Remove unused var `marker'.
5144 (python-skeleton-add-menu-items): Remove unused var `items'.
5145
5146 * international/mule-cmds.el: Require CL.
5147 (find-coding-systems-for-charsets): Avoid add-to-list.
5148 (sanitize-coding-system-list): New function, extracted from
5149 select-safe-coding-system-interactively.
5150 (select-safe-coding-system-interactively): Use it.
5151 (read-input-method-name): Accept symbols for `default'.
5152
5153 * emacs-lisp/advice.el (defadvice): Add indent rule.
5154
6c42fc3e
DH
51552013-09-05 Daniel Hackney <dan@haxney.org>
5156
5157 * dired-x.el:
5158 * net/ange-ftp.el:
5159 * net/browse-url.el:
5160 * net/dbus.el:
5161 * net/eudc.el:
5162 * net/eudcb-ldap.el:
5163 * net/eww.el:
5164 * net/imap.el:
5165 * printing.el:
5166 * vc/ediff-diff.el:
5167 * vc/ediff-init.el:
5168 * vc/ediff-merg.el:
5169 * vc/ediff-mult.el:
5170 * vc/ediff-util.el:
5171 * vc/ediff-wind.el:
5172 * vc/ediff.el:
5173 * vc/emerge.el:
5174 * vc/pcvs.el:
5175 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5176 byte compiler. Remove some unused let-bound variables.
5177
4c528aab
SM
51782013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5179
5180 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5181 a "ref-cell", since it gets better optimized (bug#14883).
5182
bd15c390
GM
51832013-09-05 Glenn Morris <rgm@gnu.org>
5184
5185 * progmodes/cc-awk.el (c-forward-sws): Declare.
5186
1c3ac2e5
GM
51872013-09-04 Glenn Morris <rgm@gnu.org>
5188
5189 * generic-x.el [rul-generic-mode]: Require cc-mode.
5190 (c++-mode-syntax-table): Declare.
5191 (rul-generic-mode-syntax-table): Init in the defvar.
5192
52b1cc79
SM
51932013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5194
c828af56
SM
5195 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5196 (vc-do-command, vc-set-async-update):
5197 * vc/vc-mtn.el (vc-mtn-dir-status):
5198 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5199 (vc-hg-pull, vc-hg-merge-branch):
5200 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5201 (vc-git-merge-branch):
5202 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5203 (vc-cvs-dir-status-files):
5204 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5205 (vc-bzr-dir-status-files):
5206 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5207 * vc/vc-annotate.el: Use lexical-binding.
5208 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5209 (vc-sentinel-movepoint): Declare.
5210 (vc-annotate): Don't use `goto-line'.
5211 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5212 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5213 (vc-sentinel-movepoint): Declare.
5214 * vc/vc-svn.el: Use lexical-binding.
5215 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5216 * vc/vc-sccs.el:
5217 * vc/vc-rcs.el: Use lexical-binding.
5218
abae272c
SM
5219 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5220 `deleted'. Don't drop errors silently.
5221
52b1cc79
SM
5222 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5223
63191d9f
XF
52242013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5225
5226 * vc/vc.el (vc-ignore): Rewrite.
5227 (vc-default-ignore): New function.
5228 (vc-default-ignore-completion-table): Use find-ignore-file.
5229
5230 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5231 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5232 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5233 Remove. Most code moved to vc.el.
5234
9d3f707c
SM
52352013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5236
abae272c 5237 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5238 * net/tramp-smb.el (tramp-smb-get-file-entries):
5239 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5240 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5241
fde38d49
SM
5242 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5243 Update call to it.
5244 (eww-change-select): Remove unused var `properties'.
5245 (eww-make-unique-file-name): Remove unused var `base'.
5246
5247 * finder.el (finder-compile-keywords): Don't mess with windows.
5248
84032db7
SM
5249 * calculator.el (calculator-funcall): Fix typo in last change.
5250
724f5e41
SM
5251 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5252
14b511d4
SM
5253 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5254 <pkg>-autoloads.el file stop us.
5255
9d3f707c 5256 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5257 warnings, and factor out common code.
9d3f707c 5258
88527bc0
DG
52592013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5260
5261 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5262 two-character operators and whether the character preceding them
5263 changes their meaning (Bug#15208).
5264
96edb677
FEG
52652013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5266
5267 Format code sent to Python shell for robustness.
9d3f707c
SM
5268 * progmodes/python.el (python-shell-buffer-substring):
5269 New function.
96edb677
FEG
5270 (python-shell-send-region, python-shell-send-buffer): Use it.
5271
95beaef3
MA
52722013-09-02 Michael Albinus <michael.albinus@gmx.de>
5273
5274 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5275 * net/tramp.el (tramp-user-error): ... here.
5276 (tramp-find-method, tramp-check-proper-host)
5277 (tramp-dissect-file-name, tramp-debug-message)
5278 (tramp-handle-shell-command):
5279 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5280 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5281
5282 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5283
f167c27b
MR
52842013-09-02 Martin Rudalics <rudalics@gmx.at>
5285
5286 * avoid.el (mouse-avoidance-point-position)
5287 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5288 returns nil.
5289
cd16c5f1
FEG
52902013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5291
5292 * progmodes/python.el (python-shell-completion-get-completions):
5293 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5294 (python-nav-if-name-main): New command.
cd16c5f1 5295
e73c3a0d
GM
52962013-09-01 Glenn Morris <rgm@gnu.org>
5297
f8ccce03
GM
5298 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5299 Avoid leading space in $wins. Otherwise the sed command used by
5300 eg compile-main ends up containing "/*.el". (Bug#15170)
5301
e73c3a0d
GM
5302 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5303
415f808e
GM
53042013-08-30 Glenn Morris <rgm@gnu.org>
5305
5306 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5307 Fix is-this-a-directory logic. (Bug#15220)
5308
f069bba8
SM
53092013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5310
112798c1
SM
5311 * textmodes/css-mode.el: Use SMIE.
5312 (css-smie-grammar): New var.
5313 (css-smie--forward-token, css-smie--backward-token)
5314 (css-smie-rules): New functions.
5315 (css-mode): Use them.
5316 (css-navigation-syntax-table): Remove var.
5317 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5318 (css-indent-calculate, css-indent-line): Remove functions.
5319
5320 Misc changes to reduce use of `(lambda...); and other cleanups.
5321 * cus-edit.el: Use lexical-binding.
5322 (customize-push-and-save, customize-apropos)
5323 (custom-buffer-create-internal): Use closures.
5324 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5325 * progmodes/ada-xref.el: Use setq.
5326 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5327 * dframe.el: Use lexical-binding.
5328 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5329 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5330 * descr-text.el: Use lexical-binding.
5331 (describe-text-widget, describe-text-sexp, describe-property-list):
5332 Use closures.
5333 * comint.el (comint-history-isearch-push-state): Use a closure.
5334 * calculator.el: Use lexical-binding.
5335 (calculator-number-to-string): Make it work with lexical-binding.
5336 (calculator-funcall): Same and use cl-letf.
5337
2da4c3ab
SM
5338 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5339 (lisp--company-doc-string, lisp--company-location): New functions.
5340 (lisp-completion-at-point): Use them to improve Company support.
5341
f069bba8
SM
5342 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5343 params of lambda expressions.
5344 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5345 (ruby-smie--opening-pipe-p): New function.
5346 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5347 symbols and matched |...| for formal params.
5348 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5349 from being treated as hanging. Handle "rescue".
5350
6758b6a8
GM
53512013-08-29 Glenn Morris <rgm@gnu.org>
5352
5353 * progmodes/cc-engine.el (c-pull-open-brace):
5354 Move definition before use.
5355
e8dfd197
SM
53562013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5357
5358 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5359 are immutable. Don't use `unsafe' any more.
5360 (cl--defsubst-expand): Don't substitute at the same time as keeping
5361 a residual unused let-binding. Don't use `unsafe' any more.
5362
cc585c96
GM
53632013-08-29 Glenn Morris <rgm@gnu.org>
5364
ba579ea6
GM
5365 * calendar/cal-china.el (calendar-chinese-year-cache):
5366 Recenter on 2015.
5367
8201a87e
GM
5368 * nxml/nxml-util.el (nxml-debug-clear-inside):
5369 Use cl-loop rather than loop.
5370
6ee877c7
GM
5371 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5372
cc585c96
GM
5373 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5374
27be8d39
GM
53752013-08-28 Glenn Morris <rgm@gnu.org>
5376
397440a1
GM
5377 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5378
2bb762d4
GM
5379 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5380
27be8d39
GM
5381 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5382
2d69b99e
SM
53832013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5384
f663baa7
SM
5385 * simple.el (repeat-complex-command--called-interactively-skip):
5386 New function.
5387 (repeat-complex-command): Use it (bug#14136).
5388
dd4f8b74
SM
5389 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5390 (c-define-abbrev-table): Add `doc' argument.
5391 (c-mode-abbrev-table, c++-mode-abbrev-table)
5392 (objc-mode-abbrev-table, java-mode-abbrev-table)
5393 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5394 (awk-mode-abbrev-table): Use it.
5395 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5396 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5397 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5398 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5399 Move initialization into the declaration; and remove any
5400 autoload cookie.
5401
b58969f7
SM
5402 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5403 and dynamic let binding.
5404
4021d6a6
SM
5405 * vc/smerge-mode.el: Remove redundant :group args.
5406
2d69b99e
SM
5407 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5408 to load-path.
5409
274919fd
JL
54102013-08-28 Juri Linkov <juri@jurta.org>
5411
5412 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5413 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5414 (isearch-other-meta-char): Handle an undefined shifted printing
5415 character by downshifting it. (Bug#15200)
5416
121f8c95
JL
54172013-08-28 Juri Linkov <juri@jurta.org>
5418
5419 * isearch.el (isearch-search): Change regexp error message for
5420 non-regexp searches. (Bug#15166)
5421
50b13cde
PE
54222013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5423
5424 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5425 for portability to hosts where /bin/sh has problems.
5426
95888bca
SM
54272013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5428
5429 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5430
bbe558f1
JL
54312013-08-27 Juri Linkov <juri@jurta.org>
5432
5433 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5434 in the keyboard macro. (Bug#15126)
5435
26f98a7d
JL
54362013-08-27 Juri Linkov <juri@jurta.org>
5437
5438 * isearch.el (isearch-quote-char): Comment out converting unibyte
5439 to multibyte, thus syncing with its `quoted-insert' counterpart.
5440 (Bug#15166)
5441
7c97d35e
MR
54422013-08-27 Martin Rudalics <rudalics@gmx.at>
5443
5444 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5445 argument in call of get-largest-window (Bug#15185).
5446 Reported by Stephen Leake.
7c97d35e 5447
a0b5606e 54482013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5449
5450 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5451
9e89d835
SM
54522013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5455 from a matcher-function unless there's no more matches (bug#15161).
5456
78fc2530
MA
54572013-08-26 Michael Albinus <michael.albinus@gmx.de>
5458
5459 * minibuffer.el: Revert change from 2013-08-20.
5460
5461 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5462 with text property `tramp-default', if appropriate.
5463 (tramp-check-proper-host): New defun.
5464 (tramp-dissect-file-name): Do not check hostname. Revert change
5465 of 2013-03-18.
5466 (tramp-backtrace): Make VEC-OR-PROC optional.
5467
5468 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5469 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5470 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5471 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5472 Apply `tramp-check-proper-host'.
78fc2530 5473
edca97cd
TH
54742013-08-26 Tassilo Horn <tsdh@gnu.org>
5475
5476 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5477 lambda expression in order to have `describe-variable' display it.
5478
df54bcbd
MA
54792013-08-26 Michael Albinus <michael.albinus@gmx.de>
5480
5481 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5482 BUF can be optional. (Bug#15186)
5483
eed99101
XF
54842013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5485
5486 * progmodes/flymake.el (flymake-get-real-file-name-function):
5487 Fix broken customization. (Bug#15184)
5488
b5eb9035
AM
54892013-08-25 Alan Mackenzie <acm@muc.de>
5490
8a51e842
AM
5491 Improve indentation of bracelists defined by macros (without "=").
5492
5493 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5494 expansion begins with "{", regard it as bracelist when it doesn't
5495 contain a ";".
5496
869455d4
AM
5497 Parse C++ inher-intro when there's a template split over 2 lines.
5498
5499 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5500 rigorously the search for "class" etc. followed by ":".
5501
5502 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5503 random languages a regexp which never matches rather than nil.
5504
b5eb9035
AM
5505 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5506
5507 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5508 (c-awk-regexp-one-line-possibly-open-char-list-re)
5509 (c-awk-one-line-possibly-open-regexp-re)
5510 (c-awk-one-line-non-syn-ws*-re): Remove.
5511 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5512 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5513 (c-awk-space*-unclosed-regexp-/-re): New constants.
5514 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5515 aren't regexp delimiters.
5516
5517 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5518 handling for a rare situation in AWK Mode involving unterminated
5519 strings/regexps.
5520
61611d54
GM
55212013-08-23 Glenn Morris <rgm@gnu.org>
5522
2d85dc34
GM
5523 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5524
cb8d2612
GM
5525 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5526
bb35f42f
GM
5527 * files.el (create-file-buffer): If the result would begin with
5528 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5529
b9808e77
SM
55302013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5531
e3a66363
SM
5532 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5533 text-properties (bug#15155).
5534
b9808e77
SM
5535 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5536 exist any more.
5537 (calc-keypad-redraw): Remove unused var `pad'.
5538 (calc-keypad-press): Remove unused var `menu'.
5539
7fd5f65e
MR
55402013-08-23 Martin Rudalics <rudalics@gmx.at>
5541
b9808e77
SM
5542 * window.el (display-buffer-pop-up-frame):
5543 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5544 use it as the new frame's buffer (Bug#15133).
5545
8352b530
SM
55462013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5547
5548 * calendar/timeclock.el: Minor cleanups.
5549 (timeclock-ask-before-exiting, timeclock-use-display-time):
5550 Use `symbol'.
5551 (timeclock-modeline-display): Define as alias before the
5552 actual definition.
5553 (timeclock-mode-line-display): Use define-minor-mode.
5554 (timeclock-day-list-template): Make it a function, add an argument.
5555 (timeclock-day-list-required, timeclock-day-list-length)
5556 (timeclock-day-list-debt, timeclock-day-list-span)
5557 (timeclock-day-list-break): Adjust calls accordingly.
5558
9f7b1925
SM
55592013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5562 Use read--expression so that completion works again.
5563
6e50e983
SS
55642013-08-21 Sam Steingold <sds@gnu.org>
5565
5566 Add rudimentary inferior shell interaction
5567 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5568 (sh-set-shell): Reset it.
9f7b1925
SM
5569 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5570 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5571
dbb0d350
SM
55722013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5573
5574 * align.el: Use lexical-binding.
5575 (align-region): Simplify accordingly.
5576
c88586a9
MA
55772013-08-20 Michael Albinus <michael.albinus@gmx.de>
5578
5579 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5580
5581 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5582 `non-essential' up.
5583
f95527c8
MA
55842013-08-17 Michael Albinus <michael.albinus@gmx.de>
5585
5586 * net/tramp.el:
5587 * net/tramp-adb.el:
5588 * net/tramp-cmds.el:
5589 * net/tramp-ftp.el:
5590 * net/tramp-gvfs.el:
5591 * net/tramp-gw.el:
5592 * net/tramp-sh.el: Don't wrap external variable declarations by
5593 `eval-when-compile'.
5594
4b5fe4ee
LMI
55952013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5596
5597 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5598 now that Emacs supports ImageMagick animations.
5599
13c366c9
MA
56002013-08-16 Michael Albinus <michael.albinus@gmx.de>
5601
5602 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5603 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5604
3dfc5cd6
MR
56052013-08-16 Martin Rudalics <rudalics@gmx.at>
5606
5607 * window.el (mouse-autoselect-window-select): Do autoselect when
5608 mouse pointer is on margin.
5609
4bbb4381
WP
56102013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5611
5612 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5613
3a2ddc2d
GM
56142013-08-16 Glenn Morris <rgm@gnu.org>
5615
e8bedf5a
GM
5616 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5617 Handle "Remote Directory" response of some clients. (Bug#15058)
5618
58c4682f
GM
5619 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5620 Tweak warning. (Bug#14926)
5621
57953f49
GM
5622 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5623 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5624
3a2ddc2d
GM
5625 * image-mode.el (image-mode-map): Add menu items to reverse,
5626 increase, decrease, reset animation speed.
5627 (image--set-speed, image-increase-speed, image-decrease-speed)
5628 (image-reverse-speed, image-reset-speed): New functions.
5629 (image-mode-map): Add bindings for speed commands.
5630
5631 * image.el (image-animate-get-speed, image-animate-set-speed):
5632 New functions.
5633 (image-animate-timeout): Respect image :speed property.
5634
10fa0ed3
SM
56352013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5636
5637 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5638 previous line (bug#15101).
5639 (debugger-eval-expression, debugger-record-expression):
5640 Use read--expression (bug#15102).
5641
5d89d9d2
MA
56422013-08-15 Michael Albinus <michael.albinus@gmx.de>
5643
5644 Remove byte compiler warnings, visible when compiling with
5645 `byte-compile-force-lexical-warnings' set to t.
5646
5647 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5648 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5649 (tramp-handle-unhandled-file-name-directory)
5650 (tramp-handle-file-notify-add-watch, tramp-action-login)
5651 (tramp-action-succeed, tramp-action-permission-denied)
5652 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5653 arguments with "_".
5654
5655 * net/tramp-adb.el (tramp-adb-parse-device-names)
5656 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5657 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5658 (tramp-adb-handle-file-truename): Remove unused arguments.
5659
5660 * net/tramp-cache.el (tramp-flush-directory-property)
5661 (tramp-flush-connection-property, tramp-list-connections)
5662 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5663
10fa0ed3
SM
5664 * net/tramp-compat.el (tramp-compat-make-temp-file):
5665 Rename FILENAME to F.
5d89d9d2
MA
5666
5667 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5668 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5669 (tramp-zeroconf-parse-workstation-device-names)
5670 (tramp-zeroconf-parse-webdav-device-names)
5671 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5672
5673 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5674 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5675
5676 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5677 arguments.
5678 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5679 (tramp-sh-handle-insert-file-contents-literally)
5680 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5681 with "_".
5682 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5683 Remove unused variables.
5684
5685 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5686 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5687 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5688
5689 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5690 Make them a defconst.
5691 (tramp-uuencode-region): Remove unused variable.
5692
62f33bae
JB
56932013-08-14 Juanma Barranquero <lekktu@gmail.com>
5694
5695 * frameset.el (frameset--prop-setter): New function.
5696 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5697 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5698 parameter was already set in FILTERED. Doc fix.
5699 (frameset--record-minibuffer-relationships): Allow saving a
5700 minibufferless frame without its corresponding minibuffer frame.
5701 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5702 frame, if the frame id matches.
5703 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5704 frames before orphaned ones.
5705 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5706
c660a885
MR
57072013-08-14 Martin Rudalics <rudalics@gmx.at>
5708
5709 * window.el (window-make-atom): Don't overwrite parameter
5710 already present.
5711 (display-buffer-in-atom-window): Handle special case where we
5712 split an already atomic window.
5713 (window--major-non-side-window, display-buffer-in-side-window)
5714 (window--side-check): Ignore minibuffer window when walking
5715 window tree.
5716 (window-deletable-p): Return 'frame only if no other frame uses
5717 our minibuffer window.
5718 (record-window-buffer): Run buffer-list-update-hook.
5719 (split-window): Make sure window--check-frame won't destroy an
5720 existing atomic window in case the new window gets nested
5721 inside.
5722 (display-buffer-at-bottom): Ignore minibuffer window when
5723 walking window tree. Don't split a side window.
5724 (pop-to-buffer): Don't set-buffer here, the select-window call
5725 should do that.
5726 (mouse-autoselect-window-select): Autoselect only if we are in the
5727 text portion of the window.
5728
8259030d
LMI
57292013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5730
21c58ae2
LMI
5731 * net/shr.el (shr-parse-image-data): New function to grab both the
5732 data itself and the Content-Type.
5733 (shr-put-image): Use it.
5734
5735 * net/eww.el (eww-display-image): Ditto.
5736
8259030d
LMI
5737 * image.el (image-content-type-suffixes): New variable.
5738
ad756449
FEG
57392013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5740
5741 * progmodes/python.el (python-imenu--build-tree)
5742 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5743
f73f4ce6
XF
57442013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5745
5746 * simple.el (backward-word): Mention the optional argument.
5747
1f585e65
SM
57482013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5749
5750 * frameset.el (frameset--make): Rename constructor from make-frameset.
5751 (frameset-p, frameset-valid-p): Don't autoload.
5752 (frameset-valid-p): Use normal accessors.
5753
af1c6c84
GM
57542013-08-13 Glenn Morris <rgm@gnu.org>
5755
55e47f95
GM
5756 * progmodes/compile.el (compile-command): Tweak example in doc.
5757 * obsolete/scribe.el (scribe-mode):
5758 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5759
f0024d8c
GM
5760 * mail/feedmail.el (feedmail-confirm-outgoing)
5761 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5762
5763 * cus-start.el (truncate-partial-width-windows): Fix type.
5764
5765 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5766
af1c6c84
GM
5767 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5768
5514cc4c
SM
57692013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5770
5771 * emacs-lisp/timer.el (timer--time-setter): New function.
5772 (timer--time): Use it as gv-setter.
5773
5774 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5775 setter is not a symbol.
5776
7997a2f1
GJ
57772013-08-12 Grégoire Jadi <daimrod@gmail.com>
5778
5779 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5780 if sending fails. This makes debugging easier.
5781
01f1a9ab
JB
57822013-08-12 Juanma Barranquero <lekktu@gmail.com>
5783
5784 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5785 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5786 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5787
594a4307
EZ
57882013-08-12 Eli Zaretskii <eliz@gnu.org>
5789
5790 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5791
7a22490f 57922013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5793
5794 * format.el (format-annotate-function):
5795 Handle read-only text properties in the source. (Bug#14887)
5796
3e41a054
LMI
57972013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5798
5514cc4c
SM
5799 * net/eww.el (eww-display-html): Ignore coding system errors.
5800 One web site uses "utf-8lias" as the coding system.
3e41a054 5801
7ec326db
JB
58022013-08-11 Juanma Barranquero <lekktu@gmail.com>
5803
5804 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5805
5660113b
JB
58062013-08-10 Juanma Barranquero <lekktu@gmail.com>
5807
9a4ebc74
JB
5808 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5809 (tutorial--detailed-help): Remove unused local variables.
5810 (tutorial--save-tutorial-to): Use ignore-errors.
5811 (help-with-tutorial): Use looking-at-p.
5812
5813 * view.el (view-buffer-other-window, view-buffer-other-frame):
5814 Mark unused arguments.
5815
5816 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5817 (woman-select-symbol-fonts, woman, woman-find-file)
5818 (woman-insert-file-contents, woman-non-underline-faces):
5819 Use string-match-p.
5820 (woman1-unquote): Move declaration.
5821
5822 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5823 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5824 argument. Remove unused local variable.
5825 (xml-parse-elem-type): Use string-match-p.
5826 (xml-substitute-numeric-entities): Use ignore-errors.
5827
45fdb482
JB
5828 * calculator.el (calculator): Mark unused argument.
5829 (calculator-paste, calculator-quit, calculator-integer-p):
5830 Use ignore-errors.
5831 (calculator-string-to-number, calculator-decimal, calculator-exp)
5832 (calculator-op-or-exp): Use string-match-p.
5833
5834 * dired.el (dired-buffer-more-recently-used-p): Declare.
5835 (dired-insert-set-properties, dired-insert-old-subdirs):
5836 Use ignore-errors.
5837
5838 * dired-aux.el (dired-compress): Use ignore-errors.
5839 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5840 (dired-do-async-shell-command, dired-do-shell-command)
5841 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5842 (dired-insert-subdir-validate): Use string-match-p.
5843 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5844 (dired-add-entry): Use string-match-p, looking-at-p.
5845 (dired-insert-subdir-newpos): Remove unused local variable.
5846
5847 * filenotify.el (file-notify-callback): Remove unused local variable.
5848
5849 * filesets.el (filesets-error): Mark unused argument.
5850 (filesets-which-command-p, filesets-filter-dir-names)
5851 (filesets-directory-files, filesets-get-external-viewer)
5852 (filesets-ingroup-get-data): Use string-match-p.
5853
5854 * find-file.el (ff-other-file-name, ff-other-file-name)
5855 (ff-find-the-other-file, ff-cc-hh-converter):
5856 Remove unused local variables.
5857 (ff-get-file-name): Use string-match-p.
5858 (ff-all-dirs-under): Use ignore-errors.
5859
5860 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5861 (follow-select-if-visible): Remove unused local variable.
5862
5863 * forms.el (read-file-filter): Move declaration.
5864 (forms--make-format, forms--make-parser, forms-insert-record):
5865 Quote function with #'.
5866 (forms--update): Use string-match-p. Quote function with #'.
5867
5868 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5869 (help-make-xrefs): Use looking-at-p.
5870 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5871
5872 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5873 (ibuffer-confirm-operation-on): Use string-match-p.
5874
5875 * msb.el (msb-item-handler, msb-dired-item-handler):
5876 Mark unused arguments.
5877
5878 * ses.el (ses-decode-cell-symbol)
5879 (ses-kill-override): Remove unused local variable.
5880 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5881 (ses-load): Use ignore-errors, looking-at-p.
5882 (ses-jump-safe): Use ignore-errors.
5883 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5884
5885 * tabify.el (untabify, tabify): Mark unused arguments.
5886
5887 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5888 Mark unused argument.
5889 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5890 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5891
c880af52
JB
5892 * emacs-lisp/timer.el (timer--time): Define setter with
5893 gv-define-setter to avoid deprecation warning.
5894
5660113b 5895 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5896 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5897 (cmpl-statistics-block): Remove (body was commented out).
5898 All callers changed.
5899 (add-completions-from-buffer, load-completions-from-file):
5900 Remove unused variables.
5901
156aab80
JB
59022013-08-09 Juanma Barranquero <lekktu@gmail.com>
5903
5c5dee78
JB
5904 * filecache.el (file-cache-delete-file-list):
5905 Print message only when told so.
5906 (file-cache-files-matching): Use #' in mapconcat argument.
5907
156aab80
JB
5908 * ffap.el (ffap-url-at-point): Fix reference to variable
5909 thing-at-point-default-mail-uri-scheme.
5910
ad9dcd70
SM
59112013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5912
54bd972f
SM
5913 * subr.el (define-error): New function.
5914 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5915 error-file-not-found and define with define-error.
5916 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5917 and define with define-error.
5918 * userlock.el (file-locked, file-supersession):
5919 * simple.el (mark-inactive):
5920 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5921 * progmodes/ada-mode.el (ada-mode-errors):
5922 * play/life.el (life-extinct):
5923 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5924 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5925 * nxml/rng-util.el (rng-error):
5926 * nxml/rng-uri.el (rng-uri-error):
5927 * nxml/rng-match.el (rng-compile-error):
5928 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5929 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5930 * nxml/nxml-rap.el (nxml-scan-error):
5931 * nxml/nxml-outln.el (nxml-outline-error):
5932 * net/soap-client.el (soap-error):
5933 * net/gnutls.el (gnutls-error):
5934 * net/ange-ftp.el (ftp-error):
5935 * mpc.el (mpc-proc-error):
5936 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5937 (json-number-format, json-string-escape, json-string-format)
5938 (json-key-format, json-object-format):
5939 * jka-compr.el (compression-error):
5940 * international/quail.el (quail-error):
5941 * international/kkc.el (kkc-error):
5942 * emacs-lisp/ert.el (ert-test-failed):
5943 * calc/calc.el (calc-error, inexact-result, math-overflow)
5944 (math-underflow):
5945 * bookmark.el (bookmark-error-no-filename):
5946 * epg.el (epg-error): Define with define-error.
5947
0ea9e53a
SM
5948 * time.el (display-time-event-handler)
5949 (display-time-next-load-average): Don't call sit-for since it seems
5950 unnecessary (bug#15045).
5951
b0429158
SM
5952 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5953 Use #' instead of ' to quote functions.
5954 (checkdoc-output-mode): Use setq-local.
5955 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5956 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5957 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5958 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5959 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5960 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5961 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5962 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5963
ad9dcd70
SM
5964 * ido.el (ido-completion-help): Fix up compiler warning.
5965
77187e6f
JB
59662013-08-09 Juanma Barranquero <lekktu@gmail.com>
5967
5968 * frameset.el (frameset-p): Add autoload cookie.
5969 (frameset--jump-to-register): New function, based on code moved from
5970 register.el.
5971 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5972
5973 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5974 (frameset-restore, frameset-save, frameset-session-filter-alist):
5975 Remove declarations.
5976 (register-alist): Doc fix.
5977 (frameset-to-register): Move to frameset.el.
5978 (jump-to-register, describe-register-1): Remove frameset-specific code.
5979
9d3aa82c
JB
59802013-08-08 Juanma Barranquero <lekktu@gmail.com>
5981
5982 * allout-widgets.el (allout-widgets-pre-command-business)
5983 (allout-widgets-post-command-business)
5984 (allout-widgets-after-change-handler)
5985 (allout-decorate-item-and-context, allout-set-boundary-marker)
5986 (allout-body-modification-handler)
5987 (allout-graphics-modification-handler): Mark ignored arguments.
5988 (allout-widgets-post-command-business)
5989 (allout-widgets-exposure-change-processor)
5990 (allout-widgets-exposure-undo-processor)
5991 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5992 (allout-parse-item-at-point, allout-decorate-item-guides)
5993 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5994 * allout.el (epa-passphrase-callback-function): Declare.
5995 (allout-overlay-insert-in-front-handler)
5996 (allout-overlay-interior-modification-handler)
5997 (allout-isearch-end-handler, allout-chart-siblings)
5998 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5999 (allout-yank-processing, allout-process-exposed)
6000 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6001 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6002 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6003 (lisp-indent-defform): Mark ignored arguments.
6004 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6005 (calculate-lisp-indent): Remove unused variables.
6006 * international/characters.el (indian-2-column, arabic-2-column)
6007 (tibetan): Mark ignored arguments.
6008 (use-cjk-char-width-table): Mark ignored arguments.
6009 Remove unused variables.
6010 * international/fontset.el (build-default-fontset-data)
6011 (x-compose-font-name, create-fontset-from-fontset-spec):
6012 Mark ignored arguments.
6013 (fontset-plain-name): Remove unused variables.
6014 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6015 (keyboard-coding-system): Mark ignored arguments.
6016 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6017 * help.el (resize-temp-buffer-window):
6018 * window.el (display-buffer-in-major-side-window)
6019 (display-buffer-in-side-window, display-buffer-in-previous-window):
6020 Remove unused variables.
6021 * isearch.el (isearch-forward-symbol):
6022 * version.el (emacs-bzr-version-bzr):
6023 * international/mule-cmds.el (current-language-environment):
6024 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6025 (x-handle-display):
6026 * term/pc-win.el (x-list-fonts, x-display-planes)
6027 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6028 (x-server-version, x-display-screens, x-display-mm-height)
6029 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6030 (x-selection-owner-p, x-own-selection-internal)
6031 (x-disown-selection-internal, x-get-selection-internal)
6032 (msdos-initialize-window-system):
6033 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6034 * term/x-win.el (x-handle-no-bitmap-icon):
6035 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6036 (vc-default-find-file-hook, vc-default-extra-menu):
6037 Mark ignored arguments.
6038
0ca3f70e
SM
60392013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6040
6041 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6042 break-condition in the context of the debugged code (bug#12685).
6043
74c5d24c
CS
60442013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6045
6046 * comint.el:
6047 Do not use an overlay to highlight the last prompt. (Bug#14744)
6048 (comint-mode): Make comint-last-prompt buffer local.
6049 (comint-last-prompt): New variable.
6050 (comint-last-prompt-overlay): Remove. Superseded by
6051 comint-last-prompt.
0ca3f70e
SM
6052 (comint-snapshot-last-prompt, comint-output-filter):
6053 Use comint-last-prompt.
74c5d24c 6054
c03c02ee
JB
60552013-08-08 Juanma Barranquero <lekktu@gmail.com>
6056
a3738d20 6057 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6058 (frameset-save): Check validity of the resulting frameset.
6059
04263d23
XF
60602013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6061
6062 * ido.el (ido-record-command): Add doc string.
6063
76c5e5ab
JB
60642013-08-08 Juanma Barranquero <lekktu@gmail.com>
6065
6066 * frameset.el (frameset): Do not disable creation of the default
6067 frameset-p predicate. Doc fix.
6068 (frameset-valid-p): New function, copied from the old predicate-p.
6069 Add additional checks.
6070 (frameset-restore): Check with frameset-valid-p.
6071 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6072 (frameset-name, frameset-description, frameset-properties)
6073 (frameset-states): Add docstring.
f9dbf1cb
JB
6074 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6075 (frameset-filter-alist): Doc fixes.
76c5e5ab 6076
bd0c3c0b
JB
60772013-08-08 Juanma Barranquero <lekktu@gmail.com>
6078
6079 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6080
c735544c
SM
60812013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6082
6083 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6084 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6085 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6086 (byte-compile-normal-call): Remove obsolescence check.
6087
2805a651
JB
60882013-08-08 Juanma Barranquero <lekktu@gmail.com>
6089
3677ffeb
JB
6090 * frameset.el (frameset-restore): Doc fix.
6091
2805a651
JB
6092 * register.el (frameset-frame-id, frameset-frame-with-id)
6093 (frameset-p, frameset-restore, frameset-save): Declare.
6094 (register-alist): Document framesets.
6095 (frameset-session-filter-alist): Declare.
6096 (frameset-to-register): New function.
6097 (jump-to-register): Implement jumping to framesets. Doc fix.
6098 (describe-register-1): Describe framesets.
6099
6100 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6101
a912c016
JB
61022013-08-07 Juanma Barranquero <lekktu@gmail.com>
6103
6104 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6105 Use lexical-binding.
6106
6107 * frameset.el (frameset): Use type vector, not list (incompatible
6108 change). Do not declare a new constructor, use the default one.
6109 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6110 `name' and `description', respectively, and add read-only slot
6111 `timestamp'. Doc fixes.
6112 (frameset-copy, frameset-persistent-filter-alist)
6113 (frameset-filter-alist, frameset-switch-to-gui-p)
6114 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6115 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6116 (frameset-filter-iconified, frameset-keep-original-display-p):
6117 Doc fixes.
6118 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6119 Rename from frameset-filter-(save|restore)-param. All callers changed.
6120 Doc fix.
6121 (frameset-p): Adapt to change to vector and be more thorough.
6122 Change arg name to OBJECT. Doc fix.
6123 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6124 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6125 All callers changed.
6126 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6127 All callers changed.
6128 (frameset--record-minibuffer-relationships): Rename from
6129 frameset--process-minibuffer-frames. All callers changed.
6130 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6131 Use new default constructor (again). Doc fix.
6132 (frameset--find-frame-if): Rename from `frameset--find-frame.
6133 All callers changed.
6134 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6135 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6136 Doc fix.
6137 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6138 PARAMETERS and WINDOW-STATE, respectively.
6139 (frameset-restore): Add new keyword argument PREDICATE.
6140 Reset frameset--target-display to nil. Doc fix.
6141
bb41480a
SM
61422013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6143
f001e98e
SM
6144 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6145 (bat-mode): Use it.
6146 (bat-mode-syntax-table): Mark \n as end-of-comment.
6147 (bat-font-lock-keywords): Remove comment rule.
6148
7679edb1
SM
6149 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6150 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6151
bb41480a
SM
6152 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6153 (byte-compile-callargs-warn): Use `push'.
6154 (byte-compile-arglist-warn): Ignore higher-order "calls".
6155 (byte-compile-file-form-autoload): Use `pcase'.
6156 (byte-compile-function-form): If quoting a symbol, check that it exists.
6157
cdc1ebb9
EZ
61582013-08-07 Eli Zaretskii <eliz@gnu.org>
6159
6160 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6161 and add a few popular commands found in batch files.
6162 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6163 (dos-mode): Doc fixes.
6164
312b1740
SM
61652013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6166
6167 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6168 (dos-mode): Use setq-local. Add space after "rem".
6169 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6170 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6171
400a3178
AM
61722013-08-07 Arni Magnusson <arnima@hafro.is>
6173
6174 * progmodes/dos.el: New file.
6175 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6176 dos-mode.
6177
3b5c03d3
GM
61782013-08-06 Glenn Morris <rgm@gnu.org>
6179
6180 * calendar/calendar.el: Add new faces, and day-header-array.
6181 (calendar-weekday-header, calendar-weekend-header)
6182 (calendar-month-header): New faces.
6183 (calendar-day-header-construct): New function.
6184 (calendar-day-header-width): Also :set calendar-day-header-array.
6185 (calendar-american-month-header, calendar-european-month-header)
6186 (calendar-iso-month-header): Use calendar- faces.
6187 (calendar-generate-month):
6188 Use calendar-day-header-array for day headers; apply faces to them.
6189 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6190 (calendar-abbrev-construct): Add optional maxlen argument.
6191 (calendar-day-name-array): Doc fix.
6192 (calendar-day-name-array, calendar-abbrev-length)
6193 (calendar-day-abbrev-array):
6194 Also :set calendar-day-header-array, and maybe redraw.
6195 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6196 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6197 (calendar-day-name): Add option to use header array.
6198
ec6a2d7a
LMI
61992013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6200
6201 * net/shr.el (shr-render-td): Remove debugging.
6202 (shr-render-td): Make width computation consistent by defaulting
6203 all zero-width columns to 10 characters. This may not be optimal,
6204 but it's at least consistent.
2122cb6d
LMI
6205 (shr-make-table-1): Redo last change to fix the real problem in
6206 colspan handling.
ec6a2d7a 6207
ed4fd9c5
DA
62082013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6209
0ca3f70e
SM
6210 * files.el (cache-long-line-scans):
6211 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6212
64e22afe
JB
62132013-08-06 Juanma Barranquero <lekktu@gmail.com>
6214
024b38fc
JB
6215 * frameset.el (frameset, frameset-filter-alist)
6216 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6217 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6218 (frameset-compute-pos): Rename from frameset--compute-pos,
6219 and add docstring.
6220 (frameset-move-onscreen): Use frameset-compute-pos.
6221 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6222
64e22afe
JB
6223 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6224 Fix typos in docstrings.
6225
c8c2aca8
DA
62262013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6227
6228 * frame.el (get-other-frame): Tiny cleanup.
6229
1d237bba
JB
62302013-08-06 Juanma Barranquero <lekktu@gmail.com>
6231
8951efef
JB
6232 * vc/vc.el (vc-default-ignore-completion-table):
6233 Silence byte-compiler warning.
6234
307764cc
JB
6235 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6236 slot , which can indeed be nil.
6237 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6238 Move entry for `left' from persistent to live filter alist.
6239 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6240 Doc fixes.
6241 (frameset-filter-params): When restoring a frame, copy items added to
6242 `filtered', to avoid unwittingly modifying the original parameters.
6243 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6244 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6245
1d237bba
JB
6246 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6247 to use looking-at-p instead of looking-at. (Bug#15028)
6248
dc6c0eda
SM
62492013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 Revert introduction of isearch-filter-predicates (bug#14714).
6252 Rely on add-function instead.
6253 * isearch.el (isearch-filter-predicates): Rename it back to
6254 isearch-filter-predicate.
6255 (isearch-message-prefix): Use advice-function-mapc and advice
6256 properties to get the isearch-message-prefix.
6257 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6258 instead of run-hook-with-args-until-failure.
6259 (isearch-filter-visible): Not obsolete any more.
6260 * loadup.el: Preload nadvice.
6261 * replace.el (perform-replace): Revert to funcall
6262 instead of run-hook-with-args-until-failure.
6263 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6264 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6265 dired-isearch-filenames-toggle; make it into a proper minor mode.
6266 Use add/remove-function.
6267 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6268 Call the minor-mode rather than add/remove-hook.
6269 (dired-isearch-filter-filenames):
6270 Remove isearch-message-prefix property.
6271 * info.el (Info--search-loop): New function, extracted from Info-search.
6272 Funcall isearch-filter-predicate instead of
6273 run-hook-with-args-until-failure isearch-filter-predicates.
6274 (Info-search): Use it.
6275 (Info-mode): Use isearch-filter-predicate instead of
6276 isearch-filter-predicates.
6277
290d5b58
DA
62782013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6279
6280 Do not call to `selected-window' where it is assumed by default.
6281 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6282 `window-hscroll', `window-width', `window-height', `window-buffer',
6283 `window-frame', `window-start', `window-point', `next-window'
6284 and `window-display-table'.
6285 * abbrev.el (abbrev--default-expand):
6286 * bs.el (bs--show-with-configuration):
6287 * buff-menu.el (Buffer-menu-mouse-select):
6288 * calc/calc.el (calc):
6289 * calendar/calendar.el (calendar-generate-window):
6290 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6291 (diary-make-entry):
6292 * comint.el (send-invisible, comint-dynamic-complete-filename)
6293 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6294 * completion.el (complete):
6295 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6296 * disp-table.el (describe-current-display-table):
6297 * doc-view.el (doc-view-insert-image):
6298 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6299 * ehelp.el (with-electric-help):
6300 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6301 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6302 * emacs-lisp/helper.el (Helper-help-scroller):
6303 * emulation/cua-base.el (cua--post-command-handler-1):
6304 * eshell/esh-mode.el (eshell-output-filter):
6305 * ffap.el (ffap-gnus-wrapper):
6306 * help-macro.el (make-help-screen):
6307 * hilit-chg.el (highlight-compare-buffers):
6308 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6309 * hl-line.el (global-hl-line-highlight):
6310 * icomplete.el (icomplete-simple-completing-p):
6311 * isearch.el (isearch-done):
6312 * jit-lock.el (jit-lock-stealth-fontify):
6313 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6314 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6315 * mpc.el (mpc-tagbrowser, mpc):
6316 * net/rcirc.el (rcirc-any-buffer):
6317 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6318 * play/landmark.el (landmark-max-width, landmark-max-height):
6319 * play/zone.el (zone):
6320 * progmodes/compile.el (compilation-goto-locus):
6321 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6322 * progmodes/etags.el (find-tag-other-window):
6323 * progmodes/fortran.el (fortran-column-ruler):
6324 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6325 * progmodes/verilog-mode.el (verilog-point-text):
6326 * reposition.el (reposition-window):
6327 * rot13.el (toggle-rot13-mode):
6328 * server.el (server-switch-buffer):
6329 * shell.el (shell-dynamic-complete-command)
6330 (shell-dynamic-complete-environment-variable):
6331 * simple.el (insert-buffer, set-selective-display)
6332 (delete-completion-window):
6333 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6334 (speedbar-recenter):
6335 * startup.el (fancy-splash-head):
6336 * textmodes/ispell.el (ispell-command-loop):
6337 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6338 * tutorial.el (help-with-tutorial):
6339 * vc/add-log.el (add-change-log-entry):
6340 * vc/compare-w.el (compare-windows):
6341 * vc/ediff-help.el (ediff-indent-help-message):
6342 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6343 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6344 (ediff-setup-control-frame):
6345 * vc/emerge.el (emerge-position-region):
6346 * vc/pcvs-util.el (cvs-bury-buffer):
6347 * window.el (walk-windows, mouse-autoselect-window-select):
6348 * winner.el (winner-set-conf, winner-undo): Related users changed.
6349
38276e01
JB
63502013-08-05 Juanma Barranquero <lekktu@gmail.com>
6351
6352 * frameset.el (frameset--set-id): Doc fix.
6353 (frameset-frame-id, frameset-frame-id-equal-p)
6354 (frameset-locate-frame-id): New functions.
6355 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6356 (frameset-restore): Use them.
6357
12b4c0ea
DA
63582013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6359
6360 Do not call to `selected-frame' where it is assumed by default.
6361 Affected functions are `raise-frame', `redraw-frame',
6362 `frame-first-window', `frame-terminal' and `delete-frame'.
6363 * calendar/appt.el (appt-disp-window):
6364 * epg.el (epg-wait-for-completion):
6365 * follow.el (follow-delete-other-windows-and-split)
6366 (follow-avoid-tail-recenter):
6367 * international/mule.el (set-terminal-coding-system):
6368 * mail/rmail.el (rmail-mail-return):
6369 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6370 * progmodes/f90.el (f90-add-imenu-menu):
6371 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6372 * server.el (server-switch-buffer):
6373 * simple.el (delete-completion-window):
6374 * talk.el (talk):
6375 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6376 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6377 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6378 * vc/ediff.el (ediff-documentation): Related users changed.
6379 * frame.el (selected-terminal): Remove the leftover.
6380
17f25e76
GM
63812013-08-05 Glenn Morris <rgm@gnu.org>
6382
6383 * calendar/calendar.el (calendar-generate-month):
6384 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6385 (calendar-generate-month, calendar-font-lock-keywords):
6386 Fix for calendar-day-header-width > length of any day name.
17f25e76 6387
063233c3
JB
63882013-08-05 Juanma Barranquero <lekktu@gmail.com>
6389
6390 * desktop.el (desktop-clear): Use new name of sort predicate.
6391
6392 * frameset.el (frameset): Add docstring. Move :version property to its
6393 own `version' slot.
6394 (frameset-copy): Rename from copy-frameset.
6395 (frameset-p): Check more thoroughly.
6396 (frameset-prop): Do not check for :version, which is no longer a prop.
6397 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6398 Use new :never value instead of t.
6399 (frameset-filter-alist): Expand and clarify docstring.
6400 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6401 (frameset-filter-minibuffer, frameset-filter-save-param)
6402 (frameset-filter-restore-param, frameset-filter-iconified):
6403 Add pointer to docstring of frameset-filter-alist.
6404 (frameset-filter-params): Rename filter values to be more meaningful:
6405 :never instead of t, and reverse the meanings of :save and :restore.
6406 (frameset--process-minibuffer-frames): Clarify error message.
6407 (frameset-save): Avoid unnecessary and confusing call to framep.
6408 Use new BOA constructor for framesets.
6409 (frameset--reuse-list): Doc fix.
6410 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6411 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6412 (frameset-minibufferless-first-p): Doc fix.
6413 Rename from frameset-sort-frames-for-deletion.
6414 (frameset-restore): Doc fixes. Use new function names.
6415 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6416
d5671a82
JB
64172013-08-04 Juanma Barranquero <lekktu@gmail.com>
6418
6419 * desktop.el (desktop-restore-forces-onscreen)
6420 (desktop-restore-reuses-frames): Document :keyword constant values.
6421 (desktop-filter-parameters-alist): Remove, now identical to
6422 frameset-filter-alist.
6423 (desktop--filter-tty*): Remove, moved to frameset.el.
6424 (desktop-save-frameset, desktop-restore-frameset):
6425 Do not pass :filters argument.
6426
6427 * frameset.el (frameset-live-filter-alist)
6428 (frameset-persistent-filter-alist): New variables.
6429 (frameset-filter-alist): Use them. Add autoload cookie.
6430 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6431 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6432 `frameset--id' (it's supposed to be internal to frameset.el).
6433 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6434 (frameset--initial-params): New function.
6435 (frameset--get-frame): Use it. Doc fix.
6436 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6437 Accept :all, not 'all.
6438 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6439 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6440 with fbound symbols. Fix frame id matching, and remove matching ids if
6441 the frame being restored is deleted. Obey :delete.
6442
671d5c16
SM
64432013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 * subr.el (macrop): New function.
6446 (text-clone--maintaining): New var.
6447 (text-clone--maintain): Rename from text-clone-maintain. Use it
6448 instead of inhibit-modification-hooks.
6449
6450 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6451 a proxy, so as handle autoloads and redefinitions of the target.
6452 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6453
6454 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6455 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6456 (pcase--mutually-exclusive-p): New function.
6457 (pcase--split-consp): Use it.
6458 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6459 mutually exclusive with the current predicate.
6460
6461 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6462 (edebug-macrop): Remove. Use `macrop' instead.
6463 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6464 (ad-macro-p):
6465 * eshell/esh-cmd.el (eshell-macrop):
6466 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6467
1d44e9dc
SM
64682013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6469
6470 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6471 (advice-mapc): New function, using it.
6472 (advice-function-member-p): New function.
6473 (advice--normalize): Store the cdr in advice--saved-rewrite since
6474 that's the part that will be changed.
6475 (advice--symbol-function): New function.
6476 (advice-remove): Handle removal before the function is defined.
6477 Adjust to new advice--saved-rewrite.
6478 (advice-member-p): Use advice-function-member-p and
6479 advice--symbol-function.
6480
5414a283
JB
64812013-08-04 Juanma Barranquero <lekktu@gmail.com>
6482
51d30f2c
JB
6483 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6484 (frameset-filter-minibuffer): Doc fix.
6485 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6486 (frameset--set-id, frameset--process-minibuffer-frames)
6487 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6488 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6489
5414a283
JB
6490 * desktop.el (desktop-clear): Only delete frames when called
6491 interactively and desktop-restore-frames is non-nil. Doc fix.
6492 (desktop-read): Set desktop-saved-frameset to nil.
6493
ab419665
XF
64942013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6495
6496 * vc/vc.el (vc-ignore): Rewrite.
6497 (vc-default-ignore-completion-table):
6498 (vc--read-lines):
6499 (vc--add-line, vc--remove-regexp): New functions.
6500
6501 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6502 (vc-svn-ignore-completion-table): New function.
6503
6504 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6505 (vc-hg-ignore-completion-table):
6506 (vc-hg-find-ignore-file): New functions.
6507
6508 * vc/vc-git.el (vc-git-ignore): Rewrite.
6509 (vc-git-ignore-completion-table):
6510 (vc-git-find-ignore-file): New functions.
6511
6512 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6513
6514 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6515 (vc-bzr-ignore-completion-table):
6516 (vc-bzr-find-ignore-file): New functions.
6517
2613dea2
JB
65182013-08-03 Juanma Barranquero <lekktu@gmail.com>
6519
6520 * frameset.el (frameset-prop): New function and setter.
6521 (frameset-save): Do not modify frame list passed by the caller.
6522
9c959872
SM
65232013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6524
6525 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6526
a104f656
SM
65272013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6528
70122acf
SM
6529 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6530 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6531
a104f656
SM
6532 * custom.el (custom-initialize-default, custom-initialize-set)
6533 (custom-initialize-reset, custom-initialize-changed): Affect the
6534 toplevel-default-value (bug#6275, bug#14586).
6535 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6536 for bug#6275.
6537
f078d570
JB
65382013-08-02 Juanma Barranquero <lekktu@gmail.com>
6539
185e3b5a
JB
6540 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6541 Add cl-def* expressions.
6542
f078d570
JB
6543 * frameset.el (frameset-filter-params): Fix order of arguments.
6544
9421876d
JB
65452013-08-02 Juanma Barranquero <lekktu@gmail.com>
6546
6547 Move code related to saving frames to frameset.el.
6548 * desktop.el: Require frameset.
6549 (desktop-restore-frames): Doc fix.
6550 (desktop-restore-reuses-frames): Rename from
6551 desktop-restoring-reuses-frames.
6552 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6553 (desktop-clear): Clear frames too.
6554 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6555 (desktop--filter-tty*, desktop-save, desktop-read):
6556 Use frameset functions.
6557 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6558 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6559 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6560 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6561 (desktop--process-minibuffer-frames, desktop-save-frames)
6562 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6563 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6564 (desktop--sort-states, desktop-restoring-frames-p)
6565 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6566 (desktop-restoring-frameset-p, desktop-restore-frameset)
6567 (desktop--check-dont-save, desktop-save-frameset): New functions.
6568 (desktop--app-id): New constant.
6569 (desktop-first-buffer, desktop-buffer-ok-count)
6570 (desktop-buffer-fail-count): Move before first use.
6571 * frameset.el: New file.
6572
76dc5996
SM
65732013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6574
6575 * files.el: Use lexical-binding.
6576 (dir-locals-read-from-file): Remove unused `err' variable.
6577 (hack-dir-local-variables--warned-coding): New var.
6578 (hack-dir-local-variables): Use it to avoid repeated warnings.
6579 (make-backup-file-name--default-function): New function.
6580 (make-backup-file-name-function): Use it as default.
6581 (buffer-stale--default-function): New function.
6582 (buffer-stale-function): Use it as default.
6583 (revert-buffer-insert-file-contents--default-function): New function.
6584 (revert-buffer-insert-file-contents-function): Use it as default.
6585 (insert-directory): Avoid add-to-list.
6586
6587 * autorevert.el (auto-revert-handler): Simplify.
6588 Use buffer-stale--default-function.
6589
06d36e2b
TH
65902013-08-01 Tassilo Horn <tsdh@gnu.org>
6591
5f648ab4
TH
6592 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6593
06d36e2b
TH
6594 * whitespace.el (whitespace-ensure-local-variables): New function.
6595 (whitespace-cleanup-region): Call it.
6596 (whitespace-turn-on): Call it.
6597
a43dc424
MA
65982013-08-01 Michael Albinus <michael.albinus@gmx.de>
6599
6600 Complete file name handlers.
6601
6602 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6603 (tramp-handle-verify-visited-file-modtime)
6604 (tramp-handle-file-notify-rm-watch): New functions.
6605 (tramp-call-process): Do not bind `default-directory'.
6606
44e18199
JB
6607 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6608 Order alphabetically.
a43dc424
MA
6609 [access-file, add-name-to-file, dired-call-process]:
6610 [dired-compress-file, file-acl, file-notify-rm-watch]:
6611 [file-ownership-preserved-p, file-selinux-context]:
6612 [make-directory-internal, make-symbolic-link, set-file-acl]:
6613 [set-file-selinux-context, set-visited-file-modtime]:
6614 [verify-visited-file-modtime]: Add handler.
6615 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6616
6617 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6618 [file-notify-add-watch, file-notify-rm-watch]:
6619 [set-file-times, set-visited-file-modtime]:
6620 [verify-visited-file-modtime]: Add handler.
6621 (with-tramp-gvfs-error-message)
6622 (tramp-gvfs-handle-set-visited-file-modtime)
6623 (tramp-gvfs-fuse-file-name): Remove.
6624 (tramp-gvfs-handle-file-notify-add-watch)
6625 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6626 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6627
44e18199
JB
6628 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6629 Order alphabetically.
a43dc424
MA
6630 [file-notify-rm-watch ]: Use default Tramp handler.
6631 [executable-find]: Remove private handler.
6632 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6633 `default-directory'.
6634 (tramp-sh-handle-executable-find)
6635 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6636 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6637 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6638 Do not use `format' in `tramp-message'.
6639
6640 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6641 [file-notify-rm-watch, set-visited-file-modtime]:
6642 [verify-visited-file-modtime]: Add handler.
6643 (tramp-smb-call-winexe): Do not bind `default-directory'.
6644
7188b515
XF
66452013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6646
6647 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6648
2412ee1a
DG
66492013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6650
6651 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6652 use it.
6653 (log-view-diff-changeset): Same.
6654 (log-view-diff-common): Call backend command `previous-revision'
6655 to find out the previous revision, in both cases. Swap the
6656 variables `to' and `fr', so that `fr' usually refers to the
6657 earlier revision (Bug#14989).
6658
5002a754
KRC
66592013-07-31 Kan-Ru Chen <kanru@kanru.info>
6660
6661 * ibuf-ext.el (ibuffer-filter-by-filename):
6662 Make it work with dired buffers too.
6663
44e18199 66642013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6665
6666 * emacs-lisp/re-builder.el (reb-color-display-p):
6667 * files.el (save-buffers-kill-terminal):
6668 * net/browse-url.el (browse-url):
6669 * server.el (server-save-buffers-kill-terminal):
6670 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6671 Prefer nil to selected-frame for the first arg of frame-parameter.
6672
aeca3fbb
XF
66732013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6674
6675 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6676
158bc55c
SB
66772013-07-30 Stephen Berman <stephen.berman@gmx.net>
6678
6679 * minibuffer.el (completion--twq-all): Try and preserve each
6680 completion's case choice (bug#14907).
6681
d50fceab
LMI
66822013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6683
ac38e731
LMI
6684 * net/network-stream.el (open-network-stream): Mention the new
6685 :nogreeting parameter.
6686 (network-stream-open-starttls): Use the :nogreeting parameter
6687 (bug#14938).
6688
1211de50
LMI
6689 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6690
997798bf
LMI
6691 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6692 more natural than popping.
6693
d50fceab 6694 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6695 (shr-urlify): Highlight under mouse.
d50fceab 6696
5c09de04
XF
66972013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6698
207d1d04
XF
6699 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6700
6701 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6702
5c09de04
XF
6703 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6704 buffer for output.
6705
3cd51eaa
XF
6706 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6707 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6708
44e18199 6709 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6710 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6711
6712 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6713
6714 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6715 buffer for output.
6716
35a89bdd
EZ
67172013-07-29 Eli Zaretskii <eliz@gnu.org>
6718
6719 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6720 initial frame is minibuffer-less. (Bug#14841)
6721
78822e94
MA
67222013-07-29 Michael Albinus <michael.albinus@gmx.de>
6723
6724 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6725 option.
6726
6727 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6728 (tramp-maybe-open-connection): Use it.
6729
9503c190
JB
67302013-07-28 Juanma Barranquero <lekktu@gmail.com>
6731
6732 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6733 minimal set of parameters passed when creating a frame, because
6734 the minibuffer status of a frame cannot be changed later.
6735
d5a845b4
SB
67362013-07-28 Stephen Berman <stephen.berman@gmx.net>
6737
6738 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6739 replace-regexp-in-string and inadvertent omissions in previous change.
6740 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6741 name of filtered items buffer.
d5a845b4 6742
ddeffb17
JB
67432013-07-28 Juanma Barranquero <lekktu@gmail.com>
6744
6745 * desktop.el: Optionally force offscreen frames back onscreen.
6746 (desktop-restoring-reuses-frames): New option.
6747 (desktop--compute-pos, desktop--move-onscreen): New functions.
6748 (desktop--make-frame): Use desktop--move-onscreen.
6749
f5950f7a
AM
67502013-07-27 Alan Mackenzie <acm@muc.de>
6751
6752 Fontify a Java generic method as a function.
6753 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6754 value to t.
6755
ae43b66a
SB
67562013-07-27 Stephen Berman <stephen.berman@gmx.net>
6757
6758 * calendar/todo-mode.el: Add command to rename todo files.
6759 (todo-rename-file): New command.
6760 (todo-key-bindings-t): Add key binding for it. Change the
6761 bindings of todo-filter-regexp-items(-multifile) to use `x'
6762 instead of `r', since the latter is better suited to the new
6763 renaming command.
6764
5ab78d3d
AM
67652013-07-27 Alan Mackenzie <acm@muc.de>
6766
6767 Make Java try-with-resources statement parse properly.
6768 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6769 (c-block-stmt-1-2-key): New language constants/variables.
6770 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6771 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6772 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6773 with c-block-stmt-1-2-key.
5ab78d3d 6774
d85c4d50
JB
67752013-07-27 Juanma Barranquero <lekktu@gmail.com>
6776
6777 * desktop.el (desktop--make-frame): Apply most frame parameters after
6778 creating the frame to force (partially or totally) offscreen frames to
6779 be restored as such.
6780
e4c467f9
XF
67812013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6782
6783 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6784 (Bug#14948)
e4c467f9 6785
7ced0d04
SM
67862013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6787
6788 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6789 `base' arg of backtrace-frame.
6790
fec92060
EZ
67912013-07-26 Eli Zaretskii <eliz@gnu.org>
6792
6793 * simple.el (list-processes): Doc fix.
6794
d58d31fb
JB
67952013-07-26 Juanma Barranquero <lekktu@gmail.com>
6796
6797 * desktop.el (desktop--select-frame):
d85c4d50 6798 Try harder to reuse existing frames.
d58d31fb 6799
53ff3e77
SM
68002013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6801
6802 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6803 (edebug-eval): Use backtrace-eval.
6804 (edebug--display, edebug--recursive-edit): Don't let-bind the
6805 edebug-outer-* vars that keep track of variables we locally let-bind.
6806 (edebug-outside-excursion): Don't restore outside values of locally
6807 let-bound vars.
6808 (edebug--display): Use user-error.
6809 (cl-lexical-debug, cl-debug-env): Remove.
6810
045f7a53
JB
68112013-07-26 Juanma Barranquero <lekktu@gmail.com>
6812
6813 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6814 are restored to be sure that they are visible before deleting any
6815 remaining ones.
6816
59070b32
MM
68172013-07-26 Matthias Meulien <orontee@gmail.com>
6818
742a3501
XF
6819 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6820 vc-print-root-log. (Bug#14948)
59070b32 6821
b1fb3596
RS
68222013-07-26 Richard Stallman <rms@gnu.org>
6823
6824 Add aliases for encrypting mail.
6825 * epa.el (epa-mail-aliases): New option.
6826 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6827 Bind inhibit-read-only so read-only text doesn't ruin everything.
6828 (epa-mail-default-recipients): New subroutine broken out.
6829 Handle epa-mail-aliases.
6830
56ea7291
SM
68312013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6832
6833 Add support for lexical variables to the debugger's `e' command.
6834 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6835 vars, except for debugger-outer-match-data.
6836 (debugger-frame-number): Move check for "on a function call" from
6837 callers into it. Add `skip-base' argument.
6838 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6839 (debugger-env-macro): Only reset the state stored in non-variables,
6840 i.e. current-buffer and match-data.
6841 (debugger-eval-expression): Rewrite using backtrace-eval.
6842 * subr.el (internal--called-interactively-p--get-frame): Remove.
6843 (called-interactively-p):
6844 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6845 `base' arg of backtrace-frame instead.
6846
15ac32d5
GM
68472013-07-26 Glenn Morris <rgm@gnu.org>
6848
8358a09d
GM
6849 * align.el (align-regexp): Doc fix. (Bug#14857)
6850 (align-region): Explicit error if subexpression missing/does not match.
6851
15ac32d5
GM
6852 * simple.el (global-visual-line-mode):
6853 Do not duplicate the mode lighter. (Bug#14858)
6854
f47ad11b
MR
68552013-07-25 Martin Rudalics <rudalics@gmx.at>
6856
6857 * window.el (display-buffer): In display-buffer bind
6858 split-window-keep-point to t, bug#14829.
6859
02530987
JB
68602013-07-25 Juanma Barranquero <lekktu@gmail.com>
6861
6862 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6863 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6864 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6865 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6866 Change accordingly.
f63ebeb5
JB
6867 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6868 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6869
6ccb9cab 68702013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6871
6ccb9cab 6872 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6873
cb3a56d2
JB
68742013-07-25 Juanma Barranquero <lekktu@gmail.com>
6875
6876 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6877 parameter to modify-frame-parameters if the value has not changed;
6878 this is a workaround for bug#14949.
6879 (desktop--make-frame): On cl-delete-if call, check parameter name,
6880 not full parameter.
6881
7aa7fff0
XF
68822013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6883
6884 * vc/vc.el (vc-ignore): New function.
6885
6886 * vc/vc-svn.el (vc-svn-ignore): New function.
6887
6888 * vc/vc-hg.el (vc-hg-ignore): New function.
6889
6890 * vc/vc-git.el (vc-git-ignore): New function.
6891
6892 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6893 (vc-dir-ignore): New function.
6894
6895 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6896 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6897
6898 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6899
6900 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6901
889acc5c
JB
69022013-07-24 Juanma Barranquero <lekktu@gmail.com>
6903
6904 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6905 (desktop-restore-frames): Warn when deleting an existing frame failed.
6906
86c40970
GM
69072013-07-24 Glenn Morris <rgm@gnu.org>
6908
6909 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6910
d5d3c58a
MA
69112013-07-24 Michael Albinus <michael.albinus@gmx.de>
6912
6913 * filenotify.el (file-notify-supported-p):
6914 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6915 Remove functions.
6916
6917 * autorevert.el (auto-revert-use-notify):
6918 (auto-revert-notify-add-watch):
6919 * net/tramp.el (tramp-file-name-for-operation):
6920 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6921 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6922 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6923 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6924 Remove `file-notify-supported-p' entry.
6925
d100084b
GM
69262013-07-24 Glenn Morris <rgm@gnu.org>
6927
6928 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6929 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6930
ac93e56b
SM
69312013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6932
249eea30
SM
6933 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6934 checked with memq (bug#14935).
6935
ac93e56b
SM
6936 * files.el (revert-buffer-function): Use a non-nil default.
6937 (revert-buffer-preserve-modes): Declare var to
6938 provide access to the `preserve-modes' argument.
6939 (revert-buffer): Let-bind it.
6940 (revert-buffer--default): New function, extracted from revert-buffer.
6941
2cdeb903
SM
69422013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6943
6944 * lpr.el: Signal print errors more prominently.
6945 (print-region-function): Don't default to nil.
6946 (lpr-print-region): New function, extracted from print-region-1.
6947 Check lpr's return value and signal an error in case of problem.
6948 (print-region-1): Use it.
6949 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6950 versions instead.
6951 (ps-printer-name): Default to nil.
6952 (ps-printer-name-option): Default to lpr-printer-switch.
6953 (ps-print-region-function): Don't default to nil.
6954 (ps-postscript-code-directory): Simplify default.
6955 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6956 (ps-string-list, ps-eval-switch, ps-flatten-list)
6957 (ps-flatten-list-1): Remove.
6958 (ps-multibyte-buffer): Avoid setq.
6959 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6960 (print-region-function, ps-print-region-function): Don't set them here.
6961
73600831
XF
69622013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6963
0e55c076
XF
6964 * ido.el (ido-fractionp):
6965 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6966 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6967 (ido-max-directory-size, ido-max-dir-file-cache)
6968 (ido-decorations): Doc fix.
6969
73600831
XF
6970 * ansi-color.el: Fix old URL.
6971
3d012865
MM
69722013-07-23 Michael R. Mauger <michael@mauger.com>
6973
e903c210 6974 * progmodes/sql.el: Version 3.3
3d012865
MM
6975 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6976 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6977 (sql-interactive-remove-continuation-prompt): Rewrite, use
6978 functions above. Fix continuation prompt and complete output line
6979 handling.
6980 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6981 redirected output buffer.
6982 (sql-mode): Restore deleted code (Bug#13591).
6983
da77a2e2
JB
69842013-07-23 Juanma Barranquero <lekktu@gmail.com>
6985
6986 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6987
80ff0c71
MA
69882013-07-23 Michael Albinus <michael.albinus@gmx.de>
6989
6990 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6991
6992 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6993 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6994 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6995
b61d71e4
JB
69962013-07-23 Juanma Barranquero <lekktu@gmail.com>
6997
6998 * desktop.el (desktop-clear): Simplify; remove useless checks
6999 against invalid buffer names.
7000 (desktop-list*): Use cl-list*.
7001 (desktop-buffer-info, desktop-create-buffer): Simplify.
7002
c3512092
LL
70032013-07-23 Leo Liu <sdl.web@gmail.com>
7004
7005 * bookmark.el (bookmark-make-record): Restore NAME as a default
7006 value. (Bug#14933)
7007
0ac26976
SM
70082013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7009
7d22ce18
SM
7010 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7011 extracted from autoload--insert-text.
7012 (autoload--insert-text): Remove.
7013 (autoload--print-cookie-text): New function, extracted from
7014 autoload--insert-cookie-text.
7015 (autoload--insert-cookie-text): Remove.
7016 (autoload-generate-file-autoloads): Adjust calls accordingly.
7017
9b2607e8
SM
7018 * winner.el (winner-hook-installed-p): Remove.
7019 (winner-mode): Simplify accordingly.
7020
c43a8618
SM
7021 * subr.el (add-to-list): Fix compiler-macro when `append' is
7022 not constant. Don't use `cl-member' for the base case.
7023
0ac26976
SM
7024 * progmodes/subword.el: Fix boundary case (bug#13758).
7025 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7026 own group.
7027 (subword-backward-regexp): Make it a constant.
7028 (subword-forward-internal): Don't treat a trailing capital as the
7029 beginning of a word.
7030
6874724a
AR
70312013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7032
7033 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7034 global value of tabulated-list-revert-hook (bug#14930).
7035
70f1b5e8
JB
70362013-07-22 Juanma Barranquero <lekktu@gmail.com>
7037
a1c80d9d
JB
7038 * desktop.el: Require 'cl-lib.
7039 (desktop-before-saving-frames-functions): New hook.
7040 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7041 for frames being saved. Rename from desktop--save-minibuffer-frames.
7042 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7043 Do not save frames with non-nil `desktop-dont-save' parameter.
7044 Filter out deleted frames.
a1c80d9d
JB
7045 (desktop--find-frame): Use cl-find-if.
7046 (desktop--select-frame): Use cl-(first|second|third) to access values
7047 of desktop-mini.
7048 (desktop--make-frame): Use cl-delete-if.
7049 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7050 (desktop-restore-frames): Use cl-(first|second|third) to access values
7051 of desktop-mini. Look for visible frame at the end, not while
7052 restoring frames.
7053
70f1b5e8
JB
7054 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7055 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7056 Use string-match-p, looking-at-p (bug#14927).
7057
728dc3cc
JB
70582013-07-21 Juanma Barranquero <lekktu@gmail.com>
7059
56bc453c
JB
7060 * desktop.el (desktop-saved-frame-states):
7061 Rename from desktop--saved-states; all users changed.
7062 (desktop-save-frames): Rename from desktop--save-frames.
7063 Do not save state to desktop file.
7064 (desktop-save): Save desktop-saved-frame-states to desktop file
7065 and reset to nil.
7066 (desktop-restoring-frames-p): New function.
7067 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7068 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7069 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7070
728dc3cc
JB
7071 * desktop.el: Correctly restore iconified frames.
7072 (desktop--filter-iconified-position): New function.
7073 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7074
862f1c9c
GM
70752013-07-20 Glenn Morris <rgm@gnu.org>
7076
c4074c9f
GM
7077 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7078 Let `message' do the formatting.
7079 (def-gdb-preempt-display-buffer): Add explicit format.
7080
d828e5f9
GM
7081 * image-dired.el (image-dired-track-original-file):
7082 Use with-current-buffer.
7083 (image-dired-track-thumbnail): Use with-current-buffer.
7084 Avoid changing point of wrong window.
7085
862f1c9c
GM
7086 * image-dired.el (image-dired-track-original-file):
7087 Avoid changing point of wrong window. (Bug#14909)
7088
f0398ec1 70892013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7090
7091 * progmodes/gdb-mi.el (gdb-done-or-error):
7092 Guard against "%" in gdb output. (Bug#14127)
7093
1451928f
AS
70942013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7095
763a086d
JB
7096 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7097 (Bug#14826)
f7a03897 7098
1451928f
AS
7099 * international/mule.el (coding-system-iso-2022-flags): Fix last
7100 change.
7101
99107004
KH
71022013-07-20 Kenichi Handa <handa@gnu.org>
7103
763a086d
JB
7104 * international/mule.el (coding-system-iso-2022-flags):
7105 Add `8-bit-level-4'. (Bug#8522)
99107004 7106
48494e06
LMI
71072013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7108
8ba8eec5
LMI
7109 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7110 (bug#14815).
7111
dfbc66e3
LMI
7112 * net/eww.el (eww-process-text-input): Allow inputting when the
7113 point is at the start of the line, as the properties aren't
7114 front-sticky.
7115
48494e06
LMI
7116 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7117 degenerate widths.
7118
77c92cb9
RS
71192013-07-19 Richard Stallman <rms@gnu.org>
7120
aec7da77
RS
7121 * epa.el (epa-popup-info-window): Doc fix.
7122
77c92cb9
RS
7123 * subr.el (split-string): New arg TRIM.
7124
945c5bb1
JB
71252013-07-18 Juanma Barranquero <lekktu@gmail.com>
7126
7127 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7128 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7129
e06ec67f
MA
71302013-07-18 Michael Albinus <michael.albinus@gmx.de>
7131
c7064f05 7132 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7133 `file-notify-support'. Do not autoload. Adapt all uses.
7134 (file-notify-supported-p): New defun.
7135
c7064f05
JB
7136 * autorevert.el (auto-revert-use-notify):
7137 Use `file-notify-supported-p' instead of `file-notify-support'.
7138 Adapt docstring.
e06ec67f
MA
7139 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7140
7141 * net/tramp.el (tramp-file-name-for-operation):
7142 Add `file-notify-supported-p'.
7143
7144 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7145 New defun.
7146 (tramp-sh-file-name-handler-alist): Add it as handler for
7147 `file-notify-supported-p '.
7148
7149 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7150 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7151 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7152 Add `ignore' as handler for `file-notify-*' functions.
7153
5dc8a629
EZ
71542013-07-17 Eli Zaretskii <eliz@gnu.org>
7155
7156 * simple.el (line-move-partial, line-move): Don't start vscroll or
7157 scroll-up if the current line is not taller than the window.
7158 (Bug#14881)
7159
77aea2fb
DG
71602013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7161
7162 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7163 highlight question marks in the method names as strings.
ac72c08d
DG
7164 (ruby-block-beg-keywords): Inline.
7165 (ruby-font-lock-keyword-beg-re): Extract from
7166 `ruby-font-lock-keywords'.
77aea2fb 7167
18c26d81
JD
71682013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7169
7170 * frame.el (blink-cursor-blinks): New defcustom.
7171 (blink-cursor-blinks-done): New defvar.
7172 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7173 (blink-cursor-timer-function): Check if number of blinks has been
7174 done on X and NS.
7175 (blink-cursor-suspend, blink-cursor-check): New defuns.
7176
da48522e
GM
71772013-07-15 Glenn Morris <rgm@gnu.org>
7178
7179 * edmacro.el (edmacro-format-keys): Fix previous change.
7180
0463c1ef
PE
71812013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7182
7183 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7184 The hack didn't work outside English locales anyway.
7185
b43f6451
JB
71862013-07-15 Juanma Barranquero <lekktu@gmail.com>
7187
7188 * simple.el (define-alternatives): Rename from alternatives-define,
7189 per RMS' suggestion.
7190
b958c0ad
JB
71912013-07-14 Juanma Barranquero <lekktu@gmail.com>
7192
7193 * desktop.el (desktop-restore-frames): Change default to t.
7194 (desktop-restore-in-current-display): Now offer more options.
7195 (desktop-restoring-reuses-frames): New customization option.
7196 (desktop--saved-states): Doc fix.
7197 (desktop-filter-parameters-alist): New variable, renamed and expanded
7198 from desktop--excluded-frame-parameters.
7199 (desktop--target-display): New variable.
7200 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7201 (desktop--filter-tty*, desktop--filter-*-color)
7202 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7203 (desktop--filter-save-desktop-parm)
7204 (desktop-restore-in-original-display-p): New functions.
7205 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7206 (desktop--save-minibuffer-frames): New function, inspired by a similar
7207 function from Martin Rudalics.
7208 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7209 (desktop--restore-in-this-display-p): Remove.
7210 (desktop--find-frame): Rename from desktop--find-frame-in-display
7211 and add predicate argument.
7212 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7213 (desktop--reuse-list): New variable.
7214 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7215 New functions.
7216 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7217
f6dd8b36
MA
72182013-07-14 Michael Albinus <michael.albinus@gmx.de>
7219
7220 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7221
2ce3c565
DG
72222013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7223
763a086d
JB
7224 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7225 Highlight conversion methods on Kernel.
2ce3c565 7226
2cdb7698
AM
72272013-07-13 Alan Mackenzie <acm@muc.de>
7228
7229 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7230 and comment it out. This out-commenting enables certain C++
7231 declarations to be parsed correctly.
7232
1a67b811
EZ
72332013-07-13 Eli Zaretskii <eliz@gnu.org>
7234
1b796d6b
EZ
7235 * international/mule.el (define-coding-system): Doc fix.
7236
1a67b811
EZ
7237 * simple.el (default-font-height): Don't call font-info if the
7238 frame's default font didn't change since the frame was created.
7239 (Bug#14838)
7240
58fbe886
LL
72412013-07-13 Leo Liu <sdl.web@gmail.com>
7242
7243 * ido.el (ido-read-file-name): Guard against non-symbol value.
7244
1f0480d4
FEG
72452013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7246
7247 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7248 in nested defuns.
7249
97ead0e5
LL
72502013-07-13 Leo Liu <sdl.web@gmail.com>
7251
7252 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7253 ido-set-matches call. (Bug#6852)
7254
0880a952
DG
72552013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7256
7257 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7258 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7259 Ruby 2.0.
7260 (ruby-font-lock-keywords): Distinguish calls to functions with
7261 module-like names from module references. Highlight character
7262 literals.
7263
a7d8babb
SDJ
72642013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7265
7266 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7267 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7268
acfcc8c5
JB
72692013-07-12 Juanma Barranquero <lekktu@gmail.com>
7270
7271 * desktop.el (desktop--v2s): Remove unused local variable.
7272 (desktop-save-buffer): Make defvar-local; adjust docstring.
7273 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7274 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7275
051f2775
AS
72762013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7277
7278 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7279
f24e7572
GM
72802013-07-12 Eli Zaretskii <eliz@gnu.org>
7281
7282 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7283 (Bug#14842)
7284
539a920c
GM
72852013-07-12 Glenn Morris <rgm@gnu.org>
7286
7287 * doc-view.el: Require cl-lib at runtime too.
7288 (doc-view-remove-if): Remove.
7289 (doc-view-search-next-match, doc-view-search-previous-match):
7290 Use cl-remove-if.
7291
7292 * edmacro.el: Require cl-lib at runtime too.
7293 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7294 (edmacro-mismatch, edmacro-subseq): Remove.
7295
7296 * shadowfile.el: Require cl-lib.
7297 (shadow-remove-if): Remove.
7298 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7299 Use cl-remove-if.
7300
7301 * wid-edit.el: Require cl-lib.
7302 (widget-choose): Use cl-remove-if.
7303 (widget-remove-if): Remove.
7304
7305 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7306 (ebrowse-delete-if-not): Remove.
7307 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7308 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7309 Use cl-delete-if-not.
7310
1048af7c
JB
73112013-07-12 Juanma Barranquero <lekktu@gmail.com>
7312
7313 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7314 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7315
6c0674ee
LL
73162013-07-12 Leo Liu <sdl.web@gmail.com>
7317
7318 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7319
a19b3c2d
GM
73202013-07-11 Glenn Morris <rgm@gnu.org>
7321
4582a01c
GM
7322 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7323 (edebug-gensym-index, edebug-gensym):
7324 Remove reimplementation of cl-gensym.
7325 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7326
7327 * thumbs.el: Require cl-lib at run-time too.
7328 (thumbs-gensym-counter, thumbs-gensym):
7329 Remove reimplementation of cl-gensym.
7330 (thumbs-temp-file): Use cl-gensym.
7331
a19b3c2d
GM
7332 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7333 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7334 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7335 (ert--union, ert--gensym-counter, ert--gensym-counter)
7336 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7337 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7338 (ert-make-test-unbound, ert--expand-should-1)
7339 (ert--expand-should, ert--should-error-handle-error)
7340 (should-error, ert--explain-equal-rec)
7341 (ert--plist-difference-explanation, ert-select-tests)
7342 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7343 Use cl-lib functions rather than reimplementations.
7344
88f6a933
MA
73452013-07-11 Michael Albinus <michael.albinus@gmx.de>
7346
7347 * net/tramp.el (tramp-methods): Extend docstring.
7348 (tramp-connection-timeout): New defcustom.
7349 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7350 (with-tramp-progress-reporter): Simplify.
7351 (tramp-process-actions): Improve messages.
7352
7353 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7354 * net/tramp-sh.el (tramp-maybe-open-connection):
7355 Use `tramp-connection-timeout'.
7356 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7357 (Bug#14808)
7358
a43d577e
LL
73592013-07-11 Leo Liu <sdl.web@gmail.com>
7360
7361 * ido.el (ido-read-file-name): Conform to the requirements of
7362 read-file-name. (Bug#11861)
7363 (ido-read-directory-name): Conform to the requirements of
7364 read-directory-name.
7365
d77974bf
JB
73662013-07-11 Juanma Barranquero <lekktu@gmail.com>
7367
7368 * subr.el (delay-warning): New function.
7369
35cb8a3e
EZ
73702013-07-10 Eli Zaretskii <eliz@gnu.org>
7371
7372 * simple.el (default-line-height): New function.
7373 (line-move-partial, line-move): Use it instead of computing the
7374 line height inline.
7375 (line-move-partial): Always compute ROWH. If the last line is
7376 partially-visible, but its text is completely visible, allow
7377 cursor to enter such a partially-visible line.
7378
525c5c77
MA
73792013-07-10 Michael Albinus <michael.albinus@gmx.de>
7380
7381 Improve error messages. (Bug#14808)
7382
7383 * net/tramp.el (tramp-current-connection): New defvar, moved from
7384 tramp-sh.el.
0ac26976 7385 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7386 needed anymore.
0ac26976
SM
7387 (tramp-error-with-buffer): Show message in minibuffer.
7388 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7389 (with-tramp-progress-reporter): Improve messages.
7390 (tramp-process-actions): Use progress reporter. Delete process in
7391 case of error. Improve messages.
7392
763a086d
JB
7393 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7394 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7395 (tramp-current-connection): Remove.
525c5c77
MA
7396 (tramp-maybe-open-connection): The car of
7397 `tramp-current-connection' are the first 3 slots of the vector.
7398
c7a4d368
TZ
73992013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7400
7401 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7402 inside continued strings.
7403
954b166e
PE
74042013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7405
7406 Timestamp fixes for undo (Bug#14824).
7407 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7408
56973319
LL
74092013-07-10 Leo Liu <sdl.web@gmail.com>
7410
7411 * files.el (require-final-newline): Allow safe local value.
7412 (Bug#14834)
7413
5550a72c
LL
74142013-07-09 Leo Liu <sdl.web@gmail.com>
7415
7416 * ido.el (ido-read-directory-name): Handle fallback.
7417 (ido-read-file-name): Update DIR to ido-current-directory.
7418 (Bug#1516)
c28b9050 7419 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7420
70c46b28
DG
74212013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7422
7423 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7424 "autoload". Remove "warn lower camel case" section, previously
7425 commented out. Highlight negation char. Do not highlight the
7426 target in singleton method definitions.
7427
0b64b838
SM
74282013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7fd72e2c
SM
7430 * faces.el (tty-setup-hook): Declare the hook.
7431
0b64b838
SM
7432 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7433 and detect when a guard/pred depends on local vars (bug#14773).
7434 (pcase--u1): Adjust caller.
7435
ab49d60b
EZ
74362013-07-08 Eli Zaretskii <eliz@gnu.org>
7437
7438 * simple.el (line-move-partial, line-move): Account for
7439 line-spacing.
701d79aa
EZ
7440 (line-move-partial): Avoid setting vscroll when the last
7441 partially-visible line in window is of default height.
ab49d60b 7442
2d756ae0
LMI
74432013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7444
7445 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7446 been used a while.
7447
ed095bd7
JB
74482013-07-07 Juanma Barranquero <lekktu@gmail.com>
7449
7450 * subr.el (read-quoted-char): Remove unused local variable `char'.
7451
f1e6674b
MK
74522013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7453
584ee3fc
GM
7454 * ediff.el (ediff-version): Version update.
7455 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7456 (ediff-merge-with-ancestor-command, ediff-directories-command)
7457 (ediff-directories3-command, ediff-merge-directories-command)
7458 (ediff-merge-directories-with-ancestor-command): New functions.
7459 All are command-line interfaces to ediff: to facilitate calling
7460 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7461
7462 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7463 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7464
584ee3fc
GM
7465 * viper.el (viper-version): Version update.
7466 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7467
584ee3fc
GM
74682013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7469
7470 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7471 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7472 (viper-intercept-ESC-key): Simplify.
7473 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7474 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7475 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7476 (viper-setup-ESC-to-escape): New functions.
7477 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7478 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7479
9aff9b38
EZ
74802013-07-07 Eli Zaretskii <eliz@gnu.org>
7481
5165d44a
JB
7482 * simple.el (default-font-height, window-screen-lines):
7483 New functions.
9aff9b38
EZ
7484 (line-move, line-move-partial): Use them instead of
7485 frame-char-height and window-text-height. This makes scrolling
7486 text smoother when the buffer's default face uses a font that is
7487 different from the frame's default font.
7488
1afb1d07
JD
74892013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7490
7491 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7492 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7493
23de972a
EZ
74942013-07-06 Eli Zaretskii <eliz@gnu.org>
7495
7496 * simple.el (line-move-partial): Adjust the row returned by
7497 posn-at-point for the current window-vscroll. (Bug#14567)
7498
54a42486
MA
74992013-07-06 Michael Albinus <michael.albinus@gmx.de>
7500
7501 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7502 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7503 spaces.
7504
34ada5f4
MR
75052013-07-06 Martin Rudalics <rudalics@gmx.at>
7506
7507 * window.el (window-state-put-stale-windows): New variable.
7508 (window--state-put-2): Save list of windows without matching buffer.
7509 (window-state-put): Remove "bufferless" windows if possible.
7510
11e03d89
JB
75112013-07-06 Juanma Barranquero <lekktu@gmail.com>
7512
7513 * simple.el (alternatives-define): Remove leftover :group keyword.
7514 Tweak docstring.
7515
3504a4be
LL
75162013-07-06 Leo Liu <sdl.web@gmail.com>
7517
7518 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7519 (ido-enable-virtual-buffers): New variable.
7520 (ido-buffer-internal, ido-toggle-virtual-buffers)
7521 (ido-make-buffer-list): Use it.
7522 (ido-exhibit): Support turning on and off virtual buffers
7523 automatically.
7524
61e56e2c
JB
75252013-07-06 Juanma Barranquero <lekktu@gmail.com>
7526
7527 * simple.el (alternatives-define): New macro.
7528
321e1a9c
SM
75292013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7530
7531 * subr.el (read-quoted-char): Use read-key.
7532 (sit-for): Let read-event decode tty input (bug#14782).
7533
d610f6dd
SB
75342013-07-05 Stephen Berman <stephen.berman@gmx.net>
7535
7536 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7537 mode command and externally. Fix various related bugs.
7538 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7539 (todo-delete-file): New command.
7540 (todo-check-file): New function.
7541 (todo-show): Handle external deletion of the file we're trying to
7542 show (bug#14688). Replace called-interactively-p by an optional
7543 prefix argument to avoid problematic interaction with catch form
7544 when byte compiled (bug#14702).
7545 (todo-quit): Handle external deletion of the archive's todo file.
7546 Make sure the buffer that was visiting the archive file is still
7547 live before trying to bury it.
7548 (todo-category-completions): Handle external deletion of any
7549 category completion files.
7550 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7551 of todo files, in case of external deletion.
7552 (todo-add-file): Replace unnecessary setq by let-binding.
7553 (todo-find-archive): Check whether there are any archives.
7554 Replace unnecessary setq by let-binding.
7555 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7556 archive buffer whether or not the archive already exists.
7557 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7558 check if the archive is new; if it is, update list of archives.
7559 (todo-default-todo-file): Allow nil to be a valid value for when
7560 there are no todo files.
7561 (todo-reevaluate-default-file-defcustom): Use corrected definition
7562 of todo-default-todo-file.
7563 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7564 (todo-delete-category, todo-show-categories-table)
7565 (todo-category-number): Clarify comment.
7566 (todo-filter-items): Clarify documentation string.
7567 (todo-show-current-file, todo-display-as-todo-file)
7568 (todo-reset-and-enable-done-separator): Tweak documentation string.
7569 (todo-done-separator): Make separator length window-width, since
7570 bug#2749 is now fixed.
7571
ddbdfd6f
MA
75722013-07-05 Michael Albinus <michael.albinus@gmx.de>
7573
321e1a9c
SM
7574 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7575 Support both "gvfs-monitor-dir" and "inotifywait".
7576 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7577 `tramp-sh-file-notify-process-filter'.
7578 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7579 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7580
96eb829a
LL
75812013-07-05 Leo Liu <sdl.web@gmail.com>
7582
7583 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7584
cf13177e
YM
75852013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7586
7587 * frame.el (display-pixel-height, display-pixel-width)
7588 (display-mm-height, display-mm-width): Mention behavior on
7589 multi-monitor setups in docstrings.
7590 (w32-display-monitor-attributes-list): Declare function.
7591 (display-monitor-attributes-list): Use it.
7592
864c58ca
MA
75932013-07-04 Michael Albinus <michael.albinus@gmx.de>
7594
7595 * filenotify.el: New package.
7596
7597 * autorevert.el (top): Require filenotify.el.
7598 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7599 instead.
7600 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7601 (auto-revert-notify-handler): Use `file-notify-*' functions.
7602
7603 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7604
321e1a9c
SM
7605 * net/tramp.el (tramp-file-name-for-operation):
7606 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7607
7608 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7609 for `file-notify-add-watch' and `file-notify-rm-watch'.
7610 (tramp-process-sentinel): Improve trace.
7611 (tramp-sh-handle-file-notify-add-watch)
7612 (tramp-sh-file-notify-process-filter)
7613 (tramp-sh-handle-file-notify-rm-watch)
7614 (tramp-get-remote-inotifywait): New defuns.
7615
96673afe
JL
76162013-07-03 Juri Linkov <juri@jurta.org>
7617
7618 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7619 call of `occur-read-primary-args' to interactive spec.
7620
7621 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7622 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7623
924494f4
MM
76242013-07-03 Matthias Meulien <orontee@gmail.com>
7625
7626 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7627 `Buffer-menu-multi-occur'. Add it to the menu.
7628 (Buffer-menu-mode): Document it in docstring.
7629 (Buffer-menu-multi-occur): New command. (Bug#14673)
7630
56f75efc
DG
76312013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7632
7633 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7634 keywords and built-ins.
7635
9b057d61
GM
76362013-07-03 Glenn Morris <rgm@gnu.org>
7637
208dee4d
GM
7638 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7639
9b057d61
GM
7640 Make info-xref checks case-sensitive by default
7641 * info.el (Info-find-node, Info-find-in-tag-table)
7642 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7643 Add option for exact case matching of nodes.
7644 * info-xref.el (info-xref): New custom group.
7645 (info-xref-case-fold): New option.
7646 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7647
e01aa29c
LL
76482013-07-03 Leo Liu <sdl.web@gmail.com>
7649
7650 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7651
3086ca2e
DG
76522013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7653
7654 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7655 middle of block statement initially, lower the depth. Remove
7656 FIXME comment, not longer valid. Remove middle of block statement
7657 detection, no need to do that anymore since we've been using
7658 `ruby-parse-region' here.
7659
a3b49114
JD
76602013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7661
7662 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7663
08e5c823 76642013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7665
7666 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7667
2addf922
JB
76682013-07-01 Juanma Barranquero <lekktu@gmail.com>
7669
7670 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7671 (desktop-restore-in-current-display): New customization option.
7672 (desktop--excluded-frame-parameters): Add `font'.
7673 (desktop--save-frames): Rename from desktop--save-windows.
7674 (desktop--restore-in-this-display-p): New function.
7675 (desktop--make-full-frame): Remove unwanted width/height from
7676 full(width|height) frames.
7677 (desktop--restore-frames): Rename from desktop--restore-windows.
7678 Obey desktop-restore-current-display. Do not delete old frames or
7679 select a new frame unless we were able to restore at least one frame.
7680
ef099a94
MN
76812013-06-30 Michal Nazarewicz <mina86@mina86.com>
7682
7683 * files.el (find-file-noselect): Simplify conditional expression.
7684
a12bf61e 7685 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
7686 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7687
7688 Add `remember-notes' function to store random notes across Emacs
7689 restarts.
a12bf61e 7690 * textmodes/remember.el (remember-data-file): Add :set callback to affect
ef099a94
MN
7691 notes buffer (if any).
7692 (remember-notes): New command.
7693 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7694 New defcustoms for the `remember-notes' function.
7695 (remember-notes-save-and-bury-buffer): New command.
7696 (remember-notes-mode-map): New variable.
7697 (remember-mode): New minor mode.
7698 (remember-notes--kill-buffer-query): New function.
7699 * startup.el (initial-buffer-choice): Add notes to custom type.
7700
0865d506
EZ
77012013-06-30 Eli Zaretskii <eliz@gnu.org>
7702
0ba54312
EZ
7703 * bindings.el (right-char, left-char): Don't call sit-for, this is
7704 no longer needed. Use arithmetic comparison only for numerical
7705 arguments.
7706
ef099a94
MN
7707 * international/mule-cmds.el (select-safe-coding-system):
7708 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7709
2fae38e5
LMI
77102013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7711
7712 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7713 progression on degenerate tables.
ef099a94 7714 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7715
a47cbd64
JB
77162013-06-30 Juanma Barranquero <lekktu@gmail.com>
7717
7718 Some fixes and improvements for desktop frame restoration.
7719 It is still experimental and disabled by default.
7720 * desktop.el (desktop--save-windows): Put the selected frame at
7721 the head of the list.
7722 (desktop--make-full-frame): New function.
7723 (desktop--restore-windows): Try to re-select the frame that was
7724 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7725 just show an error message and continue. Set up maximized frames
7726 so they have default non-maximized dimensions.
a47cbd64 7727
6dbafa30
DG
77282013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7729
ef099a94
MN
7730 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7731 Don't start heredoc inside a string or comment.
6dbafa30 7732
4c672a0f
EZ
77332013-06-29 Eli Zaretskii <eliz@gnu.org>
7734
7735 * bindings.el (visual-order-cursor-movement): New defcustom.
7736 (right-char, left-char): Provide visual-order cursor motion by
7737 calling move-point-visually. Update the doc strings.
7738
50960f36
KH
77392013-06-28 Kenichi Handa <handa@gnu.org>
7740
7741 * international/mule.el (define-coding-system): New coding system
7742 properties :inhibit-null-byte-detection,
7743 :inhibit-iso-escape-detection, and :prefer-utf-8.
7744 (set-buffer-file-coding-system): If :charset-list property of
7745 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7746 appropriate for setting.
7747
c1ea3abf
JB
7748 * international/mule-cmds.el (select-safe-coding-system):
7749 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7750 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7751
7752 * international/mule-conf.el (prefer-utf-8): New coding system.
7753 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7754 files.
7755
75dbaf9d
IK
77562013-06-28 Ivan Kanis <ivan@kanis.fr>
7757
eadb6068
IK
7758 * net/shr.el (shr-render-region): New function.
7759
75dbaf9d
IK
7760 * net/eww.el: Autoload `eww-browse-url'.
7761
9ea5cf9f
DG
77622013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7763
c1ea3abf
JB
7764 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7765 Adapt to `package-desc-version' being a list.
7766 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7767 archive element.
7768
39c0e36f
JB
77692013-06-27 Juanma Barranquero <lekktu@gmail.com>
7770
7771 New experimental feature to save&restore window and frame setup.
7772 * desktop.el (desktop-save-windows): New defcustom.
7773 (desktop--saved-states): New var.
7774 (desktop--excluded-frame-parameters): New defconst.
7775 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7776 (desktop--restore-windows, desktop--save-windows): New functions.
7777 (desktop-save): Call `desktop--save-windows'.
7778 (desktop-read): Call `desktop--restore-windows'.
7779
7f13406b
LMI
77802013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7781
ef099a94 7782 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7783
1e072639
SB
77842013-06-27 Stephen Berman <stephen.berman@gmx.net>
7785
7786 * info.el (Info-try-follow-nearest-node): Move search for footnote
7787 above search for node name to prevent missing a footnote (bug#14717).
7788
f3e2cbde
SB
77892013-06-27 Stephen Berman <stephen.berman@gmx.net>
7790
7791 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7792
99906aa0
LL
77932013-06-27 Leo Liu <sdl.web@gmail.com>
7794
7795 * net/eww.el (eww-read-bookmarks): Check file size.
7796
539f75f4
SM
77972013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7798
7799 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7800 advice--pending if newdef is nil or an autoload (bug#13820).
7801 (advice-mapc): New function.
7802
843571cb
LMI
78032013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7804
7805 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7806 probably.
23a75d7f 7807 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7808 (eww-add-bookmark): New command.
7809 (eww-bookmark-mode): New mode and commands.
a285ce99 7810 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7811 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7812
f2136e1e
GM
78132013-06-26 Glenn Morris <rgm@gnu.org>
7814
eab35f39
GM
7815 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7816 (hfy-size): Handle ttys. (Bug#14668)
7817
f2136e1e
GM
7818 * info-xref.el: Update for Texinfo 5 change in *note format.
7819 (info-xref-node-re, info-xref-note-re): New constants.
7820 (info-xref-check-buffer): Use info-xref-note-re.
7821
a49ff80c
SM
78222013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7823
a343d218
SM
7824 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7825
a49ff80c
SM
7826 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7827 nil terminate the loop (bug#14718).
7828
8308f184
LMI
78292013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7830
7831 * net/eww.el: Rework history traversal. When going forward/back,
7832 put these actions into the history, too, so that they can be
7833 replayed.
26bf2b82 7834 (eww-render): Move the history reset to the correct buffer.
8308f184 7835
ec64c273
JL
78362013-06-25 Juri Linkov <juri@jurta.org>
7837
7838 * files-x.el (modify-dir-local-variable): Change the header comment
7839 in the file with directory local variables. (Bug#14692)
7840
e080a9d7
JL
7841 * files-x.el (read-file-local-variable-value): Add `default'.
7842 (Bug#14710)
7843
bfbc93a1
IK
78442013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7845
7846 * net/eww.el (eww-make-unique-file-name): Create a unique file
7847 name before saving to entering `y' accidentally asynchronously.
7848
78492013-06-25 Ivan Kanis <ivan@kanis.fr>
7850
7851 * net/eww.el (eww-download): New command and keystroke.
7852
16f74f10
LMI
78532013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7854
a49ff80c 7855 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7856
7857 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7858 be more consistent with Info and dired.
7859
7860 * net/eww.el (eww-mode-map): Ditto.
7861
12059709
SM
78622013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7863
7864 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7865 packages from archives.
7866 (package-archive-contents): Change format; include obsolete packages.
7867 (package-desc): Use `dir' to mark builtin packages.
7868 (package--from-builtin): Set the `dir' field to `builtin'.
7869 (generated-autoload-file, version-control): Declare.
7870 (package-compute-transaction): Change first arg and return value to be
7871 lists of package-descs. Adjust to new package-archive-contents format.
7872 (package--add-to-archive-contents): Adjust to new
7873 package-archive-contents format.
7874 (package-download-transaction): Arg is now a list of package-descs.
7875 (package-install): If `pkg' is a package name, pass it as
7876 a requirement, so it is subject to the usual (e.g. disabled) checks.
7877 (describe-package): Accept package-desc as well.
7878 (describe-package-1): Describe a specific package-desc. Add links to
7879 other package-descs for the same package name.
7880 (package-menu-describe-package): Pass the actual package-desc.
7881 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7882 works correctly.
7883 (package-desc-status): New function.
7884 (package-menu--refresh): New function, extracted
7885 from package-menu--generate.
7886 (package-menu--generate): Use it.
7887 (package-delete): Update package-alist.
7888 (package-menu-execute): Don't call package-initialize.
7889
7890 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7891 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7892 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7893 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7894 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7895 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7896
8bbdea0f
MR
78972013-06-25 Martin Rudalics <rudalics@gmx.at>
7898
7899 * window.el (window--state-get-1): Workaround for bug#14527.
7900 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7901
e82b0991
LMI
79022013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7903
7904 * net/eww.el (eww-back-url): Implement the history by stashing all
7905 the data into a list.
d3f0f918 7906 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7907
c763842b
SM
79082013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7909
7910 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7911 for values and use read--expression for expressions (bug#14710).
7912 (read-file-local-variable): Avoid setq.
7913 (read-file-local-variable-mode): Use minor-mode-list.
7914
bceff189
RW
79152013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7916
864c58ca 7917 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7918 for DOI URLs.
7919
45f431c6
RW
79202013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7921
864c58ca 7922 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7923 Update imenu-support when dialect changes.
7924
f42d8237
LL
79252013-06-25 Leo Liu <sdl.web@gmail.com>
7926
7927 * ido.el (ido-read-internal): Allow forward slash on windows.
7928
be549ce6
LMI
79292013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7930
7931 * net/eww.el (eww): Start of strings is \\`, not ^.
7932
71d4c19d
IK
79332013-06-24 Ivan Kanis <ivan@kanis.fr>
7934
5196f88a
IK
7935 * net/shr.el (shr-browse-url): Fix interactive spec.
7936
71d4c19d
IK
7937 * net/eww.el (eww): Add a trailing slash to domain names.
7938
ae36ca55
JB
79392013-06-24 Juanma Barranquero <lekktu@gmail.com>
7940
7941 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7942
0ebd92a3
LMI
79432013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7944
bdaa086b
LMI
7945 * net/shr.el (shr-browse-url): Use an external browser if given a
7946 prefix.
7947
c763842b 7948 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7949
b89fc156
IK
79502013-06-24 Ivan Kanis <ivan@kanis.fr>
7951
7952 * net/eww.el (eww): Work more correctly for file: URLs.
7953 (eww-detect-charset): Allow quoted charsets.
7954 (eww-yank-page-url): New command and keystroke.
7955
18eb4bca
DU
79562013-06-24 Daiki Ueno <ueno@gnu.org>
7957
7958 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7959 file name of gpg executable.
7960 (epg-context-program): New function.
7961 (epg-context-home-directory): New function.
7962 (epg-context-set-program): New function.
7963 (epg-context-set-home-directory): New function.
7964 (epg--start): Use `epg-context-program' instead of
7965 'epg-gpg-program'.
7966 (epg--list-keys-1): Likewise.
7967
6c6268c8
LL
79682013-06-24 Leo Liu <sdl.web@gmail.com>
7969
7970 * ido.el (ido-read-internal): Fix bug#14620.
7971
5e400cb3
JB
79722013-06-23 Juanma Barranquero <lekktu@gmail.com>
7973
7974 * faces.el (face-documentation): Simplify.
7975 (read-face-attribute, tty-find-type, x-resolve-font-name):
7976 Use `string-match-p'.
7977 (list-faces-display): Use `string-match-p'. Simplify.
7978 (face-spec-recalc): Check face to avoid face alias loops.
7979 (read-color): Use `string-match-p' and non-capturing parenthesis.
7980
f3f9606c
LMI
79812013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7982
7983 * net/shr.el (shr-rescale-image): Use the new
7984 :max-width/:max-height functionality.
7985
a3ca09b9
IK
79862013-06-23 Ivan Kanis <ivan@kanis.fr>
7987
7988 * net/eww.el (eww-search-prefix): New variable.
7989 (eww): Use it.
f865b474
IK
7990 (eww-external-browser): New variable.
7991 (eww-mode-map): New keystroke.
7992 (eww-browse-with-external-browser): New command.
a3ca09b9 7993
e854cfc7
IK
7994 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7995
18bb9e21
JB
79962013-06-23 Juanma Barranquero <lekktu@gmail.com>
7997
7998 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7999 Don't skip aligning the next header field when padding is 0;
8000 otherwise, field width is not respected unless the title is as
8001 wide as the field.
8002
5b165ade
SM
80032013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8004
8005 * emacs-lisp/package.el (package-el-version): Remove.
8006 (package-process-define-package): Fix inf-loop.
8007 (package-install): Allow symbols as arguments again.
8008
12adebe9
DG
80092013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8010
8011 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8012 add some more keyword-like methods.
8013 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8014
388573ee
JB
80152013-06-22 Juanma Barranquero <lekktu@gmail.com>
8016
8017 * bs.el (bs-buffer-show-mark): Make defvar-local.
8018 (bs-mode): Use setq-local.
8019
8020 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8021 (emacs-lock--try-unlocking): Make defvar-local.
8022
4582a01c 80232013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8024
2663dd23
GM
8025 * play/cookie1.el (cookie-apropos): Minor simplification.
8026
3d94f3ad
GM
8027 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8028
f72e2fdb
DG
80292013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8030
8031 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8032 `regexp-opt', it breaks the build during dumping.
8033
73eab938
DG
80342013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8035
c763842b
SM
8036 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8037 Highlight keyword-like methods on Kernel and Module with
73eab938 8038 font-lock-builtin-face.
5cf8176d
DG
8039 (auto-mode-alist): Consolidate different entries into one regexp
8040 and add more *file-s.
73eab938 8041
d26255f6
SB
80422013-06-21 Stephen Berman <stephen.berman@gmx.net>
8043
8044 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8045
8046 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8047 (diary-entry): Use it in the action of this button type instead of
8048 diary-goto-entry.
8049
8050 * calendar/todo-mode.el: New version.
8051 (todo-add-category): Append new category to end of file and give
8052 it the highest number, instead of putting it at the beginning and
8053 giving it 0. Incorporate noninteractive functionality.
8054 (todo-forward-category): Adapt to 1-based category numbering.
8055 Allow skipping over archived categories.
8056 (todo-backward-category): Derive from todo-forward-category.
8057 (todo-backward-item, todo-forward-item): Make noninteractive and
8058 delegate interactive part to new commands. Make sensitive to done items.
8059 (todo-categories): Make value an alist of category names and
8060 vectors of item counts.
8061 (todo-category-beg): Make a defconst.
8062 (todo-category-number): Use 1 instead of 0 as initial value.
8063 (todo-category-select): Make sensitive to overlays, optional item
8064 highlighting and done items.
8065 (todo-delete-item): Make sensitive to overlays and marked and done items.
8066 (todo-edit-item): Make sensitive to overlays and editing of
8067 date/time header optional. Add format checks.
8068 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8069 no-op if point is not on an item. Advertise using todo-edit-quit.
8070 (todo-edit-mode): Make sensitive to new format, font-locking, and
8071 multiple todo files.
8072 (todo-insert-item, todo-insert-item-here): Derive from
8073 todo-basic-insert-item and extend functionality.
8074 (todo-item-end, todo-item-start): Make sensitive to done items.
8075 (todo-item-string): Don't return text properties. Restore point.
8076 (todo-jump-to-category): Make sensitive to multiple todo files and
8077 todo archives. Use extended category completion.
8078 (todo-lower-item, todo-raise-item): Rename to *-priority and
8079 derive from todo-set-item-priority.
8080 (todo-mode): Derive from special-mode. Make sensitive to new
8081 format, font-locking and multiple todo files. Make read-only.
8082 (todo-mode-map): Don't suppress digit keys, so they can supply
8083 prefix arguments. Add many new key bindings.
8084 (todo-prefix): Insert as an overlay instead of file text.
8085 Change semantics from diary date expression to purely visual mark.
8086 (todo-print): Rename to todo-print-buffer. Make buffer display
8087 features printable. Remove option to restrict number of items
8088 printed. Add option to print to file.
8089 (todo-print-function): Rename to todo-print-buffer-function.
8090 (todo-quit): Extend to handle exiting new todo modes.
8091 (todo-remove-item): Make sensitive to overlays.
8092 (todo-save): Extend to buffers of filtered items.
8093 (todo-show): Make sensitive to done items, multiple todo files and
8094 new todo modes. Offer to convert legacy todo file before creating
8095 first new todo file.
8096 (todo-show-priorities): Rename to todo-top-priorities.
8097 Change semantics of value 0.
8098 (todo-top-priorities): Rename to todo-filter-top-priorities,
8099 derive from todo-filter-items and extend functionality.
8100 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8101 and extend functionality to other types of filtered items.
8102 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8103 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8104 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8105 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8106 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8107 (todo-edit-mode-hook, todo-entry-prefix-function)
8108 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8109 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8110 (todo-initials, todo-insert-threshold, todo-item-string-start)
8111 (todo-line-string, todo-menu, todo-mode-hook)
8112 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8113 (todo-print-priorities, todo-remove-separator)
8114 (todo-save-top-priorities-too, todo-string-count-lines)
8115 (todo-string-multiline-p, todo-time-string-format)
8116 (todo-tmp-buffer-name): Remove.
8117 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8118 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8119 (todo-edit-category-diary-inclusion)
8120 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8121 (todo-edit-file, todo-edit-item-date-day)
8122 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8123 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8124 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8125 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8126 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8127 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8128 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8129 (todo-filter-top-priorities-multifile, todo-find-archive)
8130 (todo-find-filtered-items-file, todo-go-to-source-item)
8131 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8132 (todo-jump-to-archive-category, todo-lower-category)
8133 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8134 (todo-move-category, todo-move-item, todo-next-button)
8135 (todo-next-item, todo-padded-string, todo-powerset)
8136 (todo-previous-button, todo-previous-item)
8137 (todo-print-buffer-to-file, todo-raise-category)
8138 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8139 (todo-set-category-number, todo-set-item-priority)
8140 (todo-set-top-priorities-in-category)
8141 (todo-set-top-priorities-in-file, todo-show-categories-table)
8142 (todo-sort-categories-alphabetically-or-numerically)
8143 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8144 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8145 (todo-toggle-item-header, todo-toggle-item-highlighting)
8146 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8147 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8148 (todo-unarchive-items, todo-unmark-category): New commands.
8149 (todo-absolute-file-name, todo-add-to-buffer-list)
8150 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8151 (todo-basic-insert-item, todo-category-completions)
8152 (todo-category-number, todo-category-string-matcher-1)
8153 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8154 (todo-check-format, todo-clear-matches)
8155 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8156 (todo-current-category, todo-date-string-matcher)
8157 (todo-define-insertion-command, todo-diary-expired-matcher)
8158 (todo-diary-goto-entry, todo-diary-item-p)
8159 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8160 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8161 (todo-done-item-section-p, todo-done-separator)
8162 (todo-done-string-matcher, todo-files, todo-filter-items)
8163 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8164 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8165 (todo-insert-category-line, todo-insert-item-from-calendar)
8166 (todo-insert-sort-button, todo-insert-with-overlays)
8167 (todo-insertion-command-name, todo-insertion-key-bindings)
8168 (todo-label-to-key, todo-longest-category-name-length)
8169 (todo-make-categories-list, todo-mode-external-set)
8170 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8171 (todo-modes-set-3, todo-multiple-filter-files)
8172 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8173 (todo-read-category, todo-read-date, todo-read-dayname)
8174 (todo-read-file-name, todo-read-time)
8175 (todo-reevaluate-category-completions-files-defcustom)
8176 (todo-reevaluate-default-file-defcustom)
8177 (todo-reevaluate-filelist-defcustoms)
8178 (todo-reevaluate-filter-files-defcustom)
8179 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8180 (todo-reset-done-separator, todo-reset-done-separator-string)
8181 (todo-reset-done-string, todo-reset-global-current-todo-file)
8182 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8183 (todo-reset-prefix, todo-set-categories)
8184 (todo-set-date-from-calendar, todo-set-show-current-file)
8185 (todo-set-top-priorities, todo-short-file-name)
8186 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8187 (todo-total-item-counts, todo-update-buffer-list)
8188 (todo-update-categories-display, todo-update-categories-sexp)
8189 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8190 New functions.
8191 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8192 New major modes.
8193 (todo-categories, todo-display, todo-edit, todo-faces)
8194 (todo-filtered): New defgroups.
8195 (todo-archived-only, todo-button, todo-category-string, todo-date)
8196 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8197 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8198 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8199 (todo-add-item-if-new-category, todo-always-add-time-string)
8200 (todo-categories-align, todo-categories-archived-label)
8201 (todo-categories-category-label, todo-categories-diary-label)
8202 (todo-categories-done-label, todo-categories-number-separator)
8203 (todo-categories-todo-label, todo-categories-totals-label)
8204 (todo-category-completions-files, todo-completion-ignore-case)
8205 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8206 (todo-done-separator-string, todo-done-string)
8207 (todo-files-function, todo-filter-done-items, todo-filter-files)
8208 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8209 (todo-initial-category, todo-initial-file, todo-item-mark)
8210 (todo-legacy-date-time-regexp, todo-mode-line-function)
8211 (todo-nondiary-marker, todo-number-prefix)
8212 (todo-print-buffer-function, todo-show-current-file)
8213 (todo-show-done-only, todo-show-first, todo-show-with-done)
8214 (todo-skip-archived-categories, todo-top-priorities-overrides)
8215 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8216 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8217 New defcustoms.
8218 (todo-category-done, todo-date-pattern, todo-date-string-start)
8219 (todo-diary-items-buffer, todo-done-string-start)
8220 (todo-filtered-items-buffer, todo-item-start)
8221 (todo-month-abbrev-array, todo-month-name-array)
8222 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8223 (todo-top-priorities-buffer): New defconsts.
8224 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8225 (todo-categories-with-marks, todo-category-string-face)
8226 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8227 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8228 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8229 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8230 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8231 (todo-font-lock-keywords, todo-global-current-todo-file)
8232 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8233 (todo-insertion-commands-args)
8234 (todo-insertion-commands-args-genlist)
8235 (todo-insertion-commands-names, todo-insertion-map)
8236 (todo-key-bindings-t, todo-key-bindings-t+a)
8237 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8238 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8239 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8240 (todo-visited): New variables.
8241
cad5d1cb
GM
82422013-06-21 Glenn Morris <rgm@gnu.org>
8243
8244 * play/cookie1.el (cookie-apropos): Add optional display argument.
8245 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8246 (psychoanalyze-pinhead): Use cookie-doctor.
8247
9e277302
JB
82482013-06-21 Juanma Barranquero <lekktu@gmail.com>
8249
8250 * emacs-lisp/package.el (tar-get-file-descriptor)
8251 (tar--extract): Declare.
8252
c5b0993e
EW
82532013-06-21 Eduard Wiebe <usenet@pusto.de>
8254
8255 Extend flymake's warning predicate to be a function (bug#14217).
8256 * progmodes/flymake.el (flymake-warning-predicate): New.
8257 (flymake-parse-line): Use it.
8258 (flymake-warning-re): Make obsolete alias to
8259 `flymake-warning-predicate'.
8260
a7d2d465
SM
82612013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8262
8263 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8264 (package-obsolete-list): Remove.
8265 (package-activate): Remove min-version argument. Add `force' argument.
8266 Adjust to new package-alist format.
8267 (package-mark-obsolete): Remove.
8268 (package-unpack): Force reload of the package's autoloads.
8269 (package-installed-p): Check builtins if the installed package is not
8270 recent enough.
8271 (package-initialize): Don't reset package-obsolete-list.
8272 Don't specify which package version to activate.
8273 (package-process-define-package, describe-package-1)
8274 (package-menu--generate): Adjust to new package-alist format.
8275
cedf5c9d
JB
82762013-06-21 Juanma Barranquero <lekktu@gmail.com>
8277
8278 * allout-widgets.el (allout-widgets-mode-off)
8279 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8280 (allout-widgets-post-command-business)
8281 (allout-widgets-after-copy-or-kill-function)
8282 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8283 (allout-decorate-item-and-context)
8284 (allout-graphics-modification-handler): Fix typos in docstrings.
8285 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8286
8287 * cmuscheme.el (scheme-start-file): Doc fix.
8288 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8289 (scheme-input-filter): Use `string-match-p'.
8290
8291 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8292
8293 * dired-x.el: Use Dired consistently in docstrings.
8294
8295 * dired.el: Use Dired consistently in docstrings.
8296 (dired-readin, dired-mode): Use `setq-local'.
8297 (dired-switches-alist): Make defvar-local.
8298 (dired-buffers-for-dir): Use `zerop'.
8299 (dired-safe-switches-p, dired-switches-escape-p)
8300 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8301 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8302 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8303 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8304 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8305 (dired-toggle-marks, dired-mark-files-containing-regexp)
8306 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8307 (dired-flag-auto-save-files, dired-flag-backup-files):
8308 Use `looking-at-p'.
8309 (dired-mark-files-regexp, dired-build-subdir-alist):
8310 Use `string-match-p', `looking-at-p'.
8311
8312 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8313 (direct-print-region-helper): Use `string-match-p'.
8314
aed838b5
LL
83152013-06-21 Leo Liu <sdl.web@gmail.com>
8316
cedf5c9d
JB
8317 * comint.el (comint-redirect-results-list-from-process):
8318 Fix infinite loop.
aed838b5 8319
d80a808f
LMI
83202013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8321
8322 * net/eww.el (eww-update-header-line-format): Quote % characters.
8323
e7a526e3
GM
83242013-06-21 Glenn Morris <rgm@gnu.org>
8325
8326 * play/cookie1.el (cookie): New custom group.
8327 (cookie-file): New option.
8328 (cookie-check-file): New function.
8329 (cookie): Make it interactive. Make start and end messages optional.
8330 Interactively, display the result. Default to cookie-file.
8331 (cookie-insert): Default to cookie-file.
8332 (cookie-snarf): Make start and end messages optional.
8333 Default to cookie-file. Use with-temp-buffer.
8334 (cookie-read): Rename from read-cookie.
8335 Make start and end messages optional. Default to cookie-file.
8336 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8337 Do not autoload it.
e7a526e3
GM
8338 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8339 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8340
62efb35e
LL
83412013-06-21 Leo Liu <sdl.web@gmail.com>
8342
8343 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8344
21e3f963
GM
83452013-06-21 Glenn Morris <rgm@gnu.org>
8346
8347 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8348
fd846ab4
SM
83492013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8350 Daniel Hackney <dan@haxney.org>
8351
8352 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8353 Consolidate the single-file vs tarball code.
8354 (package-desc-suffix): New function.
8355 (package-desc-full-name): Don't bother inlining it.
8356 (package-load-descriptor): Return the new package-desc.
8357 (package-mark-obsolete): Remove unused arg `package'.
8358 (package-unpack): Make it work for single files as well.
8359 Make it update package-alist.
8360 (package--make-autoloads-and-stuff): Rename from
8361 package--make-autoloads-and-compile. Don't compile any more.
8362 (package--compile): New function.
8363 (package-generate-description-file): New function, extracted from
8364 package-unpack-single.
8365 (package-unpack-single): Remove.
8366 (package--with-work-buffer): Add indentation and debugging info.
8367 (package-download-single): Remove.
8368 (package-install-from-archive): Rename from package-download-tar, make
8369 it take a pkg-desc, and make it work for single files as well.
8370 (package-download-transaction): Simplify.
8371 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8372 external tar program.
8373 (package-install-from-buffer): Remove `pkg-desc' argument.
8374 Use package-tar-file-info for tar-mode buffers.
8375 (package-install-file): Simplify accordingly.
8376 (package-archive-base): Change to take a pkg-desc.
8377 * tar-mode.el (tar--check-descriptor): New function, extracted from
8378 tar-get-descriptor.
8379 (tar-get-descriptor): Use it.
8380 (tar-get-file-descriptor): New function.
8381 (tar--extract): New function, extracted from tar-extract.
8382 (tar--extract): Use it.
8383 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8384 case the summary uses non-ascii. Adjust to new calling convention of
8385 package-tar-file-info.
8386
b7deae5e
LL
83872013-06-21 Leo Liu <sdl.web@gmail.com>
8388
fd846ab4
SM
8389 * comint.el (comint-redirect-results-list-from-process):
8390 Fix random delay. (Bug#14681)
b7deae5e 8391
7a65a0b2
JB
83922013-06-21 Juanma Barranquero <lekktu@gmail.com>
8393
8394 * profiler.el (profiler-format-number): Use log, not log10.
8395
1493c2af
JB
83962013-06-20 Juanma Barranquero <lekktu@gmail.com>
8397
8398 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8399
aff6371e
SM
84002013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8401
8402 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8403 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8404 yet available.
8405 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8406 (AUTOGENEL): ... here.
8407 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8408 (cl--defsubst-expand): Use it.
8409
89561f72
PE
84102013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8411
8412 * subr.el (log10): Move here from C code, and declare as obsolete.
8413 All uses of (log10 X) replaced with (log X 10).
8414
47199123
JB
84152013-06-20 Juanma Barranquero <lekktu@gmail.com>
8416
8417 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8418 Declare with `defvar-local'.
8419 (tabulated-list-use-header-line, tabulated-list-entries)
8420 (tabulated-list-padding, tabulated-list-printer)
8421 (tabulated-list-sort-key): Declare with `defvar-local'.
8422 (tabulated-list-init-header, tabulated-list-print-fake-header):
8423 Use `setq-local'.
8424
4a172eab
MA
84252013-06-20 Michael Albinus <michael.albinus@gmx.de>
8426
47199123
JB
8427 * arc-mode.el (archive-mode): Add `archive-write-file' to
8428 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8429
5fc0acc0
JB
84302013-06-20 Juanma Barranquero <lekktu@gmail.com>
8431
d5b27848
JB
8432 * cus-edit.el (custom-commands): Fix typos.
8433 (custom-display): Fix tooltip text.
8434 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8435 Fix typos in docstrings.
8436 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8437 (custom-unlispify-menu-entry, custom-magic-value-create)
8438 (custom-add-see-also, custom-group-value-create): Use ?\s.
8439 (custom-guess-type, customize-apropos, editable-field)
8440 (custom-face-value-create): Use `string-match-p'.
8441 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8442
8443 * custom.el (custom-load-symbol): Use `string-match-p'.
8444
a5c581d8
JB
8445 * ansi-color.el: Convert to lexical binding.
8446 (ansi-colors): Fix URL.
8447 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8448 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8449 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8450
970ad972
G
84512013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8452
8453 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8454
8455 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8456
84572013-06-19 Tom Tromey <tromey@redhat.com>
8458
8459 * net/eww.el (eww-top-url): Remove.
8460 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8461 (eww-render): Set new variables. Don't set eww-top-url.
8462 (eww-handle-link): Handle "prev", "home", and "contents".
8463 Downcase the rel text.
8464 (eww-top-url): Choose best top URL.
8465
84662013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8467
8468 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8469 relying in widget.el. Using widget.el leads to too many
8470 user interface inconsistencies.
8471 (eww-self-insert): Implement entering commands in text fields.
8472 (eww-process-text-input): New function to make text input field editing
8473 work.
8474 (eww-submit): Rewrite to use the new-style form methods.
8475 (eww-select-display): Display the correct selected item.
8476 (eww-change-select): Implement changing the select value.
8477 (eww-toggle-checkbox): Implement radio/checkboxes.
8478 (eww-update-field): Fix compilation error.
8479 (eww-tag-textarea): Implement <textarea>.
8480
8481 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8482 we don't shadow mode-specific bindings.
8483
8484 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8485 nothing to push.
8486
8487 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8488
4582a01c 84892013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8490
8491 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8492
15b263dc
MA
84932013-06-19 Michael Albinus <michael.albinus@gmx.de>
8494
8495 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8496 not needed.
8497
8498 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8499
8f5297f7
LMI
85002013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8501
8502 * net/browse-url.el (browse-url-browser-function):
8503 `eww-browse-url' has the right calling signature, `eww' does not.
8504
011c4552
GM
85052013-06-19 Glenn Morris <rgm@gnu.org>
8506
2285bd27
GM
8507 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8508 Only eval autoloaded macros.
8509 (byte-compile-autoload): Only give the macro warning for macros.
8510
1d653303
GM
8511 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8512 (ps-underlined-faces): Declare.
8513
bdd779ec
GM
8514 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8515 (speedbar-add-supported-extension): Declare.
8516
011c4552
GM
8517 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8518 Don't include a date stamp in the header of the generated file;
8519 it leads to needless differences between output files.
8520
e59dfb0e
MA
85212013-06-19 Michael Albinus <michael.albinus@gmx.de>
8522
c763842b
SM
8523 * net/secrets.el (secrets-struct-secret-content-type):
8524 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8525 Some servers do not offer introspection.
e59dfb0e 8526
102626e2
SM
85272013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8528
8529 * electric.el (electric-pair-mode): Improve interaction with
8530 electric-layout-mode.
8531 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8532 (electric-pair-syntax): Use text-mode-syntax-table in comments
8533 and strings.
8534 (electric-pair--insert): New function.
8535 (electric-pair-post-self-insert-function): Use it and
8536 electric--after-char-pos.
8537
ad528125
LL
85382013-06-19 Leo Liu <sdl.web@gmail.com>
8539
8540 * progmodes/octave.el (octave-help): Fix regexp.
8541
924d6997
G
85422013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8543
8544 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8545 (shr-table-horizontal-line): Allow nil as a value, and change the
8546 default.
8547 (shr-insert-table-ruler): Respect the nil value.
8548
85492013-06-18 Tom Tromey <tromey@barimba>
8550
8551 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8552 New defvars.
8553 (eww-open-file): New defun.
8554 (eww-render): Initialize new variables.
8555 (eww-display-html): Handle "link" and "a".
8556 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8557 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8558 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8559 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8560 New defuns.
924d6997 8561
d1bbba4f
DG
85622013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8563
8564 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8565 Distinguish ternary operator tokens from slash symbol and slash
8566 char literal.
8567
14dd22d2
JB
85682013-06-18 Juanma Barranquero <lekktu@gmail.com>
8569
8570 Convert symbol prettification into minor mode and global minor mode.
8571
8572 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8573 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8574 (prettify-symbols--keywords): Rename from
8575 `prog-prettify-symbols-alist' and make a local defvar.
8576 (prettify-symbols--compose-symbol): Rename from
8577 `prog--prettify-font-lock-compose-symbol'.
8578 (prettify-symbols--make-keywords): Rename from
8579 `prog-prettify-font-lock-symbols-keywords' and simplify.
8580 (prog-prettify-install): Remove.
8581 (prettify-symbols-mode): New minor mode, based on
8582 `prog-prettify-install'.
8583 (turn-on-prettify-symbols-mode): New function.
8584 (global-prettify-symbols-mode): New globalized minor mode.
8585
8586 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8587 * progmodes/cfengine.el (cfengine3-mode):
8588 * progmodes/perl-mode.el (perl-mode): Don't call
8589 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8590
292c880c
JL
85912013-06-18 Juri Linkov <juri@jurta.org>
8592
8593 * files-x.el (modify-file-local-variable-message): New function.
8594 (modify-file-local-variable)
8595 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8596 and call `modify-file-local-variable-message' when it's non-nil.
8597 (add-file-local-variable, delete-file-local-variable)
8598 (add-file-local-variable-prop-line)
8599 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8600 and use it. (Bug#9820)
8601
0950aa27
JL
86022013-06-18 Juri Linkov <juri@jurta.org>
8603
8604 * emulation/vi.el (vi-shell-op):
8605 * emulation/vip.el (vip-execute-com, ex-command):
8606 * emulation/viper-cmd.el (viper-exec-bang):
8607 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8608 the call of `shell-command-on-region'. (Bug#14637)
8609
8610 * simple.el (shell-command-on-region): Doc fix.
8611
8fbcca16
SM
86122013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8613
8614 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8615 (bug#14633).
8616
dd7426ea
GM
86172013-06-18 Glenn Morris <rgm@gnu.org>
8618
4ba54f7d
GM
8619 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8620
dd7426ea
GM
8621 * newcomment.el (comment-search-forward, comment-search-backward):
8622 Doc fix. (Bug#14376)
8623
58aa805b
JB
86242013-06-18 Juanma Barranquero <lekktu@gmail.com>
8625
8626 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8627 (buffer-face-mode-invoke): Doc fix.
8628
9a08a617
MM
86292013-06-18 Matthias Meulien <orontee@gmail.com>
8630
8631 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8632 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8633
f2f426ca
GM
86342013-06-18 Glenn Morris <rgm@gnu.org>
8635
9445f99b
GM
8636 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8637 Replace obsolete function generic-make-keywords with its expansion.
8638
e0df2d14
GM
8639 * progmodes/python.el (ffap-alist): Declare.
8640
f2f426ca
GM
8641 * textmodes/reftex.el (bibtex-mode-map): Declare.
8642
f7f9a720
SM
86432013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8646 (package-unpack, package-unpack-single): Return the pkg-dir.
8647 (package-download-transaction): Use it to update package-alist.
8648
57ff04e0
LMI
86492013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8650
8651 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8652 possible choice.
8653
c048c022
JL
86542013-06-17 Juri Linkov <juri@jurta.org>
8655
8656 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8657
b5bcaee5
DG
86582013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8659
a020afb9
JB
8660 * emacs-lisp/package.el (package-load-descriptor):
8661 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8662 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8663
551e07e5
JB
86642013-06-17 Juanma Barranquero <lekktu@gmail.com>
8665
8666 * startup.el (command-line): Expand package name returned by
8667 `package--description-file' (bug#14639).
8668
d363bffb
DG
86692013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8670
8671 * emacs-lisp/package.el (package-load-descriptor): Do not call
8672 `emacs-lisp-mode', just use its syntax table.
8673
f612933b
JB
86742013-06-17 Juanma Barranquero <lekktu@gmail.com>
8675
8676 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8677 `font-lock-extra-managed-props' if any prettifying keyword is added.
8678 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8679 (prog-mode): Use `setq-local'.
8680
db3b7db5
SM
86812013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8682
8683 * international/characters.el (standard-case-table): Set syntax of ?»
8684 and ?« to punctuation.
8685
f3d674df
JB
86862013-06-16 Juanma Barranquero <lekktu@gmail.com>
8687
8688 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8689 Save relevant match data before calling `syntax-ppss' (bug#14595).
8690
31489a32
JL
86912013-06-15 Juri Linkov <juri@jurta.org>
8692
8693 * files-x.el (modify-file-local-variable-prop-line): Add local
8694 variables to the end of the existing comment on the first line.
8695 Use `file-auto-mode-skip' to skip interpreter magic line,
8696 and also skip XML declaration.
8697
66bd25ab
SM
86982013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8699
8700 * startup.el (package--builtin-versions): New var.
8701 (package-subdirectory-regexp): Remove.
8702 (package--description-file): Hard code its value instead.
8703
8704 * emacs-lisp/package.el: Don't activate packages older than builtin.
8705 (package-obsolete-list): Rename from package-obsolete-alist, and make
8706 it into a simple list of package-desc.
8707 (package-strip-version): Remove.
8708 (package-built-in-p): Use package--builtin-versions.
8709 (package-mark-obsolete): Simplify.
8710 (package-process-define-package): Mark it obsolete if older than the
8711 builtin version.
8712 (package-handle-response): Use line-end-position.
8713 (package-read-archive-contents, package--download-one-archive):
8714 Simplify.
8715 (package--add-to-archive-contents): Skip if older than the builtin or
8716 installed version.
8717 (package-menu-describe-package): Fix last change.
8718 (package-list-unversioned): New var.
8719 (package-menu--generate): Use it.
8720
8721 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8722 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8723 (autoload-builtin-package-versions): New variable.
8724 (autoload-generate-file-autoloads): Use them.
8725 Remove the list of autoloaded functions/macros from the
8726 (autoload...) comments.
8727
8728 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8729
9583ec36
EZ
87302013-06-15 Eli Zaretskii <eliz@gnu.org>
8731
8732 * simple.el (line-move-partial): Don't jump to the next screen
8733 line as soon as it becomes visible. Instead, continue enlarging
8734 the vscroll until the portion of a tall screen line that's left on
8735 display is about the height of the frame's default font.
8736 (Bug#14567)
8737
f0100d8a
GM
87382013-06-15 Glenn Morris <rgm@gnu.org>
8739
b86a85ca
GM
8740 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8741 compilation-error-regexp-alist void, or local while let-bound.
8742
f0100d8a
GM
8743 * progmodes/make-mode.el (makefile-mode-syntax-table):
8744 Treat "=" as punctuation. (Bug#14614)
8745
05e7ce90
JB
87462013-06-15 Juanma Barranquero <lekktu@gmail.com>
8747
8748 * help-fns.el (describe-variable):
8749 Add extra line for permanent-local variables.
8750
12e5e86e
SH
87512013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8752
8753 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8754 Add export, import, library. (Bug#9164)
8755 (library): Set indent function.
8756
230dcbaf
GM
87572013-06-14 Glenn Morris <rgm@gnu.org>
8758
8759 * term/xterm.el (xterm--query):
8760 Stop after first matching handler. (Bug#14615)
8761
e36b2d20 87622013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8763
8764 Add support for dired in saveplace.
8765 * dired.el (dired-initial-position-hook): New variable.
8766 (dired-initial-position): Call hook to place cursor position.
8767 * saveplace.el (save-place-to-alist): Add dired position.
8768 (save-place-dired-hook): New function.
8769
0b31660d
SM
87702013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8771
bf1e6ae8
SM
8772 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8773 through a symbol rather than letrec.
8774
1b8dff23
SM
8775 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8776 (package-desc): Add `dir' field.
8777 (package-desc-full-name): New function.
8778 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8779 (package-maybe-load-descriptor): Remove.
8780 (package-load-all-descriptors): Just call package-load-descriptor.
8781 (package--disabled-p): New function.
8782 (package-desc-vers, package-desc-doc): Remove aliases.
8783 (package--dir): Remove function.
8784 (package-activate): Check if a package is disabled.
8785 (package-process-define-package): New function, extracted from
8786 define-package.
8787 (define-package): Turn into a place holder.
8788 (package-unpack-single, package-tar-file-info):
8789 Use package--description-file.
8790 (package-compute-transaction): Use package--disabled-p.
8791 (package-download-transaction): Don't call
8792 package-maybe-load-descriptor since they're all loaded anyway.
8793 (package-install): Change argument to be a pkg-desc.
8794 (package-delete): Use a single pkg-desc argument.
8795 (describe-package-1): Use package-desc-dir instead of package--dir.
8796 Use package-desc property instead of package-symbol.
8797 (package-install-button-action): Adjust accordingly.
8798 (package--push): Rewrite.
8799 (package-menu--print-info): Adjust accordingly. Change the ID format
8800 to be a pkg-desc.
8801 (package-menu-describe-package, package-menu-get-status)
8802 (package-menu--find-upgrades, package-menu-mark-upgrades)
8803 (package-menu-execute, package-menu--name-predicate):
8804 Adjust accordingly.
8805 * startup.el (package--description-file): New function.
8806 (command-line): Use it.
8807 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8808 Use package-desc-version.
8809
0b31660d
SM
8810 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8811 (byte-compile-preprocess): Use it.
8812 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8813 can't quite recognize.
8814 (byte-compile-add-to-list): Remove.
8815 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8816 (cconv-closure-convert): Add assertion.
8817
8818 * emacs-lisp/map-ynp.el: Use lexical-binding.
8819 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8820 Factor out some repeated code.
8821
de0503df
SM
88222013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8823
8824 * subr.el (with-eval-after-load): New macro.
8825 (eval-after-load): Allow form to be a function.
8826 take advantage of lexical-binding.
8827 (do-after-load-evaluation): Use dolist and adjust to new format.
8828 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8829
bc5c8c5a
JL
88302013-06-13 Juri Linkov <juri@jurta.org>
8831
8832 * replace.el (perform-replace): Display "symbol " and other search
8833 modes from `isearch-message-prefix' in the *Help* buffer.
8834
8835 * isearch.el (isearch-query-replace): Add " symbol" and other
8836 possible search modes from `isearch-message-prefix' to the prompt.
8837 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8838 when reading a regexp to collect.
8839
a22289f7
JL
88402013-06-13 Juri Linkov <juri@jurta.org>
8841
8842 * isearch.el (word-search-regexp): Match whitespace if the search
8843 string begins or ends in whitespace. The LAX arg is applied to
8844 both ends of the search string. Use `regexp-quote' and explicit
8845 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8846 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8847 boundaries are replaced with symbol boundaries, and characters
8848 between symbols match non-word non-symbol syntax. (Bug#14602)
8849
cb89acab
JL
88502013-06-13 Juri Linkov <juri@jurta.org>
8851
8852 * isearch.el (isearch-del-char): Don't exceed the length of
8853 `isearch-string' by the prefix arg. (Bug#14563)
8854
6e8cfc81
JL
88552013-06-13 Juri Linkov <juri@jurta.org>
8856
8857 * isearch.el (isearch-yank-word, isearch-yank-line)
8858 (isearch-char-by-name, isearch-quote-char)
8859 (isearch-printing-char, isearch-process-search-char):
8860 Add optional count prefix arg. (Bug#14563)
8861
8862 * international/isearch-x.el
8863 (isearch-process-search-multibyte-characters):
8864 Add optional count prefix arg.
8865
c23d55f4
VS
88662013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8867
8868 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8869 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8870 lexical-binding.
8871
88722013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8873
8874 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8875
ba947bc4
GM
88762013-06-13 Glenn Morris <rgm@gnu.org>
8877
8baeb37a
GM
8878 * startup.el (tty-handle-args):
8879 Don't just discard "--" and anything after. (Bug#14608)
8880
ba947bc4
GM
8881 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8882
9abefce4
MA
88832013-06-13 Michael Albinus <michael.albinus@gmx.de>
8884
8885 Implement changes in Secret Service API. Make it backward compatible.
8886 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8887 (secrets-create-item): Use it. Prefix properties with interface.
8888
5755011f
MH
88892013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8890
8891 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8892 (term-emulate-terminal): Respect term-suppress-hard-newline.
8893
1261d2da
S
88942013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8895
8896 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8897 Only remove a `thumb-file' overlay. (Bug#14548)
8898
868490bb
GJ
88992013-06-12 Grégoire Jadi <daimrod@gmail.com>
8900
8901 * mail/reporter.el (reporter-submit-bug-report):
8902 Handle missing package-name. (Bug#14600)
8903
79d7167f
TH
89042013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8905
8906 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8907 (reftex-citation-prompt, reftex-default-bibliography)
8908 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8909 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8910 (reftex-bib-sort-author, reftex-bib-sort-year)
8911 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8912 (reftex-extract-bib-entries-from-thebibliography)
8913 (reftex-get-bibkey-default, reftex-get-bib-names)
8914 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8915 (reftex-format-bib-entry, reftex-parse-bibitem)
8916 (reftex-format-bibitem, reftex-do-citation)
8917 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8918 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8919 (reftex-insert-bib-matches, reftex-format-citation)
8920 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8921 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8922 existing comments into docstrings.
8923
5f9dbd7a
XF
89242013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8925
8926 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8927
94df41ab
AS
89282013-06-12 Andreas Schwab <schwab@suse.de>
8929
8930 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8931 for auto-save files.
8932
a7f3fecc
GM
89332013-06-12 Glenn Morris <rgm@gnu.org>
8934
001809f6
GM
8935 * ido.el (ido-delete-ignored-files): Remove.
8936 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8937 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8938
834b5ded
EL
89392013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8940
08c73ed2
EL
8941 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8942
834b5ded
EL
8943 * ido.el (ido-delete-ignored-files): New function,
8944 split from ido-make-file-list-1.
8945 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8946 (ido-make-file-list-1): Use ido-delete-ignored-files.
8947
daabf15a
LL
89482013-06-12 Leo Liu <sdl.web@gmail.com>
8949
8950 * progmodes/octave.el (inferior-octave-startup)
8951 (inferior-octave-completion-table)
8952 (inferior-octave-track-window-width-change)
8953 (octave-eldoc-function-signatures, octave-help)
8954 (octave-find-definition): Use single quoted strings.
8955 (inferior-octave-startup-args): Change default value.
8956 (inferior-octave-startup): Do not hard code "-i" and
8957 "--no-line-editing".
8958 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8959 (inferior-octave-directory-tracker): Use it.
8960 (octave-goto-function-definition): Robustify.
8961 (octave-help): Support highlighting operators in 'See also'.
8962 (octave-find-definition): Find subfunctions only in Octave mode.
8963
cf4e5178
SM
89642013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8965
8966 * help-fns.el (help-fns--compiler-macro): If the handler function is
8967 named, then put a link to it.
8968 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8969 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8970 (cl-typep): Use it.
8971 (cl-eval-when): Simplify debug spec.
8972 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8973 compiler-macro function instead of setting `compiler-macro-file'.
8974
99c81280 89752013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8976
8977 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8978 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8979
f56be016
SM
89802013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8981 Daniel Hackney <dan@haxney.org>
8982
8983 First part of Daniel Hackney's patch to package.el.
8984 * emacs-lisp/package.el: Use defstruct.
8985 (package-desc): New, main struct.
8986 (package--bi-desc, package--ac-desc): New structs, used to describe the
8987 format in external files.
8988 (package-desc-vers): Replace with package-desc-version accessor.
8989 (package-desc-doc): Replace with package-desc-summary accessor.
8990 (package-activate-1): Remove `package' arg since the pkg-vec now
8991 includes the name.
8992 (define-package): Use package-desc-from-define.
8993 (package-unpack-single): Change file-name arg to be a symbol.
8994 (package--add-to-archive-contents): Use package-desc-create and new
8995 accessor functions to package--ac-desc.
8996 (package-buffer-info, package-tar-file-info): Return a package-desc.
8997 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8998 arg to be a package-desc.
8999 (package-install-file): Adjust accordingly. Use \' to match EOS.
9000 (package--from-builtin): New function.
9001 (describe-package-1, package-menu--generate): Use it.
9002 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9003 (package-generate-autoloads): Idem and return the name of the file.
9004 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9005 Change pkg-info arg to be a package-desc.
9006 Use package-make-ac-desc.
9007 (package-upload-file): Use \' to match EOS.
9008 * finder.el (finder-compile-keywords): Use package-make-builtin.
9009
31119d63
SM
90102013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9011
931a2762
SM
9012 * vc/vc.el (vc-deduce-fileset): Change error message.
9013 (vc-read-backend): New function.
9014 (vc-next-action): Use it.
9015
5a3eb0c6
SM
9016 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9017
e3eb1bb7
SM
9018 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9019 (prolog-font-lock-keywords): Use regexp-opt instead.
9020 Don't manually highlight strings.
9021 (prolog-mode-variables): Simplify comment-start-skip.
9022 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9023
31119d63
SM
9024 * emacs-lisp/generic.el (generic--normalise-comments)
9025 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9026 (generic-mode-set-comments): Use them.
9027 (generic-bracket-support): Use setq-local.
9028 (generic-make-keywords-list): Declare obsolete.
9029
7de135d0
GM
90302013-06-11 Glenn Morris <rgm@gnu.org>
9031
9032 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9033 Prettify after setting font-lock-defaults. (Bug#14574)
9034
fa6bc6fd
JB
90352013-06-11 Juanma Barranquero <lekktu@gmail.com>
9036
9037 * replace.el (query-replace, occur-read-regexp-defaults-function)
9038 (replace-search):
9039 * subr.el (declare-function, number-sequence, local-set-key)
9040 (substitute-key-definition, locate-user-emacs-file)
9041 (with-silent-modifications, split-string, eval-after-load):
9042 Fix typos, remove unneeded backslashes and reflow some docstrings.
9043
cf1f9b9a
SM
90442013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9045
9046 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9047 default for Elisp files.
9048
56602a4b
GM
90492013-06-11 Glenn Morris <rgm@gnu.org>
9050
9051 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9052 although define-derived-mode was doing this anyway. (Bug#14583)
9053
30ae0b2c
JB
90542013-06-10 Juanma Barranquero <lekktu@gmail.com>
9055
9056 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9057 Fix make-variable-buffer-local call to refer to the correct variable.
9058
fa472906
AG
90592013-06-10 Aidan Gauland <aidalgol@amuri.net>
9060
9061 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9062 (eshell-visual-subcommands, eshell-visual-options):
9063 Add summary line to docstrings. Add cross-references.
fa472906 9064
ff4871b9
GM
90652013-06-10 Glenn Morris <rgm@gnu.org>
9066
9067 * epa.el (epa-read-file-name): New function. (Bug#14510)
9068 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9069
04fcf1b0
AG
90702013-06-09 Aidan Gauland <aidalgol@amuri.net>
9071
9072 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9073 output redirection to be ignored with visual commands.
9074
88b00caa
AG
90752013-06-09 Aidan Gauland <aidalgol@amuri.net>
9076
9077 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9078 (eshell-term-initialize): Move long lambda to separate function
9079 eshell-visual-command-p.
e7b41c4c
JB
9080 * eshell/em-dirs.el (eshell-dirs-initialise):
9081 * eshell/em-script.el (eshell-script-initialize):
9082 Add missing #' to lambda.
88b00caa 9083
fda74125
LL
90842013-06-08 Leo Liu <sdl.web@gmail.com>
9085
9086 * progmodes/octave.el (octave-add-log-current-defun): New function.
9087 (octave-mode): Set add-log-current-defun-function.
9088 (octave-goto-function-definition): Do not move point if not found.
9089 (octave-find-definition): Enhance to try subfunctions first.
9090
467f3b33
GM
90912013-06-08 Glenn Morris <rgm@gnu.org>
9092
9093 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9094 (byte-compile-backward-char, byte-compile-backward-word):
9095 Improve previous change, to handle non-explicit nil.
9096
544badc3
SM
90972013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9100 (smie--opener/closer-at-point): New function.
9101 (smie--matching-block-data): Use it. Don't match from right after an
9102 opener or right before a closer. Obey smie-blink-matching-inners.
9103 Don't signal a mismatch for repeated inners like "switch..case..case".
9104
a175bf33
LL
91052013-06-07 Leo Liu <sdl.web@gmail.com>
9106
9107 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9108 to t. (Bug#14303)
ce8209d4
LL
9109 (octave-function-header-regexp): Fix. (Bug#14570)
9110 (octave-help-mode-finish-hook, octave-help-mode-finish):
9111 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9112
9113 * newcomment.el (comment-search-backward): Revert last change.
9114 (Bug#14434)
9115
9116 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9117
a822acff
EZ
91182013-06-07 Eli Zaretskii <eliz@gnu.org>
9119
9120 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9121 through xargs, to avoid failure due to MS-Windows limitations on
9122 command-line length.
9123
961166f5
GM
91242013-06-06 Glenn Morris <rgm@gnu.org>
9125
d0341459
GM
9126 * font-lock.el (lisp-font-lock-keywords-2):
9127 Treat user-error like error.
9128
961166f5
GM
9129 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9130 (byte-compile-backward-char, byte-compile-backward-word):
9131 Handle explicit nil arguments. (Bug#14565)
9132
80fa505f
AM
91332013-06-05 Alan Mackenzie <acm@muc.de>
9134
9135 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9136 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9137 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9138 (Bug#9706)
80fa505f 9139
fccdc796
SM
91402013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9141
9142 * autorevert.el (auto-revert-notify-handler): Use memq.
9143 Hide assertion failure.
9144
9145 * skeleton.el: Use cl-lib.
9146 (skeleton-further-elements): Use defvar-local.
9147 (skeleton-insert): Use cl-progv.
9148
9bfff84b
TZ
91492013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9150
9151 * progmodes/prog-mode.el (prog-prettify-symbols)
9152 (prog-prettify-install): Update docstrings.
9153
55577e7c
SM
91542013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9155
9156 * simple.el: Move all the prog-mode code to prog-mode.el.
9157 * progmodes/prog-mode.el: New file.
9158 * loadup.el: Add prog-mode.el.
9159
8fc57765
TZ
91602013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9161
9162 * simple.el (prog-prettify-symbols): Add version.
9163 (prog-prettify-install): Add convenience function to prettify symbols.
9164
9165 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9166 (perl--augmented-font-lock-keywords-1)
9167 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9168 variables and use it.
9169
9170 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9171 (cfengine3-mode): Remove unneeded variable and use it.
9172
9173 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9174 (lisp--augmented-font-lock-keywords-1)
9175 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9176 Remove unneeded variables and use it.
9177
650645d5 91782013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9179
9180 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9181 to point when opening the connection. (Bug#14380)
28f5da6d 9182
781b4af6
SM
91832013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9184
9185 * subr.el (load-history-regexp, load-history-filename-element)
9186 (eval-after-load, after-load-functions, do-after-load-evaluation)
9187 (eval-next-after-load, display-delayed-warnings)
9188 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9189 definition of save-match-data.
9190 (overriding-local-map): Remove accidental obsolescence declaration.
9191
9192 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9193
3ca0d0b4
TZ
91942013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9195
9196 Generalize symbol prettify support to prog-mode and implement it
9197 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9198 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9199 (prog--prettify-font-lock-compose-symbol)
9200 (prog-prettify-font-lock-symbols-keywords): New variables and
9201 functions to support symbol prettification.
9202 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9203 (lisp--augmented-font-lock-keywords-1)
9204 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9205 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9206 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9207 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9208 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9209 * progmodes/perl-mode.el (perl-prettify-symbols)
9210 (perl--font-lock-compose-symbol)
9211 (perl--font-lock-symbols-keywords): Move to prog-mode.
9212 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9213 (perl-font-lock-keywords-1)
9214 (perl-font-lock-keywords-2): Remove explicit prettify support.
9215 (perl--augmented-font-lock-keywords)
9216 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9217 (perl--augmented-font-lock-keywords-2, perl-mode):
9218 Implement prettify support.
3ca0d0b4 9219
976cb066
LL
92202013-06-05 Leo Liu <sdl.web@gmail.com>
9221
9222 Re-implement smie matching block highlight using
9223 show-paren-data-function. (Bug#14395)
9224 * emacs-lisp/smie.el (smie-matching-block-highlight)
9225 (smie--highlight-matching-block-overlay)
9226 (smie--highlight-matching-block-lastpos)
9227 (smie-highlight-matching-block)
9228 (smie-highlight-matching-block-mode): Remove.
9229 (smie--matching-block-data-cache): New variable.
9230 (smie--matching-block-data): New function.
9231 (smie-setup): Use smie--matching-block-data for
9232 show-paren-data-function.
9233
9234 * progmodes/octave.el (octave-mode-menu): Fix.
9235 (octave-find-definition): Skip garbage lines.
9236
208d0342
SM
92372013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9238
9239 Fix compilation error with simultaneous dynamic+lexical scoping.
9240 Add warning when a defvar appears after the first let-binding.
9241 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9242 (byte-compile-close-variables): Initialize it.
9243 (byte-compile--declare-var): New function.
9244 (byte-compile-file-form-defvar)
9245 (byte-compile-file-form-define-abbrev-table)
9246 (byte-compile-file-form-custom-declare-variable): Use it.
9247 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9248 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9249 (byte-compile-bind): Handle dynamic bindings that shadow
9250 lexical bindings.
9251 (byte-compile-unbind): Make arg non-optional.
9252 (byte-compile-let): Simplify.
9253 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9254 (cconv--analyse-function, cconv-analyse-form): Populate it.
9255 Protect byte-compile-bound-variables to limit the scope of defvars.
9256 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9257 Remove unneeded rule for `declare'.
9258
9259 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9260 so as to avoid depending on cl-adjoin at run-time.
9261 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9262
9263 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9264 (macroexp--warn-and-return): Use it.
9265
1ac2891e
GM
92662013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9267
a12bf61e 9268 * subr.el: Convert to lexical binding.
1ac2891e
GM
9269 (overriding-local-map): Make obsolete.
9270 (add-to-list): Doc fix. Add compiler macro.
9271 (read-key): Swap values of local maps.
9272
2587b005
LL
92732013-06-05 Leo Liu <sdl.web@gmail.com>
9274
9275 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9276
f1da3c88
LL
92772013-06-04 Leo Liu <sdl.web@gmail.com>
9278
9279 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9280 (compilation-auto-jump): Suppress the "Mark set" message to give
9281 way to exit message.
9282
3caa391f
AM
92832013-06-04 Alan Mackenzie <acm@muc.de>
9284
9285 Remove faulty optimisation from indentation calculation.
9286 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9287 search limit based on 2000 characters back from indent-point.
9288
068922a2
TH
92892013-06-03 Tassilo Horn <tsdh@gnu.org>
9290
9291 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9292
1f8fdd53
SM
92932013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9294
bbcc4d97
SM
9295 * emacs-lisp/lisp.el: Use lexical-binding.
9296 (lisp--local-variables-1, lisp--local-variables): New functions.
9297 (lisp--local-variables-completion-table): New var.
208d0342 9298 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9299
1f8fdd53
SM
9300 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9301 eagerly (bug#14422).
9302
c9628c79
MA
93032013-06-03 Michael Albinus <michael.albinus@gmx.de>
9304
9305 * autorevert.el (auto-revert-notify-enabled)
9306 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9307 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9308 (auto-revert-notify-handler): Handle also gfilenotify.
9309
e7b41c4c 9310 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9311 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9312 Remove.
c9628c79 9313
e5e4a942
JL
93142013-06-03 Juri Linkov <juri@jurta.org>
9315
9316 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9317 `M-s h .'. (Bug#14427)
9318
9319 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9320 command `hi-lock-face-symbol-at-point'.
9321 (hi-lock-face-symbol-at-point): New command.
9322 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9323 (hi-lock-menu): Add `highlight-symbol-at-point'.
9324 (hi-lock-mode): Doc fix.
9325
9326 * isearch.el (isearch-forward-symbol-at-point): New command.
9327 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9328 (isearch-highlight-regexp): Add a regexp which matches
9329 words/symbols for word/symbol mode.
9330
9331 * subr.el (find-tag-default-bounds): New function with the body
9332 mostly moved from `find-tag-default'.
9333 (find-tag-default): Move most code to `find-tag-default-bounds',
9334 call it and apply `buffer-substring-no-properties' afterwards.
9335
26b3353a
TH
93362013-06-03 Tassilo Horn <tsdh@gnu.org>
9337
781b4af6
SM
9338 * eshell/em-term.el (eshell-term-initialize):
9339 Use `cl-intersection' rather than `intersection'.
26b3353a 9340
51b60f53
XF
93412013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9342
fe054b63 9343 * vc/log-view.el: Doc fix.
d3ffe17c 9344 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9345
a0eb10b3 93462013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9347
9348 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9349 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9350 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9351 (eieio-unbound, eieio-default-superclass)
9352 (eieio--define-field-accessors, method-static, method-before)
9353 (method-primary, method-after, method-num-lists)
9354 (method-generic-before, method-generic-primary)
9355 (method-generic-after, method-num-slots)
9356 (eieio-specialized-key-to-generic-key)
9357 (eieio--check-type, class-v, class-p)
9358 (eieio-class-name, define-obsolete-function-alias)
9359 (eieio-class-parents-fast, eieio-class-children-fast)
9360 (same-class-fast-p, class-constructor, generic-p)
9361 (generic-primary-only-p, generic-primary-only-one-p)
9362 (class-option-assoc, class-option, eieio-object-p)
9363 (class-abstract-p, class-method-invocation-order)
9364 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9365 (eieio-class-un-autoload, eieio-defclass)
9366 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9367 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9368 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9369 (eieio-defgeneric-reset-generic-form)
9370 (eieio-defgeneric-form-primary-only)
9371 (eieio-defgeneric-reset-generic-form-primary-only)
9372 (eieio-defgeneric-form-primary-only-one)
9373 (eieio-defgeneric-reset-generic-form-primary-only-one)
9374 (eieio-unbind-method-implementations)
9375 (eieio--defmethod, eieio--typep)
9376 (eieio-perform-slot-validation, eieio-validate-slot-value)
9377 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9378 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9379 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9380 (eieio-slot-name-index, eieio-class-slot-name-index)
9381 (eieio-set-defaults, eieio-initarg-to-attribute)
9382 (eieio-attribute-to-initarg, eieio-c3-candidate)
9383 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9384 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9385 (eieio-class-precedence-list, eieio-generic-call-methodname)
9386 (eieio-generic-call-arglst, eieio-generic-call-key)
9387 (eieio-generic-call-next-method-list)
9388 (eieio-pre-method-execution-functions, eieio-generic-call)
9389 (eieio-generic-call-primary-only, eieiomt-method-list)
9390 (eieiomt-optimizing-obarray, eieiomt-install)
9391 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9392 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9393 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9394 (defclass): Remove `eval-and-compile' from macro.
9395 (call-next-method, shared-initialize): Instead of using
9396 `scoped-class' variable, use new eieio--scoped-class, and
9397 eieio--with-scoped-class.
9398 (initialize-instance): Rename local variable 'scoped-class' to
9399 'this-class' to remove ambiguitity from old global.
9400
9401 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9402 eieio.el.
4f405069
JB
9403 (eieio--scoped-class-stack): New variable.
9404 (eieio--scoped-class): New fcn.
890f7890
DE
9405 (eieio--with-scoped-class): New scoping macro.
9406 (eieio-defclass): Use pushnew instead of add-to-list.
9407 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9408 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9409 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9410 `scoped-class' variable, use new eieio--scoped-class, and
9411 eieio--with-scoped-class.
9412
9413 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9414
d105b0e2
TH
94152013-06-02 Tassilo Horn <tsdh@gnu.org>
9416
9417 * eshell/esh-ext.el (eshell-external-command): Pass args to
9418 `eshell-find-interpreter'.
9419 (eshell-find-interpreter): Add new second parameter ARGS.
9420
9421 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9422 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9423
9424 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9425 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9426
9427 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9428 (eshell-visual-options): New defcustom.
9429 (eshell-escape-control-x): Adapt docstring.
9430 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9431 `eshell-visual-options' in addition to `eshell-visual-commands'.
9432 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9433
f46305c8 94342013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9435
9436 * progmodes/python.el (python-indent-block-enders): Add break,
9437 continue and raise keywords.
9438
d870df21
GM
94392013-06-01 Glenn Morris <rgm@gnu.org>
9440
9133b82e
GM
9441 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9442
02c992ec 9443 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9444 * progmodes/cc-cmds.el (delete-forward-p):
9445 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9446 * progmodes/cc-engine.el (buffer-syntactic-context):
9447 * progmodes/cc-fonts.el (face-property-instance):
9448 * progmodes/cc-mode.el (set-keymap-parents):
9449 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9450 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9451 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9452 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9453 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9454
31e7b090
GM
9455 * progmodes/cc-vars.el (other): Emacs has this widget since
9456 at least 21.1, so don't (re)define it.
9457
d870df21
GM
9458 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9459 Replace the obsolete alias pcomplete-arg-quote-list.
9460
c75c93c7
LL
94612013-06-01 Leo Liu <sdl.web@gmail.com>
9462
9463 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9464 punctuation syntax.
9465 (inferior-octave-minimal-columns)
9466 (inferior-octave-last-column-width): New variables.
9467 (inferior-octave-track-window-width-change): New function.
9468 (inferior-octave-mode): Adjust column width so that Octave output,
9469 for example from 'ls', can fit into the window nicely.
9470
973d1e12
DG
94712013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9472
9473 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9474 Highlight expansions inside regexp literals.
9475
0888c286
GM
94762013-05-31 Glenn Morris <rgm@gnu.org>
9477
e26aac1f
GM
9478 * obsolete/sym-comp.el (symbol-complete):
9479 Replace obsolete completion-annotate-function.
9480
0888c286
GM
9481 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9482
19bb8e62
DG
94832013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9484
781b4af6
SM
9485 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9486 New function, checks if point is inside a literal that allows
19bb8e62
DG
9487 expression expansion.
9488 (ruby-syntax-propertize-expansion): Use it.
9489 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9490 around the body.
9491
01dea85f
JL
94922013-05-30 Juri Linkov <juri@jurta.org>
9493
9494 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9495 to "\M-si".
9496 (isearch-invisible): New variable.
9497 (isearch-forward): Doc fix.
9498 (isearch-mode): Set `isearch-invisible'
9499 to the value of `search-invisible'.
9500 (isearch-toggle-case-fold): Doc fix.
9501 (isearch-toggle-invisible): New command.
9502 (isearch-query-replace): Let-bind `search-invisible'
9503 to the value of `isearch-invisible'.
9504 (isearch-search): Use `isearch-invisible' instead of
9505 `search-invisible'. Let-bind `search-invisible'
9506 to the value of `isearch-invisible'. (Bug#11378)
9507
ab1bdce5
JL
95082013-05-30 Juri Linkov <juri@jurta.org>
9509
9510 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9511 call when `query-flag' is nil and `search-invisible' is non-nil.
9512 (Bug#11746)
9513
d6d236e2
GM
95142013-05-30 Glenn Morris <rgm@gnu.org>
9515
8accd027
GM
9516 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9517
2a8bed1c
GM
9518 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9519 (cc-require): Suppress spurious "noruntime" warnings.
9520 (cc-require-when-compile): Use fboundp, for sake of compiler.
9521
d6d236e2
GM
9522 * progmodes/cc-mode.el: Move load of cc-vars before that of
9523 cc-langs (which in turn loads cc-vars), to quieten compiler.
9524
9190b35b
SM
95252013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 * paren.el: Simplify the code.
9528 (show-paren-mode): Always start the timer.
9529 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9530 (show-paren--overlay, show-paren--overlay-1): Rename from
9531 show-paren-overlay and show-paren-overlay-1, and initialize to an
9532 overlay rather than to nil.
9533 (show-paren-function): Misc cleanup and simplifications.
9534
4f8d1cf6
SM
95352013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9536
9537 * paren.el (show-paren-data-function): New hook.
9538 (show-paren--default): New function, extracted from show-paren-function.
9539 (show-paren-function): Use show-paren-data-function.
9540
02d844b5
GM
95412013-05-30 Glenn Morris <rgm@gnu.org>
9542
d209d4a9
GM
9543 * ielm.el (ielm-map, ielm-complete-symbol):
9544 Use completion-at-point rather than obsolete functions.
9545 (inferior-emacs-lisp-mode): Doc fix.
9546 Set completion-at-point-functions, rather than
9547 comint-dynamic-complete-functions.
9548
2082faa6
GM
9549 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9550 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9551 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9552
dd8620de
GM
9553 * image.el (image-animated-p): Tweak definition.
9554
ceca95b1
GM
9555 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9556 (rlogin-process-connection-type): Tweak default. Add set-after.
9557 (rlogin-host): Doc fix.
9558 (rlogin): Tweak prompt.
9559 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9560
ee9f1acc
GM
9561 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9562 * progmodes/tcl.el (inferior-tcl-mode-map):
9563 Use completion-at-point rather than obsolete alias.
9564
45ce222e
GM
9565 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9566
02d844b5
GM
9567 * minibuffer.el (read-file-name-completion-ignore-case):
9568 Move before completion--in-region, for eager macro expansion.
9569
ac44d6c1
JL
95702013-05-29 Juri Linkov <juri@jurta.org>
9571
9572 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9573 for total count of matching lines. Add `global-matches' for total
9574 count of matches. Rename `matches' to `lines' for count of
9575 matching lines. Add `matches' for count of matches.
9576 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9577 to `prev-line' for line number of prev match endpt.
9578 Increment `matches' for every match. Print the number of
9579 matching lines in the header.
9580 (occur-context-lines): Rename `lines' to `curr-line'.
9581 Rename `prev-lines' to `prev-line'. (Bug#14017)
9582
3c9c9d38
JL
95832013-05-29 Juri Linkov <juri@jurta.org>
9584
9585 * replace.el (perform-replace): Add `skip-read-only-count',
9586 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9587 Increment them for corresponding conditions and report the number
9588 of skipped occurrences in the final message. (Bug#11746)
9589 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9590 (replace-string, replace-regexp): Doc fix.
9591
33e249a2
SM
95922013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9593
8e399682
SM
9594 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9595
33e249a2 9596 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9597 prog-mode-map (bug#14504).
33e249a2 9598
f236dd84
LL
95992013-05-29 Leo Liu <sdl.web@gmail.com>
9600
9601 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9602 (octave-help): Small simplification.
9603
9604 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9605 off the highlight first.
9606
3694d13f
GM
96072013-05-29 Glenn Morris <rgm@gnu.org>
9608
03983bdc
GM
9609 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9610 Handle idlwave-last-system-routine-info-cons-cell being nil.
9611
bc74a74a
GM
9612 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9613 (idlwave-write-paths): Simplify via with-temp-buffer.
9614
8b394200
GM
9615 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9616 * emulation/cua-rect.el: Also load cua-base at run time.
9617
3694d13f
GM
9618 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9619 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9620 (cperl-imenu-on-info): Require imenu.
9621
336d7284
AM
96222013-05-28 Alan Mackenzie <acm@muc.de>
9623
9624 Handle "capitalised keywords" correctly.
33e249a2 9625 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9626
cb29c582
AG
96272013-05-28 Aidan Gauland <aidalgol@amuri.net>
9628
781b4af6 9629 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9630
690e44b2
GM
96312013-05-28 Glenn Morris <rgm@gnu.org>
9632
e658d75c
GM
9633 * vc/vc-arch.el (vc-exec-after): Declare.
9634 (vc-switches): Autoload.
9635 * vc/vc-bzr.el: No need to require vc when compiling.
9636 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9637 (vc-resynch-buffer, vc-dir-refresh): Declare.
9638 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9639 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9640 (vc-resynch-buffer): Declare.
9641 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9642 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9643 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9644 (grep-read-regexp, grep-read-files, grep-expand-template)
9645 (vc-dir-refresh): Declare.
9646 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9647 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9648 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9649 * vc/vc-mtn.el (vc-exec-after): Declare.
9650 (vc-switches): Autoload.
9651 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9652 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9653 (vc-file-tree-walk): Declare.
712b9732
GM
9654 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9655 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9656 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9657 * vc/vc-svn.el (vc-exec-after): Declare.
9658 (vc-switches, vc-setup-buffer): Autoload.
9659 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9660 Autoload.
9661 (vc-resynch-buffer): Declare.
9662
98e87fb3
GM
9663 * obsolete/fast-lock.el (byte-compile-warnings):
9664 Don't warn about obsolete features in this obsolete file.
9665
f5379553
GM
9666 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9667 Move definition before use.
9668
7a20ef83
GM
9669 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9670 (dun-unix-verbs): Remove dun-zippy.
9671 (dun-zippy): Remove function.
9672
690e44b2
GM
9673 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9674
3a52ccf7
JL
96752013-05-27 Juri Linkov <juri@jurta.org>
9676
9677 * replace.el (replace-search): New function with code moved out
9678 from `perform-replace'.
9679 (replace-highlight, replace-dehighlight): Move function definitions
9680 up closer to `replace-search'. (Bug#11746)
9681
d289938a
JL
96822013-05-27 Juri Linkov <juri@jurta.org>
9683
9684 * replace.el (perform-replace): Ignore invisible matches.
9685 In addition to checking `query-replace-skip-read-only', also
9686 filter out matches by calling `run-hook-with-args-until-failure'
9687 on `isearch-filter-predicates', and also check `search-invisible'
9688 for t or call `isearch-range-invisible'.
9689 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9690
66fc57e3
JL
96912013-05-27 Juri Linkov <juri@jurta.org>
9692
9693 * isearch.el (isearch-filter-predicates): Rename from
9694 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9695 (isearch-message-prefix): Display text from the property
9696 `isearch-message-prefix' of the currently active filters.
9697 (isearch-search): Don't compare `isearch-filter-predicate' with
9698 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9699 on `isearch-filter-predicates'. Also check `search-invisible' for t
9700 or call `isearch-range-invisible'.
9701 (isearch-filter-visible): Make obsolete.
9702 (isearch-lazy-highlight-search):
9703 Call `run-hook-with-args-until-failure' on
9704 `isearch-filter-predicates' and use `isearch-range-invisible'.
9705
9706 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9707 `isearch-filter-predicates' instead of `funcall'ing
9708 `isearch-filter-predicate'.
9709 (Info-mode): Set `Info-isearch-filter' to
9710 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9711
9712 * dired-aux.el (dired-isearch-filter-predicate-orig):
9713 Remove variable.
9714 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9715 (dired-isearch-filenames-end): Add and remove
9716 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9717 instead of changing the value of `isearch-filter-predicate'.
9718 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9719 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9720 Put property `isearch-message-prefix' to "filename " on
9721 `dired-isearch-filter-filenames'.
9722
9723 * wdired.el (wdired-change-to-wdired-mode):
9724 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9725 locally instead of changing `isearch-filter-predicate'.
9726 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9727
f1a60a0f
DG
97282013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9729
9730 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9731 return the commit hash (Bug#14459). Also set the
9732 `vc-git-detached' property.
9733 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9734 (vc-git-mode-line-string): Use the same help-echo format whether
9735 in detached mode or not, because we know the actual revision now.
9736 When in detached mode, shorten the revision to 7 chars.
9737
7f17cc40
SM
97382013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9739
9740 * emacs-lisp/easy-mmode.el (define-minor-mode):
9741 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9742 mode hook and provide a docstring.
9743
25c8401c
AM
97442013-05-27 Alan Mackenzie <acm@muc.de>
9745
9746 Remove spurious syntax-table text properties inserted by C-y.
9747 * progmodes/cc-mode.el (c-after-change): Also clear hard
9748 syntax-table property with value nil.
9749
dde84790
MA
97502013-05-27 Michael Albinus <michael.albinus@gmx.de>
9751
9752 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9753 when reading the events; the buffer layout shall not be changed.
9754
837fd9af
LL
97552013-05-27 Leo Liu <sdl.web@gmail.com>
9756
9757 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9758 New variable.
9759 (inferior-octave-directory-tracker): Automatically re-sync
9760 default-directory.
9761 (octave-help): Improve handling of 'See also'.
9762
4fd996b3
SM
97632013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9764
416f1802
SM
9765 * doc-view.el: Minor naming convention tweaks.
9766 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9767
4fd996b3
SM
9768 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9769 even if there's no `display' property yet (bug#14435).
9770
a052ef3b
EZ
97712013-05-25 Eli Zaretskii <eliz@gnu.org>
9772
4fd996b3 9773 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9774
9775 * Makefile.in (custom-deps, finder-data, autoloads)
9776 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9777 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9778 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9779
c9023370
SM
97802013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9781
9782 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9783 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9784 Don't burp at EOB.
c9023370 9785
24d699fa
LL
97862013-05-25 Leo Liu <sdl.web@gmail.com>
9787
9788 * comint.el (comint-previous-matching-input): Do not flood the
9789 *Messages* buffer with trivial messages.
9790
17e5c0cc
SM
97912013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9792
9793 * progmodes/flymake.el (flymake-nop): Don't return a string.
9794 (flymake-set-at): Fix typo.
9795
9796 * simple.el (read--expression): New function, extracted from
9797 eval-expression. Set completion-at-point-functions (bug#14465).
9798 (eval-expression, eval-minibuffer): Use it.
9799
5d028165
XF
98002013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9801
9802 * progmodes/flymake.el (flymake-save-buffer-in-file)
9803 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9804 (flymake-selected-frame, flymake-log, flymake-ins-after)
9805 (flymake-set-at, flymake-get-buildfile-from-cache)
9806 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9807 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9808 Refine the doc string.
9809 (flymake-get-file-name-mode-and-masks): Reformat.
9810 (flymake-get-real-file-name-function): Fix a minor bug.
9811
7a1d7ba7
JL
98122013-05-24 Juri Linkov <juri@jurta.org>
9813
9814 * progmodes/grep.el (grep-mode-font-lock-keywords):
9815 Support =linenumber= format used by git-grep for lines with
9816 function names. (Bug#13549)
9817
650cff3d
SM
98182013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9819
9820 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9821 0 after a semi-colon; it works better for smie-auto-fill.
9822 (octave--indent-new-comment-line): New function.
9823 (octave-indent-new-comment-line): Use it (indirectly).
9824 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9825 modify comment-line-break-function.
9826
9827 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9828 (smie-setup): Use add-function to set it.
9829
9631677d
SS
98302013-05-24 Sam Steingold <sds@gnu.org>
9831
9832 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9833 argument (before the `interactive' argument).
9834
50105835
SM
98352013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9836
9837 * image-mode.el (image-mode-winprops): Add winprops to
9838 image-mode-winprops-alist before running
9839 image-mode-new-window-functions.
9840 * doc-view.el (doc-view-new-window-function): Don't delay
9841 doc-view-goto-page via timers (bug#14435).
9842
57b9823e
TH
98432013-05-24 Tassilo Horn <tsdh@gnu.org>
9844
9845 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9846 (doc-view-desktop-save-buffer): New function.
9847 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9848 (desktop-buffer-mode-handlers):
9849 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9850 handler.
9851 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9852 `desktop-save-buffer' function.
9853
91aafa16
MA
98542013-05-24 Michael Albinus <michael.albinus@gmx.de>
9855
9856 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9857 (tramp-gvfs-file-name-handler): Raise a user error when
9858 `tramp-gvfs-enabled' is nil.
9859 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9860 Do not raise a user error when loading package. (Bug#14447)
9861
ec076379
MA
9862 * net/xesam.el: Move to obsolete/.
9863
db785726
GM
98642013-05-24 Glenn Morris <rgm@gnu.org>
9865
af5c7606
GM
9866 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9867
e5d1916a
GM
9868 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9869
ded62b08
GM
9870 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9871 (Info-find-node, Man-getpage-in-background): Declare.
9872
9e614a3f
GM
9873 * mail/unrmail.el (unrmail):
9874 Replace obsolete detect-coding-with-priority.
9875
892f8ca3
GM
9876 * net/socks.el (socks-split-string): Use this rather than split-string.
9877 (socks-nslookup-host): Update for above change.
9878 (dynamic-choice, s5-dynamic-choice-match)
9879 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9880 Comment out unused code.
9881
3c291973
GM
9882 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9883 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9884 (gud-tooltip-echo-area): Make obsolete.
9885 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9886
43cc956b
GM
9887 * progmodes/js.el (js--optimize-arglist): Declare.
9888
dab49a3b
GM
9889 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9890
36b9d085
GM
9891 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9892 (ediff-window-C): Declare.
9893
e354ae76
GM
9894 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9895 Tweak requires to silence compiler.
9896
b8e57bf4
GM
9897 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9898 (he-search-string, he-tried-table, he-expand-list)
9899 (he-init-string, he-string-member, he-substitute-string)
9900 (he-reset-string): Declare.
9901
db785726
GM
9902 * obsolete/options.el (list-options): Use custom-variable-p,
9903 rather than obsolete alias.
9904
b3531901
SS
99052013-05-23 Sam Steingold <sds@gnu.org>
9906
9907 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9908 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9909 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9910
bdda4c66
SM
99112013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9912
9913 * emacs-lisp/smie.el (smie-indent-forward-token)
9914 (smie-indent-backward-token): Handle string tokens (bug#14381).
9915
c43d45f9
TH
99162013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9917
fe1eb856
RS
9918 * ielm.el (ielm-menu): New menu.
9919 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9920
fe1eb856
RS
99212013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9922
a12bf61e 9923 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
9924 Fix deactivate action.
9925
a12bf61e 9926 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 9927 Add cleveref macros.
074dd971 9928
a12bf61e 9929 * textmodes/reftex-parse.el
c43d45f9
TH
9930 (reftex-locate-bibliography-files): Accept options for
9931 bibliography commands.
a12bf61e 9932 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
9933 Add addbibresource. Basic Biblatex support.
9934
7764286e
MA
99352013-05-23 Michael Albinus <michael.albinus@gmx.de>
9936
9937 * net/tramp-gvfs.el (top):
9938 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9939 when loading package. (Bug#14447)
9940
d361bc10
GM
99412013-05-23 Glenn Morris <rgm@gnu.org>
9942
8fa23984
GM
9943 * progmodes/js.el: No need to load comint when compiling.
9944 (ring-insert, comint-send-string, comint-send-input)
9945 (comint-last-input-end, ido-chop): Declare.
9946
a5c7df1a
GM
9947 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9948 * vc/ediff-mult.el: Adjust requires.
9949 (ediff-directories-internal, ediff-directory-revisions-internal)
9950 (ediff-patch-file-internal): Declare.
9951 * vc/ediff-ptch.el: Adjust requires.
9952 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9953 (ediff-find-file): Autoload.
9954 * vc/ediff-util.el: No need to load ediff when compiling.
9955 (ediff-regions-internal): Declare.
9956 * vc/ediff-wind.el: Adjust requires.
9957 (ediff-compute-toolbar-width): Define when compiling.
9958 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9959 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9960 (dired-get-filename, dired-get-marked-files)
9961 (ediff-last-dir-patch, ediff-patch-default-directory)
9962 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9963 (ediff-patch-buffer-internal): Declare.
9964
e2aec513
GM
9965 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9966 (ispell-process, ispell-buffer-local-words, lm-summary)
9967 (lm-section-start, lm-section-end): Declare.
9968 (checkdoc-ispell-init): Simplify.
9969
e68bbd7c
GM
9970 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9971 (he-string-member, he-reset-string, he-substitute-string): Declare.
9972
7efe0991
GM
9973 * eshell/em-ls.el: Adjust requires.
9974 (eshell-glob-regexp): Declare.
f87b1284
GM
9975 * eshell/em-tramp.el: Adjust requires.
9976 (eshell-parse-command): Autoload.
9977 * eshell/em-xtra.el: Adjust requires.
9978 (eshell-parse-command): Autoload.
9979 * eshell/esh-ext.el: Adjust requires.
9980 (eshell-parse-command, eshell-close-handles): Autoload.
9981 * eshell/esh-io.el: Adjust requires.
9982 (eshell-output-filter): Autoload.
9983 * eshell/esh-util.el: No need to load tramp when compiling.
9984 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9985 Declare.
9986 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9987 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9988 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9989 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9990 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9991 * eshell/esh-opt.el, eshell/esh-proc.el:
9992 * eshell/esh-var.el: Adjust requires.
9993 * eshell/eshell.el: Do not require esh-util twice.
9994 (eshell-add-input-to-history): Declare.
9995 (eshell-command): Check history module is active before using it.
9996
d361bc10
GM
9997 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9998
85d090a9
LL
99992013-05-22 Leo Liu <sdl.web@gmail.com>
10000
10001 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10002
5d0acd9d
MA
100032013-05-22 Michael Albinus <michael.albinus@gmx.de>
10004
10005 * autorevert.el (auto-revert-notify-add-watch)
10006 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10007 it indicates changes in file modification time.
10008
0cdffd7d
GM
100092013-05-22 Glenn Morris <rgm@gnu.org>
10010
ca5995ec
GM
10011 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10012 Always delete the autoloaded function from the noruntime and
10013 unresolved functions lists.
10014
6450907e
GM
10015 * allout.el: No need to load epa, epg, overlay when compiling.
10016 (epg-context-set-passphrase-callback, epg-list-keys)
10017 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10018 (epg-key-user-id-list): Declare.
10019
9c6906f6
GM
10020 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10021 (viper-set-parsing-style-toggling-macro)
10022 (viper-set-emacs-state-searchstyle-macros):
10023 Use called-interactively-p on Emacs.
10024 (viper-looking-back): Make it an obsolete alias. Update callers.
10025 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10026 Use looking-back rather than viper-looking-back.
10027 (viper-tmp-insert-at-eob, viper-enlarge-region)
10028 (viper-read-string-with-history, viper-register-to-point)
10029 (viper-append-to-register, viper-change-state-to-vi)
10030 (viper-backward-char-carefully, viper-forward-char-carefully)
10031 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10032 (viper-change-state-to-emacs): Declare.
10033 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10034 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10035 * emulation/viper-mous.el: Do not load viper-cmd.
10036 (viper-backward-char-carefully, viper-forward-char-carefully)
10037 (viper-forward-word, viper-adjust-window): Declare.
10038
5f70c169
GM
10039 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10040
b1b7f300
GM
10041 * progmodes/idlw-help.el (idlwave-help-fontify):
10042 Use called-interactively-p.
10043
f6ebbb46
GM
10044 * term/w32console.el (w32-get-console-codepage)
10045 (w32-get-console-output-codepage): Declare.
10046
0cdffd7d
GM
10047 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10048 Remove unnecessary declarations.
10049 (dframe-message): Doc fix.
10050
10051 * info.el (dframe-select-attached-frame, dframe-current-frame):
10052 Declare.
10053
10054 * speedbar.el (speedbar-message): Make it an obsolete alias.
10055 Update all callers.
10056 (speedbar-with-attached-buffer)
10057 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10058 (speedbar-with-writable): Use backquote.
10059 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10060 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10061 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10062 rather than speedbar- aliases.
10063 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10064 (speedbar-make-specialized-keymap, speedbar-insert-button)
10065 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10066 (speedbar-do-function-pointer): Declare.
10067 (rmail-speedbar-button, rmail-speedbar-find-file)
10068 (rmail-speedbar-move-message):
10069 Use dframe-with-attached-buffer rather than speedbar- alias.
10070 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10071 (dframe-message, speedbar-make-specialized-keymap)
10072 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10073 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10074 (speedbar-insert-button, dframe-select-attached-frame)
10075 (dframe-maybee-jump-to-attached-frame)
10076 (speedbar-change-initial-expansion-list)
10077 (speedbar-previously-used-expansion-list-name): Declare.
10078 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10079 Use dframe-message, dframe-with-attached-buffer rather than
10080 speedbar- aliases.
10081 (gud-sentinel): Silence compiler.
10082 * progmodes/vhdl-mode.el (speedbar-refresh)
10083 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10084 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10085 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10086 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10087 (speedbar-file-lists, speedbar-make-tag-line)
10088 (speedbar-line-directory, speedbar-goto-this-file)
10089 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10090 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10091 (speedbar-make-button, speedbar-reset-scanners)
10092 (speedbar-files-item-info, speedbar-line-text)
10093 (speedbar-find-file-in-frame, speedbar-set-timer)
10094 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10095 (speedbar-with-writable): Do not (re)define it.
10096 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10097 rather than speedbar- alias.
10098
ee44b62a
LL
100992013-05-21 Leo Liu <sdl.web@gmail.com>
10100
10101 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10102 menu items.
10103 (octave-mode): Tweak fill-nobreak-predicate.
10104 (inferior-octave-startup): Check process to avoid infinite loop.
10105 (inferior-octave): Pop to buffer first to show abornmal process
10106 exit information.
10107
640f050f
GM
101082013-05-21 Glenn Morris <rgm@gnu.org>
10109
79458038
GM
10110 * printing.el (pr-menu-bar): Define when compiling.
10111
9cc3e83f
LL
101122013-05-21 Leo Liu <sdl.web@gmail.com>
10113
10114 * progmodes/octave.el (octave-auto-fill): Remove.
10115 (octave-indent-new-comment-line): Improve.
10116 (octave-mode): Use auto fill mode through
4f405069 10117 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10118 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10119 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10120 (octave-help): Show parent directory.
10121
f440830d
GM
101222013-05-21 Glenn Morris <rgm@gnu.org>
10123
10124 * files.el (dired-unmark):
10125 * progmodes/gud.el (gdb-input): Update declarations.
10126
10127 * calculator.el (electric, ehelp): No need to load when compiling.
10128 (Electric-command-loop, electric-describe-mode): Declare.
10129
10130 * doc-view.el (doc-view-current-converter-processes): Move before use.
10131
10132 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10133 Move MODE-set-explicitly definition before use.
10134
10135 * international/mule-diag.el (mule-diag):
10136 Don't use obsolete window-system-version.
10137
10138 * mail/feedmail.el (smtpmail): No need to load when compiling.
10139 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10140
10141 * mail/mail-utils.el (rfc822): No need to load when compiling.
10142 (rfc822-addresses): Autoload it.
10143 (mail-strip-quoted-names): Trivial simplification.
10144
10145 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10146 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10147
10148 * net/snmp-mode.el (tempo): Don't duplicate requires.
10149
10150 * progmodes/prolog.el (info): No need to load when compiling.
10151 (comint): Require before shell requires it.
10152 (Info-goto-node): Autoload it.
10153 (Info-follow-nearest-node): Declare.
10154 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10155
10156 * textmodes/artist.el (picture-mode-exit): Declare.
10157
10158 * textmodes/reftex-parse.el (reftex-parse-from-file):
10159 Trivial rewrite so the compiler can parse it better.
10160
b4da2cbb
LL
101612013-05-20 Leo Liu <sdl.web@gmail.com>
10162
10163 * progmodes/octave.el (octave-help-mode-map)
10164 (octave-help-mode-finish-hook): New variables.
10165 (octave-help-mode, octave-help-mode-finish): New functions.
10166 (octave-help): Use octave-help-mode.
10167
33c0f65b
GM
101682013-05-20 Glenn Morris <rgm@gnu.org>
10169
10170 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10171
1a0a0a8a
DG
101722013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10173
10174 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10175 start at point, so that expansion starting right after opening
10176 slash in a regexp is recognized.
10177 (ruby-syntax-before-regexp-re): New defvar, extracted from
10178 ruby-syntax-propertize-function. Since the value of this regexp
10179 is looked up at runtime now, we should be able to turn
10180 `ruby-syntax-methods-before-regexp' into a defcustom later.
10181 (ruby-syntax-propertize-function): Split regexp matching into two
10182 parts, for opening and closing slashes. That allows us to skip
10183 over string interpolations and support multiline regexps.
10184 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10185 for them, which calls `ruby-syntax-propertize-expansion'.
10186 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10187 call to `ruby-syntax-propertize-function'.
10188 (ruby-syntax-propertize-expansion): Extracted from
10189 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10190 (ruby-syntax-propertize-percent-literal): Leave point right after
10191 the percent symbol, so that the expression expansion rule can
10192 propertize the contents.
462388b6
DG
10193 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10194 heredoc openers.
10195 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10196
c1a6c0a4
JL
101972013-05-18 Juri Linkov <juri@jurta.org>
10198
10199 * man.el (Man-default-man-entry): Remove `-' from the end
10200 of the default value. (Bug#14400)
10201
8051fccd
GM
102022013-05-18 Glenn Morris <rgm@gnu.org>
10203
10204 * comint.el (comint-password-prompt-regexp):
10205 Allow "password for XXX" where XXX contains colons (eg https://...).
10206
5e80b74f
LL
102072013-05-18 Leo Liu <sdl.web@gmail.com>
10208
10209 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10210 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10211 (octave-source-directories): Don't check process.
10212 (octave-source-directories, octave-find-definition): Doc fix.
10213
521a54c5
GM
102142013-05-18 Glenn Morris <rgm@gnu.org>
10215
86a94b05
GM
10216 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10217 Remove backspace/delete bindings. (Bug#14392)
10218
521a54c5
GM
10219 * cus-dep.el (custom-make-dependencies): Sort the output.
10220 (custom-versions-load-alist): Convert comment to doc.
10221
42caeb89
LL
102222013-05-17 Leo Liu <sdl.web@gmail.com>
10223
10224 * newcomment.el (comment-search-backward): Stricter in finding
10225 comment start. (Bug#14303)
10226
10227 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10228 (octave-comment-start-skip): Properly anchored.
10229
e219dd97
LL
102302013-05-17 Leo Liu <sdl.web@gmail.com>
10231
fe1eb856
RS
10232 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10233 Clean up when turned off. (Bug#14395)
e219dd97
LL
10234 (smie--highlight-matching-block-overlay): No longer buffer-local.
10235 (smie-highlight-matching-block): Adjust.
10236
dc5dcb4b
PE
102372013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10238
10239 Doc string fix for "nanoseconds" (Bug#14406).
10240 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10241 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10242
1db165f0
JB
102432013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10244
10245 * calc/calc-units.el (math-extract-units): Preserve powers
10246 of units.
10247
c7a8fcac
LL
102482013-05-17 Leo Liu <sdl.web@gmail.com>
10249
10250 * subr.el (delete-consecutive-dups): New function.
10251 * ido.el (ido-set-matches-1): Use it.
10252 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10253 * ido.el (ido-remove-consecutive-dups): Remove.
10254
f678b18a
SM
102552013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10256
10257 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10258 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10259 regexp-opt's `words'.
10260
ebfe68e8
LL
102612013-05-16 Leo Liu <sdl.web@gmail.com>
10262
10263 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10264 (smie--highlight-matching-block-overlay)
10265 (smie--highlight-matching-block-lastpos)
10266 (smie--highlight-matching-block-timer): New variables.
10267 (smie-highlight-matching-block): New function.
10268 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10269 (smie-setup): Conditionally enable smie-blink-matching-open.
10270
bc8bc17d
WS
102712013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10272
10273 Sync with upstream verilog-mode r840.
10274 * progmodes/verilog-mode.el (verilog-mode-version)
10275 (verilog-mode-release-date): Update.
10276 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10277 (verilog-sig-tieoff): Fix string error on
10278 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10279 (verilog-read-decls): Fix parameters confusing
10280 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10281
df065a0b
EZ
102822013-05-16 Eli Zaretskii <eliz@gnu.org>
10283
10284 * subr.el (reveal-filename): New function.
10285
10286 * loadup.el: Compute Emacs executable versions on MS-Windows,
10287 where executables have the .exe extension. Add a hard link
10288 emacs-XX.YY.ZZ.exe on MS-Windows.
10289
10290 * Makefile.in (XARGS_LIMIT): New variable.
10291 (custom-deps, finder-data, autoloads)
10292 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10293 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10294 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10295 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10296
2d4bf34b
LL
102972013-05-16 Leo Liu <sdl.web@gmail.com>
10298
10299 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10300 (octave-mode-menu, octave-mode-map): Remove its uses.
10301
6b9c2d85
RZ
103022013-05-16 Reto Zimmermann <reto@gnu.org>
10303
10304 Sync with upstream vhdl mode v3.34.2.
10305 * progmodes/vhdl-mode.el: Use `push' throughout.
10306 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10307 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10308 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10309 (vhdl-actual-generic-name): New option to derive actual generic name.
10310 (vhdl-port-paste-signals): Replace formal by actual generics.
10311 (vhdl-beautify): New name for old group vhdl-align. Update users.
10312 (vhdl-beautify-options): New option.
10313 (vhdl-last-input-event): New compat alias. Use throughout.
10314 (vhdl-goto-line): Replace user level function `goto-line'.
10315 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10316 vhdl-fix-statement-buffer.
10317 (vhdl-create-mode-menu): Add some entries.
10318 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10319 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10320 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10321 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10322 to force statements on one line.
10323 (vhdl-remove-trailing-spaces-region):
10324 New, split from vhdl-remove-trailing-spaces.
10325 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10326 Respect vhdl-beautify-options.
10327 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10328 (vhdl-update-sensitivity-list): Not add with index if exists without.
10329 Not include array index with signal. Ignore keywords in comments.
10330 (vhdl-get-visible-signals): Regexp tweaks.
10331 (vhdl-template-component-inst): Handle empty library.
10332 (vhdl-template-type): Add template for 'enum' type.
10333 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10334 Use vhdl-replace-string.
10335 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10336 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10337 (vhdl-speedbar-initialize): Update for above name change.
10338 (vhdl-compose-wire-components): Fix in handling of constants.
10339 (vhdl-error-regexp-emacs-alist): New variable.
10340 (vhdl-error-regexp-add-emacs): New function;
10341 adds support for new compile.el (Emacs 22+)
10342 (vhdl-generate-makefile-1): Change target order for single lib. units.
10343 Allow use of absolute file names.
10344
9df4ec5e
LL
103452013-05-16 Leo Liu <sdl.web@gmail.com>
10346
10347 * simple.el (prog-indent-sexp): Indent enclosing defun.
10348
f5ba00a6
GM
103492013-05-15 Glenn Morris <rgm@gnu.org>
10350
ed8be7ff
GM
10351 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10352 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10353 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10354 (whitespace-highlight): Move to whitespace group.
10355
10356 * comint.el (comint-source):
10357 * pcmpl-linux.el (pcmpl-linux):
10358 * shell.el (shell-faces):
10359 * eshell/esh-opt.el (eshell-opt):
10360 * international/ccl.el (ccl): Remove empty custom groups.
10361
10362 * completion.el (dynamic-completion-mode):
10363 * jit-lock.el (jit-lock-debug-mode):
10364 * minibuffer.el (completion-in-region-mode):
10365 * type-break.el (type-break-mode-line-message-mode)
10366 (type-break-query-mode):
10367 * emulation/tpu-edt.el (tpu-edt-mode):
10368 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10369 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10370 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10371
10372 * term/xterm.el (xterm): Change parent group to terminals.
10373
10374 * master.el (master): Remove empty custom group.
10375 (master-mode): Remove unused :group argument.
10376 * textmodes/refill.el (refill): Remove empty custom group.
10377 (refill-mode): Remove unused :group argument.
10378
10379 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10380
82a7c41b
GM
10381 * cus-dep.el: Provide a feature.
10382 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10383 Don't mistakenly ignore files whose basenames match a basename
10384 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10385 Add a fallback method for getting :group.
f5ba00a6 10386
6d65486d
JL
103872013-05-15 Juri Linkov <juri@jurta.org>
10388
da547b32
JL
10389 * isearch.el (isearch-char-by-name): Rename from
10390 `isearch-insert-char-by-name'. Doc fix.
10391 (isearch-forward): Mention `isearch-char-by-name' in
10392 the docstring. (Bug#13348)
10393
6d65486d
JL
10394 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10395 `exit-minibuffer' instead of
10396 `isearch-nonincremental-exit-minibuffer'.
10397 (isearch-edit-string): Remove mention of
10398 `isearch-nonincremental-exit-minibuffer' from docstring.
10399 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10400 (isearch-forward-exit-minibuffer)
10401 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10402
c9990474
SM
104032013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10404
6e911150
SM
10405 * loadup.el: Just use unversioned DOC.
10406
c9990474
SM
10407 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10408 literals as extending to EOB.
10409 (nxml-last-fontify-end): Remove unused variable.
10410 (nxml-after-change1): Use with-silent-modifications.
10411 (nxml-extend-after-change-region): Simplify.
10412 (nxml-extend-after-change-region1): Remove function.
10413 (nxml-after-change1): Don't adjust for dependent regions.
10414 (nxml-fontify-matcher): Simplify.
10415 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10416 (xmltok-add-dependent): Remove function.
10417 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10418 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10419 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10420 unclosed <[[, <?, comment, and other literals as extending to EOB.
10421 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10422 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10423 Remove functions.
10424 (rng-do-some-validation-1): Don't mark dependent regions.
10425 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10426 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10427 (nxml-clear-dependent-regions): Remove functions.
10428 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10429 (nxml-ensure-scan-up-to-date):
10430 Don't clear&mark dependent regions.
10431
e3772e98
LL
104322013-05-15 Leo Liu <sdl.web@gmail.com>
10433
c9990474
SM
10434 * progmodes/octave.el (octave-goto-function-definition):
10435 Improve and fix callers.
e3772e98 10436
5ac2eb34
SM
104372013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10438
c46c57b0
SM
10439 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10440 the setter (bug#14387).
10441
5ac2eb34
SM
10442 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10443 surrounding group (bug#14402).
10444
180ed218
JL
104452013-05-14 Juri Linkov <juri@jurta.org>
10446
10447 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10448 (Bug#14390)
10449
0ac0fecb
GM
104502013-05-14 Glenn Morris <rgm@gnu.org>
10451
10452 * progmodes/f90.el (f90-imenu-generic-expression):
10453 Fix typo in 2013-05-08 change. (Bug#14402)
10454
2e78e6a7
JPG
104552013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10456
5ac2eb34
SM
10457 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10458 Remove signals for which replies are never received.
2e78e6a7 10459
53267cca
JPG
104602013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10461
10462 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10463 (gdb-handler-alist, gdb-handler-number): Remove variables.
10464 (gdb-handler-list): New variable.
10465 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10466 (gdb-pending-handler-p, gdb-handle-reply)
10467 (gdb-remove-all-pending-triggers): New functions.
10468 (gdb-discard-unordered-replies): New defcustom.
10469 (gdb-handler): New defstruct.
10470 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10471 instead of gdb-pending-triggers. Update docstring.
10472 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10473 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10474 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10475 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10476 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10477 (gdb-frame-handler): Pending triggers are now automatically managed.
10478 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10479 Remove argument.
10480 (gdb-input): Automatically handles pending triggers. Update docstring.
10481 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10482 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10483 Update comments.
10484 (gdb-done-or-error): Now use gdb-handle-reply.
10485
d04ce803
JPG
104862013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10487
10488 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10489 gdb-debug-log.
10490
0114073a
GM
104912013-05-14 Glenn Morris <rgm@gnu.org>
10492
10493 * subr.el (user-emacs-directory-warning): New option.
10494 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10495
4d25fd7e
LL
104962013-05-14 Leo Liu <sdl.web@gmail.com>
10497
10498 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10499 during redisplay.
10500 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10501 (octave-font-lock-texinfo-comment): Fix invalid search bound
10502 error: wrong side of point.
4d25fd7e 10503
27c8b6eb
GM
105042013-05-14 Glenn Morris <rgm@gnu.org>
10505
61aaeb01
GM
10506 * progmodes/flymake.el (flymake-xml-program): New option.
10507 (flymake-xml-init): Use it.
10508
5bf90bc5
GM
10509 * term/xterm.el: Provide a feature.
10510
10511 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10512
f4c7dfd2
GM
105132013-05-13 Glenn Morris <rgm@gnu.org>
10514
10515 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10516 Add compat aliases as a hack workaround. (Bug#14384)
10517
2aeb3a1d
LL
105182013-05-13 Leo Liu <sdl.web@gmail.com>
10519
b0e069c2
LL
10520 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10521 ###, and %!.
f5a9432f
LL
10522 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10523 C-M-q.
b0e069c2
LL
10524 (octave-comment-start-skip): Include %!.
10525 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10526
30ea8374
LL
105272013-05-12 Leo Liu <sdl.web@gmail.com>
10528
10529 * progmodes/octave.el (inferior-octave-startup): Store the value
10530 of __octave_srcdir__ for octave-source-directories.
10531 (inferior-octave-check-process): New function refactored out of
10532 inferior-octave-send-list-and-digest.
10533 (octave-source-directories)
10534 (octave-find-definition-filename-function): New variables.
10535 (octave-source-directories)
10536 (octave-find-definition-default-filename): New functions.
10537 (octave-find-definition): Improve to find functions implemented in C++.
10538
472a3834
GM
105392013-05-12 Glenn Morris <rgm@gnu.org>
10540
10541 * calendar/diary-lib.el (diary-outlook-format-1):
10542 Don't include dayname in the output. (Bug#14349)
10543
3191b52f
GM
105442013-05-11 Glenn Morris <rgm@gnu.org>
10545
0060ac73
GM
10546 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10547
3191b52f
GM
10548 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10549 Treat cc-provide like provide.
10550
e065ba74
KR
105512013-05-11 Kevin Ryde <user42@zip.com.au>
10552
10553 * cus-dep.el (custom-make-dependencies):
10554 Use generated-autoload-load-name for the sake of files such
10555 such cedet/semantic/bovine/c.el, where the base file name
10556 is not in load-path. (Bug#5277)
10557
36f84c37
GM
105582013-05-11 Glenn Morris <rgm@gnu.org>
10559
10560 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10561 Provide features.
10562
c8730c3a
LL
105632013-05-11 Leo Liu <sdl.web@gmail.com>
10564
10565 * progmodes/octave.el (octave-indent-comment): Improve.
10566 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10567 (octave-eldoc-function-signatures, octave-eldoc-function):
10568 New functions.
c8730c3a
LL
10569 (octave-mode, inferior-octave-mode): Add eldoc support.
10570
212e29f2
RS
105712013-05-11 Richard Stallman <rms@gnu.org>
10572
10573 * epa.el (epa-decrypt-file): Take output file name as argument
10574 and read it using `interactive'.
10575
083fe0d7
LL
105762013-05-11 Leo Liu <sdl.web@gmail.com>
10577
10578 * progmodes/octave.el (octave-beginning-of-line)
10579 (octave-end-of-line): Check before using up-list because it jumps
10580 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10581 (octave-indent-comment): New function.
10582 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10583 (octave-begin-keywords, octave-end-keywords)
10584 (octave-reserved-words, octave-smie-bnf-table)
10585 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10586
8582e4c4
GM
105872013-05-11 Glenn Morris <rgm@gnu.org>
10588
f20def1f
GM
10589 * faces.el (internal-face-x-get-resource):
10590 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10591 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10592 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10593 Fix declarations.
f20def1f 10594
445f95e2
GM
10595 * calc/calc-menu.el: Make it loadable in isolation.
10596
10597 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10598 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10599 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10600 (eudc-bbdb-query-internal): Require 'bbdb.
10601
99fb2756
GM
10602 * lpr.el (lpr-headers-switches):
10603 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10604
10605 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10606
0da7ad96
GM
10607 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10608
8582e4c4
GM
10609 * term.el (term-set-escape-char): Make it idempotent.
10610
f71c50d0
LL
106112013-05-10 Leo Liu <sdl.web@gmail.com>
10612
5ac2eb34
SM
10613 * progmodes/octave.el (inferior-octave-completion-table):
10614 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10615 completion due to bug#11906.
10616 (octave-beginning-of-defun): Re-write to be more general.
10617
d5837773
GM
106182013-05-10 Glenn Morris <rgm@gnu.org>
10619
10620 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10621
027c0f75
SM
106222013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10623
10624 * comint.el (comint-redirect-send-command-to-process): Use :around
10625 rather than :override for comint-redirect-filter.
10626 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10627 Call it instead of comint-redirect-original-filter-function (which
10628 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10629
4465bfb4
JD
106302013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10631
10632 * frame.el (display-monitor-attributes-list): Add NS case.
10633 (ns-display-monitor-attributes-list): Declare.
10634
2d809ffa 106352013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10636
10637 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10638
e54eeb9b
GM
106392013-05-09 Glenn Morris <rgm@gnu.org>
10640
56cd351d
GM
10641 * international/fontset.el (vertical-centering-font-regexp):
10642 Set standard-value.
10643
d84b6108
GM
10644 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10645
a931698a
GM
10646 * bookmark.el (bookmark-search-delay):
10647 * cus-start.el (vertical-centering-font-regexp):
10648 * ps-mule.el (ps-mule-font-info-database-default):
10649 * ps-print.el (ps-default-fg, ps-default-bg):
10650 * type-break.el (type-break-good-break-interval):
10651 * whitespace.el (whitespace-indentation-regexp)
10652 (whitespace-space-after-tab-regexp):
10653 * emacs-lisp/testcover.el (testcover-1value-functions)
10654 (testcover-noreturn-functions, testcover-progn-functions)
10655 (testcover-prog1-functions):
10656 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10657 * eshell/em-glob.el (eshell-glob-translate-alist):
10658 * play/tetris.el (tetris-tty-colors):
10659 * progmodes/cpp.el (cpp-face-default-list):
10660 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10661 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10662 (idlwave-help-browser-generic-args):
10663 * progmodes/make-mode.el (makefile-special-targets-list):
10664 * progmodes/python.el (python-shell-virtualenv-path):
10665 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10666 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10667 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10668 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10669 * textmodes/reftex-vars.el (reftex-format-label-function):
10670 * textmodes/remember.el (remember-diary-file): Fix custom types.
10671
e54eeb9b
GM
10672 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10673 Add :version.
10674
455851dd
LL
106752013-05-09 Leo Liu <sdl.web@gmail.com>
10676
10677 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10678 Restore file completion. (Bug#14300)
455851dd
LL
10679 (inferior-octave-startup): Fix incorrect highlighting for the
10680 first prompt.
10681
a9e4425b
SM
106822013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10683
10684 * progmodes/ruby-mode.el: First cut at SMIE support.
10685 (ruby-use-smie): New var.
10686 (ruby-smie-grammar): New constant.
10687 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10688 (ruby-smie--forward-token, ruby-smie--backward-token)
10689 (ruby-smie-rules): New functions.
10690 (ruby-mode-variables): Setup SMIE if applicable.
10691
060ca408
EZ
106922013-05-08 Eli Zaretskii <eliz@gnu.org>
10693
10694 * simple.el (line-move-visual): Signal beginning/end of buffer
10695 only if vertical-motion moved less than it was requested. Avoids
10696 silly incorrect error messages when there are display strings with
10697 multiple newlines at EOL.
10698
1d5963cc
SM
106992013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10700
10701 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10702 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10703 (prolog-char-quote-workaround):
10704 * progmodes/cperl-mode.el (cperl-under-as-char):
10705 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10706 Mark as obsolete.
10707 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10708 their declaration.
10709 (vhdl-mode-syntax-table-init): Remove.
10710
c9990474
SM
10711 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10712 last change.
1d5963cc
SM
10713
10714 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10715 syntax for "_".
10716 (ld-script-font-lock-keywords):
10717 Change regexps to use things like \_< and \_>.
10718
10719 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10720 Change all regexps to use things like \_< and \_>.
10721
10722 * progmodes/autoconf.el (autoconf-definition-regexp)
10723 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10724 Handle a _ with symbol syntax.
10725 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10726
c9990474
SM
10727 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10728 Consolidate declaration.
1d5963cc
SM
10729 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10730 the declaration.
10731 (ada-create-syntax-table): Remove.
10732 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10733 already has the right syntax nowadays.
10734 (ada-goto-next-word): Don't change the syntax of "_".
10735
10736 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10737 with-wrapper-hook.
10738
72d3cfca
SS
107392013-05-08 Sam Steingold <sds@gnu.org>
10740
10741 * thingatpt.el (thing-at-point): Accept optional second argument
10742 NO-PROPERTIES to strip the text properties from the return value.
10743 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10744 to `thing-at-point' instead of stripping the properties ourselves.
10745 Also, when `thing-at-point' fails to find a url, prepend "http://"
10746 to the filename at point on the assumption that the user is
10747 pointing at something like gnu.org/gnu.
10748
5cb15713
JB
107492013-05-08 Juanma Barranquero <lekktu@gmail.com>
10750
10751 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10752 * faces.el (crm-separator):
10753 Silence byte-compiler.
10754
10755 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10756 (tool-bar-map): Remove unneeded defvars.
10757
ea78b95b
LL
107582013-05-08 Leo Liu <sdl.web@gmail.com>
10759
10760 Re-work a fix for bug#10994 based on Le Wang's patch.
10761 * ido.el (ido-remove-consecutive-dups): New helper.
10762 (ido-completing-read): Use it.
10763 (ido-chop): Revert fix for bug#10994.
10764
dc7466df
AS
107652013-05-08 Adam Spiers <emacs@adamspiers.org>
10766
10767 * cus-edit.el (custom-save-variables):
10768 Pretty-print long values. (Bug#14187)
10769
9ecf672a
GM
107702013-05-08 Glenn Morris <rgm@gnu.org>
10771
10772 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10773 (m4-mode-syntax-table): Init in the defvar.
10774 (m4-mode-abbrev-table): Let define-derived-mode define it.
10775
3f555be8
TT
107762013-05-08 Tom Tromey <tromey@redhat.com>
10777
10778 * progmodes/m4-mode.el (m4-mode-syntax-table):
10779 Do not treat "_" as word constituent. (Bug#14167)
10780
7cc8ae06
GM
107812013-05-07 Glenn Morris <rgm@gnu.org>
10782
4f58bc06
GM
10783 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10784 Remove explicit eshell-isearch-cancel-map.
10785
7cc8ae06
GM
10786 * progmodes/f90.el (f90-smart-end-names): New option.
10787 (f90-smart-end): Doc fix.
10788 (f90-end-block-optional-name): New constant.
10789 (f90-block-match): Respect f90-smart-end-names.
10790
ceb57e59
SM
107912013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10792
10793 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10794 about implicit semi-colons (bug#14218).
10795
4e3f9230
YM
107962013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10797
10798 * frame.el (display-monitor-attributes-list)
10799 (frame-monitor-attributes): New functions.
10800
203a5572
LL
108012013-05-06 Leo Liu <sdl.web@gmail.com>
10802
10803 * progmodes/octave.el (octave-syntax-propertize-function): Change
10804 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10805 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10806 (octave-completion-at-point): Rename from
203a5572
LL
10807 octave-completion-at-point-function.
10808 (inferior-octave-directory-tracker): Robustify.
10809 (octave-text-functions): Remove and fix its uses. No such things
10810 any more.
10811
ee6cff99
SM
108122013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10813
10814 * emacs-lisp/trace.el (trace--display-buffer): New function.
10815 (trace-make-advice): Use it.
10816
32985194
JL
108172013-05-06 Juri Linkov <juri@jurta.org>
10818
10819 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10820 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10821 Doc fix.
10822 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10823 in the help string. (Bug#12985)
10824
a1c700de
KD
108252013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10826
10827 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10828
c67c0839
SM
108292013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10830
323885fd
SM
10831 * progmodes/perl-mode.el: Add support for here documents.
10832 (perl-syntax-propertize-function): Match here-doc markers.
10833 (perl-syntax-propertize-special-constructs): Find their end.
10834 (perl-imenu-generic-expression): Use [:alnum:].
10835
c67c0839
SM
10836 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10837 (advice--add-function): Refresh the advice if already present
10838 (bug#14317).
10839
d491e7a8
IA
108402013-05-06 Ivan Andrus <darthandrus@gmail.com>
10841
10842 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10843
ddf9925e
GM
108442013-05-06 Glenn Morris <rgm@gnu.org>
10845
7cc3af27
GM
10846 * w32-fns.el (w32-charset-info-alist): Declare.
10847
16e343d6
GM
10848 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10849 of its defcustom properties.
10850 (eshell-cmpl-initialize): No need to load pcomplete.
10851
7d889a47
GM
10852 * generic-x.el: No need to require comint when compiling.
10853
ddf9925e
GM
10854 * net/eudc-export.el: Make it loadable without bbdb.
10855 (top-level): Use require rather than load-library.
10856 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10857 (eudc-batch-export-records-to-bbdb)
10858 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10859 Require bbdb.
10860
1e2c18df
SM
108612013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10862
10863 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10864 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10865 some tweaks, instead.
10866
02502a5f
LL
108672013-05-05 Leo Liu <sdl.web@gmail.com>
10868
10869 * progmodes/octave.el (octave-font-lock-keywords)
10870 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10871 (inferior-octave-send-list-and-digest): Improve error message.
10872 (octave-mode, inferior-octave-mode): Use setq-local.
10873 (octave-help): Set info-lookup-mode.
10874
0dc04f42
RS
108752013-05-05 Richard Stallman <rms@gnu.org>
10876
6c54491c
RS
10877 * vc/compare-w.el (compare-windows-whitespace):
10878 Treat no-break space as whitespace.
10879
0dc04f42
RS
10880 * mail/rmailsum.el (rmail-summary-rmail-update):
10881 Detect empty summary and don't change selected message.
10882 (rmail-summary-goto-msg): Likewise.
10883
df8f35df
RS
10884 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10885 Doc fixes, rename args.
10886
5356e1a3
AM
108872013-05-05 Alan Mackenzie <acm@muc.de>
10888
10889 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10890
d44014cb
JL
108912013-05-05 Juri Linkov <juri@jurta.org>
10892
10893 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10894 to not add the length of the summary segment to the return value.
10895 (Bug#14125)
10896
c129b51f
LL
108972013-05-05 Leo Liu <sdl.web@gmail.com>
10898
10899 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10900 (inferior-octave-output-filter): Remove.
10901 (octave-send-region, inferior-octave-startup): Fix callers.
10902 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10903 (octave-binary-file-extensions): New user variable.
10904 (octave-find-definition): Confirm if opening binary files.
10905 (octave-help-file): Use octave-find-definition to get the binary
10906 confirmation.
10907 (octave-help): Adjust for octave-help-file change.
10908
aa7dab97
SM
109092013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10910
10911 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10912 Merge the two entries that handle function definitions.
10913 (pascal--syntax-propertize): New const.
10914 (pascal-mode): Use it. Use setq-local.
10915
fd3a9a6b
GM
109162013-05-04 Glenn Morris <rgm@gnu.org>
10917
10918 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10919 (diary-from-outlook): Respect diary-from-outlook-function.
10920
30c7e542
SM
109212013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10922
10923 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10924 Move the declaration from C.
10925 (read-minibuffer, eval-minibuffer): Move from C.
10926 (completion-setup-function): Avoid minibuffer-completion-contents.
10927
b54f978b
LL
109282013-05-03 Leo Liu <sdl.web@gmail.com>
10929
10930 * progmodes/octave.el (octave-font-lock-keywords): Do not
10931 dehighlight 'end' in comments or strings.
30c7e542
SM
10932 (octave-completing-read, octave-goto-function-definition):
10933 New helpers.
d4d0f9b3
LL
10934 (octave-help-buffer): New user variable.
10935 (octave-help-file, octave-help-function): New button types.
10936 (octave-help): New command and bind it to C-h ;.
10937 (octave-find-definition): New command and bind it to M-.
d74a1581 10938 (user-error): Alias to error if not defined.
b54f978b 10939
27135018
LL
109402013-05-02 Leo Liu <sdl.web@gmail.com>
10941
10942 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10943 for \. (bug#14332)
10944 (octave-font-lock-keywords): Include [ and {.
10945
0d634d3a
LL
109462013-05-02 Leo Liu <sdl.web@gmail.com>
10947
10948 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10949 (inferior-octave): Remove calling comint-mode and return the buffer.
10950 (inferior-octave-startup): Cosmetic changes.
10951
b4c8295e
LL
109522013-05-02 Leo Liu <sdl.web@gmail.com>
10953
30c7e542
SM
10954 * progmodes/octave.el (octave-syntax-propertize-function):
10955 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10956
f12ad6ec
GM
109572013-05-02 Glenn Morris <rgm@gnu.org>
10958
10959 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10960 * desktop.el (vc-dir-mode): Just autoload it here.
10961
30cac1e0
AM
109622013-05-02 Alan Mackenzie <acm@muc.de>
10963
10964 Eliminate variable c-standard-font-lock-fontify-region-function.
10965 * progmodes/cc-mode.el
10966 (c-standard-font-lock-fontify-region-function): Remove.
10967 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10968
d8ef28b1
LL
109692013-05-01 Leo Liu <sdl.web@gmail.com>
10970
2640d52e 10971 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10972 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10973 variables were removed from Octave in 2007.
d8ef28b1
LL
10974 (inferior-octave-startup): Fix uses.
10975 (comint-line-beginning-position): Remove compatibility code for
10976 emacs 21.
10977
ac63ec89
JL
109782013-05-01 Juri Linkov <juri@jurta.org>
10979
10980 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10981
9e9be37c
JL
109822013-05-01 Juri Linkov <juri@jurta.org>
10983
10984 * comint.el (comint-previous-matching-input): Don't print message
10985 "History item: %d" when `isearch-mode' is active.
10986 (comint-history-isearch-message): Print message "History item: %d"
10987 when `comint-input-ring-index' is not empty and this function is
10988 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10989
9b92c13b
LL
109902013-05-01 Leo Liu <sdl.web@gmail.com>
10991
10992 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10993 definitions. Use completion-at-point to insert keywords.
10994 (octave-abbrev-start): Remove.
10995 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10996
b12d33d7
LL
109972013-04-30 Leo Liu <sdl.web@gmail.com>
10998
10999 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11000 change.
11001
3d1c39fa
AM
110022013-04-30 Alan Mackenzie <acm@muc.de>
11003
11004 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11005 * progmodes/cc-engine.el (c-back-over-member-initializers):
11006 new function.
3d1c39fa
AM
11007 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11008 (most) member init lists.
11009
5147fc17
RS
110102013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11011
11012 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11013 variable.
11014
5b78d7fc
LL
110152013-04-30 Leo Liu <sdl.web@gmail.com>
11016
11017 * progmodes/octave.el (octave-variables): Remove. No builtin
11018 variables any more. All converted to functions.
11019 (octave-font-lock-keywords, octave-completion-at-point-function):
11020 Fix uses.
11021 (octave-font-lock-texinfo-comment): New user variable.
11022 (octave-texinfo-font-lock-keywords): New variable for texinfo
11023 comment block.
11024 (octave-function-comment-block): New face.
11025 (octave-font-lock-texinfo-comment): New function.
11026 (octave-mode): Font lock texinfo comment block.
11027
38d8527b
LL
110282013-04-29 Leo Liu <sdl.web@gmail.com>
11029
11030 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11031 indexing expression.
11032 (octave-continuation-string): Do not use \.
11033 (inferior-octave-complete-impossible): Remove.
11034 (inferior-octave-completion-table)
11035 (inferior-octave-completion-at-point): Remove its uses.
11036 (inferior-octave-startup): completion_matches was introduced to
11037 Octave in 1996 so safe to assume it.
11038 (octave-function-file-comment): Improve to follow how Octave does it.
11039 (octave-update-function-file-comment): Tweak.
11040
2ec12cb0
LL
110412013-04-29 Leo Liu <sdl.web@gmail.com>
11042
11043 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11044 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11045 (octave-function-file-comment): Fix typo.
11046 (octave-sync-function-file-names): Use read-char-choice.
11047
6eaed048
JB
110482013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11049
11050 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11051 to t for the less important warnings.
11052
3ffa2d4f
DH
110532013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11054
11055 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11056
685c9501
GM
110572013-04-27 Glenn Morris <rgm@gnu.org>
11058
11059 * vc/log-view.el (log-view-current-entry):
11060 Treat "---" separator lines as part of the following rev. (Bug#14169)
11061
0208ede7
JL
110622013-04-27 Juri Linkov <juri@jurta.org>
11063
11064 * subr.el (read-number): Doc fix about using it by interactive
11065 code letter `n'. (Bug#14254)
11066
5db9dace
JL
110672013-04-27 Juri Linkov <juri@jurta.org>
11068
11069 * desktop.el (desktop-auto-save-timeout): New option.
11070 (desktop-file-checksum): New variable.
11071 (desktop-save): Add optional arg `auto-save' and don't auto-save
11072 if nothing changed.
11073 (desktop-auto-save-timer): New variable.
11074 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11075 (after-init-hook): Call `desktop-auto-save-set-timer'.
11076 Suggested by Reuben Thomas <rrt@sc3d.org> in
11077 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11078
b7260dd4
LL
110792013-04-27 Leo Liu <sdl.web@gmail.com>
11080
11081 * progmodes/octave.el (octave-function-file-p)
11082 (octave-skip-comment-forward, octave-function-file-comment)
11083 (octave-update-function-file-comment): New functions.
11084 (octave-mode-map): Bind C-c ; to
11085 octave-update-function-file-comment.
11086 (octave-mode-menu): Add octave-update-function-file-comment.
11087 (octave-mode, inferior-octave-mode): Fix doc-string.
11088 (octave-insert-defun): Conform to Octave's coding convention.
11089 (Bug#14285)
11090
11091 * files.el (basic-save-buffer): Don't let errors in
11092 before-save-hook prevent saving buffer.
11093
c46da669
RW
110942013-04-20 Roland Winkler <winkler@gnu.org>
11095
11096 * faces.el (read-face-name): Use completing-read if arg multiple
11097 is nil.
11098
a81ee1eb
IL
110992013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11100
11101 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11102 displayed, move point to after the totals line.
11103 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11104 for the details.
11105
4fac34ce
SM
111062013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11107
11108 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11109 Add current dir to the load-path.
11110 (package-generate-autoloads): Don't rely on
11111 autoload-ensure-default-file.
11112
f6bfc063
RT
111132013-04-26 Reuben Thomas <rrt@sc3d.org>
11114
d40ab5cf
BG
11115 * textmodes/remember.el (remember-store-in-files): Document that
11116 the file name format is passed to `format-time-string'.
f6bfc063 11117
e55d3b04
LL
111182013-04-26 Leo Liu <sdl.web@gmail.com>
11119
11120 * progmodes/octave.el (octave-sync-function-file-names): New function.
11121 (octave-mode): Use it in before-save-hook.
11122
e53052d3
SM
111232013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11124
140ef50c
SM
11125 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11126 (bug#14274).
11127
e53052d3
SM
11128 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11129 \n and comment, even if it's not an implicit ; (bug#14218).
11130
af80458d 111312013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11132
11133 * subr.el (read-number): Once more use `read' rather than
11134 `string-to-number', to trap non-numeric input. (Bug#14254)
11135
af80458d 111362013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11137
11138 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11139 Use `syntax-multiline' text property consistently instead of
8a621d53 11140 `font-lock-multiline'. (Bug#14237)
70203c2e 11141
e6ea1f6c
GM
111422013-04-26 Glenn Morris <rgm@gnu.org>
11143
11144 * emacs-lisp/shadow.el (list-load-path-shadows):
11145 No longer necessary to check for duplicate simple.el, since
11146 2012-07-07 change to init_lread to not include installation lisp
11147 directories in load-path when running uninstalled. (Bug#14270)
11148
070ccca4
LL
111492013-04-26 Leo Liu <sdl.web@gmail.com>
11150
11151 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11152 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11153 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11154 octave-in-string-or-comment-p.
11155 (octave-in-comment-p, octave-in-string-p)
11156 (octave-in-string-or-comment-p): Replace defsubst with defun.
11157
9d1c5fb6
PE
111582013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11159
11160 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11161
c034abda
BG
111622013-04-25 Bastien Guerry <bzg@gnu.org>
11163
11164 * textmodes/remember.el (remember-data-directory)
11165 (remember-directory-file-name-format): Fix custom types.
11166
584ea277
LL
111672013-04-25 Leo Liu <sdl.web@gmail.com>
11168
e53052d3
SM
11169 * progmodes/octave.el (octave-completion-at-point-function):
11170 Make use of inferior octave process.
584ea277
LL
11171 (octave-initialize-completions): Remove.
11172 (inferior-octave-completion-table): New function.
11173 (inferior-octave-completion-at-point): Use it.
11174 (octave-completion-alist): Remove.
11175
1693b06a
SM
111762013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11179 (opascal-mode-syntax-table): New var.
11180 (opascal-literal-kind, opascal-is-literal-end)
11181 (opascal-literal-token-at): Rewrite.
11182 (opascal--literal-start-re, opascal-font-lock-keywords)
11183 (opascal--syntax-propertize): New constants.
11184 (opascal-font-lock-defaults): Adjust.
11185 (opascal-mode): Use them. Set comment-<foo> variables as well.
11186 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11187 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11188 (delphi-other-face, opascal-other-face): Remove face variables.
11189 (opascal-save-state): Remove macro.
11190 (opascal-fontifying-progress-step): Remove constant.
11191 (opascal--ignore-changes): Remove var.
11192 (opascal-set-token-property, opascal-parse-next-literal)
11193 (opascal-is-stable-literal, opascal-complete-literal)
11194 (opascal-is-literal-start, opascal-face-of)
11195 (opascal-parse-region, opascal-parse-region-until-stable)
11196 (opascal-fontify-region, opascal-after-change)
11197 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11198 (opascal-debug-parse-region, opascal-debug-parse-window)
11199 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11200 (opascal-debug-fontify-buffer): Remove.
11201 (opascal-debug-mode-map): Adjust accordingly.
11202
be64c05d
LL
112032013-04-25 Leo Liu <sdl.web@gmail.com>
11204
11205 Merge octave-mod.el and octave-inf.el into octave.el with some
11206 cleanups.
11207 * progmodes/octave.el: New file renamed from octave-mod.el.
11208 * progmodes/octave-inf.el: Merged into octave.el.
11209 * progmodes/octave-mod.el: Renamed to octave.el.
11210
d79d37bd
TH
112112013-04-25 Tassilo Horn <tsdh@gnu.org>
11212
11213 * textmodes/reftex-vars.el
11214 (reftex-label-ignored-macros-and-environments): New defcustom.
11215
11216 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11217
ced3fc5d
SM
112182013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11219
11220 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11221 (smie-indent-keyword): Improve the check to ensure that the next
11222 comment is really on the same line.
11223 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11224
11225 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11226 semi-colons if the line is not otherwise empty (bug#14218).
11227
1c141dad
GM
112282013-04-25 Glenn Morris <rgm@gnu.org>
11229
11230 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11231
5058062a
SM
112322013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11233
11234 * progmodes/opascal.el (opascal-set-token-property): Rename from
11235 opascal-set-text-properties and only set `token' (bug#14134).
11236 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11237 (opascal-literal-text-properties): Remove.
11238 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11239 Adjust callers.
11240
5db9dace 112412013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11242
11243 * textmodes/remember.el (remember-handler-functions): Add an
11244 option for a new handler `remember-store-in-files'.
11245 (remember-data-directory, remember-directory-file-name-format):
11246 New options.
11247 (remember-store-in-files): New function to store remember notes
11248 as separate files within a directory.
11249
4391916c
MH
112502013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11251
11252 * progmodes/compile.el (compilation-next-error-function):
11253 Pass "formats" to compilation-find-file (bug#11777).
11254
bb7cdf58
GM
112552013-04-24 Glenn Morris <rgm@gnu.org>
11256
3b8fe752 11257 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11258 * vc/vc-hg.el (vc-hg-print-log):
11259 * vc/vc-svn.el (vc-svn-print-log):
11260 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11261
bb7cdf58
GM
11262 * vc/vc-bzr.el (vc-bzr-print-log):
11263 * vc/vc-cvs.el (vc-cvs-print-log):
11264 * vc/vc-git.el (vc-git-print-log):
11265 * vc/vc-hg.el (vc-hg-print-log):
11266 * vc/vc-mtn.el (vc-mtn-print-log):
11267 * vc/vc-rcs.el (vc-rcs-print-log):
11268 * vc/vc-sccs.el (vc-sccs-print-log):
11269 * vc/vc-svn.el (vc-svn-print-log):
11270 * vc/vc.el (vc-print-log-internal): Doc fixes.
11271
b46a056e
GM
112722013-04-23 Glenn Morris <rgm@gnu.org>
11273
11274 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11275 Remove venerable code attempting to avoid substitute-command-keys.
11276
0aecf718
TH
112772013-04-23 Tassilo Horn <tsdh@gnu.org>
11278
4391916c
MH
11279 * textmodes/reftex-vars.el (reftex-label-regexps):
11280 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11281
117f94cf
SM
112822013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11283
4391916c 11284 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11285 Use lexical-binding.
11286 (jit-lock-force-redisplay): Use markers, check buffer's continued
11287 existence and beware narrowed buffers.
11288 (jit-lock-fontify-now): Adjust call accordingly.
11289
1d829c64
SM
112902013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11291
11292 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11293 to avoid misleading the user.
11294
72d548a9
LL
112952013-04-22 Leo Liu <sdl.web@gmail.com>
11296
11297 * info-look.el: Prefer latex2e.info. (Bug#14240)
11298
d0853629
MA
112992013-04-22 Michael Albinus <michael.albinus@gmx.de>
11300
11301 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11302
11303 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11304 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11305 (tramp-set-completion-function, tramp-parse-putty):
11306 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11307 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11308 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11309 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11310 (tramp-call-local-coding-command): Use `tramp-call-process'
11311 instead of `tramp-compat-call-process'.
11312
11313 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11314 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11315 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11316 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11317 (tramp-maybe-send-script): Check for Perl binary.
11318 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11319
38cc0210
DU
113202013-04-22 Daiki Ueno <ueno@gnu.org>
11321
11322 * epg.el (epg-context-pinentry-mode): New function.
11323 (epg-context-set-pinentry-mode): New function.
11324 (epg--start): Pass --pinentry-mode option to gpg command.
11325
cc641ee1
XF
113262013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11327
02d844b5 11328 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11329 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11330 `completion-at-point'. (Bug#13774)
5d4e5c31 11331
cc641ee1
XF
11332 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11333 default key binding for `describe-distribution' has been moved to
11334 `C-h C-o'. (Bug#13970)
11335
1b42ee43
GM
113362013-04-21 Glenn Morris <rgm@gnu.org>
11337
11338 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11339 Add doc strings.
11340 (vc-print-log): Clarify interactive prompt.
11341
a6d63d97
GM
113422013-04-20 Glenn Morris <rgm@gnu.org>
11343
11344 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11345 No longer include timestamp etc information.
11346
d7f5c16f
RW
113472013-04-20 Roland Winkler <winkler@gnu.org>
11348
11349 * faces.el (read-face-name): Bug fix, return just one face if arg
11350 multiple is nil. (Bug#14209)
11351
bcd7a0a4
SM
113522013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11353
11354 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11355 (remove-function): Autoload.
11356
11357 * comint.el (comint-redirect-original-filter-function): Remove.
11358 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11359 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11360 (vc-cvs-annotate-command):
bcd7a0a4
SM
11361 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11362 * progmodes/prolog.el (prolog-consult-compile):
11363 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11364 Use add/remove-function instead.
11365 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11366 (gud-tooltip-process-output, gud-tooltip-tips):
11367 Use add/remove-function instead.
11368 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11369 (scheme-interaction-mode, exit-scheme-interaction-mode):
11370 Use add/remove-function instead.
11371
11372 * vc/vc-dispatcher.el: Use lexical-binding.
11373 (vc--process-sentinel): Rename from vc-process-sentinel.
11374 Change last arg to be the code to run. Don't use vc-previous-sentinel
11375 and vc-sentinel-commands any more.
11376 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11377 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11378
e36b2d20 113792013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11380
bcd7a0a4 11381 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11382 Handle function names with a single character. (Bug#14111)
4d3268ba 11383
781b4af6 113842013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11385
11386 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11387 for subroutines defined in an eval (bug#14182).
11388
7d688336
TV
113892013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11390
11391 * bookmark.el (bookmark-completing-read): Improve handling of empty
11392 string (bug#14176).
11393
31dcede0
SM
113942013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11395
11396 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11397
adc31213
FEG
113982013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11399
11400 New faster Imenu implementation (bug#14058).
11401 * progmodes/python.el:
11402 (python-imenu-prev-index-position):
11403 (python-imenu-format-item-label-function)
11404 (python-imenu-format-parent-item-label-function)
11405 (python-imenu-format-parent-item-jump-label-function):
11406 New vars.
11407 (python-imenu-format-item-label)
11408 (python-imenu-format-parent-item-label)
11409 (python-imenu-format-parent-item-jump-label)
11410 (python-imenu--put-parent, python-imenu--build-tree)
11411 (python-imenu-create-index, python-imenu-create-flat-index)
11412 (python-util-popn): New functions.
11413 (python-mode): Set imenu-create-index-function to
11414 python-imenu-create-index.
11415
cdca8255
SM
114162013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11417
11418 * winner.el (winner-active-region): Use region-active-p, activate-mark
11419 and deactivate-mark (bug#14225).
11420
11421 * simple.el (deactivate-mark): Don't inline it.
11422
beb42340
MA
114232013-04-18 Michael Albinus <michael.albinus@gmx.de>
11424
11425 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11426
fc7f4d7e
TH
114272013-04-18 Tassilo Horn <tsdh@gnu.org>
11428
11429 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11430 file extensions from the archive-mode entry in order to prefer
11431 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11432
29f47822
LL
114332013-04-18 Leo Liu <sdl.web@gmail.com>
11434
11435 * bindings.el (help-event-list): Add ?\?.
11436
d36ed1c8
SM
114372013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11438
11439 * subr.el (with-wrapper-hook): Declare obsolete.
11440 * simple.el (filter-buffer-substring-function): New hook.
11441 (filter-buffer-substring): Use it.
11442 (filter-buffer-substring-functions): Mark obsolete.
11443 * minibuffer.el (completion-in-region-function): New hook.
11444 (completion-in-region): Use it.
11445 (completion-in-region-functions): Mark obsolete.
11446 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11447 * abbrev.el (abbrev-expand-function): New hook.
11448 (expand-abbrev): Use it.
11449 (abbrev-expand-functions): Mark obsolete.
11450 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11451 and :filter-return.
11452
04754d36
FEG
114532013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11454
11455 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11456 and do not care about match data.
11457
dd8791e9
SM
114582013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11459
11460 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11461 completion tables when completing error conditions and
11462 `declare' arguments.
11463 (lisp-complete-symbol, field-complete): Mark as obsolete.
11464 (check-parens): Unmatched parens are user errors.
11465 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11466
ffe54a13
AM
114672013-04-17 Michal Nazarewicz <mina86@mina86.com>
11468
dd8791e9
SM
11469 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11470 command changed buffer (ie. `flyspell-pre-buffer' is not current
11471 buffer), which prevents making decisions based on invalid value of
11472 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11473 cause an error when `flyspell-pre-point' was nil after switching
11474 buffers.
11475 (flyspell-post-command-hook): No longer needs to change buffers when
11476 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11477
ec7e39f2
AM
114782013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11479
11480 * textmodes/ispell.el (ispell-add-per-file-word-list):
11481 Fix `flyspell-correct-word-before-point' error when accepting
11482 words and `coment-padding' is an integer by using
11483 `comment-normalize-vars' (Bug #14214).
11484
083850a6
FEG
114852013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11486
11487 New defun movement commands.
11488 * progmodes/python.el (python-nav--syntactically)
11489 (python-nav--forward-defun, python-nav-backward-defun)
11490 (python-nav-forward-defun): New functions.
11491
619ed6e1
FEG
114922013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11493
11494 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11495 (python-syntax-context): Use named compiler-macro for backwards
11496 compatibility with Emacs 24.x.
11497
7a1beb6c
LL
114982013-04-17 Leo Liu <sdl.web@gmail.com>
11499
11500 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11501 octave-hide-process-buffer.
11502
2d3fa3e5
SM
115032013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11504
11505 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11506 (bug#14216).
11507
7ce5be54
JPG
115082013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11509
11510 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11511 Fix adjustment of offset when receiving incomplete responses from GDB
11512 (bug#14129).
11513
351edece
SM
115142013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11515
11516 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11517 python-mode-abbrev-table.
11518 (python-skeleton-define): Adjust accordingly.
11519 (python-mode-abbrev-table): New table that inherits from it so that
11520 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11521
11522 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11523 (abbrev-symbol): Use it.
11524 (abbrev--before-point): Use it since we already handle inheritance.
11525
613f9481
LL
115262013-04-16 Leo Liu <sdl.web@gmail.com>
11527
11528 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11529 binding to info-lookup-symbol.
11530
51646b62
JB
115312013-04-16 Juanma Barranquero <lekktu@gmail.com>
11532
11533 * minibuffer.el (completion--twq-all):
11534 * term/ns-win.el (ns-initialize-window-system):
11535 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11536
efb3f01d
SM
115372013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11538
36c0a301
SM
11539 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11540 global bindings.
11541
efb3f01d
SM
11542 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11543
fb549d64
DG
115442013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11545
11546 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11547 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11548 to nil.
11549 (ruby-end-of-defun): Remove the unused arg, change the docstring
11550 to reflect that this function is only used as the value of
11551 `end-of-defun-function'.
11552 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11553 to reflect an earlier change that beginning/end-of-defun functions
11554 jump between methods in a class definition, as well as top-level
11555 functions.
11556
21e8fe2f
SM
115572013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11558
11559 * minibuffer.el (minibuffer-complete): Don't just scroll
11560 a *Completions* that's been iconified.
11561 (minibuffer-force-complete): Make sure repetitions do cycle when going
11562 through completion-in-region -> minibuffer-complete.
11563
20e527d0
AM
115642013-04-15 Alan Mackenzie <acm@muc.de>
11565
11566 Correct the placement of c-cpp-delimiters when there're #s not at
11567 col 0.
11568
11569 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11570 place a submatch around the #.
21e8fe2f
SM
11571 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11572 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11573 on the #, not BOL.
11574
dabefae5
SM
115752013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11576
11577 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11578 (advice--member-p): New arg `name'.
11579 (advice--add-function, advice-member-p): Use it (bug#14202).
11580
85c9ab64
AM
115812013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11582
11583 Reformulate java imenu-generic-expression.
11584 The old expression contained ill formed regexps.
11585
11586 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11587 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11588 (cc-imenu-java-method-arg-regexp): New defconsts.
11589 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11590 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11591 handling of spaces in the regexp.
11592
0f821d99
AM
115932013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11594
11595 * textmodes/ispell.el (ispell-command-loop): Remove
11596 flyspell highlight of a word when ispell accepts it (bug #14178).
11597
eb922adf
MA
115982013-04-15 Michael Albinus <michael.albinus@gmx.de>
11599
11600 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11601 uses code from the previous `ange-ftp-run-real-handler'.
11602 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11603 only in case that function exist. This is needed for proper
11604 unloading of Tramp.
11605
4d9a0979
TH
116062013-04-15 Tassilo Horn <tsdh@gnu.org>
11607
11608 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11609
11610 * textmodes/reftex.el (reftex-compile-variables): Use it.
11611
a829b0dc
SM
116122013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11613
91e8293c
SM
11614 * files.el (normal-mode): Only use default major-mode if no other mode
11615 was specified.
11616
830aed4d
SM
11617 * emacs-lisp/trace.el (trace-values): New function.
11618
a829b0dc
SM
11619 * files.el: Allow : in local variables (bug#14089).
11620 (hack-local-variable-regexp): New var.
11621 (hack-local-variables-prop-line, hack-local-variables): Use it.
11622
7ae9f0fb
RW
116232013-04-13 Roland Winkler <winkler@gnu.org>
11624
11625 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11626 data before it gets modified by bibtex-beginning-of-entry.
11627
6646e848
RW
116282013-04-13 Roland Winkler <winkler@gnu.org>
11629
11630 * textmodes/bibtex.el (bibtex-url): Doc fix.
11631
116322013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11633
11634 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11635 does not visit a BibTeX file, exclude it from the list of buffers
11636 returned by bibtex-initialize.
11637
0aa3616e
SB
116382013-04-13 Stephen Berman <stephen.berman@gmx.net>
11639
11640 * window.el (split-window): Remove interactive form, since as a
11641 command this function is a special case of split-window-below.
11642 Correct doc string.
11643
011cddd6
RW
116442013-04-12 Roland Winkler <winkler@gnu.org>
11645
11646 * faces.el (read-face-name): Do not override value of arg default.
11647 Allow single faces and strings as default values. Remove those
11648 elements from return value that are not faces.
11649 (describe-face): Simplify.
11650 (face-at-point): New optional args thing and multiple so that this
11651 function can provide the same functionality previously provided by
11652 read-face-name.
11653 (make-face-bold, make-face-unbold, make-face-italic)
11654 (make-face-unitalic, make-face-bold-italic, invert-face)
11655 (modify-face, read-face-and-attribute): Use face-at-point.
11656
11657 * cus-edit.el (customize-face, customize-face-other-window)
11658 * cus-theme.el (custom-theme-add-face)
11659 * face-remap.el (buffer-face-set)
11660 * facemenu.el (facemenu-set-face): Use face-at-point.
11661
f24e0036
MA
116622013-04-12 Michael Albinus <michael.albinus@gmx.de>
11663
11664 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11665
da3cda2d
TH
116662013-04-10 Tassilo Horn <tsdh@gnu.org>
11667
11668 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11669 off leading { and trailing } from field values.
11670
15e54145
SM
116712013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11672
78ce603d
SM
11673 * emacs-lisp/timer.el (timer--check): New function.
11674 (timer--time, timer-set-function, timer-event-handler): Use it.
11675 (timer-set-idle-time): Simplify.
11676 (timer--activate): CSE.
11677 (timer-event-handler): Give more info in error message.
11678 (internal-timer-start-idle): New function, moved from C.
11679
15e54145
SM
11680 * mpc.el (mpc-proc): Add `restart' argument.
11681 (mpc-proc-cmd): Use it.
11682 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11683 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11684 less often.
11685
7144c627
MY
116862013-04-10 Masatake YAMATO <yamato@redhat.com>
11687
11688 * progmodes/sh-script.el: Implement `sh-mode' own
11689 `add-log-current-defun-function' (bug#14112).
11690 (sh-current-defun-name): New function.
11691 (sh-mode): Use the function.
11692
b39792eb
BG
116932013-04-09 Bastien Guerry <bzg@gnu.org>
11694
11695 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11696
8acdeb71
SM
116972013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11698
6fcdab68
SM
11699 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11700
8acdeb71
SM
11701 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11702 timer (bug#14156).
11703
e3e7b504
NF
117042013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11705
11706 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11707 declaration.
11708
201bb296
LL
117092013-04-07 Leo Liu <sdl.web@gmail.com>
11710
11711 * pcmpl-x.el: New file.
11712
ebb19708
DA
117132013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11714
11715 Do not set x-display-name until X connection is established.
11716 This is needed to prevent from weird situation described at
11717 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11718 * frame.el (make-frame): Set x-display-name after call to
11719 window system initialization function, not before.
11720 * term/x-win.el (x-initialize-window-system): Add optional
11721 display argument and use it.
11722 * term/w32-win.el (w32-initialize-window-system):
11723 * term/ns-win.el (ns-initialize-window-system):
11724 * term/pc-win.el (msdos-initialize-window-system):
11725 Add compatible optional display argument.
11726
33bb237a
EZ
117272013-04-06 Eli Zaretskii <eliz@gnu.org>
11728
11729 * files.el (normal-backup-enable-predicate): On MS-Windows and
11730 MS-DOS compare truenames of temporary-file-directory and of the
11731 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11732 don't fail comparison by compare-strings. Also, compare file
11733 names case-insensitively on MS-Windows and MS-DOS.
11734
134abf1f
SM
117352013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11736
11737 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11738 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11739
d695cb94
DG
117402013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11741
e3e7b504
NF
11742 * whitespace.el (whitespace-color-on, whitespace-color-off):
11743 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11744
f4ad7ea1 117452013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11746
11747 * ispell.el (ispell-set-spellchecker-params):
11748 Really set `ispell-args' for all equivs.
11749
632556e4
SM
117502013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11751
11752 * ido.el (ido-completions): Use extra elements of ido-decorations
11753 (bug#14143).
11754 (ido-decorations): Update docstring.
11755
2a417372
MA
117562013-04-05 Michael Albinus <michael.albinus@gmx.de>
11757
11758 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11759 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11760 nil during initialization, in order not to miss changes since the
11761 file was opened. (Bug#14140)
11762
fc164b0c
LL
117632013-04-05 Leo Liu <sdl.web@gmail.com>
11764
11765 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11766
0ccecc08
JB
117672013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11768
11769 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11770
51af1aa2
GM
117712013-04-04 Glenn Morris <rgm@gnu.org>
11772
11773 * electric.el (electric-pair-inhibit-predicate): Add :version.
11774
b208ebc6
SM
117752013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11776
11777 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11778 when a package is required several times (bug#14082).
11779
f3d3eaf0
RW
117802013-04-04 Roland Winkler <winkler@gnu.org>
11781
11782 * faces.el (read-face-name): Behave as promised by the docstring.
11783 Assume that arg default is a list of faces.
11784 (describe-face): Call read-face-name with list of default faces.
11785
2575da50
TV
117862013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11787
11788 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11789 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11790 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11791 the header.
11792 (bookmark-exit-hook-internal): Save even if list is empty.
11793
397703b4
YH
117942013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11795
11796 * emacs-lisp/package.el (package-pinned-packages): New var.
11797 (package--add-to-archive-contents): Obey it (bug#14118).
11798
691e26ae
AM
117992013-04-03 Alan Mackenzie <acm@muc.de>
11800
8a621d53
JB
11801 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11802 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11803
11804 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11805 parameter `not-in-delimiter'. Handle being inside comment opener.
11806 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11807 character in case we're typing a '*' after a '/'.
11808 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11809 instead by passing the parameter to c-state-pp-to-literal.
11810
11811 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11812 for elt. 7 of a parse state.
11813
4b725a70
PE
118142013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11815
11816 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11817 * international/latin1-disp.el, international/mule-util.el:
11818 * language/cyril-util.el, language/european.el, language/ind-util.el:
11819 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11820 * language/tibetan.el, language/viet-util.el:
11821 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11822
15c579f0
SM
118232013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11824
11825 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11826 (electric-pair-post-self-insert-function): Use it.
11827 (electric-pair-default-inhibit): New function, extracted from
11828 electric-pair-post-self-insert-function.
11829
a77e2924
RW
118302013-03-31 Roland Winkler <winkler@gnu.org>
11831
11832 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11833
2bd8a4a8
SM
118342013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11835
11836 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11837
8d3655be 118382013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11839
11840 Un-indent after "pass" and "return" statements (Bug#13888)
11841 * progmodes/python.el (python-indent-block-enders): New var.
11842 (python-indent-calculate-indentation): Use it.
11843
8d3655be 118442013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11845
11846 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11847 defun. Defining it as defalias could introduce too eager
11848 byte-compiler optimization. (Bug#14030)
11849
8d3655be 118502013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11851
11852 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11853
0b1619da
LL
118542013-03-30 Leo Liu <sdl.web@gmail.com>
11855
11856 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11857 (kmacro-execute-from-register): Pass the keyboard macro to
11858 kmacro-call-macro or repeating won't work correctly.
11859
0b938190
TZ
118602013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11861
11862 * progmodes/subword.el: Back to using `forward-symbol'.
11863
11864 * subr.el (forward-whitespace, forward-symbol)
11865 (forward-same-syntax): Move from thingatpt.el.
11866
35710234
LL
118672013-03-29 Leo Liu <sdl.web@gmail.com>
11868
11869 * kmacro.el (kmacro-to-register): New command.
11870 (kmacro-execute-from-register): New function.
11871 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11872
efc0bb73
SM
118732013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11874
11875 * mpc.el: Use defvar-local and setq-local.
11876 (mpc--proc-connect): Connection failures are not bugs.
11877 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11878 (mpc-volume-map): Bind to the up-events.
11879
75a2f981
TZ
118802013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11881
11882 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11883 instead of `forward-symbol'.
11884
17c781d1
SM
118852013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11886
11887 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11888 (edebug--recursive-edit): Use it.
11889 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11890 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11891
f67bfbcf
LL
118922013-03-28 Leo Liu <sdl.web@gmail.com>
11893
11894 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11895
b59f639d
EZ
118962013-03-27 Eli Zaretskii <eliz@gnu.org>
11897
11898 * facemenu.el (list-colors-callback): New defvar.
11899 (list-colors-redisplay): New function.
11900 (list-colors-display): Install list-colors-redisplay as the
11901 revert-buffer-function. (Bug#14063)
11902
f557c1b1
SM
119032013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11904
b1da2957
SM
11905 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11906 and suffixes don't overlap (bug#14061).
11907
f557c1b1
SM
11908 * case-table.el: Use lexical-binding.
11909 (case-table-get-table): New function.
11910 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11911
002668e1
TZ
119122013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11913
11914 * progmodes/subword.el: Add `superword-mode' to do word motion
11915 over symbol_words (parallels and leverages `subword-mode' which
11916 does word motion inside MixedCaseWords).
11917
73572c72
AG
119182013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11919
78b8f320 11920 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11921 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11922
69b2c07e
SM
119232013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11924
11925 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11926 Change return value to be a sexp. Delay `get-buffer' to after
11927 restoring the desktop (bug#13951).
11928
08bb5ee2
LL
119292013-03-26 Leo Liu <sdl.web@gmail.com>
11930
11931 * register.el: Move semantic tag handling back to
11932 cedet/semantic/senator.el. (Bug#14052)
11933
8d4c974e
SM
119342013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11935
11936 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11937 into the prompt either (bug#13963).
11938
b234d92c
SM
119392013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11942 part of "(error-foo)".
11943
ddfa3cb4
JL
119442013-03-24 Juri Linkov <juri@jurta.org>
11945
11946 * replace.el (list-matching-lines-prefix-face): New defcustom.
11947 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11948 `occur-engine' if `face-differs-from-default-p' returns t.
11949 (occur-engine): Add `,' inside backquote construct to evaluate
11950 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11951 Pass `prefix-face' to the functions `occur-context-lines' and
11952 `occur-engine-add-prefix'.
11953 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11954 `prefix-face' and propertize the prefix with `prefix-face'.
11955 (Bug#14017)
11956
7b0e2f85
LL
119572013-03-24 Leo Liu <sdl.web@gmail.com>
11958
11959 * nxml/rng-valid.el (rng-validate-while-idle)
11960 (rng-validate-quick-while-idle): Guard against deleted buffer.
11961 (Bug#13999)
11962
11963 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11964 is the last entry in kill-buffer-hook.
11965
11966 * files.el (kill-buffer-hook): Doc fix.
11967
b3082f49
DG
119682013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11969
b234d92c
SM
11970 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11971 Make it safe-local.
bde73d27 11972
b3082f49
DG
11973 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11974
a320a2db
LL
119752013-03-23 Leo Liu <sdl.web@gmail.com>
11976
7e74b0fb
LL
11977 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11978 Remove.
11979
11980 * nxml/rng-valid.el (rng-validate-mode)
11981 (rng-after-change-function, rng-do-some-validation):
11982 * nxml/rng-maint.el (rng-validate-buffer):
11983 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11984 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11985 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11986 (nxml-extend-after-change-region): Use with-silent-modifications.
11987
a320a2db
LL
11988 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11989 timer-idle-list.
11990
11991 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11992 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11993 timer-idle-list. (Bug#13999)
11994
e38e6780
JL
119952013-03-23 Juri Linkov <juri@jurta.org>
11996
11997 * info.el (info-index-match): New face.
11998 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11999 main pattern and add text properties with the new face to matches
12000 in index entries relative to the beginning of the index entry.
12001 (Bug#14015)
12002
e8cc7880
DE
120032013-03-21 Eric Ludlam <zappo@gnu.org>
12004
12005 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
12006 Inhibit read only while inserting objects.
12007
9bb0d822
TZ
120082013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12009
12010 * progmodes/cfengine.el: Update docs to mention
12011 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12012 symbol motion. Remove "_" from the word syntax.
12013
aa703640
TZ
120142013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12015
12016 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12017 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12018
afff09d0
JL
120192013-03-20 Juri Linkov <juri@jurta.org>
12020
12021 * info.el (Info-next-reference-or-link)
12022 (Info-prev-reference-or-link): New functions.
12023 (Info-next-reference, Info-prev-reference): Use them.
12024 (Info-try-follow-nearest-node): Handle footnote navigation.
12025 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12026
9a1ff164
SM
120272013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12028
12029 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12030 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12031
2667d15d
PE
120322013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12033
12034 Suppress unnecessary non-ASCII chatter during build process.
12035 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12036 (batch-skkdic-convert): Suppress most of the chatter.
12037 It's not needed so much now that machines are faster,
12038 and its non-ASCII component was confusing; see Dmitry Gutov in
12039 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12040
438b0579
LL
120412013-03-20 Leo Liu <sdl.web@gmail.com>
12042
12043 * ido.el (ido-chop): Fix bug#10994.
12044
c128ab07
DG
120452013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12046
12047 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12048 Remove vars.
9a1ff164
SM
12049 (whitespace-color-on, whitespace-color-off):
12050 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12051
0e6008c5
SM
120522013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12053
12054 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12055 remapping in mode-line.
12056 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12057
627b52b0
DG
120582013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12059
12060 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12061 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12062 (whitespace-font-lock-keywords): Change description.
12063 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12064 the constructed keywords instead.
12065 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12066
50c3a20b
LL
120672013-03-19 Leo Liu <sdl.web@gmail.com>
12068
12069 * progmodes/compile.el (compilation-display-error): New command.
12070 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12071 C-o. (Bug#13992)
12072
2aa2157b
PE
120732013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12074
12075 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12076
e477dbfa
JD
120772013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12078
12079 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12080
64ab82d1
MA
120812013-03-18 Michael Albinus <michael.albinus@gmx.de>
12082
12083 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12084
12085 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12086 * net/tramp-gvfs.el (top):
12087 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12088 (tramp-handle-shell-command): Use it.
12089 (tramp-dissect-file-name): Raise an error when hostname is a
12090 method name, and neither method nor user is specified.
12091
12092 * net/trampver.el: Update release number.
12093
33cef733
LL
120942013-03-18 Leo Liu <sdl.web@gmail.com>
12095
12096 Make sure eldoc can be turned off properly.
12097 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12098 eldoc-mode.
12099 (eldoc-display-message-p): Revert last change.
12100 (eldoc-display-message-no-interference-p)
12101 (eldoc-print-current-symbol-info): Tweak.
12102
2167b7b2
TH
121032013-03-18 Tassilo Horn <tsdh@gnu.org>
12104
12105 * doc-view.el (doc-view-new-window-function): Check the new window
12106 overlay's display property instead the char property of the
12107 buffer's first char. Use `with-selected-window' instead of
12108 `save-window-excursion' with `select-window'.
12109 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12110 display property instead the char property of the buffer's first char.
2167b7b2 12111
982efbcd
PE
121122013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12113
12114 Automate the build of ja-dic.el (Bug#13984).
12115 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12116 from the input, rather than assume that it's been done for us by the
12117 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12118 the current date into a ja-dic.el comment, as that complicates
12119 regression testing.
12120
2fcc7665
SM
121212013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12122
12123 * whitespace.el: Fix double evaluation.
12124 (whitespace-space, whitespace-hspace, whitespace-tab)
12125 (whitespace-newline, whitespace-trailing, whitespace-line)
12126 (whitespace-space-before-tab, whitespace-indentation)
12127 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12128 obsolete defvars.
12129 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12130 (whitespace-color-on): Use a single font-lock-add-keywords call.
12131 Fix double-evaluation of face variables.
12132
67c0a6e6
MA
121332013-03-17 Michael Albinus <michael.albinus@gmx.de>
12134
2fcc7665
SM
12135 * net/tramp-adb.el (tramp-adb-parse-device-names):
12136 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12137 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12138
69489f1d
LL
121392013-03-17 Leo Liu <sdl.web@gmail.com>
12140
12141 Extend eldoc to display info in the mode-line. (Bug#13978)
12142 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12143 (eldoc-mode-line-string): New variable.
12144 (eldoc-minibuffer-message): New function.
12145 (eldoc-message-function): New variable.
12146 (eldoc-message): Use it.
12147 (eldoc-display-message-p)
2fcc7665
SM
12148 (eldoc-display-message-no-interference-p):
12149 Support eldoc-post-insert-mode.
69489f1d
LL
12150
12151 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12152 (eval-expression): Run it.
12153
9c44569e
RW
121542013-03-17 Roland Winkler <winkler@gnu.org>
12155
12156 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12157 strings in the list of return values.
12158
327f1f6f
JB
121592013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12160
12161 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12162 radix before checking for HMS forms.
12163
67ed8fcd
LL
121642013-03-16 Leo Liu <sdl.web@gmail.com>
12165
12166 * progmodes/scheme.el: Add indentation and font-locking for λ.
12167 (Bug#13975)
12168
78be8b64 121692013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12170
12171 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12172 token before point (bug#13942).
12173
78be8b64 121742013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12175
95b43468 12176 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12177
98e775e6
EZ
121782013-03-16 Eli Zaretskii <eliz@gnu.org>
12179
12180 * startup.el (command-line-normalize-file-name): Fix handling of
12181 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12182 <xfq.free@gmail.com> in
12183 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12184
2edd6029
MA
121852013-03-15 Michael Albinus <michael.albinus@gmx.de>
12186
12187 Sync with Tramp 2.2.7.
12188
12189 * net/trampver.el: Update release number.
12190
d35f5864
TH
121912013-03-14 Tassilo Horn <tsdh@gnu.org>
12192
e903c210 12193 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12194 (doc-view-insert-image): Don't modify overlay associated to
12195 non-live windows, and implement horizontal centering of image in
12196 case it's smaller than the window.
12197 (doc-view-new-window-function): Force redisplay of new windows on
12198 doc-view buffers.
d35f5864 12199
1c4a85ed
KF
122002013-03-13 Karl Fogel <kfogel@red-bean.com>
12201
12202 * saveplace.el (save-place-alist-to-file): Don't sort
12203 `save-place-alist', just pretty-print it (bug#13882).
12204
85b66a21
MA
122052013-03-13 Michael Albinus <michael.albinus@gmx.de>
12206
a020afb9
JB
12207 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12208 Check whether `default-file-name-coding-system' is bound.
12209 It isn't in XEmacs.
85b66a21 12210
175600da
SM
122112013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12212
e7f7cb1a
SM
12213 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12214 backquotes for `obsolete' (bug#13929).
12215
175600da
SM
12216 * international/mule.el (find-auto-coding): Include file name in
12217 obsolescence warning (bug#13922).
12218
ca68a22e
TZ
122192013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12220
12221 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12222 for CFEngine 3-specific indentation.
12223 (cfengine3-indent-line): Use it. Fix up category regex.
12224 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12225
940e5099
SM
122262013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12227
12228 * type-break.el (type-break-file-name):
12229 * textmodes/remember.el (remember-data-file):
12230 * strokes.el (strokes-file):
12231 * shadowfile.el (shadow-initialize):
12232 * saveplace.el (save-place-file):
12233 * ps-bdf.el (bdf-cache-file):
12234 * progmodes/idlwave.el (idlwave-config-directory):
12235 * net/quickurl.el (quickurl-url-file):
12236 * international/kkc.el (kkc-init-file-name):
12237 * ido.el (ido-save-directory-list-file):
12238 * emulation/viper.el (viper-custom-file-name):
12239 * emulation/vip.el (vip-startup-file):
12240 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12241 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12242
cc725808
PE
122432013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12244
12245 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12246 * language/thai-word.el: Switch to UTF-8.
12247
a020afb9 12248See ChangeLog.16 for earlier changes.
e3d51b27
MR
12249
12250;; Local Variables:
12251;; coding: utf-8
e3d51b27
MR
12252;; End:
12253
ba318903 12254 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12255
12256 This file is part of GNU Emacs.
12257
12258 GNU Emacs is free software: you can redistribute it and/or modify
12259 it under the terms of the GNU General Public License as published by
12260 the Free Software Foundation, either version 3 of the License, or
12261 (at your option) any later version.
12262
12263 GNU Emacs is distributed in the hope that it will be useful,
12264 but WITHOUT ANY WARRANTY; without even the implied warranty of
12265 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12266 GNU General Public License for more details.
12267
12268 You should have received a copy of the GNU General Public License
12269 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.