Fix MinGW64 porting problem with _setjmp.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c176054f
DC
12014-01-13 Daniel Colascione <dancol@dancol.org>
2
3 * textmodes/rst.el (rst-define-key): Provide deprecated
4 keybindings through named functions instead of anonymous ones so
5 that "??" doesn't appear in describe-mode output.
6
e3f33e5d
BG
72014-01-13 Bastien Guerry <bzg@gnu.org>
8
9 * simple.el (define-alternatives): Call the selected command
10 interactively. When setting `COMMAND--implementation' for the
11 first time, tell the user how to chose another implementation.
12 Enhance the docstring.
13
c055d654
SM
142014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
15
16 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
17 (log-edit--match-first-line): New function.
18 (log-edit-font-lock-keywords): Use it.
19 (log-edit-mode): Make jit-lock-defer-multiline work.
20
d791cc3b
BG
212014-01-13 Bastien Guerry <bzg@gnu.org>
22
23 * rect.el (rectangle-mark-mode): When the region is not active,
24 display a message saying that the mark as been set and that
25 rectangle mode is in use.
26 (rectangle--highlight-for-redisplay): Only put an overlay with a
27 visible vertical bar when (display-graphic-p) is non-nil.
28 This partially fixes Bug#16403.
29
3c0c4562
JL
302014-01-13 Juri Linkov <juri@jurta.org>
31
32 * info.el (Info-find-file): Go to DIR before displaying the error
33 about a nonexistent file if no previous Info file is visited.
34 Use `user-error' instead of `error' for "Info file %s does not exist".
35 (Info-find-node-2): In case of a nonexistent node in unwind forms
36 go to the Top node if there is no previous node to revert to.
37 (Bug#16405)
38
25a700d0
MR
392014-01-13 Martin Rudalics <rudalics@gmx.at>
40
41 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
42 * window.el (fit-frame-to-buffer): Fix doc-string.
43 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
44 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
45 when avoiding that frame goes partially off-screen.
46 (fit-window-to-buffer): Respect window-min-height/-width
47 (Bug#14096).
48
6ae948d8
SM
492014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
50
51 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
52 after an empty line.
53
6137cb82
SM
542014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * net/shr.el (shr-render-region): Autoload.
57
e6344e17
XF
582014-01-12 Xue Fuqiao <xfq.free@gmail.com>
59
60 * net/eww.el (eww-download-directory): Rename from
61 `eww-download-path' (Bug#16419).
62
3b922c70
LL
632014-01-12 Leo Liu <sdl.web@gmail.com>
64
65 * dired-x.el (dired-mode-map): Fix last change.
66
67 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
68
4fa51741
PE
692014-01-12 Paul Eggert <eggert@cs.ucla.edu>
70
71 Spelling fixes.
72 * emacs-lisp/generic.el (generic--normalize-comments):
73 Rename from generic--normalise-comments. All uses changed.
74 * play/bubbles.el (bubbles--neighborhood-score):
75 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
76 (bubbles--neighborhood-available)
77 (bubbles--update-neighborhood-score):
78 Rename from names with 'neighbourhood'. All uses changed.
79
9b335362
LL
802014-01-12 Leo Liu <sdl.web@gmail.com>
81
82 Re-implement the feature of showing eldoc info after editing.
83 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
84 (eldoc-edit-message-commands): New function.
85 (eldoc-print-after-edit): New variable.
86 (eldoc-pre-command-refresh-echo-area): Emit message only by
87 eldoc-message-commands.
88 (eldoc-mode): Restrict eldoc-message-commands to editing commands
89 if eldoc-print-after-edit is set. (Bug#16346)
90
6137cb82 91 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 92
9685190b
ER
932014-01-11 Eric S. Raymond <esr@thyrsus.com>
94
841a6d0c 95 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 96 function works correctly in either a Bazaar or Git repo.
0abf4134 97
6137cb82
SM
98 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
99 Goes with removal of the joke manpages from /etc.
9685190b 100
3923e7bd
KH
1012014-01-10 K. Handa <handa@gnu.org>
102
6137cb82
SM
103 * mail/rmail.el (rmail-get-coding-system):
104 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 105
d2f16e93
GM
1062014-01-10 Glenn Morris <rgm@gnu.org>
107
108 * emacs-lisp/authors.el (authors-fixed-entries):
109 Update for files that no longer exist.
110
7e03bb32
ER
1112014-01-10 Eric S. Raymond <esr@thyrsus.com>
112
113 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 114 24.3 (Tested).
7e03bb32 115
dd806710
BB
1162014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
117
118 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
119 and Podfile.
120
ed6ec139
EZ
1212014-01-10 Eli Zaretskii <eliz@gnu.org>
122
123 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
124
cc33cac9
CY
1252014-01-10 Chong Yidong <cyd@gnu.org>
126
6137cb82 127 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 128
d9d836b5
AL
1292014-01-10 Anders Lindgren <andlind@gmail.com>
130
131 * follow.el (follow-cache-command-list): Include right-char and
132 left-char.
133
06827ec8
PE
1342014-01-10 Paul Eggert <eggert@cs.ucla.edu>
135
136 Spelling fixes.
137 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
138 * woman.el (woman-mark-horizontal-position):
139 Rename from woman-mark-horizonal-position. Use changed.
140
458dbf5e
GM
1412014-01-10 Glenn Morris <rgm@gnu.org>
142
dad6fae7
GM
143 * info.el (info-initialize): If running uninstalled, ensure our
144 own info files are always found first, even if INFOPATH is set.
145
458dbf5e
GM
146 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
147
05e0afce
DE
1482014-01-09 David Engster <deng@randomsample.de>
149
150 * emacs-lisp/eieio-custom.el:
151 * emacs-lisp/eieio-opt.el: Set generated autoload file to
152 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
153 * emacs-lisp/eieio.el: Regenerate autoloads.
154
f29778b3
ER
1552014-01-09 Eric S. Raymond <esr@thyrsus.com>
156
157 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 158 following renames. (Bug#8756)
f29778b3 159
684d44ef
SM
1602014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
163 (bug#16382).
164 (activate-mark): Add `no-tmm' argument.
165 (set-mark, push-mark-command): Use it instead of running
166 activate-mark-hook by hand.
167
9475054f
ER
1682014-01-08 Eric S. Raymond <esr@thyrsus.com>
169
170 In preparation for the move to git, sanitize out some
171 Bazaar-specific names.
172
173 * version.el (emacs-bzr-version): Name changed to
ceb885a1 174 emacs-repository-version. Obsolete-variable alias made.
9475054f 175 * loadup.el: Follow through on this name change.
a12bf61e 176 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
177 assumption about the version control system in use.
178
0f918d96 1792014-01-08 David Engster <deng@randomsample.de>
abb82152 180
684d44ef
SM
181 * help-fns.el (help-fns-describe-function-functions):
182 New variable to call functions for augmenting help buffers.
abb82152
DE
183 (describe-function-1): Remove explicit calls to
184 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
185 `help-fns--obsolete'. Put them in above new variable instead, and
186 call them through `run-hook-with-args'.
187 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
188 `eieio-describe-class'. Not meant for interactive use anymore,
189 but to augment existing help buffers. Remove optional second
684d44ef
SM
190 argument. Create proper button for file location.
191 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
192 possible.
193 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
194 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
195 (describe-method, describe-generic, eieio-describe-method):
196 Remove aliases.
0f918d96
DE
197 (eieio-help-constructor, eieio-help-generic): Rename from
198 `eieio-describe-constructor' and `eieio-describe-generic', resp.
199 Rewrite to use `insert' in the current buffer and use proper help
200 buttons.
201 (eieio-help-find-method-definition)
202 (eieio-help-find-class-definition): Also accept symbols as
203 arguments.
204 (eieio-help-mode-augmentation-maybee): Remove.
205 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
206 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
207 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 208
136b74c5
PE
2092014-01-08 Paul Eggert <eggert@cs.ucla.edu>
210
211 Spelling fixes.
212 * language/china-util.el (hz-ascii-designation):
213 Rename from hz-ascii-designnation.
214 (hz-ascii-designation): Rename from hz-ascii-designnation.
215 All uses changed.
216
ec6c7de2
SM
2172014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
220 package-alist.
221
d6262c7c
BG
2222014-01-08 Bastien Guerry <bzg@gnu.org>
223
4b9e6087
GM
224 * emacs-lisp/package.el (package-delete):
225 Correctly delete the package from package-alist.
d6262c7c 226
0a3eec32
DU
2272014-01-08 Daiki Ueno <ueno@gnu.org>
228
229 * emacs-lisp/package.el (url-recreate-url): Declare.
230 (url-http-target-url): Declare.
4b9e6087 231 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
232 (package--check-signature): Don't re-signal errors from
233 package--with-work-buffer. Suggested by Stefan Monnier.
234
68f0bb97
BG
2352014-01-07 Bastien Guerry <bzg@gnu.org>
236
237 * minibuffer.el (completion--try-word-completion): When both a
238 hyphen and a space are possible candidates for the character
239 following a word, display both candidates. (Bug#15980)
240
7e1899d7
MR
2412014-01-07 Martin Rudalics <rudalics@gmx.at>
242
243 * window.el (balance-windows-2): While rounding don't give a
244 window more than the remainder. Bug#16351, Bug#16383.
245
0030ec15
GM
2462014-01-07 Glenn Morris <rgm@gnu.org>
247
248 * menu-bar.el (menu-bar-help-extra-packages): Remove.
249 (menu-bar-help-menu): Use view-external-packages instead.
250
2b6b4f20
BG
2512014-01-07 Bastien Guerry <bzg@gnu.org>
252
253 * emacs-lisp/package.el (package-delete): Also delete the package
254 name from `package-alist', not its description only.
255
e9be0a13
GM
2562014-01-07 Glenn Morris <rgm@gnu.org>
257
258 * help.el (view-external-packages):
259 * menu-bar.el (menu-bar-help-extra-packages):
260 Visit efaq.info rather than etc/MORE.STUFF.
261
e4f74da9
JL
2622014-01-07 Juri Linkov <juri@jurta.org>
263
264 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
265 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
266
267 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
268 that shadows RET. (Bug#16342)
269
de7ce2d1
CY
2702014-01-07 Chong Yidong <cyd@gnu.org>
271
272 * isearch.el (isearch-yank-char, isearch-yank-word)
273 (isearch-yank-line): Doc fix.
274
6bdd9204
SM
2752014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
276
277 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
278 * emacs-lisp/elint.el (elint-find-builtins):
279 * emacs-lisp/eldoc.el (eldoc-symbol-function):
280 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
281 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
282 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
283 * apropos.el (apropos-safe-documentation):
284 * subr.el (symbol-file): Remove redundant fboundp.
285 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
286
daccca97
BG
2872014-01-06 Bastien Guerry <bzg@gnu.org>
288
289 * hl-line.el (global-hl-line-overlay): Make a local variable.
290 (global-hl-line-overlays): New variable to store all overlays.
291 (global-hl-line-mode): Don't delete overlays from the current
292 buffer when `global-hl-line-sticky-flag' is non-nil.
293 (global-hl-line-highlight): Add new overlays to
294 `global-hl-line-overlays'.
295 (global-hl-line-unhighlight-all): New function to delete all
296 overlays when turning off `global-hl-line-mode'.
297 This fixes Bug#16183.
298
ec00f20f
SM
2992014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
300
301 * subr.el (set-transient-map): Fix nested case and docstring.
302
a0031f97
TH
3032014-01-06 Tassilo Horn <tsdh@gnu.org>
304
305 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
306 `Texinfo' entry.
307
bf6a77f3
DC
3082014-01-06 Daniel Colascione <dancol@dancol.org>
309
310 Fix defun navigation in vc log view.
311
312 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
313 like `beginning-of-defun'.
314 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
315 log-view-end-of-defun to log-view-end-of-defun-1. Replace
316 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 317 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 318 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 319
d5081c1e
PE
3202014-01-06 Paul Eggert <eggert@cs.ucla.edu>
321
322 Spelling fixes.
323 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
324 * emacs-lisp/debug.el (cancel-debug-on-entry):
325 * epg.el (epg-error-to-string):
326 * files.el (recover-file):
327 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
328 * mail/emacsbug.el (report-emacs-bug-hook):
329 * mail/sendmail.el (mail-recover):
330 * ses.el (ses-yank-resize):
331 * term/ns-win.el (ns-print-buffer):
332 Spelling fixes in diagnostics, mostly for "canceled" with one L.
333 * epg.el (epg-key-capability-alist): Rename from misspelled version.
334 All uses changed.
335 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
336
53f6b148
LL
3372014-01-06 Leo Liu <sdl.web@gmail.com>
338
339 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 340 to avoid shadowing global key. (Bug#16354)
53f6b148 341
b82ace2f
DC
3422014-01-06 Daniel Colascione <dancol@dancol.org>
343
344 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
345 rst-mode.
346
3669b636
MR
3472014-01-05 Martin Rudalics <rudalics@gmx.at>
348
349 * window.el (balance-windows): Add mising t to fix Bug#16351.
350
1a29adc2
LMI
3512014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
352
353 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
354 (bug#16285).
3d95a0f4
LMI
355 (shr-insert): If we have a word that's longer than `shr-width',
356 break after it anyway. Otherwise we'll do no breaking once we get
357 such a long word.
1a29adc2 358
f4018140
KN
3592014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
360
189340f5
KN
361 * net/eww.el (eww): Support single/double quote for search.
362 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
363 (eww-history-quit): Delete and use quit-window.
364 (eww-history-kill): Delete, because it doesn't work well and
365 not necessary.
366 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 367
4e619754
PE
3682014-01-05 Paul Eggert <eggert@cs.ucla.edu>
369
73dbf960
PE
370 Fix misspelling of 'chinese' in rx (Bug#16237).
371 * emacs-lisp/rx.el (rx-categories): Correct spelling of
372 chinese-two-byte.
373
4e619754
PE
374 Change subword regexps back to vars (Bug#16296).
375 * progmodes/subword.el (subword-forward-regexp)
376 (subword-backward-regexp): Change these back to variables.
377
e18b70fc
SM
3782014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
379
380 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
381 syntax-begin-function (bug#16247).
382
0d53f628
CY
3832014-01-03 Chong Yidong <cyd@gnu.org>
384
385 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
386 (advice--docstring): Delete variable.
387 (advice--make-1): Leave the docstring empty.
388 (advice-add): Use function-documentation for advised docstring.
389
390 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
391 Ignore function-documentation property when getting documentation.
392 (ad-activate-advised-definition): Use function-documentation
393 generate the docstring.
394 (ad-make-advised-definition): Don't call
395 ad-make-advised-definition-docstring.
396 (ad-make-advised-definition-docstring, ad-advised-definition-p):
397 Delete functions.
398
399 * progmodes/sql.el (sql-help): Use function-documentation instead
400 of dynamic-docstring-function property. No need to autoload now.
401 (sql--help-docstring): New variable.
402 (sql--make-help-docstring): Use it.
403
6f547583
SM
4042014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
405
6ef9aed8
SM
406 * ielm.el (ielm-tab): Retarget.
407 (ielm-map): Use ielm-tab for tab.
408 (ielm-complete-filename): Use comint-filename-completion.
409 (ielm-complete-symbol): Remove.
410 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
411 remove ielm-tab from completion-at-point-functions (bug#16224).
412
6f547583
SM
413 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
414 Beware signals raised by predicates (bug#16201).
415
a574edbe
RS
4162014-01-02 Richard Stallman <rms@gnu.org>
417
e831604d
RS
418 * dired-aux.el (dired-do-print): Handle printer-name.
419
6f547583
SM
420 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
421 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
422 (rmail-epa-decrypt): Turn off mime processing.
423
424 * mail/rmail.el (rmail-make-in-reply-to-field):
425 Add parens in message-id.
426
427 * mail/rmail.el (rmail-get-coding-function): Variable.
428 (rmail-get-coding-system): Use it.
429
04311a16
KH
4302013-12-31 Eli Zaretskii <eliz@gnu.org>
431
432 * international/mule-conf.el: Unify the charset indian-is13194.
433 (indian-is13194): Specify unify-map.
434
c8d89778
LL
4352013-12-31 Leo Liu <sdl.web@gmail.com>
436
437 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
438
e63ace37
DC
4392013-12-30 Daniel Colascione <dancol@dancol.org>
440
9e0bf19a
DC
441 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
442 of printing a useless when we resume from sleep.
443
e63ace37
DC
444 * progmodes/sh-script.el
445 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
446 in indentation code. (Bug#16233)
447
e9d6c46a
JT
4482013-12-28 João Távora <joaotavora@gmail.com>
449
6f547583
SM
450 * elec-pair.el (electric-pair-post-self-insert-function):
451 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 452
bf7bea5d
EZ
4532013-12-28 Eli Zaretskii <eliz@gnu.org>
454
455 * frame.el (window-system-for-display): Don't allow to create a
456 GUI frame from a -nw session on MS-Windows. (Bug#14739)
457
8449dd1f
GM
4582013-12-28 Glenn Morris <rgm@gnu.org>
459
9c5a5c77
GM
460 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
461 Update callers.
462
463 * apropos.el (apropos-match-face):
464 * calculator.el (calculator-displayer):
465 * dabbrev.el (dabbrev-search-these-buffers-only):
466 * face-remap.el (buffer-face-mode-face):
467 * simple.el (yank-handled-properties):
468 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
469 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
470 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
471 (hashcash-double-spend-database):
472 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
473 (ruby-deep-indent-paren-style):
474 * textmodes/flyspell.el (flyspell-auto-correct-binding):
475 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
476 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
477 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
478 Specify custom types.
479
bb098075
GM
480 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
481 * bookmark.el (bookmark-bmenu-use-header-line):
482 * doc-view.el (doc-view-scale-internally):
483 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
484 * register.el (register-preview-delay):
485 * net/shr.el (shr-bullet):
486 * progmodes/cfengine.el (cfengine-cf-promises)
487 (cfengine-parameters-indent):
488 * progmodes/octave.el (inferior-octave-error-regexp-alist):
489 * textmodes/reftex-vars.el (reftex-label-regexps):
490 * vc/log-edit.el (log-edit-setup-add-author): Add version.
491
9c61f806
GM
492 * net/tls.el (tls-certtool-program): Fix default value.
493
494 * desktop.el (desktop-restore-in-current-display):
495 * newcomment.el (comment-empty-lines):
496 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
497 (idlwave-pad-keyword):
498 * progmodes/tcl.el (tcl-tab-always-indent):
499 * textmodes/reftex-vars.el (reftex-index-default-tag):
500 * elec-pair.el (electric-pair-skip-whitespace):
501 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
502
8449dd1f
GM
503 * emacs-lisp/authors.el (authors-ignored-files)
504 (authors-valid-file-names, authors-renamed-files-alist): Additions.
505
fdadeb49
JC
5062013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
507
72140a0f
GM
508 * shell.el (shell-dynamic-complete-command): Doc fix.
509 (shell--command-completion-data): Shell completion now matches
510 executable filenames from the current buffer's directory, on
da5ecfa9 511 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 512
e572a7d8
LI
5132013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
514
515 * net/shr.el (shr-insert): Don't infloop if the width is zero.
516
7514d3f8
SM
5172013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
518
a4151f3b
SM
519 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
520 (bug#16251).
521
7514d3f8
SM
522 * electric.el: Move all electric-pair-* to elec-pair.el.
523 * elec-pair.el: New file, split from electric.el.
524
ac5758d1
LI
5252013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
526
527 * net/shr.el (shr-find-fill-point): Don't try to fill if the
528 indentation level is larger than the width, because that will
529 infloop.
530 (shr-insert): Fill repeatedly long texts, so that Japanese is
531 formatted correctly (bug#16263).
24a6b65e
LI
532 (shr-find-fill-point): Off by one error in comparison with the
533 indentation.
ac5758d1 534
7514d3f8 5352013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
536
537 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 538 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
539 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
540 if that keeps or improves their balance in buffers.
541 (electric-pair-delete-adjacent-pairs): Delete the pair when
542 backspacing over adjacent matched delimiters.
543 (electric-pair-open-extra-newline): Open extra newline when
544 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
545 (electric--sort-post-self-insertion-hook):
546 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
547 minor-modes are activated.
548 * simple.el (newline-and-indent): Call newline with interactive
549 set to t.
550 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
551 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
552 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
553 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
554 electric-pair-open-newline-between-pairs to nil.
555
fbcc63a3
FEG
5562013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
557
558 * progmodes/python.el: Use lexical-binding.
559 (python-nav-beginning-of-defun): Stop searching ASAP.
560
ed78d16c
XF
5612013-12-25 Xue Fuqiao <xfq.free@gmail.com>
562
563 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
564 Fix interactive spec. Doc fix. (Bug#15754)
565
38b2c142
KY
5662013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
567
568 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 569 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
570 Fix edebug spec (bug#16184).
571
3c856c14
LI
5722013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
573
83fa295c 574 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
575 (shr-insert): Don't infloop if we can't find a good place to break
576 the line (bug#16256).
3c856c14 577
01379221
FEG
5782013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
579
580 * progmodes/python.el:
581 (python-nav--lisp-forward-sexp): New function.
582 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
583 python-nav-lisp-forward-sexp-safe.
584 (python-nav--forward-sexp): New argument SAFE allows switching
585 forward sexp movement behavior for parens.
586 (python-nav-forward-sexp): Throw errors on unterminated parens
587 (Bug#16191).
588 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
589 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
590 (python-shell-buffer-substring):
591 Use `python-nav-forward-sexp-safe'.
01379221 592
99e4926f
LI
5932013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
594
595 * net/shr.el (shr-find-fill-point): Don't break lines before a
596 quotation mark.
c6c20584
LI
597 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
598 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 599 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 600
fec0e828
KN
6012013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
602
603 * net/eww.el (eww-form-textarea): Use a different face for
604 textareas than text input since they have different keymaps
605 (bug#16142).
606
89c868ad
FEG
6072013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
608
7514d3f8
SM
609 * progmodes/python.el (python-nav-beginning-of-statement):
610 Speed up (Bug#15295).
89c868ad 611
eeef121a
LI
6122013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
613
614 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
615 the window configuration.
616
121ea65f
EZ
6172013-12-24 Eli Zaretskii <eliz@gnu.org>
618
619 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
620 we run on MS-Windows or MS-DOS.
621
18cee9ec
MR
6222013-12-24 Martin Rudalics <rudalics@gmx.at>
623
624 * window.el (balance-windows-area): Call window-size instead of
625 window-height and window-width. Bug#16241.
626
58f2b9a5
LI
6272013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
628
629 * net/eww.el (eww-bookmark-quit): Remove.
630 (eww-bookmark-browse): Restore the window configuration when you
631 choose a bookmark (bug#16144).
632
d64b6308
DC
6332013-12-24 Daniel Colascione <dancol@dancol.org>
634
635 * icomplete.el: Remove redundant :group arguments to `defcustom'
636 throughout.
637 (icomplete-show-matches-on-no-input): New customizable variable.
638 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
639 we have something to show.
7514d3f8 640 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 641
0da54898
DC
6422013-12-23 Daniel Colascione <dancol@dancol.org>
643
644 * icomplete.el: Move `provide' to end of file.
645
b90aa4f4
TZ
6462013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
647
648 * net/gnutls.el (gnutls-verify-error): Add version tag.
649
8cd22a08
CY
6502013-12-23 Chong Yidong <cyd@gnu.org>
651
652 * subr.el (set-transient-map): Rename from
653 set-temporary-overlay-map. Doc fix.
654
655 * face-remap.el (text-scale-adjust):
656 * indent.el (indent-rigidly):
657 * kmacro.el (kmacro-call-macro):
658 * minibuffer.el (minibuffer-force-complete):
659 * repeat.el (repeat):
660 * simple.el (universal-argument--mode):
661 * calendar/todo-mode.el (todo-insert-item--next-param):
662 * progmodes/f90.el (f90-abbrev-start): Callers changed.
663
7510b021
CY
664 * indent.el (indent-rigidly): Use substitute-command-keys.
665
72140a0f 6662013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
667
668 * net/eww.el (eww-tag-select): Add text-property to jump to next
669 select field.
e9dc713d 670 (eww): Add non-supported ftp error.
56890ecd 671
1f87a56c
DG
6722013-12-22 Dmitry Gutov <dgutov@yandex.ru>
673
674 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
675 comments. Handle electric indent after typing `?' and `!'.
676
dca38cf9
CY
6772013-12-22 Chong Yidong <cyd@gnu.org>
678
679 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
680 applicable to a frame, fall back on the defface spec.
681 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 682
f2351498
DG
6832013-12-22 Dmitry Gutov <dgutov@yandex.ru>
684
685 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
686 after `{'. We need it after block openers, and it doesn't seem
687 to hurt after hash openers.
688
6cddebc1
DG
6892013-12-22 Dmitry Gutov <dgutov@yandex.ru>
690
691 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
692 extracted from `ruby-smie-rules'.
693 (ruby--electric-indent-chars): New variable.
694 (ruby--electric-indent-p): New function.
695 (ruby-mode): Use `electric-indent-functions' instead of
696 `electric-indent-chars'.
697
65a1da00
DG
6982013-12-22 Dmitry Gutov <dgutov@yandex.ru>
699
700 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
701 docstring.
702 (ruby-smie-rules): Indent plus one level after `=>'.
703
b51ad4cf
RS
7042013-12-21 Richard Stallman <rms@gnu.org>
705
706 * simple.el (newline): Doc fix.
707
72140a0f 7082013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 709
e9dc713d 710 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
711 (eww-history-browse, eww-history-quit, eww-history-kill)
712 (eww-history-mode-map, eww-history-mode): New command and
713 functions to list browser histories.
e9dc713d
JB
714 (eww-form-text): Support text form with disabled
715 and readonly attributes.
716 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 717
5e1901c1
RS
7182013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
719
720 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
721 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
722 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
723 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
724 Use `user-error'.
725 (eww-bookmark-mode-map): Add menu.
726 (eww-render, eww-mode): Use `setq-local'.
727 (eww-tool-bar-map): New variable.
728 (eww-mode): Set `tool-bar-map'.
729 (eww-view-source): Check for `html-mode' with `fboundp'.
730
073d5cfd
LMI
7312013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
732
733 * net/shr.el (shr--extract-best-source): Don't bug out on audio
734 elements with text inside. Also remove debugging.
735
41cf3d11
JD
7362013-12-21 Jan Djärv <jan.h.d@swipnet.se>
737
738 * cus-start.el (all): Add ns-use-srgb-colorspace.
739
aac2b673
CY
7402013-12-21 Chong Yidong <cyd@gnu.org>
741
742 * custom.el (custom-theme-recalc-face): Do nothing if the face is
743 undefined. Thus, theme settings for undefined faces do not take
744 effect until the faces are defined with defface, the same as with
745 theme variables.
746
747 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
748 (face-spec-reset-face): Don't assign extra properties in temacs.
749 (face-spec-recalc): Apply X resources too.
750
bacb0e77
CY
7512013-12-21 Chong Yidong <cyd@gnu.org>
752
753 * faces.el (face-spec-set):
754 * cus-face.el (custom-theme-set-faces, custom-set-faces):
755 * custom.el (defface): Doc fixes (Bug#16203).
756
77221051
CY
757 * indent.el (indent-rigidly-map): Add docstring, and move commands
758 into named functions.
759 (indent-rigidly-left, indent-rigidly-right)
760 (indent-rigidly-left-to-tab-stop)
761 (indent-rigidly-right-to-tab-stop): New functions. Decide on
762 indentation direction based on bidi direction, and accumulate
763 sequential commands in a single undo boundary.
764 (indent-rigidly--pop-undo): New utility function.
765
e0eb0550
JB
7662013-12-20 Juanma Barranquero <lekktu@gmail.com>
767
768 * faces.el (read-face-name): Require crm.el when using crm-separator.
769
3282bd2e
DC
7702013-12-20 Daniel Colascione <dancol@dancol.org>
771
772 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
773 so that we don't reflow comments into the shebang line.
774
1d42e5b6
JL
7752013-12-20 Juri Linkov <juri@jurta.org>
776
777 * saveplace.el (save-place-to-alist): Add `dired-filename' as
778 a position when `dired-directory' is non-nil. Check integer
779 positions with `integerp'.
780 (toggle-save-place, save-places-to-alist): Add check for
781 `dired-directory'.
782 (save-place-find-file-hook): Check integer positions with
783 `integerp'.
784 (save-place-dired-hook): Use `dired-goto-file' when
785 `dired-filename' is found in the assoc list. Check integer
786 positions with `integerp'.
787 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
788
789 * dired.el (dired-initial-position-hook): Rename back from
790 `dired-initial-point-hook'.
791 (dired-initial-position): Rename `dired-initial-point-hook' to
792 `dired-initial-position-hook'.
793 (dired-file-name-at-point): Doc fix. (Bug#15329)
794
24da7273
JL
7952013-12-20 Juri Linkov <juri@jurta.org>
796
797 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
798 (read-regexp-suggestions): New function.
799 (read-regexp): Use `read-regexp-defaults-function' to get default values.
800 Use `read-regexp-suggestions'. Add non-empty default to history
801 for empty input.
802 (occur-read-regexp-defaults-function): Remove function.
803 (occur-read-primary-args): Use `regexp-history-last' instead of
804 `occur-read-regexp-defaults-function'.
805
806 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
807 (hi-lock-line-face-buffer, hi-lock-face-buffer)
808 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
809 `hi-lock-read-regexp-defaults-function'. Doc fix.
810 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
811 with `find-tag-default-as-symbol-regexp'. Doc fix.
812 (hi-lock-read-regexp-defaults): Remove function.
813 (hi-lock-regexp-okay): Add check for null.
814
815 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
816 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
817
818 * subr.el (find-tag-default-as-symbol-regexp): New function.
819 (find-tag-default-as-regexp): Move symbol regexp formatting to
820 `find-tag-default-as-symbol-regexp'.
821
137f57c8
S
8222013-12-20 E Sabof <esabof@gmail.com> (tiny change)
823
824 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
825 (Bug#14179)
826
f3a66082
SB
8272013-12-20 Stephen Berman <stephen.berman@gmx.net>
828
829 * calendar/todo-mode.el: New implementation of item insertion
830 commands and key bindings.
831 (todo-key-prompt): New face.
832 (todo-insert-item): New command.
833 (todo-insert-item--parameters): New defconst, replacing defvar
834 todo-insertion-commands-args-genlist.
835 (todo-insert-item--param-key-alist): New defconst, replacing
836 defvar todo-insertion-commands-arg-key-list.
837 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
838 (todo-insert-item--argsleft, todo-insert-item--apply-args)
839 (todo-insert-item--next-param): New functions.
840 (todo-insert-item--args, todo-insert-item--argleft)
841 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
842 New variables.
843 (todo-key-bindings-t): Change binding of "i" from
844 todo-insertion-map to todo-insert-item.
845 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
846 (todo-insertion-command-name, todo-insertion-commands-names)
847 (todo-define-insertion-command, todo-insertion-commands)
848 (todo-insertion-key-bindings, todo-insertion-map): Remove.
849
2f99433b
SB
8502013-12-20 Stephen Berman <stephen.berman@gmx.net>
851
852 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
853 (todo-toggle-item-highlighting): Use eval-and-compile instead of
854 eval-when-compile.
855 (todo-move-category): Allow choosing a non-existing todo file to
856 move the category to, and create that file.
857 (todo-default-priority): New user option.
858 (todo-set-item-priority): Use it.
859 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
860 (desktop-restore-file-buffer): Declare.
861 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
862 (todo-modes-set-2): Locally set desktop-save-buffer to
863 todo-desktop-save-buffer.
864 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
865 (auto-mode-alist): Add autoload cookie.
866
131e4695
BB
8672013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
868
869 * emacs-lisp/subr-x.el: Renamed from helpers.el.
870 helpers.el was a poor choice of name.
3cbfb935
BB
871 (string-remove-prefix): New function.
872 (string-remove-suffix): New function.
131e4695 873
c44de18d
MR
8742013-12-20 Martin Rudalics <rudalics@gmx.at>
875
876 Fix assignment for new window total sizes.
877 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
878 (window--pixel-to-total-1, window--pixel-to-total):
879 Fix calculation of new total sizes.
c44de18d 880
ca65efcc
VS
8812013-12-20 Vitalie Spinu <spinuvit@gmail.com>
882
883 * comint.el (comint-output-filter): Fix rear-nonsticky property
884 placement (Bug#16010).
885
a9574eb7
CY
8862013-12-20 Chong Yidong <cyd@gnu.org>
887
888 * faces.el (read-color): Minor fix for completion function.
889
b520f210
DG
8902013-12-20 Dmitry Gutov <dgutov@yandex.ru>
891
e0eb0550
JB
892 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
893 New option. (Bug#16182)
b520f210
DG
894 (ruby-smie--indent-to-stmt-p): Use it.
895 (ruby-smie-rules): Revert the logic in the handling of `when'.
896 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
897 (ruby-deep-arglist, ruby-deep-indent-paren)
898 (ruby-deep-indent-paren-style): Update docstrings to note that the
899 vars don't have any effect with SMIE.
900
26b75b45
JB
9012013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
902
903 * calc/calc.el (calc-enter, calc-pop): Use the variable
904 `calc-context-sensitive-enter'.
905
cf91cee7
LMI
9062013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
907
908 * net/shr.el (shr-insert): Protect against infloops in degenerate
909 tables.
910
51d971b4
RS
9112013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
912
913 * progmodes/octave.el (octave): Add link to manual and octave
914 homepage.
915 (octave-mode-menu): Link to octave-mode manual.
916
8c2e462a
LL
9172013-12-20 Leo Liu <sdl.web@gmail.com>
918
919 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
920 insertion using skeleton-end-newline. (Bug#16138)
921
501158bc
JL
9222013-12-20 Juri Linkov <juri@jurta.org>
923
924 * replace.el (occur-engine): Use `add-face-text-property'
925 to add the face property to matches and titles. (Bug#14645)
926
927 * hi-lock.el (hi-green): Use lighter color "light green" closer to
928 the palette of other hi-lock colors.
929 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
930
50ab1da6
JL
9312013-12-19 Juri Linkov <juri@jurta.org>
932
933 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
934 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
935 (minibuffer-history-symbol): Move variable declaration closer to
936 its usage.
937
938 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
939 (Bug#14785)
940
3d6e95e7
JL
9412013-12-19 Juri Linkov <juri@jurta.org>
942
943 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
944 New function.
945 (log-edit-hook): Add it to :options. (Bug#16170)
946
b41594fd
JL
9472013-12-19 Juri Linkov <juri@jurta.org>
948
949 * simple.el (eval-expression-print-format): Don't check for
950 command names and the last command. Always display additional
951 formats of the integer result in the echo area, and insert them
952 to the current buffer only with a zero prefix arg.
953 Display character when char-displayable-p is non-nil.
954 (eval-expression): With a zero prefix arg, set `print-length' and
955 `print-level' to nil, and insert the integer values from
956 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
957
958 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
959 `eval-last-sexp-arg-internal'. Doc fix.
960 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
961 `eval-last-sexp-print-value'. Doc fix.
962 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
963 Set `print-length' and `print-level' to nil when arg is zero.
964 (eval-last-sexp): Doc fix.
965 (eval-defun-2): Print the integer values from
966 `eval-expression-print-format' at the end.
967
968 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
969 values from `eval-expression-print-format' at the end.
970
971 * ielm.el (ielm-eval-input): Print the integer
972 values from `eval-expression-print-format' at the end.
973
8f2be364
TZ
9742013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
975
976 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
977 2013-12-11T19:01:44Z!tzz@lifelogs.com.
978
2230a6e3
SM
9792013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
980
981 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
982 (hl-line-highlight, global-hl-line-highlight): Use it.
983 (hl-line-overlay): Use defvar-local.
984
1269a680
JD
9852013-12-19 Jan Djärv <jan.h.d@swipnet.se>
986
987 * term/ns-win.el: Require dnd.
988 (global-map): Remove drag items.
989 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
990 (ns-set-background-at-mouse):
991 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
992 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
993 New functions.
1269a680 994
049638ad
GM
9952013-12-19 Glenn Morris <rgm@gnu.org>
996
997 * emacs-lisp/ert.el (ert-select-tests):
998 Fix string/symbol mixup. (Bug#16121)
999
ce41edb4
DG
10002013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1001
1002 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1003 keywords to their parent.
1004
7e1549c9
DG
10052013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1006
1007 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1008 first arg to be a string (fixed dead code), or an operator symbol.
1009 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1010 operator symbols.
1011 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1012 did nothing. Don't respond to `(:after ".")', it will be called
1013 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1014 change anything. Only return indentation for binary operators
1015 when they are hanging. De-dent opening paren when its parent is
1016 `.', otherwise it looks bad when the dot is not at bol or eol
1017 (bug#16182).
1018
3ee4cd64
JL
10192013-12-19 Juri Linkov <juri@jurta.org>
1020
1021 * replace.el (query-replace-read-args): Split a non-negative arg
1022 and a negative arg into separate elements.
1023 (query-replace, query-replace-regexp, replace-string)
1024 (replace-regexp): Add arg `backward'. Doc fix.
1025 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1026 move point to the beginning of the match.
1027 (replace-search, replace-highlight): Use new arg `backward'
1028 to set the value of `isearch-forward'.
1029 (perform-replace): Add arg `backward' and use it to perform
1030 replacement backward. (Bug#14979)
1031
1032 * isearch.el (isearch-query-replace): Use a negative prefix arg
1033 to call `perform-replace' with a non-nil arg `backward'.
1034
0cda6b7b
JL
10352013-12-18 Juri Linkov <juri@jurta.org>
1036
1037 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1038 to the default list. Move `log-edit-show-files' to the end.
1039 Add more available functions to options.
1040 (log-edit): Move default specific settings to
1041 `log-edit-insert-message-template'. Don't move point.
1042 (log-edit-insert-message-template): New function.
1043 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1044 (Bug#16170)
1045
b216f0a6
JL
10462013-12-18 Juri Linkov <juri@jurta.org>
1047
1048 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1049 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1050
1d1c55dc
LL
10512013-12-18 Leo Liu <sdl.web@gmail.com>
1052
e9dc713d
JB
1053 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1054 (Bug#16186)
1d1c55dc 1055
64e4c76e
EZ
10562013-12-18 Eli Zaretskii <eliz@gnu.org>
1057
1058 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1059 formats for displaying file sizes when the -s switch is given.
1060 Instead, compute a separate format for displaying the size in
1061 blocks, which is displayed in addition to the "regular" size.
1062 When -h is given in addition to -s, produce size in blocks in
1063 human-readable form as well. (Bug#16179)
1064
b2984e39
TH
10652013-12-18 Tassilo Horn <tsdh@gnu.org>
1066
2230a6e3
SM
1067 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1068 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1069
50ff2e06
CY
10702013-12-18 Chong Yidong <cyd@gnu.org>
1071
0081bc84
CY
1072 * cus-edit.el (custom-magic-alist): Fix "themed" description
1073 (Bug#14348).
1074
a7ee9424
CY
1075 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1076 is non-nil, do not create a new entry in the symbol's theme-value
1077 or theme-face property; update theme-settings only (Bug#14664).
18874304 1078 (custom-available-themes): Doc fix.
a7ee9424 1079
8f942537
CY
1080 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1081 (Bug#15674).
1082
50ff2e06
CY
1083 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1084
83c60f60
KI
10852013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1086
1087 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1088 (Bug#13914).
1089
e0eb0550 10902013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1091
1092 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1093
1f41ee56
GM
10942013-12-18 Glenn Morris <rgm@gnu.org>
1095
1096 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1097 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1098
e82134b1
LW
10992013-12-18 Le Wang <l26wang@gmail.com>
1100
2230a6e3
SM
1101 * comint.el (comint-previous-matching-input-from-input):
1102 Retain point (Bug#13404).
e82134b1 1103
33f5d4c1
CY
11042013-12-18 Chong Yidong <cyd@gnu.org>
1105
1106 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1107
ccc9f6dc
GM
11082013-12-18 Glenn Morris <rgm@gnu.org>
1109
1110 * mail/emacsbug.el (report-emacs-bug):
1111 Only mention enable-multibyte-characters if non-standard.
1112
33dd8e95
JL
11132013-12-17 Juri Linkov <juri@jurta.org>
1114
1115 * arc-mode.el (archive-extract-by-file): Check if directory exists
1116 before deletion to not show irrelevant errors if it doesn't exist.
1117
7a409b30
JL
11182013-12-17 Juri Linkov <juri@jurta.org>
1119
1120 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1121 (Bug#14751)
1122
1123 * net/eww.el (browse-web): Add alias to `eww'.
1124 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1125 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1126
1127 * net/browse-url.el (browse-url-browser-function): Move `eww'
1128 closer to similar functions.
1129
1130 * startup.el (fancy-startup-screen, fancy-about-screen):
1131 Set browse-url-browser-function to eww-browse-url locally.
1132 (Bug#14751)
1133
2d6b6005
SM
11342013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * window.el (window--pixel-to-total): Remove unused `mini' var.
1137 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1138 (split-window): Remove unused `new' var.
1139 (window--display-buffer): Remove unused `frame' and `delta' vars.
1140 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1141 and display-width'.
1142
cf2b7efc
MR
11432013-12-17 Martin Rudalics <rudalics@gmx.at>
1144
1145 * dired.el (dired-mark-pop-up):
1146 * register.el (register-preview): Don't bind
1147 split-height-threshold here since it's now done in
1148 display-buffer-below-selected.
1149
ed3af8a7 11502013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1151
1152 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1153 xterm-rgb-convert-to-16bit.
1154 (rxvt-register-default-colors): Standardize with
1155 xterm-register-default-colors (Bug#14078).
1156
76da3455
DK
11572013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1158
1159 * simple.el (kill-region): Pass mark first, then point, so that
1160 kill-append works right (Bug#12819).
1161 (copy-region-as-kill, kill-ring-save): Likewise.
1162
2b84d763
LL
11632013-12-17 Leo Liu <sdl.web@gmail.com>
1164
1165 * net/rcirc.el (rcirc-add-face):
1166 * eshell/em-prompt.el (eshell-emit-prompt):
1167 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1168 (Bug#16167)
1169
e2f6a0bc
CY
11702013-12-17 Chong Yidong <cyd@gnu.org>
1171
1172 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1173 Suggested by Xue Fuqiao.
1174
35b249a6
DG
11752013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1176
1177 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1178
e9145444
SM
11792013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1180
1181 * net/shr.el (shr-insert-document): Remove unused var
1182 `shr-preliminary-table-render'.
1183 (shr-rescale-image): Remove unused arg `force'.
1184 (shr-put-image): Update calls accordingly.
1185 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1186
5556c0ce
DG
11872013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1188
1189 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1190 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1191 :close-all, to see which indentation method to use (Bug#16116).
1192 (smie-rules-function): Document the method :close-all.
1193
11bade0a
LMI
11942013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1195
1c4b1e61
LMI
1196 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1197
11bade0a
LMI
1198 * net/eww.el (eww-display-html): If we can't find the anchor we're
1199 looking for, then go to point-min.
1200
8fb8c4f3
PE
12012013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1202
1203 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1204 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1205 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1206 Expand dir too, in case it's relative.
1207
6c8e0ae6
JL
12082013-12-16 Juri Linkov <juri@jurta.org>
1209
1210 * desktop.el (desktop-auto-save-timeout): Change default to
1211 `auto-save-timeout'. Doc fix.
1212 (desktop-save): Skip the timestamp in desktop-saved-frameset
1213 when checking for auto-save changes.
1214 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1215 `desktop-auto-save' is called repeatedly by the idle timer.
1216 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1217 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1218 (Bug#15331)
1219
2178e858
JL
12202013-12-16 Juri Linkov <juri@jurta.org>
1221
1222 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1223 (Bug#16035)
1224 (isearch-pre-command-hook): Check `this-command' for symbolp.
1225
39cb42c6
SM
12262013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1227
1228 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1229
5b9b750a
TZ
12302013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1231
1232 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1233 (cfengine3--current-function): Bring in the current-function
1234 functionality from `cfengine3--current-word'.
1235 (cfengine3-completion-function): Bring in the
1236 bounds-of-current-word functionality from
1237 `cfengine3--current-word'.
1238
d144ef06
MR
12392013-12-16 Martin Rudalics <rudalics@gmx.at>
1240
39cb42c6
SM
1241 * window.el (display-buffer-below-selected):
1242 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1243
a8bbe298
LL
12442013-12-16 Leo Liu <sdl.web@gmail.com>
1245
1246 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1247 Remove NOMSG arg and all uses changed.
1248
2013a2f9
SM
12492013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1250
1251 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1252 (cua--deactivate-rectangle): Don't deactivate the mark.
1253 (cua-set-rectangle-mark): Don't set mark-active since
1254 cua--activate-rectangle already does it for us.
1255 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1256 non-rectangular region.
1257
1258 * emulation/cua-base.el (cua-repeat-replace-region):
1259 Use with-current-buffer.
1260
1261 * net/gnutls.el: Use cl-lib.
1262 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1263
5ae811dd
TZ
12642013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1265
1266 * emacs-lisp/package.el (package-built-in-p): Support both
1267 built-in and the package.el converted package descriptions.
1268 (package-show-package-list): Allow keywords.
1269 (package-keyword-button-action): Use it instead of
1270 `finder-list-matches'.
1271 (package-menu-filter-interactive): Interactive filtering (by
1272 keyword) function.
1273 (package-menu--generate): Support keywords and change keymappings
1274 and headers when they are given.
1275 (package--has-keyword-p): Helper function.
1276 (package-menu--refresh): Use it.
1277 (package--mapc): Helper function.
1278 (package-all-keywords): Use it.
1279 (package-menu-mode-map): Set up menu items and keybindings to
1280 provide a filtering UI.
1281
31b4827e
TZ
12822013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1283
1284 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1285 the behavior when a certificate fails validation. Defaults to
1286 old behavior: never abort, just warn.
1287 (gnutls-negotiate): Use it.
1288
f93cc74f
MR
12892013-12-14 Martin Rudalics <rudalics@gmx.at>
1290
1291 * window.el (display-buffer-below-selected): Never split window
1292 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1293
f77d7d17
TW
12942013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1295
1296 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1297 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1298
7514d3f8
SM
12992013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1300
aa2bddd7 1301 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1302 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1303
276bc333
DG
13042013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1305
1306 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1307 open-paren tokens when preceded by a open-paren, too.
1308 (ruby-smie-rules): Handle virtual indentation after open-paren
1309 tokens specially. If there is code between it and eol, return the
1310 column where is starts (Bug#16118).
1311
d43957f3
TZ
13122013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1313
a5c1ac0c 1314 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1315 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1316 (cfengine3--current-word): Fix parameters.
1317 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1318 (cfengine3-completion-function, cfengine3--current-function):
1319 Use `assq' for symbols.
d43957f3
TZ
1320 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1321
06a4f110
GM
13222013-12-13 Glenn Morris <rgm@gnu.org>
1323
1324 * loadup.el (load-path): Warn if site-load or site-init changes it.
1325 No more need to reset it when bootstrapping.
1326
978a5fda
TZ
13272013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1328
1329 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1330 locations for cf-promises.
1331 (cfengine-mode-syntax-functions-regex): New caching variable.
1332 (cfengine3-fallback-syntax): Fallback syntax for cases where
1333 cf-promises doesn't run.
1334 (cfengine3--current-word): Reimplement using
1335 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1336 (cfengine3-completion-function, cfengine3--current-function):
1337 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1338 (cfengine3-clear-syntax-cache): New function.
1339 (cfengine3-make-syntax-cache): Simplify and create
1340 `cfengine-mode-syntax-functions-regex' on demand.
1341 (cfengine3-format-function-docstring): Don't call
1342 `cfengine3-make-syntax-cache' explicitly.
1343
71e6691e
MR
13442013-12-13 Martin Rudalics <rudalics@gmx.at>
1345
1346 Fix windmove-find-other-window broken after pixelwise resizing
1347 (Bug#16017).
1348 * windmove.el (windmove-other-window-loc): Revert change from
1349 2013-12-04.
1350 (windmove-find-other-window): Call window-in-direction.
1351 * window.el (window-in-direction): New arguments SIGN, WRAP and
1352 MINI to emulate original windmove-find-other-window behavior.
1353
84c73ba0
DG
13542013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1355
1356 * simple.el (blink-matching--overlay): New variable.
1357 (blink-matching-open): Instead of moving point, highlight the
1358 matching paren with an overlay
1359 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1360
1361 * faces.el (paren-showing-faces, show-paren-match)
1362 (show-paren-mismatch): Move from paren.el.
1363
b9e20952
LL
13642013-12-13 Leo Liu <sdl.web@gmail.com>
1365
1366 * indent.el (indent-region): Disable progress reporter in
1367 minibuffer. (Bug#16108)
1368
1369 * bindings.el (visual-order-cursor-movement): Fix version.
1370
ce030451
FEG
13712013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1372
1373 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1374 Also match after beginning of line.
1375 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1376 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1377
4a9c6865
JL
13782013-12-13 Juri Linkov <juri@jurta.org>
1379
1380 * simple.el <Keypad support>: Remove key bindings duplicated
1381 with bindings.el. (Bug#14397)
1382
2bc170c3
JL
13832013-12-13 Juri Linkov <juri@jurta.org>
1384
1385 * comint.el (comint-mode-map): Replace `delete-char' with
1386 `delete-forward-char'. (Bug#16109)
1387
bc9222c9
FEG
13882013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1389
aa2bddd7 1390 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1391 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1392
cb3a1380
SM
13932013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1394
1395 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1396 (advice--make): Pay attention to `depth'.
1397 (advice--make-1): Don't autoload commands eagerly.
1398 * emacs-lisp/elp.el (elp-instrument-function):
1399 * emacs-lisp/trace.el (trace-function-internal):
1400 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1401
1402 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1403
01633a17
EZ
14042013-12-12 Eli Zaretskii <eliz@gnu.org>
1405
1406 * term/w32-win.el (w32-handle-dropped-file):
1407 * startup.el (normal-top-level):
1408 * net/browse-url.el (browse-url-file-url):
1409 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1410 decode file names using 'utf-8' rather than
1411 file-name-coding-system.
1412
09faee72
FEG
14132013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1414
1415 * progmodes/python.el (python-indent-context)
1416 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1417 behavior for comment blocks. (Bug#15916)
09faee72 1418
f4f84024 14192013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1420
cb3a1380
SM
1421 * progmodes/python.el (python-indent-calculate-indentation):
1422 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1423 operators when they are just string constituents. (Bug#15812)
1424
d5ccb7be
JL
14252013-12-12 Juri Linkov <juri@jurta.org>
1426
1427 * uniquify.el (uniquify-buffer-name-style): Change default to
1428 `post-forward-angle-brackets'.
1429
1430 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1431 `uniquify'. Change default to `post-forward-angle-brackets'.
1432
7b3f5679
GM
14332013-12-11 Glenn Morris <rgm@gnu.org>
1434
1435 * emacs-lisp/package.el (finder-list-matches):
1436 Autoload rather than falsely declaring.
1437
f4fe8fdd
TZ
14382013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1439
1440 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1441 (eww-mode-map): Use them.
1442
3c29190f
MR
14432013-12-11 Martin Rudalics <rudalics@gmx.at>
1444
1445 * window.el (display-buffer-in-side-window): Fix doc-string
1446 (Bug#16115).
1447
0cd616a2
JB
14482013-12-11 Juanma Barranquero <lekktu@gmail.com>
1449
1450 * vc/vc-git.el: Silence byte-compiler warnings.
1451 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1452 (log-edit-set-header): Declare.
1453
3ef8e0d1
EZ
14542013-12-11 Eli Zaretskii <eliz@gnu.org>
1455
1456 * Makefile.in (custom-deps, finder-data): Run output file names
1457 through unmsys--file-name. (Bug#16099)
1458
afdadaf7
SM
14592013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1460
7ae3ae39 1461 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1462 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1463
5b4f37ab
SM
1464 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1465 instead of deleting the selection "by hand" (bug#16098).
1466 Rely on insert-for-yank to yank rectangles.
1467 (cua-highlight-region-shift-only): Mark obsolete.
1468 (cua-mode): Don't enable/disable transient-mark-mode,
1469 shift-select-mode (cua-mode works both with and without them), and
1470 pc-selection-mode (obsolete).
1471 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1472 (cua--deactivate-rectangle): Deactivate it.
1473
4b72c12b
SM
1474 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1475 (delete-selection-helper): Make sure yank starts at the top of the
1476 deleted region.
1477 (minibuffer-keyboard-quit): Use region-active-p.
1478
e82af72d
SM
1479 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1480
afdadaf7
SM
1481 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1482 to `delete' (bug#16109).
1483
ed4bc201
RS
14842013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1485
1486 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1487 info manual and show keybindings and set `:group' keyword.
1488
bb8097b9
JL
14892013-12-11 Juri Linkov <juri@jurta.org>
1490
1491 * delsel.el (delete-active-region): Let-bind `this-command'
1492 to prevent `kill-region' from changing its original value.
1493 (delete-selection-helper): Handle `overwrite-mode' for the type
1494 `kill' exactly the same way as for the type `t'.
1495 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1496 Support more commands. (Bug#13312)
1497
c1916ff5
JL
14982013-12-11 Juri Linkov <juri@jurta.org>
1499
1500 * bindings.el: Map kp keys to non-kp keys systematically
1501 with basic modifiers control, meta and shift. (Bug#14397)
1502
7514d3f8 15032013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1504
1505 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1506 "Close browser" menu items. Fix wrong function of "List
1507 bookmarks".
1508
4cc51eaf
JL
15092013-12-11 Juri Linkov <juri@jurta.org>
1510
1511 * misearch.el (multi-isearch-buffers): Set the value of
1512 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1513 arg of isearch-forward to t.
1514 (multi-isearch-buffers-regexp): Set the value of
1515 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1516 arg of isearch-forward-regexp to t.
1517 (multi-isearch-files): Set the value of
1518 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1519 arg of isearch-forward to t.
1520 (multi-isearch-files-regexp): Set the value of
1521 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1522 arg of isearch-forward-regexp to t. (Bug#16035)
1523
1524 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1525 arg of isearch-forward to t.
1526 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1527 arg of isearch-forward-regexp to t.
1528 (dired-isearch-filter-filenames): Remove unnecessary check for
1529 `dired-isearch-filenames'.
1530
1531 * comint.el (comint-history-isearch-backward):
1532 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1533 (comint-history-isearch-backward-regexp):
1534 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1535
ceac12b7
EZ
15362013-12-10 Eli Zaretskii <eliz@gnu.org>
1537
1538 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1539 unmsys--file-name. (Bug#16099)
1540
5a565782
TZ
15412013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1542
cb3a1380
SM
1543 * emacs-lisp/package.el (package-keyword-button-action):
1544 Remove finder.el require dependency.
5a565782 1545
a81fc7ba
TZ
15462013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1547
1548 * emacs-lisp/package.el: Require finder.el.
1549 (describe-package-1): Add keyword buttons.
1550 (package-make-button): New convenience function.
1551 (package-keyword-button-action): Keyword button action using
e0eb0550 1552 `finder-list-matches'.
a81fc7ba 1553
6aaca951
EZ
15542013-12-09 Eli Zaretskii <eliz@gnu.org>
1555
1556 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1557 last commit.
1558
a1099a91
MA
15592013-12-09 Michael Albinus <michael.albinus@gmx.de>
1560
1561 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1562 symlinked files.
1563
8212d9c0
DG
15642013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1565
1566 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1567 after the end of a percent literal.
1568
8f48d131
CD
15692013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1570
cb3a1380
SM
1571 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1572 Handle caret-delimited strings (Bug#16079).
8f48d131 1573
ff8c9764
DG
15742013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1575
cb3a1380
SM
1576 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1577 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1578 `ruby-parse-partial' (Bug#16078).
1579
d64643b4
LL
15802013-12-09 Leo Liu <sdl.web@gmail.com>
1581
1582 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1583
47e59c66
DG
15842013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1585
1586 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1587 (js-switch-indent-offset): New option.
1588 (js--proper-indentation): Use it. And handle the case when
1589 "default" is actually a key in an object literal.
1590 (js--same-line): New function.
1591 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1592 (js--indent-in-array-comp, js--array-comp-indentation):
1593 New functions.
47e59c66
DG
1594 (js--proper-indentation): Use them, to handle array comprehension
1595 continuations.
1596
974ebc9c
LL
15972013-12-08 Leo Liu <sdl.web@gmail.com>
1598
1599 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1600 (flymake-make-overlay): Remove arg MOUSE-FACE.
1601 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1602
27262e39
SM
16032013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1604
1605 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1606 New function.
1607 (redisplay-highlight-region-function): Use it.
1608
1609 * emulation/cua-base.el (cua--explicit-region-start)
1610 (cua--last-region-shifted): Remove.
1611 (cua--deactivate): Use deactivate-mark.
1612 (cua--pre-command-handler-1): Don't handle shift-selection.
1613 (cua--post-command-handler-1): Don't change transient-mark-mode.
1614 (cua--select-keymaps): Use region-active-p rather than
1615 cua--explicit-region-start or cua--last-region-shifted.
1616 (cua-mode): Enable shift-select-mode.
1617
6407822c
LL
16182013-12-08 Leo Liu <sdl.web@gmail.com>
1619
27262e39
SM
1620 * progmodes/flymake.el (flymake-popup-current-error-menu):
1621 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1622 (flymake-posn-at-point-as-event, flymake-popup-menu)
1623 (flymake-make-emacs-menu): Remove. (Bug#16077)
1624
00a2b823
SM
16252013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1626
02033d49
SM
1627 * rect.el (rectangle-mark-mode): Activate mark even if
1628 transient-mark-mode is off (bug#16066).
1629 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1630 is > mark and at bolp.
1631
6f8dfccf
SM
1632 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1633 (region-extract-function): Use it.
1634 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1635 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1636 Delete functions.
1637 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1638 kill-ring-save, kill-region, delete-char, delete-forward-char.
1639 Ignore self-insert-iso.
1640
1641 * emulation/cua-gmrk.el (cua--init-global-mark):
1642 Ignore `self-insert-iso'.
1643
1644 * emulation/cua-base.el (cua--prefix-copy-handler)
1645 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1646 checking cua--rectangle.
1647 (cua-delete-region): Use region-extract-function.
1648 (cua-replace-region): Delete function.
1649 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1650 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1651 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1652 (cua--init-keymaps): Don't remap delete-selection commands.
1653 (cua-mode): Use delete-selection-mode instead of rolling our own
1654 (bug#16085).
1655
1656 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1657 Obey region-extract-function.
1658
00a2b823
SM
1659 Make registers and delete-selection-mode work on rectangles.
1660 * register.el (describe-register-1): Don't modify the register's value.
1661 (copy-to-register): Obey region-extract-function.
1662 * delsel.el (delete-active-region): Obey region-extract-function.
1663
a92fa5f1
LL
16642013-12-08 Leo Liu <sdl.web@gmail.com>
1665
1666 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1667 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1668 (flymake-compilation-prevents-syntax-check)
1669 (flymake-start-syntax-check-on-newline)
1670 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1671 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1672 (flymake-xml-program, flymake-master-file-dirs)
1673 (flymake-master-file-count-limit)
1674 (flymake-allowed-file-name-masks): Relocate.
1675 (flymake-makehash, flymake-float-time)
1676 (flymake-replace-regexp-in-string, flymake-split-string)
1677 (flymake-get-temp-dir): Remove.
1678 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1679 (flymake-current-row, flymake-selected-frame)
1680 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1681 related functions. (Bug#16077)
1682
73c8ceea
BB
16832013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1684
1685 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1686
faec28d9
TH
16872013-12-07 Tassilo Horn <tsdh@gnu.org>
1688
1689 * help-fns.el (describe-function-1): Use new advice-* functions
1690 rather than old ad-* functions. Fix function type description and
1691 source links for advised functions and subrs.
1692
e330b646
LMI
16932013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1694
00a2b823 1695 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1696
4803595d
MA
16972013-12-06 Michael Albinus <michael.albinus@gmx.de>
1698
1699 * progmodes/compile.el (compilation-start):
1700 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1701
1702 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1703 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1704
fa834a93
DG
17052013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1706
00a2b823
SM
1707 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1708 Touch up the last change.
fa834a93 1709
b2856a6f
LL
17102013-12-06 Leo Liu <sdl.web@gmail.com>
1711
1712 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1713 (inferior-octave-startup): Always use "octave> " for prompt.
1714 (octave-goto-function-definition)
1715 (octave-sync-function-file-names)
1716 (octave-find-definition-default-filename): Remove redundant backquotes.
1717
af67e79a
DG
17182013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1719
1720 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1721 syntax for `?'.
1722 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1723 where appropriate already.
1724 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1725 end of method names (Bug#15874).
1726
bf093209
JL
17272013-12-06 Juri Linkov <juri@jurta.org>
1728
1729 * isearch.el (isearch--saved-overriding-local-map):
1730 New internal variable.
1731 (isearch-mode): Set it to the initial value of
1732 `overriding-terminal-local-map'.
1733 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1734 with `isearch--saved-overriding-local-map'. (Bug#16035)
1735
16588fad
DG
17362013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1737
00a2b823
SM
1738 * progmodes/octave.el (inferior-octave-completion-table):
1739 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1740 (Bug#11906). Update all references.
1741
1742 * minibuffer.el (completion-table-with-cache): New function.
1743
bf4906d7
CD
17442013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1745
1746 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1747
ff69c18f
TZ
17482013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1749
1750 * net/eww.el (eww-current-source): New variable to store page
1751 source.
1752 (eww-display-html, eww-mode, eww-save-history)
1753 (eww-restore-history): Use it.
1754 (eww-view-source): New command to view page source.
1755 Opportunistically uses `html-mode' to highlight the buffer.
1756 (eww-mode-map): Install it.
1757
b85eff45
MA
17582013-12-05 Michael Albinus <michael.albinus@gmx.de>
1759
1760 * net/dbus.el (dbus-unregister-service)
1761 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1762 Fix docstring.
1763 (dbus-unregister-service): Skip :serial entries in
1764 `dbus-registered-objects-table'.
1765 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1766
39eb0899
TZ
17672013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1768
1769 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1770 around keywords with extra `split-string' argument.
1771
456760a5
MR
17722013-12-04 Martin Rudalics <rudalics@gmx.at>
1773
1774 * windmove.el (windmove-other-window-loc): Handle navigation
1775 between windows (excluding the minibuffer window - Bug#16017).
1776
81961e4c
MA
17772013-12-04 Michael Albinus <michael.albinus@gmx.de>
1778
1779 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1780 in D-Bus type syntax.
1781 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1782 preserve unibyte strings. (Bug#16048)
1783
8497f938
SM
17842013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1785
1786 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1787 Call force-mode-line-update is the proper buffer (bug#16042).
1788
dda61916
DG
17892013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1790
1791 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1792 `log-edit-remember-comment', make argument optional. Adjust all
1793 callers.
1794 (log-edit-mode): Add `log-edit-remember-comment' to
1795 `kill-buffer-hook' locally.
1796 (log-edit-kill-buffer): Don't remember comment explicitly since
1797 the buffer is killed anyway.
1798
c085e5b9
JL
17992013-12-04 Juri Linkov <juri@jurta.org>
1800
1801 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1802 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1803
e0eb0550 18042013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1805
1806 * notifications.el (notifications-close-notification): Call the
81961e4c 1807 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1808
39fa32d6
KY
18092013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1810
1811 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1812
9139632a
JL
18132013-12-03 Juri Linkov <juri@jurta.org>
1814
1815 * progmodes/compile.el (compilation-start): Rename window alist
1816 entry `no-display-ok' to `allow-no-window'.
1817
1818 * simple.el (shell-command): Add window alist entry
1819 `allow-no-window' to `display-buffer'.
1820 (async-shell-command): Doc fix.
1821
1822 * window.el (display-buffer-no-window): New action function.
1823 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1824
0f457a37
DG
18252013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1826
1827 * vc/log-edit.el (log-edit-set-header): Extract from
1828 `log-edit-toggle-header'.
1829 (log-edit-extract-headers): Separate the summary, when extracted
1830 from header, from the rest of the message with an empty line.
1831
1832 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1833 line, if present, to the Summary header.
1834
0962f376
SM
18352013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1838 in current-buffer (bug#16029).
1839
f345395c
HE
18402013-12-02 Helmut Eller <eller.helmut@gmail.com>
1841
1842 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1843 (debugger-mode-map): Bind it.
1844 (debugger--backtrace-base): New function.
1845 (debugger-eval-expression): Use it.
1846 (debugger-frame-number): Skip local vars when present.
1847 (debugger--locals-visible-p, debugger--insert-locals)
1848 (debugger--show-locals, debugger--hide-locals): New functions.
1849
a8a15d9d
MA
18502013-12-02 Michael Albinus <michael.albinus@gmx.de>
1851
1852 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1853 "LC_ALL".
1854 (tramp-get-remote-locale): New defun.
1855 (tramp-open-connection-setup-interactive-shell): Use it.
1856
0518b057
LL
18572013-12-02 Leo Liu <sdl.web@gmail.com>
1858
1859 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1860
1861 * progmodes/sh-script.el (sh-shell-process):
1862 * progmodes/octave.el (inferior-octave-process-live-p):
1863 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1864 (gdb-inferior-io-sentinel):
1865 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1866
3adc9c6d
DG
18672013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1868
1869 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1870 `save-selected-window' to `log-edit-hide-buf'. This makes
1871 `log-edit-show-files' idempotent.
1872 (log-edit-show-files): Mark the new window as dedicated.
1873
47e8b74e
DG
18742013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1875
1876 * vc/log-edit.el (log-edit-mode-map): Add binding for
1877 `log-edit-kill-biffer'.
1878 (log-edit-hide-buf): Add a FIXME comment.
1879 (log-edit-add-new-comment): New function, extracted from
1880 `log-edit-done'.
1881 (log-edit-done, log-edit-add-to-changelog): Use it.
1882 (log-edit-kill-buffer): New command.
1883
1f6e1bb0
LMI
18842013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1885
1886 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1887 instead of killing the buffer.
1888
fb651d15
SM
18892013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1890
1891 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1892
8feacce0
RS
18932013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1894
fb651d15 1895 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1896 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1897 (eww-form-checkbox, eww-toggle-checkbox):
1898 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1899
e0eb0550 1900 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1901 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1902 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1903 no :src tag was specified.
1904
fb651d15 1905 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1906 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1907 Use \\` to match beginning of string instead of ^.
1908 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1909 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1910
177948a5
RS
1911 * net/shr.el (shr-tag-video): Display content for video if no
1912 poster is available.
eb2dd24d 1913 (shr-tag-audio): Add support for <audio> tag.
177948a5 1914
e0eb0550 1915 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1916 (eww-process-text-input): Treat input types in
1917 `eww-text-input-types' as text.
1918
8feacce0
RS
1919 * net/shr.el (shr-tag-table): Fix comment typo.
1920
513562a1
LMI
19212013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1922
1923 * net/eww.el (eww-follow-link): New command to avoid reloading
1924 pages when we follow #target links (bug#15243).
de8a5633 1925 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1926
9dd99753
KN
19272013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1928
1929 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1930 forms.
1931
3e9876de
LMI
19322013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1933
1934 * net/eww.el (eww-restore-history): Update the window title after
1935 moving in the history.
ab6dea82 1936 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1937
52789f7f
DG
19382013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1939
1940 * vc/log-edit.el (log-edit-mode-map): Add binding for
1941 `log-edit-beginning-of-line'.
1942 (log-edit-setup-add-author): New user option.
1943 (log-edit-beginning-of-line): New command.
1944 (log-edit): Move major mode call above the contents setup so that
1945 the local variable values are already applied.
1946 (log-edit): Only insert "Author: " when
1947 `log-edit-setup-add-author' is non-nil.
1948 (log-edit): When SETUP is non-nil, position point after ": "
1949 instead of point-min.
1950
2e6710c3
GM
19512013-12-01 Glenn Morris <rgm@gnu.org>
1952
1953 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1954
fadec31f
EZ
19552013-11-30 Eli Zaretskii <eliz@gnu.org>
1956
1957 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1958 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1959 visible. (Bug#16014)
1960
10634b40 19612013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1962
1963 Support resizing frames and windows pixelwise.
1964 * cus-start.el (frame-resize-pixelwise)
1965 (window-resize-pixelwise): New entries.
1966 * emacs-lisp/debug.el (debug): Use window-total-height instead
1967 of window-total-size.
1968 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1969 * help.el (describe-bindings-internal): Call help-buffer
1970 (temp-buffer-max-width): New option.
1971 (resize-temp-buffer-window, help-window-setup)
1972 (with-help-window): Rewrite.
1973 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1974 dragging dividers.
1975 * window.el (frame-char-size, window-min-pixel-height)
1976 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1977 (window-min-pixel-width, window-safe-min-pixel-size)
1978 (window-combination-p, window-safe-min-size)
1979 (window-resizable-p, window--size-to-pixel)
1980 (window--pixel-to-size, window--resize-apply-p): New functions.
1981 (window-safe-min-height): Fix doc-string.
1982 (window-size, window-min-size, window--min-size-1)
1983 (window-sizable, window-sizable-p, window--min-delta-1)
1984 (window-min-delta, window--max-delta-1, window-max-delta)
1985 (window--resizable, window--resizable-p, window-resizable)
1986 (window-full-height-p, window-full-width-p, window-at-side-p)
1987 (window--in-direction-2, window-in-direction)
1988 (window--resize-reset-1, window--resize-mini-window)
1989 (window-resize, window-resize-no-error)
1990 (window--resize-child-windows-normal)
1991 (window--resize-child-windows, window--resize-siblings)
1992 (window--resize-this-window, window--resize-root-window)
1993 (window--resize-root-window-vertically)
1994 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1995 (maximize-window, minimize-window, delete-window)
1996 (quit-restore-window, window-split-min-size, split-window)
1997 (balance-windows-2, balance-windows)
1998 (balance-windows-area-adjust, balance-windows-area)
1999 (window--state-get-1, window-state-get, window--state-put-1)
2000 (window--state-put-2, window-state-put)
fb651d15
SM
2001 (display-buffer-record-window, window--display-buffer):
2002 Make functions handle pixelwise sizing of windows.
880e6158 2003 (display-buffer--action-function-custom-type)
fb651d15
SM
2004 (display-buffer-fallback-action):
2005 Add display-buffer-in-previous-window.
880e6158
MR
2006 (display-buffer-use-some-window): Resize window to height it had
2007 before.
2008 (fit-window-to-buffer-horizontally): New option.
2009 (fit-frame-to-buffer): Describe new values.
2010 (fit-frame-to-buffer-bottom-margin): Replace with
2011 fit-frame-to-buffer-margins.
2012 (window--sanitize-margin): New function.
2013 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2014 using window-text-pixel-size.
2015
f9b697dd
GM
20162013-11-30 Glenn Morris <rgm@gnu.org>
2017
3e2fb4db
GM
2018 * emacs-lisp/bytecomp.el (byte-compile-form):
2019 Make the `interactive-only' warning like the `obsolete' one.
2020 * comint.el (comint-run):
2021 * files.el (insert-file-literally, insert-file):
2022 * replace.el (replace-string, replace-regexp):
2023 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2024 (goto-line, insert-buffer, next-line, previous-line):
2025 Tweak `interactive-only' spec.
2026
f9b697dd
GM
2027 Stop keeping (most) generated cedet grammar files in the repository.
2028 * Makefile.in (semantic): New.
2029 (compile-main): Depend on semantic.
2030
da048127
SM
20312013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2032
7784b779
SM
2033 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2034 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2035
4e36a6a6
SM
2036 * uniquify.el (uniquify-buffer-name-style): Change default.
2037
2038 * loadup.el: Preload "uniquify".
2039
e0ba1308
SM
2040 * time.el (display-time-update): Update all mode lines (bug#15999).
2041
da048127
SM
2042 * electric.el (electric-indent-mode): Enable by default.
2043 * loadup.el: Preload "electric".
2044
015b3b3e
BB
20452013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2046
2047 * emacs-lisp/helpers.el (string-empty-p): New function.
2048 (string-blank-p): New function.
2049
7efb806d
AP
20502013-11-29 Andreas Politz <politza@hochschule-trier.de>
2051
2052 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2053 (Bug#14029).
2054
c8f0efc2
AP
20552013-11-29 Andreas Politz <politza@fh-trier.de>
2056 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2057 allow non-lambda lists as functions.
2058 (imenu--in-alist): Don't recurse into non-subalists.
2059 (imenu): Don't pass function itself as an argument (Bug#14029).
2060
bd15d9d1
SM
20612013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2062
2063 * progmodes/python.el (python-mode-map): Remove binding for ":".
2064 (python-indent-electric-colon): Remove command.
2065 (python-indent-post-self-insert-function): Integrate the previous code
2066 of python-indent-electric-colon. Make it conditional on
2067 electric-indent-mode.
2068 (python-mode): Add ?: to electric-indent-chars.
2069 Move python-indent-post-self-insert-function to the end of
2070 post-self-insert-hook.
2071
1b10adb6
SM
20722013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2073
655ab9a3
SM
2074 * doc-view.el (doc-view-goto-page): Update mode-line.
2075
1b10adb6
SM
2076 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2077
7e3bf78c
GM
20782013-11-27 Glenn Morris <rgm@gnu.org>
2079
2080 * international/charprop.el, international/uni-bidi.el:
2081 * international/uni-category.el, international/uni-combining.el:
2082 * international/uni-comment.el, international/uni-decimal.el:
2083 * international/uni-decomposition.el, international/uni-digit.el:
2084 * international/uni-lowercase.el, international/uni-mirrored.el:
2085 * international/uni-name.el, international/uni-numeric.el:
2086 * international/uni-old-name.el, international/uni-titlecase.el:
2087 * international/uni-uppercase.el:
2088 Remove generated files from VCS repository.
2089
fb6a5d68
EZ
20902013-11-27 Eli Zaretskii <eliz@gnu.org>
2091
2092 * filenotify.el (file-notify-add-watch): Don't special-case
2093 w32notify when computing the directory to watch.
2094
cb6c95a3
GM
20952013-11-27 Glenn Morris <rgm@gnu.org>
2096
20372d0c
GM
2097 Make bootstrap without generated uni-*.el files possible again.
2098 * loadup.el: Update command-line-args checking for unidata-gen.
2099 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2100 * composite.el, international/characters.el:
2101 Handle unicode tables being undefined.
2102
52d6635f 2103 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2104 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2105 (compile-main): Depend on leim rule.
2106 (leim): New rule.
2107 * loadup.el: Move leim-list.el to leim/ subdirectory.
2108 * startup.el (normal-top-level): No more leim directory.
2109 * international/ja-dic-cnv.el (skkdic-convert):
2110 Disable version-control and autoloads in output files.
2111 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2112 Disable version-control and autoloads in output files.
2113 * leim/quail: Move here from ../leim.
2114 * leim/quail/hangul.el (hangul-input-method-activate):
2115 Add autoload cookie.
2116 (generated-autoload-load-name): Set file-local value.
2117 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2118 (generated-autoload-load-name): Set file-local value.
2119
7514d3f8 21202013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2121
e0eb0550 2122 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2123 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2124 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2125
0e2c793f
EZ
21262013-11-26 Eli Zaretskii <eliz@gnu.org>
2127
2128 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2129 reading output from Diff on MS-Windows and MS-DOS.
2130
447bdcb8
BB
21312013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2132
2133 * emacs-lisp/helpers.el (string-reverse): New function.
2134
5fbf6856
MA
21352013-11-26 Michael Albinus <michael.albinus@gmx.de>
2136
2137 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2138 names on MS Windows, like "/[::1]:".
2139
2140 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2141 SWITCHES.
2142
624780f0
GM
21432013-11-26 Glenn Morris <rgm@gnu.org>
2144
0bf3f0fa
GM
2145 * progmodes/python.el (python-indent-guess-indent-offset):
2146 Avoid corner-case error. (Bug#15975)
2147
624780f0
GM
2148 Preload leim-list.el. (Bug#4789)
2149 * loadup.el: Load leim-list.el when found.
2150 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2151
4301875e 21522013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2153
2154 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2155
4301875e
BB
2156 * emacs-lisp/helpers.el (string-join): New function.
2157
1633a815 21582013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2159
2160 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2161 Mark as obsolete and replace it with a symbol property.
2162 (byte-compile-form): Use new 'interactive-only property.
2163 * comint.el, files.el, replace.el, simple.el:
2164 Apply new 'interactive-only properly.
2165
00139435
MR
21662013-11-25 Martin Rudalics <rudalics@gmx.at>
2167
2168 * window.el (display-buffer-at-bottom): Make sure that
2169 split-window-sensibly creates the new window on bottom
2170 (Bug#15961).
2171
5f5b128d
DK
21722013-11-23 David Kastrup <dak@gnu.org>
2173
2174 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2175 on the conflict markers when available.
2176 (smerge--get-marker): New function.
2177 (smerge-end-re, smerge-base-re): Add subgroup.
2178
623891e5
SM
21792013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * frame.el (handle-focus-in, handle-focus-out): Add missing
2182 interactive spec.
2183
05ca27d8
MA
21842013-11-25 Michael Albinus <michael.albinus@gmx.de>
2185
2186 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2187 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2188
511fa0d3
SM
21892013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2190
e82ad66c
SM
2191 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2192 (gomoku--last-pos): New var.
2193 (gomoku--intangible-chars): New const.
2194 (gomoku--intangible): New function.
2195 (gomoku-mode): Use it. Derive from special-mode.
2196 (gomoku-move-up): Adjust line count.
2197 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2198 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2199 Simplify accordingly.
2200
511fa0d3
SM
2201 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2202 Remove blink-cursor code.
2203 (blink-cursor-timer-function, blink-cursor-suspend):
2204 Don't special-case GUIs.
2205 (blink-cursor-mode): Use focus-in/out-hook.
2206
6f20dd03
DG
22072013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2208
2209 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2210 work when annotation is invisible (Bug#13886).
2211
431dec31 22122013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2213
2214 * json.el (json-alist-p): Only return non-nil if the alist has
2215 simple keys (Bug#13518).
2216
431dec31 22172013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2218
2219 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2220 when control-statement is the first statement in a buffer (Bug#15956).
2221
ee4f0261
DG
22222013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2223
2224 * imenu.el (imenu-generic-skip-comments-and-strings):
2225 New option (Bug#15560).
2226 (imenu--generic-function): Use it.
2227
c484f866
JS
22282013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2229
e9dc713d
JB
2230 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2231 (Bug#13898)
c484f866 2232
41ce6f70
BB
22332013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2234
b55aea38
BB
2235 * emacs-lisp/helpers.el: Add some string helpers.
2236 (string-trim-left): Removes leading whitespace.
2237 (string-trim-right): Removes trailing whitespace.
2238 (string-trim): Removes leading and trailing whitespace.
2239
41ce6f70
BB
2240 * subr.el (string-suffix-p): New function.
2241
3cfb6af3
GM
22422013-11-23 Glenn Morris <rgm@gnu.org>
2243
2244 * progmodes/python.el (python-shell-send-file):
2245 Add option to delete file when done. (Bug#15647)
2246 (python-shell-send-string, python-shell-send-region): Use it.
2247
c27924b7
IS
22482013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2249
e1b01c7f
IS
2250 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2251 to set buffer-read-only to t, never to nil. (Bug#15938)
2252
c27924b7
IS
2253 * textmodes/tex-mode.el (latex-noindent-environments):
2254 Add safe-local-variable property. (Bug#15936)
2255
17e0445b
GM
22562013-11-23 Glenn Morris <rgm@gnu.org>
2257
92f78ea3
GM
2258 * textmodes/enriched.el (enriched-mode): Doc fix.
2259 * emacs-lisp/authors.el (authors-renamed-files-alist):
2260 Add enriched.doc -> enriched.txt.
2261
17e0445b
GM
2262 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2263
965bb23a
LL
22642013-11-22 Leo Liu <sdl.web@gmail.com>
2265
2266 * progmodes/octave.el (inferior-octave-startup): Spit out error
2267 message.
2268
d19ffd64
BB
22692013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2270
2271 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2272 Improve docstring.
15ba2182
BB
2273 Add :version.
2274 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2275
7a7567d2
LL
22762013-11-22 Leo Liu <sdl.web@gmail.com>
2277
2278 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2279 (Bug#15076)
8c09f64b
LL
2280 (octave-help-mode): Adapt to change to help-mode-finish to use
2281 derived-mode-p on 2013-09-17.
2282 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2283 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2284
724bc265
LL
22852013-11-22 Leo Liu <sdl.web@gmail.com>
2286
2287 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2288 (inferior-octave-startup, inferior-octave-check-process)
2289 (inferior-octave-track-window-width-change)
2290 (octave-completion-at-point, octave-eldoc-function): Use it.
2291 (octave-kill-process): Provide confirmation. (Bug#10564)
2292
38637cca
LL
22932013-11-21 Leo Liu <sdl.web@gmail.com>
2294
511fa0d3
SM
2295 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2296 Fix obsolete variable comment-use-global-state.
38637cca 2297
06e752b4
RS
22982013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2299
511fa0d3
SM
2300 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2301 Add `octave-source-file'.
06e752b4
RS
2302 (octave-source-file): New function. (Bug#15935)
2303
7514d3f8 23042013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2305
2306 * net/eww.el (eww-local-regex): New variable.
2307 (eww): Use it to detect localhost and similar.
2308
b6ffa04a
LL
23092013-11-21 Leo Liu <sdl.web@gmail.com>
2310
2311 Add completion for command `ag'.
2021a200
LL
2312 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2313 (pcomplete/ag): New function.
e9dc713d 2314 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2315
d1a6bccc
SM
23162013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2319 (bug#14646).
2320 (make-obsolete): Remove interactive spec.
2321
2df10228
GM
23222013-11-21 Glenn Morris <rgm@gnu.org>
2323
2324 * startup.el (command-line-1): Use path-separator with -L.
2325
86fd16b6
TZ
23262013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2327
2328 * emacs-lisp/package.el (describe-package-1): Add package archive
2329 to shown fields.
2330
0449d6cd 23312013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2332
2333 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2334 Change default to "# encoding: %s" to differentiate it from the
2335 default Ruby encoding comment template.
2336
dc7e8c17 23372013-11-20 era eriksson <era+emacsbugs@iki.fi>
2338
2339 * ses.el (ses-mode): Doc fix. (Bug#14748)
2340
f0cfa5fe
LL
23412013-11-20 Leo Liu <sdl.web@gmail.com>
2342
2343 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2344
826dc7b6
DN
23452013-11-19 Dan Nicolaescu <dann@gnu.org>
2346
2347 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2348 when rebase or bisect are in progress.
2349
a6e3a5d5
XF
23502013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2351
2352 * filenotify.el (file-notify-add-watch): Doc fix.
2353
f130cb76
LL
23542013-11-19 Leo Liu <sdl.web@gmail.com>
2355
e0855d7d
LL
2356 * obsolete/rcompile.el: Mark obsolete.
2357
f130cb76 2358 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2359 (compilation-goto-locus, compilation-find-file):
2360 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2361 (Bug#13594)
2362
2363 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2364 new parameter no-display-ok. Return either a window or nil
2365 but never a non-window value.
f130cb76 2366
1f35d401
SM
23672013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2368
25158c76
SM
2369 * electric.el (electric-indent-mode-map): Remove.
2370 (electric-indent-mode): Change the global-map instead (bug#15915).
2371
2372 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2373 Use add-function.
1f35d401 2374
9bc67baa
SM
23752013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2376
986545b5
SM
2377 * emacs-lisp/nadvice.el (remove-function): Align with
2378 add-function's behavior.
2379
9bc67baa
SM
2380 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2381 (gdb--string-regexp): New constant.
2382 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2383 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2384 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2385 submatch 1.
2386 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2387 Adjust use accordingly.
2388 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2389
56cd894e
AS
23902013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2391
2392 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2393 interpolation curlies (Bug#15914).
2394
014690de
JB
23952013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2396
2397 * calc/calc.el (calc-context-sensitive-enter): New variable.
2398 (calc-enter): Use `calc-context-sensitive-enter'.
2399
7e26a6c3
TZ
24002013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2401
2402 * progmodes/cfengine.el: Version bump.
2403 (cfengine-cf-promises): New defcustom to locate cf-promises.
2404 (cfengine3-vartypes): Add new "data" type.
2405 (cfengine3--current-word): New function to get current name-like
2406 word or its bounds.
2407 (cfengine3--current-function): New function to look up a CFEngine
2408 function's definition.
2409 (cfengine3-format-function-docstring): New function.
2410 (cfengine3-make-syntax-cache): New function.
2411 (cfengine3-documentation-function): New function: ElDoc glue.
2412 (cfengine3-completion-function): New function: completion glue.
2413 (cfengine3-mode): Set `compile-command',
2414 `eldoc-documentation-function', and add to
2415 `completion-at-point-functions'.
2416
355204dd
MA
24172013-11-16 Michael Albinus <michael.albinus@gmx.de>
2418
2419 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2420 `tramp-current-connection'.
2421
43cebc23
DG
24222013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2423
2424 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2425 nil/self/true/false with "end of symbol".
2426
a3fed6ff
BB
24272013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2428
2429 * subr.el (version-regexp-alist): Fix a typo.
2430
e675b3e4
MA
24312013-11-15 Michael Albinus <michael.albinus@gmx.de>
2432
2433 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2434 "en_US.utf8" and "LC_CTYPE" to "".
2435 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2436 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2437
a1f03e89
LL
24382013-11-15 Leo Liu <sdl.web@gmail.com>
2439
2440 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2441
5d9d9451
SM
24422013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2443
58362662
CS
2444 * progmodes/gud.el (ctl-x-map):
2445 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2446 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2447
6c1bf086
BB
24482013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2449
0d5363c4
BB
2450 * subr.el (version-regexp-alist):
2451 Recognize hg, svn and darcs versions as snapshot versions.
2452
4e9fc48c
BB
2453 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2454 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2455 (ruby--encoding-comment-required-p): Extract from
2456 `ruby-mode-set-encoding'.
2457 (ruby-mode-set-encoding): Add the ability to always insert an
2458 utf-8 encoding comment. Fix and simplify coding comment update
2459 logic.
6c1bf086 2460
2f7e72f8
MA
24612013-11-14 Michael Albinus <michael.albinus@gmx.de>
2462
2463 * net/tramp-gvfs.el (top): Run init code only when
2464 `tramp-gvfs-enabled' is not nil.
2465 (tramp-gvfs-enabled): Check also :system bus.
2466
0f137a73
SM
24672013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2468
2469 Sync with upstream verilog-mode revision 78e66ba.
2470 * progmodes/verilog-mode.el (verilog-end-of-defun)
2471 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2472 (verilog-get-end-of-defun): Remove unused argument.
2473 (verilog-comment-depth): Remove unused local `e'.
2474 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2475 Don't pass arg to verilog-get-end-of-defun.
2476
1c276bdd
GM
24772013-11-14 Glenn Morris <rgm@gnu.org>
2478
2479 * obsolete/assoc.el (aget): Prefix dynamic variable.
2480
2481 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2482
ff6ec81d
SM
24832013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * widget.el, hfy-cmap.el: Remove bogus package version number.
2486
75f777b6
GM
24872013-11-13 Glenn Morris <rgm@gnu.org>
2488
1d43dba1
GM
2489 * replace.el (replace-eval-replacement):
2490 Try to give more helpful error message. (Bug#15836)
2491
ff4b7bd5
GM
2492 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2493 (archive-7z-update): Avoid custom type mismatches.
2494
75f777b6
GM
2495 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2496
11151a06
MA
24972013-11-13 Michael Albinus <michael.albinus@gmx.de>
2498
e675b3e4 2499 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2500 address can be empty.
2501
2502 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2503 Accept nil SWITCHES.
2504 (tramp-gvfs-handle-write-region): Implement APPEND.
2505
7b08f97e
DG
25062013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2507
2508 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2509 binary "|" operator and closing block args delimiter.
2510 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2511 (ruby-smie--implicit-semi-p): Not after "|" operator.
2512 (ruby-smie--closing-pipe-p): New function.
2513 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2514 (ruby-smie-rules): Indent after "|".
2515
f201cf3a
GM
25162013-11-12 Glenn Morris <rgm@gnu.org>
2517
2518 * ps-print.el (ps-face-attribute-list):
2519 Handle anonymous faces. (Bug#15827)
2520
e6f759f9
MR
25212013-11-12 Martin Rudalics <rudalics@gmx.at>
2522
2523 * window.el (display-buffer-other-frame): Fix doc-string.
2524 (Bug#15868)
2525
ecda65d4
SM
25262013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2529
7ce8fcc3
MA
25302013-11-11 Michael Albinus <michael.albinus@gmx.de>
2531
2532 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2533 (tramp-sh-handle-file-local-copy): Don't write a message when
2534 saving temporary files.
2535
2536 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2537 both directories are remote.
2538 (tramp-smb-handle-directory-files): Do not return double entries.
2539 Do not expand full file names.
2540 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2541 (tramp-smb-handle-write-region): Implement APPEND.
2542 (tramp-smb-get-stat-capability): Fix a stupid bug.
2543
7818df11
SM
25442013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2545
2546 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2547
608c2085
NT
25482013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2549
2550 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2551 throwing error over malformed let/let* (bug#15814).
2552
122a7e46
SM
25532013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2554
2555 * iswitchb.el (iswitchb-mode): Mark obsolete.
2556
766284d9
GM
25572013-11-11 Glenn Morris <rgm@gnu.org>
2558
2559 * international/uni-bidi.el, international/uni-category.el:
2560 * international/uni-name.el, international/uni-numeric.el:
2561 Regenerate for Unicode 6.3.0.
2562
7072a4e9
MA
25632013-11-10 Michael Albinus <michael.albinus@gmx.de>
2564
2565 * net/tramp.el (tramp-methods):
2566 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2567 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2568
c9df215b
AS
25692013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2570
608c2085
NT
2571 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2572 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2573
fa47d796
DG
25742013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2575
2576 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2577 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2578 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2579 (ispell-complete-word): Call `ispell-lookup-words' with the value
2580 independent of `ispell-look-p'.
2581
1629a329
DG
25822013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2583
2584 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2585 Not after "||".
2586 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2587 their parent.
2588
ad16897c
SM
25892013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2590
2591 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2592 (ruby-font-lock-keywords): Use backquote.
2593
ffa2df72
DG
25942013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2595
2596 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2597 (ruby-smie--backward-token): Only consider full-string matches.
2598
5b97b4c0
JD
25992013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2600
2601 * faces.el (describe-face): Add distant-foreground.
2602
71731c03
BB
26032013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2604
4e9fc48c
BB
2605 * progmodes/ruby-mode.el: Improve encoding comment handling.
2606 (ruby-encoding-magic-comment-style): New option.
2607 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2608 (ruby--insert-coding-comment, ruby--detect-encoding):
2609 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2610 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2611 to control the style of the auto-inserted encoding comment.
71731c03 2612
da3b328d
DG
26132013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2614
ad16897c
SM
2615 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2616 Use `smie-backward-sexp' with token argument.
da3b328d 2617
1606c2d3
MA
26182013-11-08 Michael Albinus <michael.albinus@gmx.de>
2619
2620 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2621 Remove instrumentation code.
2622
b0f4c320
GM
26232013-11-08 Glenn Morris <rgm@gnu.org>
2624
2625 * progmodes/autoconf.el (autoconf-mode):
2626 Tweak comment-start-skip. (Bug#15822)
2627
43668fb1
SM
26282013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2631 at bobp (bug#15826).
2632 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2633
daddb3fd
DH
26342013-11-08 Darren Hoo <darren.hoo@gmail.com>
2635
2636 * man.el (Man-start-calling): New macro, extracted from
2637 Man-getpage-in-background.
2638 (Man-getpage-in-background): Use it.
2639 (Man-update-manpage): New command.
2640 (Man-mode-map): Bind it.
2641
1f923923
DG
26422013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2643
2644 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2645 of "and", "or", "&&" and "||".
2646 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2647 argument. Prohibit opening curly brace because it could only be a
2648 block opener in that position.
daddb3fd
DH
2649 (ruby-smie--forward-token, ruby-smie--backward-token):
2650 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2651 arguments.
2652 (ruby-smie--indent-to-stmt): New function, seeks the end of
2653 previous statement or beginning of buffer.
2654 (ruby-smie-rules): Use it.
2655 (ruby-smie-rules): Check if there's a ":" before a curly block
2656 opener candidate; if there is, it's a hash.
2657
3220d527
SM
26582013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2659
2660 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2661 (cl--block-wrapper): Fix last accidental change.
2662
1eb1f9e0
MA
26632013-11-07 Michael Albinus <michael.albinus@gmx.de>
2664
2665 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2666 Instrument, in order to hunt failure on hydra.
2667
e6e4db3c
NT
26682013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2669
2670 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2671 malformed bindings form (bug#15814).
2672
b420ccfc
DG
26732013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2674
2675 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2676 "." compared to " @ ". This incidentally fixes some indentation
2677 examples with "do".
e6e4db3c 2678 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2679 (ruby-smie-grammar): New tokens: "and" and "or".
2680 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2681 Exclude "and" and "or". Remove "do" in order to work around token
2682 priorities.
2683 (ruby-smie-rules): Add all infix tokens. Handle the case of
2684 beginning-of-buffer.
b420ccfc 2685
6b4ac03e
GM
26862013-11-06 Glenn Morris <rgm@gnu.org>
2687
2688 * Makefile.in (setwins_almost, setwins_for_subdirs):
2689 Avoid accidental matches.
2690
5ca114d1
SM
26912013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2692
2693 * menu-bar.el (popup-menu): Use key-binding.
2694
f72552bd
EZ
26952013-11-06 Eli Zaretskii <eliz@gnu.org>
2696
2697 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2698 menus, support also the menus produced by minor modes.
2699 (Bug#15817)
2700
5d5c701e
LL
27012013-11-06 Leo Liu <sdl.web@gmail.com>
2702
2703 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2704 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2705
0a8b75e2
GM
27062013-11-06 Glenn Morris <rgm@gnu.org>
2707
2708 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2709 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2710 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2711
a35287ea
SM
27122013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2713
feca4e2d
SM
2714 * electric.el (electric-indent-just-newline): New command.
2715 (electric-indent-mode-map): New keymap.
2716 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2717 Re-add :group which weren't redundant.
2718
a35287ea
SM
2719 * electric.el (electric-indent-local-mode): New minor mode.
2720 (electric-indent-functions-without-reindent): New var.
2721 (electric-indent-post-self-insert-function): Use it.
2722 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2723
375761b2
EZ
27242013-11-05 Eli Zaretskii <eliz@gnu.org>
2725
9a6ad735
EZ
2726 * international/quail.el (quail-help): Be more explicit about the
2727 meaning of the labels shown on the keys. (Bug#15800)
2728
375761b2
EZ
2729 * startup.el (normal-top-level): Load the subdirs.el files before
2730 setting the locale environment. (Bug#15805)
2731
520a6e4a
SM
27322013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2733
0acfafef
SM
2734 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2735 via arguments so as to get the right ones (bug#15418).
2736
520a6e4a
SM
2737 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2738
15826261
MA
27392013-11-05 Michael Albinus <michael.albinus@gmx.de>
2740
2741 Fix problems found while writing a test suite.
2742
2743 * net/tramp-compat.el (tramp-compat-load): New defun.
2744 * net/tramp.el (tramp-handle-load): Use it.
2745
2746 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2747 "(numberp ok-if-already-exists)" correctly.
2748
d35f31a4
XF
27492013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2750
2751 * international/characters.el (glyphless-char-display-control):
2752 Add usage note.
2753
ae93bc74
BB
27542013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2755
520a6e4a
SM
2756 * progmodes/python.el (python-mode):
2757 * progmodes/scheme.el (scheme-mode):
2758 * progmodes/prolog.el (prolog-mode):
2759 * progmodes/ruby-mode.el (ruby-mode):
2760 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2761 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2762
0ade65b5
SM
27632013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2764
a0d5f7a4
SM
2765 * rect.el (rectangle--highlight-for-redisplay):
2766 * emacs-lisp/smie.el (smie--next-indent-change):
2767 Use buffer-chars-modified-tick.
2768
c93f3f5c
SM
2769 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2770
0ade65b5
SM
2771 * electric.el (electric-indent-post-self-insert-function):
2772 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2773
ef9dd188
HE
27742013-11-04 Helmut Eller <eller.helmut@gmail.com>
2775
2776 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2777
306e7308
NT
27782013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2779
2780 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2781 (bug#15786).
2782
e5afbcac
SM
27832013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2784
1d01ad41
SM
2785 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2786
e5afbcac
SM
2787 * progmodes/python.el: Fix up last change.
2788 (python-shell--save-temp-file): New function.
2789 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2790 `string' comes from the current buffer.
2791 (python-shell-send-string-no-output): Remove `msg' arg.
2792 (python--use-fake-loc): New var.
2793 (python-shell-buffer-substring): Obey it. Try to compensate for the
2794 extra coding line added by python-shell--save-temp-file.
2795 (python-shell-send-region): Use python-shell--save-temp-file and
2796 python-shell-send-file directly. Add `nomain' argument.
2797 (python-shell-send-buffer): Use python-shell-send-region.
2798 (python-electric-pair-string-delimiter): New function.
2799 (python-mode): Use it.
2800
d0065ff1
EZ
28012013-11-04 Eli Zaretskii <eliz@gnu.org>
2802
2803 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2804 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2805 environment and decoding all of the default-directory's to here
2806 from command-line.
2807 (command-line): Decode also argv[0].
2808
2809 * loadup.el: Error out if default-directory is a multibyte string
2810 when we are dumping.
2811
2812 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2813
7397c587
TZ
28142013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2815
2816 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2817 (package-menu--print-info, package-menu--archive-predicate):
2818 Add Archive column to package list.
7397c587 2819
b27cc9fc
MA
28202013-11-04 Michael Albinus <michael.albinus@gmx.de>
2821
2822 Fix problems found while writing a test suite.
2823
2824 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2825 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2826 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2827 to nil when running original file name handler. Otherwise,
2828 there are problems with constructs like "$$FOO".
2829
2830 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2831 for `localname'.
2832
d8c4f18a
BB
28332013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2834
7b530552
BB
2835 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2836
2837 * subr.el (version<, version<=, version=):
2838 Update docstrings with information for snapshot versions.
2839
d8c4f18a
BB
2840 * helpers.el: New library for misc helper functions.
2841 (hash-table-keys): New function returning a list of hash keys.
2842 (hash-table-values): New function returning a list of hash values.
2843
dca01b09
DG
28442013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2845
2846 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2847 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2848
0a749fa0
MN
28492013-11-04 Michal Nazarewicz <mina86@mina86.com>
2850
2851 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2852 checking whether point is after a 1-letter word.
2853
28542013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2855
2856 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2857 Don't infloop when expanding region over `multiline' syntax-type that
2858 begins a line (bug#15778).
2859
4aca7145
SM
28602013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2863 Make it into a proper minor mode.
2864 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2865 (rectangle-mark-mode-map): New keymap.
2866 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2867
a0833f62
GM
28682013-11-04 Glenn Morris <rgm@gnu.org>
2869
2870 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2871
e61845c1
SM
28722013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2873
2874 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2875 (ruby-smie-rules): Use smie-rule-parent instead.
2876
2877 * emacs-lisp/smie.el (smie-rule-parent): Always call
2878 smie-indent-virtual rather than only for hanging tokens.
2879 (smie--next-indent-change): New helper command.
2880
62942f89
GM
28812013-11-03 Glenn Morris <rgm@gnu.org>
2882
2883 * Makefile.in (abs_srcdir): Remove.
2884 (emacs): Unset EMACSLOADPATH.
2885
b0b9e592
GM
28862013-11-02 Glenn Morris <rgm@gnu.org>
2887
18ba6a33 2888 * Makefile.in (EMACS): Use a relative filename.
8061810d 2889 (abs_top_builddir): Remove.
18ba6a33
GM
2890 (custom-deps, finder-data, autoloads): Use --chdir.
2891
6a8b929e
GM
2892 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2893
c617f3d0
GM
2894 Use relative filenames in TAGS files.
2895 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2896 (lisptagsfiles4, TAGS): Use relative file names.
2897 (TAGS-LISP): Remove.
2898 (maintainer-clean): No more TAGS-LISP file.
2899
b0b9e592
GM
2900 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2901 (lisptagsfiles4): Use absolute filenames again.
2902 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2903 Remove all *loaddefs files, not just the first. Remove esh-groups.
2904 (maintainer-clean): Delete TAGS, TAGS-LISP.
2905
d1c0ea6a
BB
29062013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2907
e61845c1
SM
2908 * emacs-lisp/package.el (package-version-join):
2909 Recognize snapshot versions.
d1c0ea6a 2910
684d71c6
BB
29112013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2912
2913 * subr.el (version-regexp-alist): Add support for snapshot versions.
2914
3d42b968
DG
29152013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2916
e61845c1
SM
2917 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2918 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2919 skip over our direct parent if it's an assignment token..
2920 (ruby-smie-rules): Use it.
2921
7ffd3721
DG
29222013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2923
8449dd1f 2924 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
2925 unconditionally. Remove now unnecessary forward declarations.
2926 Remove XEmacs-specific setup.
2927 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2928 (ruby-font-lock-syntactic-keywords)
2929 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2930 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2931 (ruby-here-doc-end-syntax): Remove.
2932 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2933 defined as function.
2934
a3996a2e
BB
29352013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2936
2937 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2938
6f9260e8
BB
29392013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2940
2941 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2942 table and abbrev table, `define-derived-mode' does that for us
2943 anyway.
2944
6014de84
GM
29452013-11-01 Glenn Morris <rgm@gnu.org>
2946
2947 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2948 files is atomic for some time, so no parallel compilation issues).
2949
3c334c14
JD
29502013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2951
2952 * faces.el (face-x-resources): Add :distant-foreground.
2953 (region): Use :distant-foreground for gtk and ns.
2954
9bc236c8
TH
29552013-11-01 Tassilo Horn <tsdh@gnu.org>
2956
5246583b 2957 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2958 BibTeX.
2959 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2960 (reftex-locate-bibliography-files): Us it.
2961
d14c81ee
CB
29622013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2963
0e7690de
CB
2964 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2965 allow comments in pbm files.
2966
d14c81ee
CB
2967 * term/w32-win.el (dynamic-library-alist): Support newer versions
2968 of libjpeg starting with v7: look only for the DLL from the
2969 version against which Emacs was built.
ac1bf374 2970 Support versions of libpng beyond 1.4.x.
019c8218 2971 Support libtiff v4.x.
d14c81ee 2972
983d0df5
BB
29732013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2974
2975 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2976 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2977 Add property :safe.
2978 (ruby-deep-arglist): Add property :type.
2979
47f58d85
GM
29802013-10-31 Glenn Morris <rgm@gnu.org>
2981
2982 * Makefile.in (custom-deps, finder-data): No need to setq the target
2983 variables, we are in the right directory and the defaults work fine.
2984
4f85b479
GM
29852013-10-30 Glenn Morris <rgm@gnu.org>
2986
ca7dd4cd
GM
2987 * Makefile.in (autoloads): Do not use abs_lisp.
2988
4f85b479
GM
2989 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2990 `newline' does not respect `standard-output', so use `princ'.
2991
cf59e41c
AA
29922013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2993
2994 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2995 * buff-menu.el (Buffer-menu--unmark): New function.
2996 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2997
74cf04fb
GM
29982013-10-30 Glenn Morris <rgm@gnu.org>
2999
b040b60e
GM
3000 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3001
f53d3815
GM
3002 * emacs-lisp/package.el (lm-homepage): Declare.
3003
5413d873
GM
3004 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3005 Fix doc typos.
3006
cecedb36
GM
3007 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3008
74cf04fb
GM
3009 * Makefile.in (finder-data, autoloads, update-subdirs)
3010 (compile-main, compile-clean, compile-always, bootstrap-clean):
3011 Check return value of cd.
3012 (compile-calc): Remove.
3013
195ee2f0
SM
30142013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3015
ae4002ce
SM
3016 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3017
3018 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3019 (byte-compile-and-folded): New function.
3020 (=, <, >, <=, >=): Use it.
3021
3022 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3023 (path-separator, null-device, buffer-file-coding-system)
3024 (lpr-headers-switches): Check system-type before modifying them.
3025 (find-buffer-file-type-coding-system): Mark obsolete.
3026 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3027 find-file-not-found-set-buffer-file-coding-system.
3028 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3029 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3030 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3031 (w32-direct-print-region-helper, w32-direct-print-region-function)
3032 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3033 * startup.el (normal-top-level-add-subdirs-to-load-path):
3034 * ps-print.el (ps-print-region-function):
3035 * lpr.el (print-region-function): Use new name.
3036
53b39e89
SM
3037 * subr.el (custom-declare-variable-early): Remove function.
3038 (custom-declare-variable-list): Remove var.
3039 (error, user-error): Remove `while' loop.
3040 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3041 (user-emacs-directory-warning, locate-user-emacs-file):
3042 Move to files.el.
3043 * simple.el (read-quoted-char-radix, read-quoted-char):
3044 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3045 Move from subr.el.
3046 * custom.el (custom-declare-variable-list): Don't process
3047 custom-declare-variable-list.
3048
195ee2f0
SM
3049 * progmodes/python.el (python-shell-get-buffer): New function.
3050 (python-shell-get-process): Use it.
3051 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3052 Python which encoding was used. Don't split-string since we only care
3053 about the first line. Return the temp-file, if applicable.
3054 (python-shell-send-region): Tell compile.el how to turn locations in
3055 the temp-file into locations in the source buffer.
3056
7e3561ee
SM
30572013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3058
4c9797cb
SM
3059 * subr.el (undefined): Add missing behavior from the C code for
3060 unbound keys.
3061
3472b6c6
SM
3062 * rect.el: Use lexical-binding. Add new rectangular region support.
3063 (rectangle-mark): New command.
3064 (rectangle--region): New var.
3065 (deactivate-mark-hook): Reset rectangle--region.
3066 (rectangle--extract-region, rectangle--insert-for-yank)
3067 (rectangle--highlight-for-redisplay)
3068 (rectangle--unhighlight-for-redisplay): New functions.
3069 (region-extract-function, redisplay-unhighlight-region-function)
3070 (redisplay-highlight-region-function): Use them to handle
3071 rectangular region.
3072 * simple.el (region-extract-function): New var.
3073 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3074 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3075 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3076 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3077 (redisplay-unhighlight-region-function)
3078 (redisplay-highlight-region-function): New vars.
3079 (redisplay--update-region-highlight): New function.
3080 (pre-redisplay-function): Use it.
3081 (exchange-point-and-mark): Don't deactivate the mark before
3082 reactivate-it anyway.
3083 * comint.el (comint-kill-region): Remove yank-handler argument.
3084 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3085 (delete-char): Remove property, since it's now part of their
3086 default behavior.
3087 (self-insert-iso): Remove property since this command doesn't exist.
3088
7e3561ee
SM
3089 * emacs-lisp/package.el (package--download-one-archive)
3090 (describe-package-1): Don't query the user about final newline.
3091
b9bef71f
DC
30922013-10-29 Daniel Colascione <dancol@dancol.org>
3093
3094 * net/tramp.el (tramp-methods): Document new functionality.
3095 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3096 tramp-hostname-checker if method provides one instead of scanning
3097 argument list for "%h" to decide hostname acceptability.
3098
4efc33f0
MA
30992013-10-28 Michael Albinus <michael.albinus@gmx.de>
3100
3101 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3102 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3103 Handle COPY-CONTENTS. (Bug#15737)
3104
ed42a877
DU
31052013-10-28 Daiki Ueno <ueno@gnu.org>
3106
3107 * epa-file.el
7e3561ee
SM
3108 (epa-file-cache-passphrase-for-symmetric-encryption):
3109 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3110
18c9f8a2
XF
31112013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3112
7a4bc7be
XF
3113 * image.el (defimage):
3114 (image-load-path): Doc fixes.
18c9f8a2 3115
b1e8e010
AM
31162013-10-27 Alan Mackenzie <acm@muc.de>
3117
3118 Indent statements in macros following "##" correctly.
7e3561ee
SM
3119 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3120 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3121
73d40d1e 31222013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3123
3124 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3125
c8c605ac
DG
31262013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3127
3128 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3129 after `=' is probably a new expression.
3130
ca7e59d4
RS
31312013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3132
3133 * man.el (man-imenu-title): New option.
3134 (Man-mode-map): Add menu. (Bug#15722)
3135 (Man-mode): Add imenu to menu.
3136
bae91342
DG
31372013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3138
3139 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3140 specific in what the first arg can be: a non-keyword word,
3141 string/regexp/percent literal opener, opening paren, or unary
3142 operator followed directly by word.
3143
eb89dc14
SM
31442013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3145
3146 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3147 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3148 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3149 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3150 Remove vars, they do not apply any more.
3151 (prolog-mode-abbrev-table): Remove redundant declaration.
3152 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3153 (prolog-use-smie): Remove.
3154 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3155 supported by prolog-electric-if-then-else-flag.
3156 (prolog-mode-variables, prolog-menu): Use setq-local.
3157 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3158 Remove binding to `Backspace' since this key doesn't exist anyway.
3159 Remove bindings for electric self-inserting keys.
3160 (prog-mode): Assume it's defined.
3161 (prolog-post-self-insert): New function.
3162 (prolog-mode): Use it.
3163 (prolog-indent-line, prolog-indent-level)
3164 (prolog-find-indent-of-matching-paren)
3165 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3166 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3167 (prolog-goto-next-paren, prolog-in-string-or-comment)
3168 (prolog-tokenize, prolog-inside-mline-comment)
3169 (prolog-find-start-of-mline-comment): Remove functions.
3170 (prolog-find-unmatched-paren, prolog-clause-end)
3171 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3172 (prolog-electric--if-then-else): Rename from
3173 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3174 (prolog-tokenize-searchkey): Remove const.
3175 (prolog-clause-info): Use forward-sexp.
3176 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3177 (prolog-electric-if-then-else): Remove commands.
3178 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3179 for use in post-self-insert-hook.
3180 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3181 for use in post-self-insert-hook.
3182 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3183 for use in post-self-insert-hook.
3184 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3185 adapt it for use in post-self-insert-hook.
3186
3dab0a83
MA
31872013-10-25 Michael Albinus <michael.albinus@gmx.de>
3188
3189 * emacs-lisp/ert.el (ert-run-tests-interactively):
3190 Use `completing-read'. (Bug#9756)
3191
fbfd0e1d
EZ
31922013-10-25 Eli Zaretskii <eliz@gnu.org>
3193
3194 * simple.el (line-move): Call line-move-1 instead of
3195 line-move-visual when the current window hscroll is zero, but
3196 temporary-goal-column indicates we will need to hscroll as result
3197 of the movement. (Bug#15712)
3198
963ce636
DG
31992013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3200
3201 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3202 capitalization. Use :visible instead of :active.
3203 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3204 commands that are used with SMIE.
3205 (ruby-do-end-to-brace): Insert space after `{'.
3206
a0be396a
JA
32072013-10-25 John Anthony <john@jo.hnanthony.com>
3208
f73754c9
JA
3209 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3210
3211 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3212
f5bf77df
GM
32132013-10-25 Glenn Morris <rgm@gnu.org>
3214
3215 * vc/vc.el (vc-print-log): Don't use a working revision unless
3216 one was explicitly specified. (Bug#15322)
3217
37241f62
SM
32182013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3219
3220 * subr.el (add-to-list): Preserve return value in compiler-macro
3221 (bug#15692).
3222
6408a65d
RS
32232013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3224
3225 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3226 result. Ask user to retry using '-all' flag. (Bug#15701)
3227
71e3276b
SM
32282013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3229
3230 * emacs-lisp/smie.el: New smie-config system.
3231 (smie-config): New defcustom.
3232 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3233 (smie-config-guess, smie-config-save): New commands.
3234 (smie-config--mode-local, smie-config--buffer-local)
3235 (smie-config--trace, smie-config--modefuns): New vars.
3236 (smie-config--advice, smie-config--mode-hook)
3237 (smie-config--setter, smie-config-local, smie-config--get-trace)
3238 (smie-config--guess-value, smie-config--guess): New functions.
3239 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3240 text properties. Treat "string fence" syntax like string syntax.
3241
3242 * progmodes/sh-script.el (sh-use-smie): Change default.
3243 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3244 (sh-var-value): Simplify by CSE.
3245 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3246 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3247 is used.
3248 (sh-guess-basic-offset): Use cl-incf.
3249 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3250
60db713e
HE
32512013-10-24 Helmut Eller <eller.helmut@gmail.com>
3252
3253 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3254 (bug#15699).
3255
8b251df6
GM
32562013-10-24 Glenn Morris <rgm@gnu.org>
3257
3258 * Makefile.in (abs_top_srcdir): Remove.
3259 (update-subdirs): Use relative path to update-subdirs.
3260
6be0e22b
EZ
32612013-10-24 Eli Zaretskii <eliz@gnu.org>
3262
3263 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3264 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3265 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3266 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3267
50b5b857
MA
32682013-10-24 Michael Albinus <michael.albinus@gmx.de>
3269
3270 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3271 (ert-test-skipped): New error.
3272 (ert-skip, ert-stats-skipped): New defuns.
3273 (ert--skip-unless): New macro.
3274 (ert-test-skipped): New struct.
3275 (ert--run-test-debugger, ert-test-result-type-p)
3276 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3277 (ert--stats-set-test-and-result, ert-char-for-test-result)
3278 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3279 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3280 Handle skipped tests. (Bug#9803)
50b5b857 3281
6f317c2f
GM
32822013-10-24 Glenn Morris <rgm@gnu.org>
3283
e43817c1
GM
3284 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3285
6f317c2f
GM
3286 * Makefile.in (abs_top_srcdir): New, set by configure.
3287 (update-subdirs): Correct build-aux location.
3288
369bbf71
DG
32892013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3290
8297b2cf
DG
3291 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3292 value, whether we could auto-deduce `backend', or not.
3293
369bbf71
DG
3294 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3295 with parameters" example. Simplify the "is it block or is it
3296 hash" check, but also make it more thorough.
3297
d5f1282f
MF
32982013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3299
3300 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3301
bc4aaa31
SM
33022013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3303
03d44565
SM
3304 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3305 { if it is hanging.
3306
bc4aaa31
SM
3307 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3308 :before ";".
3309
f493ff19
JB
33102013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3311
3312 * progmodes/compile.el (compilation-directory-matcher)
3313 (compilation-page-delimiter):
3314 Support GNU Make-4.0 directory quoting. (Bug#15678)
3315
c744a3b9
LL
33162013-10-23 Leo Liu <sdl.web@gmail.com>
3317
3318 * ido.el (ido-tidy): Handle read-only text.
3319
b8e3b0a9
GM
33202013-10-23 Glenn Morris <rgm@gnu.org>
3321
3322 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3323 (emacs, compile, compile-always):
3324 Quote entities that might contain whitespace.
3325 (custom-deps, finder-data, autoloads): Use abs_lisp.
3326 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3327 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3328 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3329
ee4282cd
DG
33302013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3331
bc4aaa31
SM
3332 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3333 Use `following-char'.
7790a270 3334
ee4282cd 33352013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3336
3337 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3338 * progmodes/ruby-mode.el (ruby-smie-rules):
3339 Remove corresponding workaround. Fix indentation rule of ";" so it
3340 also applies when ";" is the parent.
3341
d40a46d7
XF
33422013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3343
3344 * frame.el (display-screens, display-pixel-height)
3345 (display-pixel-width, display-mm-width, display-backing-store)
3346 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3347 (display-visual-class, display-monitor-attributes-list):
3348 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3349
a0f143c9
MG
33502013-10-22 Michael Gauland <mikelygee@amuri.net>
3351
3352 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3353 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3354
18cacc39
DG
33552013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3356
3357 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3358 TODO. Add "." after " @ ".
3359 (ruby-smie--at-dot-call): New function. Checks if point at method
3360 call with explicit target.
3361 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3362 to the method name tokens when it precedes them.
3363 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3364 (ruby-smie-rules): Add rule for indentation before and after "."
3365 token.
3366
df74c4be
SM
33672013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3368
c6dab55f
SM
3369 * textmodes/remember.el (remember-diary-extract-entries):
3370 Avoid add-to-list.
3371
df74c4be
SM
3372 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3373 an instruction.
3374
8c1ae481
DG
33752013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3376
e9dc713d
JB
3377 * progmodes/ruby-mode.el (ruby-smie-grammar):
3378 Add (almost) all infix operators.
cfef16c0
DG
3379 (ruby-smie--implicit-semi-p): Add new operator chars.
3380
8c1ae481
DG
3381 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3382 `smie-down-list'.
3383 (ruby-smie--args-separator-p): Check that there's no newline
3384 between method call and its arguments.
3385
87756ca9
AM
33862013-10-20 Alan Mackenzie <acm@muc.de>
3387
3388 Allow comma separated lists after Java "implements".
3389
df74c4be
SM
3390 * progmodes/cc-engine.el (c-backward-over-enum-header):
3391 Parse commas.
87756ca9
AM
3392 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3393 from a "disallowed" list in enum fontification.
3394
c25f8957
JB
33952013-10-20 Johan Bockgård <bojohan@gnu.org>
3396
df74c4be 3397 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3398
c25f8957
JB
3399 * progmodes/verilog-mode.el (verilog-mode): Don't set
3400 comment-indent-function globally.
3401
aca5fcdc
JD
34022013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3403
5f161884
JD
3404 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3405 Move Info menu item creation to ns-win.el.
3406
3407 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3408 in menu bar.
3409
aca5fcdc
JD
3410 * menu-bar.el: Move GNUStep specific menus...
3411
3412 * term/ns-win.el (ns-initialize-window-system): ... to here.
3413
914b7f98
SM
34142013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3415
3416 * simple.el (newline): Only run post-self-insert-hook when
3417 called interactively.
3418
846ffe77
JB
34192013-10-19 Johan Bockgård <bojohan@gnu.org>
3420
3421 * icomplete.el (icomplete-with-completion-tables): Add :version.
3422
033f22dd
AM
34232013-10-19 Alan Mackenzie <acm@muc.de>
3424
3425 Fix fontification bugs with constructors and const.
3426
3427 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3428 CASE 2) Remove the check for the absence of a suffix construct
3429 after a function declaration with only types (no identifiers) in
3430 the parentheses. Also, accept a function declaration with just a
3431 type inside the parentheses, if this type can be positively
3432 recognised as such, or if a prefix keyword like "explicit" nails
3433 down the construct as a declaration.
3434
58ce0cfc
EZ
34352013-10-19 Eli Zaretskii <eliz@gnu.org>
3436
3437 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3438 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3439 the problem whereby selecting a menu item that leads to a
3440 minibuffer prompt moves the cursor out of the minibuffer window,
3441 making it hard to type at the prompt. Suggested by Stefan Monnier
3442 <monnier@iro.umontreal.ca>.
3443
50e28e7d
JD
34442013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3445
3446 * menu-bar.el: Don't make Services menu.
3447
7deed4bf
RS
34482013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3449
3450 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3451 (ffap-alist): Use ffap-c++-mode for c++-mode.
3452 (ffap-c++-path): New variable.
3453 (ffap-c++-mode): New function.
3454
7bcb455b
JVJ
34552013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3456
3457 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3458
f0ff1cd5
MA
34592013-10-18 Michael Albinus <michael.albinus@gmx.de>
3460
3461 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3462 introduced on 2013-09-08, which results in an infinite loop
3463 requesting a password.
3464
d64da4b7
GM
34652013-10-18 Glenn Morris <rgm@gnu.org>
3466
3467 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3468
ea89ff08
WS
34692013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3470
3471 Sync with upstream verilog-mode revision 1a6ecec7.
3472 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3473 (verilog-mode-release-date): Remove.
3474 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3475 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3476 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3477 (verilog-auto-tieoff-ignore-regexp)
3478 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3479 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3480 (verilog-signals-with, verilog-dir-cache-preserving)
3481 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3482 Doc fixes.
3483 (verilog-case-fold): New option, to control case folding in
3484 regexp searches, bug597.
3485 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3486 (verilog-string-match-fold, verilog-in-paren-count)
3487 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3488 (verilog-at-close-struct-p): New functions.
3489 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3490 (verilog-forward-sexp, verilog-set-auto-endcomments):
3491 (verilog-leap-to-case-head): Handle "unique0" case.
3492 (verilog-in-constraint-re): New constant.
3493 (verilog-keywords, verilog-type-font-keywords):
3494 Add some SystemVerilog 1800-2012 keywords.
3495 (verilog-label-be): Remove unimplemented argument, bug669.
3496 (verilog-batch-execute-func): When batch expanding clear
3497 create-lockfiles to prevent spurious user locks when a file ends
3498 up not changing.
3499 (verilog-calculate-indent, verilog-calc-1)
3500 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3501 (verilog-do-indent): Fix indentation of nested constraints
3502 and structures.
3503 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3504 (verilog-auto-inst-param): Use verilog-string-match-fold.
3505 (verilog-read-inst-module-matcher):
3506 Fix AUTOINST on gate primitives with #1.
3507 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3508 Reads all user-defined typed variables.
3509 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3510 (verilog-signals-matching-regexp)
3511 (verilog-signals-not-matching-regexp, verilog-auto):
3512 Respect verilog-case-fold.
3513 (verilog-diff-report): Fix line count.
3514 (verilog-auto-assign-modport): Remove unused local `modi'.
3515 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3516 better handle multidimensional arrays.
3517 Fix packed array ports misadding bit index in AUTOINST, bug637.
3518 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3519 to not double-declare existing outputs and inputs, respectively.
3520 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3521 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3522 (verilog-sk-uvm-component): New skeleton.
3523 (verilog-submit-bug-report): Add verilog-case-fold,
3524 remove verilog-mode-release-date.
3525
ef566920
BR
35262013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3527
a12bf61e 3528 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
3529 as before.
3530
29df8a0b
RT
35312013-10-18 Reuben Thomas <rrt@sc3d.org>
3532
e0eb0550 3533 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3534 remember buffers (bug#13566).
3535
04a19a79
DC
35362013-10-18 Daniel Colascione <dancol@dancol.org>
3537
3538 When evaluating forms in ielm, direct standard output to ielm
3539 buffer. Add new ielm-return-for-effect command. Remove trailing
3540 whitespace throughout.
3541
3542 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3543 (ielm-return-for-effect): New command.
3544 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3545 (ielm-eval-input): Accept optional `for-effect' parameter.
3546 Bind `standard-output' to stream we create using
04a19a79
DC
3547 `ielm-standard-output-impl'. Suppress printing result when
3548 `for-effect'.
3549 (ielm-standard-output-impl): New function.
3550 (inferior-emacs-lisp-mode): Explain new features in documentation.
3551
4c1f03ef
MA
35522013-10-17 Michael Albinus <michael.albinus@gmx.de>
3553
3554 Code cleanup.
3555
3556 * net/tramp.el (tramp-debug-message): Do not check for connection
3557 buffer.
3558 (tramp-message): Use "vector" connection property.
3559
3560 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3561 (tramp-equal-remote, tramp-eshell-directory-change)
3562 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3563 (tramp-adb-handle-rename-file)
3564 * net/tramp-cmds.el (tramp-list-remote-buffers)
3565 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3566 * net/tramp-compat.el (tramp-compat-process-running-p)
3567 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3568 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3569 (tramp-gvfs-handle-rename-file)
3570 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3571 (tramp-set-file-uid-gid)
3572 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3573 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3574 of `file-remote-p'.
3575
3576 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3577 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3578 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3579 (tramp-gw-open-network-stream): Suppress unrelated traces.
3580
3581 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3582 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3583 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3584 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3585 connection property.
3586
3587 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3588 persistency file.
4c1f03ef
MA
3589
3590 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3591 Refactor common code. Improve debug message.
3592 (tramp-maybe-open-connection)
3593 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3594 connection buffer too early.
3595
3596 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3597 from `tramp-smb-actions-with-acl'.
3598 (tramp-smb-actions-set-acl): New defconst.
3599 (tramp-smb-handle-copy-directory)
3600 (tramp-smb-action-get-acl): New defun, renamed from
3601 `tramp-smb-action-with-acl'.
3602 (tramp-smb-action-set-acl): New defun.
3603 (tramp-smb-handle-set-file-acl): Rewrite.
3604
642eb8b6
GM
36052013-10-17 Glenn Morris <rgm@gnu.org>
3606
3607 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3608
85527ff3
SM
36092013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3610
921c1d62
SM
3611 * skeleton.el (skeleton-newline): Remove.
3612 (skeleton-internal-1): Use (insert "\n") instead.
3613
e333fb10
SM
3614 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3615 let-bindings.
3616
85527ff3
SM
3617 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3618 forward-sexp-function while we redo its job (bug#15613).
3619
c8722a97
JB
36202013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3621
3622 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3623 represented by lists.
3624
7a550bbb
GM
36252013-10-16 Glenn Morris <rgm@gnu.org>
3626
3627 * tmm.el (tmm--history): New dynamic variable.
3628 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3629
f19da8ad
MA
36302013-10-16 Michael Albinus <michael.albinus@gmx.de>
3631
3632 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3633 (tramp-smb-errors): Add error messages.
3634 (tramp-smb-actions-with-acl): New defconst.
3635 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3636 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3637 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3638 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3639 (tramp-smb-get-stat-capability): Fix tests.
3640
a24b9961
DK
36412013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3642
3643 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3644 (bug#15580).
3645
62ad85e6
GM
36462013-10-16 Glenn Morris <rgm@gnu.org>
3647
0283d6b0
GM
3648 * ansi-color.el (ansi-color-drop-regexp):
3649 Add 1J, 1K, 2K. (Bug#15617)
3650
012e2f9f
GM
3651 * files.el (hack-local-variables--warned-lexical): New.
3652 (hack-local-variables):
3653 Warn about misplaced lexical-binding. (Bug#15616)
3654
62ad85e6
GM
3655 * net/eww.el (eww-render): Always set eww-current-url,
3656 and update header line. (Bug#15622)
3657 (eww-display-html): ... Rather than just doing it here.
3658
6456c0ea
EZ
36592013-10-15 Eli Zaretskii <eliz@gnu.org>
3660
3661 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3662 menu navigations commands.
3663
c2de5588
DK
36642013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3665
3666 * progmodes/subword.el (subword-capitalize): Be careful when
3667 the search for [[:alpha:]] fails (bug#15580).
3668
ccd4a783
EZ
36692013-10-14 Eli Zaretskii <eliz@gnu.org>
3670
3671 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3672 to commands that scroll the menu.
3673
1eda1d8d
DG
36742013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3675
c2de5588
DK
3676 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3677 Handle methods ending with `?' and `!'.
1eda1d8d 3678
e70181b8
AM
36792013-10-14 Akinori MUSHA <knu@iDaemons.org>
3680
3681 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3682 `japanese-cp932' to `cp932' to fix the problem where saving a
3683 source file written in Shift_JIS twice would end up having
3684 `coding: japanese-cp932' which Ruby could not recognize.
3685 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3686 in `ruby-encoding-map'.
3687 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3688 doesn't need to be explicitly declared in magic comment.
3689 (ruby-encoding-map): Add type declaration for better customize UI.
3690
9148ee92
GM
36912013-10-13 Glenn Morris <rgm@gnu.org>
3692
a5d38e34
GM
3693 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3694 Occur buffers are read-only. http://bugs.debian.org/720775
3695
9148ee92
GM
3696 * emacs-lisp/authors.el (authors-fixed-entries):
3697 Comment out old alpha stuff.
3698
a9ba094b
DG
36992013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3700
3701 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3702 to `after-save-hook' instead of `before-save-hook'.
3703 (ruby-mode-set-encoding): Use the value of coding system used to
3704 write the file. Call `basic-save-buffer-1' after modifying the
3705 buffer.
3706
7a068717
AM
37072013-10-13 Alan Mackenzie <acm@muc.de>
3708
3709 Fix indentation/fontification of Java enum with
3710 "implements"/generic.
3711
c2de5588
DK
3712 * progmodes/cc-engine.el (c-backward-over-enum-header):
3713 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3714 (c-inside-bracelist-p): Uses new function above.
3715 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3716 function above.
3717 (c-font-lock-enum-tail): Uses new function above.
3718
85b64f02
KH
37192013-10-13 Kenichi Handa <handa@gnu.org>
3720
3721 * international/mule-cmds.el (select-safe-coding-system): Remove a
3722 superfluous condition in chekcing whether a coding system is safe
3723 or not.
3724
fc7f501b
OK
37252013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3726
3727 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3728
fdcb2049
AP
37292013-10-13 Andreas Politz <politza@hochschule-trier.de>
3730
3731 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3732
8c106d17
GM
37332013-10-13 Glenn Morris <rgm@gnu.org>
3734
feab892d
GM
3735 * menu-bar.el (menu-bar-update-buffers):
3736 Unify Buffers menu prompt string. (Bug#15576)
3737
b22d0686
GM
3738 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3739
8c106d17
GM
3740 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3741 Add some entries.
3742 (authors-fixed-entries): Use accented form of name.
3743
1b12c797
SM
37442013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3745
650fa7bf 3746 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3747 method calls (bug#15594).
650fa7bf
SM
3748 (ruby-smie--args-separator-p): New function.
3749 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3750 recognize paren-free method calls.
3751
1b12c797
SM
3752 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3753 internals of universal-argument.
3754
029619c8
EZ
37552013-10-11 Eli Zaretskii <eliz@gnu.org>
3756
3757 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3758 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3759 dropped menu on second mouse click on the menu bar.
029619c8 3760
dd070019
SM
37612013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3762
3763 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3764 (explicit-shell-file-name): Declare.
3765 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3766 (sh-completion-at-point-function): New function.
3767 (sh-mode): Use it.
3768 (sh-smie--keyword-p): Remove unused argument.
3769 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3770 vars.
3771 (sh-set-shell): Always setup SMIE, even if we use the
3772 old indentation code.
3773
0922b826
DG
37742013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3775
b68e2926
DG
3776 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3777 cases of ? and =.
3778 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3779 predicate would return nil are almost non-existent.
3780 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3781
0922b826
DG
3782 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3783 cache also after commands that modify the buffer but don't move
3784 point.
3785
ee041f2d
SM
37862013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3787
3788 * env.el (substitute-env-in-file-name): New function.
3789 (substitute-env-vars): Extend the meaning of the optional arg.
3790
a5dab159
EZ
37912013-10-10 Eli Zaretskii <eliz@gnu.org>
3792
3793 * term/w32-win.el (dynamic-library-alist): Define separate lists
3794 of GIF DLLs for versions before and after 5.0.0 of giflib.
3795 (Bug#15531)
3796
0449d6cd 37972013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3798
3799 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3800 not locked, use last revision and current source as
3801 defaults. (Bug#15569)
3802
2f6e161e
MY
38032013-10-10 Masatake YAMATO <yamato@redhat.com>
3804
3805 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3806 menu-bar is hidden.
3807
6c8413fc
MR
38082013-10-10 Martin Rudalics <rudalics@gmx.at>
3809
3810 * window.el (pop-to-buffer-same-window): Fix doc-string.
3811 (Bug#15492)
3812
20832de0
SM
38132013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3814
3815 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3816
c6e8ae77
AC
38172013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3818
3819 * calendar/icalendar.el (icalendar-import-file):
3820 Fix interactive spec. (Bug#15482)
3821
9db13baf
GM
38222013-10-10 Glenn Morris <rgm@gnu.org>
3823
9271e90e
GM
3824 * desktop.el (desktop-save): Default to saving in .emacs.d,
3825 since PWD is no longer in desktop-path by default. (Bug#15319)
3826
9db13baf
GM
3827 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3828 now that text mode has a menu with the same entry.
3829 (menu-bar-text-mode-auto-fill): Remove now unused func.
3830 * textmodes/text-mode.el (text-mode-map):
3831 Use auto-fill help text from menu-bar.el.
3832
a0be396a 38332013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3834
3835 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3836
2edcd3c7
JL
38372013-10-09 Juri Linkov <juri@jurta.org>
3838
3839 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3840 instead of this-command-keys. Add universal-argument-more and
3841 universal-argument-minus to the list of prefix commands. (Bug#15568)
3842
574411d0
GM
38432013-10-09 Glenn Morris <rgm@gnu.org>
3844
14afa541
GM
3845 * vc/vc-svn.el (vc-svn-create-repo):
3846 Expand paths in file://... url. (Bug#15446)
3847
574411d0
GM
3848 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3849 Add some entries.
3850 (authors): Remove unused local variables.
3851
79804536
SM
38522013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3853
3854 * profiler.el: Create a more coherent calltree from partial backtraces.
3855 (profiler-format): Hide the tail with `invisible' so that C-s can still
3856 find the hidden elements.
3857 (profiler-calltree-depth): Don't recurse so enthusiastically.
3858 (profiler-function-equal): New hash-table-test.
3859 (profiler-calltree-build-unified): New function.
3860 (profiler-calltree-build): Use it.
3861 (profiler-report-make-name-part): Indent the calltree less.
3862 (profiler-report-mode): Add visibility specs for profiler-format.
3863 (profiler-report-expand-entry, profiler-report-toggle-entry):
3864 Expand the whole subtree when provided with a prefix arg.
3865
238150c8
DG
38662013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3867
3868 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3869 iuwu-mod token.
3870 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3871 hanging iuwu-mod token.
3872 (ruby-smie--forward-token): Do not include a dot after a token in
3873 that token.
3874 (ruby-smie--backward-token): Likewise.
3875
b0949cc4
JL
38762013-10-08 Juri Linkov <juri@jurta.org>
3877
3878 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3879 to isearch-other-control-char.
3880 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3881 and isearch-post-command-hook to post-command-hook.
3882 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3883 and isearch-post-command-hook from post-command-hook.
3884 (isearch-unread-key-sequence)
3885 (isearch-reread-key-sequence-naturally)
3886 (isearch-lookup-scroll-key, isearch-other-control-char)
3887 (isearch-other-meta-char): Remove functions.
3888 (isearch-pre-command-hook, isearch-post-command-hook):
3889 New functions based on isearch-other-meta-char rewritten
3890 relying on the new behavior of overriding-terminal-local-map
3891 that does not replace the local keymaps any more. (Bug#15200)
3892
4ed77415
EZ
38932013-10-08 Eli Zaretskii <eliz@gnu.org>
3894
3895 Support menus on text-mode terminals.
3896 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3897 functionality.
3898
3899 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3900
c2de5588
DK
3901 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3902 Move here from mouse.el.
4ed77415
EZ
3903 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3904 and arrow keys.
3905 (tty-menu-navigation-map): New map for TTY menu navigation.
3906
3907 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3908
3909 * frame.el (display-mouse-p): Report text-mode mouse as available
3910 on w32.
3911 (display-popup-menus-p): Report availability if mouse is
3912 available; don't condition on window-system.
3913
3914 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3915 (tty-menu-selected-face): New faces.
3916
b7d5bd82
TL
39172013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3918
06286513
SM
3919 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3920 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3921 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3922 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3923 New constants.
3924 (lisp-mode-variables): New `elisp' argument.
3925 (emacs-lisp-mode): Use it.
3926 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3927 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3928
b7d5bd82
TL
3929 * indent.el: Use lexical-binding.
3930 (indent-region): Add progress reporter.
3931 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3932 last step.
3933 (indent--next-tab-stop): New function to implement this behavior.
3934 (tab-to-tab-stop, move-to-tab-stop): Use it.
3935
39362013-10-08 Teemu Likonen <tlikonen@iki.fi>
3937
3938 * indent.el (indent-rigidly--current-indentation): New function.
3939 (indent-rigidly-map): New var.
3940 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3941
5ea75d23
BG
39422013-10-08 Bastien Guerry <bzg@gnu.org>
3943
3944 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3945
cc5da1ec
SM
39462013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3947
8ffa1a0b
SM
3948 * progmodes/perl-mode.el: Use lexical-binding.
3949 Remove redundant :group args.
3950 (perl-nochange): Change default to be closer to other major modes's
3951 standard behavior.
3952 (perl-indent-line): Don't consider text on current line as a
3953 valid beginning of function from which to indent.
3954
f2223371
SM
3955 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3956 with more than one argument (bug#15538).
3957
44256060
SM
3958 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3959
cc5da1ec
SM
3960 * vc/pcvs.el: Use lexical-binding.
3961 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3962 environment of `eval'.
3963 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3964 than a list of expressions. Adjust callers.
3965 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3966
0ea1599d
DG
39672013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3968
3969 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3970 case of the dot in a chained method call being on the following line.
0ea1599d 3971
da3e5ebb
SM
39722013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3973
2abb4e65
SM
3974 * electric.el (electric-indent-inhibit): New var.
3975 (electric-indent-post-self-insert-function): Use it.
3976 * progmodes/python.el (python-mode): Set it.
3977
d2e0e795
SM
3978 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3979 open braces.
3980
3981 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3982
bdc6b4c8
SM
3983 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3984 (css-mode): Use electric-indent-chars.
3985
da3e5ebb
SM
3986 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3987 (font-lock-beg, font-lock-end): Move before first use.
3988 (nxml-mode): Use syntax-propertize-function.
3989 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3990 (nxml-extend-after-change-region): Remove.
3991 * nxml/xmltok.el: Use lexical-binding.
3992 (xmltok-save): Use `declare'.
3993 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3994 * nxml/nxml-util.el: Use lexical-binding.
3995 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3996 Use `declare'.
3997 * nxml/nxml-ns.el: Use lexical-binding.
3998 (nxml-ns-save): Use `declare'.
3999 (nxml-ns-prefixes-for): Avoid add-to-list.
4000 * nxml/rng-match.el: Use lexical-binding.
4001 (rng--ipattern): Use cl-defstruct.
4002 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4003 (rng-cons-group-after, rng-subst-group-after)
4004 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4005 Use closures instead of `(lambda...).
4006
f8f91d5d
MA
40072013-10-07 Michael Albinus <michael.albinus@gmx.de>
4008
4009 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4010 of BEG and END.
4011
da3e5ebb
SM
4012 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4013 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4014 (tramp-gvfs-handle-insert-file-contents): Remove function.
4015
da3e5ebb
SM
4016 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4017 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4018
4019 * net/trampver.el: Update release number.
4020
7ccae3b1
SM
40212013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4022
55ca2c0d
SM
4023 * progmodes/compile.el (compilation-parse-errors):
4024 Use compilation--put-prop.
4025 (compilation--ensure-parse): Check compilation-multiline.
4026
731fc3ae
SM
4027 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4028
da3e5ebb
SM
4029 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4030 lexical-binding.
a5833280 4031
2e7ba2c2
SM
4032 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4033
7ccae3b1
SM
4034 * progmodes/ruby-mode.el: Fix recently added tests.
4035 (ruby-smie-grammar): Add - and +.
4036 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4037 (ruby-smie--backward-id): New functions.
4038 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4039 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4040 any more.
4041
85698d63
LL
40422013-10-07 Leo Liu <sdl.web@gmail.com>
4043
4044 * register.el (register-preview-delay)
4045 (register-preview-functions): New variables.
4046 (register-read-with-preview, register-preview)
4047 (register-describe-oneline): New functions.
4048 (point-to-register, window-configuration-to-register)
4049 (frame-configuration-to-register, jump-to-register)
4050 (number-to-register, view-register, insert-register)
4051 (copy-to-register, append-to-register, prepend-to-register)
4052 (copy-rectangle-to-register): Use register-read-with-preview to
4053 read register. (Bug#15525)
4054
3986af6c
DS
40552013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4056
4057 * net/network-stream.el (network-stream-open-starttls): Don't add
4058 --insecure if it's already present, because that gnutls-cli
4059 rejects getting that parameter twice.
4060
5cd9cda9
DG
40612013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4062
4063 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4064 keyword, too.
4065
da9ea6d9
DG
40662013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4067
4068 * newcomment.el (comment-use-global-state): Change default value
4069 to t, mark obsolete (Bug#15251).
4070 (comment-beginning): In addition to `comment-to-syntax', check the
4071 value of `comment-use-global-state'.
4072
34d1a133
SM
40732013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4074
4075 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4076 (ruby-comment-column): Follow the global default, by default.
4077 (ruby-smie-grammar): Add assignment syntax.
4078 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4079 open-paren, a comma, or a \.
4080 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4081 and line continuations.
4082 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4083 followed by implicit semi-colons. Add rule for string concatenation
4084 and for indentation at BOB.
4085 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4086
4087 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4088 calling next-sexp, since next-token may have skipped chars which
4089 next-sexp doesn't know should be skipped!
4090
6f6ab820
LL
40912013-10-05 Leo Liu <sdl.web@gmail.com>
4092
34d1a133
SM
4093 * progmodes/octave.el (octave-send-region):
4094 Call compilation-forget-errors.
6f6ab820 4095
34ca0f4c
XF
40962013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4097
4098 * vc/vc-svn.el (vc-svn-find-admin-dir):
4099 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4100 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4101 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4102 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4103
a27c1b72
SM
41042013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4105
4106 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4107
258ab3bc
SM
41082013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * subr.el (read-passwd): Hide chars even when called within a context
4111 where after-change-functions is disabled (bug#15501).
4112 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4113 until we removed ourself from overriding-terminal-local-map.
4114
939fb29c
LL
41152013-10-04 Leo Liu <sdl.web@gmail.com>
4116
258ab3bc
SM
4117 * progmodes/octave.el (inferior-octave-mode):
4118 Call compilation-forget-errors.
939fb29c 4119
63bd7f35
XF
41202013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4121
4122 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4123
9e6229fa
MA
41242013-10-04 Michael Albinus <michael.albinus@gmx.de>
4125
4126 * net/secrets.el (secrets-create-collection): Add optional
4127 argument ALIAS. Use proper Label keyword. Append ALIAS as
4128 dbus-call-method argument. (Bug#15516)
4129
1dab32a3
LL
41302013-10-04 Leo Liu <sdl.web@gmail.com>
4131
4132 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4133 (inferior-octave-compilation-font-lock-keywords): New variables.
4134 (compilation-error-regexp-alist)
4135 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4136 (inferior-octave-mode): Use compilation-shell-minor-mode.
4137
6cad7ba3
JS
41382013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4139
4140 * minibuffer.el (completion--replace): Be careful that `end' might be
4141 a marker.
4142
acbadd00
DU
41432013-10-03 Daiki Ueno <ueno@gnu.org>
4144
4145 Add support for package signature checking.
4146 * emacs-lisp/package.el (url-http-file-exists-p)
4147 (epg-make-context, epg-context-set-home-directory)
4148 (epg-verify-string, epg-context-result-for)
4149 (epg-signature-status, epg-signature-to-string)
4150 (epg-check-configuration, epg-configuration)
4151 (epg-import-keys-from-file): Declare.
4152 (package-check-signature): New user option.
4153 (package-unsigned-archives): New user option.
4154 (package-desc): Add `signed' field.
4155 (package-load-descriptor): Set `signed' field if .signed file exists.
4156 (package--archive-file-exists-p): New function.
4157 (package--check-signature): New function.
4158 (package-install-from-archive): Check package signature.
4159 (package--download-one-archive): Check archive signature.
4160 (package-delete): Remove .signed file.
4161 (package-import-keyring): New command.
4162 (package-refresh-contents): Import default keyring.
4163 (package-desc-status): Add "unsigned" status.
4164 (describe-package-1, package-menu--print-info)
4165 (package-menu-mark-delete, package-menu--find-upgrades)
4166 (package-menu--status-predicate): Support "unsigned" status.
4167
adf2aa61
SM
41682013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4169
4170 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4171 the new compilation scheme using the new byte-codes.
4172
4173 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4174 (byte-pophandler): New byte codes.
4175 (byte-goto-ops): Adjust accordingly.
4176 (byte-compile--use-old-handlers): New var.
4177 (byte-compile-catch): Use new byte codes depending on
4178 byte-compile--use-old-handlers.
4179 (byte-compile-condition-case--old): Rename from
4180 byte-compile-condition-case.
4181 (byte-compile-condition-case--new): New function.
4182 (byte-compile-condition-case): New function that dispatches depending
4183 on byte-compile--use-old-handlers.
4184 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4185 when we can.
4186
4187 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4188 Optimize under `condition-case' and `catch' if
4189 byte-compile--use-old-handlers is nil.
4190 (disassemble-offset): Handle new bytecodes.
4191
328a8179
SM
41922013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4193
4194 * subr.el (error): Use `declare'.
4195 (decode-char, encode-char): Use advertised-calling-convention instead
4196 of the docstring to discourage use of the `restriction' arg.
4197
15a1e936
DU
41982013-10-03 Daiki Ueno <ueno@gnu.org>
4199
4200 * epg.el (epg-verify-file): Add a comment saying that it does not
4201 notify verification error as a return value nor a signal.
4202 (epg-verify-string): Ditto.
4203
376f862a
KR
42042013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4205
4206 * progmodes/compile.el (compilation-start): Try globbing the arg to
4207 `cd' (bug#15417).
4208
a2f93a5f
MA
42092013-10-02 Michael Albinus <michael.albinus@gmx.de>
4210
4211 Sync with Tramp 2.2.8.
4212
4213 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4214 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4215 * net/trampver.el: Update release number.
4216
0daa0804
JD
42172013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4218
4219 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4220 and default-process-coding-system for darwin only.
4221
abd1ae34
SM
42222013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4223
4224 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4225
be4e325d
MH
42262013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4227
4228 * vc/vc-git.el (vc-git-grep): Disable pager.
4229
e9155c4a
DG
42302013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4231
494e898b
DG
4232 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4233 Use :url instead of :homepage, as per
4234 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4235
e9155c4a
DG
4236 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4237 non-nil, use `syntax-ppss' (Bug#15251).
4238
481a8e0f
RS
42392013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4240
be4e325d
MH
4241 * progmodes/octave.el (inferior-octave-startup-file):
4242 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4243
056453c6
DG
42442013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4245
be4e325d
MH
4246 * emacs-lisp/package.el (package-desc-from-define):
4247 Accept additional arguments as plist, convert them to an alist and store
4248 them in the `extras' slot.
056453c6
DG
4249 (package-generate-description-file): Convert extras alist back to
4250 plist and append to the `define-package' form arguments.
4251 (package--alist-to-plist): New function.
4252 (package--ac-desc): Add `extras' slot.
4253 (package--add-to-archive-contents): Check if the archive-contents
4254 vector is long enough, and if it is, pass its `extras' slot value
4255 to `package-desc-create'.
4256 (package-buffer-info): Call `lm-homepage', pass the returned value
4257 to `package-desc-from-define'.
4258 (describe-package-1): Render the homepage button (Bug#13291).
4259
be4e325d
MH
4260 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4261 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4262
832966e5
JD
42632013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4264
4265 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4266 and default-process-coding-system to utf-8-unix (Bug#15402).
4267
6cfe977d
XF
42682013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4269
4270 * subr.el (looking-back): Do not recommend using looking-back.
4271
38de11bd
AM
42722013-09-28 Alan Mackenzie <acm@muc.de>
4273
4274 Fix indentation/fontification of Java enum with "implements".
4275
4276 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4277 regexp which matches "implements", etc., in Java.
4278 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4279 specifier clauses coming after "enum".
4280 * progmodes/cc-fonts.el (c-font-lock-declarations)
4281 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4282 after "enum".
4283
1610938f
JD
42842013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4285
4286 * faces.el (region): Change ns_selection_color to
4287 ns_selection_fg_color, add ns_selection_bg_color.
4288
e090f499
LL
42892013-09-28 Leo Liu <sdl.web@gmail.com>
4290
4d2e94d1
LL
4291 * progmodes/octave.el (inferior-octave-completion-table)
4292 (inferior-octave-completion-at-point): Minor tweaks.
4293
e090f499
LL
4294 * textmodes/ispell.el (ispell-lookup-words): Rename from
4295 lookup-words. (Bug#15460)
4296 (lookup-words): Obsolete.
4297 (ispell-complete-word, ispell-command-loop): All uses changed.
4298
7e138a62
RS
42992013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4300
a12bf61e 4301 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4302 (octave-mode-menu): Add octave-send-buffer.
4303 (octave-send-buffer): New function.
4304
5af5ed08
RS
43052013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4306
a12bf61e 4307 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4308 octave-lookfor.
4309 (octave-mode-menu): Add octave-lookfor.
4310 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4311 octave-lookfor.
4312 (octave-lookfor): New function.
4313
3b7b2692
SM
43142013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 * emacs-lisp/cl-macs.el:
4317 (cl--loop-destr-temps): Remove.
4318 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4319 its convention.
4320 (cl--loop-set-iterator-function): New function.
4321 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4322 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4323 Bind `it' with `let' instead of substituting it with `cl-subst'.
4324 (cl--unused-var-p): New function.
4325 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4326 Eliminate some unused variable warnings (bug#15326).
4327
529fb53f
TH
43282013-09-27 Tassilo Horn <tsdh@gnu.org>
4329
4330 * doc-view.el (doc-view-scale-reset): Rename from
4331 `doc-view-reset-zoom-level'.
4332 (doc-view-scale-adjust): New command.
4333 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4334 `doc-view-scale-adjust'.
4335
0550c95a
TH
43362013-09-26 Tassilo Horn <tsdh@gnu.org>
4337
4338 * doc-view.el (doc-view-reset-zoom-level): New command.
4339 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4340 zoom commands (bug#15466).
4341
6950f152
KH
43422013-09-26 Kenichi Handa <handa@gnu.org>
4343
4344 * international/quail.el (quail-help): Make it not a command.
4345
39587580
LL
43462013-09-26 Leo Liu <sdl.web@gmail.com>
4347
4348 * minibuffer.el (completion-all-sorted-completions): Make args
4349 optional as they are.
4350
00578659
DC
43512013-09-25 Daniel Colascione <dancol@dancol.org>
4352
4353 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4354 specs are and that they're not evaluated.
4355
0c173878
SS
43562013-09-24 Sam Steingold <sds@gnu.org>
4357
4358 * midnight.el (clean-buffer-list-kill-regexps)
4359 (clean-buffer-list-kill-buffer-names): Update for the new Man
4360 buffer naming which includes the object name.
4361
84998447
SM
43622013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4363
4364 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4365 (eshell-parse-command, eshell-parse-pipeline): Use it since
4366 eshell-separate-commands requires a dynamic scoped var.
4367 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4368
33215353
LL
43692013-09-23 Leo Liu <sdl.web@gmail.com>
4370
4371 * autoinsert.el (auto-insert-alist): Make the value of
4372 lexical-binding match its file setting.
4373
57b16162
JB
43742013-09-23 Juanma Barranquero <lekktu@gmail.com>
4375
c8af4e67
JB
4376 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4377
57b16162
JB
4378 * autoarg.el (autoarg-kp-digit-argument):
4379 * electric.el (Electric-command-loop):
4380 * kmacro.el (kmacro-step-edit-insert):
4381 Do not set universal-argument-num-events.
4382
7186ba60
LL
43832013-09-22 Leo Liu <sdl.web@gmail.com>
4384
4385 * files.el (interpreter-mode-alist): Add octave.
4386
ece15004
AM
43872013-09-21 Alan Mackenzie <acm@muc.de>
4388
4389 C++: fontify identifier in declaration following "public:" correctly.
4390 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4391 to match "public", etc.
4392 (c-decl-prefix-re): Add ":" into the C++ value.
4393 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4394 bit. Add a check for a ":" preceded by "public", etc.
4395
75d83e22
EZ
43962013-09-21 Eli Zaretskii <eliz@gnu.org>
4397
4398 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4399 recognized by GDB 7.5 and later.
4400
d052d3bd
XF
44012013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4402
4403 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4404
31dca772
R
44052013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4406
4407 * subr.el (internal--call-interactively): New const.
4408 (called-interactively-p): Use it (bug#3984).
4409
98ccf24e
XF
44102013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4411
4412 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4413 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4414 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4415
c39cc7d1
SM
44162013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4419 (eshell-ls-orig-insert-directory): Remove.
4420 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4421 (eshell-ls-use-in-dired): Use advice-add/remove.
4422 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4423 Add `orig-fun' arg for use in :around advice.
4424 Make it check (redundantly) eshell-ls-use-in-dired.
4425
9a0289a2
GM
44262013-09-19 Glenn Morris <rgm@gnu.org>
4427
a2c501b8
GM
4428 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4429
c440407a
GM
4430 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4431
9a0289a2
GM
4432 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4433
85e05915
MA
44342013-09-19 Michael Albinus <michael.albinus@gmx.de>
4435
4436 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4437 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4438 (tramp-get-remote-python): New defuns.
4439 (tramp-get-remote-uid-with-perl)
4440 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4441 contributed by yary <not.com@gmail.com> (tiny change).
4442 (tramp-get-remote-uid-with-python)
4443 (tramp-get-remote-gid-with-python): New defuns. Python code
4444 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4445 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4446
ce503312
GM
44472013-09-19 Glenn Morris <rgm@gnu.org>
4448
f7544773
GM
4449 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4450
72fd2877
GM
4451 * eshell/em-unix.el (eshell-remove-entries):
4452 Rename argument to avoid name-clash with global `top-level'.
4453
336b5a56
GM
4454 * eshell/esh-proc.el (eshell-kill-process-function):
4455 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4456 (eshell-reset-after-proc): Remove unused arg `proc'.
4457
57a3a53d
GM
4458 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4459 (directory-files-and-attributes): Mark unused arg.
4460
3261d4af
GM
4461 * eshell/em-unix.el (eshell-remove-entries):
4462 Remove unused arg `path'. Update callers.
4463
8e51b5d0
GM
4464 * eshell/em-hist.el (eshell-hist-parse-arguments):
4465 Remove unused arg `silent'. Update callers.
4466
ce503312
GM
4467 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4468 Fix (f)boundp mix-up.
4469
4470 * eshell/em-smart.el (eshell-smart-scroll-window)
4471 (eshell-disable-after-change):
336b5a56 4472 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4473
ee3ce8a7
AM
44742013-09-18 Alan Mackenzie <acm@muc.de>
4475
4476 Fix fontification of type when followed by "const".
4477 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4478 "known" types from fontification.
4479
ec9177ba
GM
44802013-09-18 Glenn Morris <rgm@gnu.org>
4481
7bb3e768
GM
4482 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4483 (chart-face-list): Drop Emacsen without display-color-p.
4484
5148da15
GM
4485 * net/eww.el (libxml-parse-html-region): Declare.
4486 (eww-display-html): Explicit error if no libxml2 support.
4487
2f68e157
GM
4488 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4489
9019d095
GM
4490 * image.el (image-type-from-buffer, image-multi-frame-p):
4491 Remove --without-x warning/error.
67645389 4492
5f30349b 4493 * mouse.el (mouse-yank-primary):
45069b2e 4494 * term.el (term-mouse-paste):
5f30349b
GM
4495 Reorder to silence --without-x compilation.
4496
cd8edbbe
GM
4497 * mpc.el (doc-view-mode): Silence --without-x compilation.
4498
8a78544e
GM
4499 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4500 Silence --without-x compilation.
4501
12679bfd
GM
4502 * progmodes/gud.el (gud-find-file, gud-mode):
4503 Silence --without-x compilation.
4504 (tooltip-mode): Declare.
30810a05 4505
f0047cb9
GM
4506 * wdired.el (dired-backup-overwrite): Remove declaration.
4507 (wdired-mode-map): Add doc string.
4508
e740f9d2
GM
4509 * custom.el (x-get-resource): Declare.
4510
92d77c89
GM
4511 * eshell/em-glob.el (ange-cache):
4512 * eshell/em-unix.el (ange-cache): Declare.
4513
76e69577
GM
4514 * faces.el (x-display-list, x-open-connection, x-get-resource):
4515 Declare.
7e58af4b
GM
4516
4517 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4518 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4519 Declare.
76e69577 4520
4bd4c0af 4521 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4522
ffb82dbd
GM
4523 * net/gnutls.el (gnutls-log-level): Declare.
4524
986ed135
GM
4525 * net/shr.el (image-size, image-animate): Declare.
4526
e740f9d2
GM
4527 * simple.el (font-info): Declare.
4528
d2f3e9f8
GM
4529 * subr.el (x-popup-dialog): Declare.
4530
047a1a4c
GM
4531 * term/common-win.el (x-select-enable-primary)
4532 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4533 Declare.
4534
f4a1d572
GM
4535 * term/ns-win.el (x-handle-args): Declare.
4536
e843de77
GM
4537 * term/x-win.el (x-select-enable-clipboard): Declare.
4538
5fa89513
GM
4539 * term/w32-win.el (create-default-fontset): Declare.
4540
38702b5b
GM
4541 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4542 Declare.
4543
e740f9d2
GM
4544 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4545 (fit-frame-to-buffer): Explicit error if --without-x.
4546 (mouse-autoselect-window-select): Silence compiler.
4547
49a053fc
GM
4548 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4549
4550 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4551 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4552 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4553 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4554 Remove unused local variables.
4555
4556 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4557
ec9177ba
GM
4558 * textmodes/two-column.el: Make 2C-split work for --without-x.
4559 (scroll-bar-columns): Autoload.
4560 (top-level): Require fringe when compiling.
4561
9f25cb77
LL
45622013-09-18 Leo Liu <sdl.web@gmail.com>
4563
4564 * subr.el (add-hook): Robustify to handle closure as well.
4565
2b42da98
GM
45662013-09-17 Glenn Morris <rgm@gnu.org>
4567
4568 * simple.el (messages-buffer-mode-map): Unbind "g".
4569
e8b66a6a
SM
45702013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4571
9c0ad4f7
SM
4572 * help-mode.el (help-mode-finish): Use derived-mode-p.
4573 Remove obsolete highlighting.
4574
7a806dfb
SM
4575 * play/life.el (life-mode): Use define-derived-mode. Derive from
4576 special-mode.
4577 (life): Let-bind inhibit-read-only.
4578 (life-setup): Avoid `setq'. Use `life-mode'.
4579
96dbf5a8
SM
4580 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4581 which should not be needed any more.
4582 (package-menu-refresh, package-menu-describe-package): Use user-error.
4583
e8b66a6a
SM
4584 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4585 (eshell-post-rewrite-command-hook): Make obsolete.
4586 (eshell-parse-command): Simplify.
4587 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4588 (eshell--cmd): Declare.
4589 (eshell-parse-pipeline): Remove unused var `final-p'.
4590 Pass a dynvar to eshell-post-rewrite-command-hook.
4591 Implement the new eshell-post-rewrite-command-function.
4592 (eshell-invoke-directly): Remove unused arg `input'.
4593 * eshell/esh-io.el (eshell-io-initialize):
4594 Use eshell-post-rewrite-command-function (bug#15399).
4595 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4596 adjust to new calling convention.
4597 (eshell-create-handles): Rename args to avoid clashing with dynvar
4598 `standard-output'.
4599
90582f05
GM
46002013-09-17 Glenn Morris <rgm@gnu.org>
4601
4602 * simple.el (messages-buffer-mode): New major mode.
4603 (messages-buffer): New function.
4604 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4605 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4606 (ert-run-test): Use `messages-buffer' function.
90582f05 4607 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4608 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4609 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4610
39eb0cb5 46112013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4612
4613 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4614
1d42e5b6 4615 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4616
70568a90
SM
46172013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4618
504a0381
SM
4619 * icomplete.el (icomplete-in-buffer): New var.
4620 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4621 vars and replace them with functions.
4622 (icomplete-minibuffer-setup): Adjust accordingly.
4623 (icomplete--completion-table, icomplete--completion-predicate)
4624 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4625 New functions.
4626 (icomplete-forward-completions, icomplete-backward-completions)
4627 (icomplete-simple-completing-p, icomplete-exhibit)
4628 (icomplete-completions): Use them.
4629 (icomplete--in-region-buffer): New var.
4630 (icomplete--in-region-setup): New function.
4631 (icomplete-mode): Use it.
4632
70568a90
SM
4633 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4634 (bug#15379).
4635 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4636 return args and options.
4637 (eshell-eval-using-options): Use the new return value of
4638 eshell--do-opts to set the options's vars in their scope.
4639 (eshell--set-option): Rename from eshell-set-option.
4640 Add arg `opt-vals'.
4641 (eshell--process-option): Rename from eshell-process-option.
4642 Add arg `opt-vals'.
4643 (eshell--process-args): Use an `opt-vals' alist to store the options's
4644 values during their processing and return them additionally to the
4645 remaining args.
4646
578c21bc
DG
46472013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4648
4649 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4650 continuation character an operator, as far as indentation is
4651 concerned (Bug#15369).
4652
c089653d
MR
46532013-09-15 Martin Rudalics <rudalics@gmx.at>
4654
4655 * window.el (window--state-put-2): Don't process buffer state
4656 when buffer doesn't exist any more (Bug#15382).
4657
1e53bb4b
GM
46582013-09-15 Glenn Morris <rgm@gnu.org>
4659
30753242
GM
4660 * eshell/em-unix.el (eshell/rm):
4661 Make -f ignore missing files. (Bug#15373)
4662
1e53bb4b
GM
4663 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4664 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4665 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4666
0d8863b3
GM
46672013-09-14 Glenn Morris <rgm@gnu.org>
4668
4669 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4670
d3fc6549
GM
46712013-09-13 Glenn Morris <rgm@gnu.org>
4672
4673 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4674 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4675
fcd42c11
DA
46762013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4677
4678 * frame.el (x-focus-frame): Mark as declared in frame.c.
4679
7830899f
SM
46802013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4681
4682 * ls-lisp.el: Use advice-add.
4683 (original-insert-directory): Remove.
4684 (ls-lisp--insert-directory): Rename from insert-directory; add
4685 `orig-fun' argument.
4686 (insert-directory): Advise.
4687
84387cd2
EZ
46882013-09-13 Eli Zaretskii <eliz@gnu.org>
4689
4690 * term.el (term-emulate-terminal): Decode the command string
4691 before passing it to term-command-hook. (Bug#15337)
4692
35ffc6ba
GM
46932013-09-13 Glenn Morris <rgm@gnu.org>
4694
5c3f9bcc
GM
4695 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4696
2ada368a
GM
4697 * eshell/esh-ext.el (eshell-search-path): Declare.
4698
fcef2e13
GM
4699 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4700 Otherwise an error occurs if eshell-dirs module not loaded.
4701
35ffc6ba
GM
4702 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4703
35c3d36e
MA
47042013-09-13 Michael Albinus <michael.albinus@gmx.de>
4705
4706 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4707 `tramp-check-proper-host'. Check for a valid method name.
4708
4709 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4710 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4711 * net/tramp-sh.el (tramp-maybe-open-connection):
4712 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4713
4714 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4715 also for hash values.
4716
ae5e4c48
SM
47172013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4718
379add74
SM
4719 * term/ns-win.el (parameters): Don't declare as dynamic.
4720 (before-make-frame-hook): Don't add ineffective function.
4721
ae5e4c48
SM
4722 * eshell/*.el: Use lexical-binding (bug#15231).
4723
b5623270
KH
47242013-09-12 Kenichi Handa <handa@gnu.org>
4725
ae5e4c48 4726 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4727
30213927
GM
47282013-09-12 Glenn Morris <rgm@gnu.org>
4729
be94d713 4730 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4731 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4732
44915370
GM
4733 * subr.el (do-after-load-evaluation): Also give compiler warnings
4734 when obsolete files are used (except by obsolete files).
4735
a6ae021f
GM
4736 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4737 in the status output, assume `filename' is the first. (Bug#15322)
4738
40e64f0c
GM
4739 * vc/vc.el (vc-deduce-fileset): Doc fix.
4740
16d9f896
GM
4741 * calc/calc-help.el (Info-goto-node):
4742 * progmodes/cperl-mode.el (Info-find-node):
4743 * vc/ediff.el (Info-goto-node): Update declarations.
4744
dea01c6e
GM
4745 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4746
759880bf 4747 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4748 (vc-bzr-pull): Require vc-dispatcher.
4749 * vc/vc-git.el (vc-compilation-mode): Declare.
4750 (vc-git-pull): Require vc-dispatcher.
4751
08d66420
GM
4752 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4753
30b626e9
GM
4754 * progmodes/octave.el (help-button-action): Declare.
4755
8c05cb10
GM
4756 * shell.el (shell-directory-tracker): Output error as a message
4757 rather than just returning it as a string.
4758 (shell-process-pushd): Remove useless use of message.
4759
30213927
GM
4760 * dframe.el (dframe-timer-fn):
4761 * files.el (dir-locals-read-from-file):
4762 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4763 (mpc-format):
4764 * reveal.el (reveal-post-command):
4765 * saveplace.el (load-save-place-alist-from-file):
4766 * shell.el (shell-resync-dirs):
4767 * w32-common-fns.el (x-get-selection-value):
4768 * emacs-lisp/copyright.el (copyright-find-copyright):
4769 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4770 * emulation/tpu-edt.el (tpu-copy-keyfile):
4771 * play/bubbles.el (bubbles--mark-neighbourhood):
4772 * progmodes/executable.el
4773 (executable-make-buffer-file-executable-if-script-p):
4774 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4775
d3b049e6
SM
47762013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4777
170266d0
SM
4778 Cleanup Eshell to rely less on dynamic scoping.
4779 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4780 last-value, and ext-command here. Bind `args' closer to `body'.
4781 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4782 (eshell--args): Declare new dynamic var.
4783 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4784 last-value, and ext-command. Pass `args' to `body'.
4785 (eshell-process-args): Bind eshell--args.
4786 (eshell-set-option): Use eshell--args.
4787 * eshell/eshell.el (eshell): Use derived-mode-p.
4788 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4789 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4790 (eshell-glob-function): Declare.
4791 * eshell/esh-util.el: Require cl-lib.
4792 (eshell-read-hosts-file): Avoid add-to-list.
4793 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4794 `err'.
4795 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4796 Declare.
4797 (eshell/diff): Remove unused var `err'.
4798 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4799 `killflag'.
4800 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4801 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4802 first use.
4803 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4804 Move declaration before first use.
4805 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4806 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4807 rely on cl-return.
4808
56834f3b
GM
48092013-09-12 Glenn Morris <rgm@gnu.org>
4810
4811 * term/ns-win.el (global-map): Remove binding for ispell-next,
4812 deleted 1999-05-29. (Bug#15357)
4813
5c91a2b8
GM
48142013-09-11 Glenn Morris <rgm@gnu.org>
4815
da712f22
GM
4816 * echistory.el (electric-command-history): Remove call to deleted func.
4817
512e4cdc
GM
4818 * play/landmark.el (landmark-mode): Fix typos.
4819
d3506ca5
GM
4820 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4821 Check cvs-sort-ignore-file is bound.
4822
5c91a2b8
GM
4823 * savehist.el: No need for cl when compiling on Emacs.
4824
feeff482
SM
48252013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4826
656bd483
SM
4827 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4828 (bug#15338).
d3b049e6
SM
4829 (eshell-self-insert-command, eshell-send-invisible):
4830 Remove unused argument.
656bd483
SM
4831 (eshell-handle-control-codes): Remove unused var `orig'.
4832 Avoid delete-backward-char.
4833
feeff482
SM
4834 * files.el (set-auto-mode): Simplify a bit further.
4835
2a08047a
GM
48362013-09-11 Glenn Morris <rgm@gnu.org>
4837
4838 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4839 (set-auto-mode): Don't regexp-quote elements.
4840 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4841 * progmodes/cc-mode.el (interpreter-mode-alist):
4842 * progmodes/ruby-mode.el (interpreter-mode-alist):
4843 Revert previous change.
4844
34675540
SM
48452013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4846
1b3b87df
SM
4847 * play/snake.el (snake-mode):
4848 * play/mpuz.el (mpuz-mode):
4849 * play/landmark.el (lm-mode):
4850 * play/blackbox.el (blackbox-mode):
4851 * play/5x5.el (5x5-mode):
4852 * obsolete/options.el (Edit-options-mode):
4853 * net/quickurl.el (quickurl-list-mode):
4854 * net/newst-treeview.el (newsticker-treeview-mode):
4855 * mail/rmailsum.el (rmail-summary-mode):
4856 * mail/mspools.el (mspools-mode):
4857 * locate.el (locate-mode):
4858 * ibuffer.el (ibuffer-mode):
4859 * emulation/ws-mode.el (wordstar-mode):
4860 * emacs-lisp/debug.el (debugger-mode):
4861 * array.el (array-mode):
4862 * net/eudc.el (eudc-mode): Use define-derived-mode.
4863 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4864 Move initialization into declaration.
4865 (mairix-searches-mode): Use define-derived-mode.
4866 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4867 (eudc-edit-hotlist): Use dolist.
4868 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4869 (Man-mode): Use define-derived-mode.
4870 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4871 (Info-edit-mode): Use define-derived-mode.
4872 (Info-cease-edit): Use Info-mode.
4873 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4874 into declaration.
4875 (eshell-mode): Use define-derived-mode.
4876 * chistory.el (command-history-mode-map): Rename from
4877 command-history-map.
4878 (command-history-mode): Use define-derived-mode.
da712f22 4879 (Command-history-setup): Remove function.
1b3b87df
SM
4880 * calc/calc.el (calc-trail-mode-map): New var.
4881 (calc-trail-mode): Use define-derived-mode.
4882 (calc-trail-buffer): Set calc-main-buffer manually.
4883 * bookmark.el (bookmark-insert-annotation): New function.
4884 (bookmark-edit-annotation): Use it.
4885 (bookmark-edit-annotation-mode): Make it a proper major mode.
4886 (bookmark-send-edited-annotation): Use derived-mode-p.
4887 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4888 closer to its ideal place. Use \' to match EOS.
4889
34675540
SM
4890 * profiler.el (profiler-calltree-find): Use function-equal.
4891
6a5c15d9
GM
48922013-09-10 Glenn Morris <rgm@gnu.org>
4893
1af4c220
GM
4894 * files.el (interpreter-mode-alist): Convert to regexps.
4895 (set-auto-mode): Adapt for this. (Bug#15306)
4896 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4897 Comment out unused variable.
4898 * progmodes/cc-mode.el (interpreter-mode-alist):
4899 * progmodes/python.el (interpreter-mode-alist):
4900 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4901 * progmodes/sh-script.el (sh-set-shell):
4902 No longer use interpreter-mode-alist to get list of shells.
4903
6a5c15d9
GM
4904 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4905
8c27f5ff
SM
49062013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4907
02ef6c1a 4908 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4909 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4910 Bind switch-frame explicitly. Replace universal-argument-minus with
4911 a conditional binding.
4912 (universal-argument-num-events, saved-overriding-map): Remove.
4913 (restore-overriding-map): Remove.
4914 (universal-argument--mode): Rename from save&set-overriding-map,
4915 and rewrite.
4916 (universal-argument, universal-argument-more, negative-argument)
4917 (digit-argument): Adjust accordingly.
4918 (universal-argument-minus): Remove.
4919 (universal-argument-other-key): Remove.
4920
8c27f5ff
SM
4921 * subr.el (with-demoted-errors): Add `format' argument.
4922
6480194c
MA
49232013-09-10 Michael Albinus <michael.albinus@gmx.de>
4924
4925 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4926 `tramp-cleanup-connection'.
4927
4928 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4929 parameters KEEP-DEBUG and KEEP-PASSWORD.
4930
4931 * net/tramp.el (tramp-file-name-handler):
4932 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4933 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4934 (tramp-maybe-open-connection):
8c27f5ff
SM
4935 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4936 Use `tramp-cleanup-connection'.
6480194c 4937
8c27f5ff
SM
4938 * net/tramp-sh.el (tramp-maybe-open-connection):
4939 Catch 'uname-changed inside the progress reporter.
6480194c 4940
e5e916d8
GM
49412013-09-10 Glenn Morris <rgm@gnu.org>
4942
9a2c9b47
GM
4943 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4944
e5e916d8
GM
4945 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4946 returns "alternate access method" in mode (eg "-rw-r--r--.").
4947
144e38fe
GM
49482013-09-08 Glenn Morris <rgm@gnu.org>
4949
4950 * saveplace.el (load-save-place-alist-from-file):
4951 Demote errors. (Bug#15305)
4952
af9ff9e8
MA
49532013-09-08 Michael Albinus <michael.albinus@gmx.de>
4954
4955 Improve compatibility with older Emacsen, and XEmacs.
4956
4957 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4958 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4959 (with-tramp-progress-reporter): Do not let-bind `result'.
4960 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4961 (tramp-handle-make-auto-save-file-name): New function, moved from
4962 tramp-sh.el.
4963
4964 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4965 for `make-auto-save-file-name'.
8c27f5ff
SM
4966 (tramp-adb--gnu-switches-to-ash):
4967 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4968
4969 * net/tramp-cache.el (tramp-cache-print): Call
4970 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4971
4972 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4973 bound. It isn't for XEmacs.
4974
8c27f5ff
SM
4975 * net/tramp-compat.el (tramp-compat-copy-file):
4976 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4977 (tramp-compat-replace-regexp-in-string): New defun.
4978
4979 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4980 for `make-auto-save-file-name'.
4981 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4982 `copy-file'.
4983 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4984 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4985 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4986
8c27f5ff
SM
4987 * net/tramp-gw.el (tramp-gw-open-network-stream):
4988 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4989
8c27f5ff
SM
4990 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4991 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4992 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4993 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4994 (tramp-sh-file-inotifywait-process-filter):
4995 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4996 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4997
4998 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4999 for `make-auto-save-file-name'.
8c27f5ff
SM
5000 (tramp-smb-handle-copy-directory):
5001 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5002 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5003 (tramp-smb-handle-copy-file): Improve error message.
5004 (tramp-smb-handle-rename-file): Rename directly only in case
5005 `newname' does not exist yet. This is a restriction of smbclient.
5006 (tramp-smb-maybe-open-connection): Rerun the function only when
5007 `auth-sources' is non-nil.
5008
0ca754d0
KH
50092013-09-08 Kenichi Handa <handa@gnu.org>
5010
e0eb0550 5011 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5012 more characters.
5013
e8dd0787
AM
50142013-09-07 Alan Mackenzie <acm@muc.de>
5015
5016 Correctly fontify Java class constructors.
5017 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5018 in Java Mode.
5019 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5020 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5021 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5022 "typeless" declaration there.
5023
f2f248e7
RW
50242013-09-07 Roland Winkler <winkler@gnu.org>
5025
5026 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5027 field subtitle for entry type book.
5028
67982e2b
SM
50292013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5030
5031 * minibuffer.el: Make minibuffer-complete call completion-in-region
5032 rather than other way around.
5033 (completion--some, completion-pcm--find-all-completions):
5034 Don't delay signals when debugging.
5035 (minibuffer-completion-contents): Beware fields within the
5036 minibuffer contents.
5037 (completion-all-sorted-completions): Use defvar-local.
5038 (completion--do-completion, completion--cache-all-sorted-completions)
5039 (completion-all-sorted-completions, minibuffer-force-complete):
5040 Add args `beg' and `end'.
5041 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5042 (minibuffer-complete): Use completion-in-region.
5043 (completion-complete-and-exit): New fun, extracted from
5044 minibuffer-complete-and-exit.
5045 (minibuffer-complete-and-exit): Use it.
5046 (completion--complete-and-exit): Rename from
5047 minibuffer--complete-and-exit.
5048 (completion-in-region--single-word): New function, extracted from
5049 minibuffer-complete-word.
5050 (minibuffer-complete-word): Use it.
5051 (display-completion-list): Make `common-substring' argument obsolete.
5052 (completion--in-region): Call completion--in-region-1 instead of
5053 minibuffer-complete.
5054 (completion-help-at-point): Pass boundaries to
5055 minibuffer-completion-help as args rather than via an overlay.
5056 (completion-pcm--string->pattern): Use `any-delim'.
5057 (completion-pcm--optimize-pattern): New function.
5058 (completion-pcm--pattern->regex): Handle `any-delim'.
5059 * icomplete.el (icomplete-forward-completions)
5060 (icomplete-backward-completions, icomplete-completions):
5061 Adjust calls to completion-all-sorted-completions and
5062 completion--cache-all-sorted-completions.
5063 (icomplete-with-completion-tables): Default to t.
5064 * emacs-lisp/crm.el (crm--current-element): Rename from
5065 crm--select-current-element. Don't put an overlay but return the
5066 boundaries instead.
5067 (crm--completion-command): Take two new args to bind to the boundaries.
5068 (crm-completion-help): Adjust accordingly.
5069 (crm-complete): Use completion-in-region.
5070 (crm-complete-word): Use completion-in-region--single-word.
5071 (crm-complete-and-exit): Use completion-complete-and-exit.
5072
e17d94a5
SM
50732013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5074
5075 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5076 than dynamically.
5077
96727100
JL
50782013-09-06 Juri Linkov <juri@jurta.org>
5079
5080 * info.el (Info-display-images-node): When image file doesn't exist
5081 display text version of the image if it's provided in the Info file.
5082 Otherwise, display the location of missing image from SRC attribute.
5083 Add help-echo text property from ALT attribute. (Bug#15279)
5084
86cf7329
SM
50852013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5086
5087 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5088 (edit-abbrevs-mode): Use define-derived-mode.
5089
5090 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5091 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5092 that it's defined.
5093 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5094 Use define-derived-mode.
5095
5096 * epg.el (epg-start-encrypt): Minor CSE simplification.
5097
816244a2
WX
50982013-09-06 William Xu <william.xwl@gmail.com>
5099
5100 * arc-mode.el: Add support for 7za (bug#15264).
5101 (archive-7z-program): New var.
5102 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5103 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5104 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5105
1486fa31
MA
51062013-09-06 Michael Albinus <michael.albinus@gmx.de>
5107
5108 Remove URL syntax.
5109
5110 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5111 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5112 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5113 (tramp-postfix-host-format, tramp-file-name-regexp)
5114 (tramp-completion-file-name-regexp)
5115 (tramp-completion-dissect-file-name)
5116 (tramp-handle-substitute-in-file-name): Remove 'url case.
5117 (tramp-file-name-regexp-url)
5118 (tramp-completion-file-name-regexp-url): Remove constants.
5119
39785324
GM
51202013-09-06 Glenn Morris <rgm@gnu.org>
5121
5122 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5123
1f896cb7
DG
51242013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5125
5126 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5127 keywords" below "here-doc beginnings" (Bug#15270).
5128
c0458e0b
SM
51292013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5130
5131 * subr.el (pop): Use `car-safe'.
5132 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5133 to detect unused `pop' return value.
5134
5135 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5136 var `block-regexp'.
5137 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5138 (python-fill-string): Remove unused var `marker'.
5139 (python-skeleton-add-menu-items): Remove unused var `items'.
5140
5141 * international/mule-cmds.el: Require CL.
5142 (find-coding-systems-for-charsets): Avoid add-to-list.
5143 (sanitize-coding-system-list): New function, extracted from
5144 select-safe-coding-system-interactively.
5145 (select-safe-coding-system-interactively): Use it.
5146 (read-input-method-name): Accept symbols for `default'.
5147
5148 * emacs-lisp/advice.el (defadvice): Add indent rule.
5149
6c42fc3e
DH
51502013-09-05 Daniel Hackney <dan@haxney.org>
5151
5152 * dired-x.el:
5153 * net/ange-ftp.el:
5154 * net/browse-url.el:
5155 * net/dbus.el:
5156 * net/eudc.el:
5157 * net/eudcb-ldap.el:
5158 * net/eww.el:
5159 * net/imap.el:
5160 * printing.el:
5161 * vc/ediff-diff.el:
5162 * vc/ediff-init.el:
5163 * vc/ediff-merg.el:
5164 * vc/ediff-mult.el:
5165 * vc/ediff-util.el:
5166 * vc/ediff-wind.el:
5167 * vc/ediff.el:
5168 * vc/emerge.el:
5169 * vc/pcvs.el:
5170 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5171 byte compiler. Remove some unused let-bound variables.
5172
4c528aab
SM
51732013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5174
5175 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5176 a "ref-cell", since it gets better optimized (bug#14883).
5177
bd15c390
GM
51782013-09-05 Glenn Morris <rgm@gnu.org>
5179
5180 * progmodes/cc-awk.el (c-forward-sws): Declare.
5181
1c3ac2e5
GM
51822013-09-04 Glenn Morris <rgm@gnu.org>
5183
5184 * generic-x.el [rul-generic-mode]: Require cc-mode.
5185 (c++-mode-syntax-table): Declare.
5186 (rul-generic-mode-syntax-table): Init in the defvar.
5187
52b1cc79
SM
51882013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5189
c828af56
SM
5190 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5191 (vc-do-command, vc-set-async-update):
5192 * vc/vc-mtn.el (vc-mtn-dir-status):
5193 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5194 (vc-hg-pull, vc-hg-merge-branch):
5195 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5196 (vc-git-merge-branch):
5197 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5198 (vc-cvs-dir-status-files):
5199 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5200 (vc-bzr-dir-status-files):
5201 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5202 * vc/vc-annotate.el: Use lexical-binding.
5203 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5204 (vc-sentinel-movepoint): Declare.
5205 (vc-annotate): Don't use `goto-line'.
5206 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5207 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5208 (vc-sentinel-movepoint): Declare.
5209 * vc/vc-svn.el: Use lexical-binding.
5210 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5211 * vc/vc-sccs.el:
5212 * vc/vc-rcs.el: Use lexical-binding.
5213
abae272c
SM
5214 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5215 `deleted'. Don't drop errors silently.
5216
52b1cc79
SM
5217 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5218
63191d9f
XF
52192013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5220
5221 * vc/vc.el (vc-ignore): Rewrite.
5222 (vc-default-ignore): New function.
5223 (vc-default-ignore-completion-table): Use find-ignore-file.
5224
5225 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5226 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5227 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5228 Remove. Most code moved to vc.el.
5229
9d3f707c
SM
52302013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5231
abae272c 5232 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5233 * net/tramp-smb.el (tramp-smb-get-file-entries):
5234 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5235 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5236
fde38d49
SM
5237 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5238 Update call to it.
5239 (eww-change-select): Remove unused var `properties'.
5240 (eww-make-unique-file-name): Remove unused var `base'.
5241
5242 * finder.el (finder-compile-keywords): Don't mess with windows.
5243
84032db7
SM
5244 * calculator.el (calculator-funcall): Fix typo in last change.
5245
724f5e41
SM
5246 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5247
14b511d4
SM
5248 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5249 <pkg>-autoloads.el file stop us.
5250
9d3f707c 5251 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5252 warnings, and factor out common code.
9d3f707c 5253
88527bc0
DG
52542013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5255
5256 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5257 two-character operators and whether the character preceding them
5258 changes their meaning (Bug#15208).
5259
96edb677
FEG
52602013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5261
5262 Format code sent to Python shell for robustness.
9d3f707c
SM
5263 * progmodes/python.el (python-shell-buffer-substring):
5264 New function.
96edb677
FEG
5265 (python-shell-send-region, python-shell-send-buffer): Use it.
5266
95beaef3
MA
52672013-09-02 Michael Albinus <michael.albinus@gmx.de>
5268
5269 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5270 * net/tramp.el (tramp-user-error): ... here.
5271 (tramp-find-method, tramp-check-proper-host)
5272 (tramp-dissect-file-name, tramp-debug-message)
5273 (tramp-handle-shell-command):
5274 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5275 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5276
5277 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5278
f167c27b
MR
52792013-09-02 Martin Rudalics <rudalics@gmx.at>
5280
5281 * avoid.el (mouse-avoidance-point-position)
5282 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5283 returns nil.
5284
cd16c5f1
FEG
52852013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5286
5287 * progmodes/python.el (python-shell-completion-get-completions):
5288 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5289 (python-nav-if-name-main): New command.
cd16c5f1 5290
e73c3a0d
GM
52912013-09-01 Glenn Morris <rgm@gnu.org>
5292
f8ccce03
GM
5293 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5294 Avoid leading space in $wins. Otherwise the sed command used by
5295 eg compile-main ends up containing "/*.el". (Bug#15170)
5296
e73c3a0d
GM
5297 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5298
415f808e
GM
52992013-08-30 Glenn Morris <rgm@gnu.org>
5300
5301 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5302 Fix is-this-a-directory logic. (Bug#15220)
5303
f069bba8
SM
53042013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5305
112798c1
SM
5306 * textmodes/css-mode.el: Use SMIE.
5307 (css-smie-grammar): New var.
5308 (css-smie--forward-token, css-smie--backward-token)
5309 (css-smie-rules): New functions.
5310 (css-mode): Use them.
5311 (css-navigation-syntax-table): Remove var.
5312 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5313 (css-indent-calculate, css-indent-line): Remove functions.
5314
5315 Misc changes to reduce use of `(lambda...); and other cleanups.
5316 * cus-edit.el: Use lexical-binding.
5317 (customize-push-and-save, customize-apropos)
5318 (custom-buffer-create-internal): Use closures.
5319 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5320 * progmodes/ada-xref.el: Use setq.
5321 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5322 * dframe.el: Use lexical-binding.
5323 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5324 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5325 * descr-text.el: Use lexical-binding.
5326 (describe-text-widget, describe-text-sexp, describe-property-list):
5327 Use closures.
5328 * comint.el (comint-history-isearch-push-state): Use a closure.
5329 * calculator.el: Use lexical-binding.
5330 (calculator-number-to-string): Make it work with lexical-binding.
5331 (calculator-funcall): Same and use cl-letf.
5332
2da4c3ab
SM
5333 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5334 (lisp--company-doc-string, lisp--company-location): New functions.
5335 (lisp-completion-at-point): Use them to improve Company support.
5336
f069bba8
SM
5337 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5338 params of lambda expressions.
5339 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5340 (ruby-smie--opening-pipe-p): New function.
5341 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5342 symbols and matched |...| for formal params.
5343 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5344 from being treated as hanging. Handle "rescue".
5345
6758b6a8
GM
53462013-08-29 Glenn Morris <rgm@gnu.org>
5347
5348 * progmodes/cc-engine.el (c-pull-open-brace):
5349 Move definition before use.
5350
e8dfd197
SM
53512013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5352
5353 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5354 are immutable. Don't use `unsafe' any more.
5355 (cl--defsubst-expand): Don't substitute at the same time as keeping
5356 a residual unused let-binding. Don't use `unsafe' any more.
5357
cc585c96
GM
53582013-08-29 Glenn Morris <rgm@gnu.org>
5359
ba579ea6
GM
5360 * calendar/cal-china.el (calendar-chinese-year-cache):
5361 Recenter on 2015.
5362
8201a87e
GM
5363 * nxml/nxml-util.el (nxml-debug-clear-inside):
5364 Use cl-loop rather than loop.
5365
6ee877c7
GM
5366 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5367
cc585c96
GM
5368 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5369
27be8d39
GM
53702013-08-28 Glenn Morris <rgm@gnu.org>
5371
397440a1
GM
5372 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5373
2bb762d4
GM
5374 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5375
27be8d39
GM
5376 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5377
2d69b99e
SM
53782013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5379
f663baa7
SM
5380 * simple.el (repeat-complex-command--called-interactively-skip):
5381 New function.
5382 (repeat-complex-command): Use it (bug#14136).
5383
dd4f8b74
SM
5384 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5385 (c-define-abbrev-table): Add `doc' argument.
5386 (c-mode-abbrev-table, c++-mode-abbrev-table)
5387 (objc-mode-abbrev-table, java-mode-abbrev-table)
5388 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5389 (awk-mode-abbrev-table): Use it.
5390 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5391 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5392 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5393 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5394 Move initialization into the declaration; and remove any
5395 autoload cookie.
5396
b58969f7
SM
5397 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5398 and dynamic let binding.
5399
4021d6a6
SM
5400 * vc/smerge-mode.el: Remove redundant :group args.
5401
2d69b99e
SM
5402 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5403 to load-path.
5404
274919fd
JL
54052013-08-28 Juri Linkov <juri@jurta.org>
5406
5407 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5408 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5409 (isearch-other-meta-char): Handle an undefined shifted printing
5410 character by downshifting it. (Bug#15200)
5411
121f8c95
JL
54122013-08-28 Juri Linkov <juri@jurta.org>
5413
5414 * isearch.el (isearch-search): Change regexp error message for
5415 non-regexp searches. (Bug#15166)
5416
50b13cde
PE
54172013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5418
5419 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5420 for portability to hosts where /bin/sh has problems.
5421
95888bca
SM
54222013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5423
5424 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5425
bbe558f1
JL
54262013-08-27 Juri Linkov <juri@jurta.org>
5427
5428 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5429 in the keyboard macro. (Bug#15126)
5430
26f98a7d
JL
54312013-08-27 Juri Linkov <juri@jurta.org>
5432
5433 * isearch.el (isearch-quote-char): Comment out converting unibyte
5434 to multibyte, thus syncing with its `quoted-insert' counterpart.
5435 (Bug#15166)
5436
7c97d35e
MR
54372013-08-27 Martin Rudalics <rudalics@gmx.at>
5438
5439 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5440 argument in call of get-largest-window (Bug#15185).
5441 Reported by Stephen Leake.
7c97d35e 5442
a0b5606e 54432013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5444
5445 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5446
9e89d835
SM
54472013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5448
5449 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5450 from a matcher-function unless there's no more matches (bug#15161).
5451
78fc2530
MA
54522013-08-26 Michael Albinus <michael.albinus@gmx.de>
5453
5454 * minibuffer.el: Revert change from 2013-08-20.
5455
5456 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5457 with text property `tramp-default', if appropriate.
5458 (tramp-check-proper-host): New defun.
5459 (tramp-dissect-file-name): Do not check hostname. Revert change
5460 of 2013-03-18.
5461 (tramp-backtrace): Make VEC-OR-PROC optional.
5462
5463 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5464 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5465 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5466 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5467 Apply `tramp-check-proper-host'.
78fc2530 5468
edca97cd
TH
54692013-08-26 Tassilo Horn <tsdh@gnu.org>
5470
5471 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5472 lambda expression in order to have `describe-variable' display it.
5473
df54bcbd
MA
54742013-08-26 Michael Albinus <michael.albinus@gmx.de>
5475
5476 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5477 BUF can be optional. (Bug#15186)
5478
eed99101
XF
54792013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5480
5481 * progmodes/flymake.el (flymake-get-real-file-name-function):
5482 Fix broken customization. (Bug#15184)
5483
b5eb9035
AM
54842013-08-25 Alan Mackenzie <acm@muc.de>
5485
8a51e842
AM
5486 Improve indentation of bracelists defined by macros (without "=").
5487
5488 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5489 expansion begins with "{", regard it as bracelist when it doesn't
5490 contain a ";".
5491
869455d4
AM
5492 Parse C++ inher-intro when there's a template split over 2 lines.
5493
5494 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5495 rigorously the search for "class" etc. followed by ":".
5496
5497 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5498 random languages a regexp which never matches rather than nil.
5499
b5eb9035
AM
5500 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5501
5502 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5503 (c-awk-regexp-one-line-possibly-open-char-list-re)
5504 (c-awk-one-line-possibly-open-regexp-re)
5505 (c-awk-one-line-non-syn-ws*-re): Remove.
5506 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5507 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5508 (c-awk-space*-unclosed-regexp-/-re): New constants.
5509 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5510 aren't regexp delimiters.
5511
5512 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5513 handling for a rare situation in AWK Mode involving unterminated
5514 strings/regexps.
5515
61611d54
GM
55162013-08-23 Glenn Morris <rgm@gnu.org>
5517
2d85dc34
GM
5518 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5519
cb8d2612
GM
5520 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5521
bb35f42f
GM
5522 * files.el (create-file-buffer): If the result would begin with
5523 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5524
b9808e77
SM
55252013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5526
e3a66363
SM
5527 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5528 text-properties (bug#15155).
5529
b9808e77
SM
5530 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5531 exist any more.
5532 (calc-keypad-redraw): Remove unused var `pad'.
5533 (calc-keypad-press): Remove unused var `menu'.
5534
7fd5f65e
MR
55352013-08-23 Martin Rudalics <rudalics@gmx.at>
5536
b9808e77
SM
5537 * window.el (display-buffer-pop-up-frame):
5538 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5539 use it as the new frame's buffer (Bug#15133).
5540
8352b530
SM
55412013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5542
5543 * calendar/timeclock.el: Minor cleanups.
5544 (timeclock-ask-before-exiting, timeclock-use-display-time):
5545 Use `symbol'.
5546 (timeclock-modeline-display): Define as alias before the
5547 actual definition.
5548 (timeclock-mode-line-display): Use define-minor-mode.
5549 (timeclock-day-list-template): Make it a function, add an argument.
5550 (timeclock-day-list-required, timeclock-day-list-length)
5551 (timeclock-day-list-debt, timeclock-day-list-span)
5552 (timeclock-day-list-break): Adjust calls accordingly.
5553
9f7b1925
SM
55542013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5557 Use read--expression so that completion works again.
5558
6e50e983
SS
55592013-08-21 Sam Steingold <sds@gnu.org>
5560
5561 Add rudimentary inferior shell interaction
5562 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5563 (sh-set-shell): Reset it.
9f7b1925
SM
5564 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5565 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5566
dbb0d350
SM
55672013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5568
5569 * align.el: Use lexical-binding.
5570 (align-region): Simplify accordingly.
5571
c88586a9
MA
55722013-08-20 Michael Albinus <michael.albinus@gmx.de>
5573
5574 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5575
5576 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5577 `non-essential' up.
5578
f95527c8
MA
55792013-08-17 Michael Albinus <michael.albinus@gmx.de>
5580
5581 * net/tramp.el:
5582 * net/tramp-adb.el:
5583 * net/tramp-cmds.el:
5584 * net/tramp-ftp.el:
5585 * net/tramp-gvfs.el:
5586 * net/tramp-gw.el:
5587 * net/tramp-sh.el: Don't wrap external variable declarations by
5588 `eval-when-compile'.
5589
4b5fe4ee
LMI
55902013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5591
5592 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5593 now that Emacs supports ImageMagick animations.
5594
13c366c9
MA
55952013-08-16 Michael Albinus <michael.albinus@gmx.de>
5596
5597 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5598 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5599
3dfc5cd6
MR
56002013-08-16 Martin Rudalics <rudalics@gmx.at>
5601
5602 * window.el (mouse-autoselect-window-select): Do autoselect when
5603 mouse pointer is on margin.
5604
4bbb4381
WP
56052013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5606
5607 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5608
3a2ddc2d
GM
56092013-08-16 Glenn Morris <rgm@gnu.org>
5610
e8bedf5a
GM
5611 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5612 Handle "Remote Directory" response of some clients. (Bug#15058)
5613
58c4682f
GM
5614 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5615 Tweak warning. (Bug#14926)
5616
57953f49
GM
5617 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5618 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5619
3a2ddc2d
GM
5620 * image-mode.el (image-mode-map): Add menu items to reverse,
5621 increase, decrease, reset animation speed.
5622 (image--set-speed, image-increase-speed, image-decrease-speed)
5623 (image-reverse-speed, image-reset-speed): New functions.
5624 (image-mode-map): Add bindings for speed commands.
5625
5626 * image.el (image-animate-get-speed, image-animate-set-speed):
5627 New functions.
5628 (image-animate-timeout): Respect image :speed property.
5629
10fa0ed3
SM
56302013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5631
5632 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5633 previous line (bug#15101).
5634 (debugger-eval-expression, debugger-record-expression):
5635 Use read--expression (bug#15102).
5636
5d89d9d2
MA
56372013-08-15 Michael Albinus <michael.albinus@gmx.de>
5638
5639 Remove byte compiler warnings, visible when compiling with
5640 `byte-compile-force-lexical-warnings' set to t.
5641
5642 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5643 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5644 (tramp-handle-unhandled-file-name-directory)
5645 (tramp-handle-file-notify-add-watch, tramp-action-login)
5646 (tramp-action-succeed, tramp-action-permission-denied)
5647 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5648 arguments with "_".
5649
5650 * net/tramp-adb.el (tramp-adb-parse-device-names)
5651 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5652 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5653 (tramp-adb-handle-file-truename): Remove unused arguments.
5654
5655 * net/tramp-cache.el (tramp-flush-directory-property)
5656 (tramp-flush-connection-property, tramp-list-connections)
5657 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5658
10fa0ed3
SM
5659 * net/tramp-compat.el (tramp-compat-make-temp-file):
5660 Rename FILENAME to F.
5d89d9d2
MA
5661
5662 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5663 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5664 (tramp-zeroconf-parse-workstation-device-names)
5665 (tramp-zeroconf-parse-webdav-device-names)
5666 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5667
5668 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5669 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5670
5671 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5672 arguments.
5673 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5674 (tramp-sh-handle-insert-file-contents-literally)
5675 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5676 with "_".
5677 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5678 Remove unused variables.
5679
5680 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5681 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5682 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5683
5684 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5685 Make them a defconst.
5686 (tramp-uuencode-region): Remove unused variable.
5687
62f33bae
JB
56882013-08-14 Juanma Barranquero <lekktu@gmail.com>
5689
5690 * frameset.el (frameset--prop-setter): New function.
5691 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5692 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5693 parameter was already set in FILTERED. Doc fix.
5694 (frameset--record-minibuffer-relationships): Allow saving a
5695 minibufferless frame without its corresponding minibuffer frame.
5696 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5697 frame, if the frame id matches.
5698 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5699 frames before orphaned ones.
5700 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5701
c660a885
MR
57022013-08-14 Martin Rudalics <rudalics@gmx.at>
5703
5704 * window.el (window-make-atom): Don't overwrite parameter
5705 already present.
5706 (display-buffer-in-atom-window): Handle special case where we
5707 split an already atomic window.
5708 (window--major-non-side-window, display-buffer-in-side-window)
5709 (window--side-check): Ignore minibuffer window when walking
5710 window tree.
5711 (window-deletable-p): Return 'frame only if no other frame uses
5712 our minibuffer window.
5713 (record-window-buffer): Run buffer-list-update-hook.
5714 (split-window): Make sure window--check-frame won't destroy an
5715 existing atomic window in case the new window gets nested
5716 inside.
5717 (display-buffer-at-bottom): Ignore minibuffer window when
5718 walking window tree. Don't split a side window.
5719 (pop-to-buffer): Don't set-buffer here, the select-window call
5720 should do that.
5721 (mouse-autoselect-window-select): Autoselect only if we are in the
5722 text portion of the window.
5723
8259030d
LMI
57242013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5725
21c58ae2
LMI
5726 * net/shr.el (shr-parse-image-data): New function to grab both the
5727 data itself and the Content-Type.
5728 (shr-put-image): Use it.
5729
5730 * net/eww.el (eww-display-image): Ditto.
5731
8259030d
LMI
5732 * image.el (image-content-type-suffixes): New variable.
5733
ad756449
FEG
57342013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5735
5736 * progmodes/python.el (python-imenu--build-tree)
5737 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5738
f73f4ce6
XF
57392013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5740
5741 * simple.el (backward-word): Mention the optional argument.
5742
1f585e65
SM
57432013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5744
5745 * frameset.el (frameset--make): Rename constructor from make-frameset.
5746 (frameset-p, frameset-valid-p): Don't autoload.
5747 (frameset-valid-p): Use normal accessors.
5748
af1c6c84
GM
57492013-08-13 Glenn Morris <rgm@gnu.org>
5750
55e47f95
GM
5751 * progmodes/compile.el (compile-command): Tweak example in doc.
5752 * obsolete/scribe.el (scribe-mode):
5753 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5754
f0024d8c
GM
5755 * mail/feedmail.el (feedmail-confirm-outgoing)
5756 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5757
5758 * cus-start.el (truncate-partial-width-windows): Fix type.
5759
5760 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5761
af1c6c84
GM
5762 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5763
5514cc4c
SM
57642013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * emacs-lisp/timer.el (timer--time-setter): New function.
5767 (timer--time): Use it as gv-setter.
5768
5769 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5770 setter is not a symbol.
5771
7997a2f1
GJ
57722013-08-12 Grégoire Jadi <daimrod@gmail.com>
5773
5774 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5775 if sending fails. This makes debugging easier.
5776
01f1a9ab
JB
57772013-08-12 Juanma Barranquero <lekktu@gmail.com>
5778
5779 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5780 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5781 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5782
594a4307
EZ
57832013-08-12 Eli Zaretskii <eliz@gnu.org>
5784
5785 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5786
7a22490f 57872013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5788
5789 * format.el (format-annotate-function):
5790 Handle read-only text properties in the source. (Bug#14887)
5791
3e41a054
LMI
57922013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5793
5514cc4c
SM
5794 * net/eww.el (eww-display-html): Ignore coding system errors.
5795 One web site uses "utf-8lias" as the coding system.
3e41a054 5796
7ec326db
JB
57972013-08-11 Juanma Barranquero <lekktu@gmail.com>
5798
5799 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5800
5660113b
JB
58012013-08-10 Juanma Barranquero <lekktu@gmail.com>
5802
9a4ebc74
JB
5803 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5804 (tutorial--detailed-help): Remove unused local variables.
5805 (tutorial--save-tutorial-to): Use ignore-errors.
5806 (help-with-tutorial): Use looking-at-p.
5807
5808 * view.el (view-buffer-other-window, view-buffer-other-frame):
5809 Mark unused arguments.
5810
5811 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5812 (woman-select-symbol-fonts, woman, woman-find-file)
5813 (woman-insert-file-contents, woman-non-underline-faces):
5814 Use string-match-p.
5815 (woman1-unquote): Move declaration.
5816
5817 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5818 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5819 argument. Remove unused local variable.
5820 (xml-parse-elem-type): Use string-match-p.
5821 (xml-substitute-numeric-entities): Use ignore-errors.
5822
45fdb482
JB
5823 * calculator.el (calculator): Mark unused argument.
5824 (calculator-paste, calculator-quit, calculator-integer-p):
5825 Use ignore-errors.
5826 (calculator-string-to-number, calculator-decimal, calculator-exp)
5827 (calculator-op-or-exp): Use string-match-p.
5828
5829 * dired.el (dired-buffer-more-recently-used-p): Declare.
5830 (dired-insert-set-properties, dired-insert-old-subdirs):
5831 Use ignore-errors.
5832
5833 * dired-aux.el (dired-compress): Use ignore-errors.
5834 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5835 (dired-do-async-shell-command, dired-do-shell-command)
5836 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5837 (dired-insert-subdir-validate): Use string-match-p.
5838 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5839 (dired-add-entry): Use string-match-p, looking-at-p.
5840 (dired-insert-subdir-newpos): Remove unused local variable.
5841
5842 * filenotify.el (file-notify-callback): Remove unused local variable.
5843
5844 * filesets.el (filesets-error): Mark unused argument.
5845 (filesets-which-command-p, filesets-filter-dir-names)
5846 (filesets-directory-files, filesets-get-external-viewer)
5847 (filesets-ingroup-get-data): Use string-match-p.
5848
5849 * find-file.el (ff-other-file-name, ff-other-file-name)
5850 (ff-find-the-other-file, ff-cc-hh-converter):
5851 Remove unused local variables.
5852 (ff-get-file-name): Use string-match-p.
5853 (ff-all-dirs-under): Use ignore-errors.
5854
5855 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5856 (follow-select-if-visible): Remove unused local variable.
5857
5858 * forms.el (read-file-filter): Move declaration.
5859 (forms--make-format, forms--make-parser, forms-insert-record):
5860 Quote function with #'.
5861 (forms--update): Use string-match-p. Quote function with #'.
5862
5863 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5864 (help-make-xrefs): Use looking-at-p.
5865 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5866
5867 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5868 (ibuffer-confirm-operation-on): Use string-match-p.
5869
5870 * msb.el (msb-item-handler, msb-dired-item-handler):
5871 Mark unused arguments.
5872
5873 * ses.el (ses-decode-cell-symbol)
5874 (ses-kill-override): Remove unused local variable.
5875 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5876 (ses-load): Use ignore-errors, looking-at-p.
5877 (ses-jump-safe): Use ignore-errors.
5878 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5879
5880 * tabify.el (untabify, tabify): Mark unused arguments.
5881
5882 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5883 Mark unused argument.
5884 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5885 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5886
c880af52
JB
5887 * emacs-lisp/timer.el (timer--time): Define setter with
5888 gv-define-setter to avoid deprecation warning.
5889
5660113b 5890 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5891 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5892 (cmpl-statistics-block): Remove (body was commented out).
5893 All callers changed.
5894 (add-completions-from-buffer, load-completions-from-file):
5895 Remove unused variables.
5896
156aab80
JB
58972013-08-09 Juanma Barranquero <lekktu@gmail.com>
5898
5c5dee78
JB
5899 * filecache.el (file-cache-delete-file-list):
5900 Print message only when told so.
5901 (file-cache-files-matching): Use #' in mapconcat argument.
5902
156aab80
JB
5903 * ffap.el (ffap-url-at-point): Fix reference to variable
5904 thing-at-point-default-mail-uri-scheme.
5905
ad9dcd70
SM
59062013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5907
54bd972f
SM
5908 * subr.el (define-error): New function.
5909 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5910 error-file-not-found and define with define-error.
5911 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5912 and define with define-error.
5913 * userlock.el (file-locked, file-supersession):
5914 * simple.el (mark-inactive):
5915 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5916 * progmodes/ada-mode.el (ada-mode-errors):
5917 * play/life.el (life-extinct):
5918 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5919 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5920 * nxml/rng-util.el (rng-error):
5921 * nxml/rng-uri.el (rng-uri-error):
5922 * nxml/rng-match.el (rng-compile-error):
5923 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5924 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5925 * nxml/nxml-rap.el (nxml-scan-error):
5926 * nxml/nxml-outln.el (nxml-outline-error):
5927 * net/soap-client.el (soap-error):
5928 * net/gnutls.el (gnutls-error):
5929 * net/ange-ftp.el (ftp-error):
5930 * mpc.el (mpc-proc-error):
5931 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5932 (json-number-format, json-string-escape, json-string-format)
5933 (json-key-format, json-object-format):
5934 * jka-compr.el (compression-error):
5935 * international/quail.el (quail-error):
5936 * international/kkc.el (kkc-error):
5937 * emacs-lisp/ert.el (ert-test-failed):
5938 * calc/calc.el (calc-error, inexact-result, math-overflow)
5939 (math-underflow):
5940 * bookmark.el (bookmark-error-no-filename):
5941 * epg.el (epg-error): Define with define-error.
5942
0ea9e53a
SM
5943 * time.el (display-time-event-handler)
5944 (display-time-next-load-average): Don't call sit-for since it seems
5945 unnecessary (bug#15045).
5946
b0429158
SM
5947 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5948 Use #' instead of ' to quote functions.
5949 (checkdoc-output-mode): Use setq-local.
5950 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5951 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5952 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5953 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5954 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5955 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5956 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5957 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5958
ad9dcd70
SM
5959 * ido.el (ido-completion-help): Fix up compiler warning.
5960
77187e6f
JB
59612013-08-09 Juanma Barranquero <lekktu@gmail.com>
5962
5963 * frameset.el (frameset-p): Add autoload cookie.
5964 (frameset--jump-to-register): New function, based on code moved from
5965 register.el.
5966 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5967
5968 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5969 (frameset-restore, frameset-save, frameset-session-filter-alist):
5970 Remove declarations.
5971 (register-alist): Doc fix.
5972 (frameset-to-register): Move to frameset.el.
5973 (jump-to-register, describe-register-1): Remove frameset-specific code.
5974
9d3aa82c
JB
59752013-08-08 Juanma Barranquero <lekktu@gmail.com>
5976
5977 * allout-widgets.el (allout-widgets-pre-command-business)
5978 (allout-widgets-post-command-business)
5979 (allout-widgets-after-change-handler)
5980 (allout-decorate-item-and-context, allout-set-boundary-marker)
5981 (allout-body-modification-handler)
5982 (allout-graphics-modification-handler): Mark ignored arguments.
5983 (allout-widgets-post-command-business)
5984 (allout-widgets-exposure-change-processor)
5985 (allout-widgets-exposure-undo-processor)
5986 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5987 (allout-parse-item-at-point, allout-decorate-item-guides)
5988 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5989 * allout.el (epa-passphrase-callback-function): Declare.
5990 (allout-overlay-insert-in-front-handler)
5991 (allout-overlay-interior-modification-handler)
5992 (allout-isearch-end-handler, allout-chart-siblings)
5993 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5994 (allout-yank-processing, allout-process-exposed)
5995 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5996 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5997 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5998 (lisp-indent-defform): Mark ignored arguments.
5999 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6000 (calculate-lisp-indent): Remove unused variables.
6001 * international/characters.el (indian-2-column, arabic-2-column)
6002 (tibetan): Mark ignored arguments.
6003 (use-cjk-char-width-table): Mark ignored arguments.
6004 Remove unused variables.
6005 * international/fontset.el (build-default-fontset-data)
6006 (x-compose-font-name, create-fontset-from-fontset-spec):
6007 Mark ignored arguments.
6008 (fontset-plain-name): Remove unused variables.
6009 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6010 (keyboard-coding-system): Mark ignored arguments.
6011 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6012 * help.el (resize-temp-buffer-window):
6013 * window.el (display-buffer-in-major-side-window)
6014 (display-buffer-in-side-window, display-buffer-in-previous-window):
6015 Remove unused variables.
6016 * isearch.el (isearch-forward-symbol):
6017 * version.el (emacs-bzr-version-bzr):
6018 * international/mule-cmds.el (current-language-environment):
6019 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6020 (x-handle-display):
6021 * term/pc-win.el (x-list-fonts, x-display-planes)
6022 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6023 (x-server-version, x-display-screens, x-display-mm-height)
6024 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6025 (x-selection-owner-p, x-own-selection-internal)
6026 (x-disown-selection-internal, x-get-selection-internal)
6027 (msdos-initialize-window-system):
6028 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6029 * term/x-win.el (x-handle-no-bitmap-icon):
6030 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6031 (vc-default-find-file-hook, vc-default-extra-menu):
6032 Mark ignored arguments.
6033
0ca3f70e
SM
60342013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6035
6036 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6037 break-condition in the context of the debugged code (bug#12685).
6038
74c5d24c
CS
60392013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6040
6041 * comint.el:
6042 Do not use an overlay to highlight the last prompt. (Bug#14744)
6043 (comint-mode): Make comint-last-prompt buffer local.
6044 (comint-last-prompt): New variable.
6045 (comint-last-prompt-overlay): Remove. Superseded by
6046 comint-last-prompt.
0ca3f70e
SM
6047 (comint-snapshot-last-prompt, comint-output-filter):
6048 Use comint-last-prompt.
74c5d24c 6049
c03c02ee
JB
60502013-08-08 Juanma Barranquero <lekktu@gmail.com>
6051
a3738d20 6052 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6053 (frameset-save): Check validity of the resulting frameset.
6054
04263d23
XF
60552013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6056
6057 * ido.el (ido-record-command): Add doc string.
6058
76c5e5ab
JB
60592013-08-08 Juanma Barranquero <lekktu@gmail.com>
6060
6061 * frameset.el (frameset): Do not disable creation of the default
6062 frameset-p predicate. Doc fix.
6063 (frameset-valid-p): New function, copied from the old predicate-p.
6064 Add additional checks.
6065 (frameset-restore): Check with frameset-valid-p.
6066 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6067 (frameset-name, frameset-description, frameset-properties)
6068 (frameset-states): Add docstring.
f9dbf1cb
JB
6069 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6070 (frameset-filter-alist): Doc fixes.
76c5e5ab 6071
bd0c3c0b
JB
60722013-08-08 Juanma Barranquero <lekktu@gmail.com>
6073
6074 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6075
c735544c
SM
60762013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6077
6078 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6079 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6080 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6081 (byte-compile-normal-call): Remove obsolescence check.
6082
2805a651
JB
60832013-08-08 Juanma Barranquero <lekktu@gmail.com>
6084
3677ffeb
JB
6085 * frameset.el (frameset-restore): Doc fix.
6086
2805a651
JB
6087 * register.el (frameset-frame-id, frameset-frame-with-id)
6088 (frameset-p, frameset-restore, frameset-save): Declare.
6089 (register-alist): Document framesets.
6090 (frameset-session-filter-alist): Declare.
6091 (frameset-to-register): New function.
6092 (jump-to-register): Implement jumping to framesets. Doc fix.
6093 (describe-register-1): Describe framesets.
6094
6095 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6096
a912c016
JB
60972013-08-07 Juanma Barranquero <lekktu@gmail.com>
6098
6099 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6100 Use lexical-binding.
6101
6102 * frameset.el (frameset): Use type vector, not list (incompatible
6103 change). Do not declare a new constructor, use the default one.
6104 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6105 `name' and `description', respectively, and add read-only slot
6106 `timestamp'. Doc fixes.
6107 (frameset-copy, frameset-persistent-filter-alist)
6108 (frameset-filter-alist, frameset-switch-to-gui-p)
6109 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6110 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6111 (frameset-filter-iconified, frameset-keep-original-display-p):
6112 Doc fixes.
6113 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6114 Rename from frameset-filter-(save|restore)-param. All callers changed.
6115 Doc fix.
6116 (frameset-p): Adapt to change to vector and be more thorough.
6117 Change arg name to OBJECT. Doc fix.
6118 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6119 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6120 All callers changed.
6121 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6122 All callers changed.
6123 (frameset--record-minibuffer-relationships): Rename from
6124 frameset--process-minibuffer-frames. All callers changed.
6125 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6126 Use new default constructor (again). Doc fix.
6127 (frameset--find-frame-if): Rename from `frameset--find-frame.
6128 All callers changed.
6129 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6130 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6131 Doc fix.
6132 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6133 PARAMETERS and WINDOW-STATE, respectively.
6134 (frameset-restore): Add new keyword argument PREDICATE.
6135 Reset frameset--target-display to nil. Doc fix.
6136
bb41480a
SM
61372013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6138
f001e98e
SM
6139 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6140 (bat-mode): Use it.
6141 (bat-mode-syntax-table): Mark \n as end-of-comment.
6142 (bat-font-lock-keywords): Remove comment rule.
6143
7679edb1
SM
6144 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6145 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6146
bb41480a
SM
6147 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6148 (byte-compile-callargs-warn): Use `push'.
6149 (byte-compile-arglist-warn): Ignore higher-order "calls".
6150 (byte-compile-file-form-autoload): Use `pcase'.
6151 (byte-compile-function-form): If quoting a symbol, check that it exists.
6152
cdc1ebb9
EZ
61532013-08-07 Eli Zaretskii <eliz@gnu.org>
6154
6155 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6156 and add a few popular commands found in batch files.
6157 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6158 (dos-mode): Doc fixes.
6159
312b1740
SM
61602013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6161
6162 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6163 (dos-mode): Use setq-local. Add space after "rem".
6164 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6165 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6166
400a3178
AM
61672013-08-07 Arni Magnusson <arnima@hafro.is>
6168
6169 * progmodes/dos.el: New file.
6170 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6171 dos-mode.
6172
3b5c03d3
GM
61732013-08-06 Glenn Morris <rgm@gnu.org>
6174
6175 * calendar/calendar.el: Add new faces, and day-header-array.
6176 (calendar-weekday-header, calendar-weekend-header)
6177 (calendar-month-header): New faces.
6178 (calendar-day-header-construct): New function.
6179 (calendar-day-header-width): Also :set calendar-day-header-array.
6180 (calendar-american-month-header, calendar-european-month-header)
6181 (calendar-iso-month-header): Use calendar- faces.
6182 (calendar-generate-month):
6183 Use calendar-day-header-array for day headers; apply faces to them.
6184 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6185 (calendar-abbrev-construct): Add optional maxlen argument.
6186 (calendar-day-name-array): Doc fix.
6187 (calendar-day-name-array, calendar-abbrev-length)
6188 (calendar-day-abbrev-array):
6189 Also :set calendar-day-header-array, and maybe redraw.
6190 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6191 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6192 (calendar-day-name): Add option to use header array.
6193
ec6a2d7a
LMI
61942013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6195
6196 * net/shr.el (shr-render-td): Remove debugging.
6197 (shr-render-td): Make width computation consistent by defaulting
6198 all zero-width columns to 10 characters. This may not be optimal,
6199 but it's at least consistent.
2122cb6d
LMI
6200 (shr-make-table-1): Redo last change to fix the real problem in
6201 colspan handling.
ec6a2d7a 6202
ed4fd9c5
DA
62032013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6204
0ca3f70e
SM
6205 * files.el (cache-long-line-scans):
6206 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6207
64e22afe
JB
62082013-08-06 Juanma Barranquero <lekktu@gmail.com>
6209
024b38fc
JB
6210 * frameset.el (frameset, frameset-filter-alist)
6211 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6212 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6213 (frameset-compute-pos): Rename from frameset--compute-pos,
6214 and add docstring.
6215 (frameset-move-onscreen): Use frameset-compute-pos.
6216 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6217
64e22afe
JB
6218 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6219 Fix typos in docstrings.
6220
c8c2aca8
DA
62212013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6222
6223 * frame.el (get-other-frame): Tiny cleanup.
6224
1d237bba
JB
62252013-08-06 Juanma Barranquero <lekktu@gmail.com>
6226
8951efef
JB
6227 * vc/vc.el (vc-default-ignore-completion-table):
6228 Silence byte-compiler warning.
6229
307764cc
JB
6230 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6231 slot , which can indeed be nil.
6232 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6233 Move entry for `left' from persistent to live filter alist.
6234 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6235 Doc fixes.
6236 (frameset-filter-params): When restoring a frame, copy items added to
6237 `filtered', to avoid unwittingly modifying the original parameters.
6238 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6239 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6240
1d237bba
JB
6241 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6242 to use looking-at-p instead of looking-at. (Bug#15028)
6243
dc6c0eda
SM
62442013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6245
6246 Revert introduction of isearch-filter-predicates (bug#14714).
6247 Rely on add-function instead.
6248 * isearch.el (isearch-filter-predicates): Rename it back to
6249 isearch-filter-predicate.
6250 (isearch-message-prefix): Use advice-function-mapc and advice
6251 properties to get the isearch-message-prefix.
6252 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6253 instead of run-hook-with-args-until-failure.
6254 (isearch-filter-visible): Not obsolete any more.
6255 * loadup.el: Preload nadvice.
6256 * replace.el (perform-replace): Revert to funcall
6257 instead of run-hook-with-args-until-failure.
6258 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6259 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6260 dired-isearch-filenames-toggle; make it into a proper minor mode.
6261 Use add/remove-function.
6262 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6263 Call the minor-mode rather than add/remove-hook.
6264 (dired-isearch-filter-filenames):
6265 Remove isearch-message-prefix property.
6266 * info.el (Info--search-loop): New function, extracted from Info-search.
6267 Funcall isearch-filter-predicate instead of
6268 run-hook-with-args-until-failure isearch-filter-predicates.
6269 (Info-search): Use it.
6270 (Info-mode): Use isearch-filter-predicate instead of
6271 isearch-filter-predicates.
6272
290d5b58
DA
62732013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6274
6275 Do not call to `selected-window' where it is assumed by default.
6276 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6277 `window-hscroll', `window-width', `window-height', `window-buffer',
6278 `window-frame', `window-start', `window-point', `next-window'
6279 and `window-display-table'.
6280 * abbrev.el (abbrev--default-expand):
6281 * bs.el (bs--show-with-configuration):
6282 * buff-menu.el (Buffer-menu-mouse-select):
6283 * calc/calc.el (calc):
6284 * calendar/calendar.el (calendar-generate-window):
6285 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6286 (diary-make-entry):
6287 * comint.el (send-invisible, comint-dynamic-complete-filename)
6288 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6289 * completion.el (complete):
6290 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6291 * disp-table.el (describe-current-display-table):
6292 * doc-view.el (doc-view-insert-image):
6293 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6294 * ehelp.el (with-electric-help):
6295 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6296 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6297 * emacs-lisp/helper.el (Helper-help-scroller):
6298 * emulation/cua-base.el (cua--post-command-handler-1):
6299 * eshell/esh-mode.el (eshell-output-filter):
6300 * ffap.el (ffap-gnus-wrapper):
6301 * help-macro.el (make-help-screen):
6302 * hilit-chg.el (highlight-compare-buffers):
6303 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6304 * hl-line.el (global-hl-line-highlight):
6305 * icomplete.el (icomplete-simple-completing-p):
6306 * isearch.el (isearch-done):
6307 * jit-lock.el (jit-lock-stealth-fontify):
6308 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6309 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6310 * mpc.el (mpc-tagbrowser, mpc):
6311 * net/rcirc.el (rcirc-any-buffer):
6312 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6313 * play/landmark.el (landmark-max-width, landmark-max-height):
6314 * play/zone.el (zone):
6315 * progmodes/compile.el (compilation-goto-locus):
6316 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6317 * progmodes/etags.el (find-tag-other-window):
6318 * progmodes/fortran.el (fortran-column-ruler):
6319 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6320 * progmodes/verilog-mode.el (verilog-point-text):
6321 * reposition.el (reposition-window):
6322 * rot13.el (toggle-rot13-mode):
6323 * server.el (server-switch-buffer):
6324 * shell.el (shell-dynamic-complete-command)
6325 (shell-dynamic-complete-environment-variable):
6326 * simple.el (insert-buffer, set-selective-display)
6327 (delete-completion-window):
6328 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6329 (speedbar-recenter):
6330 * startup.el (fancy-splash-head):
6331 * textmodes/ispell.el (ispell-command-loop):
6332 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6333 * tutorial.el (help-with-tutorial):
6334 * vc/add-log.el (add-change-log-entry):
6335 * vc/compare-w.el (compare-windows):
6336 * vc/ediff-help.el (ediff-indent-help-message):
6337 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6338 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6339 (ediff-setup-control-frame):
6340 * vc/emerge.el (emerge-position-region):
6341 * vc/pcvs-util.el (cvs-bury-buffer):
6342 * window.el (walk-windows, mouse-autoselect-window-select):
6343 * winner.el (winner-set-conf, winner-undo): Related users changed.
6344
38276e01
JB
63452013-08-05 Juanma Barranquero <lekktu@gmail.com>
6346
6347 * frameset.el (frameset--set-id): Doc fix.
6348 (frameset-frame-id, frameset-frame-id-equal-p)
6349 (frameset-locate-frame-id): New functions.
6350 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6351 (frameset-restore): Use them.
6352
12b4c0ea
DA
63532013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6354
6355 Do not call to `selected-frame' where it is assumed by default.
6356 Affected functions are `raise-frame', `redraw-frame',
6357 `frame-first-window', `frame-terminal' and `delete-frame'.
6358 * calendar/appt.el (appt-disp-window):
6359 * epg.el (epg-wait-for-completion):
6360 * follow.el (follow-delete-other-windows-and-split)
6361 (follow-avoid-tail-recenter):
6362 * international/mule.el (set-terminal-coding-system):
6363 * mail/rmail.el (rmail-mail-return):
6364 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6365 * progmodes/f90.el (f90-add-imenu-menu):
6366 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6367 * server.el (server-switch-buffer):
6368 * simple.el (delete-completion-window):
6369 * talk.el (talk):
6370 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6371 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6372 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6373 * vc/ediff.el (ediff-documentation): Related users changed.
6374 * frame.el (selected-terminal): Remove the leftover.
6375
17f25e76
GM
63762013-08-05 Glenn Morris <rgm@gnu.org>
6377
6378 * calendar/calendar.el (calendar-generate-month):
6379 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6380 (calendar-generate-month, calendar-font-lock-keywords):
6381 Fix for calendar-day-header-width > length of any day name.
17f25e76 6382
063233c3
JB
63832013-08-05 Juanma Barranquero <lekktu@gmail.com>
6384
6385 * desktop.el (desktop-clear): Use new name of sort predicate.
6386
6387 * frameset.el (frameset): Add docstring. Move :version property to its
6388 own `version' slot.
6389 (frameset-copy): Rename from copy-frameset.
6390 (frameset-p): Check more thoroughly.
6391 (frameset-prop): Do not check for :version, which is no longer a prop.
6392 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6393 Use new :never value instead of t.
6394 (frameset-filter-alist): Expand and clarify docstring.
6395 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6396 (frameset-filter-minibuffer, frameset-filter-save-param)
6397 (frameset-filter-restore-param, frameset-filter-iconified):
6398 Add pointer to docstring of frameset-filter-alist.
6399 (frameset-filter-params): Rename filter values to be more meaningful:
6400 :never instead of t, and reverse the meanings of :save and :restore.
6401 (frameset--process-minibuffer-frames): Clarify error message.
6402 (frameset-save): Avoid unnecessary and confusing call to framep.
6403 Use new BOA constructor for framesets.
6404 (frameset--reuse-list): Doc fix.
6405 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6406 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6407 (frameset-minibufferless-first-p): Doc fix.
6408 Rename from frameset-sort-frames-for-deletion.
6409 (frameset-restore): Doc fixes. Use new function names.
6410 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6411
d5671a82
JB
64122013-08-04 Juanma Barranquero <lekktu@gmail.com>
6413
6414 * desktop.el (desktop-restore-forces-onscreen)
6415 (desktop-restore-reuses-frames): Document :keyword constant values.
6416 (desktop-filter-parameters-alist): Remove, now identical to
6417 frameset-filter-alist.
6418 (desktop--filter-tty*): Remove, moved to frameset.el.
6419 (desktop-save-frameset, desktop-restore-frameset):
6420 Do not pass :filters argument.
6421
6422 * frameset.el (frameset-live-filter-alist)
6423 (frameset-persistent-filter-alist): New variables.
6424 (frameset-filter-alist): Use them. Add autoload cookie.
6425 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6426 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6427 `frameset--id' (it's supposed to be internal to frameset.el).
6428 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6429 (frameset--initial-params): New function.
6430 (frameset--get-frame): Use it. Doc fix.
6431 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6432 Accept :all, not 'all.
6433 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6434 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6435 with fbound symbols. Fix frame id matching, and remove matching ids if
6436 the frame being restored is deleted. Obey :delete.
6437
671d5c16
SM
64382013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6439
6440 * subr.el (macrop): New function.
6441 (text-clone--maintaining): New var.
6442 (text-clone--maintain): Rename from text-clone-maintain. Use it
6443 instead of inhibit-modification-hooks.
6444
6445 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6446 a proxy, so as handle autoloads and redefinitions of the target.
6447 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6448
6449 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6450 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6451 (pcase--mutually-exclusive-p): New function.
6452 (pcase--split-consp): Use it.
6453 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6454 mutually exclusive with the current predicate.
6455
6456 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6457 (edebug-macrop): Remove. Use `macrop' instead.
6458 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6459 (ad-macro-p):
6460 * eshell/esh-cmd.el (eshell-macrop):
6461 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6462
1d44e9dc
SM
64632013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6466 (advice-mapc): New function, using it.
6467 (advice-function-member-p): New function.
6468 (advice--normalize): Store the cdr in advice--saved-rewrite since
6469 that's the part that will be changed.
6470 (advice--symbol-function): New function.
6471 (advice-remove): Handle removal before the function is defined.
6472 Adjust to new advice--saved-rewrite.
6473 (advice-member-p): Use advice-function-member-p and
6474 advice--symbol-function.
6475
5414a283
JB
64762013-08-04 Juanma Barranquero <lekktu@gmail.com>
6477
51d30f2c
JB
6478 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6479 (frameset-filter-minibuffer): Doc fix.
6480 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6481 (frameset--set-id, frameset--process-minibuffer-frames)
6482 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6483 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6484
5414a283
JB
6485 * desktop.el (desktop-clear): Only delete frames when called
6486 interactively and desktop-restore-frames is non-nil. Doc fix.
6487 (desktop-read): Set desktop-saved-frameset to nil.
6488
ab419665
XF
64892013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6490
6491 * vc/vc.el (vc-ignore): Rewrite.
6492 (vc-default-ignore-completion-table):
6493 (vc--read-lines):
6494 (vc--add-line, vc--remove-regexp): New functions.
6495
6496 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6497 (vc-svn-ignore-completion-table): New function.
6498
6499 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6500 (vc-hg-ignore-completion-table):
6501 (vc-hg-find-ignore-file): New functions.
6502
6503 * vc/vc-git.el (vc-git-ignore): Rewrite.
6504 (vc-git-ignore-completion-table):
6505 (vc-git-find-ignore-file): New functions.
6506
6507 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6508
6509 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6510 (vc-bzr-ignore-completion-table):
6511 (vc-bzr-find-ignore-file): New functions.
6512
2613dea2
JB
65132013-08-03 Juanma Barranquero <lekktu@gmail.com>
6514
6515 * frameset.el (frameset-prop): New function and setter.
6516 (frameset-save): Do not modify frame list passed by the caller.
6517
9c959872
SM
65182013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6519
6520 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6521
a104f656
SM
65222013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6523
70122acf
SM
6524 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6525 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6526
a104f656
SM
6527 * custom.el (custom-initialize-default, custom-initialize-set)
6528 (custom-initialize-reset, custom-initialize-changed): Affect the
6529 toplevel-default-value (bug#6275, bug#14586).
6530 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6531 for bug#6275.
6532
f078d570
JB
65332013-08-02 Juanma Barranquero <lekktu@gmail.com>
6534
185e3b5a
JB
6535 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6536 Add cl-def* expressions.
6537
f078d570
JB
6538 * frameset.el (frameset-filter-params): Fix order of arguments.
6539
9421876d
JB
65402013-08-02 Juanma Barranquero <lekktu@gmail.com>
6541
6542 Move code related to saving frames to frameset.el.
6543 * desktop.el: Require frameset.
6544 (desktop-restore-frames): Doc fix.
6545 (desktop-restore-reuses-frames): Rename from
6546 desktop-restoring-reuses-frames.
6547 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6548 (desktop-clear): Clear frames too.
6549 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6550 (desktop--filter-tty*, desktop-save, desktop-read):
6551 Use frameset functions.
6552 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6553 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6554 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6555 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6556 (desktop--process-minibuffer-frames, desktop-save-frames)
6557 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6558 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6559 (desktop--sort-states, desktop-restoring-frames-p)
6560 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6561 (desktop-restoring-frameset-p, desktop-restore-frameset)
6562 (desktop--check-dont-save, desktop-save-frameset): New functions.
6563 (desktop--app-id): New constant.
6564 (desktop-first-buffer, desktop-buffer-ok-count)
6565 (desktop-buffer-fail-count): Move before first use.
6566 * frameset.el: New file.
6567
76dc5996
SM
65682013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6569
6570 * files.el: Use lexical-binding.
6571 (dir-locals-read-from-file): Remove unused `err' variable.
6572 (hack-dir-local-variables--warned-coding): New var.
6573 (hack-dir-local-variables): Use it to avoid repeated warnings.
6574 (make-backup-file-name--default-function): New function.
6575 (make-backup-file-name-function): Use it as default.
6576 (buffer-stale--default-function): New function.
6577 (buffer-stale-function): Use it as default.
6578 (revert-buffer-insert-file-contents--default-function): New function.
6579 (revert-buffer-insert-file-contents-function): Use it as default.
6580 (insert-directory): Avoid add-to-list.
6581
6582 * autorevert.el (auto-revert-handler): Simplify.
6583 Use buffer-stale--default-function.
6584
06d36e2b
TH
65852013-08-01 Tassilo Horn <tsdh@gnu.org>
6586
5f648ab4
TH
6587 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6588
06d36e2b
TH
6589 * whitespace.el (whitespace-ensure-local-variables): New function.
6590 (whitespace-cleanup-region): Call it.
6591 (whitespace-turn-on): Call it.
6592
a43dc424
MA
65932013-08-01 Michael Albinus <michael.albinus@gmx.de>
6594
6595 Complete file name handlers.
6596
6597 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6598 (tramp-handle-verify-visited-file-modtime)
6599 (tramp-handle-file-notify-rm-watch): New functions.
6600 (tramp-call-process): Do not bind `default-directory'.
6601
44e18199
JB
6602 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6603 Order alphabetically.
a43dc424
MA
6604 [access-file, add-name-to-file, dired-call-process]:
6605 [dired-compress-file, file-acl, file-notify-rm-watch]:
6606 [file-ownership-preserved-p, file-selinux-context]:
6607 [make-directory-internal, make-symbolic-link, set-file-acl]:
6608 [set-file-selinux-context, set-visited-file-modtime]:
6609 [verify-visited-file-modtime]: Add handler.
6610 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6611
6612 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6613 [file-notify-add-watch, file-notify-rm-watch]:
6614 [set-file-times, set-visited-file-modtime]:
6615 [verify-visited-file-modtime]: Add handler.
6616 (with-tramp-gvfs-error-message)
6617 (tramp-gvfs-handle-set-visited-file-modtime)
6618 (tramp-gvfs-fuse-file-name): Remove.
6619 (tramp-gvfs-handle-file-notify-add-watch)
6620 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6621 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6622
44e18199
JB
6623 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6624 Order alphabetically.
a43dc424
MA
6625 [file-notify-rm-watch ]: Use default Tramp handler.
6626 [executable-find]: Remove private handler.
6627 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6628 `default-directory'.
6629 (tramp-sh-handle-executable-find)
6630 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6631 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6632 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6633 Do not use `format' in `tramp-message'.
6634
6635 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6636 [file-notify-rm-watch, set-visited-file-modtime]:
6637 [verify-visited-file-modtime]: Add handler.
6638 (tramp-smb-call-winexe): Do not bind `default-directory'.
6639
7188b515
XF
66402013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6641
6642 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6643
2412ee1a
DG
66442013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6645
6646 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6647 use it.
6648 (log-view-diff-changeset): Same.
6649 (log-view-diff-common): Call backend command `previous-revision'
6650 to find out the previous revision, in both cases. Swap the
6651 variables `to' and `fr', so that `fr' usually refers to the
6652 earlier revision (Bug#14989).
6653
5002a754
KRC
66542013-07-31 Kan-Ru Chen <kanru@kanru.info>
6655
6656 * ibuf-ext.el (ibuffer-filter-by-filename):
6657 Make it work with dired buffers too.
6658
44e18199 66592013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6660
6661 * emacs-lisp/re-builder.el (reb-color-display-p):
6662 * files.el (save-buffers-kill-terminal):
6663 * net/browse-url.el (browse-url):
6664 * server.el (server-save-buffers-kill-terminal):
6665 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6666 Prefer nil to selected-frame for the first arg of frame-parameter.
6667
aeca3fbb
XF
66682013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6669
6670 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6671
158bc55c
SB
66722013-07-30 Stephen Berman <stephen.berman@gmx.net>
6673
6674 * minibuffer.el (completion--twq-all): Try and preserve each
6675 completion's case choice (bug#14907).
6676
d50fceab
LMI
66772013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6678
ac38e731
LMI
6679 * net/network-stream.el (open-network-stream): Mention the new
6680 :nogreeting parameter.
6681 (network-stream-open-starttls): Use the :nogreeting parameter
6682 (bug#14938).
6683
1211de50
LMI
6684 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6685
997798bf
LMI
6686 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6687 more natural than popping.
6688
d50fceab 6689 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6690 (shr-urlify): Highlight under mouse.
d50fceab 6691
5c09de04
XF
66922013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6693
207d1d04
XF
6694 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6695
6696 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6697
5c09de04
XF
6698 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6699 buffer for output.
6700
3cd51eaa
XF
6701 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6702 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6703
44e18199 6704 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6705 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6706
6707 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6708
6709 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6710 buffer for output.
6711
35a89bdd
EZ
67122013-07-29 Eli Zaretskii <eliz@gnu.org>
6713
6714 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6715 initial frame is minibuffer-less. (Bug#14841)
6716
78822e94
MA
67172013-07-29 Michael Albinus <michael.albinus@gmx.de>
6718
6719 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6720 option.
6721
6722 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6723 (tramp-maybe-open-connection): Use it.
6724
9503c190
JB
67252013-07-28 Juanma Barranquero <lekktu@gmail.com>
6726
6727 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6728 minimal set of parameters passed when creating a frame, because
6729 the minibuffer status of a frame cannot be changed later.
6730
d5a845b4
SB
67312013-07-28 Stephen Berman <stephen.berman@gmx.net>
6732
6733 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6734 replace-regexp-in-string and inadvertent omissions in previous change.
6735 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6736 name of filtered items buffer.
d5a845b4 6737
ddeffb17
JB
67382013-07-28 Juanma Barranquero <lekktu@gmail.com>
6739
6740 * desktop.el: Optionally force offscreen frames back onscreen.
6741 (desktop-restoring-reuses-frames): New option.
6742 (desktop--compute-pos, desktop--move-onscreen): New functions.
6743 (desktop--make-frame): Use desktop--move-onscreen.
6744
f5950f7a
AM
67452013-07-27 Alan Mackenzie <acm@muc.de>
6746
6747 Fontify a Java generic method as a function.
6748 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6749 value to t.
6750
ae43b66a
SB
67512013-07-27 Stephen Berman <stephen.berman@gmx.net>
6752
6753 * calendar/todo-mode.el: Add command to rename todo files.
6754 (todo-rename-file): New command.
6755 (todo-key-bindings-t): Add key binding for it. Change the
6756 bindings of todo-filter-regexp-items(-multifile) to use `x'
6757 instead of `r', since the latter is better suited to the new
6758 renaming command.
6759
5ab78d3d
AM
67602013-07-27 Alan Mackenzie <acm@muc.de>
6761
6762 Make Java try-with-resources statement parse properly.
6763 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6764 (c-block-stmt-1-2-key): New language constants/variables.
6765 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6766 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6767 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6768 with c-block-stmt-1-2-key.
5ab78d3d 6769
d85c4d50
JB
67702013-07-27 Juanma Barranquero <lekktu@gmail.com>
6771
6772 * desktop.el (desktop--make-frame): Apply most frame parameters after
6773 creating the frame to force (partially or totally) offscreen frames to
6774 be restored as such.
6775
e4c467f9
XF
67762013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6777
6778 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6779 (Bug#14948)
e4c467f9 6780
7ced0d04
SM
67812013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6782
6783 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6784 `base' arg of backtrace-frame.
6785
fec92060
EZ
67862013-07-26 Eli Zaretskii <eliz@gnu.org>
6787
6788 * simple.el (list-processes): Doc fix.
6789
d58d31fb
JB
67902013-07-26 Juanma Barranquero <lekktu@gmail.com>
6791
6792 * desktop.el (desktop--select-frame):
d85c4d50 6793 Try harder to reuse existing frames.
d58d31fb 6794
53ff3e77
SM
67952013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6796
6797 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6798 (edebug-eval): Use backtrace-eval.
6799 (edebug--display, edebug--recursive-edit): Don't let-bind the
6800 edebug-outer-* vars that keep track of variables we locally let-bind.
6801 (edebug-outside-excursion): Don't restore outside values of locally
6802 let-bound vars.
6803 (edebug--display): Use user-error.
6804 (cl-lexical-debug, cl-debug-env): Remove.
6805
045f7a53
JB
68062013-07-26 Juanma Barranquero <lekktu@gmail.com>
6807
6808 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6809 are restored to be sure that they are visible before deleting any
6810 remaining ones.
6811
59070b32
MM
68122013-07-26 Matthias Meulien <orontee@gmail.com>
6813
742a3501
XF
6814 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6815 vc-print-root-log. (Bug#14948)
59070b32 6816
b1fb3596
RS
68172013-07-26 Richard Stallman <rms@gnu.org>
6818
6819 Add aliases for encrypting mail.
6820 * epa.el (epa-mail-aliases): New option.
6821 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6822 Bind inhibit-read-only so read-only text doesn't ruin everything.
6823 (epa-mail-default-recipients): New subroutine broken out.
6824 Handle epa-mail-aliases.
6825
56ea7291
SM
68262013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6827
6828 Add support for lexical variables to the debugger's `e' command.
6829 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6830 vars, except for debugger-outer-match-data.
6831 (debugger-frame-number): Move check for "on a function call" from
6832 callers into it. Add `skip-base' argument.
6833 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6834 (debugger-env-macro): Only reset the state stored in non-variables,
6835 i.e. current-buffer and match-data.
6836 (debugger-eval-expression): Rewrite using backtrace-eval.
6837 * subr.el (internal--called-interactively-p--get-frame): Remove.
6838 (called-interactively-p):
6839 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6840 `base' arg of backtrace-frame instead.
6841
15ac32d5
GM
68422013-07-26 Glenn Morris <rgm@gnu.org>
6843
8358a09d
GM
6844 * align.el (align-regexp): Doc fix. (Bug#14857)
6845 (align-region): Explicit error if subexpression missing/does not match.
6846
15ac32d5
GM
6847 * simple.el (global-visual-line-mode):
6848 Do not duplicate the mode lighter. (Bug#14858)
6849
f47ad11b
MR
68502013-07-25 Martin Rudalics <rudalics@gmx.at>
6851
6852 * window.el (display-buffer): In display-buffer bind
6853 split-window-keep-point to t, bug#14829.
6854
02530987
JB
68552013-07-25 Juanma Barranquero <lekktu@gmail.com>
6856
6857 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6858 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6859 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6860 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6861 Change accordingly.
f63ebeb5
JB
6862 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6863 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6864
6ccb9cab 68652013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6866
6ccb9cab 6867 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6868
cb3a56d2
JB
68692013-07-25 Juanma Barranquero <lekktu@gmail.com>
6870
6871 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6872 parameter to modify-frame-parameters if the value has not changed;
6873 this is a workaround for bug#14949.
6874 (desktop--make-frame): On cl-delete-if call, check parameter name,
6875 not full parameter.
6876
7aa7fff0
XF
68772013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6878
6879 * vc/vc.el (vc-ignore): New function.
6880
6881 * vc/vc-svn.el (vc-svn-ignore): New function.
6882
6883 * vc/vc-hg.el (vc-hg-ignore): New function.
6884
6885 * vc/vc-git.el (vc-git-ignore): New function.
6886
6887 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6888 (vc-dir-ignore): New function.
6889
6890 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6891 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6892
6893 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6894
6895 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6896
889acc5c
JB
68972013-07-24 Juanma Barranquero <lekktu@gmail.com>
6898
6899 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6900 (desktop-restore-frames): Warn when deleting an existing frame failed.
6901
86c40970
GM
69022013-07-24 Glenn Morris <rgm@gnu.org>
6903
6904 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6905
d5d3c58a
MA
69062013-07-24 Michael Albinus <michael.albinus@gmx.de>
6907
6908 * filenotify.el (file-notify-supported-p):
6909 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6910 Remove functions.
6911
6912 * autorevert.el (auto-revert-use-notify):
6913 (auto-revert-notify-add-watch):
6914 * net/tramp.el (tramp-file-name-for-operation):
6915 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6916 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6917 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6918 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6919 Remove `file-notify-supported-p' entry.
6920
d100084b
GM
69212013-07-24 Glenn Morris <rgm@gnu.org>
6922
6923 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6924 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6925
ac93e56b
SM
69262013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6927
249eea30
SM
6928 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6929 checked with memq (bug#14935).
6930
ac93e56b
SM
6931 * files.el (revert-buffer-function): Use a non-nil default.
6932 (revert-buffer-preserve-modes): Declare var to
6933 provide access to the `preserve-modes' argument.
6934 (revert-buffer): Let-bind it.
6935 (revert-buffer--default): New function, extracted from revert-buffer.
6936
2cdeb903
SM
69372013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6938
6939 * lpr.el: Signal print errors more prominently.
6940 (print-region-function): Don't default to nil.
6941 (lpr-print-region): New function, extracted from print-region-1.
6942 Check lpr's return value and signal an error in case of problem.
6943 (print-region-1): Use it.
6944 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6945 versions instead.
6946 (ps-printer-name): Default to nil.
6947 (ps-printer-name-option): Default to lpr-printer-switch.
6948 (ps-print-region-function): Don't default to nil.
6949 (ps-postscript-code-directory): Simplify default.
6950 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6951 (ps-string-list, ps-eval-switch, ps-flatten-list)
6952 (ps-flatten-list-1): Remove.
6953 (ps-multibyte-buffer): Avoid setq.
6954 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6955 (print-region-function, ps-print-region-function): Don't set them here.
6956
73600831
XF
69572013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6958
0e55c076
XF
6959 * ido.el (ido-fractionp):
6960 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6961 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6962 (ido-max-directory-size, ido-max-dir-file-cache)
6963 (ido-decorations): Doc fix.
6964
73600831
XF
6965 * ansi-color.el: Fix old URL.
6966
3d012865
MM
69672013-07-23 Michael R. Mauger <michael@mauger.com>
6968
e903c210 6969 * progmodes/sql.el: Version 3.3
3d012865
MM
6970 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6971 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6972 (sql-interactive-remove-continuation-prompt): Rewrite, use
6973 functions above. Fix continuation prompt and complete output line
6974 handling.
6975 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6976 redirected output buffer.
6977 (sql-mode): Restore deleted code (Bug#13591).
6978
da77a2e2
JB
69792013-07-23 Juanma Barranquero <lekktu@gmail.com>
6980
6981 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6982
80ff0c71
MA
69832013-07-23 Michael Albinus <michael.albinus@gmx.de>
6984
6985 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6986
6987 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6988 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6989 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6990
b61d71e4
JB
69912013-07-23 Juanma Barranquero <lekktu@gmail.com>
6992
6993 * desktop.el (desktop-clear): Simplify; remove useless checks
6994 against invalid buffer names.
6995 (desktop-list*): Use cl-list*.
6996 (desktop-buffer-info, desktop-create-buffer): Simplify.
6997
c3512092
LL
69982013-07-23 Leo Liu <sdl.web@gmail.com>
6999
7000 * bookmark.el (bookmark-make-record): Restore NAME as a default
7001 value. (Bug#14933)
7002
0ac26976
SM
70032013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7004
7d22ce18
SM
7005 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7006 extracted from autoload--insert-text.
7007 (autoload--insert-text): Remove.
7008 (autoload--print-cookie-text): New function, extracted from
7009 autoload--insert-cookie-text.
7010 (autoload--insert-cookie-text): Remove.
7011 (autoload-generate-file-autoloads): Adjust calls accordingly.
7012
9b2607e8
SM
7013 * winner.el (winner-hook-installed-p): Remove.
7014 (winner-mode): Simplify accordingly.
7015
c43a8618
SM
7016 * subr.el (add-to-list): Fix compiler-macro when `append' is
7017 not constant. Don't use `cl-member' for the base case.
7018
0ac26976
SM
7019 * progmodes/subword.el: Fix boundary case (bug#13758).
7020 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7021 own group.
7022 (subword-backward-regexp): Make it a constant.
7023 (subword-forward-internal): Don't treat a trailing capital as the
7024 beginning of a word.
7025
6874724a
AR
70262013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7027
7028 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7029 global value of tabulated-list-revert-hook (bug#14930).
7030
70f1b5e8
JB
70312013-07-22 Juanma Barranquero <lekktu@gmail.com>
7032
a1c80d9d
JB
7033 * desktop.el: Require 'cl-lib.
7034 (desktop-before-saving-frames-functions): New hook.
7035 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7036 for frames being saved. Rename from desktop--save-minibuffer-frames.
7037 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7038 Do not save frames with non-nil `desktop-dont-save' parameter.
7039 Filter out deleted frames.
a1c80d9d
JB
7040 (desktop--find-frame): Use cl-find-if.
7041 (desktop--select-frame): Use cl-(first|second|third) to access values
7042 of desktop-mini.
7043 (desktop--make-frame): Use cl-delete-if.
7044 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7045 (desktop-restore-frames): Use cl-(first|second|third) to access values
7046 of desktop-mini. Look for visible frame at the end, not while
7047 restoring frames.
7048
70f1b5e8
JB
7049 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7050 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7051 Use string-match-p, looking-at-p (bug#14927).
7052
728dc3cc
JB
70532013-07-21 Juanma Barranquero <lekktu@gmail.com>
7054
56bc453c
JB
7055 * desktop.el (desktop-saved-frame-states):
7056 Rename from desktop--saved-states; all users changed.
7057 (desktop-save-frames): Rename from desktop--save-frames.
7058 Do not save state to desktop file.
7059 (desktop-save): Save desktop-saved-frame-states to desktop file
7060 and reset to nil.
7061 (desktop-restoring-frames-p): New function.
7062 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7063 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7064 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7065
728dc3cc
JB
7066 * desktop.el: Correctly restore iconified frames.
7067 (desktop--filter-iconified-position): New function.
7068 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7069
862f1c9c
GM
70702013-07-20 Glenn Morris <rgm@gnu.org>
7071
c4074c9f
GM
7072 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7073 Let `message' do the formatting.
7074 (def-gdb-preempt-display-buffer): Add explicit format.
7075
d828e5f9
GM
7076 * image-dired.el (image-dired-track-original-file):
7077 Use with-current-buffer.
7078 (image-dired-track-thumbnail): Use with-current-buffer.
7079 Avoid changing point of wrong window.
7080
862f1c9c
GM
7081 * image-dired.el (image-dired-track-original-file):
7082 Avoid changing point of wrong window. (Bug#14909)
7083
f0398ec1 70842013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7085
7086 * progmodes/gdb-mi.el (gdb-done-or-error):
7087 Guard against "%" in gdb output. (Bug#14127)
7088
1451928f
AS
70892013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7090
763a086d
JB
7091 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7092 (Bug#14826)
f7a03897 7093
1451928f
AS
7094 * international/mule.el (coding-system-iso-2022-flags): Fix last
7095 change.
7096
99107004
KH
70972013-07-20 Kenichi Handa <handa@gnu.org>
7098
763a086d
JB
7099 * international/mule.el (coding-system-iso-2022-flags):
7100 Add `8-bit-level-4'. (Bug#8522)
99107004 7101
48494e06
LMI
71022013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7103
8ba8eec5
LMI
7104 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7105 (bug#14815).
7106
dfbc66e3
LMI
7107 * net/eww.el (eww-process-text-input): Allow inputting when the
7108 point is at the start of the line, as the properties aren't
7109 front-sticky.
7110
48494e06
LMI
7111 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7112 degenerate widths.
7113
77c92cb9
RS
71142013-07-19 Richard Stallman <rms@gnu.org>
7115
aec7da77
RS
7116 * epa.el (epa-popup-info-window): Doc fix.
7117
77c92cb9
RS
7118 * subr.el (split-string): New arg TRIM.
7119
945c5bb1
JB
71202013-07-18 Juanma Barranquero <lekktu@gmail.com>
7121
7122 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7123 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7124
e06ec67f
MA
71252013-07-18 Michael Albinus <michael.albinus@gmx.de>
7126
c7064f05 7127 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7128 `file-notify-support'. Do not autoload. Adapt all uses.
7129 (file-notify-supported-p): New defun.
7130
c7064f05
JB
7131 * autorevert.el (auto-revert-use-notify):
7132 Use `file-notify-supported-p' instead of `file-notify-support'.
7133 Adapt docstring.
e06ec67f
MA
7134 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7135
7136 * net/tramp.el (tramp-file-name-for-operation):
7137 Add `file-notify-supported-p'.
7138
7139 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7140 New defun.
7141 (tramp-sh-file-name-handler-alist): Add it as handler for
7142 `file-notify-supported-p '.
7143
7144 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7145 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7146 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7147 Add `ignore' as handler for `file-notify-*' functions.
7148
5dc8a629
EZ
71492013-07-17 Eli Zaretskii <eliz@gnu.org>
7150
7151 * simple.el (line-move-partial, line-move): Don't start vscroll or
7152 scroll-up if the current line is not taller than the window.
7153 (Bug#14881)
7154
77aea2fb
DG
71552013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7156
7157 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7158 highlight question marks in the method names as strings.
ac72c08d
DG
7159 (ruby-block-beg-keywords): Inline.
7160 (ruby-font-lock-keyword-beg-re): Extract from
7161 `ruby-font-lock-keywords'.
77aea2fb 7162
18c26d81
JD
71632013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7164
7165 * frame.el (blink-cursor-blinks): New defcustom.
7166 (blink-cursor-blinks-done): New defvar.
7167 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7168 (blink-cursor-timer-function): Check if number of blinks has been
7169 done on X and NS.
7170 (blink-cursor-suspend, blink-cursor-check): New defuns.
7171
da48522e
GM
71722013-07-15 Glenn Morris <rgm@gnu.org>
7173
7174 * edmacro.el (edmacro-format-keys): Fix previous change.
7175
0463c1ef
PE
71762013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7177
7178 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7179 The hack didn't work outside English locales anyway.
7180
b43f6451
JB
71812013-07-15 Juanma Barranquero <lekktu@gmail.com>
7182
7183 * simple.el (define-alternatives): Rename from alternatives-define,
7184 per RMS' suggestion.
7185
b958c0ad
JB
71862013-07-14 Juanma Barranquero <lekktu@gmail.com>
7187
7188 * desktop.el (desktop-restore-frames): Change default to t.
7189 (desktop-restore-in-current-display): Now offer more options.
7190 (desktop-restoring-reuses-frames): New customization option.
7191 (desktop--saved-states): Doc fix.
7192 (desktop-filter-parameters-alist): New variable, renamed and expanded
7193 from desktop--excluded-frame-parameters.
7194 (desktop--target-display): New variable.
7195 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7196 (desktop--filter-tty*, desktop--filter-*-color)
7197 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7198 (desktop--filter-save-desktop-parm)
7199 (desktop-restore-in-original-display-p): New functions.
7200 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7201 (desktop--save-minibuffer-frames): New function, inspired by a similar
7202 function from Martin Rudalics.
7203 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7204 (desktop--restore-in-this-display-p): Remove.
7205 (desktop--find-frame): Rename from desktop--find-frame-in-display
7206 and add predicate argument.
7207 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7208 (desktop--reuse-list): New variable.
7209 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7210 New functions.
7211 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7212
f6dd8b36
MA
72132013-07-14 Michael Albinus <michael.albinus@gmx.de>
7214
7215 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7216
2ce3c565
DG
72172013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7218
763a086d
JB
7219 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7220 Highlight conversion methods on Kernel.
2ce3c565 7221
2cdb7698
AM
72222013-07-13 Alan Mackenzie <acm@muc.de>
7223
7224 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7225 and comment it out. This out-commenting enables certain C++
7226 declarations to be parsed correctly.
7227
1a67b811
EZ
72282013-07-13 Eli Zaretskii <eliz@gnu.org>
7229
1b796d6b
EZ
7230 * international/mule.el (define-coding-system): Doc fix.
7231
1a67b811
EZ
7232 * simple.el (default-font-height): Don't call font-info if the
7233 frame's default font didn't change since the frame was created.
7234 (Bug#14838)
7235
58fbe886
LL
72362013-07-13 Leo Liu <sdl.web@gmail.com>
7237
7238 * ido.el (ido-read-file-name): Guard against non-symbol value.
7239
1f0480d4
FEG
72402013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7241
7242 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7243 in nested defuns.
7244
97ead0e5
LL
72452013-07-13 Leo Liu <sdl.web@gmail.com>
7246
7247 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7248 ido-set-matches call. (Bug#6852)
7249
0880a952
DG
72502013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7251
7252 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7253 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7254 Ruby 2.0.
7255 (ruby-font-lock-keywords): Distinguish calls to functions with
7256 module-like names from module references. Highlight character
7257 literals.
7258
a7d8babb
SDJ
72592013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7260
7261 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7262 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7263
acfcc8c5
JB
72642013-07-12 Juanma Barranquero <lekktu@gmail.com>
7265
7266 * desktop.el (desktop--v2s): Remove unused local variable.
7267 (desktop-save-buffer): Make defvar-local; adjust docstring.
7268 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7269 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7270
051f2775
AS
72712013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7272
7273 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7274
f24e7572
GM
72752013-07-12 Eli Zaretskii <eliz@gnu.org>
7276
7277 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7278 (Bug#14842)
7279
539a920c
GM
72802013-07-12 Glenn Morris <rgm@gnu.org>
7281
7282 * doc-view.el: Require cl-lib at runtime too.
7283 (doc-view-remove-if): Remove.
7284 (doc-view-search-next-match, doc-view-search-previous-match):
7285 Use cl-remove-if.
7286
7287 * edmacro.el: Require cl-lib at runtime too.
7288 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7289 (edmacro-mismatch, edmacro-subseq): Remove.
7290
7291 * shadowfile.el: Require cl-lib.
7292 (shadow-remove-if): Remove.
7293 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7294 Use cl-remove-if.
7295
7296 * wid-edit.el: Require cl-lib.
7297 (widget-choose): Use cl-remove-if.
7298 (widget-remove-if): Remove.
7299
7300 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7301 (ebrowse-delete-if-not): Remove.
7302 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7303 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7304 Use cl-delete-if-not.
7305
1048af7c
JB
73062013-07-12 Juanma Barranquero <lekktu@gmail.com>
7307
7308 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7309 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7310
6c0674ee
LL
73112013-07-12 Leo Liu <sdl.web@gmail.com>
7312
7313 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7314
a19b3c2d
GM
73152013-07-11 Glenn Morris <rgm@gnu.org>
7316
4582a01c
GM
7317 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7318 (edebug-gensym-index, edebug-gensym):
7319 Remove reimplementation of cl-gensym.
7320 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7321
7322 * thumbs.el: Require cl-lib at run-time too.
7323 (thumbs-gensym-counter, thumbs-gensym):
7324 Remove reimplementation of cl-gensym.
7325 (thumbs-temp-file): Use cl-gensym.
7326
a19b3c2d
GM
7327 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7328 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7329 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7330 (ert--union, ert--gensym-counter, ert--gensym-counter)
7331 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7332 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7333 (ert-make-test-unbound, ert--expand-should-1)
7334 (ert--expand-should, ert--should-error-handle-error)
7335 (should-error, ert--explain-equal-rec)
7336 (ert--plist-difference-explanation, ert-select-tests)
7337 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7338 Use cl-lib functions rather than reimplementations.
7339
88f6a933
MA
73402013-07-11 Michael Albinus <michael.albinus@gmx.de>
7341
7342 * net/tramp.el (tramp-methods): Extend docstring.
7343 (tramp-connection-timeout): New defcustom.
7344 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7345 (with-tramp-progress-reporter): Simplify.
7346 (tramp-process-actions): Improve messages.
7347
7348 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7349 * net/tramp-sh.el (tramp-maybe-open-connection):
7350 Use `tramp-connection-timeout'.
7351 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7352 (Bug#14808)
7353
a43d577e
LL
73542013-07-11 Leo Liu <sdl.web@gmail.com>
7355
7356 * ido.el (ido-read-file-name): Conform to the requirements of
7357 read-file-name. (Bug#11861)
7358 (ido-read-directory-name): Conform to the requirements of
7359 read-directory-name.
7360
d77974bf
JB
73612013-07-11 Juanma Barranquero <lekktu@gmail.com>
7362
7363 * subr.el (delay-warning): New function.
7364
35cb8a3e
EZ
73652013-07-10 Eli Zaretskii <eliz@gnu.org>
7366
7367 * simple.el (default-line-height): New function.
7368 (line-move-partial, line-move): Use it instead of computing the
7369 line height inline.
7370 (line-move-partial): Always compute ROWH. If the last line is
7371 partially-visible, but its text is completely visible, allow
7372 cursor to enter such a partially-visible line.
7373
525c5c77
MA
73742013-07-10 Michael Albinus <michael.albinus@gmx.de>
7375
7376 Improve error messages. (Bug#14808)
7377
7378 * net/tramp.el (tramp-current-connection): New defvar, moved from
7379 tramp-sh.el.
0ac26976 7380 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7381 needed anymore.
0ac26976
SM
7382 (tramp-error-with-buffer): Show message in minibuffer.
7383 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7384 (with-tramp-progress-reporter): Improve messages.
7385 (tramp-process-actions): Use progress reporter. Delete process in
7386 case of error. Improve messages.
7387
763a086d
JB
7388 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7389 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7390 (tramp-current-connection): Remove.
525c5c77
MA
7391 (tramp-maybe-open-connection): The car of
7392 `tramp-current-connection' are the first 3 slots of the vector.
7393
c7a4d368
TZ
73942013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7395
7396 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7397 inside continued strings.
7398
954b166e
PE
73992013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7400
7401 Timestamp fixes for undo (Bug#14824).
7402 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7403
56973319
LL
74042013-07-10 Leo Liu <sdl.web@gmail.com>
7405
7406 * files.el (require-final-newline): Allow safe local value.
7407 (Bug#14834)
7408
5550a72c
LL
74092013-07-09 Leo Liu <sdl.web@gmail.com>
7410
7411 * ido.el (ido-read-directory-name): Handle fallback.
7412 (ido-read-file-name): Update DIR to ido-current-directory.
7413 (Bug#1516)
c28b9050 7414 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7415
70c46b28
DG
74162013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7417
7418 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7419 "autoload". Remove "warn lower camel case" section, previously
7420 commented out. Highlight negation char. Do not highlight the
7421 target in singleton method definitions.
7422
0b64b838
SM
74232013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7424
7fd72e2c
SM
7425 * faces.el (tty-setup-hook): Declare the hook.
7426
0b64b838
SM
7427 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7428 and detect when a guard/pred depends on local vars (bug#14773).
7429 (pcase--u1): Adjust caller.
7430
ab49d60b
EZ
74312013-07-08 Eli Zaretskii <eliz@gnu.org>
7432
7433 * simple.el (line-move-partial, line-move): Account for
7434 line-spacing.
701d79aa
EZ
7435 (line-move-partial): Avoid setting vscroll when the last
7436 partially-visible line in window is of default height.
ab49d60b 7437
2d756ae0
LMI
74382013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7439
7440 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7441 been used a while.
7442
ed095bd7
JB
74432013-07-07 Juanma Barranquero <lekktu@gmail.com>
7444
7445 * subr.el (read-quoted-char): Remove unused local variable `char'.
7446
f1e6674b
MK
74472013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7448
584ee3fc
GM
7449 * ediff.el (ediff-version): Version update.
7450 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7451 (ediff-merge-with-ancestor-command, ediff-directories-command)
7452 (ediff-directories3-command, ediff-merge-directories-command)
7453 (ediff-merge-directories-with-ancestor-command): New functions.
7454 All are command-line interfaces to ediff: to facilitate calling
7455 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7456
7457 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7458 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7459
584ee3fc
GM
7460 * viper.el (viper-version): Version update.
7461 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7462
584ee3fc
GM
74632013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7466 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7467 (viper-intercept-ESC-key): Simplify.
7468 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7469 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7470 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7471 (viper-setup-ESC-to-escape): New functions.
7472 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7473 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7474
9aff9b38
EZ
74752013-07-07 Eli Zaretskii <eliz@gnu.org>
7476
5165d44a
JB
7477 * simple.el (default-font-height, window-screen-lines):
7478 New functions.
9aff9b38
EZ
7479 (line-move, line-move-partial): Use them instead of
7480 frame-char-height and window-text-height. This makes scrolling
7481 text smoother when the buffer's default face uses a font that is
7482 different from the frame's default font.
7483
1afb1d07
JD
74842013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7485
7486 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7487 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7488
23de972a
EZ
74892013-07-06 Eli Zaretskii <eliz@gnu.org>
7490
7491 * simple.el (line-move-partial): Adjust the row returned by
7492 posn-at-point for the current window-vscroll. (Bug#14567)
7493
54a42486
MA
74942013-07-06 Michael Albinus <michael.albinus@gmx.de>
7495
7496 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7497 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7498 spaces.
7499
34ada5f4
MR
75002013-07-06 Martin Rudalics <rudalics@gmx.at>
7501
7502 * window.el (window-state-put-stale-windows): New variable.
7503 (window--state-put-2): Save list of windows without matching buffer.
7504 (window-state-put): Remove "bufferless" windows if possible.
7505
11e03d89
JB
75062013-07-06 Juanma Barranquero <lekktu@gmail.com>
7507
7508 * simple.el (alternatives-define): Remove leftover :group keyword.
7509 Tweak docstring.
7510
3504a4be
LL
75112013-07-06 Leo Liu <sdl.web@gmail.com>
7512
7513 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7514 (ido-enable-virtual-buffers): New variable.
7515 (ido-buffer-internal, ido-toggle-virtual-buffers)
7516 (ido-make-buffer-list): Use it.
7517 (ido-exhibit): Support turning on and off virtual buffers
7518 automatically.
7519
61e56e2c
JB
75202013-07-06 Juanma Barranquero <lekktu@gmail.com>
7521
7522 * simple.el (alternatives-define): New macro.
7523
321e1a9c
SM
75242013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7525
7526 * subr.el (read-quoted-char): Use read-key.
7527 (sit-for): Let read-event decode tty input (bug#14782).
7528
d610f6dd
SB
75292013-07-05 Stephen Berman <stephen.berman@gmx.net>
7530
7531 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7532 mode command and externally. Fix various related bugs.
7533 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7534 (todo-delete-file): New command.
7535 (todo-check-file): New function.
7536 (todo-show): Handle external deletion of the file we're trying to
7537 show (bug#14688). Replace called-interactively-p by an optional
7538 prefix argument to avoid problematic interaction with catch form
7539 when byte compiled (bug#14702).
7540 (todo-quit): Handle external deletion of the archive's todo file.
7541 Make sure the buffer that was visiting the archive file is still
7542 live before trying to bury it.
7543 (todo-category-completions): Handle external deletion of any
7544 category completion files.
7545 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7546 of todo files, in case of external deletion.
7547 (todo-add-file): Replace unnecessary setq by let-binding.
7548 (todo-find-archive): Check whether there are any archives.
7549 Replace unnecessary setq by let-binding.
7550 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7551 archive buffer whether or not the archive already exists.
7552 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7553 check if the archive is new; if it is, update list of archives.
7554 (todo-default-todo-file): Allow nil to be a valid value for when
7555 there are no todo files.
7556 (todo-reevaluate-default-file-defcustom): Use corrected definition
7557 of todo-default-todo-file.
7558 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7559 (todo-delete-category, todo-show-categories-table)
7560 (todo-category-number): Clarify comment.
7561 (todo-filter-items): Clarify documentation string.
7562 (todo-show-current-file, todo-display-as-todo-file)
7563 (todo-reset-and-enable-done-separator): Tweak documentation string.
7564 (todo-done-separator): Make separator length window-width, since
7565 bug#2749 is now fixed.
7566
ddbdfd6f
MA
75672013-07-05 Michael Albinus <michael.albinus@gmx.de>
7568
321e1a9c
SM
7569 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7570 Support both "gvfs-monitor-dir" and "inotifywait".
7571 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7572 `tramp-sh-file-notify-process-filter'.
7573 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7574 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7575
96eb829a
LL
75762013-07-05 Leo Liu <sdl.web@gmail.com>
7577
7578 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7579
cf13177e
YM
75802013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7581
7582 * frame.el (display-pixel-height, display-pixel-width)
7583 (display-mm-height, display-mm-width): Mention behavior on
7584 multi-monitor setups in docstrings.
7585 (w32-display-monitor-attributes-list): Declare function.
7586 (display-monitor-attributes-list): Use it.
7587
864c58ca
MA
75882013-07-04 Michael Albinus <michael.albinus@gmx.de>
7589
7590 * filenotify.el: New package.
7591
7592 * autorevert.el (top): Require filenotify.el.
7593 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7594 instead.
7595 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7596 (auto-revert-notify-handler): Use `file-notify-*' functions.
7597
7598 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7599
321e1a9c
SM
7600 * net/tramp.el (tramp-file-name-for-operation):
7601 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7602
7603 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7604 for `file-notify-add-watch' and `file-notify-rm-watch'.
7605 (tramp-process-sentinel): Improve trace.
7606 (tramp-sh-handle-file-notify-add-watch)
7607 (tramp-sh-file-notify-process-filter)
7608 (tramp-sh-handle-file-notify-rm-watch)
7609 (tramp-get-remote-inotifywait): New defuns.
7610
96673afe
JL
76112013-07-03 Juri Linkov <juri@jurta.org>
7612
7613 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7614 call of `occur-read-primary-args' to interactive spec.
7615
7616 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7617 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7618
924494f4
MM
76192013-07-03 Matthias Meulien <orontee@gmail.com>
7620
7621 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7622 `Buffer-menu-multi-occur'. Add it to the menu.
7623 (Buffer-menu-mode): Document it in docstring.
7624 (Buffer-menu-multi-occur): New command. (Bug#14673)
7625
56f75efc
DG
76262013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7627
7628 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7629 keywords and built-ins.
7630
9b057d61
GM
76312013-07-03 Glenn Morris <rgm@gnu.org>
7632
208dee4d
GM
7633 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7634
9b057d61
GM
7635 Make info-xref checks case-sensitive by default
7636 * info.el (Info-find-node, Info-find-in-tag-table)
7637 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7638 Add option for exact case matching of nodes.
7639 * info-xref.el (info-xref): New custom group.
7640 (info-xref-case-fold): New option.
7641 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7642
e01aa29c
LL
76432013-07-03 Leo Liu <sdl.web@gmail.com>
7644
7645 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7646
3086ca2e
DG
76472013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7648
7649 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7650 middle of block statement initially, lower the depth. Remove
7651 FIXME comment, not longer valid. Remove middle of block statement
7652 detection, no need to do that anymore since we've been using
7653 `ruby-parse-region' here.
7654
a3b49114
JD
76552013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7656
7657 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7658
08e5c823 76592013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7660
7661 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7662
2addf922
JB
76632013-07-01 Juanma Barranquero <lekktu@gmail.com>
7664
7665 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7666 (desktop-restore-in-current-display): New customization option.
7667 (desktop--excluded-frame-parameters): Add `font'.
7668 (desktop--save-frames): Rename from desktop--save-windows.
7669 (desktop--restore-in-this-display-p): New function.
7670 (desktop--make-full-frame): Remove unwanted width/height from
7671 full(width|height) frames.
7672 (desktop--restore-frames): Rename from desktop--restore-windows.
7673 Obey desktop-restore-current-display. Do not delete old frames or
7674 select a new frame unless we were able to restore at least one frame.
7675
ef099a94
MN
76762013-06-30 Michal Nazarewicz <mina86@mina86.com>
7677
7678 * files.el (find-file-noselect): Simplify conditional expression.
7679
a12bf61e 7680 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
7681 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7682
7683 Add `remember-notes' function to store random notes across Emacs
7684 restarts.
a12bf61e 7685 * textmodes/remember.el (remember-data-file): Add :set callback to affect
ef099a94
MN
7686 notes buffer (if any).
7687 (remember-notes): New command.
7688 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7689 New defcustoms for the `remember-notes' function.
7690 (remember-notes-save-and-bury-buffer): New command.
7691 (remember-notes-mode-map): New variable.
7692 (remember-mode): New minor mode.
7693 (remember-notes--kill-buffer-query): New function.
7694 * startup.el (initial-buffer-choice): Add notes to custom type.
7695
0865d506
EZ
76962013-06-30 Eli Zaretskii <eliz@gnu.org>
7697
0ba54312
EZ
7698 * bindings.el (right-char, left-char): Don't call sit-for, this is
7699 no longer needed. Use arithmetic comparison only for numerical
7700 arguments.
7701
ef099a94
MN
7702 * international/mule-cmds.el (select-safe-coding-system):
7703 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7704
2fae38e5
LMI
77052013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7706
7707 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7708 progression on degenerate tables.
ef099a94 7709 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7710
a47cbd64
JB
77112013-06-30 Juanma Barranquero <lekktu@gmail.com>
7712
7713 Some fixes and improvements for desktop frame restoration.
7714 It is still experimental and disabled by default.
7715 * desktop.el (desktop--save-windows): Put the selected frame at
7716 the head of the list.
7717 (desktop--make-full-frame): New function.
7718 (desktop--restore-windows): Try to re-select the frame that was
7719 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7720 just show an error message and continue. Set up maximized frames
7721 so they have default non-maximized dimensions.
a47cbd64 7722
6dbafa30
DG
77232013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7724
ef099a94
MN
7725 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7726 Don't start heredoc inside a string or comment.
6dbafa30 7727
4c672a0f
EZ
77282013-06-29 Eli Zaretskii <eliz@gnu.org>
7729
7730 * bindings.el (visual-order-cursor-movement): New defcustom.
7731 (right-char, left-char): Provide visual-order cursor motion by
7732 calling move-point-visually. Update the doc strings.
7733
50960f36
KH
77342013-06-28 Kenichi Handa <handa@gnu.org>
7735
7736 * international/mule.el (define-coding-system): New coding system
7737 properties :inhibit-null-byte-detection,
7738 :inhibit-iso-escape-detection, and :prefer-utf-8.
7739 (set-buffer-file-coding-system): If :charset-list property of
7740 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7741 appropriate for setting.
7742
c1ea3abf
JB
7743 * international/mule-cmds.el (select-safe-coding-system):
7744 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7745 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7746
7747 * international/mule-conf.el (prefer-utf-8): New coding system.
7748 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7749 files.
7750
75dbaf9d
IK
77512013-06-28 Ivan Kanis <ivan@kanis.fr>
7752
eadb6068
IK
7753 * net/shr.el (shr-render-region): New function.
7754
75dbaf9d
IK
7755 * net/eww.el: Autoload `eww-browse-url'.
7756
9ea5cf9f
DG
77572013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7758
c1ea3abf
JB
7759 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7760 Adapt to `package-desc-version' being a list.
7761 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7762 archive element.
7763
39c0e36f
JB
77642013-06-27 Juanma Barranquero <lekktu@gmail.com>
7765
7766 New experimental feature to save&restore window and frame setup.
7767 * desktop.el (desktop-save-windows): New defcustom.
7768 (desktop--saved-states): New var.
7769 (desktop--excluded-frame-parameters): New defconst.
7770 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7771 (desktop--restore-windows, desktop--save-windows): New functions.
7772 (desktop-save): Call `desktop--save-windows'.
7773 (desktop-read): Call `desktop--restore-windows'.
7774
7f13406b
LMI
77752013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7776
ef099a94 7777 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7778
1e072639
SB
77792013-06-27 Stephen Berman <stephen.berman@gmx.net>
7780
7781 * info.el (Info-try-follow-nearest-node): Move search for footnote
7782 above search for node name to prevent missing a footnote (bug#14717).
7783
f3e2cbde
SB
77842013-06-27 Stephen Berman <stephen.berman@gmx.net>
7785
7786 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7787
99906aa0
LL
77882013-06-27 Leo Liu <sdl.web@gmail.com>
7789
7790 * net/eww.el (eww-read-bookmarks): Check file size.
7791
539f75f4
SM
77922013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7793
7794 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7795 advice--pending if newdef is nil or an autoload (bug#13820).
7796 (advice-mapc): New function.
7797
843571cb
LMI
77982013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7799
7800 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7801 probably.
23a75d7f 7802 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7803 (eww-add-bookmark): New command.
7804 (eww-bookmark-mode): New mode and commands.
a285ce99 7805 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7806 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7807
f2136e1e
GM
78082013-06-26 Glenn Morris <rgm@gnu.org>
7809
eab35f39
GM
7810 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7811 (hfy-size): Handle ttys. (Bug#14668)
7812
f2136e1e
GM
7813 * info-xref.el: Update for Texinfo 5 change in *note format.
7814 (info-xref-node-re, info-xref-note-re): New constants.
7815 (info-xref-check-buffer): Use info-xref-note-re.
7816
a49ff80c
SM
78172013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7818
a343d218
SM
7819 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7820
a49ff80c
SM
7821 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7822 nil terminate the loop (bug#14718).
7823
8308f184
LMI
78242013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7825
7826 * net/eww.el: Rework history traversal. When going forward/back,
7827 put these actions into the history, too, so that they can be
7828 replayed.
26bf2b82 7829 (eww-render): Move the history reset to the correct buffer.
8308f184 7830
ec64c273
JL
78312013-06-25 Juri Linkov <juri@jurta.org>
7832
7833 * files-x.el (modify-dir-local-variable): Change the header comment
7834 in the file with directory local variables. (Bug#14692)
7835
e080a9d7
JL
7836 * files-x.el (read-file-local-variable-value): Add `default'.
7837 (Bug#14710)
7838
bfbc93a1
IK
78392013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7840
7841 * net/eww.el (eww-make-unique-file-name): Create a unique file
7842 name before saving to entering `y' accidentally asynchronously.
7843
78442013-06-25 Ivan Kanis <ivan@kanis.fr>
7845
7846 * net/eww.el (eww-download): New command and keystroke.
7847
16f74f10
LMI
78482013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7849
a49ff80c 7850 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7851
7852 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7853 be more consistent with Info and dired.
7854
7855 * net/eww.el (eww-mode-map): Ditto.
7856
12059709
SM
78572013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7858
7859 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7860 packages from archives.
7861 (package-archive-contents): Change format; include obsolete packages.
7862 (package-desc): Use `dir' to mark builtin packages.
7863 (package--from-builtin): Set the `dir' field to `builtin'.
7864 (generated-autoload-file, version-control): Declare.
7865 (package-compute-transaction): Change first arg and return value to be
7866 lists of package-descs. Adjust to new package-archive-contents format.
7867 (package--add-to-archive-contents): Adjust to new
7868 package-archive-contents format.
7869 (package-download-transaction): Arg is now a list of package-descs.
7870 (package-install): If `pkg' is a package name, pass it as
7871 a requirement, so it is subject to the usual (e.g. disabled) checks.
7872 (describe-package): Accept package-desc as well.
7873 (describe-package-1): Describe a specific package-desc. Add links to
7874 other package-descs for the same package name.
7875 (package-menu-describe-package): Pass the actual package-desc.
7876 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7877 works correctly.
7878 (package-desc-status): New function.
7879 (package-menu--refresh): New function, extracted
7880 from package-menu--generate.
7881 (package-menu--generate): Use it.
7882 (package-delete): Update package-alist.
7883 (package-menu-execute): Don't call package-initialize.
7884
7885 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7886 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7887 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7888 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7889 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7890 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7891
8bbdea0f
MR
78922013-06-25 Martin Rudalics <rudalics@gmx.at>
7893
7894 * window.el (window--state-get-1): Workaround for bug#14527.
7895 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7896
e82b0991
LMI
78972013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7898
7899 * net/eww.el (eww-back-url): Implement the history by stashing all
7900 the data into a list.
d3f0f918 7901 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7902
c763842b
SM
79032013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7906 for values and use read--expression for expressions (bug#14710).
7907 (read-file-local-variable): Avoid setq.
7908 (read-file-local-variable-mode): Use minor-mode-list.
7909
bceff189
RW
79102013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7911
864c58ca 7912 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7913 for DOI URLs.
7914
45f431c6
RW
79152013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7916
864c58ca 7917 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7918 Update imenu-support when dialect changes.
7919
f42d8237
LL
79202013-06-25 Leo Liu <sdl.web@gmail.com>
7921
7922 * ido.el (ido-read-internal): Allow forward slash on windows.
7923
be549ce6
LMI
79242013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7925
7926 * net/eww.el (eww): Start of strings is \\`, not ^.
7927
71d4c19d
IK
79282013-06-24 Ivan Kanis <ivan@kanis.fr>
7929
5196f88a
IK
7930 * net/shr.el (shr-browse-url): Fix interactive spec.
7931
71d4c19d
IK
7932 * net/eww.el (eww): Add a trailing slash to domain names.
7933
ae36ca55
JB
79342013-06-24 Juanma Barranquero <lekktu@gmail.com>
7935
7936 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7937
0ebd92a3
LMI
79382013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7939
bdaa086b
LMI
7940 * net/shr.el (shr-browse-url): Use an external browser if given a
7941 prefix.
7942
c763842b 7943 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7944
b89fc156
IK
79452013-06-24 Ivan Kanis <ivan@kanis.fr>
7946
7947 * net/eww.el (eww): Work more correctly for file: URLs.
7948 (eww-detect-charset): Allow quoted charsets.
7949 (eww-yank-page-url): New command and keystroke.
7950
18eb4bca
DU
79512013-06-24 Daiki Ueno <ueno@gnu.org>
7952
7953 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7954 file name of gpg executable.
7955 (epg-context-program): New function.
7956 (epg-context-home-directory): New function.
7957 (epg-context-set-program): New function.
7958 (epg-context-set-home-directory): New function.
7959 (epg--start): Use `epg-context-program' instead of
7960 'epg-gpg-program'.
7961 (epg--list-keys-1): Likewise.
7962
6c6268c8
LL
79632013-06-24 Leo Liu <sdl.web@gmail.com>
7964
7965 * ido.el (ido-read-internal): Fix bug#14620.
7966
5e400cb3
JB
79672013-06-23 Juanma Barranquero <lekktu@gmail.com>
7968
7969 * faces.el (face-documentation): Simplify.
7970 (read-face-attribute, tty-find-type, x-resolve-font-name):
7971 Use `string-match-p'.
7972 (list-faces-display): Use `string-match-p'. Simplify.
7973 (face-spec-recalc): Check face to avoid face alias loops.
7974 (read-color): Use `string-match-p' and non-capturing parenthesis.
7975
f3f9606c
LMI
79762013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7977
7978 * net/shr.el (shr-rescale-image): Use the new
7979 :max-width/:max-height functionality.
7980
a3ca09b9
IK
79812013-06-23 Ivan Kanis <ivan@kanis.fr>
7982
7983 * net/eww.el (eww-search-prefix): New variable.
7984 (eww): Use it.
f865b474
IK
7985 (eww-external-browser): New variable.
7986 (eww-mode-map): New keystroke.
7987 (eww-browse-with-external-browser): New command.
a3ca09b9 7988
e854cfc7
IK
7989 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7990
18bb9e21
JB
79912013-06-23 Juanma Barranquero <lekktu@gmail.com>
7992
7993 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7994 Don't skip aligning the next header field when padding is 0;
7995 otherwise, field width is not respected unless the title is as
7996 wide as the field.
7997
5b165ade
SM
79982013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7999
8000 * emacs-lisp/package.el (package-el-version): Remove.
8001 (package-process-define-package): Fix inf-loop.
8002 (package-install): Allow symbols as arguments again.
8003
12adebe9
DG
80042013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8005
8006 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8007 add some more keyword-like methods.
8008 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8009
388573ee
JB
80102013-06-22 Juanma Barranquero <lekktu@gmail.com>
8011
8012 * bs.el (bs-buffer-show-mark): Make defvar-local.
8013 (bs-mode): Use setq-local.
8014
8015 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8016 (emacs-lock--try-unlocking): Make defvar-local.
8017
4582a01c 80182013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8019
2663dd23
GM
8020 * play/cookie1.el (cookie-apropos): Minor simplification.
8021
3d94f3ad
GM
8022 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8023
f72e2fdb
DG
80242013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8025
8026 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8027 `regexp-opt', it breaks the build during dumping.
8028
73eab938
DG
80292013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8030
c763842b
SM
8031 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8032 Highlight keyword-like methods on Kernel and Module with
73eab938 8033 font-lock-builtin-face.
5cf8176d
DG
8034 (auto-mode-alist): Consolidate different entries into one regexp
8035 and add more *file-s.
73eab938 8036
d26255f6
SB
80372013-06-21 Stephen Berman <stephen.berman@gmx.net>
8038
8039 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8040
8041 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8042 (diary-entry): Use it in the action of this button type instead of
8043 diary-goto-entry.
8044
8045 * calendar/todo-mode.el: New version.
8046 (todo-add-category): Append new category to end of file and give
8047 it the highest number, instead of putting it at the beginning and
8048 giving it 0. Incorporate noninteractive functionality.
8049 (todo-forward-category): Adapt to 1-based category numbering.
8050 Allow skipping over archived categories.
8051 (todo-backward-category): Derive from todo-forward-category.
8052 (todo-backward-item, todo-forward-item): Make noninteractive and
8053 delegate interactive part to new commands. Make sensitive to done items.
8054 (todo-categories): Make value an alist of category names and
8055 vectors of item counts.
8056 (todo-category-beg): Make a defconst.
8057 (todo-category-number): Use 1 instead of 0 as initial value.
8058 (todo-category-select): Make sensitive to overlays, optional item
8059 highlighting and done items.
8060 (todo-delete-item): Make sensitive to overlays and marked and done items.
8061 (todo-edit-item): Make sensitive to overlays and editing of
8062 date/time header optional. Add format checks.
8063 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8064 no-op if point is not on an item. Advertise using todo-edit-quit.
8065 (todo-edit-mode): Make sensitive to new format, font-locking, and
8066 multiple todo files.
8067 (todo-insert-item, todo-insert-item-here): Derive from
8068 todo-basic-insert-item and extend functionality.
8069 (todo-item-end, todo-item-start): Make sensitive to done items.
8070 (todo-item-string): Don't return text properties. Restore point.
8071 (todo-jump-to-category): Make sensitive to multiple todo files and
8072 todo archives. Use extended category completion.
8073 (todo-lower-item, todo-raise-item): Rename to *-priority and
8074 derive from todo-set-item-priority.
8075 (todo-mode): Derive from special-mode. Make sensitive to new
8076 format, font-locking and multiple todo files. Make read-only.
8077 (todo-mode-map): Don't suppress digit keys, so they can supply
8078 prefix arguments. Add many new key bindings.
8079 (todo-prefix): Insert as an overlay instead of file text.
8080 Change semantics from diary date expression to purely visual mark.
8081 (todo-print): Rename to todo-print-buffer. Make buffer display
8082 features printable. Remove option to restrict number of items
8083 printed. Add option to print to file.
8084 (todo-print-function): Rename to todo-print-buffer-function.
8085 (todo-quit): Extend to handle exiting new todo modes.
8086 (todo-remove-item): Make sensitive to overlays.
8087 (todo-save): Extend to buffers of filtered items.
8088 (todo-show): Make sensitive to done items, multiple todo files and
8089 new todo modes. Offer to convert legacy todo file before creating
8090 first new todo file.
8091 (todo-show-priorities): Rename to todo-top-priorities.
8092 Change semantics of value 0.
8093 (todo-top-priorities): Rename to todo-filter-top-priorities,
8094 derive from todo-filter-items and extend functionality.
8095 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8096 and extend functionality to other types of filtered items.
8097 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8098 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8099 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8100 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8101 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8102 (todo-edit-mode-hook, todo-entry-prefix-function)
8103 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8104 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8105 (todo-initials, todo-insert-threshold, todo-item-string-start)
8106 (todo-line-string, todo-menu, todo-mode-hook)
8107 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8108 (todo-print-priorities, todo-remove-separator)
8109 (todo-save-top-priorities-too, todo-string-count-lines)
8110 (todo-string-multiline-p, todo-time-string-format)
8111 (todo-tmp-buffer-name): Remove.
8112 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8113 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8114 (todo-edit-category-diary-inclusion)
8115 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8116 (todo-edit-file, todo-edit-item-date-day)
8117 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8118 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8119 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8120 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8121 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8122 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8123 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8124 (todo-filter-top-priorities-multifile, todo-find-archive)
8125 (todo-find-filtered-items-file, todo-go-to-source-item)
8126 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8127 (todo-jump-to-archive-category, todo-lower-category)
8128 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8129 (todo-move-category, todo-move-item, todo-next-button)
8130 (todo-next-item, todo-padded-string, todo-powerset)
8131 (todo-previous-button, todo-previous-item)
8132 (todo-print-buffer-to-file, todo-raise-category)
8133 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8134 (todo-set-category-number, todo-set-item-priority)
8135 (todo-set-top-priorities-in-category)
8136 (todo-set-top-priorities-in-file, todo-show-categories-table)
8137 (todo-sort-categories-alphabetically-or-numerically)
8138 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8139 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8140 (todo-toggle-item-header, todo-toggle-item-highlighting)
8141 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8142 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8143 (todo-unarchive-items, todo-unmark-category): New commands.
8144 (todo-absolute-file-name, todo-add-to-buffer-list)
8145 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8146 (todo-basic-insert-item, todo-category-completions)
8147 (todo-category-number, todo-category-string-matcher-1)
8148 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8149 (todo-check-format, todo-clear-matches)
8150 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8151 (todo-current-category, todo-date-string-matcher)
8152 (todo-define-insertion-command, todo-diary-expired-matcher)
8153 (todo-diary-goto-entry, todo-diary-item-p)
8154 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8155 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8156 (todo-done-item-section-p, todo-done-separator)
8157 (todo-done-string-matcher, todo-files, todo-filter-items)
8158 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8159 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8160 (todo-insert-category-line, todo-insert-item-from-calendar)
8161 (todo-insert-sort-button, todo-insert-with-overlays)
8162 (todo-insertion-command-name, todo-insertion-key-bindings)
8163 (todo-label-to-key, todo-longest-category-name-length)
8164 (todo-make-categories-list, todo-mode-external-set)
8165 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8166 (todo-modes-set-3, todo-multiple-filter-files)
8167 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8168 (todo-read-category, todo-read-date, todo-read-dayname)
8169 (todo-read-file-name, todo-read-time)
8170 (todo-reevaluate-category-completions-files-defcustom)
8171 (todo-reevaluate-default-file-defcustom)
8172 (todo-reevaluate-filelist-defcustoms)
8173 (todo-reevaluate-filter-files-defcustom)
8174 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8175 (todo-reset-done-separator, todo-reset-done-separator-string)
8176 (todo-reset-done-string, todo-reset-global-current-todo-file)
8177 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8178 (todo-reset-prefix, todo-set-categories)
8179 (todo-set-date-from-calendar, todo-set-show-current-file)
8180 (todo-set-top-priorities, todo-short-file-name)
8181 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8182 (todo-total-item-counts, todo-update-buffer-list)
8183 (todo-update-categories-display, todo-update-categories-sexp)
8184 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8185 New functions.
8186 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8187 New major modes.
8188 (todo-categories, todo-display, todo-edit, todo-faces)
8189 (todo-filtered): New defgroups.
8190 (todo-archived-only, todo-button, todo-category-string, todo-date)
8191 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8192 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8193 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8194 (todo-add-item-if-new-category, todo-always-add-time-string)
8195 (todo-categories-align, todo-categories-archived-label)
8196 (todo-categories-category-label, todo-categories-diary-label)
8197 (todo-categories-done-label, todo-categories-number-separator)
8198 (todo-categories-todo-label, todo-categories-totals-label)
8199 (todo-category-completions-files, todo-completion-ignore-case)
8200 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8201 (todo-done-separator-string, todo-done-string)
8202 (todo-files-function, todo-filter-done-items, todo-filter-files)
8203 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8204 (todo-initial-category, todo-initial-file, todo-item-mark)
8205 (todo-legacy-date-time-regexp, todo-mode-line-function)
8206 (todo-nondiary-marker, todo-number-prefix)
8207 (todo-print-buffer-function, todo-show-current-file)
8208 (todo-show-done-only, todo-show-first, todo-show-with-done)
8209 (todo-skip-archived-categories, todo-top-priorities-overrides)
8210 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8211 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8212 New defcustoms.
8213 (todo-category-done, todo-date-pattern, todo-date-string-start)
8214 (todo-diary-items-buffer, todo-done-string-start)
8215 (todo-filtered-items-buffer, todo-item-start)
8216 (todo-month-abbrev-array, todo-month-name-array)
8217 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8218 (todo-top-priorities-buffer): New defconsts.
8219 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8220 (todo-categories-with-marks, todo-category-string-face)
8221 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8222 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8223 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8224 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8225 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8226 (todo-font-lock-keywords, todo-global-current-todo-file)
8227 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8228 (todo-insertion-commands-args)
8229 (todo-insertion-commands-args-genlist)
8230 (todo-insertion-commands-names, todo-insertion-map)
8231 (todo-key-bindings-t, todo-key-bindings-t+a)
8232 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8233 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8234 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8235 (todo-visited): New variables.
8236
cad5d1cb
GM
82372013-06-21 Glenn Morris <rgm@gnu.org>
8238
8239 * play/cookie1.el (cookie-apropos): Add optional display argument.
8240 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8241 (psychoanalyze-pinhead): Use cookie-doctor.
8242
9e277302
JB
82432013-06-21 Juanma Barranquero <lekktu@gmail.com>
8244
8245 * emacs-lisp/package.el (tar-get-file-descriptor)
8246 (tar--extract): Declare.
8247
c5b0993e
EW
82482013-06-21 Eduard Wiebe <usenet@pusto.de>
8249
8250 Extend flymake's warning predicate to be a function (bug#14217).
8251 * progmodes/flymake.el (flymake-warning-predicate): New.
8252 (flymake-parse-line): Use it.
8253 (flymake-warning-re): Make obsolete alias to
8254 `flymake-warning-predicate'.
8255
a7d2d465
SM
82562013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8259 (package-obsolete-list): Remove.
8260 (package-activate): Remove min-version argument. Add `force' argument.
8261 Adjust to new package-alist format.
8262 (package-mark-obsolete): Remove.
8263 (package-unpack): Force reload of the package's autoloads.
8264 (package-installed-p): Check builtins if the installed package is not
8265 recent enough.
8266 (package-initialize): Don't reset package-obsolete-list.
8267 Don't specify which package version to activate.
8268 (package-process-define-package, describe-package-1)
8269 (package-menu--generate): Adjust to new package-alist format.
8270
cedf5c9d
JB
82712013-06-21 Juanma Barranquero <lekktu@gmail.com>
8272
8273 * allout-widgets.el (allout-widgets-mode-off)
8274 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8275 (allout-widgets-post-command-business)
8276 (allout-widgets-after-copy-or-kill-function)
8277 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8278 (allout-decorate-item-and-context)
8279 (allout-graphics-modification-handler): Fix typos in docstrings.
8280 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8281
8282 * cmuscheme.el (scheme-start-file): Doc fix.
8283 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8284 (scheme-input-filter): Use `string-match-p'.
8285
8286 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8287
8288 * dired-x.el: Use Dired consistently in docstrings.
8289
8290 * dired.el: Use Dired consistently in docstrings.
8291 (dired-readin, dired-mode): Use `setq-local'.
8292 (dired-switches-alist): Make defvar-local.
8293 (dired-buffers-for-dir): Use `zerop'.
8294 (dired-safe-switches-p, dired-switches-escape-p)
8295 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8296 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8297 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8298 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8299 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8300 (dired-toggle-marks, dired-mark-files-containing-regexp)
8301 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8302 (dired-flag-auto-save-files, dired-flag-backup-files):
8303 Use `looking-at-p'.
8304 (dired-mark-files-regexp, dired-build-subdir-alist):
8305 Use `string-match-p', `looking-at-p'.
8306
8307 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8308 (direct-print-region-helper): Use `string-match-p'.
8309
aed838b5
LL
83102013-06-21 Leo Liu <sdl.web@gmail.com>
8311
cedf5c9d
JB
8312 * comint.el (comint-redirect-results-list-from-process):
8313 Fix infinite loop.
aed838b5 8314
d80a808f
LMI
83152013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8316
8317 * net/eww.el (eww-update-header-line-format): Quote % characters.
8318
e7a526e3
GM
83192013-06-21 Glenn Morris <rgm@gnu.org>
8320
8321 * play/cookie1.el (cookie): New custom group.
8322 (cookie-file): New option.
8323 (cookie-check-file): New function.
8324 (cookie): Make it interactive. Make start and end messages optional.
8325 Interactively, display the result. Default to cookie-file.
8326 (cookie-insert): Default to cookie-file.
8327 (cookie-snarf): Make start and end messages optional.
8328 Default to cookie-file. Use with-temp-buffer.
8329 (cookie-read): Rename from read-cookie.
8330 Make start and end messages optional. Default to cookie-file.
8331 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8332 Do not autoload it.
e7a526e3
GM
8333 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8334 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8335
62efb35e
LL
83362013-06-21 Leo Liu <sdl.web@gmail.com>
8337
8338 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8339
21e3f963
GM
83402013-06-21 Glenn Morris <rgm@gnu.org>
8341
8342 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8343
fd846ab4
SM
83442013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8345 Daniel Hackney <dan@haxney.org>
8346
8347 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8348 Consolidate the single-file vs tarball code.
8349 (package-desc-suffix): New function.
8350 (package-desc-full-name): Don't bother inlining it.
8351 (package-load-descriptor): Return the new package-desc.
8352 (package-mark-obsolete): Remove unused arg `package'.
8353 (package-unpack): Make it work for single files as well.
8354 Make it update package-alist.
8355 (package--make-autoloads-and-stuff): Rename from
8356 package--make-autoloads-and-compile. Don't compile any more.
8357 (package--compile): New function.
8358 (package-generate-description-file): New function, extracted from
8359 package-unpack-single.
8360 (package-unpack-single): Remove.
8361 (package--with-work-buffer): Add indentation and debugging info.
8362 (package-download-single): Remove.
8363 (package-install-from-archive): Rename from package-download-tar, make
8364 it take a pkg-desc, and make it work for single files as well.
8365 (package-download-transaction): Simplify.
8366 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8367 external tar program.
8368 (package-install-from-buffer): Remove `pkg-desc' argument.
8369 Use package-tar-file-info for tar-mode buffers.
8370 (package-install-file): Simplify accordingly.
8371 (package-archive-base): Change to take a pkg-desc.
8372 * tar-mode.el (tar--check-descriptor): New function, extracted from
8373 tar-get-descriptor.
8374 (tar-get-descriptor): Use it.
8375 (tar-get-file-descriptor): New function.
8376 (tar--extract): New function, extracted from tar-extract.
8377 (tar--extract): Use it.
8378 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8379 case the summary uses non-ascii. Adjust to new calling convention of
8380 package-tar-file-info.
8381
b7deae5e
LL
83822013-06-21 Leo Liu <sdl.web@gmail.com>
8383
fd846ab4
SM
8384 * comint.el (comint-redirect-results-list-from-process):
8385 Fix random delay. (Bug#14681)
b7deae5e 8386
7a65a0b2
JB
83872013-06-21 Juanma Barranquero <lekktu@gmail.com>
8388
8389 * profiler.el (profiler-format-number): Use log, not log10.
8390
1493c2af
JB
83912013-06-20 Juanma Barranquero <lekktu@gmail.com>
8392
8393 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8394
aff6371e
SM
83952013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8396
8397 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8398 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8399 yet available.
8400 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8401 (AUTOGENEL): ... here.
8402 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8403 (cl--defsubst-expand): Use it.
8404
89561f72
PE
84052013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8406
8407 * subr.el (log10): Move here from C code, and declare as obsolete.
8408 All uses of (log10 X) replaced with (log X 10).
8409
47199123
JB
84102013-06-20 Juanma Barranquero <lekktu@gmail.com>
8411
8412 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8413 Declare with `defvar-local'.
8414 (tabulated-list-use-header-line, tabulated-list-entries)
8415 (tabulated-list-padding, tabulated-list-printer)
8416 (tabulated-list-sort-key): Declare with `defvar-local'.
8417 (tabulated-list-init-header, tabulated-list-print-fake-header):
8418 Use `setq-local'.
8419
4a172eab
MA
84202013-06-20 Michael Albinus <michael.albinus@gmx.de>
8421
47199123
JB
8422 * arc-mode.el (archive-mode): Add `archive-write-file' to
8423 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8424
5fc0acc0
JB
84252013-06-20 Juanma Barranquero <lekktu@gmail.com>
8426
d5b27848
JB
8427 * cus-edit.el (custom-commands): Fix typos.
8428 (custom-display): Fix tooltip text.
8429 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8430 Fix typos in docstrings.
8431 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8432 (custom-unlispify-menu-entry, custom-magic-value-create)
8433 (custom-add-see-also, custom-group-value-create): Use ?\s.
8434 (custom-guess-type, customize-apropos, editable-field)
8435 (custom-face-value-create): Use `string-match-p'.
8436 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8437
8438 * custom.el (custom-load-symbol): Use `string-match-p'.
8439
a5c581d8
JB
8440 * ansi-color.el: Convert to lexical binding.
8441 (ansi-colors): Fix URL.
8442 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8443 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8444 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8445
970ad972
G
84462013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8447
8448 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8449
8450 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8451
84522013-06-19 Tom Tromey <tromey@redhat.com>
8453
8454 * net/eww.el (eww-top-url): Remove.
8455 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8456 (eww-render): Set new variables. Don't set eww-top-url.
8457 (eww-handle-link): Handle "prev", "home", and "contents".
8458 Downcase the rel text.
8459 (eww-top-url): Choose best top URL.
8460
84612013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8462
8463 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8464 relying in widget.el. Using widget.el leads to too many
8465 user interface inconsistencies.
8466 (eww-self-insert): Implement entering commands in text fields.
8467 (eww-process-text-input): New function to make text input field editing
8468 work.
8469 (eww-submit): Rewrite to use the new-style form methods.
8470 (eww-select-display): Display the correct selected item.
8471 (eww-change-select): Implement changing the select value.
8472 (eww-toggle-checkbox): Implement radio/checkboxes.
8473 (eww-update-field): Fix compilation error.
8474 (eww-tag-textarea): Implement <textarea>.
8475
8476 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8477 we don't shadow mode-specific bindings.
8478
8479 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8480 nothing to push.
8481
8482 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8483
4582a01c 84842013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8485
8486 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8487
15b263dc
MA
84882013-06-19 Michael Albinus <michael.albinus@gmx.de>
8489
8490 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8491 not needed.
8492
8493 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8494
8f5297f7
LMI
84952013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8496
8497 * net/browse-url.el (browse-url-browser-function):
8498 `eww-browse-url' has the right calling signature, `eww' does not.
8499
011c4552
GM
85002013-06-19 Glenn Morris <rgm@gnu.org>
8501
2285bd27
GM
8502 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8503 Only eval autoloaded macros.
8504 (byte-compile-autoload): Only give the macro warning for macros.
8505
1d653303
GM
8506 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8507 (ps-underlined-faces): Declare.
8508
bdd779ec
GM
8509 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8510 (speedbar-add-supported-extension): Declare.
8511
011c4552
GM
8512 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8513 Don't include a date stamp in the header of the generated file;
8514 it leads to needless differences between output files.
8515
e59dfb0e
MA
85162013-06-19 Michael Albinus <michael.albinus@gmx.de>
8517
c763842b
SM
8518 * net/secrets.el (secrets-struct-secret-content-type):
8519 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8520 Some servers do not offer introspection.
e59dfb0e 8521
102626e2
SM
85222013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8523
8524 * electric.el (electric-pair-mode): Improve interaction with
8525 electric-layout-mode.
8526 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8527 (electric-pair-syntax): Use text-mode-syntax-table in comments
8528 and strings.
8529 (electric-pair--insert): New function.
8530 (electric-pair-post-self-insert-function): Use it and
8531 electric--after-char-pos.
8532
ad528125
LL
85332013-06-19 Leo Liu <sdl.web@gmail.com>
8534
8535 * progmodes/octave.el (octave-help): Fix regexp.
8536
924d6997
G
85372013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8538
8539 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8540 (shr-table-horizontal-line): Allow nil as a value, and change the
8541 default.
8542 (shr-insert-table-ruler): Respect the nil value.
8543
85442013-06-18 Tom Tromey <tromey@barimba>
8545
8546 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8547 New defvars.
8548 (eww-open-file): New defun.
8549 (eww-render): Initialize new variables.
8550 (eww-display-html): Handle "link" and "a".
8551 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8552 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8553 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8554 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8555 New defuns.
924d6997 8556
d1bbba4f
DG
85572013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8558
8559 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8560 Distinguish ternary operator tokens from slash symbol and slash
8561 char literal.
8562
14dd22d2
JB
85632013-06-18 Juanma Barranquero <lekktu@gmail.com>
8564
8565 Convert symbol prettification into minor mode and global minor mode.
8566
8567 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8568 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8569 (prettify-symbols--keywords): Rename from
8570 `prog-prettify-symbols-alist' and make a local defvar.
8571 (prettify-symbols--compose-symbol): Rename from
8572 `prog--prettify-font-lock-compose-symbol'.
8573 (prettify-symbols--make-keywords): Rename from
8574 `prog-prettify-font-lock-symbols-keywords' and simplify.
8575 (prog-prettify-install): Remove.
8576 (prettify-symbols-mode): New minor mode, based on
8577 `prog-prettify-install'.
8578 (turn-on-prettify-symbols-mode): New function.
8579 (global-prettify-symbols-mode): New globalized minor mode.
8580
8581 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8582 * progmodes/cfengine.el (cfengine3-mode):
8583 * progmodes/perl-mode.el (perl-mode): Don't call
8584 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8585
292c880c
JL
85862013-06-18 Juri Linkov <juri@jurta.org>
8587
8588 * files-x.el (modify-file-local-variable-message): New function.
8589 (modify-file-local-variable)
8590 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8591 and call `modify-file-local-variable-message' when it's non-nil.
8592 (add-file-local-variable, delete-file-local-variable)
8593 (add-file-local-variable-prop-line)
8594 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8595 and use it. (Bug#9820)
8596
0950aa27
JL
85972013-06-18 Juri Linkov <juri@jurta.org>
8598
8599 * emulation/vi.el (vi-shell-op):
8600 * emulation/vip.el (vip-execute-com, ex-command):
8601 * emulation/viper-cmd.el (viper-exec-bang):
8602 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8603 the call of `shell-command-on-region'. (Bug#14637)
8604
8605 * simple.el (shell-command-on-region): Doc fix.
8606
8fbcca16
SM
86072013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8608
8609 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8610 (bug#14633).
8611
dd7426ea
GM
86122013-06-18 Glenn Morris <rgm@gnu.org>
8613
4ba54f7d
GM
8614 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8615
dd7426ea
GM
8616 * newcomment.el (comment-search-forward, comment-search-backward):
8617 Doc fix. (Bug#14376)
8618
58aa805b
JB
86192013-06-18 Juanma Barranquero <lekktu@gmail.com>
8620
8621 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8622 (buffer-face-mode-invoke): Doc fix.
8623
9a08a617
MM
86242013-06-18 Matthias Meulien <orontee@gmail.com>
8625
8626 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8627 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8628
f2f426ca
GM
86292013-06-18 Glenn Morris <rgm@gnu.org>
8630
9445f99b
GM
8631 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8632 Replace obsolete function generic-make-keywords with its expansion.
8633
e0df2d14
GM
8634 * progmodes/python.el (ffap-alist): Declare.
8635
f2f426ca
GM
8636 * textmodes/reftex.el (bibtex-mode-map): Declare.
8637
f7f9a720
SM
86382013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8641 (package-unpack, package-unpack-single): Return the pkg-dir.
8642 (package-download-transaction): Use it to update package-alist.
8643
57ff04e0
LMI
86442013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8645
8646 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8647 possible choice.
8648
c048c022
JL
86492013-06-17 Juri Linkov <juri@jurta.org>
8650
8651 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8652
b5bcaee5
DG
86532013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8654
a020afb9
JB
8655 * emacs-lisp/package.el (package-load-descriptor):
8656 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8657 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8658
551e07e5
JB
86592013-06-17 Juanma Barranquero <lekktu@gmail.com>
8660
8661 * startup.el (command-line): Expand package name returned by
8662 `package--description-file' (bug#14639).
8663
d363bffb
DG
86642013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8665
8666 * emacs-lisp/package.el (package-load-descriptor): Do not call
8667 `emacs-lisp-mode', just use its syntax table.
8668
f612933b
JB
86692013-06-17 Juanma Barranquero <lekktu@gmail.com>
8670
8671 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8672 `font-lock-extra-managed-props' if any prettifying keyword is added.
8673 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8674 (prog-mode): Use `setq-local'.
8675
db3b7db5
SM
86762013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8677
8678 * international/characters.el (standard-case-table): Set syntax of ?»
8679 and ?« to punctuation.
8680
f3d674df
JB
86812013-06-16 Juanma Barranquero <lekktu@gmail.com>
8682
8683 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8684 Save relevant match data before calling `syntax-ppss' (bug#14595).
8685
31489a32
JL
86862013-06-15 Juri Linkov <juri@jurta.org>
8687
8688 * files-x.el (modify-file-local-variable-prop-line): Add local
8689 variables to the end of the existing comment on the first line.
8690 Use `file-auto-mode-skip' to skip interpreter magic line,
8691 and also skip XML declaration.
8692
66bd25ab
SM
86932013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8694
8695 * startup.el (package--builtin-versions): New var.
8696 (package-subdirectory-regexp): Remove.
8697 (package--description-file): Hard code its value instead.
8698
8699 * emacs-lisp/package.el: Don't activate packages older than builtin.
8700 (package-obsolete-list): Rename from package-obsolete-alist, and make
8701 it into a simple list of package-desc.
8702 (package-strip-version): Remove.
8703 (package-built-in-p): Use package--builtin-versions.
8704 (package-mark-obsolete): Simplify.
8705 (package-process-define-package): Mark it obsolete if older than the
8706 builtin version.
8707 (package-handle-response): Use line-end-position.
8708 (package-read-archive-contents, package--download-one-archive):
8709 Simplify.
8710 (package--add-to-archive-contents): Skip if older than the builtin or
8711 installed version.
8712 (package-menu-describe-package): Fix last change.
8713 (package-list-unversioned): New var.
8714 (package-menu--generate): Use it.
8715
8716 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8717 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8718 (autoload-builtin-package-versions): New variable.
8719 (autoload-generate-file-autoloads): Use them.
8720 Remove the list of autoloaded functions/macros from the
8721 (autoload...) comments.
8722
8723 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8724
9583ec36
EZ
87252013-06-15 Eli Zaretskii <eliz@gnu.org>
8726
8727 * simple.el (line-move-partial): Don't jump to the next screen
8728 line as soon as it becomes visible. Instead, continue enlarging
8729 the vscroll until the portion of a tall screen line that's left on
8730 display is about the height of the frame's default font.
8731 (Bug#14567)
8732
f0100d8a
GM
87332013-06-15 Glenn Morris <rgm@gnu.org>
8734
b86a85ca
GM
8735 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8736 compilation-error-regexp-alist void, or local while let-bound.
8737
f0100d8a
GM
8738 * progmodes/make-mode.el (makefile-mode-syntax-table):
8739 Treat "=" as punctuation. (Bug#14614)
8740
05e7ce90
JB
87412013-06-15 Juanma Barranquero <lekktu@gmail.com>
8742
8743 * help-fns.el (describe-variable):
8744 Add extra line for permanent-local variables.
8745
12e5e86e
SH
87462013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8747
8748 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8749 Add export, import, library. (Bug#9164)
8750 (library): Set indent function.
8751
230dcbaf
GM
87522013-06-14 Glenn Morris <rgm@gnu.org>
8753
8754 * term/xterm.el (xterm--query):
8755 Stop after first matching handler. (Bug#14615)
8756
e36b2d20 87572013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8758
8759 Add support for dired in saveplace.
8760 * dired.el (dired-initial-position-hook): New variable.
8761 (dired-initial-position): Call hook to place cursor position.
8762 * saveplace.el (save-place-to-alist): Add dired position.
8763 (save-place-dired-hook): New function.
8764
0b31660d
SM
87652013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8766
bf1e6ae8
SM
8767 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8768 through a symbol rather than letrec.
8769
1b8dff23
SM
8770 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8771 (package-desc): Add `dir' field.
8772 (package-desc-full-name): New function.
8773 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8774 (package-maybe-load-descriptor): Remove.
8775 (package-load-all-descriptors): Just call package-load-descriptor.
8776 (package--disabled-p): New function.
8777 (package-desc-vers, package-desc-doc): Remove aliases.
8778 (package--dir): Remove function.
8779 (package-activate): Check if a package is disabled.
8780 (package-process-define-package): New function, extracted from
8781 define-package.
8782 (define-package): Turn into a place holder.
8783 (package-unpack-single, package-tar-file-info):
8784 Use package--description-file.
8785 (package-compute-transaction): Use package--disabled-p.
8786 (package-download-transaction): Don't call
8787 package-maybe-load-descriptor since they're all loaded anyway.
8788 (package-install): Change argument to be a pkg-desc.
8789 (package-delete): Use a single pkg-desc argument.
8790 (describe-package-1): Use package-desc-dir instead of package--dir.
8791 Use package-desc property instead of package-symbol.
8792 (package-install-button-action): Adjust accordingly.
8793 (package--push): Rewrite.
8794 (package-menu--print-info): Adjust accordingly. Change the ID format
8795 to be a pkg-desc.
8796 (package-menu-describe-package, package-menu-get-status)
8797 (package-menu--find-upgrades, package-menu-mark-upgrades)
8798 (package-menu-execute, package-menu--name-predicate):
8799 Adjust accordingly.
8800 * startup.el (package--description-file): New function.
8801 (command-line): Use it.
8802 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8803 Use package-desc-version.
8804
0b31660d
SM
8805 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8806 (byte-compile-preprocess): Use it.
8807 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8808 can't quite recognize.
8809 (byte-compile-add-to-list): Remove.
8810 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8811 (cconv-closure-convert): Add assertion.
8812
8813 * emacs-lisp/map-ynp.el: Use lexical-binding.
8814 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8815 Factor out some repeated code.
8816
de0503df
SM
88172013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8818
8819 * subr.el (with-eval-after-load): New macro.
8820 (eval-after-load): Allow form to be a function.
8821 take advantage of lexical-binding.
8822 (do-after-load-evaluation): Use dolist and adjust to new format.
8823 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8824
bc5c8c5a
JL
88252013-06-13 Juri Linkov <juri@jurta.org>
8826
8827 * replace.el (perform-replace): Display "symbol " and other search
8828 modes from `isearch-message-prefix' in the *Help* buffer.
8829
8830 * isearch.el (isearch-query-replace): Add " symbol" and other
8831 possible search modes from `isearch-message-prefix' to the prompt.
8832 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8833 when reading a regexp to collect.
8834
a22289f7
JL
88352013-06-13 Juri Linkov <juri@jurta.org>
8836
8837 * isearch.el (word-search-regexp): Match whitespace if the search
8838 string begins or ends in whitespace. The LAX arg is applied to
8839 both ends of the search string. Use `regexp-quote' and explicit
8840 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8841 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8842 boundaries are replaced with symbol boundaries, and characters
8843 between symbols match non-word non-symbol syntax. (Bug#14602)
8844
cb89acab
JL
88452013-06-13 Juri Linkov <juri@jurta.org>
8846
8847 * isearch.el (isearch-del-char): Don't exceed the length of
8848 `isearch-string' by the prefix arg. (Bug#14563)
8849
6e8cfc81
JL
88502013-06-13 Juri Linkov <juri@jurta.org>
8851
8852 * isearch.el (isearch-yank-word, isearch-yank-line)
8853 (isearch-char-by-name, isearch-quote-char)
8854 (isearch-printing-char, isearch-process-search-char):
8855 Add optional count prefix arg. (Bug#14563)
8856
8857 * international/isearch-x.el
8858 (isearch-process-search-multibyte-characters):
8859 Add optional count prefix arg.
8860
c23d55f4
VS
88612013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8862
8863 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8864 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8865 lexical-binding.
8866
88672013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8868
8869 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8870
ba947bc4
GM
88712013-06-13 Glenn Morris <rgm@gnu.org>
8872
8baeb37a
GM
8873 * startup.el (tty-handle-args):
8874 Don't just discard "--" and anything after. (Bug#14608)
8875
ba947bc4
GM
8876 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8877
9abefce4
MA
88782013-06-13 Michael Albinus <michael.albinus@gmx.de>
8879
8880 Implement changes in Secret Service API. Make it backward compatible.
8881 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8882 (secrets-create-item): Use it. Prefix properties with interface.
8883
5755011f
MH
88842013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8885
8886 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8887 (term-emulate-terminal): Respect term-suppress-hard-newline.
8888
1261d2da
S
88892013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8890
8891 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8892 Only remove a `thumb-file' overlay. (Bug#14548)
8893
868490bb
GJ
88942013-06-12 Grégoire Jadi <daimrod@gmail.com>
8895
8896 * mail/reporter.el (reporter-submit-bug-report):
8897 Handle missing package-name. (Bug#14600)
8898
79d7167f
TH
88992013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8900
8901 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8902 (reftex-citation-prompt, reftex-default-bibliography)
8903 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8904 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8905 (reftex-bib-sort-author, reftex-bib-sort-year)
8906 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8907 (reftex-extract-bib-entries-from-thebibliography)
8908 (reftex-get-bibkey-default, reftex-get-bib-names)
8909 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8910 (reftex-format-bib-entry, reftex-parse-bibitem)
8911 (reftex-format-bibitem, reftex-do-citation)
8912 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8913 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8914 (reftex-insert-bib-matches, reftex-format-citation)
8915 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8916 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8917 existing comments into docstrings.
8918
5f9dbd7a
XF
89192013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8920
8921 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8922
94df41ab
AS
89232013-06-12 Andreas Schwab <schwab@suse.de>
8924
8925 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8926 for auto-save files.
8927
a7f3fecc
GM
89282013-06-12 Glenn Morris <rgm@gnu.org>
8929
001809f6
GM
8930 * ido.el (ido-delete-ignored-files): Remove.
8931 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8932 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8933
834b5ded
EL
89342013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8935
08c73ed2
EL
8936 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8937
834b5ded
EL
8938 * ido.el (ido-delete-ignored-files): New function,
8939 split from ido-make-file-list-1.
8940 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8941 (ido-make-file-list-1): Use ido-delete-ignored-files.
8942
daabf15a
LL
89432013-06-12 Leo Liu <sdl.web@gmail.com>
8944
8945 * progmodes/octave.el (inferior-octave-startup)
8946 (inferior-octave-completion-table)
8947 (inferior-octave-track-window-width-change)
8948 (octave-eldoc-function-signatures, octave-help)
8949 (octave-find-definition): Use single quoted strings.
8950 (inferior-octave-startup-args): Change default value.
8951 (inferior-octave-startup): Do not hard code "-i" and
8952 "--no-line-editing".
8953 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8954 (inferior-octave-directory-tracker): Use it.
8955 (octave-goto-function-definition): Robustify.
8956 (octave-help): Support highlighting operators in 'See also'.
8957 (octave-find-definition): Find subfunctions only in Octave mode.
8958
cf4e5178
SM
89592013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8960
8961 * help-fns.el (help-fns--compiler-macro): If the handler function is
8962 named, then put a link to it.
8963 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8964 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8965 (cl-typep): Use it.
8966 (cl-eval-when): Simplify debug spec.
8967 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8968 compiler-macro function instead of setting `compiler-macro-file'.
8969
99c81280 89702013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8971
8972 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8973 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8974
f56be016
SM
89752013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8976 Daniel Hackney <dan@haxney.org>
8977
8978 First part of Daniel Hackney's patch to package.el.
8979 * emacs-lisp/package.el: Use defstruct.
8980 (package-desc): New, main struct.
8981 (package--bi-desc, package--ac-desc): New structs, used to describe the
8982 format in external files.
8983 (package-desc-vers): Replace with package-desc-version accessor.
8984 (package-desc-doc): Replace with package-desc-summary accessor.
8985 (package-activate-1): Remove `package' arg since the pkg-vec now
8986 includes the name.
8987 (define-package): Use package-desc-from-define.
8988 (package-unpack-single): Change file-name arg to be a symbol.
8989 (package--add-to-archive-contents): Use package-desc-create and new
8990 accessor functions to package--ac-desc.
8991 (package-buffer-info, package-tar-file-info): Return a package-desc.
8992 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8993 arg to be a package-desc.
8994 (package-install-file): Adjust accordingly. Use \' to match EOS.
8995 (package--from-builtin): New function.
8996 (describe-package-1, package-menu--generate): Use it.
8997 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8998 (package-generate-autoloads): Idem and return the name of the file.
8999 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9000 Change pkg-info arg to be a package-desc.
9001 Use package-make-ac-desc.
9002 (package-upload-file): Use \' to match EOS.
9003 * finder.el (finder-compile-keywords): Use package-make-builtin.
9004
31119d63
SM
90052013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9006
931a2762
SM
9007 * vc/vc.el (vc-deduce-fileset): Change error message.
9008 (vc-read-backend): New function.
9009 (vc-next-action): Use it.
9010
5a3eb0c6
SM
9011 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9012
e3eb1bb7
SM
9013 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9014 (prolog-font-lock-keywords): Use regexp-opt instead.
9015 Don't manually highlight strings.
9016 (prolog-mode-variables): Simplify comment-start-skip.
9017 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9018
31119d63
SM
9019 * emacs-lisp/generic.el (generic--normalise-comments)
9020 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9021 (generic-mode-set-comments): Use them.
9022 (generic-bracket-support): Use setq-local.
9023 (generic-make-keywords-list): Declare obsolete.
9024
7de135d0
GM
90252013-06-11 Glenn Morris <rgm@gnu.org>
9026
9027 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9028 Prettify after setting font-lock-defaults. (Bug#14574)
9029
fa6bc6fd
JB
90302013-06-11 Juanma Barranquero <lekktu@gmail.com>
9031
9032 * replace.el (query-replace, occur-read-regexp-defaults-function)
9033 (replace-search):
9034 * subr.el (declare-function, number-sequence, local-set-key)
9035 (substitute-key-definition, locate-user-emacs-file)
9036 (with-silent-modifications, split-string, eval-after-load):
9037 Fix typos, remove unneeded backslashes and reflow some docstrings.
9038
cf1f9b9a
SM
90392013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9040
9041 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9042 default for Elisp files.
9043
56602a4b
GM
90442013-06-11 Glenn Morris <rgm@gnu.org>
9045
9046 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9047 although define-derived-mode was doing this anyway. (Bug#14583)
9048
30ae0b2c
JB
90492013-06-10 Juanma Barranquero <lekktu@gmail.com>
9050
9051 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9052 Fix make-variable-buffer-local call to refer to the correct variable.
9053
fa472906
AG
90542013-06-10 Aidan Gauland <aidalgol@amuri.net>
9055
9056 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9057 (eshell-visual-subcommands, eshell-visual-options):
9058 Add summary line to docstrings. Add cross-references.
fa472906 9059
ff4871b9
GM
90602013-06-10 Glenn Morris <rgm@gnu.org>
9061
9062 * epa.el (epa-read-file-name): New function. (Bug#14510)
9063 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9064
04fcf1b0
AG
90652013-06-09 Aidan Gauland <aidalgol@amuri.net>
9066
9067 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9068 output redirection to be ignored with visual commands.
9069
88b00caa
AG
90702013-06-09 Aidan Gauland <aidalgol@amuri.net>
9071
9072 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9073 (eshell-term-initialize): Move long lambda to separate function
9074 eshell-visual-command-p.
e7b41c4c
JB
9075 * eshell/em-dirs.el (eshell-dirs-initialise):
9076 * eshell/em-script.el (eshell-script-initialize):
9077 Add missing #' to lambda.
88b00caa 9078
fda74125
LL
90792013-06-08 Leo Liu <sdl.web@gmail.com>
9080
9081 * progmodes/octave.el (octave-add-log-current-defun): New function.
9082 (octave-mode): Set add-log-current-defun-function.
9083 (octave-goto-function-definition): Do not move point if not found.
9084 (octave-find-definition): Enhance to try subfunctions first.
9085
467f3b33
GM
90862013-06-08 Glenn Morris <rgm@gnu.org>
9087
9088 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9089 (byte-compile-backward-char, byte-compile-backward-word):
9090 Improve previous change, to handle non-explicit nil.
9091
544badc3
SM
90922013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9095 (smie--opener/closer-at-point): New function.
9096 (smie--matching-block-data): Use it. Don't match from right after an
9097 opener or right before a closer. Obey smie-blink-matching-inners.
9098 Don't signal a mismatch for repeated inners like "switch..case..case".
9099
a175bf33
LL
91002013-06-07 Leo Liu <sdl.web@gmail.com>
9101
9102 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9103 to t. (Bug#14303)
ce8209d4
LL
9104 (octave-function-header-regexp): Fix. (Bug#14570)
9105 (octave-help-mode-finish-hook, octave-help-mode-finish):
9106 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9107
9108 * newcomment.el (comment-search-backward): Revert last change.
9109 (Bug#14434)
9110
9111 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9112
a822acff
EZ
91132013-06-07 Eli Zaretskii <eliz@gnu.org>
9114
9115 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9116 through xargs, to avoid failure due to MS-Windows limitations on
9117 command-line length.
9118
961166f5
GM
91192013-06-06 Glenn Morris <rgm@gnu.org>
9120
d0341459
GM
9121 * font-lock.el (lisp-font-lock-keywords-2):
9122 Treat user-error like error.
9123
961166f5
GM
9124 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9125 (byte-compile-backward-char, byte-compile-backward-word):
9126 Handle explicit nil arguments. (Bug#14565)
9127
80fa505f
AM
91282013-06-05 Alan Mackenzie <acm@muc.de>
9129
9130 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9131 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9132 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9133 (Bug#9706)
80fa505f 9134
fccdc796
SM
91352013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9136
9137 * autorevert.el (auto-revert-notify-handler): Use memq.
9138 Hide assertion failure.
9139
9140 * skeleton.el: Use cl-lib.
9141 (skeleton-further-elements): Use defvar-local.
9142 (skeleton-insert): Use cl-progv.
9143
9bfff84b
TZ
91442013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9145
9146 * progmodes/prog-mode.el (prog-prettify-symbols)
9147 (prog-prettify-install): Update docstrings.
9148
55577e7c
SM
91492013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9150
9151 * simple.el: Move all the prog-mode code to prog-mode.el.
9152 * progmodes/prog-mode.el: New file.
9153 * loadup.el: Add prog-mode.el.
9154
8fc57765
TZ
91552013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9156
9157 * simple.el (prog-prettify-symbols): Add version.
9158 (prog-prettify-install): Add convenience function to prettify symbols.
9159
9160 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9161 (perl--augmented-font-lock-keywords-1)
9162 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9163 variables and use it.
9164
9165 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9166 (cfengine3-mode): Remove unneeded variable and use it.
9167
9168 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9169 (lisp--augmented-font-lock-keywords-1)
9170 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9171 Remove unneeded variables and use it.
9172
650645d5 91732013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9174
9175 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9176 to point when opening the connection. (Bug#14380)
28f5da6d 9177
781b4af6
SM
91782013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9179
9180 * subr.el (load-history-regexp, load-history-filename-element)
9181 (eval-after-load, after-load-functions, do-after-load-evaluation)
9182 (eval-next-after-load, display-delayed-warnings)
9183 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9184 definition of save-match-data.
9185 (overriding-local-map): Remove accidental obsolescence declaration.
9186
9187 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9188
3ca0d0b4
TZ
91892013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9190
9191 Generalize symbol prettify support to prog-mode and implement it
9192 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9193 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9194 (prog--prettify-font-lock-compose-symbol)
9195 (prog-prettify-font-lock-symbols-keywords): New variables and
9196 functions to support symbol prettification.
9197 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9198 (lisp--augmented-font-lock-keywords-1)
9199 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9200 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9201 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9202 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9203 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9204 * progmodes/perl-mode.el (perl-prettify-symbols)
9205 (perl--font-lock-compose-symbol)
9206 (perl--font-lock-symbols-keywords): Move to prog-mode.
9207 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9208 (perl-font-lock-keywords-1)
9209 (perl-font-lock-keywords-2): Remove explicit prettify support.
9210 (perl--augmented-font-lock-keywords)
9211 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9212 (perl--augmented-font-lock-keywords-2, perl-mode):
9213 Implement prettify support.
3ca0d0b4 9214
976cb066
LL
92152013-06-05 Leo Liu <sdl.web@gmail.com>
9216
9217 Re-implement smie matching block highlight using
9218 show-paren-data-function. (Bug#14395)
9219 * emacs-lisp/smie.el (smie-matching-block-highlight)
9220 (smie--highlight-matching-block-overlay)
9221 (smie--highlight-matching-block-lastpos)
9222 (smie-highlight-matching-block)
9223 (smie-highlight-matching-block-mode): Remove.
9224 (smie--matching-block-data-cache): New variable.
9225 (smie--matching-block-data): New function.
9226 (smie-setup): Use smie--matching-block-data for
9227 show-paren-data-function.
9228
9229 * progmodes/octave.el (octave-mode-menu): Fix.
9230 (octave-find-definition): Skip garbage lines.
9231
208d0342
SM
92322013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9233
9234 Fix compilation error with simultaneous dynamic+lexical scoping.
9235 Add warning when a defvar appears after the first let-binding.
9236 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9237 (byte-compile-close-variables): Initialize it.
9238 (byte-compile--declare-var): New function.
9239 (byte-compile-file-form-defvar)
9240 (byte-compile-file-form-define-abbrev-table)
9241 (byte-compile-file-form-custom-declare-variable): Use it.
9242 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9243 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9244 (byte-compile-bind): Handle dynamic bindings that shadow
9245 lexical bindings.
9246 (byte-compile-unbind): Make arg non-optional.
9247 (byte-compile-let): Simplify.
9248 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9249 (cconv--analyse-function, cconv-analyse-form): Populate it.
9250 Protect byte-compile-bound-variables to limit the scope of defvars.
9251 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9252 Remove unneeded rule for `declare'.
9253
9254 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9255 so as to avoid depending on cl-adjoin at run-time.
9256 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9257
9258 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9259 (macroexp--warn-and-return): Use it.
9260
1ac2891e
GM
92612013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9262
a12bf61e 9263 * subr.el: Convert to lexical binding.
1ac2891e
GM
9264 (overriding-local-map): Make obsolete.
9265 (add-to-list): Doc fix. Add compiler macro.
9266 (read-key): Swap values of local maps.
9267
2587b005
LL
92682013-06-05 Leo Liu <sdl.web@gmail.com>
9269
9270 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9271
f1da3c88
LL
92722013-06-04 Leo Liu <sdl.web@gmail.com>
9273
9274 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9275 (compilation-auto-jump): Suppress the "Mark set" message to give
9276 way to exit message.
9277
3caa391f
AM
92782013-06-04 Alan Mackenzie <acm@muc.de>
9279
9280 Remove faulty optimisation from indentation calculation.
9281 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9282 search limit based on 2000 characters back from indent-point.
9283
068922a2
TH
92842013-06-03 Tassilo Horn <tsdh@gnu.org>
9285
9286 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9287
1f8fdd53
SM
92882013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9289
bbcc4d97
SM
9290 * emacs-lisp/lisp.el: Use lexical-binding.
9291 (lisp--local-variables-1, lisp--local-variables): New functions.
9292 (lisp--local-variables-completion-table): New var.
208d0342 9293 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9294
1f8fdd53
SM
9295 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9296 eagerly (bug#14422).
9297
c9628c79
MA
92982013-06-03 Michael Albinus <michael.albinus@gmx.de>
9299
9300 * autorevert.el (auto-revert-notify-enabled)
9301 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9302 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9303 (auto-revert-notify-handler): Handle also gfilenotify.
9304
e7b41c4c 9305 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9306 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9307 Remove.
c9628c79 9308
e5e4a942
JL
93092013-06-03 Juri Linkov <juri@jurta.org>
9310
9311 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9312 `M-s h .'. (Bug#14427)
9313
9314 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9315 command `hi-lock-face-symbol-at-point'.
9316 (hi-lock-face-symbol-at-point): New command.
9317 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9318 (hi-lock-menu): Add `highlight-symbol-at-point'.
9319 (hi-lock-mode): Doc fix.
9320
9321 * isearch.el (isearch-forward-symbol-at-point): New command.
9322 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9323 (isearch-highlight-regexp): Add a regexp which matches
9324 words/symbols for word/symbol mode.
9325
9326 * subr.el (find-tag-default-bounds): New function with the body
9327 mostly moved from `find-tag-default'.
9328 (find-tag-default): Move most code to `find-tag-default-bounds',
9329 call it and apply `buffer-substring-no-properties' afterwards.
9330
26b3353a
TH
93312013-06-03 Tassilo Horn <tsdh@gnu.org>
9332
781b4af6
SM
9333 * eshell/em-term.el (eshell-term-initialize):
9334 Use `cl-intersection' rather than `intersection'.
26b3353a 9335
51b60f53
XF
93362013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9337
fe054b63 9338 * vc/log-view.el: Doc fix.
d3ffe17c 9339 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9340
a0eb10b3 93412013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9342
9343 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9344 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9345 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9346 (eieio-unbound, eieio-default-superclass)
9347 (eieio--define-field-accessors, method-static, method-before)
9348 (method-primary, method-after, method-num-lists)
9349 (method-generic-before, method-generic-primary)
9350 (method-generic-after, method-num-slots)
9351 (eieio-specialized-key-to-generic-key)
9352 (eieio--check-type, class-v, class-p)
9353 (eieio-class-name, define-obsolete-function-alias)
9354 (eieio-class-parents-fast, eieio-class-children-fast)
9355 (same-class-fast-p, class-constructor, generic-p)
9356 (generic-primary-only-p, generic-primary-only-one-p)
9357 (class-option-assoc, class-option, eieio-object-p)
9358 (class-abstract-p, class-method-invocation-order)
9359 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9360 (eieio-class-un-autoload, eieio-defclass)
9361 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9362 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9363 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9364 (eieio-defgeneric-reset-generic-form)
9365 (eieio-defgeneric-form-primary-only)
9366 (eieio-defgeneric-reset-generic-form-primary-only)
9367 (eieio-defgeneric-form-primary-only-one)
9368 (eieio-defgeneric-reset-generic-form-primary-only-one)
9369 (eieio-unbind-method-implementations)
9370 (eieio--defmethod, eieio--typep)
9371 (eieio-perform-slot-validation, eieio-validate-slot-value)
9372 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9373 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9374 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9375 (eieio-slot-name-index, eieio-class-slot-name-index)
9376 (eieio-set-defaults, eieio-initarg-to-attribute)
9377 (eieio-attribute-to-initarg, eieio-c3-candidate)
9378 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9379 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9380 (eieio-class-precedence-list, eieio-generic-call-methodname)
9381 (eieio-generic-call-arglst, eieio-generic-call-key)
9382 (eieio-generic-call-next-method-list)
9383 (eieio-pre-method-execution-functions, eieio-generic-call)
9384 (eieio-generic-call-primary-only, eieiomt-method-list)
9385 (eieiomt-optimizing-obarray, eieiomt-install)
9386 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9387 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9388 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9389 (defclass): Remove `eval-and-compile' from macro.
9390 (call-next-method, shared-initialize): Instead of using
9391 `scoped-class' variable, use new eieio--scoped-class, and
9392 eieio--with-scoped-class.
9393 (initialize-instance): Rename local variable 'scoped-class' to
9394 'this-class' to remove ambiguitity from old global.
9395
9396 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9397 eieio.el.
4f405069
JB
9398 (eieio--scoped-class-stack): New variable.
9399 (eieio--scoped-class): New fcn.
890f7890
DE
9400 (eieio--with-scoped-class): New scoping macro.
9401 (eieio-defclass): Use pushnew instead of add-to-list.
9402 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9403 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9404 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9405 `scoped-class' variable, use new eieio--scoped-class, and
9406 eieio--with-scoped-class.
9407
9408 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9409
d105b0e2
TH
94102013-06-02 Tassilo Horn <tsdh@gnu.org>
9411
9412 * eshell/esh-ext.el (eshell-external-command): Pass args to
9413 `eshell-find-interpreter'.
9414 (eshell-find-interpreter): Add new second parameter ARGS.
9415
9416 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9417 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9418
9419 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9420 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9421
9422 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9423 (eshell-visual-options): New defcustom.
9424 (eshell-escape-control-x): Adapt docstring.
9425 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9426 `eshell-visual-options' in addition to `eshell-visual-commands'.
9427 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9428
f46305c8 94292013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9430
9431 * progmodes/python.el (python-indent-block-enders): Add break,
9432 continue and raise keywords.
9433
d870df21
GM
94342013-06-01 Glenn Morris <rgm@gnu.org>
9435
9133b82e
GM
9436 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9437
02c992ec 9438 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9439 * progmodes/cc-cmds.el (delete-forward-p):
9440 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9441 * progmodes/cc-engine.el (buffer-syntactic-context):
9442 * progmodes/cc-fonts.el (face-property-instance):
9443 * progmodes/cc-mode.el (set-keymap-parents):
9444 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9445 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9446 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9447 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9448 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9449
31e7b090
GM
9450 * progmodes/cc-vars.el (other): Emacs has this widget since
9451 at least 21.1, so don't (re)define it.
9452
d870df21
GM
9453 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9454 Replace the obsolete alias pcomplete-arg-quote-list.
9455
c75c93c7
LL
94562013-06-01 Leo Liu <sdl.web@gmail.com>
9457
9458 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9459 punctuation syntax.
9460 (inferior-octave-minimal-columns)
9461 (inferior-octave-last-column-width): New variables.
9462 (inferior-octave-track-window-width-change): New function.
9463 (inferior-octave-mode): Adjust column width so that Octave output,
9464 for example from 'ls', can fit into the window nicely.
9465
973d1e12
DG
94662013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9467
9468 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9469 Highlight expansions inside regexp literals.
9470
0888c286
GM
94712013-05-31 Glenn Morris <rgm@gnu.org>
9472
e26aac1f
GM
9473 * obsolete/sym-comp.el (symbol-complete):
9474 Replace obsolete completion-annotate-function.
9475
0888c286
GM
9476 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9477
19bb8e62
DG
94782013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9479
781b4af6
SM
9480 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9481 New function, checks if point is inside a literal that allows
19bb8e62
DG
9482 expression expansion.
9483 (ruby-syntax-propertize-expansion): Use it.
9484 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9485 around the body.
9486
01dea85f
JL
94872013-05-30 Juri Linkov <juri@jurta.org>
9488
9489 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9490 to "\M-si".
9491 (isearch-invisible): New variable.
9492 (isearch-forward): Doc fix.
9493 (isearch-mode): Set `isearch-invisible'
9494 to the value of `search-invisible'.
9495 (isearch-toggle-case-fold): Doc fix.
9496 (isearch-toggle-invisible): New command.
9497 (isearch-query-replace): Let-bind `search-invisible'
9498 to the value of `isearch-invisible'.
9499 (isearch-search): Use `isearch-invisible' instead of
9500 `search-invisible'. Let-bind `search-invisible'
9501 to the value of `isearch-invisible'. (Bug#11378)
9502
ab1bdce5
JL
95032013-05-30 Juri Linkov <juri@jurta.org>
9504
9505 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9506 call when `query-flag' is nil and `search-invisible' is non-nil.
9507 (Bug#11746)
9508
d6d236e2
GM
95092013-05-30 Glenn Morris <rgm@gnu.org>
9510
8accd027
GM
9511 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9512
2a8bed1c
GM
9513 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9514 (cc-require): Suppress spurious "noruntime" warnings.
9515 (cc-require-when-compile): Use fboundp, for sake of compiler.
9516
d6d236e2
GM
9517 * progmodes/cc-mode.el: Move load of cc-vars before that of
9518 cc-langs (which in turn loads cc-vars), to quieten compiler.
9519
9190b35b
SM
95202013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9521
9522 * paren.el: Simplify the code.
9523 (show-paren-mode): Always start the timer.
9524 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9525 (show-paren--overlay, show-paren--overlay-1): Rename from
9526 show-paren-overlay and show-paren-overlay-1, and initialize to an
9527 overlay rather than to nil.
9528 (show-paren-function): Misc cleanup and simplifications.
9529
4f8d1cf6
SM
95302013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9531
9532 * paren.el (show-paren-data-function): New hook.
9533 (show-paren--default): New function, extracted from show-paren-function.
9534 (show-paren-function): Use show-paren-data-function.
9535
02d844b5
GM
95362013-05-30 Glenn Morris <rgm@gnu.org>
9537
d209d4a9
GM
9538 * ielm.el (ielm-map, ielm-complete-symbol):
9539 Use completion-at-point rather than obsolete functions.
9540 (inferior-emacs-lisp-mode): Doc fix.
9541 Set completion-at-point-functions, rather than
9542 comint-dynamic-complete-functions.
9543
2082faa6
GM
9544 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9545 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9546 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9547
dd8620de
GM
9548 * image.el (image-animated-p): Tweak definition.
9549
ceca95b1
GM
9550 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9551 (rlogin-process-connection-type): Tweak default. Add set-after.
9552 (rlogin-host): Doc fix.
9553 (rlogin): Tweak prompt.
9554 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9555
ee9f1acc
GM
9556 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9557 * progmodes/tcl.el (inferior-tcl-mode-map):
9558 Use completion-at-point rather than obsolete alias.
9559
45ce222e
GM
9560 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9561
02d844b5
GM
9562 * minibuffer.el (read-file-name-completion-ignore-case):
9563 Move before completion--in-region, for eager macro expansion.
9564
ac44d6c1
JL
95652013-05-29 Juri Linkov <juri@jurta.org>
9566
9567 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9568 for total count of matching lines. Add `global-matches' for total
9569 count of matches. Rename `matches' to `lines' for count of
9570 matching lines. Add `matches' for count of matches.
9571 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9572 to `prev-line' for line number of prev match endpt.
9573 Increment `matches' for every match. Print the number of
9574 matching lines in the header.
9575 (occur-context-lines): Rename `lines' to `curr-line'.
9576 Rename `prev-lines' to `prev-line'. (Bug#14017)
9577
3c9c9d38
JL
95782013-05-29 Juri Linkov <juri@jurta.org>
9579
9580 * replace.el (perform-replace): Add `skip-read-only-count',
9581 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9582 Increment them for corresponding conditions and report the number
9583 of skipped occurrences in the final message. (Bug#11746)
9584 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9585 (replace-string, replace-regexp): Doc fix.
9586
33e249a2
SM
95872013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9588
8e399682
SM
9589 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9590
33e249a2 9591 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9592 prog-mode-map (bug#14504).
33e249a2 9593
f236dd84
LL
95942013-05-29 Leo Liu <sdl.web@gmail.com>
9595
9596 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9597 (octave-help): Small simplification.
9598
9599 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9600 off the highlight first.
9601
3694d13f
GM
96022013-05-29 Glenn Morris <rgm@gnu.org>
9603
03983bdc
GM
9604 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9605 Handle idlwave-last-system-routine-info-cons-cell being nil.
9606
bc74a74a
GM
9607 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9608 (idlwave-write-paths): Simplify via with-temp-buffer.
9609
8b394200
GM
9610 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9611 * emulation/cua-rect.el: Also load cua-base at run time.
9612
3694d13f
GM
9613 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9614 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9615 (cperl-imenu-on-info): Require imenu.
9616
336d7284
AM
96172013-05-28 Alan Mackenzie <acm@muc.de>
9618
9619 Handle "capitalised keywords" correctly.
33e249a2 9620 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9621
cb29c582
AG
96222013-05-28 Aidan Gauland <aidalgol@amuri.net>
9623
781b4af6 9624 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9625
690e44b2
GM
96262013-05-28 Glenn Morris <rgm@gnu.org>
9627
e658d75c
GM
9628 * vc/vc-arch.el (vc-exec-after): Declare.
9629 (vc-switches): Autoload.
9630 * vc/vc-bzr.el: No need to require vc when compiling.
9631 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9632 (vc-resynch-buffer, vc-dir-refresh): Declare.
9633 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9634 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9635 (vc-resynch-buffer): Declare.
9636 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9637 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9638 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9639 (grep-read-regexp, grep-read-files, grep-expand-template)
9640 (vc-dir-refresh): Declare.
9641 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9642 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9643 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9644 * vc/vc-mtn.el (vc-exec-after): Declare.
9645 (vc-switches): Autoload.
9646 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9647 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9648 (vc-file-tree-walk): Declare.
712b9732
GM
9649 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9650 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9651 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9652 * vc/vc-svn.el (vc-exec-after): Declare.
9653 (vc-switches, vc-setup-buffer): Autoload.
9654 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9655 Autoload.
9656 (vc-resynch-buffer): Declare.
9657
98e87fb3
GM
9658 * obsolete/fast-lock.el (byte-compile-warnings):
9659 Don't warn about obsolete features in this obsolete file.
9660
f5379553
GM
9661 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9662 Move definition before use.
9663
7a20ef83
GM
9664 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9665 (dun-unix-verbs): Remove dun-zippy.
9666 (dun-zippy): Remove function.
9667
690e44b2
GM
9668 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9669
3a52ccf7
JL
96702013-05-27 Juri Linkov <juri@jurta.org>
9671
9672 * replace.el (replace-search): New function with code moved out
9673 from `perform-replace'.
9674 (replace-highlight, replace-dehighlight): Move function definitions
9675 up closer to `replace-search'. (Bug#11746)
9676
d289938a
JL
96772013-05-27 Juri Linkov <juri@jurta.org>
9678
9679 * replace.el (perform-replace): Ignore invisible matches.
9680 In addition to checking `query-replace-skip-read-only', also
9681 filter out matches by calling `run-hook-with-args-until-failure'
9682 on `isearch-filter-predicates', and also check `search-invisible'
9683 for t or call `isearch-range-invisible'.
9684 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9685
66fc57e3
JL
96862013-05-27 Juri Linkov <juri@jurta.org>
9687
9688 * isearch.el (isearch-filter-predicates): Rename from
9689 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9690 (isearch-message-prefix): Display text from the property
9691 `isearch-message-prefix' of the currently active filters.
9692 (isearch-search): Don't compare `isearch-filter-predicate' with
9693 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9694 on `isearch-filter-predicates'. Also check `search-invisible' for t
9695 or call `isearch-range-invisible'.
9696 (isearch-filter-visible): Make obsolete.
9697 (isearch-lazy-highlight-search):
9698 Call `run-hook-with-args-until-failure' on
9699 `isearch-filter-predicates' and use `isearch-range-invisible'.
9700
9701 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9702 `isearch-filter-predicates' instead of `funcall'ing
9703 `isearch-filter-predicate'.
9704 (Info-mode): Set `Info-isearch-filter' to
9705 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9706
9707 * dired-aux.el (dired-isearch-filter-predicate-orig):
9708 Remove variable.
9709 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9710 (dired-isearch-filenames-end): Add and remove
9711 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9712 instead of changing the value of `isearch-filter-predicate'.
9713 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9714 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9715 Put property `isearch-message-prefix' to "filename " on
9716 `dired-isearch-filter-filenames'.
9717
9718 * wdired.el (wdired-change-to-wdired-mode):
9719 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9720 locally instead of changing `isearch-filter-predicate'.
9721 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9722
f1a60a0f
DG
97232013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9724
9725 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9726 return the commit hash (Bug#14459). Also set the
9727 `vc-git-detached' property.
9728 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9729 (vc-git-mode-line-string): Use the same help-echo format whether
9730 in detached mode or not, because we know the actual revision now.
9731 When in detached mode, shorten the revision to 7 chars.
9732
7f17cc40
SM
97332013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9734
9735 * emacs-lisp/easy-mmode.el (define-minor-mode):
9736 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9737 mode hook and provide a docstring.
9738
25c8401c
AM
97392013-05-27 Alan Mackenzie <acm@muc.de>
9740
9741 Remove spurious syntax-table text properties inserted by C-y.
9742 * progmodes/cc-mode.el (c-after-change): Also clear hard
9743 syntax-table property with value nil.
9744
dde84790
MA
97452013-05-27 Michael Albinus <michael.albinus@gmx.de>
9746
9747 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9748 when reading the events; the buffer layout shall not be changed.
9749
837fd9af
LL
97502013-05-27 Leo Liu <sdl.web@gmail.com>
9751
9752 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9753 New variable.
9754 (inferior-octave-directory-tracker): Automatically re-sync
9755 default-directory.
9756 (octave-help): Improve handling of 'See also'.
9757
4fd996b3
SM
97582013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9759
416f1802
SM
9760 * doc-view.el: Minor naming convention tweaks.
9761 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9762
4fd996b3
SM
9763 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9764 even if there's no `display' property yet (bug#14435).
9765
a052ef3b
EZ
97662013-05-25 Eli Zaretskii <eliz@gnu.org>
9767
4fd996b3 9768 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9769
9770 * Makefile.in (custom-deps, finder-data, autoloads)
9771 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9772 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9773 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9774
c9023370
SM
97752013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9776
9777 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9778 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9779 Don't burp at EOB.
c9023370 9780
24d699fa
LL
97812013-05-25 Leo Liu <sdl.web@gmail.com>
9782
9783 * comint.el (comint-previous-matching-input): Do not flood the
9784 *Messages* buffer with trivial messages.
9785
17e5c0cc
SM
97862013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9787
9788 * progmodes/flymake.el (flymake-nop): Don't return a string.
9789 (flymake-set-at): Fix typo.
9790
9791 * simple.el (read--expression): New function, extracted from
9792 eval-expression. Set completion-at-point-functions (bug#14465).
9793 (eval-expression, eval-minibuffer): Use it.
9794
5d028165
XF
97952013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9796
9797 * progmodes/flymake.el (flymake-save-buffer-in-file)
9798 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9799 (flymake-selected-frame, flymake-log, flymake-ins-after)
9800 (flymake-set-at, flymake-get-buildfile-from-cache)
9801 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9802 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9803 Refine the doc string.
9804 (flymake-get-file-name-mode-and-masks): Reformat.
9805 (flymake-get-real-file-name-function): Fix a minor bug.
9806
7a1d7ba7
JL
98072013-05-24 Juri Linkov <juri@jurta.org>
9808
9809 * progmodes/grep.el (grep-mode-font-lock-keywords):
9810 Support =linenumber= format used by git-grep for lines with
9811 function names. (Bug#13549)
9812
650cff3d
SM
98132013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9814
9815 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9816 0 after a semi-colon; it works better for smie-auto-fill.
9817 (octave--indent-new-comment-line): New function.
9818 (octave-indent-new-comment-line): Use it (indirectly).
9819 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9820 modify comment-line-break-function.
9821
9822 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9823 (smie-setup): Use add-function to set it.
9824
9631677d
SS
98252013-05-24 Sam Steingold <sds@gnu.org>
9826
9827 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9828 argument (before the `interactive' argument).
9829
50105835
SM
98302013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9831
9832 * image-mode.el (image-mode-winprops): Add winprops to
9833 image-mode-winprops-alist before running
9834 image-mode-new-window-functions.
9835 * doc-view.el (doc-view-new-window-function): Don't delay
9836 doc-view-goto-page via timers (bug#14435).
9837
57b9823e
TH
98382013-05-24 Tassilo Horn <tsdh@gnu.org>
9839
9840 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9841 (doc-view-desktop-save-buffer): New function.
9842 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9843 (desktop-buffer-mode-handlers):
9844 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9845 handler.
9846 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9847 `desktop-save-buffer' function.
9848
91aafa16
MA
98492013-05-24 Michael Albinus <michael.albinus@gmx.de>
9850
9851 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9852 (tramp-gvfs-file-name-handler): Raise a user error when
9853 `tramp-gvfs-enabled' is nil.
9854 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9855 Do not raise a user error when loading package. (Bug#14447)
9856
ec076379
MA
9857 * net/xesam.el: Move to obsolete/.
9858
db785726
GM
98592013-05-24 Glenn Morris <rgm@gnu.org>
9860
af5c7606
GM
9861 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9862
e5d1916a
GM
9863 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9864
ded62b08
GM
9865 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9866 (Info-find-node, Man-getpage-in-background): Declare.
9867
9e614a3f
GM
9868 * mail/unrmail.el (unrmail):
9869 Replace obsolete detect-coding-with-priority.
9870
892f8ca3
GM
9871 * net/socks.el (socks-split-string): Use this rather than split-string.
9872 (socks-nslookup-host): Update for above change.
9873 (dynamic-choice, s5-dynamic-choice-match)
9874 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9875 Comment out unused code.
9876
3c291973
GM
9877 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9878 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9879 (gud-tooltip-echo-area): Make obsolete.
9880 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9881
43cc956b
GM
9882 * progmodes/js.el (js--optimize-arglist): Declare.
9883
dab49a3b
GM
9884 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9885
36b9d085
GM
9886 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9887 (ediff-window-C): Declare.
9888
e354ae76
GM
9889 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9890 Tweak requires to silence compiler.
9891
b8e57bf4
GM
9892 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9893 (he-search-string, he-tried-table, he-expand-list)
9894 (he-init-string, he-string-member, he-substitute-string)
9895 (he-reset-string): Declare.
9896
db785726
GM
9897 * obsolete/options.el (list-options): Use custom-variable-p,
9898 rather than obsolete alias.
9899
b3531901
SS
99002013-05-23 Sam Steingold <sds@gnu.org>
9901
9902 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9903 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9904 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9905
bdda4c66
SM
99062013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9907
9908 * emacs-lisp/smie.el (smie-indent-forward-token)
9909 (smie-indent-backward-token): Handle string tokens (bug#14381).
9910
c43d45f9
TH
99112013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9912
fe1eb856
RS
9913 * ielm.el (ielm-menu): New menu.
9914 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9915
fe1eb856
RS
99162013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9917
a12bf61e 9918 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
9919 Fix deactivate action.
9920
a12bf61e 9921 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 9922 Add cleveref macros.
074dd971 9923
a12bf61e 9924 * textmodes/reftex-parse.el
c43d45f9
TH
9925 (reftex-locate-bibliography-files): Accept options for
9926 bibliography commands.
a12bf61e 9927 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
9928 Add addbibresource. Basic Biblatex support.
9929
7764286e
MA
99302013-05-23 Michael Albinus <michael.albinus@gmx.de>
9931
9932 * net/tramp-gvfs.el (top):
9933 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9934 when loading package. (Bug#14447)
9935
d361bc10
GM
99362013-05-23 Glenn Morris <rgm@gnu.org>
9937
8fa23984
GM
9938 * progmodes/js.el: No need to load comint when compiling.
9939 (ring-insert, comint-send-string, comint-send-input)
9940 (comint-last-input-end, ido-chop): Declare.
9941
a5c7df1a
GM
9942 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9943 * vc/ediff-mult.el: Adjust requires.
9944 (ediff-directories-internal, ediff-directory-revisions-internal)
9945 (ediff-patch-file-internal): Declare.
9946 * vc/ediff-ptch.el: Adjust requires.
9947 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9948 (ediff-find-file): Autoload.
9949 * vc/ediff-util.el: No need to load ediff when compiling.
9950 (ediff-regions-internal): Declare.
9951 * vc/ediff-wind.el: Adjust requires.
9952 (ediff-compute-toolbar-width): Define when compiling.
9953 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9954 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9955 (dired-get-filename, dired-get-marked-files)
9956 (ediff-last-dir-patch, ediff-patch-default-directory)
9957 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9958 (ediff-patch-buffer-internal): Declare.
9959
e2aec513
GM
9960 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9961 (ispell-process, ispell-buffer-local-words, lm-summary)
9962 (lm-section-start, lm-section-end): Declare.
9963 (checkdoc-ispell-init): Simplify.
9964
e68bbd7c
GM
9965 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9966 (he-string-member, he-reset-string, he-substitute-string): Declare.
9967
7efe0991
GM
9968 * eshell/em-ls.el: Adjust requires.
9969 (eshell-glob-regexp): Declare.
f87b1284
GM
9970 * eshell/em-tramp.el: Adjust requires.
9971 (eshell-parse-command): Autoload.
9972 * eshell/em-xtra.el: Adjust requires.
9973 (eshell-parse-command): Autoload.
9974 * eshell/esh-ext.el: Adjust requires.
9975 (eshell-parse-command, eshell-close-handles): Autoload.
9976 * eshell/esh-io.el: Adjust requires.
9977 (eshell-output-filter): Autoload.
9978 * eshell/esh-util.el: No need to load tramp when compiling.
9979 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9980 Declare.
9981 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9982 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9983 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9984 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9985 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9986 * eshell/esh-opt.el, eshell/esh-proc.el:
9987 * eshell/esh-var.el: Adjust requires.
9988 * eshell/eshell.el: Do not require esh-util twice.
9989 (eshell-add-input-to-history): Declare.
9990 (eshell-command): Check history module is active before using it.
9991
d361bc10
GM
9992 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9993
85d090a9
LL
99942013-05-22 Leo Liu <sdl.web@gmail.com>
9995
9996 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9997
5d0acd9d
MA
99982013-05-22 Michael Albinus <michael.albinus@gmx.de>
9999
10000 * autorevert.el (auto-revert-notify-add-watch)
10001 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10002 it indicates changes in file modification time.
10003
0cdffd7d
GM
100042013-05-22 Glenn Morris <rgm@gnu.org>
10005
ca5995ec
GM
10006 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10007 Always delete the autoloaded function from the noruntime and
10008 unresolved functions lists.
10009
6450907e
GM
10010 * allout.el: No need to load epa, epg, overlay when compiling.
10011 (epg-context-set-passphrase-callback, epg-list-keys)
10012 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10013 (epg-key-user-id-list): Declare.
10014
9c6906f6
GM
10015 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10016 (viper-set-parsing-style-toggling-macro)
10017 (viper-set-emacs-state-searchstyle-macros):
10018 Use called-interactively-p on Emacs.
10019 (viper-looking-back): Make it an obsolete alias. Update callers.
10020 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10021 Use looking-back rather than viper-looking-back.
10022 (viper-tmp-insert-at-eob, viper-enlarge-region)
10023 (viper-read-string-with-history, viper-register-to-point)
10024 (viper-append-to-register, viper-change-state-to-vi)
10025 (viper-backward-char-carefully, viper-forward-char-carefully)
10026 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10027 (viper-change-state-to-emacs): Declare.
10028 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10029 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10030 * emulation/viper-mous.el: Do not load viper-cmd.
10031 (viper-backward-char-carefully, viper-forward-char-carefully)
10032 (viper-forward-word, viper-adjust-window): Declare.
10033
5f70c169
GM
10034 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10035
b1b7f300
GM
10036 * progmodes/idlw-help.el (idlwave-help-fontify):
10037 Use called-interactively-p.
10038
f6ebbb46
GM
10039 * term/w32console.el (w32-get-console-codepage)
10040 (w32-get-console-output-codepage): Declare.
10041
0cdffd7d
GM
10042 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10043 Remove unnecessary declarations.
10044 (dframe-message): Doc fix.
10045
10046 * info.el (dframe-select-attached-frame, dframe-current-frame):
10047 Declare.
10048
10049 * speedbar.el (speedbar-message): Make it an obsolete alias.
10050 Update all callers.
10051 (speedbar-with-attached-buffer)
10052 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10053 (speedbar-with-writable): Use backquote.
10054 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10055 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10056 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10057 rather than speedbar- aliases.
10058 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10059 (speedbar-make-specialized-keymap, speedbar-insert-button)
10060 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10061 (speedbar-do-function-pointer): Declare.
10062 (rmail-speedbar-button, rmail-speedbar-find-file)
10063 (rmail-speedbar-move-message):
10064 Use dframe-with-attached-buffer rather than speedbar- alias.
10065 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10066 (dframe-message, speedbar-make-specialized-keymap)
10067 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10068 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10069 (speedbar-insert-button, dframe-select-attached-frame)
10070 (dframe-maybee-jump-to-attached-frame)
10071 (speedbar-change-initial-expansion-list)
10072 (speedbar-previously-used-expansion-list-name): Declare.
10073 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10074 Use dframe-message, dframe-with-attached-buffer rather than
10075 speedbar- aliases.
10076 (gud-sentinel): Silence compiler.
10077 * progmodes/vhdl-mode.el (speedbar-refresh)
10078 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10079 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10080 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10081 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10082 (speedbar-file-lists, speedbar-make-tag-line)
10083 (speedbar-line-directory, speedbar-goto-this-file)
10084 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10085 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10086 (speedbar-make-button, speedbar-reset-scanners)
10087 (speedbar-files-item-info, speedbar-line-text)
10088 (speedbar-find-file-in-frame, speedbar-set-timer)
10089 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10090 (speedbar-with-writable): Do not (re)define it.
10091 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10092 rather than speedbar- alias.
10093
ee44b62a
LL
100942013-05-21 Leo Liu <sdl.web@gmail.com>
10095
10096 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10097 menu items.
10098 (octave-mode): Tweak fill-nobreak-predicate.
10099 (inferior-octave-startup): Check process to avoid infinite loop.
10100 (inferior-octave): Pop to buffer first to show abornmal process
10101 exit information.
10102
640f050f
GM
101032013-05-21 Glenn Morris <rgm@gnu.org>
10104
79458038
GM
10105 * printing.el (pr-menu-bar): Define when compiling.
10106
9cc3e83f
LL
101072013-05-21 Leo Liu <sdl.web@gmail.com>
10108
10109 * progmodes/octave.el (octave-auto-fill): Remove.
10110 (octave-indent-new-comment-line): Improve.
10111 (octave-mode): Use auto fill mode through
4f405069 10112 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10113 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10114 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10115 (octave-help): Show parent directory.
10116
f440830d
GM
101172013-05-21 Glenn Morris <rgm@gnu.org>
10118
10119 * files.el (dired-unmark):
10120 * progmodes/gud.el (gdb-input): Update declarations.
10121
10122 * calculator.el (electric, ehelp): No need to load when compiling.
10123 (Electric-command-loop, electric-describe-mode): Declare.
10124
10125 * doc-view.el (doc-view-current-converter-processes): Move before use.
10126
10127 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10128 Move MODE-set-explicitly definition before use.
10129
10130 * international/mule-diag.el (mule-diag):
10131 Don't use obsolete window-system-version.
10132
10133 * mail/feedmail.el (smtpmail): No need to load when compiling.
10134 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10135
10136 * mail/mail-utils.el (rfc822): No need to load when compiling.
10137 (rfc822-addresses): Autoload it.
10138 (mail-strip-quoted-names): Trivial simplification.
10139
10140 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10141 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10142
10143 * net/snmp-mode.el (tempo): Don't duplicate requires.
10144
10145 * progmodes/prolog.el (info): No need to load when compiling.
10146 (comint): Require before shell requires it.
10147 (Info-goto-node): Autoload it.
10148 (Info-follow-nearest-node): Declare.
10149 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10150
10151 * textmodes/artist.el (picture-mode-exit): Declare.
10152
10153 * textmodes/reftex-parse.el (reftex-parse-from-file):
10154 Trivial rewrite so the compiler can parse it better.
10155
b4da2cbb
LL
101562013-05-20 Leo Liu <sdl.web@gmail.com>
10157
10158 * progmodes/octave.el (octave-help-mode-map)
10159 (octave-help-mode-finish-hook): New variables.
10160 (octave-help-mode, octave-help-mode-finish): New functions.
10161 (octave-help): Use octave-help-mode.
10162
33c0f65b
GM
101632013-05-20 Glenn Morris <rgm@gnu.org>
10164
10165 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10166
1a0a0a8a
DG
101672013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10168
10169 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10170 start at point, so that expansion starting right after opening
10171 slash in a regexp is recognized.
10172 (ruby-syntax-before-regexp-re): New defvar, extracted from
10173 ruby-syntax-propertize-function. Since the value of this regexp
10174 is looked up at runtime now, we should be able to turn
10175 `ruby-syntax-methods-before-regexp' into a defcustom later.
10176 (ruby-syntax-propertize-function): Split regexp matching into two
10177 parts, for opening and closing slashes. That allows us to skip
10178 over string interpolations and support multiline regexps.
10179 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10180 for them, which calls `ruby-syntax-propertize-expansion'.
10181 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10182 call to `ruby-syntax-propertize-function'.
10183 (ruby-syntax-propertize-expansion): Extracted from
10184 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10185 (ruby-syntax-propertize-percent-literal): Leave point right after
10186 the percent symbol, so that the expression expansion rule can
10187 propertize the contents.
462388b6
DG
10188 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10189 heredoc openers.
10190 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10191
c1a6c0a4
JL
101922013-05-18 Juri Linkov <juri@jurta.org>
10193
10194 * man.el (Man-default-man-entry): Remove `-' from the end
10195 of the default value. (Bug#14400)
10196
8051fccd
GM
101972013-05-18 Glenn Morris <rgm@gnu.org>
10198
10199 * comint.el (comint-password-prompt-regexp):
10200 Allow "password for XXX" where XXX contains colons (eg https://...).
10201
5e80b74f
LL
102022013-05-18 Leo Liu <sdl.web@gmail.com>
10203
10204 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10205 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10206 (octave-source-directories): Don't check process.
10207 (octave-source-directories, octave-find-definition): Doc fix.
10208
521a54c5
GM
102092013-05-18 Glenn Morris <rgm@gnu.org>
10210
86a94b05
GM
10211 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10212 Remove backspace/delete bindings. (Bug#14392)
10213
521a54c5
GM
10214 * cus-dep.el (custom-make-dependencies): Sort the output.
10215 (custom-versions-load-alist): Convert comment to doc.
10216
42caeb89
LL
102172013-05-17 Leo Liu <sdl.web@gmail.com>
10218
10219 * newcomment.el (comment-search-backward): Stricter in finding
10220 comment start. (Bug#14303)
10221
10222 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10223 (octave-comment-start-skip): Properly anchored.
10224
e219dd97
LL
102252013-05-17 Leo Liu <sdl.web@gmail.com>
10226
fe1eb856
RS
10227 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10228 Clean up when turned off. (Bug#14395)
e219dd97
LL
10229 (smie--highlight-matching-block-overlay): No longer buffer-local.
10230 (smie-highlight-matching-block): Adjust.
10231
dc5dcb4b
PE
102322013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10233
10234 Doc string fix for "nanoseconds" (Bug#14406).
10235 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10236 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10237
1db165f0
JB
102382013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10239
10240 * calc/calc-units.el (math-extract-units): Preserve powers
10241 of units.
10242
c7a8fcac
LL
102432013-05-17 Leo Liu <sdl.web@gmail.com>
10244
10245 * subr.el (delete-consecutive-dups): New function.
10246 * ido.el (ido-set-matches-1): Use it.
10247 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10248 * ido.el (ido-remove-consecutive-dups): Remove.
10249
f678b18a
SM
102502013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10251
10252 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10253 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10254 regexp-opt's `words'.
10255
ebfe68e8
LL
102562013-05-16 Leo Liu <sdl.web@gmail.com>
10257
10258 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10259 (smie--highlight-matching-block-overlay)
10260 (smie--highlight-matching-block-lastpos)
10261 (smie--highlight-matching-block-timer): New variables.
10262 (smie-highlight-matching-block): New function.
10263 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10264 (smie-setup): Conditionally enable smie-blink-matching-open.
10265
bc8bc17d
WS
102662013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10267
10268 Sync with upstream verilog-mode r840.
10269 * progmodes/verilog-mode.el (verilog-mode-version)
10270 (verilog-mode-release-date): Update.
10271 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10272 (verilog-sig-tieoff): Fix string error on
10273 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10274 (verilog-read-decls): Fix parameters confusing
10275 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10276
df065a0b
EZ
102772013-05-16 Eli Zaretskii <eliz@gnu.org>
10278
10279 * subr.el (reveal-filename): New function.
10280
10281 * loadup.el: Compute Emacs executable versions on MS-Windows,
10282 where executables have the .exe extension. Add a hard link
10283 emacs-XX.YY.ZZ.exe on MS-Windows.
10284
10285 * Makefile.in (XARGS_LIMIT): New variable.
10286 (custom-deps, finder-data, autoloads)
10287 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10288 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10289 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10290 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10291
2d4bf34b
LL
102922013-05-16 Leo Liu <sdl.web@gmail.com>
10293
10294 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10295 (octave-mode-menu, octave-mode-map): Remove its uses.
10296
6b9c2d85
RZ
102972013-05-16 Reto Zimmermann <reto@gnu.org>
10298
10299 Sync with upstream vhdl mode v3.34.2.
10300 * progmodes/vhdl-mode.el: Use `push' throughout.
10301 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10302 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10303 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10304 (vhdl-actual-generic-name): New option to derive actual generic name.
10305 (vhdl-port-paste-signals): Replace formal by actual generics.
10306 (vhdl-beautify): New name for old group vhdl-align. Update users.
10307 (vhdl-beautify-options): New option.
10308 (vhdl-last-input-event): New compat alias. Use throughout.
10309 (vhdl-goto-line): Replace user level function `goto-line'.
10310 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10311 vhdl-fix-statement-buffer.
10312 (vhdl-create-mode-menu): Add some entries.
10313 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10314 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10315 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10316 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10317 to force statements on one line.
10318 (vhdl-remove-trailing-spaces-region):
10319 New, split from vhdl-remove-trailing-spaces.
10320 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10321 Respect vhdl-beautify-options.
10322 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10323 (vhdl-update-sensitivity-list): Not add with index if exists without.
10324 Not include array index with signal. Ignore keywords in comments.
10325 (vhdl-get-visible-signals): Regexp tweaks.
10326 (vhdl-template-component-inst): Handle empty library.
10327 (vhdl-template-type): Add template for 'enum' type.
10328 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10329 Use vhdl-replace-string.
10330 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10331 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10332 (vhdl-speedbar-initialize): Update for above name change.
10333 (vhdl-compose-wire-components): Fix in handling of constants.
10334 (vhdl-error-regexp-emacs-alist): New variable.
10335 (vhdl-error-regexp-add-emacs): New function;
10336 adds support for new compile.el (Emacs 22+)
10337 (vhdl-generate-makefile-1): Change target order for single lib. units.
10338 Allow use of absolute file names.
10339
9df4ec5e
LL
103402013-05-16 Leo Liu <sdl.web@gmail.com>
10341
10342 * simple.el (prog-indent-sexp): Indent enclosing defun.
10343
f5ba00a6
GM
103442013-05-15 Glenn Morris <rgm@gnu.org>
10345
ed8be7ff
GM
10346 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10347 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10348 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10349 (whitespace-highlight): Move to whitespace group.
10350
10351 * comint.el (comint-source):
10352 * pcmpl-linux.el (pcmpl-linux):
10353 * shell.el (shell-faces):
10354 * eshell/esh-opt.el (eshell-opt):
10355 * international/ccl.el (ccl): Remove empty custom groups.
10356
10357 * completion.el (dynamic-completion-mode):
10358 * jit-lock.el (jit-lock-debug-mode):
10359 * minibuffer.el (completion-in-region-mode):
10360 * type-break.el (type-break-mode-line-message-mode)
10361 (type-break-query-mode):
10362 * emulation/tpu-edt.el (tpu-edt-mode):
10363 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10364 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10365 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10366
10367 * term/xterm.el (xterm): Change parent group to terminals.
10368
10369 * master.el (master): Remove empty custom group.
10370 (master-mode): Remove unused :group argument.
10371 * textmodes/refill.el (refill): Remove empty custom group.
10372 (refill-mode): Remove unused :group argument.
10373
10374 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10375
82a7c41b
GM
10376 * cus-dep.el: Provide a feature.
10377 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10378 Don't mistakenly ignore files whose basenames match a basename
10379 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10380 Add a fallback method for getting :group.
f5ba00a6 10381
6d65486d
JL
103822013-05-15 Juri Linkov <juri@jurta.org>
10383
da547b32
JL
10384 * isearch.el (isearch-char-by-name): Rename from
10385 `isearch-insert-char-by-name'. Doc fix.
10386 (isearch-forward): Mention `isearch-char-by-name' in
10387 the docstring. (Bug#13348)
10388
6d65486d
JL
10389 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10390 `exit-minibuffer' instead of
10391 `isearch-nonincremental-exit-minibuffer'.
10392 (isearch-edit-string): Remove mention of
10393 `isearch-nonincremental-exit-minibuffer' from docstring.
10394 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10395 (isearch-forward-exit-minibuffer)
10396 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10397
c9990474
SM
103982013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10399
6e911150
SM
10400 * loadup.el: Just use unversioned DOC.
10401
c9990474
SM
10402 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10403 literals as extending to EOB.
10404 (nxml-last-fontify-end): Remove unused variable.
10405 (nxml-after-change1): Use with-silent-modifications.
10406 (nxml-extend-after-change-region): Simplify.
10407 (nxml-extend-after-change-region1): Remove function.
10408 (nxml-after-change1): Don't adjust for dependent regions.
10409 (nxml-fontify-matcher): Simplify.
10410 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10411 (xmltok-add-dependent): Remove function.
10412 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10413 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10414 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10415 unclosed <[[, <?, comment, and other literals as extending to EOB.
10416 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10417 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10418 Remove functions.
10419 (rng-do-some-validation-1): Don't mark dependent regions.
10420 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10421 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10422 (nxml-clear-dependent-regions): Remove functions.
10423 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10424 (nxml-ensure-scan-up-to-date):
10425 Don't clear&mark dependent regions.
10426
e3772e98
LL
104272013-05-15 Leo Liu <sdl.web@gmail.com>
10428
c9990474
SM
10429 * progmodes/octave.el (octave-goto-function-definition):
10430 Improve and fix callers.
e3772e98 10431
5ac2eb34
SM
104322013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10433
c46c57b0
SM
10434 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10435 the setter (bug#14387).
10436
5ac2eb34
SM
10437 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10438 surrounding group (bug#14402).
10439
180ed218
JL
104402013-05-14 Juri Linkov <juri@jurta.org>
10441
10442 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10443 (Bug#14390)
10444
0ac0fecb
GM
104452013-05-14 Glenn Morris <rgm@gnu.org>
10446
10447 * progmodes/f90.el (f90-imenu-generic-expression):
10448 Fix typo in 2013-05-08 change. (Bug#14402)
10449
2e78e6a7
JPG
104502013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10451
5ac2eb34
SM
10452 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10453 Remove signals for which replies are never received.
2e78e6a7 10454
53267cca
JPG
104552013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10456
10457 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10458 (gdb-handler-alist, gdb-handler-number): Remove variables.
10459 (gdb-handler-list): New variable.
10460 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10461 (gdb-pending-handler-p, gdb-handle-reply)
10462 (gdb-remove-all-pending-triggers): New functions.
10463 (gdb-discard-unordered-replies): New defcustom.
10464 (gdb-handler): New defstruct.
10465 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10466 instead of gdb-pending-triggers. Update docstring.
10467 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10468 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10469 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10470 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10471 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10472 (gdb-frame-handler): Pending triggers are now automatically managed.
10473 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10474 Remove argument.
10475 (gdb-input): Automatically handles pending triggers. Update docstring.
10476 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10477 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10478 Update comments.
10479 (gdb-done-or-error): Now use gdb-handle-reply.
10480
d04ce803
JPG
104812013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10482
10483 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10484 gdb-debug-log.
10485
0114073a
GM
104862013-05-14 Glenn Morris <rgm@gnu.org>
10487
10488 * subr.el (user-emacs-directory-warning): New option.
10489 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10490
4d25fd7e
LL
104912013-05-14 Leo Liu <sdl.web@gmail.com>
10492
10493 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10494 during redisplay.
10495 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10496 (octave-font-lock-texinfo-comment): Fix invalid search bound
10497 error: wrong side of point.
4d25fd7e 10498
27c8b6eb
GM
104992013-05-14 Glenn Morris <rgm@gnu.org>
10500
61aaeb01
GM
10501 * progmodes/flymake.el (flymake-xml-program): New option.
10502 (flymake-xml-init): Use it.
10503
5bf90bc5
GM
10504 * term/xterm.el: Provide a feature.
10505
10506 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10507
f4c7dfd2
GM
105082013-05-13 Glenn Morris <rgm@gnu.org>
10509
10510 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10511 Add compat aliases as a hack workaround. (Bug#14384)
10512
2aeb3a1d
LL
105132013-05-13 Leo Liu <sdl.web@gmail.com>
10514
b0e069c2
LL
10515 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10516 ###, and %!.
f5a9432f
LL
10517 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10518 C-M-q.
b0e069c2
LL
10519 (octave-comment-start-skip): Include %!.
10520 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10521
30ea8374
LL
105222013-05-12 Leo Liu <sdl.web@gmail.com>
10523
10524 * progmodes/octave.el (inferior-octave-startup): Store the value
10525 of __octave_srcdir__ for octave-source-directories.
10526 (inferior-octave-check-process): New function refactored out of
10527 inferior-octave-send-list-and-digest.
10528 (octave-source-directories)
10529 (octave-find-definition-filename-function): New variables.
10530 (octave-source-directories)
10531 (octave-find-definition-default-filename): New functions.
10532 (octave-find-definition): Improve to find functions implemented in C++.
10533
472a3834
GM
105342013-05-12 Glenn Morris <rgm@gnu.org>
10535
10536 * calendar/diary-lib.el (diary-outlook-format-1):
10537 Don't include dayname in the output. (Bug#14349)
10538
3191b52f
GM
105392013-05-11 Glenn Morris <rgm@gnu.org>
10540
0060ac73
GM
10541 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10542
3191b52f
GM
10543 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10544 Treat cc-provide like provide.
10545
e065ba74
KR
105462013-05-11 Kevin Ryde <user42@zip.com.au>
10547
10548 * cus-dep.el (custom-make-dependencies):
10549 Use generated-autoload-load-name for the sake of files such
10550 such cedet/semantic/bovine/c.el, where the base file name
10551 is not in load-path. (Bug#5277)
10552
36f84c37
GM
105532013-05-11 Glenn Morris <rgm@gnu.org>
10554
10555 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10556 Provide features.
10557
c8730c3a
LL
105582013-05-11 Leo Liu <sdl.web@gmail.com>
10559
10560 * progmodes/octave.el (octave-indent-comment): Improve.
10561 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10562 (octave-eldoc-function-signatures, octave-eldoc-function):
10563 New functions.
c8730c3a
LL
10564 (octave-mode, inferior-octave-mode): Add eldoc support.
10565
212e29f2
RS
105662013-05-11 Richard Stallman <rms@gnu.org>
10567
10568 * epa.el (epa-decrypt-file): Take output file name as argument
10569 and read it using `interactive'.
10570
083fe0d7
LL
105712013-05-11 Leo Liu <sdl.web@gmail.com>
10572
10573 * progmodes/octave.el (octave-beginning-of-line)
10574 (octave-end-of-line): Check before using up-list because it jumps
10575 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10576 (octave-indent-comment): New function.
10577 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10578 (octave-begin-keywords, octave-end-keywords)
10579 (octave-reserved-words, octave-smie-bnf-table)
10580 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10581
8582e4c4
GM
105822013-05-11 Glenn Morris <rgm@gnu.org>
10583
f20def1f
GM
10584 * faces.el (internal-face-x-get-resource):
10585 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10586 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10587 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10588 Fix declarations.
f20def1f 10589
445f95e2
GM
10590 * calc/calc-menu.el: Make it loadable in isolation.
10591
10592 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10593 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10594 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10595 (eudc-bbdb-query-internal): Require 'bbdb.
10596
99fb2756
GM
10597 * lpr.el (lpr-headers-switches):
10598 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10599
10600 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10601
0da7ad96
GM
10602 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10603
8582e4c4
GM
10604 * term.el (term-set-escape-char): Make it idempotent.
10605
f71c50d0
LL
106062013-05-10 Leo Liu <sdl.web@gmail.com>
10607
5ac2eb34
SM
10608 * progmodes/octave.el (inferior-octave-completion-table):
10609 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10610 completion due to bug#11906.
10611 (octave-beginning-of-defun): Re-write to be more general.
10612
d5837773
GM
106132013-05-10 Glenn Morris <rgm@gnu.org>
10614
10615 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10616
027c0f75
SM
106172013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10618
10619 * comint.el (comint-redirect-send-command-to-process): Use :around
10620 rather than :override for comint-redirect-filter.
10621 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10622 Call it instead of comint-redirect-original-filter-function (which
10623 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10624
4465bfb4
JD
106252013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10626
10627 * frame.el (display-monitor-attributes-list): Add NS case.
10628 (ns-display-monitor-attributes-list): Declare.
10629
2d809ffa 106302013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10631
10632 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10633
e54eeb9b
GM
106342013-05-09 Glenn Morris <rgm@gnu.org>
10635
56cd351d
GM
10636 * international/fontset.el (vertical-centering-font-regexp):
10637 Set standard-value.
10638
d84b6108
GM
10639 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10640
a931698a
GM
10641 * bookmark.el (bookmark-search-delay):
10642 * cus-start.el (vertical-centering-font-regexp):
10643 * ps-mule.el (ps-mule-font-info-database-default):
10644 * ps-print.el (ps-default-fg, ps-default-bg):
10645 * type-break.el (type-break-good-break-interval):
10646 * whitespace.el (whitespace-indentation-regexp)
10647 (whitespace-space-after-tab-regexp):
10648 * emacs-lisp/testcover.el (testcover-1value-functions)
10649 (testcover-noreturn-functions, testcover-progn-functions)
10650 (testcover-prog1-functions):
10651 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10652 * eshell/em-glob.el (eshell-glob-translate-alist):
10653 * play/tetris.el (tetris-tty-colors):
10654 * progmodes/cpp.el (cpp-face-default-list):
10655 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10656 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10657 (idlwave-help-browser-generic-args):
10658 * progmodes/make-mode.el (makefile-special-targets-list):
10659 * progmodes/python.el (python-shell-virtualenv-path):
10660 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10661 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10662 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10663 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10664 * textmodes/reftex-vars.el (reftex-format-label-function):
10665 * textmodes/remember.el (remember-diary-file): Fix custom types.
10666
e54eeb9b
GM
10667 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10668 Add :version.
10669
455851dd
LL
106702013-05-09 Leo Liu <sdl.web@gmail.com>
10671
10672 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10673 Restore file completion. (Bug#14300)
455851dd
LL
10674 (inferior-octave-startup): Fix incorrect highlighting for the
10675 first prompt.
10676
a9e4425b
SM
106772013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10678
10679 * progmodes/ruby-mode.el: First cut at SMIE support.
10680 (ruby-use-smie): New var.
10681 (ruby-smie-grammar): New constant.
10682 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10683 (ruby-smie--forward-token, ruby-smie--backward-token)
10684 (ruby-smie-rules): New functions.
10685 (ruby-mode-variables): Setup SMIE if applicable.
10686
060ca408
EZ
106872013-05-08 Eli Zaretskii <eliz@gnu.org>
10688
10689 * simple.el (line-move-visual): Signal beginning/end of buffer
10690 only if vertical-motion moved less than it was requested. Avoids
10691 silly incorrect error messages when there are display strings with
10692 multiple newlines at EOL.
10693
1d5963cc
SM
106942013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10695
10696 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10697 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10698 (prolog-char-quote-workaround):
10699 * progmodes/cperl-mode.el (cperl-under-as-char):
10700 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10701 Mark as obsolete.
10702 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10703 their declaration.
10704 (vhdl-mode-syntax-table-init): Remove.
10705
c9990474
SM
10706 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10707 last change.
1d5963cc
SM
10708
10709 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10710 syntax for "_".
10711 (ld-script-font-lock-keywords):
10712 Change regexps to use things like \_< and \_>.
10713
10714 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10715 Change all regexps to use things like \_< and \_>.
10716
10717 * progmodes/autoconf.el (autoconf-definition-regexp)
10718 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10719 Handle a _ with symbol syntax.
10720 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10721
c9990474
SM
10722 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10723 Consolidate declaration.
1d5963cc
SM
10724 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10725 the declaration.
10726 (ada-create-syntax-table): Remove.
10727 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10728 already has the right syntax nowadays.
10729 (ada-goto-next-word): Don't change the syntax of "_".
10730
10731 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10732 with-wrapper-hook.
10733
72d3cfca
SS
107342013-05-08 Sam Steingold <sds@gnu.org>
10735
10736 * thingatpt.el (thing-at-point): Accept optional second argument
10737 NO-PROPERTIES to strip the text properties from the return value.
10738 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10739 to `thing-at-point' instead of stripping the properties ourselves.
10740 Also, when `thing-at-point' fails to find a url, prepend "http://"
10741 to the filename at point on the assumption that the user is
10742 pointing at something like gnu.org/gnu.
10743
5cb15713
JB
107442013-05-08 Juanma Barranquero <lekktu@gmail.com>
10745
10746 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10747 * faces.el (crm-separator):
10748 Silence byte-compiler.
10749
10750 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10751 (tool-bar-map): Remove unneeded defvars.
10752
ea78b95b
LL
107532013-05-08 Leo Liu <sdl.web@gmail.com>
10754
10755 Re-work a fix for bug#10994 based on Le Wang's patch.
10756 * ido.el (ido-remove-consecutive-dups): New helper.
10757 (ido-completing-read): Use it.
10758 (ido-chop): Revert fix for bug#10994.
10759
dc7466df
AS
107602013-05-08 Adam Spiers <emacs@adamspiers.org>
10761
10762 * cus-edit.el (custom-save-variables):
10763 Pretty-print long values. (Bug#14187)
10764
9ecf672a
GM
107652013-05-08 Glenn Morris <rgm@gnu.org>
10766
10767 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10768 (m4-mode-syntax-table): Init in the defvar.
10769 (m4-mode-abbrev-table): Let define-derived-mode define it.
10770
3f555be8
TT
107712013-05-08 Tom Tromey <tromey@redhat.com>
10772
10773 * progmodes/m4-mode.el (m4-mode-syntax-table):
10774 Do not treat "_" as word constituent. (Bug#14167)
10775
7cc8ae06
GM
107762013-05-07 Glenn Morris <rgm@gnu.org>
10777
4f58bc06
GM
10778 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10779 Remove explicit eshell-isearch-cancel-map.
10780
7cc8ae06
GM
10781 * progmodes/f90.el (f90-smart-end-names): New option.
10782 (f90-smart-end): Doc fix.
10783 (f90-end-block-optional-name): New constant.
10784 (f90-block-match): Respect f90-smart-end-names.
10785
ceb57e59
SM
107862013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10787
10788 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10789 about implicit semi-colons (bug#14218).
10790
4e3f9230
YM
107912013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10792
10793 * frame.el (display-monitor-attributes-list)
10794 (frame-monitor-attributes): New functions.
10795
203a5572
LL
107962013-05-06 Leo Liu <sdl.web@gmail.com>
10797
10798 * progmodes/octave.el (octave-syntax-propertize-function): Change
10799 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10800 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10801 (octave-completion-at-point): Rename from
203a5572
LL
10802 octave-completion-at-point-function.
10803 (inferior-octave-directory-tracker): Robustify.
10804 (octave-text-functions): Remove and fix its uses. No such things
10805 any more.
10806
ee6cff99
SM
108072013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10808
10809 * emacs-lisp/trace.el (trace--display-buffer): New function.
10810 (trace-make-advice): Use it.
10811
32985194
JL
108122013-05-06 Juri Linkov <juri@jurta.org>
10813
10814 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10815 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10816 Doc fix.
10817 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10818 in the help string. (Bug#12985)
10819
a1c700de
KD
108202013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10821
10822 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10823
c67c0839
SM
108242013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10825
323885fd
SM
10826 * progmodes/perl-mode.el: Add support for here documents.
10827 (perl-syntax-propertize-function): Match here-doc markers.
10828 (perl-syntax-propertize-special-constructs): Find their end.
10829 (perl-imenu-generic-expression): Use [:alnum:].
10830
c67c0839
SM
10831 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10832 (advice--add-function): Refresh the advice if already present
10833 (bug#14317).
10834
d491e7a8
IA
108352013-05-06 Ivan Andrus <darthandrus@gmail.com>
10836
10837 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10838
ddf9925e
GM
108392013-05-06 Glenn Morris <rgm@gnu.org>
10840
7cc3af27
GM
10841 * w32-fns.el (w32-charset-info-alist): Declare.
10842
16e343d6
GM
10843 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10844 of its defcustom properties.
10845 (eshell-cmpl-initialize): No need to load pcomplete.
10846
7d889a47
GM
10847 * generic-x.el: No need to require comint when compiling.
10848
ddf9925e
GM
10849 * net/eudc-export.el: Make it loadable without bbdb.
10850 (top-level): Use require rather than load-library.
10851 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10852 (eudc-batch-export-records-to-bbdb)
10853 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10854 Require bbdb.
10855
1e2c18df
SM
108562013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10857
10858 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10859 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10860 some tweaks, instead.
10861
02502a5f
LL
108622013-05-05 Leo Liu <sdl.web@gmail.com>
10863
10864 * progmodes/octave.el (octave-font-lock-keywords)
10865 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10866 (inferior-octave-send-list-and-digest): Improve error message.
10867 (octave-mode, inferior-octave-mode): Use setq-local.
10868 (octave-help): Set info-lookup-mode.
10869
0dc04f42
RS
108702013-05-05 Richard Stallman <rms@gnu.org>
10871
6c54491c
RS
10872 * vc/compare-w.el (compare-windows-whitespace):
10873 Treat no-break space as whitespace.
10874
0dc04f42
RS
10875 * mail/rmailsum.el (rmail-summary-rmail-update):
10876 Detect empty summary and don't change selected message.
10877 (rmail-summary-goto-msg): Likewise.
10878
df8f35df
RS
10879 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10880 Doc fixes, rename args.
10881
5356e1a3
AM
108822013-05-05 Alan Mackenzie <acm@muc.de>
10883
10884 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10885
d44014cb
JL
108862013-05-05 Juri Linkov <juri@jurta.org>
10887
10888 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10889 to not add the length of the summary segment to the return value.
10890 (Bug#14125)
10891
c129b51f
LL
108922013-05-05 Leo Liu <sdl.web@gmail.com>
10893
10894 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10895 (inferior-octave-output-filter): Remove.
10896 (octave-send-region, inferior-octave-startup): Fix callers.
10897 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10898 (octave-binary-file-extensions): New user variable.
10899 (octave-find-definition): Confirm if opening binary files.
10900 (octave-help-file): Use octave-find-definition to get the binary
10901 confirmation.
10902 (octave-help): Adjust for octave-help-file change.
10903
aa7dab97
SM
109042013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10905
10906 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10907 Merge the two entries that handle function definitions.
10908 (pascal--syntax-propertize): New const.
10909 (pascal-mode): Use it. Use setq-local.
10910
fd3a9a6b
GM
109112013-05-04 Glenn Morris <rgm@gnu.org>
10912
10913 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10914 (diary-from-outlook): Respect diary-from-outlook-function.
10915
30c7e542
SM
109162013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10917
10918 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10919 Move the declaration from C.
10920 (read-minibuffer, eval-minibuffer): Move from C.
10921 (completion-setup-function): Avoid minibuffer-completion-contents.
10922
b54f978b
LL
109232013-05-03 Leo Liu <sdl.web@gmail.com>
10924
10925 * progmodes/octave.el (octave-font-lock-keywords): Do not
10926 dehighlight 'end' in comments or strings.
30c7e542
SM
10927 (octave-completing-read, octave-goto-function-definition):
10928 New helpers.
d4d0f9b3
LL
10929 (octave-help-buffer): New user variable.
10930 (octave-help-file, octave-help-function): New button types.
10931 (octave-help): New command and bind it to C-h ;.
10932 (octave-find-definition): New command and bind it to M-.
d74a1581 10933 (user-error): Alias to error if not defined.
b54f978b 10934
27135018
LL
109352013-05-02 Leo Liu <sdl.web@gmail.com>
10936
10937 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10938 for \. (bug#14332)
10939 (octave-font-lock-keywords): Include [ and {.
10940
0d634d3a
LL
109412013-05-02 Leo Liu <sdl.web@gmail.com>
10942
10943 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10944 (inferior-octave): Remove calling comint-mode and return the buffer.
10945 (inferior-octave-startup): Cosmetic changes.
10946
b4c8295e
LL
109472013-05-02 Leo Liu <sdl.web@gmail.com>
10948
30c7e542
SM
10949 * progmodes/octave.el (octave-syntax-propertize-function):
10950 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10951
f12ad6ec
GM
109522013-05-02 Glenn Morris <rgm@gnu.org>
10953
10954 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10955 * desktop.el (vc-dir-mode): Just autoload it here.
10956
30cac1e0
AM
109572013-05-02 Alan Mackenzie <acm@muc.de>
10958
10959 Eliminate variable c-standard-font-lock-fontify-region-function.
10960 * progmodes/cc-mode.el
10961 (c-standard-font-lock-fontify-region-function): Remove.
10962 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10963
d8ef28b1
LL
109642013-05-01 Leo Liu <sdl.web@gmail.com>
10965
2640d52e 10966 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10967 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10968 variables were removed from Octave in 2007.
d8ef28b1
LL
10969 (inferior-octave-startup): Fix uses.
10970 (comint-line-beginning-position): Remove compatibility code for
10971 emacs 21.
10972
ac63ec89
JL
109732013-05-01 Juri Linkov <juri@jurta.org>
10974
10975 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10976
9e9be37c
JL
109772013-05-01 Juri Linkov <juri@jurta.org>
10978
10979 * comint.el (comint-previous-matching-input): Don't print message
10980 "History item: %d" when `isearch-mode' is active.
10981 (comint-history-isearch-message): Print message "History item: %d"
10982 when `comint-input-ring-index' is not empty and this function is
10983 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10984
9b92c13b
LL
109852013-05-01 Leo Liu <sdl.web@gmail.com>
10986
10987 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10988 definitions. Use completion-at-point to insert keywords.
10989 (octave-abbrev-start): Remove.
10990 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10991
b12d33d7
LL
109922013-04-30 Leo Liu <sdl.web@gmail.com>
10993
10994 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10995 change.
10996
3d1c39fa
AM
109972013-04-30 Alan Mackenzie <acm@muc.de>
10998
10999 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11000 * progmodes/cc-engine.el (c-back-over-member-initializers):
11001 new function.
3d1c39fa
AM
11002 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11003 (most) member init lists.
11004
5147fc17
RS
110052013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11006
11007 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11008 variable.
11009
5b78d7fc
LL
110102013-04-30 Leo Liu <sdl.web@gmail.com>
11011
11012 * progmodes/octave.el (octave-variables): Remove. No builtin
11013 variables any more. All converted to functions.
11014 (octave-font-lock-keywords, octave-completion-at-point-function):
11015 Fix uses.
11016 (octave-font-lock-texinfo-comment): New user variable.
11017 (octave-texinfo-font-lock-keywords): New variable for texinfo
11018 comment block.
11019 (octave-function-comment-block): New face.
11020 (octave-font-lock-texinfo-comment): New function.
11021 (octave-mode): Font lock texinfo comment block.
11022
38d8527b
LL
110232013-04-29 Leo Liu <sdl.web@gmail.com>
11024
11025 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11026 indexing expression.
11027 (octave-continuation-string): Do not use \.
11028 (inferior-octave-complete-impossible): Remove.
11029 (inferior-octave-completion-table)
11030 (inferior-octave-completion-at-point): Remove its uses.
11031 (inferior-octave-startup): completion_matches was introduced to
11032 Octave in 1996 so safe to assume it.
11033 (octave-function-file-comment): Improve to follow how Octave does it.
11034 (octave-update-function-file-comment): Tweak.
11035
2ec12cb0
LL
110362013-04-29 Leo Liu <sdl.web@gmail.com>
11037
11038 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11039 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11040 (octave-function-file-comment): Fix typo.
11041 (octave-sync-function-file-names): Use read-char-choice.
11042
6eaed048
JB
110432013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11044
11045 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11046 to t for the less important warnings.
11047
3ffa2d4f
DH
110482013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11049
11050 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11051
685c9501
GM
110522013-04-27 Glenn Morris <rgm@gnu.org>
11053
11054 * vc/log-view.el (log-view-current-entry):
11055 Treat "---" separator lines as part of the following rev. (Bug#14169)
11056
0208ede7
JL
110572013-04-27 Juri Linkov <juri@jurta.org>
11058
11059 * subr.el (read-number): Doc fix about using it by interactive
11060 code letter `n'. (Bug#14254)
11061
5db9dace
JL
110622013-04-27 Juri Linkov <juri@jurta.org>
11063
11064 * desktop.el (desktop-auto-save-timeout): New option.
11065 (desktop-file-checksum): New variable.
11066 (desktop-save): Add optional arg `auto-save' and don't auto-save
11067 if nothing changed.
11068 (desktop-auto-save-timer): New variable.
11069 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11070 (after-init-hook): Call `desktop-auto-save-set-timer'.
11071 Suggested by Reuben Thomas <rrt@sc3d.org> in
11072 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11073
b7260dd4
LL
110742013-04-27 Leo Liu <sdl.web@gmail.com>
11075
11076 * progmodes/octave.el (octave-function-file-p)
11077 (octave-skip-comment-forward, octave-function-file-comment)
11078 (octave-update-function-file-comment): New functions.
11079 (octave-mode-map): Bind C-c ; to
11080 octave-update-function-file-comment.
11081 (octave-mode-menu): Add octave-update-function-file-comment.
11082 (octave-mode, inferior-octave-mode): Fix doc-string.
11083 (octave-insert-defun): Conform to Octave's coding convention.
11084 (Bug#14285)
11085
11086 * files.el (basic-save-buffer): Don't let errors in
11087 before-save-hook prevent saving buffer.
11088
c46da669
RW
110892013-04-20 Roland Winkler <winkler@gnu.org>
11090
11091 * faces.el (read-face-name): Use completing-read if arg multiple
11092 is nil.
11093
a81ee1eb
IL
110942013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11095
11096 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11097 displayed, move point to after the totals line.
11098 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11099 for the details.
11100
4fac34ce
SM
111012013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11102
11103 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11104 Add current dir to the load-path.
11105 (package-generate-autoloads): Don't rely on
11106 autoload-ensure-default-file.
11107
f6bfc063
RT
111082013-04-26 Reuben Thomas <rrt@sc3d.org>
11109
d40ab5cf
BG
11110 * textmodes/remember.el (remember-store-in-files): Document that
11111 the file name format is passed to `format-time-string'.
f6bfc063 11112
e55d3b04
LL
111132013-04-26 Leo Liu <sdl.web@gmail.com>
11114
11115 * progmodes/octave.el (octave-sync-function-file-names): New function.
11116 (octave-mode): Use it in before-save-hook.
11117
e53052d3
SM
111182013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11119
140ef50c
SM
11120 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11121 (bug#14274).
11122
e53052d3
SM
11123 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11124 \n and comment, even if it's not an implicit ; (bug#14218).
11125
af80458d 111262013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11127
11128 * subr.el (read-number): Once more use `read' rather than
11129 `string-to-number', to trap non-numeric input. (Bug#14254)
11130
af80458d 111312013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11132
11133 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11134 Use `syntax-multiline' text property consistently instead of
8a621d53 11135 `font-lock-multiline'. (Bug#14237)
70203c2e 11136
e6ea1f6c
GM
111372013-04-26 Glenn Morris <rgm@gnu.org>
11138
11139 * emacs-lisp/shadow.el (list-load-path-shadows):
11140 No longer necessary to check for duplicate simple.el, since
11141 2012-07-07 change to init_lread to not include installation lisp
11142 directories in load-path when running uninstalled. (Bug#14270)
11143
070ccca4
LL
111442013-04-26 Leo Liu <sdl.web@gmail.com>
11145
11146 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11147 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11148 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11149 octave-in-string-or-comment-p.
11150 (octave-in-comment-p, octave-in-string-p)
11151 (octave-in-string-or-comment-p): Replace defsubst with defun.
11152
9d1c5fb6
PE
111532013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11154
11155 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11156
c034abda
BG
111572013-04-25 Bastien Guerry <bzg@gnu.org>
11158
11159 * textmodes/remember.el (remember-data-directory)
11160 (remember-directory-file-name-format): Fix custom types.
11161
584ea277
LL
111622013-04-25 Leo Liu <sdl.web@gmail.com>
11163
e53052d3
SM
11164 * progmodes/octave.el (octave-completion-at-point-function):
11165 Make use of inferior octave process.
584ea277
LL
11166 (octave-initialize-completions): Remove.
11167 (inferior-octave-completion-table): New function.
11168 (inferior-octave-completion-at-point): Use it.
11169 (octave-completion-alist): Remove.
11170
1693b06a
SM
111712013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11172
11173 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11174 (opascal-mode-syntax-table): New var.
11175 (opascal-literal-kind, opascal-is-literal-end)
11176 (opascal-literal-token-at): Rewrite.
11177 (opascal--literal-start-re, opascal-font-lock-keywords)
11178 (opascal--syntax-propertize): New constants.
11179 (opascal-font-lock-defaults): Adjust.
11180 (opascal-mode): Use them. Set comment-<foo> variables as well.
11181 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11182 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11183 (delphi-other-face, opascal-other-face): Remove face variables.
11184 (opascal-save-state): Remove macro.
11185 (opascal-fontifying-progress-step): Remove constant.
11186 (opascal--ignore-changes): Remove var.
11187 (opascal-set-token-property, opascal-parse-next-literal)
11188 (opascal-is-stable-literal, opascal-complete-literal)
11189 (opascal-is-literal-start, opascal-face-of)
11190 (opascal-parse-region, opascal-parse-region-until-stable)
11191 (opascal-fontify-region, opascal-after-change)
11192 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11193 (opascal-debug-parse-region, opascal-debug-parse-window)
11194 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11195 (opascal-debug-fontify-buffer): Remove.
11196 (opascal-debug-mode-map): Adjust accordingly.
11197
be64c05d
LL
111982013-04-25 Leo Liu <sdl.web@gmail.com>
11199
11200 Merge octave-mod.el and octave-inf.el into octave.el with some
11201 cleanups.
11202 * progmodes/octave.el: New file renamed from octave-mod.el.
11203 * progmodes/octave-inf.el: Merged into octave.el.
11204 * progmodes/octave-mod.el: Renamed to octave.el.
11205
d79d37bd
TH
112062013-04-25 Tassilo Horn <tsdh@gnu.org>
11207
11208 * textmodes/reftex-vars.el
11209 (reftex-label-ignored-macros-and-environments): New defcustom.
11210
11211 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11212
ced3fc5d
SM
112132013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11214
11215 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11216 (smie-indent-keyword): Improve the check to ensure that the next
11217 comment is really on the same line.
11218 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11219
11220 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11221 semi-colons if the line is not otherwise empty (bug#14218).
11222
1c141dad
GM
112232013-04-25 Glenn Morris <rgm@gnu.org>
11224
11225 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11226
5058062a
SM
112272013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11228
11229 * progmodes/opascal.el (opascal-set-token-property): Rename from
11230 opascal-set-text-properties and only set `token' (bug#14134).
11231 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11232 (opascal-literal-text-properties): Remove.
11233 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11234 Adjust callers.
11235
5db9dace 112362013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11237
11238 * textmodes/remember.el (remember-handler-functions): Add an
11239 option for a new handler `remember-store-in-files'.
11240 (remember-data-directory, remember-directory-file-name-format):
11241 New options.
11242 (remember-store-in-files): New function to store remember notes
11243 as separate files within a directory.
11244
4391916c
MH
112452013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11246
11247 * progmodes/compile.el (compilation-next-error-function):
11248 Pass "formats" to compilation-find-file (bug#11777).
11249
bb7cdf58
GM
112502013-04-24 Glenn Morris <rgm@gnu.org>
11251
3b8fe752 11252 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11253 * vc/vc-hg.el (vc-hg-print-log):
11254 * vc/vc-svn.el (vc-svn-print-log):
11255 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11256
bb7cdf58
GM
11257 * vc/vc-bzr.el (vc-bzr-print-log):
11258 * vc/vc-cvs.el (vc-cvs-print-log):
11259 * vc/vc-git.el (vc-git-print-log):
11260 * vc/vc-hg.el (vc-hg-print-log):
11261 * vc/vc-mtn.el (vc-mtn-print-log):
11262 * vc/vc-rcs.el (vc-rcs-print-log):
11263 * vc/vc-sccs.el (vc-sccs-print-log):
11264 * vc/vc-svn.el (vc-svn-print-log):
11265 * vc/vc.el (vc-print-log-internal): Doc fixes.
11266
b46a056e
GM
112672013-04-23 Glenn Morris <rgm@gnu.org>
11268
11269 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11270 Remove venerable code attempting to avoid substitute-command-keys.
11271
0aecf718
TH
112722013-04-23 Tassilo Horn <tsdh@gnu.org>
11273
4391916c
MH
11274 * textmodes/reftex-vars.el (reftex-label-regexps):
11275 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11276
117f94cf
SM
112772013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11278
4391916c 11279 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11280 Use lexical-binding.
11281 (jit-lock-force-redisplay): Use markers, check buffer's continued
11282 existence and beware narrowed buffers.
11283 (jit-lock-fontify-now): Adjust call accordingly.
11284
1d829c64
SM
112852013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11286
11287 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11288 to avoid misleading the user.
11289
72d548a9
LL
112902013-04-22 Leo Liu <sdl.web@gmail.com>
11291
11292 * info-look.el: Prefer latex2e.info. (Bug#14240)
11293
d0853629
MA
112942013-04-22 Michael Albinus <michael.albinus@gmx.de>
11295
11296 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11297
11298 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11299 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11300 (tramp-set-completion-function, tramp-parse-putty):
11301 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11302 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11303 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11304 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11305 (tramp-call-local-coding-command): Use `tramp-call-process'
11306 instead of `tramp-compat-call-process'.
11307
11308 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11309 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11310 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11311 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11312 (tramp-maybe-send-script): Check for Perl binary.
11313 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11314
38cc0210
DU
113152013-04-22 Daiki Ueno <ueno@gnu.org>
11316
11317 * epg.el (epg-context-pinentry-mode): New function.
11318 (epg-context-set-pinentry-mode): New function.
11319 (epg--start): Pass --pinentry-mode option to gpg command.
11320
cc641ee1
XF
113212013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11322
02d844b5 11323 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11324 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11325 `completion-at-point'. (Bug#13774)
5d4e5c31 11326
cc641ee1
XF
11327 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11328 default key binding for `describe-distribution' has been moved to
11329 `C-h C-o'. (Bug#13970)
11330
1b42ee43
GM
113312013-04-21 Glenn Morris <rgm@gnu.org>
11332
11333 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11334 Add doc strings.
11335 (vc-print-log): Clarify interactive prompt.
11336
a6d63d97
GM
113372013-04-20 Glenn Morris <rgm@gnu.org>
11338
11339 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11340 No longer include timestamp etc information.
11341
d7f5c16f
RW
113422013-04-20 Roland Winkler <winkler@gnu.org>
11343
11344 * faces.el (read-face-name): Bug fix, return just one face if arg
11345 multiple is nil. (Bug#14209)
11346
bcd7a0a4
SM
113472013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11348
11349 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11350 (remove-function): Autoload.
11351
11352 * comint.el (comint-redirect-original-filter-function): Remove.
11353 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11354 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11355 (vc-cvs-annotate-command):
bcd7a0a4
SM
11356 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11357 * progmodes/prolog.el (prolog-consult-compile):
11358 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11359 Use add/remove-function instead.
11360 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11361 (gud-tooltip-process-output, gud-tooltip-tips):
11362 Use add/remove-function instead.
11363 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11364 (scheme-interaction-mode, exit-scheme-interaction-mode):
11365 Use add/remove-function instead.
11366
11367 * vc/vc-dispatcher.el: Use lexical-binding.
11368 (vc--process-sentinel): Rename from vc-process-sentinel.
11369 Change last arg to be the code to run. Don't use vc-previous-sentinel
11370 and vc-sentinel-commands any more.
11371 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11372 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11373
e36b2d20 113742013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11375
bcd7a0a4 11376 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11377 Handle function names with a single character. (Bug#14111)
4d3268ba 11378
781b4af6 113792013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11380
11381 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11382 for subroutines defined in an eval (bug#14182).
11383
7d688336
TV
113842013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11385
11386 * bookmark.el (bookmark-completing-read): Improve handling of empty
11387 string (bug#14176).
11388
31dcede0
SM
113892013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11390
11391 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11392
adc31213
FEG
113932013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11394
11395 New faster Imenu implementation (bug#14058).
11396 * progmodes/python.el:
11397 (python-imenu-prev-index-position):
11398 (python-imenu-format-item-label-function)
11399 (python-imenu-format-parent-item-label-function)
11400 (python-imenu-format-parent-item-jump-label-function):
11401 New vars.
11402 (python-imenu-format-item-label)
11403 (python-imenu-format-parent-item-label)
11404 (python-imenu-format-parent-item-jump-label)
11405 (python-imenu--put-parent, python-imenu--build-tree)
11406 (python-imenu-create-index, python-imenu-create-flat-index)
11407 (python-util-popn): New functions.
11408 (python-mode): Set imenu-create-index-function to
11409 python-imenu-create-index.
11410
cdca8255
SM
114112013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11412
11413 * winner.el (winner-active-region): Use region-active-p, activate-mark
11414 and deactivate-mark (bug#14225).
11415
11416 * simple.el (deactivate-mark): Don't inline it.
11417
beb42340
MA
114182013-04-18 Michael Albinus <michael.albinus@gmx.de>
11419
11420 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11421
fc7f4d7e
TH
114222013-04-18 Tassilo Horn <tsdh@gnu.org>
11423
11424 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11425 file extensions from the archive-mode entry in order to prefer
11426 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11427
29f47822
LL
114282013-04-18 Leo Liu <sdl.web@gmail.com>
11429
11430 * bindings.el (help-event-list): Add ?\?.
11431
d36ed1c8
SM
114322013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11433
11434 * subr.el (with-wrapper-hook): Declare obsolete.
11435 * simple.el (filter-buffer-substring-function): New hook.
11436 (filter-buffer-substring): Use it.
11437 (filter-buffer-substring-functions): Mark obsolete.
11438 * minibuffer.el (completion-in-region-function): New hook.
11439 (completion-in-region): Use it.
11440 (completion-in-region-functions): Mark obsolete.
11441 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11442 * abbrev.el (abbrev-expand-function): New hook.
11443 (expand-abbrev): Use it.
11444 (abbrev-expand-functions): Mark obsolete.
11445 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11446 and :filter-return.
11447
04754d36
FEG
114482013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11449
11450 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11451 and do not care about match data.
11452
dd8791e9
SM
114532013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11454
11455 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11456 completion tables when completing error conditions and
11457 `declare' arguments.
11458 (lisp-complete-symbol, field-complete): Mark as obsolete.
11459 (check-parens): Unmatched parens are user errors.
11460 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11461
ffe54a13
AM
114622013-04-17 Michal Nazarewicz <mina86@mina86.com>
11463
dd8791e9
SM
11464 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11465 command changed buffer (ie. `flyspell-pre-buffer' is not current
11466 buffer), which prevents making decisions based on invalid value of
11467 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11468 cause an error when `flyspell-pre-point' was nil after switching
11469 buffers.
11470 (flyspell-post-command-hook): No longer needs to change buffers when
11471 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11472
ec7e39f2
AM
114732013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11474
11475 * textmodes/ispell.el (ispell-add-per-file-word-list):
11476 Fix `flyspell-correct-word-before-point' error when accepting
11477 words and `coment-padding' is an integer by using
11478 `comment-normalize-vars' (Bug #14214).
11479
083850a6
FEG
114802013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11481
11482 New defun movement commands.
11483 * progmodes/python.el (python-nav--syntactically)
11484 (python-nav--forward-defun, python-nav-backward-defun)
11485 (python-nav-forward-defun): New functions.
11486
619ed6e1
FEG
114872013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11488
11489 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11490 (python-syntax-context): Use named compiler-macro for backwards
11491 compatibility with Emacs 24.x.
11492
7a1beb6c
LL
114932013-04-17 Leo Liu <sdl.web@gmail.com>
11494
11495 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11496 octave-hide-process-buffer.
11497
2d3fa3e5
SM
114982013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11499
11500 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11501 (bug#14216).
11502
7ce5be54
JPG
115032013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11504
11505 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11506 Fix adjustment of offset when receiving incomplete responses from GDB
11507 (bug#14129).
11508
351edece
SM
115092013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11510
11511 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11512 python-mode-abbrev-table.
11513 (python-skeleton-define): Adjust accordingly.
11514 (python-mode-abbrev-table): New table that inherits from it so that
11515 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11516
11517 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11518 (abbrev-symbol): Use it.
11519 (abbrev--before-point): Use it since we already handle inheritance.
11520
613f9481
LL
115212013-04-16 Leo Liu <sdl.web@gmail.com>
11522
11523 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11524 binding to info-lookup-symbol.
11525
51646b62
JB
115262013-04-16 Juanma Barranquero <lekktu@gmail.com>
11527
11528 * minibuffer.el (completion--twq-all):
11529 * term/ns-win.el (ns-initialize-window-system):
11530 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11531
efb3f01d
SM
115322013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11533
36c0a301
SM
11534 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11535 global bindings.
11536
efb3f01d
SM
11537 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11538
fb549d64
DG
115392013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11540
11541 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11542 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11543 to nil.
11544 (ruby-end-of-defun): Remove the unused arg, change the docstring
11545 to reflect that this function is only used as the value of
11546 `end-of-defun-function'.
11547 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11548 to reflect an earlier change that beginning/end-of-defun functions
11549 jump between methods in a class definition, as well as top-level
11550 functions.
11551
21e8fe2f
SM
115522013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * minibuffer.el (minibuffer-complete): Don't just scroll
11555 a *Completions* that's been iconified.
11556 (minibuffer-force-complete): Make sure repetitions do cycle when going
11557 through completion-in-region -> minibuffer-complete.
11558
20e527d0
AM
115592013-04-15 Alan Mackenzie <acm@muc.de>
11560
11561 Correct the placement of c-cpp-delimiters when there're #s not at
11562 col 0.
11563
11564 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11565 place a submatch around the #.
21e8fe2f
SM
11566 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11567 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11568 on the #, not BOL.
11569
dabefae5
SM
115702013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11571
11572 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11573 (advice--member-p): New arg `name'.
11574 (advice--add-function, advice-member-p): Use it (bug#14202).
11575
85c9ab64
AM
115762013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11577
11578 Reformulate java imenu-generic-expression.
11579 The old expression contained ill formed regexps.
11580
11581 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11582 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11583 (cc-imenu-java-method-arg-regexp): New defconsts.
11584 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11585 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11586 handling of spaces in the regexp.
11587
0f821d99
AM
115882013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11589
11590 * textmodes/ispell.el (ispell-command-loop): Remove
11591 flyspell highlight of a word when ispell accepts it (bug #14178).
11592
eb922adf
MA
115932013-04-15 Michael Albinus <michael.albinus@gmx.de>
11594
11595 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11596 uses code from the previous `ange-ftp-run-real-handler'.
11597 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11598 only in case that function exist. This is needed for proper
11599 unloading of Tramp.
11600
4d9a0979
TH
116012013-04-15 Tassilo Horn <tsdh@gnu.org>
11602
11603 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11604
11605 * textmodes/reftex.el (reftex-compile-variables): Use it.
11606
a829b0dc
SM
116072013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11608
91e8293c
SM
11609 * files.el (normal-mode): Only use default major-mode if no other mode
11610 was specified.
11611
830aed4d
SM
11612 * emacs-lisp/trace.el (trace-values): New function.
11613
a829b0dc
SM
11614 * files.el: Allow : in local variables (bug#14089).
11615 (hack-local-variable-regexp): New var.
11616 (hack-local-variables-prop-line, hack-local-variables): Use it.
11617
7ae9f0fb
RW
116182013-04-13 Roland Winkler <winkler@gnu.org>
11619
11620 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11621 data before it gets modified by bibtex-beginning-of-entry.
11622
6646e848
RW
116232013-04-13 Roland Winkler <winkler@gnu.org>
11624
11625 * textmodes/bibtex.el (bibtex-url): Doc fix.
11626
116272013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11628
11629 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11630 does not visit a BibTeX file, exclude it from the list of buffers
11631 returned by bibtex-initialize.
11632
0aa3616e
SB
116332013-04-13 Stephen Berman <stephen.berman@gmx.net>
11634
11635 * window.el (split-window): Remove interactive form, since as a
11636 command this function is a special case of split-window-below.
11637 Correct doc string.
11638
011cddd6
RW
116392013-04-12 Roland Winkler <winkler@gnu.org>
11640
11641 * faces.el (read-face-name): Do not override value of arg default.
11642 Allow single faces and strings as default values. Remove those
11643 elements from return value that are not faces.
11644 (describe-face): Simplify.
11645 (face-at-point): New optional args thing and multiple so that this
11646 function can provide the same functionality previously provided by
11647 read-face-name.
11648 (make-face-bold, make-face-unbold, make-face-italic)
11649 (make-face-unitalic, make-face-bold-italic, invert-face)
11650 (modify-face, read-face-and-attribute): Use face-at-point.
11651
11652 * cus-edit.el (customize-face, customize-face-other-window)
11653 * cus-theme.el (custom-theme-add-face)
11654 * face-remap.el (buffer-face-set)
11655 * facemenu.el (facemenu-set-face): Use face-at-point.
11656
f24e0036
MA
116572013-04-12 Michael Albinus <michael.albinus@gmx.de>
11658
11659 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11660
da3cda2d
TH
116612013-04-10 Tassilo Horn <tsdh@gnu.org>
11662
11663 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11664 off leading { and trailing } from field values.
11665
15e54145
SM
116662013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11667
78ce603d
SM
11668 * emacs-lisp/timer.el (timer--check): New function.
11669 (timer--time, timer-set-function, timer-event-handler): Use it.
11670 (timer-set-idle-time): Simplify.
11671 (timer--activate): CSE.
11672 (timer-event-handler): Give more info in error message.
11673 (internal-timer-start-idle): New function, moved from C.
11674
15e54145
SM
11675 * mpc.el (mpc-proc): Add `restart' argument.
11676 (mpc-proc-cmd): Use it.
11677 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11678 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11679 less often.
11680
7144c627
MY
116812013-04-10 Masatake YAMATO <yamato@redhat.com>
11682
11683 * progmodes/sh-script.el: Implement `sh-mode' own
11684 `add-log-current-defun-function' (bug#14112).
11685 (sh-current-defun-name): New function.
11686 (sh-mode): Use the function.
11687
b39792eb
BG
116882013-04-09 Bastien Guerry <bzg@gnu.org>
11689
11690 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11691
8acdeb71
SM
116922013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11693
6fcdab68
SM
11694 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11695
8acdeb71
SM
11696 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11697 timer (bug#14156).
11698
e3e7b504
NF
116992013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11700
11701 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11702 declaration.
11703
201bb296
LL
117042013-04-07 Leo Liu <sdl.web@gmail.com>
11705
11706 * pcmpl-x.el: New file.
11707
ebb19708
DA
117082013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11709
11710 Do not set x-display-name until X connection is established.
11711 This is needed to prevent from weird situation described at
11712 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11713 * frame.el (make-frame): Set x-display-name after call to
11714 window system initialization function, not before.
11715 * term/x-win.el (x-initialize-window-system): Add optional
11716 display argument and use it.
11717 * term/w32-win.el (w32-initialize-window-system):
11718 * term/ns-win.el (ns-initialize-window-system):
11719 * term/pc-win.el (msdos-initialize-window-system):
11720 Add compatible optional display argument.
11721
33bb237a
EZ
117222013-04-06 Eli Zaretskii <eliz@gnu.org>
11723
11724 * files.el (normal-backup-enable-predicate): On MS-Windows and
11725 MS-DOS compare truenames of temporary-file-directory and of the
11726 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11727 don't fail comparison by compare-strings. Also, compare file
11728 names case-insensitively on MS-Windows and MS-DOS.
11729
134abf1f
SM
117302013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11731
11732 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11733 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11734
d695cb94
DG
117352013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11736
e3e7b504
NF
11737 * whitespace.el (whitespace-color-on, whitespace-color-off):
11738 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11739
f4ad7ea1 117402013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11741
11742 * ispell.el (ispell-set-spellchecker-params):
11743 Really set `ispell-args' for all equivs.
11744
632556e4
SM
117452013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11746
11747 * ido.el (ido-completions): Use extra elements of ido-decorations
11748 (bug#14143).
11749 (ido-decorations): Update docstring.
11750
2a417372
MA
117512013-04-05 Michael Albinus <michael.albinus@gmx.de>
11752
11753 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11754 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11755 nil during initialization, in order not to miss changes since the
11756 file was opened. (Bug#14140)
11757
fc164b0c
LL
117582013-04-05 Leo Liu <sdl.web@gmail.com>
11759
11760 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11761
0ccecc08
JB
117622013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11763
11764 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11765
51af1aa2
GM
117662013-04-04 Glenn Morris <rgm@gnu.org>
11767
11768 * electric.el (electric-pair-inhibit-predicate): Add :version.
11769
b208ebc6
SM
117702013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11771
11772 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11773 when a package is required several times (bug#14082).
11774
f3d3eaf0
RW
117752013-04-04 Roland Winkler <winkler@gnu.org>
11776
11777 * faces.el (read-face-name): Behave as promised by the docstring.
11778 Assume that arg default is a list of faces.
11779 (describe-face): Call read-face-name with list of default faces.
11780
2575da50
TV
117812013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11782
11783 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11784 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11785 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11786 the header.
11787 (bookmark-exit-hook-internal): Save even if list is empty.
11788
397703b4
YH
117892013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11790
11791 * emacs-lisp/package.el (package-pinned-packages): New var.
11792 (package--add-to-archive-contents): Obey it (bug#14118).
11793
691e26ae
AM
117942013-04-03 Alan Mackenzie <acm@muc.de>
11795
8a621d53
JB
11796 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11797 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11798
11799 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11800 parameter `not-in-delimiter'. Handle being inside comment opener.
11801 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11802 character in case we're typing a '*' after a '/'.
11803 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11804 instead by passing the parameter to c-state-pp-to-literal.
11805
11806 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11807 for elt. 7 of a parse state.
11808
4b725a70
PE
118092013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11810
11811 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11812 * international/latin1-disp.el, international/mule-util.el:
11813 * language/cyril-util.el, language/european.el, language/ind-util.el:
11814 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11815 * language/tibetan.el, language/viet-util.el:
11816 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11817
15c579f0
SM
118182013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11819
11820 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11821 (electric-pair-post-self-insert-function): Use it.
11822 (electric-pair-default-inhibit): New function, extracted from
11823 electric-pair-post-self-insert-function.
11824
a77e2924
RW
118252013-03-31 Roland Winkler <winkler@gnu.org>
11826
11827 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11828
2bd8a4a8
SM
118292013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11830
11831 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11832
8d3655be 118332013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11834
11835 Un-indent after "pass" and "return" statements (Bug#13888)
11836 * progmodes/python.el (python-indent-block-enders): New var.
11837 (python-indent-calculate-indentation): Use it.
11838
8d3655be 118392013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11840
11841 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11842 defun. Defining it as defalias could introduce too eager
11843 byte-compiler optimization. (Bug#14030)
11844
8d3655be 118452013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11846
11847 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11848
0b1619da
LL
118492013-03-30 Leo Liu <sdl.web@gmail.com>
11850
11851 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11852 (kmacro-execute-from-register): Pass the keyboard macro to
11853 kmacro-call-macro or repeating won't work correctly.
11854
0b938190
TZ
118552013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11856
11857 * progmodes/subword.el: Back to using `forward-symbol'.
11858
11859 * subr.el (forward-whitespace, forward-symbol)
11860 (forward-same-syntax): Move from thingatpt.el.
11861
35710234
LL
118622013-03-29 Leo Liu <sdl.web@gmail.com>
11863
11864 * kmacro.el (kmacro-to-register): New command.
11865 (kmacro-execute-from-register): New function.
11866 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11867
efc0bb73
SM
118682013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11869
11870 * mpc.el: Use defvar-local and setq-local.
11871 (mpc--proc-connect): Connection failures are not bugs.
11872 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11873 (mpc-volume-map): Bind to the up-events.
11874
75a2f981
TZ
118752013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11876
11877 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11878 instead of `forward-symbol'.
11879
17c781d1
SM
118802013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11881
11882 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11883 (edebug--recursive-edit): Use it.
11884 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11885 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11886
f67bfbcf
LL
118872013-03-28 Leo Liu <sdl.web@gmail.com>
11888
11889 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11890
b59f639d
EZ
118912013-03-27 Eli Zaretskii <eliz@gnu.org>
11892
11893 * facemenu.el (list-colors-callback): New defvar.
11894 (list-colors-redisplay): New function.
11895 (list-colors-display): Install list-colors-redisplay as the
11896 revert-buffer-function. (Bug#14063)
11897
f557c1b1
SM
118982013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11899
b1da2957
SM
11900 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11901 and suffixes don't overlap (bug#14061).
11902
f557c1b1
SM
11903 * case-table.el: Use lexical-binding.
11904 (case-table-get-table): New function.
11905 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11906
002668e1
TZ
119072013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11908
11909 * progmodes/subword.el: Add `superword-mode' to do word motion
11910 over symbol_words (parallels and leverages `subword-mode' which
11911 does word motion inside MixedCaseWords).
11912
73572c72
AG
119132013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11914
78b8f320 11915 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11916 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11917
69b2c07e
SM
119182013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11921 Change return value to be a sexp. Delay `get-buffer' to after
11922 restoring the desktop (bug#13951).
11923
08bb5ee2
LL
119242013-03-26 Leo Liu <sdl.web@gmail.com>
11925
11926 * register.el: Move semantic tag handling back to
11927 cedet/semantic/senator.el. (Bug#14052)
11928
8d4c974e
SM
119292013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11930
11931 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11932 into the prompt either (bug#13963).
11933
b234d92c
SM
119342013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11935
11936 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11937 part of "(error-foo)".
11938
ddfa3cb4
JL
119392013-03-24 Juri Linkov <juri@jurta.org>
11940
11941 * replace.el (list-matching-lines-prefix-face): New defcustom.
11942 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11943 `occur-engine' if `face-differs-from-default-p' returns t.
11944 (occur-engine): Add `,' inside backquote construct to evaluate
11945 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11946 Pass `prefix-face' to the functions `occur-context-lines' and
11947 `occur-engine-add-prefix'.
11948 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11949 `prefix-face' and propertize the prefix with `prefix-face'.
11950 (Bug#14017)
11951
7b0e2f85
LL
119522013-03-24 Leo Liu <sdl.web@gmail.com>
11953
11954 * nxml/rng-valid.el (rng-validate-while-idle)
11955 (rng-validate-quick-while-idle): Guard against deleted buffer.
11956 (Bug#13999)
11957
11958 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11959 is the last entry in kill-buffer-hook.
11960
11961 * files.el (kill-buffer-hook): Doc fix.
11962
b3082f49
DG
119632013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11964
b234d92c
SM
11965 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11966 Make it safe-local.
bde73d27 11967
b3082f49
DG
11968 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11969
a320a2db
LL
119702013-03-23 Leo Liu <sdl.web@gmail.com>
11971
7e74b0fb
LL
11972 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11973 Remove.
11974
11975 * nxml/rng-valid.el (rng-validate-mode)
11976 (rng-after-change-function, rng-do-some-validation):
11977 * nxml/rng-maint.el (rng-validate-buffer):
11978 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11979 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11980 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11981 (nxml-extend-after-change-region): Use with-silent-modifications.
11982
a320a2db
LL
11983 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11984 timer-idle-list.
11985
11986 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11987 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11988 timer-idle-list. (Bug#13999)
11989
e38e6780
JL
119902013-03-23 Juri Linkov <juri@jurta.org>
11991
11992 * info.el (info-index-match): New face.
11993 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11994 main pattern and add text properties with the new face to matches
11995 in index entries relative to the beginning of the index entry.
11996 (Bug#14015)
11997
e8cc7880
DE
119982013-03-21 Eric Ludlam <zappo@gnu.org>
11999
12000 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
12001 Inhibit read only while inserting objects.
12002
9bb0d822
TZ
120032013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12004
12005 * progmodes/cfengine.el: Update docs to mention
12006 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12007 symbol motion. Remove "_" from the word syntax.
12008
aa703640
TZ
120092013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12010
12011 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12012 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12013
afff09d0
JL
120142013-03-20 Juri Linkov <juri@jurta.org>
12015
12016 * info.el (Info-next-reference-or-link)
12017 (Info-prev-reference-or-link): New functions.
12018 (Info-next-reference, Info-prev-reference): Use them.
12019 (Info-try-follow-nearest-node): Handle footnote navigation.
12020 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12021
9a1ff164
SM
120222013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12023
12024 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12025 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12026
2667d15d
PE
120272013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12028
12029 Suppress unnecessary non-ASCII chatter during build process.
12030 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12031 (batch-skkdic-convert): Suppress most of the chatter.
12032 It's not needed so much now that machines are faster,
12033 and its non-ASCII component was confusing; see Dmitry Gutov in
12034 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12035
438b0579
LL
120362013-03-20 Leo Liu <sdl.web@gmail.com>
12037
12038 * ido.el (ido-chop): Fix bug#10994.
12039
c128ab07
DG
120402013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12041
12042 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12043 Remove vars.
9a1ff164
SM
12044 (whitespace-color-on, whitespace-color-off):
12045 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12046
0e6008c5
SM
120472013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12048
12049 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12050 remapping in mode-line.
12051 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12052
627b52b0
DG
120532013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12054
12055 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12056 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12057 (whitespace-font-lock-keywords): Change description.
12058 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12059 the constructed keywords instead.
12060 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12061
50c3a20b
LL
120622013-03-19 Leo Liu <sdl.web@gmail.com>
12063
12064 * progmodes/compile.el (compilation-display-error): New command.
12065 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12066 C-o. (Bug#13992)
12067
2aa2157b
PE
120682013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12069
12070 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12071
e477dbfa
JD
120722013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12073
12074 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12075
64ab82d1
MA
120762013-03-18 Michael Albinus <michael.albinus@gmx.de>
12077
12078 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12079
12080 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12081 * net/tramp-gvfs.el (top):
12082 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12083 (tramp-handle-shell-command): Use it.
12084 (tramp-dissect-file-name): Raise an error when hostname is a
12085 method name, and neither method nor user is specified.
12086
12087 * net/trampver.el: Update release number.
12088
33cef733
LL
120892013-03-18 Leo Liu <sdl.web@gmail.com>
12090
12091 Make sure eldoc can be turned off properly.
12092 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12093 eldoc-mode.
12094 (eldoc-display-message-p): Revert last change.
12095 (eldoc-display-message-no-interference-p)
12096 (eldoc-print-current-symbol-info): Tweak.
12097
2167b7b2
TH
120982013-03-18 Tassilo Horn <tsdh@gnu.org>
12099
12100 * doc-view.el (doc-view-new-window-function): Check the new window
12101 overlay's display property instead the char property of the
12102 buffer's first char. Use `with-selected-window' instead of
12103 `save-window-excursion' with `select-window'.
12104 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12105 display property instead the char property of the buffer's first char.
2167b7b2 12106
982efbcd
PE
121072013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12108
12109 Automate the build of ja-dic.el (Bug#13984).
12110 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12111 from the input, rather than assume that it's been done for us by the
12112 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12113 the current date into a ja-dic.el comment, as that complicates
12114 regression testing.
12115
2fcc7665
SM
121162013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12117
12118 * whitespace.el: Fix double evaluation.
12119 (whitespace-space, whitespace-hspace, whitespace-tab)
12120 (whitespace-newline, whitespace-trailing, whitespace-line)
12121 (whitespace-space-before-tab, whitespace-indentation)
12122 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12123 obsolete defvars.
12124 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12125 (whitespace-color-on): Use a single font-lock-add-keywords call.
12126 Fix double-evaluation of face variables.
12127
67c0a6e6
MA
121282013-03-17 Michael Albinus <michael.albinus@gmx.de>
12129
2fcc7665
SM
12130 * net/tramp-adb.el (tramp-adb-parse-device-names):
12131 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12132 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12133
69489f1d
LL
121342013-03-17 Leo Liu <sdl.web@gmail.com>
12135
12136 Extend eldoc to display info in the mode-line. (Bug#13978)
12137 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12138 (eldoc-mode-line-string): New variable.
12139 (eldoc-minibuffer-message): New function.
12140 (eldoc-message-function): New variable.
12141 (eldoc-message): Use it.
12142 (eldoc-display-message-p)
2fcc7665
SM
12143 (eldoc-display-message-no-interference-p):
12144 Support eldoc-post-insert-mode.
69489f1d
LL
12145
12146 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12147 (eval-expression): Run it.
12148
9c44569e
RW
121492013-03-17 Roland Winkler <winkler@gnu.org>
12150
12151 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12152 strings in the list of return values.
12153
327f1f6f
JB
121542013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12155
12156 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12157 radix before checking for HMS forms.
12158
67ed8fcd
LL
121592013-03-16 Leo Liu <sdl.web@gmail.com>
12160
12161 * progmodes/scheme.el: Add indentation and font-locking for λ.
12162 (Bug#13975)
12163
78be8b64 121642013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12165
12166 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12167 token before point (bug#13942).
12168
78be8b64 121692013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12170
95b43468 12171 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12172
98e775e6
EZ
121732013-03-16 Eli Zaretskii <eliz@gnu.org>
12174
12175 * startup.el (command-line-normalize-file-name): Fix handling of
12176 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12177 <xfq.free@gmail.com> in
12178 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12179
2edd6029
MA
121802013-03-15 Michael Albinus <michael.albinus@gmx.de>
12181
12182 Sync with Tramp 2.2.7.
12183
12184 * net/trampver.el: Update release number.
12185
d35f5864
TH
121862013-03-14 Tassilo Horn <tsdh@gnu.org>
12187
e903c210 12188 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12189 (doc-view-insert-image): Don't modify overlay associated to
12190 non-live windows, and implement horizontal centering of image in
12191 case it's smaller than the window.
12192 (doc-view-new-window-function): Force redisplay of new windows on
12193 doc-view buffers.
d35f5864 12194
1c4a85ed
KF
121952013-03-13 Karl Fogel <kfogel@red-bean.com>
12196
12197 * saveplace.el (save-place-alist-to-file): Don't sort
12198 `save-place-alist', just pretty-print it (bug#13882).
12199
85b66a21
MA
122002013-03-13 Michael Albinus <michael.albinus@gmx.de>
12201
a020afb9
JB
12202 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12203 Check whether `default-file-name-coding-system' is bound.
12204 It isn't in XEmacs.
85b66a21 12205
175600da
SM
122062013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12207
e7f7cb1a
SM
12208 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12209 backquotes for `obsolete' (bug#13929).
12210
175600da
SM
12211 * international/mule.el (find-auto-coding): Include file name in
12212 obsolescence warning (bug#13922).
12213
ca68a22e
TZ
122142013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12215
12216 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12217 for CFEngine 3-specific indentation.
12218 (cfengine3-indent-line): Use it. Fix up category regex.
12219 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12220
940e5099
SM
122212013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12222
12223 * type-break.el (type-break-file-name):
12224 * textmodes/remember.el (remember-data-file):
12225 * strokes.el (strokes-file):
12226 * shadowfile.el (shadow-initialize):
12227 * saveplace.el (save-place-file):
12228 * ps-bdf.el (bdf-cache-file):
12229 * progmodes/idlwave.el (idlwave-config-directory):
12230 * net/quickurl.el (quickurl-url-file):
12231 * international/kkc.el (kkc-init-file-name):
12232 * ido.el (ido-save-directory-list-file):
12233 * emulation/viper.el (viper-custom-file-name):
12234 * emulation/vip.el (vip-startup-file):
12235 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12236 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12237
cc725808
PE
122382013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12239
12240 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12241 * language/thai-word.el: Switch to UTF-8.
12242
a020afb9 12243See ChangeLog.16 for earlier changes.
e3d51b27
MR
12244
12245;; Local Variables:
12246;; coding: utf-8
e3d51b27
MR
12247;; End:
12248
ba318903 12249 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12250
12251 This file is part of GNU Emacs.
12252
12253 GNU Emacs is free software: you can redistribute it and/or modify
12254 it under the terms of the GNU General Public License as published by
12255 the Free Software Foundation, either version 3 of the License, or
12256 (at your option) any later version.
12257
12258 GNU Emacs is distributed in the hope that it will be useful,
12259 but WITHOUT ANY WARRANTY; without even the implied warranty of
12260 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12261 GNU General Public License for more details.
12262
12263 You should have received a copy of the GNU General Public License
12264 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.