ChangeLog fixes
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a1340440
MA
12014-01-17 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp.el (tramp-password-prompt-regexp): Use
4 `password-word-equivalents' if available.
5 (tramp-action-password, tramp-process-one-action)
6 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
7
681ce5d2
CY
82014-01-17 Chong Yidong <cyd@gnu.org>
9
10 * simple.el (password-word-equivalents): New defcustom.
11 * comint.el (comint-password-prompt-regexp): Use it. Bump version
12 to 24.4.
13 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
14 to t. (Bug#13124)
15
fb3d479c
DG
162014-01-17 Dmitry Gutov <dgutov@yandex.ru>
17
18 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
19 (ruby-align-to-stmt-keywords): Change the default value. Use
20 `ruby-alignable-keywords' to generate the possible customization
21 choices.
22 (ruby-smie-rules): Instead of using a hardcoded list of alignable
23 keywords, check against the value of `ruby-alignable-keywords'
24 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
25
0d613483
GM
262014-01-17 Glenn Morris <rgm@gnu.org>
27
fc23fe2d
GM
28 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
29
0d613483
GM
30 Make M-x authors return zero *Authors Errors* from current logs.
31 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
32 (authors-ignored-files): Add some entries, remove others.
33 (authors-ambiguous-files, authors-valid-file-names):
34 Add some entries.
35 (authors-renamed-files-alist): Add, remove, and adjust entries.
36 (authors-renamed-files-regexps): Add some entries.
37 Remove some very broad ones. Make some entries `lax'.
38 (authors-lax-changelogs): New constant.
39 (authors-disambiguate-file-name): Treat top-level specially.
40 (authors-lax-changelog-p): New function.
41 (authors-canonical-file-name): Check file as written against
42 authors-valid-file-names. Do not special-case etc/.
43 Handle `lax' logs and authors-renamed-files-regexps elements.
44
2dbf4ffd
DG
452014-01-16 Dmitry Gutov <dgutov@yandex.ru>
46
47 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
48 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
49 callers.
2dbf4ffd 50
87b2a7f2
SM
512014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
52
53 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
54 Assume we're already in the proper buffer.
55 Inspired by Anders Lindgren <andlind@gmail.com>.
56 (follow-post-command-hook): Call it from the right buffer.
57 (follow-comint-scroll-to-bottom): Adjust call.
58 (follow-all-followers): Use get-buffer-window-list.
59
93acfb0e
DC
602014-01-15 Daniel Colascione <dancol@dancol.org>
61
62 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
63 `buffer-file-name' in interactive-form so that we don't leave
64 pathless file names in `file-name-history'.
65
ccc6b208
JL
662014-01-15 Juri Linkov <juri@jurta.org>
67
68 * indent.el (indent-rigidly): Set deactivate-mark to nil
69 in transient indentation mode. (Bug#16438)
70
5c92e00d
DG
712014-01-15 Dmitry Gutov <dgutov@yandex.ru>
72
73 * emacs-lisp/package.el (package-desc-keywords): New function
74 (Bug#16222).
75 (describe-package-1, package-all-keywords)
76 (package--has-keyword-p): Use it.
77
dac69660
NR
782014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
79
80 * simple.el (define-alternatives): When creating the
81 COMMAND-alternatives variable, assign COMMAND as its definition
82 name so that `describe-variable' can relocate it.
83
8b63edf8
ML
842014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
85
86 * font-lock.el (font-lock-keywords): Fix typo in docstring
87 (bug#16307).
88
c6a0b8eb
AM
892014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
90
91 * ispell.el (ispell-region): Reset `in-comment' for new line
92 instead of wrongly reset `add-coment' (bug#13577).
93
02bf443d
DU
942014-01-14 Daiki Ueno <ueno@gnu.org>
95
96 * epa-file.el (epa-file-write-region): Encode the region according
97 to `buffer-file-format'. Problem reported at:
98 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
99
fd7fde15
SM
1002014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
103 so it applies in the right buffer (bug#16410).
104
c176054f
DC
1052014-01-13 Daniel Colascione <dancol@dancol.org>
106
107 * textmodes/rst.el (rst-define-key): Provide deprecated
108 keybindings through named functions instead of anonymous ones so
109 that "??" doesn't appear in describe-mode output.
110
e3f33e5d
BG
1112014-01-13 Bastien Guerry <bzg@gnu.org>
112
113 * simple.el (define-alternatives): Call the selected command
114 interactively. When setting `COMMAND--implementation' for the
115 first time, tell the user how to chose another implementation.
116 Enhance the docstring.
117
c055d654
SM
1182014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
119
120 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
121 (log-edit--match-first-line): New function.
122 (log-edit-font-lock-keywords): Use it.
123 (log-edit-mode): Make jit-lock-defer-multiline work.
124
d791cc3b
BG
1252014-01-13 Bastien Guerry <bzg@gnu.org>
126
127 * rect.el (rectangle-mark-mode): When the region is not active,
128 display a message saying that the mark as been set and that
129 rectangle mode is in use.
130 (rectangle--highlight-for-redisplay): Only put an overlay with a
131 visible vertical bar when (display-graphic-p) is non-nil.
132 This partially fixes Bug#16403.
133
3c0c4562
JL
1342014-01-13 Juri Linkov <juri@jurta.org>
135
136 * info.el (Info-find-file): Go to DIR before displaying the error
137 about a nonexistent file if no previous Info file is visited.
138 Use `user-error' instead of `error' for "Info file %s does not exist".
139 (Info-find-node-2): In case of a nonexistent node in unwind forms
140 go to the Top node if there is no previous node to revert to.
141 (Bug#16405)
142
25a700d0
MR
1432014-01-13 Martin Rudalics <rudalics@gmx.at>
144
145 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
146 * window.el (fit-frame-to-buffer): Fix doc-string.
147 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
148 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
149 when avoiding that frame goes partially off-screen.
150 (fit-window-to-buffer): Respect window-min-height/-width
151 (Bug#14096).
152
6ae948d8
SM
1532014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
154
155 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
156 after an empty line.
157
6137cb82
SM
1582014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
159
160 * net/shr.el (shr-render-region): Autoload.
161
e6344e17
XF
1622014-01-12 Xue Fuqiao <xfq.free@gmail.com>
163
164 * net/eww.el (eww-download-directory): Rename from
165 `eww-download-path' (Bug#16419).
166
3b922c70
LL
1672014-01-12 Leo Liu <sdl.web@gmail.com>
168
169 * dired-x.el (dired-mode-map): Fix last change.
170
171 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
172
4fa51741
PE
1732014-01-12 Paul Eggert <eggert@cs.ucla.edu>
174
175 Spelling fixes.
176 * emacs-lisp/generic.el (generic--normalize-comments):
177 Rename from generic--normalise-comments. All uses changed.
178 * play/bubbles.el (bubbles--neighborhood-score):
179 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
180 (bubbles--neighborhood-available)
181 (bubbles--update-neighborhood-score):
182 Rename from names with 'neighbourhood'. All uses changed.
183
9b335362
LL
1842014-01-12 Leo Liu <sdl.web@gmail.com>
185
186 Re-implement the feature of showing eldoc info after editing.
187 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
188 (eldoc-edit-message-commands): New function.
189 (eldoc-print-after-edit): New variable.
190 (eldoc-pre-command-refresh-echo-area): Emit message only by
191 eldoc-message-commands.
192 (eldoc-mode): Restrict eldoc-message-commands to editing commands
193 if eldoc-print-after-edit is set. (Bug#16346)
194
6137cb82 195 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 196
9685190b
ER
1972014-01-11 Eric S. Raymond <esr@thyrsus.com>
198
841a6d0c 199 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 200 function works correctly in either a Bazaar or Git repo.
0abf4134 201
6137cb82
SM
202 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
203 Goes with removal of the joke manpages from /etc.
9685190b 204
3923e7bd
KH
2052014-01-10 K. Handa <handa@gnu.org>
206
6137cb82
SM
207 * mail/rmail.el (rmail-get-coding-system):
208 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 209
d2f16e93
GM
2102014-01-10 Glenn Morris <rgm@gnu.org>
211
212 * emacs-lisp/authors.el (authors-fixed-entries):
213 Update for files that no longer exist.
214
7e03bb32
ER
2152014-01-10 Eric S. Raymond <esr@thyrsus.com>
216
217 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 218 24.3 (Tested).
7e03bb32 219
dd806710
BB
2202014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
221
222 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
223 and Podfile.
224
ed6ec139
EZ
2252014-01-10 Eli Zaretskii <eliz@gnu.org>
226
227 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
228
cc33cac9
CY
2292014-01-10 Chong Yidong <cyd@gnu.org>
230
6137cb82 231 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 232
d9d836b5
AL
2332014-01-10 Anders Lindgren <andlind@gmail.com>
234
235 * follow.el (follow-cache-command-list): Include right-char and
236 left-char.
237
06827ec8
PE
2382014-01-10 Paul Eggert <eggert@cs.ucla.edu>
239
240 Spelling fixes.
241 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
242 * woman.el (woman-mark-horizontal-position):
243 Rename from woman-mark-horizonal-position. Use changed.
244
458dbf5e
GM
2452014-01-10 Glenn Morris <rgm@gnu.org>
246
dad6fae7
GM
247 * info.el (info-initialize): If running uninstalled, ensure our
248 own info files are always found first, even if INFOPATH is set.
249
458dbf5e
GM
250 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
251
05e0afce
DE
2522014-01-09 David Engster <deng@randomsample.de>
253
254 * emacs-lisp/eieio-custom.el:
255 * emacs-lisp/eieio-opt.el: Set generated autoload file to
256 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
257 * emacs-lisp/eieio.el: Regenerate autoloads.
258
f29778b3
ER
2592014-01-09 Eric S. Raymond <esr@thyrsus.com>
260
261 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 262 following renames. (Bug#8756)
f29778b3 263
684d44ef
SM
2642014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
267 (bug#16382).
268 (activate-mark): Add `no-tmm' argument.
269 (set-mark, push-mark-command): Use it instead of running
270 activate-mark-hook by hand.
271
9475054f
ER
2722014-01-08 Eric S. Raymond <esr@thyrsus.com>
273
274 In preparation for the move to git, sanitize out some
275 Bazaar-specific names.
276
277 * version.el (emacs-bzr-version): Name changed to
689c9ca5 278 emacs-repository-version. Obsolete-variable alias made.
9475054f 279 * loadup.el: Follow through on this name change.
a12bf61e 280 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
281 assumption about the version control system in use.
282
0f918d96 2832014-01-08 David Engster <deng@randomsample.de>
abb82152 284
684d44ef
SM
285 * help-fns.el (help-fns-describe-function-functions):
286 New variable to call functions for augmenting help buffers.
abb82152
DE
287 (describe-function-1): Remove explicit calls to
288 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
289 `help-fns--obsolete'. Put them in above new variable instead, and
290 call them through `run-hook-with-args'.
291 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
292 `eieio-describe-class'. Not meant for interactive use anymore,
293 but to augment existing help buffers. Remove optional second
684d44ef
SM
294 argument. Create proper button for file location.
295 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
296 possible.
297 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
298 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
299 (describe-method, describe-generic, eieio-describe-method):
300 Remove aliases.
0f918d96
DE
301 (eieio-help-constructor, eieio-help-generic): Rename from
302 `eieio-describe-constructor' and `eieio-describe-generic', resp.
303 Rewrite to use `insert' in the current buffer and use proper help
304 buttons.
305 (eieio-help-find-method-definition)
306 (eieio-help-find-class-definition): Also accept symbols as
307 arguments.
308 (eieio-help-mode-augmentation-maybee): Remove.
309 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
310 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
311 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 312
136b74c5
PE
3132014-01-08 Paul Eggert <eggert@cs.ucla.edu>
314
315 Spelling fixes.
316 * language/china-util.el (hz-ascii-designation):
317 Rename from hz-ascii-designnation.
318 (hz-ascii-designation): Rename from hz-ascii-designnation.
319 All uses changed.
320
ec6c7de2
SM
3212014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
324 package-alist.
325
d6262c7c
BG
3262014-01-08 Bastien Guerry <bzg@gnu.org>
327
4b9e6087
GM
328 * emacs-lisp/package.el (package-delete):
329 Correctly delete the package from package-alist.
d6262c7c 330
0a3eec32
DU
3312014-01-08 Daiki Ueno <ueno@gnu.org>
332
333 * emacs-lisp/package.el (url-recreate-url): Declare.
334 (url-http-target-url): Declare.
4b9e6087 335 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
336 (package--check-signature): Don't re-signal errors from
337 package--with-work-buffer. Suggested by Stefan Monnier.
338
68f0bb97
BG
3392014-01-07 Bastien Guerry <bzg@gnu.org>
340
341 * minibuffer.el (completion--try-word-completion): When both a
342 hyphen and a space are possible candidates for the character
343 following a word, display both candidates. (Bug#15980)
344
7e1899d7
MR
3452014-01-07 Martin Rudalics <rudalics@gmx.at>
346
347 * window.el (balance-windows-2): While rounding don't give a
348 window more than the remainder. Bug#16351, Bug#16383.
349
0030ec15
GM
3502014-01-07 Glenn Morris <rgm@gnu.org>
351
352 * menu-bar.el (menu-bar-help-extra-packages): Remove.
353 (menu-bar-help-menu): Use view-external-packages instead.
354
2b6b4f20
BG
3552014-01-07 Bastien Guerry <bzg@gnu.org>
356
357 * emacs-lisp/package.el (package-delete): Also delete the package
358 name from `package-alist', not its description only.
359
e9be0a13
GM
3602014-01-07 Glenn Morris <rgm@gnu.org>
361
362 * help.el (view-external-packages):
363 * menu-bar.el (menu-bar-help-extra-packages):
364 Visit efaq.info rather than etc/MORE.STUFF.
365
e4f74da9
JL
3662014-01-07 Juri Linkov <juri@jurta.org>
367
368 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
369 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
370
371 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
372 that shadows RET. (Bug#16342)
373
de7ce2d1
CY
3742014-01-07 Chong Yidong <cyd@gnu.org>
375
376 * isearch.el (isearch-yank-char, isearch-yank-word)
377 (isearch-yank-line): Doc fix.
378
6bdd9204
SM
3792014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
380
381 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
382 * emacs-lisp/elint.el (elint-find-builtins):
383 * emacs-lisp/eldoc.el (eldoc-symbol-function):
384 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
385 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
386 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
387 * apropos.el (apropos-safe-documentation):
388 * subr.el (symbol-file): Remove redundant fboundp.
389 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
390
daccca97
BG
3912014-01-06 Bastien Guerry <bzg@gnu.org>
392
393 * hl-line.el (global-hl-line-overlay): Make a local variable.
394 (global-hl-line-overlays): New variable to store all overlays.
395 (global-hl-line-mode): Don't delete overlays from the current
396 buffer when `global-hl-line-sticky-flag' is non-nil.
397 (global-hl-line-highlight): Add new overlays to
398 `global-hl-line-overlays'.
399 (global-hl-line-unhighlight-all): New function to delete all
400 overlays when turning off `global-hl-line-mode'.
401 This fixes Bug#16183.
402
ec00f20f
SM
4032014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
404
405 * subr.el (set-transient-map): Fix nested case and docstring.
406
a0031f97
TH
4072014-01-06 Tassilo Horn <tsdh@gnu.org>
408
409 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
410 `Texinfo' entry.
411
bf6a77f3
DC
4122014-01-06 Daniel Colascione <dancol@dancol.org>
413
414 Fix defun navigation in vc log view.
415
416 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
417 like `beginning-of-defun'.
418 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
419 log-view-end-of-defun to log-view-end-of-defun-1. Replace
420 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 421 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 422 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 423
d5081c1e
PE
4242014-01-06 Paul Eggert <eggert@cs.ucla.edu>
425
426 Spelling fixes.
427 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
428 * emacs-lisp/debug.el (cancel-debug-on-entry):
429 * epg.el (epg-error-to-string):
430 * files.el (recover-file):
431 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
432 * mail/emacsbug.el (report-emacs-bug-hook):
433 * mail/sendmail.el (mail-recover):
434 * ses.el (ses-yank-resize):
435 * term/ns-win.el (ns-print-buffer):
436 Spelling fixes in diagnostics, mostly for "canceled" with one L.
437 * epg.el (epg-key-capability-alist): Rename from misspelled version.
438 All uses changed.
439 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
440
53f6b148
LL
4412014-01-06 Leo Liu <sdl.web@gmail.com>
442
443 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 444 to avoid shadowing global key. (Bug#16354)
53f6b148 445
b82ace2f
DC
4462014-01-06 Daniel Colascione <dancol@dancol.org>
447
448 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
449 rst-mode.
450
3669b636
MR
4512014-01-05 Martin Rudalics <rudalics@gmx.at>
452
453 * window.el (balance-windows): Add mising t to fix Bug#16351.
454
1a29adc2
LMI
4552014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
456
457 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
458 (bug#16285).
3d95a0f4
LMI
459 (shr-insert): If we have a word that's longer than `shr-width',
460 break after it anyway. Otherwise we'll do no breaking once we get
461 such a long word.
1a29adc2 462
f4018140
KN
4632014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
464
189340f5
KN
465 * net/eww.el (eww): Support single/double quote for search.
466 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
467 (eww-history-quit): Delete and use quit-window.
468 (eww-history-kill): Delete, because it doesn't work well and
469 not necessary.
470 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 471
4e619754
PE
4722014-01-05 Paul Eggert <eggert@cs.ucla.edu>
473
73dbf960
PE
474 Fix misspelling of 'chinese' in rx (Bug#16237).
475 * emacs-lisp/rx.el (rx-categories): Correct spelling of
476 chinese-two-byte.
477
4e619754
PE
478 Change subword regexps back to vars (Bug#16296).
479 * progmodes/subword.el (subword-forward-regexp)
480 (subword-backward-regexp): Change these back to variables.
481
e18b70fc
SM
4822014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
485 syntax-begin-function (bug#16247).
486
0d53f628
CY
4872014-01-03 Chong Yidong <cyd@gnu.org>
488
489 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
490 (advice--docstring): Delete variable.
491 (advice--make-1): Leave the docstring empty.
492 (advice-add): Use function-documentation for advised docstring.
493
494 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
495 Ignore function-documentation property when getting documentation.
496 (ad-activate-advised-definition): Use function-documentation
497 generate the docstring.
498 (ad-make-advised-definition): Don't call
499 ad-make-advised-definition-docstring.
500 (ad-make-advised-definition-docstring, ad-advised-definition-p):
501 Delete functions.
502
503 * progmodes/sql.el (sql-help): Use function-documentation instead
504 of dynamic-docstring-function property. No need to autoload now.
505 (sql--help-docstring): New variable.
506 (sql--make-help-docstring): Use it.
507
6f547583
SM
5082014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
509
6ef9aed8
SM
510 * ielm.el (ielm-tab): Retarget.
511 (ielm-map): Use ielm-tab for tab.
512 (ielm-complete-filename): Use comint-filename-completion.
513 (ielm-complete-symbol): Remove.
514 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
515 remove ielm-tab from completion-at-point-functions (bug#16224).
516
6f547583
SM
517 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
518 Beware signals raised by predicates (bug#16201).
519
a574edbe
RS
5202014-01-02 Richard Stallman <rms@gnu.org>
521
e831604d
RS
522 * dired-aux.el (dired-do-print): Handle printer-name.
523
6f547583
SM
524 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
525 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
526 (rmail-epa-decrypt): Turn off mime processing.
527
528 * mail/rmail.el (rmail-make-in-reply-to-field):
529 Add parens in message-id.
530
531 * mail/rmail.el (rmail-get-coding-function): Variable.
532 (rmail-get-coding-system): Use it.
533
04311a16
KH
5342013-12-31 Eli Zaretskii <eliz@gnu.org>
535
536 * international/mule-conf.el: Unify the charset indian-is13194.
537 (indian-is13194): Specify unify-map.
538
c8d89778
LL
5392013-12-31 Leo Liu <sdl.web@gmail.com>
540
541 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
542
e63ace37
DC
5432013-12-30 Daniel Colascione <dancol@dancol.org>
544
9e0bf19a
DC
545 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
546 of printing a useless when we resume from sleep.
547
e63ace37
DC
548 * progmodes/sh-script.el
549 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
550 in indentation code. (Bug#16233)
551
e9d6c46a
JT
5522013-12-28 João Távora <joaotavora@gmail.com>
553
6f547583
SM
554 * elec-pair.el (electric-pair-post-self-insert-function):
555 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 556
bf7bea5d
EZ
5572013-12-28 Eli Zaretskii <eliz@gnu.org>
558
559 * frame.el (window-system-for-display): Don't allow to create a
560 GUI frame from a -nw session on MS-Windows. (Bug#14739)
561
8449dd1f
GM
5622013-12-28 Glenn Morris <rgm@gnu.org>
563
9c5a5c77
GM
564 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
565 Update callers.
566
567 * apropos.el (apropos-match-face):
568 * calculator.el (calculator-displayer):
569 * dabbrev.el (dabbrev-search-these-buffers-only):
570 * face-remap.el (buffer-face-mode-face):
571 * simple.el (yank-handled-properties):
572 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
573 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
574 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
575 (hashcash-double-spend-database):
576 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
577 (ruby-deep-indent-paren-style):
578 * textmodes/flyspell.el (flyspell-auto-correct-binding):
579 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
580 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
581 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
582 Specify custom types.
583
bb098075
GM
584 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
585 * bookmark.el (bookmark-bmenu-use-header-line):
586 * doc-view.el (doc-view-scale-internally):
587 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
588 * register.el (register-preview-delay):
589 * net/shr.el (shr-bullet):
590 * progmodes/cfengine.el (cfengine-cf-promises)
591 (cfengine-parameters-indent):
592 * progmodes/octave.el (inferior-octave-error-regexp-alist):
593 * textmodes/reftex-vars.el (reftex-label-regexps):
594 * vc/log-edit.el (log-edit-setup-add-author): Add version.
595
9c61f806
GM
596 * net/tls.el (tls-certtool-program): Fix default value.
597
598 * desktop.el (desktop-restore-in-current-display):
599 * newcomment.el (comment-empty-lines):
600 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
601 (idlwave-pad-keyword):
602 * progmodes/tcl.el (tcl-tab-always-indent):
603 * textmodes/reftex-vars.el (reftex-index-default-tag):
604 * elec-pair.el (electric-pair-skip-whitespace):
605 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
606
8449dd1f
GM
607 * emacs-lisp/authors.el (authors-ignored-files)
608 (authors-valid-file-names, authors-renamed-files-alist): Additions.
609
fdadeb49
JC
6102013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
611
72140a0f
GM
612 * shell.el (shell-dynamic-complete-command): Doc fix.
613 (shell--command-completion-data): Shell completion now matches
614 executable filenames from the current buffer's directory, on
da5ecfa9 615 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 616
e572a7d8
LI
6172013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
618
619 * net/shr.el (shr-insert): Don't infloop if the width is zero.
620
7514d3f8
SM
6212013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
622
a4151f3b
SM
623 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
624 (bug#16251).
625
7514d3f8
SM
626 * electric.el: Move all electric-pair-* to elec-pair.el.
627 * elec-pair.el: New file, split from electric.el.
628
ac5758d1
LI
6292013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
630
631 * net/shr.el (shr-find-fill-point): Don't try to fill if the
632 indentation level is larger than the width, because that will
633 infloop.
634 (shr-insert): Fill repeatedly long texts, so that Japanese is
635 formatted correctly (bug#16263).
24a6b65e
LI
636 (shr-find-fill-point): Off by one error in comparison with the
637 indentation.
ac5758d1 638
7514d3f8 6392013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
640
641 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 642 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
643 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
644 if that keeps or improves their balance in buffers.
645 (electric-pair-delete-adjacent-pairs): Delete the pair when
646 backspacing over adjacent matched delimiters.
647 (electric-pair-open-extra-newline): Open extra newline when
648 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
649 (electric--sort-post-self-insertion-hook):
650 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
651 minor-modes are activated.
652 * simple.el (newline-and-indent): Call newline with interactive
653 set to t.
654 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
655 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
656 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
657 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
658 electric-pair-open-newline-between-pairs to nil.
659
fbcc63a3
FEG
6602013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
661
662 * progmodes/python.el: Use lexical-binding.
663 (python-nav-beginning-of-defun): Stop searching ASAP.
664
ed78d16c
XF
6652013-12-25 Xue Fuqiao <xfq.free@gmail.com>
666
667 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
668 Fix interactive spec. Doc fix. (Bug#15754)
669
38b2c142
KY
6702013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
671
672 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 673 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
674 Fix edebug spec (bug#16184).
675
3c856c14
LI
6762013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
677
83fa295c 678 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
679 (shr-insert): Don't infloop if we can't find a good place to break
680 the line (bug#16256).
3c856c14 681
01379221
FEG
6822013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
683
684 * progmodes/python.el:
685 (python-nav--lisp-forward-sexp): New function.
686 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
687 python-nav-lisp-forward-sexp-safe.
688 (python-nav--forward-sexp): New argument SAFE allows switching
689 forward sexp movement behavior for parens.
690 (python-nav-forward-sexp): Throw errors on unterminated parens
691 (Bug#16191).
692 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
693 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
694 (python-shell-buffer-substring):
695 Use `python-nav-forward-sexp-safe'.
01379221 696
99e4926f
LI
6972013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
698
699 * net/shr.el (shr-find-fill-point): Don't break lines before a
700 quotation mark.
c6c20584
LI
701 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
702 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 703 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 704
fec0e828
KN
7052013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
706
707 * net/eww.el (eww-form-textarea): Use a different face for
708 textareas than text input since they have different keymaps
709 (bug#16142).
710
89c868ad
FEG
7112013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
712
7514d3f8
SM
713 * progmodes/python.el (python-nav-beginning-of-statement):
714 Speed up (Bug#15295).
89c868ad 715
eeef121a
LI
7162013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
717
718 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
719 the window configuration.
720
121ea65f
EZ
7212013-12-24 Eli Zaretskii <eliz@gnu.org>
722
723 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
724 we run on MS-Windows or MS-DOS.
725
18cee9ec
MR
7262013-12-24 Martin Rudalics <rudalics@gmx.at>
727
728 * window.el (balance-windows-area): Call window-size instead of
729 window-height and window-width. Bug#16241.
730
58f2b9a5
LI
7312013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
732
733 * net/eww.el (eww-bookmark-quit): Remove.
734 (eww-bookmark-browse): Restore the window configuration when you
735 choose a bookmark (bug#16144).
736
d64b6308
DC
7372013-12-24 Daniel Colascione <dancol@dancol.org>
738
739 * icomplete.el: Remove redundant :group arguments to `defcustom'
740 throughout.
741 (icomplete-show-matches-on-no-input): New customizable variable.
742 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
743 we have something to show.
7514d3f8 744 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 745
0da54898
DC
7462013-12-23 Daniel Colascione <dancol@dancol.org>
747
748 * icomplete.el: Move `provide' to end of file.
749
b90aa4f4
TZ
7502013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
751
752 * net/gnutls.el (gnutls-verify-error): Add version tag.
753
8cd22a08
CY
7542013-12-23 Chong Yidong <cyd@gnu.org>
755
756 * subr.el (set-transient-map): Rename from
757 set-temporary-overlay-map. Doc fix.
758
759 * face-remap.el (text-scale-adjust):
760 * indent.el (indent-rigidly):
761 * kmacro.el (kmacro-call-macro):
762 * minibuffer.el (minibuffer-force-complete):
763 * repeat.el (repeat):
764 * simple.el (universal-argument--mode):
765 * calendar/todo-mode.el (todo-insert-item--next-param):
766 * progmodes/f90.el (f90-abbrev-start): Callers changed.
767
7510b021
CY
768 * indent.el (indent-rigidly): Use substitute-command-keys.
769
72140a0f 7702013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
771
772 * net/eww.el (eww-tag-select): Add text-property to jump to next
773 select field.
e9dc713d 774 (eww): Add non-supported ftp error.
56890ecd 775
1f87a56c
DG
7762013-12-22 Dmitry Gutov <dgutov@yandex.ru>
777
778 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
779 comments. Handle electric indent after typing `?' and `!'.
780
dca38cf9
CY
7812013-12-22 Chong Yidong <cyd@gnu.org>
782
783 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
784 applicable to a frame, fall back on the defface spec.
785 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 786
f2351498
DG
7872013-12-22 Dmitry Gutov <dgutov@yandex.ru>
788
789 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
790 after `{'. We need it after block openers, and it doesn't seem
791 to hurt after hash openers.
792
6cddebc1
DG
7932013-12-22 Dmitry Gutov <dgutov@yandex.ru>
794
795 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
796 extracted from `ruby-smie-rules'.
797 (ruby--electric-indent-chars): New variable.
798 (ruby--electric-indent-p): New function.
799 (ruby-mode): Use `electric-indent-functions' instead of
800 `electric-indent-chars'.
801
65a1da00
DG
8022013-12-22 Dmitry Gutov <dgutov@yandex.ru>
803
804 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
805 docstring.
806 (ruby-smie-rules): Indent plus one level after `=>'.
807
b51ad4cf
RS
8082013-12-21 Richard Stallman <rms@gnu.org>
809
810 * simple.el (newline): Doc fix.
811
72140a0f 8122013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 813
e9dc713d 814 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
815 (eww-history-browse, eww-history-quit, eww-history-kill)
816 (eww-history-mode-map, eww-history-mode): New command and
817 functions to list browser histories.
e9dc713d
JB
818 (eww-form-text): Support text form with disabled
819 and readonly attributes.
820 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 821
5e1901c1
RS
8222013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
823
824 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
825 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
826 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
827 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
828 Use `user-error'.
829 (eww-bookmark-mode-map): Add menu.
830 (eww-render, eww-mode): Use `setq-local'.
831 (eww-tool-bar-map): New variable.
832 (eww-mode): Set `tool-bar-map'.
833 (eww-view-source): Check for `html-mode' with `fboundp'.
834
073d5cfd
LMI
8352013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
836
837 * net/shr.el (shr--extract-best-source): Don't bug out on audio
838 elements with text inside. Also remove debugging.
839
41cf3d11
JD
8402013-12-21 Jan Djärv <jan.h.d@swipnet.se>
841
842 * cus-start.el (all): Add ns-use-srgb-colorspace.
843
aac2b673
CY
8442013-12-21 Chong Yidong <cyd@gnu.org>
845
846 * custom.el (custom-theme-recalc-face): Do nothing if the face is
847 undefined. Thus, theme settings for undefined faces do not take
848 effect until the faces are defined with defface, the same as with
849 theme variables.
850
851 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
852 (face-spec-reset-face): Don't assign extra properties in temacs.
853 (face-spec-recalc): Apply X resources too.
854
bacb0e77
CY
8552013-12-21 Chong Yidong <cyd@gnu.org>
856
857 * faces.el (face-spec-set):
858 * cus-face.el (custom-theme-set-faces, custom-set-faces):
859 * custom.el (defface): Doc fixes (Bug#16203).
860
77221051
CY
861 * indent.el (indent-rigidly-map): Add docstring, and move commands
862 into named functions.
863 (indent-rigidly-left, indent-rigidly-right)
864 (indent-rigidly-left-to-tab-stop)
865 (indent-rigidly-right-to-tab-stop): New functions. Decide on
866 indentation direction based on bidi direction, and accumulate
867 sequential commands in a single undo boundary.
868 (indent-rigidly--pop-undo): New utility function.
869
e0eb0550
JB
8702013-12-20 Juanma Barranquero <lekktu@gmail.com>
871
872 * faces.el (read-face-name): Require crm.el when using crm-separator.
873
3282bd2e
DC
8742013-12-20 Daniel Colascione <dancol@dancol.org>
875
876 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
877 so that we don't reflow comments into the shebang line.
878
1d42e5b6
JL
8792013-12-20 Juri Linkov <juri@jurta.org>
880
881 * saveplace.el (save-place-to-alist): Add `dired-filename' as
882 a position when `dired-directory' is non-nil. Check integer
883 positions with `integerp'.
884 (toggle-save-place, save-places-to-alist): Add check for
885 `dired-directory'.
886 (save-place-find-file-hook): Check integer positions with
887 `integerp'.
888 (save-place-dired-hook): Use `dired-goto-file' when
889 `dired-filename' is found in the assoc list. Check integer
890 positions with `integerp'.
891 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
892
893 * dired.el (dired-initial-position-hook): Rename back from
894 `dired-initial-point-hook'.
895 (dired-initial-position): Rename `dired-initial-point-hook' to
896 `dired-initial-position-hook'.
897 (dired-file-name-at-point): Doc fix. (Bug#15329)
898
24da7273
JL
8992013-12-20 Juri Linkov <juri@jurta.org>
900
901 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
902 (read-regexp-suggestions): New function.
903 (read-regexp): Use `read-regexp-defaults-function' to get default values.
904 Use `read-regexp-suggestions'. Add non-empty default to history
905 for empty input.
906 (occur-read-regexp-defaults-function): Remove function.
907 (occur-read-primary-args): Use `regexp-history-last' instead of
908 `occur-read-regexp-defaults-function'.
909
910 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
911 (hi-lock-line-face-buffer, hi-lock-face-buffer)
912 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
913 `hi-lock-read-regexp-defaults-function'. Doc fix.
914 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
915 with `find-tag-default-as-symbol-regexp'. Doc fix.
916 (hi-lock-read-regexp-defaults): Remove function.
917 (hi-lock-regexp-okay): Add check for null.
918
919 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
920 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
921
922 * subr.el (find-tag-default-as-symbol-regexp): New function.
923 (find-tag-default-as-regexp): Move symbol regexp formatting to
924 `find-tag-default-as-symbol-regexp'.
925
137f57c8
S
9262013-12-20 E Sabof <esabof@gmail.com> (tiny change)
927
928 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
929 (Bug#14179)
930
f3a66082
SB
9312013-12-20 Stephen Berman <stephen.berman@gmx.net>
932
933 * calendar/todo-mode.el: New implementation of item insertion
934 commands and key bindings.
935 (todo-key-prompt): New face.
936 (todo-insert-item): New command.
937 (todo-insert-item--parameters): New defconst, replacing defvar
938 todo-insertion-commands-args-genlist.
939 (todo-insert-item--param-key-alist): New defconst, replacing
940 defvar todo-insertion-commands-arg-key-list.
941 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
942 (todo-insert-item--argsleft, todo-insert-item--apply-args)
943 (todo-insert-item--next-param): New functions.
944 (todo-insert-item--args, todo-insert-item--argleft)
945 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
946 New variables.
947 (todo-key-bindings-t): Change binding of "i" from
948 todo-insertion-map to todo-insert-item.
949 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
950 (todo-insertion-command-name, todo-insertion-commands-names)
951 (todo-define-insertion-command, todo-insertion-commands)
952 (todo-insertion-key-bindings, todo-insertion-map): Remove.
953
2f99433b
SB
9542013-12-20 Stephen Berman <stephen.berman@gmx.net>
955
956 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
957 (todo-toggle-item-highlighting): Use eval-and-compile instead of
958 eval-when-compile.
959 (todo-move-category): Allow choosing a non-existing todo file to
960 move the category to, and create that file.
961 (todo-default-priority): New user option.
962 (todo-set-item-priority): Use it.
963 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
964 (desktop-restore-file-buffer): Declare.
965 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
966 (todo-modes-set-2): Locally set desktop-save-buffer to
967 todo-desktop-save-buffer.
968 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
969 (auto-mode-alist): Add autoload cookie.
970
131e4695
BB
9712013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
972
973 * emacs-lisp/subr-x.el: Renamed from helpers.el.
974 helpers.el was a poor choice of name.
3cbfb935
BB
975 (string-remove-prefix): New function.
976 (string-remove-suffix): New function.
131e4695 977
c44de18d
MR
9782013-12-20 Martin Rudalics <rudalics@gmx.at>
979
980 Fix assignment for new window total sizes.
981 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
982 (window--pixel-to-total-1, window--pixel-to-total):
983 Fix calculation of new total sizes.
c44de18d 984
ca65efcc
VS
9852013-12-20 Vitalie Spinu <spinuvit@gmail.com>
986
987 * comint.el (comint-output-filter): Fix rear-nonsticky property
988 placement (Bug#16010).
989
a9574eb7
CY
9902013-12-20 Chong Yidong <cyd@gnu.org>
991
992 * faces.el (read-color): Minor fix for completion function.
993
b520f210
DG
9942013-12-20 Dmitry Gutov <dgutov@yandex.ru>
995
e0eb0550
JB
996 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
997 New option. (Bug#16182)
b520f210
DG
998 (ruby-smie--indent-to-stmt-p): Use it.
999 (ruby-smie-rules): Revert the logic in the handling of `when'.
1000 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1001 (ruby-deep-arglist, ruby-deep-indent-paren)
1002 (ruby-deep-indent-paren-style): Update docstrings to note that the
1003 vars don't have any effect with SMIE.
1004
26b75b45
JB
10052013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1006
1007 * calc/calc.el (calc-enter, calc-pop): Use the variable
1008 `calc-context-sensitive-enter'.
1009
cf91cee7
LMI
10102013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1011
1012 * net/shr.el (shr-insert): Protect against infloops in degenerate
1013 tables.
1014
51d971b4
RS
10152013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1016
1017 * progmodes/octave.el (octave): Add link to manual and octave
1018 homepage.
1019 (octave-mode-menu): Link to octave-mode manual.
1020
8c2e462a
LL
10212013-12-20 Leo Liu <sdl.web@gmail.com>
1022
1023 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1024 insertion using skeleton-end-newline. (Bug#16138)
1025
501158bc
JL
10262013-12-20 Juri Linkov <juri@jurta.org>
1027
1028 * replace.el (occur-engine): Use `add-face-text-property'
1029 to add the face property to matches and titles. (Bug#14645)
1030
1031 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1032 the palette of other hi-lock colors.
1033 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1034
50ab1da6
JL
10352013-12-19 Juri Linkov <juri@jurta.org>
1036
1037 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1038 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1039 (minibuffer-history-symbol): Move variable declaration closer to
1040 its usage.
1041
1042 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1043 (Bug#14785)
1044
3d6e95e7
JL
10452013-12-19 Juri Linkov <juri@jurta.org>
1046
1047 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1048 New function.
1049 (log-edit-hook): Add it to :options. (Bug#16170)
1050
b41594fd
JL
10512013-12-19 Juri Linkov <juri@jurta.org>
1052
1053 * simple.el (eval-expression-print-format): Don't check for
1054 command names and the last command. Always display additional
1055 formats of the integer result in the echo area, and insert them
1056 to the current buffer only with a zero prefix arg.
1057 Display character when char-displayable-p is non-nil.
1058 (eval-expression): With a zero prefix arg, set `print-length' and
1059 `print-level' to nil, and insert the integer values from
1060 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1061
1062 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1063 `eval-last-sexp-arg-internal'. Doc fix.
1064 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1065 `eval-last-sexp-print-value'. Doc fix.
1066 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1067 Set `print-length' and `print-level' to nil when arg is zero.
1068 (eval-last-sexp): Doc fix.
1069 (eval-defun-2): Print the integer values from
1070 `eval-expression-print-format' at the end.
1071
1072 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1073 values from `eval-expression-print-format' at the end.
1074
1075 * ielm.el (ielm-eval-input): Print the integer
1076 values from `eval-expression-print-format' at the end.
1077
8f2be364
TZ
10782013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1079
1080 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1081 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1082
2230a6e3
SM
10832013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1084
1085 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1086 (hl-line-highlight, global-hl-line-highlight): Use it.
1087 (hl-line-overlay): Use defvar-local.
1088
1269a680
JD
10892013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1090
1091 * term/ns-win.el: Require dnd.
1092 (global-map): Remove drag items.
1093 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1094 (ns-set-background-at-mouse):
1095 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1096 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1097 New functions.
1269a680 1098
049638ad
GM
10992013-12-19 Glenn Morris <rgm@gnu.org>
1100
1101 * emacs-lisp/ert.el (ert-select-tests):
1102 Fix string/symbol mixup. (Bug#16121)
1103
ce41edb4
DG
11042013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1105
1106 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1107 keywords to their parent.
1108
7e1549c9
DG
11092013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1110
1111 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1112 first arg to be a string (fixed dead code), or an operator symbol.
1113 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1114 operator symbols.
1115 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1116 did nothing. Don't respond to `(:after ".")', it will be called
1117 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1118 change anything. Only return indentation for binary operators
1119 when they are hanging. De-dent opening paren when its parent is
1120 `.', otherwise it looks bad when the dot is not at bol or eol
1121 (bug#16182).
1122
3ee4cd64
JL
11232013-12-19 Juri Linkov <juri@jurta.org>
1124
1125 * replace.el (query-replace-read-args): Split a non-negative arg
1126 and a negative arg into separate elements.
1127 (query-replace, query-replace-regexp, replace-string)
1128 (replace-regexp): Add arg `backward'. Doc fix.
1129 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1130 move point to the beginning of the match.
1131 (replace-search, replace-highlight): Use new arg `backward'
1132 to set the value of `isearch-forward'.
1133 (perform-replace): Add arg `backward' and use it to perform
1134 replacement backward. (Bug#14979)
1135
1136 * isearch.el (isearch-query-replace): Use a negative prefix arg
1137 to call `perform-replace' with a non-nil arg `backward'.
1138
0cda6b7b
JL
11392013-12-18 Juri Linkov <juri@jurta.org>
1140
1141 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1142 to the default list. Move `log-edit-show-files' to the end.
1143 Add more available functions to options.
1144 (log-edit): Move default specific settings to
1145 `log-edit-insert-message-template'. Don't move point.
1146 (log-edit-insert-message-template): New function.
1147 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1148 (Bug#16170)
1149
b216f0a6
JL
11502013-12-18 Juri Linkov <juri@jurta.org>
1151
1152 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1153 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1154
1d1c55dc
LL
11552013-12-18 Leo Liu <sdl.web@gmail.com>
1156
e9dc713d
JB
1157 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1158 (Bug#16186)
1d1c55dc 1159
64e4c76e
EZ
11602013-12-18 Eli Zaretskii <eliz@gnu.org>
1161
1162 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1163 formats for displaying file sizes when the -s switch is given.
1164 Instead, compute a separate format for displaying the size in
1165 blocks, which is displayed in addition to the "regular" size.
1166 When -h is given in addition to -s, produce size in blocks in
1167 human-readable form as well. (Bug#16179)
1168
b2984e39
TH
11692013-12-18 Tassilo Horn <tsdh@gnu.org>
1170
2230a6e3
SM
1171 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1172 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1173
50ff2e06
CY
11742013-12-18 Chong Yidong <cyd@gnu.org>
1175
0081bc84
CY
1176 * cus-edit.el (custom-magic-alist): Fix "themed" description
1177 (Bug#14348).
1178
a7ee9424
CY
1179 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1180 is non-nil, do not create a new entry in the symbol's theme-value
1181 or theme-face property; update theme-settings only (Bug#14664).
18874304 1182 (custom-available-themes): Doc fix.
a7ee9424 1183
8f942537
CY
1184 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1185 (Bug#15674).
1186
50ff2e06
CY
1187 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1188
83c60f60
KI
11892013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1190
1191 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1192 (Bug#13914).
1193
e0eb0550 11942013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1195
1196 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1197
1f41ee56
GM
11982013-12-18 Glenn Morris <rgm@gnu.org>
1199
1200 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1201 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1202
e82134b1
LW
12032013-12-18 Le Wang <l26wang@gmail.com>
1204
2230a6e3
SM
1205 * comint.el (comint-previous-matching-input-from-input):
1206 Retain point (Bug#13404).
e82134b1 1207
33f5d4c1
CY
12082013-12-18 Chong Yidong <cyd@gnu.org>
1209
1210 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1211
ccc9f6dc
GM
12122013-12-18 Glenn Morris <rgm@gnu.org>
1213
1214 * mail/emacsbug.el (report-emacs-bug):
1215 Only mention enable-multibyte-characters if non-standard.
1216
33dd8e95
JL
12172013-12-17 Juri Linkov <juri@jurta.org>
1218
1219 * arc-mode.el (archive-extract-by-file): Check if directory exists
1220 before deletion to not show irrelevant errors if it doesn't exist.
1221
7a409b30
JL
12222013-12-17 Juri Linkov <juri@jurta.org>
1223
1224 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1225 (Bug#14751)
1226
1227 * net/eww.el (browse-web): Add alias to `eww'.
1228 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1229 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1230
1231 * net/browse-url.el (browse-url-browser-function): Move `eww'
1232 closer to similar functions.
1233
1234 * startup.el (fancy-startup-screen, fancy-about-screen):
1235 Set browse-url-browser-function to eww-browse-url locally.
1236 (Bug#14751)
1237
2d6b6005
SM
12382013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1239
1240 * window.el (window--pixel-to-total): Remove unused `mini' var.
1241 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1242 (split-window): Remove unused `new' var.
1243 (window--display-buffer): Remove unused `frame' and `delta' vars.
1244 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1245 and display-width'.
1246
cf2b7efc
MR
12472013-12-17 Martin Rudalics <rudalics@gmx.at>
1248
1249 * dired.el (dired-mark-pop-up):
1250 * register.el (register-preview): Don't bind
1251 split-height-threshold here since it's now done in
1252 display-buffer-below-selected.
1253
ed3af8a7 12542013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1255
1256 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1257 xterm-rgb-convert-to-16bit.
1258 (rxvt-register-default-colors): Standardize with
1259 xterm-register-default-colors (Bug#14078).
1260
76da3455
DK
12612013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1262
1263 * simple.el (kill-region): Pass mark first, then point, so that
1264 kill-append works right (Bug#12819).
1265 (copy-region-as-kill, kill-ring-save): Likewise.
1266
2b84d763
LL
12672013-12-17 Leo Liu <sdl.web@gmail.com>
1268
1269 * net/rcirc.el (rcirc-add-face):
1270 * eshell/em-prompt.el (eshell-emit-prompt):
1271 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1272 (Bug#16167)
1273
e2f6a0bc
CY
12742013-12-17 Chong Yidong <cyd@gnu.org>
1275
1276 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1277 Suggested by Xue Fuqiao.
1278
35b249a6
DG
12792013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1280
1281 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1282
e9145444
SM
12832013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * net/shr.el (shr-insert-document): Remove unused var
1286 `shr-preliminary-table-render'.
1287 (shr-rescale-image): Remove unused arg `force'.
1288 (shr-put-image): Update calls accordingly.
1289 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1290
5556c0ce
DG
12912013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1292
1293 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1294 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1295 :close-all, to see which indentation method to use (Bug#16116).
1296 (smie-rules-function): Document the method :close-all.
1297
11bade0a
LMI
12982013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1299
1c4b1e61
LMI
1300 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1301
11bade0a
LMI
1302 * net/eww.el (eww-display-html): If we can't find the anchor we're
1303 looking for, then go to point-min.
1304
8fb8c4f3
PE
13052013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1306
1307 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1308 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1309 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1310 Expand dir too, in case it's relative.
1311
6c8e0ae6
JL
13122013-12-16 Juri Linkov <juri@jurta.org>
1313
1314 * desktop.el (desktop-auto-save-timeout): Change default to
1315 `auto-save-timeout'. Doc fix.
1316 (desktop-save): Skip the timestamp in desktop-saved-frameset
1317 when checking for auto-save changes.
1318 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1319 `desktop-auto-save' is called repeatedly by the idle timer.
1320 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1321 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1322 (Bug#15331)
1323
2178e858
JL
13242013-12-16 Juri Linkov <juri@jurta.org>
1325
1326 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1327 (Bug#16035)
1328 (isearch-pre-command-hook): Check `this-command' for symbolp.
1329
39cb42c6
SM
13302013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1331
1332 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1333
5b9b750a
TZ
13342013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1335
1336 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1337 (cfengine3--current-function): Bring in the current-function
1338 functionality from `cfengine3--current-word'.
1339 (cfengine3-completion-function): Bring in the
1340 bounds-of-current-word functionality from
1341 `cfengine3--current-word'.
1342
d144ef06
MR
13432013-12-16 Martin Rudalics <rudalics@gmx.at>
1344
39cb42c6
SM
1345 * window.el (display-buffer-below-selected):
1346 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1347
a8bbe298
LL
13482013-12-16 Leo Liu <sdl.web@gmail.com>
1349
1350 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1351 Remove NOMSG arg and all uses changed.
1352
2013a2f9
SM
13532013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1354
1355 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1356 (cua--deactivate-rectangle): Don't deactivate the mark.
1357 (cua-set-rectangle-mark): Don't set mark-active since
1358 cua--activate-rectangle already does it for us.
1359 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1360 non-rectangular region.
1361
1362 * emulation/cua-base.el (cua-repeat-replace-region):
1363 Use with-current-buffer.
1364
1365 * net/gnutls.el: Use cl-lib.
1366 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1367
5ae811dd
TZ
13682013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1369
1370 * emacs-lisp/package.el (package-built-in-p): Support both
1371 built-in and the package.el converted package descriptions.
1372 (package-show-package-list): Allow keywords.
1373 (package-keyword-button-action): Use it instead of
1374 `finder-list-matches'.
1375 (package-menu-filter-interactive): Interactive filtering (by
1376 keyword) function.
1377 (package-menu--generate): Support keywords and change keymappings
1378 and headers when they are given.
1379 (package--has-keyword-p): Helper function.
1380 (package-menu--refresh): Use it.
1381 (package--mapc): Helper function.
1382 (package-all-keywords): Use it.
1383 (package-menu-mode-map): Set up menu items and keybindings to
1384 provide a filtering UI.
1385
31b4827e
TZ
13862013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1387
1388 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1389 the behavior when a certificate fails validation. Defaults to
1390 old behavior: never abort, just warn.
1391 (gnutls-negotiate): Use it.
1392
f93cc74f
MR
13932013-12-14 Martin Rudalics <rudalics@gmx.at>
1394
1395 * window.el (display-buffer-below-selected): Never split window
1396 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1397
f77d7d17
TW
13982013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1399
1400 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1401 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1402
7514d3f8
SM
14032013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1404
aa2bddd7 1405 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1406 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1407
276bc333
DG
14082013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1409
1410 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1411 open-paren tokens when preceded by a open-paren, too.
1412 (ruby-smie-rules): Handle virtual indentation after open-paren
1413 tokens specially. If there is code between it and eol, return the
1414 column where is starts (Bug#16118).
1415
d43957f3
TZ
14162013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1417
a5c1ac0c 1418 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1419 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1420 (cfengine3--current-word): Fix parameters.
1421 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1422 (cfengine3-completion-function, cfengine3--current-function):
1423 Use `assq' for symbols.
d43957f3
TZ
1424 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1425
06a4f110
GM
14262013-12-13 Glenn Morris <rgm@gnu.org>
1427
1428 * loadup.el (load-path): Warn if site-load or site-init changes it.
1429 No more need to reset it when bootstrapping.
1430
978a5fda
TZ
14312013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1432
1433 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1434 locations for cf-promises.
1435 (cfengine-mode-syntax-functions-regex): New caching variable.
1436 (cfengine3-fallback-syntax): Fallback syntax for cases where
1437 cf-promises doesn't run.
1438 (cfengine3--current-word): Reimplement using
1439 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1440 (cfengine3-completion-function, cfengine3--current-function):
1441 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1442 (cfengine3-clear-syntax-cache): New function.
1443 (cfengine3-make-syntax-cache): Simplify and create
1444 `cfengine-mode-syntax-functions-regex' on demand.
1445 (cfengine3-format-function-docstring): Don't call
1446 `cfengine3-make-syntax-cache' explicitly.
1447
71e6691e
MR
14482013-12-13 Martin Rudalics <rudalics@gmx.at>
1449
1450 Fix windmove-find-other-window broken after pixelwise resizing
1451 (Bug#16017).
1452 * windmove.el (windmove-other-window-loc): Revert change from
1453 2013-12-04.
1454 (windmove-find-other-window): Call window-in-direction.
1455 * window.el (window-in-direction): New arguments SIGN, WRAP and
1456 MINI to emulate original windmove-find-other-window behavior.
1457
84c73ba0
DG
14582013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1459
1460 * simple.el (blink-matching--overlay): New variable.
1461 (blink-matching-open): Instead of moving point, highlight the
1462 matching paren with an overlay
1463 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1464
1465 * faces.el (paren-showing-faces, show-paren-match)
1466 (show-paren-mismatch): Move from paren.el.
1467
b9e20952
LL
14682013-12-13 Leo Liu <sdl.web@gmail.com>
1469
1470 * indent.el (indent-region): Disable progress reporter in
1471 minibuffer. (Bug#16108)
1472
1473 * bindings.el (visual-order-cursor-movement): Fix version.
1474
ce030451
FEG
14752013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1476
1477 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1478 Also match after beginning of line.
1479 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1480 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1481
4a9c6865
JL
14822013-12-13 Juri Linkov <juri@jurta.org>
1483
1484 * simple.el <Keypad support>: Remove key bindings duplicated
1485 with bindings.el. (Bug#14397)
1486
2bc170c3
JL
14872013-12-13 Juri Linkov <juri@jurta.org>
1488
1489 * comint.el (comint-mode-map): Replace `delete-char' with
1490 `delete-forward-char'. (Bug#16109)
1491
bc9222c9
FEG
14922013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1493
aa2bddd7 1494 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1495 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1496
cb3a1380
SM
14972013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1498
1499 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1500 (advice--make): Pay attention to `depth'.
1501 (advice--make-1): Don't autoload commands eagerly.
1502 * emacs-lisp/elp.el (elp-instrument-function):
1503 * emacs-lisp/trace.el (trace-function-internal):
1504 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1505
1506 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1507
01633a17
EZ
15082013-12-12 Eli Zaretskii <eliz@gnu.org>
1509
1510 * term/w32-win.el (w32-handle-dropped-file):
1511 * startup.el (normal-top-level):
1512 * net/browse-url.el (browse-url-file-url):
1513 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1514 decode file names using 'utf-8' rather than
1515 file-name-coding-system.
1516
09faee72
FEG
15172013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1518
1519 * progmodes/python.el (python-indent-context)
1520 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1521 behavior for comment blocks. (Bug#15916)
09faee72 1522
f4f84024 15232013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1524
cb3a1380
SM
1525 * progmodes/python.el (python-indent-calculate-indentation):
1526 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1527 operators when they are just string constituents. (Bug#15812)
1528
d5ccb7be
JL
15292013-12-12 Juri Linkov <juri@jurta.org>
1530
1531 * uniquify.el (uniquify-buffer-name-style): Change default to
1532 `post-forward-angle-brackets'.
1533
1534 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1535 `uniquify'. Change default to `post-forward-angle-brackets'.
1536
7b3f5679
GM
15372013-12-11 Glenn Morris <rgm@gnu.org>
1538
1539 * emacs-lisp/package.el (finder-list-matches):
1540 Autoload rather than falsely declaring.
1541
f4fe8fdd
TZ
15422013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1543
1544 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1545 (eww-mode-map): Use them.
1546
3c29190f
MR
15472013-12-11 Martin Rudalics <rudalics@gmx.at>
1548
1549 * window.el (display-buffer-in-side-window): Fix doc-string
1550 (Bug#16115).
1551
0cd616a2
JB
15522013-12-11 Juanma Barranquero <lekktu@gmail.com>
1553
1554 * vc/vc-git.el: Silence byte-compiler warnings.
1555 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1556 (log-edit-set-header): Declare.
1557
3ef8e0d1
EZ
15582013-12-11 Eli Zaretskii <eliz@gnu.org>
1559
1560 * Makefile.in (custom-deps, finder-data): Run output file names
1561 through unmsys--file-name. (Bug#16099)
1562
afdadaf7
SM
15632013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1564
7ae3ae39 1565 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1566 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1567
5b4f37ab
SM
1568 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1569 instead of deleting the selection "by hand" (bug#16098).
1570 Rely on insert-for-yank to yank rectangles.
1571 (cua-highlight-region-shift-only): Mark obsolete.
1572 (cua-mode): Don't enable/disable transient-mark-mode,
1573 shift-select-mode (cua-mode works both with and without them), and
1574 pc-selection-mode (obsolete).
1575 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1576 (cua--deactivate-rectangle): Deactivate it.
1577
4b72c12b
SM
1578 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1579 (delete-selection-helper): Make sure yank starts at the top of the
1580 deleted region.
1581 (minibuffer-keyboard-quit): Use region-active-p.
1582
e82af72d
SM
1583 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1584
afdadaf7
SM
1585 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1586 to `delete' (bug#16109).
1587
ed4bc201
RS
15882013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1589
1590 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1591 info manual and show keybindings and set `:group' keyword.
1592
bb8097b9
JL
15932013-12-11 Juri Linkov <juri@jurta.org>
1594
1595 * delsel.el (delete-active-region): Let-bind `this-command'
1596 to prevent `kill-region' from changing its original value.
1597 (delete-selection-helper): Handle `overwrite-mode' for the type
1598 `kill' exactly the same way as for the type `t'.
1599 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1600 Support more commands. (Bug#13312)
1601
c1916ff5
JL
16022013-12-11 Juri Linkov <juri@jurta.org>
1603
1604 * bindings.el: Map kp keys to non-kp keys systematically
1605 with basic modifiers control, meta and shift. (Bug#14397)
1606
7514d3f8 16072013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1608
1609 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1610 "Close browser" menu items. Fix wrong function of "List
1611 bookmarks".
1612
4cc51eaf
JL
16132013-12-11 Juri Linkov <juri@jurta.org>
1614
1615 * misearch.el (multi-isearch-buffers): Set the value of
1616 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1617 arg of isearch-forward to t.
1618 (multi-isearch-buffers-regexp): Set the value of
1619 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1620 arg of isearch-forward-regexp to t.
1621 (multi-isearch-files): Set the value of
1622 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1623 arg of isearch-forward to t.
1624 (multi-isearch-files-regexp): Set the value of
1625 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1626 arg of isearch-forward-regexp to t. (Bug#16035)
1627
1628 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1629 arg of isearch-forward to t.
1630 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1631 arg of isearch-forward-regexp to t.
1632 (dired-isearch-filter-filenames): Remove unnecessary check for
1633 `dired-isearch-filenames'.
1634
1635 * comint.el (comint-history-isearch-backward):
1636 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1637 (comint-history-isearch-backward-regexp):
1638 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1639
ceac12b7
EZ
16402013-12-10 Eli Zaretskii <eliz@gnu.org>
1641
1642 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1643 unmsys--file-name. (Bug#16099)
1644
5a565782
TZ
16452013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1646
cb3a1380
SM
1647 * emacs-lisp/package.el (package-keyword-button-action):
1648 Remove finder.el require dependency.
5a565782 1649
a81fc7ba
TZ
16502013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1651
1652 * emacs-lisp/package.el: Require finder.el.
1653 (describe-package-1): Add keyword buttons.
1654 (package-make-button): New convenience function.
1655 (package-keyword-button-action): Keyword button action using
e0eb0550 1656 `finder-list-matches'.
a81fc7ba 1657
6aaca951
EZ
16582013-12-09 Eli Zaretskii <eliz@gnu.org>
1659
1660 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1661 last commit.
1662
a1099a91
MA
16632013-12-09 Michael Albinus <michael.albinus@gmx.de>
1664
1665 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1666 symlinked files.
1667
8212d9c0
DG
16682013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1669
1670 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1671 after the end of a percent literal.
1672
8f48d131
CD
16732013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1674
cb3a1380
SM
1675 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1676 Handle caret-delimited strings (Bug#16079).
8f48d131 1677
ff8c9764
DG
16782013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1679
cb3a1380
SM
1680 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1681 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1682 `ruby-parse-partial' (Bug#16078).
1683
d64643b4
LL
16842013-12-09 Leo Liu <sdl.web@gmail.com>
1685
1686 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1687
47e59c66
DG
16882013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1689
1690 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1691 (js-switch-indent-offset): New option.
1692 (js--proper-indentation): Use it. And handle the case when
1693 "default" is actually a key in an object literal.
1694 (js--same-line): New function.
1695 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1696 (js--indent-in-array-comp, js--array-comp-indentation):
1697 New functions.
47e59c66
DG
1698 (js--proper-indentation): Use them, to handle array comprehension
1699 continuations.
1700
974ebc9c
LL
17012013-12-08 Leo Liu <sdl.web@gmail.com>
1702
1703 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1704 (flymake-make-overlay): Remove arg MOUSE-FACE.
1705 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1706
27262e39
SM
17072013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1710 New function.
1711 (redisplay-highlight-region-function): Use it.
1712
1713 * emulation/cua-base.el (cua--explicit-region-start)
1714 (cua--last-region-shifted): Remove.
1715 (cua--deactivate): Use deactivate-mark.
1716 (cua--pre-command-handler-1): Don't handle shift-selection.
1717 (cua--post-command-handler-1): Don't change transient-mark-mode.
1718 (cua--select-keymaps): Use region-active-p rather than
1719 cua--explicit-region-start or cua--last-region-shifted.
1720 (cua-mode): Enable shift-select-mode.
1721
6407822c
LL
17222013-12-08 Leo Liu <sdl.web@gmail.com>
1723
27262e39
SM
1724 * progmodes/flymake.el (flymake-popup-current-error-menu):
1725 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1726 (flymake-posn-at-point-as-event, flymake-popup-menu)
1727 (flymake-make-emacs-menu): Remove. (Bug#16077)
1728
00a2b823
SM
17292013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1730
02033d49
SM
1731 * rect.el (rectangle-mark-mode): Activate mark even if
1732 transient-mark-mode is off (bug#16066).
1733 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1734 is > mark and at bolp.
1735
6f8dfccf
SM
1736 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1737 (region-extract-function): Use it.
1738 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1739 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1740 Delete functions.
1741 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1742 kill-ring-save, kill-region, delete-char, delete-forward-char.
1743 Ignore self-insert-iso.
1744
1745 * emulation/cua-gmrk.el (cua--init-global-mark):
1746 Ignore `self-insert-iso'.
1747
1748 * emulation/cua-base.el (cua--prefix-copy-handler)
1749 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1750 checking cua--rectangle.
1751 (cua-delete-region): Use region-extract-function.
1752 (cua-replace-region): Delete function.
1753 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1754 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1755 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1756 (cua--init-keymaps): Don't remap delete-selection commands.
1757 (cua-mode): Use delete-selection-mode instead of rolling our own
1758 (bug#16085).
1759
1760 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1761 Obey region-extract-function.
1762
00a2b823
SM
1763 Make registers and delete-selection-mode work on rectangles.
1764 * register.el (describe-register-1): Don't modify the register's value.
1765 (copy-to-register): Obey region-extract-function.
1766 * delsel.el (delete-active-region): Obey region-extract-function.
1767
a92fa5f1
LL
17682013-12-08 Leo Liu <sdl.web@gmail.com>
1769
1770 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1771 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1772 (flymake-compilation-prevents-syntax-check)
1773 (flymake-start-syntax-check-on-newline)
1774 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1775 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1776 (flymake-xml-program, flymake-master-file-dirs)
1777 (flymake-master-file-count-limit)
1778 (flymake-allowed-file-name-masks): Relocate.
1779 (flymake-makehash, flymake-float-time)
1780 (flymake-replace-regexp-in-string, flymake-split-string)
1781 (flymake-get-temp-dir): Remove.
1782 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1783 (flymake-current-row, flymake-selected-frame)
1784 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1785 related functions. (Bug#16077)
1786
73c8ceea
BB
17872013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1788
1789 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1790
faec28d9
TH
17912013-12-07 Tassilo Horn <tsdh@gnu.org>
1792
1793 * help-fns.el (describe-function-1): Use new advice-* functions
1794 rather than old ad-* functions. Fix function type description and
1795 source links for advised functions and subrs.
1796
e330b646
LMI
17972013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1798
00a2b823 1799 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1800
4803595d
MA
18012013-12-06 Michael Albinus <michael.albinus@gmx.de>
1802
1803 * progmodes/compile.el (compilation-start):
1804 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1805
1806 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1807 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1808
fa834a93
DG
18092013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1810
00a2b823
SM
1811 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1812 Touch up the last change.
fa834a93 1813
b2856a6f
LL
18142013-12-06 Leo Liu <sdl.web@gmail.com>
1815
1816 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1817 (inferior-octave-startup): Always use "octave> " for prompt.
1818 (octave-goto-function-definition)
1819 (octave-sync-function-file-names)
1820 (octave-find-definition-default-filename): Remove redundant backquotes.
1821
af67e79a
DG
18222013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1823
1824 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1825 syntax for `?'.
1826 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1827 where appropriate already.
1828 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1829 end of method names (Bug#15874).
1830
bf093209
JL
18312013-12-06 Juri Linkov <juri@jurta.org>
1832
1833 * isearch.el (isearch--saved-overriding-local-map):
1834 New internal variable.
1835 (isearch-mode): Set it to the initial value of
1836 `overriding-terminal-local-map'.
1837 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1838 with `isearch--saved-overriding-local-map'. (Bug#16035)
1839
16588fad
DG
18402013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1841
00a2b823
SM
1842 * progmodes/octave.el (inferior-octave-completion-table):
1843 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1844 (Bug#11906). Update all references.
1845
1846 * minibuffer.el (completion-table-with-cache): New function.
1847
bf4906d7
CD
18482013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1849
1850 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1851
ff69c18f
TZ
18522013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1853
1854 * net/eww.el (eww-current-source): New variable to store page
1855 source.
1856 (eww-display-html, eww-mode, eww-save-history)
1857 (eww-restore-history): Use it.
1858 (eww-view-source): New command to view page source.
1859 Opportunistically uses `html-mode' to highlight the buffer.
1860 (eww-mode-map): Install it.
1861
b85eff45
MA
18622013-12-05 Michael Albinus <michael.albinus@gmx.de>
1863
1864 * net/dbus.el (dbus-unregister-service)
1865 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1866 Fix docstring.
1867 (dbus-unregister-service): Skip :serial entries in
1868 `dbus-registered-objects-table'.
1869 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1870
39eb0899
TZ
18712013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1872
1873 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1874 around keywords with extra `split-string' argument.
1875
456760a5
MR
18762013-12-04 Martin Rudalics <rudalics@gmx.at>
1877
1878 * windmove.el (windmove-other-window-loc): Handle navigation
1879 between windows (excluding the minibuffer window - Bug#16017).
1880
81961e4c
MA
18812013-12-04 Michael Albinus <michael.albinus@gmx.de>
1882
1883 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1884 in D-Bus type syntax.
1885 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1886 preserve unibyte strings. (Bug#16048)
1887
8497f938
SM
18882013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1889
1890 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1891 Call force-mode-line-update is the proper buffer (bug#16042).
1892
dda61916
DG
18932013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1894
1895 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1896 `log-edit-remember-comment', make argument optional. Adjust all
1897 callers.
1898 (log-edit-mode): Add `log-edit-remember-comment' to
1899 `kill-buffer-hook' locally.
1900 (log-edit-kill-buffer): Don't remember comment explicitly since
1901 the buffer is killed anyway.
1902
c085e5b9
JL
19032013-12-04 Juri Linkov <juri@jurta.org>
1904
1905 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1906 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1907
e0eb0550 19082013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1909
1910 * notifications.el (notifications-close-notification): Call the
81961e4c 1911 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1912
39fa32d6
KY
19132013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1914
1915 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1916
9139632a
JL
19172013-12-03 Juri Linkov <juri@jurta.org>
1918
1919 * progmodes/compile.el (compilation-start): Rename window alist
1920 entry `no-display-ok' to `allow-no-window'.
1921
1922 * simple.el (shell-command): Add window alist entry
1923 `allow-no-window' to `display-buffer'.
1924 (async-shell-command): Doc fix.
1925
1926 * window.el (display-buffer-no-window): New action function.
1927 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1928
0f457a37
DG
19292013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1930
1931 * vc/log-edit.el (log-edit-set-header): Extract from
1932 `log-edit-toggle-header'.
1933 (log-edit-extract-headers): Separate the summary, when extracted
1934 from header, from the rest of the message with an empty line.
1935
1936 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1937 line, if present, to the Summary header.
1938
0962f376
SM
19392013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1942 in current-buffer (bug#16029).
1943
f345395c
HE
19442013-12-02 Helmut Eller <eller.helmut@gmail.com>
1945
1946 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1947 (debugger-mode-map): Bind it.
1948 (debugger--backtrace-base): New function.
1949 (debugger-eval-expression): Use it.
1950 (debugger-frame-number): Skip local vars when present.
1951 (debugger--locals-visible-p, debugger--insert-locals)
1952 (debugger--show-locals, debugger--hide-locals): New functions.
1953
a8a15d9d
MA
19542013-12-02 Michael Albinus <michael.albinus@gmx.de>
1955
1956 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1957 "LC_ALL".
1958 (tramp-get-remote-locale): New defun.
1959 (tramp-open-connection-setup-interactive-shell): Use it.
1960
0518b057
LL
19612013-12-02 Leo Liu <sdl.web@gmail.com>
1962
1963 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1964
1965 * progmodes/sh-script.el (sh-shell-process):
1966 * progmodes/octave.el (inferior-octave-process-live-p):
1967 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1968 (gdb-inferior-io-sentinel):
1969 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1970
3adc9c6d
DG
19712013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1972
1973 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1974 `save-selected-window' to `log-edit-hide-buf'. This makes
1975 `log-edit-show-files' idempotent.
1976 (log-edit-show-files): Mark the new window as dedicated.
1977
47e8b74e
DG
19782013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1979
1980 * vc/log-edit.el (log-edit-mode-map): Add binding for
1981 `log-edit-kill-biffer'.
1982 (log-edit-hide-buf): Add a FIXME comment.
1983 (log-edit-add-new-comment): New function, extracted from
1984 `log-edit-done'.
1985 (log-edit-done, log-edit-add-to-changelog): Use it.
1986 (log-edit-kill-buffer): New command.
1987
1f6e1bb0
LMI
19882013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1989
1990 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1991 instead of killing the buffer.
1992
fb651d15
SM
19932013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1994
1995 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1996
8feacce0
RS
19972013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1998
fb651d15 1999 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2000 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2001 (eww-form-checkbox, eww-toggle-checkbox):
2002 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2003
e0eb0550 2004 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2005 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2006 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2007 no :src tag was specified.
2008
fb651d15 2009 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2010 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2011 Use \\` to match beginning of string instead of ^.
2012 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2013 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2014
177948a5
RS
2015 * net/shr.el (shr-tag-video): Display content for video if no
2016 poster is available.
eb2dd24d 2017 (shr-tag-audio): Add support for <audio> tag.
177948a5 2018
e0eb0550 2019 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2020 (eww-process-text-input): Treat input types in
2021 `eww-text-input-types' as text.
2022
8feacce0
RS
2023 * net/shr.el (shr-tag-table): Fix comment typo.
2024
513562a1
LMI
20252013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2026
2027 * net/eww.el (eww-follow-link): New command to avoid reloading
2028 pages when we follow #target links (bug#15243).
de8a5633 2029 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2030
9dd99753
KN
20312013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2032
2033 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2034 forms.
2035
3e9876de
LMI
20362013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2037
2038 * net/eww.el (eww-restore-history): Update the window title after
2039 moving in the history.
ab6dea82 2040 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2041
52789f7f
DG
20422013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2043
2044 * vc/log-edit.el (log-edit-mode-map): Add binding for
2045 `log-edit-beginning-of-line'.
2046 (log-edit-setup-add-author): New user option.
2047 (log-edit-beginning-of-line): New command.
2048 (log-edit): Move major mode call above the contents setup so that
2049 the local variable values are already applied.
2050 (log-edit): Only insert "Author: " when
2051 `log-edit-setup-add-author' is non-nil.
2052 (log-edit): When SETUP is non-nil, position point after ": "
2053 instead of point-min.
2054
2e6710c3
GM
20552013-12-01 Glenn Morris <rgm@gnu.org>
2056
2057 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2058
fadec31f
EZ
20592013-11-30 Eli Zaretskii <eliz@gnu.org>
2060
2061 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2062 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2063 visible. (Bug#16014)
2064
10634b40 20652013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2066
2067 Support resizing frames and windows pixelwise.
2068 * cus-start.el (frame-resize-pixelwise)
2069 (window-resize-pixelwise): New entries.
2070 * emacs-lisp/debug.el (debug): Use window-total-height instead
2071 of window-total-size.
2072 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2073 * help.el (describe-bindings-internal): Call help-buffer
2074 (temp-buffer-max-width): New option.
2075 (resize-temp-buffer-window, help-window-setup)
2076 (with-help-window): Rewrite.
2077 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2078 dragging dividers.
2079 * window.el (frame-char-size, window-min-pixel-height)
2080 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2081 (window-min-pixel-width, window-safe-min-pixel-size)
2082 (window-combination-p, window-safe-min-size)
2083 (window-resizable-p, window--size-to-pixel)
2084 (window--pixel-to-size, window--resize-apply-p): New functions.
2085 (window-safe-min-height): Fix doc-string.
2086 (window-size, window-min-size, window--min-size-1)
2087 (window-sizable, window-sizable-p, window--min-delta-1)
2088 (window-min-delta, window--max-delta-1, window-max-delta)
2089 (window--resizable, window--resizable-p, window-resizable)
2090 (window-full-height-p, window-full-width-p, window-at-side-p)
2091 (window--in-direction-2, window-in-direction)
2092 (window--resize-reset-1, window--resize-mini-window)
2093 (window-resize, window-resize-no-error)
2094 (window--resize-child-windows-normal)
2095 (window--resize-child-windows, window--resize-siblings)
2096 (window--resize-this-window, window--resize-root-window)
2097 (window--resize-root-window-vertically)
2098 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2099 (maximize-window, minimize-window, delete-window)
2100 (quit-restore-window, window-split-min-size, split-window)
2101 (balance-windows-2, balance-windows)
2102 (balance-windows-area-adjust, balance-windows-area)
2103 (window--state-get-1, window-state-get, window--state-put-1)
2104 (window--state-put-2, window-state-put)
fb651d15
SM
2105 (display-buffer-record-window, window--display-buffer):
2106 Make functions handle pixelwise sizing of windows.
880e6158 2107 (display-buffer--action-function-custom-type)
fb651d15
SM
2108 (display-buffer-fallback-action):
2109 Add display-buffer-in-previous-window.
880e6158
MR
2110 (display-buffer-use-some-window): Resize window to height it had
2111 before.
2112 (fit-window-to-buffer-horizontally): New option.
2113 (fit-frame-to-buffer): Describe new values.
2114 (fit-frame-to-buffer-bottom-margin): Replace with
2115 fit-frame-to-buffer-margins.
2116 (window--sanitize-margin): New function.
2117 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2118 using window-text-pixel-size.
2119
f9b697dd
GM
21202013-11-30 Glenn Morris <rgm@gnu.org>
2121
3e2fb4db
GM
2122 * emacs-lisp/bytecomp.el (byte-compile-form):
2123 Make the `interactive-only' warning like the `obsolete' one.
2124 * comint.el (comint-run):
2125 * files.el (insert-file-literally, insert-file):
2126 * replace.el (replace-string, replace-regexp):
2127 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2128 (goto-line, insert-buffer, next-line, previous-line):
2129 Tweak `interactive-only' spec.
2130
f9b697dd
GM
2131 Stop keeping (most) generated cedet grammar files in the repository.
2132 * Makefile.in (semantic): New.
2133 (compile-main): Depend on semantic.
2134
da048127
SM
21352013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2136
7784b779
SM
2137 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2138 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2139
4e36a6a6
SM
2140 * uniquify.el (uniquify-buffer-name-style): Change default.
2141
2142 * loadup.el: Preload "uniquify".
2143
e0ba1308
SM
2144 * time.el (display-time-update): Update all mode lines (bug#15999).
2145
da048127
SM
2146 * electric.el (electric-indent-mode): Enable by default.
2147 * loadup.el: Preload "electric".
2148
015b3b3e
BB
21492013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2150
2151 * emacs-lisp/helpers.el (string-empty-p): New function.
2152 (string-blank-p): New function.
2153
7efb806d
AP
21542013-11-29 Andreas Politz <politza@hochschule-trier.de>
2155
2156 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2157 (Bug#14029).
2158
c8f0efc2
AP
21592013-11-29 Andreas Politz <politza@fh-trier.de>
2160 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2161 allow non-lambda lists as functions.
2162 (imenu--in-alist): Don't recurse into non-subalists.
2163 (imenu): Don't pass function itself as an argument (Bug#14029).
2164
bd15d9d1
SM
21652013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2166
2167 * progmodes/python.el (python-mode-map): Remove binding for ":".
2168 (python-indent-electric-colon): Remove command.
2169 (python-indent-post-self-insert-function): Integrate the previous code
2170 of python-indent-electric-colon. Make it conditional on
2171 electric-indent-mode.
2172 (python-mode): Add ?: to electric-indent-chars.
2173 Move python-indent-post-self-insert-function to the end of
2174 post-self-insert-hook.
2175
1b10adb6
SM
21762013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2177
655ab9a3
SM
2178 * doc-view.el (doc-view-goto-page): Update mode-line.
2179
1b10adb6
SM
2180 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2181
7e3bf78c
GM
21822013-11-27 Glenn Morris <rgm@gnu.org>
2183
2184 * international/charprop.el, international/uni-bidi.el:
2185 * international/uni-category.el, international/uni-combining.el:
2186 * international/uni-comment.el, international/uni-decimal.el:
2187 * international/uni-decomposition.el, international/uni-digit.el:
2188 * international/uni-lowercase.el, international/uni-mirrored.el:
2189 * international/uni-name.el, international/uni-numeric.el:
2190 * international/uni-old-name.el, international/uni-titlecase.el:
2191 * international/uni-uppercase.el:
2192 Remove generated files from VCS repository.
2193
fb6a5d68
EZ
21942013-11-27 Eli Zaretskii <eliz@gnu.org>
2195
2196 * filenotify.el (file-notify-add-watch): Don't special-case
2197 w32notify when computing the directory to watch.
2198
cb6c95a3
GM
21992013-11-27 Glenn Morris <rgm@gnu.org>
2200
20372d0c
GM
2201 Make bootstrap without generated uni-*.el files possible again.
2202 * loadup.el: Update command-line-args checking for unidata-gen.
2203 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2204 * composite.el, international/characters.el:
2205 Handle unicode tables being undefined.
2206
52d6635f 2207 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2208 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2209 (compile-main): Depend on leim rule.
2210 (leim): New rule.
2211 * loadup.el: Move leim-list.el to leim/ subdirectory.
2212 * startup.el (normal-top-level): No more leim directory.
2213 * international/ja-dic-cnv.el (skkdic-convert):
2214 Disable version-control and autoloads in output files.
2215 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2216 Disable version-control and autoloads in output files.
2217 * leim/quail: Move here from ../leim.
2218 * leim/quail/hangul.el (hangul-input-method-activate):
2219 Add autoload cookie.
2220 (generated-autoload-load-name): Set file-local value.
2221 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2222 (generated-autoload-load-name): Set file-local value.
2223
7514d3f8 22242013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2225
e0eb0550 2226 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2227 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2228 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2229
0e2c793f
EZ
22302013-11-26 Eli Zaretskii <eliz@gnu.org>
2231
2232 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2233 reading output from Diff on MS-Windows and MS-DOS.
2234
447bdcb8
BB
22352013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2236
2237 * emacs-lisp/helpers.el (string-reverse): New function.
2238
5fbf6856
MA
22392013-11-26 Michael Albinus <michael.albinus@gmx.de>
2240
2241 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2242 names on MS Windows, like "/[::1]:".
2243
2244 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2245 SWITCHES.
2246
624780f0
GM
22472013-11-26 Glenn Morris <rgm@gnu.org>
2248
0bf3f0fa
GM
2249 * progmodes/python.el (python-indent-guess-indent-offset):
2250 Avoid corner-case error. (Bug#15975)
2251
624780f0
GM
2252 Preload leim-list.el. (Bug#4789)
2253 * loadup.el: Load leim-list.el when found.
2254 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2255
4301875e 22562013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2257
2258 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2259
4301875e
BB
2260 * emacs-lisp/helpers.el (string-join): New function.
2261
1633a815 22622013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2263
2264 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2265 Mark as obsolete and replace it with a symbol property.
2266 (byte-compile-form): Use new 'interactive-only property.
2267 * comint.el, files.el, replace.el, simple.el:
2268 Apply new 'interactive-only properly.
2269
00139435
MR
22702013-11-25 Martin Rudalics <rudalics@gmx.at>
2271
2272 * window.el (display-buffer-at-bottom): Make sure that
2273 split-window-sensibly creates the new window on bottom
2274 (Bug#15961).
2275
5f5b128d
DK
22762013-11-23 David Kastrup <dak@gnu.org>
2277
2278 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2279 on the conflict markers when available.
2280 (smerge--get-marker): New function.
2281 (smerge-end-re, smerge-base-re): Add subgroup.
2282
623891e5
SM
22832013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * frame.el (handle-focus-in, handle-focus-out): Add missing
2286 interactive spec.
2287
05ca27d8
MA
22882013-11-25 Michael Albinus <michael.albinus@gmx.de>
2289
2290 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2291 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2292
511fa0d3
SM
22932013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2294
e82ad66c
SM
2295 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2296 (gomoku--last-pos): New var.
2297 (gomoku--intangible-chars): New const.
2298 (gomoku--intangible): New function.
2299 (gomoku-mode): Use it. Derive from special-mode.
2300 (gomoku-move-up): Adjust line count.
2301 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2302 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2303 Simplify accordingly.
2304
511fa0d3
SM
2305 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2306 Remove blink-cursor code.
2307 (blink-cursor-timer-function, blink-cursor-suspend):
2308 Don't special-case GUIs.
2309 (blink-cursor-mode): Use focus-in/out-hook.
2310
6f20dd03
DG
23112013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2312
2313 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2314 work when annotation is invisible (Bug#13886).
2315
431dec31 23162013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2317
2318 * json.el (json-alist-p): Only return non-nil if the alist has
2319 simple keys (Bug#13518).
2320
431dec31 23212013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2322
2323 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2324 when control-statement is the first statement in a buffer (Bug#15956).
2325
ee4f0261
DG
23262013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2327
2328 * imenu.el (imenu-generic-skip-comments-and-strings):
2329 New option (Bug#15560).
2330 (imenu--generic-function): Use it.
2331
c484f866
JS
23322013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2333
e9dc713d
JB
2334 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2335 (Bug#13898)
c484f866 2336
41ce6f70
BB
23372013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2338
b55aea38
BB
2339 * emacs-lisp/helpers.el: Add some string helpers.
2340 (string-trim-left): Removes leading whitespace.
2341 (string-trim-right): Removes trailing whitespace.
2342 (string-trim): Removes leading and trailing whitespace.
2343
41ce6f70
BB
2344 * subr.el (string-suffix-p): New function.
2345
3cfb6af3
GM
23462013-11-23 Glenn Morris <rgm@gnu.org>
2347
2348 * progmodes/python.el (python-shell-send-file):
2349 Add option to delete file when done. (Bug#15647)
2350 (python-shell-send-string, python-shell-send-region): Use it.
2351
c27924b7
IS
23522013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2353
e1b01c7f
IS
2354 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2355 to set buffer-read-only to t, never to nil. (Bug#15938)
2356
c27924b7
IS
2357 * textmodes/tex-mode.el (latex-noindent-environments):
2358 Add safe-local-variable property. (Bug#15936)
2359
17e0445b
GM
23602013-11-23 Glenn Morris <rgm@gnu.org>
2361
92f78ea3
GM
2362 * textmodes/enriched.el (enriched-mode): Doc fix.
2363 * emacs-lisp/authors.el (authors-renamed-files-alist):
2364 Add enriched.doc -> enriched.txt.
2365
17e0445b
GM
2366 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2367
965bb23a
LL
23682013-11-22 Leo Liu <sdl.web@gmail.com>
2369
2370 * progmodes/octave.el (inferior-octave-startup): Spit out error
2371 message.
2372
d19ffd64
BB
23732013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2374
2375 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2376 Improve docstring.
15ba2182
BB
2377 Add :version.
2378 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2379
7a7567d2
LL
23802013-11-22 Leo Liu <sdl.web@gmail.com>
2381
2382 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2383 (Bug#15076)
8c09f64b
LL
2384 (octave-help-mode): Adapt to change to help-mode-finish to use
2385 derived-mode-p on 2013-09-17.
2386 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2387 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2388
724bc265
LL
23892013-11-22 Leo Liu <sdl.web@gmail.com>
2390
2391 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2392 (inferior-octave-startup, inferior-octave-check-process)
2393 (inferior-octave-track-window-width-change)
2394 (octave-completion-at-point, octave-eldoc-function): Use it.
2395 (octave-kill-process): Provide confirmation. (Bug#10564)
2396
38637cca
LL
23972013-11-21 Leo Liu <sdl.web@gmail.com>
2398
511fa0d3
SM
2399 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2400 Fix obsolete variable comment-use-global-state.
38637cca 2401
06e752b4
RS
24022013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2403
511fa0d3
SM
2404 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2405 Add `octave-source-file'.
06e752b4
RS
2406 (octave-source-file): New function. (Bug#15935)
2407
7514d3f8 24082013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2409
2410 * net/eww.el (eww-local-regex): New variable.
2411 (eww): Use it to detect localhost and similar.
2412
b6ffa04a
LL
24132013-11-21 Leo Liu <sdl.web@gmail.com>
2414
2415 Add completion for command `ag'.
2021a200
LL
2416 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2417 (pcomplete/ag): New function.
e9dc713d 2418 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2419
d1a6bccc
SM
24202013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2421
2422 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2423 (bug#14646).
2424 (make-obsolete): Remove interactive spec.
2425
2df10228
GM
24262013-11-21 Glenn Morris <rgm@gnu.org>
2427
2428 * startup.el (command-line-1): Use path-separator with -L.
2429
86fd16b6
TZ
24302013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2431
2432 * emacs-lisp/package.el (describe-package-1): Add package archive
2433 to shown fields.
2434
0449d6cd 24352013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2436
2437 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2438 Change default to "# encoding: %s" to differentiate it from the
2439 default Ruby encoding comment template.
2440
dc7e8c17 24412013-11-20 era eriksson <era+emacsbugs@iki.fi>
2442
2443 * ses.el (ses-mode): Doc fix. (Bug#14748)
2444
f0cfa5fe
LL
24452013-11-20 Leo Liu <sdl.web@gmail.com>
2446
2447 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2448
826dc7b6
DN
24492013-11-19 Dan Nicolaescu <dann@gnu.org>
2450
2451 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2452 when rebase or bisect are in progress.
2453
a6e3a5d5
XF
24542013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2455
2456 * filenotify.el (file-notify-add-watch): Doc fix.
2457
f130cb76
LL
24582013-11-19 Leo Liu <sdl.web@gmail.com>
2459
e0855d7d
LL
2460 * obsolete/rcompile.el: Mark obsolete.
2461
f130cb76 2462 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2463 (compilation-goto-locus, compilation-find-file):
2464 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2465 (Bug#13594)
2466
2467 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2468 new parameter no-display-ok. Return either a window or nil
2469 but never a non-window value.
f130cb76 2470
1f35d401
SM
24712013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2472
25158c76
SM
2473 * electric.el (electric-indent-mode-map): Remove.
2474 (electric-indent-mode): Change the global-map instead (bug#15915).
2475
2476 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2477 Use add-function.
1f35d401 2478
9bc67baa
SM
24792013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2480
986545b5
SM
2481 * emacs-lisp/nadvice.el (remove-function): Align with
2482 add-function's behavior.
2483
9bc67baa
SM
2484 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2485 (gdb--string-regexp): New constant.
2486 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2487 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2488 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2489 submatch 1.
2490 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2491 Adjust use accordingly.
2492 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2493
56cd894e
AS
24942013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2495
2496 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2497 interpolation curlies (Bug#15914).
2498
014690de
JB
24992013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2500
2501 * calc/calc.el (calc-context-sensitive-enter): New variable.
2502 (calc-enter): Use `calc-context-sensitive-enter'.
2503
7e26a6c3
TZ
25042013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2505
2506 * progmodes/cfengine.el: Version bump.
2507 (cfengine-cf-promises): New defcustom to locate cf-promises.
2508 (cfengine3-vartypes): Add new "data" type.
2509 (cfengine3--current-word): New function to get current name-like
2510 word or its bounds.
2511 (cfengine3--current-function): New function to look up a CFEngine
2512 function's definition.
2513 (cfengine3-format-function-docstring): New function.
2514 (cfengine3-make-syntax-cache): New function.
2515 (cfengine3-documentation-function): New function: ElDoc glue.
2516 (cfengine3-completion-function): New function: completion glue.
2517 (cfengine3-mode): Set `compile-command',
2518 `eldoc-documentation-function', and add to
2519 `completion-at-point-functions'.
2520
355204dd
MA
25212013-11-16 Michael Albinus <michael.albinus@gmx.de>
2522
2523 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2524 `tramp-current-connection'.
2525
43cebc23
DG
25262013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2527
2528 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2529 nil/self/true/false with "end of symbol".
2530
a3fed6ff
BB
25312013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2532
2533 * subr.el (version-regexp-alist): Fix a typo.
2534
e675b3e4
MA
25352013-11-15 Michael Albinus <michael.albinus@gmx.de>
2536
2537 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2538 "en_US.utf8" and "LC_CTYPE" to "".
2539 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2540 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2541
a1f03e89
LL
25422013-11-15 Leo Liu <sdl.web@gmail.com>
2543
2544 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2545
5d9d9451
SM
25462013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2547
58362662
CS
2548 * progmodes/gud.el (ctl-x-map):
2549 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2550 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2551
6c1bf086
BB
25522013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2553
0d5363c4
BB
2554 * subr.el (version-regexp-alist):
2555 Recognize hg, svn and darcs versions as snapshot versions.
2556
4e9fc48c
BB
2557 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2558 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2559 (ruby--encoding-comment-required-p): Extract from
2560 `ruby-mode-set-encoding'.
2561 (ruby-mode-set-encoding): Add the ability to always insert an
2562 utf-8 encoding comment. Fix and simplify coding comment update
2563 logic.
6c1bf086 2564
2f7e72f8
MA
25652013-11-14 Michael Albinus <michael.albinus@gmx.de>
2566
2567 * net/tramp-gvfs.el (top): Run init code only when
2568 `tramp-gvfs-enabled' is not nil.
2569 (tramp-gvfs-enabled): Check also :system bus.
2570
0f137a73
SM
25712013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2572
2573 Sync with upstream verilog-mode revision 78e66ba.
2574 * progmodes/verilog-mode.el (verilog-end-of-defun)
2575 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2576 (verilog-get-end-of-defun): Remove unused argument.
2577 (verilog-comment-depth): Remove unused local `e'.
2578 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2579 Don't pass arg to verilog-get-end-of-defun.
2580
1c276bdd
GM
25812013-11-14 Glenn Morris <rgm@gnu.org>
2582
2583 * obsolete/assoc.el (aget): Prefix dynamic variable.
2584
2585 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2586
ff6ec81d
SM
25872013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2588
2589 * widget.el, hfy-cmap.el: Remove bogus package version number.
2590
75f777b6
GM
25912013-11-13 Glenn Morris <rgm@gnu.org>
2592
1d43dba1
GM
2593 * replace.el (replace-eval-replacement):
2594 Try to give more helpful error message. (Bug#15836)
2595
ff4b7bd5
GM
2596 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2597 (archive-7z-update): Avoid custom type mismatches.
2598
75f777b6
GM
2599 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2600
11151a06
MA
26012013-11-13 Michael Albinus <michael.albinus@gmx.de>
2602
e675b3e4 2603 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2604 address can be empty.
2605
2606 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2607 Accept nil SWITCHES.
2608 (tramp-gvfs-handle-write-region): Implement APPEND.
2609
7b08f97e
DG
26102013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2611
2612 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2613 binary "|" operator and closing block args delimiter.
2614 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2615 (ruby-smie--implicit-semi-p): Not after "|" operator.
2616 (ruby-smie--closing-pipe-p): New function.
2617 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2618 (ruby-smie-rules): Indent after "|".
2619
f201cf3a
GM
26202013-11-12 Glenn Morris <rgm@gnu.org>
2621
2622 * ps-print.el (ps-face-attribute-list):
2623 Handle anonymous faces. (Bug#15827)
2624
e6f759f9
MR
26252013-11-12 Martin Rudalics <rudalics@gmx.at>
2626
2627 * window.el (display-buffer-other-frame): Fix doc-string.
2628 (Bug#15868)
2629
ecda65d4
SM
26302013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2631
2632 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2633
7ce8fcc3
MA
26342013-11-11 Michael Albinus <michael.albinus@gmx.de>
2635
2636 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2637 (tramp-sh-handle-file-local-copy): Don't write a message when
2638 saving temporary files.
2639
2640 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2641 both directories are remote.
2642 (tramp-smb-handle-directory-files): Do not return double entries.
2643 Do not expand full file names.
2644 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2645 (tramp-smb-handle-write-region): Implement APPEND.
2646 (tramp-smb-get-stat-capability): Fix a stupid bug.
2647
7818df11
SM
26482013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2649
2650 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2651
608c2085
NT
26522013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2653
2654 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2655 throwing error over malformed let/let* (bug#15814).
2656
122a7e46
SM
26572013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2658
2659 * iswitchb.el (iswitchb-mode): Mark obsolete.
2660
766284d9
GM
26612013-11-11 Glenn Morris <rgm@gnu.org>
2662
2663 * international/uni-bidi.el, international/uni-category.el:
2664 * international/uni-name.el, international/uni-numeric.el:
2665 Regenerate for Unicode 6.3.0.
2666
7072a4e9
MA
26672013-11-10 Michael Albinus <michael.albinus@gmx.de>
2668
2669 * net/tramp.el (tramp-methods):
2670 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2671 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2672
c9df215b
AS
26732013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2674
608c2085
NT
2675 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2676 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2677
fa47d796
DG
26782013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2679
2680 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2681 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2682 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2683 (ispell-complete-word): Call `ispell-lookup-words' with the value
2684 independent of `ispell-look-p'.
2685
1629a329
DG
26862013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2687
2688 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2689 Not after "||".
2690 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2691 their parent.
2692
ad16897c
SM
26932013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2694
2695 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2696 (ruby-font-lock-keywords): Use backquote.
2697
ffa2df72
DG
26982013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2699
2700 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2701 (ruby-smie--backward-token): Only consider full-string matches.
2702
5b97b4c0
JD
27032013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2704
2705 * faces.el (describe-face): Add distant-foreground.
2706
71731c03
BB
27072013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2708
4e9fc48c
BB
2709 * progmodes/ruby-mode.el: Improve encoding comment handling.
2710 (ruby-encoding-magic-comment-style): New option.
2711 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2712 (ruby--insert-coding-comment, ruby--detect-encoding):
2713 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2714 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2715 to control the style of the auto-inserted encoding comment.
71731c03 2716
da3b328d
DG
27172013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2718
ad16897c
SM
2719 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2720 Use `smie-backward-sexp' with token argument.
da3b328d 2721
1606c2d3
MA
27222013-11-08 Michael Albinus <michael.albinus@gmx.de>
2723
2724 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2725 Remove instrumentation code.
2726
b0f4c320
GM
27272013-11-08 Glenn Morris <rgm@gnu.org>
2728
2729 * progmodes/autoconf.el (autoconf-mode):
2730 Tweak comment-start-skip. (Bug#15822)
2731
43668fb1
SM
27322013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2733
2734 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2735 at bobp (bug#15826).
2736 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2737
daddb3fd
DH
27382013-11-08 Darren Hoo <darren.hoo@gmail.com>
2739
2740 * man.el (Man-start-calling): New macro, extracted from
2741 Man-getpage-in-background.
2742 (Man-getpage-in-background): Use it.
2743 (Man-update-manpage): New command.
2744 (Man-mode-map): Bind it.
2745
1f923923
DG
27462013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2747
2748 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2749 of "and", "or", "&&" and "||".
2750 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2751 argument. Prohibit opening curly brace because it could only be a
2752 block opener in that position.
daddb3fd
DH
2753 (ruby-smie--forward-token, ruby-smie--backward-token):
2754 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2755 arguments.
2756 (ruby-smie--indent-to-stmt): New function, seeks the end of
2757 previous statement or beginning of buffer.
2758 (ruby-smie-rules): Use it.
2759 (ruby-smie-rules): Check if there's a ":" before a curly block
2760 opener candidate; if there is, it's a hash.
2761
3220d527
SM
27622013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2763
2764 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2765 (cl--block-wrapper): Fix last accidental change.
2766
1eb1f9e0
MA
27672013-11-07 Michael Albinus <michael.albinus@gmx.de>
2768
2769 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2770 Instrument, in order to hunt failure on hydra.
2771
e6e4db3c
NT
27722013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2773
2774 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2775 malformed bindings form (bug#15814).
2776
b420ccfc
DG
27772013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2778
2779 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2780 "." compared to " @ ". This incidentally fixes some indentation
2781 examples with "do".
e6e4db3c 2782 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2783 (ruby-smie-grammar): New tokens: "and" and "or".
2784 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2785 Exclude "and" and "or". Remove "do" in order to work around token
2786 priorities.
2787 (ruby-smie-rules): Add all infix tokens. Handle the case of
2788 beginning-of-buffer.
b420ccfc 2789
6b4ac03e
GM
27902013-11-06 Glenn Morris <rgm@gnu.org>
2791
2792 * Makefile.in (setwins_almost, setwins_for_subdirs):
2793 Avoid accidental matches.
2794
5ca114d1
SM
27952013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2796
2797 * menu-bar.el (popup-menu): Use key-binding.
2798
f72552bd
EZ
27992013-11-06 Eli Zaretskii <eliz@gnu.org>
2800
2801 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2802 menus, support also the menus produced by minor modes.
2803 (Bug#15817)
2804
5d5c701e
LL
28052013-11-06 Leo Liu <sdl.web@gmail.com>
2806
2807 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2808 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2809
0a8b75e2
GM
28102013-11-06 Glenn Morris <rgm@gnu.org>
2811
2812 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2813 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2814 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2815
a35287ea
SM
28162013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2817
feca4e2d
SM
2818 * electric.el (electric-indent-just-newline): New command.
2819 (electric-indent-mode-map): New keymap.
2820 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2821 Re-add :group which weren't redundant.
2822
a35287ea
SM
2823 * electric.el (electric-indent-local-mode): New minor mode.
2824 (electric-indent-functions-without-reindent): New var.
2825 (electric-indent-post-self-insert-function): Use it.
2826 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2827
375761b2
EZ
28282013-11-05 Eli Zaretskii <eliz@gnu.org>
2829
9a6ad735
EZ
2830 * international/quail.el (quail-help): Be more explicit about the
2831 meaning of the labels shown on the keys. (Bug#15800)
2832
375761b2
EZ
2833 * startup.el (normal-top-level): Load the subdirs.el files before
2834 setting the locale environment. (Bug#15805)
2835
520a6e4a
SM
28362013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2837
0acfafef
SM
2838 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2839 via arguments so as to get the right ones (bug#15418).
2840
520a6e4a
SM
2841 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2842
15826261
MA
28432013-11-05 Michael Albinus <michael.albinus@gmx.de>
2844
2845 Fix problems found while writing a test suite.
2846
2847 * net/tramp-compat.el (tramp-compat-load): New defun.
2848 * net/tramp.el (tramp-handle-load): Use it.
2849
2850 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2851 "(numberp ok-if-already-exists)" correctly.
2852
d35f31a4
XF
28532013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2854
2855 * international/characters.el (glyphless-char-display-control):
2856 Add usage note.
2857
ae93bc74
BB
28582013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2859
520a6e4a
SM
2860 * progmodes/python.el (python-mode):
2861 * progmodes/scheme.el (scheme-mode):
2862 * progmodes/prolog.el (prolog-mode):
2863 * progmodes/ruby-mode.el (ruby-mode):
2864 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2865 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2866
0ade65b5
SM
28672013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2868
a0d5f7a4
SM
2869 * rect.el (rectangle--highlight-for-redisplay):
2870 * emacs-lisp/smie.el (smie--next-indent-change):
2871 Use buffer-chars-modified-tick.
2872
c93f3f5c
SM
2873 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2874
0ade65b5
SM
2875 * electric.el (electric-indent-post-self-insert-function):
2876 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2877
ef9dd188
HE
28782013-11-04 Helmut Eller <eller.helmut@gmail.com>
2879
2880 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2881
306e7308
NT
28822013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2883
2884 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2885 (bug#15786).
2886
e5afbcac
SM
28872013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2888
1d01ad41
SM
2889 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2890
e5afbcac
SM
2891 * progmodes/python.el: Fix up last change.
2892 (python-shell--save-temp-file): New function.
2893 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2894 `string' comes from the current buffer.
2895 (python-shell-send-string-no-output): Remove `msg' arg.
2896 (python--use-fake-loc): New var.
2897 (python-shell-buffer-substring): Obey it. Try to compensate for the
2898 extra coding line added by python-shell--save-temp-file.
2899 (python-shell-send-region): Use python-shell--save-temp-file and
2900 python-shell-send-file directly. Add `nomain' argument.
2901 (python-shell-send-buffer): Use python-shell-send-region.
2902 (python-electric-pair-string-delimiter): New function.
2903 (python-mode): Use it.
2904
d0065ff1
EZ
29052013-11-04 Eli Zaretskii <eliz@gnu.org>
2906
2907 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2908 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2909 environment and decoding all of the default-directory's to here
2910 from command-line.
2911 (command-line): Decode also argv[0].
2912
2913 * loadup.el: Error out if default-directory is a multibyte string
2914 when we are dumping.
2915
2916 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2917
7397c587
TZ
29182013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2919
2920 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2921 (package-menu--print-info, package-menu--archive-predicate):
2922 Add Archive column to package list.
7397c587 2923
b27cc9fc
MA
29242013-11-04 Michael Albinus <michael.albinus@gmx.de>
2925
2926 Fix problems found while writing a test suite.
2927
2928 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2929 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2930 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2931 to nil when running original file name handler. Otherwise,
2932 there are problems with constructs like "$$FOO".
2933
2934 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2935 for `localname'.
2936
d8c4f18a
BB
29372013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2938
7b530552
BB
2939 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2940
2941 * subr.el (version<, version<=, version=):
2942 Update docstrings with information for snapshot versions.
2943
d8c4f18a
BB
2944 * helpers.el: New library for misc helper functions.
2945 (hash-table-keys): New function returning a list of hash keys.
2946 (hash-table-values): New function returning a list of hash values.
2947
dca01b09
DG
29482013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2949
2950 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2951 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2952
0a749fa0
MN
29532013-11-04 Michal Nazarewicz <mina86@mina86.com>
2954
2955 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2956 checking whether point is after a 1-letter word.
2957
29582013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2959
2960 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2961 Don't infloop when expanding region over `multiline' syntax-type that
2962 begins a line (bug#15778).
2963
4aca7145
SM
29642013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2965
2966 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2967 Make it into a proper minor mode.
2968 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2969 (rectangle-mark-mode-map): New keymap.
2970 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2971
a0833f62
GM
29722013-11-04 Glenn Morris <rgm@gnu.org>
2973
2974 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2975
e61845c1
SM
29762013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2979 (ruby-smie-rules): Use smie-rule-parent instead.
2980
2981 * emacs-lisp/smie.el (smie-rule-parent): Always call
2982 smie-indent-virtual rather than only for hanging tokens.
2983 (smie--next-indent-change): New helper command.
2984
62942f89
GM
29852013-11-03 Glenn Morris <rgm@gnu.org>
2986
2987 * Makefile.in (abs_srcdir): Remove.
2988 (emacs): Unset EMACSLOADPATH.
2989
b0b9e592
GM
29902013-11-02 Glenn Morris <rgm@gnu.org>
2991
18ba6a33 2992 * Makefile.in (EMACS): Use a relative filename.
8061810d 2993 (abs_top_builddir): Remove.
18ba6a33
GM
2994 (custom-deps, finder-data, autoloads): Use --chdir.
2995
6a8b929e
GM
2996 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2997
c617f3d0
GM
2998 Use relative filenames in TAGS files.
2999 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3000 (lisptagsfiles4, TAGS): Use relative file names.
3001 (TAGS-LISP): Remove.
3002 (maintainer-clean): No more TAGS-LISP file.
3003
b0b9e592
GM
3004 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3005 (lisptagsfiles4): Use absolute filenames again.
3006 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3007 Remove all *loaddefs files, not just the first. Remove esh-groups.
3008 (maintainer-clean): Delete TAGS, TAGS-LISP.
3009
d1c0ea6a
BB
30102013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3011
e61845c1
SM
3012 * emacs-lisp/package.el (package-version-join):
3013 Recognize snapshot versions.
d1c0ea6a 3014
684d71c6
BB
30152013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3016
3017 * subr.el (version-regexp-alist): Add support for snapshot versions.
3018
3d42b968
DG
30192013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3020
e61845c1
SM
3021 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3022 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3023 skip over our direct parent if it's an assignment token..
3024 (ruby-smie-rules): Use it.
3025
7ffd3721
DG
30262013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3027
8449dd1f 3028 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3029 unconditionally. Remove now unnecessary forward declarations.
3030 Remove XEmacs-specific setup.
3031 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3032 (ruby-font-lock-syntactic-keywords)
3033 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3034 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3035 (ruby-here-doc-end-syntax): Remove.
3036 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3037 defined as function.
3038
a3996a2e
BB
30392013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3040
3041 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3042
6f9260e8
BB
30432013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3044
3045 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3046 table and abbrev table, `define-derived-mode' does that for us
3047 anyway.
3048
6014de84
GM
30492013-11-01 Glenn Morris <rgm@gnu.org>
3050
3051 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3052 files is atomic for some time, so no parallel compilation issues).
3053
3c334c14
JD
30542013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3055
3056 * faces.el (face-x-resources): Add :distant-foreground.
3057 (region): Use :distant-foreground for gtk and ns.
3058
9bc236c8
TH
30592013-11-01 Tassilo Horn <tsdh@gnu.org>
3060
5246583b 3061 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3062 BibTeX.
3063 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3064 (reftex-locate-bibliography-files): Us it.
3065
d14c81ee
CB
30662013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3067
0e7690de
CB
3068 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3069 allow comments in pbm files.
3070
d14c81ee
CB
3071 * term/w32-win.el (dynamic-library-alist): Support newer versions
3072 of libjpeg starting with v7: look only for the DLL from the
3073 version against which Emacs was built.
ac1bf374 3074 Support versions of libpng beyond 1.4.x.
019c8218 3075 Support libtiff v4.x.
d14c81ee 3076
983d0df5
BB
30772013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3078
3079 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3080 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3081 Add property :safe.
3082 (ruby-deep-arglist): Add property :type.
3083
47f58d85
GM
30842013-10-31 Glenn Morris <rgm@gnu.org>
3085
3086 * Makefile.in (custom-deps, finder-data): No need to setq the target
3087 variables, we are in the right directory and the defaults work fine.
3088
4f85b479
GM
30892013-10-30 Glenn Morris <rgm@gnu.org>
3090
ca7dd4cd
GM
3091 * Makefile.in (autoloads): Do not use abs_lisp.
3092
4f85b479
GM
3093 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3094 `newline' does not respect `standard-output', so use `princ'.
3095
cf59e41c
AA
30962013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3097
3098 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3099 * buff-menu.el (Buffer-menu--unmark): New function.
3100 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3101
74cf04fb
GM
31022013-10-30 Glenn Morris <rgm@gnu.org>
3103
b040b60e
GM
3104 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3105
f53d3815
GM
3106 * emacs-lisp/package.el (lm-homepage): Declare.
3107
5413d873
GM
3108 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3109 Fix doc typos.
3110
cecedb36
GM
3111 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3112
74cf04fb
GM
3113 * Makefile.in (finder-data, autoloads, update-subdirs)
3114 (compile-main, compile-clean, compile-always, bootstrap-clean):
3115 Check return value of cd.
3116 (compile-calc): Remove.
3117
195ee2f0
SM
31182013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3119
ae4002ce
SM
3120 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3121
3122 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3123 (byte-compile-and-folded): New function.
3124 (=, <, >, <=, >=): Use it.
3125
3126 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3127 (path-separator, null-device, buffer-file-coding-system)
3128 (lpr-headers-switches): Check system-type before modifying them.
3129 (find-buffer-file-type-coding-system): Mark obsolete.
3130 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3131 find-file-not-found-set-buffer-file-coding-system.
3132 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3133 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3134 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3135 (w32-direct-print-region-helper, w32-direct-print-region-function)
3136 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3137 * startup.el (normal-top-level-add-subdirs-to-load-path):
3138 * ps-print.el (ps-print-region-function):
3139 * lpr.el (print-region-function): Use new name.
3140
53b39e89
SM
3141 * subr.el (custom-declare-variable-early): Remove function.
3142 (custom-declare-variable-list): Remove var.
3143 (error, user-error): Remove `while' loop.
3144 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3145 (user-emacs-directory-warning, locate-user-emacs-file):
3146 Move to files.el.
3147 * simple.el (read-quoted-char-radix, read-quoted-char):
3148 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3149 Move from subr.el.
3150 * custom.el (custom-declare-variable-list): Don't process
3151 custom-declare-variable-list.
3152
195ee2f0
SM
3153 * progmodes/python.el (python-shell-get-buffer): New function.
3154 (python-shell-get-process): Use it.
3155 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3156 Python which encoding was used. Don't split-string since we only care
3157 about the first line. Return the temp-file, if applicable.
3158 (python-shell-send-region): Tell compile.el how to turn locations in
3159 the temp-file into locations in the source buffer.
3160
7e3561ee
SM
31612013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3162
4c9797cb
SM
3163 * subr.el (undefined): Add missing behavior from the C code for
3164 unbound keys.
3165
3472b6c6
SM
3166 * rect.el: Use lexical-binding. Add new rectangular region support.
3167 (rectangle-mark): New command.
3168 (rectangle--region): New var.
3169 (deactivate-mark-hook): Reset rectangle--region.
3170 (rectangle--extract-region, rectangle--insert-for-yank)
3171 (rectangle--highlight-for-redisplay)
3172 (rectangle--unhighlight-for-redisplay): New functions.
3173 (region-extract-function, redisplay-unhighlight-region-function)
3174 (redisplay-highlight-region-function): Use them to handle
3175 rectangular region.
3176 * simple.el (region-extract-function): New var.
3177 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3178 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3179 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3180 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3181 (redisplay-unhighlight-region-function)
3182 (redisplay-highlight-region-function): New vars.
3183 (redisplay--update-region-highlight): New function.
3184 (pre-redisplay-function): Use it.
3185 (exchange-point-and-mark): Don't deactivate the mark before
3186 reactivate-it anyway.
3187 * comint.el (comint-kill-region): Remove yank-handler argument.
3188 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3189 (delete-char): Remove property, since it's now part of their
3190 default behavior.
3191 (self-insert-iso): Remove property since this command doesn't exist.
3192
7e3561ee
SM
3193 * emacs-lisp/package.el (package--download-one-archive)
3194 (describe-package-1): Don't query the user about final newline.
3195
b9bef71f
DC
31962013-10-29 Daniel Colascione <dancol@dancol.org>
3197
3198 * net/tramp.el (tramp-methods): Document new functionality.
3199 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3200 tramp-hostname-checker if method provides one instead of scanning
3201 argument list for "%h" to decide hostname acceptability.
3202
4efc33f0
MA
32032013-10-28 Michael Albinus <michael.albinus@gmx.de>
3204
3205 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3206 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3207 Handle COPY-CONTENTS. (Bug#15737)
3208
ed42a877
DU
32092013-10-28 Daiki Ueno <ueno@gnu.org>
3210
3211 * epa-file.el
7e3561ee
SM
3212 (epa-file-cache-passphrase-for-symmetric-encryption):
3213 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3214
18c9f8a2
XF
32152013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3216
7a4bc7be
XF
3217 * image.el (defimage):
3218 (image-load-path): Doc fixes.
18c9f8a2 3219
b1e8e010
AM
32202013-10-27 Alan Mackenzie <acm@muc.de>
3221
3222 Indent statements in macros following "##" correctly.
7e3561ee
SM
3223 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3224 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3225
73d40d1e 32262013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3227
3228 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3229
c8c605ac
DG
32302013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3231
3232 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3233 after `=' is probably a new expression.
3234
ca7e59d4
RS
32352013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3236
3237 * man.el (man-imenu-title): New option.
3238 (Man-mode-map): Add menu. (Bug#15722)
3239 (Man-mode): Add imenu to menu.
3240
bae91342
DG
32412013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3242
3243 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3244 specific in what the first arg can be: a non-keyword word,
3245 string/regexp/percent literal opener, opening paren, or unary
3246 operator followed directly by word.
3247
eb89dc14
SM
32482013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3251 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3252 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3253 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3254 Remove vars, they do not apply any more.
3255 (prolog-mode-abbrev-table): Remove redundant declaration.
3256 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3257 (prolog-use-smie): Remove.
3258 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3259 supported by prolog-electric-if-then-else-flag.
3260 (prolog-mode-variables, prolog-menu): Use setq-local.
3261 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3262 Remove binding to `Backspace' since this key doesn't exist anyway.
3263 Remove bindings for electric self-inserting keys.
3264 (prog-mode): Assume it's defined.
3265 (prolog-post-self-insert): New function.
3266 (prolog-mode): Use it.
3267 (prolog-indent-line, prolog-indent-level)
3268 (prolog-find-indent-of-matching-paren)
3269 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3270 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3271 (prolog-goto-next-paren, prolog-in-string-or-comment)
3272 (prolog-tokenize, prolog-inside-mline-comment)
3273 (prolog-find-start-of-mline-comment): Remove functions.
3274 (prolog-find-unmatched-paren, prolog-clause-end)
3275 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3276 (prolog-electric--if-then-else): Rename from
3277 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3278 (prolog-tokenize-searchkey): Remove const.
3279 (prolog-clause-info): Use forward-sexp.
3280 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3281 (prolog-electric-if-then-else): Remove commands.
3282 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3283 for use in post-self-insert-hook.
3284 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3285 for use in post-self-insert-hook.
3286 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3287 for use in post-self-insert-hook.
3288 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3289 adapt it for use in post-self-insert-hook.
3290
3dab0a83
MA
32912013-10-25 Michael Albinus <michael.albinus@gmx.de>
3292
3293 * emacs-lisp/ert.el (ert-run-tests-interactively):
3294 Use `completing-read'. (Bug#9756)
3295
fbfd0e1d
EZ
32962013-10-25 Eli Zaretskii <eliz@gnu.org>
3297
3298 * simple.el (line-move): Call line-move-1 instead of
3299 line-move-visual when the current window hscroll is zero, but
3300 temporary-goal-column indicates we will need to hscroll as result
3301 of the movement. (Bug#15712)
3302
963ce636
DG
33032013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3304
3305 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3306 capitalization. Use :visible instead of :active.
3307 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3308 commands that are used with SMIE.
3309 (ruby-do-end-to-brace): Insert space after `{'.
3310
a0be396a
JA
33112013-10-25 John Anthony <john@jo.hnanthony.com>
3312
f73754c9
JA
3313 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3314
3315 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3316
f5bf77df
GM
33172013-10-25 Glenn Morris <rgm@gnu.org>
3318
3319 * vc/vc.el (vc-print-log): Don't use a working revision unless
3320 one was explicitly specified. (Bug#15322)
3321
37241f62
SM
33222013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3323
3324 * subr.el (add-to-list): Preserve return value in compiler-macro
3325 (bug#15692).
3326
6408a65d
RS
33272013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3328
3329 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3330 result. Ask user to retry using '-all' flag. (Bug#15701)
3331
71e3276b
SM
33322013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3333
3334 * emacs-lisp/smie.el: New smie-config system.
3335 (smie-config): New defcustom.
3336 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3337 (smie-config-guess, smie-config-save): New commands.
3338 (smie-config--mode-local, smie-config--buffer-local)
3339 (smie-config--trace, smie-config--modefuns): New vars.
3340 (smie-config--advice, smie-config--mode-hook)
3341 (smie-config--setter, smie-config-local, smie-config--get-trace)
3342 (smie-config--guess-value, smie-config--guess): New functions.
3343 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3344 text properties. Treat "string fence" syntax like string syntax.
3345
3346 * progmodes/sh-script.el (sh-use-smie): Change default.
3347 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3348 (sh-var-value): Simplify by CSE.
3349 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3350 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3351 is used.
3352 (sh-guess-basic-offset): Use cl-incf.
3353 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3354
60db713e
HE
33552013-10-24 Helmut Eller <eller.helmut@gmail.com>
3356
3357 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3358 (bug#15699).
3359
8b251df6
GM
33602013-10-24 Glenn Morris <rgm@gnu.org>
3361
3362 * Makefile.in (abs_top_srcdir): Remove.
3363 (update-subdirs): Use relative path to update-subdirs.
3364
6be0e22b
EZ
33652013-10-24 Eli Zaretskii <eliz@gnu.org>
3366
3367 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3368 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3369 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3370 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3371
50b5b857
MA
33722013-10-24 Michael Albinus <michael.albinus@gmx.de>
3373
3374 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3375 (ert-test-skipped): New error.
3376 (ert-skip, ert-stats-skipped): New defuns.
3377 (ert--skip-unless): New macro.
3378 (ert-test-skipped): New struct.
3379 (ert--run-test-debugger, ert-test-result-type-p)
3380 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3381 (ert--stats-set-test-and-result, ert-char-for-test-result)
3382 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3383 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3384 Handle skipped tests. (Bug#9803)
50b5b857 3385
6f317c2f
GM
33862013-10-24 Glenn Morris <rgm@gnu.org>
3387
e43817c1
GM
3388 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3389
6f317c2f
GM
3390 * Makefile.in (abs_top_srcdir): New, set by configure.
3391 (update-subdirs): Correct build-aux location.
3392
369bbf71
DG
33932013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3394
8297b2cf
DG
3395 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3396 value, whether we could auto-deduce `backend', or not.
3397
369bbf71
DG
3398 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3399 with parameters" example. Simplify the "is it block or is it
3400 hash" check, but also make it more thorough.
3401
d5f1282f
MF
34022013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3403
3404 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3405
bc4aaa31
SM
34062013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3407
03d44565
SM
3408 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3409 { if it is hanging.
3410
bc4aaa31
SM
3411 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3412 :before ";".
3413
f493ff19
JB
34142013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3415
3416 * progmodes/compile.el (compilation-directory-matcher)
3417 (compilation-page-delimiter):
3418 Support GNU Make-4.0 directory quoting. (Bug#15678)
3419
c744a3b9
LL
34202013-10-23 Leo Liu <sdl.web@gmail.com>
3421
3422 * ido.el (ido-tidy): Handle read-only text.
3423
b8e3b0a9
GM
34242013-10-23 Glenn Morris <rgm@gnu.org>
3425
3426 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3427 (emacs, compile, compile-always):
3428 Quote entities that might contain whitespace.
3429 (custom-deps, finder-data, autoloads): Use abs_lisp.
3430 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3431 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3432 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3433
ee4282cd
DG
34342013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3435
bc4aaa31
SM
3436 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3437 Use `following-char'.
7790a270 3438
ee4282cd 34392013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3440
3441 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3442 * progmodes/ruby-mode.el (ruby-smie-rules):
3443 Remove corresponding workaround. Fix indentation rule of ";" so it
3444 also applies when ";" is the parent.
3445
d40a46d7
XF
34462013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3447
3448 * frame.el (display-screens, display-pixel-height)
3449 (display-pixel-width, display-mm-width, display-backing-store)
3450 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3451 (display-visual-class, display-monitor-attributes-list):
3452 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3453
a0f143c9
MG
34542013-10-22 Michael Gauland <mikelygee@amuri.net>
3455
3456 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3457 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3458
18cacc39
DG
34592013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3460
3461 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3462 TODO. Add "." after " @ ".
3463 (ruby-smie--at-dot-call): New function. Checks if point at method
3464 call with explicit target.
3465 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3466 to the method name tokens when it precedes them.
3467 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3468 (ruby-smie-rules): Add rule for indentation before and after "."
3469 token.
3470
df74c4be
SM
34712013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3472
c6dab55f
SM
3473 * textmodes/remember.el (remember-diary-extract-entries):
3474 Avoid add-to-list.
3475
df74c4be
SM
3476 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3477 an instruction.
3478
8c1ae481
DG
34792013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3480
e9dc713d
JB
3481 * progmodes/ruby-mode.el (ruby-smie-grammar):
3482 Add (almost) all infix operators.
cfef16c0
DG
3483 (ruby-smie--implicit-semi-p): Add new operator chars.
3484
8c1ae481
DG
3485 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3486 `smie-down-list'.
3487 (ruby-smie--args-separator-p): Check that there's no newline
3488 between method call and its arguments.
3489
87756ca9
AM
34902013-10-20 Alan Mackenzie <acm@muc.de>
3491
3492 Allow comma separated lists after Java "implements".
3493
df74c4be
SM
3494 * progmodes/cc-engine.el (c-backward-over-enum-header):
3495 Parse commas.
87756ca9
AM
3496 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3497 from a "disallowed" list in enum fontification.
3498
c25f8957
JB
34992013-10-20 Johan Bockgård <bojohan@gnu.org>
3500
df74c4be 3501 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3502
c25f8957
JB
3503 * progmodes/verilog-mode.el (verilog-mode): Don't set
3504 comment-indent-function globally.
3505
aca5fcdc
JD
35062013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3507
5f161884
JD
3508 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3509 Move Info menu item creation to ns-win.el.
3510
3511 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3512 in menu bar.
3513
aca5fcdc
JD
3514 * menu-bar.el: Move GNUStep specific menus...
3515
3516 * term/ns-win.el (ns-initialize-window-system): ... to here.
3517
914b7f98
SM
35182013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3519
3520 * simple.el (newline): Only run post-self-insert-hook when
3521 called interactively.
3522
846ffe77
JB
35232013-10-19 Johan Bockgård <bojohan@gnu.org>
3524
3525 * icomplete.el (icomplete-with-completion-tables): Add :version.
3526
033f22dd
AM
35272013-10-19 Alan Mackenzie <acm@muc.de>
3528
3529 Fix fontification bugs with constructors and const.
3530
3531 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3532 CASE 2) Remove the check for the absence of a suffix construct
3533 after a function declaration with only types (no identifiers) in
3534 the parentheses. Also, accept a function declaration with just a
3535 type inside the parentheses, if this type can be positively
3536 recognised as such, or if a prefix keyword like "explicit" nails
3537 down the construct as a declaration.
3538
58ce0cfc
EZ
35392013-10-19 Eli Zaretskii <eliz@gnu.org>
3540
3541 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3542 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3543 the problem whereby selecting a menu item that leads to a
3544 minibuffer prompt moves the cursor out of the minibuffer window,
3545 making it hard to type at the prompt. Suggested by Stefan Monnier
3546 <monnier@iro.umontreal.ca>.
3547
50e28e7d
JD
35482013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3549
3550 * menu-bar.el: Don't make Services menu.
3551
7deed4bf
RS
35522013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3553
3554 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3555 (ffap-alist): Use ffap-c++-mode for c++-mode.
3556 (ffap-c++-path): New variable.
3557 (ffap-c++-mode): New function.
3558
7bcb455b
JVJ
35592013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3560
3561 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3562
f0ff1cd5
MA
35632013-10-18 Michael Albinus <michael.albinus@gmx.de>
3564
3565 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3566 introduced on 2013-09-08, which results in an infinite loop
3567 requesting a password.
3568
d64da4b7
GM
35692013-10-18 Glenn Morris <rgm@gnu.org>
3570
3571 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3572
ea89ff08
WS
35732013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3574
3575 Sync with upstream verilog-mode revision 1a6ecec7.
3576 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3577 (verilog-mode-release-date): Remove.
3578 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3579 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3580 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3581 (verilog-auto-tieoff-ignore-regexp)
3582 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3583 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3584 (verilog-signals-with, verilog-dir-cache-preserving)
3585 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3586 Doc fixes.
3587 (verilog-case-fold): New option, to control case folding in
3588 regexp searches, bug597.
3589 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3590 (verilog-string-match-fold, verilog-in-paren-count)
3591 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3592 (verilog-at-close-struct-p): New functions.
3593 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3594 (verilog-forward-sexp, verilog-set-auto-endcomments):
3595 (verilog-leap-to-case-head): Handle "unique0" case.
3596 (verilog-in-constraint-re): New constant.
3597 (verilog-keywords, verilog-type-font-keywords):
3598 Add some SystemVerilog 1800-2012 keywords.
3599 (verilog-label-be): Remove unimplemented argument, bug669.
3600 (verilog-batch-execute-func): When batch expanding clear
3601 create-lockfiles to prevent spurious user locks when a file ends
3602 up not changing.
3603 (verilog-calculate-indent, verilog-calc-1)
3604 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3605 (verilog-do-indent): Fix indentation of nested constraints
3606 and structures.
3607 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3608 (verilog-auto-inst-param): Use verilog-string-match-fold.
3609 (verilog-read-inst-module-matcher):
3610 Fix AUTOINST on gate primitives with #1.
3611 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3612 Reads all user-defined typed variables.
3613 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3614 (verilog-signals-matching-regexp)
3615 (verilog-signals-not-matching-regexp, verilog-auto):
3616 Respect verilog-case-fold.
3617 (verilog-diff-report): Fix line count.
3618 (verilog-auto-assign-modport): Remove unused local `modi'.
3619 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3620 better handle multidimensional arrays.
3621 Fix packed array ports misadding bit index in AUTOINST, bug637.
3622 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3623 to not double-declare existing outputs and inputs, respectively.
3624 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3625 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3626 (verilog-sk-uvm-component): New skeleton.
3627 (verilog-submit-bug-report): Add verilog-case-fold,
3628 remove verilog-mode-release-date.
3629
ef566920
BR
36302013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3631
a12bf61e 3632 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
3633 as before.
3634
29df8a0b
RT
36352013-10-18 Reuben Thomas <rrt@sc3d.org>
3636
e0eb0550 3637 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3638 remember buffers (bug#13566).
3639
04a19a79
DC
36402013-10-18 Daniel Colascione <dancol@dancol.org>
3641
3642 When evaluating forms in ielm, direct standard output to ielm
3643 buffer. Add new ielm-return-for-effect command. Remove trailing
3644 whitespace throughout.
3645
3646 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3647 (ielm-return-for-effect): New command.
3648 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3649 (ielm-eval-input): Accept optional `for-effect' parameter.
3650 Bind `standard-output' to stream we create using
04a19a79
DC
3651 `ielm-standard-output-impl'. Suppress printing result when
3652 `for-effect'.
3653 (ielm-standard-output-impl): New function.
3654 (inferior-emacs-lisp-mode): Explain new features in documentation.
3655
4c1f03ef
MA
36562013-10-17 Michael Albinus <michael.albinus@gmx.de>
3657
3658 Code cleanup.
3659
3660 * net/tramp.el (tramp-debug-message): Do not check for connection
3661 buffer.
3662 (tramp-message): Use "vector" connection property.
3663
3664 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3665 (tramp-equal-remote, tramp-eshell-directory-change)
3666 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3667 (tramp-adb-handle-rename-file)
3668 * net/tramp-cmds.el (tramp-list-remote-buffers)
3669 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3670 * net/tramp-compat.el (tramp-compat-process-running-p)
3671 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3672 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3673 (tramp-gvfs-handle-rename-file)
3674 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3675 (tramp-set-file-uid-gid)
3676 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3677 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3678 of `file-remote-p'.
3679
3680 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3681 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3682 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3683 (tramp-gw-open-network-stream): Suppress unrelated traces.
3684
3685 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3686 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3687 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3688 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3689 connection property.
3690
3691 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3692 persistency file.
4c1f03ef
MA
3693
3694 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3695 Refactor common code. Improve debug message.
3696 (tramp-maybe-open-connection)
3697 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3698 connection buffer too early.
3699
3700 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3701 from `tramp-smb-actions-with-acl'.
3702 (tramp-smb-actions-set-acl): New defconst.
3703 (tramp-smb-handle-copy-directory)
3704 (tramp-smb-action-get-acl): New defun, renamed from
3705 `tramp-smb-action-with-acl'.
3706 (tramp-smb-action-set-acl): New defun.
3707 (tramp-smb-handle-set-file-acl): Rewrite.
3708
642eb8b6
GM
37092013-10-17 Glenn Morris <rgm@gnu.org>
3710
3711 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3712
85527ff3
SM
37132013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3714
921c1d62
SM
3715 * skeleton.el (skeleton-newline): Remove.
3716 (skeleton-internal-1): Use (insert "\n") instead.
3717
e333fb10
SM
3718 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3719 let-bindings.
3720
85527ff3
SM
3721 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3722 forward-sexp-function while we redo its job (bug#15613).
3723
c8722a97
JB
37242013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3725
3726 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3727 represented by lists.
3728
7a550bbb
GM
37292013-10-16 Glenn Morris <rgm@gnu.org>
3730
3731 * tmm.el (tmm--history): New dynamic variable.
3732 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3733
f19da8ad
MA
37342013-10-16 Michael Albinus <michael.albinus@gmx.de>
3735
3736 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3737 (tramp-smb-errors): Add error messages.
3738 (tramp-smb-actions-with-acl): New defconst.
3739 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3740 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3741 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3742 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3743 (tramp-smb-get-stat-capability): Fix tests.
3744
a24b9961
DK
37452013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3746
3747 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3748 (bug#15580).
3749
62ad85e6
GM
37502013-10-16 Glenn Morris <rgm@gnu.org>
3751
0283d6b0
GM
3752 * ansi-color.el (ansi-color-drop-regexp):
3753 Add 1J, 1K, 2K. (Bug#15617)
3754
012e2f9f
GM
3755 * files.el (hack-local-variables--warned-lexical): New.
3756 (hack-local-variables):
3757 Warn about misplaced lexical-binding. (Bug#15616)
3758
62ad85e6
GM
3759 * net/eww.el (eww-render): Always set eww-current-url,
3760 and update header line. (Bug#15622)
3761 (eww-display-html): ... Rather than just doing it here.
3762
6456c0ea
EZ
37632013-10-15 Eli Zaretskii <eliz@gnu.org>
3764
3765 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3766 menu navigations commands.
3767
c2de5588
DK
37682013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3769
3770 * progmodes/subword.el (subword-capitalize): Be careful when
3771 the search for [[:alpha:]] fails (bug#15580).
3772
ccd4a783
EZ
37732013-10-14 Eli Zaretskii <eliz@gnu.org>
3774
3775 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3776 to commands that scroll the menu.
3777
1eda1d8d
DG
37782013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3779
c2de5588
DK
3780 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3781 Handle methods ending with `?' and `!'.
1eda1d8d 3782
e70181b8
AM
37832013-10-14 Akinori MUSHA <knu@iDaemons.org>
3784
3785 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3786 `japanese-cp932' to `cp932' to fix the problem where saving a
3787 source file written in Shift_JIS twice would end up having
3788 `coding: japanese-cp932' which Ruby could not recognize.
3789 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3790 in `ruby-encoding-map'.
3791 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3792 doesn't need to be explicitly declared in magic comment.
3793 (ruby-encoding-map): Add type declaration for better customize UI.
3794
9148ee92
GM
37952013-10-13 Glenn Morris <rgm@gnu.org>
3796
a5d38e34
GM
3797 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3798 Occur buffers are read-only. http://bugs.debian.org/720775
3799
9148ee92
GM
3800 * emacs-lisp/authors.el (authors-fixed-entries):
3801 Comment out old alpha stuff.
3802
a9ba094b
DG
38032013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3804
3805 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3806 to `after-save-hook' instead of `before-save-hook'.
3807 (ruby-mode-set-encoding): Use the value of coding system used to
3808 write the file. Call `basic-save-buffer-1' after modifying the
3809 buffer.
3810
7a068717
AM
38112013-10-13 Alan Mackenzie <acm@muc.de>
3812
3813 Fix indentation/fontification of Java enum with
3814 "implements"/generic.
3815
c2de5588
DK
3816 * progmodes/cc-engine.el (c-backward-over-enum-header):
3817 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3818 (c-inside-bracelist-p): Uses new function above.
3819 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3820 function above.
3821 (c-font-lock-enum-tail): Uses new function above.
3822
85b64f02
KH
38232013-10-13 Kenichi Handa <handa@gnu.org>
3824
3825 * international/mule-cmds.el (select-safe-coding-system): Remove a
3826 superfluous condition in chekcing whether a coding system is safe
3827 or not.
3828
fc7f501b
OK
38292013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3830
3831 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3832
fdcb2049
AP
38332013-10-13 Andreas Politz <politza@hochschule-trier.de>
3834
3835 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3836
8c106d17
GM
38372013-10-13 Glenn Morris <rgm@gnu.org>
3838
feab892d
GM
3839 * menu-bar.el (menu-bar-update-buffers):
3840 Unify Buffers menu prompt string. (Bug#15576)
3841
b22d0686
GM
3842 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3843
8c106d17
GM
3844 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3845 Add some entries.
3846 (authors-fixed-entries): Use accented form of name.
3847
1b12c797
SM
38482013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3849
650fa7bf 3850 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3851 method calls (bug#15594).
650fa7bf
SM
3852 (ruby-smie--args-separator-p): New function.
3853 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3854 recognize paren-free method calls.
3855
1b12c797
SM
3856 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3857 internals of universal-argument.
3858
029619c8
EZ
38592013-10-11 Eli Zaretskii <eliz@gnu.org>
3860
3861 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3862 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3863 dropped menu on second mouse click on the menu bar.
029619c8 3864
dd070019
SM
38652013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3866
3867 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3868 (explicit-shell-file-name): Declare.
3869 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3870 (sh-completion-at-point-function): New function.
3871 (sh-mode): Use it.
3872 (sh-smie--keyword-p): Remove unused argument.
3873 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3874 vars.
3875 (sh-set-shell): Always setup SMIE, even if we use the
3876 old indentation code.
3877
0922b826
DG
38782013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3879
b68e2926
DG
3880 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3881 cases of ? and =.
3882 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3883 predicate would return nil are almost non-existent.
3884 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3885
0922b826
DG
3886 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3887 cache also after commands that modify the buffer but don't move
3888 point.
3889
ee041f2d
SM
38902013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * env.el (substitute-env-in-file-name): New function.
3893 (substitute-env-vars): Extend the meaning of the optional arg.
3894
a5dab159
EZ
38952013-10-10 Eli Zaretskii <eliz@gnu.org>
3896
3897 * term/w32-win.el (dynamic-library-alist): Define separate lists
3898 of GIF DLLs for versions before and after 5.0.0 of giflib.
3899 (Bug#15531)
3900
0449d6cd 39012013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3902
3903 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3904 not locked, use last revision and current source as
3905 defaults. (Bug#15569)
3906
2f6e161e
MY
39072013-10-10 Masatake YAMATO <yamato@redhat.com>
3908
3909 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3910 menu-bar is hidden.
3911
6c8413fc
MR
39122013-10-10 Martin Rudalics <rudalics@gmx.at>
3913
3914 * window.el (pop-to-buffer-same-window): Fix doc-string.
3915 (Bug#15492)
3916
20832de0
SM
39172013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3918
3919 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3920
c6e8ae77
AC
39212013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3922
3923 * calendar/icalendar.el (icalendar-import-file):
3924 Fix interactive spec. (Bug#15482)
3925
9db13baf
GM
39262013-10-10 Glenn Morris <rgm@gnu.org>
3927
9271e90e
GM
3928 * desktop.el (desktop-save): Default to saving in .emacs.d,
3929 since PWD is no longer in desktop-path by default. (Bug#15319)
3930
9db13baf
GM
3931 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3932 now that text mode has a menu with the same entry.
3933 (menu-bar-text-mode-auto-fill): Remove now unused func.
3934 * textmodes/text-mode.el (text-mode-map):
3935 Use auto-fill help text from menu-bar.el.
3936
a0be396a 39372013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3938
3939 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3940
2edcd3c7
JL
39412013-10-09 Juri Linkov <juri@jurta.org>
3942
3943 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3944 instead of this-command-keys. Add universal-argument-more and
3945 universal-argument-minus to the list of prefix commands. (Bug#15568)
3946
574411d0
GM
39472013-10-09 Glenn Morris <rgm@gnu.org>
3948
14afa541
GM
3949 * vc/vc-svn.el (vc-svn-create-repo):
3950 Expand paths in file://... url. (Bug#15446)
3951
574411d0
GM
3952 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3953 Add some entries.
3954 (authors): Remove unused local variables.
3955
79804536
SM
39562013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * profiler.el: Create a more coherent calltree from partial backtraces.
3959 (profiler-format): Hide the tail with `invisible' so that C-s can still
3960 find the hidden elements.
3961 (profiler-calltree-depth): Don't recurse so enthusiastically.
3962 (profiler-function-equal): New hash-table-test.
3963 (profiler-calltree-build-unified): New function.
3964 (profiler-calltree-build): Use it.
3965 (profiler-report-make-name-part): Indent the calltree less.
3966 (profiler-report-mode): Add visibility specs for profiler-format.
3967 (profiler-report-expand-entry, profiler-report-toggle-entry):
3968 Expand the whole subtree when provided with a prefix arg.
3969
238150c8
DG
39702013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3971
3972 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3973 iuwu-mod token.
3974 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3975 hanging iuwu-mod token.
3976 (ruby-smie--forward-token): Do not include a dot after a token in
3977 that token.
3978 (ruby-smie--backward-token): Likewise.
3979
b0949cc4
JL
39802013-10-08 Juri Linkov <juri@jurta.org>
3981
3982 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3983 to isearch-other-control-char.
3984 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3985 and isearch-post-command-hook to post-command-hook.
3986 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3987 and isearch-post-command-hook from post-command-hook.
3988 (isearch-unread-key-sequence)
3989 (isearch-reread-key-sequence-naturally)
3990 (isearch-lookup-scroll-key, isearch-other-control-char)
3991 (isearch-other-meta-char): Remove functions.
3992 (isearch-pre-command-hook, isearch-post-command-hook):
3993 New functions based on isearch-other-meta-char rewritten
3994 relying on the new behavior of overriding-terminal-local-map
3995 that does not replace the local keymaps any more. (Bug#15200)
3996
4ed77415
EZ
39972013-10-08 Eli Zaretskii <eliz@gnu.org>
3998
3999 Support menus on text-mode terminals.
4000 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4001 functionality.
4002
4003 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4004
c2de5588
DK
4005 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4006 Move here from mouse.el.
4ed77415
EZ
4007 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4008 and arrow keys.
4009 (tty-menu-navigation-map): New map for TTY menu navigation.
4010
4011 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4012
4013 * frame.el (display-mouse-p): Report text-mode mouse as available
4014 on w32.
4015 (display-popup-menus-p): Report availability if mouse is
4016 available; don't condition on window-system.
4017
4018 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4019 (tty-menu-selected-face): New faces.
4020
b7d5bd82
TL
40212013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4022
06286513
SM
4023 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4024 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4025 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4026 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4027 New constants.
4028 (lisp-mode-variables): New `elisp' argument.
4029 (emacs-lisp-mode): Use it.
4030 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4031 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4032
b7d5bd82
TL
4033 * indent.el: Use lexical-binding.
4034 (indent-region): Add progress reporter.
4035 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4036 last step.
4037 (indent--next-tab-stop): New function to implement this behavior.
4038 (tab-to-tab-stop, move-to-tab-stop): Use it.
4039
40402013-10-08 Teemu Likonen <tlikonen@iki.fi>
4041
4042 * indent.el (indent-rigidly--current-indentation): New function.
4043 (indent-rigidly-map): New var.
4044 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4045
5ea75d23
BG
40462013-10-08 Bastien Guerry <bzg@gnu.org>
4047
4048 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4049
cc5da1ec
SM
40502013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4051
8ffa1a0b
SM
4052 * progmodes/perl-mode.el: Use lexical-binding.
4053 Remove redundant :group args.
4054 (perl-nochange): Change default to be closer to other major modes's
4055 standard behavior.
4056 (perl-indent-line): Don't consider text on current line as a
4057 valid beginning of function from which to indent.
4058
f2223371
SM
4059 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4060 with more than one argument (bug#15538).
4061
44256060
SM
4062 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4063
cc5da1ec
SM
4064 * vc/pcvs.el: Use lexical-binding.
4065 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4066 environment of `eval'.
4067 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4068 than a list of expressions. Adjust callers.
4069 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4070
0ea1599d
DG
40712013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4072
4073 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4074 case of the dot in a chained method call being on the following line.
0ea1599d 4075
da3e5ebb
SM
40762013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4077
2abb4e65
SM
4078 * electric.el (electric-indent-inhibit): New var.
4079 (electric-indent-post-self-insert-function): Use it.
4080 * progmodes/python.el (python-mode): Set it.
4081
d2e0e795
SM
4082 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4083 open braces.
4084
4085 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4086
bdc6b4c8
SM
4087 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4088 (css-mode): Use electric-indent-chars.
4089
da3e5ebb
SM
4090 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4091 (font-lock-beg, font-lock-end): Move before first use.
4092 (nxml-mode): Use syntax-propertize-function.
4093 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4094 (nxml-extend-after-change-region): Remove.
4095 * nxml/xmltok.el: Use lexical-binding.
4096 (xmltok-save): Use `declare'.
4097 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4098 * nxml/nxml-util.el: Use lexical-binding.
4099 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4100 Use `declare'.
4101 * nxml/nxml-ns.el: Use lexical-binding.
4102 (nxml-ns-save): Use `declare'.
4103 (nxml-ns-prefixes-for): Avoid add-to-list.
4104 * nxml/rng-match.el: Use lexical-binding.
4105 (rng--ipattern): Use cl-defstruct.
4106 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4107 (rng-cons-group-after, rng-subst-group-after)
4108 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4109 Use closures instead of `(lambda...).
4110
f8f91d5d
MA
41112013-10-07 Michael Albinus <michael.albinus@gmx.de>
4112
4113 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4114 of BEG and END.
4115
da3e5ebb
SM
4116 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4117 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4118 (tramp-gvfs-handle-insert-file-contents): Remove function.
4119
da3e5ebb
SM
4120 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4121 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4122
4123 * net/trampver.el: Update release number.
4124
7ccae3b1
SM
41252013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4126
55ca2c0d
SM
4127 * progmodes/compile.el (compilation-parse-errors):
4128 Use compilation--put-prop.
4129 (compilation--ensure-parse): Check compilation-multiline.
4130
731fc3ae
SM
4131 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4132
da3e5ebb
SM
4133 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4134 lexical-binding.
a5833280 4135
2e7ba2c2
SM
4136 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4137
7ccae3b1
SM
4138 * progmodes/ruby-mode.el: Fix recently added tests.
4139 (ruby-smie-grammar): Add - and +.
4140 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4141 (ruby-smie--backward-id): New functions.
4142 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4143 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4144 any more.
4145
85698d63
LL
41462013-10-07 Leo Liu <sdl.web@gmail.com>
4147
4148 * register.el (register-preview-delay)
4149 (register-preview-functions): New variables.
4150 (register-read-with-preview, register-preview)
4151 (register-describe-oneline): New functions.
4152 (point-to-register, window-configuration-to-register)
4153 (frame-configuration-to-register, jump-to-register)
4154 (number-to-register, view-register, insert-register)
4155 (copy-to-register, append-to-register, prepend-to-register)
4156 (copy-rectangle-to-register): Use register-read-with-preview to
4157 read register. (Bug#15525)
4158
3986af6c
DS
41592013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4160
4161 * net/network-stream.el (network-stream-open-starttls): Don't add
4162 --insecure if it's already present, because that gnutls-cli
4163 rejects getting that parameter twice.
4164
5cd9cda9
DG
41652013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4166
4167 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4168 keyword, too.
4169
da9ea6d9
DG
41702013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4171
4172 * newcomment.el (comment-use-global-state): Change default value
4173 to t, mark obsolete (Bug#15251).
4174 (comment-beginning): In addition to `comment-to-syntax', check the
4175 value of `comment-use-global-state'.
4176
34d1a133
SM
41772013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4178
4179 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4180 (ruby-comment-column): Follow the global default, by default.
4181 (ruby-smie-grammar): Add assignment syntax.
4182 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4183 open-paren, a comma, or a \.
4184 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4185 and line continuations.
4186 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4187 followed by implicit semi-colons. Add rule for string concatenation
4188 and for indentation at BOB.
4189 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4190
4191 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4192 calling next-sexp, since next-token may have skipped chars which
4193 next-sexp doesn't know should be skipped!
4194
6f6ab820
LL
41952013-10-05 Leo Liu <sdl.web@gmail.com>
4196
34d1a133
SM
4197 * progmodes/octave.el (octave-send-region):
4198 Call compilation-forget-errors.
6f6ab820 4199
34ca0f4c
XF
42002013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4201
4202 * vc/vc-svn.el (vc-svn-find-admin-dir):
4203 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4204 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4205 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4206 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4207
a27c1b72
SM
42082013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4211
258ab3bc
SM
42122013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 * subr.el (read-passwd): Hide chars even when called within a context
4215 where after-change-functions is disabled (bug#15501).
4216 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4217 until we removed ourself from overriding-terminal-local-map.
4218
939fb29c
LL
42192013-10-04 Leo Liu <sdl.web@gmail.com>
4220
258ab3bc
SM
4221 * progmodes/octave.el (inferior-octave-mode):
4222 Call compilation-forget-errors.
939fb29c 4223
63bd7f35
XF
42242013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4225
4226 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4227
9e6229fa
MA
42282013-10-04 Michael Albinus <michael.albinus@gmx.de>
4229
4230 * net/secrets.el (secrets-create-collection): Add optional
4231 argument ALIAS. Use proper Label keyword. Append ALIAS as
4232 dbus-call-method argument. (Bug#15516)
4233
1dab32a3
LL
42342013-10-04 Leo Liu <sdl.web@gmail.com>
4235
4236 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4237 (inferior-octave-compilation-font-lock-keywords): New variables.
4238 (compilation-error-regexp-alist)
4239 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4240 (inferior-octave-mode): Use compilation-shell-minor-mode.
4241
6cad7ba3
JS
42422013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4243
4244 * minibuffer.el (completion--replace): Be careful that `end' might be
4245 a marker.
4246
acbadd00
DU
42472013-10-03 Daiki Ueno <ueno@gnu.org>
4248
4249 Add support for package signature checking.
4250 * emacs-lisp/package.el (url-http-file-exists-p)
4251 (epg-make-context, epg-context-set-home-directory)
4252 (epg-verify-string, epg-context-result-for)
4253 (epg-signature-status, epg-signature-to-string)
4254 (epg-check-configuration, epg-configuration)
4255 (epg-import-keys-from-file): Declare.
4256 (package-check-signature): New user option.
4257 (package-unsigned-archives): New user option.
4258 (package-desc): Add `signed' field.
4259 (package-load-descriptor): Set `signed' field if .signed file exists.
4260 (package--archive-file-exists-p): New function.
4261 (package--check-signature): New function.
4262 (package-install-from-archive): Check package signature.
4263 (package--download-one-archive): Check archive signature.
4264 (package-delete): Remove .signed file.
4265 (package-import-keyring): New command.
4266 (package-refresh-contents): Import default keyring.
4267 (package-desc-status): Add "unsigned" status.
4268 (describe-package-1, package-menu--print-info)
4269 (package-menu-mark-delete, package-menu--find-upgrades)
4270 (package-menu--status-predicate): Support "unsigned" status.
4271
adf2aa61
SM
42722013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4273
4274 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4275 the new compilation scheme using the new byte-codes.
4276
4277 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4278 (byte-pophandler): New byte codes.
4279 (byte-goto-ops): Adjust accordingly.
4280 (byte-compile--use-old-handlers): New var.
4281 (byte-compile-catch): Use new byte codes depending on
4282 byte-compile--use-old-handlers.
4283 (byte-compile-condition-case--old): Rename from
4284 byte-compile-condition-case.
4285 (byte-compile-condition-case--new): New function.
4286 (byte-compile-condition-case): New function that dispatches depending
4287 on byte-compile--use-old-handlers.
4288 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4289 when we can.
4290
4291 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4292 Optimize under `condition-case' and `catch' if
4293 byte-compile--use-old-handlers is nil.
4294 (disassemble-offset): Handle new bytecodes.
4295
328a8179
SM
42962013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4297
4298 * subr.el (error): Use `declare'.
4299 (decode-char, encode-char): Use advertised-calling-convention instead
4300 of the docstring to discourage use of the `restriction' arg.
4301
15a1e936
DU
43022013-10-03 Daiki Ueno <ueno@gnu.org>
4303
4304 * epg.el (epg-verify-file): Add a comment saying that it does not
4305 notify verification error as a return value nor a signal.
4306 (epg-verify-string): Ditto.
4307
376f862a
KR
43082013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4309
4310 * progmodes/compile.el (compilation-start): Try globbing the arg to
4311 `cd' (bug#15417).
4312
a2f93a5f
MA
43132013-10-02 Michael Albinus <michael.albinus@gmx.de>
4314
4315 Sync with Tramp 2.2.8.
4316
4317 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4318 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4319 * net/trampver.el: Update release number.
4320
0daa0804
JD
43212013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4322
4323 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4324 and default-process-coding-system for darwin only.
4325
abd1ae34
SM
43262013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4329
be4e325d
MH
43302013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4331
4332 * vc/vc-git.el (vc-git-grep): Disable pager.
4333
e9155c4a
DG
43342013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4335
494e898b
DG
4336 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4337 Use :url instead of :homepage, as per
4338 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4339
e9155c4a
DG
4340 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4341 non-nil, use `syntax-ppss' (Bug#15251).
4342
481a8e0f
RS
43432013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4344
be4e325d
MH
4345 * progmodes/octave.el (inferior-octave-startup-file):
4346 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4347
056453c6
DG
43482013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4349
be4e325d
MH
4350 * emacs-lisp/package.el (package-desc-from-define):
4351 Accept additional arguments as plist, convert them to an alist and store
4352 them in the `extras' slot.
056453c6
DG
4353 (package-generate-description-file): Convert extras alist back to
4354 plist and append to the `define-package' form arguments.
4355 (package--alist-to-plist): New function.
4356 (package--ac-desc): Add `extras' slot.
4357 (package--add-to-archive-contents): Check if the archive-contents
4358 vector is long enough, and if it is, pass its `extras' slot value
4359 to `package-desc-create'.
4360 (package-buffer-info): Call `lm-homepage', pass the returned value
4361 to `package-desc-from-define'.
4362 (describe-package-1): Render the homepage button (Bug#13291).
4363
be4e325d
MH
4364 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4365 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4366
832966e5
JD
43672013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4368
4369 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4370 and default-process-coding-system to utf-8-unix (Bug#15402).
4371
6cfe977d
XF
43722013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4373
4374 * subr.el (looking-back): Do not recommend using looking-back.
4375
38de11bd
AM
43762013-09-28 Alan Mackenzie <acm@muc.de>
4377
4378 Fix indentation/fontification of Java enum with "implements".
4379
4380 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4381 regexp which matches "implements", etc., in Java.
4382 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4383 specifier clauses coming after "enum".
4384 * progmodes/cc-fonts.el (c-font-lock-declarations)
4385 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4386 after "enum".
4387
1610938f
JD
43882013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4389
4390 * faces.el (region): Change ns_selection_color to
4391 ns_selection_fg_color, add ns_selection_bg_color.
4392
e090f499
LL
43932013-09-28 Leo Liu <sdl.web@gmail.com>
4394
4d2e94d1
LL
4395 * progmodes/octave.el (inferior-octave-completion-table)
4396 (inferior-octave-completion-at-point): Minor tweaks.
4397
e090f499
LL
4398 * textmodes/ispell.el (ispell-lookup-words): Rename from
4399 lookup-words. (Bug#15460)
4400 (lookup-words): Obsolete.
4401 (ispell-complete-word, ispell-command-loop): All uses changed.
4402
7e138a62
RS
44032013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4404
a12bf61e 4405 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4406 (octave-mode-menu): Add octave-send-buffer.
4407 (octave-send-buffer): New function.
4408
5af5ed08
RS
44092013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4410
a12bf61e 4411 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4412 octave-lookfor.
4413 (octave-mode-menu): Add octave-lookfor.
4414 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4415 octave-lookfor.
4416 (octave-lookfor): New function.
4417
3b7b2692
SM
44182013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4419
4420 * emacs-lisp/cl-macs.el:
4421 (cl--loop-destr-temps): Remove.
4422 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4423 its convention.
4424 (cl--loop-set-iterator-function): New function.
4425 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4426 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4427 Bind `it' with `let' instead of substituting it with `cl-subst'.
4428 (cl--unused-var-p): New function.
4429 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4430 Eliminate some unused variable warnings (bug#15326).
4431
529fb53f
TH
44322013-09-27 Tassilo Horn <tsdh@gnu.org>
4433
4434 * doc-view.el (doc-view-scale-reset): Rename from
4435 `doc-view-reset-zoom-level'.
4436 (doc-view-scale-adjust): New command.
4437 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4438 `doc-view-scale-adjust'.
4439
0550c95a
TH
44402013-09-26 Tassilo Horn <tsdh@gnu.org>
4441
4442 * doc-view.el (doc-view-reset-zoom-level): New command.
4443 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4444 zoom commands (bug#15466).
4445
6950f152
KH
44462013-09-26 Kenichi Handa <handa@gnu.org>
4447
4448 * international/quail.el (quail-help): Make it not a command.
4449
39587580
LL
44502013-09-26 Leo Liu <sdl.web@gmail.com>
4451
4452 * minibuffer.el (completion-all-sorted-completions): Make args
4453 optional as they are.
4454
00578659
DC
44552013-09-25 Daniel Colascione <dancol@dancol.org>
4456
4457 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4458 specs are and that they're not evaluated.
4459
0c173878
SS
44602013-09-24 Sam Steingold <sds@gnu.org>
4461
4462 * midnight.el (clean-buffer-list-kill-regexps)
4463 (clean-buffer-list-kill-buffer-names): Update for the new Man
4464 buffer naming which includes the object name.
4465
84998447
SM
44662013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4467
4468 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4469 (eshell-parse-command, eshell-parse-pipeline): Use it since
4470 eshell-separate-commands requires a dynamic scoped var.
4471 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4472
33215353
LL
44732013-09-23 Leo Liu <sdl.web@gmail.com>
4474
4475 * autoinsert.el (auto-insert-alist): Make the value of
4476 lexical-binding match its file setting.
4477
57b16162
JB
44782013-09-23 Juanma Barranquero <lekktu@gmail.com>
4479
c8af4e67
JB
4480 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4481
57b16162
JB
4482 * autoarg.el (autoarg-kp-digit-argument):
4483 * electric.el (Electric-command-loop):
4484 * kmacro.el (kmacro-step-edit-insert):
4485 Do not set universal-argument-num-events.
4486
7186ba60
LL
44872013-09-22 Leo Liu <sdl.web@gmail.com>
4488
4489 * files.el (interpreter-mode-alist): Add octave.
4490
ece15004
AM
44912013-09-21 Alan Mackenzie <acm@muc.de>
4492
4493 C++: fontify identifier in declaration following "public:" correctly.
4494 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4495 to match "public", etc.
4496 (c-decl-prefix-re): Add ":" into the C++ value.
4497 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4498 bit. Add a check for a ":" preceded by "public", etc.
4499
75d83e22
EZ
45002013-09-21 Eli Zaretskii <eliz@gnu.org>
4501
4502 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4503 recognized by GDB 7.5 and later.
4504
d052d3bd
XF
45052013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4506
4507 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4508
31dca772
R
45092013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4510
4511 * subr.el (internal--call-interactively): New const.
4512 (called-interactively-p): Use it (bug#3984).
4513
98ccf24e
XF
45142013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4515
4516 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4517 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4518 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4519
c39cc7d1
SM
45202013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4521
4522 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4523 (eshell-ls-orig-insert-directory): Remove.
4524 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4525 (eshell-ls-use-in-dired): Use advice-add/remove.
4526 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4527 Add `orig-fun' arg for use in :around advice.
4528 Make it check (redundantly) eshell-ls-use-in-dired.
4529
9a0289a2
GM
45302013-09-19 Glenn Morris <rgm@gnu.org>
4531
a2c501b8
GM
4532 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4533
c440407a
GM
4534 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4535
9a0289a2
GM
4536 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4537
85e05915
MA
45382013-09-19 Michael Albinus <michael.albinus@gmx.de>
4539
4540 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4541 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4542 (tramp-get-remote-python): New defuns.
4543 (tramp-get-remote-uid-with-perl)
4544 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4545 contributed by yary <not.com@gmail.com> (tiny change).
4546 (tramp-get-remote-uid-with-python)
4547 (tramp-get-remote-gid-with-python): New defuns. Python code
4548 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4549 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4550
ce503312
GM
45512013-09-19 Glenn Morris <rgm@gnu.org>
4552
f7544773
GM
4553 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4554
72fd2877
GM
4555 * eshell/em-unix.el (eshell-remove-entries):
4556 Rename argument to avoid name-clash with global `top-level'.
4557
336b5a56
GM
4558 * eshell/esh-proc.el (eshell-kill-process-function):
4559 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4560 (eshell-reset-after-proc): Remove unused arg `proc'.
4561
57a3a53d
GM
4562 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4563 (directory-files-and-attributes): Mark unused arg.
4564
3261d4af
GM
4565 * eshell/em-unix.el (eshell-remove-entries):
4566 Remove unused arg `path'. Update callers.
4567
8e51b5d0
GM
4568 * eshell/em-hist.el (eshell-hist-parse-arguments):
4569 Remove unused arg `silent'. Update callers.
4570
ce503312
GM
4571 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4572 Fix (f)boundp mix-up.
4573
4574 * eshell/em-smart.el (eshell-smart-scroll-window)
4575 (eshell-disable-after-change):
336b5a56 4576 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4577
ee3ce8a7
AM
45782013-09-18 Alan Mackenzie <acm@muc.de>
4579
4580 Fix fontification of type when followed by "const".
4581 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4582 "known" types from fontification.
4583
ec9177ba
GM
45842013-09-18 Glenn Morris <rgm@gnu.org>
4585
7bb3e768
GM
4586 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4587 (chart-face-list): Drop Emacsen without display-color-p.
4588
5148da15
GM
4589 * net/eww.el (libxml-parse-html-region): Declare.
4590 (eww-display-html): Explicit error if no libxml2 support.
4591
2f68e157
GM
4592 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4593
9019d095
GM
4594 * image.el (image-type-from-buffer, image-multi-frame-p):
4595 Remove --without-x warning/error.
67645389 4596
5f30349b 4597 * mouse.el (mouse-yank-primary):
45069b2e 4598 * term.el (term-mouse-paste):
5f30349b
GM
4599 Reorder to silence --without-x compilation.
4600
cd8edbbe
GM
4601 * mpc.el (doc-view-mode): Silence --without-x compilation.
4602
8a78544e
GM
4603 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4604 Silence --without-x compilation.
4605
12679bfd
GM
4606 * progmodes/gud.el (gud-find-file, gud-mode):
4607 Silence --without-x compilation.
4608 (tooltip-mode): Declare.
30810a05 4609
f0047cb9
GM
4610 * wdired.el (dired-backup-overwrite): Remove declaration.
4611 (wdired-mode-map): Add doc string.
4612
e740f9d2
GM
4613 * custom.el (x-get-resource): Declare.
4614
92d77c89
GM
4615 * eshell/em-glob.el (ange-cache):
4616 * eshell/em-unix.el (ange-cache): Declare.
4617
76e69577
GM
4618 * faces.el (x-display-list, x-open-connection, x-get-resource):
4619 Declare.
7e58af4b
GM
4620
4621 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4622 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4623 Declare.
76e69577 4624
4bd4c0af 4625 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4626
ffb82dbd
GM
4627 * net/gnutls.el (gnutls-log-level): Declare.
4628
986ed135
GM
4629 * net/shr.el (image-size, image-animate): Declare.
4630
e740f9d2
GM
4631 * simple.el (font-info): Declare.
4632
d2f3e9f8
GM
4633 * subr.el (x-popup-dialog): Declare.
4634
047a1a4c
GM
4635 * term/common-win.el (x-select-enable-primary)
4636 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4637 Declare.
4638
f4a1d572
GM
4639 * term/ns-win.el (x-handle-args): Declare.
4640
e843de77
GM
4641 * term/x-win.el (x-select-enable-clipboard): Declare.
4642
5fa89513
GM
4643 * term/w32-win.el (create-default-fontset): Declare.
4644
38702b5b
GM
4645 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4646 Declare.
4647
e740f9d2
GM
4648 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4649 (fit-frame-to-buffer): Explicit error if --without-x.
4650 (mouse-autoselect-window-select): Silence compiler.
4651
49a053fc
GM
4652 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4653
4654 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4655 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4656 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4657 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4658 Remove unused local variables.
4659
4660 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4661
ec9177ba
GM
4662 * textmodes/two-column.el: Make 2C-split work for --without-x.
4663 (scroll-bar-columns): Autoload.
4664 (top-level): Require fringe when compiling.
4665
9f25cb77
LL
46662013-09-18 Leo Liu <sdl.web@gmail.com>
4667
4668 * subr.el (add-hook): Robustify to handle closure as well.
4669
2b42da98
GM
46702013-09-17 Glenn Morris <rgm@gnu.org>
4671
4672 * simple.el (messages-buffer-mode-map): Unbind "g".
4673
e8b66a6a
SM
46742013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4675
9c0ad4f7
SM
4676 * help-mode.el (help-mode-finish): Use derived-mode-p.
4677 Remove obsolete highlighting.
4678
7a806dfb
SM
4679 * play/life.el (life-mode): Use define-derived-mode. Derive from
4680 special-mode.
4681 (life): Let-bind inhibit-read-only.
4682 (life-setup): Avoid `setq'. Use `life-mode'.
4683
96dbf5a8
SM
4684 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4685 which should not be needed any more.
4686 (package-menu-refresh, package-menu-describe-package): Use user-error.
4687
e8b66a6a
SM
4688 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4689 (eshell-post-rewrite-command-hook): Make obsolete.
4690 (eshell-parse-command): Simplify.
4691 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4692 (eshell--cmd): Declare.
4693 (eshell-parse-pipeline): Remove unused var `final-p'.
4694 Pass a dynvar to eshell-post-rewrite-command-hook.
4695 Implement the new eshell-post-rewrite-command-function.
4696 (eshell-invoke-directly): Remove unused arg `input'.
4697 * eshell/esh-io.el (eshell-io-initialize):
4698 Use eshell-post-rewrite-command-function (bug#15399).
4699 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4700 adjust to new calling convention.
4701 (eshell-create-handles): Rename args to avoid clashing with dynvar
4702 `standard-output'.
4703
90582f05
GM
47042013-09-17 Glenn Morris <rgm@gnu.org>
4705
4706 * simple.el (messages-buffer-mode): New major mode.
4707 (messages-buffer): New function.
4708 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4709 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4710 (ert-run-test): Use `messages-buffer' function.
90582f05 4711 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4712 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4713 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4714
39eb0cb5 47152013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4716
4717 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4718
1d42e5b6 4719 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4720
70568a90
SM
47212013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4722
504a0381
SM
4723 * icomplete.el (icomplete-in-buffer): New var.
4724 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4725 vars and replace them with functions.
4726 (icomplete-minibuffer-setup): Adjust accordingly.
4727 (icomplete--completion-table, icomplete--completion-predicate)
4728 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4729 New functions.
4730 (icomplete-forward-completions, icomplete-backward-completions)
4731 (icomplete-simple-completing-p, icomplete-exhibit)
4732 (icomplete-completions): Use them.
4733 (icomplete--in-region-buffer): New var.
4734 (icomplete--in-region-setup): New function.
4735 (icomplete-mode): Use it.
4736
70568a90
SM
4737 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4738 (bug#15379).
4739 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4740 return args and options.
4741 (eshell-eval-using-options): Use the new return value of
4742 eshell--do-opts to set the options's vars in their scope.
4743 (eshell--set-option): Rename from eshell-set-option.
4744 Add arg `opt-vals'.
4745 (eshell--process-option): Rename from eshell-process-option.
4746 Add arg `opt-vals'.
4747 (eshell--process-args): Use an `opt-vals' alist to store the options's
4748 values during their processing and return them additionally to the
4749 remaining args.
4750
578c21bc
DG
47512013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4752
4753 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4754 continuation character an operator, as far as indentation is
4755 concerned (Bug#15369).
4756
c089653d
MR
47572013-09-15 Martin Rudalics <rudalics@gmx.at>
4758
4759 * window.el (window--state-put-2): Don't process buffer state
4760 when buffer doesn't exist any more (Bug#15382).
4761
1e53bb4b
GM
47622013-09-15 Glenn Morris <rgm@gnu.org>
4763
30753242
GM
4764 * eshell/em-unix.el (eshell/rm):
4765 Make -f ignore missing files. (Bug#15373)
4766
1e53bb4b
GM
4767 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4768 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4769 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4770
0d8863b3
GM
47712013-09-14 Glenn Morris <rgm@gnu.org>
4772
4773 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4774
d3fc6549
GM
47752013-09-13 Glenn Morris <rgm@gnu.org>
4776
4777 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4778 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4779
fcd42c11
DA
47802013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4781
4782 * frame.el (x-focus-frame): Mark as declared in frame.c.
4783
7830899f
SM
47842013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4785
4786 * ls-lisp.el: Use advice-add.
4787 (original-insert-directory): Remove.
4788 (ls-lisp--insert-directory): Rename from insert-directory; add
4789 `orig-fun' argument.
4790 (insert-directory): Advise.
4791
84387cd2
EZ
47922013-09-13 Eli Zaretskii <eliz@gnu.org>
4793
4794 * term.el (term-emulate-terminal): Decode the command string
4795 before passing it to term-command-hook. (Bug#15337)
4796
35ffc6ba
GM
47972013-09-13 Glenn Morris <rgm@gnu.org>
4798
5c3f9bcc
GM
4799 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4800
2ada368a
GM
4801 * eshell/esh-ext.el (eshell-search-path): Declare.
4802
fcef2e13
GM
4803 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4804 Otherwise an error occurs if eshell-dirs module not loaded.
4805
35ffc6ba
GM
4806 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4807
35c3d36e
MA
48082013-09-13 Michael Albinus <michael.albinus@gmx.de>
4809
4810 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4811 `tramp-check-proper-host'. Check for a valid method name.
4812
4813 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4814 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4815 * net/tramp-sh.el (tramp-maybe-open-connection):
4816 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4817
4818 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4819 also for hash values.
4820
ae5e4c48
SM
48212013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4822
379add74
SM
4823 * term/ns-win.el (parameters): Don't declare as dynamic.
4824 (before-make-frame-hook): Don't add ineffective function.
4825
ae5e4c48
SM
4826 * eshell/*.el: Use lexical-binding (bug#15231).
4827
b5623270
KH
48282013-09-12 Kenichi Handa <handa@gnu.org>
4829
ae5e4c48 4830 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4831
30213927
GM
48322013-09-12 Glenn Morris <rgm@gnu.org>
4833
be94d713 4834 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4835 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4836
44915370
GM
4837 * subr.el (do-after-load-evaluation): Also give compiler warnings
4838 when obsolete files are used (except by obsolete files).
4839
a6ae021f
GM
4840 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4841 in the status output, assume `filename' is the first. (Bug#15322)
4842
40e64f0c
GM
4843 * vc/vc.el (vc-deduce-fileset): Doc fix.
4844
16d9f896
GM
4845 * calc/calc-help.el (Info-goto-node):
4846 * progmodes/cperl-mode.el (Info-find-node):
4847 * vc/ediff.el (Info-goto-node): Update declarations.
4848
dea01c6e
GM
4849 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4850
759880bf 4851 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4852 (vc-bzr-pull): Require vc-dispatcher.
4853 * vc/vc-git.el (vc-compilation-mode): Declare.
4854 (vc-git-pull): Require vc-dispatcher.
4855
08d66420
GM
4856 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4857
30b626e9
GM
4858 * progmodes/octave.el (help-button-action): Declare.
4859
8c05cb10
GM
4860 * shell.el (shell-directory-tracker): Output error as a message
4861 rather than just returning it as a string.
4862 (shell-process-pushd): Remove useless use of message.
4863
30213927
GM
4864 * dframe.el (dframe-timer-fn):
4865 * files.el (dir-locals-read-from-file):
4866 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4867 (mpc-format):
4868 * reveal.el (reveal-post-command):
4869 * saveplace.el (load-save-place-alist-from-file):
4870 * shell.el (shell-resync-dirs):
4871 * w32-common-fns.el (x-get-selection-value):
4872 * emacs-lisp/copyright.el (copyright-find-copyright):
4873 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4874 * emulation/tpu-edt.el (tpu-copy-keyfile):
4875 * play/bubbles.el (bubbles--mark-neighbourhood):
4876 * progmodes/executable.el
4877 (executable-make-buffer-file-executable-if-script-p):
4878 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4879
d3b049e6
SM
48802013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4881
170266d0
SM
4882 Cleanup Eshell to rely less on dynamic scoping.
4883 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4884 last-value, and ext-command here. Bind `args' closer to `body'.
4885 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4886 (eshell--args): Declare new dynamic var.
4887 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4888 last-value, and ext-command. Pass `args' to `body'.
4889 (eshell-process-args): Bind eshell--args.
4890 (eshell-set-option): Use eshell--args.
4891 * eshell/eshell.el (eshell): Use derived-mode-p.
4892 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4893 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4894 (eshell-glob-function): Declare.
4895 * eshell/esh-util.el: Require cl-lib.
4896 (eshell-read-hosts-file): Avoid add-to-list.
4897 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4898 `err'.
4899 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4900 Declare.
4901 (eshell/diff): Remove unused var `err'.
4902 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4903 `killflag'.
4904 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4905 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4906 first use.
4907 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4908 Move declaration before first use.
4909 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4910 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4911 rely on cl-return.
4912
56834f3b
GM
49132013-09-12 Glenn Morris <rgm@gnu.org>
4914
4915 * term/ns-win.el (global-map): Remove binding for ispell-next,
4916 deleted 1999-05-29. (Bug#15357)
4917
5c91a2b8
GM
49182013-09-11 Glenn Morris <rgm@gnu.org>
4919
da712f22
GM
4920 * echistory.el (electric-command-history): Remove call to deleted func.
4921
512e4cdc
GM
4922 * play/landmark.el (landmark-mode): Fix typos.
4923
d3506ca5
GM
4924 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4925 Check cvs-sort-ignore-file is bound.
4926
5c91a2b8
GM
4927 * savehist.el: No need for cl when compiling on Emacs.
4928
feeff482
SM
49292013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4930
656bd483
SM
4931 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4932 (bug#15338).
d3b049e6
SM
4933 (eshell-self-insert-command, eshell-send-invisible):
4934 Remove unused argument.
656bd483
SM
4935 (eshell-handle-control-codes): Remove unused var `orig'.
4936 Avoid delete-backward-char.
4937
feeff482
SM
4938 * files.el (set-auto-mode): Simplify a bit further.
4939
2a08047a
GM
49402013-09-11 Glenn Morris <rgm@gnu.org>
4941
4942 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4943 (set-auto-mode): Don't regexp-quote elements.
4944 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4945 * progmodes/cc-mode.el (interpreter-mode-alist):
4946 * progmodes/ruby-mode.el (interpreter-mode-alist):
4947 Revert previous change.
4948
34675540
SM
49492013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4950
1b3b87df
SM
4951 * play/snake.el (snake-mode):
4952 * play/mpuz.el (mpuz-mode):
4953 * play/landmark.el (lm-mode):
4954 * play/blackbox.el (blackbox-mode):
4955 * play/5x5.el (5x5-mode):
4956 * obsolete/options.el (Edit-options-mode):
4957 * net/quickurl.el (quickurl-list-mode):
4958 * net/newst-treeview.el (newsticker-treeview-mode):
4959 * mail/rmailsum.el (rmail-summary-mode):
4960 * mail/mspools.el (mspools-mode):
4961 * locate.el (locate-mode):
4962 * ibuffer.el (ibuffer-mode):
4963 * emulation/ws-mode.el (wordstar-mode):
4964 * emacs-lisp/debug.el (debugger-mode):
4965 * array.el (array-mode):
4966 * net/eudc.el (eudc-mode): Use define-derived-mode.
4967 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4968 Move initialization into declaration.
4969 (mairix-searches-mode): Use define-derived-mode.
4970 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4971 (eudc-edit-hotlist): Use dolist.
4972 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4973 (Man-mode): Use define-derived-mode.
4974 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4975 (Info-edit-mode): Use define-derived-mode.
4976 (Info-cease-edit): Use Info-mode.
4977 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4978 into declaration.
4979 (eshell-mode): Use define-derived-mode.
4980 * chistory.el (command-history-mode-map): Rename from
4981 command-history-map.
4982 (command-history-mode): Use define-derived-mode.
da712f22 4983 (Command-history-setup): Remove function.
1b3b87df
SM
4984 * calc/calc.el (calc-trail-mode-map): New var.
4985 (calc-trail-mode): Use define-derived-mode.
4986 (calc-trail-buffer): Set calc-main-buffer manually.
4987 * bookmark.el (bookmark-insert-annotation): New function.
4988 (bookmark-edit-annotation): Use it.
4989 (bookmark-edit-annotation-mode): Make it a proper major mode.
4990 (bookmark-send-edited-annotation): Use derived-mode-p.
4991 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4992 closer to its ideal place. Use \' to match EOS.
4993
34675540
SM
4994 * profiler.el (profiler-calltree-find): Use function-equal.
4995
6a5c15d9
GM
49962013-09-10 Glenn Morris <rgm@gnu.org>
4997
1af4c220
GM
4998 * files.el (interpreter-mode-alist): Convert to regexps.
4999 (set-auto-mode): Adapt for this. (Bug#15306)
5000 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5001 Comment out unused variable.
5002 * progmodes/cc-mode.el (interpreter-mode-alist):
5003 * progmodes/python.el (interpreter-mode-alist):
5004 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5005 * progmodes/sh-script.el (sh-set-shell):
5006 No longer use interpreter-mode-alist to get list of shells.
5007
6a5c15d9
GM
5008 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5009
8c27f5ff
SM
50102013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5011
02ef6c1a 5012 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5013 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5014 Bind switch-frame explicitly. Replace universal-argument-minus with
5015 a conditional binding.
5016 (universal-argument-num-events, saved-overriding-map): Remove.
5017 (restore-overriding-map): Remove.
5018 (universal-argument--mode): Rename from save&set-overriding-map,
5019 and rewrite.
5020 (universal-argument, universal-argument-more, negative-argument)
5021 (digit-argument): Adjust accordingly.
5022 (universal-argument-minus): Remove.
5023 (universal-argument-other-key): Remove.
5024
8c27f5ff
SM
5025 * subr.el (with-demoted-errors): Add `format' argument.
5026
6480194c
MA
50272013-09-10 Michael Albinus <michael.albinus@gmx.de>
5028
5029 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5030 `tramp-cleanup-connection'.
5031
5032 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5033 parameters KEEP-DEBUG and KEEP-PASSWORD.
5034
5035 * net/tramp.el (tramp-file-name-handler):
5036 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5037 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5038 (tramp-maybe-open-connection):
8c27f5ff
SM
5039 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5040 Use `tramp-cleanup-connection'.
6480194c 5041
8c27f5ff
SM
5042 * net/tramp-sh.el (tramp-maybe-open-connection):
5043 Catch 'uname-changed inside the progress reporter.
6480194c 5044
e5e916d8
GM
50452013-09-10 Glenn Morris <rgm@gnu.org>
5046
9a2c9b47
GM
5047 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5048
e5e916d8
GM
5049 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5050 returns "alternate access method" in mode (eg "-rw-r--r--.").
5051
144e38fe
GM
50522013-09-08 Glenn Morris <rgm@gnu.org>
5053
5054 * saveplace.el (load-save-place-alist-from-file):
5055 Demote errors. (Bug#15305)
5056
af9ff9e8
MA
50572013-09-08 Michael Albinus <michael.albinus@gmx.de>
5058
5059 Improve compatibility with older Emacsen, and XEmacs.
5060
5061 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5062 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5063 (with-tramp-progress-reporter): Do not let-bind `result'.
5064 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5065 (tramp-handle-make-auto-save-file-name): New function, moved from
5066 tramp-sh.el.
5067
5068 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5069 for `make-auto-save-file-name'.
8c27f5ff
SM
5070 (tramp-adb--gnu-switches-to-ash):
5071 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5072
5073 * net/tramp-cache.el (tramp-cache-print): Call
5074 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5075
5076 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5077 bound. It isn't for XEmacs.
5078
8c27f5ff
SM
5079 * net/tramp-compat.el (tramp-compat-copy-file):
5080 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5081 (tramp-compat-replace-regexp-in-string): New defun.
5082
5083 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5084 for `make-auto-save-file-name'.
5085 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5086 `copy-file'.
5087 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5088 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5089 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5090
8c27f5ff
SM
5091 * net/tramp-gw.el (tramp-gw-open-network-stream):
5092 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5093
8c27f5ff
SM
5094 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5095 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5096 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5097 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5098 (tramp-sh-file-inotifywait-process-filter):
5099 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5100 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5101
5102 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5103 for `make-auto-save-file-name'.
8c27f5ff
SM
5104 (tramp-smb-handle-copy-directory):
5105 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5106 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5107 (tramp-smb-handle-copy-file): Improve error message.
5108 (tramp-smb-handle-rename-file): Rename directly only in case
5109 `newname' does not exist yet. This is a restriction of smbclient.
5110 (tramp-smb-maybe-open-connection): Rerun the function only when
5111 `auth-sources' is non-nil.
5112
0ca754d0
KH
51132013-09-08 Kenichi Handa <handa@gnu.org>
5114
e0eb0550 5115 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5116 more characters.
5117
e8dd0787
AM
51182013-09-07 Alan Mackenzie <acm@muc.de>
5119
5120 Correctly fontify Java class constructors.
5121 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5122 in Java Mode.
5123 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5124 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5125 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5126 "typeless" declaration there.
5127
f2f248e7
RW
51282013-09-07 Roland Winkler <winkler@gnu.org>
5129
5130 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5131 field subtitle for entry type book.
5132
67982e2b
SM
51332013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5134
5135 * minibuffer.el: Make minibuffer-complete call completion-in-region
5136 rather than other way around.
5137 (completion--some, completion-pcm--find-all-completions):
5138 Don't delay signals when debugging.
5139 (minibuffer-completion-contents): Beware fields within the
5140 minibuffer contents.
5141 (completion-all-sorted-completions): Use defvar-local.
5142 (completion--do-completion, completion--cache-all-sorted-completions)
5143 (completion-all-sorted-completions, minibuffer-force-complete):
5144 Add args `beg' and `end'.
5145 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5146 (minibuffer-complete): Use completion-in-region.
5147 (completion-complete-and-exit): New fun, extracted from
5148 minibuffer-complete-and-exit.
5149 (minibuffer-complete-and-exit): Use it.
5150 (completion--complete-and-exit): Rename from
5151 minibuffer--complete-and-exit.
5152 (completion-in-region--single-word): New function, extracted from
5153 minibuffer-complete-word.
5154 (minibuffer-complete-word): Use it.
5155 (display-completion-list): Make `common-substring' argument obsolete.
5156 (completion--in-region): Call completion--in-region-1 instead of
5157 minibuffer-complete.
5158 (completion-help-at-point): Pass boundaries to
5159 minibuffer-completion-help as args rather than via an overlay.
5160 (completion-pcm--string->pattern): Use `any-delim'.
5161 (completion-pcm--optimize-pattern): New function.
5162 (completion-pcm--pattern->regex): Handle `any-delim'.
5163 * icomplete.el (icomplete-forward-completions)
5164 (icomplete-backward-completions, icomplete-completions):
5165 Adjust calls to completion-all-sorted-completions and
5166 completion--cache-all-sorted-completions.
5167 (icomplete-with-completion-tables): Default to t.
5168 * emacs-lisp/crm.el (crm--current-element): Rename from
5169 crm--select-current-element. Don't put an overlay but return the
5170 boundaries instead.
5171 (crm--completion-command): Take two new args to bind to the boundaries.
5172 (crm-completion-help): Adjust accordingly.
5173 (crm-complete): Use completion-in-region.
5174 (crm-complete-word): Use completion-in-region--single-word.
5175 (crm-complete-and-exit): Use completion-complete-and-exit.
5176
e17d94a5
SM
51772013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5180 than dynamically.
5181
96727100
JL
51822013-09-06 Juri Linkov <juri@jurta.org>
5183
5184 * info.el (Info-display-images-node): When image file doesn't exist
5185 display text version of the image if it's provided in the Info file.
5186 Otherwise, display the location of missing image from SRC attribute.
5187 Add help-echo text property from ALT attribute. (Bug#15279)
5188
86cf7329
SM
51892013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5192 (edit-abbrevs-mode): Use define-derived-mode.
5193
5194 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5195 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5196 that it's defined.
5197 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5198 Use define-derived-mode.
5199
5200 * epg.el (epg-start-encrypt): Minor CSE simplification.
5201
816244a2
WX
52022013-09-06 William Xu <william.xwl@gmail.com>
5203
5204 * arc-mode.el: Add support for 7za (bug#15264).
5205 (archive-7z-program): New var.
5206 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5207 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5208 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5209
1486fa31
MA
52102013-09-06 Michael Albinus <michael.albinus@gmx.de>
5211
5212 Remove URL syntax.
5213
5214 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5215 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5216 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5217 (tramp-postfix-host-format, tramp-file-name-regexp)
5218 (tramp-completion-file-name-regexp)
5219 (tramp-completion-dissect-file-name)
5220 (tramp-handle-substitute-in-file-name): Remove 'url case.
5221 (tramp-file-name-regexp-url)
5222 (tramp-completion-file-name-regexp-url): Remove constants.
5223
39785324
GM
52242013-09-06 Glenn Morris <rgm@gnu.org>
5225
5226 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5227
1f896cb7
DG
52282013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5229
5230 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5231 keywords" below "here-doc beginnings" (Bug#15270).
5232
c0458e0b
SM
52332013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * subr.el (pop): Use `car-safe'.
5236 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5237 to detect unused `pop' return value.
5238
5239 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5240 var `block-regexp'.
5241 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5242 (python-fill-string): Remove unused var `marker'.
5243 (python-skeleton-add-menu-items): Remove unused var `items'.
5244
5245 * international/mule-cmds.el: Require CL.
5246 (find-coding-systems-for-charsets): Avoid add-to-list.
5247 (sanitize-coding-system-list): New function, extracted from
5248 select-safe-coding-system-interactively.
5249 (select-safe-coding-system-interactively): Use it.
5250 (read-input-method-name): Accept symbols for `default'.
5251
5252 * emacs-lisp/advice.el (defadvice): Add indent rule.
5253
6c42fc3e
DH
52542013-09-05 Daniel Hackney <dan@haxney.org>
5255
5256 * dired-x.el:
5257 * net/ange-ftp.el:
5258 * net/browse-url.el:
5259 * net/dbus.el:
5260 * net/eudc.el:
5261 * net/eudcb-ldap.el:
5262 * net/eww.el:
5263 * net/imap.el:
5264 * printing.el:
5265 * vc/ediff-diff.el:
5266 * vc/ediff-init.el:
5267 * vc/ediff-merg.el:
5268 * vc/ediff-mult.el:
5269 * vc/ediff-util.el:
5270 * vc/ediff-wind.el:
5271 * vc/ediff.el:
5272 * vc/emerge.el:
5273 * vc/pcvs.el:
5274 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5275 byte compiler. Remove some unused let-bound variables.
5276
4c528aab
SM
52772013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5278
5279 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5280 a "ref-cell", since it gets better optimized (bug#14883).
5281
bd15c390
GM
52822013-09-05 Glenn Morris <rgm@gnu.org>
5283
5284 * progmodes/cc-awk.el (c-forward-sws): Declare.
5285
1c3ac2e5
GM
52862013-09-04 Glenn Morris <rgm@gnu.org>
5287
5288 * generic-x.el [rul-generic-mode]: Require cc-mode.
5289 (c++-mode-syntax-table): Declare.
5290 (rul-generic-mode-syntax-table): Init in the defvar.
5291
52b1cc79
SM
52922013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5293
c828af56
SM
5294 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5295 (vc-do-command, vc-set-async-update):
5296 * vc/vc-mtn.el (vc-mtn-dir-status):
5297 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5298 (vc-hg-pull, vc-hg-merge-branch):
5299 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5300 (vc-git-merge-branch):
5301 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5302 (vc-cvs-dir-status-files):
5303 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5304 (vc-bzr-dir-status-files):
5305 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5306 * vc/vc-annotate.el: Use lexical-binding.
5307 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5308 (vc-sentinel-movepoint): Declare.
5309 (vc-annotate): Don't use `goto-line'.
5310 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5311 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5312 (vc-sentinel-movepoint): Declare.
5313 * vc/vc-svn.el: Use lexical-binding.
5314 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5315 * vc/vc-sccs.el:
5316 * vc/vc-rcs.el: Use lexical-binding.
5317
abae272c
SM
5318 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5319 `deleted'. Don't drop errors silently.
5320
52b1cc79
SM
5321 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5322
63191d9f
XF
53232013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5324
5325 * vc/vc.el (vc-ignore): Rewrite.
5326 (vc-default-ignore): New function.
5327 (vc-default-ignore-completion-table): Use find-ignore-file.
5328
5329 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5330 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5331 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5332 Remove. Most code moved to vc.el.
5333
9d3f707c
SM
53342013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5335
abae272c 5336 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5337 * net/tramp-smb.el (tramp-smb-get-file-entries):
5338 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5339 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5340
fde38d49
SM
5341 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5342 Update call to it.
5343 (eww-change-select): Remove unused var `properties'.
5344 (eww-make-unique-file-name): Remove unused var `base'.
5345
5346 * finder.el (finder-compile-keywords): Don't mess with windows.
5347
84032db7
SM
5348 * calculator.el (calculator-funcall): Fix typo in last change.
5349
724f5e41
SM
5350 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5351
14b511d4
SM
5352 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5353 <pkg>-autoloads.el file stop us.
5354
9d3f707c 5355 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5356 warnings, and factor out common code.
9d3f707c 5357
88527bc0
DG
53582013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5359
5360 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5361 two-character operators and whether the character preceding them
5362 changes their meaning (Bug#15208).
5363
96edb677
FEG
53642013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5365
5366 Format code sent to Python shell for robustness.
9d3f707c
SM
5367 * progmodes/python.el (python-shell-buffer-substring):
5368 New function.
96edb677
FEG
5369 (python-shell-send-region, python-shell-send-buffer): Use it.
5370
95beaef3
MA
53712013-09-02 Michael Albinus <michael.albinus@gmx.de>
5372
5373 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5374 * net/tramp.el (tramp-user-error): ... here.
5375 (tramp-find-method, tramp-check-proper-host)
5376 (tramp-dissect-file-name, tramp-debug-message)
5377 (tramp-handle-shell-command):
5378 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5379 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5380
5381 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5382
f167c27b
MR
53832013-09-02 Martin Rudalics <rudalics@gmx.at>
5384
5385 * avoid.el (mouse-avoidance-point-position)
5386 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5387 returns nil.
5388
cd16c5f1
FEG
53892013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5390
5391 * progmodes/python.el (python-shell-completion-get-completions):
5392 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5393 (python-nav-if-name-main): New command.
cd16c5f1 5394
e73c3a0d
GM
53952013-09-01 Glenn Morris <rgm@gnu.org>
5396
f8ccce03
GM
5397 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5398 Avoid leading space in $wins. Otherwise the sed command used by
5399 eg compile-main ends up containing "/*.el". (Bug#15170)
5400
e73c3a0d
GM
5401 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5402
415f808e
GM
54032013-08-30 Glenn Morris <rgm@gnu.org>
5404
5405 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5406 Fix is-this-a-directory logic. (Bug#15220)
5407
f069bba8
SM
54082013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5409
112798c1
SM
5410 * textmodes/css-mode.el: Use SMIE.
5411 (css-smie-grammar): New var.
5412 (css-smie--forward-token, css-smie--backward-token)
5413 (css-smie-rules): New functions.
5414 (css-mode): Use them.
5415 (css-navigation-syntax-table): Remove var.
5416 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5417 (css-indent-calculate, css-indent-line): Remove functions.
5418
5419 Misc changes to reduce use of `(lambda...); and other cleanups.
5420 * cus-edit.el: Use lexical-binding.
5421 (customize-push-and-save, customize-apropos)
5422 (custom-buffer-create-internal): Use closures.
5423 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5424 * progmodes/ada-xref.el: Use setq.
5425 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5426 * dframe.el: Use lexical-binding.
5427 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5428 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5429 * descr-text.el: Use lexical-binding.
5430 (describe-text-widget, describe-text-sexp, describe-property-list):
5431 Use closures.
5432 * comint.el (comint-history-isearch-push-state): Use a closure.
5433 * calculator.el: Use lexical-binding.
5434 (calculator-number-to-string): Make it work with lexical-binding.
5435 (calculator-funcall): Same and use cl-letf.
5436
2da4c3ab
SM
5437 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5438 (lisp--company-doc-string, lisp--company-location): New functions.
5439 (lisp-completion-at-point): Use them to improve Company support.
5440
f069bba8
SM
5441 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5442 params of lambda expressions.
5443 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5444 (ruby-smie--opening-pipe-p): New function.
5445 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5446 symbols and matched |...| for formal params.
5447 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5448 from being treated as hanging. Handle "rescue".
5449
6758b6a8
GM
54502013-08-29 Glenn Morris <rgm@gnu.org>
5451
5452 * progmodes/cc-engine.el (c-pull-open-brace):
5453 Move definition before use.
5454
e8dfd197
SM
54552013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5456
5457 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5458 are immutable. Don't use `unsafe' any more.
5459 (cl--defsubst-expand): Don't substitute at the same time as keeping
5460 a residual unused let-binding. Don't use `unsafe' any more.
5461
cc585c96
GM
54622013-08-29 Glenn Morris <rgm@gnu.org>
5463
ba579ea6
GM
5464 * calendar/cal-china.el (calendar-chinese-year-cache):
5465 Recenter on 2015.
5466
8201a87e
GM
5467 * nxml/nxml-util.el (nxml-debug-clear-inside):
5468 Use cl-loop rather than loop.
5469
6ee877c7
GM
5470 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5471
cc585c96
GM
5472 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5473
27be8d39
GM
54742013-08-28 Glenn Morris <rgm@gnu.org>
5475
397440a1
GM
5476 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5477
2bb762d4
GM
5478 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5479
27be8d39
GM
5480 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5481
2d69b99e
SM
54822013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5483
f663baa7
SM
5484 * simple.el (repeat-complex-command--called-interactively-skip):
5485 New function.
5486 (repeat-complex-command): Use it (bug#14136).
5487
dd4f8b74
SM
5488 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5489 (c-define-abbrev-table): Add `doc' argument.
5490 (c-mode-abbrev-table, c++-mode-abbrev-table)
5491 (objc-mode-abbrev-table, java-mode-abbrev-table)
5492 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5493 (awk-mode-abbrev-table): Use it.
5494 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5495 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5496 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5497 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5498 Move initialization into the declaration; and remove any
5499 autoload cookie.
5500
b58969f7
SM
5501 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5502 and dynamic let binding.
5503
4021d6a6
SM
5504 * vc/smerge-mode.el: Remove redundant :group args.
5505
2d69b99e
SM
5506 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5507 to load-path.
5508
274919fd
JL
55092013-08-28 Juri Linkov <juri@jurta.org>
5510
5511 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5512 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5513 (isearch-other-meta-char): Handle an undefined shifted printing
5514 character by downshifting it. (Bug#15200)
5515
121f8c95
JL
55162013-08-28 Juri Linkov <juri@jurta.org>
5517
5518 * isearch.el (isearch-search): Change regexp error message for
5519 non-regexp searches. (Bug#15166)
5520
50b13cde
PE
55212013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5522
5523 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5524 for portability to hosts where /bin/sh has problems.
5525
95888bca
SM
55262013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5527
5528 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5529
bbe558f1
JL
55302013-08-27 Juri Linkov <juri@jurta.org>
5531
5532 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5533 in the keyboard macro. (Bug#15126)
5534
26f98a7d
JL
55352013-08-27 Juri Linkov <juri@jurta.org>
5536
5537 * isearch.el (isearch-quote-char): Comment out converting unibyte
5538 to multibyte, thus syncing with its `quoted-insert' counterpart.
5539 (Bug#15166)
5540
7c97d35e
MR
55412013-08-27 Martin Rudalics <rudalics@gmx.at>
5542
5543 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5544 argument in call of get-largest-window (Bug#15185).
5545 Reported by Stephen Leake.
7c97d35e 5546
a0b5606e 55472013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5548
5549 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5550
9e89d835
SM
55512013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5552
5553 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5554 from a matcher-function unless there's no more matches (bug#15161).
5555
78fc2530
MA
55562013-08-26 Michael Albinus <michael.albinus@gmx.de>
5557
5558 * minibuffer.el: Revert change from 2013-08-20.
5559
5560 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5561 with text property `tramp-default', if appropriate.
5562 (tramp-check-proper-host): New defun.
5563 (tramp-dissect-file-name): Do not check hostname. Revert change
5564 of 2013-03-18.
5565 (tramp-backtrace): Make VEC-OR-PROC optional.
5566
5567 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5568 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5569 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5570 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5571 Apply `tramp-check-proper-host'.
78fc2530 5572
edca97cd
TH
55732013-08-26 Tassilo Horn <tsdh@gnu.org>
5574
5575 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5576 lambda expression in order to have `describe-variable' display it.
5577
df54bcbd
MA
55782013-08-26 Michael Albinus <michael.albinus@gmx.de>
5579
5580 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5581 BUF can be optional. (Bug#15186)
5582
eed99101
XF
55832013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5584
5585 * progmodes/flymake.el (flymake-get-real-file-name-function):
5586 Fix broken customization. (Bug#15184)
5587
b5eb9035
AM
55882013-08-25 Alan Mackenzie <acm@muc.de>
5589
8a51e842
AM
5590 Improve indentation of bracelists defined by macros (without "=").
5591
5592 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5593 expansion begins with "{", regard it as bracelist when it doesn't
5594 contain a ";".
5595
869455d4
AM
5596 Parse C++ inher-intro when there's a template split over 2 lines.
5597
5598 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5599 rigorously the search for "class" etc. followed by ":".
5600
5601 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5602 random languages a regexp which never matches rather than nil.
5603
b5eb9035
AM
5604 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5605
5606 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5607 (c-awk-regexp-one-line-possibly-open-char-list-re)
5608 (c-awk-one-line-possibly-open-regexp-re)
5609 (c-awk-one-line-non-syn-ws*-re): Remove.
5610 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5611 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5612 (c-awk-space*-unclosed-regexp-/-re): New constants.
5613 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5614 aren't regexp delimiters.
5615
5616 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5617 handling for a rare situation in AWK Mode involving unterminated
5618 strings/regexps.
5619
61611d54
GM
56202013-08-23 Glenn Morris <rgm@gnu.org>
5621
2d85dc34
GM
5622 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5623
cb8d2612
GM
5624 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5625
bb35f42f
GM
5626 * files.el (create-file-buffer): If the result would begin with
5627 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5628
b9808e77
SM
56292013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5630
e3a66363
SM
5631 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5632 text-properties (bug#15155).
5633
b9808e77
SM
5634 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5635 exist any more.
5636 (calc-keypad-redraw): Remove unused var `pad'.
5637 (calc-keypad-press): Remove unused var `menu'.
5638
7fd5f65e
MR
56392013-08-23 Martin Rudalics <rudalics@gmx.at>
5640
b9808e77
SM
5641 * window.el (display-buffer-pop-up-frame):
5642 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5643 use it as the new frame's buffer (Bug#15133).
5644
8352b530
SM
56452013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5646
5647 * calendar/timeclock.el: Minor cleanups.
5648 (timeclock-ask-before-exiting, timeclock-use-display-time):
5649 Use `symbol'.
5650 (timeclock-modeline-display): Define as alias before the
5651 actual definition.
5652 (timeclock-mode-line-display): Use define-minor-mode.
5653 (timeclock-day-list-template): Make it a function, add an argument.
5654 (timeclock-day-list-required, timeclock-day-list-length)
5655 (timeclock-day-list-debt, timeclock-day-list-span)
5656 (timeclock-day-list-break): Adjust calls accordingly.
5657
9f7b1925
SM
56582013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5661 Use read--expression so that completion works again.
5662
6e50e983
SS
56632013-08-21 Sam Steingold <sds@gnu.org>
5664
5665 Add rudimentary inferior shell interaction
5666 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5667 (sh-set-shell): Reset it.
9f7b1925
SM
5668 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5669 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5670
dbb0d350
SM
56712013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5672
5673 * align.el: Use lexical-binding.
5674 (align-region): Simplify accordingly.
5675
c88586a9
MA
56762013-08-20 Michael Albinus <michael.albinus@gmx.de>
5677
5678 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5679
5680 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5681 `non-essential' up.
5682
f95527c8
MA
56832013-08-17 Michael Albinus <michael.albinus@gmx.de>
5684
5685 * net/tramp.el:
5686 * net/tramp-adb.el:
5687 * net/tramp-cmds.el:
5688 * net/tramp-ftp.el:
5689 * net/tramp-gvfs.el:
5690 * net/tramp-gw.el:
5691 * net/tramp-sh.el: Don't wrap external variable declarations by
5692 `eval-when-compile'.
5693
4b5fe4ee
LMI
56942013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5695
5696 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5697 now that Emacs supports ImageMagick animations.
5698
13c366c9
MA
56992013-08-16 Michael Albinus <michael.albinus@gmx.de>
5700
5701 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5702 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5703
3dfc5cd6
MR
57042013-08-16 Martin Rudalics <rudalics@gmx.at>
5705
5706 * window.el (mouse-autoselect-window-select): Do autoselect when
5707 mouse pointer is on margin.
5708
4bbb4381
WP
57092013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5710
5711 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5712
3a2ddc2d
GM
57132013-08-16 Glenn Morris <rgm@gnu.org>
5714
e8bedf5a
GM
5715 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5716 Handle "Remote Directory" response of some clients. (Bug#15058)
5717
58c4682f
GM
5718 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5719 Tweak warning. (Bug#14926)
5720
57953f49
GM
5721 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5722 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5723
3a2ddc2d
GM
5724 * image-mode.el (image-mode-map): Add menu items to reverse,
5725 increase, decrease, reset animation speed.
5726 (image--set-speed, image-increase-speed, image-decrease-speed)
5727 (image-reverse-speed, image-reset-speed): New functions.
5728 (image-mode-map): Add bindings for speed commands.
5729
5730 * image.el (image-animate-get-speed, image-animate-set-speed):
5731 New functions.
5732 (image-animate-timeout): Respect image :speed property.
5733
10fa0ed3
SM
57342013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5735
5736 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5737 previous line (bug#15101).
5738 (debugger-eval-expression, debugger-record-expression):
5739 Use read--expression (bug#15102).
5740
5d89d9d2
MA
57412013-08-15 Michael Albinus <michael.albinus@gmx.de>
5742
5743 Remove byte compiler warnings, visible when compiling with
5744 `byte-compile-force-lexical-warnings' set to t.
5745
5746 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5747 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5748 (tramp-handle-unhandled-file-name-directory)
5749 (tramp-handle-file-notify-add-watch, tramp-action-login)
5750 (tramp-action-succeed, tramp-action-permission-denied)
5751 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5752 arguments with "_".
5753
5754 * net/tramp-adb.el (tramp-adb-parse-device-names)
5755 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5756 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5757 (tramp-adb-handle-file-truename): Remove unused arguments.
5758
5759 * net/tramp-cache.el (tramp-flush-directory-property)
5760 (tramp-flush-connection-property, tramp-list-connections)
5761 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5762
10fa0ed3
SM
5763 * net/tramp-compat.el (tramp-compat-make-temp-file):
5764 Rename FILENAME to F.
5d89d9d2
MA
5765
5766 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5767 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5768 (tramp-zeroconf-parse-workstation-device-names)
5769 (tramp-zeroconf-parse-webdav-device-names)
5770 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5771
5772 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5773 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5774
5775 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5776 arguments.
5777 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5778 (tramp-sh-handle-insert-file-contents-literally)
5779 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5780 with "_".
5781 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5782 Remove unused variables.
5783
5784 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5785 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5786 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5787
5788 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5789 Make them a defconst.
5790 (tramp-uuencode-region): Remove unused variable.
5791
62f33bae
JB
57922013-08-14 Juanma Barranquero <lekktu@gmail.com>
5793
5794 * frameset.el (frameset--prop-setter): New function.
5795 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5796 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5797 parameter was already set in FILTERED. Doc fix.
5798 (frameset--record-minibuffer-relationships): Allow saving a
5799 minibufferless frame without its corresponding minibuffer frame.
5800 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5801 frame, if the frame id matches.
5802 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5803 frames before orphaned ones.
5804 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5805
c660a885
MR
58062013-08-14 Martin Rudalics <rudalics@gmx.at>
5807
5808 * window.el (window-make-atom): Don't overwrite parameter
5809 already present.
5810 (display-buffer-in-atom-window): Handle special case where we
5811 split an already atomic window.
5812 (window--major-non-side-window, display-buffer-in-side-window)
5813 (window--side-check): Ignore minibuffer window when walking
5814 window tree.
5815 (window-deletable-p): Return 'frame only if no other frame uses
5816 our minibuffer window.
5817 (record-window-buffer): Run buffer-list-update-hook.
5818 (split-window): Make sure window--check-frame won't destroy an
5819 existing atomic window in case the new window gets nested
5820 inside.
5821 (display-buffer-at-bottom): Ignore minibuffer window when
5822 walking window tree. Don't split a side window.
5823 (pop-to-buffer): Don't set-buffer here, the select-window call
5824 should do that.
5825 (mouse-autoselect-window-select): Autoselect only if we are in the
5826 text portion of the window.
5827
8259030d
LMI
58282013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5829
21c58ae2
LMI
5830 * net/shr.el (shr-parse-image-data): New function to grab both the
5831 data itself and the Content-Type.
5832 (shr-put-image): Use it.
5833
5834 * net/eww.el (eww-display-image): Ditto.
5835
8259030d
LMI
5836 * image.el (image-content-type-suffixes): New variable.
5837
ad756449
FEG
58382013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5839
5840 * progmodes/python.el (python-imenu--build-tree)
5841 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5842
f73f4ce6
XF
58432013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5844
5845 * simple.el (backward-word): Mention the optional argument.
5846
1f585e65
SM
58472013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5848
5849 * frameset.el (frameset--make): Rename constructor from make-frameset.
5850 (frameset-p, frameset-valid-p): Don't autoload.
5851 (frameset-valid-p): Use normal accessors.
5852
af1c6c84
GM
58532013-08-13 Glenn Morris <rgm@gnu.org>
5854
55e47f95
GM
5855 * progmodes/compile.el (compile-command): Tweak example in doc.
5856 * obsolete/scribe.el (scribe-mode):
5857 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5858
f0024d8c
GM
5859 * mail/feedmail.el (feedmail-confirm-outgoing)
5860 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5861
5862 * cus-start.el (truncate-partial-width-windows): Fix type.
5863
5864 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5865
af1c6c84
GM
5866 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5867
5514cc4c
SM
58682013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * emacs-lisp/timer.el (timer--time-setter): New function.
5871 (timer--time): Use it as gv-setter.
5872
5873 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5874 setter is not a symbol.
5875
7997a2f1
GJ
58762013-08-12 Grégoire Jadi <daimrod@gmail.com>
5877
5878 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5879 if sending fails. This makes debugging easier.
5880
01f1a9ab
JB
58812013-08-12 Juanma Barranquero <lekktu@gmail.com>
5882
5883 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5884 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5885 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5886
594a4307
EZ
58872013-08-12 Eli Zaretskii <eliz@gnu.org>
5888
5889 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5890
7a22490f 58912013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5892
5893 * format.el (format-annotate-function):
5894 Handle read-only text properties in the source. (Bug#14887)
5895
3e41a054
LMI
58962013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5897
5514cc4c
SM
5898 * net/eww.el (eww-display-html): Ignore coding system errors.
5899 One web site uses "utf-8lias" as the coding system.
3e41a054 5900
7ec326db
JB
59012013-08-11 Juanma Barranquero <lekktu@gmail.com>
5902
5903 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5904
5660113b
JB
59052013-08-10 Juanma Barranquero <lekktu@gmail.com>
5906
9a4ebc74
JB
5907 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5908 (tutorial--detailed-help): Remove unused local variables.
5909 (tutorial--save-tutorial-to): Use ignore-errors.
5910 (help-with-tutorial): Use looking-at-p.
5911
5912 * view.el (view-buffer-other-window, view-buffer-other-frame):
5913 Mark unused arguments.
5914
5915 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5916 (woman-select-symbol-fonts, woman, woman-find-file)
5917 (woman-insert-file-contents, woman-non-underline-faces):
5918 Use string-match-p.
5919 (woman1-unquote): Move declaration.
5920
5921 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5922 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5923 argument. Remove unused local variable.
5924 (xml-parse-elem-type): Use string-match-p.
5925 (xml-substitute-numeric-entities): Use ignore-errors.
5926
45fdb482
JB
5927 * calculator.el (calculator): Mark unused argument.
5928 (calculator-paste, calculator-quit, calculator-integer-p):
5929 Use ignore-errors.
5930 (calculator-string-to-number, calculator-decimal, calculator-exp)
5931 (calculator-op-or-exp): Use string-match-p.
5932
5933 * dired.el (dired-buffer-more-recently-used-p): Declare.
5934 (dired-insert-set-properties, dired-insert-old-subdirs):
5935 Use ignore-errors.
5936
5937 * dired-aux.el (dired-compress): Use ignore-errors.
5938 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5939 (dired-do-async-shell-command, dired-do-shell-command)
5940 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5941 (dired-insert-subdir-validate): Use string-match-p.
5942 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5943 (dired-add-entry): Use string-match-p, looking-at-p.
5944 (dired-insert-subdir-newpos): Remove unused local variable.
5945
5946 * filenotify.el (file-notify-callback): Remove unused local variable.
5947
5948 * filesets.el (filesets-error): Mark unused argument.
5949 (filesets-which-command-p, filesets-filter-dir-names)
5950 (filesets-directory-files, filesets-get-external-viewer)
5951 (filesets-ingroup-get-data): Use string-match-p.
5952
5953 * find-file.el (ff-other-file-name, ff-other-file-name)
5954 (ff-find-the-other-file, ff-cc-hh-converter):
5955 Remove unused local variables.
5956 (ff-get-file-name): Use string-match-p.
5957 (ff-all-dirs-under): Use ignore-errors.
5958
5959 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5960 (follow-select-if-visible): Remove unused local variable.
5961
5962 * forms.el (read-file-filter): Move declaration.
5963 (forms--make-format, forms--make-parser, forms-insert-record):
5964 Quote function with #'.
5965 (forms--update): Use string-match-p. Quote function with #'.
5966
5967 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5968 (help-make-xrefs): Use looking-at-p.
5969 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5970
5971 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5972 (ibuffer-confirm-operation-on): Use string-match-p.
5973
5974 * msb.el (msb-item-handler, msb-dired-item-handler):
5975 Mark unused arguments.
5976
5977 * ses.el (ses-decode-cell-symbol)
5978 (ses-kill-override): Remove unused local variable.
5979 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5980 (ses-load): Use ignore-errors, looking-at-p.
5981 (ses-jump-safe): Use ignore-errors.
5982 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5983
5984 * tabify.el (untabify, tabify): Mark unused arguments.
5985
5986 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5987 Mark unused argument.
5988 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5989 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5990
c880af52
JB
5991 * emacs-lisp/timer.el (timer--time): Define setter with
5992 gv-define-setter to avoid deprecation warning.
5993
5660113b 5994 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5995 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5996 (cmpl-statistics-block): Remove (body was commented out).
5997 All callers changed.
5998 (add-completions-from-buffer, load-completions-from-file):
5999 Remove unused variables.
6000
156aab80
JB
60012013-08-09 Juanma Barranquero <lekktu@gmail.com>
6002
5c5dee78
JB
6003 * filecache.el (file-cache-delete-file-list):
6004 Print message only when told so.
6005 (file-cache-files-matching): Use #' in mapconcat argument.
6006
156aab80
JB
6007 * ffap.el (ffap-url-at-point): Fix reference to variable
6008 thing-at-point-default-mail-uri-scheme.
6009
ad9dcd70
SM
60102013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6011
54bd972f
SM
6012 * subr.el (define-error): New function.
6013 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6014 error-file-not-found and define with define-error.
6015 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6016 and define with define-error.
6017 * userlock.el (file-locked, file-supersession):
6018 * simple.el (mark-inactive):
6019 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6020 * progmodes/ada-mode.el (ada-mode-errors):
6021 * play/life.el (life-extinct):
6022 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6023 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6024 * nxml/rng-util.el (rng-error):
6025 * nxml/rng-uri.el (rng-uri-error):
6026 * nxml/rng-match.el (rng-compile-error):
6027 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6028 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6029 * nxml/nxml-rap.el (nxml-scan-error):
6030 * nxml/nxml-outln.el (nxml-outline-error):
6031 * net/soap-client.el (soap-error):
6032 * net/gnutls.el (gnutls-error):
6033 * net/ange-ftp.el (ftp-error):
6034 * mpc.el (mpc-proc-error):
6035 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6036 (json-number-format, json-string-escape, json-string-format)
6037 (json-key-format, json-object-format):
6038 * jka-compr.el (compression-error):
6039 * international/quail.el (quail-error):
6040 * international/kkc.el (kkc-error):
6041 * emacs-lisp/ert.el (ert-test-failed):
6042 * calc/calc.el (calc-error, inexact-result, math-overflow)
6043 (math-underflow):
6044 * bookmark.el (bookmark-error-no-filename):
6045 * epg.el (epg-error): Define with define-error.
6046
0ea9e53a
SM
6047 * time.el (display-time-event-handler)
6048 (display-time-next-load-average): Don't call sit-for since it seems
6049 unnecessary (bug#15045).
6050
b0429158
SM
6051 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6052 Use #' instead of ' to quote functions.
6053 (checkdoc-output-mode): Use setq-local.
6054 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6055 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6056 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6057 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6058 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6059 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6060 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6061 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6062
ad9dcd70
SM
6063 * ido.el (ido-completion-help): Fix up compiler warning.
6064
77187e6f
JB
60652013-08-09 Juanma Barranquero <lekktu@gmail.com>
6066
6067 * frameset.el (frameset-p): Add autoload cookie.
6068 (frameset--jump-to-register): New function, based on code moved from
6069 register.el.
6070 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6071
6072 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6073 (frameset-restore, frameset-save, frameset-session-filter-alist):
6074 Remove declarations.
6075 (register-alist): Doc fix.
6076 (frameset-to-register): Move to frameset.el.
6077 (jump-to-register, describe-register-1): Remove frameset-specific code.
6078
9d3aa82c
JB
60792013-08-08 Juanma Barranquero <lekktu@gmail.com>
6080
6081 * allout-widgets.el (allout-widgets-pre-command-business)
6082 (allout-widgets-post-command-business)
6083 (allout-widgets-after-change-handler)
6084 (allout-decorate-item-and-context, allout-set-boundary-marker)
6085 (allout-body-modification-handler)
6086 (allout-graphics-modification-handler): Mark ignored arguments.
6087 (allout-widgets-post-command-business)
6088 (allout-widgets-exposure-change-processor)
6089 (allout-widgets-exposure-undo-processor)
6090 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6091 (allout-parse-item-at-point, allout-decorate-item-guides)
6092 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6093 * allout.el (epa-passphrase-callback-function): Declare.
6094 (allout-overlay-insert-in-front-handler)
6095 (allout-overlay-interior-modification-handler)
6096 (allout-isearch-end-handler, allout-chart-siblings)
6097 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6098 (allout-yank-processing, allout-process-exposed)
6099 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6100 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6101 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6102 (lisp-indent-defform): Mark ignored arguments.
6103 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6104 (calculate-lisp-indent): Remove unused variables.
6105 * international/characters.el (indian-2-column, arabic-2-column)
6106 (tibetan): Mark ignored arguments.
6107 (use-cjk-char-width-table): Mark ignored arguments.
6108 Remove unused variables.
6109 * international/fontset.el (build-default-fontset-data)
6110 (x-compose-font-name, create-fontset-from-fontset-spec):
6111 Mark ignored arguments.
6112 (fontset-plain-name): Remove unused variables.
6113 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6114 (keyboard-coding-system): Mark ignored arguments.
6115 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6116 * help.el (resize-temp-buffer-window):
6117 * window.el (display-buffer-in-major-side-window)
6118 (display-buffer-in-side-window, display-buffer-in-previous-window):
6119 Remove unused variables.
6120 * isearch.el (isearch-forward-symbol):
6121 * version.el (emacs-bzr-version-bzr):
6122 * international/mule-cmds.el (current-language-environment):
6123 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6124 (x-handle-display):
6125 * term/pc-win.el (x-list-fonts, x-display-planes)
6126 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6127 (x-server-version, x-display-screens, x-display-mm-height)
6128 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6129 (x-selection-owner-p, x-own-selection-internal)
6130 (x-disown-selection-internal, x-get-selection-internal)
6131 (msdos-initialize-window-system):
6132 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6133 * term/x-win.el (x-handle-no-bitmap-icon):
6134 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6135 (vc-default-find-file-hook, vc-default-extra-menu):
6136 Mark ignored arguments.
6137
0ca3f70e
SM
61382013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6139
6140 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6141 break-condition in the context of the debugged code (bug#12685).
6142
74c5d24c
CS
61432013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6144
6145 * comint.el:
6146 Do not use an overlay to highlight the last prompt. (Bug#14744)
6147 (comint-mode): Make comint-last-prompt buffer local.
6148 (comint-last-prompt): New variable.
6149 (comint-last-prompt-overlay): Remove. Superseded by
6150 comint-last-prompt.
0ca3f70e
SM
6151 (comint-snapshot-last-prompt, comint-output-filter):
6152 Use comint-last-prompt.
74c5d24c 6153
c03c02ee
JB
61542013-08-08 Juanma Barranquero <lekktu@gmail.com>
6155
a3738d20 6156 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6157 (frameset-save): Check validity of the resulting frameset.
6158
04263d23
XF
61592013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6160
6161 * ido.el (ido-record-command): Add doc string.
6162
76c5e5ab
JB
61632013-08-08 Juanma Barranquero <lekktu@gmail.com>
6164
6165 * frameset.el (frameset): Do not disable creation of the default
6166 frameset-p predicate. Doc fix.
6167 (frameset-valid-p): New function, copied from the old predicate-p.
6168 Add additional checks.
6169 (frameset-restore): Check with frameset-valid-p.
6170 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6171 (frameset-name, frameset-description, frameset-properties)
6172 (frameset-states): Add docstring.
f9dbf1cb
JB
6173 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6174 (frameset-filter-alist): Doc fixes.
76c5e5ab 6175
bd0c3c0b
JB
61762013-08-08 Juanma Barranquero <lekktu@gmail.com>
6177
6178 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6179
c735544c
SM
61802013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6181
6182 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6183 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6184 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6185 (byte-compile-normal-call): Remove obsolescence check.
6186
2805a651
JB
61872013-08-08 Juanma Barranquero <lekktu@gmail.com>
6188
3677ffeb
JB
6189 * frameset.el (frameset-restore): Doc fix.
6190
2805a651
JB
6191 * register.el (frameset-frame-id, frameset-frame-with-id)
6192 (frameset-p, frameset-restore, frameset-save): Declare.
6193 (register-alist): Document framesets.
6194 (frameset-session-filter-alist): Declare.
6195 (frameset-to-register): New function.
6196 (jump-to-register): Implement jumping to framesets. Doc fix.
6197 (describe-register-1): Describe framesets.
6198
6199 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6200
a912c016
JB
62012013-08-07 Juanma Barranquero <lekktu@gmail.com>
6202
6203 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6204 Use lexical-binding.
6205
6206 * frameset.el (frameset): Use type vector, not list (incompatible
6207 change). Do not declare a new constructor, use the default one.
6208 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6209 `name' and `description', respectively, and add read-only slot
6210 `timestamp'. Doc fixes.
6211 (frameset-copy, frameset-persistent-filter-alist)
6212 (frameset-filter-alist, frameset-switch-to-gui-p)
6213 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6214 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6215 (frameset-filter-iconified, frameset-keep-original-display-p):
6216 Doc fixes.
6217 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6218 Rename from frameset-filter-(save|restore)-param. All callers changed.
6219 Doc fix.
6220 (frameset-p): Adapt to change to vector and be more thorough.
6221 Change arg name to OBJECT. Doc fix.
6222 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6223 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6224 All callers changed.
6225 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6226 All callers changed.
6227 (frameset--record-minibuffer-relationships): Rename from
6228 frameset--process-minibuffer-frames. All callers changed.
6229 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6230 Use new default constructor (again). Doc fix.
6231 (frameset--find-frame-if): Rename from `frameset--find-frame.
6232 All callers changed.
6233 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6234 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6235 Doc fix.
6236 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6237 PARAMETERS and WINDOW-STATE, respectively.
6238 (frameset-restore): Add new keyword argument PREDICATE.
6239 Reset frameset--target-display to nil. Doc fix.
6240
bb41480a
SM
62412013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6242
f001e98e
SM
6243 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6244 (bat-mode): Use it.
6245 (bat-mode-syntax-table): Mark \n as end-of-comment.
6246 (bat-font-lock-keywords): Remove comment rule.
6247
7679edb1
SM
6248 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6249 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6250
bb41480a
SM
6251 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6252 (byte-compile-callargs-warn): Use `push'.
6253 (byte-compile-arglist-warn): Ignore higher-order "calls".
6254 (byte-compile-file-form-autoload): Use `pcase'.
6255 (byte-compile-function-form): If quoting a symbol, check that it exists.
6256
cdc1ebb9
EZ
62572013-08-07 Eli Zaretskii <eliz@gnu.org>
6258
6259 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6260 and add a few popular commands found in batch files.
6261 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6262 (dos-mode): Doc fixes.
6263
312b1740
SM
62642013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6265
6266 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6267 (dos-mode): Use setq-local. Add space after "rem".
6268 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6269 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6270
400a3178
AM
62712013-08-07 Arni Magnusson <arnima@hafro.is>
6272
6273 * progmodes/dos.el: New file.
6274 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6275 dos-mode.
6276
3b5c03d3
GM
62772013-08-06 Glenn Morris <rgm@gnu.org>
6278
6279 * calendar/calendar.el: Add new faces, and day-header-array.
6280 (calendar-weekday-header, calendar-weekend-header)
6281 (calendar-month-header): New faces.
6282 (calendar-day-header-construct): New function.
6283 (calendar-day-header-width): Also :set calendar-day-header-array.
6284 (calendar-american-month-header, calendar-european-month-header)
6285 (calendar-iso-month-header): Use calendar- faces.
6286 (calendar-generate-month):
6287 Use calendar-day-header-array for day headers; apply faces to them.
6288 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6289 (calendar-abbrev-construct): Add optional maxlen argument.
6290 (calendar-day-name-array): Doc fix.
6291 (calendar-day-name-array, calendar-abbrev-length)
6292 (calendar-day-abbrev-array):
6293 Also :set calendar-day-header-array, and maybe redraw.
6294 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6295 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6296 (calendar-day-name): Add option to use header array.
6297
ec6a2d7a
LMI
62982013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6299
6300 * net/shr.el (shr-render-td): Remove debugging.
6301 (shr-render-td): Make width computation consistent by defaulting
6302 all zero-width columns to 10 characters. This may not be optimal,
6303 but it's at least consistent.
2122cb6d
LMI
6304 (shr-make-table-1): Redo last change to fix the real problem in
6305 colspan handling.
ec6a2d7a 6306
ed4fd9c5
DA
63072013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6308
0ca3f70e
SM
6309 * files.el (cache-long-line-scans):
6310 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6311
64e22afe
JB
63122013-08-06 Juanma Barranquero <lekktu@gmail.com>
6313
024b38fc
JB
6314 * frameset.el (frameset, frameset-filter-alist)
6315 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6316 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6317 (frameset-compute-pos): Rename from frameset--compute-pos,
6318 and add docstring.
6319 (frameset-move-onscreen): Use frameset-compute-pos.
6320 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6321
64e22afe
JB
6322 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6323 Fix typos in docstrings.
6324
c8c2aca8
DA
63252013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6326
6327 * frame.el (get-other-frame): Tiny cleanup.
6328
1d237bba
JB
63292013-08-06 Juanma Barranquero <lekktu@gmail.com>
6330
8951efef
JB
6331 * vc/vc.el (vc-default-ignore-completion-table):
6332 Silence byte-compiler warning.
6333
307764cc
JB
6334 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6335 slot , which can indeed be nil.
6336 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6337 Move entry for `left' from persistent to live filter alist.
6338 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6339 Doc fixes.
6340 (frameset-filter-params): When restoring a frame, copy items added to
6341 `filtered', to avoid unwittingly modifying the original parameters.
6342 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6343 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6344
1d237bba
JB
6345 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6346 to use looking-at-p instead of looking-at. (Bug#15028)
6347
dc6c0eda
SM
63482013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6349
6350 Revert introduction of isearch-filter-predicates (bug#14714).
6351 Rely on add-function instead.
6352 * isearch.el (isearch-filter-predicates): Rename it back to
6353 isearch-filter-predicate.
6354 (isearch-message-prefix): Use advice-function-mapc and advice
6355 properties to get the isearch-message-prefix.
6356 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6357 instead of run-hook-with-args-until-failure.
6358 (isearch-filter-visible): Not obsolete any more.
6359 * loadup.el: Preload nadvice.
6360 * replace.el (perform-replace): Revert to funcall
6361 instead of run-hook-with-args-until-failure.
6362 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6363 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6364 dired-isearch-filenames-toggle; make it into a proper minor mode.
6365 Use add/remove-function.
6366 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6367 Call the minor-mode rather than add/remove-hook.
6368 (dired-isearch-filter-filenames):
6369 Remove isearch-message-prefix property.
6370 * info.el (Info--search-loop): New function, extracted from Info-search.
6371 Funcall isearch-filter-predicate instead of
6372 run-hook-with-args-until-failure isearch-filter-predicates.
6373 (Info-search): Use it.
6374 (Info-mode): Use isearch-filter-predicate instead of
6375 isearch-filter-predicates.
6376
290d5b58
DA
63772013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6378
6379 Do not call to `selected-window' where it is assumed by default.
6380 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6381 `window-hscroll', `window-width', `window-height', `window-buffer',
6382 `window-frame', `window-start', `window-point', `next-window'
6383 and `window-display-table'.
6384 * abbrev.el (abbrev--default-expand):
6385 * bs.el (bs--show-with-configuration):
6386 * buff-menu.el (Buffer-menu-mouse-select):
6387 * calc/calc.el (calc):
6388 * calendar/calendar.el (calendar-generate-window):
6389 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6390 (diary-make-entry):
6391 * comint.el (send-invisible, comint-dynamic-complete-filename)
6392 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6393 * completion.el (complete):
6394 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6395 * disp-table.el (describe-current-display-table):
6396 * doc-view.el (doc-view-insert-image):
6397 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6398 * ehelp.el (with-electric-help):
6399 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6400 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6401 * emacs-lisp/helper.el (Helper-help-scroller):
6402 * emulation/cua-base.el (cua--post-command-handler-1):
6403 * eshell/esh-mode.el (eshell-output-filter):
6404 * ffap.el (ffap-gnus-wrapper):
6405 * help-macro.el (make-help-screen):
6406 * hilit-chg.el (highlight-compare-buffers):
6407 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6408 * hl-line.el (global-hl-line-highlight):
6409 * icomplete.el (icomplete-simple-completing-p):
6410 * isearch.el (isearch-done):
6411 * jit-lock.el (jit-lock-stealth-fontify):
6412 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6413 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6414 * mpc.el (mpc-tagbrowser, mpc):
6415 * net/rcirc.el (rcirc-any-buffer):
6416 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6417 * play/landmark.el (landmark-max-width, landmark-max-height):
6418 * play/zone.el (zone):
6419 * progmodes/compile.el (compilation-goto-locus):
6420 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6421 * progmodes/etags.el (find-tag-other-window):
6422 * progmodes/fortran.el (fortran-column-ruler):
6423 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6424 * progmodes/verilog-mode.el (verilog-point-text):
6425 * reposition.el (reposition-window):
6426 * rot13.el (toggle-rot13-mode):
6427 * server.el (server-switch-buffer):
6428 * shell.el (shell-dynamic-complete-command)
6429 (shell-dynamic-complete-environment-variable):
6430 * simple.el (insert-buffer, set-selective-display)
6431 (delete-completion-window):
6432 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6433 (speedbar-recenter):
6434 * startup.el (fancy-splash-head):
6435 * textmodes/ispell.el (ispell-command-loop):
6436 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6437 * tutorial.el (help-with-tutorial):
6438 * vc/add-log.el (add-change-log-entry):
6439 * vc/compare-w.el (compare-windows):
6440 * vc/ediff-help.el (ediff-indent-help-message):
6441 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6442 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6443 (ediff-setup-control-frame):
6444 * vc/emerge.el (emerge-position-region):
6445 * vc/pcvs-util.el (cvs-bury-buffer):
6446 * window.el (walk-windows, mouse-autoselect-window-select):
6447 * winner.el (winner-set-conf, winner-undo): Related users changed.
6448
38276e01
JB
64492013-08-05 Juanma Barranquero <lekktu@gmail.com>
6450
6451 * frameset.el (frameset--set-id): Doc fix.
6452 (frameset-frame-id, frameset-frame-id-equal-p)
6453 (frameset-locate-frame-id): New functions.
6454 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6455 (frameset-restore): Use them.
6456
12b4c0ea
DA
64572013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6458
6459 Do not call to `selected-frame' where it is assumed by default.
6460 Affected functions are `raise-frame', `redraw-frame',
6461 `frame-first-window', `frame-terminal' and `delete-frame'.
6462 * calendar/appt.el (appt-disp-window):
6463 * epg.el (epg-wait-for-completion):
6464 * follow.el (follow-delete-other-windows-and-split)
6465 (follow-avoid-tail-recenter):
6466 * international/mule.el (set-terminal-coding-system):
6467 * mail/rmail.el (rmail-mail-return):
6468 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6469 * progmodes/f90.el (f90-add-imenu-menu):
6470 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6471 * server.el (server-switch-buffer):
6472 * simple.el (delete-completion-window):
6473 * talk.el (talk):
6474 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6475 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6476 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6477 * vc/ediff.el (ediff-documentation): Related users changed.
6478 * frame.el (selected-terminal): Remove the leftover.
6479
17f25e76
GM
64802013-08-05 Glenn Morris <rgm@gnu.org>
6481
6482 * calendar/calendar.el (calendar-generate-month):
6483 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6484 (calendar-generate-month, calendar-font-lock-keywords):
6485 Fix for calendar-day-header-width > length of any day name.
17f25e76 6486
063233c3
JB
64872013-08-05 Juanma Barranquero <lekktu@gmail.com>
6488
6489 * desktop.el (desktop-clear): Use new name of sort predicate.
6490
6491 * frameset.el (frameset): Add docstring. Move :version property to its
6492 own `version' slot.
6493 (frameset-copy): Rename from copy-frameset.
6494 (frameset-p): Check more thoroughly.
6495 (frameset-prop): Do not check for :version, which is no longer a prop.
6496 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6497 Use new :never value instead of t.
6498 (frameset-filter-alist): Expand and clarify docstring.
6499 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6500 (frameset-filter-minibuffer, frameset-filter-save-param)
6501 (frameset-filter-restore-param, frameset-filter-iconified):
6502 Add pointer to docstring of frameset-filter-alist.
6503 (frameset-filter-params): Rename filter values to be more meaningful:
6504 :never instead of t, and reverse the meanings of :save and :restore.
6505 (frameset--process-minibuffer-frames): Clarify error message.
6506 (frameset-save): Avoid unnecessary and confusing call to framep.
6507 Use new BOA constructor for framesets.
6508 (frameset--reuse-list): Doc fix.
6509 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6510 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6511 (frameset-minibufferless-first-p): Doc fix.
6512 Rename from frameset-sort-frames-for-deletion.
6513 (frameset-restore): Doc fixes. Use new function names.
6514 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6515
d5671a82
JB
65162013-08-04 Juanma Barranquero <lekktu@gmail.com>
6517
6518 * desktop.el (desktop-restore-forces-onscreen)
6519 (desktop-restore-reuses-frames): Document :keyword constant values.
6520 (desktop-filter-parameters-alist): Remove, now identical to
6521 frameset-filter-alist.
6522 (desktop--filter-tty*): Remove, moved to frameset.el.
6523 (desktop-save-frameset, desktop-restore-frameset):
6524 Do not pass :filters argument.
6525
6526 * frameset.el (frameset-live-filter-alist)
6527 (frameset-persistent-filter-alist): New variables.
6528 (frameset-filter-alist): Use them. Add autoload cookie.
6529 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6530 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6531 `frameset--id' (it's supposed to be internal to frameset.el).
6532 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6533 (frameset--initial-params): New function.
6534 (frameset--get-frame): Use it. Doc fix.
6535 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6536 Accept :all, not 'all.
6537 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6538 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6539 with fbound symbols. Fix frame id matching, and remove matching ids if
6540 the frame being restored is deleted. Obey :delete.
6541
671d5c16
SM
65422013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6543
6544 * subr.el (macrop): New function.
6545 (text-clone--maintaining): New var.
6546 (text-clone--maintain): Rename from text-clone-maintain. Use it
6547 instead of inhibit-modification-hooks.
6548
6549 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6550 a proxy, so as handle autoloads and redefinitions of the target.
6551 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6552
6553 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6554 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6555 (pcase--mutually-exclusive-p): New function.
6556 (pcase--split-consp): Use it.
6557 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6558 mutually exclusive with the current predicate.
6559
6560 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6561 (edebug-macrop): Remove. Use `macrop' instead.
6562 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6563 (ad-macro-p):
6564 * eshell/esh-cmd.el (eshell-macrop):
6565 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6566
1d44e9dc
SM
65672013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6568
6569 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6570 (advice-mapc): New function, using it.
6571 (advice-function-member-p): New function.
6572 (advice--normalize): Store the cdr in advice--saved-rewrite since
6573 that's the part that will be changed.
6574 (advice--symbol-function): New function.
6575 (advice-remove): Handle removal before the function is defined.
6576 Adjust to new advice--saved-rewrite.
6577 (advice-member-p): Use advice-function-member-p and
6578 advice--symbol-function.
6579
5414a283
JB
65802013-08-04 Juanma Barranquero <lekktu@gmail.com>
6581
51d30f2c
JB
6582 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6583 (frameset-filter-minibuffer): Doc fix.
6584 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6585 (frameset--set-id, frameset--process-minibuffer-frames)
6586 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6587 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6588
5414a283
JB
6589 * desktop.el (desktop-clear): Only delete frames when called
6590 interactively and desktop-restore-frames is non-nil. Doc fix.
6591 (desktop-read): Set desktop-saved-frameset to nil.
6592
ab419665
XF
65932013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6594
6595 * vc/vc.el (vc-ignore): Rewrite.
6596 (vc-default-ignore-completion-table):
6597 (vc--read-lines):
6598 (vc--add-line, vc--remove-regexp): New functions.
6599
6600 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6601 (vc-svn-ignore-completion-table): New function.
6602
6603 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6604 (vc-hg-ignore-completion-table):
6605 (vc-hg-find-ignore-file): New functions.
6606
6607 * vc/vc-git.el (vc-git-ignore): Rewrite.
6608 (vc-git-ignore-completion-table):
6609 (vc-git-find-ignore-file): New functions.
6610
6611 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6612
6613 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6614 (vc-bzr-ignore-completion-table):
6615 (vc-bzr-find-ignore-file): New functions.
6616
2613dea2
JB
66172013-08-03 Juanma Barranquero <lekktu@gmail.com>
6618
6619 * frameset.el (frameset-prop): New function and setter.
6620 (frameset-save): Do not modify frame list passed by the caller.
6621
9c959872
SM
66222013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6625
a104f656
SM
66262013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6627
70122acf
SM
6628 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6629 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6630
a104f656
SM
6631 * custom.el (custom-initialize-default, custom-initialize-set)
6632 (custom-initialize-reset, custom-initialize-changed): Affect the
6633 toplevel-default-value (bug#6275, bug#14586).
6634 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6635 for bug#6275.
6636
f078d570
JB
66372013-08-02 Juanma Barranquero <lekktu@gmail.com>
6638
185e3b5a
JB
6639 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6640 Add cl-def* expressions.
6641
f078d570
JB
6642 * frameset.el (frameset-filter-params): Fix order of arguments.
6643
9421876d
JB
66442013-08-02 Juanma Barranquero <lekktu@gmail.com>
6645
6646 Move code related to saving frames to frameset.el.
6647 * desktop.el: Require frameset.
6648 (desktop-restore-frames): Doc fix.
6649 (desktop-restore-reuses-frames): Rename from
6650 desktop-restoring-reuses-frames.
6651 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6652 (desktop-clear): Clear frames too.
6653 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6654 (desktop--filter-tty*, desktop-save, desktop-read):
6655 Use frameset functions.
6656 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6657 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6658 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6659 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6660 (desktop--process-minibuffer-frames, desktop-save-frames)
6661 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6662 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6663 (desktop--sort-states, desktop-restoring-frames-p)
6664 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6665 (desktop-restoring-frameset-p, desktop-restore-frameset)
6666 (desktop--check-dont-save, desktop-save-frameset): New functions.
6667 (desktop--app-id): New constant.
6668 (desktop-first-buffer, desktop-buffer-ok-count)
6669 (desktop-buffer-fail-count): Move before first use.
6670 * frameset.el: New file.
6671
76dc5996
SM
66722013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6673
6674 * files.el: Use lexical-binding.
6675 (dir-locals-read-from-file): Remove unused `err' variable.
6676 (hack-dir-local-variables--warned-coding): New var.
6677 (hack-dir-local-variables): Use it to avoid repeated warnings.
6678 (make-backup-file-name--default-function): New function.
6679 (make-backup-file-name-function): Use it as default.
6680 (buffer-stale--default-function): New function.
6681 (buffer-stale-function): Use it as default.
6682 (revert-buffer-insert-file-contents--default-function): New function.
6683 (revert-buffer-insert-file-contents-function): Use it as default.
6684 (insert-directory): Avoid add-to-list.
6685
6686 * autorevert.el (auto-revert-handler): Simplify.
6687 Use buffer-stale--default-function.
6688
06d36e2b
TH
66892013-08-01 Tassilo Horn <tsdh@gnu.org>
6690
5f648ab4
TH
6691 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6692
06d36e2b
TH
6693 * whitespace.el (whitespace-ensure-local-variables): New function.
6694 (whitespace-cleanup-region): Call it.
6695 (whitespace-turn-on): Call it.
6696
a43dc424
MA
66972013-08-01 Michael Albinus <michael.albinus@gmx.de>
6698
6699 Complete file name handlers.
6700
6701 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6702 (tramp-handle-verify-visited-file-modtime)
6703 (tramp-handle-file-notify-rm-watch): New functions.
6704 (tramp-call-process): Do not bind `default-directory'.
6705
44e18199
JB
6706 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6707 Order alphabetically.
a43dc424
MA
6708 [access-file, add-name-to-file, dired-call-process]:
6709 [dired-compress-file, file-acl, file-notify-rm-watch]:
6710 [file-ownership-preserved-p, file-selinux-context]:
6711 [make-directory-internal, make-symbolic-link, set-file-acl]:
6712 [set-file-selinux-context, set-visited-file-modtime]:
6713 [verify-visited-file-modtime]: Add handler.
6714 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6715
6716 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6717 [file-notify-add-watch, file-notify-rm-watch]:
6718 [set-file-times, set-visited-file-modtime]:
6719 [verify-visited-file-modtime]: Add handler.
6720 (with-tramp-gvfs-error-message)
6721 (tramp-gvfs-handle-set-visited-file-modtime)
6722 (tramp-gvfs-fuse-file-name): Remove.
6723 (tramp-gvfs-handle-file-notify-add-watch)
6724 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6725 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6726
44e18199
JB
6727 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6728 Order alphabetically.
a43dc424
MA
6729 [file-notify-rm-watch ]: Use default Tramp handler.
6730 [executable-find]: Remove private handler.
6731 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6732 `default-directory'.
6733 (tramp-sh-handle-executable-find)
6734 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6735 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6736 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6737 Do not use `format' in `tramp-message'.
6738
6739 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6740 [file-notify-rm-watch, set-visited-file-modtime]:
6741 [verify-visited-file-modtime]: Add handler.
6742 (tramp-smb-call-winexe): Do not bind `default-directory'.
6743
7188b515
XF
67442013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6745
6746 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6747
2412ee1a
DG
67482013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6749
6750 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6751 use it.
6752 (log-view-diff-changeset): Same.
6753 (log-view-diff-common): Call backend command `previous-revision'
6754 to find out the previous revision, in both cases. Swap the
6755 variables `to' and `fr', so that `fr' usually refers to the
6756 earlier revision (Bug#14989).
6757
5002a754
KRC
67582013-07-31 Kan-Ru Chen <kanru@kanru.info>
6759
6760 * ibuf-ext.el (ibuffer-filter-by-filename):
6761 Make it work with dired buffers too.
6762
44e18199 67632013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6764
6765 * emacs-lisp/re-builder.el (reb-color-display-p):
6766 * files.el (save-buffers-kill-terminal):
6767 * net/browse-url.el (browse-url):
6768 * server.el (server-save-buffers-kill-terminal):
6769 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6770 Prefer nil to selected-frame for the first arg of frame-parameter.
6771
aeca3fbb
XF
67722013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6773
6774 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6775
158bc55c
SB
67762013-07-30 Stephen Berman <stephen.berman@gmx.net>
6777
6778 * minibuffer.el (completion--twq-all): Try and preserve each
6779 completion's case choice (bug#14907).
6780
d50fceab
LMI
67812013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6782
ac38e731
LMI
6783 * net/network-stream.el (open-network-stream): Mention the new
6784 :nogreeting parameter.
6785 (network-stream-open-starttls): Use the :nogreeting parameter
6786 (bug#14938).
6787
1211de50
LMI
6788 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6789
997798bf
LMI
6790 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6791 more natural than popping.
6792
d50fceab 6793 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6794 (shr-urlify): Highlight under mouse.
d50fceab 6795
5c09de04
XF
67962013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6797
207d1d04
XF
6798 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6799
6800 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6801
5c09de04
XF
6802 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6803 buffer for output.
6804
3cd51eaa
XF
6805 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6806 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6807
44e18199 6808 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6809 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6810
6811 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6812
6813 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6814 buffer for output.
6815
35a89bdd
EZ
68162013-07-29 Eli Zaretskii <eliz@gnu.org>
6817
6818 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6819 initial frame is minibuffer-less. (Bug#14841)
6820
78822e94
MA
68212013-07-29 Michael Albinus <michael.albinus@gmx.de>
6822
6823 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6824 option.
6825
6826 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6827 (tramp-maybe-open-connection): Use it.
6828
9503c190
JB
68292013-07-28 Juanma Barranquero <lekktu@gmail.com>
6830
6831 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6832 minimal set of parameters passed when creating a frame, because
6833 the minibuffer status of a frame cannot be changed later.
6834
d5a845b4
SB
68352013-07-28 Stephen Berman <stephen.berman@gmx.net>
6836
6837 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6838 replace-regexp-in-string and inadvertent omissions in previous change.
6839 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6840 name of filtered items buffer.
d5a845b4 6841
ddeffb17
JB
68422013-07-28 Juanma Barranquero <lekktu@gmail.com>
6843
6844 * desktop.el: Optionally force offscreen frames back onscreen.
6845 (desktop-restoring-reuses-frames): New option.
6846 (desktop--compute-pos, desktop--move-onscreen): New functions.
6847 (desktop--make-frame): Use desktop--move-onscreen.
6848
f5950f7a
AM
68492013-07-27 Alan Mackenzie <acm@muc.de>
6850
6851 Fontify a Java generic method as a function.
6852 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6853 value to t.
6854
ae43b66a
SB
68552013-07-27 Stephen Berman <stephen.berman@gmx.net>
6856
6857 * calendar/todo-mode.el: Add command to rename todo files.
6858 (todo-rename-file): New command.
6859 (todo-key-bindings-t): Add key binding for it. Change the
6860 bindings of todo-filter-regexp-items(-multifile) to use `x'
6861 instead of `r', since the latter is better suited to the new
6862 renaming command.
6863
5ab78d3d
AM
68642013-07-27 Alan Mackenzie <acm@muc.de>
6865
6866 Make Java try-with-resources statement parse properly.
6867 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6868 (c-block-stmt-1-2-key): New language constants/variables.
6869 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6870 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6871 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6872 with c-block-stmt-1-2-key.
5ab78d3d 6873
d85c4d50
JB
68742013-07-27 Juanma Barranquero <lekktu@gmail.com>
6875
6876 * desktop.el (desktop--make-frame): Apply most frame parameters after
6877 creating the frame to force (partially or totally) offscreen frames to
6878 be restored as such.
6879
e4c467f9
XF
68802013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6881
6882 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6883 (Bug#14948)
e4c467f9 6884
7ced0d04
SM
68852013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6888 `base' arg of backtrace-frame.
6889
fec92060
EZ
68902013-07-26 Eli Zaretskii <eliz@gnu.org>
6891
6892 * simple.el (list-processes): Doc fix.
6893
d58d31fb
JB
68942013-07-26 Juanma Barranquero <lekktu@gmail.com>
6895
6896 * desktop.el (desktop--select-frame):
d85c4d50 6897 Try harder to reuse existing frames.
d58d31fb 6898
53ff3e77
SM
68992013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6901 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6902 (edebug-eval): Use backtrace-eval.
6903 (edebug--display, edebug--recursive-edit): Don't let-bind the
6904 edebug-outer-* vars that keep track of variables we locally let-bind.
6905 (edebug-outside-excursion): Don't restore outside values of locally
6906 let-bound vars.
6907 (edebug--display): Use user-error.
6908 (cl-lexical-debug, cl-debug-env): Remove.
6909
045f7a53
JB
69102013-07-26 Juanma Barranquero <lekktu@gmail.com>
6911
6912 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6913 are restored to be sure that they are visible before deleting any
6914 remaining ones.
6915
59070b32
MM
69162013-07-26 Matthias Meulien <orontee@gmail.com>
6917
742a3501
XF
6918 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6919 vc-print-root-log. (Bug#14948)
59070b32 6920
b1fb3596
RS
69212013-07-26 Richard Stallman <rms@gnu.org>
6922
6923 Add aliases for encrypting mail.
6924 * epa.el (epa-mail-aliases): New option.
6925 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6926 Bind inhibit-read-only so read-only text doesn't ruin everything.
6927 (epa-mail-default-recipients): New subroutine broken out.
6928 Handle epa-mail-aliases.
6929
56ea7291
SM
69302013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6931
6932 Add support for lexical variables to the debugger's `e' command.
6933 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6934 vars, except for debugger-outer-match-data.
6935 (debugger-frame-number): Move check for "on a function call" from
6936 callers into it. Add `skip-base' argument.
6937 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6938 (debugger-env-macro): Only reset the state stored in non-variables,
6939 i.e. current-buffer and match-data.
6940 (debugger-eval-expression): Rewrite using backtrace-eval.
6941 * subr.el (internal--called-interactively-p--get-frame): Remove.
6942 (called-interactively-p):
6943 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6944 `base' arg of backtrace-frame instead.
6945
15ac32d5
GM
69462013-07-26 Glenn Morris <rgm@gnu.org>
6947
8358a09d
GM
6948 * align.el (align-regexp): Doc fix. (Bug#14857)
6949 (align-region): Explicit error if subexpression missing/does not match.
6950
15ac32d5
GM
6951 * simple.el (global-visual-line-mode):
6952 Do not duplicate the mode lighter. (Bug#14858)
6953
f47ad11b
MR
69542013-07-25 Martin Rudalics <rudalics@gmx.at>
6955
6956 * window.el (display-buffer): In display-buffer bind
6957 split-window-keep-point to t, bug#14829.
6958
02530987
JB
69592013-07-25 Juanma Barranquero <lekktu@gmail.com>
6960
6961 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6962 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6963 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6964 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6965 Change accordingly.
f63ebeb5
JB
6966 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6967 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6968
6ccb9cab 69692013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6970
6ccb9cab 6971 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6972
cb3a56d2
JB
69732013-07-25 Juanma Barranquero <lekktu@gmail.com>
6974
6975 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6976 parameter to modify-frame-parameters if the value has not changed;
6977 this is a workaround for bug#14949.
6978 (desktop--make-frame): On cl-delete-if call, check parameter name,
6979 not full parameter.
6980
7aa7fff0
XF
69812013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6982
6983 * vc/vc.el (vc-ignore): New function.
6984
6985 * vc/vc-svn.el (vc-svn-ignore): New function.
6986
6987 * vc/vc-hg.el (vc-hg-ignore): New function.
6988
6989 * vc/vc-git.el (vc-git-ignore): New function.
6990
6991 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6992 (vc-dir-ignore): New function.
6993
6994 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6995 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6996
6997 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6998
6999 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7000
889acc5c
JB
70012013-07-24 Juanma Barranquero <lekktu@gmail.com>
7002
7003 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7004 (desktop-restore-frames): Warn when deleting an existing frame failed.
7005
86c40970
GM
70062013-07-24 Glenn Morris <rgm@gnu.org>
7007
7008 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7009
d5d3c58a
MA
70102013-07-24 Michael Albinus <michael.albinus@gmx.de>
7011
7012 * filenotify.el (file-notify-supported-p):
7013 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7014 Remove functions.
7015
7016 * autorevert.el (auto-revert-use-notify):
7017 (auto-revert-notify-add-watch):
7018 * net/tramp.el (tramp-file-name-for-operation):
7019 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7020 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7021 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7022 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7023 Remove `file-notify-supported-p' entry.
7024
d100084b
GM
70252013-07-24 Glenn Morris <rgm@gnu.org>
7026
7027 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7028 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7029
ac93e56b
SM
70302013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7031
249eea30
SM
7032 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7033 checked with memq (bug#14935).
7034
ac93e56b
SM
7035 * files.el (revert-buffer-function): Use a non-nil default.
7036 (revert-buffer-preserve-modes): Declare var to
7037 provide access to the `preserve-modes' argument.
7038 (revert-buffer): Let-bind it.
7039 (revert-buffer--default): New function, extracted from revert-buffer.
7040
2cdeb903
SM
70412013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7042
7043 * lpr.el: Signal print errors more prominently.
7044 (print-region-function): Don't default to nil.
7045 (lpr-print-region): New function, extracted from print-region-1.
7046 Check lpr's return value and signal an error in case of problem.
7047 (print-region-1): Use it.
7048 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7049 versions instead.
7050 (ps-printer-name): Default to nil.
7051 (ps-printer-name-option): Default to lpr-printer-switch.
7052 (ps-print-region-function): Don't default to nil.
7053 (ps-postscript-code-directory): Simplify default.
7054 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7055 (ps-string-list, ps-eval-switch, ps-flatten-list)
7056 (ps-flatten-list-1): Remove.
7057 (ps-multibyte-buffer): Avoid setq.
7058 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7059 (print-region-function, ps-print-region-function): Don't set them here.
7060
73600831
XF
70612013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7062
0e55c076
XF
7063 * ido.el (ido-fractionp):
7064 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7065 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7066 (ido-max-directory-size, ido-max-dir-file-cache)
7067 (ido-decorations): Doc fix.
7068
73600831
XF
7069 * ansi-color.el: Fix old URL.
7070
3d012865
MM
70712013-07-23 Michael R. Mauger <michael@mauger.com>
7072
e903c210 7073 * progmodes/sql.el: Version 3.3
3d012865
MM
7074 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7075 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7076 (sql-interactive-remove-continuation-prompt): Rewrite, use
7077 functions above. Fix continuation prompt and complete output line
7078 handling.
7079 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7080 redirected output buffer.
7081 (sql-mode): Restore deleted code (Bug#13591).
7082
da77a2e2
JB
70832013-07-23 Juanma Barranquero <lekktu@gmail.com>
7084
7085 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7086
80ff0c71
MA
70872013-07-23 Michael Albinus <michael.albinus@gmx.de>
7088
7089 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7090
7091 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7092 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7093 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7094
b61d71e4
JB
70952013-07-23 Juanma Barranquero <lekktu@gmail.com>
7096
7097 * desktop.el (desktop-clear): Simplify; remove useless checks
7098 against invalid buffer names.
7099 (desktop-list*): Use cl-list*.
7100 (desktop-buffer-info, desktop-create-buffer): Simplify.
7101
c3512092
LL
71022013-07-23 Leo Liu <sdl.web@gmail.com>
7103
7104 * bookmark.el (bookmark-make-record): Restore NAME as a default
7105 value. (Bug#14933)
7106
0ac26976
SM
71072013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7108
7d22ce18
SM
7109 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7110 extracted from autoload--insert-text.
7111 (autoload--insert-text): Remove.
7112 (autoload--print-cookie-text): New function, extracted from
7113 autoload--insert-cookie-text.
7114 (autoload--insert-cookie-text): Remove.
7115 (autoload-generate-file-autoloads): Adjust calls accordingly.
7116
9b2607e8
SM
7117 * winner.el (winner-hook-installed-p): Remove.
7118 (winner-mode): Simplify accordingly.
7119
c43a8618
SM
7120 * subr.el (add-to-list): Fix compiler-macro when `append' is
7121 not constant. Don't use `cl-member' for the base case.
7122
0ac26976
SM
7123 * progmodes/subword.el: Fix boundary case (bug#13758).
7124 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7125 own group.
7126 (subword-backward-regexp): Make it a constant.
7127 (subword-forward-internal): Don't treat a trailing capital as the
7128 beginning of a word.
7129
6874724a
AR
71302013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7131
7132 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7133 global value of tabulated-list-revert-hook (bug#14930).
7134
70f1b5e8
JB
71352013-07-22 Juanma Barranquero <lekktu@gmail.com>
7136
a1c80d9d
JB
7137 * desktop.el: Require 'cl-lib.
7138 (desktop-before-saving-frames-functions): New hook.
7139 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7140 for frames being saved. Rename from desktop--save-minibuffer-frames.
7141 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7142 Do not save frames with non-nil `desktop-dont-save' parameter.
7143 Filter out deleted frames.
a1c80d9d
JB
7144 (desktop--find-frame): Use cl-find-if.
7145 (desktop--select-frame): Use cl-(first|second|third) to access values
7146 of desktop-mini.
7147 (desktop--make-frame): Use cl-delete-if.
7148 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7149 (desktop-restore-frames): Use cl-(first|second|third) to access values
7150 of desktop-mini. Look for visible frame at the end, not while
7151 restoring frames.
7152
70f1b5e8
JB
7153 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7154 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7155 Use string-match-p, looking-at-p (bug#14927).
7156
728dc3cc
JB
71572013-07-21 Juanma Barranquero <lekktu@gmail.com>
7158
56bc453c
JB
7159 * desktop.el (desktop-saved-frame-states):
7160 Rename from desktop--saved-states; all users changed.
7161 (desktop-save-frames): Rename from desktop--save-frames.
7162 Do not save state to desktop file.
7163 (desktop-save): Save desktop-saved-frame-states to desktop file
7164 and reset to nil.
7165 (desktop-restoring-frames-p): New function.
7166 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7167 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7168 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7169
728dc3cc
JB
7170 * desktop.el: Correctly restore iconified frames.
7171 (desktop--filter-iconified-position): New function.
7172 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7173
862f1c9c
GM
71742013-07-20 Glenn Morris <rgm@gnu.org>
7175
c4074c9f
GM
7176 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7177 Let `message' do the formatting.
7178 (def-gdb-preempt-display-buffer): Add explicit format.
7179
d828e5f9
GM
7180 * image-dired.el (image-dired-track-original-file):
7181 Use with-current-buffer.
7182 (image-dired-track-thumbnail): Use with-current-buffer.
7183 Avoid changing point of wrong window.
7184
862f1c9c
GM
7185 * image-dired.el (image-dired-track-original-file):
7186 Avoid changing point of wrong window. (Bug#14909)
7187
f0398ec1 71882013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7189
7190 * progmodes/gdb-mi.el (gdb-done-or-error):
7191 Guard against "%" in gdb output. (Bug#14127)
7192
1451928f
AS
71932013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7194
763a086d
JB
7195 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7196 (Bug#14826)
f7a03897 7197
1451928f
AS
7198 * international/mule.el (coding-system-iso-2022-flags): Fix last
7199 change.
7200
99107004
KH
72012013-07-20 Kenichi Handa <handa@gnu.org>
7202
763a086d
JB
7203 * international/mule.el (coding-system-iso-2022-flags):
7204 Add `8-bit-level-4'. (Bug#8522)
99107004 7205
48494e06
LMI
72062013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7207
8ba8eec5
LMI
7208 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7209 (bug#14815).
7210
dfbc66e3
LMI
7211 * net/eww.el (eww-process-text-input): Allow inputting when the
7212 point is at the start of the line, as the properties aren't
7213 front-sticky.
7214
48494e06
LMI
7215 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7216 degenerate widths.
7217
77c92cb9
RS
72182013-07-19 Richard Stallman <rms@gnu.org>
7219
aec7da77
RS
7220 * epa.el (epa-popup-info-window): Doc fix.
7221
77c92cb9
RS
7222 * subr.el (split-string): New arg TRIM.
7223
945c5bb1
JB
72242013-07-18 Juanma Barranquero <lekktu@gmail.com>
7225
7226 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7227 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7228
e06ec67f
MA
72292013-07-18 Michael Albinus <michael.albinus@gmx.de>
7230
c7064f05 7231 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7232 `file-notify-support'. Do not autoload. Adapt all uses.
7233 (file-notify-supported-p): New defun.
7234
c7064f05
JB
7235 * autorevert.el (auto-revert-use-notify):
7236 Use `file-notify-supported-p' instead of `file-notify-support'.
7237 Adapt docstring.
e06ec67f
MA
7238 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7239
7240 * net/tramp.el (tramp-file-name-for-operation):
7241 Add `file-notify-supported-p'.
7242
7243 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7244 New defun.
7245 (tramp-sh-file-name-handler-alist): Add it as handler for
7246 `file-notify-supported-p '.
7247
7248 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7249 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7250 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7251 Add `ignore' as handler for `file-notify-*' functions.
7252
5dc8a629
EZ
72532013-07-17 Eli Zaretskii <eliz@gnu.org>
7254
7255 * simple.el (line-move-partial, line-move): Don't start vscroll or
7256 scroll-up if the current line is not taller than the window.
7257 (Bug#14881)
7258
77aea2fb
DG
72592013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7260
7261 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7262 highlight question marks in the method names as strings.
ac72c08d
DG
7263 (ruby-block-beg-keywords): Inline.
7264 (ruby-font-lock-keyword-beg-re): Extract from
7265 `ruby-font-lock-keywords'.
77aea2fb 7266
18c26d81
JD
72672013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7268
7269 * frame.el (blink-cursor-blinks): New defcustom.
7270 (blink-cursor-blinks-done): New defvar.
7271 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7272 (blink-cursor-timer-function): Check if number of blinks has been
7273 done on X and NS.
7274 (blink-cursor-suspend, blink-cursor-check): New defuns.
7275
da48522e
GM
72762013-07-15 Glenn Morris <rgm@gnu.org>
7277
7278 * edmacro.el (edmacro-format-keys): Fix previous change.
7279
0463c1ef
PE
72802013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7281
7282 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7283 The hack didn't work outside English locales anyway.
7284
b43f6451
JB
72852013-07-15 Juanma Barranquero <lekktu@gmail.com>
7286
7287 * simple.el (define-alternatives): Rename from alternatives-define,
7288 per RMS' suggestion.
7289
b958c0ad
JB
72902013-07-14 Juanma Barranquero <lekktu@gmail.com>
7291
7292 * desktop.el (desktop-restore-frames): Change default to t.
7293 (desktop-restore-in-current-display): Now offer more options.
7294 (desktop-restoring-reuses-frames): New customization option.
7295 (desktop--saved-states): Doc fix.
7296 (desktop-filter-parameters-alist): New variable, renamed and expanded
7297 from desktop--excluded-frame-parameters.
7298 (desktop--target-display): New variable.
7299 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7300 (desktop--filter-tty*, desktop--filter-*-color)
7301 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7302 (desktop--filter-save-desktop-parm)
7303 (desktop-restore-in-original-display-p): New functions.
7304 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7305 (desktop--save-minibuffer-frames): New function, inspired by a similar
7306 function from Martin Rudalics.
7307 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7308 (desktop--restore-in-this-display-p): Remove.
7309 (desktop--find-frame): Rename from desktop--find-frame-in-display
7310 and add predicate argument.
7311 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7312 (desktop--reuse-list): New variable.
7313 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7314 New functions.
7315 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7316
f6dd8b36
MA
73172013-07-14 Michael Albinus <michael.albinus@gmx.de>
7318
7319 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7320
2ce3c565
DG
73212013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7322
763a086d
JB
7323 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7324 Highlight conversion methods on Kernel.
2ce3c565 7325
2cdb7698
AM
73262013-07-13 Alan Mackenzie <acm@muc.de>
7327
7328 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7329 and comment it out. This out-commenting enables certain C++
7330 declarations to be parsed correctly.
7331
1a67b811
EZ
73322013-07-13 Eli Zaretskii <eliz@gnu.org>
7333
1b796d6b
EZ
7334 * international/mule.el (define-coding-system): Doc fix.
7335
1a67b811
EZ
7336 * simple.el (default-font-height): Don't call font-info if the
7337 frame's default font didn't change since the frame was created.
7338 (Bug#14838)
7339
58fbe886
LL
73402013-07-13 Leo Liu <sdl.web@gmail.com>
7341
7342 * ido.el (ido-read-file-name): Guard against non-symbol value.
7343
1f0480d4
FEG
73442013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7345
7346 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7347 in nested defuns.
7348
97ead0e5
LL
73492013-07-13 Leo Liu <sdl.web@gmail.com>
7350
7351 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7352 ido-set-matches call. (Bug#6852)
7353
0880a952
DG
73542013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7355
7356 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7357 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7358 Ruby 2.0.
7359 (ruby-font-lock-keywords): Distinguish calls to functions with
7360 module-like names from module references. Highlight character
7361 literals.
7362
a7d8babb
SDJ
73632013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7364
7365 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7366 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7367
acfcc8c5
JB
73682013-07-12 Juanma Barranquero <lekktu@gmail.com>
7369
7370 * desktop.el (desktop--v2s): Remove unused local variable.
7371 (desktop-save-buffer): Make defvar-local; adjust docstring.
7372 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7373 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7374
051f2775
AS
73752013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7376
7377 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7378
f24e7572
GM
73792013-07-12 Eli Zaretskii <eliz@gnu.org>
7380
7381 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7382 (Bug#14842)
7383
539a920c
GM
73842013-07-12 Glenn Morris <rgm@gnu.org>
7385
7386 * doc-view.el: Require cl-lib at runtime too.
7387 (doc-view-remove-if): Remove.
7388 (doc-view-search-next-match, doc-view-search-previous-match):
7389 Use cl-remove-if.
7390
7391 * edmacro.el: Require cl-lib at runtime too.
7392 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7393 (edmacro-mismatch, edmacro-subseq): Remove.
7394
7395 * shadowfile.el: Require cl-lib.
7396 (shadow-remove-if): Remove.
7397 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7398 Use cl-remove-if.
7399
7400 * wid-edit.el: Require cl-lib.
7401 (widget-choose): Use cl-remove-if.
7402 (widget-remove-if): Remove.
7403
7404 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7405 (ebrowse-delete-if-not): Remove.
7406 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7407 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7408 Use cl-delete-if-not.
7409
1048af7c
JB
74102013-07-12 Juanma Barranquero <lekktu@gmail.com>
7411
7412 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7413 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7414
6c0674ee
LL
74152013-07-12 Leo Liu <sdl.web@gmail.com>
7416
7417 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7418
a19b3c2d
GM
74192013-07-11 Glenn Morris <rgm@gnu.org>
7420
4582a01c
GM
7421 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7422 (edebug-gensym-index, edebug-gensym):
7423 Remove reimplementation of cl-gensym.
7424 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7425
7426 * thumbs.el: Require cl-lib at run-time too.
7427 (thumbs-gensym-counter, thumbs-gensym):
7428 Remove reimplementation of cl-gensym.
7429 (thumbs-temp-file): Use cl-gensym.
7430
a19b3c2d
GM
7431 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7432 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7433 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7434 (ert--union, ert--gensym-counter, ert--gensym-counter)
7435 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7436 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7437 (ert-make-test-unbound, ert--expand-should-1)
7438 (ert--expand-should, ert--should-error-handle-error)
7439 (should-error, ert--explain-equal-rec)
7440 (ert--plist-difference-explanation, ert-select-tests)
7441 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7442 Use cl-lib functions rather than reimplementations.
7443
88f6a933
MA
74442013-07-11 Michael Albinus <michael.albinus@gmx.de>
7445
7446 * net/tramp.el (tramp-methods): Extend docstring.
7447 (tramp-connection-timeout): New defcustom.
7448 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7449 (with-tramp-progress-reporter): Simplify.
7450 (tramp-process-actions): Improve messages.
7451
7452 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7453 * net/tramp-sh.el (tramp-maybe-open-connection):
7454 Use `tramp-connection-timeout'.
7455 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7456 (Bug#14808)
7457
a43d577e
LL
74582013-07-11 Leo Liu <sdl.web@gmail.com>
7459
7460 * ido.el (ido-read-file-name): Conform to the requirements of
7461 read-file-name. (Bug#11861)
7462 (ido-read-directory-name): Conform to the requirements of
7463 read-directory-name.
7464
d77974bf
JB
74652013-07-11 Juanma Barranquero <lekktu@gmail.com>
7466
7467 * subr.el (delay-warning): New function.
7468
35cb8a3e
EZ
74692013-07-10 Eli Zaretskii <eliz@gnu.org>
7470
7471 * simple.el (default-line-height): New function.
7472 (line-move-partial, line-move): Use it instead of computing the
7473 line height inline.
7474 (line-move-partial): Always compute ROWH. If the last line is
7475 partially-visible, but its text is completely visible, allow
7476 cursor to enter such a partially-visible line.
7477
525c5c77
MA
74782013-07-10 Michael Albinus <michael.albinus@gmx.de>
7479
7480 Improve error messages. (Bug#14808)
7481
7482 * net/tramp.el (tramp-current-connection): New defvar, moved from
7483 tramp-sh.el.
0ac26976 7484 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7485 needed anymore.
0ac26976
SM
7486 (tramp-error-with-buffer): Show message in minibuffer.
7487 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7488 (with-tramp-progress-reporter): Improve messages.
7489 (tramp-process-actions): Use progress reporter. Delete process in
7490 case of error. Improve messages.
7491
763a086d
JB
7492 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7493 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7494 (tramp-current-connection): Remove.
525c5c77
MA
7495 (tramp-maybe-open-connection): The car of
7496 `tramp-current-connection' are the first 3 slots of the vector.
7497
c7a4d368
TZ
74982013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7499
7500 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7501 inside continued strings.
7502
954b166e
PE
75032013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7504
7505 Timestamp fixes for undo (Bug#14824).
7506 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7507
56973319
LL
75082013-07-10 Leo Liu <sdl.web@gmail.com>
7509
7510 * files.el (require-final-newline): Allow safe local value.
7511 (Bug#14834)
7512
5550a72c
LL
75132013-07-09 Leo Liu <sdl.web@gmail.com>
7514
7515 * ido.el (ido-read-directory-name): Handle fallback.
7516 (ido-read-file-name): Update DIR to ido-current-directory.
7517 (Bug#1516)
c28b9050 7518 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7519
70c46b28
DG
75202013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7521
7522 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7523 "autoload". Remove "warn lower camel case" section, previously
7524 commented out. Highlight negation char. Do not highlight the
7525 target in singleton method definitions.
7526
0b64b838
SM
75272013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7528
7fd72e2c
SM
7529 * faces.el (tty-setup-hook): Declare the hook.
7530
0b64b838
SM
7531 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7532 and detect when a guard/pred depends on local vars (bug#14773).
7533 (pcase--u1): Adjust caller.
7534
ab49d60b
EZ
75352013-07-08 Eli Zaretskii <eliz@gnu.org>
7536
7537 * simple.el (line-move-partial, line-move): Account for
7538 line-spacing.
701d79aa
EZ
7539 (line-move-partial): Avoid setting vscroll when the last
7540 partially-visible line in window is of default height.
ab49d60b 7541
2d756ae0
LMI
75422013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7543
7544 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7545 been used a while.
7546
ed095bd7
JB
75472013-07-07 Juanma Barranquero <lekktu@gmail.com>
7548
7549 * subr.el (read-quoted-char): Remove unused local variable `char'.
7550
f1e6674b
MK
75512013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7552
584ee3fc
GM
7553 * ediff.el (ediff-version): Version update.
7554 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7555 (ediff-merge-with-ancestor-command, ediff-directories-command)
7556 (ediff-directories3-command, ediff-merge-directories-command)
7557 (ediff-merge-directories-with-ancestor-command): New functions.
7558 All are command-line interfaces to ediff: to facilitate calling
7559 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7560
7561 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7562 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7563
584ee3fc
GM
7564 * viper.el (viper-version): Version update.
7565 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7566
584ee3fc
GM
75672013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7570 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7571 (viper-intercept-ESC-key): Simplify.
7572 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7573 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7574 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7575 (viper-setup-ESC-to-escape): New functions.
7576 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7577 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7578
9aff9b38
EZ
75792013-07-07 Eli Zaretskii <eliz@gnu.org>
7580
5165d44a
JB
7581 * simple.el (default-font-height, window-screen-lines):
7582 New functions.
9aff9b38
EZ
7583 (line-move, line-move-partial): Use them instead of
7584 frame-char-height and window-text-height. This makes scrolling
7585 text smoother when the buffer's default face uses a font that is
7586 different from the frame's default font.
7587
1afb1d07
JD
75882013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7589
7590 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7591 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7592
23de972a
EZ
75932013-07-06 Eli Zaretskii <eliz@gnu.org>
7594
7595 * simple.el (line-move-partial): Adjust the row returned by
7596 posn-at-point for the current window-vscroll. (Bug#14567)
7597
54a42486
MA
75982013-07-06 Michael Albinus <michael.albinus@gmx.de>
7599
7600 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7601 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7602 spaces.
7603
34ada5f4
MR
76042013-07-06 Martin Rudalics <rudalics@gmx.at>
7605
7606 * window.el (window-state-put-stale-windows): New variable.
7607 (window--state-put-2): Save list of windows without matching buffer.
7608 (window-state-put): Remove "bufferless" windows if possible.
7609
11e03d89
JB
76102013-07-06 Juanma Barranquero <lekktu@gmail.com>
7611
7612 * simple.el (alternatives-define): Remove leftover :group keyword.
7613 Tweak docstring.
7614
3504a4be
LL
76152013-07-06 Leo Liu <sdl.web@gmail.com>
7616
7617 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7618 (ido-enable-virtual-buffers): New variable.
7619 (ido-buffer-internal, ido-toggle-virtual-buffers)
7620 (ido-make-buffer-list): Use it.
7621 (ido-exhibit): Support turning on and off virtual buffers
7622 automatically.
7623
61e56e2c
JB
76242013-07-06 Juanma Barranquero <lekktu@gmail.com>
7625
7626 * simple.el (alternatives-define): New macro.
7627
321e1a9c
SM
76282013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7629
7630 * subr.el (read-quoted-char): Use read-key.
7631 (sit-for): Let read-event decode tty input (bug#14782).
7632
d610f6dd
SB
76332013-07-05 Stephen Berman <stephen.berman@gmx.net>
7634
7635 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7636 mode command and externally. Fix various related bugs.
7637 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7638 (todo-delete-file): New command.
7639 (todo-check-file): New function.
7640 (todo-show): Handle external deletion of the file we're trying to
7641 show (bug#14688). Replace called-interactively-p by an optional
7642 prefix argument to avoid problematic interaction with catch form
7643 when byte compiled (bug#14702).
7644 (todo-quit): Handle external deletion of the archive's todo file.
7645 Make sure the buffer that was visiting the archive file is still
7646 live before trying to bury it.
7647 (todo-category-completions): Handle external deletion of any
7648 category completion files.
7649 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7650 of todo files, in case of external deletion.
7651 (todo-add-file): Replace unnecessary setq by let-binding.
7652 (todo-find-archive): Check whether there are any archives.
7653 Replace unnecessary setq by let-binding.
7654 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7655 archive buffer whether or not the archive already exists.
7656 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7657 check if the archive is new; if it is, update list of archives.
7658 (todo-default-todo-file): Allow nil to be a valid value for when
7659 there are no todo files.
7660 (todo-reevaluate-default-file-defcustom): Use corrected definition
7661 of todo-default-todo-file.
7662 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7663 (todo-delete-category, todo-show-categories-table)
7664 (todo-category-number): Clarify comment.
7665 (todo-filter-items): Clarify documentation string.
7666 (todo-show-current-file, todo-display-as-todo-file)
7667 (todo-reset-and-enable-done-separator): Tweak documentation string.
7668 (todo-done-separator): Make separator length window-width, since
7669 bug#2749 is now fixed.
7670
ddbdfd6f
MA
76712013-07-05 Michael Albinus <michael.albinus@gmx.de>
7672
321e1a9c
SM
7673 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7674 Support both "gvfs-monitor-dir" and "inotifywait".
7675 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7676 `tramp-sh-file-notify-process-filter'.
7677 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7678 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7679
96eb829a
LL
76802013-07-05 Leo Liu <sdl.web@gmail.com>
7681
7682 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7683
cf13177e
YM
76842013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7685
7686 * frame.el (display-pixel-height, display-pixel-width)
7687 (display-mm-height, display-mm-width): Mention behavior on
7688 multi-monitor setups in docstrings.
7689 (w32-display-monitor-attributes-list): Declare function.
7690 (display-monitor-attributes-list): Use it.
7691
864c58ca
MA
76922013-07-04 Michael Albinus <michael.albinus@gmx.de>
7693
7694 * filenotify.el: New package.
7695
7696 * autorevert.el (top): Require filenotify.el.
7697 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7698 instead.
7699 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7700 (auto-revert-notify-handler): Use `file-notify-*' functions.
7701
7702 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7703
321e1a9c
SM
7704 * net/tramp.el (tramp-file-name-for-operation):
7705 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7706
7707 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7708 for `file-notify-add-watch' and `file-notify-rm-watch'.
7709 (tramp-process-sentinel): Improve trace.
7710 (tramp-sh-handle-file-notify-add-watch)
7711 (tramp-sh-file-notify-process-filter)
7712 (tramp-sh-handle-file-notify-rm-watch)
7713 (tramp-get-remote-inotifywait): New defuns.
7714
96673afe
JL
77152013-07-03 Juri Linkov <juri@jurta.org>
7716
7717 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7718 call of `occur-read-primary-args' to interactive spec.
7719
7720 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7721 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7722
924494f4
MM
77232013-07-03 Matthias Meulien <orontee@gmail.com>
7724
7725 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7726 `Buffer-menu-multi-occur'. Add it to the menu.
7727 (Buffer-menu-mode): Document it in docstring.
7728 (Buffer-menu-multi-occur): New command. (Bug#14673)
7729
56f75efc
DG
77302013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7731
7732 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7733 keywords and built-ins.
7734
9b057d61
GM
77352013-07-03 Glenn Morris <rgm@gnu.org>
7736
208dee4d
GM
7737 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7738
9b057d61
GM
7739 Make info-xref checks case-sensitive by default
7740 * info.el (Info-find-node, Info-find-in-tag-table)
7741 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7742 Add option for exact case matching of nodes.
7743 * info-xref.el (info-xref): New custom group.
7744 (info-xref-case-fold): New option.
7745 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7746
e01aa29c
LL
77472013-07-03 Leo Liu <sdl.web@gmail.com>
7748
7749 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7750
3086ca2e
DG
77512013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7752
7753 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7754 middle of block statement initially, lower the depth. Remove
7755 FIXME comment, not longer valid. Remove middle of block statement
7756 detection, no need to do that anymore since we've been using
7757 `ruby-parse-region' here.
7758
a3b49114
JD
77592013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7760
7761 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7762
08e5c823 77632013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7764
7765 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7766
2addf922
JB
77672013-07-01 Juanma Barranquero <lekktu@gmail.com>
7768
7769 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7770 (desktop-restore-in-current-display): New customization option.
7771 (desktop--excluded-frame-parameters): Add `font'.
7772 (desktop--save-frames): Rename from desktop--save-windows.
7773 (desktop--restore-in-this-display-p): New function.
7774 (desktop--make-full-frame): Remove unwanted width/height from
7775 full(width|height) frames.
7776 (desktop--restore-frames): Rename from desktop--restore-windows.
7777 Obey desktop-restore-current-display. Do not delete old frames or
7778 select a new frame unless we were able to restore at least one frame.
7779
ef099a94
MN
77802013-06-30 Michal Nazarewicz <mina86@mina86.com>
7781
7782 * files.el (find-file-noselect): Simplify conditional expression.
7783
a12bf61e 7784 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
7785 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7786
7787 Add `remember-notes' function to store random notes across Emacs
7788 restarts.
a12bf61e 7789 * textmodes/remember.el (remember-data-file): Add :set callback to affect
ef099a94
MN
7790 notes buffer (if any).
7791 (remember-notes): New command.
7792 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7793 New defcustoms for the `remember-notes' function.
7794 (remember-notes-save-and-bury-buffer): New command.
7795 (remember-notes-mode-map): New variable.
7796 (remember-mode): New minor mode.
7797 (remember-notes--kill-buffer-query): New function.
7798 * startup.el (initial-buffer-choice): Add notes to custom type.
7799
0865d506
EZ
78002013-06-30 Eli Zaretskii <eliz@gnu.org>
7801
0ba54312
EZ
7802 * bindings.el (right-char, left-char): Don't call sit-for, this is
7803 no longer needed. Use arithmetic comparison only for numerical
7804 arguments.
7805
ef099a94
MN
7806 * international/mule-cmds.el (select-safe-coding-system):
7807 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7808
2fae38e5
LMI
78092013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7810
7811 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7812 progression on degenerate tables.
ef099a94 7813 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7814
a47cbd64
JB
78152013-06-30 Juanma Barranquero <lekktu@gmail.com>
7816
7817 Some fixes and improvements for desktop frame restoration.
7818 It is still experimental and disabled by default.
7819 * desktop.el (desktop--save-windows): Put the selected frame at
7820 the head of the list.
7821 (desktop--make-full-frame): New function.
7822 (desktop--restore-windows): Try to re-select the frame that was
7823 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7824 just show an error message and continue. Set up maximized frames
7825 so they have default non-maximized dimensions.
a47cbd64 7826
6dbafa30
DG
78272013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7828
ef099a94
MN
7829 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7830 Don't start heredoc inside a string or comment.
6dbafa30 7831
4c672a0f
EZ
78322013-06-29 Eli Zaretskii <eliz@gnu.org>
7833
7834 * bindings.el (visual-order-cursor-movement): New defcustom.
7835 (right-char, left-char): Provide visual-order cursor motion by
7836 calling move-point-visually. Update the doc strings.
7837
50960f36
KH
78382013-06-28 Kenichi Handa <handa@gnu.org>
7839
7840 * international/mule.el (define-coding-system): New coding system
7841 properties :inhibit-null-byte-detection,
7842 :inhibit-iso-escape-detection, and :prefer-utf-8.
7843 (set-buffer-file-coding-system): If :charset-list property of
7844 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7845 appropriate for setting.
7846
c1ea3abf
JB
7847 * international/mule-cmds.el (select-safe-coding-system):
7848 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7849 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7850
7851 * international/mule-conf.el (prefer-utf-8): New coding system.
7852 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7853 files.
7854
75dbaf9d
IK
78552013-06-28 Ivan Kanis <ivan@kanis.fr>
7856
eadb6068
IK
7857 * net/shr.el (shr-render-region): New function.
7858
75dbaf9d
IK
7859 * net/eww.el: Autoload `eww-browse-url'.
7860
9ea5cf9f
DG
78612013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7862
c1ea3abf
JB
7863 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7864 Adapt to `package-desc-version' being a list.
7865 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7866 archive element.
7867
39c0e36f
JB
78682013-06-27 Juanma Barranquero <lekktu@gmail.com>
7869
7870 New experimental feature to save&restore window and frame setup.
7871 * desktop.el (desktop-save-windows): New defcustom.
7872 (desktop--saved-states): New var.
7873 (desktop--excluded-frame-parameters): New defconst.
7874 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7875 (desktop--restore-windows, desktop--save-windows): New functions.
7876 (desktop-save): Call `desktop--save-windows'.
7877 (desktop-read): Call `desktop--restore-windows'.
7878
7f13406b
LMI
78792013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7880
ef099a94 7881 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7882
1e072639
SB
78832013-06-27 Stephen Berman <stephen.berman@gmx.net>
7884
7885 * info.el (Info-try-follow-nearest-node): Move search for footnote
7886 above search for node name to prevent missing a footnote (bug#14717).
7887
f3e2cbde
SB
78882013-06-27 Stephen Berman <stephen.berman@gmx.net>
7889
7890 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7891
99906aa0
LL
78922013-06-27 Leo Liu <sdl.web@gmail.com>
7893
7894 * net/eww.el (eww-read-bookmarks): Check file size.
7895
539f75f4
SM
78962013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7899 advice--pending if newdef is nil or an autoload (bug#13820).
7900 (advice-mapc): New function.
7901
843571cb
LMI
79022013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7903
7904 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7905 probably.
23a75d7f 7906 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7907 (eww-add-bookmark): New command.
7908 (eww-bookmark-mode): New mode and commands.
a285ce99 7909 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7910 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7911
f2136e1e
GM
79122013-06-26 Glenn Morris <rgm@gnu.org>
7913
eab35f39
GM
7914 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7915 (hfy-size): Handle ttys. (Bug#14668)
7916
f2136e1e
GM
7917 * info-xref.el: Update for Texinfo 5 change in *note format.
7918 (info-xref-node-re, info-xref-note-re): New constants.
7919 (info-xref-check-buffer): Use info-xref-note-re.
7920
a49ff80c
SM
79212013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7922
a343d218
SM
7923 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7924
a49ff80c
SM
7925 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7926 nil terminate the loop (bug#14718).
7927
8308f184
LMI
79282013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7929
7930 * net/eww.el: Rework history traversal. When going forward/back,
7931 put these actions into the history, too, so that they can be
7932 replayed.
26bf2b82 7933 (eww-render): Move the history reset to the correct buffer.
8308f184 7934
ec64c273
JL
79352013-06-25 Juri Linkov <juri@jurta.org>
7936
7937 * files-x.el (modify-dir-local-variable): Change the header comment
7938 in the file with directory local variables. (Bug#14692)
7939
e080a9d7
JL
7940 * files-x.el (read-file-local-variable-value): Add `default'.
7941 (Bug#14710)
7942
bfbc93a1
IK
79432013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7944
7945 * net/eww.el (eww-make-unique-file-name): Create a unique file
7946 name before saving to entering `y' accidentally asynchronously.
7947
79482013-06-25 Ivan Kanis <ivan@kanis.fr>
7949
7950 * net/eww.el (eww-download): New command and keystroke.
7951
16f74f10
LMI
79522013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7953
a49ff80c 7954 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7955
7956 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7957 be more consistent with Info and dired.
7958
7959 * net/eww.el (eww-mode-map): Ditto.
7960
12059709
SM
79612013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7962
7963 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7964 packages from archives.
7965 (package-archive-contents): Change format; include obsolete packages.
7966 (package-desc): Use `dir' to mark builtin packages.
7967 (package--from-builtin): Set the `dir' field to `builtin'.
7968 (generated-autoload-file, version-control): Declare.
7969 (package-compute-transaction): Change first arg and return value to be
7970 lists of package-descs. Adjust to new package-archive-contents format.
7971 (package--add-to-archive-contents): Adjust to new
7972 package-archive-contents format.
7973 (package-download-transaction): Arg is now a list of package-descs.
7974 (package-install): If `pkg' is a package name, pass it as
7975 a requirement, so it is subject to the usual (e.g. disabled) checks.
7976 (describe-package): Accept package-desc as well.
7977 (describe-package-1): Describe a specific package-desc. Add links to
7978 other package-descs for the same package name.
7979 (package-menu-describe-package): Pass the actual package-desc.
7980 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7981 works correctly.
7982 (package-desc-status): New function.
7983 (package-menu--refresh): New function, extracted
7984 from package-menu--generate.
7985 (package-menu--generate): Use it.
7986 (package-delete): Update package-alist.
7987 (package-menu-execute): Don't call package-initialize.
7988
7989 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7990 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7991 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7992 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7993 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7994 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7995
8bbdea0f
MR
79962013-06-25 Martin Rudalics <rudalics@gmx.at>
7997
7998 * window.el (window--state-get-1): Workaround for bug#14527.
7999 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8000
e82b0991
LMI
80012013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8002
8003 * net/eww.el (eww-back-url): Implement the history by stashing all
8004 the data into a list.
d3f0f918 8005 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8006
c763842b
SM
80072013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8008
8009 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8010 for values and use read--expression for expressions (bug#14710).
8011 (read-file-local-variable): Avoid setq.
8012 (read-file-local-variable-mode): Use minor-mode-list.
8013
bceff189
RW
80142013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8015
864c58ca 8016 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8017 for DOI URLs.
8018
45f431c6
RW
80192013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8020
864c58ca 8021 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8022 Update imenu-support when dialect changes.
8023
f42d8237
LL
80242013-06-25 Leo Liu <sdl.web@gmail.com>
8025
8026 * ido.el (ido-read-internal): Allow forward slash on windows.
8027
be549ce6
LMI
80282013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8029
8030 * net/eww.el (eww): Start of strings is \\`, not ^.
8031
71d4c19d
IK
80322013-06-24 Ivan Kanis <ivan@kanis.fr>
8033
5196f88a
IK
8034 * net/shr.el (shr-browse-url): Fix interactive spec.
8035
71d4c19d
IK
8036 * net/eww.el (eww): Add a trailing slash to domain names.
8037
ae36ca55
JB
80382013-06-24 Juanma Barranquero <lekktu@gmail.com>
8039
8040 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8041
0ebd92a3
LMI
80422013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8043
bdaa086b
LMI
8044 * net/shr.el (shr-browse-url): Use an external browser if given a
8045 prefix.
8046
c763842b 8047 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8048
b89fc156
IK
80492013-06-24 Ivan Kanis <ivan@kanis.fr>
8050
8051 * net/eww.el (eww): Work more correctly for file: URLs.
8052 (eww-detect-charset): Allow quoted charsets.
8053 (eww-yank-page-url): New command and keystroke.
8054
18eb4bca
DU
80552013-06-24 Daiki Ueno <ueno@gnu.org>
8056
8057 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8058 file name of gpg executable.
8059 (epg-context-program): New function.
8060 (epg-context-home-directory): New function.
8061 (epg-context-set-program): New function.
8062 (epg-context-set-home-directory): New function.
8063 (epg--start): Use `epg-context-program' instead of
8064 'epg-gpg-program'.
8065 (epg--list-keys-1): Likewise.
8066
6c6268c8
LL
80672013-06-24 Leo Liu <sdl.web@gmail.com>
8068
8069 * ido.el (ido-read-internal): Fix bug#14620.
8070
5e400cb3
JB
80712013-06-23 Juanma Barranquero <lekktu@gmail.com>
8072
8073 * faces.el (face-documentation): Simplify.
8074 (read-face-attribute, tty-find-type, x-resolve-font-name):
8075 Use `string-match-p'.
8076 (list-faces-display): Use `string-match-p'. Simplify.
8077 (face-spec-recalc): Check face to avoid face alias loops.
8078 (read-color): Use `string-match-p' and non-capturing parenthesis.
8079
f3f9606c
LMI
80802013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8081
8082 * net/shr.el (shr-rescale-image): Use the new
8083 :max-width/:max-height functionality.
8084
a3ca09b9
IK
80852013-06-23 Ivan Kanis <ivan@kanis.fr>
8086
8087 * net/eww.el (eww-search-prefix): New variable.
8088 (eww): Use it.
f865b474
IK
8089 (eww-external-browser): New variable.
8090 (eww-mode-map): New keystroke.
8091 (eww-browse-with-external-browser): New command.
a3ca09b9 8092
e854cfc7
IK
8093 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8094
18bb9e21
JB
80952013-06-23 Juanma Barranquero <lekktu@gmail.com>
8096
8097 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8098 Don't skip aligning the next header field when padding is 0;
8099 otherwise, field width is not respected unless the title is as
8100 wide as the field.
8101
5b165ade
SM
81022013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * emacs-lisp/package.el (package-el-version): Remove.
8105 (package-process-define-package): Fix inf-loop.
8106 (package-install): Allow symbols as arguments again.
8107
12adebe9
DG
81082013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8109
8110 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8111 add some more keyword-like methods.
8112 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8113
388573ee
JB
81142013-06-22 Juanma Barranquero <lekktu@gmail.com>
8115
8116 * bs.el (bs-buffer-show-mark): Make defvar-local.
8117 (bs-mode): Use setq-local.
8118
8119 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8120 (emacs-lock--try-unlocking): Make defvar-local.
8121
4582a01c 81222013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8123
2663dd23
GM
8124 * play/cookie1.el (cookie-apropos): Minor simplification.
8125
3d94f3ad
GM
8126 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8127
f72e2fdb
DG
81282013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8129
8130 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8131 `regexp-opt', it breaks the build during dumping.
8132
73eab938
DG
81332013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8134
c763842b
SM
8135 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8136 Highlight keyword-like methods on Kernel and Module with
73eab938 8137 font-lock-builtin-face.
5cf8176d
DG
8138 (auto-mode-alist): Consolidate different entries into one regexp
8139 and add more *file-s.
73eab938 8140
d26255f6
SB
81412013-06-21 Stephen Berman <stephen.berman@gmx.net>
8142
8143 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8144
8145 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8146 (diary-entry): Use it in the action of this button type instead of
8147 diary-goto-entry.
8148
8149 * calendar/todo-mode.el: New version.
8150 (todo-add-category): Append new category to end of file and give
8151 it the highest number, instead of putting it at the beginning and
8152 giving it 0. Incorporate noninteractive functionality.
8153 (todo-forward-category): Adapt to 1-based category numbering.
8154 Allow skipping over archived categories.
8155 (todo-backward-category): Derive from todo-forward-category.
8156 (todo-backward-item, todo-forward-item): Make noninteractive and
8157 delegate interactive part to new commands. Make sensitive to done items.
8158 (todo-categories): Make value an alist of category names and
8159 vectors of item counts.
8160 (todo-category-beg): Make a defconst.
8161 (todo-category-number): Use 1 instead of 0 as initial value.
8162 (todo-category-select): Make sensitive to overlays, optional item
8163 highlighting and done items.
8164 (todo-delete-item): Make sensitive to overlays and marked and done items.
8165 (todo-edit-item): Make sensitive to overlays and editing of
8166 date/time header optional. Add format checks.
8167 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8168 no-op if point is not on an item. Advertise using todo-edit-quit.
8169 (todo-edit-mode): Make sensitive to new format, font-locking, and
8170 multiple todo files.
8171 (todo-insert-item, todo-insert-item-here): Derive from
8172 todo-basic-insert-item and extend functionality.
8173 (todo-item-end, todo-item-start): Make sensitive to done items.
8174 (todo-item-string): Don't return text properties. Restore point.
8175 (todo-jump-to-category): Make sensitive to multiple todo files and
8176 todo archives. Use extended category completion.
8177 (todo-lower-item, todo-raise-item): Rename to *-priority and
8178 derive from todo-set-item-priority.
8179 (todo-mode): Derive from special-mode. Make sensitive to new
8180 format, font-locking and multiple todo files. Make read-only.
8181 (todo-mode-map): Don't suppress digit keys, so they can supply
8182 prefix arguments. Add many new key bindings.
8183 (todo-prefix): Insert as an overlay instead of file text.
8184 Change semantics from diary date expression to purely visual mark.
8185 (todo-print): Rename to todo-print-buffer. Make buffer display
8186 features printable. Remove option to restrict number of items
8187 printed. Add option to print to file.
8188 (todo-print-function): Rename to todo-print-buffer-function.
8189 (todo-quit): Extend to handle exiting new todo modes.
8190 (todo-remove-item): Make sensitive to overlays.
8191 (todo-save): Extend to buffers of filtered items.
8192 (todo-show): Make sensitive to done items, multiple todo files and
8193 new todo modes. Offer to convert legacy todo file before creating
8194 first new todo file.
8195 (todo-show-priorities): Rename to todo-top-priorities.
8196 Change semantics of value 0.
8197 (todo-top-priorities): Rename to todo-filter-top-priorities,
8198 derive from todo-filter-items and extend functionality.
8199 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8200 and extend functionality to other types of filtered items.
8201 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8202 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8203 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8204 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8205 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8206 (todo-edit-mode-hook, todo-entry-prefix-function)
8207 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8208 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8209 (todo-initials, todo-insert-threshold, todo-item-string-start)
8210 (todo-line-string, todo-menu, todo-mode-hook)
8211 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8212 (todo-print-priorities, todo-remove-separator)
8213 (todo-save-top-priorities-too, todo-string-count-lines)
8214 (todo-string-multiline-p, todo-time-string-format)
8215 (todo-tmp-buffer-name): Remove.
8216 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8217 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8218 (todo-edit-category-diary-inclusion)
8219 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8220 (todo-edit-file, todo-edit-item-date-day)
8221 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8222 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8223 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8224 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8225 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8226 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8227 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8228 (todo-filter-top-priorities-multifile, todo-find-archive)
8229 (todo-find-filtered-items-file, todo-go-to-source-item)
8230 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8231 (todo-jump-to-archive-category, todo-lower-category)
8232 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8233 (todo-move-category, todo-move-item, todo-next-button)
8234 (todo-next-item, todo-padded-string, todo-powerset)
8235 (todo-previous-button, todo-previous-item)
8236 (todo-print-buffer-to-file, todo-raise-category)
8237 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8238 (todo-set-category-number, todo-set-item-priority)
8239 (todo-set-top-priorities-in-category)
8240 (todo-set-top-priorities-in-file, todo-show-categories-table)
8241 (todo-sort-categories-alphabetically-or-numerically)
8242 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8243 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8244 (todo-toggle-item-header, todo-toggle-item-highlighting)
8245 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8246 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8247 (todo-unarchive-items, todo-unmark-category): New commands.
8248 (todo-absolute-file-name, todo-add-to-buffer-list)
8249 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8250 (todo-basic-insert-item, todo-category-completions)
8251 (todo-category-number, todo-category-string-matcher-1)
8252 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8253 (todo-check-format, todo-clear-matches)
8254 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8255 (todo-current-category, todo-date-string-matcher)
8256 (todo-define-insertion-command, todo-diary-expired-matcher)
8257 (todo-diary-goto-entry, todo-diary-item-p)
8258 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8259 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8260 (todo-done-item-section-p, todo-done-separator)
8261 (todo-done-string-matcher, todo-files, todo-filter-items)
8262 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8263 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8264 (todo-insert-category-line, todo-insert-item-from-calendar)
8265 (todo-insert-sort-button, todo-insert-with-overlays)
8266 (todo-insertion-command-name, todo-insertion-key-bindings)
8267 (todo-label-to-key, todo-longest-category-name-length)
8268 (todo-make-categories-list, todo-mode-external-set)
8269 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8270 (todo-modes-set-3, todo-multiple-filter-files)
8271 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8272 (todo-read-category, todo-read-date, todo-read-dayname)
8273 (todo-read-file-name, todo-read-time)
8274 (todo-reevaluate-category-completions-files-defcustom)
8275 (todo-reevaluate-default-file-defcustom)
8276 (todo-reevaluate-filelist-defcustoms)
8277 (todo-reevaluate-filter-files-defcustom)
8278 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8279 (todo-reset-done-separator, todo-reset-done-separator-string)
8280 (todo-reset-done-string, todo-reset-global-current-todo-file)
8281 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8282 (todo-reset-prefix, todo-set-categories)
8283 (todo-set-date-from-calendar, todo-set-show-current-file)
8284 (todo-set-top-priorities, todo-short-file-name)
8285 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8286 (todo-total-item-counts, todo-update-buffer-list)
8287 (todo-update-categories-display, todo-update-categories-sexp)
8288 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8289 New functions.
8290 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8291 New major modes.
8292 (todo-categories, todo-display, todo-edit, todo-faces)
8293 (todo-filtered): New defgroups.
8294 (todo-archived-only, todo-button, todo-category-string, todo-date)
8295 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8296 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8297 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8298 (todo-add-item-if-new-category, todo-always-add-time-string)
8299 (todo-categories-align, todo-categories-archived-label)
8300 (todo-categories-category-label, todo-categories-diary-label)
8301 (todo-categories-done-label, todo-categories-number-separator)
8302 (todo-categories-todo-label, todo-categories-totals-label)
8303 (todo-category-completions-files, todo-completion-ignore-case)
8304 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8305 (todo-done-separator-string, todo-done-string)
8306 (todo-files-function, todo-filter-done-items, todo-filter-files)
8307 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8308 (todo-initial-category, todo-initial-file, todo-item-mark)
8309 (todo-legacy-date-time-regexp, todo-mode-line-function)
8310 (todo-nondiary-marker, todo-number-prefix)
8311 (todo-print-buffer-function, todo-show-current-file)
8312 (todo-show-done-only, todo-show-first, todo-show-with-done)
8313 (todo-skip-archived-categories, todo-top-priorities-overrides)
8314 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8315 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8316 New defcustoms.
8317 (todo-category-done, todo-date-pattern, todo-date-string-start)
8318 (todo-diary-items-buffer, todo-done-string-start)
8319 (todo-filtered-items-buffer, todo-item-start)
8320 (todo-month-abbrev-array, todo-month-name-array)
8321 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8322 (todo-top-priorities-buffer): New defconsts.
8323 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8324 (todo-categories-with-marks, todo-category-string-face)
8325 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8326 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8327 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8328 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8329 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8330 (todo-font-lock-keywords, todo-global-current-todo-file)
8331 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8332 (todo-insertion-commands-args)
8333 (todo-insertion-commands-args-genlist)
8334 (todo-insertion-commands-names, todo-insertion-map)
8335 (todo-key-bindings-t, todo-key-bindings-t+a)
8336 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8337 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8338 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8339 (todo-visited): New variables.
8340
cad5d1cb
GM
83412013-06-21 Glenn Morris <rgm@gnu.org>
8342
8343 * play/cookie1.el (cookie-apropos): Add optional display argument.
8344 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8345 (psychoanalyze-pinhead): Use cookie-doctor.
8346
9e277302
JB
83472013-06-21 Juanma Barranquero <lekktu@gmail.com>
8348
8349 * emacs-lisp/package.el (tar-get-file-descriptor)
8350 (tar--extract): Declare.
8351
c5b0993e
EW
83522013-06-21 Eduard Wiebe <usenet@pusto.de>
8353
8354 Extend flymake's warning predicate to be a function (bug#14217).
8355 * progmodes/flymake.el (flymake-warning-predicate): New.
8356 (flymake-parse-line): Use it.
8357 (flymake-warning-re): Make obsolete alias to
8358 `flymake-warning-predicate'.
8359
a7d2d465
SM
83602013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8361
8362 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8363 (package-obsolete-list): Remove.
8364 (package-activate): Remove min-version argument. Add `force' argument.
8365 Adjust to new package-alist format.
8366 (package-mark-obsolete): Remove.
8367 (package-unpack): Force reload of the package's autoloads.
8368 (package-installed-p): Check builtins if the installed package is not
8369 recent enough.
8370 (package-initialize): Don't reset package-obsolete-list.
8371 Don't specify which package version to activate.
8372 (package-process-define-package, describe-package-1)
8373 (package-menu--generate): Adjust to new package-alist format.
8374
cedf5c9d
JB
83752013-06-21 Juanma Barranquero <lekktu@gmail.com>
8376
8377 * allout-widgets.el (allout-widgets-mode-off)
8378 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8379 (allout-widgets-post-command-business)
8380 (allout-widgets-after-copy-or-kill-function)
8381 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8382 (allout-decorate-item-and-context)
8383 (allout-graphics-modification-handler): Fix typos in docstrings.
8384 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8385
8386 * cmuscheme.el (scheme-start-file): Doc fix.
8387 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8388 (scheme-input-filter): Use `string-match-p'.
8389
8390 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8391
8392 * dired-x.el: Use Dired consistently in docstrings.
8393
8394 * dired.el: Use Dired consistently in docstrings.
8395 (dired-readin, dired-mode): Use `setq-local'.
8396 (dired-switches-alist): Make defvar-local.
8397 (dired-buffers-for-dir): Use `zerop'.
8398 (dired-safe-switches-p, dired-switches-escape-p)
8399 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8400 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8401 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8402 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8403 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8404 (dired-toggle-marks, dired-mark-files-containing-regexp)
8405 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8406 (dired-flag-auto-save-files, dired-flag-backup-files):
8407 Use `looking-at-p'.
8408 (dired-mark-files-regexp, dired-build-subdir-alist):
8409 Use `string-match-p', `looking-at-p'.
8410
8411 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8412 (direct-print-region-helper): Use `string-match-p'.
8413
aed838b5
LL
84142013-06-21 Leo Liu <sdl.web@gmail.com>
8415
cedf5c9d
JB
8416 * comint.el (comint-redirect-results-list-from-process):
8417 Fix infinite loop.
aed838b5 8418
d80a808f
LMI
84192013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8420
8421 * net/eww.el (eww-update-header-line-format): Quote % characters.
8422
e7a526e3
GM
84232013-06-21 Glenn Morris <rgm@gnu.org>
8424
8425 * play/cookie1.el (cookie): New custom group.
8426 (cookie-file): New option.
8427 (cookie-check-file): New function.
8428 (cookie): Make it interactive. Make start and end messages optional.
8429 Interactively, display the result. Default to cookie-file.
8430 (cookie-insert): Default to cookie-file.
8431 (cookie-snarf): Make start and end messages optional.
8432 Default to cookie-file. Use with-temp-buffer.
8433 (cookie-read): Rename from read-cookie.
8434 Make start and end messages optional. Default to cookie-file.
8435 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8436 Do not autoload it.
e7a526e3
GM
8437 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8438 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8439
62efb35e
LL
84402013-06-21 Leo Liu <sdl.web@gmail.com>
8441
8442 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8443
21e3f963
GM
84442013-06-21 Glenn Morris <rgm@gnu.org>
8445
8446 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8447
fd846ab4
SM
84482013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8449 Daniel Hackney <dan@haxney.org>
8450
8451 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8452 Consolidate the single-file vs tarball code.
8453 (package-desc-suffix): New function.
8454 (package-desc-full-name): Don't bother inlining it.
8455 (package-load-descriptor): Return the new package-desc.
8456 (package-mark-obsolete): Remove unused arg `package'.
8457 (package-unpack): Make it work for single files as well.
8458 Make it update package-alist.
8459 (package--make-autoloads-and-stuff): Rename from
8460 package--make-autoloads-and-compile. Don't compile any more.
8461 (package--compile): New function.
8462 (package-generate-description-file): New function, extracted from
8463 package-unpack-single.
8464 (package-unpack-single): Remove.
8465 (package--with-work-buffer): Add indentation and debugging info.
8466 (package-download-single): Remove.
8467 (package-install-from-archive): Rename from package-download-tar, make
8468 it take a pkg-desc, and make it work for single files as well.
8469 (package-download-transaction): Simplify.
8470 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8471 external tar program.
8472 (package-install-from-buffer): Remove `pkg-desc' argument.
8473 Use package-tar-file-info for tar-mode buffers.
8474 (package-install-file): Simplify accordingly.
8475 (package-archive-base): Change to take a pkg-desc.
8476 * tar-mode.el (tar--check-descriptor): New function, extracted from
8477 tar-get-descriptor.
8478 (tar-get-descriptor): Use it.
8479 (tar-get-file-descriptor): New function.
8480 (tar--extract): New function, extracted from tar-extract.
8481 (tar--extract): Use it.
8482 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8483 case the summary uses non-ascii. Adjust to new calling convention of
8484 package-tar-file-info.
8485
b7deae5e
LL
84862013-06-21 Leo Liu <sdl.web@gmail.com>
8487
fd846ab4
SM
8488 * comint.el (comint-redirect-results-list-from-process):
8489 Fix random delay. (Bug#14681)
b7deae5e 8490
7a65a0b2
JB
84912013-06-21 Juanma Barranquero <lekktu@gmail.com>
8492
8493 * profiler.el (profiler-format-number): Use log, not log10.
8494
1493c2af
JB
84952013-06-20 Juanma Barranquero <lekktu@gmail.com>
8496
8497 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8498
aff6371e
SM
84992013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8500
8501 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8502 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8503 yet available.
8504 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8505 (AUTOGENEL): ... here.
8506 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8507 (cl--defsubst-expand): Use it.
8508
89561f72
PE
85092013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8510
8511 * subr.el (log10): Move here from C code, and declare as obsolete.
8512 All uses of (log10 X) replaced with (log X 10).
8513
47199123
JB
85142013-06-20 Juanma Barranquero <lekktu@gmail.com>
8515
8516 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8517 Declare with `defvar-local'.
8518 (tabulated-list-use-header-line, tabulated-list-entries)
8519 (tabulated-list-padding, tabulated-list-printer)
8520 (tabulated-list-sort-key): Declare with `defvar-local'.
8521 (tabulated-list-init-header, tabulated-list-print-fake-header):
8522 Use `setq-local'.
8523
4a172eab
MA
85242013-06-20 Michael Albinus <michael.albinus@gmx.de>
8525
47199123
JB
8526 * arc-mode.el (archive-mode): Add `archive-write-file' to
8527 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8528
5fc0acc0
JB
85292013-06-20 Juanma Barranquero <lekktu@gmail.com>
8530
d5b27848
JB
8531 * cus-edit.el (custom-commands): Fix typos.
8532 (custom-display): Fix tooltip text.
8533 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8534 Fix typos in docstrings.
8535 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8536 (custom-unlispify-menu-entry, custom-magic-value-create)
8537 (custom-add-see-also, custom-group-value-create): Use ?\s.
8538 (custom-guess-type, customize-apropos, editable-field)
8539 (custom-face-value-create): Use `string-match-p'.
8540 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8541
8542 * custom.el (custom-load-symbol): Use `string-match-p'.
8543
a5c581d8
JB
8544 * ansi-color.el: Convert to lexical binding.
8545 (ansi-colors): Fix URL.
8546 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8547 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8548 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8549
970ad972
G
85502013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8551
8552 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8553
8554 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8555
85562013-06-19 Tom Tromey <tromey@redhat.com>
8557
8558 * net/eww.el (eww-top-url): Remove.
8559 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8560 (eww-render): Set new variables. Don't set eww-top-url.
8561 (eww-handle-link): Handle "prev", "home", and "contents".
8562 Downcase the rel text.
8563 (eww-top-url): Choose best top URL.
8564
85652013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8566
8567 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8568 relying in widget.el. Using widget.el leads to too many
8569 user interface inconsistencies.
8570 (eww-self-insert): Implement entering commands in text fields.
8571 (eww-process-text-input): New function to make text input field editing
8572 work.
8573 (eww-submit): Rewrite to use the new-style form methods.
8574 (eww-select-display): Display the correct selected item.
8575 (eww-change-select): Implement changing the select value.
8576 (eww-toggle-checkbox): Implement radio/checkboxes.
8577 (eww-update-field): Fix compilation error.
8578 (eww-tag-textarea): Implement <textarea>.
8579
8580 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8581 we don't shadow mode-specific bindings.
8582
8583 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8584 nothing to push.
8585
8586 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8587
4582a01c 85882013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8589
8590 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8591
15b263dc
MA
85922013-06-19 Michael Albinus <michael.albinus@gmx.de>
8593
8594 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8595 not needed.
8596
8597 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8598
8f5297f7
LMI
85992013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8600
8601 * net/browse-url.el (browse-url-browser-function):
8602 `eww-browse-url' has the right calling signature, `eww' does not.
8603
011c4552
GM
86042013-06-19 Glenn Morris <rgm@gnu.org>
8605
2285bd27
GM
8606 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8607 Only eval autoloaded macros.
8608 (byte-compile-autoload): Only give the macro warning for macros.
8609
1d653303
GM
8610 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8611 (ps-underlined-faces): Declare.
8612
bdd779ec
GM
8613 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8614 (speedbar-add-supported-extension): Declare.
8615
011c4552
GM
8616 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8617 Don't include a date stamp in the header of the generated file;
8618 it leads to needless differences between output files.
8619
e59dfb0e
MA
86202013-06-19 Michael Albinus <michael.albinus@gmx.de>
8621
c763842b
SM
8622 * net/secrets.el (secrets-struct-secret-content-type):
8623 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8624 Some servers do not offer introspection.
e59dfb0e 8625
102626e2
SM
86262013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * electric.el (electric-pair-mode): Improve interaction with
8629 electric-layout-mode.
8630 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8631 (electric-pair-syntax): Use text-mode-syntax-table in comments
8632 and strings.
8633 (electric-pair--insert): New function.
8634 (electric-pair-post-self-insert-function): Use it and
8635 electric--after-char-pos.
8636
ad528125
LL
86372013-06-19 Leo Liu <sdl.web@gmail.com>
8638
8639 * progmodes/octave.el (octave-help): Fix regexp.
8640
924d6997
G
86412013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8642
8643 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8644 (shr-table-horizontal-line): Allow nil as a value, and change the
8645 default.
8646 (shr-insert-table-ruler): Respect the nil value.
8647
86482013-06-18 Tom Tromey <tromey@barimba>
8649
8650 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8651 New defvars.
8652 (eww-open-file): New defun.
8653 (eww-render): Initialize new variables.
8654 (eww-display-html): Handle "link" and "a".
8655 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8656 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8657 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8658 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8659 New defuns.
924d6997 8660
d1bbba4f
DG
86612013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8662
8663 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8664 Distinguish ternary operator tokens from slash symbol and slash
8665 char literal.
8666
14dd22d2
JB
86672013-06-18 Juanma Barranquero <lekktu@gmail.com>
8668
8669 Convert symbol prettification into minor mode and global minor mode.
8670
8671 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8672 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8673 (prettify-symbols--keywords): Rename from
8674 `prog-prettify-symbols-alist' and make a local defvar.
8675 (prettify-symbols--compose-symbol): Rename from
8676 `prog--prettify-font-lock-compose-symbol'.
8677 (prettify-symbols--make-keywords): Rename from
8678 `prog-prettify-font-lock-symbols-keywords' and simplify.
8679 (prog-prettify-install): Remove.
8680 (prettify-symbols-mode): New minor mode, based on
8681 `prog-prettify-install'.
8682 (turn-on-prettify-symbols-mode): New function.
8683 (global-prettify-symbols-mode): New globalized minor mode.
8684
8685 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8686 * progmodes/cfengine.el (cfengine3-mode):
8687 * progmodes/perl-mode.el (perl-mode): Don't call
8688 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8689
292c880c
JL
86902013-06-18 Juri Linkov <juri@jurta.org>
8691
8692 * files-x.el (modify-file-local-variable-message): New function.
8693 (modify-file-local-variable)
8694 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8695 and call `modify-file-local-variable-message' when it's non-nil.
8696 (add-file-local-variable, delete-file-local-variable)
8697 (add-file-local-variable-prop-line)
8698 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8699 and use it. (Bug#9820)
8700
0950aa27
JL
87012013-06-18 Juri Linkov <juri@jurta.org>
8702
8703 * emulation/vi.el (vi-shell-op):
8704 * emulation/vip.el (vip-execute-com, ex-command):
8705 * emulation/viper-cmd.el (viper-exec-bang):
8706 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8707 the call of `shell-command-on-region'. (Bug#14637)
8708
8709 * simple.el (shell-command-on-region): Doc fix.
8710
8fbcca16
SM
87112013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8712
8713 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8714 (bug#14633).
8715
dd7426ea
GM
87162013-06-18 Glenn Morris <rgm@gnu.org>
8717
4ba54f7d
GM
8718 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8719
dd7426ea
GM
8720 * newcomment.el (comment-search-forward, comment-search-backward):
8721 Doc fix. (Bug#14376)
8722
58aa805b
JB
87232013-06-18 Juanma Barranquero <lekktu@gmail.com>
8724
8725 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8726 (buffer-face-mode-invoke): Doc fix.
8727
9a08a617
MM
87282013-06-18 Matthias Meulien <orontee@gmail.com>
8729
8730 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8731 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8732
f2f426ca
GM
87332013-06-18 Glenn Morris <rgm@gnu.org>
8734
9445f99b
GM
8735 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8736 Replace obsolete function generic-make-keywords with its expansion.
8737
e0df2d14
GM
8738 * progmodes/python.el (ffap-alist): Declare.
8739
f2f426ca
GM
8740 * textmodes/reftex.el (bibtex-mode-map): Declare.
8741
f7f9a720
SM
87422013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8743
8744 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8745 (package-unpack, package-unpack-single): Return the pkg-dir.
8746 (package-download-transaction): Use it to update package-alist.
8747
57ff04e0
LMI
87482013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8749
8750 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8751 possible choice.
8752
c048c022
JL
87532013-06-17 Juri Linkov <juri@jurta.org>
8754
8755 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8756
b5bcaee5
DG
87572013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8758
a020afb9
JB
8759 * emacs-lisp/package.el (package-load-descriptor):
8760 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8761 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8762
551e07e5
JB
87632013-06-17 Juanma Barranquero <lekktu@gmail.com>
8764
8765 * startup.el (command-line): Expand package name returned by
8766 `package--description-file' (bug#14639).
8767
d363bffb
DG
87682013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8769
8770 * emacs-lisp/package.el (package-load-descriptor): Do not call
8771 `emacs-lisp-mode', just use its syntax table.
8772
f612933b
JB
87732013-06-17 Juanma Barranquero <lekktu@gmail.com>
8774
8775 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8776 `font-lock-extra-managed-props' if any prettifying keyword is added.
8777 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8778 (prog-mode): Use `setq-local'.
8779
db3b7db5
SM
87802013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8781
8782 * international/characters.el (standard-case-table): Set syntax of ?»
8783 and ?« to punctuation.
8784
f3d674df
JB
87852013-06-16 Juanma Barranquero <lekktu@gmail.com>
8786
8787 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8788 Save relevant match data before calling `syntax-ppss' (bug#14595).
8789
31489a32
JL
87902013-06-15 Juri Linkov <juri@jurta.org>
8791
8792 * files-x.el (modify-file-local-variable-prop-line): Add local
8793 variables to the end of the existing comment on the first line.
8794 Use `file-auto-mode-skip' to skip interpreter magic line,
8795 and also skip XML declaration.
8796
66bd25ab
SM
87972013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8798
8799 * startup.el (package--builtin-versions): New var.
8800 (package-subdirectory-regexp): Remove.
8801 (package--description-file): Hard code its value instead.
8802
8803 * emacs-lisp/package.el: Don't activate packages older than builtin.
8804 (package-obsolete-list): Rename from package-obsolete-alist, and make
8805 it into a simple list of package-desc.
8806 (package-strip-version): Remove.
8807 (package-built-in-p): Use package--builtin-versions.
8808 (package-mark-obsolete): Simplify.
8809 (package-process-define-package): Mark it obsolete if older than the
8810 builtin version.
8811 (package-handle-response): Use line-end-position.
8812 (package-read-archive-contents, package--download-one-archive):
8813 Simplify.
8814 (package--add-to-archive-contents): Skip if older than the builtin or
8815 installed version.
8816 (package-menu-describe-package): Fix last change.
8817 (package-list-unversioned): New var.
8818 (package-menu--generate): Use it.
8819
8820 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8821 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8822 (autoload-builtin-package-versions): New variable.
8823 (autoload-generate-file-autoloads): Use them.
8824 Remove the list of autoloaded functions/macros from the
8825 (autoload...) comments.
8826
8827 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8828
9583ec36
EZ
88292013-06-15 Eli Zaretskii <eliz@gnu.org>
8830
8831 * simple.el (line-move-partial): Don't jump to the next screen
8832 line as soon as it becomes visible. Instead, continue enlarging
8833 the vscroll until the portion of a tall screen line that's left on
8834 display is about the height of the frame's default font.
8835 (Bug#14567)
8836
f0100d8a
GM
88372013-06-15 Glenn Morris <rgm@gnu.org>
8838
b86a85ca
GM
8839 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8840 compilation-error-regexp-alist void, or local while let-bound.
8841
f0100d8a
GM
8842 * progmodes/make-mode.el (makefile-mode-syntax-table):
8843 Treat "=" as punctuation. (Bug#14614)
8844
05e7ce90
JB
88452013-06-15 Juanma Barranquero <lekktu@gmail.com>
8846
8847 * help-fns.el (describe-variable):
8848 Add extra line for permanent-local variables.
8849
12e5e86e
SH
88502013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8851
8852 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8853 Add export, import, library. (Bug#9164)
8854 (library): Set indent function.
8855
230dcbaf
GM
88562013-06-14 Glenn Morris <rgm@gnu.org>
8857
8858 * term/xterm.el (xterm--query):
8859 Stop after first matching handler. (Bug#14615)
8860
e36b2d20 88612013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8862
8863 Add support for dired in saveplace.
8864 * dired.el (dired-initial-position-hook): New variable.
8865 (dired-initial-position): Call hook to place cursor position.
8866 * saveplace.el (save-place-to-alist): Add dired position.
8867 (save-place-dired-hook): New function.
8868
0b31660d
SM
88692013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8870
bf1e6ae8
SM
8871 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8872 through a symbol rather than letrec.
8873
1b8dff23
SM
8874 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8875 (package-desc): Add `dir' field.
8876 (package-desc-full-name): New function.
8877 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8878 (package-maybe-load-descriptor): Remove.
8879 (package-load-all-descriptors): Just call package-load-descriptor.
8880 (package--disabled-p): New function.
8881 (package-desc-vers, package-desc-doc): Remove aliases.
8882 (package--dir): Remove function.
8883 (package-activate): Check if a package is disabled.
8884 (package-process-define-package): New function, extracted from
8885 define-package.
8886 (define-package): Turn into a place holder.
8887 (package-unpack-single, package-tar-file-info):
8888 Use package--description-file.
8889 (package-compute-transaction): Use package--disabled-p.
8890 (package-download-transaction): Don't call
8891 package-maybe-load-descriptor since they're all loaded anyway.
8892 (package-install): Change argument to be a pkg-desc.
8893 (package-delete): Use a single pkg-desc argument.
8894 (describe-package-1): Use package-desc-dir instead of package--dir.
8895 Use package-desc property instead of package-symbol.
8896 (package-install-button-action): Adjust accordingly.
8897 (package--push): Rewrite.
8898 (package-menu--print-info): Adjust accordingly. Change the ID format
8899 to be a pkg-desc.
8900 (package-menu-describe-package, package-menu-get-status)
8901 (package-menu--find-upgrades, package-menu-mark-upgrades)
8902 (package-menu-execute, package-menu--name-predicate):
8903 Adjust accordingly.
8904 * startup.el (package--description-file): New function.
8905 (command-line): Use it.
8906 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8907 Use package-desc-version.
8908
0b31660d
SM
8909 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8910 (byte-compile-preprocess): Use it.
8911 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8912 can't quite recognize.
8913 (byte-compile-add-to-list): Remove.
8914 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8915 (cconv-closure-convert): Add assertion.
8916
8917 * emacs-lisp/map-ynp.el: Use lexical-binding.
8918 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8919 Factor out some repeated code.
8920
de0503df
SM
89212013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8922
8923 * subr.el (with-eval-after-load): New macro.
8924 (eval-after-load): Allow form to be a function.
8925 take advantage of lexical-binding.
8926 (do-after-load-evaluation): Use dolist and adjust to new format.
8927 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8928
bc5c8c5a
JL
89292013-06-13 Juri Linkov <juri@jurta.org>
8930
8931 * replace.el (perform-replace): Display "symbol " and other search
8932 modes from `isearch-message-prefix' in the *Help* buffer.
8933
8934 * isearch.el (isearch-query-replace): Add " symbol" and other
8935 possible search modes from `isearch-message-prefix' to the prompt.
8936 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8937 when reading a regexp to collect.
8938
a22289f7
JL
89392013-06-13 Juri Linkov <juri@jurta.org>
8940
8941 * isearch.el (word-search-regexp): Match whitespace if the search
8942 string begins or ends in whitespace. The LAX arg is applied to
8943 both ends of the search string. Use `regexp-quote' and explicit
8944 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8945 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8946 boundaries are replaced with symbol boundaries, and characters
8947 between symbols match non-word non-symbol syntax. (Bug#14602)
8948
cb89acab
JL
89492013-06-13 Juri Linkov <juri@jurta.org>
8950
8951 * isearch.el (isearch-del-char): Don't exceed the length of
8952 `isearch-string' by the prefix arg. (Bug#14563)
8953
6e8cfc81
JL
89542013-06-13 Juri Linkov <juri@jurta.org>
8955
8956 * isearch.el (isearch-yank-word, isearch-yank-line)
8957 (isearch-char-by-name, isearch-quote-char)
8958 (isearch-printing-char, isearch-process-search-char):
8959 Add optional count prefix arg. (Bug#14563)
8960
8961 * international/isearch-x.el
8962 (isearch-process-search-multibyte-characters):
8963 Add optional count prefix arg.
8964
c23d55f4
VS
89652013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8966
8967 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8968 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8969 lexical-binding.
8970
89712013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8972
8973 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8974
ba947bc4
GM
89752013-06-13 Glenn Morris <rgm@gnu.org>
8976
8baeb37a
GM
8977 * startup.el (tty-handle-args):
8978 Don't just discard "--" and anything after. (Bug#14608)
8979
ba947bc4
GM
8980 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8981
9abefce4
MA
89822013-06-13 Michael Albinus <michael.albinus@gmx.de>
8983
8984 Implement changes in Secret Service API. Make it backward compatible.
8985 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8986 (secrets-create-item): Use it. Prefix properties with interface.
8987
5755011f
MH
89882013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8989
8990 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8991 (term-emulate-terminal): Respect term-suppress-hard-newline.
8992
1261d2da
S
89932013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8994
8995 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8996 Only remove a `thumb-file' overlay. (Bug#14548)
8997
868490bb
GJ
89982013-06-12 Grégoire Jadi <daimrod@gmail.com>
8999
9000 * mail/reporter.el (reporter-submit-bug-report):
9001 Handle missing package-name. (Bug#14600)
9002
79d7167f
TH
90032013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9004
9005 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9006 (reftex-citation-prompt, reftex-default-bibliography)
9007 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9008 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9009 (reftex-bib-sort-author, reftex-bib-sort-year)
9010 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9011 (reftex-extract-bib-entries-from-thebibliography)
9012 (reftex-get-bibkey-default, reftex-get-bib-names)
9013 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9014 (reftex-format-bib-entry, reftex-parse-bibitem)
9015 (reftex-format-bibitem, reftex-do-citation)
9016 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9017 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9018 (reftex-insert-bib-matches, reftex-format-citation)
9019 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9020 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9021 existing comments into docstrings.
9022
5f9dbd7a
XF
90232013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9024
9025 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9026
94df41ab
AS
90272013-06-12 Andreas Schwab <schwab@suse.de>
9028
9029 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9030 for auto-save files.
9031
a7f3fecc
GM
90322013-06-12 Glenn Morris <rgm@gnu.org>
9033
001809f6
GM
9034 * ido.el (ido-delete-ignored-files): Remove.
9035 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9036 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9037
834b5ded
EL
90382013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9039
08c73ed2
EL
9040 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9041
834b5ded
EL
9042 * ido.el (ido-delete-ignored-files): New function,
9043 split from ido-make-file-list-1.
9044 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9045 (ido-make-file-list-1): Use ido-delete-ignored-files.
9046
daabf15a
LL
90472013-06-12 Leo Liu <sdl.web@gmail.com>
9048
9049 * progmodes/octave.el (inferior-octave-startup)
9050 (inferior-octave-completion-table)
9051 (inferior-octave-track-window-width-change)
9052 (octave-eldoc-function-signatures, octave-help)
9053 (octave-find-definition): Use single quoted strings.
9054 (inferior-octave-startup-args): Change default value.
9055 (inferior-octave-startup): Do not hard code "-i" and
9056 "--no-line-editing".
9057 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9058 (inferior-octave-directory-tracker): Use it.
9059 (octave-goto-function-definition): Robustify.
9060 (octave-help): Support highlighting operators in 'See also'.
9061 (octave-find-definition): Find subfunctions only in Octave mode.
9062
cf4e5178
SM
90632013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9064
9065 * help-fns.el (help-fns--compiler-macro): If the handler function is
9066 named, then put a link to it.
9067 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9068 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9069 (cl-typep): Use it.
9070 (cl-eval-when): Simplify debug spec.
9071 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9072 compiler-macro function instead of setting `compiler-macro-file'.
9073
99c81280 90742013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9075
9076 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9077 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9078
f56be016
SM
90792013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9080 Daniel Hackney <dan@haxney.org>
9081
9082 First part of Daniel Hackney's patch to package.el.
9083 * emacs-lisp/package.el: Use defstruct.
9084 (package-desc): New, main struct.
9085 (package--bi-desc, package--ac-desc): New structs, used to describe the
9086 format in external files.
9087 (package-desc-vers): Replace with package-desc-version accessor.
9088 (package-desc-doc): Replace with package-desc-summary accessor.
9089 (package-activate-1): Remove `package' arg since the pkg-vec now
9090 includes the name.
9091 (define-package): Use package-desc-from-define.
9092 (package-unpack-single): Change file-name arg to be a symbol.
9093 (package--add-to-archive-contents): Use package-desc-create and new
9094 accessor functions to package--ac-desc.
9095 (package-buffer-info, package-tar-file-info): Return a package-desc.
9096 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9097 arg to be a package-desc.
9098 (package-install-file): Adjust accordingly. Use \' to match EOS.
9099 (package--from-builtin): New function.
9100 (describe-package-1, package-menu--generate): Use it.
9101 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9102 (package-generate-autoloads): Idem and return the name of the file.
9103 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9104 Change pkg-info arg to be a package-desc.
9105 Use package-make-ac-desc.
9106 (package-upload-file): Use \' to match EOS.
9107 * finder.el (finder-compile-keywords): Use package-make-builtin.
9108
31119d63
SM
91092013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9110
931a2762
SM
9111 * vc/vc.el (vc-deduce-fileset): Change error message.
9112 (vc-read-backend): New function.
9113 (vc-next-action): Use it.
9114
5a3eb0c6
SM
9115 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9116
e3eb1bb7
SM
9117 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9118 (prolog-font-lock-keywords): Use regexp-opt instead.
9119 Don't manually highlight strings.
9120 (prolog-mode-variables): Simplify comment-start-skip.
9121 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9122
31119d63
SM
9123 * emacs-lisp/generic.el (generic--normalise-comments)
9124 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9125 (generic-mode-set-comments): Use them.
9126 (generic-bracket-support): Use setq-local.
9127 (generic-make-keywords-list): Declare obsolete.
9128
7de135d0
GM
91292013-06-11 Glenn Morris <rgm@gnu.org>
9130
9131 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9132 Prettify after setting font-lock-defaults. (Bug#14574)
9133
fa6bc6fd
JB
91342013-06-11 Juanma Barranquero <lekktu@gmail.com>
9135
9136 * replace.el (query-replace, occur-read-regexp-defaults-function)
9137 (replace-search):
9138 * subr.el (declare-function, number-sequence, local-set-key)
9139 (substitute-key-definition, locate-user-emacs-file)
9140 (with-silent-modifications, split-string, eval-after-load):
9141 Fix typos, remove unneeded backslashes and reflow some docstrings.
9142
cf1f9b9a
SM
91432013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9144
9145 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9146 default for Elisp files.
9147
56602a4b
GM
91482013-06-11 Glenn Morris <rgm@gnu.org>
9149
9150 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9151 although define-derived-mode was doing this anyway. (Bug#14583)
9152
30ae0b2c
JB
91532013-06-10 Juanma Barranquero <lekktu@gmail.com>
9154
9155 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9156 Fix make-variable-buffer-local call to refer to the correct variable.
9157
fa472906
AG
91582013-06-10 Aidan Gauland <aidalgol@amuri.net>
9159
9160 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9161 (eshell-visual-subcommands, eshell-visual-options):
9162 Add summary line to docstrings. Add cross-references.
fa472906 9163
ff4871b9
GM
91642013-06-10 Glenn Morris <rgm@gnu.org>
9165
9166 * epa.el (epa-read-file-name): New function. (Bug#14510)
9167 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9168
04fcf1b0
AG
91692013-06-09 Aidan Gauland <aidalgol@amuri.net>
9170
9171 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9172 output redirection to be ignored with visual commands.
9173
88b00caa
AG
91742013-06-09 Aidan Gauland <aidalgol@amuri.net>
9175
9176 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9177 (eshell-term-initialize): Move long lambda to separate function
9178 eshell-visual-command-p.
e7b41c4c
JB
9179 * eshell/em-dirs.el (eshell-dirs-initialise):
9180 * eshell/em-script.el (eshell-script-initialize):
9181 Add missing #' to lambda.
88b00caa 9182
fda74125
LL
91832013-06-08 Leo Liu <sdl.web@gmail.com>
9184
9185 * progmodes/octave.el (octave-add-log-current-defun): New function.
9186 (octave-mode): Set add-log-current-defun-function.
9187 (octave-goto-function-definition): Do not move point if not found.
9188 (octave-find-definition): Enhance to try subfunctions first.
9189
467f3b33
GM
91902013-06-08 Glenn Morris <rgm@gnu.org>
9191
9192 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9193 (byte-compile-backward-char, byte-compile-backward-word):
9194 Improve previous change, to handle non-explicit nil.
9195
544badc3
SM
91962013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9197
9198 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9199 (smie--opener/closer-at-point): New function.
9200 (smie--matching-block-data): Use it. Don't match from right after an
9201 opener or right before a closer. Obey smie-blink-matching-inners.
9202 Don't signal a mismatch for repeated inners like "switch..case..case".
9203
a175bf33
LL
92042013-06-07 Leo Liu <sdl.web@gmail.com>
9205
9206 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9207 to t. (Bug#14303)
ce8209d4
LL
9208 (octave-function-header-regexp): Fix. (Bug#14570)
9209 (octave-help-mode-finish-hook, octave-help-mode-finish):
9210 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9211
9212 * newcomment.el (comment-search-backward): Revert last change.
9213 (Bug#14434)
9214
9215 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9216
a822acff
EZ
92172013-06-07 Eli Zaretskii <eliz@gnu.org>
9218
9219 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9220 through xargs, to avoid failure due to MS-Windows limitations on
9221 command-line length.
9222
961166f5
GM
92232013-06-06 Glenn Morris <rgm@gnu.org>
9224
d0341459
GM
9225 * font-lock.el (lisp-font-lock-keywords-2):
9226 Treat user-error like error.
9227
961166f5
GM
9228 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9229 (byte-compile-backward-char, byte-compile-backward-word):
9230 Handle explicit nil arguments. (Bug#14565)
9231
80fa505f
AM
92322013-06-05 Alan Mackenzie <acm@muc.de>
9233
9234 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9235 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9236 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9237 (Bug#9706)
80fa505f 9238
fccdc796
SM
92392013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9240
9241 * autorevert.el (auto-revert-notify-handler): Use memq.
9242 Hide assertion failure.
9243
9244 * skeleton.el: Use cl-lib.
9245 (skeleton-further-elements): Use defvar-local.
9246 (skeleton-insert): Use cl-progv.
9247
9bfff84b
TZ
92482013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9249
9250 * progmodes/prog-mode.el (prog-prettify-symbols)
9251 (prog-prettify-install): Update docstrings.
9252
55577e7c
SM
92532013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9254
9255 * simple.el: Move all the prog-mode code to prog-mode.el.
9256 * progmodes/prog-mode.el: New file.
9257 * loadup.el: Add prog-mode.el.
9258
8fc57765
TZ
92592013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9260
9261 * simple.el (prog-prettify-symbols): Add version.
9262 (prog-prettify-install): Add convenience function to prettify symbols.
9263
9264 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9265 (perl--augmented-font-lock-keywords-1)
9266 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9267 variables and use it.
9268
9269 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9270 (cfengine3-mode): Remove unneeded variable and use it.
9271
9272 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9273 (lisp--augmented-font-lock-keywords-1)
9274 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9275 Remove unneeded variables and use it.
9276
650645d5 92772013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9278
9279 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9280 to point when opening the connection. (Bug#14380)
28f5da6d 9281
781b4af6
SM
92822013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9283
9284 * subr.el (load-history-regexp, load-history-filename-element)
9285 (eval-after-load, after-load-functions, do-after-load-evaluation)
9286 (eval-next-after-load, display-delayed-warnings)
9287 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9288 definition of save-match-data.
9289 (overriding-local-map): Remove accidental obsolescence declaration.
9290
9291 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9292
3ca0d0b4
TZ
92932013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9294
9295 Generalize symbol prettify support to prog-mode and implement it
9296 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9297 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9298 (prog--prettify-font-lock-compose-symbol)
9299 (prog-prettify-font-lock-symbols-keywords): New variables and
9300 functions to support symbol prettification.
9301 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9302 (lisp--augmented-font-lock-keywords-1)
9303 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9304 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9305 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9306 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9307 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9308 * progmodes/perl-mode.el (perl-prettify-symbols)
9309 (perl--font-lock-compose-symbol)
9310 (perl--font-lock-symbols-keywords): Move to prog-mode.
9311 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9312 (perl-font-lock-keywords-1)
9313 (perl-font-lock-keywords-2): Remove explicit prettify support.
9314 (perl--augmented-font-lock-keywords)
9315 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9316 (perl--augmented-font-lock-keywords-2, perl-mode):
9317 Implement prettify support.
3ca0d0b4 9318
976cb066
LL
93192013-06-05 Leo Liu <sdl.web@gmail.com>
9320
9321 Re-implement smie matching block highlight using
9322 show-paren-data-function. (Bug#14395)
9323 * emacs-lisp/smie.el (smie-matching-block-highlight)
9324 (smie--highlight-matching-block-overlay)
9325 (smie--highlight-matching-block-lastpos)
9326 (smie-highlight-matching-block)
9327 (smie-highlight-matching-block-mode): Remove.
9328 (smie--matching-block-data-cache): New variable.
9329 (smie--matching-block-data): New function.
9330 (smie-setup): Use smie--matching-block-data for
9331 show-paren-data-function.
9332
9333 * progmodes/octave.el (octave-mode-menu): Fix.
9334 (octave-find-definition): Skip garbage lines.
9335
208d0342
SM
93362013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9337
9338 Fix compilation error with simultaneous dynamic+lexical scoping.
9339 Add warning when a defvar appears after the first let-binding.
9340 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9341 (byte-compile-close-variables): Initialize it.
9342 (byte-compile--declare-var): New function.
9343 (byte-compile-file-form-defvar)
9344 (byte-compile-file-form-define-abbrev-table)
9345 (byte-compile-file-form-custom-declare-variable): Use it.
9346 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9347 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9348 (byte-compile-bind): Handle dynamic bindings that shadow
9349 lexical bindings.
9350 (byte-compile-unbind): Make arg non-optional.
9351 (byte-compile-let): Simplify.
9352 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9353 (cconv--analyse-function, cconv-analyse-form): Populate it.
9354 Protect byte-compile-bound-variables to limit the scope of defvars.
9355 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9356 Remove unneeded rule for `declare'.
9357
9358 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9359 so as to avoid depending on cl-adjoin at run-time.
9360 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9361
9362 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9363 (macroexp--warn-and-return): Use it.
9364
1ac2891e
GM
93652013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9366
a12bf61e 9367 * subr.el: Convert to lexical binding.
1ac2891e
GM
9368 (overriding-local-map): Make obsolete.
9369 (add-to-list): Doc fix. Add compiler macro.
9370 (read-key): Swap values of local maps.
9371
2587b005
LL
93722013-06-05 Leo Liu <sdl.web@gmail.com>
9373
9374 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9375
f1da3c88
LL
93762013-06-04 Leo Liu <sdl.web@gmail.com>
9377
9378 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9379 (compilation-auto-jump): Suppress the "Mark set" message to give
9380 way to exit message.
9381
3caa391f
AM
93822013-06-04 Alan Mackenzie <acm@muc.de>
9383
9384 Remove faulty optimisation from indentation calculation.
9385 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9386 search limit based on 2000 characters back from indent-point.
9387
068922a2
TH
93882013-06-03 Tassilo Horn <tsdh@gnu.org>
9389
9390 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9391
1f8fdd53
SM
93922013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9393
bbcc4d97
SM
9394 * emacs-lisp/lisp.el: Use lexical-binding.
9395 (lisp--local-variables-1, lisp--local-variables): New functions.
9396 (lisp--local-variables-completion-table): New var.
208d0342 9397 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9398
1f8fdd53
SM
9399 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9400 eagerly (bug#14422).
9401
c9628c79
MA
94022013-06-03 Michael Albinus <michael.albinus@gmx.de>
9403
9404 * autorevert.el (auto-revert-notify-enabled)
9405 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9406 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9407 (auto-revert-notify-handler): Handle also gfilenotify.
9408
e7b41c4c 9409 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9410 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9411 Remove.
c9628c79 9412
e5e4a942
JL
94132013-06-03 Juri Linkov <juri@jurta.org>
9414
9415 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9416 `M-s h .'. (Bug#14427)
9417
9418 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9419 command `hi-lock-face-symbol-at-point'.
9420 (hi-lock-face-symbol-at-point): New command.
9421 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9422 (hi-lock-menu): Add `highlight-symbol-at-point'.
9423 (hi-lock-mode): Doc fix.
9424
9425 * isearch.el (isearch-forward-symbol-at-point): New command.
9426 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9427 (isearch-highlight-regexp): Add a regexp which matches
9428 words/symbols for word/symbol mode.
9429
9430 * subr.el (find-tag-default-bounds): New function with the body
9431 mostly moved from `find-tag-default'.
9432 (find-tag-default): Move most code to `find-tag-default-bounds',
9433 call it and apply `buffer-substring-no-properties' afterwards.
9434
26b3353a
TH
94352013-06-03 Tassilo Horn <tsdh@gnu.org>
9436
781b4af6
SM
9437 * eshell/em-term.el (eshell-term-initialize):
9438 Use `cl-intersection' rather than `intersection'.
26b3353a 9439
51b60f53
XF
94402013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9441
fe054b63 9442 * vc/log-view.el: Doc fix.
d3ffe17c 9443 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9444
a0eb10b3 94452013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9446
9447 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9448 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9449 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9450 (eieio-unbound, eieio-default-superclass)
9451 (eieio--define-field-accessors, method-static, method-before)
9452 (method-primary, method-after, method-num-lists)
9453 (method-generic-before, method-generic-primary)
9454 (method-generic-after, method-num-slots)
9455 (eieio-specialized-key-to-generic-key)
9456 (eieio--check-type, class-v, class-p)
9457 (eieio-class-name, define-obsolete-function-alias)
9458 (eieio-class-parents-fast, eieio-class-children-fast)
9459 (same-class-fast-p, class-constructor, generic-p)
9460 (generic-primary-only-p, generic-primary-only-one-p)
9461 (class-option-assoc, class-option, eieio-object-p)
9462 (class-abstract-p, class-method-invocation-order)
9463 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9464 (eieio-class-un-autoload, eieio-defclass)
9465 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9466 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9467 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9468 (eieio-defgeneric-reset-generic-form)
9469 (eieio-defgeneric-form-primary-only)
9470 (eieio-defgeneric-reset-generic-form-primary-only)
9471 (eieio-defgeneric-form-primary-only-one)
9472 (eieio-defgeneric-reset-generic-form-primary-only-one)
9473 (eieio-unbind-method-implementations)
9474 (eieio--defmethod, eieio--typep)
9475 (eieio-perform-slot-validation, eieio-validate-slot-value)
9476 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9477 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9478 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9479 (eieio-slot-name-index, eieio-class-slot-name-index)
9480 (eieio-set-defaults, eieio-initarg-to-attribute)
9481 (eieio-attribute-to-initarg, eieio-c3-candidate)
9482 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9483 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9484 (eieio-class-precedence-list, eieio-generic-call-methodname)
9485 (eieio-generic-call-arglst, eieio-generic-call-key)
9486 (eieio-generic-call-next-method-list)
9487 (eieio-pre-method-execution-functions, eieio-generic-call)
9488 (eieio-generic-call-primary-only, eieiomt-method-list)
9489 (eieiomt-optimizing-obarray, eieiomt-install)
9490 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9491 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9492 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9493 (defclass): Remove `eval-and-compile' from macro.
9494 (call-next-method, shared-initialize): Instead of using
9495 `scoped-class' variable, use new eieio--scoped-class, and
9496 eieio--with-scoped-class.
9497 (initialize-instance): Rename local variable 'scoped-class' to
9498 'this-class' to remove ambiguitity from old global.
9499
9500 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9501 eieio.el.
4f405069
JB
9502 (eieio--scoped-class-stack): New variable.
9503 (eieio--scoped-class): New fcn.
890f7890
DE
9504 (eieio--with-scoped-class): New scoping macro.
9505 (eieio-defclass): Use pushnew instead of add-to-list.
9506 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9507 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9508 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9509 `scoped-class' variable, use new eieio--scoped-class, and
9510 eieio--with-scoped-class.
9511
9512 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9513
d105b0e2
TH
95142013-06-02 Tassilo Horn <tsdh@gnu.org>
9515
9516 * eshell/esh-ext.el (eshell-external-command): Pass args to
9517 `eshell-find-interpreter'.
9518 (eshell-find-interpreter): Add new second parameter ARGS.
9519
9520 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9521 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9522
9523 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9524 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9525
9526 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9527 (eshell-visual-options): New defcustom.
9528 (eshell-escape-control-x): Adapt docstring.
9529 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9530 `eshell-visual-options' in addition to `eshell-visual-commands'.
9531 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9532
f46305c8 95332013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9534
9535 * progmodes/python.el (python-indent-block-enders): Add break,
9536 continue and raise keywords.
9537
d870df21
GM
95382013-06-01 Glenn Morris <rgm@gnu.org>
9539
9133b82e
GM
9540 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9541
02c992ec 9542 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9543 * progmodes/cc-cmds.el (delete-forward-p):
9544 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9545 * progmodes/cc-engine.el (buffer-syntactic-context):
9546 * progmodes/cc-fonts.el (face-property-instance):
9547 * progmodes/cc-mode.el (set-keymap-parents):
9548 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9549 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9550 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9551 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9552 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9553
31e7b090
GM
9554 * progmodes/cc-vars.el (other): Emacs has this widget since
9555 at least 21.1, so don't (re)define it.
9556
d870df21
GM
9557 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9558 Replace the obsolete alias pcomplete-arg-quote-list.
9559
c75c93c7
LL
95602013-06-01 Leo Liu <sdl.web@gmail.com>
9561
9562 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9563 punctuation syntax.
9564 (inferior-octave-minimal-columns)
9565 (inferior-octave-last-column-width): New variables.
9566 (inferior-octave-track-window-width-change): New function.
9567 (inferior-octave-mode): Adjust column width so that Octave output,
9568 for example from 'ls', can fit into the window nicely.
9569
973d1e12
DG
95702013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9571
9572 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9573 Highlight expansions inside regexp literals.
9574
0888c286
GM
95752013-05-31 Glenn Morris <rgm@gnu.org>
9576
e26aac1f
GM
9577 * obsolete/sym-comp.el (symbol-complete):
9578 Replace obsolete completion-annotate-function.
9579
0888c286
GM
9580 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9581
19bb8e62
DG
95822013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9583
781b4af6
SM
9584 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9585 New function, checks if point is inside a literal that allows
19bb8e62
DG
9586 expression expansion.
9587 (ruby-syntax-propertize-expansion): Use it.
9588 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9589 around the body.
9590
01dea85f
JL
95912013-05-30 Juri Linkov <juri@jurta.org>
9592
9593 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9594 to "\M-si".
9595 (isearch-invisible): New variable.
9596 (isearch-forward): Doc fix.
9597 (isearch-mode): Set `isearch-invisible'
9598 to the value of `search-invisible'.
9599 (isearch-toggle-case-fold): Doc fix.
9600 (isearch-toggle-invisible): New command.
9601 (isearch-query-replace): Let-bind `search-invisible'
9602 to the value of `isearch-invisible'.
9603 (isearch-search): Use `isearch-invisible' instead of
9604 `search-invisible'. Let-bind `search-invisible'
9605 to the value of `isearch-invisible'. (Bug#11378)
9606
ab1bdce5
JL
96072013-05-30 Juri Linkov <juri@jurta.org>
9608
9609 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9610 call when `query-flag' is nil and `search-invisible' is non-nil.
9611 (Bug#11746)
9612
d6d236e2
GM
96132013-05-30 Glenn Morris <rgm@gnu.org>
9614
8accd027
GM
9615 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9616
2a8bed1c
GM
9617 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9618 (cc-require): Suppress spurious "noruntime" warnings.
9619 (cc-require-when-compile): Use fboundp, for sake of compiler.
9620
d6d236e2
GM
9621 * progmodes/cc-mode.el: Move load of cc-vars before that of
9622 cc-langs (which in turn loads cc-vars), to quieten compiler.
9623
9190b35b
SM
96242013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * paren.el: Simplify the code.
9627 (show-paren-mode): Always start the timer.
9628 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9629 (show-paren--overlay, show-paren--overlay-1): Rename from
9630 show-paren-overlay and show-paren-overlay-1, and initialize to an
9631 overlay rather than to nil.
9632 (show-paren-function): Misc cleanup and simplifications.
9633
4f8d1cf6
SM
96342013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9635
9636 * paren.el (show-paren-data-function): New hook.
9637 (show-paren--default): New function, extracted from show-paren-function.
9638 (show-paren-function): Use show-paren-data-function.
9639
02d844b5
GM
96402013-05-30 Glenn Morris <rgm@gnu.org>
9641
d209d4a9
GM
9642 * ielm.el (ielm-map, ielm-complete-symbol):
9643 Use completion-at-point rather than obsolete functions.
9644 (inferior-emacs-lisp-mode): Doc fix.
9645 Set completion-at-point-functions, rather than
9646 comint-dynamic-complete-functions.
9647
2082faa6
GM
9648 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9649 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9650 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9651
dd8620de
GM
9652 * image.el (image-animated-p): Tweak definition.
9653
ceca95b1
GM
9654 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9655 (rlogin-process-connection-type): Tweak default. Add set-after.
9656 (rlogin-host): Doc fix.
9657 (rlogin): Tweak prompt.
9658 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9659
ee9f1acc
GM
9660 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9661 * progmodes/tcl.el (inferior-tcl-mode-map):
9662 Use completion-at-point rather than obsolete alias.
9663
45ce222e
GM
9664 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9665
02d844b5
GM
9666 * minibuffer.el (read-file-name-completion-ignore-case):
9667 Move before completion--in-region, for eager macro expansion.
9668
ac44d6c1
JL
96692013-05-29 Juri Linkov <juri@jurta.org>
9670
9671 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9672 for total count of matching lines. Add `global-matches' for total
9673 count of matches. Rename `matches' to `lines' for count of
9674 matching lines. Add `matches' for count of matches.
9675 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9676 to `prev-line' for line number of prev match endpt.
9677 Increment `matches' for every match. Print the number of
9678 matching lines in the header.
9679 (occur-context-lines): Rename `lines' to `curr-line'.
9680 Rename `prev-lines' to `prev-line'. (Bug#14017)
9681
3c9c9d38
JL
96822013-05-29 Juri Linkov <juri@jurta.org>
9683
9684 * replace.el (perform-replace): Add `skip-read-only-count',
9685 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9686 Increment them for corresponding conditions and report the number
9687 of skipped occurrences in the final message. (Bug#11746)
9688 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9689 (replace-string, replace-regexp): Doc fix.
9690
33e249a2
SM
96912013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9692
8e399682
SM
9693 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9694
33e249a2 9695 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9696 prog-mode-map (bug#14504).
33e249a2 9697
f236dd84
LL
96982013-05-29 Leo Liu <sdl.web@gmail.com>
9699
9700 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9701 (octave-help): Small simplification.
9702
9703 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9704 off the highlight first.
9705
3694d13f
GM
97062013-05-29 Glenn Morris <rgm@gnu.org>
9707
03983bdc
GM
9708 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9709 Handle idlwave-last-system-routine-info-cons-cell being nil.
9710
bc74a74a
GM
9711 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9712 (idlwave-write-paths): Simplify via with-temp-buffer.
9713
8b394200
GM
9714 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9715 * emulation/cua-rect.el: Also load cua-base at run time.
9716
3694d13f
GM
9717 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9718 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9719 (cperl-imenu-on-info): Require imenu.
9720
336d7284
AM
97212013-05-28 Alan Mackenzie <acm@muc.de>
9722
9723 Handle "capitalised keywords" correctly.
33e249a2 9724 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9725
cb29c582
AG
97262013-05-28 Aidan Gauland <aidalgol@amuri.net>
9727
781b4af6 9728 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9729
690e44b2
GM
97302013-05-28 Glenn Morris <rgm@gnu.org>
9731
e658d75c
GM
9732 * vc/vc-arch.el (vc-exec-after): Declare.
9733 (vc-switches): Autoload.
9734 * vc/vc-bzr.el: No need to require vc when compiling.
9735 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9736 (vc-resynch-buffer, vc-dir-refresh): Declare.
9737 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9738 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9739 (vc-resynch-buffer): Declare.
9740 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9741 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9742 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9743 (grep-read-regexp, grep-read-files, grep-expand-template)
9744 (vc-dir-refresh): Declare.
9745 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9746 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9747 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9748 * vc/vc-mtn.el (vc-exec-after): Declare.
9749 (vc-switches): Autoload.
9750 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9751 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9752 (vc-file-tree-walk): Declare.
712b9732
GM
9753 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9754 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9755 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9756 * vc/vc-svn.el (vc-exec-after): Declare.
9757 (vc-switches, vc-setup-buffer): Autoload.
9758 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9759 Autoload.
9760 (vc-resynch-buffer): Declare.
9761
98e87fb3
GM
9762 * obsolete/fast-lock.el (byte-compile-warnings):
9763 Don't warn about obsolete features in this obsolete file.
9764
f5379553
GM
9765 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9766 Move definition before use.
9767
7a20ef83
GM
9768 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9769 (dun-unix-verbs): Remove dun-zippy.
9770 (dun-zippy): Remove function.
9771
690e44b2
GM
9772 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9773
3a52ccf7
JL
97742013-05-27 Juri Linkov <juri@jurta.org>
9775
9776 * replace.el (replace-search): New function with code moved out
9777 from `perform-replace'.
9778 (replace-highlight, replace-dehighlight): Move function definitions
9779 up closer to `replace-search'. (Bug#11746)
9780
d289938a
JL
97812013-05-27 Juri Linkov <juri@jurta.org>
9782
9783 * replace.el (perform-replace): Ignore invisible matches.
9784 In addition to checking `query-replace-skip-read-only', also
9785 filter out matches by calling `run-hook-with-args-until-failure'
9786 on `isearch-filter-predicates', and also check `search-invisible'
9787 for t or call `isearch-range-invisible'.
9788 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9789
66fc57e3
JL
97902013-05-27 Juri Linkov <juri@jurta.org>
9791
9792 * isearch.el (isearch-filter-predicates): Rename from
9793 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9794 (isearch-message-prefix): Display text from the property
9795 `isearch-message-prefix' of the currently active filters.
9796 (isearch-search): Don't compare `isearch-filter-predicate' with
9797 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9798 on `isearch-filter-predicates'. Also check `search-invisible' for t
9799 or call `isearch-range-invisible'.
9800 (isearch-filter-visible): Make obsolete.
9801 (isearch-lazy-highlight-search):
9802 Call `run-hook-with-args-until-failure' on
9803 `isearch-filter-predicates' and use `isearch-range-invisible'.
9804
9805 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9806 `isearch-filter-predicates' instead of `funcall'ing
9807 `isearch-filter-predicate'.
9808 (Info-mode): Set `Info-isearch-filter' to
9809 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9810
9811 * dired-aux.el (dired-isearch-filter-predicate-orig):
9812 Remove variable.
9813 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9814 (dired-isearch-filenames-end): Add and remove
9815 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9816 instead of changing the value of `isearch-filter-predicate'.
9817 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9818 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9819 Put property `isearch-message-prefix' to "filename " on
9820 `dired-isearch-filter-filenames'.
9821
9822 * wdired.el (wdired-change-to-wdired-mode):
9823 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9824 locally instead of changing `isearch-filter-predicate'.
9825 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9826
f1a60a0f
DG
98272013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9828
9829 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9830 return the commit hash (Bug#14459). Also set the
9831 `vc-git-detached' property.
9832 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9833 (vc-git-mode-line-string): Use the same help-echo format whether
9834 in detached mode or not, because we know the actual revision now.
9835 When in detached mode, shorten the revision to 7 chars.
9836
7f17cc40
SM
98372013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9838
9839 * emacs-lisp/easy-mmode.el (define-minor-mode):
9840 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9841 mode hook and provide a docstring.
9842
25c8401c
AM
98432013-05-27 Alan Mackenzie <acm@muc.de>
9844
9845 Remove spurious syntax-table text properties inserted by C-y.
9846 * progmodes/cc-mode.el (c-after-change): Also clear hard
9847 syntax-table property with value nil.
9848
dde84790
MA
98492013-05-27 Michael Albinus <michael.albinus@gmx.de>
9850
9851 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9852 when reading the events; the buffer layout shall not be changed.
9853
837fd9af
LL
98542013-05-27 Leo Liu <sdl.web@gmail.com>
9855
9856 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9857 New variable.
9858 (inferior-octave-directory-tracker): Automatically re-sync
9859 default-directory.
9860 (octave-help): Improve handling of 'See also'.
9861
4fd996b3
SM
98622013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9863
416f1802
SM
9864 * doc-view.el: Minor naming convention tweaks.
9865 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9866
4fd996b3
SM
9867 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9868 even if there's no `display' property yet (bug#14435).
9869
a052ef3b
EZ
98702013-05-25 Eli Zaretskii <eliz@gnu.org>
9871
4fd996b3 9872 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9873
9874 * Makefile.in (custom-deps, finder-data, autoloads)
9875 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9876 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9877 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9878
c9023370
SM
98792013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9880
9881 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9882 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9883 Don't burp at EOB.
c9023370 9884
24d699fa
LL
98852013-05-25 Leo Liu <sdl.web@gmail.com>
9886
9887 * comint.el (comint-previous-matching-input): Do not flood the
9888 *Messages* buffer with trivial messages.
9889
17e5c0cc
SM
98902013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9891
9892 * progmodes/flymake.el (flymake-nop): Don't return a string.
9893 (flymake-set-at): Fix typo.
9894
9895 * simple.el (read--expression): New function, extracted from
9896 eval-expression. Set completion-at-point-functions (bug#14465).
9897 (eval-expression, eval-minibuffer): Use it.
9898
5d028165
XF
98992013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9900
9901 * progmodes/flymake.el (flymake-save-buffer-in-file)
9902 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9903 (flymake-selected-frame, flymake-log, flymake-ins-after)
9904 (flymake-set-at, flymake-get-buildfile-from-cache)
9905 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9906 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9907 Refine the doc string.
9908 (flymake-get-file-name-mode-and-masks): Reformat.
9909 (flymake-get-real-file-name-function): Fix a minor bug.
9910
7a1d7ba7
JL
99112013-05-24 Juri Linkov <juri@jurta.org>
9912
9913 * progmodes/grep.el (grep-mode-font-lock-keywords):
9914 Support =linenumber= format used by git-grep for lines with
9915 function names. (Bug#13549)
9916
650cff3d
SM
99172013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9918
9919 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9920 0 after a semi-colon; it works better for smie-auto-fill.
9921 (octave--indent-new-comment-line): New function.
9922 (octave-indent-new-comment-line): Use it (indirectly).
9923 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9924 modify comment-line-break-function.
9925
9926 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9927 (smie-setup): Use add-function to set it.
9928
9631677d
SS
99292013-05-24 Sam Steingold <sds@gnu.org>
9930
9931 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9932 argument (before the `interactive' argument).
9933
50105835
SM
99342013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * image-mode.el (image-mode-winprops): Add winprops to
9937 image-mode-winprops-alist before running
9938 image-mode-new-window-functions.
9939 * doc-view.el (doc-view-new-window-function): Don't delay
9940 doc-view-goto-page via timers (bug#14435).
9941
57b9823e
TH
99422013-05-24 Tassilo Horn <tsdh@gnu.org>
9943
9944 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9945 (doc-view-desktop-save-buffer): New function.
9946 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9947 (desktop-buffer-mode-handlers):
9948 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9949 handler.
9950 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9951 `desktop-save-buffer' function.
9952
91aafa16
MA
99532013-05-24 Michael Albinus <michael.albinus@gmx.de>
9954
9955 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9956 (tramp-gvfs-file-name-handler): Raise a user error when
9957 `tramp-gvfs-enabled' is nil.
9958 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9959 Do not raise a user error when loading package. (Bug#14447)
9960
ec076379
MA
9961 * net/xesam.el: Move to obsolete/.
9962
db785726
GM
99632013-05-24 Glenn Morris <rgm@gnu.org>
9964
af5c7606
GM
9965 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9966
e5d1916a
GM
9967 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9968
ded62b08
GM
9969 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9970 (Info-find-node, Man-getpage-in-background): Declare.
9971
9e614a3f
GM
9972 * mail/unrmail.el (unrmail):
9973 Replace obsolete detect-coding-with-priority.
9974
892f8ca3
GM
9975 * net/socks.el (socks-split-string): Use this rather than split-string.
9976 (socks-nslookup-host): Update for above change.
9977 (dynamic-choice, s5-dynamic-choice-match)
9978 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9979 Comment out unused code.
9980
3c291973
GM
9981 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9982 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9983 (gud-tooltip-echo-area): Make obsolete.
9984 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9985
43cc956b
GM
9986 * progmodes/js.el (js--optimize-arglist): Declare.
9987
dab49a3b
GM
9988 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9989
36b9d085
GM
9990 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9991 (ediff-window-C): Declare.
9992
e354ae76
GM
9993 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9994 Tweak requires to silence compiler.
9995
b8e57bf4
GM
9996 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9997 (he-search-string, he-tried-table, he-expand-list)
9998 (he-init-string, he-string-member, he-substitute-string)
9999 (he-reset-string): Declare.
10000
db785726
GM
10001 * obsolete/options.el (list-options): Use custom-variable-p,
10002 rather than obsolete alias.
10003
b3531901
SS
100042013-05-23 Sam Steingold <sds@gnu.org>
10005
10006 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10007 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10008 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10009
bdda4c66
SM
100102013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10011
10012 * emacs-lisp/smie.el (smie-indent-forward-token)
10013 (smie-indent-backward-token): Handle string tokens (bug#14381).
10014
c43d45f9
TH
100152013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10016
fe1eb856
RS
10017 * ielm.el (ielm-menu): New menu.
10018 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10019
fe1eb856
RS
100202013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10021
a12bf61e 10022 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10023 Fix deactivate action.
10024
a12bf61e 10025 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10026 Add cleveref macros.
074dd971 10027
a12bf61e 10028 * textmodes/reftex-parse.el
c43d45f9
TH
10029 (reftex-locate-bibliography-files): Accept options for
10030 bibliography commands.
a12bf61e 10031 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10032 Add addbibresource. Basic Biblatex support.
10033
7764286e
MA
100342013-05-23 Michael Albinus <michael.albinus@gmx.de>
10035
10036 * net/tramp-gvfs.el (top):
10037 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10038 when loading package. (Bug#14447)
10039
d361bc10
GM
100402013-05-23 Glenn Morris <rgm@gnu.org>
10041
8fa23984
GM
10042 * progmodes/js.el: No need to load comint when compiling.
10043 (ring-insert, comint-send-string, comint-send-input)
10044 (comint-last-input-end, ido-chop): Declare.
10045
a5c7df1a
GM
10046 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10047 * vc/ediff-mult.el: Adjust requires.
10048 (ediff-directories-internal, ediff-directory-revisions-internal)
10049 (ediff-patch-file-internal): Declare.
10050 * vc/ediff-ptch.el: Adjust requires.
10051 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10052 (ediff-find-file): Autoload.
10053 * vc/ediff-util.el: No need to load ediff when compiling.
10054 (ediff-regions-internal): Declare.
10055 * vc/ediff-wind.el: Adjust requires.
10056 (ediff-compute-toolbar-width): Define when compiling.
10057 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10058 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10059 (dired-get-filename, dired-get-marked-files)
10060 (ediff-last-dir-patch, ediff-patch-default-directory)
10061 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10062 (ediff-patch-buffer-internal): Declare.
10063
e2aec513
GM
10064 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10065 (ispell-process, ispell-buffer-local-words, lm-summary)
10066 (lm-section-start, lm-section-end): Declare.
10067 (checkdoc-ispell-init): Simplify.
10068
e68bbd7c
GM
10069 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10070 (he-string-member, he-reset-string, he-substitute-string): Declare.
10071
7efe0991
GM
10072 * eshell/em-ls.el: Adjust requires.
10073 (eshell-glob-regexp): Declare.
f87b1284
GM
10074 * eshell/em-tramp.el: Adjust requires.
10075 (eshell-parse-command): Autoload.
10076 * eshell/em-xtra.el: Adjust requires.
10077 (eshell-parse-command): Autoload.
10078 * eshell/esh-ext.el: Adjust requires.
10079 (eshell-parse-command, eshell-close-handles): Autoload.
10080 * eshell/esh-io.el: Adjust requires.
10081 (eshell-output-filter): Autoload.
10082 * eshell/esh-util.el: No need to load tramp when compiling.
10083 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10084 Declare.
10085 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10086 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10087 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10088 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10089 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10090 * eshell/esh-opt.el, eshell/esh-proc.el:
10091 * eshell/esh-var.el: Adjust requires.
10092 * eshell/eshell.el: Do not require esh-util twice.
10093 (eshell-add-input-to-history): Declare.
10094 (eshell-command): Check history module is active before using it.
10095
d361bc10
GM
10096 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10097
85d090a9
LL
100982013-05-22 Leo Liu <sdl.web@gmail.com>
10099
10100 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10101
5d0acd9d
MA
101022013-05-22 Michael Albinus <michael.albinus@gmx.de>
10103
10104 * autorevert.el (auto-revert-notify-add-watch)
10105 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10106 it indicates changes in file modification time.
10107
0cdffd7d
GM
101082013-05-22 Glenn Morris <rgm@gnu.org>
10109
ca5995ec
GM
10110 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10111 Always delete the autoloaded function from the noruntime and
10112 unresolved functions lists.
10113
6450907e
GM
10114 * allout.el: No need to load epa, epg, overlay when compiling.
10115 (epg-context-set-passphrase-callback, epg-list-keys)
10116 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10117 (epg-key-user-id-list): Declare.
10118
9c6906f6
GM
10119 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10120 (viper-set-parsing-style-toggling-macro)
10121 (viper-set-emacs-state-searchstyle-macros):
10122 Use called-interactively-p on Emacs.
10123 (viper-looking-back): Make it an obsolete alias. Update callers.
10124 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10125 Use looking-back rather than viper-looking-back.
10126 (viper-tmp-insert-at-eob, viper-enlarge-region)
10127 (viper-read-string-with-history, viper-register-to-point)
10128 (viper-append-to-register, viper-change-state-to-vi)
10129 (viper-backward-char-carefully, viper-forward-char-carefully)
10130 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10131 (viper-change-state-to-emacs): Declare.
10132 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10133 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10134 * emulation/viper-mous.el: Do not load viper-cmd.
10135 (viper-backward-char-carefully, viper-forward-char-carefully)
10136 (viper-forward-word, viper-adjust-window): Declare.
10137
5f70c169
GM
10138 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10139
b1b7f300
GM
10140 * progmodes/idlw-help.el (idlwave-help-fontify):
10141 Use called-interactively-p.
10142
f6ebbb46
GM
10143 * term/w32console.el (w32-get-console-codepage)
10144 (w32-get-console-output-codepage): Declare.
10145
0cdffd7d
GM
10146 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10147 Remove unnecessary declarations.
10148 (dframe-message): Doc fix.
10149
10150 * info.el (dframe-select-attached-frame, dframe-current-frame):
10151 Declare.
10152
10153 * speedbar.el (speedbar-message): Make it an obsolete alias.
10154 Update all callers.
10155 (speedbar-with-attached-buffer)
10156 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10157 (speedbar-with-writable): Use backquote.
10158 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10159 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10160 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10161 rather than speedbar- aliases.
10162 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10163 (speedbar-make-specialized-keymap, speedbar-insert-button)
10164 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10165 (speedbar-do-function-pointer): Declare.
10166 (rmail-speedbar-button, rmail-speedbar-find-file)
10167 (rmail-speedbar-move-message):
10168 Use dframe-with-attached-buffer rather than speedbar- alias.
10169 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10170 (dframe-message, speedbar-make-specialized-keymap)
10171 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10172 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10173 (speedbar-insert-button, dframe-select-attached-frame)
10174 (dframe-maybee-jump-to-attached-frame)
10175 (speedbar-change-initial-expansion-list)
10176 (speedbar-previously-used-expansion-list-name): Declare.
10177 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10178 Use dframe-message, dframe-with-attached-buffer rather than
10179 speedbar- aliases.
10180 (gud-sentinel): Silence compiler.
10181 * progmodes/vhdl-mode.el (speedbar-refresh)
10182 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10183 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10184 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10185 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10186 (speedbar-file-lists, speedbar-make-tag-line)
10187 (speedbar-line-directory, speedbar-goto-this-file)
10188 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10189 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10190 (speedbar-make-button, speedbar-reset-scanners)
10191 (speedbar-files-item-info, speedbar-line-text)
10192 (speedbar-find-file-in-frame, speedbar-set-timer)
10193 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10194 (speedbar-with-writable): Do not (re)define it.
10195 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10196 rather than speedbar- alias.
10197
ee44b62a
LL
101982013-05-21 Leo Liu <sdl.web@gmail.com>
10199
10200 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10201 menu items.
10202 (octave-mode): Tweak fill-nobreak-predicate.
10203 (inferior-octave-startup): Check process to avoid infinite loop.
10204 (inferior-octave): Pop to buffer first to show abornmal process
10205 exit information.
10206
640f050f
GM
102072013-05-21 Glenn Morris <rgm@gnu.org>
10208
79458038
GM
10209 * printing.el (pr-menu-bar): Define when compiling.
10210
9cc3e83f
LL
102112013-05-21 Leo Liu <sdl.web@gmail.com>
10212
10213 * progmodes/octave.el (octave-auto-fill): Remove.
10214 (octave-indent-new-comment-line): Improve.
10215 (octave-mode): Use auto fill mode through
4f405069 10216 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10217 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10218 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10219 (octave-help): Show parent directory.
10220
f440830d
GM
102212013-05-21 Glenn Morris <rgm@gnu.org>
10222
10223 * files.el (dired-unmark):
10224 * progmodes/gud.el (gdb-input): Update declarations.
10225
10226 * calculator.el (electric, ehelp): No need to load when compiling.
10227 (Electric-command-loop, electric-describe-mode): Declare.
10228
10229 * doc-view.el (doc-view-current-converter-processes): Move before use.
10230
10231 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10232 Move MODE-set-explicitly definition before use.
10233
10234 * international/mule-diag.el (mule-diag):
10235 Don't use obsolete window-system-version.
10236
10237 * mail/feedmail.el (smtpmail): No need to load when compiling.
10238 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10239
10240 * mail/mail-utils.el (rfc822): No need to load when compiling.
10241 (rfc822-addresses): Autoload it.
10242 (mail-strip-quoted-names): Trivial simplification.
10243
10244 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10245 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10246
10247 * net/snmp-mode.el (tempo): Don't duplicate requires.
10248
10249 * progmodes/prolog.el (info): No need to load when compiling.
10250 (comint): Require before shell requires it.
10251 (Info-goto-node): Autoload it.
10252 (Info-follow-nearest-node): Declare.
10253 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10254
10255 * textmodes/artist.el (picture-mode-exit): Declare.
10256
10257 * textmodes/reftex-parse.el (reftex-parse-from-file):
10258 Trivial rewrite so the compiler can parse it better.
10259
b4da2cbb
LL
102602013-05-20 Leo Liu <sdl.web@gmail.com>
10261
10262 * progmodes/octave.el (octave-help-mode-map)
10263 (octave-help-mode-finish-hook): New variables.
10264 (octave-help-mode, octave-help-mode-finish): New functions.
10265 (octave-help): Use octave-help-mode.
10266
33c0f65b
GM
102672013-05-20 Glenn Morris <rgm@gnu.org>
10268
10269 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10270
1a0a0a8a
DG
102712013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10272
10273 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10274 start at point, so that expansion starting right after opening
10275 slash in a regexp is recognized.
10276 (ruby-syntax-before-regexp-re): New defvar, extracted from
10277 ruby-syntax-propertize-function. Since the value of this regexp
10278 is looked up at runtime now, we should be able to turn
10279 `ruby-syntax-methods-before-regexp' into a defcustom later.
10280 (ruby-syntax-propertize-function): Split regexp matching into two
10281 parts, for opening and closing slashes. That allows us to skip
10282 over string interpolations and support multiline regexps.
10283 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10284 for them, which calls `ruby-syntax-propertize-expansion'.
10285 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10286 call to `ruby-syntax-propertize-function'.
10287 (ruby-syntax-propertize-expansion): Extracted from
10288 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10289 (ruby-syntax-propertize-percent-literal): Leave point right after
10290 the percent symbol, so that the expression expansion rule can
10291 propertize the contents.
462388b6
DG
10292 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10293 heredoc openers.
10294 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10295
c1a6c0a4
JL
102962013-05-18 Juri Linkov <juri@jurta.org>
10297
10298 * man.el (Man-default-man-entry): Remove `-' from the end
10299 of the default value. (Bug#14400)
10300
8051fccd
GM
103012013-05-18 Glenn Morris <rgm@gnu.org>
10302
10303 * comint.el (comint-password-prompt-regexp):
10304 Allow "password for XXX" where XXX contains colons (eg https://...).
10305
5e80b74f
LL
103062013-05-18 Leo Liu <sdl.web@gmail.com>
10307
10308 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10309 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10310 (octave-source-directories): Don't check process.
10311 (octave-source-directories, octave-find-definition): Doc fix.
10312
521a54c5
GM
103132013-05-18 Glenn Morris <rgm@gnu.org>
10314
86a94b05
GM
10315 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10316 Remove backspace/delete bindings. (Bug#14392)
10317
521a54c5
GM
10318 * cus-dep.el (custom-make-dependencies): Sort the output.
10319 (custom-versions-load-alist): Convert comment to doc.
10320
42caeb89
LL
103212013-05-17 Leo Liu <sdl.web@gmail.com>
10322
10323 * newcomment.el (comment-search-backward): Stricter in finding
10324 comment start. (Bug#14303)
10325
10326 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10327 (octave-comment-start-skip): Properly anchored.
10328
e219dd97
LL
103292013-05-17 Leo Liu <sdl.web@gmail.com>
10330
fe1eb856
RS
10331 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10332 Clean up when turned off. (Bug#14395)
e219dd97
LL
10333 (smie--highlight-matching-block-overlay): No longer buffer-local.
10334 (smie-highlight-matching-block): Adjust.
10335
dc5dcb4b
PE
103362013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10337
10338 Doc string fix for "nanoseconds" (Bug#14406).
10339 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10340 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10341
1db165f0
JB
103422013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10343
10344 * calc/calc-units.el (math-extract-units): Preserve powers
10345 of units.
10346
c7a8fcac
LL
103472013-05-17 Leo Liu <sdl.web@gmail.com>
10348
10349 * subr.el (delete-consecutive-dups): New function.
10350 * ido.el (ido-set-matches-1): Use it.
10351 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10352 * ido.el (ido-remove-consecutive-dups): Remove.
10353
f678b18a
SM
103542013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10355
10356 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10357 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10358 regexp-opt's `words'.
10359
ebfe68e8
LL
103602013-05-16 Leo Liu <sdl.web@gmail.com>
10361
10362 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10363 (smie--highlight-matching-block-overlay)
10364 (smie--highlight-matching-block-lastpos)
10365 (smie--highlight-matching-block-timer): New variables.
10366 (smie-highlight-matching-block): New function.
10367 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10368 (smie-setup): Conditionally enable smie-blink-matching-open.
10369
bc8bc17d
WS
103702013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10371
10372 Sync with upstream verilog-mode r840.
10373 * progmodes/verilog-mode.el (verilog-mode-version)
10374 (verilog-mode-release-date): Update.
10375 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10376 (verilog-sig-tieoff): Fix string error on
10377 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10378 (verilog-read-decls): Fix parameters confusing
10379 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10380
df065a0b
EZ
103812013-05-16 Eli Zaretskii <eliz@gnu.org>
10382
10383 * subr.el (reveal-filename): New function.
10384
10385 * loadup.el: Compute Emacs executable versions on MS-Windows,
10386 where executables have the .exe extension. Add a hard link
10387 emacs-XX.YY.ZZ.exe on MS-Windows.
10388
10389 * Makefile.in (XARGS_LIMIT): New variable.
10390 (custom-deps, finder-data, autoloads)
10391 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10392 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10393 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10394 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10395
2d4bf34b
LL
103962013-05-16 Leo Liu <sdl.web@gmail.com>
10397
10398 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10399 (octave-mode-menu, octave-mode-map): Remove its uses.
10400
6b9c2d85
RZ
104012013-05-16 Reto Zimmermann <reto@gnu.org>
10402
10403 Sync with upstream vhdl mode v3.34.2.
10404 * progmodes/vhdl-mode.el: Use `push' throughout.
10405 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10406 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10407 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10408 (vhdl-actual-generic-name): New option to derive actual generic name.
10409 (vhdl-port-paste-signals): Replace formal by actual generics.
10410 (vhdl-beautify): New name for old group vhdl-align. Update users.
10411 (vhdl-beautify-options): New option.
10412 (vhdl-last-input-event): New compat alias. Use throughout.
10413 (vhdl-goto-line): Replace user level function `goto-line'.
10414 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10415 vhdl-fix-statement-buffer.
10416 (vhdl-create-mode-menu): Add some entries.
10417 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10418 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10419 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10420 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10421 to force statements on one line.
10422 (vhdl-remove-trailing-spaces-region):
10423 New, split from vhdl-remove-trailing-spaces.
10424 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10425 Respect vhdl-beautify-options.
10426 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10427 (vhdl-update-sensitivity-list): Not add with index if exists without.
10428 Not include array index with signal. Ignore keywords in comments.
10429 (vhdl-get-visible-signals): Regexp tweaks.
10430 (vhdl-template-component-inst): Handle empty library.
10431 (vhdl-template-type): Add template for 'enum' type.
10432 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10433 Use vhdl-replace-string.
10434 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10435 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10436 (vhdl-speedbar-initialize): Update for above name change.
10437 (vhdl-compose-wire-components): Fix in handling of constants.
10438 (vhdl-error-regexp-emacs-alist): New variable.
10439 (vhdl-error-regexp-add-emacs): New function;
10440 adds support for new compile.el (Emacs 22+)
10441 (vhdl-generate-makefile-1): Change target order for single lib. units.
10442 Allow use of absolute file names.
10443
9df4ec5e
LL
104442013-05-16 Leo Liu <sdl.web@gmail.com>
10445
10446 * simple.el (prog-indent-sexp): Indent enclosing defun.
10447
f5ba00a6
GM
104482013-05-15 Glenn Morris <rgm@gnu.org>
10449
ed8be7ff
GM
10450 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10451 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10452 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10453 (whitespace-highlight): Move to whitespace group.
10454
10455 * comint.el (comint-source):
10456 * pcmpl-linux.el (pcmpl-linux):
10457 * shell.el (shell-faces):
10458 * eshell/esh-opt.el (eshell-opt):
10459 * international/ccl.el (ccl): Remove empty custom groups.
10460
10461 * completion.el (dynamic-completion-mode):
10462 * jit-lock.el (jit-lock-debug-mode):
10463 * minibuffer.el (completion-in-region-mode):
10464 * type-break.el (type-break-mode-line-message-mode)
10465 (type-break-query-mode):
10466 * emulation/tpu-edt.el (tpu-edt-mode):
10467 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10468 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10469 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10470
10471 * term/xterm.el (xterm): Change parent group to terminals.
10472
10473 * master.el (master): Remove empty custom group.
10474 (master-mode): Remove unused :group argument.
10475 * textmodes/refill.el (refill): Remove empty custom group.
10476 (refill-mode): Remove unused :group argument.
10477
10478 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10479
82a7c41b
GM
10480 * cus-dep.el: Provide a feature.
10481 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10482 Don't mistakenly ignore files whose basenames match a basename
10483 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10484 Add a fallback method for getting :group.
f5ba00a6 10485
6d65486d
JL
104862013-05-15 Juri Linkov <juri@jurta.org>
10487
da547b32
JL
10488 * isearch.el (isearch-char-by-name): Rename from
10489 `isearch-insert-char-by-name'. Doc fix.
10490 (isearch-forward): Mention `isearch-char-by-name' in
10491 the docstring. (Bug#13348)
10492
6d65486d
JL
10493 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10494 `exit-minibuffer' instead of
10495 `isearch-nonincremental-exit-minibuffer'.
10496 (isearch-edit-string): Remove mention of
10497 `isearch-nonincremental-exit-minibuffer' from docstring.
10498 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10499 (isearch-forward-exit-minibuffer)
10500 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10501
c9990474
SM
105022013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10503
6e911150
SM
10504 * loadup.el: Just use unversioned DOC.
10505
c9990474
SM
10506 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10507 literals as extending to EOB.
10508 (nxml-last-fontify-end): Remove unused variable.
10509 (nxml-after-change1): Use with-silent-modifications.
10510 (nxml-extend-after-change-region): Simplify.
10511 (nxml-extend-after-change-region1): Remove function.
10512 (nxml-after-change1): Don't adjust for dependent regions.
10513 (nxml-fontify-matcher): Simplify.
10514 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10515 (xmltok-add-dependent): Remove function.
10516 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10517 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10518 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10519 unclosed <[[, <?, comment, and other literals as extending to EOB.
10520 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10521 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10522 Remove functions.
10523 (rng-do-some-validation-1): Don't mark dependent regions.
10524 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10525 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10526 (nxml-clear-dependent-regions): Remove functions.
10527 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10528 (nxml-ensure-scan-up-to-date):
10529 Don't clear&mark dependent regions.
10530
e3772e98
LL
105312013-05-15 Leo Liu <sdl.web@gmail.com>
10532
c9990474
SM
10533 * progmodes/octave.el (octave-goto-function-definition):
10534 Improve and fix callers.
e3772e98 10535
5ac2eb34
SM
105362013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10537
c46c57b0
SM
10538 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10539 the setter (bug#14387).
10540
5ac2eb34
SM
10541 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10542 surrounding group (bug#14402).
10543
180ed218
JL
105442013-05-14 Juri Linkov <juri@jurta.org>
10545
10546 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10547 (Bug#14390)
10548
0ac0fecb
GM
105492013-05-14 Glenn Morris <rgm@gnu.org>
10550
10551 * progmodes/f90.el (f90-imenu-generic-expression):
10552 Fix typo in 2013-05-08 change. (Bug#14402)
10553
2e78e6a7
JPG
105542013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10555
5ac2eb34
SM
10556 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10557 Remove signals for which replies are never received.
2e78e6a7 10558
53267cca
JPG
105592013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10560
10561 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10562 (gdb-handler-alist, gdb-handler-number): Remove variables.
10563 (gdb-handler-list): New variable.
10564 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10565 (gdb-pending-handler-p, gdb-handle-reply)
10566 (gdb-remove-all-pending-triggers): New functions.
10567 (gdb-discard-unordered-replies): New defcustom.
10568 (gdb-handler): New defstruct.
10569 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10570 instead of gdb-pending-triggers. Update docstring.
10571 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10572 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10573 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10574 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10575 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10576 (gdb-frame-handler): Pending triggers are now automatically managed.
10577 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10578 Remove argument.
10579 (gdb-input): Automatically handles pending triggers. Update docstring.
10580 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10581 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10582 Update comments.
10583 (gdb-done-or-error): Now use gdb-handle-reply.
10584
d04ce803
JPG
105852013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10586
10587 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10588 gdb-debug-log.
10589
0114073a
GM
105902013-05-14 Glenn Morris <rgm@gnu.org>
10591
10592 * subr.el (user-emacs-directory-warning): New option.
10593 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10594
4d25fd7e
LL
105952013-05-14 Leo Liu <sdl.web@gmail.com>
10596
10597 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10598 during redisplay.
10599 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10600 (octave-font-lock-texinfo-comment): Fix invalid search bound
10601 error: wrong side of point.
4d25fd7e 10602
27c8b6eb
GM
106032013-05-14 Glenn Morris <rgm@gnu.org>
10604
61aaeb01
GM
10605 * progmodes/flymake.el (flymake-xml-program): New option.
10606 (flymake-xml-init): Use it.
10607
5bf90bc5
GM
10608 * term/xterm.el: Provide a feature.
10609
10610 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10611
f4c7dfd2
GM
106122013-05-13 Glenn Morris <rgm@gnu.org>
10613
10614 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10615 Add compat aliases as a hack workaround. (Bug#14384)
10616
2aeb3a1d
LL
106172013-05-13 Leo Liu <sdl.web@gmail.com>
10618
b0e069c2
LL
10619 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10620 ###, and %!.
f5a9432f
LL
10621 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10622 C-M-q.
b0e069c2
LL
10623 (octave-comment-start-skip): Include %!.
10624 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10625
30ea8374
LL
106262013-05-12 Leo Liu <sdl.web@gmail.com>
10627
10628 * progmodes/octave.el (inferior-octave-startup): Store the value
10629 of __octave_srcdir__ for octave-source-directories.
10630 (inferior-octave-check-process): New function refactored out of
10631 inferior-octave-send-list-and-digest.
10632 (octave-source-directories)
10633 (octave-find-definition-filename-function): New variables.
10634 (octave-source-directories)
10635 (octave-find-definition-default-filename): New functions.
10636 (octave-find-definition): Improve to find functions implemented in C++.
10637
472a3834
GM
106382013-05-12 Glenn Morris <rgm@gnu.org>
10639
10640 * calendar/diary-lib.el (diary-outlook-format-1):
10641 Don't include dayname in the output. (Bug#14349)
10642
3191b52f
GM
106432013-05-11 Glenn Morris <rgm@gnu.org>
10644
0060ac73
GM
10645 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10646
3191b52f
GM
10647 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10648 Treat cc-provide like provide.
10649
e065ba74
KR
106502013-05-11 Kevin Ryde <user42@zip.com.au>
10651
10652 * cus-dep.el (custom-make-dependencies):
10653 Use generated-autoload-load-name for the sake of files such
10654 such cedet/semantic/bovine/c.el, where the base file name
10655 is not in load-path. (Bug#5277)
10656
36f84c37
GM
106572013-05-11 Glenn Morris <rgm@gnu.org>
10658
10659 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10660 Provide features.
10661
c8730c3a
LL
106622013-05-11 Leo Liu <sdl.web@gmail.com>
10663
10664 * progmodes/octave.el (octave-indent-comment): Improve.
10665 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10666 (octave-eldoc-function-signatures, octave-eldoc-function):
10667 New functions.
c8730c3a
LL
10668 (octave-mode, inferior-octave-mode): Add eldoc support.
10669
212e29f2
RS
106702013-05-11 Richard Stallman <rms@gnu.org>
10671
10672 * epa.el (epa-decrypt-file): Take output file name as argument
10673 and read it using `interactive'.
10674
083fe0d7
LL
106752013-05-11 Leo Liu <sdl.web@gmail.com>
10676
10677 * progmodes/octave.el (octave-beginning-of-line)
10678 (octave-end-of-line): Check before using up-list because it jumps
10679 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10680 (octave-indent-comment): New function.
10681 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10682 (octave-begin-keywords, octave-end-keywords)
10683 (octave-reserved-words, octave-smie-bnf-table)
10684 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10685
8582e4c4
GM
106862013-05-11 Glenn Morris <rgm@gnu.org>
10687
f20def1f
GM
10688 * faces.el (internal-face-x-get-resource):
10689 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10690 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10691 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10692 Fix declarations.
f20def1f 10693
445f95e2
GM
10694 * calc/calc-menu.el: Make it loadable in isolation.
10695
10696 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10697 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10698 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10699 (eudc-bbdb-query-internal): Require 'bbdb.
10700
99fb2756
GM
10701 * lpr.el (lpr-headers-switches):
10702 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10703
10704 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10705
0da7ad96
GM
10706 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10707
8582e4c4
GM
10708 * term.el (term-set-escape-char): Make it idempotent.
10709
f71c50d0
LL
107102013-05-10 Leo Liu <sdl.web@gmail.com>
10711
5ac2eb34
SM
10712 * progmodes/octave.el (inferior-octave-completion-table):
10713 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10714 completion due to bug#11906.
10715 (octave-beginning-of-defun): Re-write to be more general.
10716
d5837773
GM
107172013-05-10 Glenn Morris <rgm@gnu.org>
10718
10719 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10720
027c0f75
SM
107212013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10722
10723 * comint.el (comint-redirect-send-command-to-process): Use :around
10724 rather than :override for comint-redirect-filter.
10725 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10726 Call it instead of comint-redirect-original-filter-function (which
10727 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10728
4465bfb4
JD
107292013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10730
10731 * frame.el (display-monitor-attributes-list): Add NS case.
10732 (ns-display-monitor-attributes-list): Declare.
10733
2d809ffa 107342013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10735
10736 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10737
e54eeb9b
GM
107382013-05-09 Glenn Morris <rgm@gnu.org>
10739
56cd351d
GM
10740 * international/fontset.el (vertical-centering-font-regexp):
10741 Set standard-value.
10742
d84b6108
GM
10743 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10744
a931698a
GM
10745 * bookmark.el (bookmark-search-delay):
10746 * cus-start.el (vertical-centering-font-regexp):
10747 * ps-mule.el (ps-mule-font-info-database-default):
10748 * ps-print.el (ps-default-fg, ps-default-bg):
10749 * type-break.el (type-break-good-break-interval):
10750 * whitespace.el (whitespace-indentation-regexp)
10751 (whitespace-space-after-tab-regexp):
10752 * emacs-lisp/testcover.el (testcover-1value-functions)
10753 (testcover-noreturn-functions, testcover-progn-functions)
10754 (testcover-prog1-functions):
10755 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10756 * eshell/em-glob.el (eshell-glob-translate-alist):
10757 * play/tetris.el (tetris-tty-colors):
10758 * progmodes/cpp.el (cpp-face-default-list):
10759 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10760 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10761 (idlwave-help-browser-generic-args):
10762 * progmodes/make-mode.el (makefile-special-targets-list):
10763 * progmodes/python.el (python-shell-virtualenv-path):
10764 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10765 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10766 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10767 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10768 * textmodes/reftex-vars.el (reftex-format-label-function):
10769 * textmodes/remember.el (remember-diary-file): Fix custom types.
10770
e54eeb9b
GM
10771 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10772 Add :version.
10773
455851dd
LL
107742013-05-09 Leo Liu <sdl.web@gmail.com>
10775
10776 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10777 Restore file completion. (Bug#14300)
455851dd
LL
10778 (inferior-octave-startup): Fix incorrect highlighting for the
10779 first prompt.
10780
a9e4425b
SM
107812013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10782
10783 * progmodes/ruby-mode.el: First cut at SMIE support.
10784 (ruby-use-smie): New var.
10785 (ruby-smie-grammar): New constant.
10786 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10787 (ruby-smie--forward-token, ruby-smie--backward-token)
10788 (ruby-smie-rules): New functions.
10789 (ruby-mode-variables): Setup SMIE if applicable.
10790
060ca408
EZ
107912013-05-08 Eli Zaretskii <eliz@gnu.org>
10792
10793 * simple.el (line-move-visual): Signal beginning/end of buffer
10794 only if vertical-motion moved less than it was requested. Avoids
10795 silly incorrect error messages when there are display strings with
10796 multiple newlines at EOL.
10797
1d5963cc
SM
107982013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10799
10800 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10801 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10802 (prolog-char-quote-workaround):
10803 * progmodes/cperl-mode.el (cperl-under-as-char):
10804 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10805 Mark as obsolete.
10806 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10807 their declaration.
10808 (vhdl-mode-syntax-table-init): Remove.
10809
c9990474
SM
10810 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10811 last change.
1d5963cc
SM
10812
10813 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10814 syntax for "_".
10815 (ld-script-font-lock-keywords):
10816 Change regexps to use things like \_< and \_>.
10817
10818 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10819 Change all regexps to use things like \_< and \_>.
10820
10821 * progmodes/autoconf.el (autoconf-definition-regexp)
10822 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10823 Handle a _ with symbol syntax.
10824 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10825
c9990474
SM
10826 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10827 Consolidate declaration.
1d5963cc
SM
10828 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10829 the declaration.
10830 (ada-create-syntax-table): Remove.
10831 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10832 already has the right syntax nowadays.
10833 (ada-goto-next-word): Don't change the syntax of "_".
10834
10835 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10836 with-wrapper-hook.
10837
72d3cfca
SS
108382013-05-08 Sam Steingold <sds@gnu.org>
10839
10840 * thingatpt.el (thing-at-point): Accept optional second argument
10841 NO-PROPERTIES to strip the text properties from the return value.
10842 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10843 to `thing-at-point' instead of stripping the properties ourselves.
10844 Also, when `thing-at-point' fails to find a url, prepend "http://"
10845 to the filename at point on the assumption that the user is
10846 pointing at something like gnu.org/gnu.
10847
5cb15713
JB
108482013-05-08 Juanma Barranquero <lekktu@gmail.com>
10849
10850 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10851 * faces.el (crm-separator):
10852 Silence byte-compiler.
10853
10854 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10855 (tool-bar-map): Remove unneeded defvars.
10856
ea78b95b
LL
108572013-05-08 Leo Liu <sdl.web@gmail.com>
10858
10859 Re-work a fix for bug#10994 based on Le Wang's patch.
10860 * ido.el (ido-remove-consecutive-dups): New helper.
10861 (ido-completing-read): Use it.
10862 (ido-chop): Revert fix for bug#10994.
10863
dc7466df
AS
108642013-05-08 Adam Spiers <emacs@adamspiers.org>
10865
10866 * cus-edit.el (custom-save-variables):
10867 Pretty-print long values. (Bug#14187)
10868
9ecf672a
GM
108692013-05-08 Glenn Morris <rgm@gnu.org>
10870
10871 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10872 (m4-mode-syntax-table): Init in the defvar.
10873 (m4-mode-abbrev-table): Let define-derived-mode define it.
10874
3f555be8
TT
108752013-05-08 Tom Tromey <tromey@redhat.com>
10876
10877 * progmodes/m4-mode.el (m4-mode-syntax-table):
10878 Do not treat "_" as word constituent. (Bug#14167)
10879
7cc8ae06
GM
108802013-05-07 Glenn Morris <rgm@gnu.org>
10881
4f58bc06
GM
10882 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10883 Remove explicit eshell-isearch-cancel-map.
10884
7cc8ae06
GM
10885 * progmodes/f90.el (f90-smart-end-names): New option.
10886 (f90-smart-end): Doc fix.
10887 (f90-end-block-optional-name): New constant.
10888 (f90-block-match): Respect f90-smart-end-names.
10889
ceb57e59
SM
108902013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10891
10892 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10893 about implicit semi-colons (bug#14218).
10894
4e3f9230
YM
108952013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10896
10897 * frame.el (display-monitor-attributes-list)
10898 (frame-monitor-attributes): New functions.
10899
203a5572
LL
109002013-05-06 Leo Liu <sdl.web@gmail.com>
10901
10902 * progmodes/octave.el (octave-syntax-propertize-function): Change
10903 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10904 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10905 (octave-completion-at-point): Rename from
203a5572
LL
10906 octave-completion-at-point-function.
10907 (inferior-octave-directory-tracker): Robustify.
10908 (octave-text-functions): Remove and fix its uses. No such things
10909 any more.
10910
ee6cff99
SM
109112013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10912
10913 * emacs-lisp/trace.el (trace--display-buffer): New function.
10914 (trace-make-advice): Use it.
10915
32985194
JL
109162013-05-06 Juri Linkov <juri@jurta.org>
10917
10918 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10919 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10920 Doc fix.
10921 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10922 in the help string. (Bug#12985)
10923
a1c700de
KD
109242013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10925
10926 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10927
c67c0839
SM
109282013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10929
323885fd
SM
10930 * progmodes/perl-mode.el: Add support for here documents.
10931 (perl-syntax-propertize-function): Match here-doc markers.
10932 (perl-syntax-propertize-special-constructs): Find their end.
10933 (perl-imenu-generic-expression): Use [:alnum:].
10934
c67c0839
SM
10935 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10936 (advice--add-function): Refresh the advice if already present
10937 (bug#14317).
10938
d491e7a8
IA
109392013-05-06 Ivan Andrus <darthandrus@gmail.com>
10940
10941 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10942
ddf9925e
GM
109432013-05-06 Glenn Morris <rgm@gnu.org>
10944
7cc3af27
GM
10945 * w32-fns.el (w32-charset-info-alist): Declare.
10946
16e343d6
GM
10947 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10948 of its defcustom properties.
10949 (eshell-cmpl-initialize): No need to load pcomplete.
10950
7d889a47
GM
10951 * generic-x.el: No need to require comint when compiling.
10952
ddf9925e
GM
10953 * net/eudc-export.el: Make it loadable without bbdb.
10954 (top-level): Use require rather than load-library.
10955 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10956 (eudc-batch-export-records-to-bbdb)
10957 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10958 Require bbdb.
10959
1e2c18df
SM
109602013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10961
10962 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10963 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10964 some tweaks, instead.
10965
02502a5f
LL
109662013-05-05 Leo Liu <sdl.web@gmail.com>
10967
10968 * progmodes/octave.el (octave-font-lock-keywords)
10969 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10970 (inferior-octave-send-list-and-digest): Improve error message.
10971 (octave-mode, inferior-octave-mode): Use setq-local.
10972 (octave-help): Set info-lookup-mode.
10973
0dc04f42
RS
109742013-05-05 Richard Stallman <rms@gnu.org>
10975
6c54491c
RS
10976 * vc/compare-w.el (compare-windows-whitespace):
10977 Treat no-break space as whitespace.
10978
0dc04f42
RS
10979 * mail/rmailsum.el (rmail-summary-rmail-update):
10980 Detect empty summary and don't change selected message.
10981 (rmail-summary-goto-msg): Likewise.
10982
df8f35df
RS
10983 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10984 Doc fixes, rename args.
10985
5356e1a3
AM
109862013-05-05 Alan Mackenzie <acm@muc.de>
10987
10988 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10989
d44014cb
JL
109902013-05-05 Juri Linkov <juri@jurta.org>
10991
10992 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10993 to not add the length of the summary segment to the return value.
10994 (Bug#14125)
10995
c129b51f
LL
109962013-05-05 Leo Liu <sdl.web@gmail.com>
10997
10998 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10999 (inferior-octave-output-filter): Remove.
11000 (octave-send-region, inferior-octave-startup): Fix callers.
11001 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11002 (octave-binary-file-extensions): New user variable.
11003 (octave-find-definition): Confirm if opening binary files.
11004 (octave-help-file): Use octave-find-definition to get the binary
11005 confirmation.
11006 (octave-help): Adjust for octave-help-file change.
11007
aa7dab97
SM
110082013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11009
11010 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11011 Merge the two entries that handle function definitions.
11012 (pascal--syntax-propertize): New const.
11013 (pascal-mode): Use it. Use setq-local.
11014
fd3a9a6b
GM
110152013-05-04 Glenn Morris <rgm@gnu.org>
11016
11017 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11018 (diary-from-outlook): Respect diary-from-outlook-function.
11019
30c7e542
SM
110202013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11021
11022 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11023 Move the declaration from C.
11024 (read-minibuffer, eval-minibuffer): Move from C.
11025 (completion-setup-function): Avoid minibuffer-completion-contents.
11026
b54f978b
LL
110272013-05-03 Leo Liu <sdl.web@gmail.com>
11028
11029 * progmodes/octave.el (octave-font-lock-keywords): Do not
11030 dehighlight 'end' in comments or strings.
30c7e542
SM
11031 (octave-completing-read, octave-goto-function-definition):
11032 New helpers.
d4d0f9b3
LL
11033 (octave-help-buffer): New user variable.
11034 (octave-help-file, octave-help-function): New button types.
11035 (octave-help): New command and bind it to C-h ;.
11036 (octave-find-definition): New command and bind it to M-.
d74a1581 11037 (user-error): Alias to error if not defined.
b54f978b 11038
27135018
LL
110392013-05-02 Leo Liu <sdl.web@gmail.com>
11040
11041 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11042 for \. (bug#14332)
11043 (octave-font-lock-keywords): Include [ and {.
11044
0d634d3a
LL
110452013-05-02 Leo Liu <sdl.web@gmail.com>
11046
11047 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11048 (inferior-octave): Remove calling comint-mode and return the buffer.
11049 (inferior-octave-startup): Cosmetic changes.
11050
b4c8295e
LL
110512013-05-02 Leo Liu <sdl.web@gmail.com>
11052
30c7e542
SM
11053 * progmodes/octave.el (octave-syntax-propertize-function):
11054 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11055
f12ad6ec
GM
110562013-05-02 Glenn Morris <rgm@gnu.org>
11057
11058 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11059 * desktop.el (vc-dir-mode): Just autoload it here.
11060
30cac1e0
AM
110612013-05-02 Alan Mackenzie <acm@muc.de>
11062
11063 Eliminate variable c-standard-font-lock-fontify-region-function.
11064 * progmodes/cc-mode.el
11065 (c-standard-font-lock-fontify-region-function): Remove.
11066 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11067
d8ef28b1
LL
110682013-05-01 Leo Liu <sdl.web@gmail.com>
11069
2640d52e 11070 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11071 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11072 variables were removed from Octave in 2007.
d8ef28b1
LL
11073 (inferior-octave-startup): Fix uses.
11074 (comint-line-beginning-position): Remove compatibility code for
11075 emacs 21.
11076
ac63ec89
JL
110772013-05-01 Juri Linkov <juri@jurta.org>
11078
11079 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11080
9e9be37c
JL
110812013-05-01 Juri Linkov <juri@jurta.org>
11082
11083 * comint.el (comint-previous-matching-input): Don't print message
11084 "History item: %d" when `isearch-mode' is active.
11085 (comint-history-isearch-message): Print message "History item: %d"
11086 when `comint-input-ring-index' is not empty and this function is
11087 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11088
9b92c13b
LL
110892013-05-01 Leo Liu <sdl.web@gmail.com>
11090
11091 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11092 definitions. Use completion-at-point to insert keywords.
11093 (octave-abbrev-start): Remove.
11094 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11095
b12d33d7
LL
110962013-04-30 Leo Liu <sdl.web@gmail.com>
11097
11098 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11099 change.
11100
3d1c39fa
AM
111012013-04-30 Alan Mackenzie <acm@muc.de>
11102
11103 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11104 * progmodes/cc-engine.el (c-back-over-member-initializers):
11105 new function.
3d1c39fa
AM
11106 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11107 (most) member init lists.
11108
5147fc17
RS
111092013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11110
11111 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11112 variable.
11113
5b78d7fc
LL
111142013-04-30 Leo Liu <sdl.web@gmail.com>
11115
11116 * progmodes/octave.el (octave-variables): Remove. No builtin
11117 variables any more. All converted to functions.
11118 (octave-font-lock-keywords, octave-completion-at-point-function):
11119 Fix uses.
11120 (octave-font-lock-texinfo-comment): New user variable.
11121 (octave-texinfo-font-lock-keywords): New variable for texinfo
11122 comment block.
11123 (octave-function-comment-block): New face.
11124 (octave-font-lock-texinfo-comment): New function.
11125 (octave-mode): Font lock texinfo comment block.
11126
38d8527b
LL
111272013-04-29 Leo Liu <sdl.web@gmail.com>
11128
11129 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11130 indexing expression.
11131 (octave-continuation-string): Do not use \.
11132 (inferior-octave-complete-impossible): Remove.
11133 (inferior-octave-completion-table)
11134 (inferior-octave-completion-at-point): Remove its uses.
11135 (inferior-octave-startup): completion_matches was introduced to
11136 Octave in 1996 so safe to assume it.
11137 (octave-function-file-comment): Improve to follow how Octave does it.
11138 (octave-update-function-file-comment): Tweak.
11139
2ec12cb0
LL
111402013-04-29 Leo Liu <sdl.web@gmail.com>
11141
11142 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11143 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11144 (octave-function-file-comment): Fix typo.
11145 (octave-sync-function-file-names): Use read-char-choice.
11146
6eaed048
JB
111472013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11148
11149 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11150 to t for the less important warnings.
11151
3ffa2d4f
DH
111522013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11153
11154 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11155
685c9501
GM
111562013-04-27 Glenn Morris <rgm@gnu.org>
11157
11158 * vc/log-view.el (log-view-current-entry):
11159 Treat "---" separator lines as part of the following rev. (Bug#14169)
11160
0208ede7
JL
111612013-04-27 Juri Linkov <juri@jurta.org>
11162
11163 * subr.el (read-number): Doc fix about using it by interactive
11164 code letter `n'. (Bug#14254)
11165
5db9dace
JL
111662013-04-27 Juri Linkov <juri@jurta.org>
11167
11168 * desktop.el (desktop-auto-save-timeout): New option.
11169 (desktop-file-checksum): New variable.
11170 (desktop-save): Add optional arg `auto-save' and don't auto-save
11171 if nothing changed.
11172 (desktop-auto-save-timer): New variable.
11173 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11174 (after-init-hook): Call `desktop-auto-save-set-timer'.
11175 Suggested by Reuben Thomas <rrt@sc3d.org> in
11176 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11177
b7260dd4
LL
111782013-04-27 Leo Liu <sdl.web@gmail.com>
11179
11180 * progmodes/octave.el (octave-function-file-p)
11181 (octave-skip-comment-forward, octave-function-file-comment)
11182 (octave-update-function-file-comment): New functions.
11183 (octave-mode-map): Bind C-c ; to
11184 octave-update-function-file-comment.
11185 (octave-mode-menu): Add octave-update-function-file-comment.
11186 (octave-mode, inferior-octave-mode): Fix doc-string.
11187 (octave-insert-defun): Conform to Octave's coding convention.
11188 (Bug#14285)
11189
11190 * files.el (basic-save-buffer): Don't let errors in
11191 before-save-hook prevent saving buffer.
11192
c46da669
RW
111932013-04-20 Roland Winkler <winkler@gnu.org>
11194
11195 * faces.el (read-face-name): Use completing-read if arg multiple
11196 is nil.
11197
a81ee1eb
IL
111982013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11199
11200 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11201 displayed, move point to after the totals line.
11202 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11203 for the details.
11204
4fac34ce
SM
112052013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11206
11207 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11208 Add current dir to the load-path.
11209 (package-generate-autoloads): Don't rely on
11210 autoload-ensure-default-file.
11211
f6bfc063
RT
112122013-04-26 Reuben Thomas <rrt@sc3d.org>
11213
d40ab5cf
BG
11214 * textmodes/remember.el (remember-store-in-files): Document that
11215 the file name format is passed to `format-time-string'.
f6bfc063 11216
e55d3b04
LL
112172013-04-26 Leo Liu <sdl.web@gmail.com>
11218
11219 * progmodes/octave.el (octave-sync-function-file-names): New function.
11220 (octave-mode): Use it in before-save-hook.
11221
e53052d3
SM
112222013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11223
140ef50c
SM
11224 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11225 (bug#14274).
11226
e53052d3
SM
11227 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11228 \n and comment, even if it's not an implicit ; (bug#14218).
11229
af80458d 112302013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11231
11232 * subr.el (read-number): Once more use `read' rather than
11233 `string-to-number', to trap non-numeric input. (Bug#14254)
11234
af80458d 112352013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11236
11237 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11238 Use `syntax-multiline' text property consistently instead of
8a621d53 11239 `font-lock-multiline'. (Bug#14237)
70203c2e 11240
e6ea1f6c
GM
112412013-04-26 Glenn Morris <rgm@gnu.org>
11242
11243 * emacs-lisp/shadow.el (list-load-path-shadows):
11244 No longer necessary to check for duplicate simple.el, since
11245 2012-07-07 change to init_lread to not include installation lisp
11246 directories in load-path when running uninstalled. (Bug#14270)
11247
070ccca4
LL
112482013-04-26 Leo Liu <sdl.web@gmail.com>
11249
11250 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11251 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11252 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11253 octave-in-string-or-comment-p.
11254 (octave-in-comment-p, octave-in-string-p)
11255 (octave-in-string-or-comment-p): Replace defsubst with defun.
11256
9d1c5fb6
PE
112572013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11258
11259 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11260
c034abda
BG
112612013-04-25 Bastien Guerry <bzg@gnu.org>
11262
11263 * textmodes/remember.el (remember-data-directory)
11264 (remember-directory-file-name-format): Fix custom types.
11265
584ea277
LL
112662013-04-25 Leo Liu <sdl.web@gmail.com>
11267
e53052d3
SM
11268 * progmodes/octave.el (octave-completion-at-point-function):
11269 Make use of inferior octave process.
584ea277
LL
11270 (octave-initialize-completions): Remove.
11271 (inferior-octave-completion-table): New function.
11272 (inferior-octave-completion-at-point): Use it.
11273 (octave-completion-alist): Remove.
11274
1693b06a
SM
112752013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11276
11277 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11278 (opascal-mode-syntax-table): New var.
11279 (opascal-literal-kind, opascal-is-literal-end)
11280 (opascal-literal-token-at): Rewrite.
11281 (opascal--literal-start-re, opascal-font-lock-keywords)
11282 (opascal--syntax-propertize): New constants.
11283 (opascal-font-lock-defaults): Adjust.
11284 (opascal-mode): Use them. Set comment-<foo> variables as well.
11285 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11286 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11287 (delphi-other-face, opascal-other-face): Remove face variables.
11288 (opascal-save-state): Remove macro.
11289 (opascal-fontifying-progress-step): Remove constant.
11290 (opascal--ignore-changes): Remove var.
11291 (opascal-set-token-property, opascal-parse-next-literal)
11292 (opascal-is-stable-literal, opascal-complete-literal)
11293 (opascal-is-literal-start, opascal-face-of)
11294 (opascal-parse-region, opascal-parse-region-until-stable)
11295 (opascal-fontify-region, opascal-after-change)
11296 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11297 (opascal-debug-parse-region, opascal-debug-parse-window)
11298 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11299 (opascal-debug-fontify-buffer): Remove.
11300 (opascal-debug-mode-map): Adjust accordingly.
11301
be64c05d
LL
113022013-04-25 Leo Liu <sdl.web@gmail.com>
11303
11304 Merge octave-mod.el and octave-inf.el into octave.el with some
11305 cleanups.
11306 * progmodes/octave.el: New file renamed from octave-mod.el.
11307 * progmodes/octave-inf.el: Merged into octave.el.
11308 * progmodes/octave-mod.el: Renamed to octave.el.
11309
d79d37bd
TH
113102013-04-25 Tassilo Horn <tsdh@gnu.org>
11311
11312 * textmodes/reftex-vars.el
11313 (reftex-label-ignored-macros-and-environments): New defcustom.
11314
11315 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11316
ced3fc5d
SM
113172013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11318
11319 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11320 (smie-indent-keyword): Improve the check to ensure that the next
11321 comment is really on the same line.
11322 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11323
11324 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11325 semi-colons if the line is not otherwise empty (bug#14218).
11326
1c141dad
GM
113272013-04-25 Glenn Morris <rgm@gnu.org>
11328
11329 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11330
5058062a
SM
113312013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11332
11333 * progmodes/opascal.el (opascal-set-token-property): Rename from
11334 opascal-set-text-properties and only set `token' (bug#14134).
11335 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11336 (opascal-literal-text-properties): Remove.
11337 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11338 Adjust callers.
11339
5db9dace 113402013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11341
11342 * textmodes/remember.el (remember-handler-functions): Add an
11343 option for a new handler `remember-store-in-files'.
11344 (remember-data-directory, remember-directory-file-name-format):
11345 New options.
11346 (remember-store-in-files): New function to store remember notes
11347 as separate files within a directory.
11348
4391916c
MH
113492013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11350
11351 * progmodes/compile.el (compilation-next-error-function):
11352 Pass "formats" to compilation-find-file (bug#11777).
11353
bb7cdf58
GM
113542013-04-24 Glenn Morris <rgm@gnu.org>
11355
3b8fe752 11356 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11357 * vc/vc-hg.el (vc-hg-print-log):
11358 * vc/vc-svn.el (vc-svn-print-log):
11359 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11360
bb7cdf58
GM
11361 * vc/vc-bzr.el (vc-bzr-print-log):
11362 * vc/vc-cvs.el (vc-cvs-print-log):
11363 * vc/vc-git.el (vc-git-print-log):
11364 * vc/vc-hg.el (vc-hg-print-log):
11365 * vc/vc-mtn.el (vc-mtn-print-log):
11366 * vc/vc-rcs.el (vc-rcs-print-log):
11367 * vc/vc-sccs.el (vc-sccs-print-log):
11368 * vc/vc-svn.el (vc-svn-print-log):
11369 * vc/vc.el (vc-print-log-internal): Doc fixes.
11370
b46a056e
GM
113712013-04-23 Glenn Morris <rgm@gnu.org>
11372
11373 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11374 Remove venerable code attempting to avoid substitute-command-keys.
11375
0aecf718
TH
113762013-04-23 Tassilo Horn <tsdh@gnu.org>
11377
4391916c
MH
11378 * textmodes/reftex-vars.el (reftex-label-regexps):
11379 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11380
117f94cf
SM
113812013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11382
4391916c 11383 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11384 Use lexical-binding.
11385 (jit-lock-force-redisplay): Use markers, check buffer's continued
11386 existence and beware narrowed buffers.
11387 (jit-lock-fontify-now): Adjust call accordingly.
11388
1d829c64
SM
113892013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11390
11391 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11392 to avoid misleading the user.
11393
72d548a9
LL
113942013-04-22 Leo Liu <sdl.web@gmail.com>
11395
11396 * info-look.el: Prefer latex2e.info. (Bug#14240)
11397
d0853629
MA
113982013-04-22 Michael Albinus <michael.albinus@gmx.de>
11399
11400 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11401
11402 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11403 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11404 (tramp-set-completion-function, tramp-parse-putty):
11405 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11406 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11407 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11408 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11409 (tramp-call-local-coding-command): Use `tramp-call-process'
11410 instead of `tramp-compat-call-process'.
11411
11412 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11413 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11414 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11415 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11416 (tramp-maybe-send-script): Check for Perl binary.
11417 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11418
38cc0210
DU
114192013-04-22 Daiki Ueno <ueno@gnu.org>
11420
11421 * epg.el (epg-context-pinentry-mode): New function.
11422 (epg-context-set-pinentry-mode): New function.
11423 (epg--start): Pass --pinentry-mode option to gpg command.
11424
cc641ee1
XF
114252013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11426
02d844b5 11427 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11428 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11429 `completion-at-point'. (Bug#13774)
5d4e5c31 11430
cc641ee1
XF
11431 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11432 default key binding for `describe-distribution' has been moved to
11433 `C-h C-o'. (Bug#13970)
11434
1b42ee43
GM
114352013-04-21 Glenn Morris <rgm@gnu.org>
11436
11437 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11438 Add doc strings.
11439 (vc-print-log): Clarify interactive prompt.
11440
a6d63d97
GM
114412013-04-20 Glenn Morris <rgm@gnu.org>
11442
11443 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11444 No longer include timestamp etc information.
11445
d7f5c16f
RW
114462013-04-20 Roland Winkler <winkler@gnu.org>
11447
11448 * faces.el (read-face-name): Bug fix, return just one face if arg
11449 multiple is nil. (Bug#14209)
11450
bcd7a0a4
SM
114512013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11452
11453 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11454 (remove-function): Autoload.
11455
11456 * comint.el (comint-redirect-original-filter-function): Remove.
11457 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11458 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11459 (vc-cvs-annotate-command):
bcd7a0a4
SM
11460 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11461 * progmodes/prolog.el (prolog-consult-compile):
11462 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11463 Use add/remove-function instead.
11464 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11465 (gud-tooltip-process-output, gud-tooltip-tips):
11466 Use add/remove-function instead.
11467 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11468 (scheme-interaction-mode, exit-scheme-interaction-mode):
11469 Use add/remove-function instead.
11470
11471 * vc/vc-dispatcher.el: Use lexical-binding.
11472 (vc--process-sentinel): Rename from vc-process-sentinel.
11473 Change last arg to be the code to run. Don't use vc-previous-sentinel
11474 and vc-sentinel-commands any more.
11475 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11476 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11477
e36b2d20 114782013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11479
bcd7a0a4 11480 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11481 Handle function names with a single character. (Bug#14111)
4d3268ba 11482
781b4af6 114832013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11484
11485 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11486 for subroutines defined in an eval (bug#14182).
11487
7d688336
TV
114882013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11489
11490 * bookmark.el (bookmark-completing-read): Improve handling of empty
11491 string (bug#14176).
11492
31dcede0
SM
114932013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11494
11495 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11496
adc31213
FEG
114972013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11498
11499 New faster Imenu implementation (bug#14058).
11500 * progmodes/python.el:
11501 (python-imenu-prev-index-position):
11502 (python-imenu-format-item-label-function)
11503 (python-imenu-format-parent-item-label-function)
11504 (python-imenu-format-parent-item-jump-label-function):
11505 New vars.
11506 (python-imenu-format-item-label)
11507 (python-imenu-format-parent-item-label)
11508 (python-imenu-format-parent-item-jump-label)
11509 (python-imenu--put-parent, python-imenu--build-tree)
11510 (python-imenu-create-index, python-imenu-create-flat-index)
11511 (python-util-popn): New functions.
11512 (python-mode): Set imenu-create-index-function to
11513 python-imenu-create-index.
11514
cdca8255
SM
115152013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11516
11517 * winner.el (winner-active-region): Use region-active-p, activate-mark
11518 and deactivate-mark (bug#14225).
11519
11520 * simple.el (deactivate-mark): Don't inline it.
11521
beb42340
MA
115222013-04-18 Michael Albinus <michael.albinus@gmx.de>
11523
11524 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11525
fc7f4d7e
TH
115262013-04-18 Tassilo Horn <tsdh@gnu.org>
11527
11528 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11529 file extensions from the archive-mode entry in order to prefer
11530 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11531
29f47822
LL
115322013-04-18 Leo Liu <sdl.web@gmail.com>
11533
11534 * bindings.el (help-event-list): Add ?\?.
11535
d36ed1c8
SM
115362013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11537
11538 * subr.el (with-wrapper-hook): Declare obsolete.
11539 * simple.el (filter-buffer-substring-function): New hook.
11540 (filter-buffer-substring): Use it.
11541 (filter-buffer-substring-functions): Mark obsolete.
11542 * minibuffer.el (completion-in-region-function): New hook.
11543 (completion-in-region): Use it.
11544 (completion-in-region-functions): Mark obsolete.
11545 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11546 * abbrev.el (abbrev-expand-function): New hook.
11547 (expand-abbrev): Use it.
11548 (abbrev-expand-functions): Mark obsolete.
11549 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11550 and :filter-return.
11551
04754d36
FEG
115522013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11553
11554 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11555 and do not care about match data.
11556
dd8791e9
SM
115572013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11558
11559 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11560 completion tables when completing error conditions and
11561 `declare' arguments.
11562 (lisp-complete-symbol, field-complete): Mark as obsolete.
11563 (check-parens): Unmatched parens are user errors.
11564 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11565
ffe54a13
AM
115662013-04-17 Michal Nazarewicz <mina86@mina86.com>
11567
dd8791e9
SM
11568 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11569 command changed buffer (ie. `flyspell-pre-buffer' is not current
11570 buffer), which prevents making decisions based on invalid value of
11571 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11572 cause an error when `flyspell-pre-point' was nil after switching
11573 buffers.
11574 (flyspell-post-command-hook): No longer needs to change buffers when
11575 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11576
ec7e39f2
AM
115772013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11578
11579 * textmodes/ispell.el (ispell-add-per-file-word-list):
11580 Fix `flyspell-correct-word-before-point' error when accepting
11581 words and `coment-padding' is an integer by using
11582 `comment-normalize-vars' (Bug #14214).
11583
083850a6
FEG
115842013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11585
11586 New defun movement commands.
11587 * progmodes/python.el (python-nav--syntactically)
11588 (python-nav--forward-defun, python-nav-backward-defun)
11589 (python-nav-forward-defun): New functions.
11590
619ed6e1
FEG
115912013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11592
11593 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11594 (python-syntax-context): Use named compiler-macro for backwards
11595 compatibility with Emacs 24.x.
11596
7a1beb6c
LL
115972013-04-17 Leo Liu <sdl.web@gmail.com>
11598
11599 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11600 octave-hide-process-buffer.
11601
2d3fa3e5
SM
116022013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11603
11604 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11605 (bug#14216).
11606
7ce5be54
JPG
116072013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11608
11609 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11610 Fix adjustment of offset when receiving incomplete responses from GDB
11611 (bug#14129).
11612
351edece
SM
116132013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11614
11615 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11616 python-mode-abbrev-table.
11617 (python-skeleton-define): Adjust accordingly.
11618 (python-mode-abbrev-table): New table that inherits from it so that
11619 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11620
11621 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11622 (abbrev-symbol): Use it.
11623 (abbrev--before-point): Use it since we already handle inheritance.
11624
613f9481
LL
116252013-04-16 Leo Liu <sdl.web@gmail.com>
11626
11627 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11628 binding to info-lookup-symbol.
11629
51646b62
JB
116302013-04-16 Juanma Barranquero <lekktu@gmail.com>
11631
11632 * minibuffer.el (completion--twq-all):
11633 * term/ns-win.el (ns-initialize-window-system):
11634 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11635
efb3f01d
SM
116362013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11637
36c0a301
SM
11638 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11639 global bindings.
11640
efb3f01d
SM
11641 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11642
fb549d64
DG
116432013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11644
11645 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11646 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11647 to nil.
11648 (ruby-end-of-defun): Remove the unused arg, change the docstring
11649 to reflect that this function is only used as the value of
11650 `end-of-defun-function'.
11651 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11652 to reflect an earlier change that beginning/end-of-defun functions
11653 jump between methods in a class definition, as well as top-level
11654 functions.
11655
21e8fe2f
SM
116562013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11657
11658 * minibuffer.el (minibuffer-complete): Don't just scroll
11659 a *Completions* that's been iconified.
11660 (minibuffer-force-complete): Make sure repetitions do cycle when going
11661 through completion-in-region -> minibuffer-complete.
11662
20e527d0
AM
116632013-04-15 Alan Mackenzie <acm@muc.de>
11664
11665 Correct the placement of c-cpp-delimiters when there're #s not at
11666 col 0.
11667
11668 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11669 place a submatch around the #.
21e8fe2f
SM
11670 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11671 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11672 on the #, not BOL.
11673
dabefae5
SM
116742013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11675
11676 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11677 (advice--member-p): New arg `name'.
11678 (advice--add-function, advice-member-p): Use it (bug#14202).
11679
85c9ab64
AM
116802013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11681
11682 Reformulate java imenu-generic-expression.
11683 The old expression contained ill formed regexps.
11684
11685 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11686 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11687 (cc-imenu-java-method-arg-regexp): New defconsts.
11688 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11689 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11690 handling of spaces in the regexp.
11691
0f821d99
AM
116922013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11693
11694 * textmodes/ispell.el (ispell-command-loop): Remove
11695 flyspell highlight of a word when ispell accepts it (bug #14178).
11696
eb922adf
MA
116972013-04-15 Michael Albinus <michael.albinus@gmx.de>
11698
11699 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11700 uses code from the previous `ange-ftp-run-real-handler'.
11701 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11702 only in case that function exist. This is needed for proper
11703 unloading of Tramp.
11704
4d9a0979
TH
117052013-04-15 Tassilo Horn <tsdh@gnu.org>
11706
11707 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11708
11709 * textmodes/reftex.el (reftex-compile-variables): Use it.
11710
a829b0dc
SM
117112013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11712
91e8293c
SM
11713 * files.el (normal-mode): Only use default major-mode if no other mode
11714 was specified.
11715
830aed4d
SM
11716 * emacs-lisp/trace.el (trace-values): New function.
11717
a829b0dc
SM
11718 * files.el: Allow : in local variables (bug#14089).
11719 (hack-local-variable-regexp): New var.
11720 (hack-local-variables-prop-line, hack-local-variables): Use it.
11721
7ae9f0fb
RW
117222013-04-13 Roland Winkler <winkler@gnu.org>
11723
11724 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11725 data before it gets modified by bibtex-beginning-of-entry.
11726
6646e848
RW
117272013-04-13 Roland Winkler <winkler@gnu.org>
11728
11729 * textmodes/bibtex.el (bibtex-url): Doc fix.
11730
117312013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11732
11733 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11734 does not visit a BibTeX file, exclude it from the list of buffers
11735 returned by bibtex-initialize.
11736
0aa3616e
SB
117372013-04-13 Stephen Berman <stephen.berman@gmx.net>
11738
11739 * window.el (split-window): Remove interactive form, since as a
11740 command this function is a special case of split-window-below.
11741 Correct doc string.
11742
011cddd6
RW
117432013-04-12 Roland Winkler <winkler@gnu.org>
11744
11745 * faces.el (read-face-name): Do not override value of arg default.
11746 Allow single faces and strings as default values. Remove those
11747 elements from return value that are not faces.
11748 (describe-face): Simplify.
11749 (face-at-point): New optional args thing and multiple so that this
11750 function can provide the same functionality previously provided by
11751 read-face-name.
11752 (make-face-bold, make-face-unbold, make-face-italic)
11753 (make-face-unitalic, make-face-bold-italic, invert-face)
11754 (modify-face, read-face-and-attribute): Use face-at-point.
11755
11756 * cus-edit.el (customize-face, customize-face-other-window)
11757 * cus-theme.el (custom-theme-add-face)
11758 * face-remap.el (buffer-face-set)
11759 * facemenu.el (facemenu-set-face): Use face-at-point.
11760
f24e0036
MA
117612013-04-12 Michael Albinus <michael.albinus@gmx.de>
11762
11763 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11764
da3cda2d
TH
117652013-04-10 Tassilo Horn <tsdh@gnu.org>
11766
11767 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11768 off leading { and trailing } from field values.
11769
15e54145
SM
117702013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11771
78ce603d
SM
11772 * emacs-lisp/timer.el (timer--check): New function.
11773 (timer--time, timer-set-function, timer-event-handler): Use it.
11774 (timer-set-idle-time): Simplify.
11775 (timer--activate): CSE.
11776 (timer-event-handler): Give more info in error message.
11777 (internal-timer-start-idle): New function, moved from C.
11778
15e54145
SM
11779 * mpc.el (mpc-proc): Add `restart' argument.
11780 (mpc-proc-cmd): Use it.
11781 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11782 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11783 less often.
11784
7144c627
MY
117852013-04-10 Masatake YAMATO <yamato@redhat.com>
11786
11787 * progmodes/sh-script.el: Implement `sh-mode' own
11788 `add-log-current-defun-function' (bug#14112).
11789 (sh-current-defun-name): New function.
11790 (sh-mode): Use the function.
11791
b39792eb
BG
117922013-04-09 Bastien Guerry <bzg@gnu.org>
11793
11794 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11795
8acdeb71
SM
117962013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11797
6fcdab68
SM
11798 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11799
8acdeb71
SM
11800 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11801 timer (bug#14156).
11802
e3e7b504
NF
118032013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11804
11805 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11806 declaration.
11807
201bb296
LL
118082013-04-07 Leo Liu <sdl.web@gmail.com>
11809
11810 * pcmpl-x.el: New file.
11811
ebb19708
DA
118122013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11813
11814 Do not set x-display-name until X connection is established.
11815 This is needed to prevent from weird situation described at
11816 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11817 * frame.el (make-frame): Set x-display-name after call to
11818 window system initialization function, not before.
11819 * term/x-win.el (x-initialize-window-system): Add optional
11820 display argument and use it.
11821 * term/w32-win.el (w32-initialize-window-system):
11822 * term/ns-win.el (ns-initialize-window-system):
11823 * term/pc-win.el (msdos-initialize-window-system):
11824 Add compatible optional display argument.
11825
33bb237a
EZ
118262013-04-06 Eli Zaretskii <eliz@gnu.org>
11827
11828 * files.el (normal-backup-enable-predicate): On MS-Windows and
11829 MS-DOS compare truenames of temporary-file-directory and of the
11830 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11831 don't fail comparison by compare-strings. Also, compare file
11832 names case-insensitively on MS-Windows and MS-DOS.
11833
134abf1f
SM
118342013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11835
11836 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11837 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11838
d695cb94
DG
118392013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11840
e3e7b504
NF
11841 * whitespace.el (whitespace-color-on, whitespace-color-off):
11842 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11843
f4ad7ea1 118442013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11845
11846 * ispell.el (ispell-set-spellchecker-params):
11847 Really set `ispell-args' for all equivs.
11848
632556e4
SM
118492013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11850
11851 * ido.el (ido-completions): Use extra elements of ido-decorations
11852 (bug#14143).
11853 (ido-decorations): Update docstring.
11854
2a417372
MA
118552013-04-05 Michael Albinus <michael.albinus@gmx.de>
11856
11857 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11858 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11859 nil during initialization, in order not to miss changes since the
11860 file was opened. (Bug#14140)
11861
fc164b0c
LL
118622013-04-05 Leo Liu <sdl.web@gmail.com>
11863
11864 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11865
0ccecc08
JB
118662013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11867
11868 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11869
51af1aa2
GM
118702013-04-04 Glenn Morris <rgm@gnu.org>
11871
11872 * electric.el (electric-pair-inhibit-predicate): Add :version.
11873
b208ebc6
SM
118742013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11875
11876 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11877 when a package is required several times (bug#14082).
11878
f3d3eaf0
RW
118792013-04-04 Roland Winkler <winkler@gnu.org>
11880
11881 * faces.el (read-face-name): Behave as promised by the docstring.
11882 Assume that arg default is a list of faces.
11883 (describe-face): Call read-face-name with list of default faces.
11884
2575da50
TV
118852013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11886
11887 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11888 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11889 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11890 the header.
11891 (bookmark-exit-hook-internal): Save even if list is empty.
11892
397703b4
YH
118932013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11894
11895 * emacs-lisp/package.el (package-pinned-packages): New var.
11896 (package--add-to-archive-contents): Obey it (bug#14118).
11897
691e26ae
AM
118982013-04-03 Alan Mackenzie <acm@muc.de>
11899
8a621d53
JB
11900 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11901 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11902
11903 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11904 parameter `not-in-delimiter'. Handle being inside comment opener.
11905 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11906 character in case we're typing a '*' after a '/'.
11907 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11908 instead by passing the parameter to c-state-pp-to-literal.
11909
11910 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11911 for elt. 7 of a parse state.
11912
4b725a70
PE
119132013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11914
11915 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11916 * international/latin1-disp.el, international/mule-util.el:
11917 * language/cyril-util.el, language/european.el, language/ind-util.el:
11918 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11919 * language/tibetan.el, language/viet-util.el:
11920 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11921
15c579f0
SM
119222013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11923
11924 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11925 (electric-pair-post-self-insert-function): Use it.
11926 (electric-pair-default-inhibit): New function, extracted from
11927 electric-pair-post-self-insert-function.
11928
a77e2924
RW
119292013-03-31 Roland Winkler <winkler@gnu.org>
11930
11931 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11932
2bd8a4a8
SM
119332013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11934
11935 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11936
8d3655be 119372013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11938
11939 Un-indent after "pass" and "return" statements (Bug#13888)
11940 * progmodes/python.el (python-indent-block-enders): New var.
11941 (python-indent-calculate-indentation): Use it.
11942
8d3655be 119432013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11944
11945 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11946 defun. Defining it as defalias could introduce too eager
11947 byte-compiler optimization. (Bug#14030)
11948
8d3655be 119492013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11950
11951 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11952
0b1619da
LL
119532013-03-30 Leo Liu <sdl.web@gmail.com>
11954
11955 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11956 (kmacro-execute-from-register): Pass the keyboard macro to
11957 kmacro-call-macro or repeating won't work correctly.
11958
0b938190
TZ
119592013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11960
11961 * progmodes/subword.el: Back to using `forward-symbol'.
11962
11963 * subr.el (forward-whitespace, forward-symbol)
11964 (forward-same-syntax): Move from thingatpt.el.
11965
35710234
LL
119662013-03-29 Leo Liu <sdl.web@gmail.com>
11967
11968 * kmacro.el (kmacro-to-register): New command.
11969 (kmacro-execute-from-register): New function.
11970 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11971
efc0bb73
SM
119722013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11973
11974 * mpc.el: Use defvar-local and setq-local.
11975 (mpc--proc-connect): Connection failures are not bugs.
11976 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11977 (mpc-volume-map): Bind to the up-events.
11978
75a2f981
TZ
119792013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11980
11981 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11982 instead of `forward-symbol'.
11983
17c781d1
SM
119842013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11985
11986 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11987 (edebug--recursive-edit): Use it.
11988 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11989 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11990
f67bfbcf
LL
119912013-03-28 Leo Liu <sdl.web@gmail.com>
11992
11993 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11994
b59f639d
EZ
119952013-03-27 Eli Zaretskii <eliz@gnu.org>
11996
11997 * facemenu.el (list-colors-callback): New defvar.
11998 (list-colors-redisplay): New function.
11999 (list-colors-display): Install list-colors-redisplay as the
12000 revert-buffer-function. (Bug#14063)
12001
f557c1b1
SM
120022013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12003
b1da2957
SM
12004 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12005 and suffixes don't overlap (bug#14061).
12006
f557c1b1
SM
12007 * case-table.el: Use lexical-binding.
12008 (case-table-get-table): New function.
12009 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12010
002668e1
TZ
120112013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12012
12013 * progmodes/subword.el: Add `superword-mode' to do word motion
12014 over symbol_words (parallels and leverages `subword-mode' which
12015 does word motion inside MixedCaseWords).
12016
73572c72
AG
120172013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12018
78b8f320 12019 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12020 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12021
69b2c07e
SM
120222013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12023
12024 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12025 Change return value to be a sexp. Delay `get-buffer' to after
12026 restoring the desktop (bug#13951).
12027
08bb5ee2
LL
120282013-03-26 Leo Liu <sdl.web@gmail.com>
12029
12030 * register.el: Move semantic tag handling back to
12031 cedet/semantic/senator.el. (Bug#14052)
12032
8d4c974e
SM
120332013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12034
12035 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12036 into the prompt either (bug#13963).
12037
b234d92c
SM
120382013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12039
12040 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12041 part of "(error-foo)".
12042
ddfa3cb4
JL
120432013-03-24 Juri Linkov <juri@jurta.org>
12044
12045 * replace.el (list-matching-lines-prefix-face): New defcustom.
12046 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12047 `occur-engine' if `face-differs-from-default-p' returns t.
12048 (occur-engine): Add `,' inside backquote construct to evaluate
12049 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12050 Pass `prefix-face' to the functions `occur-context-lines' and
12051 `occur-engine-add-prefix'.
12052 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12053 `prefix-face' and propertize the prefix with `prefix-face'.
12054 (Bug#14017)
12055
7b0e2f85
LL
120562013-03-24 Leo Liu <sdl.web@gmail.com>
12057
12058 * nxml/rng-valid.el (rng-validate-while-idle)
12059 (rng-validate-quick-while-idle): Guard against deleted buffer.
12060 (Bug#13999)
12061
12062 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12063 is the last entry in kill-buffer-hook.
12064
12065 * files.el (kill-buffer-hook): Doc fix.
12066
b3082f49
DG
120672013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12068
b234d92c
SM
12069 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12070 Make it safe-local.
bde73d27 12071
b3082f49
DG
12072 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12073
a320a2db
LL
120742013-03-23 Leo Liu <sdl.web@gmail.com>
12075
7e74b0fb
LL
12076 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12077 Remove.
12078
12079 * nxml/rng-valid.el (rng-validate-mode)
12080 (rng-after-change-function, rng-do-some-validation):
12081 * nxml/rng-maint.el (rng-validate-buffer):
12082 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12083 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12084 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12085 (nxml-extend-after-change-region): Use with-silent-modifications.
12086
a320a2db
LL
12087 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12088 timer-idle-list.
12089
12090 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12091 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12092 timer-idle-list. (Bug#13999)
12093
e38e6780
JL
120942013-03-23 Juri Linkov <juri@jurta.org>
12095
12096 * info.el (info-index-match): New face.
12097 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12098 main pattern and add text properties with the new face to matches
12099 in index entries relative to the beginning of the index entry.
12100 (Bug#14015)
12101
e8cc7880
DE
121022013-03-21 Eric Ludlam <zappo@gnu.org>
12103
39c87140 12104 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12105 Inhibit read only while inserting objects.
12106
9bb0d822
TZ
121072013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12108
12109 * progmodes/cfengine.el: Update docs to mention
12110 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12111 symbol motion. Remove "_" from the word syntax.
12112
aa703640
TZ
121132013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12114
12115 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12116 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12117
afff09d0
JL
121182013-03-20 Juri Linkov <juri@jurta.org>
12119
12120 * info.el (Info-next-reference-or-link)
12121 (Info-prev-reference-or-link): New functions.
12122 (Info-next-reference, Info-prev-reference): Use them.
12123 (Info-try-follow-nearest-node): Handle footnote navigation.
12124 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12125
9a1ff164
SM
121262013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12127
12128 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12129 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12130
2667d15d
PE
121312013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12132
12133 Suppress unnecessary non-ASCII chatter during build process.
12134 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12135 (batch-skkdic-convert): Suppress most of the chatter.
12136 It's not needed so much now that machines are faster,
12137 and its non-ASCII component was confusing; see Dmitry Gutov in
12138 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12139
438b0579
LL
121402013-03-20 Leo Liu <sdl.web@gmail.com>
12141
12142 * ido.el (ido-chop): Fix bug#10994.
12143
c128ab07
DG
121442013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12145
12146 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12147 Remove vars.
9a1ff164
SM
12148 (whitespace-color-on, whitespace-color-off):
12149 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12150
0e6008c5
SM
121512013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12152
12153 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12154 remapping in mode-line.
12155 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12156
627b52b0
DG
121572013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12158
12159 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12160 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12161 (whitespace-font-lock-keywords): Change description.
12162 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12163 the constructed keywords instead.
12164 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12165
50c3a20b
LL
121662013-03-19 Leo Liu <sdl.web@gmail.com>
12167
12168 * progmodes/compile.el (compilation-display-error): New command.
12169 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12170 C-o. (Bug#13992)
12171
2aa2157b
PE
121722013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12173
12174 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12175
e477dbfa
JD
121762013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12177
12178 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12179
64ab82d1
MA
121802013-03-18 Michael Albinus <michael.albinus@gmx.de>
12181
12182 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12183
12184 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12185 * net/tramp-gvfs.el (top):
12186 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12187 (tramp-handle-shell-command): Use it.
12188 (tramp-dissect-file-name): Raise an error when hostname is a
12189 method name, and neither method nor user is specified.
12190
12191 * net/trampver.el: Update release number.
12192
33cef733
LL
121932013-03-18 Leo Liu <sdl.web@gmail.com>
12194
12195 Make sure eldoc can be turned off properly.
12196 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12197 eldoc-mode.
12198 (eldoc-display-message-p): Revert last change.
12199 (eldoc-display-message-no-interference-p)
12200 (eldoc-print-current-symbol-info): Tweak.
12201
2167b7b2
TH
122022013-03-18 Tassilo Horn <tsdh@gnu.org>
12203
12204 * doc-view.el (doc-view-new-window-function): Check the new window
12205 overlay's display property instead the char property of the
12206 buffer's first char. Use `with-selected-window' instead of
12207 `save-window-excursion' with `select-window'.
12208 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12209 display property instead the char property of the buffer's first char.
2167b7b2 12210
982efbcd
PE
122112013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12212
12213 Automate the build of ja-dic.el (Bug#13984).
12214 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12215 from the input, rather than assume that it's been done for us by the
12216 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12217 the current date into a ja-dic.el comment, as that complicates
12218 regression testing.
12219
2fcc7665
SM
122202013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12221
12222 * whitespace.el: Fix double evaluation.
12223 (whitespace-space, whitespace-hspace, whitespace-tab)
12224 (whitespace-newline, whitespace-trailing, whitespace-line)
12225 (whitespace-space-before-tab, whitespace-indentation)
12226 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12227 obsolete defvars.
12228 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12229 (whitespace-color-on): Use a single font-lock-add-keywords call.
12230 Fix double-evaluation of face variables.
12231
67c0a6e6
MA
122322013-03-17 Michael Albinus <michael.albinus@gmx.de>
12233
2fcc7665
SM
12234 * net/tramp-adb.el (tramp-adb-parse-device-names):
12235 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12236 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12237
69489f1d
LL
122382013-03-17 Leo Liu <sdl.web@gmail.com>
12239
12240 Extend eldoc to display info in the mode-line. (Bug#13978)
12241 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12242 (eldoc-mode-line-string): New variable.
12243 (eldoc-minibuffer-message): New function.
12244 (eldoc-message-function): New variable.
12245 (eldoc-message): Use it.
12246 (eldoc-display-message-p)
2fcc7665
SM
12247 (eldoc-display-message-no-interference-p):
12248 Support eldoc-post-insert-mode.
69489f1d
LL
12249
12250 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12251 (eval-expression): Run it.
12252
9c44569e
RW
122532013-03-17 Roland Winkler <winkler@gnu.org>
12254
12255 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12256 strings in the list of return values.
12257
327f1f6f
JB
122582013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12259
12260 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12261 radix before checking for HMS forms.
12262
67ed8fcd
LL
122632013-03-16 Leo Liu <sdl.web@gmail.com>
12264
12265 * progmodes/scheme.el: Add indentation and font-locking for λ.
12266 (Bug#13975)
12267
78be8b64 122682013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12269
12270 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12271 token before point (bug#13942).
12272
78be8b64 122732013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12274
95b43468 12275 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12276
98e775e6
EZ
122772013-03-16 Eli Zaretskii <eliz@gnu.org>
12278
12279 * startup.el (command-line-normalize-file-name): Fix handling of
12280 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12281 <xfq.free@gmail.com> in
12282 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12283
2edd6029
MA
122842013-03-15 Michael Albinus <michael.albinus@gmx.de>
12285
12286 Sync with Tramp 2.2.7.
12287
12288 * net/trampver.el: Update release number.
12289
d35f5864
TH
122902013-03-14 Tassilo Horn <tsdh@gnu.org>
12291
e903c210 12292 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12293 (doc-view-insert-image): Don't modify overlay associated to
12294 non-live windows, and implement horizontal centering of image in
12295 case it's smaller than the window.
12296 (doc-view-new-window-function): Force redisplay of new windows on
12297 doc-view buffers.
d35f5864 12298
1c4a85ed
KF
122992013-03-13 Karl Fogel <kfogel@red-bean.com>
12300
12301 * saveplace.el (save-place-alist-to-file): Don't sort
12302 `save-place-alist', just pretty-print it (bug#13882).
12303
85b66a21
MA
123042013-03-13 Michael Albinus <michael.albinus@gmx.de>
12305
a020afb9
JB
12306 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12307 Check whether `default-file-name-coding-system' is bound.
12308 It isn't in XEmacs.
85b66a21 12309
175600da
SM
123102013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12311
e7f7cb1a
SM
12312 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12313 backquotes for `obsolete' (bug#13929).
12314
175600da
SM
12315 * international/mule.el (find-auto-coding): Include file name in
12316 obsolescence warning (bug#13922).
12317
ca68a22e
TZ
123182013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12319
12320 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12321 for CFEngine 3-specific indentation.
12322 (cfengine3-indent-line): Use it. Fix up category regex.
12323 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12324
940e5099
SM
123252013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12326
12327 * type-break.el (type-break-file-name):
12328 * textmodes/remember.el (remember-data-file):
12329 * strokes.el (strokes-file):
12330 * shadowfile.el (shadow-initialize):
12331 * saveplace.el (save-place-file):
12332 * ps-bdf.el (bdf-cache-file):
12333 * progmodes/idlwave.el (idlwave-config-directory):
12334 * net/quickurl.el (quickurl-url-file):
12335 * international/kkc.el (kkc-init-file-name):
12336 * ido.el (ido-save-directory-list-file):
12337 * emulation/viper.el (viper-custom-file-name):
12338 * emulation/vip.el (vip-startup-file):
12339 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12340 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12341
cc725808
PE
123422013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12343
12344 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12345 * language/thai-word.el: Switch to UTF-8.
12346
a020afb9 12347See ChangeLog.16 for earlier changes.
e3d51b27
MR
12348
12349;; Local Variables:
12350;; coding: utf-8
e3d51b27
MR
12351;; End:
12352
ba318903 12353 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12354
12355 This file is part of GNU Emacs.
12356
12357 GNU Emacs is free software: you can redistribute it and/or modify
12358 it under the terms of the GNU General Public License as published by
12359 the Free Software Foundation, either version 3 of the License, or
12360 (at your option) any later version.
12361
12362 GNU Emacs is distributed in the hope that it will be useful,
12363 but WITHOUT ANY WARRANTY; without even the implied warranty of
12364 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12365 GNU General Public License for more details.
12366
12367 You should have received a copy of the GNU General Public License
12368 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.