ChangeLog fixes
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ccc6b208
JL
12014-01-15 Juri Linkov <juri@jurta.org>
2
3 * indent.el (indent-rigidly): Set deactivate-mark to nil
4 in transient indentation mode. (Bug#16438)
5
5c92e00d
DG
62014-01-15 Dmitry Gutov <dgutov@yandex.ru>
7
8 * emacs-lisp/package.el (package-desc-keywords): New function
9 (Bug#16222).
10 (describe-package-1, package-all-keywords)
11 (package--has-keyword-p): Use it.
12
dac69660
NR
132014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
14
15 * simple.el (define-alternatives): When creating the
16 COMMAND-alternatives variable, assign COMMAND as its definition
17 name so that `describe-variable' can relocate it.
18
8b63edf8
ML
192014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
20
21 * font-lock.el (font-lock-keywords): Fix typo in docstring
22 (bug#16307).
23
c6a0b8eb
AM
242014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25
26 * ispell.el (ispell-region): Reset `in-comment' for new line
27 instead of wrongly reset `add-coment' (bug#13577).
28
02bf443d
DU
292014-01-14 Daiki Ueno <ueno@gnu.org>
30
31 * epa-file.el (epa-file-write-region): Encode the region according
32 to `buffer-file-format'. Problem reported at:
33 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
34
fd7fde15
SM
352014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
38 so it applies in the right buffer (bug#16410).
39
c176054f
DC
402014-01-13 Daniel Colascione <dancol@dancol.org>
41
42 * textmodes/rst.el (rst-define-key): Provide deprecated
43 keybindings through named functions instead of anonymous ones so
44 that "??" doesn't appear in describe-mode output.
45
e3f33e5d
BG
462014-01-13 Bastien Guerry <bzg@gnu.org>
47
48 * simple.el (define-alternatives): Call the selected command
49 interactively. When setting `COMMAND--implementation' for the
50 first time, tell the user how to chose another implementation.
51 Enhance the docstring.
52
c055d654
SM
532014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
56 (log-edit--match-first-line): New function.
57 (log-edit-font-lock-keywords): Use it.
58 (log-edit-mode): Make jit-lock-defer-multiline work.
59
d791cc3b
BG
602014-01-13 Bastien Guerry <bzg@gnu.org>
61
62 * rect.el (rectangle-mark-mode): When the region is not active,
63 display a message saying that the mark as been set and that
64 rectangle mode is in use.
65 (rectangle--highlight-for-redisplay): Only put an overlay with a
66 visible vertical bar when (display-graphic-p) is non-nil.
67 This partially fixes Bug#16403.
68
3c0c4562
JL
692014-01-13 Juri Linkov <juri@jurta.org>
70
71 * info.el (Info-find-file): Go to DIR before displaying the error
72 about a nonexistent file if no previous Info file is visited.
73 Use `user-error' instead of `error' for "Info file %s does not exist".
74 (Info-find-node-2): In case of a nonexistent node in unwind forms
75 go to the Top node if there is no previous node to revert to.
76 (Bug#16405)
77
25a700d0
MR
782014-01-13 Martin Rudalics <rudalics@gmx.at>
79
80 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
81 * window.el (fit-frame-to-buffer): Fix doc-string.
82 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
83 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
84 when avoiding that frame goes partially off-screen.
85 (fit-window-to-buffer): Respect window-min-height/-width
86 (Bug#14096).
87
6ae948d8
SM
882014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
91 after an empty line.
92
6137cb82
SM
932014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * net/shr.el (shr-render-region): Autoload.
96
e6344e17
XF
972014-01-12 Xue Fuqiao <xfq.free@gmail.com>
98
99 * net/eww.el (eww-download-directory): Rename from
100 `eww-download-path' (Bug#16419).
101
3b922c70
LL
1022014-01-12 Leo Liu <sdl.web@gmail.com>
103
104 * dired-x.el (dired-mode-map): Fix last change.
105
106 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
107
4fa51741
PE
1082014-01-12 Paul Eggert <eggert@cs.ucla.edu>
109
110 Spelling fixes.
111 * emacs-lisp/generic.el (generic--normalize-comments):
112 Rename from generic--normalise-comments. All uses changed.
113 * play/bubbles.el (bubbles--neighborhood-score):
114 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
115 (bubbles--neighborhood-available)
116 (bubbles--update-neighborhood-score):
117 Rename from names with 'neighbourhood'. All uses changed.
118
9b335362
LL
1192014-01-12 Leo Liu <sdl.web@gmail.com>
120
121 Re-implement the feature of showing eldoc info after editing.
122 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
123 (eldoc-edit-message-commands): New function.
124 (eldoc-print-after-edit): New variable.
125 (eldoc-pre-command-refresh-echo-area): Emit message only by
126 eldoc-message-commands.
127 (eldoc-mode): Restrict eldoc-message-commands to editing commands
128 if eldoc-print-after-edit is set. (Bug#16346)
129
6137cb82 130 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 131
9685190b
ER
1322014-01-11 Eric S. Raymond <esr@thyrsus.com>
133
841a6d0c 134 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 135 function works correctly in either a Bazaar or Git repo.
0abf4134 136
6137cb82
SM
137 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
138 Goes with removal of the joke manpages from /etc.
9685190b 139
3923e7bd
KH
1402014-01-10 K. Handa <handa@gnu.org>
141
6137cb82
SM
142 * mail/rmail.el (rmail-get-coding-system):
143 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 144
d2f16e93
GM
1452014-01-10 Glenn Morris <rgm@gnu.org>
146
147 * emacs-lisp/authors.el (authors-fixed-entries):
148 Update for files that no longer exist.
149
7e03bb32
ER
1502014-01-10 Eric S. Raymond <esr@thyrsus.com>
151
152 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 153 24.3 (Tested).
7e03bb32 154
dd806710
BB
1552014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
156
157 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
158 and Podfile.
159
ed6ec139
EZ
1602014-01-10 Eli Zaretskii <eliz@gnu.org>
161
162 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
163
cc33cac9
CY
1642014-01-10 Chong Yidong <cyd@gnu.org>
165
6137cb82 166 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 167
d9d836b5
AL
1682014-01-10 Anders Lindgren <andlind@gmail.com>
169
170 * follow.el (follow-cache-command-list): Include right-char and
171 left-char.
172
06827ec8
PE
1732014-01-10 Paul Eggert <eggert@cs.ucla.edu>
174
175 Spelling fixes.
176 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
177 * woman.el (woman-mark-horizontal-position):
178 Rename from woman-mark-horizonal-position. Use changed.
179
458dbf5e
GM
1802014-01-10 Glenn Morris <rgm@gnu.org>
181
dad6fae7
GM
182 * info.el (info-initialize): If running uninstalled, ensure our
183 own info files are always found first, even if INFOPATH is set.
184
458dbf5e
GM
185 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
186
05e0afce
DE
1872014-01-09 David Engster <deng@randomsample.de>
188
189 * emacs-lisp/eieio-custom.el:
190 * emacs-lisp/eieio-opt.el: Set generated autoload file to
191 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
192 * emacs-lisp/eieio.el: Regenerate autoloads.
193
f29778b3
ER
1942014-01-09 Eric S. Raymond <esr@thyrsus.com>
195
196 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 197 following renames. (Bug#8756)
f29778b3 198
684d44ef
SM
1992014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
202 (bug#16382).
203 (activate-mark): Add `no-tmm' argument.
204 (set-mark, push-mark-command): Use it instead of running
205 activate-mark-hook by hand.
206
9475054f
ER
2072014-01-08 Eric S. Raymond <esr@thyrsus.com>
208
209 In preparation for the move to git, sanitize out some
210 Bazaar-specific names.
211
212 * version.el (emacs-bzr-version): Name changed to
689c9ca5 213 emacs-repository-version. Obsolete-variable alias made.
9475054f 214 * loadup.el: Follow through on this name change.
a12bf61e 215 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
216 assumption about the version control system in use.
217
0f918d96 2182014-01-08 David Engster <deng@randomsample.de>
abb82152 219
684d44ef
SM
220 * help-fns.el (help-fns-describe-function-functions):
221 New variable to call functions for augmenting help buffers.
abb82152
DE
222 (describe-function-1): Remove explicit calls to
223 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
224 `help-fns--obsolete'. Put them in above new variable instead, and
225 call them through `run-hook-with-args'.
226 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
227 `eieio-describe-class'. Not meant for interactive use anymore,
228 but to augment existing help buffers. Remove optional second
684d44ef
SM
229 argument. Create proper button for file location.
230 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
231 possible.
232 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
233 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
234 (describe-method, describe-generic, eieio-describe-method):
235 Remove aliases.
0f918d96
DE
236 (eieio-help-constructor, eieio-help-generic): Rename from
237 `eieio-describe-constructor' and `eieio-describe-generic', resp.
238 Rewrite to use `insert' in the current buffer and use proper help
239 buttons.
240 (eieio-help-find-method-definition)
241 (eieio-help-find-class-definition): Also accept symbols as
242 arguments.
243 (eieio-help-mode-augmentation-maybee): Remove.
244 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
245 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
246 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 247
136b74c5
PE
2482014-01-08 Paul Eggert <eggert@cs.ucla.edu>
249
250 Spelling fixes.
251 * language/china-util.el (hz-ascii-designation):
252 Rename from hz-ascii-designnation.
253 (hz-ascii-designation): Rename from hz-ascii-designnation.
254 All uses changed.
255
ec6c7de2
SM
2562014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
259 package-alist.
260
d6262c7c
BG
2612014-01-08 Bastien Guerry <bzg@gnu.org>
262
4b9e6087
GM
263 * emacs-lisp/package.el (package-delete):
264 Correctly delete the package from package-alist.
d6262c7c 265
0a3eec32
DU
2662014-01-08 Daiki Ueno <ueno@gnu.org>
267
268 * emacs-lisp/package.el (url-recreate-url): Declare.
269 (url-http-target-url): Declare.
4b9e6087 270 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
271 (package--check-signature): Don't re-signal errors from
272 package--with-work-buffer. Suggested by Stefan Monnier.
273
68f0bb97
BG
2742014-01-07 Bastien Guerry <bzg@gnu.org>
275
276 * minibuffer.el (completion--try-word-completion): When both a
277 hyphen and a space are possible candidates for the character
278 following a word, display both candidates. (Bug#15980)
279
7e1899d7
MR
2802014-01-07 Martin Rudalics <rudalics@gmx.at>
281
282 * window.el (balance-windows-2): While rounding don't give a
283 window more than the remainder. Bug#16351, Bug#16383.
284
0030ec15
GM
2852014-01-07 Glenn Morris <rgm@gnu.org>
286
287 * menu-bar.el (menu-bar-help-extra-packages): Remove.
288 (menu-bar-help-menu): Use view-external-packages instead.
289
2b6b4f20
BG
2902014-01-07 Bastien Guerry <bzg@gnu.org>
291
292 * emacs-lisp/package.el (package-delete): Also delete the package
293 name from `package-alist', not its description only.
294
e9be0a13
GM
2952014-01-07 Glenn Morris <rgm@gnu.org>
296
297 * help.el (view-external-packages):
298 * menu-bar.el (menu-bar-help-extra-packages):
299 Visit efaq.info rather than etc/MORE.STUFF.
300
e4f74da9
JL
3012014-01-07 Juri Linkov <juri@jurta.org>
302
303 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
304 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
305
306 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
307 that shadows RET. (Bug#16342)
308
de7ce2d1
CY
3092014-01-07 Chong Yidong <cyd@gnu.org>
310
311 * isearch.el (isearch-yank-char, isearch-yank-word)
312 (isearch-yank-line): Doc fix.
313
6bdd9204
SM
3142014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
315
316 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
317 * emacs-lisp/elint.el (elint-find-builtins):
318 * emacs-lisp/eldoc.el (eldoc-symbol-function):
319 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
320 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
321 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
322 * apropos.el (apropos-safe-documentation):
323 * subr.el (symbol-file): Remove redundant fboundp.
324 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
325
daccca97
BG
3262014-01-06 Bastien Guerry <bzg@gnu.org>
327
328 * hl-line.el (global-hl-line-overlay): Make a local variable.
329 (global-hl-line-overlays): New variable to store all overlays.
330 (global-hl-line-mode): Don't delete overlays from the current
331 buffer when `global-hl-line-sticky-flag' is non-nil.
332 (global-hl-line-highlight): Add new overlays to
333 `global-hl-line-overlays'.
334 (global-hl-line-unhighlight-all): New function to delete all
335 overlays when turning off `global-hl-line-mode'.
336 This fixes Bug#16183.
337
ec00f20f
SM
3382014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * subr.el (set-transient-map): Fix nested case and docstring.
341
a0031f97
TH
3422014-01-06 Tassilo Horn <tsdh@gnu.org>
343
344 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
345 `Texinfo' entry.
346
bf6a77f3
DC
3472014-01-06 Daniel Colascione <dancol@dancol.org>
348
349 Fix defun navigation in vc log view.
350
351 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
352 like `beginning-of-defun'.
353 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
354 log-view-end-of-defun to log-view-end-of-defun-1. Replace
355 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 356 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 357 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 358
d5081c1e
PE
3592014-01-06 Paul Eggert <eggert@cs.ucla.edu>
360
361 Spelling fixes.
362 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
363 * emacs-lisp/debug.el (cancel-debug-on-entry):
364 * epg.el (epg-error-to-string):
365 * files.el (recover-file):
366 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
367 * mail/emacsbug.el (report-emacs-bug-hook):
368 * mail/sendmail.el (mail-recover):
369 * ses.el (ses-yank-resize):
370 * term/ns-win.el (ns-print-buffer):
371 Spelling fixes in diagnostics, mostly for "canceled" with one L.
372 * epg.el (epg-key-capability-alist): Rename from misspelled version.
373 All uses changed.
374 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
375
53f6b148
LL
3762014-01-06 Leo Liu <sdl.web@gmail.com>
377
378 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 379 to avoid shadowing global key. (Bug#16354)
53f6b148 380
b82ace2f
DC
3812014-01-06 Daniel Colascione <dancol@dancol.org>
382
383 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
384 rst-mode.
385
3669b636
MR
3862014-01-05 Martin Rudalics <rudalics@gmx.at>
387
388 * window.el (balance-windows): Add mising t to fix Bug#16351.
389
1a29adc2
LMI
3902014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
391
392 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
393 (bug#16285).
3d95a0f4
LMI
394 (shr-insert): If we have a word that's longer than `shr-width',
395 break after it anyway. Otherwise we'll do no breaking once we get
396 such a long word.
1a29adc2 397
f4018140
KN
3982014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
399
189340f5
KN
400 * net/eww.el (eww): Support single/double quote for search.
401 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
402 (eww-history-quit): Delete and use quit-window.
403 (eww-history-kill): Delete, because it doesn't work well and
404 not necessary.
405 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 406
4e619754
PE
4072014-01-05 Paul Eggert <eggert@cs.ucla.edu>
408
73dbf960
PE
409 Fix misspelling of 'chinese' in rx (Bug#16237).
410 * emacs-lisp/rx.el (rx-categories): Correct spelling of
411 chinese-two-byte.
412
4e619754
PE
413 Change subword regexps back to vars (Bug#16296).
414 * progmodes/subword.el (subword-forward-regexp)
415 (subword-backward-regexp): Change these back to variables.
416
e18b70fc
SM
4172014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
418
419 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
420 syntax-begin-function (bug#16247).
421
0d53f628
CY
4222014-01-03 Chong Yidong <cyd@gnu.org>
423
424 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
425 (advice--docstring): Delete variable.
426 (advice--make-1): Leave the docstring empty.
427 (advice-add): Use function-documentation for advised docstring.
428
429 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
430 Ignore function-documentation property when getting documentation.
431 (ad-activate-advised-definition): Use function-documentation
432 generate the docstring.
433 (ad-make-advised-definition): Don't call
434 ad-make-advised-definition-docstring.
435 (ad-make-advised-definition-docstring, ad-advised-definition-p):
436 Delete functions.
437
438 * progmodes/sql.el (sql-help): Use function-documentation instead
439 of dynamic-docstring-function property. No need to autoload now.
440 (sql--help-docstring): New variable.
441 (sql--make-help-docstring): Use it.
442
6f547583
SM
4432014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
444
6ef9aed8
SM
445 * ielm.el (ielm-tab): Retarget.
446 (ielm-map): Use ielm-tab for tab.
447 (ielm-complete-filename): Use comint-filename-completion.
448 (ielm-complete-symbol): Remove.
449 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
450 remove ielm-tab from completion-at-point-functions (bug#16224).
451
6f547583
SM
452 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
453 Beware signals raised by predicates (bug#16201).
454
a574edbe
RS
4552014-01-02 Richard Stallman <rms@gnu.org>
456
e831604d
RS
457 * dired-aux.el (dired-do-print): Handle printer-name.
458
6f547583
SM
459 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
460 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
461 (rmail-epa-decrypt): Turn off mime processing.
462
463 * mail/rmail.el (rmail-make-in-reply-to-field):
464 Add parens in message-id.
465
466 * mail/rmail.el (rmail-get-coding-function): Variable.
467 (rmail-get-coding-system): Use it.
468
04311a16
KH
4692013-12-31 Eli Zaretskii <eliz@gnu.org>
470
471 * international/mule-conf.el: Unify the charset indian-is13194.
472 (indian-is13194): Specify unify-map.
473
c8d89778
LL
4742013-12-31 Leo Liu <sdl.web@gmail.com>
475
476 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
477
e63ace37
DC
4782013-12-30 Daniel Colascione <dancol@dancol.org>
479
9e0bf19a
DC
480 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
481 of printing a useless when we resume from sleep.
482
e63ace37
DC
483 * progmodes/sh-script.el
484 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
485 in indentation code. (Bug#16233)
486
e9d6c46a
JT
4872013-12-28 João Távora <joaotavora@gmail.com>
488
6f547583
SM
489 * elec-pair.el (electric-pair-post-self-insert-function):
490 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 491
bf7bea5d
EZ
4922013-12-28 Eli Zaretskii <eliz@gnu.org>
493
494 * frame.el (window-system-for-display): Don't allow to create a
495 GUI frame from a -nw session on MS-Windows. (Bug#14739)
496
8449dd1f
GM
4972013-12-28 Glenn Morris <rgm@gnu.org>
498
9c5a5c77
GM
499 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
500 Update callers.
501
502 * apropos.el (apropos-match-face):
503 * calculator.el (calculator-displayer):
504 * dabbrev.el (dabbrev-search-these-buffers-only):
505 * face-remap.el (buffer-face-mode-face):
506 * simple.el (yank-handled-properties):
507 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
508 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
509 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
510 (hashcash-double-spend-database):
511 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
512 (ruby-deep-indent-paren-style):
513 * textmodes/flyspell.el (flyspell-auto-correct-binding):
514 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
515 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
516 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
517 Specify custom types.
518
bb098075
GM
519 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
520 * bookmark.el (bookmark-bmenu-use-header-line):
521 * doc-view.el (doc-view-scale-internally):
522 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
523 * register.el (register-preview-delay):
524 * net/shr.el (shr-bullet):
525 * progmodes/cfengine.el (cfengine-cf-promises)
526 (cfengine-parameters-indent):
527 * progmodes/octave.el (inferior-octave-error-regexp-alist):
528 * textmodes/reftex-vars.el (reftex-label-regexps):
529 * vc/log-edit.el (log-edit-setup-add-author): Add version.
530
9c61f806
GM
531 * net/tls.el (tls-certtool-program): Fix default value.
532
533 * desktop.el (desktop-restore-in-current-display):
534 * newcomment.el (comment-empty-lines):
535 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
536 (idlwave-pad-keyword):
537 * progmodes/tcl.el (tcl-tab-always-indent):
538 * textmodes/reftex-vars.el (reftex-index-default-tag):
539 * elec-pair.el (electric-pair-skip-whitespace):
540 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
541
8449dd1f
GM
542 * emacs-lisp/authors.el (authors-ignored-files)
543 (authors-valid-file-names, authors-renamed-files-alist): Additions.
544
fdadeb49
JC
5452013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
546
72140a0f
GM
547 * shell.el (shell-dynamic-complete-command): Doc fix.
548 (shell--command-completion-data): Shell completion now matches
549 executable filenames from the current buffer's directory, on
da5ecfa9 550 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 551
e572a7d8
LI
5522013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
553
554 * net/shr.el (shr-insert): Don't infloop if the width is zero.
555
7514d3f8
SM
5562013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
557
a4151f3b
SM
558 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
559 (bug#16251).
560
7514d3f8
SM
561 * electric.el: Move all electric-pair-* to elec-pair.el.
562 * elec-pair.el: New file, split from electric.el.
563
ac5758d1
LI
5642013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
565
566 * net/shr.el (shr-find-fill-point): Don't try to fill if the
567 indentation level is larger than the width, because that will
568 infloop.
569 (shr-insert): Fill repeatedly long texts, so that Japanese is
570 formatted correctly (bug#16263).
24a6b65e
LI
571 (shr-find-fill-point): Off by one error in comparison with the
572 indentation.
ac5758d1 573
7514d3f8 5742013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
575
576 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 577 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
578 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
579 if that keeps or improves their balance in buffers.
580 (electric-pair-delete-adjacent-pairs): Delete the pair when
581 backspacing over adjacent matched delimiters.
582 (electric-pair-open-extra-newline): Open extra newline when
583 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
584 (electric--sort-post-self-insertion-hook):
585 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
586 minor-modes are activated.
587 * simple.el (newline-and-indent): Call newline with interactive
588 set to t.
589 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
590 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
591 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
592 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
593 electric-pair-open-newline-between-pairs to nil.
594
fbcc63a3
FEG
5952013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
596
597 * progmodes/python.el: Use lexical-binding.
598 (python-nav-beginning-of-defun): Stop searching ASAP.
599
ed78d16c
XF
6002013-12-25 Xue Fuqiao <xfq.free@gmail.com>
601
602 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
603 Fix interactive spec. Doc fix. (Bug#15754)
604
38b2c142
KY
6052013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
606
607 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 608 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
609 Fix edebug spec (bug#16184).
610
3c856c14
LI
6112013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
612
83fa295c 613 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
614 (shr-insert): Don't infloop if we can't find a good place to break
615 the line (bug#16256).
3c856c14 616
01379221
FEG
6172013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
618
619 * progmodes/python.el:
620 (python-nav--lisp-forward-sexp): New function.
621 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
622 python-nav-lisp-forward-sexp-safe.
623 (python-nav--forward-sexp): New argument SAFE allows switching
624 forward sexp movement behavior for parens.
625 (python-nav-forward-sexp): Throw errors on unterminated parens
626 (Bug#16191).
627 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
628 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
629 (python-shell-buffer-substring):
630 Use `python-nav-forward-sexp-safe'.
01379221 631
99e4926f
LI
6322013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
633
634 * net/shr.el (shr-find-fill-point): Don't break lines before a
635 quotation mark.
c6c20584
LI
636 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
637 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 638 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 639
fec0e828
KN
6402013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
641
642 * net/eww.el (eww-form-textarea): Use a different face for
643 textareas than text input since they have different keymaps
644 (bug#16142).
645
89c868ad
FEG
6462013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
647
7514d3f8
SM
648 * progmodes/python.el (python-nav-beginning-of-statement):
649 Speed up (Bug#15295).
89c868ad 650
eeef121a
LI
6512013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
652
653 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
654 the window configuration.
655
121ea65f
EZ
6562013-12-24 Eli Zaretskii <eliz@gnu.org>
657
658 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
659 we run on MS-Windows or MS-DOS.
660
18cee9ec
MR
6612013-12-24 Martin Rudalics <rudalics@gmx.at>
662
663 * window.el (balance-windows-area): Call window-size instead of
664 window-height and window-width. Bug#16241.
665
58f2b9a5
LI
6662013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
667
668 * net/eww.el (eww-bookmark-quit): Remove.
669 (eww-bookmark-browse): Restore the window configuration when you
670 choose a bookmark (bug#16144).
671
d64b6308
DC
6722013-12-24 Daniel Colascione <dancol@dancol.org>
673
674 * icomplete.el: Remove redundant :group arguments to `defcustom'
675 throughout.
676 (icomplete-show-matches-on-no-input): New customizable variable.
677 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
678 we have something to show.
7514d3f8 679 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 680
0da54898
DC
6812013-12-23 Daniel Colascione <dancol@dancol.org>
682
683 * icomplete.el: Move `provide' to end of file.
684
b90aa4f4
TZ
6852013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
686
687 * net/gnutls.el (gnutls-verify-error): Add version tag.
688
8cd22a08
CY
6892013-12-23 Chong Yidong <cyd@gnu.org>
690
691 * subr.el (set-transient-map): Rename from
692 set-temporary-overlay-map. Doc fix.
693
694 * face-remap.el (text-scale-adjust):
695 * indent.el (indent-rigidly):
696 * kmacro.el (kmacro-call-macro):
697 * minibuffer.el (minibuffer-force-complete):
698 * repeat.el (repeat):
699 * simple.el (universal-argument--mode):
700 * calendar/todo-mode.el (todo-insert-item--next-param):
701 * progmodes/f90.el (f90-abbrev-start): Callers changed.
702
7510b021
CY
703 * indent.el (indent-rigidly): Use substitute-command-keys.
704
72140a0f 7052013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
706
707 * net/eww.el (eww-tag-select): Add text-property to jump to next
708 select field.
e9dc713d 709 (eww): Add non-supported ftp error.
56890ecd 710
1f87a56c
DG
7112013-12-22 Dmitry Gutov <dgutov@yandex.ru>
712
713 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
714 comments. Handle electric indent after typing `?' and `!'.
715
dca38cf9
CY
7162013-12-22 Chong Yidong <cyd@gnu.org>
717
718 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
719 applicable to a frame, fall back on the defface spec.
720 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 721
f2351498
DG
7222013-12-22 Dmitry Gutov <dgutov@yandex.ru>
723
724 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
725 after `{'. We need it after block openers, and it doesn't seem
726 to hurt after hash openers.
727
6cddebc1
DG
7282013-12-22 Dmitry Gutov <dgutov@yandex.ru>
729
730 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
731 extracted from `ruby-smie-rules'.
732 (ruby--electric-indent-chars): New variable.
733 (ruby--electric-indent-p): New function.
734 (ruby-mode): Use `electric-indent-functions' instead of
735 `electric-indent-chars'.
736
65a1da00
DG
7372013-12-22 Dmitry Gutov <dgutov@yandex.ru>
738
739 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
740 docstring.
741 (ruby-smie-rules): Indent plus one level after `=>'.
742
b51ad4cf
RS
7432013-12-21 Richard Stallman <rms@gnu.org>
744
745 * simple.el (newline): Doc fix.
746
72140a0f 7472013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 748
e9dc713d 749 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
750 (eww-history-browse, eww-history-quit, eww-history-kill)
751 (eww-history-mode-map, eww-history-mode): New command and
752 functions to list browser histories.
e9dc713d
JB
753 (eww-form-text): Support text form with disabled
754 and readonly attributes.
755 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 756
5e1901c1
RS
7572013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
758
759 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
760 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
761 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
762 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
763 Use `user-error'.
764 (eww-bookmark-mode-map): Add menu.
765 (eww-render, eww-mode): Use `setq-local'.
766 (eww-tool-bar-map): New variable.
767 (eww-mode): Set `tool-bar-map'.
768 (eww-view-source): Check for `html-mode' with `fboundp'.
769
073d5cfd
LMI
7702013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
771
772 * net/shr.el (shr--extract-best-source): Don't bug out on audio
773 elements with text inside. Also remove debugging.
774
41cf3d11
JD
7752013-12-21 Jan Djärv <jan.h.d@swipnet.se>
776
777 * cus-start.el (all): Add ns-use-srgb-colorspace.
778
aac2b673
CY
7792013-12-21 Chong Yidong <cyd@gnu.org>
780
781 * custom.el (custom-theme-recalc-face): Do nothing if the face is
782 undefined. Thus, theme settings for undefined faces do not take
783 effect until the faces are defined with defface, the same as with
784 theme variables.
785
786 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
787 (face-spec-reset-face): Don't assign extra properties in temacs.
788 (face-spec-recalc): Apply X resources too.
789
bacb0e77
CY
7902013-12-21 Chong Yidong <cyd@gnu.org>
791
792 * faces.el (face-spec-set):
793 * cus-face.el (custom-theme-set-faces, custom-set-faces):
794 * custom.el (defface): Doc fixes (Bug#16203).
795
77221051
CY
796 * indent.el (indent-rigidly-map): Add docstring, and move commands
797 into named functions.
798 (indent-rigidly-left, indent-rigidly-right)
799 (indent-rigidly-left-to-tab-stop)
800 (indent-rigidly-right-to-tab-stop): New functions. Decide on
801 indentation direction based on bidi direction, and accumulate
802 sequential commands in a single undo boundary.
803 (indent-rigidly--pop-undo): New utility function.
804
e0eb0550
JB
8052013-12-20 Juanma Barranquero <lekktu@gmail.com>
806
807 * faces.el (read-face-name): Require crm.el when using crm-separator.
808
3282bd2e
DC
8092013-12-20 Daniel Colascione <dancol@dancol.org>
810
811 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
812 so that we don't reflow comments into the shebang line.
813
1d42e5b6
JL
8142013-12-20 Juri Linkov <juri@jurta.org>
815
816 * saveplace.el (save-place-to-alist): Add `dired-filename' as
817 a position when `dired-directory' is non-nil. Check integer
818 positions with `integerp'.
819 (toggle-save-place, save-places-to-alist): Add check for
820 `dired-directory'.
821 (save-place-find-file-hook): Check integer positions with
822 `integerp'.
823 (save-place-dired-hook): Use `dired-goto-file' when
824 `dired-filename' is found in the assoc list. Check integer
825 positions with `integerp'.
826 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
827
828 * dired.el (dired-initial-position-hook): Rename back from
829 `dired-initial-point-hook'.
830 (dired-initial-position): Rename `dired-initial-point-hook' to
831 `dired-initial-position-hook'.
832 (dired-file-name-at-point): Doc fix. (Bug#15329)
833
24da7273
JL
8342013-12-20 Juri Linkov <juri@jurta.org>
835
836 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
837 (read-regexp-suggestions): New function.
838 (read-regexp): Use `read-regexp-defaults-function' to get default values.
839 Use `read-regexp-suggestions'. Add non-empty default to history
840 for empty input.
841 (occur-read-regexp-defaults-function): Remove function.
842 (occur-read-primary-args): Use `regexp-history-last' instead of
843 `occur-read-regexp-defaults-function'.
844
845 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
846 (hi-lock-line-face-buffer, hi-lock-face-buffer)
847 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
848 `hi-lock-read-regexp-defaults-function'. Doc fix.
849 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
850 with `find-tag-default-as-symbol-regexp'. Doc fix.
851 (hi-lock-read-regexp-defaults): Remove function.
852 (hi-lock-regexp-okay): Add check for null.
853
854 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
855 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
856
857 * subr.el (find-tag-default-as-symbol-regexp): New function.
858 (find-tag-default-as-regexp): Move symbol regexp formatting to
859 `find-tag-default-as-symbol-regexp'.
860
137f57c8
S
8612013-12-20 E Sabof <esabof@gmail.com> (tiny change)
862
863 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
864 (Bug#14179)
865
f3a66082
SB
8662013-12-20 Stephen Berman <stephen.berman@gmx.net>
867
868 * calendar/todo-mode.el: New implementation of item insertion
869 commands and key bindings.
870 (todo-key-prompt): New face.
871 (todo-insert-item): New command.
872 (todo-insert-item--parameters): New defconst, replacing defvar
873 todo-insertion-commands-args-genlist.
874 (todo-insert-item--param-key-alist): New defconst, replacing
875 defvar todo-insertion-commands-arg-key-list.
876 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
877 (todo-insert-item--argsleft, todo-insert-item--apply-args)
878 (todo-insert-item--next-param): New functions.
879 (todo-insert-item--args, todo-insert-item--argleft)
880 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
881 New variables.
882 (todo-key-bindings-t): Change binding of "i" from
883 todo-insertion-map to todo-insert-item.
884 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
885 (todo-insertion-command-name, todo-insertion-commands-names)
886 (todo-define-insertion-command, todo-insertion-commands)
887 (todo-insertion-key-bindings, todo-insertion-map): Remove.
888
2f99433b
SB
8892013-12-20 Stephen Berman <stephen.berman@gmx.net>
890
891 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
892 (todo-toggle-item-highlighting): Use eval-and-compile instead of
893 eval-when-compile.
894 (todo-move-category): Allow choosing a non-existing todo file to
895 move the category to, and create that file.
896 (todo-default-priority): New user option.
897 (todo-set-item-priority): Use it.
898 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
899 (desktop-restore-file-buffer): Declare.
900 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
901 (todo-modes-set-2): Locally set desktop-save-buffer to
902 todo-desktop-save-buffer.
903 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
904 (auto-mode-alist): Add autoload cookie.
905
131e4695
BB
9062013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
907
908 * emacs-lisp/subr-x.el: Renamed from helpers.el.
909 helpers.el was a poor choice of name.
3cbfb935
BB
910 (string-remove-prefix): New function.
911 (string-remove-suffix): New function.
131e4695 912
c44de18d
MR
9132013-12-20 Martin Rudalics <rudalics@gmx.at>
914
915 Fix assignment for new window total sizes.
916 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
917 (window--pixel-to-total-1, window--pixel-to-total):
918 Fix calculation of new total sizes.
c44de18d 919
ca65efcc
VS
9202013-12-20 Vitalie Spinu <spinuvit@gmail.com>
921
922 * comint.el (comint-output-filter): Fix rear-nonsticky property
923 placement (Bug#16010).
924
a9574eb7
CY
9252013-12-20 Chong Yidong <cyd@gnu.org>
926
927 * faces.el (read-color): Minor fix for completion function.
928
b520f210
DG
9292013-12-20 Dmitry Gutov <dgutov@yandex.ru>
930
e0eb0550
JB
931 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
932 New option. (Bug#16182)
b520f210
DG
933 (ruby-smie--indent-to-stmt-p): Use it.
934 (ruby-smie-rules): Revert the logic in the handling of `when'.
935 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
936 (ruby-deep-arglist, ruby-deep-indent-paren)
937 (ruby-deep-indent-paren-style): Update docstrings to note that the
938 vars don't have any effect with SMIE.
939
26b75b45
JB
9402013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
941
942 * calc/calc.el (calc-enter, calc-pop): Use the variable
943 `calc-context-sensitive-enter'.
944
cf91cee7
LMI
9452013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
946
947 * net/shr.el (shr-insert): Protect against infloops in degenerate
948 tables.
949
51d971b4
RS
9502013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
951
952 * progmodes/octave.el (octave): Add link to manual and octave
953 homepage.
954 (octave-mode-menu): Link to octave-mode manual.
955
8c2e462a
LL
9562013-12-20 Leo Liu <sdl.web@gmail.com>
957
958 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
959 insertion using skeleton-end-newline. (Bug#16138)
960
501158bc
JL
9612013-12-20 Juri Linkov <juri@jurta.org>
962
963 * replace.el (occur-engine): Use `add-face-text-property'
964 to add the face property to matches and titles. (Bug#14645)
965
966 * hi-lock.el (hi-green): Use lighter color "light green" closer to
967 the palette of other hi-lock colors.
968 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
969
50ab1da6
JL
9702013-12-19 Juri Linkov <juri@jurta.org>
971
972 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
973 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
974 (minibuffer-history-symbol): Move variable declaration closer to
975 its usage.
976
977 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
978 (Bug#14785)
979
3d6e95e7
JL
9802013-12-19 Juri Linkov <juri@jurta.org>
981
982 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
983 New function.
984 (log-edit-hook): Add it to :options. (Bug#16170)
985
b41594fd
JL
9862013-12-19 Juri Linkov <juri@jurta.org>
987
988 * simple.el (eval-expression-print-format): Don't check for
989 command names and the last command. Always display additional
990 formats of the integer result in the echo area, and insert them
991 to the current buffer only with a zero prefix arg.
992 Display character when char-displayable-p is non-nil.
993 (eval-expression): With a zero prefix arg, set `print-length' and
994 `print-level' to nil, and insert the integer values from
995 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
996
997 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
998 `eval-last-sexp-arg-internal'. Doc fix.
999 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1000 `eval-last-sexp-print-value'. Doc fix.
1001 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1002 Set `print-length' and `print-level' to nil when arg is zero.
1003 (eval-last-sexp): Doc fix.
1004 (eval-defun-2): Print the integer values from
1005 `eval-expression-print-format' at the end.
1006
1007 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1008 values from `eval-expression-print-format' at the end.
1009
1010 * ielm.el (ielm-eval-input): Print the integer
1011 values from `eval-expression-print-format' at the end.
1012
8f2be364
TZ
10132013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1014
1015 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1016 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1017
2230a6e3
SM
10182013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1019
1020 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1021 (hl-line-highlight, global-hl-line-highlight): Use it.
1022 (hl-line-overlay): Use defvar-local.
1023
1269a680
JD
10242013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1025
1026 * term/ns-win.el: Require dnd.
1027 (global-map): Remove drag items.
1028 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1029 (ns-set-background-at-mouse):
1030 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1031 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1032 New functions.
1269a680 1033
049638ad
GM
10342013-12-19 Glenn Morris <rgm@gnu.org>
1035
1036 * emacs-lisp/ert.el (ert-select-tests):
1037 Fix string/symbol mixup. (Bug#16121)
1038
ce41edb4
DG
10392013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1040
1041 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1042 keywords to their parent.
1043
7e1549c9
DG
10442013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1045
1046 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1047 first arg to be a string (fixed dead code), or an operator symbol.
1048 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1049 operator symbols.
1050 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1051 did nothing. Don't respond to `(:after ".")', it will be called
1052 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1053 change anything. Only return indentation for binary operators
1054 when they are hanging. De-dent opening paren when its parent is
1055 `.', otherwise it looks bad when the dot is not at bol or eol
1056 (bug#16182).
1057
3ee4cd64
JL
10582013-12-19 Juri Linkov <juri@jurta.org>
1059
1060 * replace.el (query-replace-read-args): Split a non-negative arg
1061 and a negative arg into separate elements.
1062 (query-replace, query-replace-regexp, replace-string)
1063 (replace-regexp): Add arg `backward'. Doc fix.
1064 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1065 move point to the beginning of the match.
1066 (replace-search, replace-highlight): Use new arg `backward'
1067 to set the value of `isearch-forward'.
1068 (perform-replace): Add arg `backward' and use it to perform
1069 replacement backward. (Bug#14979)
1070
1071 * isearch.el (isearch-query-replace): Use a negative prefix arg
1072 to call `perform-replace' with a non-nil arg `backward'.
1073
0cda6b7b
JL
10742013-12-18 Juri Linkov <juri@jurta.org>
1075
1076 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1077 to the default list. Move `log-edit-show-files' to the end.
1078 Add more available functions to options.
1079 (log-edit): Move default specific settings to
1080 `log-edit-insert-message-template'. Don't move point.
1081 (log-edit-insert-message-template): New function.
1082 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1083 (Bug#16170)
1084
b216f0a6
JL
10852013-12-18 Juri Linkov <juri@jurta.org>
1086
1087 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1088 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1089
1d1c55dc
LL
10902013-12-18 Leo Liu <sdl.web@gmail.com>
1091
e9dc713d
JB
1092 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1093 (Bug#16186)
1d1c55dc 1094
64e4c76e
EZ
10952013-12-18 Eli Zaretskii <eliz@gnu.org>
1096
1097 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1098 formats for displaying file sizes when the -s switch is given.
1099 Instead, compute a separate format for displaying the size in
1100 blocks, which is displayed in addition to the "regular" size.
1101 When -h is given in addition to -s, produce size in blocks in
1102 human-readable form as well. (Bug#16179)
1103
b2984e39
TH
11042013-12-18 Tassilo Horn <tsdh@gnu.org>
1105
2230a6e3
SM
1106 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1107 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1108
50ff2e06
CY
11092013-12-18 Chong Yidong <cyd@gnu.org>
1110
0081bc84
CY
1111 * cus-edit.el (custom-magic-alist): Fix "themed" description
1112 (Bug#14348).
1113
a7ee9424
CY
1114 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1115 is non-nil, do not create a new entry in the symbol's theme-value
1116 or theme-face property; update theme-settings only (Bug#14664).
18874304 1117 (custom-available-themes): Doc fix.
a7ee9424 1118
8f942537
CY
1119 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1120 (Bug#15674).
1121
50ff2e06
CY
1122 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1123
83c60f60
KI
11242013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1125
1126 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1127 (Bug#13914).
1128
e0eb0550 11292013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1130
1131 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1132
1f41ee56
GM
11332013-12-18 Glenn Morris <rgm@gnu.org>
1134
1135 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1136 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1137
e82134b1
LW
11382013-12-18 Le Wang <l26wang@gmail.com>
1139
2230a6e3
SM
1140 * comint.el (comint-previous-matching-input-from-input):
1141 Retain point (Bug#13404).
e82134b1 1142
33f5d4c1
CY
11432013-12-18 Chong Yidong <cyd@gnu.org>
1144
1145 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1146
ccc9f6dc
GM
11472013-12-18 Glenn Morris <rgm@gnu.org>
1148
1149 * mail/emacsbug.el (report-emacs-bug):
1150 Only mention enable-multibyte-characters if non-standard.
1151
33dd8e95
JL
11522013-12-17 Juri Linkov <juri@jurta.org>
1153
1154 * arc-mode.el (archive-extract-by-file): Check if directory exists
1155 before deletion to not show irrelevant errors if it doesn't exist.
1156
7a409b30
JL
11572013-12-17 Juri Linkov <juri@jurta.org>
1158
1159 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1160 (Bug#14751)
1161
1162 * net/eww.el (browse-web): Add alias to `eww'.
1163 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1164 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1165
1166 * net/browse-url.el (browse-url-browser-function): Move `eww'
1167 closer to similar functions.
1168
1169 * startup.el (fancy-startup-screen, fancy-about-screen):
1170 Set browse-url-browser-function to eww-browse-url locally.
1171 (Bug#14751)
1172
2d6b6005
SM
11732013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1174
1175 * window.el (window--pixel-to-total): Remove unused `mini' var.
1176 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1177 (split-window): Remove unused `new' var.
1178 (window--display-buffer): Remove unused `frame' and `delta' vars.
1179 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1180 and display-width'.
1181
cf2b7efc
MR
11822013-12-17 Martin Rudalics <rudalics@gmx.at>
1183
1184 * dired.el (dired-mark-pop-up):
1185 * register.el (register-preview): Don't bind
1186 split-height-threshold here since it's now done in
1187 display-buffer-below-selected.
1188
ed3af8a7 11892013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1190
1191 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1192 xterm-rgb-convert-to-16bit.
1193 (rxvt-register-default-colors): Standardize with
1194 xterm-register-default-colors (Bug#14078).
1195
76da3455
DK
11962013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1197
1198 * simple.el (kill-region): Pass mark first, then point, so that
1199 kill-append works right (Bug#12819).
1200 (copy-region-as-kill, kill-ring-save): Likewise.
1201
2b84d763
LL
12022013-12-17 Leo Liu <sdl.web@gmail.com>
1203
1204 * net/rcirc.el (rcirc-add-face):
1205 * eshell/em-prompt.el (eshell-emit-prompt):
1206 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1207 (Bug#16167)
1208
e2f6a0bc
CY
12092013-12-17 Chong Yidong <cyd@gnu.org>
1210
1211 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1212 Suggested by Xue Fuqiao.
1213
35b249a6
DG
12142013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1215
1216 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1217
e9145444
SM
12182013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1219
1220 * net/shr.el (shr-insert-document): Remove unused var
1221 `shr-preliminary-table-render'.
1222 (shr-rescale-image): Remove unused arg `force'.
1223 (shr-put-image): Update calls accordingly.
1224 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1225
5556c0ce
DG
12262013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1227
1228 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1229 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1230 :close-all, to see which indentation method to use (Bug#16116).
1231 (smie-rules-function): Document the method :close-all.
1232
11bade0a
LMI
12332013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1234
1c4b1e61
LMI
1235 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1236
11bade0a
LMI
1237 * net/eww.el (eww-display-html): If we can't find the anchor we're
1238 looking for, then go to point-min.
1239
8fb8c4f3
PE
12402013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1241
1242 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1243 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1244 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1245 Expand dir too, in case it's relative.
1246
6c8e0ae6
JL
12472013-12-16 Juri Linkov <juri@jurta.org>
1248
1249 * desktop.el (desktop-auto-save-timeout): Change default to
1250 `auto-save-timeout'. Doc fix.
1251 (desktop-save): Skip the timestamp in desktop-saved-frameset
1252 when checking for auto-save changes.
1253 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1254 `desktop-auto-save' is called repeatedly by the idle timer.
1255 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1256 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1257 (Bug#15331)
1258
2178e858
JL
12592013-12-16 Juri Linkov <juri@jurta.org>
1260
1261 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1262 (Bug#16035)
1263 (isearch-pre-command-hook): Check `this-command' for symbolp.
1264
39cb42c6
SM
12652013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1267 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1268
5b9b750a
TZ
12692013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1270
1271 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1272 (cfengine3--current-function): Bring in the current-function
1273 functionality from `cfengine3--current-word'.
1274 (cfengine3-completion-function): Bring in the
1275 bounds-of-current-word functionality from
1276 `cfengine3--current-word'.
1277
d144ef06
MR
12782013-12-16 Martin Rudalics <rudalics@gmx.at>
1279
39cb42c6
SM
1280 * window.el (display-buffer-below-selected):
1281 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1282
a8bbe298
LL
12832013-12-16 Leo Liu <sdl.web@gmail.com>
1284
1285 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1286 Remove NOMSG arg and all uses changed.
1287
2013a2f9
SM
12882013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1289
1290 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1291 (cua--deactivate-rectangle): Don't deactivate the mark.
1292 (cua-set-rectangle-mark): Don't set mark-active since
1293 cua--activate-rectangle already does it for us.
1294 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1295 non-rectangular region.
1296
1297 * emulation/cua-base.el (cua-repeat-replace-region):
1298 Use with-current-buffer.
1299
1300 * net/gnutls.el: Use cl-lib.
1301 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1302
5ae811dd
TZ
13032013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1304
1305 * emacs-lisp/package.el (package-built-in-p): Support both
1306 built-in and the package.el converted package descriptions.
1307 (package-show-package-list): Allow keywords.
1308 (package-keyword-button-action): Use it instead of
1309 `finder-list-matches'.
1310 (package-menu-filter-interactive): Interactive filtering (by
1311 keyword) function.
1312 (package-menu--generate): Support keywords and change keymappings
1313 and headers when they are given.
1314 (package--has-keyword-p): Helper function.
1315 (package-menu--refresh): Use it.
1316 (package--mapc): Helper function.
1317 (package-all-keywords): Use it.
1318 (package-menu-mode-map): Set up menu items and keybindings to
1319 provide a filtering UI.
1320
31b4827e
TZ
13212013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1322
1323 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1324 the behavior when a certificate fails validation. Defaults to
1325 old behavior: never abort, just warn.
1326 (gnutls-negotiate): Use it.
1327
f93cc74f
MR
13282013-12-14 Martin Rudalics <rudalics@gmx.at>
1329
1330 * window.el (display-buffer-below-selected): Never split window
1331 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1332
f77d7d17
TW
13332013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1334
1335 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1336 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1337
7514d3f8
SM
13382013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1339
aa2bddd7 1340 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1341 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1342
276bc333
DG
13432013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1344
1345 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1346 open-paren tokens when preceded by a open-paren, too.
1347 (ruby-smie-rules): Handle virtual indentation after open-paren
1348 tokens specially. If there is code between it and eol, return the
1349 column where is starts (Bug#16118).
1350
d43957f3
TZ
13512013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1352
a5c1ac0c 1353 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1354 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1355 (cfengine3--current-word): Fix parameters.
1356 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1357 (cfengine3-completion-function, cfengine3--current-function):
1358 Use `assq' for symbols.
d43957f3
TZ
1359 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1360
06a4f110
GM
13612013-12-13 Glenn Morris <rgm@gnu.org>
1362
1363 * loadup.el (load-path): Warn if site-load or site-init changes it.
1364 No more need to reset it when bootstrapping.
1365
978a5fda
TZ
13662013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1367
1368 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1369 locations for cf-promises.
1370 (cfengine-mode-syntax-functions-regex): New caching variable.
1371 (cfengine3-fallback-syntax): Fallback syntax for cases where
1372 cf-promises doesn't run.
1373 (cfengine3--current-word): Reimplement using
1374 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1375 (cfengine3-completion-function, cfengine3--current-function):
1376 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1377 (cfengine3-clear-syntax-cache): New function.
1378 (cfengine3-make-syntax-cache): Simplify and create
1379 `cfengine-mode-syntax-functions-regex' on demand.
1380 (cfengine3-format-function-docstring): Don't call
1381 `cfengine3-make-syntax-cache' explicitly.
1382
71e6691e
MR
13832013-12-13 Martin Rudalics <rudalics@gmx.at>
1384
1385 Fix windmove-find-other-window broken after pixelwise resizing
1386 (Bug#16017).
1387 * windmove.el (windmove-other-window-loc): Revert change from
1388 2013-12-04.
1389 (windmove-find-other-window): Call window-in-direction.
1390 * window.el (window-in-direction): New arguments SIGN, WRAP and
1391 MINI to emulate original windmove-find-other-window behavior.
1392
84c73ba0
DG
13932013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1394
1395 * simple.el (blink-matching--overlay): New variable.
1396 (blink-matching-open): Instead of moving point, highlight the
1397 matching paren with an overlay
1398 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1399
1400 * faces.el (paren-showing-faces, show-paren-match)
1401 (show-paren-mismatch): Move from paren.el.
1402
b9e20952
LL
14032013-12-13 Leo Liu <sdl.web@gmail.com>
1404
1405 * indent.el (indent-region): Disable progress reporter in
1406 minibuffer. (Bug#16108)
1407
1408 * bindings.el (visual-order-cursor-movement): Fix version.
1409
ce030451
FEG
14102013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1411
1412 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1413 Also match after beginning of line.
1414 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1415 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1416
4a9c6865
JL
14172013-12-13 Juri Linkov <juri@jurta.org>
1418
1419 * simple.el <Keypad support>: Remove key bindings duplicated
1420 with bindings.el. (Bug#14397)
1421
2bc170c3
JL
14222013-12-13 Juri Linkov <juri@jurta.org>
1423
1424 * comint.el (comint-mode-map): Replace `delete-char' with
1425 `delete-forward-char'. (Bug#16109)
1426
bc9222c9
FEG
14272013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1428
aa2bddd7 1429 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1430 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1431
cb3a1380
SM
14322013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1435 (advice--make): Pay attention to `depth'.
1436 (advice--make-1): Don't autoload commands eagerly.
1437 * emacs-lisp/elp.el (elp-instrument-function):
1438 * emacs-lisp/trace.el (trace-function-internal):
1439 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1440
1441 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1442
01633a17
EZ
14432013-12-12 Eli Zaretskii <eliz@gnu.org>
1444
1445 * term/w32-win.el (w32-handle-dropped-file):
1446 * startup.el (normal-top-level):
1447 * net/browse-url.el (browse-url-file-url):
1448 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1449 decode file names using 'utf-8' rather than
1450 file-name-coding-system.
1451
09faee72
FEG
14522013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1453
1454 * progmodes/python.el (python-indent-context)
1455 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1456 behavior for comment blocks. (Bug#15916)
09faee72 1457
f4f84024 14582013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1459
cb3a1380
SM
1460 * progmodes/python.el (python-indent-calculate-indentation):
1461 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1462 operators when they are just string constituents. (Bug#15812)
1463
d5ccb7be
JL
14642013-12-12 Juri Linkov <juri@jurta.org>
1465
1466 * uniquify.el (uniquify-buffer-name-style): Change default to
1467 `post-forward-angle-brackets'.
1468
1469 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1470 `uniquify'. Change default to `post-forward-angle-brackets'.
1471
7b3f5679
GM
14722013-12-11 Glenn Morris <rgm@gnu.org>
1473
1474 * emacs-lisp/package.el (finder-list-matches):
1475 Autoload rather than falsely declaring.
1476
f4fe8fdd
TZ
14772013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1478
1479 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1480 (eww-mode-map): Use them.
1481
3c29190f
MR
14822013-12-11 Martin Rudalics <rudalics@gmx.at>
1483
1484 * window.el (display-buffer-in-side-window): Fix doc-string
1485 (Bug#16115).
1486
0cd616a2
JB
14872013-12-11 Juanma Barranquero <lekktu@gmail.com>
1488
1489 * vc/vc-git.el: Silence byte-compiler warnings.
1490 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1491 (log-edit-set-header): Declare.
1492
3ef8e0d1
EZ
14932013-12-11 Eli Zaretskii <eliz@gnu.org>
1494
1495 * Makefile.in (custom-deps, finder-data): Run output file names
1496 through unmsys--file-name. (Bug#16099)
1497
afdadaf7
SM
14982013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1499
7ae3ae39 1500 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1501 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1502
5b4f37ab
SM
1503 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1504 instead of deleting the selection "by hand" (bug#16098).
1505 Rely on insert-for-yank to yank rectangles.
1506 (cua-highlight-region-shift-only): Mark obsolete.
1507 (cua-mode): Don't enable/disable transient-mark-mode,
1508 shift-select-mode (cua-mode works both with and without them), and
1509 pc-selection-mode (obsolete).
1510 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1511 (cua--deactivate-rectangle): Deactivate it.
1512
4b72c12b
SM
1513 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1514 (delete-selection-helper): Make sure yank starts at the top of the
1515 deleted region.
1516 (minibuffer-keyboard-quit): Use region-active-p.
1517
e82af72d
SM
1518 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1519
afdadaf7
SM
1520 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1521 to `delete' (bug#16109).
1522
ed4bc201
RS
15232013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1524
1525 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1526 info manual and show keybindings and set `:group' keyword.
1527
bb8097b9
JL
15282013-12-11 Juri Linkov <juri@jurta.org>
1529
1530 * delsel.el (delete-active-region): Let-bind `this-command'
1531 to prevent `kill-region' from changing its original value.
1532 (delete-selection-helper): Handle `overwrite-mode' for the type
1533 `kill' exactly the same way as for the type `t'.
1534 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1535 Support more commands. (Bug#13312)
1536
c1916ff5
JL
15372013-12-11 Juri Linkov <juri@jurta.org>
1538
1539 * bindings.el: Map kp keys to non-kp keys systematically
1540 with basic modifiers control, meta and shift. (Bug#14397)
1541
7514d3f8 15422013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1543
1544 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1545 "Close browser" menu items. Fix wrong function of "List
1546 bookmarks".
1547
4cc51eaf
JL
15482013-12-11 Juri Linkov <juri@jurta.org>
1549
1550 * misearch.el (multi-isearch-buffers): Set the value of
1551 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1552 arg of isearch-forward to t.
1553 (multi-isearch-buffers-regexp): Set the value of
1554 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1555 arg of isearch-forward-regexp to t.
1556 (multi-isearch-files): Set the value of
1557 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1558 arg of isearch-forward to t.
1559 (multi-isearch-files-regexp): Set the value of
1560 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1561 arg of isearch-forward-regexp to t. (Bug#16035)
1562
1563 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1564 arg of isearch-forward to t.
1565 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1566 arg of isearch-forward-regexp to t.
1567 (dired-isearch-filter-filenames): Remove unnecessary check for
1568 `dired-isearch-filenames'.
1569
1570 * comint.el (comint-history-isearch-backward):
1571 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1572 (comint-history-isearch-backward-regexp):
1573 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1574
ceac12b7
EZ
15752013-12-10 Eli Zaretskii <eliz@gnu.org>
1576
1577 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1578 unmsys--file-name. (Bug#16099)
1579
5a565782
TZ
15802013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1581
cb3a1380
SM
1582 * emacs-lisp/package.el (package-keyword-button-action):
1583 Remove finder.el require dependency.
5a565782 1584
a81fc7ba
TZ
15852013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1586
1587 * emacs-lisp/package.el: Require finder.el.
1588 (describe-package-1): Add keyword buttons.
1589 (package-make-button): New convenience function.
1590 (package-keyword-button-action): Keyword button action using
e0eb0550 1591 `finder-list-matches'.
a81fc7ba 1592
6aaca951
EZ
15932013-12-09 Eli Zaretskii <eliz@gnu.org>
1594
1595 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1596 last commit.
1597
a1099a91
MA
15982013-12-09 Michael Albinus <michael.albinus@gmx.de>
1599
1600 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1601 symlinked files.
1602
8212d9c0
DG
16032013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1604
1605 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1606 after the end of a percent literal.
1607
8f48d131
CD
16082013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1609
cb3a1380
SM
1610 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1611 Handle caret-delimited strings (Bug#16079).
8f48d131 1612
ff8c9764
DG
16132013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1614
cb3a1380
SM
1615 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1616 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1617 `ruby-parse-partial' (Bug#16078).
1618
d64643b4
LL
16192013-12-09 Leo Liu <sdl.web@gmail.com>
1620
1621 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1622
47e59c66
DG
16232013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1624
1625 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1626 (js-switch-indent-offset): New option.
1627 (js--proper-indentation): Use it. And handle the case when
1628 "default" is actually a key in an object literal.
1629 (js--same-line): New function.
1630 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1631 (js--indent-in-array-comp, js--array-comp-indentation):
1632 New functions.
47e59c66
DG
1633 (js--proper-indentation): Use them, to handle array comprehension
1634 continuations.
1635
974ebc9c
LL
16362013-12-08 Leo Liu <sdl.web@gmail.com>
1637
1638 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1639 (flymake-make-overlay): Remove arg MOUSE-FACE.
1640 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1641
27262e39
SM
16422013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1643
1644 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1645 New function.
1646 (redisplay-highlight-region-function): Use it.
1647
1648 * emulation/cua-base.el (cua--explicit-region-start)
1649 (cua--last-region-shifted): Remove.
1650 (cua--deactivate): Use deactivate-mark.
1651 (cua--pre-command-handler-1): Don't handle shift-selection.
1652 (cua--post-command-handler-1): Don't change transient-mark-mode.
1653 (cua--select-keymaps): Use region-active-p rather than
1654 cua--explicit-region-start or cua--last-region-shifted.
1655 (cua-mode): Enable shift-select-mode.
1656
6407822c
LL
16572013-12-08 Leo Liu <sdl.web@gmail.com>
1658
27262e39
SM
1659 * progmodes/flymake.el (flymake-popup-current-error-menu):
1660 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1661 (flymake-posn-at-point-as-event, flymake-popup-menu)
1662 (flymake-make-emacs-menu): Remove. (Bug#16077)
1663
00a2b823
SM
16642013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1665
02033d49
SM
1666 * rect.el (rectangle-mark-mode): Activate mark even if
1667 transient-mark-mode is off (bug#16066).
1668 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1669 is > mark and at bolp.
1670
6f8dfccf
SM
1671 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1672 (region-extract-function): Use it.
1673 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1674 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1675 Delete functions.
1676 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1677 kill-ring-save, kill-region, delete-char, delete-forward-char.
1678 Ignore self-insert-iso.
1679
1680 * emulation/cua-gmrk.el (cua--init-global-mark):
1681 Ignore `self-insert-iso'.
1682
1683 * emulation/cua-base.el (cua--prefix-copy-handler)
1684 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1685 checking cua--rectangle.
1686 (cua-delete-region): Use region-extract-function.
1687 (cua-replace-region): Delete function.
1688 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1689 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1690 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1691 (cua--init-keymaps): Don't remap delete-selection commands.
1692 (cua-mode): Use delete-selection-mode instead of rolling our own
1693 (bug#16085).
1694
1695 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1696 Obey region-extract-function.
1697
00a2b823
SM
1698 Make registers and delete-selection-mode work on rectangles.
1699 * register.el (describe-register-1): Don't modify the register's value.
1700 (copy-to-register): Obey region-extract-function.
1701 * delsel.el (delete-active-region): Obey region-extract-function.
1702
a92fa5f1
LL
17032013-12-08 Leo Liu <sdl.web@gmail.com>
1704
1705 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1706 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1707 (flymake-compilation-prevents-syntax-check)
1708 (flymake-start-syntax-check-on-newline)
1709 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1710 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1711 (flymake-xml-program, flymake-master-file-dirs)
1712 (flymake-master-file-count-limit)
1713 (flymake-allowed-file-name-masks): Relocate.
1714 (flymake-makehash, flymake-float-time)
1715 (flymake-replace-regexp-in-string, flymake-split-string)
1716 (flymake-get-temp-dir): Remove.
1717 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1718 (flymake-current-row, flymake-selected-frame)
1719 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1720 related functions. (Bug#16077)
1721
73c8ceea
BB
17222013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1723
1724 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1725
faec28d9
TH
17262013-12-07 Tassilo Horn <tsdh@gnu.org>
1727
1728 * help-fns.el (describe-function-1): Use new advice-* functions
1729 rather than old ad-* functions. Fix function type description and
1730 source links for advised functions and subrs.
1731
e330b646
LMI
17322013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1733
00a2b823 1734 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1735
4803595d
MA
17362013-12-06 Michael Albinus <michael.albinus@gmx.de>
1737
1738 * progmodes/compile.el (compilation-start):
1739 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1740
1741 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1742 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1743
fa834a93
DG
17442013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1745
00a2b823
SM
1746 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1747 Touch up the last change.
fa834a93 1748
b2856a6f
LL
17492013-12-06 Leo Liu <sdl.web@gmail.com>
1750
1751 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1752 (inferior-octave-startup): Always use "octave> " for prompt.
1753 (octave-goto-function-definition)
1754 (octave-sync-function-file-names)
1755 (octave-find-definition-default-filename): Remove redundant backquotes.
1756
af67e79a
DG
17572013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1758
1759 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1760 syntax for `?'.
1761 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1762 where appropriate already.
1763 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1764 end of method names (Bug#15874).
1765
bf093209
JL
17662013-12-06 Juri Linkov <juri@jurta.org>
1767
1768 * isearch.el (isearch--saved-overriding-local-map):
1769 New internal variable.
1770 (isearch-mode): Set it to the initial value of
1771 `overriding-terminal-local-map'.
1772 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1773 with `isearch--saved-overriding-local-map'. (Bug#16035)
1774
16588fad
DG
17752013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1776
00a2b823
SM
1777 * progmodes/octave.el (inferior-octave-completion-table):
1778 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1779 (Bug#11906). Update all references.
1780
1781 * minibuffer.el (completion-table-with-cache): New function.
1782
bf4906d7
CD
17832013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1784
1785 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1786
ff69c18f
TZ
17872013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1788
1789 * net/eww.el (eww-current-source): New variable to store page
1790 source.
1791 (eww-display-html, eww-mode, eww-save-history)
1792 (eww-restore-history): Use it.
1793 (eww-view-source): New command to view page source.
1794 Opportunistically uses `html-mode' to highlight the buffer.
1795 (eww-mode-map): Install it.
1796
b85eff45
MA
17972013-12-05 Michael Albinus <michael.albinus@gmx.de>
1798
1799 * net/dbus.el (dbus-unregister-service)
1800 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1801 Fix docstring.
1802 (dbus-unregister-service): Skip :serial entries in
1803 `dbus-registered-objects-table'.
1804 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1805
39eb0899
TZ
18062013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1807
1808 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1809 around keywords with extra `split-string' argument.
1810
456760a5
MR
18112013-12-04 Martin Rudalics <rudalics@gmx.at>
1812
1813 * windmove.el (windmove-other-window-loc): Handle navigation
1814 between windows (excluding the minibuffer window - Bug#16017).
1815
81961e4c
MA
18162013-12-04 Michael Albinus <michael.albinus@gmx.de>
1817
1818 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1819 in D-Bus type syntax.
1820 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1821 preserve unibyte strings. (Bug#16048)
1822
8497f938
SM
18232013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1824
1825 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1826 Call force-mode-line-update is the proper buffer (bug#16042).
1827
dda61916
DG
18282013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1829
1830 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1831 `log-edit-remember-comment', make argument optional. Adjust all
1832 callers.
1833 (log-edit-mode): Add `log-edit-remember-comment' to
1834 `kill-buffer-hook' locally.
1835 (log-edit-kill-buffer): Don't remember comment explicitly since
1836 the buffer is killed anyway.
1837
c085e5b9
JL
18382013-12-04 Juri Linkov <juri@jurta.org>
1839
1840 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1841 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1842
e0eb0550 18432013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1844
1845 * notifications.el (notifications-close-notification): Call the
81961e4c 1846 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1847
39fa32d6
KY
18482013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1849
1850 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1851
9139632a
JL
18522013-12-03 Juri Linkov <juri@jurta.org>
1853
1854 * progmodes/compile.el (compilation-start): Rename window alist
1855 entry `no-display-ok' to `allow-no-window'.
1856
1857 * simple.el (shell-command): Add window alist entry
1858 `allow-no-window' to `display-buffer'.
1859 (async-shell-command): Doc fix.
1860
1861 * window.el (display-buffer-no-window): New action function.
1862 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1863
0f457a37
DG
18642013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1865
1866 * vc/log-edit.el (log-edit-set-header): Extract from
1867 `log-edit-toggle-header'.
1868 (log-edit-extract-headers): Separate the summary, when extracted
1869 from header, from the rest of the message with an empty line.
1870
1871 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1872 line, if present, to the Summary header.
1873
0962f376
SM
18742013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1875
1876 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1877 in current-buffer (bug#16029).
1878
f345395c
HE
18792013-12-02 Helmut Eller <eller.helmut@gmail.com>
1880
1881 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1882 (debugger-mode-map): Bind it.
1883 (debugger--backtrace-base): New function.
1884 (debugger-eval-expression): Use it.
1885 (debugger-frame-number): Skip local vars when present.
1886 (debugger--locals-visible-p, debugger--insert-locals)
1887 (debugger--show-locals, debugger--hide-locals): New functions.
1888
a8a15d9d
MA
18892013-12-02 Michael Albinus <michael.albinus@gmx.de>
1890
1891 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1892 "LC_ALL".
1893 (tramp-get-remote-locale): New defun.
1894 (tramp-open-connection-setup-interactive-shell): Use it.
1895
0518b057
LL
18962013-12-02 Leo Liu <sdl.web@gmail.com>
1897
1898 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1899
1900 * progmodes/sh-script.el (sh-shell-process):
1901 * progmodes/octave.el (inferior-octave-process-live-p):
1902 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1903 (gdb-inferior-io-sentinel):
1904 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1905
3adc9c6d
DG
19062013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1907
1908 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1909 `save-selected-window' to `log-edit-hide-buf'. This makes
1910 `log-edit-show-files' idempotent.
1911 (log-edit-show-files): Mark the new window as dedicated.
1912
47e8b74e
DG
19132013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1914
1915 * vc/log-edit.el (log-edit-mode-map): Add binding for
1916 `log-edit-kill-biffer'.
1917 (log-edit-hide-buf): Add a FIXME comment.
1918 (log-edit-add-new-comment): New function, extracted from
1919 `log-edit-done'.
1920 (log-edit-done, log-edit-add-to-changelog): Use it.
1921 (log-edit-kill-buffer): New command.
1922
1f6e1bb0
LMI
19232013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1924
1925 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1926 instead of killing the buffer.
1927
fb651d15
SM
19282013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1929
1930 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1931
8feacce0
RS
19322013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1933
fb651d15 1934 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1935 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1936 (eww-form-checkbox, eww-toggle-checkbox):
1937 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1938
e0eb0550 1939 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1940 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1941 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1942 no :src tag was specified.
1943
fb651d15 1944 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1945 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1946 Use \\` to match beginning of string instead of ^.
1947 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1948 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1949
177948a5
RS
1950 * net/shr.el (shr-tag-video): Display content for video if no
1951 poster is available.
eb2dd24d 1952 (shr-tag-audio): Add support for <audio> tag.
177948a5 1953
e0eb0550 1954 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1955 (eww-process-text-input): Treat input types in
1956 `eww-text-input-types' as text.
1957
8feacce0
RS
1958 * net/shr.el (shr-tag-table): Fix comment typo.
1959
513562a1
LMI
19602013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1961
1962 * net/eww.el (eww-follow-link): New command to avoid reloading
1963 pages when we follow #target links (bug#15243).
de8a5633 1964 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1965
9dd99753
KN
19662013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1967
1968 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1969 forms.
1970
3e9876de
LMI
19712013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1972
1973 * net/eww.el (eww-restore-history): Update the window title after
1974 moving in the history.
ab6dea82 1975 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1976
52789f7f
DG
19772013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1978
1979 * vc/log-edit.el (log-edit-mode-map): Add binding for
1980 `log-edit-beginning-of-line'.
1981 (log-edit-setup-add-author): New user option.
1982 (log-edit-beginning-of-line): New command.
1983 (log-edit): Move major mode call above the contents setup so that
1984 the local variable values are already applied.
1985 (log-edit): Only insert "Author: " when
1986 `log-edit-setup-add-author' is non-nil.
1987 (log-edit): When SETUP is non-nil, position point after ": "
1988 instead of point-min.
1989
2e6710c3
GM
19902013-12-01 Glenn Morris <rgm@gnu.org>
1991
1992 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1993
fadec31f
EZ
19942013-11-30 Eli Zaretskii <eliz@gnu.org>
1995
1996 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1997 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1998 visible. (Bug#16014)
1999
10634b40 20002013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2001
2002 Support resizing frames and windows pixelwise.
2003 * cus-start.el (frame-resize-pixelwise)
2004 (window-resize-pixelwise): New entries.
2005 * emacs-lisp/debug.el (debug): Use window-total-height instead
2006 of window-total-size.
2007 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2008 * help.el (describe-bindings-internal): Call help-buffer
2009 (temp-buffer-max-width): New option.
2010 (resize-temp-buffer-window, help-window-setup)
2011 (with-help-window): Rewrite.
2012 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2013 dragging dividers.
2014 * window.el (frame-char-size, window-min-pixel-height)
2015 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2016 (window-min-pixel-width, window-safe-min-pixel-size)
2017 (window-combination-p, window-safe-min-size)
2018 (window-resizable-p, window--size-to-pixel)
2019 (window--pixel-to-size, window--resize-apply-p): New functions.
2020 (window-safe-min-height): Fix doc-string.
2021 (window-size, window-min-size, window--min-size-1)
2022 (window-sizable, window-sizable-p, window--min-delta-1)
2023 (window-min-delta, window--max-delta-1, window-max-delta)
2024 (window--resizable, window--resizable-p, window-resizable)
2025 (window-full-height-p, window-full-width-p, window-at-side-p)
2026 (window--in-direction-2, window-in-direction)
2027 (window--resize-reset-1, window--resize-mini-window)
2028 (window-resize, window-resize-no-error)
2029 (window--resize-child-windows-normal)
2030 (window--resize-child-windows, window--resize-siblings)
2031 (window--resize-this-window, window--resize-root-window)
2032 (window--resize-root-window-vertically)
2033 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2034 (maximize-window, minimize-window, delete-window)
2035 (quit-restore-window, window-split-min-size, split-window)
2036 (balance-windows-2, balance-windows)
2037 (balance-windows-area-adjust, balance-windows-area)
2038 (window--state-get-1, window-state-get, window--state-put-1)
2039 (window--state-put-2, window-state-put)
fb651d15
SM
2040 (display-buffer-record-window, window--display-buffer):
2041 Make functions handle pixelwise sizing of windows.
880e6158 2042 (display-buffer--action-function-custom-type)
fb651d15
SM
2043 (display-buffer-fallback-action):
2044 Add display-buffer-in-previous-window.
880e6158
MR
2045 (display-buffer-use-some-window): Resize window to height it had
2046 before.
2047 (fit-window-to-buffer-horizontally): New option.
2048 (fit-frame-to-buffer): Describe new values.
2049 (fit-frame-to-buffer-bottom-margin): Replace with
2050 fit-frame-to-buffer-margins.
2051 (window--sanitize-margin): New function.
2052 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2053 using window-text-pixel-size.
2054
f9b697dd
GM
20552013-11-30 Glenn Morris <rgm@gnu.org>
2056
3e2fb4db
GM
2057 * emacs-lisp/bytecomp.el (byte-compile-form):
2058 Make the `interactive-only' warning like the `obsolete' one.
2059 * comint.el (comint-run):
2060 * files.el (insert-file-literally, insert-file):
2061 * replace.el (replace-string, replace-regexp):
2062 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2063 (goto-line, insert-buffer, next-line, previous-line):
2064 Tweak `interactive-only' spec.
2065
f9b697dd
GM
2066 Stop keeping (most) generated cedet grammar files in the repository.
2067 * Makefile.in (semantic): New.
2068 (compile-main): Depend on semantic.
2069
da048127
SM
20702013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2071
7784b779
SM
2072 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2073 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2074
4e36a6a6
SM
2075 * uniquify.el (uniquify-buffer-name-style): Change default.
2076
2077 * loadup.el: Preload "uniquify".
2078
e0ba1308
SM
2079 * time.el (display-time-update): Update all mode lines (bug#15999).
2080
da048127
SM
2081 * electric.el (electric-indent-mode): Enable by default.
2082 * loadup.el: Preload "electric".
2083
015b3b3e
BB
20842013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2085
2086 * emacs-lisp/helpers.el (string-empty-p): New function.
2087 (string-blank-p): New function.
2088
7efb806d
AP
20892013-11-29 Andreas Politz <politza@hochschule-trier.de>
2090
2091 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2092 (Bug#14029).
2093
c8f0efc2
AP
20942013-11-29 Andreas Politz <politza@fh-trier.de>
2095 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2096 allow non-lambda lists as functions.
2097 (imenu--in-alist): Don't recurse into non-subalists.
2098 (imenu): Don't pass function itself as an argument (Bug#14029).
2099
bd15d9d1
SM
21002013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * progmodes/python.el (python-mode-map): Remove binding for ":".
2103 (python-indent-electric-colon): Remove command.
2104 (python-indent-post-self-insert-function): Integrate the previous code
2105 of python-indent-electric-colon. Make it conditional on
2106 electric-indent-mode.
2107 (python-mode): Add ?: to electric-indent-chars.
2108 Move python-indent-post-self-insert-function to the end of
2109 post-self-insert-hook.
2110
1b10adb6
SM
21112013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2112
655ab9a3
SM
2113 * doc-view.el (doc-view-goto-page): Update mode-line.
2114
1b10adb6
SM
2115 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2116
7e3bf78c
GM
21172013-11-27 Glenn Morris <rgm@gnu.org>
2118
2119 * international/charprop.el, international/uni-bidi.el:
2120 * international/uni-category.el, international/uni-combining.el:
2121 * international/uni-comment.el, international/uni-decimal.el:
2122 * international/uni-decomposition.el, international/uni-digit.el:
2123 * international/uni-lowercase.el, international/uni-mirrored.el:
2124 * international/uni-name.el, international/uni-numeric.el:
2125 * international/uni-old-name.el, international/uni-titlecase.el:
2126 * international/uni-uppercase.el:
2127 Remove generated files from VCS repository.
2128
fb6a5d68
EZ
21292013-11-27 Eli Zaretskii <eliz@gnu.org>
2130
2131 * filenotify.el (file-notify-add-watch): Don't special-case
2132 w32notify when computing the directory to watch.
2133
cb6c95a3
GM
21342013-11-27 Glenn Morris <rgm@gnu.org>
2135
20372d0c
GM
2136 Make bootstrap without generated uni-*.el files possible again.
2137 * loadup.el: Update command-line-args checking for unidata-gen.
2138 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2139 * composite.el, international/characters.el:
2140 Handle unicode tables being undefined.
2141
52d6635f 2142 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2143 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2144 (compile-main): Depend on leim rule.
2145 (leim): New rule.
2146 * loadup.el: Move leim-list.el to leim/ subdirectory.
2147 * startup.el (normal-top-level): No more leim directory.
2148 * international/ja-dic-cnv.el (skkdic-convert):
2149 Disable version-control and autoloads in output files.
2150 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2151 Disable version-control and autoloads in output files.
2152 * leim/quail: Move here from ../leim.
2153 * leim/quail/hangul.el (hangul-input-method-activate):
2154 Add autoload cookie.
2155 (generated-autoload-load-name): Set file-local value.
2156 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2157 (generated-autoload-load-name): Set file-local value.
2158
7514d3f8 21592013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2160
e0eb0550 2161 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2162 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2163 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2164
0e2c793f
EZ
21652013-11-26 Eli Zaretskii <eliz@gnu.org>
2166
2167 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2168 reading output from Diff on MS-Windows and MS-DOS.
2169
447bdcb8
BB
21702013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2171
2172 * emacs-lisp/helpers.el (string-reverse): New function.
2173
5fbf6856
MA
21742013-11-26 Michael Albinus <michael.albinus@gmx.de>
2175
2176 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2177 names on MS Windows, like "/[::1]:".
2178
2179 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2180 SWITCHES.
2181
624780f0
GM
21822013-11-26 Glenn Morris <rgm@gnu.org>
2183
0bf3f0fa
GM
2184 * progmodes/python.el (python-indent-guess-indent-offset):
2185 Avoid corner-case error. (Bug#15975)
2186
624780f0
GM
2187 Preload leim-list.el. (Bug#4789)
2188 * loadup.el: Load leim-list.el when found.
2189 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2190
4301875e 21912013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2192
2193 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2194
4301875e
BB
2195 * emacs-lisp/helpers.el (string-join): New function.
2196
1633a815 21972013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2198
2199 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2200 Mark as obsolete and replace it with a symbol property.
2201 (byte-compile-form): Use new 'interactive-only property.
2202 * comint.el, files.el, replace.el, simple.el:
2203 Apply new 'interactive-only properly.
2204
00139435
MR
22052013-11-25 Martin Rudalics <rudalics@gmx.at>
2206
2207 * window.el (display-buffer-at-bottom): Make sure that
2208 split-window-sensibly creates the new window on bottom
2209 (Bug#15961).
2210
5f5b128d
DK
22112013-11-23 David Kastrup <dak@gnu.org>
2212
2213 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2214 on the conflict markers when available.
2215 (smerge--get-marker): New function.
2216 (smerge-end-re, smerge-base-re): Add subgroup.
2217
623891e5
SM
22182013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * frame.el (handle-focus-in, handle-focus-out): Add missing
2221 interactive spec.
2222
05ca27d8
MA
22232013-11-25 Michael Albinus <michael.albinus@gmx.de>
2224
2225 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2226 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2227
511fa0d3
SM
22282013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2229
e82ad66c
SM
2230 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2231 (gomoku--last-pos): New var.
2232 (gomoku--intangible-chars): New const.
2233 (gomoku--intangible): New function.
2234 (gomoku-mode): Use it. Derive from special-mode.
2235 (gomoku-move-up): Adjust line count.
2236 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2237 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2238 Simplify accordingly.
2239
511fa0d3
SM
2240 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2241 Remove blink-cursor code.
2242 (blink-cursor-timer-function, blink-cursor-suspend):
2243 Don't special-case GUIs.
2244 (blink-cursor-mode): Use focus-in/out-hook.
2245
6f20dd03
DG
22462013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2247
2248 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2249 work when annotation is invisible (Bug#13886).
2250
431dec31 22512013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2252
2253 * json.el (json-alist-p): Only return non-nil if the alist has
2254 simple keys (Bug#13518).
2255
431dec31 22562013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2257
2258 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2259 when control-statement is the first statement in a buffer (Bug#15956).
2260
ee4f0261
DG
22612013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2262
2263 * imenu.el (imenu-generic-skip-comments-and-strings):
2264 New option (Bug#15560).
2265 (imenu--generic-function): Use it.
2266
c484f866
JS
22672013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2268
e9dc713d
JB
2269 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2270 (Bug#13898)
c484f866 2271
41ce6f70
BB
22722013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2273
b55aea38
BB
2274 * emacs-lisp/helpers.el: Add some string helpers.
2275 (string-trim-left): Removes leading whitespace.
2276 (string-trim-right): Removes trailing whitespace.
2277 (string-trim): Removes leading and trailing whitespace.
2278
41ce6f70
BB
2279 * subr.el (string-suffix-p): New function.
2280
3cfb6af3
GM
22812013-11-23 Glenn Morris <rgm@gnu.org>
2282
2283 * progmodes/python.el (python-shell-send-file):
2284 Add option to delete file when done. (Bug#15647)
2285 (python-shell-send-string, python-shell-send-region): Use it.
2286
c27924b7
IS
22872013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2288
e1b01c7f
IS
2289 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2290 to set buffer-read-only to t, never to nil. (Bug#15938)
2291
c27924b7
IS
2292 * textmodes/tex-mode.el (latex-noindent-environments):
2293 Add safe-local-variable property. (Bug#15936)
2294
17e0445b
GM
22952013-11-23 Glenn Morris <rgm@gnu.org>
2296
92f78ea3
GM
2297 * textmodes/enriched.el (enriched-mode): Doc fix.
2298 * emacs-lisp/authors.el (authors-renamed-files-alist):
2299 Add enriched.doc -> enriched.txt.
2300
17e0445b
GM
2301 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2302
965bb23a
LL
23032013-11-22 Leo Liu <sdl.web@gmail.com>
2304
2305 * progmodes/octave.el (inferior-octave-startup): Spit out error
2306 message.
2307
d19ffd64
BB
23082013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2309
2310 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2311 Improve docstring.
15ba2182
BB
2312 Add :version.
2313 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2314
7a7567d2
LL
23152013-11-22 Leo Liu <sdl.web@gmail.com>
2316
2317 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2318 (Bug#15076)
8c09f64b
LL
2319 (octave-help-mode): Adapt to change to help-mode-finish to use
2320 derived-mode-p on 2013-09-17.
2321 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2322 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2323
724bc265
LL
23242013-11-22 Leo Liu <sdl.web@gmail.com>
2325
2326 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2327 (inferior-octave-startup, inferior-octave-check-process)
2328 (inferior-octave-track-window-width-change)
2329 (octave-completion-at-point, octave-eldoc-function): Use it.
2330 (octave-kill-process): Provide confirmation. (Bug#10564)
2331
38637cca
LL
23322013-11-21 Leo Liu <sdl.web@gmail.com>
2333
511fa0d3
SM
2334 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2335 Fix obsolete variable comment-use-global-state.
38637cca 2336
06e752b4
RS
23372013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2338
511fa0d3
SM
2339 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2340 Add `octave-source-file'.
06e752b4
RS
2341 (octave-source-file): New function. (Bug#15935)
2342
7514d3f8 23432013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2344
2345 * net/eww.el (eww-local-regex): New variable.
2346 (eww): Use it to detect localhost and similar.
2347
b6ffa04a
LL
23482013-11-21 Leo Liu <sdl.web@gmail.com>
2349
2350 Add completion for command `ag'.
2021a200
LL
2351 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2352 (pcomplete/ag): New function.
e9dc713d 2353 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2354
d1a6bccc
SM
23552013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2356
2357 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2358 (bug#14646).
2359 (make-obsolete): Remove interactive spec.
2360
2df10228
GM
23612013-11-21 Glenn Morris <rgm@gnu.org>
2362
2363 * startup.el (command-line-1): Use path-separator with -L.
2364
86fd16b6
TZ
23652013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2366
2367 * emacs-lisp/package.el (describe-package-1): Add package archive
2368 to shown fields.
2369
0449d6cd 23702013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2371
2372 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2373 Change default to "# encoding: %s" to differentiate it from the
2374 default Ruby encoding comment template.
2375
dc7e8c17 23762013-11-20 era eriksson <era+emacsbugs@iki.fi>
2377
2378 * ses.el (ses-mode): Doc fix. (Bug#14748)
2379
f0cfa5fe
LL
23802013-11-20 Leo Liu <sdl.web@gmail.com>
2381
2382 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2383
826dc7b6
DN
23842013-11-19 Dan Nicolaescu <dann@gnu.org>
2385
2386 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2387 when rebase or bisect are in progress.
2388
a6e3a5d5
XF
23892013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2390
2391 * filenotify.el (file-notify-add-watch): Doc fix.
2392
f130cb76
LL
23932013-11-19 Leo Liu <sdl.web@gmail.com>
2394
e0855d7d
LL
2395 * obsolete/rcompile.el: Mark obsolete.
2396
f130cb76 2397 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2398 (compilation-goto-locus, compilation-find-file):
2399 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2400 (Bug#13594)
2401
2402 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2403 new parameter no-display-ok. Return either a window or nil
2404 but never a non-window value.
f130cb76 2405
1f35d401
SM
24062013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2407
25158c76
SM
2408 * electric.el (electric-indent-mode-map): Remove.
2409 (electric-indent-mode): Change the global-map instead (bug#15915).
2410
2411 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2412 Use add-function.
1f35d401 2413
9bc67baa
SM
24142013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2415
986545b5
SM
2416 * emacs-lisp/nadvice.el (remove-function): Align with
2417 add-function's behavior.
2418
9bc67baa
SM
2419 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2420 (gdb--string-regexp): New constant.
2421 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2422 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2423 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2424 submatch 1.
2425 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2426 Adjust use accordingly.
2427 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2428
56cd894e
AS
24292013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2430
2431 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2432 interpolation curlies (Bug#15914).
2433
014690de
JB
24342013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2435
2436 * calc/calc.el (calc-context-sensitive-enter): New variable.
2437 (calc-enter): Use `calc-context-sensitive-enter'.
2438
7e26a6c3
TZ
24392013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2440
2441 * progmodes/cfengine.el: Version bump.
2442 (cfengine-cf-promises): New defcustom to locate cf-promises.
2443 (cfengine3-vartypes): Add new "data" type.
2444 (cfengine3--current-word): New function to get current name-like
2445 word or its bounds.
2446 (cfengine3--current-function): New function to look up a CFEngine
2447 function's definition.
2448 (cfengine3-format-function-docstring): New function.
2449 (cfengine3-make-syntax-cache): New function.
2450 (cfengine3-documentation-function): New function: ElDoc glue.
2451 (cfengine3-completion-function): New function: completion glue.
2452 (cfengine3-mode): Set `compile-command',
2453 `eldoc-documentation-function', and add to
2454 `completion-at-point-functions'.
2455
355204dd
MA
24562013-11-16 Michael Albinus <michael.albinus@gmx.de>
2457
2458 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2459 `tramp-current-connection'.
2460
43cebc23
DG
24612013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2462
2463 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2464 nil/self/true/false with "end of symbol".
2465
a3fed6ff
BB
24662013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2467
2468 * subr.el (version-regexp-alist): Fix a typo.
2469
e675b3e4
MA
24702013-11-15 Michael Albinus <michael.albinus@gmx.de>
2471
2472 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2473 "en_US.utf8" and "LC_CTYPE" to "".
2474 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2475 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2476
a1f03e89
LL
24772013-11-15 Leo Liu <sdl.web@gmail.com>
2478
2479 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2480
5d9d9451
SM
24812013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2482
58362662
CS
2483 * progmodes/gud.el (ctl-x-map):
2484 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2485 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2486
6c1bf086
BB
24872013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2488
0d5363c4
BB
2489 * subr.el (version-regexp-alist):
2490 Recognize hg, svn and darcs versions as snapshot versions.
2491
4e9fc48c
BB
2492 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2493 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2494 (ruby--encoding-comment-required-p): Extract from
2495 `ruby-mode-set-encoding'.
2496 (ruby-mode-set-encoding): Add the ability to always insert an
2497 utf-8 encoding comment. Fix and simplify coding comment update
2498 logic.
6c1bf086 2499
2f7e72f8
MA
25002013-11-14 Michael Albinus <michael.albinus@gmx.de>
2501
2502 * net/tramp-gvfs.el (top): Run init code only when
2503 `tramp-gvfs-enabled' is not nil.
2504 (tramp-gvfs-enabled): Check also :system bus.
2505
0f137a73
SM
25062013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2507
2508 Sync with upstream verilog-mode revision 78e66ba.
2509 * progmodes/verilog-mode.el (verilog-end-of-defun)
2510 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2511 (verilog-get-end-of-defun): Remove unused argument.
2512 (verilog-comment-depth): Remove unused local `e'.
2513 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2514 Don't pass arg to verilog-get-end-of-defun.
2515
1c276bdd
GM
25162013-11-14 Glenn Morris <rgm@gnu.org>
2517
2518 * obsolete/assoc.el (aget): Prefix dynamic variable.
2519
2520 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2521
ff6ec81d
SM
25222013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2523
2524 * widget.el, hfy-cmap.el: Remove bogus package version number.
2525
75f777b6
GM
25262013-11-13 Glenn Morris <rgm@gnu.org>
2527
1d43dba1
GM
2528 * replace.el (replace-eval-replacement):
2529 Try to give more helpful error message. (Bug#15836)
2530
ff4b7bd5
GM
2531 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2532 (archive-7z-update): Avoid custom type mismatches.
2533
75f777b6
GM
2534 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2535
11151a06
MA
25362013-11-13 Michael Albinus <michael.albinus@gmx.de>
2537
e675b3e4 2538 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2539 address can be empty.
2540
2541 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2542 Accept nil SWITCHES.
2543 (tramp-gvfs-handle-write-region): Implement APPEND.
2544
7b08f97e
DG
25452013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2546
2547 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2548 binary "|" operator and closing block args delimiter.
2549 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2550 (ruby-smie--implicit-semi-p): Not after "|" operator.
2551 (ruby-smie--closing-pipe-p): New function.
2552 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2553 (ruby-smie-rules): Indent after "|".
2554
f201cf3a
GM
25552013-11-12 Glenn Morris <rgm@gnu.org>
2556
2557 * ps-print.el (ps-face-attribute-list):
2558 Handle anonymous faces. (Bug#15827)
2559
e6f759f9
MR
25602013-11-12 Martin Rudalics <rudalics@gmx.at>
2561
2562 * window.el (display-buffer-other-frame): Fix doc-string.
2563 (Bug#15868)
2564
ecda65d4
SM
25652013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2566
2567 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2568
7ce8fcc3
MA
25692013-11-11 Michael Albinus <michael.albinus@gmx.de>
2570
2571 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2572 (tramp-sh-handle-file-local-copy): Don't write a message when
2573 saving temporary files.
2574
2575 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2576 both directories are remote.
2577 (tramp-smb-handle-directory-files): Do not return double entries.
2578 Do not expand full file names.
2579 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2580 (tramp-smb-handle-write-region): Implement APPEND.
2581 (tramp-smb-get-stat-capability): Fix a stupid bug.
2582
7818df11
SM
25832013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2584
2585 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2586
608c2085
NT
25872013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2588
2589 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2590 throwing error over malformed let/let* (bug#15814).
2591
122a7e46
SM
25922013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2593
2594 * iswitchb.el (iswitchb-mode): Mark obsolete.
2595
766284d9
GM
25962013-11-11 Glenn Morris <rgm@gnu.org>
2597
2598 * international/uni-bidi.el, international/uni-category.el:
2599 * international/uni-name.el, international/uni-numeric.el:
2600 Regenerate for Unicode 6.3.0.
2601
7072a4e9
MA
26022013-11-10 Michael Albinus <michael.albinus@gmx.de>
2603
2604 * net/tramp.el (tramp-methods):
2605 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2606 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2607
c9df215b
AS
26082013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2609
608c2085
NT
2610 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2611 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2612
fa47d796
DG
26132013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2614
2615 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2616 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2617 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2618 (ispell-complete-word): Call `ispell-lookup-words' with the value
2619 independent of `ispell-look-p'.
2620
1629a329
DG
26212013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2622
2623 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2624 Not after "||".
2625 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2626 their parent.
2627
ad16897c
SM
26282013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2631 (ruby-font-lock-keywords): Use backquote.
2632
ffa2df72
DG
26332013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2634
2635 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2636 (ruby-smie--backward-token): Only consider full-string matches.
2637
5b97b4c0
JD
26382013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2639
2640 * faces.el (describe-face): Add distant-foreground.
2641
71731c03
BB
26422013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2643
4e9fc48c
BB
2644 * progmodes/ruby-mode.el: Improve encoding comment handling.
2645 (ruby-encoding-magic-comment-style): New option.
2646 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2647 (ruby--insert-coding-comment, ruby--detect-encoding):
2648 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2649 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2650 to control the style of the auto-inserted encoding comment.
71731c03 2651
da3b328d
DG
26522013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2653
ad16897c
SM
2654 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2655 Use `smie-backward-sexp' with token argument.
da3b328d 2656
1606c2d3
MA
26572013-11-08 Michael Albinus <michael.albinus@gmx.de>
2658
2659 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2660 Remove instrumentation code.
2661
b0f4c320
GM
26622013-11-08 Glenn Morris <rgm@gnu.org>
2663
2664 * progmodes/autoconf.el (autoconf-mode):
2665 Tweak comment-start-skip. (Bug#15822)
2666
43668fb1
SM
26672013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2668
2669 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2670 at bobp (bug#15826).
2671 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2672
daddb3fd
DH
26732013-11-08 Darren Hoo <darren.hoo@gmail.com>
2674
2675 * man.el (Man-start-calling): New macro, extracted from
2676 Man-getpage-in-background.
2677 (Man-getpage-in-background): Use it.
2678 (Man-update-manpage): New command.
2679 (Man-mode-map): Bind it.
2680
1f923923
DG
26812013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2682
2683 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2684 of "and", "or", "&&" and "||".
2685 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2686 argument. Prohibit opening curly brace because it could only be a
2687 block opener in that position.
daddb3fd
DH
2688 (ruby-smie--forward-token, ruby-smie--backward-token):
2689 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2690 arguments.
2691 (ruby-smie--indent-to-stmt): New function, seeks the end of
2692 previous statement or beginning of buffer.
2693 (ruby-smie-rules): Use it.
2694 (ruby-smie-rules): Check if there's a ":" before a curly block
2695 opener candidate; if there is, it's a hash.
2696
3220d527
SM
26972013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2698
2699 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2700 (cl--block-wrapper): Fix last accidental change.
2701
1eb1f9e0
MA
27022013-11-07 Michael Albinus <michael.albinus@gmx.de>
2703
2704 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2705 Instrument, in order to hunt failure on hydra.
2706
e6e4db3c
NT
27072013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2708
2709 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2710 malformed bindings form (bug#15814).
2711
b420ccfc
DG
27122013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2713
2714 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2715 "." compared to " @ ". This incidentally fixes some indentation
2716 examples with "do".
e6e4db3c 2717 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2718 (ruby-smie-grammar): New tokens: "and" and "or".
2719 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2720 Exclude "and" and "or". Remove "do" in order to work around token
2721 priorities.
2722 (ruby-smie-rules): Add all infix tokens. Handle the case of
2723 beginning-of-buffer.
b420ccfc 2724
6b4ac03e
GM
27252013-11-06 Glenn Morris <rgm@gnu.org>
2726
2727 * Makefile.in (setwins_almost, setwins_for_subdirs):
2728 Avoid accidental matches.
2729
5ca114d1
SM
27302013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2731
2732 * menu-bar.el (popup-menu): Use key-binding.
2733
f72552bd
EZ
27342013-11-06 Eli Zaretskii <eliz@gnu.org>
2735
2736 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2737 menus, support also the menus produced by minor modes.
2738 (Bug#15817)
2739
5d5c701e
LL
27402013-11-06 Leo Liu <sdl.web@gmail.com>
2741
2742 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2743 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2744
0a8b75e2
GM
27452013-11-06 Glenn Morris <rgm@gnu.org>
2746
2747 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2748 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2749 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2750
a35287ea
SM
27512013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2752
feca4e2d
SM
2753 * electric.el (electric-indent-just-newline): New command.
2754 (electric-indent-mode-map): New keymap.
2755 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2756 Re-add :group which weren't redundant.
2757
a35287ea
SM
2758 * electric.el (electric-indent-local-mode): New minor mode.
2759 (electric-indent-functions-without-reindent): New var.
2760 (electric-indent-post-self-insert-function): Use it.
2761 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2762
375761b2
EZ
27632013-11-05 Eli Zaretskii <eliz@gnu.org>
2764
9a6ad735
EZ
2765 * international/quail.el (quail-help): Be more explicit about the
2766 meaning of the labels shown on the keys. (Bug#15800)
2767
375761b2
EZ
2768 * startup.el (normal-top-level): Load the subdirs.el files before
2769 setting the locale environment. (Bug#15805)
2770
520a6e4a
SM
27712013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2772
0acfafef
SM
2773 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2774 via arguments so as to get the right ones (bug#15418).
2775
520a6e4a
SM
2776 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2777
15826261
MA
27782013-11-05 Michael Albinus <michael.albinus@gmx.de>
2779
2780 Fix problems found while writing a test suite.
2781
2782 * net/tramp-compat.el (tramp-compat-load): New defun.
2783 * net/tramp.el (tramp-handle-load): Use it.
2784
2785 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2786 "(numberp ok-if-already-exists)" correctly.
2787
d35f31a4
XF
27882013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2789
2790 * international/characters.el (glyphless-char-display-control):
2791 Add usage note.
2792
ae93bc74
BB
27932013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2794
520a6e4a
SM
2795 * progmodes/python.el (python-mode):
2796 * progmodes/scheme.el (scheme-mode):
2797 * progmodes/prolog.el (prolog-mode):
2798 * progmodes/ruby-mode.el (ruby-mode):
2799 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2800 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2801
0ade65b5
SM
28022013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2803
a0d5f7a4
SM
2804 * rect.el (rectangle--highlight-for-redisplay):
2805 * emacs-lisp/smie.el (smie--next-indent-change):
2806 Use buffer-chars-modified-tick.
2807
c93f3f5c
SM
2808 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2809
0ade65b5
SM
2810 * electric.el (electric-indent-post-self-insert-function):
2811 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2812
ef9dd188
HE
28132013-11-04 Helmut Eller <eller.helmut@gmail.com>
2814
2815 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2816
306e7308
NT
28172013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2818
2819 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2820 (bug#15786).
2821
e5afbcac
SM
28222013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2823
1d01ad41
SM
2824 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2825
e5afbcac
SM
2826 * progmodes/python.el: Fix up last change.
2827 (python-shell--save-temp-file): New function.
2828 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2829 `string' comes from the current buffer.
2830 (python-shell-send-string-no-output): Remove `msg' arg.
2831 (python--use-fake-loc): New var.
2832 (python-shell-buffer-substring): Obey it. Try to compensate for the
2833 extra coding line added by python-shell--save-temp-file.
2834 (python-shell-send-region): Use python-shell--save-temp-file and
2835 python-shell-send-file directly. Add `nomain' argument.
2836 (python-shell-send-buffer): Use python-shell-send-region.
2837 (python-electric-pair-string-delimiter): New function.
2838 (python-mode): Use it.
2839
d0065ff1
EZ
28402013-11-04 Eli Zaretskii <eliz@gnu.org>
2841
2842 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2843 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2844 environment and decoding all of the default-directory's to here
2845 from command-line.
2846 (command-line): Decode also argv[0].
2847
2848 * loadup.el: Error out if default-directory is a multibyte string
2849 when we are dumping.
2850
2851 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2852
7397c587
TZ
28532013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2854
2855 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2856 (package-menu--print-info, package-menu--archive-predicate):
2857 Add Archive column to package list.
7397c587 2858
b27cc9fc
MA
28592013-11-04 Michael Albinus <michael.albinus@gmx.de>
2860
2861 Fix problems found while writing a test suite.
2862
2863 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2864 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2865 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2866 to nil when running original file name handler. Otherwise,
2867 there are problems with constructs like "$$FOO".
2868
2869 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2870 for `localname'.
2871
d8c4f18a
BB
28722013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2873
7b530552
BB
2874 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2875
2876 * subr.el (version<, version<=, version=):
2877 Update docstrings with information for snapshot versions.
2878
d8c4f18a
BB
2879 * helpers.el: New library for misc helper functions.
2880 (hash-table-keys): New function returning a list of hash keys.
2881 (hash-table-values): New function returning a list of hash values.
2882
dca01b09
DG
28832013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2884
2885 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2886 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2887
0a749fa0
MN
28882013-11-04 Michal Nazarewicz <mina86@mina86.com>
2889
2890 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2891 checking whether point is after a 1-letter word.
2892
28932013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2894
2895 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2896 Don't infloop when expanding region over `multiline' syntax-type that
2897 begins a line (bug#15778).
2898
4aca7145
SM
28992013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2900
2901 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2902 Make it into a proper minor mode.
2903 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2904 (rectangle-mark-mode-map): New keymap.
2905 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2906
a0833f62
GM
29072013-11-04 Glenn Morris <rgm@gnu.org>
2908
2909 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2910
e61845c1
SM
29112013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2912
2913 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2914 (ruby-smie-rules): Use smie-rule-parent instead.
2915
2916 * emacs-lisp/smie.el (smie-rule-parent): Always call
2917 smie-indent-virtual rather than only for hanging tokens.
2918 (smie--next-indent-change): New helper command.
2919
62942f89
GM
29202013-11-03 Glenn Morris <rgm@gnu.org>
2921
2922 * Makefile.in (abs_srcdir): Remove.
2923 (emacs): Unset EMACSLOADPATH.
2924
b0b9e592
GM
29252013-11-02 Glenn Morris <rgm@gnu.org>
2926
18ba6a33 2927 * Makefile.in (EMACS): Use a relative filename.
8061810d 2928 (abs_top_builddir): Remove.
18ba6a33
GM
2929 (custom-deps, finder-data, autoloads): Use --chdir.
2930
6a8b929e
GM
2931 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2932
c617f3d0
GM
2933 Use relative filenames in TAGS files.
2934 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2935 (lisptagsfiles4, TAGS): Use relative file names.
2936 (TAGS-LISP): Remove.
2937 (maintainer-clean): No more TAGS-LISP file.
2938
b0b9e592
GM
2939 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2940 (lisptagsfiles4): Use absolute filenames again.
2941 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2942 Remove all *loaddefs files, not just the first. Remove esh-groups.
2943 (maintainer-clean): Delete TAGS, TAGS-LISP.
2944
d1c0ea6a
BB
29452013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2946
e61845c1
SM
2947 * emacs-lisp/package.el (package-version-join):
2948 Recognize snapshot versions.
d1c0ea6a 2949
684d71c6
BB
29502013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2951
2952 * subr.el (version-regexp-alist): Add support for snapshot versions.
2953
3d42b968
DG
29542013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2955
e61845c1
SM
2956 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2957 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2958 skip over our direct parent if it's an assignment token..
2959 (ruby-smie-rules): Use it.
2960
7ffd3721
DG
29612013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2962
8449dd1f 2963 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
2964 unconditionally. Remove now unnecessary forward declarations.
2965 Remove XEmacs-specific setup.
2966 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2967 (ruby-font-lock-syntactic-keywords)
2968 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2969 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2970 (ruby-here-doc-end-syntax): Remove.
2971 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2972 defined as function.
2973
a3996a2e
BB
29742013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2975
2976 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2977
6f9260e8
BB
29782013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2979
2980 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2981 table and abbrev table, `define-derived-mode' does that for us
2982 anyway.
2983
6014de84
GM
29842013-11-01 Glenn Morris <rgm@gnu.org>
2985
2986 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2987 files is atomic for some time, so no parallel compilation issues).
2988
3c334c14
JD
29892013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2990
2991 * faces.el (face-x-resources): Add :distant-foreground.
2992 (region): Use :distant-foreground for gtk and ns.
2993
9bc236c8
TH
29942013-11-01 Tassilo Horn <tsdh@gnu.org>
2995
5246583b 2996 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2997 BibTeX.
2998 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2999 (reftex-locate-bibliography-files): Us it.
3000
d14c81ee
CB
30012013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3002
0e7690de
CB
3003 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3004 allow comments in pbm files.
3005
d14c81ee
CB
3006 * term/w32-win.el (dynamic-library-alist): Support newer versions
3007 of libjpeg starting with v7: look only for the DLL from the
3008 version against which Emacs was built.
ac1bf374 3009 Support versions of libpng beyond 1.4.x.
019c8218 3010 Support libtiff v4.x.
d14c81ee 3011
983d0df5
BB
30122013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3013
3014 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3015 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3016 Add property :safe.
3017 (ruby-deep-arglist): Add property :type.
3018
47f58d85
GM
30192013-10-31 Glenn Morris <rgm@gnu.org>
3020
3021 * Makefile.in (custom-deps, finder-data): No need to setq the target
3022 variables, we are in the right directory and the defaults work fine.
3023
4f85b479
GM
30242013-10-30 Glenn Morris <rgm@gnu.org>
3025
ca7dd4cd
GM
3026 * Makefile.in (autoloads): Do not use abs_lisp.
3027
4f85b479
GM
3028 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3029 `newline' does not respect `standard-output', so use `princ'.
3030
cf59e41c
AA
30312013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3032
3033 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3034 * buff-menu.el (Buffer-menu--unmark): New function.
3035 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3036
74cf04fb
GM
30372013-10-30 Glenn Morris <rgm@gnu.org>
3038
b040b60e
GM
3039 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3040
f53d3815
GM
3041 * emacs-lisp/package.el (lm-homepage): Declare.
3042
5413d873
GM
3043 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3044 Fix doc typos.
3045
cecedb36
GM
3046 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3047
74cf04fb
GM
3048 * Makefile.in (finder-data, autoloads, update-subdirs)
3049 (compile-main, compile-clean, compile-always, bootstrap-clean):
3050 Check return value of cd.
3051 (compile-calc): Remove.
3052
195ee2f0
SM
30532013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3054
ae4002ce
SM
3055 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3056
3057 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3058 (byte-compile-and-folded): New function.
3059 (=, <, >, <=, >=): Use it.
3060
3061 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3062 (path-separator, null-device, buffer-file-coding-system)
3063 (lpr-headers-switches): Check system-type before modifying them.
3064 (find-buffer-file-type-coding-system): Mark obsolete.
3065 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3066 find-file-not-found-set-buffer-file-coding-system.
3067 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3068 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3069 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3070 (w32-direct-print-region-helper, w32-direct-print-region-function)
3071 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3072 * startup.el (normal-top-level-add-subdirs-to-load-path):
3073 * ps-print.el (ps-print-region-function):
3074 * lpr.el (print-region-function): Use new name.
3075
53b39e89
SM
3076 * subr.el (custom-declare-variable-early): Remove function.
3077 (custom-declare-variable-list): Remove var.
3078 (error, user-error): Remove `while' loop.
3079 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3080 (user-emacs-directory-warning, locate-user-emacs-file):
3081 Move to files.el.
3082 * simple.el (read-quoted-char-radix, read-quoted-char):
3083 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3084 Move from subr.el.
3085 * custom.el (custom-declare-variable-list): Don't process
3086 custom-declare-variable-list.
3087
195ee2f0
SM
3088 * progmodes/python.el (python-shell-get-buffer): New function.
3089 (python-shell-get-process): Use it.
3090 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3091 Python which encoding was used. Don't split-string since we only care
3092 about the first line. Return the temp-file, if applicable.
3093 (python-shell-send-region): Tell compile.el how to turn locations in
3094 the temp-file into locations in the source buffer.
3095
7e3561ee
SM
30962013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3097
4c9797cb
SM
3098 * subr.el (undefined): Add missing behavior from the C code for
3099 unbound keys.
3100
3472b6c6
SM
3101 * rect.el: Use lexical-binding. Add new rectangular region support.
3102 (rectangle-mark): New command.
3103 (rectangle--region): New var.
3104 (deactivate-mark-hook): Reset rectangle--region.
3105 (rectangle--extract-region, rectangle--insert-for-yank)
3106 (rectangle--highlight-for-redisplay)
3107 (rectangle--unhighlight-for-redisplay): New functions.
3108 (region-extract-function, redisplay-unhighlight-region-function)
3109 (redisplay-highlight-region-function): Use them to handle
3110 rectangular region.
3111 * simple.el (region-extract-function): New var.
3112 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3113 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3114 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3115 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3116 (redisplay-unhighlight-region-function)
3117 (redisplay-highlight-region-function): New vars.
3118 (redisplay--update-region-highlight): New function.
3119 (pre-redisplay-function): Use it.
3120 (exchange-point-and-mark): Don't deactivate the mark before
3121 reactivate-it anyway.
3122 * comint.el (comint-kill-region): Remove yank-handler argument.
3123 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3124 (delete-char): Remove property, since it's now part of their
3125 default behavior.
3126 (self-insert-iso): Remove property since this command doesn't exist.
3127
7e3561ee
SM
3128 * emacs-lisp/package.el (package--download-one-archive)
3129 (describe-package-1): Don't query the user about final newline.
3130
b9bef71f
DC
31312013-10-29 Daniel Colascione <dancol@dancol.org>
3132
3133 * net/tramp.el (tramp-methods): Document new functionality.
3134 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3135 tramp-hostname-checker if method provides one instead of scanning
3136 argument list for "%h" to decide hostname acceptability.
3137
4efc33f0
MA
31382013-10-28 Michael Albinus <michael.albinus@gmx.de>
3139
3140 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3141 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3142 Handle COPY-CONTENTS. (Bug#15737)
3143
ed42a877
DU
31442013-10-28 Daiki Ueno <ueno@gnu.org>
3145
3146 * epa-file.el
7e3561ee
SM
3147 (epa-file-cache-passphrase-for-symmetric-encryption):
3148 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3149
18c9f8a2
XF
31502013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3151
7a4bc7be
XF
3152 * image.el (defimage):
3153 (image-load-path): Doc fixes.
18c9f8a2 3154
b1e8e010
AM
31552013-10-27 Alan Mackenzie <acm@muc.de>
3156
3157 Indent statements in macros following "##" correctly.
7e3561ee
SM
3158 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3159 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3160
73d40d1e 31612013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3162
3163 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3164
c8c605ac
DG
31652013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3166
3167 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3168 after `=' is probably a new expression.
3169
ca7e59d4
RS
31702013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3171
3172 * man.el (man-imenu-title): New option.
3173 (Man-mode-map): Add menu. (Bug#15722)
3174 (Man-mode): Add imenu to menu.
3175
bae91342
DG
31762013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3177
3178 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3179 specific in what the first arg can be: a non-keyword word,
3180 string/regexp/percent literal opener, opening paren, or unary
3181 operator followed directly by word.
3182
eb89dc14
SM
31832013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3184
3185 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3186 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3187 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3188 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3189 Remove vars, they do not apply any more.
3190 (prolog-mode-abbrev-table): Remove redundant declaration.
3191 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3192 (prolog-use-smie): Remove.
3193 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3194 supported by prolog-electric-if-then-else-flag.
3195 (prolog-mode-variables, prolog-menu): Use setq-local.
3196 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3197 Remove binding to `Backspace' since this key doesn't exist anyway.
3198 Remove bindings for electric self-inserting keys.
3199 (prog-mode): Assume it's defined.
3200 (prolog-post-self-insert): New function.
3201 (prolog-mode): Use it.
3202 (prolog-indent-line, prolog-indent-level)
3203 (prolog-find-indent-of-matching-paren)
3204 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3205 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3206 (prolog-goto-next-paren, prolog-in-string-or-comment)
3207 (prolog-tokenize, prolog-inside-mline-comment)
3208 (prolog-find-start-of-mline-comment): Remove functions.
3209 (prolog-find-unmatched-paren, prolog-clause-end)
3210 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3211 (prolog-electric--if-then-else): Rename from
3212 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3213 (prolog-tokenize-searchkey): Remove const.
3214 (prolog-clause-info): Use forward-sexp.
3215 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3216 (prolog-electric-if-then-else): Remove commands.
3217 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3218 for use in post-self-insert-hook.
3219 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3220 for use in post-self-insert-hook.
3221 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3222 for use in post-self-insert-hook.
3223 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3224 adapt it for use in post-self-insert-hook.
3225
3dab0a83
MA
32262013-10-25 Michael Albinus <michael.albinus@gmx.de>
3227
3228 * emacs-lisp/ert.el (ert-run-tests-interactively):
3229 Use `completing-read'. (Bug#9756)
3230
fbfd0e1d
EZ
32312013-10-25 Eli Zaretskii <eliz@gnu.org>
3232
3233 * simple.el (line-move): Call line-move-1 instead of
3234 line-move-visual when the current window hscroll is zero, but
3235 temporary-goal-column indicates we will need to hscroll as result
3236 of the movement. (Bug#15712)
3237
963ce636
DG
32382013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3239
3240 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3241 capitalization. Use :visible instead of :active.
3242 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3243 commands that are used with SMIE.
3244 (ruby-do-end-to-brace): Insert space after `{'.
3245
a0be396a
JA
32462013-10-25 John Anthony <john@jo.hnanthony.com>
3247
f73754c9
JA
3248 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3249
3250 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3251
f5bf77df
GM
32522013-10-25 Glenn Morris <rgm@gnu.org>
3253
3254 * vc/vc.el (vc-print-log): Don't use a working revision unless
3255 one was explicitly specified. (Bug#15322)
3256
37241f62
SM
32572013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3259 * subr.el (add-to-list): Preserve return value in compiler-macro
3260 (bug#15692).
3261
6408a65d
RS
32622013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3263
3264 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3265 result. Ask user to retry using '-all' flag. (Bug#15701)
3266
71e3276b
SM
32672013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3268
3269 * emacs-lisp/smie.el: New smie-config system.
3270 (smie-config): New defcustom.
3271 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3272 (smie-config-guess, smie-config-save): New commands.
3273 (smie-config--mode-local, smie-config--buffer-local)
3274 (smie-config--trace, smie-config--modefuns): New vars.
3275 (smie-config--advice, smie-config--mode-hook)
3276 (smie-config--setter, smie-config-local, smie-config--get-trace)
3277 (smie-config--guess-value, smie-config--guess): New functions.
3278 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3279 text properties. Treat "string fence" syntax like string syntax.
3280
3281 * progmodes/sh-script.el (sh-use-smie): Change default.
3282 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3283 (sh-var-value): Simplify by CSE.
3284 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3285 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3286 is used.
3287 (sh-guess-basic-offset): Use cl-incf.
3288 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3289
60db713e
HE
32902013-10-24 Helmut Eller <eller.helmut@gmail.com>
3291
3292 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3293 (bug#15699).
3294
8b251df6
GM
32952013-10-24 Glenn Morris <rgm@gnu.org>
3296
3297 * Makefile.in (abs_top_srcdir): Remove.
3298 (update-subdirs): Use relative path to update-subdirs.
3299
6be0e22b
EZ
33002013-10-24 Eli Zaretskii <eliz@gnu.org>
3301
3302 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3303 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3304 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3305 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3306
50b5b857
MA
33072013-10-24 Michael Albinus <michael.albinus@gmx.de>
3308
3309 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3310 (ert-test-skipped): New error.
3311 (ert-skip, ert-stats-skipped): New defuns.
3312 (ert--skip-unless): New macro.
3313 (ert-test-skipped): New struct.
3314 (ert--run-test-debugger, ert-test-result-type-p)
3315 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3316 (ert--stats-set-test-and-result, ert-char-for-test-result)
3317 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3318 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3319 Handle skipped tests. (Bug#9803)
50b5b857 3320
6f317c2f
GM
33212013-10-24 Glenn Morris <rgm@gnu.org>
3322
e43817c1
GM
3323 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3324
6f317c2f
GM
3325 * Makefile.in (abs_top_srcdir): New, set by configure.
3326 (update-subdirs): Correct build-aux location.
3327
369bbf71
DG
33282013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3329
8297b2cf
DG
3330 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3331 value, whether we could auto-deduce `backend', or not.
3332
369bbf71
DG
3333 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3334 with parameters" example. Simplify the "is it block or is it
3335 hash" check, but also make it more thorough.
3336
d5f1282f
MF
33372013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3338
3339 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3340
bc4aaa31
SM
33412013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3342
03d44565
SM
3343 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3344 { if it is hanging.
3345
bc4aaa31
SM
3346 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3347 :before ";".
3348
f493ff19
JB
33492013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3350
3351 * progmodes/compile.el (compilation-directory-matcher)
3352 (compilation-page-delimiter):
3353 Support GNU Make-4.0 directory quoting. (Bug#15678)
3354
c744a3b9
LL
33552013-10-23 Leo Liu <sdl.web@gmail.com>
3356
3357 * ido.el (ido-tidy): Handle read-only text.
3358
b8e3b0a9
GM
33592013-10-23 Glenn Morris <rgm@gnu.org>
3360
3361 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3362 (emacs, compile, compile-always):
3363 Quote entities that might contain whitespace.
3364 (custom-deps, finder-data, autoloads): Use abs_lisp.
3365 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3366 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3367 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3368
ee4282cd
DG
33692013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3370
bc4aaa31
SM
3371 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3372 Use `following-char'.
7790a270 3373
ee4282cd 33742013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3375
3376 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3377 * progmodes/ruby-mode.el (ruby-smie-rules):
3378 Remove corresponding workaround. Fix indentation rule of ";" so it
3379 also applies when ";" is the parent.
3380
d40a46d7
XF
33812013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3382
3383 * frame.el (display-screens, display-pixel-height)
3384 (display-pixel-width, display-mm-width, display-backing-store)
3385 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3386 (display-visual-class, display-monitor-attributes-list):
3387 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3388
a0f143c9
MG
33892013-10-22 Michael Gauland <mikelygee@amuri.net>
3390
3391 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3392 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3393
18cacc39
DG
33942013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3395
3396 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3397 TODO. Add "." after " @ ".
3398 (ruby-smie--at-dot-call): New function. Checks if point at method
3399 call with explicit target.
3400 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3401 to the method name tokens when it precedes them.
3402 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3403 (ruby-smie-rules): Add rule for indentation before and after "."
3404 token.
3405
df74c4be
SM
34062013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3407
c6dab55f
SM
3408 * textmodes/remember.el (remember-diary-extract-entries):
3409 Avoid add-to-list.
3410
df74c4be
SM
3411 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3412 an instruction.
3413
8c1ae481
DG
34142013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3415
e9dc713d
JB
3416 * progmodes/ruby-mode.el (ruby-smie-grammar):
3417 Add (almost) all infix operators.
cfef16c0
DG
3418 (ruby-smie--implicit-semi-p): Add new operator chars.
3419
8c1ae481
DG
3420 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3421 `smie-down-list'.
3422 (ruby-smie--args-separator-p): Check that there's no newline
3423 between method call and its arguments.
3424
87756ca9
AM
34252013-10-20 Alan Mackenzie <acm@muc.de>
3426
3427 Allow comma separated lists after Java "implements".
3428
df74c4be
SM
3429 * progmodes/cc-engine.el (c-backward-over-enum-header):
3430 Parse commas.
87756ca9
AM
3431 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3432 from a "disallowed" list in enum fontification.
3433
c25f8957
JB
34342013-10-20 Johan Bockgård <bojohan@gnu.org>
3435
df74c4be 3436 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3437
c25f8957
JB
3438 * progmodes/verilog-mode.el (verilog-mode): Don't set
3439 comment-indent-function globally.
3440
aca5fcdc
JD
34412013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3442
5f161884
JD
3443 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3444 Move Info menu item creation to ns-win.el.
3445
3446 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3447 in menu bar.
3448
aca5fcdc
JD
3449 * menu-bar.el: Move GNUStep specific menus...
3450
3451 * term/ns-win.el (ns-initialize-window-system): ... to here.
3452
914b7f98
SM
34532013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3454
3455 * simple.el (newline): Only run post-self-insert-hook when
3456 called interactively.
3457
846ffe77
JB
34582013-10-19 Johan Bockgård <bojohan@gnu.org>
3459
3460 * icomplete.el (icomplete-with-completion-tables): Add :version.
3461
033f22dd
AM
34622013-10-19 Alan Mackenzie <acm@muc.de>
3463
3464 Fix fontification bugs with constructors and const.
3465
3466 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3467 CASE 2) Remove the check for the absence of a suffix construct
3468 after a function declaration with only types (no identifiers) in
3469 the parentheses. Also, accept a function declaration with just a
3470 type inside the parentheses, if this type can be positively
3471 recognised as such, or if a prefix keyword like "explicit" nails
3472 down the construct as a declaration.
3473
58ce0cfc
EZ
34742013-10-19 Eli Zaretskii <eliz@gnu.org>
3475
3476 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3477 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3478 the problem whereby selecting a menu item that leads to a
3479 minibuffer prompt moves the cursor out of the minibuffer window,
3480 making it hard to type at the prompt. Suggested by Stefan Monnier
3481 <monnier@iro.umontreal.ca>.
3482
50e28e7d
JD
34832013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3484
3485 * menu-bar.el: Don't make Services menu.
3486
7deed4bf
RS
34872013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3488
3489 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3490 (ffap-alist): Use ffap-c++-mode for c++-mode.
3491 (ffap-c++-path): New variable.
3492 (ffap-c++-mode): New function.
3493
7bcb455b
JVJ
34942013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3495
3496 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3497
f0ff1cd5
MA
34982013-10-18 Michael Albinus <michael.albinus@gmx.de>
3499
3500 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3501 introduced on 2013-09-08, which results in an infinite loop
3502 requesting a password.
3503
d64da4b7
GM
35042013-10-18 Glenn Morris <rgm@gnu.org>
3505
3506 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3507
ea89ff08
WS
35082013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3509
3510 Sync with upstream verilog-mode revision 1a6ecec7.
3511 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3512 (verilog-mode-release-date): Remove.
3513 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3514 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3515 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3516 (verilog-auto-tieoff-ignore-regexp)
3517 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3518 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3519 (verilog-signals-with, verilog-dir-cache-preserving)
3520 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3521 Doc fixes.
3522 (verilog-case-fold): New option, to control case folding in
3523 regexp searches, bug597.
3524 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3525 (verilog-string-match-fold, verilog-in-paren-count)
3526 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3527 (verilog-at-close-struct-p): New functions.
3528 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3529 (verilog-forward-sexp, verilog-set-auto-endcomments):
3530 (verilog-leap-to-case-head): Handle "unique0" case.
3531 (verilog-in-constraint-re): New constant.
3532 (verilog-keywords, verilog-type-font-keywords):
3533 Add some SystemVerilog 1800-2012 keywords.
3534 (verilog-label-be): Remove unimplemented argument, bug669.
3535 (verilog-batch-execute-func): When batch expanding clear
3536 create-lockfiles to prevent spurious user locks when a file ends
3537 up not changing.
3538 (verilog-calculate-indent, verilog-calc-1)
3539 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3540 (verilog-do-indent): Fix indentation of nested constraints
3541 and structures.
3542 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3543 (verilog-auto-inst-param): Use verilog-string-match-fold.
3544 (verilog-read-inst-module-matcher):
3545 Fix AUTOINST on gate primitives with #1.
3546 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3547 Reads all user-defined typed variables.
3548 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3549 (verilog-signals-matching-regexp)
3550 (verilog-signals-not-matching-regexp, verilog-auto):
3551 Respect verilog-case-fold.
3552 (verilog-diff-report): Fix line count.
3553 (verilog-auto-assign-modport): Remove unused local `modi'.
3554 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3555 better handle multidimensional arrays.
3556 Fix packed array ports misadding bit index in AUTOINST, bug637.
3557 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3558 to not double-declare existing outputs and inputs, respectively.
3559 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3560 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3561 (verilog-sk-uvm-component): New skeleton.
3562 (verilog-submit-bug-report): Add verilog-case-fold,
3563 remove verilog-mode-release-date.
3564
ef566920
BR
35652013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3566
a12bf61e 3567 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
3568 as before.
3569
29df8a0b
RT
35702013-10-18 Reuben Thomas <rrt@sc3d.org>
3571
e0eb0550 3572 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3573 remember buffers (bug#13566).
3574
04a19a79
DC
35752013-10-18 Daniel Colascione <dancol@dancol.org>
3576
3577 When evaluating forms in ielm, direct standard output to ielm
3578 buffer. Add new ielm-return-for-effect command. Remove trailing
3579 whitespace throughout.
3580
3581 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3582 (ielm-return-for-effect): New command.
3583 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3584 (ielm-eval-input): Accept optional `for-effect' parameter.
3585 Bind `standard-output' to stream we create using
04a19a79
DC
3586 `ielm-standard-output-impl'. Suppress printing result when
3587 `for-effect'.
3588 (ielm-standard-output-impl): New function.
3589 (inferior-emacs-lisp-mode): Explain new features in documentation.
3590
4c1f03ef
MA
35912013-10-17 Michael Albinus <michael.albinus@gmx.de>
3592
3593 Code cleanup.
3594
3595 * net/tramp.el (tramp-debug-message): Do not check for connection
3596 buffer.
3597 (tramp-message): Use "vector" connection property.
3598
3599 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3600 (tramp-equal-remote, tramp-eshell-directory-change)
3601 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3602 (tramp-adb-handle-rename-file)
3603 * net/tramp-cmds.el (tramp-list-remote-buffers)
3604 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3605 * net/tramp-compat.el (tramp-compat-process-running-p)
3606 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3607 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3608 (tramp-gvfs-handle-rename-file)
3609 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3610 (tramp-set-file-uid-gid)
3611 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3612 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3613 of `file-remote-p'.
3614
3615 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3616 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3617 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3618 (tramp-gw-open-network-stream): Suppress unrelated traces.
3619
3620 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3621 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3622 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3623 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3624 connection property.
3625
3626 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3627 persistency file.
4c1f03ef
MA
3628
3629 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3630 Refactor common code. Improve debug message.
3631 (tramp-maybe-open-connection)
3632 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3633 connection buffer too early.
3634
3635 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3636 from `tramp-smb-actions-with-acl'.
3637 (tramp-smb-actions-set-acl): New defconst.
3638 (tramp-smb-handle-copy-directory)
3639 (tramp-smb-action-get-acl): New defun, renamed from
3640 `tramp-smb-action-with-acl'.
3641 (tramp-smb-action-set-acl): New defun.
3642 (tramp-smb-handle-set-file-acl): Rewrite.
3643
642eb8b6
GM
36442013-10-17 Glenn Morris <rgm@gnu.org>
3645
3646 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3647
85527ff3
SM
36482013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3649
921c1d62
SM
3650 * skeleton.el (skeleton-newline): Remove.
3651 (skeleton-internal-1): Use (insert "\n") instead.
3652
e333fb10
SM
3653 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3654 let-bindings.
3655
85527ff3
SM
3656 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3657 forward-sexp-function while we redo its job (bug#15613).
3658
c8722a97
JB
36592013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3660
3661 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3662 represented by lists.
3663
7a550bbb
GM
36642013-10-16 Glenn Morris <rgm@gnu.org>
3665
3666 * tmm.el (tmm--history): New dynamic variable.
3667 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3668
f19da8ad
MA
36692013-10-16 Michael Albinus <michael.albinus@gmx.de>
3670
3671 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3672 (tramp-smb-errors): Add error messages.
3673 (tramp-smb-actions-with-acl): New defconst.
3674 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3675 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3676 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3677 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3678 (tramp-smb-get-stat-capability): Fix tests.
3679
a24b9961
DK
36802013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3681
3682 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3683 (bug#15580).
3684
62ad85e6
GM
36852013-10-16 Glenn Morris <rgm@gnu.org>
3686
0283d6b0
GM
3687 * ansi-color.el (ansi-color-drop-regexp):
3688 Add 1J, 1K, 2K. (Bug#15617)
3689
012e2f9f
GM
3690 * files.el (hack-local-variables--warned-lexical): New.
3691 (hack-local-variables):
3692 Warn about misplaced lexical-binding. (Bug#15616)
3693
62ad85e6
GM
3694 * net/eww.el (eww-render): Always set eww-current-url,
3695 and update header line. (Bug#15622)
3696 (eww-display-html): ... Rather than just doing it here.
3697
6456c0ea
EZ
36982013-10-15 Eli Zaretskii <eliz@gnu.org>
3699
3700 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3701 menu navigations commands.
3702
c2de5588
DK
37032013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3704
3705 * progmodes/subword.el (subword-capitalize): Be careful when
3706 the search for [[:alpha:]] fails (bug#15580).
3707
ccd4a783
EZ
37082013-10-14 Eli Zaretskii <eliz@gnu.org>
3709
3710 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3711 to commands that scroll the menu.
3712
1eda1d8d
DG
37132013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3714
c2de5588
DK
3715 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3716 Handle methods ending with `?' and `!'.
1eda1d8d 3717
e70181b8
AM
37182013-10-14 Akinori MUSHA <knu@iDaemons.org>
3719
3720 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3721 `japanese-cp932' to `cp932' to fix the problem where saving a
3722 source file written in Shift_JIS twice would end up having
3723 `coding: japanese-cp932' which Ruby could not recognize.
3724 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3725 in `ruby-encoding-map'.
3726 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3727 doesn't need to be explicitly declared in magic comment.
3728 (ruby-encoding-map): Add type declaration for better customize UI.
3729
9148ee92
GM
37302013-10-13 Glenn Morris <rgm@gnu.org>
3731
a5d38e34
GM
3732 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3733 Occur buffers are read-only. http://bugs.debian.org/720775
3734
9148ee92
GM
3735 * emacs-lisp/authors.el (authors-fixed-entries):
3736 Comment out old alpha stuff.
3737
a9ba094b
DG
37382013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3739
3740 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3741 to `after-save-hook' instead of `before-save-hook'.
3742 (ruby-mode-set-encoding): Use the value of coding system used to
3743 write the file. Call `basic-save-buffer-1' after modifying the
3744 buffer.
3745
7a068717
AM
37462013-10-13 Alan Mackenzie <acm@muc.de>
3747
3748 Fix indentation/fontification of Java enum with
3749 "implements"/generic.
3750
c2de5588
DK
3751 * progmodes/cc-engine.el (c-backward-over-enum-header):
3752 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3753 (c-inside-bracelist-p): Uses new function above.
3754 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3755 function above.
3756 (c-font-lock-enum-tail): Uses new function above.
3757
85b64f02
KH
37582013-10-13 Kenichi Handa <handa@gnu.org>
3759
3760 * international/mule-cmds.el (select-safe-coding-system): Remove a
3761 superfluous condition in chekcing whether a coding system is safe
3762 or not.
3763
fc7f501b
OK
37642013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3765
3766 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3767
fdcb2049
AP
37682013-10-13 Andreas Politz <politza@hochschule-trier.de>
3769
3770 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3771
8c106d17
GM
37722013-10-13 Glenn Morris <rgm@gnu.org>
3773
feab892d
GM
3774 * menu-bar.el (menu-bar-update-buffers):
3775 Unify Buffers menu prompt string. (Bug#15576)
3776
b22d0686
GM
3777 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3778
8c106d17
GM
3779 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3780 Add some entries.
3781 (authors-fixed-entries): Use accented form of name.
3782
1b12c797
SM
37832013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3784
650fa7bf 3785 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3786 method calls (bug#15594).
650fa7bf
SM
3787 (ruby-smie--args-separator-p): New function.
3788 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3789 recognize paren-free method calls.
3790
1b12c797
SM
3791 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3792 internals of universal-argument.
3793
029619c8
EZ
37942013-10-11 Eli Zaretskii <eliz@gnu.org>
3795
3796 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3797 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3798 dropped menu on second mouse click on the menu bar.
029619c8 3799
dd070019
SM
38002013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3801
3802 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3803 (explicit-shell-file-name): Declare.
3804 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3805 (sh-completion-at-point-function): New function.
3806 (sh-mode): Use it.
3807 (sh-smie--keyword-p): Remove unused argument.
3808 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3809 vars.
3810 (sh-set-shell): Always setup SMIE, even if we use the
3811 old indentation code.
3812
0922b826
DG
38132013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3814
b68e2926
DG
3815 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3816 cases of ? and =.
3817 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3818 predicate would return nil are almost non-existent.
3819 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3820
0922b826
DG
3821 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3822 cache also after commands that modify the buffer but don't move
3823 point.
3824
ee041f2d
SM
38252013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3826
3827 * env.el (substitute-env-in-file-name): New function.
3828 (substitute-env-vars): Extend the meaning of the optional arg.
3829
a5dab159
EZ
38302013-10-10 Eli Zaretskii <eliz@gnu.org>
3831
3832 * term/w32-win.el (dynamic-library-alist): Define separate lists
3833 of GIF DLLs for versions before and after 5.0.0 of giflib.
3834 (Bug#15531)
3835
0449d6cd 38362013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3837
3838 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3839 not locked, use last revision and current source as
3840 defaults. (Bug#15569)
3841
2f6e161e
MY
38422013-10-10 Masatake YAMATO <yamato@redhat.com>
3843
3844 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3845 menu-bar is hidden.
3846
6c8413fc
MR
38472013-10-10 Martin Rudalics <rudalics@gmx.at>
3848
3849 * window.el (pop-to-buffer-same-window): Fix doc-string.
3850 (Bug#15492)
3851
20832de0
SM
38522013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3853
3854 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3855
c6e8ae77
AC
38562013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3857
3858 * calendar/icalendar.el (icalendar-import-file):
3859 Fix interactive spec. (Bug#15482)
3860
9db13baf
GM
38612013-10-10 Glenn Morris <rgm@gnu.org>
3862
9271e90e
GM
3863 * desktop.el (desktop-save): Default to saving in .emacs.d,
3864 since PWD is no longer in desktop-path by default. (Bug#15319)
3865
9db13baf
GM
3866 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3867 now that text mode has a menu with the same entry.
3868 (menu-bar-text-mode-auto-fill): Remove now unused func.
3869 * textmodes/text-mode.el (text-mode-map):
3870 Use auto-fill help text from menu-bar.el.
3871
a0be396a 38722013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3873
3874 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3875
2edcd3c7
JL
38762013-10-09 Juri Linkov <juri@jurta.org>
3877
3878 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3879 instead of this-command-keys. Add universal-argument-more and
3880 universal-argument-minus to the list of prefix commands. (Bug#15568)
3881
574411d0
GM
38822013-10-09 Glenn Morris <rgm@gnu.org>
3883
14afa541
GM
3884 * vc/vc-svn.el (vc-svn-create-repo):
3885 Expand paths in file://... url. (Bug#15446)
3886
574411d0
GM
3887 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3888 Add some entries.
3889 (authors): Remove unused local variables.
3890
79804536
SM
38912013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3892
3893 * profiler.el: Create a more coherent calltree from partial backtraces.
3894 (profiler-format): Hide the tail with `invisible' so that C-s can still
3895 find the hidden elements.
3896 (profiler-calltree-depth): Don't recurse so enthusiastically.
3897 (profiler-function-equal): New hash-table-test.
3898 (profiler-calltree-build-unified): New function.
3899 (profiler-calltree-build): Use it.
3900 (profiler-report-make-name-part): Indent the calltree less.
3901 (profiler-report-mode): Add visibility specs for profiler-format.
3902 (profiler-report-expand-entry, profiler-report-toggle-entry):
3903 Expand the whole subtree when provided with a prefix arg.
3904
238150c8
DG
39052013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3906
3907 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3908 iuwu-mod token.
3909 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3910 hanging iuwu-mod token.
3911 (ruby-smie--forward-token): Do not include a dot after a token in
3912 that token.
3913 (ruby-smie--backward-token): Likewise.
3914
b0949cc4
JL
39152013-10-08 Juri Linkov <juri@jurta.org>
3916
3917 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3918 to isearch-other-control-char.
3919 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3920 and isearch-post-command-hook to post-command-hook.
3921 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3922 and isearch-post-command-hook from post-command-hook.
3923 (isearch-unread-key-sequence)
3924 (isearch-reread-key-sequence-naturally)
3925 (isearch-lookup-scroll-key, isearch-other-control-char)
3926 (isearch-other-meta-char): Remove functions.
3927 (isearch-pre-command-hook, isearch-post-command-hook):
3928 New functions based on isearch-other-meta-char rewritten
3929 relying on the new behavior of overriding-terminal-local-map
3930 that does not replace the local keymaps any more. (Bug#15200)
3931
4ed77415
EZ
39322013-10-08 Eli Zaretskii <eliz@gnu.org>
3933
3934 Support menus on text-mode terminals.
3935 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3936 functionality.
3937
3938 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3939
c2de5588
DK
3940 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3941 Move here from mouse.el.
4ed77415
EZ
3942 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3943 and arrow keys.
3944 (tty-menu-navigation-map): New map for TTY menu navigation.
3945
3946 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3947
3948 * frame.el (display-mouse-p): Report text-mode mouse as available
3949 on w32.
3950 (display-popup-menus-p): Report availability if mouse is
3951 available; don't condition on window-system.
3952
3953 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3954 (tty-menu-selected-face): New faces.
3955
b7d5bd82
TL
39562013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3957
06286513
SM
3958 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3959 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3960 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3961 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3962 New constants.
3963 (lisp-mode-variables): New `elisp' argument.
3964 (emacs-lisp-mode): Use it.
3965 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3966 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3967
b7d5bd82
TL
3968 * indent.el: Use lexical-binding.
3969 (indent-region): Add progress reporter.
3970 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3971 last step.
3972 (indent--next-tab-stop): New function to implement this behavior.
3973 (tab-to-tab-stop, move-to-tab-stop): Use it.
3974
39752013-10-08 Teemu Likonen <tlikonen@iki.fi>
3976
3977 * indent.el (indent-rigidly--current-indentation): New function.
3978 (indent-rigidly-map): New var.
3979 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3980
5ea75d23
BG
39812013-10-08 Bastien Guerry <bzg@gnu.org>
3982
3983 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3984
cc5da1ec
SM
39852013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3986
8ffa1a0b
SM
3987 * progmodes/perl-mode.el: Use lexical-binding.
3988 Remove redundant :group args.
3989 (perl-nochange): Change default to be closer to other major modes's
3990 standard behavior.
3991 (perl-indent-line): Don't consider text on current line as a
3992 valid beginning of function from which to indent.
3993
f2223371
SM
3994 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3995 with more than one argument (bug#15538).
3996
44256060
SM
3997 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3998
cc5da1ec
SM
3999 * vc/pcvs.el: Use lexical-binding.
4000 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4001 environment of `eval'.
4002 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4003 than a list of expressions. Adjust callers.
4004 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4005
0ea1599d
DG
40062013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4007
4008 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4009 case of the dot in a chained method call being on the following line.
0ea1599d 4010
da3e5ebb
SM
40112013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4012
2abb4e65
SM
4013 * electric.el (electric-indent-inhibit): New var.
4014 (electric-indent-post-self-insert-function): Use it.
4015 * progmodes/python.el (python-mode): Set it.
4016
d2e0e795
SM
4017 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4018 open braces.
4019
4020 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4021
bdc6b4c8
SM
4022 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4023 (css-mode): Use electric-indent-chars.
4024
da3e5ebb
SM
4025 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4026 (font-lock-beg, font-lock-end): Move before first use.
4027 (nxml-mode): Use syntax-propertize-function.
4028 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4029 (nxml-extend-after-change-region): Remove.
4030 * nxml/xmltok.el: Use lexical-binding.
4031 (xmltok-save): Use `declare'.
4032 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4033 * nxml/nxml-util.el: Use lexical-binding.
4034 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4035 Use `declare'.
4036 * nxml/nxml-ns.el: Use lexical-binding.
4037 (nxml-ns-save): Use `declare'.
4038 (nxml-ns-prefixes-for): Avoid add-to-list.
4039 * nxml/rng-match.el: Use lexical-binding.
4040 (rng--ipattern): Use cl-defstruct.
4041 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4042 (rng-cons-group-after, rng-subst-group-after)
4043 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4044 Use closures instead of `(lambda...).
4045
f8f91d5d
MA
40462013-10-07 Michael Albinus <michael.albinus@gmx.de>
4047
4048 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4049 of BEG and END.
4050
da3e5ebb
SM
4051 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4052 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4053 (tramp-gvfs-handle-insert-file-contents): Remove function.
4054
da3e5ebb
SM
4055 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4056 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4057
4058 * net/trampver.el: Update release number.
4059
7ccae3b1
SM
40602013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4061
55ca2c0d
SM
4062 * progmodes/compile.el (compilation-parse-errors):
4063 Use compilation--put-prop.
4064 (compilation--ensure-parse): Check compilation-multiline.
4065
731fc3ae
SM
4066 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4067
da3e5ebb
SM
4068 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4069 lexical-binding.
a5833280 4070
2e7ba2c2
SM
4071 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4072
7ccae3b1
SM
4073 * progmodes/ruby-mode.el: Fix recently added tests.
4074 (ruby-smie-grammar): Add - and +.
4075 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4076 (ruby-smie--backward-id): New functions.
4077 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4078 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4079 any more.
4080
85698d63
LL
40812013-10-07 Leo Liu <sdl.web@gmail.com>
4082
4083 * register.el (register-preview-delay)
4084 (register-preview-functions): New variables.
4085 (register-read-with-preview, register-preview)
4086 (register-describe-oneline): New functions.
4087 (point-to-register, window-configuration-to-register)
4088 (frame-configuration-to-register, jump-to-register)
4089 (number-to-register, view-register, insert-register)
4090 (copy-to-register, append-to-register, prepend-to-register)
4091 (copy-rectangle-to-register): Use register-read-with-preview to
4092 read register. (Bug#15525)
4093
3986af6c
DS
40942013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4095
4096 * net/network-stream.el (network-stream-open-starttls): Don't add
4097 --insecure if it's already present, because that gnutls-cli
4098 rejects getting that parameter twice.
4099
5cd9cda9
DG
41002013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4101
4102 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4103 keyword, too.
4104
da9ea6d9
DG
41052013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4106
4107 * newcomment.el (comment-use-global-state): Change default value
4108 to t, mark obsolete (Bug#15251).
4109 (comment-beginning): In addition to `comment-to-syntax', check the
4110 value of `comment-use-global-state'.
4111
34d1a133
SM
41122013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4113
4114 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4115 (ruby-comment-column): Follow the global default, by default.
4116 (ruby-smie-grammar): Add assignment syntax.
4117 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4118 open-paren, a comma, or a \.
4119 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4120 and line continuations.
4121 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4122 followed by implicit semi-colons. Add rule for string concatenation
4123 and for indentation at BOB.
4124 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4125
4126 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4127 calling next-sexp, since next-token may have skipped chars which
4128 next-sexp doesn't know should be skipped!
4129
6f6ab820
LL
41302013-10-05 Leo Liu <sdl.web@gmail.com>
4131
34d1a133
SM
4132 * progmodes/octave.el (octave-send-region):
4133 Call compilation-forget-errors.
6f6ab820 4134
34ca0f4c
XF
41352013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4136
4137 * vc/vc-svn.el (vc-svn-find-admin-dir):
4138 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4139 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4140 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4141 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4142
a27c1b72
SM
41432013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4144
4145 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4146
258ab3bc
SM
41472013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4148
4149 * subr.el (read-passwd): Hide chars even when called within a context
4150 where after-change-functions is disabled (bug#15501).
4151 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4152 until we removed ourself from overriding-terminal-local-map.
4153
939fb29c
LL
41542013-10-04 Leo Liu <sdl.web@gmail.com>
4155
258ab3bc
SM
4156 * progmodes/octave.el (inferior-octave-mode):
4157 Call compilation-forget-errors.
939fb29c 4158
63bd7f35
XF
41592013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4160
4161 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4162
9e6229fa
MA
41632013-10-04 Michael Albinus <michael.albinus@gmx.de>
4164
4165 * net/secrets.el (secrets-create-collection): Add optional
4166 argument ALIAS. Use proper Label keyword. Append ALIAS as
4167 dbus-call-method argument. (Bug#15516)
4168
1dab32a3
LL
41692013-10-04 Leo Liu <sdl.web@gmail.com>
4170
4171 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4172 (inferior-octave-compilation-font-lock-keywords): New variables.
4173 (compilation-error-regexp-alist)
4174 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4175 (inferior-octave-mode): Use compilation-shell-minor-mode.
4176
6cad7ba3
JS
41772013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4178
4179 * minibuffer.el (completion--replace): Be careful that `end' might be
4180 a marker.
4181
acbadd00
DU
41822013-10-03 Daiki Ueno <ueno@gnu.org>
4183
4184 Add support for package signature checking.
4185 * emacs-lisp/package.el (url-http-file-exists-p)
4186 (epg-make-context, epg-context-set-home-directory)
4187 (epg-verify-string, epg-context-result-for)
4188 (epg-signature-status, epg-signature-to-string)
4189 (epg-check-configuration, epg-configuration)
4190 (epg-import-keys-from-file): Declare.
4191 (package-check-signature): New user option.
4192 (package-unsigned-archives): New user option.
4193 (package-desc): Add `signed' field.
4194 (package-load-descriptor): Set `signed' field if .signed file exists.
4195 (package--archive-file-exists-p): New function.
4196 (package--check-signature): New function.
4197 (package-install-from-archive): Check package signature.
4198 (package--download-one-archive): Check archive signature.
4199 (package-delete): Remove .signed file.
4200 (package-import-keyring): New command.
4201 (package-refresh-contents): Import default keyring.
4202 (package-desc-status): Add "unsigned" status.
4203 (describe-package-1, package-menu--print-info)
4204 (package-menu-mark-delete, package-menu--find-upgrades)
4205 (package-menu--status-predicate): Support "unsigned" status.
4206
adf2aa61
SM
42072013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4208
4209 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4210 the new compilation scheme using the new byte-codes.
4211
4212 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4213 (byte-pophandler): New byte codes.
4214 (byte-goto-ops): Adjust accordingly.
4215 (byte-compile--use-old-handlers): New var.
4216 (byte-compile-catch): Use new byte codes depending on
4217 byte-compile--use-old-handlers.
4218 (byte-compile-condition-case--old): Rename from
4219 byte-compile-condition-case.
4220 (byte-compile-condition-case--new): New function.
4221 (byte-compile-condition-case): New function that dispatches depending
4222 on byte-compile--use-old-handlers.
4223 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4224 when we can.
4225
4226 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4227 Optimize under `condition-case' and `catch' if
4228 byte-compile--use-old-handlers is nil.
4229 (disassemble-offset): Handle new bytecodes.
4230
328a8179
SM
42312013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4232
4233 * subr.el (error): Use `declare'.
4234 (decode-char, encode-char): Use advertised-calling-convention instead
4235 of the docstring to discourage use of the `restriction' arg.
4236
15a1e936
DU
42372013-10-03 Daiki Ueno <ueno@gnu.org>
4238
4239 * epg.el (epg-verify-file): Add a comment saying that it does not
4240 notify verification error as a return value nor a signal.
4241 (epg-verify-string): Ditto.
4242
376f862a
KR
42432013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4244
4245 * progmodes/compile.el (compilation-start): Try globbing the arg to
4246 `cd' (bug#15417).
4247
a2f93a5f
MA
42482013-10-02 Michael Albinus <michael.albinus@gmx.de>
4249
4250 Sync with Tramp 2.2.8.
4251
4252 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4253 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4254 * net/trampver.el: Update release number.
4255
0daa0804
JD
42562013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4257
4258 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4259 and default-process-coding-system for darwin only.
4260
abd1ae34
SM
42612013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4262
4263 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4264
be4e325d
MH
42652013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4266
4267 * vc/vc-git.el (vc-git-grep): Disable pager.
4268
e9155c4a
DG
42692013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4270
494e898b
DG
4271 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4272 Use :url instead of :homepage, as per
4273 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4274
e9155c4a
DG
4275 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4276 non-nil, use `syntax-ppss' (Bug#15251).
4277
481a8e0f
RS
42782013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4279
be4e325d
MH
4280 * progmodes/octave.el (inferior-octave-startup-file):
4281 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4282
056453c6
DG
42832013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4284
be4e325d
MH
4285 * emacs-lisp/package.el (package-desc-from-define):
4286 Accept additional arguments as plist, convert them to an alist and store
4287 them in the `extras' slot.
056453c6
DG
4288 (package-generate-description-file): Convert extras alist back to
4289 plist and append to the `define-package' form arguments.
4290 (package--alist-to-plist): New function.
4291 (package--ac-desc): Add `extras' slot.
4292 (package--add-to-archive-contents): Check if the archive-contents
4293 vector is long enough, and if it is, pass its `extras' slot value
4294 to `package-desc-create'.
4295 (package-buffer-info): Call `lm-homepage', pass the returned value
4296 to `package-desc-from-define'.
4297 (describe-package-1): Render the homepage button (Bug#13291).
4298
be4e325d
MH
4299 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4300 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4301
832966e5
JD
43022013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4303
4304 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4305 and default-process-coding-system to utf-8-unix (Bug#15402).
4306
6cfe977d
XF
43072013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4308
4309 * subr.el (looking-back): Do not recommend using looking-back.
4310
38de11bd
AM
43112013-09-28 Alan Mackenzie <acm@muc.de>
4312
4313 Fix indentation/fontification of Java enum with "implements".
4314
4315 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4316 regexp which matches "implements", etc., in Java.
4317 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4318 specifier clauses coming after "enum".
4319 * progmodes/cc-fonts.el (c-font-lock-declarations)
4320 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4321 after "enum".
4322
1610938f
JD
43232013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4324
4325 * faces.el (region): Change ns_selection_color to
4326 ns_selection_fg_color, add ns_selection_bg_color.
4327
e090f499
LL
43282013-09-28 Leo Liu <sdl.web@gmail.com>
4329
4d2e94d1
LL
4330 * progmodes/octave.el (inferior-octave-completion-table)
4331 (inferior-octave-completion-at-point): Minor tweaks.
4332
e090f499
LL
4333 * textmodes/ispell.el (ispell-lookup-words): Rename from
4334 lookup-words. (Bug#15460)
4335 (lookup-words): Obsolete.
4336 (ispell-complete-word, ispell-command-loop): All uses changed.
4337
7e138a62
RS
43382013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4339
a12bf61e 4340 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4341 (octave-mode-menu): Add octave-send-buffer.
4342 (octave-send-buffer): New function.
4343
5af5ed08
RS
43442013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4345
a12bf61e 4346 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4347 octave-lookfor.
4348 (octave-mode-menu): Add octave-lookfor.
4349 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4350 octave-lookfor.
4351 (octave-lookfor): New function.
4352
3b7b2692
SM
43532013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4354
4355 * emacs-lisp/cl-macs.el:
4356 (cl--loop-destr-temps): Remove.
4357 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4358 its convention.
4359 (cl--loop-set-iterator-function): New function.
4360 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4361 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4362 Bind `it' with `let' instead of substituting it with `cl-subst'.
4363 (cl--unused-var-p): New function.
4364 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4365 Eliminate some unused variable warnings (bug#15326).
4366
529fb53f
TH
43672013-09-27 Tassilo Horn <tsdh@gnu.org>
4368
4369 * doc-view.el (doc-view-scale-reset): Rename from
4370 `doc-view-reset-zoom-level'.
4371 (doc-view-scale-adjust): New command.
4372 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4373 `doc-view-scale-adjust'.
4374
0550c95a
TH
43752013-09-26 Tassilo Horn <tsdh@gnu.org>
4376
4377 * doc-view.el (doc-view-reset-zoom-level): New command.
4378 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4379 zoom commands (bug#15466).
4380
6950f152
KH
43812013-09-26 Kenichi Handa <handa@gnu.org>
4382
4383 * international/quail.el (quail-help): Make it not a command.
4384
39587580
LL
43852013-09-26 Leo Liu <sdl.web@gmail.com>
4386
4387 * minibuffer.el (completion-all-sorted-completions): Make args
4388 optional as they are.
4389
00578659
DC
43902013-09-25 Daniel Colascione <dancol@dancol.org>
4391
4392 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4393 specs are and that they're not evaluated.
4394
0c173878
SS
43952013-09-24 Sam Steingold <sds@gnu.org>
4396
4397 * midnight.el (clean-buffer-list-kill-regexps)
4398 (clean-buffer-list-kill-buffer-names): Update for the new Man
4399 buffer naming which includes the object name.
4400
84998447
SM
44012013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4402
4403 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4404 (eshell-parse-command, eshell-parse-pipeline): Use it since
4405 eshell-separate-commands requires a dynamic scoped var.
4406 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4407
33215353
LL
44082013-09-23 Leo Liu <sdl.web@gmail.com>
4409
4410 * autoinsert.el (auto-insert-alist): Make the value of
4411 lexical-binding match its file setting.
4412
57b16162
JB
44132013-09-23 Juanma Barranquero <lekktu@gmail.com>
4414
c8af4e67
JB
4415 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4416
57b16162
JB
4417 * autoarg.el (autoarg-kp-digit-argument):
4418 * electric.el (Electric-command-loop):
4419 * kmacro.el (kmacro-step-edit-insert):
4420 Do not set universal-argument-num-events.
4421
7186ba60
LL
44222013-09-22 Leo Liu <sdl.web@gmail.com>
4423
4424 * files.el (interpreter-mode-alist): Add octave.
4425
ece15004
AM
44262013-09-21 Alan Mackenzie <acm@muc.de>
4427
4428 C++: fontify identifier in declaration following "public:" correctly.
4429 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4430 to match "public", etc.
4431 (c-decl-prefix-re): Add ":" into the C++ value.
4432 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4433 bit. Add a check for a ":" preceded by "public", etc.
4434
75d83e22
EZ
44352013-09-21 Eli Zaretskii <eliz@gnu.org>
4436
4437 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4438 recognized by GDB 7.5 and later.
4439
d052d3bd
XF
44402013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4441
4442 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4443
31dca772
R
44442013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * subr.el (internal--call-interactively): New const.
4447 (called-interactively-p): Use it (bug#3984).
4448
98ccf24e
XF
44492013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4450
4451 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4452 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4453 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4454
c39cc7d1
SM
44552013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4456
4457 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4458 (eshell-ls-orig-insert-directory): Remove.
4459 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4460 (eshell-ls-use-in-dired): Use advice-add/remove.
4461 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4462 Add `orig-fun' arg for use in :around advice.
4463 Make it check (redundantly) eshell-ls-use-in-dired.
4464
9a0289a2
GM
44652013-09-19 Glenn Morris <rgm@gnu.org>
4466
a2c501b8
GM
4467 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4468
c440407a
GM
4469 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4470
9a0289a2
GM
4471 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4472
85e05915
MA
44732013-09-19 Michael Albinus <michael.albinus@gmx.de>
4474
4475 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4476 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4477 (tramp-get-remote-python): New defuns.
4478 (tramp-get-remote-uid-with-perl)
4479 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4480 contributed by yary <not.com@gmail.com> (tiny change).
4481 (tramp-get-remote-uid-with-python)
4482 (tramp-get-remote-gid-with-python): New defuns. Python code
4483 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4484 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4485
ce503312
GM
44862013-09-19 Glenn Morris <rgm@gnu.org>
4487
f7544773
GM
4488 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4489
72fd2877
GM
4490 * eshell/em-unix.el (eshell-remove-entries):
4491 Rename argument to avoid name-clash with global `top-level'.
4492
336b5a56
GM
4493 * eshell/esh-proc.el (eshell-kill-process-function):
4494 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4495 (eshell-reset-after-proc): Remove unused arg `proc'.
4496
57a3a53d
GM
4497 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4498 (directory-files-and-attributes): Mark unused arg.
4499
3261d4af
GM
4500 * eshell/em-unix.el (eshell-remove-entries):
4501 Remove unused arg `path'. Update callers.
4502
8e51b5d0
GM
4503 * eshell/em-hist.el (eshell-hist-parse-arguments):
4504 Remove unused arg `silent'. Update callers.
4505
ce503312
GM
4506 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4507 Fix (f)boundp mix-up.
4508
4509 * eshell/em-smart.el (eshell-smart-scroll-window)
4510 (eshell-disable-after-change):
336b5a56 4511 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4512
ee3ce8a7
AM
45132013-09-18 Alan Mackenzie <acm@muc.de>
4514
4515 Fix fontification of type when followed by "const".
4516 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4517 "known" types from fontification.
4518
ec9177ba
GM
45192013-09-18 Glenn Morris <rgm@gnu.org>
4520
7bb3e768
GM
4521 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4522 (chart-face-list): Drop Emacsen without display-color-p.
4523
5148da15
GM
4524 * net/eww.el (libxml-parse-html-region): Declare.
4525 (eww-display-html): Explicit error if no libxml2 support.
4526
2f68e157
GM
4527 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4528
9019d095
GM
4529 * image.el (image-type-from-buffer, image-multi-frame-p):
4530 Remove --without-x warning/error.
67645389 4531
5f30349b 4532 * mouse.el (mouse-yank-primary):
45069b2e 4533 * term.el (term-mouse-paste):
5f30349b
GM
4534 Reorder to silence --without-x compilation.
4535
cd8edbbe
GM
4536 * mpc.el (doc-view-mode): Silence --without-x compilation.
4537
8a78544e
GM
4538 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4539 Silence --without-x compilation.
4540
12679bfd
GM
4541 * progmodes/gud.el (gud-find-file, gud-mode):
4542 Silence --without-x compilation.
4543 (tooltip-mode): Declare.
30810a05 4544
f0047cb9
GM
4545 * wdired.el (dired-backup-overwrite): Remove declaration.
4546 (wdired-mode-map): Add doc string.
4547
e740f9d2
GM
4548 * custom.el (x-get-resource): Declare.
4549
92d77c89
GM
4550 * eshell/em-glob.el (ange-cache):
4551 * eshell/em-unix.el (ange-cache): Declare.
4552
76e69577
GM
4553 * faces.el (x-display-list, x-open-connection, x-get-resource):
4554 Declare.
7e58af4b
GM
4555
4556 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4557 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4558 Declare.
76e69577 4559
4bd4c0af 4560 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4561
ffb82dbd
GM
4562 * net/gnutls.el (gnutls-log-level): Declare.
4563
986ed135
GM
4564 * net/shr.el (image-size, image-animate): Declare.
4565
e740f9d2
GM
4566 * simple.el (font-info): Declare.
4567
d2f3e9f8
GM
4568 * subr.el (x-popup-dialog): Declare.
4569
047a1a4c
GM
4570 * term/common-win.el (x-select-enable-primary)
4571 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4572 Declare.
4573
f4a1d572
GM
4574 * term/ns-win.el (x-handle-args): Declare.
4575
e843de77
GM
4576 * term/x-win.el (x-select-enable-clipboard): Declare.
4577
5fa89513
GM
4578 * term/w32-win.el (create-default-fontset): Declare.
4579
38702b5b
GM
4580 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4581 Declare.
4582
e740f9d2
GM
4583 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4584 (fit-frame-to-buffer): Explicit error if --without-x.
4585 (mouse-autoselect-window-select): Silence compiler.
4586
49a053fc
GM
4587 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4588
4589 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4590 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4591 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4592 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4593 Remove unused local variables.
4594
4595 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4596
ec9177ba
GM
4597 * textmodes/two-column.el: Make 2C-split work for --without-x.
4598 (scroll-bar-columns): Autoload.
4599 (top-level): Require fringe when compiling.
4600
9f25cb77
LL
46012013-09-18 Leo Liu <sdl.web@gmail.com>
4602
4603 * subr.el (add-hook): Robustify to handle closure as well.
4604
2b42da98
GM
46052013-09-17 Glenn Morris <rgm@gnu.org>
4606
4607 * simple.el (messages-buffer-mode-map): Unbind "g".
4608
e8b66a6a
SM
46092013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4610
9c0ad4f7
SM
4611 * help-mode.el (help-mode-finish): Use derived-mode-p.
4612 Remove obsolete highlighting.
4613
7a806dfb
SM
4614 * play/life.el (life-mode): Use define-derived-mode. Derive from
4615 special-mode.
4616 (life): Let-bind inhibit-read-only.
4617 (life-setup): Avoid `setq'. Use `life-mode'.
4618
96dbf5a8
SM
4619 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4620 which should not be needed any more.
4621 (package-menu-refresh, package-menu-describe-package): Use user-error.
4622
e8b66a6a
SM
4623 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4624 (eshell-post-rewrite-command-hook): Make obsolete.
4625 (eshell-parse-command): Simplify.
4626 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4627 (eshell--cmd): Declare.
4628 (eshell-parse-pipeline): Remove unused var `final-p'.
4629 Pass a dynvar to eshell-post-rewrite-command-hook.
4630 Implement the new eshell-post-rewrite-command-function.
4631 (eshell-invoke-directly): Remove unused arg `input'.
4632 * eshell/esh-io.el (eshell-io-initialize):
4633 Use eshell-post-rewrite-command-function (bug#15399).
4634 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4635 adjust to new calling convention.
4636 (eshell-create-handles): Rename args to avoid clashing with dynvar
4637 `standard-output'.
4638
90582f05
GM
46392013-09-17 Glenn Morris <rgm@gnu.org>
4640
4641 * simple.el (messages-buffer-mode): New major mode.
4642 (messages-buffer): New function.
4643 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4644 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4645 (ert-run-test): Use `messages-buffer' function.
90582f05 4646 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4647 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4648 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4649
39eb0cb5 46502013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4651
4652 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4653
1d42e5b6 4654 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4655
70568a90
SM
46562013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4657
504a0381
SM
4658 * icomplete.el (icomplete-in-buffer): New var.
4659 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4660 vars and replace them with functions.
4661 (icomplete-minibuffer-setup): Adjust accordingly.
4662 (icomplete--completion-table, icomplete--completion-predicate)
4663 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4664 New functions.
4665 (icomplete-forward-completions, icomplete-backward-completions)
4666 (icomplete-simple-completing-p, icomplete-exhibit)
4667 (icomplete-completions): Use them.
4668 (icomplete--in-region-buffer): New var.
4669 (icomplete--in-region-setup): New function.
4670 (icomplete-mode): Use it.
4671
70568a90
SM
4672 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4673 (bug#15379).
4674 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4675 return args and options.
4676 (eshell-eval-using-options): Use the new return value of
4677 eshell--do-opts to set the options's vars in their scope.
4678 (eshell--set-option): Rename from eshell-set-option.
4679 Add arg `opt-vals'.
4680 (eshell--process-option): Rename from eshell-process-option.
4681 Add arg `opt-vals'.
4682 (eshell--process-args): Use an `opt-vals' alist to store the options's
4683 values during their processing and return them additionally to the
4684 remaining args.
4685
578c21bc
DG
46862013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4687
4688 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4689 continuation character an operator, as far as indentation is
4690 concerned (Bug#15369).
4691
c089653d
MR
46922013-09-15 Martin Rudalics <rudalics@gmx.at>
4693
4694 * window.el (window--state-put-2): Don't process buffer state
4695 when buffer doesn't exist any more (Bug#15382).
4696
1e53bb4b
GM
46972013-09-15 Glenn Morris <rgm@gnu.org>
4698
30753242
GM
4699 * eshell/em-unix.el (eshell/rm):
4700 Make -f ignore missing files. (Bug#15373)
4701
1e53bb4b
GM
4702 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4703 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4704 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4705
0d8863b3
GM
47062013-09-14 Glenn Morris <rgm@gnu.org>
4707
4708 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4709
d3fc6549
GM
47102013-09-13 Glenn Morris <rgm@gnu.org>
4711
4712 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4713 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4714
fcd42c11
DA
47152013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4716
4717 * frame.el (x-focus-frame): Mark as declared in frame.c.
4718
7830899f
SM
47192013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * ls-lisp.el: Use advice-add.
4722 (original-insert-directory): Remove.
4723 (ls-lisp--insert-directory): Rename from insert-directory; add
4724 `orig-fun' argument.
4725 (insert-directory): Advise.
4726
84387cd2
EZ
47272013-09-13 Eli Zaretskii <eliz@gnu.org>
4728
4729 * term.el (term-emulate-terminal): Decode the command string
4730 before passing it to term-command-hook. (Bug#15337)
4731
35ffc6ba
GM
47322013-09-13 Glenn Morris <rgm@gnu.org>
4733
5c3f9bcc
GM
4734 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4735
2ada368a
GM
4736 * eshell/esh-ext.el (eshell-search-path): Declare.
4737
fcef2e13
GM
4738 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4739 Otherwise an error occurs if eshell-dirs module not loaded.
4740
35ffc6ba
GM
4741 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4742
35c3d36e
MA
47432013-09-13 Michael Albinus <michael.albinus@gmx.de>
4744
4745 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4746 `tramp-check-proper-host'. Check for a valid method name.
4747
4748 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4749 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4750 * net/tramp-sh.el (tramp-maybe-open-connection):
4751 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4752
4753 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4754 also for hash values.
4755
ae5e4c48
SM
47562013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4757
379add74
SM
4758 * term/ns-win.el (parameters): Don't declare as dynamic.
4759 (before-make-frame-hook): Don't add ineffective function.
4760
ae5e4c48
SM
4761 * eshell/*.el: Use lexical-binding (bug#15231).
4762
b5623270
KH
47632013-09-12 Kenichi Handa <handa@gnu.org>
4764
ae5e4c48 4765 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4766
30213927
GM
47672013-09-12 Glenn Morris <rgm@gnu.org>
4768
be94d713 4769 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4770 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4771
44915370
GM
4772 * subr.el (do-after-load-evaluation): Also give compiler warnings
4773 when obsolete files are used (except by obsolete files).
4774
a6ae021f
GM
4775 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4776 in the status output, assume `filename' is the first. (Bug#15322)
4777
40e64f0c
GM
4778 * vc/vc.el (vc-deduce-fileset): Doc fix.
4779
16d9f896
GM
4780 * calc/calc-help.el (Info-goto-node):
4781 * progmodes/cperl-mode.el (Info-find-node):
4782 * vc/ediff.el (Info-goto-node): Update declarations.
4783
dea01c6e
GM
4784 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4785
759880bf 4786 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4787 (vc-bzr-pull): Require vc-dispatcher.
4788 * vc/vc-git.el (vc-compilation-mode): Declare.
4789 (vc-git-pull): Require vc-dispatcher.
4790
08d66420
GM
4791 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4792
30b626e9
GM
4793 * progmodes/octave.el (help-button-action): Declare.
4794
8c05cb10
GM
4795 * shell.el (shell-directory-tracker): Output error as a message
4796 rather than just returning it as a string.
4797 (shell-process-pushd): Remove useless use of message.
4798
30213927
GM
4799 * dframe.el (dframe-timer-fn):
4800 * files.el (dir-locals-read-from-file):
4801 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4802 (mpc-format):
4803 * reveal.el (reveal-post-command):
4804 * saveplace.el (load-save-place-alist-from-file):
4805 * shell.el (shell-resync-dirs):
4806 * w32-common-fns.el (x-get-selection-value):
4807 * emacs-lisp/copyright.el (copyright-find-copyright):
4808 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4809 * emulation/tpu-edt.el (tpu-copy-keyfile):
4810 * play/bubbles.el (bubbles--mark-neighbourhood):
4811 * progmodes/executable.el
4812 (executable-make-buffer-file-executable-if-script-p):
4813 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4814
d3b049e6
SM
48152013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4816
170266d0
SM
4817 Cleanup Eshell to rely less on dynamic scoping.
4818 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4819 last-value, and ext-command here. Bind `args' closer to `body'.
4820 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4821 (eshell--args): Declare new dynamic var.
4822 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4823 last-value, and ext-command. Pass `args' to `body'.
4824 (eshell-process-args): Bind eshell--args.
4825 (eshell-set-option): Use eshell--args.
4826 * eshell/eshell.el (eshell): Use derived-mode-p.
4827 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4828 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4829 (eshell-glob-function): Declare.
4830 * eshell/esh-util.el: Require cl-lib.
4831 (eshell-read-hosts-file): Avoid add-to-list.
4832 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4833 `err'.
4834 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4835 Declare.
4836 (eshell/diff): Remove unused var `err'.
4837 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4838 `killflag'.
4839 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4840 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4841 first use.
4842 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4843 Move declaration before first use.
4844 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4845 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4846 rely on cl-return.
4847
56834f3b
GM
48482013-09-12 Glenn Morris <rgm@gnu.org>
4849
4850 * term/ns-win.el (global-map): Remove binding for ispell-next,
4851 deleted 1999-05-29. (Bug#15357)
4852
5c91a2b8
GM
48532013-09-11 Glenn Morris <rgm@gnu.org>
4854
da712f22
GM
4855 * echistory.el (electric-command-history): Remove call to deleted func.
4856
512e4cdc
GM
4857 * play/landmark.el (landmark-mode): Fix typos.
4858
d3506ca5
GM
4859 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4860 Check cvs-sort-ignore-file is bound.
4861
5c91a2b8
GM
4862 * savehist.el: No need for cl when compiling on Emacs.
4863
feeff482
SM
48642013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4865
656bd483
SM
4866 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4867 (bug#15338).
d3b049e6
SM
4868 (eshell-self-insert-command, eshell-send-invisible):
4869 Remove unused argument.
656bd483
SM
4870 (eshell-handle-control-codes): Remove unused var `orig'.
4871 Avoid delete-backward-char.
4872
feeff482
SM
4873 * files.el (set-auto-mode): Simplify a bit further.
4874
2a08047a
GM
48752013-09-11 Glenn Morris <rgm@gnu.org>
4876
4877 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4878 (set-auto-mode): Don't regexp-quote elements.
4879 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4880 * progmodes/cc-mode.el (interpreter-mode-alist):
4881 * progmodes/ruby-mode.el (interpreter-mode-alist):
4882 Revert previous change.
4883
34675540
SM
48842013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4885
1b3b87df
SM
4886 * play/snake.el (snake-mode):
4887 * play/mpuz.el (mpuz-mode):
4888 * play/landmark.el (lm-mode):
4889 * play/blackbox.el (blackbox-mode):
4890 * play/5x5.el (5x5-mode):
4891 * obsolete/options.el (Edit-options-mode):
4892 * net/quickurl.el (quickurl-list-mode):
4893 * net/newst-treeview.el (newsticker-treeview-mode):
4894 * mail/rmailsum.el (rmail-summary-mode):
4895 * mail/mspools.el (mspools-mode):
4896 * locate.el (locate-mode):
4897 * ibuffer.el (ibuffer-mode):
4898 * emulation/ws-mode.el (wordstar-mode):
4899 * emacs-lisp/debug.el (debugger-mode):
4900 * array.el (array-mode):
4901 * net/eudc.el (eudc-mode): Use define-derived-mode.
4902 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4903 Move initialization into declaration.
4904 (mairix-searches-mode): Use define-derived-mode.
4905 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4906 (eudc-edit-hotlist): Use dolist.
4907 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4908 (Man-mode): Use define-derived-mode.
4909 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4910 (Info-edit-mode): Use define-derived-mode.
4911 (Info-cease-edit): Use Info-mode.
4912 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4913 into declaration.
4914 (eshell-mode): Use define-derived-mode.
4915 * chistory.el (command-history-mode-map): Rename from
4916 command-history-map.
4917 (command-history-mode): Use define-derived-mode.
da712f22 4918 (Command-history-setup): Remove function.
1b3b87df
SM
4919 * calc/calc.el (calc-trail-mode-map): New var.
4920 (calc-trail-mode): Use define-derived-mode.
4921 (calc-trail-buffer): Set calc-main-buffer manually.
4922 * bookmark.el (bookmark-insert-annotation): New function.
4923 (bookmark-edit-annotation): Use it.
4924 (bookmark-edit-annotation-mode): Make it a proper major mode.
4925 (bookmark-send-edited-annotation): Use derived-mode-p.
4926 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4927 closer to its ideal place. Use \' to match EOS.
4928
34675540
SM
4929 * profiler.el (profiler-calltree-find): Use function-equal.
4930
6a5c15d9
GM
49312013-09-10 Glenn Morris <rgm@gnu.org>
4932
1af4c220
GM
4933 * files.el (interpreter-mode-alist): Convert to regexps.
4934 (set-auto-mode): Adapt for this. (Bug#15306)
4935 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4936 Comment out unused variable.
4937 * progmodes/cc-mode.el (interpreter-mode-alist):
4938 * progmodes/python.el (interpreter-mode-alist):
4939 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4940 * progmodes/sh-script.el (sh-set-shell):
4941 No longer use interpreter-mode-alist to get list of shells.
4942
6a5c15d9
GM
4943 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4944
8c27f5ff
SM
49452013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4946
02ef6c1a 4947 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4948 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4949 Bind switch-frame explicitly. Replace universal-argument-minus with
4950 a conditional binding.
4951 (universal-argument-num-events, saved-overriding-map): Remove.
4952 (restore-overriding-map): Remove.
4953 (universal-argument--mode): Rename from save&set-overriding-map,
4954 and rewrite.
4955 (universal-argument, universal-argument-more, negative-argument)
4956 (digit-argument): Adjust accordingly.
4957 (universal-argument-minus): Remove.
4958 (universal-argument-other-key): Remove.
4959
8c27f5ff
SM
4960 * subr.el (with-demoted-errors): Add `format' argument.
4961
6480194c
MA
49622013-09-10 Michael Albinus <michael.albinus@gmx.de>
4963
4964 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4965 `tramp-cleanup-connection'.
4966
4967 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4968 parameters KEEP-DEBUG and KEEP-PASSWORD.
4969
4970 * net/tramp.el (tramp-file-name-handler):
4971 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4972 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4973 (tramp-maybe-open-connection):
8c27f5ff
SM
4974 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4975 Use `tramp-cleanup-connection'.
6480194c 4976
8c27f5ff
SM
4977 * net/tramp-sh.el (tramp-maybe-open-connection):
4978 Catch 'uname-changed inside the progress reporter.
6480194c 4979
e5e916d8
GM
49802013-09-10 Glenn Morris <rgm@gnu.org>
4981
9a2c9b47
GM
4982 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4983
e5e916d8
GM
4984 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4985 returns "alternate access method" in mode (eg "-rw-r--r--.").
4986
144e38fe
GM
49872013-09-08 Glenn Morris <rgm@gnu.org>
4988
4989 * saveplace.el (load-save-place-alist-from-file):
4990 Demote errors. (Bug#15305)
4991
af9ff9e8
MA
49922013-09-08 Michael Albinus <michael.albinus@gmx.de>
4993
4994 Improve compatibility with older Emacsen, and XEmacs.
4995
4996 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4997 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4998 (with-tramp-progress-reporter): Do not let-bind `result'.
4999 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5000 (tramp-handle-make-auto-save-file-name): New function, moved from
5001 tramp-sh.el.
5002
5003 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5004 for `make-auto-save-file-name'.
8c27f5ff
SM
5005 (tramp-adb--gnu-switches-to-ash):
5006 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5007
5008 * net/tramp-cache.el (tramp-cache-print): Call
5009 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5010
5011 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5012 bound. It isn't for XEmacs.
5013
8c27f5ff
SM
5014 * net/tramp-compat.el (tramp-compat-copy-file):
5015 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5016 (tramp-compat-replace-regexp-in-string): New defun.
5017
5018 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5019 for `make-auto-save-file-name'.
5020 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5021 `copy-file'.
5022 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5023 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5024 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5025
8c27f5ff
SM
5026 * net/tramp-gw.el (tramp-gw-open-network-stream):
5027 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5028
8c27f5ff
SM
5029 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5030 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5031 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5032 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5033 (tramp-sh-file-inotifywait-process-filter):
5034 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5035 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5036
5037 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5038 for `make-auto-save-file-name'.
8c27f5ff
SM
5039 (tramp-smb-handle-copy-directory):
5040 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5041 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5042 (tramp-smb-handle-copy-file): Improve error message.
5043 (tramp-smb-handle-rename-file): Rename directly only in case
5044 `newname' does not exist yet. This is a restriction of smbclient.
5045 (tramp-smb-maybe-open-connection): Rerun the function only when
5046 `auth-sources' is non-nil.
5047
0ca754d0
KH
50482013-09-08 Kenichi Handa <handa@gnu.org>
5049
e0eb0550 5050 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5051 more characters.
5052
e8dd0787
AM
50532013-09-07 Alan Mackenzie <acm@muc.de>
5054
5055 Correctly fontify Java class constructors.
5056 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5057 in Java Mode.
5058 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5059 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5060 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5061 "typeless" declaration there.
5062
f2f248e7
RW
50632013-09-07 Roland Winkler <winkler@gnu.org>
5064
5065 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5066 field subtitle for entry type book.
5067
67982e2b
SM
50682013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5069
5070 * minibuffer.el: Make minibuffer-complete call completion-in-region
5071 rather than other way around.
5072 (completion--some, completion-pcm--find-all-completions):
5073 Don't delay signals when debugging.
5074 (minibuffer-completion-contents): Beware fields within the
5075 minibuffer contents.
5076 (completion-all-sorted-completions): Use defvar-local.
5077 (completion--do-completion, completion--cache-all-sorted-completions)
5078 (completion-all-sorted-completions, minibuffer-force-complete):
5079 Add args `beg' and `end'.
5080 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5081 (minibuffer-complete): Use completion-in-region.
5082 (completion-complete-and-exit): New fun, extracted from
5083 minibuffer-complete-and-exit.
5084 (minibuffer-complete-and-exit): Use it.
5085 (completion--complete-and-exit): Rename from
5086 minibuffer--complete-and-exit.
5087 (completion-in-region--single-word): New function, extracted from
5088 minibuffer-complete-word.
5089 (minibuffer-complete-word): Use it.
5090 (display-completion-list): Make `common-substring' argument obsolete.
5091 (completion--in-region): Call completion--in-region-1 instead of
5092 minibuffer-complete.
5093 (completion-help-at-point): Pass boundaries to
5094 minibuffer-completion-help as args rather than via an overlay.
5095 (completion-pcm--string->pattern): Use `any-delim'.
5096 (completion-pcm--optimize-pattern): New function.
5097 (completion-pcm--pattern->regex): Handle `any-delim'.
5098 * icomplete.el (icomplete-forward-completions)
5099 (icomplete-backward-completions, icomplete-completions):
5100 Adjust calls to completion-all-sorted-completions and
5101 completion--cache-all-sorted-completions.
5102 (icomplete-with-completion-tables): Default to t.
5103 * emacs-lisp/crm.el (crm--current-element): Rename from
5104 crm--select-current-element. Don't put an overlay but return the
5105 boundaries instead.
5106 (crm--completion-command): Take two new args to bind to the boundaries.
5107 (crm-completion-help): Adjust accordingly.
5108 (crm-complete): Use completion-in-region.
5109 (crm-complete-word): Use completion-in-region--single-word.
5110 (crm-complete-and-exit): Use completion-complete-and-exit.
5111
e17d94a5
SM
51122013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5113
5114 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5115 than dynamically.
5116
96727100
JL
51172013-09-06 Juri Linkov <juri@jurta.org>
5118
5119 * info.el (Info-display-images-node): When image file doesn't exist
5120 display text version of the image if it's provided in the Info file.
5121 Otherwise, display the location of missing image from SRC attribute.
5122 Add help-echo text property from ALT attribute. (Bug#15279)
5123
86cf7329
SM
51242013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5125
5126 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5127 (edit-abbrevs-mode): Use define-derived-mode.
5128
5129 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5130 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5131 that it's defined.
5132 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5133 Use define-derived-mode.
5134
5135 * epg.el (epg-start-encrypt): Minor CSE simplification.
5136
816244a2
WX
51372013-09-06 William Xu <william.xwl@gmail.com>
5138
5139 * arc-mode.el: Add support for 7za (bug#15264).
5140 (archive-7z-program): New var.
5141 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5142 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5143 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5144
1486fa31
MA
51452013-09-06 Michael Albinus <michael.albinus@gmx.de>
5146
5147 Remove URL syntax.
5148
5149 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5150 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5151 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5152 (tramp-postfix-host-format, tramp-file-name-regexp)
5153 (tramp-completion-file-name-regexp)
5154 (tramp-completion-dissect-file-name)
5155 (tramp-handle-substitute-in-file-name): Remove 'url case.
5156 (tramp-file-name-regexp-url)
5157 (tramp-completion-file-name-regexp-url): Remove constants.
5158
39785324
GM
51592013-09-06 Glenn Morris <rgm@gnu.org>
5160
5161 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5162
1f896cb7
DG
51632013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5164
5165 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5166 keywords" below "here-doc beginnings" (Bug#15270).
5167
c0458e0b
SM
51682013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5169
5170 * subr.el (pop): Use `car-safe'.
5171 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5172 to detect unused `pop' return value.
5173
5174 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5175 var `block-regexp'.
5176 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5177 (python-fill-string): Remove unused var `marker'.
5178 (python-skeleton-add-menu-items): Remove unused var `items'.
5179
5180 * international/mule-cmds.el: Require CL.
5181 (find-coding-systems-for-charsets): Avoid add-to-list.
5182 (sanitize-coding-system-list): New function, extracted from
5183 select-safe-coding-system-interactively.
5184 (select-safe-coding-system-interactively): Use it.
5185 (read-input-method-name): Accept symbols for `default'.
5186
5187 * emacs-lisp/advice.el (defadvice): Add indent rule.
5188
6c42fc3e
DH
51892013-09-05 Daniel Hackney <dan@haxney.org>
5190
5191 * dired-x.el:
5192 * net/ange-ftp.el:
5193 * net/browse-url.el:
5194 * net/dbus.el:
5195 * net/eudc.el:
5196 * net/eudcb-ldap.el:
5197 * net/eww.el:
5198 * net/imap.el:
5199 * printing.el:
5200 * vc/ediff-diff.el:
5201 * vc/ediff-init.el:
5202 * vc/ediff-merg.el:
5203 * vc/ediff-mult.el:
5204 * vc/ediff-util.el:
5205 * vc/ediff-wind.el:
5206 * vc/ediff.el:
5207 * vc/emerge.el:
5208 * vc/pcvs.el:
5209 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5210 byte compiler. Remove some unused let-bound variables.
5211
4c528aab
SM
52122013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5213
5214 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5215 a "ref-cell", since it gets better optimized (bug#14883).
5216
bd15c390
GM
52172013-09-05 Glenn Morris <rgm@gnu.org>
5218
5219 * progmodes/cc-awk.el (c-forward-sws): Declare.
5220
1c3ac2e5
GM
52212013-09-04 Glenn Morris <rgm@gnu.org>
5222
5223 * generic-x.el [rul-generic-mode]: Require cc-mode.
5224 (c++-mode-syntax-table): Declare.
5225 (rul-generic-mode-syntax-table): Init in the defvar.
5226
52b1cc79
SM
52272013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5228
c828af56
SM
5229 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5230 (vc-do-command, vc-set-async-update):
5231 * vc/vc-mtn.el (vc-mtn-dir-status):
5232 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5233 (vc-hg-pull, vc-hg-merge-branch):
5234 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5235 (vc-git-merge-branch):
5236 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5237 (vc-cvs-dir-status-files):
5238 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5239 (vc-bzr-dir-status-files):
5240 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5241 * vc/vc-annotate.el: Use lexical-binding.
5242 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5243 (vc-sentinel-movepoint): Declare.
5244 (vc-annotate): Don't use `goto-line'.
5245 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5246 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5247 (vc-sentinel-movepoint): Declare.
5248 * vc/vc-svn.el: Use lexical-binding.
5249 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5250 * vc/vc-sccs.el:
5251 * vc/vc-rcs.el: Use lexical-binding.
5252
abae272c
SM
5253 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5254 `deleted'. Don't drop errors silently.
5255
52b1cc79
SM
5256 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5257
63191d9f
XF
52582013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5259
5260 * vc/vc.el (vc-ignore): Rewrite.
5261 (vc-default-ignore): New function.
5262 (vc-default-ignore-completion-table): Use find-ignore-file.
5263
5264 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5265 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5266 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5267 Remove. Most code moved to vc.el.
5268
9d3f707c
SM
52692013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5270
abae272c 5271 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5272 * net/tramp-smb.el (tramp-smb-get-file-entries):
5273 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5274 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5275
fde38d49
SM
5276 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5277 Update call to it.
5278 (eww-change-select): Remove unused var `properties'.
5279 (eww-make-unique-file-name): Remove unused var `base'.
5280
5281 * finder.el (finder-compile-keywords): Don't mess with windows.
5282
84032db7
SM
5283 * calculator.el (calculator-funcall): Fix typo in last change.
5284
724f5e41
SM
5285 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5286
14b511d4
SM
5287 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5288 <pkg>-autoloads.el file stop us.
5289
9d3f707c 5290 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5291 warnings, and factor out common code.
9d3f707c 5292
88527bc0
DG
52932013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5294
5295 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5296 two-character operators and whether the character preceding them
5297 changes their meaning (Bug#15208).
5298
96edb677
FEG
52992013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5300
5301 Format code sent to Python shell for robustness.
9d3f707c
SM
5302 * progmodes/python.el (python-shell-buffer-substring):
5303 New function.
96edb677
FEG
5304 (python-shell-send-region, python-shell-send-buffer): Use it.
5305
95beaef3
MA
53062013-09-02 Michael Albinus <michael.albinus@gmx.de>
5307
5308 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5309 * net/tramp.el (tramp-user-error): ... here.
5310 (tramp-find-method, tramp-check-proper-host)
5311 (tramp-dissect-file-name, tramp-debug-message)
5312 (tramp-handle-shell-command):
5313 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5314 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5315
5316 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5317
f167c27b
MR
53182013-09-02 Martin Rudalics <rudalics@gmx.at>
5319
5320 * avoid.el (mouse-avoidance-point-position)
5321 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5322 returns nil.
5323
cd16c5f1
FEG
53242013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5325
5326 * progmodes/python.el (python-shell-completion-get-completions):
5327 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5328 (python-nav-if-name-main): New command.
cd16c5f1 5329
e73c3a0d
GM
53302013-09-01 Glenn Morris <rgm@gnu.org>
5331
f8ccce03
GM
5332 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5333 Avoid leading space in $wins. Otherwise the sed command used by
5334 eg compile-main ends up containing "/*.el". (Bug#15170)
5335
e73c3a0d
GM
5336 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5337
415f808e
GM
53382013-08-30 Glenn Morris <rgm@gnu.org>
5339
5340 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5341 Fix is-this-a-directory logic. (Bug#15220)
5342
f069bba8
SM
53432013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5344
112798c1
SM
5345 * textmodes/css-mode.el: Use SMIE.
5346 (css-smie-grammar): New var.
5347 (css-smie--forward-token, css-smie--backward-token)
5348 (css-smie-rules): New functions.
5349 (css-mode): Use them.
5350 (css-navigation-syntax-table): Remove var.
5351 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5352 (css-indent-calculate, css-indent-line): Remove functions.
5353
5354 Misc changes to reduce use of `(lambda...); and other cleanups.
5355 * cus-edit.el: Use lexical-binding.
5356 (customize-push-and-save, customize-apropos)
5357 (custom-buffer-create-internal): Use closures.
5358 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5359 * progmodes/ada-xref.el: Use setq.
5360 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5361 * dframe.el: Use lexical-binding.
5362 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5363 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5364 * descr-text.el: Use lexical-binding.
5365 (describe-text-widget, describe-text-sexp, describe-property-list):
5366 Use closures.
5367 * comint.el (comint-history-isearch-push-state): Use a closure.
5368 * calculator.el: Use lexical-binding.
5369 (calculator-number-to-string): Make it work with lexical-binding.
5370 (calculator-funcall): Same and use cl-letf.
5371
2da4c3ab
SM
5372 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5373 (lisp--company-doc-string, lisp--company-location): New functions.
5374 (lisp-completion-at-point): Use them to improve Company support.
5375
f069bba8
SM
5376 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5377 params of lambda expressions.
5378 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5379 (ruby-smie--opening-pipe-p): New function.
5380 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5381 symbols and matched |...| for formal params.
5382 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5383 from being treated as hanging. Handle "rescue".
5384
6758b6a8
GM
53852013-08-29 Glenn Morris <rgm@gnu.org>
5386
5387 * progmodes/cc-engine.el (c-pull-open-brace):
5388 Move definition before use.
5389
e8dfd197
SM
53902013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5391
5392 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5393 are immutable. Don't use `unsafe' any more.
5394 (cl--defsubst-expand): Don't substitute at the same time as keeping
5395 a residual unused let-binding. Don't use `unsafe' any more.
5396
cc585c96
GM
53972013-08-29 Glenn Morris <rgm@gnu.org>
5398
ba579ea6
GM
5399 * calendar/cal-china.el (calendar-chinese-year-cache):
5400 Recenter on 2015.
5401
8201a87e
GM
5402 * nxml/nxml-util.el (nxml-debug-clear-inside):
5403 Use cl-loop rather than loop.
5404
6ee877c7
GM
5405 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5406
cc585c96
GM
5407 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5408
27be8d39
GM
54092013-08-28 Glenn Morris <rgm@gnu.org>
5410
397440a1
GM
5411 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5412
2bb762d4
GM
5413 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5414
27be8d39
GM
5415 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5416
2d69b99e
SM
54172013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5418
f663baa7
SM
5419 * simple.el (repeat-complex-command--called-interactively-skip):
5420 New function.
5421 (repeat-complex-command): Use it (bug#14136).
5422
dd4f8b74
SM
5423 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5424 (c-define-abbrev-table): Add `doc' argument.
5425 (c-mode-abbrev-table, c++-mode-abbrev-table)
5426 (objc-mode-abbrev-table, java-mode-abbrev-table)
5427 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5428 (awk-mode-abbrev-table): Use it.
5429 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5430 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5431 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5432 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5433 Move initialization into the declaration; and remove any
5434 autoload cookie.
5435
b58969f7
SM
5436 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5437 and dynamic let binding.
5438
4021d6a6
SM
5439 * vc/smerge-mode.el: Remove redundant :group args.
5440
2d69b99e
SM
5441 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5442 to load-path.
5443
274919fd
JL
54442013-08-28 Juri Linkov <juri@jurta.org>
5445
5446 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5447 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5448 (isearch-other-meta-char): Handle an undefined shifted printing
5449 character by downshifting it. (Bug#15200)
5450
121f8c95
JL
54512013-08-28 Juri Linkov <juri@jurta.org>
5452
5453 * isearch.el (isearch-search): Change regexp error message for
5454 non-regexp searches. (Bug#15166)
5455
50b13cde
PE
54562013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5457
5458 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5459 for portability to hosts where /bin/sh has problems.
5460
95888bca
SM
54612013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5464
bbe558f1
JL
54652013-08-27 Juri Linkov <juri@jurta.org>
5466
5467 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5468 in the keyboard macro. (Bug#15126)
5469
26f98a7d
JL
54702013-08-27 Juri Linkov <juri@jurta.org>
5471
5472 * isearch.el (isearch-quote-char): Comment out converting unibyte
5473 to multibyte, thus syncing with its `quoted-insert' counterpart.
5474 (Bug#15166)
5475
7c97d35e
MR
54762013-08-27 Martin Rudalics <rudalics@gmx.at>
5477
5478 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5479 argument in call of get-largest-window (Bug#15185).
5480 Reported by Stephen Leake.
7c97d35e 5481
a0b5606e 54822013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5483
5484 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5485
9e89d835
SM
54862013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5487
5488 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5489 from a matcher-function unless there's no more matches (bug#15161).
5490
78fc2530
MA
54912013-08-26 Michael Albinus <michael.albinus@gmx.de>
5492
5493 * minibuffer.el: Revert change from 2013-08-20.
5494
5495 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5496 with text property `tramp-default', if appropriate.
5497 (tramp-check-proper-host): New defun.
5498 (tramp-dissect-file-name): Do not check hostname. Revert change
5499 of 2013-03-18.
5500 (tramp-backtrace): Make VEC-OR-PROC optional.
5501
5502 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5503 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5504 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5505 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5506 Apply `tramp-check-proper-host'.
78fc2530 5507
edca97cd
TH
55082013-08-26 Tassilo Horn <tsdh@gnu.org>
5509
5510 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5511 lambda expression in order to have `describe-variable' display it.
5512
df54bcbd
MA
55132013-08-26 Michael Albinus <michael.albinus@gmx.de>
5514
5515 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5516 BUF can be optional. (Bug#15186)
5517
eed99101
XF
55182013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5519
5520 * progmodes/flymake.el (flymake-get-real-file-name-function):
5521 Fix broken customization. (Bug#15184)
5522
b5eb9035
AM
55232013-08-25 Alan Mackenzie <acm@muc.de>
5524
8a51e842
AM
5525 Improve indentation of bracelists defined by macros (without "=").
5526
5527 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5528 expansion begins with "{", regard it as bracelist when it doesn't
5529 contain a ";".
5530
869455d4
AM
5531 Parse C++ inher-intro when there's a template split over 2 lines.
5532
5533 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5534 rigorously the search for "class" etc. followed by ":".
5535
5536 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5537 random languages a regexp which never matches rather than nil.
5538
b5eb9035
AM
5539 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5540
5541 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5542 (c-awk-regexp-one-line-possibly-open-char-list-re)
5543 (c-awk-one-line-possibly-open-regexp-re)
5544 (c-awk-one-line-non-syn-ws*-re): Remove.
5545 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5546 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5547 (c-awk-space*-unclosed-regexp-/-re): New constants.
5548 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5549 aren't regexp delimiters.
5550
5551 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5552 handling for a rare situation in AWK Mode involving unterminated
5553 strings/regexps.
5554
61611d54
GM
55552013-08-23 Glenn Morris <rgm@gnu.org>
5556
2d85dc34
GM
5557 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5558
cb8d2612
GM
5559 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5560
bb35f42f
GM
5561 * files.el (create-file-buffer): If the result would begin with
5562 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5563
b9808e77
SM
55642013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5565
e3a66363
SM
5566 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5567 text-properties (bug#15155).
5568
b9808e77
SM
5569 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5570 exist any more.
5571 (calc-keypad-redraw): Remove unused var `pad'.
5572 (calc-keypad-press): Remove unused var `menu'.
5573
7fd5f65e
MR
55742013-08-23 Martin Rudalics <rudalics@gmx.at>
5575
b9808e77
SM
5576 * window.el (display-buffer-pop-up-frame):
5577 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5578 use it as the new frame's buffer (Bug#15133).
5579
8352b530
SM
55802013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5581
5582 * calendar/timeclock.el: Minor cleanups.
5583 (timeclock-ask-before-exiting, timeclock-use-display-time):
5584 Use `symbol'.
5585 (timeclock-modeline-display): Define as alias before the
5586 actual definition.
5587 (timeclock-mode-line-display): Use define-minor-mode.
5588 (timeclock-day-list-template): Make it a function, add an argument.
5589 (timeclock-day-list-required, timeclock-day-list-length)
5590 (timeclock-day-list-debt, timeclock-day-list-span)
5591 (timeclock-day-list-break): Adjust calls accordingly.
5592
9f7b1925
SM
55932013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5594
5595 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5596 Use read--expression so that completion works again.
5597
6e50e983
SS
55982013-08-21 Sam Steingold <sds@gnu.org>
5599
5600 Add rudimentary inferior shell interaction
5601 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5602 (sh-set-shell): Reset it.
9f7b1925
SM
5603 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5604 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5605
dbb0d350
SM
56062013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5607
5608 * align.el: Use lexical-binding.
5609 (align-region): Simplify accordingly.
5610
c88586a9
MA
56112013-08-20 Michael Albinus <michael.albinus@gmx.de>
5612
5613 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5614
5615 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5616 `non-essential' up.
5617
f95527c8
MA
56182013-08-17 Michael Albinus <michael.albinus@gmx.de>
5619
5620 * net/tramp.el:
5621 * net/tramp-adb.el:
5622 * net/tramp-cmds.el:
5623 * net/tramp-ftp.el:
5624 * net/tramp-gvfs.el:
5625 * net/tramp-gw.el:
5626 * net/tramp-sh.el: Don't wrap external variable declarations by
5627 `eval-when-compile'.
5628
4b5fe4ee
LMI
56292013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5630
5631 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5632 now that Emacs supports ImageMagick animations.
5633
13c366c9
MA
56342013-08-16 Michael Albinus <michael.albinus@gmx.de>
5635
5636 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5637 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5638
3dfc5cd6
MR
56392013-08-16 Martin Rudalics <rudalics@gmx.at>
5640
5641 * window.el (mouse-autoselect-window-select): Do autoselect when
5642 mouse pointer is on margin.
5643
4bbb4381
WP
56442013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5645
5646 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5647
3a2ddc2d
GM
56482013-08-16 Glenn Morris <rgm@gnu.org>
5649
e8bedf5a
GM
5650 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5651 Handle "Remote Directory" response of some clients. (Bug#15058)
5652
58c4682f
GM
5653 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5654 Tweak warning. (Bug#14926)
5655
57953f49
GM
5656 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5657 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5658
3a2ddc2d
GM
5659 * image-mode.el (image-mode-map): Add menu items to reverse,
5660 increase, decrease, reset animation speed.
5661 (image--set-speed, image-increase-speed, image-decrease-speed)
5662 (image-reverse-speed, image-reset-speed): New functions.
5663 (image-mode-map): Add bindings for speed commands.
5664
5665 * image.el (image-animate-get-speed, image-animate-set-speed):
5666 New functions.
5667 (image-animate-timeout): Respect image :speed property.
5668
10fa0ed3
SM
56692013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5670
5671 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5672 previous line (bug#15101).
5673 (debugger-eval-expression, debugger-record-expression):
5674 Use read--expression (bug#15102).
5675
5d89d9d2
MA
56762013-08-15 Michael Albinus <michael.albinus@gmx.de>
5677
5678 Remove byte compiler warnings, visible when compiling with
5679 `byte-compile-force-lexical-warnings' set to t.
5680
5681 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5682 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5683 (tramp-handle-unhandled-file-name-directory)
5684 (tramp-handle-file-notify-add-watch, tramp-action-login)
5685 (tramp-action-succeed, tramp-action-permission-denied)
5686 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5687 arguments with "_".
5688
5689 * net/tramp-adb.el (tramp-adb-parse-device-names)
5690 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5691 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5692 (tramp-adb-handle-file-truename): Remove unused arguments.
5693
5694 * net/tramp-cache.el (tramp-flush-directory-property)
5695 (tramp-flush-connection-property, tramp-list-connections)
5696 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5697
10fa0ed3
SM
5698 * net/tramp-compat.el (tramp-compat-make-temp-file):
5699 Rename FILENAME to F.
5d89d9d2
MA
5700
5701 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5702 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5703 (tramp-zeroconf-parse-workstation-device-names)
5704 (tramp-zeroconf-parse-webdav-device-names)
5705 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5706
5707 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5708 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5709
5710 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5711 arguments.
5712 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5713 (tramp-sh-handle-insert-file-contents-literally)
5714 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5715 with "_".
5716 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5717 Remove unused variables.
5718
5719 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5720 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5721 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5722
5723 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5724 Make them a defconst.
5725 (tramp-uuencode-region): Remove unused variable.
5726
62f33bae
JB
57272013-08-14 Juanma Barranquero <lekktu@gmail.com>
5728
5729 * frameset.el (frameset--prop-setter): New function.
5730 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5731 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5732 parameter was already set in FILTERED. Doc fix.
5733 (frameset--record-minibuffer-relationships): Allow saving a
5734 minibufferless frame without its corresponding minibuffer frame.
5735 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5736 frame, if the frame id matches.
5737 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5738 frames before orphaned ones.
5739 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5740
c660a885
MR
57412013-08-14 Martin Rudalics <rudalics@gmx.at>
5742
5743 * window.el (window-make-atom): Don't overwrite parameter
5744 already present.
5745 (display-buffer-in-atom-window): Handle special case where we
5746 split an already atomic window.
5747 (window--major-non-side-window, display-buffer-in-side-window)
5748 (window--side-check): Ignore minibuffer window when walking
5749 window tree.
5750 (window-deletable-p): Return 'frame only if no other frame uses
5751 our minibuffer window.
5752 (record-window-buffer): Run buffer-list-update-hook.
5753 (split-window): Make sure window--check-frame won't destroy an
5754 existing atomic window in case the new window gets nested
5755 inside.
5756 (display-buffer-at-bottom): Ignore minibuffer window when
5757 walking window tree. Don't split a side window.
5758 (pop-to-buffer): Don't set-buffer here, the select-window call
5759 should do that.
5760 (mouse-autoselect-window-select): Autoselect only if we are in the
5761 text portion of the window.
5762
8259030d
LMI
57632013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5764
21c58ae2
LMI
5765 * net/shr.el (shr-parse-image-data): New function to grab both the
5766 data itself and the Content-Type.
5767 (shr-put-image): Use it.
5768
5769 * net/eww.el (eww-display-image): Ditto.
5770
8259030d
LMI
5771 * image.el (image-content-type-suffixes): New variable.
5772
ad756449
FEG
57732013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5774
5775 * progmodes/python.el (python-imenu--build-tree)
5776 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5777
f73f4ce6
XF
57782013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5779
5780 * simple.el (backward-word): Mention the optional argument.
5781
1f585e65
SM
57822013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 * frameset.el (frameset--make): Rename constructor from make-frameset.
5785 (frameset-p, frameset-valid-p): Don't autoload.
5786 (frameset-valid-p): Use normal accessors.
5787
af1c6c84
GM
57882013-08-13 Glenn Morris <rgm@gnu.org>
5789
55e47f95
GM
5790 * progmodes/compile.el (compile-command): Tweak example in doc.
5791 * obsolete/scribe.el (scribe-mode):
5792 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5793
f0024d8c
GM
5794 * mail/feedmail.el (feedmail-confirm-outgoing)
5795 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5796
5797 * cus-start.el (truncate-partial-width-windows): Fix type.
5798
5799 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5800
af1c6c84
GM
5801 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5802
5514cc4c
SM
58032013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5804
5805 * emacs-lisp/timer.el (timer--time-setter): New function.
5806 (timer--time): Use it as gv-setter.
5807
5808 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5809 setter is not a symbol.
5810
7997a2f1
GJ
58112013-08-12 Grégoire Jadi <daimrod@gmail.com>
5812
5813 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5814 if sending fails. This makes debugging easier.
5815
01f1a9ab
JB
58162013-08-12 Juanma Barranquero <lekktu@gmail.com>
5817
5818 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5819 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5820 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5821
594a4307
EZ
58222013-08-12 Eli Zaretskii <eliz@gnu.org>
5823
5824 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5825
7a22490f 58262013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5827
5828 * format.el (format-annotate-function):
5829 Handle read-only text properties in the source. (Bug#14887)
5830
3e41a054
LMI
58312013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5832
5514cc4c
SM
5833 * net/eww.el (eww-display-html): Ignore coding system errors.
5834 One web site uses "utf-8lias" as the coding system.
3e41a054 5835
7ec326db
JB
58362013-08-11 Juanma Barranquero <lekktu@gmail.com>
5837
5838 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5839
5660113b
JB
58402013-08-10 Juanma Barranquero <lekktu@gmail.com>
5841
9a4ebc74
JB
5842 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5843 (tutorial--detailed-help): Remove unused local variables.
5844 (tutorial--save-tutorial-to): Use ignore-errors.
5845 (help-with-tutorial): Use looking-at-p.
5846
5847 * view.el (view-buffer-other-window, view-buffer-other-frame):
5848 Mark unused arguments.
5849
5850 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5851 (woman-select-symbol-fonts, woman, woman-find-file)
5852 (woman-insert-file-contents, woman-non-underline-faces):
5853 Use string-match-p.
5854 (woman1-unquote): Move declaration.
5855
5856 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5857 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5858 argument. Remove unused local variable.
5859 (xml-parse-elem-type): Use string-match-p.
5860 (xml-substitute-numeric-entities): Use ignore-errors.
5861
45fdb482
JB
5862 * calculator.el (calculator): Mark unused argument.
5863 (calculator-paste, calculator-quit, calculator-integer-p):
5864 Use ignore-errors.
5865 (calculator-string-to-number, calculator-decimal, calculator-exp)
5866 (calculator-op-or-exp): Use string-match-p.
5867
5868 * dired.el (dired-buffer-more-recently-used-p): Declare.
5869 (dired-insert-set-properties, dired-insert-old-subdirs):
5870 Use ignore-errors.
5871
5872 * dired-aux.el (dired-compress): Use ignore-errors.
5873 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5874 (dired-do-async-shell-command, dired-do-shell-command)
5875 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5876 (dired-insert-subdir-validate): Use string-match-p.
5877 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5878 (dired-add-entry): Use string-match-p, looking-at-p.
5879 (dired-insert-subdir-newpos): Remove unused local variable.
5880
5881 * filenotify.el (file-notify-callback): Remove unused local variable.
5882
5883 * filesets.el (filesets-error): Mark unused argument.
5884 (filesets-which-command-p, filesets-filter-dir-names)
5885 (filesets-directory-files, filesets-get-external-viewer)
5886 (filesets-ingroup-get-data): Use string-match-p.
5887
5888 * find-file.el (ff-other-file-name, ff-other-file-name)
5889 (ff-find-the-other-file, ff-cc-hh-converter):
5890 Remove unused local variables.
5891 (ff-get-file-name): Use string-match-p.
5892 (ff-all-dirs-under): Use ignore-errors.
5893
5894 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5895 (follow-select-if-visible): Remove unused local variable.
5896
5897 * forms.el (read-file-filter): Move declaration.
5898 (forms--make-format, forms--make-parser, forms-insert-record):
5899 Quote function with #'.
5900 (forms--update): Use string-match-p. Quote function with #'.
5901
5902 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5903 (help-make-xrefs): Use looking-at-p.
5904 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5905
5906 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5907 (ibuffer-confirm-operation-on): Use string-match-p.
5908
5909 * msb.el (msb-item-handler, msb-dired-item-handler):
5910 Mark unused arguments.
5911
5912 * ses.el (ses-decode-cell-symbol)
5913 (ses-kill-override): Remove unused local variable.
5914 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5915 (ses-load): Use ignore-errors, looking-at-p.
5916 (ses-jump-safe): Use ignore-errors.
5917 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5918
5919 * tabify.el (untabify, tabify): Mark unused arguments.
5920
5921 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5922 Mark unused argument.
5923 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5924 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5925
c880af52
JB
5926 * emacs-lisp/timer.el (timer--time): Define setter with
5927 gv-define-setter to avoid deprecation warning.
5928
5660113b 5929 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5930 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5931 (cmpl-statistics-block): Remove (body was commented out).
5932 All callers changed.
5933 (add-completions-from-buffer, load-completions-from-file):
5934 Remove unused variables.
5935
156aab80
JB
59362013-08-09 Juanma Barranquero <lekktu@gmail.com>
5937
5c5dee78
JB
5938 * filecache.el (file-cache-delete-file-list):
5939 Print message only when told so.
5940 (file-cache-files-matching): Use #' in mapconcat argument.
5941
156aab80
JB
5942 * ffap.el (ffap-url-at-point): Fix reference to variable
5943 thing-at-point-default-mail-uri-scheme.
5944
ad9dcd70
SM
59452013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5946
54bd972f
SM
5947 * subr.el (define-error): New function.
5948 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5949 error-file-not-found and define with define-error.
5950 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5951 and define with define-error.
5952 * userlock.el (file-locked, file-supersession):
5953 * simple.el (mark-inactive):
5954 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5955 * progmodes/ada-mode.el (ada-mode-errors):
5956 * play/life.el (life-extinct):
5957 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5958 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5959 * nxml/rng-util.el (rng-error):
5960 * nxml/rng-uri.el (rng-uri-error):
5961 * nxml/rng-match.el (rng-compile-error):
5962 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5963 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5964 * nxml/nxml-rap.el (nxml-scan-error):
5965 * nxml/nxml-outln.el (nxml-outline-error):
5966 * net/soap-client.el (soap-error):
5967 * net/gnutls.el (gnutls-error):
5968 * net/ange-ftp.el (ftp-error):
5969 * mpc.el (mpc-proc-error):
5970 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5971 (json-number-format, json-string-escape, json-string-format)
5972 (json-key-format, json-object-format):
5973 * jka-compr.el (compression-error):
5974 * international/quail.el (quail-error):
5975 * international/kkc.el (kkc-error):
5976 * emacs-lisp/ert.el (ert-test-failed):
5977 * calc/calc.el (calc-error, inexact-result, math-overflow)
5978 (math-underflow):
5979 * bookmark.el (bookmark-error-no-filename):
5980 * epg.el (epg-error): Define with define-error.
5981
0ea9e53a
SM
5982 * time.el (display-time-event-handler)
5983 (display-time-next-load-average): Don't call sit-for since it seems
5984 unnecessary (bug#15045).
5985
b0429158
SM
5986 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5987 Use #' instead of ' to quote functions.
5988 (checkdoc-output-mode): Use setq-local.
5989 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5990 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5991 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5992 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5993 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5994 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5995 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5996 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5997
ad9dcd70
SM
5998 * ido.el (ido-completion-help): Fix up compiler warning.
5999
77187e6f
JB
60002013-08-09 Juanma Barranquero <lekktu@gmail.com>
6001
6002 * frameset.el (frameset-p): Add autoload cookie.
6003 (frameset--jump-to-register): New function, based on code moved from
6004 register.el.
6005 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6006
6007 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6008 (frameset-restore, frameset-save, frameset-session-filter-alist):
6009 Remove declarations.
6010 (register-alist): Doc fix.
6011 (frameset-to-register): Move to frameset.el.
6012 (jump-to-register, describe-register-1): Remove frameset-specific code.
6013
9d3aa82c
JB
60142013-08-08 Juanma Barranquero <lekktu@gmail.com>
6015
6016 * allout-widgets.el (allout-widgets-pre-command-business)
6017 (allout-widgets-post-command-business)
6018 (allout-widgets-after-change-handler)
6019 (allout-decorate-item-and-context, allout-set-boundary-marker)
6020 (allout-body-modification-handler)
6021 (allout-graphics-modification-handler): Mark ignored arguments.
6022 (allout-widgets-post-command-business)
6023 (allout-widgets-exposure-change-processor)
6024 (allout-widgets-exposure-undo-processor)
6025 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6026 (allout-parse-item-at-point, allout-decorate-item-guides)
6027 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6028 * allout.el (epa-passphrase-callback-function): Declare.
6029 (allout-overlay-insert-in-front-handler)
6030 (allout-overlay-interior-modification-handler)
6031 (allout-isearch-end-handler, allout-chart-siblings)
6032 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6033 (allout-yank-processing, allout-process-exposed)
6034 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6035 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6036 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6037 (lisp-indent-defform): Mark ignored arguments.
6038 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6039 (calculate-lisp-indent): Remove unused variables.
6040 * international/characters.el (indian-2-column, arabic-2-column)
6041 (tibetan): Mark ignored arguments.
6042 (use-cjk-char-width-table): Mark ignored arguments.
6043 Remove unused variables.
6044 * international/fontset.el (build-default-fontset-data)
6045 (x-compose-font-name, create-fontset-from-fontset-spec):
6046 Mark ignored arguments.
6047 (fontset-plain-name): Remove unused variables.
6048 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6049 (keyboard-coding-system): Mark ignored arguments.
6050 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6051 * help.el (resize-temp-buffer-window):
6052 * window.el (display-buffer-in-major-side-window)
6053 (display-buffer-in-side-window, display-buffer-in-previous-window):
6054 Remove unused variables.
6055 * isearch.el (isearch-forward-symbol):
6056 * version.el (emacs-bzr-version-bzr):
6057 * international/mule-cmds.el (current-language-environment):
6058 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6059 (x-handle-display):
6060 * term/pc-win.el (x-list-fonts, x-display-planes)
6061 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6062 (x-server-version, x-display-screens, x-display-mm-height)
6063 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6064 (x-selection-owner-p, x-own-selection-internal)
6065 (x-disown-selection-internal, x-get-selection-internal)
6066 (msdos-initialize-window-system):
6067 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6068 * term/x-win.el (x-handle-no-bitmap-icon):
6069 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6070 (vc-default-find-file-hook, vc-default-extra-menu):
6071 Mark ignored arguments.
6072
0ca3f70e
SM
60732013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6074
6075 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6076 break-condition in the context of the debugged code (bug#12685).
6077
74c5d24c
CS
60782013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6079
6080 * comint.el:
6081 Do not use an overlay to highlight the last prompt. (Bug#14744)
6082 (comint-mode): Make comint-last-prompt buffer local.
6083 (comint-last-prompt): New variable.
6084 (comint-last-prompt-overlay): Remove. Superseded by
6085 comint-last-prompt.
0ca3f70e
SM
6086 (comint-snapshot-last-prompt, comint-output-filter):
6087 Use comint-last-prompt.
74c5d24c 6088
c03c02ee
JB
60892013-08-08 Juanma Barranquero <lekktu@gmail.com>
6090
a3738d20 6091 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6092 (frameset-save): Check validity of the resulting frameset.
6093
04263d23
XF
60942013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6095
6096 * ido.el (ido-record-command): Add doc string.
6097
76c5e5ab
JB
60982013-08-08 Juanma Barranquero <lekktu@gmail.com>
6099
6100 * frameset.el (frameset): Do not disable creation of the default
6101 frameset-p predicate. Doc fix.
6102 (frameset-valid-p): New function, copied from the old predicate-p.
6103 Add additional checks.
6104 (frameset-restore): Check with frameset-valid-p.
6105 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6106 (frameset-name, frameset-description, frameset-properties)
6107 (frameset-states): Add docstring.
f9dbf1cb
JB
6108 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6109 (frameset-filter-alist): Doc fixes.
76c5e5ab 6110
bd0c3c0b
JB
61112013-08-08 Juanma Barranquero <lekktu@gmail.com>
6112
6113 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6114
c735544c
SM
61152013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6116
6117 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6118 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6119 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6120 (byte-compile-normal-call): Remove obsolescence check.
6121
2805a651
JB
61222013-08-08 Juanma Barranquero <lekktu@gmail.com>
6123
3677ffeb
JB
6124 * frameset.el (frameset-restore): Doc fix.
6125
2805a651
JB
6126 * register.el (frameset-frame-id, frameset-frame-with-id)
6127 (frameset-p, frameset-restore, frameset-save): Declare.
6128 (register-alist): Document framesets.
6129 (frameset-session-filter-alist): Declare.
6130 (frameset-to-register): New function.
6131 (jump-to-register): Implement jumping to framesets. Doc fix.
6132 (describe-register-1): Describe framesets.
6133
6134 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6135
a912c016
JB
61362013-08-07 Juanma Barranquero <lekktu@gmail.com>
6137
6138 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6139 Use lexical-binding.
6140
6141 * frameset.el (frameset): Use type vector, not list (incompatible
6142 change). Do not declare a new constructor, use the default one.
6143 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6144 `name' and `description', respectively, and add read-only slot
6145 `timestamp'. Doc fixes.
6146 (frameset-copy, frameset-persistent-filter-alist)
6147 (frameset-filter-alist, frameset-switch-to-gui-p)
6148 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6149 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6150 (frameset-filter-iconified, frameset-keep-original-display-p):
6151 Doc fixes.
6152 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6153 Rename from frameset-filter-(save|restore)-param. All callers changed.
6154 Doc fix.
6155 (frameset-p): Adapt to change to vector and be more thorough.
6156 Change arg name to OBJECT. Doc fix.
6157 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6158 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6159 All callers changed.
6160 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6161 All callers changed.
6162 (frameset--record-minibuffer-relationships): Rename from
6163 frameset--process-minibuffer-frames. All callers changed.
6164 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6165 Use new default constructor (again). Doc fix.
6166 (frameset--find-frame-if): Rename from `frameset--find-frame.
6167 All callers changed.
6168 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6169 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6170 Doc fix.
6171 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6172 PARAMETERS and WINDOW-STATE, respectively.
6173 (frameset-restore): Add new keyword argument PREDICATE.
6174 Reset frameset--target-display to nil. Doc fix.
6175
bb41480a
SM
61762013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6177
f001e98e
SM
6178 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6179 (bat-mode): Use it.
6180 (bat-mode-syntax-table): Mark \n as end-of-comment.
6181 (bat-font-lock-keywords): Remove comment rule.
6182
7679edb1
SM
6183 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6184 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6185
bb41480a
SM
6186 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6187 (byte-compile-callargs-warn): Use `push'.
6188 (byte-compile-arglist-warn): Ignore higher-order "calls".
6189 (byte-compile-file-form-autoload): Use `pcase'.
6190 (byte-compile-function-form): If quoting a symbol, check that it exists.
6191
cdc1ebb9
EZ
61922013-08-07 Eli Zaretskii <eliz@gnu.org>
6193
6194 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6195 and add a few popular commands found in batch files.
6196 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6197 (dos-mode): Doc fixes.
6198
312b1740
SM
61992013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6200
6201 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6202 (dos-mode): Use setq-local. Add space after "rem".
6203 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6204 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6205
400a3178
AM
62062013-08-07 Arni Magnusson <arnima@hafro.is>
6207
6208 * progmodes/dos.el: New file.
6209 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6210 dos-mode.
6211
3b5c03d3
GM
62122013-08-06 Glenn Morris <rgm@gnu.org>
6213
6214 * calendar/calendar.el: Add new faces, and day-header-array.
6215 (calendar-weekday-header, calendar-weekend-header)
6216 (calendar-month-header): New faces.
6217 (calendar-day-header-construct): New function.
6218 (calendar-day-header-width): Also :set calendar-day-header-array.
6219 (calendar-american-month-header, calendar-european-month-header)
6220 (calendar-iso-month-header): Use calendar- faces.
6221 (calendar-generate-month):
6222 Use calendar-day-header-array for day headers; apply faces to them.
6223 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6224 (calendar-abbrev-construct): Add optional maxlen argument.
6225 (calendar-day-name-array): Doc fix.
6226 (calendar-day-name-array, calendar-abbrev-length)
6227 (calendar-day-abbrev-array):
6228 Also :set calendar-day-header-array, and maybe redraw.
6229 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6230 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6231 (calendar-day-name): Add option to use header array.
6232
ec6a2d7a
LMI
62332013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6234
6235 * net/shr.el (shr-render-td): Remove debugging.
6236 (shr-render-td): Make width computation consistent by defaulting
6237 all zero-width columns to 10 characters. This may not be optimal,
6238 but it's at least consistent.
2122cb6d
LMI
6239 (shr-make-table-1): Redo last change to fix the real problem in
6240 colspan handling.
ec6a2d7a 6241
ed4fd9c5
DA
62422013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6243
0ca3f70e
SM
6244 * files.el (cache-long-line-scans):
6245 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6246
64e22afe
JB
62472013-08-06 Juanma Barranquero <lekktu@gmail.com>
6248
024b38fc
JB
6249 * frameset.el (frameset, frameset-filter-alist)
6250 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6251 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6252 (frameset-compute-pos): Rename from frameset--compute-pos,
6253 and add docstring.
6254 (frameset-move-onscreen): Use frameset-compute-pos.
6255 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6256
64e22afe
JB
6257 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6258 Fix typos in docstrings.
6259
c8c2aca8
DA
62602013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6261
6262 * frame.el (get-other-frame): Tiny cleanup.
6263
1d237bba
JB
62642013-08-06 Juanma Barranquero <lekktu@gmail.com>
6265
8951efef
JB
6266 * vc/vc.el (vc-default-ignore-completion-table):
6267 Silence byte-compiler warning.
6268
307764cc
JB
6269 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6270 slot , which can indeed be nil.
6271 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6272 Move entry for `left' from persistent to live filter alist.
6273 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6274 Doc fixes.
6275 (frameset-filter-params): When restoring a frame, copy items added to
6276 `filtered', to avoid unwittingly modifying the original parameters.
6277 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6278 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6279
1d237bba
JB
6280 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6281 to use looking-at-p instead of looking-at. (Bug#15028)
6282
dc6c0eda
SM
62832013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6284
6285 Revert introduction of isearch-filter-predicates (bug#14714).
6286 Rely on add-function instead.
6287 * isearch.el (isearch-filter-predicates): Rename it back to
6288 isearch-filter-predicate.
6289 (isearch-message-prefix): Use advice-function-mapc and advice
6290 properties to get the isearch-message-prefix.
6291 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6292 instead of run-hook-with-args-until-failure.
6293 (isearch-filter-visible): Not obsolete any more.
6294 * loadup.el: Preload nadvice.
6295 * replace.el (perform-replace): Revert to funcall
6296 instead of run-hook-with-args-until-failure.
6297 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6298 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6299 dired-isearch-filenames-toggle; make it into a proper minor mode.
6300 Use add/remove-function.
6301 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6302 Call the minor-mode rather than add/remove-hook.
6303 (dired-isearch-filter-filenames):
6304 Remove isearch-message-prefix property.
6305 * info.el (Info--search-loop): New function, extracted from Info-search.
6306 Funcall isearch-filter-predicate instead of
6307 run-hook-with-args-until-failure isearch-filter-predicates.
6308 (Info-search): Use it.
6309 (Info-mode): Use isearch-filter-predicate instead of
6310 isearch-filter-predicates.
6311
290d5b58
DA
63122013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6313
6314 Do not call to `selected-window' where it is assumed by default.
6315 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6316 `window-hscroll', `window-width', `window-height', `window-buffer',
6317 `window-frame', `window-start', `window-point', `next-window'
6318 and `window-display-table'.
6319 * abbrev.el (abbrev--default-expand):
6320 * bs.el (bs--show-with-configuration):
6321 * buff-menu.el (Buffer-menu-mouse-select):
6322 * calc/calc.el (calc):
6323 * calendar/calendar.el (calendar-generate-window):
6324 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6325 (diary-make-entry):
6326 * comint.el (send-invisible, comint-dynamic-complete-filename)
6327 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6328 * completion.el (complete):
6329 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6330 * disp-table.el (describe-current-display-table):
6331 * doc-view.el (doc-view-insert-image):
6332 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6333 * ehelp.el (with-electric-help):
6334 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6335 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6336 * emacs-lisp/helper.el (Helper-help-scroller):
6337 * emulation/cua-base.el (cua--post-command-handler-1):
6338 * eshell/esh-mode.el (eshell-output-filter):
6339 * ffap.el (ffap-gnus-wrapper):
6340 * help-macro.el (make-help-screen):
6341 * hilit-chg.el (highlight-compare-buffers):
6342 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6343 * hl-line.el (global-hl-line-highlight):
6344 * icomplete.el (icomplete-simple-completing-p):
6345 * isearch.el (isearch-done):
6346 * jit-lock.el (jit-lock-stealth-fontify):
6347 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6348 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6349 * mpc.el (mpc-tagbrowser, mpc):
6350 * net/rcirc.el (rcirc-any-buffer):
6351 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6352 * play/landmark.el (landmark-max-width, landmark-max-height):
6353 * play/zone.el (zone):
6354 * progmodes/compile.el (compilation-goto-locus):
6355 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6356 * progmodes/etags.el (find-tag-other-window):
6357 * progmodes/fortran.el (fortran-column-ruler):
6358 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6359 * progmodes/verilog-mode.el (verilog-point-text):
6360 * reposition.el (reposition-window):
6361 * rot13.el (toggle-rot13-mode):
6362 * server.el (server-switch-buffer):
6363 * shell.el (shell-dynamic-complete-command)
6364 (shell-dynamic-complete-environment-variable):
6365 * simple.el (insert-buffer, set-selective-display)
6366 (delete-completion-window):
6367 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6368 (speedbar-recenter):
6369 * startup.el (fancy-splash-head):
6370 * textmodes/ispell.el (ispell-command-loop):
6371 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6372 * tutorial.el (help-with-tutorial):
6373 * vc/add-log.el (add-change-log-entry):
6374 * vc/compare-w.el (compare-windows):
6375 * vc/ediff-help.el (ediff-indent-help-message):
6376 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6377 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6378 (ediff-setup-control-frame):
6379 * vc/emerge.el (emerge-position-region):
6380 * vc/pcvs-util.el (cvs-bury-buffer):
6381 * window.el (walk-windows, mouse-autoselect-window-select):
6382 * winner.el (winner-set-conf, winner-undo): Related users changed.
6383
38276e01
JB
63842013-08-05 Juanma Barranquero <lekktu@gmail.com>
6385
6386 * frameset.el (frameset--set-id): Doc fix.
6387 (frameset-frame-id, frameset-frame-id-equal-p)
6388 (frameset-locate-frame-id): New functions.
6389 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6390 (frameset-restore): Use them.
6391
12b4c0ea
DA
63922013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6393
6394 Do not call to `selected-frame' where it is assumed by default.
6395 Affected functions are `raise-frame', `redraw-frame',
6396 `frame-first-window', `frame-terminal' and `delete-frame'.
6397 * calendar/appt.el (appt-disp-window):
6398 * epg.el (epg-wait-for-completion):
6399 * follow.el (follow-delete-other-windows-and-split)
6400 (follow-avoid-tail-recenter):
6401 * international/mule.el (set-terminal-coding-system):
6402 * mail/rmail.el (rmail-mail-return):
6403 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6404 * progmodes/f90.el (f90-add-imenu-menu):
6405 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6406 * server.el (server-switch-buffer):
6407 * simple.el (delete-completion-window):
6408 * talk.el (talk):
6409 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6410 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6411 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6412 * vc/ediff.el (ediff-documentation): Related users changed.
6413 * frame.el (selected-terminal): Remove the leftover.
6414
17f25e76
GM
64152013-08-05 Glenn Morris <rgm@gnu.org>
6416
6417 * calendar/calendar.el (calendar-generate-month):
6418 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6419 (calendar-generate-month, calendar-font-lock-keywords):
6420 Fix for calendar-day-header-width > length of any day name.
17f25e76 6421
063233c3
JB
64222013-08-05 Juanma Barranquero <lekktu@gmail.com>
6423
6424 * desktop.el (desktop-clear): Use new name of sort predicate.
6425
6426 * frameset.el (frameset): Add docstring. Move :version property to its
6427 own `version' slot.
6428 (frameset-copy): Rename from copy-frameset.
6429 (frameset-p): Check more thoroughly.
6430 (frameset-prop): Do not check for :version, which is no longer a prop.
6431 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6432 Use new :never value instead of t.
6433 (frameset-filter-alist): Expand and clarify docstring.
6434 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6435 (frameset-filter-minibuffer, frameset-filter-save-param)
6436 (frameset-filter-restore-param, frameset-filter-iconified):
6437 Add pointer to docstring of frameset-filter-alist.
6438 (frameset-filter-params): Rename filter values to be more meaningful:
6439 :never instead of t, and reverse the meanings of :save and :restore.
6440 (frameset--process-minibuffer-frames): Clarify error message.
6441 (frameset-save): Avoid unnecessary and confusing call to framep.
6442 Use new BOA constructor for framesets.
6443 (frameset--reuse-list): Doc fix.
6444 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6445 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6446 (frameset-minibufferless-first-p): Doc fix.
6447 Rename from frameset-sort-frames-for-deletion.
6448 (frameset-restore): Doc fixes. Use new function names.
6449 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6450
d5671a82
JB
64512013-08-04 Juanma Barranquero <lekktu@gmail.com>
6452
6453 * desktop.el (desktop-restore-forces-onscreen)
6454 (desktop-restore-reuses-frames): Document :keyword constant values.
6455 (desktop-filter-parameters-alist): Remove, now identical to
6456 frameset-filter-alist.
6457 (desktop--filter-tty*): Remove, moved to frameset.el.
6458 (desktop-save-frameset, desktop-restore-frameset):
6459 Do not pass :filters argument.
6460
6461 * frameset.el (frameset-live-filter-alist)
6462 (frameset-persistent-filter-alist): New variables.
6463 (frameset-filter-alist): Use them. Add autoload cookie.
6464 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6465 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6466 `frameset--id' (it's supposed to be internal to frameset.el).
6467 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6468 (frameset--initial-params): New function.
6469 (frameset--get-frame): Use it. Doc fix.
6470 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6471 Accept :all, not 'all.
6472 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6473 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6474 with fbound symbols. Fix frame id matching, and remove matching ids if
6475 the frame being restored is deleted. Obey :delete.
6476
671d5c16
SM
64772013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6478
6479 * subr.el (macrop): New function.
6480 (text-clone--maintaining): New var.
6481 (text-clone--maintain): Rename from text-clone-maintain. Use it
6482 instead of inhibit-modification-hooks.
6483
6484 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6485 a proxy, so as handle autoloads and redefinitions of the target.
6486 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6487
6488 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6489 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6490 (pcase--mutually-exclusive-p): New function.
6491 (pcase--split-consp): Use it.
6492 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6493 mutually exclusive with the current predicate.
6494
6495 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6496 (edebug-macrop): Remove. Use `macrop' instead.
6497 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6498 (ad-macro-p):
6499 * eshell/esh-cmd.el (eshell-macrop):
6500 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6501
1d44e9dc
SM
65022013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6503
6504 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6505 (advice-mapc): New function, using it.
6506 (advice-function-member-p): New function.
6507 (advice--normalize): Store the cdr in advice--saved-rewrite since
6508 that's the part that will be changed.
6509 (advice--symbol-function): New function.
6510 (advice-remove): Handle removal before the function is defined.
6511 Adjust to new advice--saved-rewrite.
6512 (advice-member-p): Use advice-function-member-p and
6513 advice--symbol-function.
6514
5414a283
JB
65152013-08-04 Juanma Barranquero <lekktu@gmail.com>
6516
51d30f2c
JB
6517 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6518 (frameset-filter-minibuffer): Doc fix.
6519 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6520 (frameset--set-id, frameset--process-minibuffer-frames)
6521 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6522 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6523
5414a283
JB
6524 * desktop.el (desktop-clear): Only delete frames when called
6525 interactively and desktop-restore-frames is non-nil. Doc fix.
6526 (desktop-read): Set desktop-saved-frameset to nil.
6527
ab419665
XF
65282013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6529
6530 * vc/vc.el (vc-ignore): Rewrite.
6531 (vc-default-ignore-completion-table):
6532 (vc--read-lines):
6533 (vc--add-line, vc--remove-regexp): New functions.
6534
6535 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6536 (vc-svn-ignore-completion-table): New function.
6537
6538 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6539 (vc-hg-ignore-completion-table):
6540 (vc-hg-find-ignore-file): New functions.
6541
6542 * vc/vc-git.el (vc-git-ignore): Rewrite.
6543 (vc-git-ignore-completion-table):
6544 (vc-git-find-ignore-file): New functions.
6545
6546 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6547
6548 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6549 (vc-bzr-ignore-completion-table):
6550 (vc-bzr-find-ignore-file): New functions.
6551
2613dea2
JB
65522013-08-03 Juanma Barranquero <lekktu@gmail.com>
6553
6554 * frameset.el (frameset-prop): New function and setter.
6555 (frameset-save): Do not modify frame list passed by the caller.
6556
9c959872
SM
65572013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6558
6559 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6560
a104f656
SM
65612013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6562
70122acf
SM
6563 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6564 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6565
a104f656
SM
6566 * custom.el (custom-initialize-default, custom-initialize-set)
6567 (custom-initialize-reset, custom-initialize-changed): Affect the
6568 toplevel-default-value (bug#6275, bug#14586).
6569 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6570 for bug#6275.
6571
f078d570
JB
65722013-08-02 Juanma Barranquero <lekktu@gmail.com>
6573
185e3b5a
JB
6574 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6575 Add cl-def* expressions.
6576
f078d570
JB
6577 * frameset.el (frameset-filter-params): Fix order of arguments.
6578
9421876d
JB
65792013-08-02 Juanma Barranquero <lekktu@gmail.com>
6580
6581 Move code related to saving frames to frameset.el.
6582 * desktop.el: Require frameset.
6583 (desktop-restore-frames): Doc fix.
6584 (desktop-restore-reuses-frames): Rename from
6585 desktop-restoring-reuses-frames.
6586 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6587 (desktop-clear): Clear frames too.
6588 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6589 (desktop--filter-tty*, desktop-save, desktop-read):
6590 Use frameset functions.
6591 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6592 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6593 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6594 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6595 (desktop--process-minibuffer-frames, desktop-save-frames)
6596 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6597 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6598 (desktop--sort-states, desktop-restoring-frames-p)
6599 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6600 (desktop-restoring-frameset-p, desktop-restore-frameset)
6601 (desktop--check-dont-save, desktop-save-frameset): New functions.
6602 (desktop--app-id): New constant.
6603 (desktop-first-buffer, desktop-buffer-ok-count)
6604 (desktop-buffer-fail-count): Move before first use.
6605 * frameset.el: New file.
6606
76dc5996
SM
66072013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6608
6609 * files.el: Use lexical-binding.
6610 (dir-locals-read-from-file): Remove unused `err' variable.
6611 (hack-dir-local-variables--warned-coding): New var.
6612 (hack-dir-local-variables): Use it to avoid repeated warnings.
6613 (make-backup-file-name--default-function): New function.
6614 (make-backup-file-name-function): Use it as default.
6615 (buffer-stale--default-function): New function.
6616 (buffer-stale-function): Use it as default.
6617 (revert-buffer-insert-file-contents--default-function): New function.
6618 (revert-buffer-insert-file-contents-function): Use it as default.
6619 (insert-directory): Avoid add-to-list.
6620
6621 * autorevert.el (auto-revert-handler): Simplify.
6622 Use buffer-stale--default-function.
6623
06d36e2b
TH
66242013-08-01 Tassilo Horn <tsdh@gnu.org>
6625
5f648ab4
TH
6626 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6627
06d36e2b
TH
6628 * whitespace.el (whitespace-ensure-local-variables): New function.
6629 (whitespace-cleanup-region): Call it.
6630 (whitespace-turn-on): Call it.
6631
a43dc424
MA
66322013-08-01 Michael Albinus <michael.albinus@gmx.de>
6633
6634 Complete file name handlers.
6635
6636 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6637 (tramp-handle-verify-visited-file-modtime)
6638 (tramp-handle-file-notify-rm-watch): New functions.
6639 (tramp-call-process): Do not bind `default-directory'.
6640
44e18199
JB
6641 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6642 Order alphabetically.
a43dc424
MA
6643 [access-file, add-name-to-file, dired-call-process]:
6644 [dired-compress-file, file-acl, file-notify-rm-watch]:
6645 [file-ownership-preserved-p, file-selinux-context]:
6646 [make-directory-internal, make-symbolic-link, set-file-acl]:
6647 [set-file-selinux-context, set-visited-file-modtime]:
6648 [verify-visited-file-modtime]: Add handler.
6649 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6650
6651 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6652 [file-notify-add-watch, file-notify-rm-watch]:
6653 [set-file-times, set-visited-file-modtime]:
6654 [verify-visited-file-modtime]: Add handler.
6655 (with-tramp-gvfs-error-message)
6656 (tramp-gvfs-handle-set-visited-file-modtime)
6657 (tramp-gvfs-fuse-file-name): Remove.
6658 (tramp-gvfs-handle-file-notify-add-watch)
6659 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6660 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6661
44e18199
JB
6662 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6663 Order alphabetically.
a43dc424
MA
6664 [file-notify-rm-watch ]: Use default Tramp handler.
6665 [executable-find]: Remove private handler.
6666 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6667 `default-directory'.
6668 (tramp-sh-handle-executable-find)
6669 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6670 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6671 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6672 Do not use `format' in `tramp-message'.
6673
6674 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6675 [file-notify-rm-watch, set-visited-file-modtime]:
6676 [verify-visited-file-modtime]: Add handler.
6677 (tramp-smb-call-winexe): Do not bind `default-directory'.
6678
7188b515
XF
66792013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6680
6681 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6682
2412ee1a
DG
66832013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6684
6685 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6686 use it.
6687 (log-view-diff-changeset): Same.
6688 (log-view-diff-common): Call backend command `previous-revision'
6689 to find out the previous revision, in both cases. Swap the
6690 variables `to' and `fr', so that `fr' usually refers to the
6691 earlier revision (Bug#14989).
6692
5002a754
KRC
66932013-07-31 Kan-Ru Chen <kanru@kanru.info>
6694
6695 * ibuf-ext.el (ibuffer-filter-by-filename):
6696 Make it work with dired buffers too.
6697
44e18199 66982013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6699
6700 * emacs-lisp/re-builder.el (reb-color-display-p):
6701 * files.el (save-buffers-kill-terminal):
6702 * net/browse-url.el (browse-url):
6703 * server.el (server-save-buffers-kill-terminal):
6704 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6705 Prefer nil to selected-frame for the first arg of frame-parameter.
6706
aeca3fbb
XF
67072013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6708
6709 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6710
158bc55c
SB
67112013-07-30 Stephen Berman <stephen.berman@gmx.net>
6712
6713 * minibuffer.el (completion--twq-all): Try and preserve each
6714 completion's case choice (bug#14907).
6715
d50fceab
LMI
67162013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6717
ac38e731
LMI
6718 * net/network-stream.el (open-network-stream): Mention the new
6719 :nogreeting parameter.
6720 (network-stream-open-starttls): Use the :nogreeting parameter
6721 (bug#14938).
6722
1211de50
LMI
6723 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6724
997798bf
LMI
6725 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6726 more natural than popping.
6727
d50fceab 6728 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6729 (shr-urlify): Highlight under mouse.
d50fceab 6730
5c09de04
XF
67312013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6732
207d1d04
XF
6733 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6734
6735 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6736
5c09de04
XF
6737 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6738 buffer for output.
6739
3cd51eaa
XF
6740 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6741 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6742
44e18199 6743 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6744 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6745
6746 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6747
6748 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6749 buffer for output.
6750
35a89bdd
EZ
67512013-07-29 Eli Zaretskii <eliz@gnu.org>
6752
6753 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6754 initial frame is minibuffer-less. (Bug#14841)
6755
78822e94
MA
67562013-07-29 Michael Albinus <michael.albinus@gmx.de>
6757
6758 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6759 option.
6760
6761 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6762 (tramp-maybe-open-connection): Use it.
6763
9503c190
JB
67642013-07-28 Juanma Barranquero <lekktu@gmail.com>
6765
6766 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6767 minimal set of parameters passed when creating a frame, because
6768 the minibuffer status of a frame cannot be changed later.
6769
d5a845b4
SB
67702013-07-28 Stephen Berman <stephen.berman@gmx.net>
6771
6772 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6773 replace-regexp-in-string and inadvertent omissions in previous change.
6774 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6775 name of filtered items buffer.
d5a845b4 6776
ddeffb17
JB
67772013-07-28 Juanma Barranquero <lekktu@gmail.com>
6778
6779 * desktop.el: Optionally force offscreen frames back onscreen.
6780 (desktop-restoring-reuses-frames): New option.
6781 (desktop--compute-pos, desktop--move-onscreen): New functions.
6782 (desktop--make-frame): Use desktop--move-onscreen.
6783
f5950f7a
AM
67842013-07-27 Alan Mackenzie <acm@muc.de>
6785
6786 Fontify a Java generic method as a function.
6787 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6788 value to t.
6789
ae43b66a
SB
67902013-07-27 Stephen Berman <stephen.berman@gmx.net>
6791
6792 * calendar/todo-mode.el: Add command to rename todo files.
6793 (todo-rename-file): New command.
6794 (todo-key-bindings-t): Add key binding for it. Change the
6795 bindings of todo-filter-regexp-items(-multifile) to use `x'
6796 instead of `r', since the latter is better suited to the new
6797 renaming command.
6798
5ab78d3d
AM
67992013-07-27 Alan Mackenzie <acm@muc.de>
6800
6801 Make Java try-with-resources statement parse properly.
6802 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6803 (c-block-stmt-1-2-key): New language constants/variables.
6804 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6805 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6806 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6807 with c-block-stmt-1-2-key.
5ab78d3d 6808
d85c4d50
JB
68092013-07-27 Juanma Barranquero <lekktu@gmail.com>
6810
6811 * desktop.el (desktop--make-frame): Apply most frame parameters after
6812 creating the frame to force (partially or totally) offscreen frames to
6813 be restored as such.
6814
e4c467f9
XF
68152013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6816
6817 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6818 (Bug#14948)
e4c467f9 6819
7ced0d04
SM
68202013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6821
6822 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6823 `base' arg of backtrace-frame.
6824
fec92060
EZ
68252013-07-26 Eli Zaretskii <eliz@gnu.org>
6826
6827 * simple.el (list-processes): Doc fix.
6828
d58d31fb
JB
68292013-07-26 Juanma Barranquero <lekktu@gmail.com>
6830
6831 * desktop.el (desktop--select-frame):
d85c4d50 6832 Try harder to reuse existing frames.
d58d31fb 6833
53ff3e77
SM
68342013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6837 (edebug-eval): Use backtrace-eval.
6838 (edebug--display, edebug--recursive-edit): Don't let-bind the
6839 edebug-outer-* vars that keep track of variables we locally let-bind.
6840 (edebug-outside-excursion): Don't restore outside values of locally
6841 let-bound vars.
6842 (edebug--display): Use user-error.
6843 (cl-lexical-debug, cl-debug-env): Remove.
6844
045f7a53
JB
68452013-07-26 Juanma Barranquero <lekktu@gmail.com>
6846
6847 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6848 are restored to be sure that they are visible before deleting any
6849 remaining ones.
6850
59070b32
MM
68512013-07-26 Matthias Meulien <orontee@gmail.com>
6852
742a3501
XF
6853 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6854 vc-print-root-log. (Bug#14948)
59070b32 6855
b1fb3596
RS
68562013-07-26 Richard Stallman <rms@gnu.org>
6857
6858 Add aliases for encrypting mail.
6859 * epa.el (epa-mail-aliases): New option.
6860 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6861 Bind inhibit-read-only so read-only text doesn't ruin everything.
6862 (epa-mail-default-recipients): New subroutine broken out.
6863 Handle epa-mail-aliases.
6864
56ea7291
SM
68652013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 Add support for lexical variables to the debugger's `e' command.
6868 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6869 vars, except for debugger-outer-match-data.
6870 (debugger-frame-number): Move check for "on a function call" from
6871 callers into it. Add `skip-base' argument.
6872 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6873 (debugger-env-macro): Only reset the state stored in non-variables,
6874 i.e. current-buffer and match-data.
6875 (debugger-eval-expression): Rewrite using backtrace-eval.
6876 * subr.el (internal--called-interactively-p--get-frame): Remove.
6877 (called-interactively-p):
6878 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6879 `base' arg of backtrace-frame instead.
6880
15ac32d5
GM
68812013-07-26 Glenn Morris <rgm@gnu.org>
6882
8358a09d
GM
6883 * align.el (align-regexp): Doc fix. (Bug#14857)
6884 (align-region): Explicit error if subexpression missing/does not match.
6885
15ac32d5
GM
6886 * simple.el (global-visual-line-mode):
6887 Do not duplicate the mode lighter. (Bug#14858)
6888
f47ad11b
MR
68892013-07-25 Martin Rudalics <rudalics@gmx.at>
6890
6891 * window.el (display-buffer): In display-buffer bind
6892 split-window-keep-point to t, bug#14829.
6893
02530987
JB
68942013-07-25 Juanma Barranquero <lekktu@gmail.com>
6895
6896 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6897 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6898 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6899 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6900 Change accordingly.
f63ebeb5
JB
6901 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6902 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6903
6ccb9cab 69042013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6905
6ccb9cab 6906 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6907
cb3a56d2
JB
69082013-07-25 Juanma Barranquero <lekktu@gmail.com>
6909
6910 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6911 parameter to modify-frame-parameters if the value has not changed;
6912 this is a workaround for bug#14949.
6913 (desktop--make-frame): On cl-delete-if call, check parameter name,
6914 not full parameter.
6915
7aa7fff0
XF
69162013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6917
6918 * vc/vc.el (vc-ignore): New function.
6919
6920 * vc/vc-svn.el (vc-svn-ignore): New function.
6921
6922 * vc/vc-hg.el (vc-hg-ignore): New function.
6923
6924 * vc/vc-git.el (vc-git-ignore): New function.
6925
6926 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6927 (vc-dir-ignore): New function.
6928
6929 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6930 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6931
6932 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6933
6934 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6935
889acc5c
JB
69362013-07-24 Juanma Barranquero <lekktu@gmail.com>
6937
6938 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6939 (desktop-restore-frames): Warn when deleting an existing frame failed.
6940
86c40970
GM
69412013-07-24 Glenn Morris <rgm@gnu.org>
6942
6943 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6944
d5d3c58a
MA
69452013-07-24 Michael Albinus <michael.albinus@gmx.de>
6946
6947 * filenotify.el (file-notify-supported-p):
6948 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6949 Remove functions.
6950
6951 * autorevert.el (auto-revert-use-notify):
6952 (auto-revert-notify-add-watch):
6953 * net/tramp.el (tramp-file-name-for-operation):
6954 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6955 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6956 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6957 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6958 Remove `file-notify-supported-p' entry.
6959
d100084b
GM
69602013-07-24 Glenn Morris <rgm@gnu.org>
6961
6962 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6963 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6964
ac93e56b
SM
69652013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6966
249eea30
SM
6967 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6968 checked with memq (bug#14935).
6969
ac93e56b
SM
6970 * files.el (revert-buffer-function): Use a non-nil default.
6971 (revert-buffer-preserve-modes): Declare var to
6972 provide access to the `preserve-modes' argument.
6973 (revert-buffer): Let-bind it.
6974 (revert-buffer--default): New function, extracted from revert-buffer.
6975
2cdeb903
SM
69762013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6977
6978 * lpr.el: Signal print errors more prominently.
6979 (print-region-function): Don't default to nil.
6980 (lpr-print-region): New function, extracted from print-region-1.
6981 Check lpr's return value and signal an error in case of problem.
6982 (print-region-1): Use it.
6983 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6984 versions instead.
6985 (ps-printer-name): Default to nil.
6986 (ps-printer-name-option): Default to lpr-printer-switch.
6987 (ps-print-region-function): Don't default to nil.
6988 (ps-postscript-code-directory): Simplify default.
6989 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6990 (ps-string-list, ps-eval-switch, ps-flatten-list)
6991 (ps-flatten-list-1): Remove.
6992 (ps-multibyte-buffer): Avoid setq.
6993 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6994 (print-region-function, ps-print-region-function): Don't set them here.
6995
73600831
XF
69962013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6997
0e55c076
XF
6998 * ido.el (ido-fractionp):
6999 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7000 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7001 (ido-max-directory-size, ido-max-dir-file-cache)
7002 (ido-decorations): Doc fix.
7003
73600831
XF
7004 * ansi-color.el: Fix old URL.
7005
3d012865
MM
70062013-07-23 Michael R. Mauger <michael@mauger.com>
7007
e903c210 7008 * progmodes/sql.el: Version 3.3
3d012865
MM
7009 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7010 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7011 (sql-interactive-remove-continuation-prompt): Rewrite, use
7012 functions above. Fix continuation prompt and complete output line
7013 handling.
7014 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7015 redirected output buffer.
7016 (sql-mode): Restore deleted code (Bug#13591).
7017
da77a2e2
JB
70182013-07-23 Juanma Barranquero <lekktu@gmail.com>
7019
7020 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7021
80ff0c71
MA
70222013-07-23 Michael Albinus <michael.albinus@gmx.de>
7023
7024 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7025
7026 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7027 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7028 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7029
b61d71e4
JB
70302013-07-23 Juanma Barranquero <lekktu@gmail.com>
7031
7032 * desktop.el (desktop-clear): Simplify; remove useless checks
7033 against invalid buffer names.
7034 (desktop-list*): Use cl-list*.
7035 (desktop-buffer-info, desktop-create-buffer): Simplify.
7036
c3512092
LL
70372013-07-23 Leo Liu <sdl.web@gmail.com>
7038
7039 * bookmark.el (bookmark-make-record): Restore NAME as a default
7040 value. (Bug#14933)
7041
0ac26976
SM
70422013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7043
7d22ce18
SM
7044 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7045 extracted from autoload--insert-text.
7046 (autoload--insert-text): Remove.
7047 (autoload--print-cookie-text): New function, extracted from
7048 autoload--insert-cookie-text.
7049 (autoload--insert-cookie-text): Remove.
7050 (autoload-generate-file-autoloads): Adjust calls accordingly.
7051
9b2607e8
SM
7052 * winner.el (winner-hook-installed-p): Remove.
7053 (winner-mode): Simplify accordingly.
7054
c43a8618
SM
7055 * subr.el (add-to-list): Fix compiler-macro when `append' is
7056 not constant. Don't use `cl-member' for the base case.
7057
0ac26976
SM
7058 * progmodes/subword.el: Fix boundary case (bug#13758).
7059 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7060 own group.
7061 (subword-backward-regexp): Make it a constant.
7062 (subword-forward-internal): Don't treat a trailing capital as the
7063 beginning of a word.
7064
6874724a
AR
70652013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7066
7067 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7068 global value of tabulated-list-revert-hook (bug#14930).
7069
70f1b5e8
JB
70702013-07-22 Juanma Barranquero <lekktu@gmail.com>
7071
a1c80d9d
JB
7072 * desktop.el: Require 'cl-lib.
7073 (desktop-before-saving-frames-functions): New hook.
7074 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7075 for frames being saved. Rename from desktop--save-minibuffer-frames.
7076 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7077 Do not save frames with non-nil `desktop-dont-save' parameter.
7078 Filter out deleted frames.
a1c80d9d
JB
7079 (desktop--find-frame): Use cl-find-if.
7080 (desktop--select-frame): Use cl-(first|second|third) to access values
7081 of desktop-mini.
7082 (desktop--make-frame): Use cl-delete-if.
7083 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7084 (desktop-restore-frames): Use cl-(first|second|third) to access values
7085 of desktop-mini. Look for visible frame at the end, not while
7086 restoring frames.
7087
70f1b5e8
JB
7088 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7089 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7090 Use string-match-p, looking-at-p (bug#14927).
7091
728dc3cc
JB
70922013-07-21 Juanma Barranquero <lekktu@gmail.com>
7093
56bc453c
JB
7094 * desktop.el (desktop-saved-frame-states):
7095 Rename from desktop--saved-states; all users changed.
7096 (desktop-save-frames): Rename from desktop--save-frames.
7097 Do not save state to desktop file.
7098 (desktop-save): Save desktop-saved-frame-states to desktop file
7099 and reset to nil.
7100 (desktop-restoring-frames-p): New function.
7101 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7102 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7103 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7104
728dc3cc
JB
7105 * desktop.el: Correctly restore iconified frames.
7106 (desktop--filter-iconified-position): New function.
7107 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7108
862f1c9c
GM
71092013-07-20 Glenn Morris <rgm@gnu.org>
7110
c4074c9f
GM
7111 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7112 Let `message' do the formatting.
7113 (def-gdb-preempt-display-buffer): Add explicit format.
7114
d828e5f9
GM
7115 * image-dired.el (image-dired-track-original-file):
7116 Use with-current-buffer.
7117 (image-dired-track-thumbnail): Use with-current-buffer.
7118 Avoid changing point of wrong window.
7119
862f1c9c
GM
7120 * image-dired.el (image-dired-track-original-file):
7121 Avoid changing point of wrong window. (Bug#14909)
7122
f0398ec1 71232013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7124
7125 * progmodes/gdb-mi.el (gdb-done-or-error):
7126 Guard against "%" in gdb output. (Bug#14127)
7127
1451928f
AS
71282013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7129
763a086d
JB
7130 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7131 (Bug#14826)
f7a03897 7132
1451928f
AS
7133 * international/mule.el (coding-system-iso-2022-flags): Fix last
7134 change.
7135
99107004
KH
71362013-07-20 Kenichi Handa <handa@gnu.org>
7137
763a086d
JB
7138 * international/mule.el (coding-system-iso-2022-flags):
7139 Add `8-bit-level-4'. (Bug#8522)
99107004 7140
48494e06
LMI
71412013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7142
8ba8eec5
LMI
7143 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7144 (bug#14815).
7145
dfbc66e3
LMI
7146 * net/eww.el (eww-process-text-input): Allow inputting when the
7147 point is at the start of the line, as the properties aren't
7148 front-sticky.
7149
48494e06
LMI
7150 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7151 degenerate widths.
7152
77c92cb9
RS
71532013-07-19 Richard Stallman <rms@gnu.org>
7154
aec7da77
RS
7155 * epa.el (epa-popup-info-window): Doc fix.
7156
77c92cb9
RS
7157 * subr.el (split-string): New arg TRIM.
7158
945c5bb1
JB
71592013-07-18 Juanma Barranquero <lekktu@gmail.com>
7160
7161 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7162 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7163
e06ec67f
MA
71642013-07-18 Michael Albinus <michael.albinus@gmx.de>
7165
c7064f05 7166 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7167 `file-notify-support'. Do not autoload. Adapt all uses.
7168 (file-notify-supported-p): New defun.
7169
c7064f05
JB
7170 * autorevert.el (auto-revert-use-notify):
7171 Use `file-notify-supported-p' instead of `file-notify-support'.
7172 Adapt docstring.
e06ec67f
MA
7173 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7174
7175 * net/tramp.el (tramp-file-name-for-operation):
7176 Add `file-notify-supported-p'.
7177
7178 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7179 New defun.
7180 (tramp-sh-file-name-handler-alist): Add it as handler for
7181 `file-notify-supported-p '.
7182
7183 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7184 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7185 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7186 Add `ignore' as handler for `file-notify-*' functions.
7187
5dc8a629
EZ
71882013-07-17 Eli Zaretskii <eliz@gnu.org>
7189
7190 * simple.el (line-move-partial, line-move): Don't start vscroll or
7191 scroll-up if the current line is not taller than the window.
7192 (Bug#14881)
7193
77aea2fb
DG
71942013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7195
7196 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7197 highlight question marks in the method names as strings.
ac72c08d
DG
7198 (ruby-block-beg-keywords): Inline.
7199 (ruby-font-lock-keyword-beg-re): Extract from
7200 `ruby-font-lock-keywords'.
77aea2fb 7201
18c26d81
JD
72022013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7203
7204 * frame.el (blink-cursor-blinks): New defcustom.
7205 (blink-cursor-blinks-done): New defvar.
7206 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7207 (blink-cursor-timer-function): Check if number of blinks has been
7208 done on X and NS.
7209 (blink-cursor-suspend, blink-cursor-check): New defuns.
7210
da48522e
GM
72112013-07-15 Glenn Morris <rgm@gnu.org>
7212
7213 * edmacro.el (edmacro-format-keys): Fix previous change.
7214
0463c1ef
PE
72152013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7216
7217 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7218 The hack didn't work outside English locales anyway.
7219
b43f6451
JB
72202013-07-15 Juanma Barranquero <lekktu@gmail.com>
7221
7222 * simple.el (define-alternatives): Rename from alternatives-define,
7223 per RMS' suggestion.
7224
b958c0ad
JB
72252013-07-14 Juanma Barranquero <lekktu@gmail.com>
7226
7227 * desktop.el (desktop-restore-frames): Change default to t.
7228 (desktop-restore-in-current-display): Now offer more options.
7229 (desktop-restoring-reuses-frames): New customization option.
7230 (desktop--saved-states): Doc fix.
7231 (desktop-filter-parameters-alist): New variable, renamed and expanded
7232 from desktop--excluded-frame-parameters.
7233 (desktop--target-display): New variable.
7234 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7235 (desktop--filter-tty*, desktop--filter-*-color)
7236 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7237 (desktop--filter-save-desktop-parm)
7238 (desktop-restore-in-original-display-p): New functions.
7239 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7240 (desktop--save-minibuffer-frames): New function, inspired by a similar
7241 function from Martin Rudalics.
7242 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7243 (desktop--restore-in-this-display-p): Remove.
7244 (desktop--find-frame): Rename from desktop--find-frame-in-display
7245 and add predicate argument.
7246 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7247 (desktop--reuse-list): New variable.
7248 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7249 New functions.
7250 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7251
f6dd8b36
MA
72522013-07-14 Michael Albinus <michael.albinus@gmx.de>
7253
7254 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7255
2ce3c565
DG
72562013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7257
763a086d
JB
7258 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7259 Highlight conversion methods on Kernel.
2ce3c565 7260
2cdb7698
AM
72612013-07-13 Alan Mackenzie <acm@muc.de>
7262
7263 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7264 and comment it out. This out-commenting enables certain C++
7265 declarations to be parsed correctly.
7266
1a67b811
EZ
72672013-07-13 Eli Zaretskii <eliz@gnu.org>
7268
1b796d6b
EZ
7269 * international/mule.el (define-coding-system): Doc fix.
7270
1a67b811
EZ
7271 * simple.el (default-font-height): Don't call font-info if the
7272 frame's default font didn't change since the frame was created.
7273 (Bug#14838)
7274
58fbe886
LL
72752013-07-13 Leo Liu <sdl.web@gmail.com>
7276
7277 * ido.el (ido-read-file-name): Guard against non-symbol value.
7278
1f0480d4
FEG
72792013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7280
7281 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7282 in nested defuns.
7283
97ead0e5
LL
72842013-07-13 Leo Liu <sdl.web@gmail.com>
7285
7286 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7287 ido-set-matches call. (Bug#6852)
7288
0880a952
DG
72892013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7290
7291 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7292 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7293 Ruby 2.0.
7294 (ruby-font-lock-keywords): Distinguish calls to functions with
7295 module-like names from module references. Highlight character
7296 literals.
7297
a7d8babb
SDJ
72982013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7299
7300 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7301 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7302
acfcc8c5
JB
73032013-07-12 Juanma Barranquero <lekktu@gmail.com>
7304
7305 * desktop.el (desktop--v2s): Remove unused local variable.
7306 (desktop-save-buffer): Make defvar-local; adjust docstring.
7307 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7308 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7309
051f2775
AS
73102013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7311
7312 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7313
f24e7572
GM
73142013-07-12 Eli Zaretskii <eliz@gnu.org>
7315
7316 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7317 (Bug#14842)
7318
539a920c
GM
73192013-07-12 Glenn Morris <rgm@gnu.org>
7320
7321 * doc-view.el: Require cl-lib at runtime too.
7322 (doc-view-remove-if): Remove.
7323 (doc-view-search-next-match, doc-view-search-previous-match):
7324 Use cl-remove-if.
7325
7326 * edmacro.el: Require cl-lib at runtime too.
7327 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7328 (edmacro-mismatch, edmacro-subseq): Remove.
7329
7330 * shadowfile.el: Require cl-lib.
7331 (shadow-remove-if): Remove.
7332 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7333 Use cl-remove-if.
7334
7335 * wid-edit.el: Require cl-lib.
7336 (widget-choose): Use cl-remove-if.
7337 (widget-remove-if): Remove.
7338
7339 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7340 (ebrowse-delete-if-not): Remove.
7341 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7342 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7343 Use cl-delete-if-not.
7344
1048af7c
JB
73452013-07-12 Juanma Barranquero <lekktu@gmail.com>
7346
7347 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7348 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7349
6c0674ee
LL
73502013-07-12 Leo Liu <sdl.web@gmail.com>
7351
7352 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7353
a19b3c2d
GM
73542013-07-11 Glenn Morris <rgm@gnu.org>
7355
4582a01c
GM
7356 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7357 (edebug-gensym-index, edebug-gensym):
7358 Remove reimplementation of cl-gensym.
7359 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7360
7361 * thumbs.el: Require cl-lib at run-time too.
7362 (thumbs-gensym-counter, thumbs-gensym):
7363 Remove reimplementation of cl-gensym.
7364 (thumbs-temp-file): Use cl-gensym.
7365
a19b3c2d
GM
7366 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7367 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7368 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7369 (ert--union, ert--gensym-counter, ert--gensym-counter)
7370 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7371 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7372 (ert-make-test-unbound, ert--expand-should-1)
7373 (ert--expand-should, ert--should-error-handle-error)
7374 (should-error, ert--explain-equal-rec)
7375 (ert--plist-difference-explanation, ert-select-tests)
7376 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7377 Use cl-lib functions rather than reimplementations.
7378
88f6a933
MA
73792013-07-11 Michael Albinus <michael.albinus@gmx.de>
7380
7381 * net/tramp.el (tramp-methods): Extend docstring.
7382 (tramp-connection-timeout): New defcustom.
7383 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7384 (with-tramp-progress-reporter): Simplify.
7385 (tramp-process-actions): Improve messages.
7386
7387 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7388 * net/tramp-sh.el (tramp-maybe-open-connection):
7389 Use `tramp-connection-timeout'.
7390 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7391 (Bug#14808)
7392
a43d577e
LL
73932013-07-11 Leo Liu <sdl.web@gmail.com>
7394
7395 * ido.el (ido-read-file-name): Conform to the requirements of
7396 read-file-name. (Bug#11861)
7397 (ido-read-directory-name): Conform to the requirements of
7398 read-directory-name.
7399
d77974bf
JB
74002013-07-11 Juanma Barranquero <lekktu@gmail.com>
7401
7402 * subr.el (delay-warning): New function.
7403
35cb8a3e
EZ
74042013-07-10 Eli Zaretskii <eliz@gnu.org>
7405
7406 * simple.el (default-line-height): New function.
7407 (line-move-partial, line-move): Use it instead of computing the
7408 line height inline.
7409 (line-move-partial): Always compute ROWH. If the last line is
7410 partially-visible, but its text is completely visible, allow
7411 cursor to enter such a partially-visible line.
7412
525c5c77
MA
74132013-07-10 Michael Albinus <michael.albinus@gmx.de>
7414
7415 Improve error messages. (Bug#14808)
7416
7417 * net/tramp.el (tramp-current-connection): New defvar, moved from
7418 tramp-sh.el.
0ac26976 7419 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7420 needed anymore.
0ac26976
SM
7421 (tramp-error-with-buffer): Show message in minibuffer.
7422 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7423 (with-tramp-progress-reporter): Improve messages.
7424 (tramp-process-actions): Use progress reporter. Delete process in
7425 case of error. Improve messages.
7426
763a086d
JB
7427 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7428 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7429 (tramp-current-connection): Remove.
525c5c77
MA
7430 (tramp-maybe-open-connection): The car of
7431 `tramp-current-connection' are the first 3 slots of the vector.
7432
c7a4d368
TZ
74332013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7434
7435 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7436 inside continued strings.
7437
954b166e
PE
74382013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7439
7440 Timestamp fixes for undo (Bug#14824).
7441 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7442
56973319
LL
74432013-07-10 Leo Liu <sdl.web@gmail.com>
7444
7445 * files.el (require-final-newline): Allow safe local value.
7446 (Bug#14834)
7447
5550a72c
LL
74482013-07-09 Leo Liu <sdl.web@gmail.com>
7449
7450 * ido.el (ido-read-directory-name): Handle fallback.
7451 (ido-read-file-name): Update DIR to ido-current-directory.
7452 (Bug#1516)
c28b9050 7453 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7454
70c46b28
DG
74552013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7456
7457 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7458 "autoload". Remove "warn lower camel case" section, previously
7459 commented out. Highlight negation char. Do not highlight the
7460 target in singleton method definitions.
7461
0b64b838
SM
74622013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7fd72e2c
SM
7464 * faces.el (tty-setup-hook): Declare the hook.
7465
0b64b838
SM
7466 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7467 and detect when a guard/pred depends on local vars (bug#14773).
7468 (pcase--u1): Adjust caller.
7469
ab49d60b
EZ
74702013-07-08 Eli Zaretskii <eliz@gnu.org>
7471
7472 * simple.el (line-move-partial, line-move): Account for
7473 line-spacing.
701d79aa
EZ
7474 (line-move-partial): Avoid setting vscroll when the last
7475 partially-visible line in window is of default height.
ab49d60b 7476
2d756ae0
LMI
74772013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7478
7479 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7480 been used a while.
7481
ed095bd7
JB
74822013-07-07 Juanma Barranquero <lekktu@gmail.com>
7483
7484 * subr.el (read-quoted-char): Remove unused local variable `char'.
7485
f1e6674b
MK
74862013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7487
584ee3fc
GM
7488 * ediff.el (ediff-version): Version update.
7489 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7490 (ediff-merge-with-ancestor-command, ediff-directories-command)
7491 (ediff-directories3-command, ediff-merge-directories-command)
7492 (ediff-merge-directories-with-ancestor-command): New functions.
7493 All are command-line interfaces to ediff: to facilitate calling
7494 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7495
7496 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7497 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7498
584ee3fc
GM
7499 * viper.el (viper-version): Version update.
7500 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7501
584ee3fc
GM
75022013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7503
7504 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7505 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7506 (viper-intercept-ESC-key): Simplify.
7507 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7508 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7509 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7510 (viper-setup-ESC-to-escape): New functions.
7511 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7512 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7513
9aff9b38
EZ
75142013-07-07 Eli Zaretskii <eliz@gnu.org>
7515
5165d44a
JB
7516 * simple.el (default-font-height, window-screen-lines):
7517 New functions.
9aff9b38
EZ
7518 (line-move, line-move-partial): Use them instead of
7519 frame-char-height and window-text-height. This makes scrolling
7520 text smoother when the buffer's default face uses a font that is
7521 different from the frame's default font.
7522
1afb1d07
JD
75232013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7524
7525 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7526 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7527
23de972a
EZ
75282013-07-06 Eli Zaretskii <eliz@gnu.org>
7529
7530 * simple.el (line-move-partial): Adjust the row returned by
7531 posn-at-point for the current window-vscroll. (Bug#14567)
7532
54a42486
MA
75332013-07-06 Michael Albinus <michael.albinus@gmx.de>
7534
7535 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7536 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7537 spaces.
7538
34ada5f4
MR
75392013-07-06 Martin Rudalics <rudalics@gmx.at>
7540
7541 * window.el (window-state-put-stale-windows): New variable.
7542 (window--state-put-2): Save list of windows without matching buffer.
7543 (window-state-put): Remove "bufferless" windows if possible.
7544
11e03d89
JB
75452013-07-06 Juanma Barranquero <lekktu@gmail.com>
7546
7547 * simple.el (alternatives-define): Remove leftover :group keyword.
7548 Tweak docstring.
7549
3504a4be
LL
75502013-07-06 Leo Liu <sdl.web@gmail.com>
7551
7552 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7553 (ido-enable-virtual-buffers): New variable.
7554 (ido-buffer-internal, ido-toggle-virtual-buffers)
7555 (ido-make-buffer-list): Use it.
7556 (ido-exhibit): Support turning on and off virtual buffers
7557 automatically.
7558
61e56e2c
JB
75592013-07-06 Juanma Barranquero <lekktu@gmail.com>
7560
7561 * simple.el (alternatives-define): New macro.
7562
321e1a9c
SM
75632013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7564
7565 * subr.el (read-quoted-char): Use read-key.
7566 (sit-for): Let read-event decode tty input (bug#14782).
7567
d610f6dd
SB
75682013-07-05 Stephen Berman <stephen.berman@gmx.net>
7569
7570 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7571 mode command and externally. Fix various related bugs.
7572 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7573 (todo-delete-file): New command.
7574 (todo-check-file): New function.
7575 (todo-show): Handle external deletion of the file we're trying to
7576 show (bug#14688). Replace called-interactively-p by an optional
7577 prefix argument to avoid problematic interaction with catch form
7578 when byte compiled (bug#14702).
7579 (todo-quit): Handle external deletion of the archive's todo file.
7580 Make sure the buffer that was visiting the archive file is still
7581 live before trying to bury it.
7582 (todo-category-completions): Handle external deletion of any
7583 category completion files.
7584 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7585 of todo files, in case of external deletion.
7586 (todo-add-file): Replace unnecessary setq by let-binding.
7587 (todo-find-archive): Check whether there are any archives.
7588 Replace unnecessary setq by let-binding.
7589 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7590 archive buffer whether or not the archive already exists.
7591 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7592 check if the archive is new; if it is, update list of archives.
7593 (todo-default-todo-file): Allow nil to be a valid value for when
7594 there are no todo files.
7595 (todo-reevaluate-default-file-defcustom): Use corrected definition
7596 of todo-default-todo-file.
7597 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7598 (todo-delete-category, todo-show-categories-table)
7599 (todo-category-number): Clarify comment.
7600 (todo-filter-items): Clarify documentation string.
7601 (todo-show-current-file, todo-display-as-todo-file)
7602 (todo-reset-and-enable-done-separator): Tweak documentation string.
7603 (todo-done-separator): Make separator length window-width, since
7604 bug#2749 is now fixed.
7605
ddbdfd6f
MA
76062013-07-05 Michael Albinus <michael.albinus@gmx.de>
7607
321e1a9c
SM
7608 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7609 Support both "gvfs-monitor-dir" and "inotifywait".
7610 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7611 `tramp-sh-file-notify-process-filter'.
7612 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7613 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7614
96eb829a
LL
76152013-07-05 Leo Liu <sdl.web@gmail.com>
7616
7617 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7618
cf13177e
YM
76192013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7620
7621 * frame.el (display-pixel-height, display-pixel-width)
7622 (display-mm-height, display-mm-width): Mention behavior on
7623 multi-monitor setups in docstrings.
7624 (w32-display-monitor-attributes-list): Declare function.
7625 (display-monitor-attributes-list): Use it.
7626
864c58ca
MA
76272013-07-04 Michael Albinus <michael.albinus@gmx.de>
7628
7629 * filenotify.el: New package.
7630
7631 * autorevert.el (top): Require filenotify.el.
7632 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7633 instead.
7634 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7635 (auto-revert-notify-handler): Use `file-notify-*' functions.
7636
7637 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7638
321e1a9c
SM
7639 * net/tramp.el (tramp-file-name-for-operation):
7640 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7641
7642 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7643 for `file-notify-add-watch' and `file-notify-rm-watch'.
7644 (tramp-process-sentinel): Improve trace.
7645 (tramp-sh-handle-file-notify-add-watch)
7646 (tramp-sh-file-notify-process-filter)
7647 (tramp-sh-handle-file-notify-rm-watch)
7648 (tramp-get-remote-inotifywait): New defuns.
7649
96673afe
JL
76502013-07-03 Juri Linkov <juri@jurta.org>
7651
7652 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7653 call of `occur-read-primary-args' to interactive spec.
7654
7655 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7656 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7657
924494f4
MM
76582013-07-03 Matthias Meulien <orontee@gmail.com>
7659
7660 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7661 `Buffer-menu-multi-occur'. Add it to the menu.
7662 (Buffer-menu-mode): Document it in docstring.
7663 (Buffer-menu-multi-occur): New command. (Bug#14673)
7664
56f75efc
DG
76652013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7666
7667 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7668 keywords and built-ins.
7669
9b057d61
GM
76702013-07-03 Glenn Morris <rgm@gnu.org>
7671
208dee4d
GM
7672 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7673
9b057d61
GM
7674 Make info-xref checks case-sensitive by default
7675 * info.el (Info-find-node, Info-find-in-tag-table)
7676 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7677 Add option for exact case matching of nodes.
7678 * info-xref.el (info-xref): New custom group.
7679 (info-xref-case-fold): New option.
7680 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7681
e01aa29c
LL
76822013-07-03 Leo Liu <sdl.web@gmail.com>
7683
7684 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7685
3086ca2e
DG
76862013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7687
7688 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7689 middle of block statement initially, lower the depth. Remove
7690 FIXME comment, not longer valid. Remove middle of block statement
7691 detection, no need to do that anymore since we've been using
7692 `ruby-parse-region' here.
7693
a3b49114
JD
76942013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7695
7696 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7697
08e5c823 76982013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7699
7700 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7701
2addf922
JB
77022013-07-01 Juanma Barranquero <lekktu@gmail.com>
7703
7704 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7705 (desktop-restore-in-current-display): New customization option.
7706 (desktop--excluded-frame-parameters): Add `font'.
7707 (desktop--save-frames): Rename from desktop--save-windows.
7708 (desktop--restore-in-this-display-p): New function.
7709 (desktop--make-full-frame): Remove unwanted width/height from
7710 full(width|height) frames.
7711 (desktop--restore-frames): Rename from desktop--restore-windows.
7712 Obey desktop-restore-current-display. Do not delete old frames or
7713 select a new frame unless we were able to restore at least one frame.
7714
ef099a94
MN
77152013-06-30 Michal Nazarewicz <mina86@mina86.com>
7716
7717 * files.el (find-file-noselect): Simplify conditional expression.
7718
a12bf61e 7719 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
7720 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7721
7722 Add `remember-notes' function to store random notes across Emacs
7723 restarts.
a12bf61e 7724 * textmodes/remember.el (remember-data-file): Add :set callback to affect
ef099a94
MN
7725 notes buffer (if any).
7726 (remember-notes): New command.
7727 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7728 New defcustoms for the `remember-notes' function.
7729 (remember-notes-save-and-bury-buffer): New command.
7730 (remember-notes-mode-map): New variable.
7731 (remember-mode): New minor mode.
7732 (remember-notes--kill-buffer-query): New function.
7733 * startup.el (initial-buffer-choice): Add notes to custom type.
7734
0865d506
EZ
77352013-06-30 Eli Zaretskii <eliz@gnu.org>
7736
0ba54312
EZ
7737 * bindings.el (right-char, left-char): Don't call sit-for, this is
7738 no longer needed. Use arithmetic comparison only for numerical
7739 arguments.
7740
ef099a94
MN
7741 * international/mule-cmds.el (select-safe-coding-system):
7742 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7743
2fae38e5
LMI
77442013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7745
7746 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7747 progression on degenerate tables.
ef099a94 7748 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7749
a47cbd64
JB
77502013-06-30 Juanma Barranquero <lekktu@gmail.com>
7751
7752 Some fixes and improvements for desktop frame restoration.
7753 It is still experimental and disabled by default.
7754 * desktop.el (desktop--save-windows): Put the selected frame at
7755 the head of the list.
7756 (desktop--make-full-frame): New function.
7757 (desktop--restore-windows): Try to re-select the frame that was
7758 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7759 just show an error message and continue. Set up maximized frames
7760 so they have default non-maximized dimensions.
a47cbd64 7761
6dbafa30
DG
77622013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7763
ef099a94
MN
7764 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7765 Don't start heredoc inside a string or comment.
6dbafa30 7766
4c672a0f
EZ
77672013-06-29 Eli Zaretskii <eliz@gnu.org>
7768
7769 * bindings.el (visual-order-cursor-movement): New defcustom.
7770 (right-char, left-char): Provide visual-order cursor motion by
7771 calling move-point-visually. Update the doc strings.
7772
50960f36
KH
77732013-06-28 Kenichi Handa <handa@gnu.org>
7774
7775 * international/mule.el (define-coding-system): New coding system
7776 properties :inhibit-null-byte-detection,
7777 :inhibit-iso-escape-detection, and :prefer-utf-8.
7778 (set-buffer-file-coding-system): If :charset-list property of
7779 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7780 appropriate for setting.
7781
c1ea3abf
JB
7782 * international/mule-cmds.el (select-safe-coding-system):
7783 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7784 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7785
7786 * international/mule-conf.el (prefer-utf-8): New coding system.
7787 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7788 files.
7789
75dbaf9d
IK
77902013-06-28 Ivan Kanis <ivan@kanis.fr>
7791
eadb6068
IK
7792 * net/shr.el (shr-render-region): New function.
7793
75dbaf9d
IK
7794 * net/eww.el: Autoload `eww-browse-url'.
7795
9ea5cf9f
DG
77962013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7797
c1ea3abf
JB
7798 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7799 Adapt to `package-desc-version' being a list.
7800 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7801 archive element.
7802
39c0e36f
JB
78032013-06-27 Juanma Barranquero <lekktu@gmail.com>
7804
7805 New experimental feature to save&restore window and frame setup.
7806 * desktop.el (desktop-save-windows): New defcustom.
7807 (desktop--saved-states): New var.
7808 (desktop--excluded-frame-parameters): New defconst.
7809 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7810 (desktop--restore-windows, desktop--save-windows): New functions.
7811 (desktop-save): Call `desktop--save-windows'.
7812 (desktop-read): Call `desktop--restore-windows'.
7813
7f13406b
LMI
78142013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7815
ef099a94 7816 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7817
1e072639
SB
78182013-06-27 Stephen Berman <stephen.berman@gmx.net>
7819
7820 * info.el (Info-try-follow-nearest-node): Move search for footnote
7821 above search for node name to prevent missing a footnote (bug#14717).
7822
f3e2cbde
SB
78232013-06-27 Stephen Berman <stephen.berman@gmx.net>
7824
7825 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7826
99906aa0
LL
78272013-06-27 Leo Liu <sdl.web@gmail.com>
7828
7829 * net/eww.el (eww-read-bookmarks): Check file size.
7830
539f75f4
SM
78312013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7832
7833 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7834 advice--pending if newdef is nil or an autoload (bug#13820).
7835 (advice-mapc): New function.
7836
843571cb
LMI
78372013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7838
7839 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7840 probably.
23a75d7f 7841 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7842 (eww-add-bookmark): New command.
7843 (eww-bookmark-mode): New mode and commands.
a285ce99 7844 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7845 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7846
f2136e1e
GM
78472013-06-26 Glenn Morris <rgm@gnu.org>
7848
eab35f39
GM
7849 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7850 (hfy-size): Handle ttys. (Bug#14668)
7851
f2136e1e
GM
7852 * info-xref.el: Update for Texinfo 5 change in *note format.
7853 (info-xref-node-re, info-xref-note-re): New constants.
7854 (info-xref-check-buffer): Use info-xref-note-re.
7855
a49ff80c
SM
78562013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7857
a343d218
SM
7858 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7859
a49ff80c
SM
7860 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7861 nil terminate the loop (bug#14718).
7862
8308f184
LMI
78632013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7864
7865 * net/eww.el: Rework history traversal. When going forward/back,
7866 put these actions into the history, too, so that they can be
7867 replayed.
26bf2b82 7868 (eww-render): Move the history reset to the correct buffer.
8308f184 7869
ec64c273
JL
78702013-06-25 Juri Linkov <juri@jurta.org>
7871
7872 * files-x.el (modify-dir-local-variable): Change the header comment
7873 in the file with directory local variables. (Bug#14692)
7874
e080a9d7
JL
7875 * files-x.el (read-file-local-variable-value): Add `default'.
7876 (Bug#14710)
7877
bfbc93a1
IK
78782013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7879
7880 * net/eww.el (eww-make-unique-file-name): Create a unique file
7881 name before saving to entering `y' accidentally asynchronously.
7882
78832013-06-25 Ivan Kanis <ivan@kanis.fr>
7884
7885 * net/eww.el (eww-download): New command and keystroke.
7886
16f74f10
LMI
78872013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7888
a49ff80c 7889 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7890
7891 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7892 be more consistent with Info and dired.
7893
7894 * net/eww.el (eww-mode-map): Ditto.
7895
12059709
SM
78962013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7899 packages from archives.
7900 (package-archive-contents): Change format; include obsolete packages.
7901 (package-desc): Use `dir' to mark builtin packages.
7902 (package--from-builtin): Set the `dir' field to `builtin'.
7903 (generated-autoload-file, version-control): Declare.
7904 (package-compute-transaction): Change first arg and return value to be
7905 lists of package-descs. Adjust to new package-archive-contents format.
7906 (package--add-to-archive-contents): Adjust to new
7907 package-archive-contents format.
7908 (package-download-transaction): Arg is now a list of package-descs.
7909 (package-install): If `pkg' is a package name, pass it as
7910 a requirement, so it is subject to the usual (e.g. disabled) checks.
7911 (describe-package): Accept package-desc as well.
7912 (describe-package-1): Describe a specific package-desc. Add links to
7913 other package-descs for the same package name.
7914 (package-menu-describe-package): Pass the actual package-desc.
7915 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7916 works correctly.
7917 (package-desc-status): New function.
7918 (package-menu--refresh): New function, extracted
7919 from package-menu--generate.
7920 (package-menu--generate): Use it.
7921 (package-delete): Update package-alist.
7922 (package-menu-execute): Don't call package-initialize.
7923
7924 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7925 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7926 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7927 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7928 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7929 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7930
8bbdea0f
MR
79312013-06-25 Martin Rudalics <rudalics@gmx.at>
7932
7933 * window.el (window--state-get-1): Workaround for bug#14527.
7934 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7935
e82b0991
LMI
79362013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7937
7938 * net/eww.el (eww-back-url): Implement the history by stashing all
7939 the data into a list.
d3f0f918 7940 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7941
c763842b
SM
79422013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7943
7944 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7945 for values and use read--expression for expressions (bug#14710).
7946 (read-file-local-variable): Avoid setq.
7947 (read-file-local-variable-mode): Use minor-mode-list.
7948
bceff189
RW
79492013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7950
864c58ca 7951 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7952 for DOI URLs.
7953
45f431c6
RW
79542013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7955
864c58ca 7956 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7957 Update imenu-support when dialect changes.
7958
f42d8237
LL
79592013-06-25 Leo Liu <sdl.web@gmail.com>
7960
7961 * ido.el (ido-read-internal): Allow forward slash on windows.
7962
be549ce6
LMI
79632013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7964
7965 * net/eww.el (eww): Start of strings is \\`, not ^.
7966
71d4c19d
IK
79672013-06-24 Ivan Kanis <ivan@kanis.fr>
7968
5196f88a
IK
7969 * net/shr.el (shr-browse-url): Fix interactive spec.
7970
71d4c19d
IK
7971 * net/eww.el (eww): Add a trailing slash to domain names.
7972
ae36ca55
JB
79732013-06-24 Juanma Barranquero <lekktu@gmail.com>
7974
7975 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7976
0ebd92a3
LMI
79772013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7978
bdaa086b
LMI
7979 * net/shr.el (shr-browse-url): Use an external browser if given a
7980 prefix.
7981
c763842b 7982 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7983
b89fc156
IK
79842013-06-24 Ivan Kanis <ivan@kanis.fr>
7985
7986 * net/eww.el (eww): Work more correctly for file: URLs.
7987 (eww-detect-charset): Allow quoted charsets.
7988 (eww-yank-page-url): New command and keystroke.
7989
18eb4bca
DU
79902013-06-24 Daiki Ueno <ueno@gnu.org>
7991
7992 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7993 file name of gpg executable.
7994 (epg-context-program): New function.
7995 (epg-context-home-directory): New function.
7996 (epg-context-set-program): New function.
7997 (epg-context-set-home-directory): New function.
7998 (epg--start): Use `epg-context-program' instead of
7999 'epg-gpg-program'.
8000 (epg--list-keys-1): Likewise.
8001
6c6268c8
LL
80022013-06-24 Leo Liu <sdl.web@gmail.com>
8003
8004 * ido.el (ido-read-internal): Fix bug#14620.
8005
5e400cb3
JB
80062013-06-23 Juanma Barranquero <lekktu@gmail.com>
8007
8008 * faces.el (face-documentation): Simplify.
8009 (read-face-attribute, tty-find-type, x-resolve-font-name):
8010 Use `string-match-p'.
8011 (list-faces-display): Use `string-match-p'. Simplify.
8012 (face-spec-recalc): Check face to avoid face alias loops.
8013 (read-color): Use `string-match-p' and non-capturing parenthesis.
8014
f3f9606c
LMI
80152013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8016
8017 * net/shr.el (shr-rescale-image): Use the new
8018 :max-width/:max-height functionality.
8019
a3ca09b9
IK
80202013-06-23 Ivan Kanis <ivan@kanis.fr>
8021
8022 * net/eww.el (eww-search-prefix): New variable.
8023 (eww): Use it.
f865b474
IK
8024 (eww-external-browser): New variable.
8025 (eww-mode-map): New keystroke.
8026 (eww-browse-with-external-browser): New command.
a3ca09b9 8027
e854cfc7
IK
8028 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8029
18bb9e21
JB
80302013-06-23 Juanma Barranquero <lekktu@gmail.com>
8031
8032 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8033 Don't skip aligning the next header field when padding is 0;
8034 otherwise, field width is not respected unless the title is as
8035 wide as the field.
8036
5b165ade
SM
80372013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8038
8039 * emacs-lisp/package.el (package-el-version): Remove.
8040 (package-process-define-package): Fix inf-loop.
8041 (package-install): Allow symbols as arguments again.
8042
12adebe9
DG
80432013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8044
8045 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8046 add some more keyword-like methods.
8047 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8048
388573ee
JB
80492013-06-22 Juanma Barranquero <lekktu@gmail.com>
8050
8051 * bs.el (bs-buffer-show-mark): Make defvar-local.
8052 (bs-mode): Use setq-local.
8053
8054 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8055 (emacs-lock--try-unlocking): Make defvar-local.
8056
4582a01c 80572013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8058
2663dd23
GM
8059 * play/cookie1.el (cookie-apropos): Minor simplification.
8060
3d94f3ad
GM
8061 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8062
f72e2fdb
DG
80632013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8064
8065 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8066 `regexp-opt', it breaks the build during dumping.
8067
73eab938
DG
80682013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8069
c763842b
SM
8070 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8071 Highlight keyword-like methods on Kernel and Module with
73eab938 8072 font-lock-builtin-face.
5cf8176d
DG
8073 (auto-mode-alist): Consolidate different entries into one regexp
8074 and add more *file-s.
73eab938 8075
d26255f6
SB
80762013-06-21 Stephen Berman <stephen.berman@gmx.net>
8077
8078 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8079
8080 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8081 (diary-entry): Use it in the action of this button type instead of
8082 diary-goto-entry.
8083
8084 * calendar/todo-mode.el: New version.
8085 (todo-add-category): Append new category to end of file and give
8086 it the highest number, instead of putting it at the beginning and
8087 giving it 0. Incorporate noninteractive functionality.
8088 (todo-forward-category): Adapt to 1-based category numbering.
8089 Allow skipping over archived categories.
8090 (todo-backward-category): Derive from todo-forward-category.
8091 (todo-backward-item, todo-forward-item): Make noninteractive and
8092 delegate interactive part to new commands. Make sensitive to done items.
8093 (todo-categories): Make value an alist of category names and
8094 vectors of item counts.
8095 (todo-category-beg): Make a defconst.
8096 (todo-category-number): Use 1 instead of 0 as initial value.
8097 (todo-category-select): Make sensitive to overlays, optional item
8098 highlighting and done items.
8099 (todo-delete-item): Make sensitive to overlays and marked and done items.
8100 (todo-edit-item): Make sensitive to overlays and editing of
8101 date/time header optional. Add format checks.
8102 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8103 no-op if point is not on an item. Advertise using todo-edit-quit.
8104 (todo-edit-mode): Make sensitive to new format, font-locking, and
8105 multiple todo files.
8106 (todo-insert-item, todo-insert-item-here): Derive from
8107 todo-basic-insert-item and extend functionality.
8108 (todo-item-end, todo-item-start): Make sensitive to done items.
8109 (todo-item-string): Don't return text properties. Restore point.
8110 (todo-jump-to-category): Make sensitive to multiple todo files and
8111 todo archives. Use extended category completion.
8112 (todo-lower-item, todo-raise-item): Rename to *-priority and
8113 derive from todo-set-item-priority.
8114 (todo-mode): Derive from special-mode. Make sensitive to new
8115 format, font-locking and multiple todo files. Make read-only.
8116 (todo-mode-map): Don't suppress digit keys, so they can supply
8117 prefix arguments. Add many new key bindings.
8118 (todo-prefix): Insert as an overlay instead of file text.
8119 Change semantics from diary date expression to purely visual mark.
8120 (todo-print): Rename to todo-print-buffer. Make buffer display
8121 features printable. Remove option to restrict number of items
8122 printed. Add option to print to file.
8123 (todo-print-function): Rename to todo-print-buffer-function.
8124 (todo-quit): Extend to handle exiting new todo modes.
8125 (todo-remove-item): Make sensitive to overlays.
8126 (todo-save): Extend to buffers of filtered items.
8127 (todo-show): Make sensitive to done items, multiple todo files and
8128 new todo modes. Offer to convert legacy todo file before creating
8129 first new todo file.
8130 (todo-show-priorities): Rename to todo-top-priorities.
8131 Change semantics of value 0.
8132 (todo-top-priorities): Rename to todo-filter-top-priorities,
8133 derive from todo-filter-items and extend functionality.
8134 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8135 and extend functionality to other types of filtered items.
8136 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8137 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8138 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8139 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8140 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8141 (todo-edit-mode-hook, todo-entry-prefix-function)
8142 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8143 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8144 (todo-initials, todo-insert-threshold, todo-item-string-start)
8145 (todo-line-string, todo-menu, todo-mode-hook)
8146 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8147 (todo-print-priorities, todo-remove-separator)
8148 (todo-save-top-priorities-too, todo-string-count-lines)
8149 (todo-string-multiline-p, todo-time-string-format)
8150 (todo-tmp-buffer-name): Remove.
8151 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8152 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8153 (todo-edit-category-diary-inclusion)
8154 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8155 (todo-edit-file, todo-edit-item-date-day)
8156 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8157 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8158 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8159 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8160 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8161 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8162 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8163 (todo-filter-top-priorities-multifile, todo-find-archive)
8164 (todo-find-filtered-items-file, todo-go-to-source-item)
8165 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8166 (todo-jump-to-archive-category, todo-lower-category)
8167 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8168 (todo-move-category, todo-move-item, todo-next-button)
8169 (todo-next-item, todo-padded-string, todo-powerset)
8170 (todo-previous-button, todo-previous-item)
8171 (todo-print-buffer-to-file, todo-raise-category)
8172 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8173 (todo-set-category-number, todo-set-item-priority)
8174 (todo-set-top-priorities-in-category)
8175 (todo-set-top-priorities-in-file, todo-show-categories-table)
8176 (todo-sort-categories-alphabetically-or-numerically)
8177 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8178 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8179 (todo-toggle-item-header, todo-toggle-item-highlighting)
8180 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8181 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8182 (todo-unarchive-items, todo-unmark-category): New commands.
8183 (todo-absolute-file-name, todo-add-to-buffer-list)
8184 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8185 (todo-basic-insert-item, todo-category-completions)
8186 (todo-category-number, todo-category-string-matcher-1)
8187 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8188 (todo-check-format, todo-clear-matches)
8189 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8190 (todo-current-category, todo-date-string-matcher)
8191 (todo-define-insertion-command, todo-diary-expired-matcher)
8192 (todo-diary-goto-entry, todo-diary-item-p)
8193 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8194 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8195 (todo-done-item-section-p, todo-done-separator)
8196 (todo-done-string-matcher, todo-files, todo-filter-items)
8197 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8198 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8199 (todo-insert-category-line, todo-insert-item-from-calendar)
8200 (todo-insert-sort-button, todo-insert-with-overlays)
8201 (todo-insertion-command-name, todo-insertion-key-bindings)
8202 (todo-label-to-key, todo-longest-category-name-length)
8203 (todo-make-categories-list, todo-mode-external-set)
8204 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8205 (todo-modes-set-3, todo-multiple-filter-files)
8206 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8207 (todo-read-category, todo-read-date, todo-read-dayname)
8208 (todo-read-file-name, todo-read-time)
8209 (todo-reevaluate-category-completions-files-defcustom)
8210 (todo-reevaluate-default-file-defcustom)
8211 (todo-reevaluate-filelist-defcustoms)
8212 (todo-reevaluate-filter-files-defcustom)
8213 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8214 (todo-reset-done-separator, todo-reset-done-separator-string)
8215 (todo-reset-done-string, todo-reset-global-current-todo-file)
8216 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8217 (todo-reset-prefix, todo-set-categories)
8218 (todo-set-date-from-calendar, todo-set-show-current-file)
8219 (todo-set-top-priorities, todo-short-file-name)
8220 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8221 (todo-total-item-counts, todo-update-buffer-list)
8222 (todo-update-categories-display, todo-update-categories-sexp)
8223 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8224 New functions.
8225 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8226 New major modes.
8227 (todo-categories, todo-display, todo-edit, todo-faces)
8228 (todo-filtered): New defgroups.
8229 (todo-archived-only, todo-button, todo-category-string, todo-date)
8230 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8231 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8232 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8233 (todo-add-item-if-new-category, todo-always-add-time-string)
8234 (todo-categories-align, todo-categories-archived-label)
8235 (todo-categories-category-label, todo-categories-diary-label)
8236 (todo-categories-done-label, todo-categories-number-separator)
8237 (todo-categories-todo-label, todo-categories-totals-label)
8238 (todo-category-completions-files, todo-completion-ignore-case)
8239 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8240 (todo-done-separator-string, todo-done-string)
8241 (todo-files-function, todo-filter-done-items, todo-filter-files)
8242 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8243 (todo-initial-category, todo-initial-file, todo-item-mark)
8244 (todo-legacy-date-time-regexp, todo-mode-line-function)
8245 (todo-nondiary-marker, todo-number-prefix)
8246 (todo-print-buffer-function, todo-show-current-file)
8247 (todo-show-done-only, todo-show-first, todo-show-with-done)
8248 (todo-skip-archived-categories, todo-top-priorities-overrides)
8249 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8250 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8251 New defcustoms.
8252 (todo-category-done, todo-date-pattern, todo-date-string-start)
8253 (todo-diary-items-buffer, todo-done-string-start)
8254 (todo-filtered-items-buffer, todo-item-start)
8255 (todo-month-abbrev-array, todo-month-name-array)
8256 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8257 (todo-top-priorities-buffer): New defconsts.
8258 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8259 (todo-categories-with-marks, todo-category-string-face)
8260 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8261 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8262 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8263 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8264 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8265 (todo-font-lock-keywords, todo-global-current-todo-file)
8266 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8267 (todo-insertion-commands-args)
8268 (todo-insertion-commands-args-genlist)
8269 (todo-insertion-commands-names, todo-insertion-map)
8270 (todo-key-bindings-t, todo-key-bindings-t+a)
8271 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8272 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8273 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8274 (todo-visited): New variables.
8275
cad5d1cb
GM
82762013-06-21 Glenn Morris <rgm@gnu.org>
8277
8278 * play/cookie1.el (cookie-apropos): Add optional display argument.
8279 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8280 (psychoanalyze-pinhead): Use cookie-doctor.
8281
9e277302
JB
82822013-06-21 Juanma Barranquero <lekktu@gmail.com>
8283
8284 * emacs-lisp/package.el (tar-get-file-descriptor)
8285 (tar--extract): Declare.
8286
c5b0993e
EW
82872013-06-21 Eduard Wiebe <usenet@pusto.de>
8288
8289 Extend flymake's warning predicate to be a function (bug#14217).
8290 * progmodes/flymake.el (flymake-warning-predicate): New.
8291 (flymake-parse-line): Use it.
8292 (flymake-warning-re): Make obsolete alias to
8293 `flymake-warning-predicate'.
8294
a7d2d465
SM
82952013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8296
8297 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8298 (package-obsolete-list): Remove.
8299 (package-activate): Remove min-version argument. Add `force' argument.
8300 Adjust to new package-alist format.
8301 (package-mark-obsolete): Remove.
8302 (package-unpack): Force reload of the package's autoloads.
8303 (package-installed-p): Check builtins if the installed package is not
8304 recent enough.
8305 (package-initialize): Don't reset package-obsolete-list.
8306 Don't specify which package version to activate.
8307 (package-process-define-package, describe-package-1)
8308 (package-menu--generate): Adjust to new package-alist format.
8309
cedf5c9d
JB
83102013-06-21 Juanma Barranquero <lekktu@gmail.com>
8311
8312 * allout-widgets.el (allout-widgets-mode-off)
8313 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8314 (allout-widgets-post-command-business)
8315 (allout-widgets-after-copy-or-kill-function)
8316 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8317 (allout-decorate-item-and-context)
8318 (allout-graphics-modification-handler): Fix typos in docstrings.
8319 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8320
8321 * cmuscheme.el (scheme-start-file): Doc fix.
8322 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8323 (scheme-input-filter): Use `string-match-p'.
8324
8325 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8326
8327 * dired-x.el: Use Dired consistently in docstrings.
8328
8329 * dired.el: Use Dired consistently in docstrings.
8330 (dired-readin, dired-mode): Use `setq-local'.
8331 (dired-switches-alist): Make defvar-local.
8332 (dired-buffers-for-dir): Use `zerop'.
8333 (dired-safe-switches-p, dired-switches-escape-p)
8334 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8335 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8336 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8337 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8338 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8339 (dired-toggle-marks, dired-mark-files-containing-regexp)
8340 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8341 (dired-flag-auto-save-files, dired-flag-backup-files):
8342 Use `looking-at-p'.
8343 (dired-mark-files-regexp, dired-build-subdir-alist):
8344 Use `string-match-p', `looking-at-p'.
8345
8346 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8347 (direct-print-region-helper): Use `string-match-p'.
8348
aed838b5
LL
83492013-06-21 Leo Liu <sdl.web@gmail.com>
8350
cedf5c9d
JB
8351 * comint.el (comint-redirect-results-list-from-process):
8352 Fix infinite loop.
aed838b5 8353
d80a808f
LMI
83542013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8355
8356 * net/eww.el (eww-update-header-line-format): Quote % characters.
8357
e7a526e3
GM
83582013-06-21 Glenn Morris <rgm@gnu.org>
8359
8360 * play/cookie1.el (cookie): New custom group.
8361 (cookie-file): New option.
8362 (cookie-check-file): New function.
8363 (cookie): Make it interactive. Make start and end messages optional.
8364 Interactively, display the result. Default to cookie-file.
8365 (cookie-insert): Default to cookie-file.
8366 (cookie-snarf): Make start and end messages optional.
8367 Default to cookie-file. Use with-temp-buffer.
8368 (cookie-read): Rename from read-cookie.
8369 Make start and end messages optional. Default to cookie-file.
8370 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8371 Do not autoload it.
e7a526e3
GM
8372 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8373 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8374
62efb35e
LL
83752013-06-21 Leo Liu <sdl.web@gmail.com>
8376
8377 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8378
21e3f963
GM
83792013-06-21 Glenn Morris <rgm@gnu.org>
8380
8381 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8382
fd846ab4
SM
83832013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8384 Daniel Hackney <dan@haxney.org>
8385
8386 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8387 Consolidate the single-file vs tarball code.
8388 (package-desc-suffix): New function.
8389 (package-desc-full-name): Don't bother inlining it.
8390 (package-load-descriptor): Return the new package-desc.
8391 (package-mark-obsolete): Remove unused arg `package'.
8392 (package-unpack): Make it work for single files as well.
8393 Make it update package-alist.
8394 (package--make-autoloads-and-stuff): Rename from
8395 package--make-autoloads-and-compile. Don't compile any more.
8396 (package--compile): New function.
8397 (package-generate-description-file): New function, extracted from
8398 package-unpack-single.
8399 (package-unpack-single): Remove.
8400 (package--with-work-buffer): Add indentation and debugging info.
8401 (package-download-single): Remove.
8402 (package-install-from-archive): Rename from package-download-tar, make
8403 it take a pkg-desc, and make it work for single files as well.
8404 (package-download-transaction): Simplify.
8405 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8406 external tar program.
8407 (package-install-from-buffer): Remove `pkg-desc' argument.
8408 Use package-tar-file-info for tar-mode buffers.
8409 (package-install-file): Simplify accordingly.
8410 (package-archive-base): Change to take a pkg-desc.
8411 * tar-mode.el (tar--check-descriptor): New function, extracted from
8412 tar-get-descriptor.
8413 (tar-get-descriptor): Use it.
8414 (tar-get-file-descriptor): New function.
8415 (tar--extract): New function, extracted from tar-extract.
8416 (tar--extract): Use it.
8417 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8418 case the summary uses non-ascii. Adjust to new calling convention of
8419 package-tar-file-info.
8420
b7deae5e
LL
84212013-06-21 Leo Liu <sdl.web@gmail.com>
8422
fd846ab4
SM
8423 * comint.el (comint-redirect-results-list-from-process):
8424 Fix random delay. (Bug#14681)
b7deae5e 8425
7a65a0b2
JB
84262013-06-21 Juanma Barranquero <lekktu@gmail.com>
8427
8428 * profiler.el (profiler-format-number): Use log, not log10.
8429
1493c2af
JB
84302013-06-20 Juanma Barranquero <lekktu@gmail.com>
8431
8432 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8433
aff6371e
SM
84342013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8435
8436 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8437 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8438 yet available.
8439 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8440 (AUTOGENEL): ... here.
8441 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8442 (cl--defsubst-expand): Use it.
8443
89561f72
PE
84442013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8445
8446 * subr.el (log10): Move here from C code, and declare as obsolete.
8447 All uses of (log10 X) replaced with (log X 10).
8448
47199123
JB
84492013-06-20 Juanma Barranquero <lekktu@gmail.com>
8450
8451 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8452 Declare with `defvar-local'.
8453 (tabulated-list-use-header-line, tabulated-list-entries)
8454 (tabulated-list-padding, tabulated-list-printer)
8455 (tabulated-list-sort-key): Declare with `defvar-local'.
8456 (tabulated-list-init-header, tabulated-list-print-fake-header):
8457 Use `setq-local'.
8458
4a172eab
MA
84592013-06-20 Michael Albinus <michael.albinus@gmx.de>
8460
47199123
JB
8461 * arc-mode.el (archive-mode): Add `archive-write-file' to
8462 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8463
5fc0acc0
JB
84642013-06-20 Juanma Barranquero <lekktu@gmail.com>
8465
d5b27848
JB
8466 * cus-edit.el (custom-commands): Fix typos.
8467 (custom-display): Fix tooltip text.
8468 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8469 Fix typos in docstrings.
8470 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8471 (custom-unlispify-menu-entry, custom-magic-value-create)
8472 (custom-add-see-also, custom-group-value-create): Use ?\s.
8473 (custom-guess-type, customize-apropos, editable-field)
8474 (custom-face-value-create): Use `string-match-p'.
8475 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8476
8477 * custom.el (custom-load-symbol): Use `string-match-p'.
8478
a5c581d8
JB
8479 * ansi-color.el: Convert to lexical binding.
8480 (ansi-colors): Fix URL.
8481 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8482 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8483 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8484
970ad972
G
84852013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8486
8487 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8488
8489 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8490
84912013-06-19 Tom Tromey <tromey@redhat.com>
8492
8493 * net/eww.el (eww-top-url): Remove.
8494 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8495 (eww-render): Set new variables. Don't set eww-top-url.
8496 (eww-handle-link): Handle "prev", "home", and "contents".
8497 Downcase the rel text.
8498 (eww-top-url): Choose best top URL.
8499
85002013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8501
8502 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8503 relying in widget.el. Using widget.el leads to too many
8504 user interface inconsistencies.
8505 (eww-self-insert): Implement entering commands in text fields.
8506 (eww-process-text-input): New function to make text input field editing
8507 work.
8508 (eww-submit): Rewrite to use the new-style form methods.
8509 (eww-select-display): Display the correct selected item.
8510 (eww-change-select): Implement changing the select value.
8511 (eww-toggle-checkbox): Implement radio/checkboxes.
8512 (eww-update-field): Fix compilation error.
8513 (eww-tag-textarea): Implement <textarea>.
8514
8515 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8516 we don't shadow mode-specific bindings.
8517
8518 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8519 nothing to push.
8520
8521 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8522
4582a01c 85232013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8524
8525 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8526
15b263dc
MA
85272013-06-19 Michael Albinus <michael.albinus@gmx.de>
8528
8529 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8530 not needed.
8531
8532 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8533
8f5297f7
LMI
85342013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8535
8536 * net/browse-url.el (browse-url-browser-function):
8537 `eww-browse-url' has the right calling signature, `eww' does not.
8538
011c4552
GM
85392013-06-19 Glenn Morris <rgm@gnu.org>
8540
2285bd27
GM
8541 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8542 Only eval autoloaded macros.
8543 (byte-compile-autoload): Only give the macro warning for macros.
8544
1d653303
GM
8545 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8546 (ps-underlined-faces): Declare.
8547
bdd779ec
GM
8548 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8549 (speedbar-add-supported-extension): Declare.
8550
011c4552
GM
8551 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8552 Don't include a date stamp in the header of the generated file;
8553 it leads to needless differences between output files.
8554
e59dfb0e
MA
85552013-06-19 Michael Albinus <michael.albinus@gmx.de>
8556
c763842b
SM
8557 * net/secrets.el (secrets-struct-secret-content-type):
8558 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8559 Some servers do not offer introspection.
e59dfb0e 8560
102626e2
SM
85612013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8562
8563 * electric.el (electric-pair-mode): Improve interaction with
8564 electric-layout-mode.
8565 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8566 (electric-pair-syntax): Use text-mode-syntax-table in comments
8567 and strings.
8568 (electric-pair--insert): New function.
8569 (electric-pair-post-self-insert-function): Use it and
8570 electric--after-char-pos.
8571
ad528125
LL
85722013-06-19 Leo Liu <sdl.web@gmail.com>
8573
8574 * progmodes/octave.el (octave-help): Fix regexp.
8575
924d6997
G
85762013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8577
8578 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8579 (shr-table-horizontal-line): Allow nil as a value, and change the
8580 default.
8581 (shr-insert-table-ruler): Respect the nil value.
8582
85832013-06-18 Tom Tromey <tromey@barimba>
8584
8585 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8586 New defvars.
8587 (eww-open-file): New defun.
8588 (eww-render): Initialize new variables.
8589 (eww-display-html): Handle "link" and "a".
8590 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8591 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8592 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8593 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8594 New defuns.
924d6997 8595
d1bbba4f
DG
85962013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8597
8598 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8599 Distinguish ternary operator tokens from slash symbol and slash
8600 char literal.
8601
14dd22d2
JB
86022013-06-18 Juanma Barranquero <lekktu@gmail.com>
8603
8604 Convert symbol prettification into minor mode and global minor mode.
8605
8606 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8607 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8608 (prettify-symbols--keywords): Rename from
8609 `prog-prettify-symbols-alist' and make a local defvar.
8610 (prettify-symbols--compose-symbol): Rename from
8611 `prog--prettify-font-lock-compose-symbol'.
8612 (prettify-symbols--make-keywords): Rename from
8613 `prog-prettify-font-lock-symbols-keywords' and simplify.
8614 (prog-prettify-install): Remove.
8615 (prettify-symbols-mode): New minor mode, based on
8616 `prog-prettify-install'.
8617 (turn-on-prettify-symbols-mode): New function.
8618 (global-prettify-symbols-mode): New globalized minor mode.
8619
8620 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8621 * progmodes/cfengine.el (cfengine3-mode):
8622 * progmodes/perl-mode.el (perl-mode): Don't call
8623 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8624
292c880c
JL
86252013-06-18 Juri Linkov <juri@jurta.org>
8626
8627 * files-x.el (modify-file-local-variable-message): New function.
8628 (modify-file-local-variable)
8629 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8630 and call `modify-file-local-variable-message' when it's non-nil.
8631 (add-file-local-variable, delete-file-local-variable)
8632 (add-file-local-variable-prop-line)
8633 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8634 and use it. (Bug#9820)
8635
0950aa27
JL
86362013-06-18 Juri Linkov <juri@jurta.org>
8637
8638 * emulation/vi.el (vi-shell-op):
8639 * emulation/vip.el (vip-execute-com, ex-command):
8640 * emulation/viper-cmd.el (viper-exec-bang):
8641 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8642 the call of `shell-command-on-region'. (Bug#14637)
8643
8644 * simple.el (shell-command-on-region): Doc fix.
8645
8fbcca16
SM
86462013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8649 (bug#14633).
8650
dd7426ea
GM
86512013-06-18 Glenn Morris <rgm@gnu.org>
8652
4ba54f7d
GM
8653 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8654
dd7426ea
GM
8655 * newcomment.el (comment-search-forward, comment-search-backward):
8656 Doc fix. (Bug#14376)
8657
58aa805b
JB
86582013-06-18 Juanma Barranquero <lekktu@gmail.com>
8659
8660 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8661 (buffer-face-mode-invoke): Doc fix.
8662
9a08a617
MM
86632013-06-18 Matthias Meulien <orontee@gmail.com>
8664
8665 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8666 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8667
f2f426ca
GM
86682013-06-18 Glenn Morris <rgm@gnu.org>
8669
9445f99b
GM
8670 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8671 Replace obsolete function generic-make-keywords with its expansion.
8672
e0df2d14
GM
8673 * progmodes/python.el (ffap-alist): Declare.
8674
f2f426ca
GM
8675 * textmodes/reftex.el (bibtex-mode-map): Declare.
8676
f7f9a720
SM
86772013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8680 (package-unpack, package-unpack-single): Return the pkg-dir.
8681 (package-download-transaction): Use it to update package-alist.
8682
57ff04e0
LMI
86832013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8684
8685 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8686 possible choice.
8687
c048c022
JL
86882013-06-17 Juri Linkov <juri@jurta.org>
8689
8690 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8691
b5bcaee5
DG
86922013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8693
a020afb9
JB
8694 * emacs-lisp/package.el (package-load-descriptor):
8695 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8696 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8697
551e07e5
JB
86982013-06-17 Juanma Barranquero <lekktu@gmail.com>
8699
8700 * startup.el (command-line): Expand package name returned by
8701 `package--description-file' (bug#14639).
8702
d363bffb
DG
87032013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8704
8705 * emacs-lisp/package.el (package-load-descriptor): Do not call
8706 `emacs-lisp-mode', just use its syntax table.
8707
f612933b
JB
87082013-06-17 Juanma Barranquero <lekktu@gmail.com>
8709
8710 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8711 `font-lock-extra-managed-props' if any prettifying keyword is added.
8712 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8713 (prog-mode): Use `setq-local'.
8714
db3b7db5
SM
87152013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8716
8717 * international/characters.el (standard-case-table): Set syntax of ?»
8718 and ?« to punctuation.
8719
f3d674df
JB
87202013-06-16 Juanma Barranquero <lekktu@gmail.com>
8721
8722 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8723 Save relevant match data before calling `syntax-ppss' (bug#14595).
8724
31489a32
JL
87252013-06-15 Juri Linkov <juri@jurta.org>
8726
8727 * files-x.el (modify-file-local-variable-prop-line): Add local
8728 variables to the end of the existing comment on the first line.
8729 Use `file-auto-mode-skip' to skip interpreter magic line,
8730 and also skip XML declaration.
8731
66bd25ab
SM
87322013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8733
8734 * startup.el (package--builtin-versions): New var.
8735 (package-subdirectory-regexp): Remove.
8736 (package--description-file): Hard code its value instead.
8737
8738 * emacs-lisp/package.el: Don't activate packages older than builtin.
8739 (package-obsolete-list): Rename from package-obsolete-alist, and make
8740 it into a simple list of package-desc.
8741 (package-strip-version): Remove.
8742 (package-built-in-p): Use package--builtin-versions.
8743 (package-mark-obsolete): Simplify.
8744 (package-process-define-package): Mark it obsolete if older than the
8745 builtin version.
8746 (package-handle-response): Use line-end-position.
8747 (package-read-archive-contents, package--download-one-archive):
8748 Simplify.
8749 (package--add-to-archive-contents): Skip if older than the builtin or
8750 installed version.
8751 (package-menu-describe-package): Fix last change.
8752 (package-list-unversioned): New var.
8753 (package-menu--generate): Use it.
8754
8755 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8756 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8757 (autoload-builtin-package-versions): New variable.
8758 (autoload-generate-file-autoloads): Use them.
8759 Remove the list of autoloaded functions/macros from the
8760 (autoload...) comments.
8761
8762 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8763
9583ec36
EZ
87642013-06-15 Eli Zaretskii <eliz@gnu.org>
8765
8766 * simple.el (line-move-partial): Don't jump to the next screen
8767 line as soon as it becomes visible. Instead, continue enlarging
8768 the vscroll until the portion of a tall screen line that's left on
8769 display is about the height of the frame's default font.
8770 (Bug#14567)
8771
f0100d8a
GM
87722013-06-15 Glenn Morris <rgm@gnu.org>
8773
b86a85ca
GM
8774 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8775 compilation-error-regexp-alist void, or local while let-bound.
8776
f0100d8a
GM
8777 * progmodes/make-mode.el (makefile-mode-syntax-table):
8778 Treat "=" as punctuation. (Bug#14614)
8779
05e7ce90
JB
87802013-06-15 Juanma Barranquero <lekktu@gmail.com>
8781
8782 * help-fns.el (describe-variable):
8783 Add extra line for permanent-local variables.
8784
12e5e86e
SH
87852013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8786
8787 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8788 Add export, import, library. (Bug#9164)
8789 (library): Set indent function.
8790
230dcbaf
GM
87912013-06-14 Glenn Morris <rgm@gnu.org>
8792
8793 * term/xterm.el (xterm--query):
8794 Stop after first matching handler. (Bug#14615)
8795
e36b2d20 87962013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8797
8798 Add support for dired in saveplace.
8799 * dired.el (dired-initial-position-hook): New variable.
8800 (dired-initial-position): Call hook to place cursor position.
8801 * saveplace.el (save-place-to-alist): Add dired position.
8802 (save-place-dired-hook): New function.
8803
0b31660d
SM
88042013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8805
bf1e6ae8
SM
8806 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8807 through a symbol rather than letrec.
8808
1b8dff23
SM
8809 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8810 (package-desc): Add `dir' field.
8811 (package-desc-full-name): New function.
8812 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8813 (package-maybe-load-descriptor): Remove.
8814 (package-load-all-descriptors): Just call package-load-descriptor.
8815 (package--disabled-p): New function.
8816 (package-desc-vers, package-desc-doc): Remove aliases.
8817 (package--dir): Remove function.
8818 (package-activate): Check if a package is disabled.
8819 (package-process-define-package): New function, extracted from
8820 define-package.
8821 (define-package): Turn into a place holder.
8822 (package-unpack-single, package-tar-file-info):
8823 Use package--description-file.
8824 (package-compute-transaction): Use package--disabled-p.
8825 (package-download-transaction): Don't call
8826 package-maybe-load-descriptor since they're all loaded anyway.
8827 (package-install): Change argument to be a pkg-desc.
8828 (package-delete): Use a single pkg-desc argument.
8829 (describe-package-1): Use package-desc-dir instead of package--dir.
8830 Use package-desc property instead of package-symbol.
8831 (package-install-button-action): Adjust accordingly.
8832 (package--push): Rewrite.
8833 (package-menu--print-info): Adjust accordingly. Change the ID format
8834 to be a pkg-desc.
8835 (package-menu-describe-package, package-menu-get-status)
8836 (package-menu--find-upgrades, package-menu-mark-upgrades)
8837 (package-menu-execute, package-menu--name-predicate):
8838 Adjust accordingly.
8839 * startup.el (package--description-file): New function.
8840 (command-line): Use it.
8841 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8842 Use package-desc-version.
8843
0b31660d
SM
8844 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8845 (byte-compile-preprocess): Use it.
8846 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8847 can't quite recognize.
8848 (byte-compile-add-to-list): Remove.
8849 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8850 (cconv-closure-convert): Add assertion.
8851
8852 * emacs-lisp/map-ynp.el: Use lexical-binding.
8853 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8854 Factor out some repeated code.
8855
de0503df
SM
88562013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8857
8858 * subr.el (with-eval-after-load): New macro.
8859 (eval-after-load): Allow form to be a function.
8860 take advantage of lexical-binding.
8861 (do-after-load-evaluation): Use dolist and adjust to new format.
8862 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8863
bc5c8c5a
JL
88642013-06-13 Juri Linkov <juri@jurta.org>
8865
8866 * replace.el (perform-replace): Display "symbol " and other search
8867 modes from `isearch-message-prefix' in the *Help* buffer.
8868
8869 * isearch.el (isearch-query-replace): Add " symbol" and other
8870 possible search modes from `isearch-message-prefix' to the prompt.
8871 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8872 when reading a regexp to collect.
8873
a22289f7
JL
88742013-06-13 Juri Linkov <juri@jurta.org>
8875
8876 * isearch.el (word-search-regexp): Match whitespace if the search
8877 string begins or ends in whitespace. The LAX arg is applied to
8878 both ends of the search string. Use `regexp-quote' and explicit
8879 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8880 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8881 boundaries are replaced with symbol boundaries, and characters
8882 between symbols match non-word non-symbol syntax. (Bug#14602)
8883
cb89acab
JL
88842013-06-13 Juri Linkov <juri@jurta.org>
8885
8886 * isearch.el (isearch-del-char): Don't exceed the length of
8887 `isearch-string' by the prefix arg. (Bug#14563)
8888
6e8cfc81
JL
88892013-06-13 Juri Linkov <juri@jurta.org>
8890
8891 * isearch.el (isearch-yank-word, isearch-yank-line)
8892 (isearch-char-by-name, isearch-quote-char)
8893 (isearch-printing-char, isearch-process-search-char):
8894 Add optional count prefix arg. (Bug#14563)
8895
8896 * international/isearch-x.el
8897 (isearch-process-search-multibyte-characters):
8898 Add optional count prefix arg.
8899
c23d55f4
VS
89002013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8901
8902 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8903 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8904 lexical-binding.
8905
89062013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8907
8908 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8909
ba947bc4
GM
89102013-06-13 Glenn Morris <rgm@gnu.org>
8911
8baeb37a
GM
8912 * startup.el (tty-handle-args):
8913 Don't just discard "--" and anything after. (Bug#14608)
8914
ba947bc4
GM
8915 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8916
9abefce4
MA
89172013-06-13 Michael Albinus <michael.albinus@gmx.de>
8918
8919 Implement changes in Secret Service API. Make it backward compatible.
8920 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8921 (secrets-create-item): Use it. Prefix properties with interface.
8922
5755011f
MH
89232013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8924
8925 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8926 (term-emulate-terminal): Respect term-suppress-hard-newline.
8927
1261d2da
S
89282013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8929
8930 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8931 Only remove a `thumb-file' overlay. (Bug#14548)
8932
868490bb
GJ
89332013-06-12 Grégoire Jadi <daimrod@gmail.com>
8934
8935 * mail/reporter.el (reporter-submit-bug-report):
8936 Handle missing package-name. (Bug#14600)
8937
79d7167f
TH
89382013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8939
8940 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8941 (reftex-citation-prompt, reftex-default-bibliography)
8942 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8943 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8944 (reftex-bib-sort-author, reftex-bib-sort-year)
8945 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8946 (reftex-extract-bib-entries-from-thebibliography)
8947 (reftex-get-bibkey-default, reftex-get-bib-names)
8948 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8949 (reftex-format-bib-entry, reftex-parse-bibitem)
8950 (reftex-format-bibitem, reftex-do-citation)
8951 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8952 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8953 (reftex-insert-bib-matches, reftex-format-citation)
8954 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8955 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8956 existing comments into docstrings.
8957
5f9dbd7a
XF
89582013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8959
8960 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8961
94df41ab
AS
89622013-06-12 Andreas Schwab <schwab@suse.de>
8963
8964 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8965 for auto-save files.
8966
a7f3fecc
GM
89672013-06-12 Glenn Morris <rgm@gnu.org>
8968
001809f6
GM
8969 * ido.el (ido-delete-ignored-files): Remove.
8970 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8971 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8972
834b5ded
EL
89732013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8974
08c73ed2
EL
8975 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8976
834b5ded
EL
8977 * ido.el (ido-delete-ignored-files): New function,
8978 split from ido-make-file-list-1.
8979 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8980 (ido-make-file-list-1): Use ido-delete-ignored-files.
8981
daabf15a
LL
89822013-06-12 Leo Liu <sdl.web@gmail.com>
8983
8984 * progmodes/octave.el (inferior-octave-startup)
8985 (inferior-octave-completion-table)
8986 (inferior-octave-track-window-width-change)
8987 (octave-eldoc-function-signatures, octave-help)
8988 (octave-find-definition): Use single quoted strings.
8989 (inferior-octave-startup-args): Change default value.
8990 (inferior-octave-startup): Do not hard code "-i" and
8991 "--no-line-editing".
8992 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8993 (inferior-octave-directory-tracker): Use it.
8994 (octave-goto-function-definition): Robustify.
8995 (octave-help): Support highlighting operators in 'See also'.
8996 (octave-find-definition): Find subfunctions only in Octave mode.
8997
cf4e5178
SM
89982013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8999
9000 * help-fns.el (help-fns--compiler-macro): If the handler function is
9001 named, then put a link to it.
9002 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9003 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9004 (cl-typep): Use it.
9005 (cl-eval-when): Simplify debug spec.
9006 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9007 compiler-macro function instead of setting `compiler-macro-file'.
9008
99c81280 90092013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9010
9011 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9012 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9013
f56be016
SM
90142013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9015 Daniel Hackney <dan@haxney.org>
9016
9017 First part of Daniel Hackney's patch to package.el.
9018 * emacs-lisp/package.el: Use defstruct.
9019 (package-desc): New, main struct.
9020 (package--bi-desc, package--ac-desc): New structs, used to describe the
9021 format in external files.
9022 (package-desc-vers): Replace with package-desc-version accessor.
9023 (package-desc-doc): Replace with package-desc-summary accessor.
9024 (package-activate-1): Remove `package' arg since the pkg-vec now
9025 includes the name.
9026 (define-package): Use package-desc-from-define.
9027 (package-unpack-single): Change file-name arg to be a symbol.
9028 (package--add-to-archive-contents): Use package-desc-create and new
9029 accessor functions to package--ac-desc.
9030 (package-buffer-info, package-tar-file-info): Return a package-desc.
9031 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9032 arg to be a package-desc.
9033 (package-install-file): Adjust accordingly. Use \' to match EOS.
9034 (package--from-builtin): New function.
9035 (describe-package-1, package-menu--generate): Use it.
9036 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9037 (package-generate-autoloads): Idem and return the name of the file.
9038 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9039 Change pkg-info arg to be a package-desc.
9040 Use package-make-ac-desc.
9041 (package-upload-file): Use \' to match EOS.
9042 * finder.el (finder-compile-keywords): Use package-make-builtin.
9043
31119d63
SM
90442013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9045
931a2762
SM
9046 * vc/vc.el (vc-deduce-fileset): Change error message.
9047 (vc-read-backend): New function.
9048 (vc-next-action): Use it.
9049
5a3eb0c6
SM
9050 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9051
e3eb1bb7
SM
9052 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9053 (prolog-font-lock-keywords): Use regexp-opt instead.
9054 Don't manually highlight strings.
9055 (prolog-mode-variables): Simplify comment-start-skip.
9056 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9057
31119d63
SM
9058 * emacs-lisp/generic.el (generic--normalise-comments)
9059 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9060 (generic-mode-set-comments): Use them.
9061 (generic-bracket-support): Use setq-local.
9062 (generic-make-keywords-list): Declare obsolete.
9063
7de135d0
GM
90642013-06-11 Glenn Morris <rgm@gnu.org>
9065
9066 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9067 Prettify after setting font-lock-defaults. (Bug#14574)
9068
fa6bc6fd
JB
90692013-06-11 Juanma Barranquero <lekktu@gmail.com>
9070
9071 * replace.el (query-replace, occur-read-regexp-defaults-function)
9072 (replace-search):
9073 * subr.el (declare-function, number-sequence, local-set-key)
9074 (substitute-key-definition, locate-user-emacs-file)
9075 (with-silent-modifications, split-string, eval-after-load):
9076 Fix typos, remove unneeded backslashes and reflow some docstrings.
9077
cf1f9b9a
SM
90782013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9079
9080 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9081 default for Elisp files.
9082
56602a4b
GM
90832013-06-11 Glenn Morris <rgm@gnu.org>
9084
9085 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9086 although define-derived-mode was doing this anyway. (Bug#14583)
9087
30ae0b2c
JB
90882013-06-10 Juanma Barranquero <lekktu@gmail.com>
9089
9090 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9091 Fix make-variable-buffer-local call to refer to the correct variable.
9092
fa472906
AG
90932013-06-10 Aidan Gauland <aidalgol@amuri.net>
9094
9095 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9096 (eshell-visual-subcommands, eshell-visual-options):
9097 Add summary line to docstrings. Add cross-references.
fa472906 9098
ff4871b9
GM
90992013-06-10 Glenn Morris <rgm@gnu.org>
9100
9101 * epa.el (epa-read-file-name): New function. (Bug#14510)
9102 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9103
04fcf1b0
AG
91042013-06-09 Aidan Gauland <aidalgol@amuri.net>
9105
9106 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9107 output redirection to be ignored with visual commands.
9108
88b00caa
AG
91092013-06-09 Aidan Gauland <aidalgol@amuri.net>
9110
9111 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9112 (eshell-term-initialize): Move long lambda to separate function
9113 eshell-visual-command-p.
e7b41c4c
JB
9114 * eshell/em-dirs.el (eshell-dirs-initialise):
9115 * eshell/em-script.el (eshell-script-initialize):
9116 Add missing #' to lambda.
88b00caa 9117
fda74125
LL
91182013-06-08 Leo Liu <sdl.web@gmail.com>
9119
9120 * progmodes/octave.el (octave-add-log-current-defun): New function.
9121 (octave-mode): Set add-log-current-defun-function.
9122 (octave-goto-function-definition): Do not move point if not found.
9123 (octave-find-definition): Enhance to try subfunctions first.
9124
467f3b33
GM
91252013-06-08 Glenn Morris <rgm@gnu.org>
9126
9127 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9128 (byte-compile-backward-char, byte-compile-backward-word):
9129 Improve previous change, to handle non-explicit nil.
9130
544badc3
SM
91312013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9132
9133 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9134 (smie--opener/closer-at-point): New function.
9135 (smie--matching-block-data): Use it. Don't match from right after an
9136 opener or right before a closer. Obey smie-blink-matching-inners.
9137 Don't signal a mismatch for repeated inners like "switch..case..case".
9138
a175bf33
LL
91392013-06-07 Leo Liu <sdl.web@gmail.com>
9140
9141 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9142 to t. (Bug#14303)
ce8209d4
LL
9143 (octave-function-header-regexp): Fix. (Bug#14570)
9144 (octave-help-mode-finish-hook, octave-help-mode-finish):
9145 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9146
9147 * newcomment.el (comment-search-backward): Revert last change.
9148 (Bug#14434)
9149
9150 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9151
a822acff
EZ
91522013-06-07 Eli Zaretskii <eliz@gnu.org>
9153
9154 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9155 through xargs, to avoid failure due to MS-Windows limitations on
9156 command-line length.
9157
961166f5
GM
91582013-06-06 Glenn Morris <rgm@gnu.org>
9159
d0341459
GM
9160 * font-lock.el (lisp-font-lock-keywords-2):
9161 Treat user-error like error.
9162
961166f5
GM
9163 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9164 (byte-compile-backward-char, byte-compile-backward-word):
9165 Handle explicit nil arguments. (Bug#14565)
9166
80fa505f
AM
91672013-06-05 Alan Mackenzie <acm@muc.de>
9168
9169 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9170 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9171 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9172 (Bug#9706)
80fa505f 9173
fccdc796
SM
91742013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9175
9176 * autorevert.el (auto-revert-notify-handler): Use memq.
9177 Hide assertion failure.
9178
9179 * skeleton.el: Use cl-lib.
9180 (skeleton-further-elements): Use defvar-local.
9181 (skeleton-insert): Use cl-progv.
9182
9bfff84b
TZ
91832013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9184
9185 * progmodes/prog-mode.el (prog-prettify-symbols)
9186 (prog-prettify-install): Update docstrings.
9187
55577e7c
SM
91882013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9189
9190 * simple.el: Move all the prog-mode code to prog-mode.el.
9191 * progmodes/prog-mode.el: New file.
9192 * loadup.el: Add prog-mode.el.
9193
8fc57765
TZ
91942013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9195
9196 * simple.el (prog-prettify-symbols): Add version.
9197 (prog-prettify-install): Add convenience function to prettify symbols.
9198
9199 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9200 (perl--augmented-font-lock-keywords-1)
9201 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9202 variables and use it.
9203
9204 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9205 (cfengine3-mode): Remove unneeded variable and use it.
9206
9207 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9208 (lisp--augmented-font-lock-keywords-1)
9209 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9210 Remove unneeded variables and use it.
9211
650645d5 92122013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9213
9214 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9215 to point when opening the connection. (Bug#14380)
28f5da6d 9216
781b4af6
SM
92172013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9218
9219 * subr.el (load-history-regexp, load-history-filename-element)
9220 (eval-after-load, after-load-functions, do-after-load-evaluation)
9221 (eval-next-after-load, display-delayed-warnings)
9222 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9223 definition of save-match-data.
9224 (overriding-local-map): Remove accidental obsolescence declaration.
9225
9226 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9227
3ca0d0b4
TZ
92282013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9229
9230 Generalize symbol prettify support to prog-mode and implement it
9231 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9232 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9233 (prog--prettify-font-lock-compose-symbol)
9234 (prog-prettify-font-lock-symbols-keywords): New variables and
9235 functions to support symbol prettification.
9236 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9237 (lisp--augmented-font-lock-keywords-1)
9238 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9239 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9240 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9241 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9242 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9243 * progmodes/perl-mode.el (perl-prettify-symbols)
9244 (perl--font-lock-compose-symbol)
9245 (perl--font-lock-symbols-keywords): Move to prog-mode.
9246 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9247 (perl-font-lock-keywords-1)
9248 (perl-font-lock-keywords-2): Remove explicit prettify support.
9249 (perl--augmented-font-lock-keywords)
9250 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9251 (perl--augmented-font-lock-keywords-2, perl-mode):
9252 Implement prettify support.
3ca0d0b4 9253
976cb066
LL
92542013-06-05 Leo Liu <sdl.web@gmail.com>
9255
9256 Re-implement smie matching block highlight using
9257 show-paren-data-function. (Bug#14395)
9258 * emacs-lisp/smie.el (smie-matching-block-highlight)
9259 (smie--highlight-matching-block-overlay)
9260 (smie--highlight-matching-block-lastpos)
9261 (smie-highlight-matching-block)
9262 (smie-highlight-matching-block-mode): Remove.
9263 (smie--matching-block-data-cache): New variable.
9264 (smie--matching-block-data): New function.
9265 (smie-setup): Use smie--matching-block-data for
9266 show-paren-data-function.
9267
9268 * progmodes/octave.el (octave-mode-menu): Fix.
9269 (octave-find-definition): Skip garbage lines.
9270
208d0342
SM
92712013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 Fix compilation error with simultaneous dynamic+lexical scoping.
9274 Add warning when a defvar appears after the first let-binding.
9275 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9276 (byte-compile-close-variables): Initialize it.
9277 (byte-compile--declare-var): New function.
9278 (byte-compile-file-form-defvar)
9279 (byte-compile-file-form-define-abbrev-table)
9280 (byte-compile-file-form-custom-declare-variable): Use it.
9281 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9282 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9283 (byte-compile-bind): Handle dynamic bindings that shadow
9284 lexical bindings.
9285 (byte-compile-unbind): Make arg non-optional.
9286 (byte-compile-let): Simplify.
9287 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9288 (cconv--analyse-function, cconv-analyse-form): Populate it.
9289 Protect byte-compile-bound-variables to limit the scope of defvars.
9290 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9291 Remove unneeded rule for `declare'.
9292
9293 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9294 so as to avoid depending on cl-adjoin at run-time.
9295 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9296
9297 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9298 (macroexp--warn-and-return): Use it.
9299
1ac2891e
GM
93002013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9301
a12bf61e 9302 * subr.el: Convert to lexical binding.
1ac2891e
GM
9303 (overriding-local-map): Make obsolete.
9304 (add-to-list): Doc fix. Add compiler macro.
9305 (read-key): Swap values of local maps.
9306
2587b005
LL
93072013-06-05 Leo Liu <sdl.web@gmail.com>
9308
9309 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9310
f1da3c88
LL
93112013-06-04 Leo Liu <sdl.web@gmail.com>
9312
9313 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9314 (compilation-auto-jump): Suppress the "Mark set" message to give
9315 way to exit message.
9316
3caa391f
AM
93172013-06-04 Alan Mackenzie <acm@muc.de>
9318
9319 Remove faulty optimisation from indentation calculation.
9320 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9321 search limit based on 2000 characters back from indent-point.
9322
068922a2
TH
93232013-06-03 Tassilo Horn <tsdh@gnu.org>
9324
9325 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9326
1f8fdd53
SM
93272013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9328
bbcc4d97
SM
9329 * emacs-lisp/lisp.el: Use lexical-binding.
9330 (lisp--local-variables-1, lisp--local-variables): New functions.
9331 (lisp--local-variables-completion-table): New var.
208d0342 9332 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9333
1f8fdd53
SM
9334 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9335 eagerly (bug#14422).
9336
c9628c79
MA
93372013-06-03 Michael Albinus <michael.albinus@gmx.de>
9338
9339 * autorevert.el (auto-revert-notify-enabled)
9340 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9341 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9342 (auto-revert-notify-handler): Handle also gfilenotify.
9343
e7b41c4c 9344 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9345 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9346 Remove.
c9628c79 9347
e5e4a942
JL
93482013-06-03 Juri Linkov <juri@jurta.org>
9349
9350 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9351 `M-s h .'. (Bug#14427)
9352
9353 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9354 command `hi-lock-face-symbol-at-point'.
9355 (hi-lock-face-symbol-at-point): New command.
9356 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9357 (hi-lock-menu): Add `highlight-symbol-at-point'.
9358 (hi-lock-mode): Doc fix.
9359
9360 * isearch.el (isearch-forward-symbol-at-point): New command.
9361 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9362 (isearch-highlight-regexp): Add a regexp which matches
9363 words/symbols for word/symbol mode.
9364
9365 * subr.el (find-tag-default-bounds): New function with the body
9366 mostly moved from `find-tag-default'.
9367 (find-tag-default): Move most code to `find-tag-default-bounds',
9368 call it and apply `buffer-substring-no-properties' afterwards.
9369
26b3353a
TH
93702013-06-03 Tassilo Horn <tsdh@gnu.org>
9371
781b4af6
SM
9372 * eshell/em-term.el (eshell-term-initialize):
9373 Use `cl-intersection' rather than `intersection'.
26b3353a 9374
51b60f53
XF
93752013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9376
fe054b63 9377 * vc/log-view.el: Doc fix.
d3ffe17c 9378 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9379
a0eb10b3 93802013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9381
9382 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9383 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9384 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9385 (eieio-unbound, eieio-default-superclass)
9386 (eieio--define-field-accessors, method-static, method-before)
9387 (method-primary, method-after, method-num-lists)
9388 (method-generic-before, method-generic-primary)
9389 (method-generic-after, method-num-slots)
9390 (eieio-specialized-key-to-generic-key)
9391 (eieio--check-type, class-v, class-p)
9392 (eieio-class-name, define-obsolete-function-alias)
9393 (eieio-class-parents-fast, eieio-class-children-fast)
9394 (same-class-fast-p, class-constructor, generic-p)
9395 (generic-primary-only-p, generic-primary-only-one-p)
9396 (class-option-assoc, class-option, eieio-object-p)
9397 (class-abstract-p, class-method-invocation-order)
9398 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9399 (eieio-class-un-autoload, eieio-defclass)
9400 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9401 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9402 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9403 (eieio-defgeneric-reset-generic-form)
9404 (eieio-defgeneric-form-primary-only)
9405 (eieio-defgeneric-reset-generic-form-primary-only)
9406 (eieio-defgeneric-form-primary-only-one)
9407 (eieio-defgeneric-reset-generic-form-primary-only-one)
9408 (eieio-unbind-method-implementations)
9409 (eieio--defmethod, eieio--typep)
9410 (eieio-perform-slot-validation, eieio-validate-slot-value)
9411 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9412 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9413 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9414 (eieio-slot-name-index, eieio-class-slot-name-index)
9415 (eieio-set-defaults, eieio-initarg-to-attribute)
9416 (eieio-attribute-to-initarg, eieio-c3-candidate)
9417 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9418 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9419 (eieio-class-precedence-list, eieio-generic-call-methodname)
9420 (eieio-generic-call-arglst, eieio-generic-call-key)
9421 (eieio-generic-call-next-method-list)
9422 (eieio-pre-method-execution-functions, eieio-generic-call)
9423 (eieio-generic-call-primary-only, eieiomt-method-list)
9424 (eieiomt-optimizing-obarray, eieiomt-install)
9425 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9426 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9427 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9428 (defclass): Remove `eval-and-compile' from macro.
9429 (call-next-method, shared-initialize): Instead of using
9430 `scoped-class' variable, use new eieio--scoped-class, and
9431 eieio--with-scoped-class.
9432 (initialize-instance): Rename local variable 'scoped-class' to
9433 'this-class' to remove ambiguitity from old global.
9434
9435 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9436 eieio.el.
4f405069
JB
9437 (eieio--scoped-class-stack): New variable.
9438 (eieio--scoped-class): New fcn.
890f7890
DE
9439 (eieio--with-scoped-class): New scoping macro.
9440 (eieio-defclass): Use pushnew instead of add-to-list.
9441 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9442 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9443 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9444 `scoped-class' variable, use new eieio--scoped-class, and
9445 eieio--with-scoped-class.
9446
9447 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9448
d105b0e2
TH
94492013-06-02 Tassilo Horn <tsdh@gnu.org>
9450
9451 * eshell/esh-ext.el (eshell-external-command): Pass args to
9452 `eshell-find-interpreter'.
9453 (eshell-find-interpreter): Add new second parameter ARGS.
9454
9455 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9456 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9457
9458 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9459 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9460
9461 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9462 (eshell-visual-options): New defcustom.
9463 (eshell-escape-control-x): Adapt docstring.
9464 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9465 `eshell-visual-options' in addition to `eshell-visual-commands'.
9466 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9467
f46305c8 94682013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9469
9470 * progmodes/python.el (python-indent-block-enders): Add break,
9471 continue and raise keywords.
9472
d870df21
GM
94732013-06-01 Glenn Morris <rgm@gnu.org>
9474
9133b82e
GM
9475 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9476
02c992ec 9477 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9478 * progmodes/cc-cmds.el (delete-forward-p):
9479 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9480 * progmodes/cc-engine.el (buffer-syntactic-context):
9481 * progmodes/cc-fonts.el (face-property-instance):
9482 * progmodes/cc-mode.el (set-keymap-parents):
9483 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9484 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9485 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9486 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9487 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9488
31e7b090
GM
9489 * progmodes/cc-vars.el (other): Emacs has this widget since
9490 at least 21.1, so don't (re)define it.
9491
d870df21
GM
9492 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9493 Replace the obsolete alias pcomplete-arg-quote-list.
9494
c75c93c7
LL
94952013-06-01 Leo Liu <sdl.web@gmail.com>
9496
9497 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9498 punctuation syntax.
9499 (inferior-octave-minimal-columns)
9500 (inferior-octave-last-column-width): New variables.
9501 (inferior-octave-track-window-width-change): New function.
9502 (inferior-octave-mode): Adjust column width so that Octave output,
9503 for example from 'ls', can fit into the window nicely.
9504
973d1e12
DG
95052013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9506
9507 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9508 Highlight expansions inside regexp literals.
9509
0888c286
GM
95102013-05-31 Glenn Morris <rgm@gnu.org>
9511
e26aac1f
GM
9512 * obsolete/sym-comp.el (symbol-complete):
9513 Replace obsolete completion-annotate-function.
9514
0888c286
GM
9515 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9516
19bb8e62
DG
95172013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9518
781b4af6
SM
9519 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9520 New function, checks if point is inside a literal that allows
19bb8e62
DG
9521 expression expansion.
9522 (ruby-syntax-propertize-expansion): Use it.
9523 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9524 around the body.
9525
01dea85f
JL
95262013-05-30 Juri Linkov <juri@jurta.org>
9527
9528 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9529 to "\M-si".
9530 (isearch-invisible): New variable.
9531 (isearch-forward): Doc fix.
9532 (isearch-mode): Set `isearch-invisible'
9533 to the value of `search-invisible'.
9534 (isearch-toggle-case-fold): Doc fix.
9535 (isearch-toggle-invisible): New command.
9536 (isearch-query-replace): Let-bind `search-invisible'
9537 to the value of `isearch-invisible'.
9538 (isearch-search): Use `isearch-invisible' instead of
9539 `search-invisible'. Let-bind `search-invisible'
9540 to the value of `isearch-invisible'. (Bug#11378)
9541
ab1bdce5
JL
95422013-05-30 Juri Linkov <juri@jurta.org>
9543
9544 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9545 call when `query-flag' is nil and `search-invisible' is non-nil.
9546 (Bug#11746)
9547
d6d236e2
GM
95482013-05-30 Glenn Morris <rgm@gnu.org>
9549
8accd027
GM
9550 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9551
2a8bed1c
GM
9552 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9553 (cc-require): Suppress spurious "noruntime" warnings.
9554 (cc-require-when-compile): Use fboundp, for sake of compiler.
9555
d6d236e2
GM
9556 * progmodes/cc-mode.el: Move load of cc-vars before that of
9557 cc-langs (which in turn loads cc-vars), to quieten compiler.
9558
9190b35b
SM
95592013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9560
9561 * paren.el: Simplify the code.
9562 (show-paren-mode): Always start the timer.
9563 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9564 (show-paren--overlay, show-paren--overlay-1): Rename from
9565 show-paren-overlay and show-paren-overlay-1, and initialize to an
9566 overlay rather than to nil.
9567 (show-paren-function): Misc cleanup and simplifications.
9568
4f8d1cf6
SM
95692013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9570
9571 * paren.el (show-paren-data-function): New hook.
9572 (show-paren--default): New function, extracted from show-paren-function.
9573 (show-paren-function): Use show-paren-data-function.
9574
02d844b5
GM
95752013-05-30 Glenn Morris <rgm@gnu.org>
9576
d209d4a9
GM
9577 * ielm.el (ielm-map, ielm-complete-symbol):
9578 Use completion-at-point rather than obsolete functions.
9579 (inferior-emacs-lisp-mode): Doc fix.
9580 Set completion-at-point-functions, rather than
9581 comint-dynamic-complete-functions.
9582
2082faa6
GM
9583 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9584 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9585 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9586
dd8620de
GM
9587 * image.el (image-animated-p): Tweak definition.
9588
ceca95b1
GM
9589 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9590 (rlogin-process-connection-type): Tweak default. Add set-after.
9591 (rlogin-host): Doc fix.
9592 (rlogin): Tweak prompt.
9593 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9594
ee9f1acc
GM
9595 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9596 * progmodes/tcl.el (inferior-tcl-mode-map):
9597 Use completion-at-point rather than obsolete alias.
9598
45ce222e
GM
9599 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9600
02d844b5
GM
9601 * minibuffer.el (read-file-name-completion-ignore-case):
9602 Move before completion--in-region, for eager macro expansion.
9603
ac44d6c1
JL
96042013-05-29 Juri Linkov <juri@jurta.org>
9605
9606 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9607 for total count of matching lines. Add `global-matches' for total
9608 count of matches. Rename `matches' to `lines' for count of
9609 matching lines. Add `matches' for count of matches.
9610 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9611 to `prev-line' for line number of prev match endpt.
9612 Increment `matches' for every match. Print the number of
9613 matching lines in the header.
9614 (occur-context-lines): Rename `lines' to `curr-line'.
9615 Rename `prev-lines' to `prev-line'. (Bug#14017)
9616
3c9c9d38
JL
96172013-05-29 Juri Linkov <juri@jurta.org>
9618
9619 * replace.el (perform-replace): Add `skip-read-only-count',
9620 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9621 Increment them for corresponding conditions and report the number
9622 of skipped occurrences in the final message. (Bug#11746)
9623 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9624 (replace-string, replace-regexp): Doc fix.
9625
33e249a2
SM
96262013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9627
8e399682
SM
9628 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9629
33e249a2 9630 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9631 prog-mode-map (bug#14504).
33e249a2 9632
f236dd84
LL
96332013-05-29 Leo Liu <sdl.web@gmail.com>
9634
9635 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9636 (octave-help): Small simplification.
9637
9638 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9639 off the highlight first.
9640
3694d13f
GM
96412013-05-29 Glenn Morris <rgm@gnu.org>
9642
03983bdc
GM
9643 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9644 Handle idlwave-last-system-routine-info-cons-cell being nil.
9645
bc74a74a
GM
9646 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9647 (idlwave-write-paths): Simplify via with-temp-buffer.
9648
8b394200
GM
9649 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9650 * emulation/cua-rect.el: Also load cua-base at run time.
9651
3694d13f
GM
9652 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9653 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9654 (cperl-imenu-on-info): Require imenu.
9655
336d7284
AM
96562013-05-28 Alan Mackenzie <acm@muc.de>
9657
9658 Handle "capitalised keywords" correctly.
33e249a2 9659 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9660
cb29c582
AG
96612013-05-28 Aidan Gauland <aidalgol@amuri.net>
9662
781b4af6 9663 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9664
690e44b2
GM
96652013-05-28 Glenn Morris <rgm@gnu.org>
9666
e658d75c
GM
9667 * vc/vc-arch.el (vc-exec-after): Declare.
9668 (vc-switches): Autoload.
9669 * vc/vc-bzr.el: No need to require vc when compiling.
9670 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9671 (vc-resynch-buffer, vc-dir-refresh): Declare.
9672 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9673 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9674 (vc-resynch-buffer): Declare.
9675 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9676 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9677 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9678 (grep-read-regexp, grep-read-files, grep-expand-template)
9679 (vc-dir-refresh): Declare.
9680 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9681 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9682 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9683 * vc/vc-mtn.el (vc-exec-after): Declare.
9684 (vc-switches): Autoload.
9685 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9686 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9687 (vc-file-tree-walk): Declare.
712b9732
GM
9688 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9689 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9690 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9691 * vc/vc-svn.el (vc-exec-after): Declare.
9692 (vc-switches, vc-setup-buffer): Autoload.
9693 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9694 Autoload.
9695 (vc-resynch-buffer): Declare.
9696
98e87fb3
GM
9697 * obsolete/fast-lock.el (byte-compile-warnings):
9698 Don't warn about obsolete features in this obsolete file.
9699
f5379553
GM
9700 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9701 Move definition before use.
9702
7a20ef83
GM
9703 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9704 (dun-unix-verbs): Remove dun-zippy.
9705 (dun-zippy): Remove function.
9706
690e44b2
GM
9707 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9708
3a52ccf7
JL
97092013-05-27 Juri Linkov <juri@jurta.org>
9710
9711 * replace.el (replace-search): New function with code moved out
9712 from `perform-replace'.
9713 (replace-highlight, replace-dehighlight): Move function definitions
9714 up closer to `replace-search'. (Bug#11746)
9715
d289938a
JL
97162013-05-27 Juri Linkov <juri@jurta.org>
9717
9718 * replace.el (perform-replace): Ignore invisible matches.
9719 In addition to checking `query-replace-skip-read-only', also
9720 filter out matches by calling `run-hook-with-args-until-failure'
9721 on `isearch-filter-predicates', and also check `search-invisible'
9722 for t or call `isearch-range-invisible'.
9723 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9724
66fc57e3
JL
97252013-05-27 Juri Linkov <juri@jurta.org>
9726
9727 * isearch.el (isearch-filter-predicates): Rename from
9728 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9729 (isearch-message-prefix): Display text from the property
9730 `isearch-message-prefix' of the currently active filters.
9731 (isearch-search): Don't compare `isearch-filter-predicate' with
9732 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9733 on `isearch-filter-predicates'. Also check `search-invisible' for t
9734 or call `isearch-range-invisible'.
9735 (isearch-filter-visible): Make obsolete.
9736 (isearch-lazy-highlight-search):
9737 Call `run-hook-with-args-until-failure' on
9738 `isearch-filter-predicates' and use `isearch-range-invisible'.
9739
9740 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9741 `isearch-filter-predicates' instead of `funcall'ing
9742 `isearch-filter-predicate'.
9743 (Info-mode): Set `Info-isearch-filter' to
9744 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9745
9746 * dired-aux.el (dired-isearch-filter-predicate-orig):
9747 Remove variable.
9748 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9749 (dired-isearch-filenames-end): Add and remove
9750 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9751 instead of changing the value of `isearch-filter-predicate'.
9752 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9753 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9754 Put property `isearch-message-prefix' to "filename " on
9755 `dired-isearch-filter-filenames'.
9756
9757 * wdired.el (wdired-change-to-wdired-mode):
9758 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9759 locally instead of changing `isearch-filter-predicate'.
9760 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9761
f1a60a0f
DG
97622013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9763
9764 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9765 return the commit hash (Bug#14459). Also set the
9766 `vc-git-detached' property.
9767 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9768 (vc-git-mode-line-string): Use the same help-echo format whether
9769 in detached mode or not, because we know the actual revision now.
9770 When in detached mode, shorten the revision to 7 chars.
9771
7f17cc40
SM
97722013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9773
9774 * emacs-lisp/easy-mmode.el (define-minor-mode):
9775 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9776 mode hook and provide a docstring.
9777
25c8401c
AM
97782013-05-27 Alan Mackenzie <acm@muc.de>
9779
9780 Remove spurious syntax-table text properties inserted by C-y.
9781 * progmodes/cc-mode.el (c-after-change): Also clear hard
9782 syntax-table property with value nil.
9783
dde84790
MA
97842013-05-27 Michael Albinus <michael.albinus@gmx.de>
9785
9786 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9787 when reading the events; the buffer layout shall not be changed.
9788
837fd9af
LL
97892013-05-27 Leo Liu <sdl.web@gmail.com>
9790
9791 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9792 New variable.
9793 (inferior-octave-directory-tracker): Automatically re-sync
9794 default-directory.
9795 (octave-help): Improve handling of 'See also'.
9796
4fd996b3
SM
97972013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9798
416f1802
SM
9799 * doc-view.el: Minor naming convention tweaks.
9800 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9801
4fd996b3
SM
9802 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9803 even if there's no `display' property yet (bug#14435).
9804
a052ef3b
EZ
98052013-05-25 Eli Zaretskii <eliz@gnu.org>
9806
4fd996b3 9807 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9808
9809 * Makefile.in (custom-deps, finder-data, autoloads)
9810 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9811 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9812 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9813
c9023370
SM
98142013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9815
9816 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9817 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9818 Don't burp at EOB.
c9023370 9819
24d699fa
LL
98202013-05-25 Leo Liu <sdl.web@gmail.com>
9821
9822 * comint.el (comint-previous-matching-input): Do not flood the
9823 *Messages* buffer with trivial messages.
9824
17e5c0cc
SM
98252013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9826
9827 * progmodes/flymake.el (flymake-nop): Don't return a string.
9828 (flymake-set-at): Fix typo.
9829
9830 * simple.el (read--expression): New function, extracted from
9831 eval-expression. Set completion-at-point-functions (bug#14465).
9832 (eval-expression, eval-minibuffer): Use it.
9833
5d028165
XF
98342013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9835
9836 * progmodes/flymake.el (flymake-save-buffer-in-file)
9837 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9838 (flymake-selected-frame, flymake-log, flymake-ins-after)
9839 (flymake-set-at, flymake-get-buildfile-from-cache)
9840 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9841 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9842 Refine the doc string.
9843 (flymake-get-file-name-mode-and-masks): Reformat.
9844 (flymake-get-real-file-name-function): Fix a minor bug.
9845
7a1d7ba7
JL
98462013-05-24 Juri Linkov <juri@jurta.org>
9847
9848 * progmodes/grep.el (grep-mode-font-lock-keywords):
9849 Support =linenumber= format used by git-grep for lines with
9850 function names. (Bug#13549)
9851
650cff3d
SM
98522013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9853
9854 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9855 0 after a semi-colon; it works better for smie-auto-fill.
9856 (octave--indent-new-comment-line): New function.
9857 (octave-indent-new-comment-line): Use it (indirectly).
9858 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9859 modify comment-line-break-function.
9860
9861 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9862 (smie-setup): Use add-function to set it.
9863
9631677d
SS
98642013-05-24 Sam Steingold <sds@gnu.org>
9865
9866 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9867 argument (before the `interactive' argument).
9868
50105835
SM
98692013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9870
9871 * image-mode.el (image-mode-winprops): Add winprops to
9872 image-mode-winprops-alist before running
9873 image-mode-new-window-functions.
9874 * doc-view.el (doc-view-new-window-function): Don't delay
9875 doc-view-goto-page via timers (bug#14435).
9876
57b9823e
TH
98772013-05-24 Tassilo Horn <tsdh@gnu.org>
9878
9879 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9880 (doc-view-desktop-save-buffer): New function.
9881 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9882 (desktop-buffer-mode-handlers):
9883 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9884 handler.
9885 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9886 `desktop-save-buffer' function.
9887
91aafa16
MA
98882013-05-24 Michael Albinus <michael.albinus@gmx.de>
9889
9890 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9891 (tramp-gvfs-file-name-handler): Raise a user error when
9892 `tramp-gvfs-enabled' is nil.
9893 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9894 Do not raise a user error when loading package. (Bug#14447)
9895
ec076379
MA
9896 * net/xesam.el: Move to obsolete/.
9897
db785726
GM
98982013-05-24 Glenn Morris <rgm@gnu.org>
9899
af5c7606
GM
9900 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9901
e5d1916a
GM
9902 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9903
ded62b08
GM
9904 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9905 (Info-find-node, Man-getpage-in-background): Declare.
9906
9e614a3f
GM
9907 * mail/unrmail.el (unrmail):
9908 Replace obsolete detect-coding-with-priority.
9909
892f8ca3
GM
9910 * net/socks.el (socks-split-string): Use this rather than split-string.
9911 (socks-nslookup-host): Update for above change.
9912 (dynamic-choice, s5-dynamic-choice-match)
9913 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9914 Comment out unused code.
9915
3c291973
GM
9916 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9917 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9918 (gud-tooltip-echo-area): Make obsolete.
9919 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9920
43cc956b
GM
9921 * progmodes/js.el (js--optimize-arglist): Declare.
9922
dab49a3b
GM
9923 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9924
36b9d085
GM
9925 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9926 (ediff-window-C): Declare.
9927
e354ae76
GM
9928 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9929 Tweak requires to silence compiler.
9930
b8e57bf4
GM
9931 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9932 (he-search-string, he-tried-table, he-expand-list)
9933 (he-init-string, he-string-member, he-substitute-string)
9934 (he-reset-string): Declare.
9935
db785726
GM
9936 * obsolete/options.el (list-options): Use custom-variable-p,
9937 rather than obsolete alias.
9938
b3531901
SS
99392013-05-23 Sam Steingold <sds@gnu.org>
9940
9941 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9942 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9943 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9944
bdda4c66
SM
99452013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9946
9947 * emacs-lisp/smie.el (smie-indent-forward-token)
9948 (smie-indent-backward-token): Handle string tokens (bug#14381).
9949
c43d45f9
TH
99502013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9951
fe1eb856
RS
9952 * ielm.el (ielm-menu): New menu.
9953 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9954
fe1eb856
RS
99552013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9956
a12bf61e 9957 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
9958 Fix deactivate action.
9959
a12bf61e 9960 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 9961 Add cleveref macros.
074dd971 9962
a12bf61e 9963 * textmodes/reftex-parse.el
c43d45f9
TH
9964 (reftex-locate-bibliography-files): Accept options for
9965 bibliography commands.
a12bf61e 9966 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
9967 Add addbibresource. Basic Biblatex support.
9968
7764286e
MA
99692013-05-23 Michael Albinus <michael.albinus@gmx.de>
9970
9971 * net/tramp-gvfs.el (top):
9972 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9973 when loading package. (Bug#14447)
9974
d361bc10
GM
99752013-05-23 Glenn Morris <rgm@gnu.org>
9976
8fa23984
GM
9977 * progmodes/js.el: No need to load comint when compiling.
9978 (ring-insert, comint-send-string, comint-send-input)
9979 (comint-last-input-end, ido-chop): Declare.
9980
a5c7df1a
GM
9981 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9982 * vc/ediff-mult.el: Adjust requires.
9983 (ediff-directories-internal, ediff-directory-revisions-internal)
9984 (ediff-patch-file-internal): Declare.
9985 * vc/ediff-ptch.el: Adjust requires.
9986 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9987 (ediff-find-file): Autoload.
9988 * vc/ediff-util.el: No need to load ediff when compiling.
9989 (ediff-regions-internal): Declare.
9990 * vc/ediff-wind.el: Adjust requires.
9991 (ediff-compute-toolbar-width): Define when compiling.
9992 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9993 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9994 (dired-get-filename, dired-get-marked-files)
9995 (ediff-last-dir-patch, ediff-patch-default-directory)
9996 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9997 (ediff-patch-buffer-internal): Declare.
9998
e2aec513
GM
9999 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10000 (ispell-process, ispell-buffer-local-words, lm-summary)
10001 (lm-section-start, lm-section-end): Declare.
10002 (checkdoc-ispell-init): Simplify.
10003
e68bbd7c
GM
10004 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10005 (he-string-member, he-reset-string, he-substitute-string): Declare.
10006
7efe0991
GM
10007 * eshell/em-ls.el: Adjust requires.
10008 (eshell-glob-regexp): Declare.
f87b1284
GM
10009 * eshell/em-tramp.el: Adjust requires.
10010 (eshell-parse-command): Autoload.
10011 * eshell/em-xtra.el: Adjust requires.
10012 (eshell-parse-command): Autoload.
10013 * eshell/esh-ext.el: Adjust requires.
10014 (eshell-parse-command, eshell-close-handles): Autoload.
10015 * eshell/esh-io.el: Adjust requires.
10016 (eshell-output-filter): Autoload.
10017 * eshell/esh-util.el: No need to load tramp when compiling.
10018 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10019 Declare.
10020 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10021 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10022 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10023 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10024 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10025 * eshell/esh-opt.el, eshell/esh-proc.el:
10026 * eshell/esh-var.el: Adjust requires.
10027 * eshell/eshell.el: Do not require esh-util twice.
10028 (eshell-add-input-to-history): Declare.
10029 (eshell-command): Check history module is active before using it.
10030
d361bc10
GM
10031 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10032
85d090a9
LL
100332013-05-22 Leo Liu <sdl.web@gmail.com>
10034
10035 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10036
5d0acd9d
MA
100372013-05-22 Michael Albinus <michael.albinus@gmx.de>
10038
10039 * autorevert.el (auto-revert-notify-add-watch)
10040 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10041 it indicates changes in file modification time.
10042
0cdffd7d
GM
100432013-05-22 Glenn Morris <rgm@gnu.org>
10044
ca5995ec
GM
10045 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10046 Always delete the autoloaded function from the noruntime and
10047 unresolved functions lists.
10048
6450907e
GM
10049 * allout.el: No need to load epa, epg, overlay when compiling.
10050 (epg-context-set-passphrase-callback, epg-list-keys)
10051 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10052 (epg-key-user-id-list): Declare.
10053
9c6906f6
GM
10054 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10055 (viper-set-parsing-style-toggling-macro)
10056 (viper-set-emacs-state-searchstyle-macros):
10057 Use called-interactively-p on Emacs.
10058 (viper-looking-back): Make it an obsolete alias. Update callers.
10059 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10060 Use looking-back rather than viper-looking-back.
10061 (viper-tmp-insert-at-eob, viper-enlarge-region)
10062 (viper-read-string-with-history, viper-register-to-point)
10063 (viper-append-to-register, viper-change-state-to-vi)
10064 (viper-backward-char-carefully, viper-forward-char-carefully)
10065 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10066 (viper-change-state-to-emacs): Declare.
10067 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10068 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10069 * emulation/viper-mous.el: Do not load viper-cmd.
10070 (viper-backward-char-carefully, viper-forward-char-carefully)
10071 (viper-forward-word, viper-adjust-window): Declare.
10072
5f70c169
GM
10073 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10074
b1b7f300
GM
10075 * progmodes/idlw-help.el (idlwave-help-fontify):
10076 Use called-interactively-p.
10077
f6ebbb46
GM
10078 * term/w32console.el (w32-get-console-codepage)
10079 (w32-get-console-output-codepage): Declare.
10080
0cdffd7d
GM
10081 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10082 Remove unnecessary declarations.
10083 (dframe-message): Doc fix.
10084
10085 * info.el (dframe-select-attached-frame, dframe-current-frame):
10086 Declare.
10087
10088 * speedbar.el (speedbar-message): Make it an obsolete alias.
10089 Update all callers.
10090 (speedbar-with-attached-buffer)
10091 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10092 (speedbar-with-writable): Use backquote.
10093 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10094 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10095 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10096 rather than speedbar- aliases.
10097 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10098 (speedbar-make-specialized-keymap, speedbar-insert-button)
10099 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10100 (speedbar-do-function-pointer): Declare.
10101 (rmail-speedbar-button, rmail-speedbar-find-file)
10102 (rmail-speedbar-move-message):
10103 Use dframe-with-attached-buffer rather than speedbar- alias.
10104 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10105 (dframe-message, speedbar-make-specialized-keymap)
10106 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10107 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10108 (speedbar-insert-button, dframe-select-attached-frame)
10109 (dframe-maybee-jump-to-attached-frame)
10110 (speedbar-change-initial-expansion-list)
10111 (speedbar-previously-used-expansion-list-name): Declare.
10112 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10113 Use dframe-message, dframe-with-attached-buffer rather than
10114 speedbar- aliases.
10115 (gud-sentinel): Silence compiler.
10116 * progmodes/vhdl-mode.el (speedbar-refresh)
10117 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10118 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10119 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10120 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10121 (speedbar-file-lists, speedbar-make-tag-line)
10122 (speedbar-line-directory, speedbar-goto-this-file)
10123 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10124 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10125 (speedbar-make-button, speedbar-reset-scanners)
10126 (speedbar-files-item-info, speedbar-line-text)
10127 (speedbar-find-file-in-frame, speedbar-set-timer)
10128 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10129 (speedbar-with-writable): Do not (re)define it.
10130 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10131 rather than speedbar- alias.
10132
ee44b62a
LL
101332013-05-21 Leo Liu <sdl.web@gmail.com>
10134
10135 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10136 menu items.
10137 (octave-mode): Tweak fill-nobreak-predicate.
10138 (inferior-octave-startup): Check process to avoid infinite loop.
10139 (inferior-octave): Pop to buffer first to show abornmal process
10140 exit information.
10141
640f050f
GM
101422013-05-21 Glenn Morris <rgm@gnu.org>
10143
79458038
GM
10144 * printing.el (pr-menu-bar): Define when compiling.
10145
9cc3e83f
LL
101462013-05-21 Leo Liu <sdl.web@gmail.com>
10147
10148 * progmodes/octave.el (octave-auto-fill): Remove.
10149 (octave-indent-new-comment-line): Improve.
10150 (octave-mode): Use auto fill mode through
4f405069 10151 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10152 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10153 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10154 (octave-help): Show parent directory.
10155
f440830d
GM
101562013-05-21 Glenn Morris <rgm@gnu.org>
10157
10158 * files.el (dired-unmark):
10159 * progmodes/gud.el (gdb-input): Update declarations.
10160
10161 * calculator.el (electric, ehelp): No need to load when compiling.
10162 (Electric-command-loop, electric-describe-mode): Declare.
10163
10164 * doc-view.el (doc-view-current-converter-processes): Move before use.
10165
10166 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10167 Move MODE-set-explicitly definition before use.
10168
10169 * international/mule-diag.el (mule-diag):
10170 Don't use obsolete window-system-version.
10171
10172 * mail/feedmail.el (smtpmail): No need to load when compiling.
10173 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10174
10175 * mail/mail-utils.el (rfc822): No need to load when compiling.
10176 (rfc822-addresses): Autoload it.
10177 (mail-strip-quoted-names): Trivial simplification.
10178
10179 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10180 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10181
10182 * net/snmp-mode.el (tempo): Don't duplicate requires.
10183
10184 * progmodes/prolog.el (info): No need to load when compiling.
10185 (comint): Require before shell requires it.
10186 (Info-goto-node): Autoload it.
10187 (Info-follow-nearest-node): Declare.
10188 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10189
10190 * textmodes/artist.el (picture-mode-exit): Declare.
10191
10192 * textmodes/reftex-parse.el (reftex-parse-from-file):
10193 Trivial rewrite so the compiler can parse it better.
10194
b4da2cbb
LL
101952013-05-20 Leo Liu <sdl.web@gmail.com>
10196
10197 * progmodes/octave.el (octave-help-mode-map)
10198 (octave-help-mode-finish-hook): New variables.
10199 (octave-help-mode, octave-help-mode-finish): New functions.
10200 (octave-help): Use octave-help-mode.
10201
33c0f65b
GM
102022013-05-20 Glenn Morris <rgm@gnu.org>
10203
10204 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10205
1a0a0a8a
DG
102062013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10207
10208 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10209 start at point, so that expansion starting right after opening
10210 slash in a regexp is recognized.
10211 (ruby-syntax-before-regexp-re): New defvar, extracted from
10212 ruby-syntax-propertize-function. Since the value of this regexp
10213 is looked up at runtime now, we should be able to turn
10214 `ruby-syntax-methods-before-regexp' into a defcustom later.
10215 (ruby-syntax-propertize-function): Split regexp matching into two
10216 parts, for opening and closing slashes. That allows us to skip
10217 over string interpolations and support multiline regexps.
10218 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10219 for them, which calls `ruby-syntax-propertize-expansion'.
10220 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10221 call to `ruby-syntax-propertize-function'.
10222 (ruby-syntax-propertize-expansion): Extracted from
10223 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10224 (ruby-syntax-propertize-percent-literal): Leave point right after
10225 the percent symbol, so that the expression expansion rule can
10226 propertize the contents.
462388b6
DG
10227 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10228 heredoc openers.
10229 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10230
c1a6c0a4
JL
102312013-05-18 Juri Linkov <juri@jurta.org>
10232
10233 * man.el (Man-default-man-entry): Remove `-' from the end
10234 of the default value. (Bug#14400)
10235
8051fccd
GM
102362013-05-18 Glenn Morris <rgm@gnu.org>
10237
10238 * comint.el (comint-password-prompt-regexp):
10239 Allow "password for XXX" where XXX contains colons (eg https://...).
10240
5e80b74f
LL
102412013-05-18 Leo Liu <sdl.web@gmail.com>
10242
10243 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10244 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10245 (octave-source-directories): Don't check process.
10246 (octave-source-directories, octave-find-definition): Doc fix.
10247
521a54c5
GM
102482013-05-18 Glenn Morris <rgm@gnu.org>
10249
86a94b05
GM
10250 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10251 Remove backspace/delete bindings. (Bug#14392)
10252
521a54c5
GM
10253 * cus-dep.el (custom-make-dependencies): Sort the output.
10254 (custom-versions-load-alist): Convert comment to doc.
10255
42caeb89
LL
102562013-05-17 Leo Liu <sdl.web@gmail.com>
10257
10258 * newcomment.el (comment-search-backward): Stricter in finding
10259 comment start. (Bug#14303)
10260
10261 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10262 (octave-comment-start-skip): Properly anchored.
10263
e219dd97
LL
102642013-05-17 Leo Liu <sdl.web@gmail.com>
10265
fe1eb856
RS
10266 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10267 Clean up when turned off. (Bug#14395)
e219dd97
LL
10268 (smie--highlight-matching-block-overlay): No longer buffer-local.
10269 (smie-highlight-matching-block): Adjust.
10270
dc5dcb4b
PE
102712013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10272
10273 Doc string fix for "nanoseconds" (Bug#14406).
10274 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10275 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10276
1db165f0
JB
102772013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10278
10279 * calc/calc-units.el (math-extract-units): Preserve powers
10280 of units.
10281
c7a8fcac
LL
102822013-05-17 Leo Liu <sdl.web@gmail.com>
10283
10284 * subr.el (delete-consecutive-dups): New function.
10285 * ido.el (ido-set-matches-1): Use it.
10286 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10287 * ido.el (ido-remove-consecutive-dups): Remove.
10288
f678b18a
SM
102892013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10290
10291 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10292 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10293 regexp-opt's `words'.
10294
ebfe68e8
LL
102952013-05-16 Leo Liu <sdl.web@gmail.com>
10296
10297 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10298 (smie--highlight-matching-block-overlay)
10299 (smie--highlight-matching-block-lastpos)
10300 (smie--highlight-matching-block-timer): New variables.
10301 (smie-highlight-matching-block): New function.
10302 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10303 (smie-setup): Conditionally enable smie-blink-matching-open.
10304
bc8bc17d
WS
103052013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10306
10307 Sync with upstream verilog-mode r840.
10308 * progmodes/verilog-mode.el (verilog-mode-version)
10309 (verilog-mode-release-date): Update.
10310 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10311 (verilog-sig-tieoff): Fix string error on
10312 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10313 (verilog-read-decls): Fix parameters confusing
10314 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10315
df065a0b
EZ
103162013-05-16 Eli Zaretskii <eliz@gnu.org>
10317
10318 * subr.el (reveal-filename): New function.
10319
10320 * loadup.el: Compute Emacs executable versions on MS-Windows,
10321 where executables have the .exe extension. Add a hard link
10322 emacs-XX.YY.ZZ.exe on MS-Windows.
10323
10324 * Makefile.in (XARGS_LIMIT): New variable.
10325 (custom-deps, finder-data, autoloads)
10326 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10327 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10328 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10329 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10330
2d4bf34b
LL
103312013-05-16 Leo Liu <sdl.web@gmail.com>
10332
10333 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10334 (octave-mode-menu, octave-mode-map): Remove its uses.
10335
6b9c2d85
RZ
103362013-05-16 Reto Zimmermann <reto@gnu.org>
10337
10338 Sync with upstream vhdl mode v3.34.2.
10339 * progmodes/vhdl-mode.el: Use `push' throughout.
10340 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10341 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10342 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10343 (vhdl-actual-generic-name): New option to derive actual generic name.
10344 (vhdl-port-paste-signals): Replace formal by actual generics.
10345 (vhdl-beautify): New name for old group vhdl-align. Update users.
10346 (vhdl-beautify-options): New option.
10347 (vhdl-last-input-event): New compat alias. Use throughout.
10348 (vhdl-goto-line): Replace user level function `goto-line'.
10349 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10350 vhdl-fix-statement-buffer.
10351 (vhdl-create-mode-menu): Add some entries.
10352 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10353 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10354 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10355 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10356 to force statements on one line.
10357 (vhdl-remove-trailing-spaces-region):
10358 New, split from vhdl-remove-trailing-spaces.
10359 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10360 Respect vhdl-beautify-options.
10361 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10362 (vhdl-update-sensitivity-list): Not add with index if exists without.
10363 Not include array index with signal. Ignore keywords in comments.
10364 (vhdl-get-visible-signals): Regexp tweaks.
10365 (vhdl-template-component-inst): Handle empty library.
10366 (vhdl-template-type): Add template for 'enum' type.
10367 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10368 Use vhdl-replace-string.
10369 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10370 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10371 (vhdl-speedbar-initialize): Update for above name change.
10372 (vhdl-compose-wire-components): Fix in handling of constants.
10373 (vhdl-error-regexp-emacs-alist): New variable.
10374 (vhdl-error-regexp-add-emacs): New function;
10375 adds support for new compile.el (Emacs 22+)
10376 (vhdl-generate-makefile-1): Change target order for single lib. units.
10377 Allow use of absolute file names.
10378
9df4ec5e
LL
103792013-05-16 Leo Liu <sdl.web@gmail.com>
10380
10381 * simple.el (prog-indent-sexp): Indent enclosing defun.
10382
f5ba00a6
GM
103832013-05-15 Glenn Morris <rgm@gnu.org>
10384
ed8be7ff
GM
10385 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10386 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10387 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10388 (whitespace-highlight): Move to whitespace group.
10389
10390 * comint.el (comint-source):
10391 * pcmpl-linux.el (pcmpl-linux):
10392 * shell.el (shell-faces):
10393 * eshell/esh-opt.el (eshell-opt):
10394 * international/ccl.el (ccl): Remove empty custom groups.
10395
10396 * completion.el (dynamic-completion-mode):
10397 * jit-lock.el (jit-lock-debug-mode):
10398 * minibuffer.el (completion-in-region-mode):
10399 * type-break.el (type-break-mode-line-message-mode)
10400 (type-break-query-mode):
10401 * emulation/tpu-edt.el (tpu-edt-mode):
10402 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10403 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10404 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10405
10406 * term/xterm.el (xterm): Change parent group to terminals.
10407
10408 * master.el (master): Remove empty custom group.
10409 (master-mode): Remove unused :group argument.
10410 * textmodes/refill.el (refill): Remove empty custom group.
10411 (refill-mode): Remove unused :group argument.
10412
10413 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10414
82a7c41b
GM
10415 * cus-dep.el: Provide a feature.
10416 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10417 Don't mistakenly ignore files whose basenames match a basename
10418 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10419 Add a fallback method for getting :group.
f5ba00a6 10420
6d65486d
JL
104212013-05-15 Juri Linkov <juri@jurta.org>
10422
da547b32
JL
10423 * isearch.el (isearch-char-by-name): Rename from
10424 `isearch-insert-char-by-name'. Doc fix.
10425 (isearch-forward): Mention `isearch-char-by-name' in
10426 the docstring. (Bug#13348)
10427
6d65486d
JL
10428 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10429 `exit-minibuffer' instead of
10430 `isearch-nonincremental-exit-minibuffer'.
10431 (isearch-edit-string): Remove mention of
10432 `isearch-nonincremental-exit-minibuffer' from docstring.
10433 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10434 (isearch-forward-exit-minibuffer)
10435 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10436
c9990474
SM
104372013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10438
6e911150
SM
10439 * loadup.el: Just use unversioned DOC.
10440
c9990474
SM
10441 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10442 literals as extending to EOB.
10443 (nxml-last-fontify-end): Remove unused variable.
10444 (nxml-after-change1): Use with-silent-modifications.
10445 (nxml-extend-after-change-region): Simplify.
10446 (nxml-extend-after-change-region1): Remove function.
10447 (nxml-after-change1): Don't adjust for dependent regions.
10448 (nxml-fontify-matcher): Simplify.
10449 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10450 (xmltok-add-dependent): Remove function.
10451 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10452 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10453 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10454 unclosed <[[, <?, comment, and other literals as extending to EOB.
10455 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10456 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10457 Remove functions.
10458 (rng-do-some-validation-1): Don't mark dependent regions.
10459 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10460 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10461 (nxml-clear-dependent-regions): Remove functions.
10462 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10463 (nxml-ensure-scan-up-to-date):
10464 Don't clear&mark dependent regions.
10465
e3772e98
LL
104662013-05-15 Leo Liu <sdl.web@gmail.com>
10467
c9990474
SM
10468 * progmodes/octave.el (octave-goto-function-definition):
10469 Improve and fix callers.
e3772e98 10470
5ac2eb34
SM
104712013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10472
c46c57b0
SM
10473 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10474 the setter (bug#14387).
10475
5ac2eb34
SM
10476 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10477 surrounding group (bug#14402).
10478
180ed218
JL
104792013-05-14 Juri Linkov <juri@jurta.org>
10480
10481 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10482 (Bug#14390)
10483
0ac0fecb
GM
104842013-05-14 Glenn Morris <rgm@gnu.org>
10485
10486 * progmodes/f90.el (f90-imenu-generic-expression):
10487 Fix typo in 2013-05-08 change. (Bug#14402)
10488
2e78e6a7
JPG
104892013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10490
5ac2eb34
SM
10491 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10492 Remove signals for which replies are never received.
2e78e6a7 10493
53267cca
JPG
104942013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10495
10496 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10497 (gdb-handler-alist, gdb-handler-number): Remove variables.
10498 (gdb-handler-list): New variable.
10499 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10500 (gdb-pending-handler-p, gdb-handle-reply)
10501 (gdb-remove-all-pending-triggers): New functions.
10502 (gdb-discard-unordered-replies): New defcustom.
10503 (gdb-handler): New defstruct.
10504 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10505 instead of gdb-pending-triggers. Update docstring.
10506 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10507 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10508 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10509 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10510 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10511 (gdb-frame-handler): Pending triggers are now automatically managed.
10512 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10513 Remove argument.
10514 (gdb-input): Automatically handles pending triggers. Update docstring.
10515 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10516 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10517 Update comments.
10518 (gdb-done-or-error): Now use gdb-handle-reply.
10519
d04ce803
JPG
105202013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10521
10522 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10523 gdb-debug-log.
10524
0114073a
GM
105252013-05-14 Glenn Morris <rgm@gnu.org>
10526
10527 * subr.el (user-emacs-directory-warning): New option.
10528 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10529
4d25fd7e
LL
105302013-05-14 Leo Liu <sdl.web@gmail.com>
10531
10532 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10533 during redisplay.
10534 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10535 (octave-font-lock-texinfo-comment): Fix invalid search bound
10536 error: wrong side of point.
4d25fd7e 10537
27c8b6eb
GM
105382013-05-14 Glenn Morris <rgm@gnu.org>
10539
61aaeb01
GM
10540 * progmodes/flymake.el (flymake-xml-program): New option.
10541 (flymake-xml-init): Use it.
10542
5bf90bc5
GM
10543 * term/xterm.el: Provide a feature.
10544
10545 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10546
f4c7dfd2
GM
105472013-05-13 Glenn Morris <rgm@gnu.org>
10548
10549 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10550 Add compat aliases as a hack workaround. (Bug#14384)
10551
2aeb3a1d
LL
105522013-05-13 Leo Liu <sdl.web@gmail.com>
10553
b0e069c2
LL
10554 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10555 ###, and %!.
f5a9432f
LL
10556 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10557 C-M-q.
b0e069c2
LL
10558 (octave-comment-start-skip): Include %!.
10559 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10560
30ea8374
LL
105612013-05-12 Leo Liu <sdl.web@gmail.com>
10562
10563 * progmodes/octave.el (inferior-octave-startup): Store the value
10564 of __octave_srcdir__ for octave-source-directories.
10565 (inferior-octave-check-process): New function refactored out of
10566 inferior-octave-send-list-and-digest.
10567 (octave-source-directories)
10568 (octave-find-definition-filename-function): New variables.
10569 (octave-source-directories)
10570 (octave-find-definition-default-filename): New functions.
10571 (octave-find-definition): Improve to find functions implemented in C++.
10572
472a3834
GM
105732013-05-12 Glenn Morris <rgm@gnu.org>
10574
10575 * calendar/diary-lib.el (diary-outlook-format-1):
10576 Don't include dayname in the output. (Bug#14349)
10577
3191b52f
GM
105782013-05-11 Glenn Morris <rgm@gnu.org>
10579
0060ac73
GM
10580 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10581
3191b52f
GM
10582 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10583 Treat cc-provide like provide.
10584
e065ba74
KR
105852013-05-11 Kevin Ryde <user42@zip.com.au>
10586
10587 * cus-dep.el (custom-make-dependencies):
10588 Use generated-autoload-load-name for the sake of files such
10589 such cedet/semantic/bovine/c.el, where the base file name
10590 is not in load-path. (Bug#5277)
10591
36f84c37
GM
105922013-05-11 Glenn Morris <rgm@gnu.org>
10593
10594 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10595 Provide features.
10596
c8730c3a
LL
105972013-05-11 Leo Liu <sdl.web@gmail.com>
10598
10599 * progmodes/octave.el (octave-indent-comment): Improve.
10600 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10601 (octave-eldoc-function-signatures, octave-eldoc-function):
10602 New functions.
c8730c3a
LL
10603 (octave-mode, inferior-octave-mode): Add eldoc support.
10604
212e29f2
RS
106052013-05-11 Richard Stallman <rms@gnu.org>
10606
10607 * epa.el (epa-decrypt-file): Take output file name as argument
10608 and read it using `interactive'.
10609
083fe0d7
LL
106102013-05-11 Leo Liu <sdl.web@gmail.com>
10611
10612 * progmodes/octave.el (octave-beginning-of-line)
10613 (octave-end-of-line): Check before using up-list because it jumps
10614 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10615 (octave-indent-comment): New function.
10616 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10617 (octave-begin-keywords, octave-end-keywords)
10618 (octave-reserved-words, octave-smie-bnf-table)
10619 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10620
8582e4c4
GM
106212013-05-11 Glenn Morris <rgm@gnu.org>
10622
f20def1f
GM
10623 * faces.el (internal-face-x-get-resource):
10624 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10625 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10626 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10627 Fix declarations.
f20def1f 10628
445f95e2
GM
10629 * calc/calc-menu.el: Make it loadable in isolation.
10630
10631 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10632 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10633 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10634 (eudc-bbdb-query-internal): Require 'bbdb.
10635
99fb2756
GM
10636 * lpr.el (lpr-headers-switches):
10637 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10638
10639 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10640
0da7ad96
GM
10641 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10642
8582e4c4
GM
10643 * term.el (term-set-escape-char): Make it idempotent.
10644
f71c50d0
LL
106452013-05-10 Leo Liu <sdl.web@gmail.com>
10646
5ac2eb34
SM
10647 * progmodes/octave.el (inferior-octave-completion-table):
10648 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10649 completion due to bug#11906.
10650 (octave-beginning-of-defun): Re-write to be more general.
10651
d5837773
GM
106522013-05-10 Glenn Morris <rgm@gnu.org>
10653
10654 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10655
027c0f75
SM
106562013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10657
10658 * comint.el (comint-redirect-send-command-to-process): Use :around
10659 rather than :override for comint-redirect-filter.
10660 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10661 Call it instead of comint-redirect-original-filter-function (which
10662 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10663
4465bfb4
JD
106642013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10665
10666 * frame.el (display-monitor-attributes-list): Add NS case.
10667 (ns-display-monitor-attributes-list): Declare.
10668
2d809ffa 106692013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10670
10671 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10672
e54eeb9b
GM
106732013-05-09 Glenn Morris <rgm@gnu.org>
10674
56cd351d
GM
10675 * international/fontset.el (vertical-centering-font-regexp):
10676 Set standard-value.
10677
d84b6108
GM
10678 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10679
a931698a
GM
10680 * bookmark.el (bookmark-search-delay):
10681 * cus-start.el (vertical-centering-font-regexp):
10682 * ps-mule.el (ps-mule-font-info-database-default):
10683 * ps-print.el (ps-default-fg, ps-default-bg):
10684 * type-break.el (type-break-good-break-interval):
10685 * whitespace.el (whitespace-indentation-regexp)
10686 (whitespace-space-after-tab-regexp):
10687 * emacs-lisp/testcover.el (testcover-1value-functions)
10688 (testcover-noreturn-functions, testcover-progn-functions)
10689 (testcover-prog1-functions):
10690 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10691 * eshell/em-glob.el (eshell-glob-translate-alist):
10692 * play/tetris.el (tetris-tty-colors):
10693 * progmodes/cpp.el (cpp-face-default-list):
10694 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10695 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10696 (idlwave-help-browser-generic-args):
10697 * progmodes/make-mode.el (makefile-special-targets-list):
10698 * progmodes/python.el (python-shell-virtualenv-path):
10699 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10700 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10701 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10702 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10703 * textmodes/reftex-vars.el (reftex-format-label-function):
10704 * textmodes/remember.el (remember-diary-file): Fix custom types.
10705
e54eeb9b
GM
10706 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10707 Add :version.
10708
455851dd
LL
107092013-05-09 Leo Liu <sdl.web@gmail.com>
10710
10711 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10712 Restore file completion. (Bug#14300)
455851dd
LL
10713 (inferior-octave-startup): Fix incorrect highlighting for the
10714 first prompt.
10715
a9e4425b
SM
107162013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10717
10718 * progmodes/ruby-mode.el: First cut at SMIE support.
10719 (ruby-use-smie): New var.
10720 (ruby-smie-grammar): New constant.
10721 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10722 (ruby-smie--forward-token, ruby-smie--backward-token)
10723 (ruby-smie-rules): New functions.
10724 (ruby-mode-variables): Setup SMIE if applicable.
10725
060ca408
EZ
107262013-05-08 Eli Zaretskii <eliz@gnu.org>
10727
10728 * simple.el (line-move-visual): Signal beginning/end of buffer
10729 only if vertical-motion moved less than it was requested. Avoids
10730 silly incorrect error messages when there are display strings with
10731 multiple newlines at EOL.
10732
1d5963cc
SM
107332013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10734
10735 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10736 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10737 (prolog-char-quote-workaround):
10738 * progmodes/cperl-mode.el (cperl-under-as-char):
10739 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10740 Mark as obsolete.
10741 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10742 their declaration.
10743 (vhdl-mode-syntax-table-init): Remove.
10744
c9990474
SM
10745 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10746 last change.
1d5963cc
SM
10747
10748 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10749 syntax for "_".
10750 (ld-script-font-lock-keywords):
10751 Change regexps to use things like \_< and \_>.
10752
10753 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10754 Change all regexps to use things like \_< and \_>.
10755
10756 * progmodes/autoconf.el (autoconf-definition-regexp)
10757 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10758 Handle a _ with symbol syntax.
10759 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10760
c9990474
SM
10761 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10762 Consolidate declaration.
1d5963cc
SM
10763 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10764 the declaration.
10765 (ada-create-syntax-table): Remove.
10766 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10767 already has the right syntax nowadays.
10768 (ada-goto-next-word): Don't change the syntax of "_".
10769
10770 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10771 with-wrapper-hook.
10772
72d3cfca
SS
107732013-05-08 Sam Steingold <sds@gnu.org>
10774
10775 * thingatpt.el (thing-at-point): Accept optional second argument
10776 NO-PROPERTIES to strip the text properties from the return value.
10777 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10778 to `thing-at-point' instead of stripping the properties ourselves.
10779 Also, when `thing-at-point' fails to find a url, prepend "http://"
10780 to the filename at point on the assumption that the user is
10781 pointing at something like gnu.org/gnu.
10782
5cb15713
JB
107832013-05-08 Juanma Barranquero <lekktu@gmail.com>
10784
10785 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10786 * faces.el (crm-separator):
10787 Silence byte-compiler.
10788
10789 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10790 (tool-bar-map): Remove unneeded defvars.
10791
ea78b95b
LL
107922013-05-08 Leo Liu <sdl.web@gmail.com>
10793
10794 Re-work a fix for bug#10994 based on Le Wang's patch.
10795 * ido.el (ido-remove-consecutive-dups): New helper.
10796 (ido-completing-read): Use it.
10797 (ido-chop): Revert fix for bug#10994.
10798
dc7466df
AS
107992013-05-08 Adam Spiers <emacs@adamspiers.org>
10800
10801 * cus-edit.el (custom-save-variables):
10802 Pretty-print long values. (Bug#14187)
10803
9ecf672a
GM
108042013-05-08 Glenn Morris <rgm@gnu.org>
10805
10806 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10807 (m4-mode-syntax-table): Init in the defvar.
10808 (m4-mode-abbrev-table): Let define-derived-mode define it.
10809
3f555be8
TT
108102013-05-08 Tom Tromey <tromey@redhat.com>
10811
10812 * progmodes/m4-mode.el (m4-mode-syntax-table):
10813 Do not treat "_" as word constituent. (Bug#14167)
10814
7cc8ae06
GM
108152013-05-07 Glenn Morris <rgm@gnu.org>
10816
4f58bc06
GM
10817 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10818 Remove explicit eshell-isearch-cancel-map.
10819
7cc8ae06
GM
10820 * progmodes/f90.el (f90-smart-end-names): New option.
10821 (f90-smart-end): Doc fix.
10822 (f90-end-block-optional-name): New constant.
10823 (f90-block-match): Respect f90-smart-end-names.
10824
ceb57e59
SM
108252013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10828 about implicit semi-colons (bug#14218).
10829
4e3f9230
YM
108302013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10831
10832 * frame.el (display-monitor-attributes-list)
10833 (frame-monitor-attributes): New functions.
10834
203a5572
LL
108352013-05-06 Leo Liu <sdl.web@gmail.com>
10836
10837 * progmodes/octave.el (octave-syntax-propertize-function): Change
10838 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10839 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10840 (octave-completion-at-point): Rename from
203a5572
LL
10841 octave-completion-at-point-function.
10842 (inferior-octave-directory-tracker): Robustify.
10843 (octave-text-functions): Remove and fix its uses. No such things
10844 any more.
10845
ee6cff99
SM
108462013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10847
10848 * emacs-lisp/trace.el (trace--display-buffer): New function.
10849 (trace-make-advice): Use it.
10850
32985194
JL
108512013-05-06 Juri Linkov <juri@jurta.org>
10852
10853 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10854 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10855 Doc fix.
10856 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10857 in the help string. (Bug#12985)
10858
a1c700de
KD
108592013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10860
10861 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10862
c67c0839
SM
108632013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10864
323885fd
SM
10865 * progmodes/perl-mode.el: Add support for here documents.
10866 (perl-syntax-propertize-function): Match here-doc markers.
10867 (perl-syntax-propertize-special-constructs): Find their end.
10868 (perl-imenu-generic-expression): Use [:alnum:].
10869
c67c0839
SM
10870 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10871 (advice--add-function): Refresh the advice if already present
10872 (bug#14317).
10873
d491e7a8
IA
108742013-05-06 Ivan Andrus <darthandrus@gmail.com>
10875
10876 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10877
ddf9925e
GM
108782013-05-06 Glenn Morris <rgm@gnu.org>
10879
7cc3af27
GM
10880 * w32-fns.el (w32-charset-info-alist): Declare.
10881
16e343d6
GM
10882 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10883 of its defcustom properties.
10884 (eshell-cmpl-initialize): No need to load pcomplete.
10885
7d889a47
GM
10886 * generic-x.el: No need to require comint when compiling.
10887
ddf9925e
GM
10888 * net/eudc-export.el: Make it loadable without bbdb.
10889 (top-level): Use require rather than load-library.
10890 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10891 (eudc-batch-export-records-to-bbdb)
10892 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10893 Require bbdb.
10894
1e2c18df
SM
108952013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10896
10897 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10898 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10899 some tweaks, instead.
10900
02502a5f
LL
109012013-05-05 Leo Liu <sdl.web@gmail.com>
10902
10903 * progmodes/octave.el (octave-font-lock-keywords)
10904 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10905 (inferior-octave-send-list-and-digest): Improve error message.
10906 (octave-mode, inferior-octave-mode): Use setq-local.
10907 (octave-help): Set info-lookup-mode.
10908
0dc04f42
RS
109092013-05-05 Richard Stallman <rms@gnu.org>
10910
6c54491c
RS
10911 * vc/compare-w.el (compare-windows-whitespace):
10912 Treat no-break space as whitespace.
10913
0dc04f42
RS
10914 * mail/rmailsum.el (rmail-summary-rmail-update):
10915 Detect empty summary and don't change selected message.
10916 (rmail-summary-goto-msg): Likewise.
10917
df8f35df
RS
10918 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10919 Doc fixes, rename args.
10920
5356e1a3
AM
109212013-05-05 Alan Mackenzie <acm@muc.de>
10922
10923 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10924
d44014cb
JL
109252013-05-05 Juri Linkov <juri@jurta.org>
10926
10927 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10928 to not add the length of the summary segment to the return value.
10929 (Bug#14125)
10930
c129b51f
LL
109312013-05-05 Leo Liu <sdl.web@gmail.com>
10932
10933 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10934 (inferior-octave-output-filter): Remove.
10935 (octave-send-region, inferior-octave-startup): Fix callers.
10936 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10937 (octave-binary-file-extensions): New user variable.
10938 (octave-find-definition): Confirm if opening binary files.
10939 (octave-help-file): Use octave-find-definition to get the binary
10940 confirmation.
10941 (octave-help): Adjust for octave-help-file change.
10942
aa7dab97
SM
109432013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10944
10945 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10946 Merge the two entries that handle function definitions.
10947 (pascal--syntax-propertize): New const.
10948 (pascal-mode): Use it. Use setq-local.
10949
fd3a9a6b
GM
109502013-05-04 Glenn Morris <rgm@gnu.org>
10951
10952 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10953 (diary-from-outlook): Respect diary-from-outlook-function.
10954
30c7e542
SM
109552013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10956
10957 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10958 Move the declaration from C.
10959 (read-minibuffer, eval-minibuffer): Move from C.
10960 (completion-setup-function): Avoid minibuffer-completion-contents.
10961
b54f978b
LL
109622013-05-03 Leo Liu <sdl.web@gmail.com>
10963
10964 * progmodes/octave.el (octave-font-lock-keywords): Do not
10965 dehighlight 'end' in comments or strings.
30c7e542
SM
10966 (octave-completing-read, octave-goto-function-definition):
10967 New helpers.
d4d0f9b3
LL
10968 (octave-help-buffer): New user variable.
10969 (octave-help-file, octave-help-function): New button types.
10970 (octave-help): New command and bind it to C-h ;.
10971 (octave-find-definition): New command and bind it to M-.
d74a1581 10972 (user-error): Alias to error if not defined.
b54f978b 10973
27135018
LL
109742013-05-02 Leo Liu <sdl.web@gmail.com>
10975
10976 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10977 for \. (bug#14332)
10978 (octave-font-lock-keywords): Include [ and {.
10979
0d634d3a
LL
109802013-05-02 Leo Liu <sdl.web@gmail.com>
10981
10982 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10983 (inferior-octave): Remove calling comint-mode and return the buffer.
10984 (inferior-octave-startup): Cosmetic changes.
10985
b4c8295e
LL
109862013-05-02 Leo Liu <sdl.web@gmail.com>
10987
30c7e542
SM
10988 * progmodes/octave.el (octave-syntax-propertize-function):
10989 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10990
f12ad6ec
GM
109912013-05-02 Glenn Morris <rgm@gnu.org>
10992
10993 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10994 * desktop.el (vc-dir-mode): Just autoload it here.
10995
30cac1e0
AM
109962013-05-02 Alan Mackenzie <acm@muc.de>
10997
10998 Eliminate variable c-standard-font-lock-fontify-region-function.
10999 * progmodes/cc-mode.el
11000 (c-standard-font-lock-fontify-region-function): Remove.
11001 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11002
d8ef28b1
LL
110032013-05-01 Leo Liu <sdl.web@gmail.com>
11004
2640d52e 11005 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11006 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11007 variables were removed from Octave in 2007.
d8ef28b1
LL
11008 (inferior-octave-startup): Fix uses.
11009 (comint-line-beginning-position): Remove compatibility code for
11010 emacs 21.
11011
ac63ec89
JL
110122013-05-01 Juri Linkov <juri@jurta.org>
11013
11014 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11015
9e9be37c
JL
110162013-05-01 Juri Linkov <juri@jurta.org>
11017
11018 * comint.el (comint-previous-matching-input): Don't print message
11019 "History item: %d" when `isearch-mode' is active.
11020 (comint-history-isearch-message): Print message "History item: %d"
11021 when `comint-input-ring-index' is not empty and this function is
11022 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11023
9b92c13b
LL
110242013-05-01 Leo Liu <sdl.web@gmail.com>
11025
11026 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11027 definitions. Use completion-at-point to insert keywords.
11028 (octave-abbrev-start): Remove.
11029 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11030
b12d33d7
LL
110312013-04-30 Leo Liu <sdl.web@gmail.com>
11032
11033 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11034 change.
11035
3d1c39fa
AM
110362013-04-30 Alan Mackenzie <acm@muc.de>
11037
11038 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11039 * progmodes/cc-engine.el (c-back-over-member-initializers):
11040 new function.
3d1c39fa
AM
11041 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11042 (most) member init lists.
11043
5147fc17
RS
110442013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11045
11046 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11047 variable.
11048
5b78d7fc
LL
110492013-04-30 Leo Liu <sdl.web@gmail.com>
11050
11051 * progmodes/octave.el (octave-variables): Remove. No builtin
11052 variables any more. All converted to functions.
11053 (octave-font-lock-keywords, octave-completion-at-point-function):
11054 Fix uses.
11055 (octave-font-lock-texinfo-comment): New user variable.
11056 (octave-texinfo-font-lock-keywords): New variable for texinfo
11057 comment block.
11058 (octave-function-comment-block): New face.
11059 (octave-font-lock-texinfo-comment): New function.
11060 (octave-mode): Font lock texinfo comment block.
11061
38d8527b
LL
110622013-04-29 Leo Liu <sdl.web@gmail.com>
11063
11064 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11065 indexing expression.
11066 (octave-continuation-string): Do not use \.
11067 (inferior-octave-complete-impossible): Remove.
11068 (inferior-octave-completion-table)
11069 (inferior-octave-completion-at-point): Remove its uses.
11070 (inferior-octave-startup): completion_matches was introduced to
11071 Octave in 1996 so safe to assume it.
11072 (octave-function-file-comment): Improve to follow how Octave does it.
11073 (octave-update-function-file-comment): Tweak.
11074
2ec12cb0
LL
110752013-04-29 Leo Liu <sdl.web@gmail.com>
11076
11077 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11078 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11079 (octave-function-file-comment): Fix typo.
11080 (octave-sync-function-file-names): Use read-char-choice.
11081
6eaed048
JB
110822013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11083
11084 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11085 to t for the less important warnings.
11086
3ffa2d4f
DH
110872013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11088
11089 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11090
685c9501
GM
110912013-04-27 Glenn Morris <rgm@gnu.org>
11092
11093 * vc/log-view.el (log-view-current-entry):
11094 Treat "---" separator lines as part of the following rev. (Bug#14169)
11095
0208ede7
JL
110962013-04-27 Juri Linkov <juri@jurta.org>
11097
11098 * subr.el (read-number): Doc fix about using it by interactive
11099 code letter `n'. (Bug#14254)
11100
5db9dace
JL
111012013-04-27 Juri Linkov <juri@jurta.org>
11102
11103 * desktop.el (desktop-auto-save-timeout): New option.
11104 (desktop-file-checksum): New variable.
11105 (desktop-save): Add optional arg `auto-save' and don't auto-save
11106 if nothing changed.
11107 (desktop-auto-save-timer): New variable.
11108 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11109 (after-init-hook): Call `desktop-auto-save-set-timer'.
11110 Suggested by Reuben Thomas <rrt@sc3d.org> in
11111 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11112
b7260dd4
LL
111132013-04-27 Leo Liu <sdl.web@gmail.com>
11114
11115 * progmodes/octave.el (octave-function-file-p)
11116 (octave-skip-comment-forward, octave-function-file-comment)
11117 (octave-update-function-file-comment): New functions.
11118 (octave-mode-map): Bind C-c ; to
11119 octave-update-function-file-comment.
11120 (octave-mode-menu): Add octave-update-function-file-comment.
11121 (octave-mode, inferior-octave-mode): Fix doc-string.
11122 (octave-insert-defun): Conform to Octave's coding convention.
11123 (Bug#14285)
11124
11125 * files.el (basic-save-buffer): Don't let errors in
11126 before-save-hook prevent saving buffer.
11127
c46da669
RW
111282013-04-20 Roland Winkler <winkler@gnu.org>
11129
11130 * faces.el (read-face-name): Use completing-read if arg multiple
11131 is nil.
11132
a81ee1eb
IL
111332013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11134
11135 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11136 displayed, move point to after the totals line.
11137 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11138 for the details.
11139
4fac34ce
SM
111402013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11141
11142 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11143 Add current dir to the load-path.
11144 (package-generate-autoloads): Don't rely on
11145 autoload-ensure-default-file.
11146
f6bfc063
RT
111472013-04-26 Reuben Thomas <rrt@sc3d.org>
11148
d40ab5cf
BG
11149 * textmodes/remember.el (remember-store-in-files): Document that
11150 the file name format is passed to `format-time-string'.
f6bfc063 11151
e55d3b04
LL
111522013-04-26 Leo Liu <sdl.web@gmail.com>
11153
11154 * progmodes/octave.el (octave-sync-function-file-names): New function.
11155 (octave-mode): Use it in before-save-hook.
11156
e53052d3
SM
111572013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11158
140ef50c
SM
11159 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11160 (bug#14274).
11161
e53052d3
SM
11162 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11163 \n and comment, even if it's not an implicit ; (bug#14218).
11164
af80458d 111652013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11166
11167 * subr.el (read-number): Once more use `read' rather than
11168 `string-to-number', to trap non-numeric input. (Bug#14254)
11169
af80458d 111702013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11171
11172 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11173 Use `syntax-multiline' text property consistently instead of
8a621d53 11174 `font-lock-multiline'. (Bug#14237)
70203c2e 11175
e6ea1f6c
GM
111762013-04-26 Glenn Morris <rgm@gnu.org>
11177
11178 * emacs-lisp/shadow.el (list-load-path-shadows):
11179 No longer necessary to check for duplicate simple.el, since
11180 2012-07-07 change to init_lread to not include installation lisp
11181 directories in load-path when running uninstalled. (Bug#14270)
11182
070ccca4
LL
111832013-04-26 Leo Liu <sdl.web@gmail.com>
11184
11185 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11186 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11187 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11188 octave-in-string-or-comment-p.
11189 (octave-in-comment-p, octave-in-string-p)
11190 (octave-in-string-or-comment-p): Replace defsubst with defun.
11191
9d1c5fb6
PE
111922013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11193
11194 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11195
c034abda
BG
111962013-04-25 Bastien Guerry <bzg@gnu.org>
11197
11198 * textmodes/remember.el (remember-data-directory)
11199 (remember-directory-file-name-format): Fix custom types.
11200
584ea277
LL
112012013-04-25 Leo Liu <sdl.web@gmail.com>
11202
e53052d3
SM
11203 * progmodes/octave.el (octave-completion-at-point-function):
11204 Make use of inferior octave process.
584ea277
LL
11205 (octave-initialize-completions): Remove.
11206 (inferior-octave-completion-table): New function.
11207 (inferior-octave-completion-at-point): Use it.
11208 (octave-completion-alist): Remove.
11209
1693b06a
SM
112102013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11211
11212 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11213 (opascal-mode-syntax-table): New var.
11214 (opascal-literal-kind, opascal-is-literal-end)
11215 (opascal-literal-token-at): Rewrite.
11216 (opascal--literal-start-re, opascal-font-lock-keywords)
11217 (opascal--syntax-propertize): New constants.
11218 (opascal-font-lock-defaults): Adjust.
11219 (opascal-mode): Use them. Set comment-<foo> variables as well.
11220 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11221 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11222 (delphi-other-face, opascal-other-face): Remove face variables.
11223 (opascal-save-state): Remove macro.
11224 (opascal-fontifying-progress-step): Remove constant.
11225 (opascal--ignore-changes): Remove var.
11226 (opascal-set-token-property, opascal-parse-next-literal)
11227 (opascal-is-stable-literal, opascal-complete-literal)
11228 (opascal-is-literal-start, opascal-face-of)
11229 (opascal-parse-region, opascal-parse-region-until-stable)
11230 (opascal-fontify-region, opascal-after-change)
11231 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11232 (opascal-debug-parse-region, opascal-debug-parse-window)
11233 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11234 (opascal-debug-fontify-buffer): Remove.
11235 (opascal-debug-mode-map): Adjust accordingly.
11236
be64c05d
LL
112372013-04-25 Leo Liu <sdl.web@gmail.com>
11238
11239 Merge octave-mod.el and octave-inf.el into octave.el with some
11240 cleanups.
11241 * progmodes/octave.el: New file renamed from octave-mod.el.
11242 * progmodes/octave-inf.el: Merged into octave.el.
11243 * progmodes/octave-mod.el: Renamed to octave.el.
11244
d79d37bd
TH
112452013-04-25 Tassilo Horn <tsdh@gnu.org>
11246
11247 * textmodes/reftex-vars.el
11248 (reftex-label-ignored-macros-and-environments): New defcustom.
11249
11250 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11251
ced3fc5d
SM
112522013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11253
11254 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11255 (smie-indent-keyword): Improve the check to ensure that the next
11256 comment is really on the same line.
11257 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11258
11259 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11260 semi-colons if the line is not otherwise empty (bug#14218).
11261
1c141dad
GM
112622013-04-25 Glenn Morris <rgm@gnu.org>
11263
11264 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11265
5058062a
SM
112662013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11267
11268 * progmodes/opascal.el (opascal-set-token-property): Rename from
11269 opascal-set-text-properties and only set `token' (bug#14134).
11270 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11271 (opascal-literal-text-properties): Remove.
11272 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11273 Adjust callers.
11274
5db9dace 112752013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11276
11277 * textmodes/remember.el (remember-handler-functions): Add an
11278 option for a new handler `remember-store-in-files'.
11279 (remember-data-directory, remember-directory-file-name-format):
11280 New options.
11281 (remember-store-in-files): New function to store remember notes
11282 as separate files within a directory.
11283
4391916c
MH
112842013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11285
11286 * progmodes/compile.el (compilation-next-error-function):
11287 Pass "formats" to compilation-find-file (bug#11777).
11288
bb7cdf58
GM
112892013-04-24 Glenn Morris <rgm@gnu.org>
11290
3b8fe752 11291 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11292 * vc/vc-hg.el (vc-hg-print-log):
11293 * vc/vc-svn.el (vc-svn-print-log):
11294 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11295
bb7cdf58
GM
11296 * vc/vc-bzr.el (vc-bzr-print-log):
11297 * vc/vc-cvs.el (vc-cvs-print-log):
11298 * vc/vc-git.el (vc-git-print-log):
11299 * vc/vc-hg.el (vc-hg-print-log):
11300 * vc/vc-mtn.el (vc-mtn-print-log):
11301 * vc/vc-rcs.el (vc-rcs-print-log):
11302 * vc/vc-sccs.el (vc-sccs-print-log):
11303 * vc/vc-svn.el (vc-svn-print-log):
11304 * vc/vc.el (vc-print-log-internal): Doc fixes.
11305
b46a056e
GM
113062013-04-23 Glenn Morris <rgm@gnu.org>
11307
11308 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11309 Remove venerable code attempting to avoid substitute-command-keys.
11310
0aecf718
TH
113112013-04-23 Tassilo Horn <tsdh@gnu.org>
11312
4391916c
MH
11313 * textmodes/reftex-vars.el (reftex-label-regexps):
11314 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11315
117f94cf
SM
113162013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11317
4391916c 11318 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11319 Use lexical-binding.
11320 (jit-lock-force-redisplay): Use markers, check buffer's continued
11321 existence and beware narrowed buffers.
11322 (jit-lock-fontify-now): Adjust call accordingly.
11323
1d829c64
SM
113242013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11325
11326 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11327 to avoid misleading the user.
11328
72d548a9
LL
113292013-04-22 Leo Liu <sdl.web@gmail.com>
11330
11331 * info-look.el: Prefer latex2e.info. (Bug#14240)
11332
d0853629
MA
113332013-04-22 Michael Albinus <michael.albinus@gmx.de>
11334
11335 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11336
11337 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11338 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11339 (tramp-set-completion-function, tramp-parse-putty):
11340 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11341 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11342 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11343 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11344 (tramp-call-local-coding-command): Use `tramp-call-process'
11345 instead of `tramp-compat-call-process'.
11346
11347 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11348 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11349 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11350 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11351 (tramp-maybe-send-script): Check for Perl binary.
11352 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11353
38cc0210
DU
113542013-04-22 Daiki Ueno <ueno@gnu.org>
11355
11356 * epg.el (epg-context-pinentry-mode): New function.
11357 (epg-context-set-pinentry-mode): New function.
11358 (epg--start): Pass --pinentry-mode option to gpg command.
11359
cc641ee1
XF
113602013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11361
02d844b5 11362 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11363 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11364 `completion-at-point'. (Bug#13774)
5d4e5c31 11365
cc641ee1
XF
11366 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11367 default key binding for `describe-distribution' has been moved to
11368 `C-h C-o'. (Bug#13970)
11369
1b42ee43
GM
113702013-04-21 Glenn Morris <rgm@gnu.org>
11371
11372 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11373 Add doc strings.
11374 (vc-print-log): Clarify interactive prompt.
11375
a6d63d97
GM
113762013-04-20 Glenn Morris <rgm@gnu.org>
11377
11378 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11379 No longer include timestamp etc information.
11380
d7f5c16f
RW
113812013-04-20 Roland Winkler <winkler@gnu.org>
11382
11383 * faces.el (read-face-name): Bug fix, return just one face if arg
11384 multiple is nil. (Bug#14209)
11385
bcd7a0a4
SM
113862013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11387
11388 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11389 (remove-function): Autoload.
11390
11391 * comint.el (comint-redirect-original-filter-function): Remove.
11392 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11393 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11394 (vc-cvs-annotate-command):
bcd7a0a4
SM
11395 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11396 * progmodes/prolog.el (prolog-consult-compile):
11397 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11398 Use add/remove-function instead.
11399 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11400 (gud-tooltip-process-output, gud-tooltip-tips):
11401 Use add/remove-function instead.
11402 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11403 (scheme-interaction-mode, exit-scheme-interaction-mode):
11404 Use add/remove-function instead.
11405
11406 * vc/vc-dispatcher.el: Use lexical-binding.
11407 (vc--process-sentinel): Rename from vc-process-sentinel.
11408 Change last arg to be the code to run. Don't use vc-previous-sentinel
11409 and vc-sentinel-commands any more.
11410 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11411 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11412
e36b2d20 114132013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11414
bcd7a0a4 11415 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11416 Handle function names with a single character. (Bug#14111)
4d3268ba 11417
781b4af6 114182013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11419
11420 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11421 for subroutines defined in an eval (bug#14182).
11422
7d688336
TV
114232013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11424
11425 * bookmark.el (bookmark-completing-read): Improve handling of empty
11426 string (bug#14176).
11427
31dcede0
SM
114282013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11429
11430 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11431
adc31213
FEG
114322013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11433
11434 New faster Imenu implementation (bug#14058).
11435 * progmodes/python.el:
11436 (python-imenu-prev-index-position):
11437 (python-imenu-format-item-label-function)
11438 (python-imenu-format-parent-item-label-function)
11439 (python-imenu-format-parent-item-jump-label-function):
11440 New vars.
11441 (python-imenu-format-item-label)
11442 (python-imenu-format-parent-item-label)
11443 (python-imenu-format-parent-item-jump-label)
11444 (python-imenu--put-parent, python-imenu--build-tree)
11445 (python-imenu-create-index, python-imenu-create-flat-index)
11446 (python-util-popn): New functions.
11447 (python-mode): Set imenu-create-index-function to
11448 python-imenu-create-index.
11449
cdca8255
SM
114502013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11451
11452 * winner.el (winner-active-region): Use region-active-p, activate-mark
11453 and deactivate-mark (bug#14225).
11454
11455 * simple.el (deactivate-mark): Don't inline it.
11456
beb42340
MA
114572013-04-18 Michael Albinus <michael.albinus@gmx.de>
11458
11459 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11460
fc7f4d7e
TH
114612013-04-18 Tassilo Horn <tsdh@gnu.org>
11462
11463 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11464 file extensions from the archive-mode entry in order to prefer
11465 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11466
29f47822
LL
114672013-04-18 Leo Liu <sdl.web@gmail.com>
11468
11469 * bindings.el (help-event-list): Add ?\?.
11470
d36ed1c8
SM
114712013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11472
11473 * subr.el (with-wrapper-hook): Declare obsolete.
11474 * simple.el (filter-buffer-substring-function): New hook.
11475 (filter-buffer-substring): Use it.
11476 (filter-buffer-substring-functions): Mark obsolete.
11477 * minibuffer.el (completion-in-region-function): New hook.
11478 (completion-in-region): Use it.
11479 (completion-in-region-functions): Mark obsolete.
11480 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11481 * abbrev.el (abbrev-expand-function): New hook.
11482 (expand-abbrev): Use it.
11483 (abbrev-expand-functions): Mark obsolete.
11484 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11485 and :filter-return.
11486
04754d36
FEG
114872013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11488
11489 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11490 and do not care about match data.
11491
dd8791e9
SM
114922013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11493
11494 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11495 completion tables when completing error conditions and
11496 `declare' arguments.
11497 (lisp-complete-symbol, field-complete): Mark as obsolete.
11498 (check-parens): Unmatched parens are user errors.
11499 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11500
ffe54a13
AM
115012013-04-17 Michal Nazarewicz <mina86@mina86.com>
11502
dd8791e9
SM
11503 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11504 command changed buffer (ie. `flyspell-pre-buffer' is not current
11505 buffer), which prevents making decisions based on invalid value of
11506 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11507 cause an error when `flyspell-pre-point' was nil after switching
11508 buffers.
11509 (flyspell-post-command-hook): No longer needs to change buffers when
11510 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11511
ec7e39f2
AM
115122013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11513
11514 * textmodes/ispell.el (ispell-add-per-file-word-list):
11515 Fix `flyspell-correct-word-before-point' error when accepting
11516 words and `coment-padding' is an integer by using
11517 `comment-normalize-vars' (Bug #14214).
11518
083850a6
FEG
115192013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11520
11521 New defun movement commands.
11522 * progmodes/python.el (python-nav--syntactically)
11523 (python-nav--forward-defun, python-nav-backward-defun)
11524 (python-nav-forward-defun): New functions.
11525
619ed6e1
FEG
115262013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11527
11528 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11529 (python-syntax-context): Use named compiler-macro for backwards
11530 compatibility with Emacs 24.x.
11531
7a1beb6c
LL
115322013-04-17 Leo Liu <sdl.web@gmail.com>
11533
11534 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11535 octave-hide-process-buffer.
11536
2d3fa3e5
SM
115372013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11538
11539 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11540 (bug#14216).
11541
7ce5be54
JPG
115422013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11543
11544 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11545 Fix adjustment of offset when receiving incomplete responses from GDB
11546 (bug#14129).
11547
351edece
SM
115482013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11549
11550 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11551 python-mode-abbrev-table.
11552 (python-skeleton-define): Adjust accordingly.
11553 (python-mode-abbrev-table): New table that inherits from it so that
11554 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11555
11556 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11557 (abbrev-symbol): Use it.
11558 (abbrev--before-point): Use it since we already handle inheritance.
11559
613f9481
LL
115602013-04-16 Leo Liu <sdl.web@gmail.com>
11561
11562 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11563 binding to info-lookup-symbol.
11564
51646b62
JB
115652013-04-16 Juanma Barranquero <lekktu@gmail.com>
11566
11567 * minibuffer.el (completion--twq-all):
11568 * term/ns-win.el (ns-initialize-window-system):
11569 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11570
efb3f01d
SM
115712013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11572
36c0a301
SM
11573 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11574 global bindings.
11575
efb3f01d
SM
11576 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11577
fb549d64
DG
115782013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11579
11580 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11581 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11582 to nil.
11583 (ruby-end-of-defun): Remove the unused arg, change the docstring
11584 to reflect that this function is only used as the value of
11585 `end-of-defun-function'.
11586 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11587 to reflect an earlier change that beginning/end-of-defun functions
11588 jump between methods in a class definition, as well as top-level
11589 functions.
11590
21e8fe2f
SM
115912013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11592
11593 * minibuffer.el (minibuffer-complete): Don't just scroll
11594 a *Completions* that's been iconified.
11595 (minibuffer-force-complete): Make sure repetitions do cycle when going
11596 through completion-in-region -> minibuffer-complete.
11597
20e527d0
AM
115982013-04-15 Alan Mackenzie <acm@muc.de>
11599
11600 Correct the placement of c-cpp-delimiters when there're #s not at
11601 col 0.
11602
11603 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11604 place a submatch around the #.
21e8fe2f
SM
11605 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11606 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11607 on the #, not BOL.
11608
dabefae5
SM
116092013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11610
11611 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11612 (advice--member-p): New arg `name'.
11613 (advice--add-function, advice-member-p): Use it (bug#14202).
11614
85c9ab64
AM
116152013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11616
11617 Reformulate java imenu-generic-expression.
11618 The old expression contained ill formed regexps.
11619
11620 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11621 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11622 (cc-imenu-java-method-arg-regexp): New defconsts.
11623 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11624 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11625 handling of spaces in the regexp.
11626
0f821d99
AM
116272013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11628
11629 * textmodes/ispell.el (ispell-command-loop): Remove
11630 flyspell highlight of a word when ispell accepts it (bug #14178).
11631
eb922adf
MA
116322013-04-15 Michael Albinus <michael.albinus@gmx.de>
11633
11634 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11635 uses code from the previous `ange-ftp-run-real-handler'.
11636 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11637 only in case that function exist. This is needed for proper
11638 unloading of Tramp.
11639
4d9a0979
TH
116402013-04-15 Tassilo Horn <tsdh@gnu.org>
11641
11642 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11643
11644 * textmodes/reftex.el (reftex-compile-variables): Use it.
11645
a829b0dc
SM
116462013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11647
91e8293c
SM
11648 * files.el (normal-mode): Only use default major-mode if no other mode
11649 was specified.
11650
830aed4d
SM
11651 * emacs-lisp/trace.el (trace-values): New function.
11652
a829b0dc
SM
11653 * files.el: Allow : in local variables (bug#14089).
11654 (hack-local-variable-regexp): New var.
11655 (hack-local-variables-prop-line, hack-local-variables): Use it.
11656
7ae9f0fb
RW
116572013-04-13 Roland Winkler <winkler@gnu.org>
11658
11659 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11660 data before it gets modified by bibtex-beginning-of-entry.
11661
6646e848
RW
116622013-04-13 Roland Winkler <winkler@gnu.org>
11663
11664 * textmodes/bibtex.el (bibtex-url): Doc fix.
11665
116662013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11667
11668 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11669 does not visit a BibTeX file, exclude it from the list of buffers
11670 returned by bibtex-initialize.
11671
0aa3616e
SB
116722013-04-13 Stephen Berman <stephen.berman@gmx.net>
11673
11674 * window.el (split-window): Remove interactive form, since as a
11675 command this function is a special case of split-window-below.
11676 Correct doc string.
11677
011cddd6
RW
116782013-04-12 Roland Winkler <winkler@gnu.org>
11679
11680 * faces.el (read-face-name): Do not override value of arg default.
11681 Allow single faces and strings as default values. Remove those
11682 elements from return value that are not faces.
11683 (describe-face): Simplify.
11684 (face-at-point): New optional args thing and multiple so that this
11685 function can provide the same functionality previously provided by
11686 read-face-name.
11687 (make-face-bold, make-face-unbold, make-face-italic)
11688 (make-face-unitalic, make-face-bold-italic, invert-face)
11689 (modify-face, read-face-and-attribute): Use face-at-point.
11690
11691 * cus-edit.el (customize-face, customize-face-other-window)
11692 * cus-theme.el (custom-theme-add-face)
11693 * face-remap.el (buffer-face-set)
11694 * facemenu.el (facemenu-set-face): Use face-at-point.
11695
f24e0036
MA
116962013-04-12 Michael Albinus <michael.albinus@gmx.de>
11697
11698 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11699
da3cda2d
TH
117002013-04-10 Tassilo Horn <tsdh@gnu.org>
11701
11702 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11703 off leading { and trailing } from field values.
11704
15e54145
SM
117052013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11706
78ce603d
SM
11707 * emacs-lisp/timer.el (timer--check): New function.
11708 (timer--time, timer-set-function, timer-event-handler): Use it.
11709 (timer-set-idle-time): Simplify.
11710 (timer--activate): CSE.
11711 (timer-event-handler): Give more info in error message.
11712 (internal-timer-start-idle): New function, moved from C.
11713
15e54145
SM
11714 * mpc.el (mpc-proc): Add `restart' argument.
11715 (mpc-proc-cmd): Use it.
11716 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11717 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11718 less often.
11719
7144c627
MY
117202013-04-10 Masatake YAMATO <yamato@redhat.com>
11721
11722 * progmodes/sh-script.el: Implement `sh-mode' own
11723 `add-log-current-defun-function' (bug#14112).
11724 (sh-current-defun-name): New function.
11725 (sh-mode): Use the function.
11726
b39792eb
BG
117272013-04-09 Bastien Guerry <bzg@gnu.org>
11728
11729 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11730
8acdeb71
SM
117312013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11732
6fcdab68
SM
11733 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11734
8acdeb71
SM
11735 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11736 timer (bug#14156).
11737
e3e7b504
NF
117382013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11739
11740 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11741 declaration.
11742
201bb296
LL
117432013-04-07 Leo Liu <sdl.web@gmail.com>
11744
11745 * pcmpl-x.el: New file.
11746
ebb19708
DA
117472013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11748
11749 Do not set x-display-name until X connection is established.
11750 This is needed to prevent from weird situation described at
11751 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11752 * frame.el (make-frame): Set x-display-name after call to
11753 window system initialization function, not before.
11754 * term/x-win.el (x-initialize-window-system): Add optional
11755 display argument and use it.
11756 * term/w32-win.el (w32-initialize-window-system):
11757 * term/ns-win.el (ns-initialize-window-system):
11758 * term/pc-win.el (msdos-initialize-window-system):
11759 Add compatible optional display argument.
11760
33bb237a
EZ
117612013-04-06 Eli Zaretskii <eliz@gnu.org>
11762
11763 * files.el (normal-backup-enable-predicate): On MS-Windows and
11764 MS-DOS compare truenames of temporary-file-directory and of the
11765 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11766 don't fail comparison by compare-strings. Also, compare file
11767 names case-insensitively on MS-Windows and MS-DOS.
11768
134abf1f
SM
117692013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11770
11771 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11772 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11773
d695cb94
DG
117742013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11775
e3e7b504
NF
11776 * whitespace.el (whitespace-color-on, whitespace-color-off):
11777 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11778
f4ad7ea1 117792013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11780
11781 * ispell.el (ispell-set-spellchecker-params):
11782 Really set `ispell-args' for all equivs.
11783
632556e4
SM
117842013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11785
11786 * ido.el (ido-completions): Use extra elements of ido-decorations
11787 (bug#14143).
11788 (ido-decorations): Update docstring.
11789
2a417372
MA
117902013-04-05 Michael Albinus <michael.albinus@gmx.de>
11791
11792 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11793 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11794 nil during initialization, in order not to miss changes since the
11795 file was opened. (Bug#14140)
11796
fc164b0c
LL
117972013-04-05 Leo Liu <sdl.web@gmail.com>
11798
11799 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11800
0ccecc08
JB
118012013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11802
11803 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11804
51af1aa2
GM
118052013-04-04 Glenn Morris <rgm@gnu.org>
11806
11807 * electric.el (electric-pair-inhibit-predicate): Add :version.
11808
b208ebc6
SM
118092013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11810
11811 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11812 when a package is required several times (bug#14082).
11813
f3d3eaf0
RW
118142013-04-04 Roland Winkler <winkler@gnu.org>
11815
11816 * faces.el (read-face-name): Behave as promised by the docstring.
11817 Assume that arg default is a list of faces.
11818 (describe-face): Call read-face-name with list of default faces.
11819
2575da50
TV
118202013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11821
11822 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11823 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11824 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11825 the header.
11826 (bookmark-exit-hook-internal): Save even if list is empty.
11827
397703b4
YH
118282013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11829
11830 * emacs-lisp/package.el (package-pinned-packages): New var.
11831 (package--add-to-archive-contents): Obey it (bug#14118).
11832
691e26ae
AM
118332013-04-03 Alan Mackenzie <acm@muc.de>
11834
8a621d53
JB
11835 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11836 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11837
11838 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11839 parameter `not-in-delimiter'. Handle being inside comment opener.
11840 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11841 character in case we're typing a '*' after a '/'.
11842 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11843 instead by passing the parameter to c-state-pp-to-literal.
11844
11845 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11846 for elt. 7 of a parse state.
11847
4b725a70
PE
118482013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11849
11850 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11851 * international/latin1-disp.el, international/mule-util.el:
11852 * language/cyril-util.el, language/european.el, language/ind-util.el:
11853 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11854 * language/tibetan.el, language/viet-util.el:
11855 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11856
15c579f0
SM
118572013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11858
11859 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11860 (electric-pair-post-self-insert-function): Use it.
11861 (electric-pair-default-inhibit): New function, extracted from
11862 electric-pair-post-self-insert-function.
11863
a77e2924
RW
118642013-03-31 Roland Winkler <winkler@gnu.org>
11865
11866 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11867
2bd8a4a8
SM
118682013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11869
11870 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11871
8d3655be 118722013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11873
11874 Un-indent after "pass" and "return" statements (Bug#13888)
11875 * progmodes/python.el (python-indent-block-enders): New var.
11876 (python-indent-calculate-indentation): Use it.
11877
8d3655be 118782013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11879
11880 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11881 defun. Defining it as defalias could introduce too eager
11882 byte-compiler optimization. (Bug#14030)
11883
8d3655be 118842013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11885
11886 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11887
0b1619da
LL
118882013-03-30 Leo Liu <sdl.web@gmail.com>
11889
11890 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11891 (kmacro-execute-from-register): Pass the keyboard macro to
11892 kmacro-call-macro or repeating won't work correctly.
11893
0b938190
TZ
118942013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11895
11896 * progmodes/subword.el: Back to using `forward-symbol'.
11897
11898 * subr.el (forward-whitespace, forward-symbol)
11899 (forward-same-syntax): Move from thingatpt.el.
11900
35710234
LL
119012013-03-29 Leo Liu <sdl.web@gmail.com>
11902
11903 * kmacro.el (kmacro-to-register): New command.
11904 (kmacro-execute-from-register): New function.
11905 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11906
efc0bb73
SM
119072013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11908
11909 * mpc.el: Use defvar-local and setq-local.
11910 (mpc--proc-connect): Connection failures are not bugs.
11911 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11912 (mpc-volume-map): Bind to the up-events.
11913
75a2f981
TZ
119142013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11915
11916 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11917 instead of `forward-symbol'.
11918
17c781d1
SM
119192013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11920
11921 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11922 (edebug--recursive-edit): Use it.
11923 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11924 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11925
f67bfbcf
LL
119262013-03-28 Leo Liu <sdl.web@gmail.com>
11927
11928 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11929
b59f639d
EZ
119302013-03-27 Eli Zaretskii <eliz@gnu.org>
11931
11932 * facemenu.el (list-colors-callback): New defvar.
11933 (list-colors-redisplay): New function.
11934 (list-colors-display): Install list-colors-redisplay as the
11935 revert-buffer-function. (Bug#14063)
11936
f557c1b1
SM
119372013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11938
b1da2957
SM
11939 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11940 and suffixes don't overlap (bug#14061).
11941
f557c1b1
SM
11942 * case-table.el: Use lexical-binding.
11943 (case-table-get-table): New function.
11944 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11945
002668e1
TZ
119462013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11947
11948 * progmodes/subword.el: Add `superword-mode' to do word motion
11949 over symbol_words (parallels and leverages `subword-mode' which
11950 does word motion inside MixedCaseWords).
11951
73572c72
AG
119522013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11953
78b8f320 11954 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11955 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11956
69b2c07e
SM
119572013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11958
11959 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11960 Change return value to be a sexp. Delay `get-buffer' to after
11961 restoring the desktop (bug#13951).
11962
08bb5ee2
LL
119632013-03-26 Leo Liu <sdl.web@gmail.com>
11964
11965 * register.el: Move semantic tag handling back to
11966 cedet/semantic/senator.el. (Bug#14052)
11967
8d4c974e
SM
119682013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11969
11970 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11971 into the prompt either (bug#13963).
11972
b234d92c
SM
119732013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11974
11975 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11976 part of "(error-foo)".
11977
ddfa3cb4
JL
119782013-03-24 Juri Linkov <juri@jurta.org>
11979
11980 * replace.el (list-matching-lines-prefix-face): New defcustom.
11981 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11982 `occur-engine' if `face-differs-from-default-p' returns t.
11983 (occur-engine): Add `,' inside backquote construct to evaluate
11984 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11985 Pass `prefix-face' to the functions `occur-context-lines' and
11986 `occur-engine-add-prefix'.
11987 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11988 `prefix-face' and propertize the prefix with `prefix-face'.
11989 (Bug#14017)
11990
7b0e2f85
LL
119912013-03-24 Leo Liu <sdl.web@gmail.com>
11992
11993 * nxml/rng-valid.el (rng-validate-while-idle)
11994 (rng-validate-quick-while-idle): Guard against deleted buffer.
11995 (Bug#13999)
11996
11997 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11998 is the last entry in kill-buffer-hook.
11999
12000 * files.el (kill-buffer-hook): Doc fix.
12001
b3082f49
DG
120022013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12003
b234d92c
SM
12004 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12005 Make it safe-local.
bde73d27 12006
b3082f49
DG
12007 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12008
a320a2db
LL
120092013-03-23 Leo Liu <sdl.web@gmail.com>
12010
7e74b0fb
LL
12011 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12012 Remove.
12013
12014 * nxml/rng-valid.el (rng-validate-mode)
12015 (rng-after-change-function, rng-do-some-validation):
12016 * nxml/rng-maint.el (rng-validate-buffer):
12017 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12018 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12019 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12020 (nxml-extend-after-change-region): Use with-silent-modifications.
12021
a320a2db
LL
12022 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12023 timer-idle-list.
12024
12025 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12026 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12027 timer-idle-list. (Bug#13999)
12028
e38e6780
JL
120292013-03-23 Juri Linkov <juri@jurta.org>
12030
12031 * info.el (info-index-match): New face.
12032 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12033 main pattern and add text properties with the new face to matches
12034 in index entries relative to the beginning of the index entry.
12035 (Bug#14015)
12036
e8cc7880
DE
120372013-03-21 Eric Ludlam <zappo@gnu.org>
12038
39c87140 12039 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12040 Inhibit read only while inserting objects.
12041
9bb0d822
TZ
120422013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12043
12044 * progmodes/cfengine.el: Update docs to mention
12045 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12046 symbol motion. Remove "_" from the word syntax.
12047
aa703640
TZ
120482013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12049
12050 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12051 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12052
afff09d0
JL
120532013-03-20 Juri Linkov <juri@jurta.org>
12054
12055 * info.el (Info-next-reference-or-link)
12056 (Info-prev-reference-or-link): New functions.
12057 (Info-next-reference, Info-prev-reference): Use them.
12058 (Info-try-follow-nearest-node): Handle footnote navigation.
12059 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12060
9a1ff164
SM
120612013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12062
12063 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12064 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12065
2667d15d
PE
120662013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12067
12068 Suppress unnecessary non-ASCII chatter during build process.
12069 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12070 (batch-skkdic-convert): Suppress most of the chatter.
12071 It's not needed so much now that machines are faster,
12072 and its non-ASCII component was confusing; see Dmitry Gutov in
12073 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12074
438b0579
LL
120752013-03-20 Leo Liu <sdl.web@gmail.com>
12076
12077 * ido.el (ido-chop): Fix bug#10994.
12078
c128ab07
DG
120792013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12080
12081 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12082 Remove vars.
9a1ff164
SM
12083 (whitespace-color-on, whitespace-color-off):
12084 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12085
0e6008c5
SM
120862013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12087
12088 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12089 remapping in mode-line.
12090 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12091
627b52b0
DG
120922013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12093
12094 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12095 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12096 (whitespace-font-lock-keywords): Change description.
12097 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12098 the constructed keywords instead.
12099 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12100
50c3a20b
LL
121012013-03-19 Leo Liu <sdl.web@gmail.com>
12102
12103 * progmodes/compile.el (compilation-display-error): New command.
12104 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12105 C-o. (Bug#13992)
12106
2aa2157b
PE
121072013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12108
12109 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12110
e477dbfa
JD
121112013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12112
12113 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12114
64ab82d1
MA
121152013-03-18 Michael Albinus <michael.albinus@gmx.de>
12116
12117 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12118
12119 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12120 * net/tramp-gvfs.el (top):
12121 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12122 (tramp-handle-shell-command): Use it.
12123 (tramp-dissect-file-name): Raise an error when hostname is a
12124 method name, and neither method nor user is specified.
12125
12126 * net/trampver.el: Update release number.
12127
33cef733
LL
121282013-03-18 Leo Liu <sdl.web@gmail.com>
12129
12130 Make sure eldoc can be turned off properly.
12131 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12132 eldoc-mode.
12133 (eldoc-display-message-p): Revert last change.
12134 (eldoc-display-message-no-interference-p)
12135 (eldoc-print-current-symbol-info): Tweak.
12136
2167b7b2
TH
121372013-03-18 Tassilo Horn <tsdh@gnu.org>
12138
12139 * doc-view.el (doc-view-new-window-function): Check the new window
12140 overlay's display property instead the char property of the
12141 buffer's first char. Use `with-selected-window' instead of
12142 `save-window-excursion' with `select-window'.
12143 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12144 display property instead the char property of the buffer's first char.
2167b7b2 12145
982efbcd
PE
121462013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12147
12148 Automate the build of ja-dic.el (Bug#13984).
12149 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12150 from the input, rather than assume that it's been done for us by the
12151 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12152 the current date into a ja-dic.el comment, as that complicates
12153 regression testing.
12154
2fcc7665
SM
121552013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12156
12157 * whitespace.el: Fix double evaluation.
12158 (whitespace-space, whitespace-hspace, whitespace-tab)
12159 (whitespace-newline, whitespace-trailing, whitespace-line)
12160 (whitespace-space-before-tab, whitespace-indentation)
12161 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12162 obsolete defvars.
12163 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12164 (whitespace-color-on): Use a single font-lock-add-keywords call.
12165 Fix double-evaluation of face variables.
12166
67c0a6e6
MA
121672013-03-17 Michael Albinus <michael.albinus@gmx.de>
12168
2fcc7665
SM
12169 * net/tramp-adb.el (tramp-adb-parse-device-names):
12170 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12171 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12172
69489f1d
LL
121732013-03-17 Leo Liu <sdl.web@gmail.com>
12174
12175 Extend eldoc to display info in the mode-line. (Bug#13978)
12176 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12177 (eldoc-mode-line-string): New variable.
12178 (eldoc-minibuffer-message): New function.
12179 (eldoc-message-function): New variable.
12180 (eldoc-message): Use it.
12181 (eldoc-display-message-p)
2fcc7665
SM
12182 (eldoc-display-message-no-interference-p):
12183 Support eldoc-post-insert-mode.
69489f1d
LL
12184
12185 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12186 (eval-expression): Run it.
12187
9c44569e
RW
121882013-03-17 Roland Winkler <winkler@gnu.org>
12189
12190 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12191 strings in the list of return values.
12192
327f1f6f
JB
121932013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12194
12195 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12196 radix before checking for HMS forms.
12197
67ed8fcd
LL
121982013-03-16 Leo Liu <sdl.web@gmail.com>
12199
12200 * progmodes/scheme.el: Add indentation and font-locking for λ.
12201 (Bug#13975)
12202
78be8b64 122032013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12204
12205 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12206 token before point (bug#13942).
12207
78be8b64 122082013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12209
95b43468 12210 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12211
98e775e6
EZ
122122013-03-16 Eli Zaretskii <eliz@gnu.org>
12213
12214 * startup.el (command-line-normalize-file-name): Fix handling of
12215 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12216 <xfq.free@gmail.com> in
12217 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12218
2edd6029
MA
122192013-03-15 Michael Albinus <michael.albinus@gmx.de>
12220
12221 Sync with Tramp 2.2.7.
12222
12223 * net/trampver.el: Update release number.
12224
d35f5864
TH
122252013-03-14 Tassilo Horn <tsdh@gnu.org>
12226
e903c210 12227 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12228 (doc-view-insert-image): Don't modify overlay associated to
12229 non-live windows, and implement horizontal centering of image in
12230 case it's smaller than the window.
12231 (doc-view-new-window-function): Force redisplay of new windows on
12232 doc-view buffers.
d35f5864 12233
1c4a85ed
KF
122342013-03-13 Karl Fogel <kfogel@red-bean.com>
12235
12236 * saveplace.el (save-place-alist-to-file): Don't sort
12237 `save-place-alist', just pretty-print it (bug#13882).
12238
85b66a21
MA
122392013-03-13 Michael Albinus <michael.albinus@gmx.de>
12240
a020afb9
JB
12241 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12242 Check whether `default-file-name-coding-system' is bound.
12243 It isn't in XEmacs.
85b66a21 12244
175600da
SM
122452013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12246
e7f7cb1a
SM
12247 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12248 backquotes for `obsolete' (bug#13929).
12249
175600da
SM
12250 * international/mule.el (find-auto-coding): Include file name in
12251 obsolescence warning (bug#13922).
12252
ca68a22e
TZ
122532013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12254
12255 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12256 for CFEngine 3-specific indentation.
12257 (cfengine3-indent-line): Use it. Fix up category regex.
12258 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12259
940e5099
SM
122602013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12261
12262 * type-break.el (type-break-file-name):
12263 * textmodes/remember.el (remember-data-file):
12264 * strokes.el (strokes-file):
12265 * shadowfile.el (shadow-initialize):
12266 * saveplace.el (save-place-file):
12267 * ps-bdf.el (bdf-cache-file):
12268 * progmodes/idlwave.el (idlwave-config-directory):
12269 * net/quickurl.el (quickurl-url-file):
12270 * international/kkc.el (kkc-init-file-name):
12271 * ido.el (ido-save-directory-list-file):
12272 * emulation/viper.el (viper-custom-file-name):
12273 * emulation/vip.el (vip-startup-file):
12274 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12275 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12276
cc725808
PE
122772013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12278
12279 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12280 * language/thai-word.el: Switch to UTF-8.
12281
a020afb9 12282See ChangeLog.16 for earlier changes.
e3d51b27
MR
12283
12284;; Local Variables:
12285;; coding: utf-8
e3d51b27
MR
12286;; End:
12287
ba318903 12288 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12289
12290 This file is part of GNU Emacs.
12291
12292 GNU Emacs is free software: you can redistribute it and/or modify
12293 it under the terms of the GNU General Public License as published by
12294 the Free Software Foundation, either version 3 of the License, or
12295 (at your option) any later version.
12296
12297 GNU Emacs is distributed in the hope that it will be useful,
12298 but WITHOUT ANY WARRANTY; without even the implied warranty of
12299 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12300 GNU General Public License for more details.
12301
12302 You should have received a copy of the GNU General Public License
12303 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.